]>
Pileus Git - ~andy/gtk/log
Michael Meeks [Tue, 31 Jan 2012 10:36:54 +0000 (10:36 +0000)]
broadway: terminate v7 input to avoid parsing uninit memory.
Ryan Lortie [Tue, 31 Jan 2012 05:07:52 +0000 (00:07 -0500)]
GtkBuilder menus: reject all attributes on <item>
These were just being silently ignored before. That's bad, since it
used to be valid to have these.
Matthias Clasen [Tue, 31 Jan 2012 04:16:43 +0000 (23:16 -0500)]
Bump version
Matthias Clasen [Tue, 31 Jan 2012 04:15:55 +0000 (23:15 -0500)]
3.3.12
Matthias Clasen [Tue, 31 Jan 2012 03:12:32 +0000 (22:12 -0500)]
Drop some unintentional exports
Matthias Clasen [Tue, 31 Jan 2012 02:19:17 +0000 (21:19 -0500)]
Fix menu xml syntax in tests
Benjamin Otte [Tue, 31 Jan 2012 02:59:32 +0000 (03:59 +0100)]
shorthand: Only unset values that are set
Otherwise g_value_unset() complains. And that breaks the testsuite.
Benjamin Otte [Mon, 30 Jan 2012 13:41:05 +0000 (14:41 +0100)]
window: Avoid unnecessary attach-widget resets
Matthias Clasen [Tue, 31 Jan 2012 01:46:44 +0000 (20:46 -0500)]
Fix make check
Several unwanted symbols have sneaked in.
Matthias Clasen [Tue, 31 Jan 2012 01:32:22 +0000 (20:32 -0500)]
Document the gtkbuilder xml file better
Replace the (invalid) DTD in the GtkBuilder docs by a
RELAX NG schema. Also install the schema in /usr/share/gtk-3.0,
so it can be used to validate GtkBuilder ui files.
Matthias Clasen [Tue, 31 Jan 2012 00:12:27 +0000 (19:12 -0500)]
Use G_SOURCE_CONTINUE/REMOVE
Now that GLib provides these macros, we should use them
to make the code more readable.
Matthias Clasen [Mon, 30 Jan 2012 23:37:47 +0000 (18:37 -0500)]
Typo fix
Kristian Høgsberg [Mon, 30 Jan 2012 14:04:45 +0000 (09:04 -0500)]
wayland: Fix return type from gdk_wayland_window_configure()
Should be void. Copy and paste error.
Chao-Hsiung Liao [Sun, 29 Jan 2012 15:03:31 +0000 (23:03 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Kristian Høgsberg [Sun, 29 Jan 2012 12:15:12 +0000 (07:15 -0500)]
wayland: Also synthesize a configure event from gdk_window_wayland_move_resize
Matej Urbančič [Sat, 28 Jan 2012 19:42:10 +0000 (20:42 +0100)]
Updated Slovenian translation
Kjartan Maraas [Sat, 28 Jan 2012 14:44:51 +0000 (15:44 +0100)]
Updated Norwegian bokmål translation
Carlos Garcia Campos [Wed, 25 Jan 2012 18:12:18 +0000 (19:12 +0100)]
testgtk: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 18:10:47 +0000 (19:10 +0100)]
examples: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 18:09:54 +0000 (19:09 +0100)]
gtk-demo: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 18:05:25 +0000 (19:05 +0100)]
gtktreeviewcolumn: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 18:03:56 +0000 (19:03 +0100)]
gtktreeview: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:59:43 +0000 (18:59 +0100)]
gtktextview: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:55:29 +0000 (18:55 +0100)]
gtkstatusicon: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:53:56 +0000 (18:53 +0100)]
gtkspinbutton: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:51:12 +0000 (18:51 +0100)]
gtkrange: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:44:55 +0000 (18:44 +0100)]
gtkpathbar: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:41:30 +0000 (18:41 +0100)]
gtkpaned: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:40:32 +0000 (18:40 +0100)]
gtknotebook: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:38:50 +0000 (18:38 +0100)]
gtkmenutoolbutton: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:36:12 +0000 (18:36 +0100)]
gtkmenu: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:34:11 +0000 (18:34 +0100)]
gtklabel: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:32:55 +0000 (18:32 +0100)]
gtkiconview: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:31:32 +0000 (18:31 +0100)]
gtkhsv: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:29:30 +0000 (18:29 +0100)]
gtkexpander: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:28:36 +0000 (18:28 +0100)]
gtkentry: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:26:04 +0000 (18:26 +0100)]
gtkdnd: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:24:02 +0000 (18:24 +0100)]
gtkcombobox: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:21:50 +0000 (18:21 +0100)]
gtkcolorsel: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:20:23 +0000 (18:20 +0100)]
gtkcellarea: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:19:40 +0000 (18:19 +0100)]
gtkcalendar: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:18:07 +0000 (18:18 +0100)]
gtkbutton: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:16:23 +0000 (18:16 +0100)]
gtkappchooserwidget: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:15:01 +0000 (18:15 +0100)]
gtkaboutdialog: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 17:10:48 +0000 (18:10 +0100)]
gdkevents: Use symbolic names for button numbers
Carlos Garcia Campos [Wed, 25 Jan 2012 14:28:14 +0000 (15:28 +0100)]
gdk: Add macros for left, middle and right buttons
https://bugzilla.gnome.org/show_bug.cgi?id=668688
Daniel Mustieles [Thu, 26 Jan 2012 16:14:25 +0000 (17:14 +0100)]
Updated Spanish translation
Piotr Drąg [Thu, 26 Jan 2012 14:22:19 +0000 (15:22 +0100)]
Updated POTFILES.in
Piotr Drąg [Thu, 26 Jan 2012 14:22:01 +0000 (15:22 +0100)]
Updated POTFILES.in
Marek Kasik [Thu, 26 Jan 2012 09:52:47 +0000 (10:52 +0100)]
printing: Fix a typo
Fix a typo which crashes on my printer.
Michael Natterer [Thu, 26 Jan 2012 09:37:12 +0000 (10:37 +0100)]
quartz: s/gdk_cursor_ref/g_object_ref/
Michael Natterer [Thu, 26 Jan 2012 09:11:17 +0000 (10:11 +0100)]
Bug 667691 - implement gdk_window_restack() for Quartz
Apply patch from Paul Davis which implements this missing function.
(cherry picked from commit
e1c107a094f46d93f7b9bfeb029cf30ecfbedc12 )
Will Newton [Thu, 12 Jan 2012 11:14:02 +0000 (11:14 +0000)]
iconcache: Always check return value of find_image_offset.
find_image_offset returns 0 if it failed to find a matching image.
Check this return value in _gtk_icon_cache_get_icon to avoid
making bad memory accesses later.
Signed-off-by: Will Newton <will.newton@imgtec.com>
https://bugzilla.gnome.org/show_bug.cgi?id=667745
Matthias Clasen [Thu, 26 Jan 2012 02:13:34 +0000 (21:13 -0500)]
GtkMenu: Improve annotations
Add a 'Rename to' annotation so gtk_menu_popup_for_device
appears in bindings as gtk_menu_popup (which we skip anyway).
https://bugzilla.gnome.org/show_bug.cgi?id=657385
Matthias Clasen [Thu, 26 Jan 2012 01:58:55 +0000 (20:58 -0500)]
Add some menu markup documentation
Ryan Lortie [Thu, 26 Jan 2012 01:56:06 +0000 (20:56 -0500)]
Remove one last user of gmenumarkup
Ryan Lortie [Wed, 25 Jan 2012 16:30:11 +0000 (11:30 -0500)]
GtkTimeline: protect the timeline from unref
The timeline frame function emits several signals, assuming that the
timeline will exist after these signals return. This assumption can be
invalid if signal handlers unref the timeline.
https://bugzilla.gnome.org/show_bug.cgi?id=668675
Ryan Lortie [Wed, 25 Jan 2012 23:23:25 +0000 (18:23 -0500)]
GtkBuilder: change format of menus
Change the format of GtkBuilder <menu> to be more in-line with the style
of the rest of GtkBuilder so that we can do translation in a consistent
way.
The format is now substantially more difficult to hand-write, but tools
should be along soon.
There is an xslt program attached to the bug to help you convert your
existing .ui files from the old format to the new one.
https://bugzilla.gnome.org/show_bug.cgi?id=668696
Cosimo Cecchi [Wed, 25 Jan 2012 23:30:48 +0000 (18:30 -0500)]
application: sync clipboard and recent manager on shutdown
This mimics the code for gtk_main(), since GApplication iterates the
main context directly.
Matthias Clasen [Wed, 25 Jan 2012 23:21:47 +0000 (18:21 -0500)]
GtkAboutDialog: Make credits section extensible
This commit adds API that allows to add new named sections
to the Credits part of GtkAboutDialog, in addition to the
hardcoded sections for authors, documenters, artists and
translators.
https://bugzilla.gnome.org/show_bug.cgi?id=484693
Dieter Verfaillie [Wed, 25 Jan 2012 12:02:21 +0000 (13:02 +0100)]
win32: fix gdk_win32_window_raise
When calling gtk_window_present(), gdk_win32_window_raise did not
actually raise the window anymore. Replacing BringWindowToTop() with
SetForegroundWindow() fixes this.
During testing, we also discovered that sometimes SetForeGroundWindow()
will (correctly) refuse to raise the window and fail(for example: sometimes
when dragging a different application at the time of a gtk_window_present()
call). To prevent a GdkWarning from being produced, usage of the API_CALL
macro has been removed for this case.
Additional goodies of SetForeGroundWindow:
- it brings the window to the front when the process owning the
window to raise is the foreground process (for example when
gtk_window_present is called from a GtkStatusIcon's activate
signal handler)
- it limits itself to flashing the task bar button associated
with the window if the process owning the window to raise
is *not* the foreground process (for example when gtk_window_present
is called from a g_timeout_add callback function)
https://bugzilla.gnome.org/show_bug.cgi?id=665760
Benjamin Otte [Wed, 25 Jan 2012 17:28:26 +0000 (18:28 +0100)]
css: Return GArrays from shorthand parsing
GValueArray is deprecated now.
Benjamin Otte [Wed, 25 Jan 2012 17:26:56 +0000 (18:26 +0100)]
css: Use GArray in GtkCssComputedValues
GValueArray is deprecated in glib. Also, bump the required glib version
for g_array_set_clear_func().
Javier Jardón [Wed, 25 Jan 2012 17:35:39 +0000 (17:35 +0000)]
gdkapplaunchcontext: Add tags to code example
Alexander Larsson [Wed, 25 Jan 2012 10:46:09 +0000 (11:46 +0100)]
broadway: Properly handle masked websocket messages
Thanks to Rafal Luzynski for pointing this out.
https://bugzilla.gnome.org/show_bug.cgi?id=656521
Matthias Clasen [Wed, 25 Jan 2012 03:51:05 +0000 (22:51 -0500)]
GtkApplicationWindow: Some more docs
Matthias Clasen [Wed, 25 Jan 2012 03:41:36 +0000 (22:41 -0500)]
Doc tweaks
Matthias Clasen [Wed, 25 Jan 2012 03:28:34 +0000 (22:28 -0500)]
Fix a doc typo
Matthias Clasen [Wed, 25 Jan 2012 03:27:28 +0000 (22:27 -0500)]
gtk3-demo-application: add an example for the new api
Turn the menutoolbutton menu into one that is gmenu/gaction backed.
Matthias Clasen [Wed, 25 Jan 2012 03:25:35 +0000 (22:25 -0500)]
Add API to create menus from models
This is needed to bring context menus, etc into the GAction world.
Matthias Clasen [Wed, 25 Jan 2012 03:22:08 +0000 (22:22 -0500)]
GtkApplication: documentation additions
Document that startup() needs to chain up first.
Matthias Clasen [Wed, 25 Jan 2012 02:30:33 +0000 (21:30 -0500)]
GtkModelMenu: Plug a memleak
Siegfried-Angel Gevatter Pujals [Tue, 24 Jan 2012 18:22:54 +0000 (19:22 +0100)]
g_content_type_guess expects a path, not an URI
Siegfried-Angel Gevatter Pujals [Tue, 24 Jan 2012 18:05:29 +0000 (19:05 +0100)]
Fix mem leak introduced with my previous commit
Kjartan Maraas [Tue, 24 Jan 2012 17:13:09 +0000 (18:13 +0100)]
Updated Norwegian bokmål translation
Benjamin Otte [Tue, 24 Jan 2012 14:44:03 +0000 (15:44 +0100)]
treeview: Fix comparison to catch all cases
Otherwise, we could sometimes fail to update the cursor node when the
right row was deleted.
Also, I'd like to file a formal complaint that this node/tree
differentiation makes writing comparisons too complicated.
https://bugzilla.gnome.org/show_bug.cgi?id=668169
Siegfried-Angel Gevatter Pujals [Tue, 24 Jan 2012 12:59:12 +0000 (13:59 +0100)]
GtkRecentManager: guess mime-type from filename when file doesn't exist
Andre Klapper [Tue, 24 Jan 2012 12:51:46 +0000 (13:51 +0100)]
Typofix in documentation
Matthias Clasen [Tue, 24 Jan 2012 05:41:26 +0000 (00:41 -0500)]
Silence a compiler warning
Matthias Clasen [Tue, 24 Jan 2012 05:07:03 +0000 (00:07 -0500)]
Add an example for settings<>action integration
Turn the 'color' action in gtk3-demo-application into an
action that is backed by a setting.
Matthias Clasen [Tue, 24 Jan 2012 03:14:28 +0000 (22:14 -0500)]
Bloatpad: propertly escape <> in markup
Matthias Clasen [Mon, 23 Jan 2012 19:25:40 +0000 (14:25 -0500)]
Pedantic spelling fix
Its 'theming', not 'themeing'.
Paolo Borelli [Mon, 23 Jan 2012 20:00:38 +0000 (21:00 +0100)]
Render background of a GtkImage
Useful to e.g. style the bg color of a symbolic icon
Paolo Borelli [Mon, 23 Jan 2012 19:56:55 +0000 (20:56 +0100)]
Fix gtkmisc padding calculation
Actually sum css padding and gtkmisc padding as intended in the previous
patch.
Ryan Lortie [Fri, 20 Jan 2012 18:56:02 +0000 (13:56 -0500)]
GtkApplication: change the accel prefix we use
GtkApplication adds to the global accel map using the prefix <Actions>
which is also used by GtkAction. This causes GtkApplicationWindow to
try to parse GtkAction-added accels as if they were its own (which
fails).
Switch to a different namespace -- <GAction>/.
https://bugzilla.gnome.org/show_bug.cgi?id=668367
Paolo Borelli [Sun, 4 Dec 2011 12:55:51 +0000 (13:55 +0100)]
Factor out _gtk_misc_get_padding_and_border
The new semi-private function will allow to implement support for css
padding and border in widgets inheriting from GtkMisc.
Use the new function for GtkLabel, GtkArrow and GtkImage.
Matej Urbančič [Sat, 21 Jan 2012 20:04:20 +0000 (21:04 +0100)]
Updated Slovenian translation
Colin Walters [Sat, 21 Jan 2012 15:28:40 +0000 (10:28 -0500)]
gtkmenuitem: Silence a compiler warning
Philip Withnall [Fri, 15 Jul 2011 16:31:59 +0000 (17:31 +0100)]
progressbar: Tidy up the gtk-doc comments a little
Matthias Clasen [Sat, 21 Jan 2012 01:06:25 +0000 (20:06 -0500)]
GtkApplicationWindow: Improve app menu label
When we are showing the app menu in process, use the application
name, if it has been set. Otherwise, we still fall back to
"Application".
Matthias Clasen [Sat, 21 Jan 2012 01:05:43 +0000 (20:05 -0500)]
Bloatpad: Set the application name
This will be picked up for the app menu label in fallback mode
in the near future.
Matthias Clasen [Sat, 21 Jan 2012 00:46:53 +0000 (19:46 -0500)]
Correct an introspection annotation
Mistake pointed out in bug 668265.
Matthias Clasen [Fri, 20 Jan 2012 21:13:37 +0000 (16:13 -0500)]
bump rev
Matthias Clasen [Fri, 20 Jan 2012 21:12:25 +0000 (16:12 -0500)]
3.3.10
Matthias Clasen [Fri, 20 Jan 2012 20:30:46 +0000 (15:30 -0500)]
Bump GLib dep
This is needed for the app menu moves.
Matthias Clasen [Fri, 20 Jan 2012 20:29:09 +0000 (15:29 -0500)]
Updates
Matthias Clasen [Fri, 20 Jan 2012 13:17:39 +0000 (08:17 -0500)]
Fix doc syntax
Matthias Clasen [Fri, 20 Jan 2012 13:16:35 +0000 (08:16 -0500)]
GtkApplication: fix !x11 build
Since we moved the menu models to GTK+, we need to deal with
them on all platforms, even if we don't do anything special
with them on win32.
Alexander Larsson [Fri, 20 Jan 2012 12:48:33 +0000 (13:48 +0100)]
Fix builddir != srcdir build issue
Alexander Larsson [Fri, 20 Jan 2012 10:01:23 +0000 (11:01 +0100)]
Fix visibility notification event reporting
We were checking the event mask for GDK_VISIBILITY_NOTIFY,
not GDK_VISIBILITY_NOTIFY_MASK, which was clearly a typo.