commit 24de7cd86fb65fa77c6a66e1f558ed9a7eb4e314 Author: Matthias Clasen Date: Tue Feb 1 14:11:20 2011 -0500 Add another bug ref NEWS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 62d7593fc2961966c93912cacc8059158194949c Author: Vincent Untz Date: Tue Feb 1 20:01:49 2011 +0100 Fix crash in gtk_fixed_remove() b3f6f67c changed the loop from while() to for(), but the line to move to the next child was kept, so we could go past the end of the list. https://bugzilla.gnome.org/show_bug.cgi?id=641176 gtk/gtkfixed.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit 1b25489cba70f6552a491ed9a931b6906336dc0d Author: Matthias Clasen Date: Tue Feb 1 13:54:27 2011 -0500 Remove accidentally exported symbol gtk/gtk.symbols | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit b0d48f66a10a2b7ee9a7251df957eb46a5d30cf9 Author: Matthias Clasen Date: Tue Feb 1 13:39:41 2011 -0500 Updates for 2.99.3 NEWS | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 138 insertions(+), 1 deletions(-) commit 5f594b613eba0fca08e3866be3756e3afe798fc0 Author: Benjamin Otte Date: Tue Feb 1 18:31:44 2011 +0100 API: gdk: Get rid of GdkNativeWindow Also get rid of the GDK_NATIVE_WINDOW_POINTER define. configure.ac | 1 - docs/reference/gdk/gdk3-sections.txt | 1 - gdk/gdkconfig.h.win32 | 2 -- gdk/gdktypes.h | 18 ------------------ 4 files changed, 0 insertions(+), 22 deletions(-) commit 7b5ad65e714c6b42ae79b0f4e2cdcbc2d6a599f2 Author: Benjamin Otte Date: Tue Feb 1 18:29:20 2011 +0100 x11: Use Window isntead of GdkNativeWindow gdk/x11/gdkdnd-x11.c | 14 +++++++------- gdk/x11/gdkprivate-x11.h | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) commit 44c02fcbb19da4a270622cdd73ed85f19c9f8fbe Author: Benjamin Otte Date: Tue Feb 1 18:11:35 2011 +0100 API: gdk: Change get_drag_window() API The previous function gdk_drag_get_protocol_for_display() took native window handles, so it had to be changed. Because it didn't do what it was named to do (it didn't return a protocol even though it was named get_protocol) and because it doesn't operate on the display anymore but on the actual window, it's now called gdk_window_get_drag_protocol(). docs/reference/gdk/gdk3-sections.txt | 2 +- gdk/gdk.symbols | 2 +- gdk/gdkdisplay.c | 22 ---------------------- gdk/gdkdisplayprivate.h | 4 ---- gdk/gdkdnd.h | 4 ---- gdk/gdkwindow.c | 22 ++++++++++++++++++++++ gdk/gdkwindow.h | 4 ++++ gdk/gdkwindowimpl.h | 2 ++ gdk/x11/gdkdisplay-x11.c | 8 -------- gdk/x11/gdkprivate-x11.h | 6 ++++++ gdk/x11/gdkwindow-x11.c | 27 +++++++++++++++++++++++++++ gtk/gtksocket.c | 8 ++++---- 12 files changed, 67 insertions(+), 44 deletions(-) commit 9210347600c640becebe19ac12de5bdf332acaa5 Author: Benjamin Otte Date: Tue Feb 1 17:29:33 2011 +0100 API: gdk: Make GDK_DRAG_PROTOCOL_NONE equal to 0 THis way, we can do comparisons like "if (protocol)" gdk/gdkdnd.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 5bc04bc07be16732e0ec2ddecbb0fcfc46a929c7 Author: Benjamin Otte Date: Tue Feb 1 17:22:04 2011 +0100 API: gdk: Make GdkEventSelection.requestor a GdkWindow instead of a GdkNativeWindow. Also change gdk_selection_notify() API to take a GdkWindow to match this change. gdk/gdkdisplayprivate.h | 2 +- gdk/gdkevents.c | 15 +++++++++++++++ gdk/gdkevents.h | 4 ++-- gdk/gdkselection.c | 6 +++--- gdk/gdkselection.h | 6 ++---- gdk/x11/gdkdisplay-x11.c | 6 +++++- gdk/x11/gdkprivate-x11.h | 2 +- gdk/x11/gdkselection-x11.c | 6 +++--- gdk/x11/gdkwindow-x11.c | 4 +++- gtk/gtkselection.c | 10 +--------- 10 files changed, 36 insertions(+), 25 deletions(-) commit c2a5d715d5cded5eeb0f284208d49c9e8773ed1b Author: Benjamin Otte Date: Tue Feb 1 16:36:23 2011 +0100 x11: Use gdk_x11_window_foreign_new_for_display() unconditionally gdk_x11_window_lookup_window() calls are done by this function alreayd, so no need to do them manually. gdk/x11/gdkdnd-x11.c | 36 +++++++++--------------------------- 1 files changed, 9 insertions(+), 27 deletions(-) commit 5441ecd35026c4d1eca35e366b62f7b6b6862e45 Author: Matthias Clasen Date: Tue Feb 1 09:48:32 2011 -0500 Fix a warning gdk/x11/gdkdevicemanager-xi2.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 38045e789cfe17cee97566a168151369f3e5aeee Author: Matthias Clasen Date: Tue Feb 1 09:44:33 2011 -0500 Remove a dead member The client_pointer field in GdkX11DeviceManagerXI2 is not used anywhere. gdk/x11/gdkdevicemanager-xi2.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit c79413a1dfcd6979a0c16fada34b0e7a98899f96 Author: Matthias Clasen Date: Tue Feb 1 09:42:53 2011 -0500 Make xim work with XI2 We cannot totally ignore core key events, since XFilterEvent generates those at times and relies on them having an effect. https://bugzilla.gnome.org/show_bug.cgi?id=640965 gdk/x11/gdkdevicemanager-xi2.c | 28 +++++++++++++++++++++++++++- 1 files changed, 27 insertions(+), 1 deletions(-) commit 8448780a6c9fa2bcdd06af996bddb8bd720bd5e6 Author: Matthias Clasen Date: Tue Feb 1 01:28:45 2011 -0500 Make treeview expanders work reliably It turns out that the gtk_grab_remove() can trigger a do_prelight() call, which may end up changing prelight_node, and then the state gets messed up. Moving the grab removal until after we're done with button_pressed_node and prlight_node makes expanders work reliably. One thing that is still not right is that the expander doesn't get prelight again after the animation is done, if you manage to release without any additional motion events. https://bugzilla.gnome.org/show_bug.cgi?id=641039 gtk/gtktreeview.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) commit c332ac207ab4cac8f4c32aa85cdf6406157340af Author: Benjamin Otte Date: Tue Feb 1 06:30:27 2011 +0100 gdk: Remove GdkEventClient ... and all APIs making use of it. That code like it hasn't been touched in years, Google codesearch didn't find any users and most importantly it's a horrendous API, so let's just make it die instead of having to port it over to non-GdkNativeWindow usage, which would be required for multi-backend GDK. http://mail.gnome.org/archives/gtk-devel-list/2011-January/msg00049.html docs/reference/gdk/gdk3-sections.txt | 9 --- gdk/gdk.symbols | 6 -- gdk/gdkdisplay.c | 112 ---------------------------------- gdk/gdkdisplay.h | 5 -- gdk/gdkdisplayprivate.h | 7 -- gdk/gdkevents.h | 41 ------------ gdk/gdkscreen.c | 26 -------- gdk/gdkscreen.h | 3 - gdk/x11/gdkdisplay-x11.c | 99 ++---------------------------- gdk/x11/gdkdisplay-x11.h | 3 - gdk/x11/gdkscreen-x11.c | 87 -------------------------- 11 files changed, 5 insertions(+), 393 deletions(-) commit 040b21e7d7b97db426027dd80fa0269506542e57 Author: Benjamin Otte Date: Tue Feb 1 06:29:51 2011 +0100 tests: Remove refreh button from testtoolbar test It didn't work and did that by using APIs that are about to go away. tests/testtoolbar.c | 23 ----------------------- 1 files changed, 0 insertions(+), 23 deletions(-) commit cf940705869f4d75d81095771f0dbb9fd00a2341 Author: Benjamin Otte Date: Tue Feb 1 06:27:46 2011 +0100 testgtk: Remove ability to reload all rc files That ability didn't work for a while anyway, so removing client messages doesn't hurt. tests/testgtk.c | 26 -------------------------- 1 files changed, 0 insertions(+), 26 deletions(-) commit 9e401bef684197271d5572301c87a9e93e010722 Author: Benjamin Otte Date: Tue Feb 1 06:25:57 2011 +0100 tests: Remove clientmessage test Client messages will not be handled by GDK3 anymore, so no need to test them. tests/Makefile.am | 3 - tests/testclientmessage.c | 122 --------------------------------------------- 2 files changed, 0 insertions(+), 125 deletions(-) commit 8ecd420ede894b904a5c6598f075f0cf74bebc2e Author: Benjamin Otte Date: Tue Feb 1 06:12:51 2011 +0100 x11: Do dnd event handling via gdk_window_add_filter() gdk/x11/gdkdisplay-x11.c | 1 - gdk/x11/gdkdnd-x11.c | 26 ++++++++++++++++++++------ gdk/x11/gdkmain-x11.c | 3 +++ gdk/x11/gdkprivate-x11.h | 5 ++++- 4 files changed, 27 insertions(+), 8 deletions(-) commit 180cd853fc8d32a26fa8d9cddd9dfa2e8e9198fe Author: Benjamin Otte Date: Tue Feb 1 06:04:01 2011 +0100 x11: Use macros for byte order to set byte order No need to run sophisticated functions to guess it. gdk/x11/gdkdnd-x11.c | 14 +++++--------- 1 files changed, 5 insertions(+), 9 deletions(-) commit 609ddee632b336232b5a9768a98459e48d15d242 Author: Benjamin Otte Date: Tue Feb 1 05:31:41 2011 +0100 x11: Register wm_protocols function with gdk_window_add_filter() The client message code is about to go away, so we need to use a different way to get at ClientMessage output. gdk/x11/gdkdisplay-x11.c | 26 ++++++++++++++------------ gdk/x11/gdkdisplay-x11.h | 4 ++++ gdk/x11/gdkmain-x11.c | 4 ++++ 3 files changed, 22 insertions(+), 12 deletions(-) commit e67347a3c8c57f4bf507724d66a298ddc7799ea0 Author: Benjamin Otte Date: Tue Feb 1 05:55:10 2011 +0100 x11: Fill in event->any.window before calling filter functions a) We advertise it for GdkFilterFunc b) It's necessary to differentiate between different event types with multi-backend GTK. gdk/x11/gdkeventsource.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit d217f4d09e7d63c5e7d687e1d217e6b4a10d36c3 Author: Benjamin Otte Date: Tue Feb 1 04:35:49 2011 +0100 x11: Handle motif client message filter just like xdnd filters gdk/x11/gdkdnd-x11.c | 19 ++++++++----------- 1 files changed, 8 insertions(+), 11 deletions(-) commit 14cb485d2240a54ded0c900d3f61bbc7d77f5de5 Author: Benjamin Otte Date: Tue Feb 1 03:53:21 2011 +0100 x11: Use event->any.window instead of any random member gdk/x11/gdkdevicemanager-core-x11.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit fac914d70cba9745379bfafd3b0298ed5aafb138 Author: Benjamin Otte Date: Mon Jan 31 23:18:47 2011 +0100 API: gtk: Remove client_event vfunc from GtkWidget Also remove the (de-facto unused) implementation from GtkWindow that was only used for sockets/plugs. gtk/gtkicontheme.c | 17 ------- gtk/gtksocket.c | 13 ------ gtk/gtkwidget.c | 27 ------------ gtk/gtkwidget.h | 2 - gtk/gtkwindow.c | 109 ------------------------------------------------ gtk/gtkwindowprivate.h | 9 ---- 6 files changed, 0 insertions(+), 177 deletions(-) commit b52db73f59dc72dd81a01a323893a738303a775d Author: Matthias Clasen Date: Mon Jan 31 19:35:51 2011 -0500 Deal gracefully with unowned selections If a selection looses its owner without a replacement, owner is None, which we did not handle very well. https://bugzilla.gnome.org/show_bug.cgi?id=641042 gdk/gdkevents.c | 7 +++++-- gdk/gdkevents.h | 14 +++++++------- gdk/x11/gdkdisplay-x11.c | 7 +++++-- 3 files changed, 17 insertions(+), 11 deletions(-) commit fc43e42bf2d755d675ffe9214fdcceb2351ca2aa Author: Dan Winship Date: Mon Jan 31 19:13:29 2011 -0500 Fix several bugs handling GtkTrayIcon symbolic colors https://bugzilla.gnome.org/show_bug.cgi?id=641059 gtk/gtkstatusicon.c | 20 ++++++++++++++------ gtk/gtktrayicon-x11.c | 4 ---- 2 files changed, 14 insertions(+), 10 deletions(-) commit 6d218084c3c6cfc134e5b99dddbc1d0c88bff0fc Author: Matthias Clasen Date: Mon Jan 31 18:49:20 2011 -0500 Clarify models vs callbacks in entry completion docs See https://bugzilla.gnome.org/show_bug.cgi?id=641073 gtk/gtkentrycompletion.c | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) commit 9dcdca250106c4b42f3839ad91073b294be5b42c Author: Kristian Rietveld Date: Tue Feb 1 00:26:04 2011 +0100 Don't use GTK_IS_PLUG for non-X11 backends gtk/gtkwidget.c | 9 ++++++++- gtk/gtkwindow.c | 8 +++++++- 2 files changed, 15 insertions(+), 2 deletions(-) commit 73afbc954a21c9454a45372c3cabb50077645a24 Author: Kristian Rietveld Date: Mon Jan 31 23:30:56 2011 +0100 Check whether mask is NULL gdk/quartz/gdkdevice-core-quartz.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 119d29dcb9490c541b9f5f22d1c4380508021b68 Author: Kristian Rietveld Date: Mon Jan 31 23:10:49 2011 +0100 Only include gtktrayicon.h when building for X11 GtkTrayIcon depends on GtkPlug which is X11-specific. This fixes the build for Quartz. gtk/gtkstatusicon.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 726b0d8736a9d5ac8d7f2395f234662b204290fc Author: Matthias Clasen Date: Mon Jan 31 17:34:37 2011 -0500 Bandaid fix for icon view subclassing I've decided that it is isn't feasible to make cell areas runtime-settable in the time we have left before 3.0, therefore, I'm going with the approach to allow init() functions to instantiate the default cell area and issue a warning if a construct property is ignored. This is not ideal, but it keeps existing icon view and combo box subclasses working. https://bugzilla.gnome.org/show_bug.cgi?id=639139 gtk/gtkcelllayout.c | 49 +++ gtk/gtkcellview.c | 53 +++- gtk/gtkcellview.h | 6 +- gtk/gtkcombobox.c | 46 ++- gtk/gtkentrycompletion.c | 24 +- gtk/gtkiconview.c | 79 +++-- gtk/gtktreeviewcolumn.c | 86 ++++-- gtk/tests/Makefile.am | 4 + gtk/tests/cellarea.c | 855 ++++++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 1111 insertions(+), 91 deletions(-) commit 1f3a5a8d92927ce9ce22bc8dcd8fe990e6f8431f Author: Stefan Kost Date: Mon Jan 31 23:07:34 2011 +0200 Clarify key-{press,release}-event docs. Mention key-repeat in key-press and fix a copy'n'paste in key-release docs. gtk/gtkwidget.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit a37976dae05b6a7833b77025568848f329d67af8 Author: Tristan Van Berkom Date: Tue Feb 1 04:57:05 2011 +0900 Fixed GtkToolPalette ->forall implementation to be gtk_widget_destroy friendly The forall() loop was buggy as it was skipping items in the list when the current item gets removed from the groups array as a result of calling the callback (causing memory leaks). gtk/gtktoolpalette.c | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) commit ddb4b3ebe2fca5eb5da6bc6a70549885df10faaf Author: Tristan Van Berkom Date: Sat Jan 29 20:06:25 2011 +0900 Added "shift" modifier versions of keybings for GtkFileChooser "folder-up"/"folder-down" bindings. Also updated documentation, closes bug 322926 gtk/gtkfilechooser.c | 15 ++++++++++--- gtk/gtkfilechooserdefault.c | 46 ++++++++++++++++++++++++++++--------------- 2 files changed, 41 insertions(+), 20 deletions(-) commit c01c018fde470a75e77207c5e012ea1a7467b923 Author: Daniel Mustieles Date: Mon Jan 31 19:33:55 2011 +0100 Updated Spanish translation po-properties/es.po | 592 +++++++++++++++++++++++++-------------------------- 1 files changed, 295 insertions(+), 297 deletions(-) commit 30958ea8ad1a60449eb6ad47eb679a2de70d96ed Author: Matthias Clasen Date: Mon Jan 31 11:32:19 2011 -0500 Fix a segfault in gtk_statusbar_remove_all https://bugzilla.gnome.org/show_bug.cgi?id=640487 gtk/gtkstatusbar.c | 5 ++++- gtk/tests/testing.c | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletions(-) commit d51c617e13b0999f95bffba7567cb5e235055cf4 Author: Emmanuele Bassi Date: Wed Dec 29 03:09:14 2010 +0000 css-provider: Fix up the Switch style As it was with the old style, when the Switch is in the "on" state the trough should be using the selected background color. gtk/gtkcssprovider.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit cb498c21014ea6c938bf8d327c2d26d3ccf68baa Author: Matthias Clasen Date: Mon Jan 31 10:51:09 2011 -0500 Speed up expander animation Go back to 200ms, which is what we had in GTK+ 2.x. Themes can change this, of course. gtk/gtkcssprovider.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 38f6065b2bcf439cb07adcf855cffd3bdf2b66eb Author: Matthias Clasen Date: Mon Jan 31 10:48:40 2011 -0500 Make GtkEntryCompletion::match-selected arguments consistent For keynav, we were still passing it the filter model. https://bugzilla.gnome.org/show_bug.cgi?id=640698 gtk/gtkentry.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit fb860a9527e2eed805222568fed50294cdc49e3b Author: Matthias Clasen Date: Mon Jan 31 10:26:28 2011 -0500 Add a note to ::fill and ::expand docs gtk/gtkbox.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) commit a26ffdc740beedddf36f64fcc09f435b22fe8aee Author: Matthias Clasen Date: Mon Jan 31 10:17:21 2011 -0500 Prevent a segfault in GtkPlug The grabbed_keys might be NULL, so deal with that. https://bugzilla.gnome.org/show_bug.cgi?id=641023 gtk/gtkplug.c | 27 +++++++++++++-------------- 1 files changed, 13 insertions(+), 14 deletions(-) commit 0208539c4bea013ee1e0e2297305a1f8b7c601f1 Author: Matthias Clasen Date: Mon Jan 31 09:34:46 2011 -0500 Remove RC file references from docs where appropriate gtk/gtkwidget.c | 28 +++++++++++++--------------- 1 files changed, 13 insertions(+), 15 deletions(-) commit 677c8c218952fa38b83425f8204c628bac107757 Author: Matthias Clasen Date: Mon Jan 31 09:29:40 2011 -0500 Remove references to RC files in the env var docs docs/reference/gtk/running.sgml | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) commit 6a8d494ba193cd855d3c5850b75e2061d4806a0b Author: Matthias Clasen Date: Mon Jan 31 07:38:37 2011 -0500 Fix GTK_SPINNER_CLASS macro https://bugzilla.gnome.org/show_bug.cgi?id=640999 gtk/gtkspinner.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 09a52de4785b4db0e65d9d7c919d693f1a34fb5a Author: Matthias Clasen Date: Mon Jan 31 07:37:36 2011 -0500 Add a missing id to the docs gtk/gtkcssprovider.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 430f53bb523e65d119d233cc471d3a91941e8646 Author: Baurzhan Muftakhidinov Date: Mon Jan 31 16:22:38 2011 +0600 Updated Kazakh translation po/kk.po | 1161 +++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 627 insertions(+), 534 deletions(-) commit 9864445b1f9a320318ef59f14beb907b925f747a Author: Benjamin Otte Date: Mon Jan 31 06:43:18 2011 +0100 API: gdk: Change GdkEventOwnerChange to not take GdkNativeWindow Use GdkWindow instead. This requires calling gdk_x11_window_foreign_new_for_display(), so might cause a slight performance penalty, but is required to be portable. gdk/gdkevents.c | 8 ++++++++ gdk/gdkevents.h | 2 +- gdk/x11/gdkdisplay-x11.c | 3 ++- 3 files changed, 11 insertions(+), 2 deletions(-) commit cfa6505504fab38107f40f42fcdc06f27f2c8439 Author: Matthias Clasen Date: Sun Jan 30 23:53:19 2011 -0500 Mention key themes in the migration guide docs/reference/gtk/migrating-GtkStyleContext.xml | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) commit 175c57ebd7d1f31aba855b8af491859f9203fa78 Author: Matthias Clasen Date: Sun Jan 30 22:51:21 2011 -0500 Small optimization We can use the fact that all involved strings are interned; also deprecate gtk_binding_set_add_path() in the headers, too. gtk/gtkbindings.c | 41 +++++++++++++++++++++++------------------ gtk/gtkbindings.h | 2 ++ 2 files changed, 25 insertions(+), 18 deletions(-) commit f67ab808fd91a2ce27b8b2a21761c756bae09c60 Author: Matthias Clasen Date: Sun Jan 30 23:34:52 2011 -0500 doc fixes docs/reference/gtk/tmpl/gtkrc.sgml | 4 ++-- gtk/gtkbindings.c | 23 ++++++++++++----------- gtk/gtkcssprovider.c | 12 ++++++++++-- gtk/gtksettings.c | 4 ++-- gtk/gtkstyle.c | 22 ++++++++++++---------- 5 files changed, 38 insertions(+), 27 deletions(-) commit b448bb81cea589e6da9b6b61eb8dace7b6509598 Author: Matthias Clasen Date: Sun Jan 30 22:37:30 2011 -0500 Move GtkBindings docs inline docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkbindings.sgml | 296 ------------------------------ gtk/gtkbindings.c | 244 +++++++++++++++++-------- gtk/gtkbindings.h | 53 ++++++ 4 files changed, 225 insertions(+), 369 deletions(-) commit dcf3430e17d3706285e07496f3105df896977e52 Author: Matthias Clasen Date: Sun Jan 30 21:50:54 2011 -0500 Add a gtkbindingsprivate.h header gtk/Makefile.am | 1 + gtk/gtkbindings.c | 6 +- gtk/gtkbindings.h | 162 +++++++++++++++++++++------------------------- gtk/gtkbindingsprivate.h | 37 +++++++++++ 4 files changed, 114 insertions(+), 92 deletions(-) commit 8bb0d552f1be1313cbb9e37607b21d8274ae5ff1 Author: Matthias Clasen Date: Fri Jan 28 19:36:24 2011 -0500 Improve binding-set parser Make gtk_binding_entry_add_signal_from_string() return the expected token in case of parsing error, so that we can return a GError instead of spewing. Also, add a separate scope for binding-set, since allowing {} in identifiers in SCOPE_VALUE breaks the fact that the ; after the last assignment in a rule is optional. gtk/gtkbindings.c | 19 ++++++++++--------- gtk/gtkbindings.h | 4 ++-- gtk/gtkcssprovider.c | 23 +++++++++++++++++++---- 3 files changed, 31 insertions(+), 15 deletions(-) commit a04e721473a6afc45dba8bc9f95256375968edb4 Author: Matthias Clasen Date: Fri Jan 28 19:35:54 2011 -0500 Add binding-set tests gtk/tests/stylecontext.c | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) commit 2ea010bca048eeefb9a90465d0079e44a55fc94f Author: Matthias Clasen Date: Fri Jan 28 18:42:15 2011 -0500 Convert remaining rc files to css gtk/Makefile.am | 20 ++++++++------------ gtk/gtk-keys.css.default | 3 +++ gtk/gtk.css.raleigh | 3 +++ 3 files changed, 14 insertions(+), 12 deletions(-) commit f16dbe0db34eb4cbbdb8f01baacbbc5b2d04f0f6 Author: Matthias Clasen Date: Fri Jan 28 18:35:21 2011 -0500 Convert the mac key theme to css gtk/Makefile.am | 8 +- gtk/gtk-keys.css.mac | 205 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 210 insertions(+), 3 deletions(-) commit c770f441ca208e3ce784d109b46e7b1e67663834 Author: Matthias Clasen Date: Fri Jan 28 18:16:56 2011 -0500 Convert the Emacs key theme to css gtk/Makefile.am | 2 + gtk/gtk-keys.css.emacs | 123 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+), 0 deletions(-) commit bf9e59e3923560d9583eaa7c21ad28bc40b149f2 Author: Matthias Clasen Date: Fri Jan 28 18:08:57 2011 -0500 Make documentation match behaviour gtk/gtkcssprovider.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) commit c0b80530890663631f653e81e8e013e67f776b2e Author: Carlos Garnacho Date: Fri Jan 28 20:19:30 2011 +0100 Move key/theme CSS providers to GtkSettingsPrivate gtk/gtksettings.c | 98 ++++++++++++++++++++++------------------------------- 1 files changed, 41 insertions(+), 57 deletions(-) commit a03e33b10b5989ce8644f234a1564e73a42e1e59 Author: Carlos Garnacho Date: Fri Jan 28 19:34:36 2011 +0100 Parse the gtk-keys.css file in the GtkSettings::gtk-key-theme-name theme path gtk/gtksettings.c | 48 +++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 47 insertions(+), 1 deletions(-) commit 081d5b14da4a35858fb14bd2dae3bc4d2dc28201 Author: Carlos Garnacho Date: Fri Jan 28 11:05:01 2011 +0100 Add some bindings to testgtk.css for testing tests/testgtk.css | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) commit c70b65f0eb651cfbb4154f2b1b35cc1359db3e91 Author: Carlos Garnacho Date: Fri Jan 28 10:25:17 2011 +0100 Document @binding-set and the gtk-key-bindings css parser property gtk/gtkcssprovider.c | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) commit b5bee0a827598baf1570b455c36b6d25fa30b244 Author: Carlos Garnacho Date: Fri Jan 28 10:25:00 2011 +0100 Remove unneeded code from GtkBindingSet gtk/gtkbindings.c | 114 ----------------------------------------------------- 1 files changed, 0 insertions(+), 114 deletions(-) commit 9a3466832cc73ae29b704547747b8699132c1250 Author: Carlos Garnacho Date: Fri Jan 28 10:06:42 2011 +0100 Hook up key bindings in CSS with key propagation. This is done in the same place than it was done before the switch to GtkStyleContext, the GtkBindingEntry has been slightly simplified since it's now the GtkStyleContext which hands us the list of binding sets applying to a widget, so no need to use the older matching mechanisms. gtk/gtkbindings.c | 99 ++++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 79 insertions(+), 20 deletions(-) commit d39f0411bea8a04d5ed8af6ca48a843133b4e2c4 Author: Carlos Garnacho Date: Fri Jan 28 09:59:02 2011 +0100 Add the gtk-key-bindings CSS parser property. This property takes a list of binding set names to have these stored as a GPtrArray containing GtkBindingSets. this property is handled so merging GtkStyleProperties will merge both GtkBindingSet lists. gtk/gtkcssprovider.c | 32 ++++++++++++++++++++++++++++++++ gtk/gtkstyleproperties.c | 22 ++++++++++++++++++++++ 2 files changed, 54 insertions(+), 0 deletions(-) commit dbff92fd9f4f4ba2af5f0db9ddee8641c559bc7d Author: Carlos Garnacho Date: Fri Jan 28 01:52:03 2011 +0100 Add @binding-set rules to the CSS parser these custom rules can be used to define key themes as in the RC files, a series of bind/unbind rules may be added then: @binding foo-bar { bind "1" { "move-cursor" (visual-positions, 1, 0) }; unbind "d" } gtk/gtkcssprovider.c | 57 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 56 insertions(+), 1 deletions(-) commit 53ca6eb0b5b821bde2d96b873f0e02588aa2a7fb Author: Carlos Garnacho Date: Fri Jan 28 01:50:14 2011 +0100 Add gtk_binding_entry_add_signal_from_string() This function rescues part of the old parser (which is now standalone) to load a bind/unbind definition string into a GtkBindingSet. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtk.symbols | 1 + gtk/gtkbindings.c | 321 ++++++++++++++++++++++++++++++++++ gtk/gtkbindings.h | 4 + 4 files changed, 327 insertions(+), 0 deletions(-) commit b98caf938594504508dfc4546d6f606e6edeab9d Author: Bastien Nocera Date: Mon Jan 31 00:30:00 2011 +0000 GtkCssProvider: Take into account variant When loading a theme, make sure we take into account the variant so we don't use the plain version when the theme changes. Also make sure to fallback to the plain theme when loading a variant fails. https://bugzilla.gnome.org/show_bug.cgi?id=640983 gtk/gtkcssprovider.c | 31 +++++++++++++++++++++---------- gtk/gtksettings.c | 12 +++++++----- 2 files changed, 28 insertions(+), 15 deletions(-) commit 7f3aa920862bf18e23216d4bce975e805c7461e4 Author: Bastien Nocera Date: Mon Jan 31 00:28:46 2011 +0000 GtkSettings: Fix theme not updating for dark theme The theme was not updated when the "gtk-application-prefer-dark-theme" GtkSettings property changed. https://bugzilla.gnome.org/show_bug.cgi?id=640983 gtk/gtksettings.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit c4cafd67c3fc7432905967631054f32bb7a0a25b Author: Jakob Kramer Date: Sun Jan 30 20:49:34 2011 +0100 [l10n] Updated German translation po/de.po | 1773 +++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 945 insertions(+), 828 deletions(-) commit 23ac7efe0389fa8835b2386117abbf2562f944f0 Author: David Planella Date: Sun Jan 30 11:27:40 2011 +0100 Updated Catalan translation po/ca.po | 1934 +++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 1030 insertions(+), 904 deletions(-) commit ec37512f64555af6e4fdd7e61a649ead564d53a2 Author: Matthias Clasen Date: Sun Jan 30 03:17:05 2011 -0500 Add a gtkscaleprivate.h header gtk/Makefile.am | 1 + gtk/gtkscale.c | 2 +- gtk/gtkscale.h | 7 ------- gtk/gtkscaleprivate.h | 38 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 40 insertions(+), 8 deletions(-) commit 4a0aa41742a8830aae7e813f2e7b0386e394ada6 Author: Matthias Clasen Date: Sun Jan 30 03:12:49 2011 -0500 Add gtkorientableprivate.h header gtk/Makefile.am | 1 + gtk/gtkcellview.c | 2 +- gtk/gtkgrid.c | 2 +- gtk/gtkorientable.c | 2 +- gtk/gtkorientable.h | 3 --- gtk/gtkorientableprivate.h | 31 +++++++++++++++++++++++++++++++ gtk/gtkprogressbar.c | 2 +- gtk/gtkrange.c | 2 +- gtk/gtkseparator.c | 2 +- gtk/gtktoolpalette.c | 1 + 10 files changed, 39 insertions(+), 9 deletions(-) commit d463bbfdcd8f9769ab9aadc6b23df79d2c17d63d Author: Matthias Clasen Date: Sun Jan 30 02:57:59 2011 -0500 Some updates HACKING | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) commit d4b218131d06fe9ca0fa0c56f0a7048a0af0cba1 Author: Matthias Clasen Date: Sun Jan 30 02:52:55 2011 -0500 Drop 2.x release notes README.in | 433 ------------------------------------------------------------- 1 files changed, 0 insertions(+), 433 deletions(-) commit 4b5b1ab43ac76af09ca747310eadde58d8763174 Author: Matthias Clasen Date: Sun Jan 30 02:49:31 2011 -0500 Fix build We must build gtk before gtk/tests gtk/Makefile.am | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit b71134fc77630c20b2b8a0d19a855a7b665b9403 Author: Matthias Clasen Date: Sun Jan 30 02:46:59 2011 -0500 Drop unused theme-bits configure.ac | 1 - gtk/Makefile.am | 10 +-- gtk/theme-bits/Makefile.am | 15 --- gtk/theme-bits/README | 29 ----- gtk/theme-bits/check-13-inconsistent.png | Bin 197 -> 0 bytes gtk/theme-bits/check-13.png | Bin 267 -> 0 bytes gtk/theme-bits/decompose-bits.c | 177 ------------------------------ gtk/theme-bits/radio-13-inconsistent.png | Bin 335 -> 0 bytes gtk/theme-bits/radio-13.png | Bin 317 -> 0 bytes 9 files changed, 2 insertions(+), 230 deletions(-) commit 572441f94fe0c1183e9d2247087b5c7e6716fe70 Author: Matthias Clasen Date: Sun Jan 30 02:45:01 2011 -0500 Drop unused file circles.xml gtk/circles.xbm | 46 ---------------------------------------------- 1 files changed, 0 insertions(+), 46 deletions(-) commit 6c3ce36f63319e83d0411f07486e327a8ed6da66 Author: Matthias Clasen Date: Sun Jan 30 02:43:38 2011 -0500 Remove GTK+ 1 era xbm icons docs/reference/gtk/tmpl/gtkruler.sgml | 134 --------------------------------- gtk/line-arrow.xbm | 4 - gtk/line-wrap.xbm | 4 - gtk/tree_minus.xbm | 5 - gtk/tree_minus.xpm | 18 ----- gtk/tree_plus.xbm | 5 - gtk/tree_plus.xpm | 18 ----- 7 files changed, 0 insertions(+), 188 deletions(-) commit bcdfd15893726163629b1460a47097d1789b93ee Author: Matthias Clasen Date: Sun Jan 30 02:38:59 2011 -0500 Remove some dead templates docs/reference/gtk/tmpl/gtkclist.sgml | 1312 ----------------------------- docs/reference/gtk/tmpl/gtkpreview.sgml | 265 ------ docs/reference/gtk/tmpl/gtkprogress.sgml | 215 ----- docs/reference/gtk/tmpl/gtkthemes.sgml | 19 - docs/reference/gtk/tmpl/gtktipsquery.sgml | 163 ---- 5 files changed, 0 insertions(+), 1974 deletions(-) commit 242c2a389d04d8b099e4942371318a4cd1e33f8e Author: Matthias Clasen Date: Sun Jan 30 02:36:17 2011 -0500 Whitespace fixes gtk/gtkprintoperation.h | 95 ++++++++++++++++++++++++----------------------- 1 files changed, 48 insertions(+), 47 deletions(-) commit 837c504a118eeab9c820ce629ee9a128d49f08a5 Author: Matthias Clasen Date: Sun Jan 30 02:34:59 2011 -0500 Move GtkPrintOperation docs inline docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkprintoperation.sgml | 701 ------------------------ gtk/gtkprintoperation.c | 72 +++- gtk/gtkprintoperation.h | 60 ++ 4 files changed, 132 insertions(+), 702 deletions(-) commit 701075b2c891d0199e04ebff13d5b5845ff5c652 Author: Matthias Clasen Date: Sun Jan 30 02:21:16 2011 -0500 Nicer configure summary configure.ac | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit 645650ae243c6269faa3dec4df17b112d234a377 Author: Matthias Clasen Date: Sun Jan 30 02:16:18 2011 -0500 Silence unused variable warnings in the cups printbackend modules/printbackends/cups/gtkprintbackendcups.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit 2ba878ca1b709c018caa8fac60322c6e1c768c58 Author: Matthias Clasen Date: Sun Jan 30 02:14:08 2011 -0500 Silence unused variable warnings in gail modules/other/gail/gailentry.c | 9 +++++---- modules/other/gail/gailexpander.c | 2 -- modules/other/gail/gailrenderercell.c | 3 --- modules/other/gail/gailtextview.c | 2 -- modules/other/gail/gailtoplevel.c | 2 -- modules/other/gail/gailtreeview.c | 19 +++---------------- modules/other/gail/tests/ferret.c | 6 ++---- modules/other/gail/tests/testcombo.c | 3 --- modules/other/gail/tests/testlib.c | 3 --- modules/other/gail/tests/testpaned.c | 3 --- 10 files changed, 10 insertions(+), 42 deletions(-) commit cb6e036d67abea65e7232414336cc5f1a71d2655 Author: Matthias Clasen Date: Sun Jan 30 01:59:12 2011 -0500 More compiler warnings silenced gtk/tests/filtermodel.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) commit 2b631739c0e90f6795772e400a03f08b4d6f3d49 Author: Matthias Clasen Date: Sun Jan 30 01:53:49 2011 -0500 Fix another compiler warning about unused variables gtk/tests/builder.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) commit 6dc142a50a930ce9759bb658df852b7e94b73a5c Author: Matthias Clasen Date: Sun Jan 30 01:52:55 2011 -0500 Silence more compiler warnings gtk/tests/treeview-scrolling.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit 5caa76c5dfa45659d0e3d04f5f8245471e894d78 Author: Matthias Clasen Date: Sun Jan 30 01:50:58 2011 -0500 Fix compiler warnings about unused variables gtk/gtkwidget.c | 36 ++++++++++++++---------------------- 1 files changed, 14 insertions(+), 22 deletions(-) commit 0c2e16f04b11a2982588a396e66908e1e6b6bd4e Author: Matthias Clasen Date: Sun Jan 30 01:45:18 2011 -0500 Include gtkx.h here When building under X11, gtktypefuncs.c includes references to gdk X11 backend functions, so we need to include the header. gtk/gtktestutils.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 61f8dbc2450e1b47d0c3f6e507a9e7196b85713c Author: Matthias Clasen Date: Sun Jan 30 01:40:51 2011 -0500 Silence compiler warnings gdk/x11/gdkasync.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit b1be543ba570adaa412873c0d561ec50f68048b3 Author: Matthias Clasen Date: Sat Jan 29 23:26:34 2011 -0500 Use free() to free XIButtonState.mask XIQueryPointer() allocates it using malloc() (without any mention in the documentation...). gdk/x11/gdkdevice-xi2.c | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) commit 10b6afa1f597a201fb24f3d513aaddab51889812 Author: Matthias Clasen Date: Sat Jan 29 23:09:51 2011 -0500 Improve some deprecation notes gtk/gtkwidget.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) commit cbc4e823141ffbba8b5f46c4e43b1190dc9e42e1 Author: Matthias Clasen Date: Sat Jan 29 22:59:32 2011 -0500 Mention theme-specific settings in the migration guide docs/reference/gtk/migrating-GtkStyleContext.xml | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) commit 02d952ca6d19d8714d50ed209347210fe515a4d7 Author: Matthias Clasen Date: Sat Jan 29 22:52:02 2011 -0500 More documentation tweaks docs/reference/gtk/migrating-2to3.xml | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) commit f6cd9c155385ede9341f18881ede191f2de266a1 Author: Matthias Clasen Date: Sat Jan 29 22:47:33 2011 -0500 Documentation tweaks docs/reference/gtk/tmpl/gtkrc.sgml | 2 +- gtk/gtkstyle.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) commit bc58a60a0b6f0b075c30c0eba32859a8e87ee0ae Author: Matthias Clasen Date: Sat Jan 29 22:44:29 2011 -0500 Minor rewording in the tutorial docs/reference/gtk/getting_started.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit d39f98fff4b68f38df5180590a17be75680cfc56 Author: Matthias Clasen Date: Sat Jan 29 22:42:14 2011 -0500 Go back to using the image/* example gtk/gtkfilefilter.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 350d0b54e3ff4d0919d876201f9e9843947bc511 Author: Paolo Borelli Date: Sat Jan 29 21:26:12 2011 +0100 Do not use old functions in the docs. gtk/gtkdrawingarea.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit f783a75d61dbe7ae511bf65b6c3aafaffa8b4216 Author: Matthias Clasen Date: Sat Jan 29 14:16:47 2011 -0500 Add a gtkx.h header for X11-specific GTK+ api This keeps us from pulling gdkx.h into gtk.h https://bugzilla.gnome.org/show_bug.cgi?id=640902 docs/reference/gtk/gtk3.types | 2 +- docs/reference/gtk/x11.sgml | 7 ++++ gtk/Makefile.am | 5 ++- gtk/gtk.h | 2 - gtk/gtkplug.c | 31 +++++++++-------- gtk/gtkplug.h | 41 ++++++++++------------- gtk/gtksocket.c | 67 ++++++++++++++++++------------------- gtk/gtksocket.h | 21 +++++------- gtk/gtkwidget.c | 1 + gtk/gtkx.h | 29 ++++++++++++++++ modules/other/gail/gail.c | 2 +- modules/other/gail/gailtoplevel.c | 2 +- modules/other/gail/gailwindow.c | 2 +- tests/testsocket.c | 1 + tests/testsocket_common.c | 2 +- 15 files changed, 123 insertions(+), 92 deletions(-) commit 1641e71c9a0e05311073d1eb02bffa38b8dc4b22 Author: Matthias Clasen Date: Sat Jan 29 13:40:19 2011 -0500 Add a missing end tag docs/reference/gtk/migrating-2to3.xml | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 66d4f07f296d8614633f3bbaa4ec48a5f17e4f72 Author: Luca Ferretti Date: Sat Jan 29 15:55:20 2011 +0100 Updated Italian translation po/it.po | 2828 +++++++++++++++++++++++--------------------------------------- 1 files changed, 1035 insertions(+), 1793 deletions(-) commit 8a056d47743d926fbbf73e8c6f03b400ffc7cc20 Author: Carlos Garnacho Date: Sat Jan 29 14:10:36 2011 +0100 Move "widget/window under device" accounting to be per-widget This management is better done per-widget rather than per-screen, as windows being destroyed won't trigger a leave notify for the devices on top of it, and this information is too transitive to keep weak refs and such. This fixes the critical warning seen in gtk/tests/testing. gtk/gtkwidget.c | 65 +++++++++++++++++------------------------------------- 1 files changed, 21 insertions(+), 44 deletions(-) commit 55713025c052716f899208e8988f1b01aa738f46 Author: Paolo Borelli Date: Sat Jan 29 14:34:29 2011 +0100 Add padding to the themingengine class. gtk/gtkthemingengine.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 001697a22a6e094ca37f4f6c230161b08dff5c20 Author: Paolo Borelli Date: Sat Jan 29 12:47:09 2011 +0100 Move the get_cursor_color in GtkStyleContext Move the private get_cursor_color method belongs to StyleContext. Change the api so that retrieving both primary and secondary color is possible. I left the method private for now, though it should probably be public as all the other getters. gtk/gtkentry.c | 9 +++--- gtk/gtkstyle.c | 57 +++--------------------------------------- gtk/gtkstylecontext.c | 50 ++++++++++++++++++++++++++++++++++++ gtk/gtkstylecontextprivate.h | 3 ++ gtk/gtktextdisplay.c | 7 +++-- gtk/gtkwidgetprivate.h | 3 -- 6 files changed, 66 insertions(+), 63 deletions(-) commit 9e203417752584b923cf5baec8940836ff2c0bcb Author: Paolo Borelli Date: Sat Jan 29 12:38:50 2011 +0100 Use GtkRGBA for the cursor color priv api. gtk/gtkentry.c | 4 ++-- gtk/gtkstyle.c | 41 +++++++++++++++++++---------------------- gtk/gtktextdisplay.c | 4 ++-- gtk/gtkwidgetprivate.h | 2 +- 4 files changed, 24 insertions(+), 27 deletions(-) commit 469f4592d4647cab4b338abdf5a16f91830749cb Author: Paolo Borelli Date: Sat Jan 29 12:24:37 2011 +0100 Fix typo in calculating secondary cursor color gtk/gtkstyle.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 3f918a8b2d516789171cb755c19364b067d7fc16 Author: A S Alam Date: Sat Jan 29 07:56:20 2011 +0530 update Punjabi Translation by A S Alam po-properties/pa.po | 2319 +++++++++++++++++++++++++++------------------------ 1 files changed, 1245 insertions(+), 1074 deletions(-) commit 861dd0886c7c0a35de723611e61cac2c14f20417 Author: A S Alam Date: Sat Jan 29 07:33:39 2011 +0530 update Punjabi Translation by A S Alam po/pa.po |12460 ++++++++++++++++++++++++-------------------------------------- 1 files changed, 4772 insertions(+), 7688 deletions(-) commit 32f6070bc84c9e6f2173fb0b37476435367c7802 Author: William Jon McCann Date: Fri Jan 28 16:59:35 2011 -0500 Don't call object notify for something that isn't a property gtk/gtkstatusicon.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit d688343a31dbe67f34228b998bbb753584d8d2e9 Author: Krzesimir Nowak Date: Fri Nov 12 13:14:12 2010 +0100 Check if buffer is NULL after setting it to NULL, not before. This catches cases when "notify::buffer" handler does not recreate the buffer again, which could end in reference leak. https://bugzilla.gnome.org/show_bug.cgi?id=634677 gtk/gtktextview.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit 0e37b3e2b1254fe5516969a26476bc02e2eb395a Author: Daniel Mustieles Date: Fri Jan 28 20:04:18 2011 +0100 Updated Spanish translation po-properties/es.po | 511 +++++++++++++++++++++++++-------------------------- 1 files changed, 247 insertions(+), 264 deletions(-) commit d981b9ed615c09472bc79b1b680bf3dccc3f5b0d Author: Matthias Clasen Date: Fri Jan 28 11:08:26 2011 -0500 Fix a doc typo gdk/gdkdnd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 6bbe86a763367cb3402ca26653036f31915c167b Author: Matthias Clasen Date: Fri Jan 28 10:47:36 2011 -0500 Mention GtkEntryCompletion signal parameter change docs/reference/gtk/migrating-2to3.xml | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) commit 83927a61fc503864165de00d0158054d4e90743e Author: Benjamin Otte Date: Fri Jan 28 16:42:40 2011 +0100 recentfilter: Fix gcc warnings gtkrecentfilter.c:37:47: error: "/*" within comment gtkrecentfilter.c:61:24: error: "/*" within comment gtk/gtkrecentfilter.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit ce33daaff60b031a80963d15cd1a06d3f4290713 Author: Benjamin Otte Date: Fri Jan 28 16:32:06 2011 +0100 gtk: gtkfilefilter.c:57:24: error: "/*" within comment gtk/gtkfilefilter.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ef1606604cfa508acacc405795ebc6df995a78a7 Author: Benjamin Otte Date: Fri Jan 28 15:45:16 2011 +0100 x11: Use Window instead of GdkNativeWindow gdk/x11/gdkscreen-x11.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 56c6c63cceda0e20de187c0123e1f269269a82ad Author: Benjamin Otte Date: Fri Jan 28 15:39:11 2011 +0100 plug: Move private functions to gtksocketprivate.h gtk/gtkplug.h | 5 ----- gtk/gtksocketprivate.h | 7 +++++++ 2 files changed, 7 insertions(+), 5 deletions(-) commit 388f9fd181543145d42f885f4e72e3c09e8aa0fd Author: Benjamin Otte Date: Fri Jan 28 15:37:57 2011 +0100 tests: Use Window instead of GdkNativeWindow in testsocket example tests/testsocket.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 4aa67439f33e5410bd17b79d9b03bc1446474d7c Author: Benjamin Otte Date: Fri Jan 28 15:34:28 2011 +0100 plug: Use Window instead of GdkNativeWindow gtk/gtkplug.c | 18 +++++++++--------- gtk/gtkplug.h | 13 +++++++------ 2 files changed, 16 insertions(+), 15 deletions(-) commit ad1f9cc0c62b574489e3ed5b3e6becec6ce72029 Author: Benjamin Otte Date: Fri Jan 28 15:20:54 2011 +0100 socket: Use Window instead of GdkNativeWindow gtk/gtksocket.c | 12 ++++++------ gtk/gtksocket.h | 5 +++-- 2 files changed, 9 insertions(+), 8 deletions(-) commit 1b18916a7472766d46f799d63ff52ff3c4e94165 Author: Benjamin Otte Date: Fri Jan 28 15:16:27 2011 +0100 win32: Make GtkWin32EmbedWidget use HWND instead of GdkNativeWindow gtk/gtkprintoperation-win32.c | 2 +- gtk/gtkwin32embedwidget.c | 9 ++++----- gtk/gtkwin32embedwidget.h | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) commit 63aa56bcc42cc8876d8f5442aef12ba5d43c0224 Author: Benjamin Otte Date: Fri Jan 28 15:12:47 2011 +0100 window: Get rid of GdkNativeWindow usage Make _gtk_window_add_embedded_xid() and _gtk_window_remove_embedded_xid() take a Window. gtk/gtkwindow.c | 10 +++++----- gtk/gtkwindowprivate.h | 11 +++++++---- 2 files changed, 12 insertions(+), 9 deletions(-) commit bd4ef49af9eb68fea7fb2f87fdb01198287da099 Author: Benjamin Otte Date: Fri Jan 28 15:11:44 2011 +0100 API: x11: Add GDK_POINTER_TO_XID() and GDK_XID_TO_POINTER() Previously people used GDK_GPOINTER_TO_NATIVE_WINDOW() for this, but native windows are going away, so we need a replacement. docs/reference/gdk/gdk3-sections.txt | 2 ++ gdk/x11/gdkx11utils.h | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 0 deletions(-) commit e1f6a24da9f9a41f3857c6c7090812a9cbd82406 Author: Benjamin Otte Date: Fri Jan 28 14:35:49 2011 +0100 window: Make embedded xid specific to the X11 backend gtk/gtkwindow.c | 6 ++++++ gtk/gtkwindowprivate.h | 4 ++++ 2 files changed, 10 insertions(+), 0 deletions(-) commit 5a1755bc50003a4c39d950f38cc8228bb049bb1d Author: Benjamin Otte Date: Fri Jan 28 14:28:36 2011 +0100 gtk: Prefix gtk_window_add_embedded_xid() with underscore It's a private API after all. Same thing for gtk_window_remove_embedded_xid(). gtk/gtksocket.c | 4 ++-- gtk/gtkwindow.c | 4 ++-- gtk/gtkwindowprivate.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit e339c6276d9f70a0ef2012443895254b6f459bfd Author: Benjamin Otte Date: Fri Jan 28 14:01:46 2011 +0100 API: Don't export gtk_window_add_embedded_xid() Same thing for gtk_window_remove_embedded_xid() gtk/gtk.symbols | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit b8895cf91036915c8e053dafd6228f19353ceec3 Author: Benjamin Otte Date: Fri Jan 28 13:02:52 2011 +0100 socket: Merge gtksocket-x11.c back into gtksocket.c gtk/Makefile.am | 1 - gtk/gtksocket-x11.c | 669 ------------------------------------------------ gtk/gtksocket.c | 659 +++++++++++++++++++++++++++++++++++++++++++---- gtk/gtksocketprivate.h | 133 ---------- 4 files changed, 603 insertions(+), 859 deletions(-) commit 1d804004785fb78df40d95afefa0235f39bed5b2 Author: Benjamin Otte Date: Fri Jan 28 12:06:24 2011 +0100 plug: Merge gtkplug-x11.c back into gtkplug.c gtk/Makefile.am | 2 - gtk/gtkplug-x11.c | 390 ------------------------------------ gtk/gtkplug.c | 537 ++++++++++++++++++++++++++++++++++++++------------ gtk/gtkplugprivate.h | 153 -------------- 4 files changed, 415 insertions(+), 667 deletions(-) commit c7f0cffd8a623cee9e057f99b6478ca7d9a30c3a Author: Benjamin Otte Date: Fri Jan 28 11:13:06 2011 +0100 plug/socket: Remove x11 checks and non-x11 code gtk/gtkplug.c | 18 ++---------------- gtk/gtksocket.c | 8 +------- 2 files changed, 3 insertions(+), 23 deletions(-) commit 50e1589a191f767da5a90520dfdd72f04a5f45f9 Author: Benjamin Otte Date: Fri Jan 28 10:56:40 2011 +0100 plug/socket: Clarify docs about availablility of widgets gtk/gtkplug.c | 11 +++++++++-- gtk/gtksocket.c | 5 +++-- 2 files changed, 12 insertions(+), 4 deletions(-) commit 89722d41c4db0c2b32b7ea13aea672414bb282ca Author: Benjamin Otte Date: Fri Jan 28 10:53:32 2011 +0100 win32: Fix Makefile for plug/socket removal. gtk/makefile.msc.in | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) commit 8dc932bbe0d958aba729cbc05beec1d95580dd50 Author: Benjamin Otte Date: Fri Jan 28 10:52:29 2011 +0100 plug/socket: Remove plug/socket backend implementations for win32 and stub gtk/Makefile.am | 6 - gtk/gtkplug-stub.c | 83 ------------- gtk/gtkplug-win32.c | 322 ------------------------------------------------- gtk/gtksocket-stub.c | 120 ------------------ gtk/gtksocket-win32.c | 322 ------------------------------------------------- 5 files changed, 0 insertions(+), 853 deletions(-) commit 3860af516c0119d93ccfa5c138f32e20e490c2a9 Author: Benjamin Otte Date: Fri Jan 28 10:47:34 2011 +0100 plug/socket: Make GtkPlug and GtkSocket X11-specific People agreed that it doesn't make sense to make an xembed implementation like plug/socket does not make sense on anything but X11. And as GdkNativeWindow is going away for multibackend portability reasons, we'd either need API fixes in the plug-socket codee or constrain the widgets to a single backend. We chose the latter. gtk/Makefile.am | 4 ++-- gtk/gtkplug.h | 6 ++++++ gtk/gtksocket.h | 6 ++++++ 3 files changed, 14 insertions(+), 2 deletions(-) commit d2540893086c46bad4c12071d31dfe86750949fe Author: Cosimo Cecchi Date: Thu Jan 27 13:09:56 2011 -0500 mount-operation: don't show the dialog until the tree is populated Otherwise it won't show up properly, and GTK+ will trigger a warning. Don't know why this did not show up before. https://bugzilla.gnome.org/show_bug.cgi?id=640744 gtk/gtkmountoperation.c | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) commit b7de18ab35e587df98032eaaa3d159d8f8fd64f4 Author: Ignacio Casal Quinteiro Date: Fri Jan 28 13:24:26 2011 +0100 Remove gtk_paste_point_override mark if we don't insert any text. This patch fixes bug #590459. gtk/gtktextbuffer.c | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) commit 1cd82eff4be800d9c8ccdc26a3ec15b740a79c7d Author: Murray Cumming Date: Fri Jan 28 10:17:06 2011 +0100 Move gtk_widget_reset_style() out of the deprecation ifdef. This new function was not apparently meant to be inside the deprecation guards. gtk/gtkwidget.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 3efc06a659c15e41fc6e7507235d04c361a60517 Author: Murray Cumming Date: Fri Jan 28 10:10:23 2011 +0100 Tiny typo fix. gtk/gtkcellrenderer.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 5a5854f6f64231be8df028dbcb87f75a8025609e Author: Tristan Van Berkom Date: Fri Jan 28 15:54:50 2011 +0900 Add default class implementation of gtk_widget_get_request_mode(). Instead of checking if klass->get_request_mode is != NULL from the gtk_widget_get_request_mode() api, this allows classes to trust that there is a default implementation and chain up (specifically added this for gtkmm wrapper objects). gtk/gtksizerequest.c | 9 +-------- gtk/gtkwidget.c | 9 +++++++++ 2 files changed, 10 insertions(+), 8 deletions(-) commit ea6e57412f09435278ec1e21280bb5527d96350b Author: Matthias Clasen Date: Thu Jan 27 23:23:43 2011 -0500 Protect against giant title fonts We don't want repeated calls to set_title_font to blow up the font size ever more, so reset the font each time. https://bugzilla.gnome.org/show_bug.cgi?id=640712 gtk/gtkassistant.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit ef7433e7f1d2778854c8f6058dc093c87541db31 Author: Matthias Clasen Date: Thu Jan 27 21:50:00 2011 -0500 Make the places in the file chooser come up with a reasonable size gtk/gtkfilechooserdefault.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) commit b5c09b9e39d66b53baee996db4b479ff884da873 Author: Matthias Clasen Date: Thu Jan 27 21:04:32 2011 -0500 Fix the new filechooser buttons to work without symbolic icons gtk/gtkfilechooserdefault.c | 19 +++++++++++++------ 1 files changed, 13 insertions(+), 6 deletions(-) commit b64c6f2fd358c9597e47b3651616a852e7366aed Author: William Jon McCann Date: Thu Jan 27 15:21:10 2011 -0500 Use a toolbar with symbolic icons under scrolled lists gtk/gtkfilechooserdefault.c | 85 +++++++++++++++++++++++-------------------- 1 files changed, 46 insertions(+), 39 deletions(-) commit 95ad67d927e3d4b4b44804e5c3af9b804be74e57 Author: Daniel Mustieles Date: Thu Jan 27 21:21:53 2011 +0100 Updated Spanish translation po-properties/es.po | 349 ++++++++++++++++++++++++--------------------------- 1 files changed, 162 insertions(+), 187 deletions(-) commit ea7fd526f9d4fcc99d41211c6979952cfdfbd353 Author: Carlos Garnacho Date: Sun Jan 23 14:34:14 2011 +0100 Remove GTK_RBNODE_IS_SEMI_[COLLAPSED|EXPANDED] flags. These aren't used anymore. gtk/gtkrbtree.h | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) commit 3d57787d6e1ac9f8d9bbb98e61868355ec9f09a5 Author: Carlos Garnacho Date: Sun Jan 23 14:31:19 2011 +0100 Set "cell" class and state before rendering a cellrenderer. gtk/gtkcellrenderer.c | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) commit e3a77b9db8ab59d17a9a333b94dd1c7fae1862c4 Author: Carlos Garnacho Date: Wed Jan 12 21:29:41 2011 +0100 Make GtkCellRendererAccel use GtkStyleContext gtk/gtkcellrendereraccel.c | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) commit c59a05b0d4546aac191a8be1b24b03fd00adde33 Author: Carlos Garnacho Date: Wed Jan 12 21:29:11 2011 +0100 Make GtkCellRendererPixbuf use GtkStyleContext gtk/gtkcellrendererpixbuf.c | 74 +++++++++++++++++++++---------------------- 1 files changed, 36 insertions(+), 38 deletions(-) commit 3285eff289ac71a3dfed7a31e95ff17615b7e672 Author: Carlos Garnacho Date: Wed Jan 12 21:28:44 2011 +0100 Make GtkCellRendererProgress use GtkStyleContext gtk/gtkcellrendererprogress.c | 88 +++++++++++++++++++++++------------------ 1 files changed, 49 insertions(+), 39 deletions(-) commit 9b091ae330b14277dbfa6b97aa2c91b1185e92e6 Author: Carlos Garnacho Date: Wed Jan 12 21:27:25 2011 +0100 Make GtkCellRendererToggle use GtkStyleContext gtk/gtkcellrenderertoggle.c | 62 ++++++++++++++++-------------------------- 1 files changed, 24 insertions(+), 38 deletions(-) commit 7c2f35d7c16e6cf0a11cff1a4e6636eb09c2afec Author: Carlos Garnacho Date: Wed Jan 12 21:26:52 2011 +0100 Make GtkCellRendererText use GtkStyleContext gtk/gtkcellrenderertext.c | 55 ++++++++++++++------------------------------- 1 files changed, 17 insertions(+), 38 deletions(-) commit 3efc1b0b4fda85ff697962c99aa48a0be6c3de12 Author: Carlos Garnacho Date: Wed Jan 12 21:26:25 2011 +0100 Make GtkIconView use GtkStyleContext gtk/gtkiconview.c | 206 +++++++++++++++++++++++++++-------------------------- 1 files changed, 104 insertions(+), 102 deletions(-) commit 08af1783c560ebc1bba67cbc27e046265d838f9c Author: Carlos Garnacho Date: Wed Jan 12 21:18:07 2011 +0100 Make GtkTreeView use GtkStyleContext Expander animation has been replaced by implicit animations from the style context. Column headers are also properly themed, GtkContainer::get_path_for_child() is implemented and the treeview resets column buttons style on columns being reordered. The default CSS has changed to theme treeviews sensibly. gtk/gtkcssprovider.c | 75 +++++- gtk/gtktreeprivate.h | 2 + gtk/gtktreeview.c | 691 +++++++++++++++++++++++------------------------ gtk/gtktreeviewcolumn.c | 2 + 4 files changed, 405 insertions(+), 365 deletions(-) commit 41d6837fa2d3566b5a0a45fdc3bf92d8d5f70ed1 Author: Carlos Garnacho Date: Wed Jan 12 21:07:05 2011 +0100 Make GtkCellArea use GtkStyleContext gtk_cell_area_[gs]et_style_detail() is no longer needed, as the passed widget's context would already have all necessary info. docs/reference/gtk/gtk3-sections.txt | 2 - gtk/gtk.symbols | 2 - gtk/gtkcellarea.c | 77 +++++---------------------------- gtk/gtkcellarea.h | 4 -- gtk/gtkiconview.c | 2 - gtk/gtktreeviewcolumn.c | 2 - 6 files changed, 12 insertions(+), 77 deletions(-) commit f96aae68f4e734a63133bb04e92bbe001ba0e54b Author: Carlos Garnacho Date: Sun Jan 23 14:12:36 2011 +0100 Add gtk_cell_renderer_get_state() This is a helper function to help retrieve a GtkStateFlags from a GtkCellRendererState, also given the cell renderer and widget sensitivities. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtk.symbols | 1 + gtk/gtkcellrenderer.c | 45 ++++++++++++++++++++++++++++++++++ gtk/gtkcellrenderer.h | 4 +++ 4 files changed, 51 insertions(+), 0 deletions(-) commit 22527e802cf0b102bda640b4c30fda1fa13913eb Author: Colin Walters Date: Thu Jan 27 11:19:51 2011 -0500 Clarify documentation header about GTK+ 3 vs 2 I think it's confusing for a lot the developers out there who may not even be aware of GTK+ 3 coming, if suddenly GTK+ 3 becomes the "stable" version of "gtk" on library.gnome.org. It may not even be feasible for them to port to GTK+3 if it's not shipped in the operating systems they're targeting (for example, RHEL 6). Since practically speaking, we expect people to consume GTK+ 2 for several years at least, redirect these people to the right pages. (I didn't attempt to explain the differences between the libraries here, but hopefully the major version difference is enough of a hint) As a side effect, this makes the generated HTML look better; previously it looked rather crappy, since the "for GTK &version;" was totally offset and in a different group from the documentation title. docs/reference/gtk/gtk-docs.sgml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 031a09225461eb53f44d27d993c46dc9a11e2cc6 Author: Tristan Van Berkom Date: Thu Jan 27 16:30:15 2011 +0900 Added and parsing support to GtkFileFilter. gtk/gtkbuilder.c | 1 + gtk/gtkfilefilter.c | 194 ++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 194 insertions(+), 1 deletions(-) commit 9bd53091c0750bc10d2e0d8c7bb53eeb8569a71b Author: Kjartan Maraas Date: Thu Jan 27 11:25:19 2011 +0100 Updated Norwegian bokmål translation. po-properties/nb.po | 3858 +++++++++++++++++++++++++-------------------------- 1 files changed, 1904 insertions(+), 1954 deletions(-) commit 2944af00d031541fef2622a34093594adfc6fed0 Author: Tristan Van Berkom Date: Thu Jan 27 16:04:02 2011 +0900 Removed a useless redundant line of code in gtkcellview.c gtk/gtkcellview.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 35e7e65bcb0af5c6aee95423e3e9fa329d9f9b6e Author: Tristan Van Berkom Date: Thu Jan 27 03:12:35 2011 +0900 Added links to the GtkTextTagTable and GtkMenuToolButton GtkBuildable documentation from GtkBuilder documentation. gtk/gtkbuilder.c | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) commit 008de2bafd01054cad790303d92caad82f939a22 Author: Matthias Clasen Date: Wed Jan 26 11:33:19 2011 -0500 Document new default handling gtk/gtksettings.c | 28 ++++++++++++++++++---------- 1 files changed, 18 insertions(+), 10 deletions(-) commit 064e48f846ee84a82a74a625a304e51e40cf19a5 Author: Matthias Clasen Date: Wed Jan 26 11:20:22 2011 -0500 Rename GTK_SETTINGS_SOURCE_RC_FILE to _THEME This makes more sense, since we don't parse rc files anymore. This is private api inside gtksettings.c, anyway. gtk/gtksettings.c | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) commit 55015693541003a765d3d1bb9bc2fbb8a2c0ff34 Author: Matthias Clasen Date: Wed Jan 26 11:18:11 2011 -0500 Parse a per-theme settings.ini file This lets themes override settings values again. We are using the same priority that was used from the rc file parser, so things are largely unchanged, relative to other settings sources. gtk/gtksettings.c | 21 +++++++++++++++++++-- 1 files changed, 19 insertions(+), 2 deletions(-) commit ea24fa62c877d4d81a1d903a8fae55b9e772a0b2 Author: Matthias Clasen Date: Wed Jan 26 11:17:34 2011 -0500 Privately export css_provider_get_theme_dir gtk/Makefile.am | 1 + gtk/gtkcssprovider.c | 9 +++++---- gtk/gtkcssproviderprivate.h | 31 +++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 4 deletions(-) commit 368a5c8937568495868051528f5aaed0066fa04a Author: Matthias Clasen Date: Wed Jan 26 10:46:40 2011 -0500 Break out into a separate function Move key file parsing to gtk_settings_load_from_key_file(), in preparation for loading per-theme files. Load key files from both /etc and ~/.config, with the latter overriding the former. Support parsing enum values. gtk/gtksettings.c | 220 ++++++++++++++++++++++++++++++++-------------------- 1 files changed, 135 insertions(+), 85 deletions(-) commit 8f3a3fda0b5d124e0940ef9c7ef9e5f2c16eb530 Author: Matthias Clasen Date: Wed Jan 26 08:57:08 2011 -0500 First pass a parsing a keyfile for default settings gtk/gtksettings.c | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 90 insertions(+), 1 deletions(-) commit 0ba6c63e2d4e64f89dc65017990f403f158acbb3 Author: Fran Diéguez Date: Thu Jan 27 03:26:00 2011 +0100 QA of Galician translations po-properties/gl.po | 452 ++++++++++++++++++++++++++------------------------- po/gl.po | 298 ++++++++++++++++++---------------- 2 files changed, 388 insertions(+), 362 deletions(-) commit 96af68529bfdd0eeecaa8bc3caa7bb03576b1e5f Author: Matthias Clasen Date: Wed Jan 26 18:19:35 2011 -0500 Document that gtk_widget_queue_draw_area is in widget coordinates gtk/gtkwidget.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) commit 3cdd865bb872a1d967436c4a92daff798f42eabc Author: Daniel Mustieles Date: Wed Jan 26 20:48:29 2011 +0100 Updated Spanish translation po-properties/es.po | 115 ++++++++++++++++++--------------------------------- 1 files changed, 40 insertions(+), 75 deletions(-) commit 64301167fe9d4bcd18ec52c3a72b02f7a81ebee5 Author: Khaled Hosny Date: Wed Jan 26 17:54:57 2011 +0200 Updated Arabic translation po/ar.po | 1914 +++++++------------------------------------------------------- 1 files changed, 214 insertions(+), 1700 deletions(-) commit 93f825592e551469cc8e488fdfff9082747265d7 Author: Tristan Van Berkom Date: Wed Jan 26 23:58:47 2011 +0900 Added links to the GtkComboBox/GtkRecentFilter GtkBuildable documentation from GtkBuilder documentation. gtk/gtkbuilder.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit e7354bd3f3cd7068fa660442a591ddd11facb54e Author: Tristan Van Berkom Date: Wed Jan 26 22:19:41 2011 +0900 Fixed GtkCellLayout to parse property text accumulatively. gtk/gtkcelllayout.c | 79 +++++++++++++++++++++++++++++++-------------------- 1 files changed, 48 insertions(+), 31 deletions(-) commit 5ebc6f4df2649a172fc6752717134e2721647ae1 Author: Tristan Van Berkom Date: Wed Jan 26 22:10:33 2011 +0900 Fixed GtkContainer to parse property text accumulatively. gtk/gtkcontainer.c | 64 +++++++++++++++++++++++++++++++-------------------- 1 files changed, 39 insertions(+), 25 deletions(-) commit 9487ce77c43ff5288a578881f49e11ac0dc1a52c Author: Tristan Van Berkom Date: Wed Jan 26 21:56:43 2011 +0900 Changed GtkComboBoxText builder parser to use g_string_append_len(). gtk/gtkcomboboxtext.c | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) commit 2081ade640bc66f649d17a07aa357f698571599e Author: Tristan Van Berkom Date: Wed Jan 26 21:53:45 2011 +0900 Changed GtkRecentFilter builder parsing to use g_string_append_len gtk/gtkrecentfilter.c | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) commit 26b326b7046d747050000250c20e29ea33fd4831 Author: Tristan Van Berkom Date: Wed Jan 26 21:48:53 2011 +0900 Fix GtkRecentFilter GtkBuildable parsing to handle incomming text accumulatively gtk/gtkrecentfilter.c | 26 ++++++++++++++++++-------- 1 files changed, 18 insertions(+), 8 deletions(-) commit e8157126d8dbca789d4438e5fe2edca3db7d21b9 Author: Tristan Van Berkom Date: Wed Jan 26 21:44:18 2011 +0900 Fix GtkComboBoxText GtkBuildable parsing to handle incomming text accumulatively gtk/gtkcomboboxtext.c | 48 ++++++++++++++++++++++++++---------------------- 1 files changed, 26 insertions(+), 22 deletions(-) commit 8397a79b7df6968aba1cc6e9dfb17736e057f922 Author: Tristan Van Berkom Date: Mon Jan 24 17:08:31 2011 +0900 Added a line to the documentation example of GtkRecentFilter gtk/gtkrecentfilter.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit a6a7b7e9cfddc8ca377fe254d73f55eed140e9f5 Author: Tristan Van Berkom Date: Mon Jan 24 17:05:57 2011 +0900 Added GtkBuildable support for adding rules to GtkRecentFilter Also added documentation section for this. Since the GtkRecentFilter documentation was still living in sgml, as a side-effect I migrated these docs to the gtkrecentfilter.[ch] sources. docs/reference/gtk/tmpl/gtkrecentfilter.sgml | 207 ---------------------- gtk/gtkrecentfilter.c | 242 +++++++++++++++++++++++++- gtk/gtkrecentfilter.h | 33 ++++ 3 files changed, 274 insertions(+), 208 deletions(-) commit d7b71be49b82d071361731666c1f2f59c5689534 Author: Martin Pitt Date: Wed Jan 26 14:39:50 2011 +0100 [GI] Fix gtk_tree_view_get_cursor() transfer annotation gtk/gtktreeview.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 205ee834ec8fe2acc37b3e3739159861181efb9a Author: Christian Dywan Date: Fri Sep 24 18:04:14 2010 +0200 State that _add_button functions return a "#GtkButton widget" Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=586635 gtk/gtkdialog.c | 2 +- gtk/gtkinfobar.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 3933f99ed7f024a3ddbb2bd854065f5a196b6733 Author: Michael Natterer Date: Tue Jan 25 22:29:00 2011 +0100 gtk: add missing class padding Sorry for this late ABI break, but the newly added style classes definitely need padding, so I can just as well add missing padding globally. gtk/gtkalignment.h | 6 ++++++ gtk/gtkapplication.h | 2 +- gtk/gtkarrow.h | 6 ++++++ gtk/gtkaspectframe.h | 6 ++++++ gtk/gtkbbox.h | 6 ++++++ gtk/gtkbin.h | 6 ++++++ gtk/gtkcssprovider.h | 6 ++++++ gtk/gtkfixed.h | 6 ++++++ gtk/gtkicontheme.h | 6 ++++++ gtk/gtkmisc.h | 6 ++++++ gtk/gtkmodifierstyle.h | 6 ++++++ gtk/gtknumerableicon.h | 2 +- gtk/gtkstatusicon.h | 2 ++ gtk/gtkstylecontext.h | 6 ++++++ gtk/gtkstyleproperties.h | 6 ++++++ 15 files changed, 76 insertions(+), 2 deletions(-) commit e521158973debef807c45f485d580ed3f395cad6 Author: Carlos Garnacho Date: Tue Jan 25 13:30:24 2011 +0100 Make gtk_widget_get_state() only handle GtkStateType values available in 2.x GtkStateType was generally used as an index in GtkStyle color arrays, so bigger values will cause invalid memory accesses in widgets that are still doing that. this was seen in focused GtkIconViews for example gtk/gtkwidget.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) commit 42b6e47fcab79c6d83fb162f236b247cd85eb48d Author: Chao-Hsiung Liao Date: Tue Jan 25 19:23:35 2011 +0800 Updated Traditional Chinese translation (Hong Kong and Taiwan) po-properties/zh_HK.po | 3552 +++++++++++++++++++++++++++--------------------- po-properties/zh_TW.po | 3555 +++++++++++++++++++++++++++--------------------- po/zh_HK.po | 1107 +++++++++------- po/zh_TW.po | 1109 +++++++++------- 4 files changed, 5183 insertions(+), 4140 deletions(-) commit 7db4bee4b62bc9b6f20ba4e599e8d030314984fd Author: Matthias Clasen Date: Mon Jan 24 22:20:35 2011 -0500 Clarify documentation about application vs window lifecycle https://bugzilla.gnome.org/show_bug.cgi?id=639931 gtk/gtkapplication.c | 7 +++++++ gtk/gtkwindow.c | 11 +++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) commit 9be8bbc9a076f0b8feb7c9690e798239c1bf293e Author: Matthias Clasen Date: Mon Jan 24 19:25:08 2011 -0500 Add gtk_app_chooser_button_get/set_heading docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtk.symbols | 2 + gtk/gtkappchooserbutton.c | 62 ++++++++++++++++++++++++++++++++++ gtk/gtkappchooserbutton.h | 5 +++ gtk/gtkappchooserdialog.c | 3 +- tests/testappchooserbutton.c | 1 + 6 files changed, 73 insertions(+), 2 deletions(-) commit 8fdd8dbc3517b8b002714a2bfa19b2b060da3d05 Author: Carlos Garnacho Date: Mon Jan 24 19:55:41 2011 +0100 Do not modify associated device for non-master devices on dispose Only master devices must modify the associated device to separate a pointer/keyboard pair, slave devices must only call _gdk_device_remove_slave(). Fixes bug 639767 - password not accepted in gnome-screensaver dialog, reported by Frederic Crozat. On VT-switch, the X server removes its grab on HW devices, the effect on clients is that slave devices disappear, and these were mistakenly mangling the master device hierarchy. so gdk_device_get_associated_device() on the client pointer wouldn't return the paired keyboard anymore. The final effect is that gtkplug-x11 wasn't setting a keyboard to its generated events. gdk/gdkdevice.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit e3be6fc24fea7c1453e5821de764c117ce5f34d1 Author: Carlos Garnacho Date: Mon Jan 24 18:14:05 2011 +0100 Unset border-width for treeview rows in default CSS Fixes bug #640391 - Display lines between rows when window is focused. Reported by Guillaume Desmottes. gtk/gtkcssprovider.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 98346cc2198ff9ebaf2a56178063f5fc46c4004c Author: Matthias Clasen Date: Mon Jan 24 07:46:15 2011 -0500 Avoid passing widgets around here The style context is enough. gtk/gtkstyle.c | 20 +++++++++----------- 1 files changed, 9 insertions(+), 11 deletions(-) commit b42b47e7d37411d7410113aa8156146d35dfde43 Author: Matthias Clasen Date: Mon Jan 24 00:24:12 2011 -0500 Port gtk_draw_insertion_cursor to GtkStyleContext gtk/gtkentry.c | 1 + gtk/gtkstyle.c | 123 +++++++++++++++++------------------------------- gtk/gtkstyle.h | 3 - gtk/gtktextdisplay.c | 2 + gtk/gtkwidgetprivate.h | 23 +++++---- 5 files changed, 59 insertions(+), 93 deletions(-) commit 6619aa58b10de5abe503675e34d8e312fb066c06 Author: Matthias Clasen Date: Sun Jan 23 23:48:32 2011 -0500 Kill one more unused variable gtk/gtkpagesetupunixdialog.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit 3413438d374539df94554c070a1306f73190f584 Author: Matthias Clasen Date: Sun Jan 23 23:20:57 2011 -0500 Don't leak CursorInfo structs gtk/gtkstyle.c | 32 ++++++++++++++++++++------------ 1 files changed, 20 insertions(+), 12 deletions(-) commit d9fcc4c630f3668dd014c258c2deb22d61e438d0 Author: Matthias Clasen Date: Sun Jan 23 21:50:39 2011 -0500 Silence new gcc warnings gcc 4.6.0 has started to warn about set-but-unused variables. So don't do that, then. gtk/gtkassistant.c | 714 ++++++++++---------- gtk/gtkbbox.c | 2 - gtk/gtkbutton.c | 2 - gtk/gtkcalendar.c | 1331 ++++++++++++++++++------------------ gtk/gtkcellarea.c | 5 +- gtk/gtkcellareaboxcontext.c | 2 - gtk/gtkcellrenderer.c | 8 +- gtk/gtkcellrendererspinner.c | 4 +- gtk/gtkcellrenderertext.c | 32 +- gtk/gtkcheckmenuitem.c | 3 - gtk/gtkcolorsel.c | 1447 ++++++++++++++++++++-------------------- gtk/gtkcontainer.c | 1022 ++++++++++++++-------------- gtk/gtkcssprovider.c | 2 - gtk/gtkcustompaperunixdialog.c | 2 - gtk/gtkentry.c | 13 +- gtk/gtkfilechooserbutton.c | 130 ++-- gtk/gtkfilechooserdefault.c | 140 ++--- gtk/gtkfilechooserentry.c | 113 ++-- gtk/gtkfontsel.c | 20 +- gtk/gtkhandlebox.c | 52 +- gtk/gtkhsv.c | 4 +- gtk/gtkiconfactory.c | 83 +-- gtk/gtkiconview.c | 135 ++-- gtk/gtkinfobar.c | 12 +- gtk/gtklabel.c | 42 +- gtk/gtkliststore.c | 6 +- gtk/gtkmenu.c | 19 +- gtk/gtkmenuitem.c | 2 - gtk/gtkmountoperation-x11.c | 3 - gtk/gtknotebook.c | 60 +- gtk/gtkoffscreenwindow.c | 3 - gtk/gtkpapersize.c | 18 +- gtk/gtkpathbar.c | 34 +- gtk/gtkprintcontext.c | 8 +- gtk/gtkradiobutton.c | 8 +- gtk/gtkrange.c | 80 +-- gtk/gtkrecentmanager.c | 45 +- gtk/gtkscale.c | 11 +- gtk/gtkscalebutton.c | 39 +- gtk/gtkscrolledwindow.c | 6 +- gtk/gtkseparator.c | 8 +- gtk/gtkspinner.c | 2 - gtk/gtkstatusbar.c | 18 +- gtk/gtkstylecontext.c | 7 +- gtk/gtktearoffmenuitem.c | 84 ++-- gtk/gtkthemingengine.c | 59 +- gtk/gtktimeline.c | 2 - gtk/gtktoolbar.c | 359 +++++----- gtk/gtktoolitemgroup.c | 23 +- gtk/gtktooltip.c | 21 +- gtk/gtktreemodelfilter.c | 8 +- gtk/gtktreeview.c | 19 +- gtk/gtkwidget.c | 333 +++++----- gtk/gtkwindow.c | 57 +- gtk/queryimmodules.c | 6 - gtk/updateiconcache.c | 166 +++--- 56 files changed, 3319 insertions(+), 3515 deletions(-) commit 94c4a312c1eceb352dea1895f868f9943735e1aa Author: Carlos Garnacho Date: Mon Jan 24 02:38:12 2011 +0100 Add extra checks for GdkDevice functions that might fail on slave devices. Documentation bits have been added as well. gdk/gdkdevice.c | 22 ++++++++++++++++++++-- 1 files changed, 20 insertions(+), 2 deletions(-) commit 5fd5872b37ce1ef2d547dee2e83500a39bada030 Author: Carlos Garnacho Date: Mon Jan 24 02:32:50 2011 +0100 Avoid toplevel tracking on slave device after ungrab slave devices don't have coordinates themselves, as they depend on a master, this only changes if they have a grab in effect, so only keep toplevel tracking enabled in such situation. Fixes Bug #640313 - BadDevice X error when ungrabbing a SLAVE device, noticed by Jesse van den Kieboom. gdk/gdkdisplay.c | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) commit 454c36523a12f521fbddff1caf2ec158fd560932 Author: Matthias Clasen Date: Sun Jan 23 18:50:09 2011 -0500 Silence new gcc warnings gcc 4.6.0 has started to warn about set-but-unused variables. So don't do that, then. gdk/gdkevents.c | 3 +- gdk/gdkoffscreenwindow.c | 52 +++++++++++++---------------------- gdk/gdkwindow.c | 45 +++++++++--------------------- gdk/x11/gdkcursor-x11.c | 22 +++++++-------- gdk/x11/gdkdevice-xi.c | 4 --- gdk/x11/gdkdevicemanager-core-x11.c | 2 - gdk/x11/gdkdevicemanager-xi2.c | 13 ++------- gdk/x11/gdkgeometry-x11.c | 2 - 8 files changed, 47 insertions(+), 96 deletions(-) commit a12dad75a288425702095f30008d55185f7f13e0 Author: Matthias Clasen Date: Sun Jan 23 18:29:07 2011 -0500 Split out private style context api into a private header gtk/Makefile.am | 3 +- gtk/gtkcssprovider.c | 7 +- gtk/gtkstyle.c | 1 + gtk/gtkstylecontext.c | 2 +- gtk/gtkstylecontext.h | 207 ++++++++++++++++++++---------------------- gtk/gtkstylecontextprivate.h | 40 ++++++++ gtk/gtkwidget.c | 2 +- gtk/gtkwidgetpath.c | 1 + 8 files changed, 148 insertions(+), 115 deletions(-) commit 0cc2f93d5c6fc2da1eea91c7ad2996e451226716 Author: Carlos Garnacho Date: Sun Jan 23 23:19:30 2011 +0100 Free button_state.mask after XIQueryPointer() This function allocates the button mask, so free it after use, or right before the next XIQueryPointer() call, as done in gdk_x11_device_xi2_window_at_position(). gdk/x11/gdkdevice-xi2.c | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) commit b2b73a349eb8a99d533080344f835830b788e7cf Author: Carlos Garnacho Date: Sun Jan 23 23:09:58 2011 +0100 Fix valgrind warning about uninitialized value mods_state->effective is not being set in XIQueryPointer() currently, so use base|latched|locked instead, effective is nothing else than a shorthand for these ORs, and these 3 values are set correctly anytime. gdk/x11/gdkdevice-xi2.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 51290e0a57ec10ad966cf2e1a17b90d66eb330ea Author: Benjamin Otte Date: Sun Jan 23 21:39:00 2011 +0100 gdk: When reffing the impl surface, ref it from the impl window This was causing surfaces to be created with the wrong size and that caused broken clipping. https://bugzilla.gnome.org/show_bug.cgi?id=640195 gdk/gdkwindow.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit e3774b6ff2a82c114646cf0a0df7537df5e20ec0 Author: Carlos Garnacho Date: Sun Jan 23 20:01:22 2011 +0100 Render check/radio buttons with border-color: @fg_color gtk/gtkcssprovider.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 13a3954ad4c1978acc578637f9ce04a525bd5b03 Author: Carlos Garnacho Date: Sun Jan 23 18:39:15 2011 +0100 GtkNotebook: only set/unset active flag on the tab label gtk/gtknotebook.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit b3ba85a01c71067fbe4c99bee318424d767f12cb Author: Carlos Garnacho Date: Sun Jan 23 18:37:14 2011 +0100 Simplify GTK_STATE_FLAG_FOCUSED handling in state propagation. Just unsetting it before propagating to the children suffices. gtk/gtkwidget.c | 10 +--------- 1 files changed, 1 insertions(+), 9 deletions(-) commit 0c7772f0cf39b2f09ddc55e0d8134c437d87004e Author: Carlos Garnacho Date: Sun Jan 23 18:21:32 2011 +0100 Do not unset sensitivity mistakenly in gtk_widget_set_state_flags() together with commit 8903615a34, this finally fixes bug #640282. Insensitivity is handled separatedly in _gtk_widget_update_state_flags(), but the insensitive flag is mistakenly unset afterwards if clear is TRUE in gtk_widget_set_state_flags(). gtk/gtkwidget.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit a0e1fa9e77a0082afda4b86d2f50f78c54a00ee7 Author: Carlos Garnacho Date: Sun Jan 23 18:04:41 2011 +0100 Gtk(Toggle)Button: preserve untouched state flags when updating state. Partly fixes bug #640282, noticed by Christian Persch. buttons were clobbering the insensitive flag when updating their state. gtk/gtkbutton.c | 5 ++++- gtk/gtktogglebutton.c | 5 +++++ 2 files changed, 9 insertions(+), 1 deletions(-) commit 74f7e08811bb69d27e067b46c815f504b8cc8f13 Author: Matthias Clasen Date: Sun Jan 23 12:26:23 2011 -0500 Add a migration guide section about GdkDrawable https://bugzilla.gnome.org/show_bug.cgi?id=640188 docs/reference/gtk/migrating-2to3.xml | 35 ++++++++++++++++++++++++++++++++- 1 files changed, 34 insertions(+), 1 deletions(-) commit 09244b7f1de9b0eb85744ead94b41326956bcb97 Author: Chun-wei Fan Date: Mon Jan 24 00:10:19 2011 +0800 Update Visual C++ 2008 Project Files Stuff -Updated README.txt file in build/win32/vs9. -Fix the gdk.vcprojin and gtk+.vsprops regarding include paths and copying of headers (missed header etc.) build/win32/vs9/README.txt | 11 ++++++----- build/win32/vs9/gdk.vcprojin | 2 +- build/win32/vs9/gtk+.vsprops | 3 ++- 3 files changed, 9 insertions(+), 7 deletions(-) commit f68faa3465403454ff3eeaa1b58c6498f2880972 Author: Jorge González Date: Sun Jan 23 15:10:51 2011 +0100 Updated Spanish translation po-properties/es.po | 771 +++++++++++++++++++++++++-------------------------- 1 files changed, 383 insertions(+), 388 deletions(-) commit 73bfc16aa2d17fa81ca6b1d1ba38c7b2ecdb27d1 Author: Kristjan SCHMIDT Date: Sun Jan 23 13:48:41 2011 +0100 Updated Esperanto translation po/eo.po | 1999 +++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 1060 insertions(+), 939 deletions(-) commit db25eda122fcf7adaf5ca95acc7428db0d339275 Author: Kjartan Maraas Date: Sun Jan 23 11:41:44 2011 +0100 Updated Norwegian bokmål translation po/nb.po | 209 ++++++++++++++++++++++++++++++++------------------------------ 1 files changed, 109 insertions(+), 100 deletions(-) commit 644cc23fe04b0d9a8d2bc34df44bbbe6b0f2b0d3 Author: Aron Xu Date: Sun Jan 23 08:37:09 2011 +0000 Update Chinese (China) GTK+ po translation. po/zh_CN.po | 1990 +++++++++++++++++++++++++++++++---------------------------- 1 files changed, 1057 insertions(+), 933 deletions(-) commit eab3d94a4393e6bc15e509005d15057e569698f4 Author: Matthias Clasen Date: Sat Jan 22 23:48:39 2011 -0500 Expose gtk-auto-mnemonics as an Xsetting gdk/x11/gdksettings.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) commit 9d34a9cc6542531f1ef89937e3844b86d85b6e2b Author: Matthias Clasen Date: Sat Jan 22 23:47:01 2011 -0500 checksettings: succeed quietly gdk/x11/checksettings.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit 09bf05bd578685a43f9e225b54cdf7d878b03523 Author: Matthias Clasen Date: Sat Jan 22 23:23:46 2011 -0500 Fix alignment problems with text cell renderers When set to PANGO_ALIGN_CENTER, text was rendered off-center by the amount of 'free space' that the PangoLayout left (ie the x returned by pango_layout_get_pixel_extents). gtk/gtkcellrenderertext.c | 17 ++++++++++------- 1 files changed, 10 insertions(+), 7 deletions(-) commit 936f74c7621e252cf05c63e236be38ac4e6634e0 Author: Yaron Shahrabani Date: Sun Jan 23 02:40:52 2011 +0200 Updated Hebrew translation. po-properties/he.po | 132 ++++++++++++++++--------------- po/he.po | 217 ++++++++++++++++++++++++++------------------------ 2 files changed, 183 insertions(+), 166 deletions(-) commit f60db29f82c3d89ed4956444d1fa6c5169a90549 Author: Jorge González Date: Sat Jan 22 16:51:03 2011 +0100 Updated Spanish translation po/es.po | 216 ++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 113 insertions(+), 103 deletions(-) commit 81fdf6619c1f029bf6c8a549af704f8425a68902 Author: Ivar Smolin Date: Sat Jan 22 11:53:00 2011 +0200 [l10n] Updated Estonian translation po/et.po | 20 +++++++++++++++----- 1 files changed, 15 insertions(+), 5 deletions(-) commit a4a2d7618250407fa78cb5cd3184b7d20a11a7e8 Author: Federico Mena Quintero Date: Fri Jan 21 12:37:35 2011 -0600 bgo#639531 - [filechooser] Handle the case where the user types a nonexistent_subfolder/file.txt The logic was to try to switch to that nonexistent folder and thus get an error message presented. However, no such message actually appears, as the file chooser tries to switch to the closest parent folder that actually exists, without bringing up an error message --- this is done to cope with the case of the file chooser being started with a folder that doesn't exist anymore. Now, we just bring up an error message directly when we detect that the user types a subfolder name that doesn't exist. Signed-off-by: Federico Mena Quintero gtk/gtkfilechooserdefault.c | 63 ++++++++++++++++++++++++++++++++---------- 1 files changed, 48 insertions(+), 15 deletions(-) commit 84bf984f8501201e082b888bc5479b5b8770c02b Author: Federico Mena Quintero Date: Fri Jan 21 15:39:17 2011 -0600 bgo#640161 - Maintain map/unmap invariants in GtkFileChooserDialog We used to explicitly map and unmap the child GtkFileChooserWidget when mapping and unmapping the dialog, respectively. Now that GtkWidget actually unmaps child widgets (instead of avoiding that), we can assume that the child GtkFileChooserWidget will be unmapped when we wanted it to be. This fixes a warning that happened with the new GtkWidget invariant checker, as we were mapping our child widget before calling our parent class' ::map() handler. Signed-off-by: Federico Mena Quintero gtk/gtkfilechooserdialog.c | 23 ----------------------- 1 files changed, 0 insertions(+), 23 deletions(-) commit d07231cb7aad19b94f52e9a8af768a6c39919e6d Author: Federico Mena Quintero Date: Fri Jan 21 13:36:27 2011 -0600 bgo#626336 - Don't assume that GtkButton is activated only when a keyboard event is available Buttons may also be activated at any time from gtk_widget_activate() or related functions. In that case, just do the 'show the button as pushed for a short amount of time' trick, but don't actually try to grab the keyboard device. Signed-off-by: Federico Mena Quintero gtk/gtkbutton.c | 24 ++++++++++++++---------- 1 files changed, 14 insertions(+), 10 deletions(-) commit 120e289f56aad67b1db15801d1b7ef61c8b0c2cc Author: William Jon McCann Date: Thu Jan 20 16:40:29 2011 -0500 Use actual app name in app choosers Instead of using a strange composite of name and generic name. https://bugzilla.gnome.org/show_bug.cgi?id=640005 gtk/gtkappchooserbutton.c | 2 +- gtk/gtkappchooserwidget.c | 22 +++++++++------------- 2 files changed, 10 insertions(+), 14 deletions(-) commit e2d42f3c4bf1d7b1a47553301a31c368df262df2 Author: Tomeu Vizoso Date: Fri Jan 21 17:34:18 2011 +0100 [gi] Return value of gdk_window_new should have transfer full gdk/gdkwindow.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 5d3106275ac65713c49f708a06e0f33a004c3269 Author: Michael Natterer Date: Fri Jan 21 15:38:52 2011 +0100 gtk: no need to add GTK_STYLE_FLAG_FOCUSED to the widget's state flags because they correctly contain that flag now if the widget has focus. gtk/gtkentry.c | 3 --- gtk/gtkspinbutton.c | 3 --- gtk/gtktextdisplay.c | 3 --- 3 files changed, 0 insertions(+), 9 deletions(-) commit 6e553324f9081b5ca002f7e26269ee23268245fe Author: Carlos Garnacho Date: Fri Jan 21 15:19:44 2011 +0100 Make gtk_widget_get_state_flags() avoid propagating the focused flag down the hierarchy There is only one widget supposed to have the focused flag at a given time, so avoid propagating the state down the hierarchy, the focused flag is now also set in _gtk_widget_set_has_focus(). gtk/gtkwidget.c | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) commit 7fabfec5333c6bf8ab40082e3c5e56f1d525650c Author: Michael Natterer Date: Fri Jan 21 15:06:43 2011 +0100 gtk: save/restore the cairo_t around early upchaining in draw() and don't save/restore the style context because that's the job of each draw() implementation. gtk/gtkspinbutton.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) commit 287a3884157fff03873db8fbe29d8423034eef29 Author: Michael Natterer Date: Fri Jan 21 12:47:56 2011 +0100 gtk: remove unused "window" variable from gtk_entry_draw_frame() gtk/gtkentry.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit a79f05c7be67560ebe26b06a23df9990445d0b59 Author: Fridrich Štrba Date: Fri Jan 21 11:20:16 2011 +0100 fix win32 build after removal of the colormap debug category gdk/win32/gdkvisual-win32.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) commit 8effa1eb0e4a704a57bdfd49e584f5743e43aa74 Author: Sebastian Pölsterl Date: Fri Jan 21 10:36:07 2011 +0100 [gi] Added missing (allow-none) annotation to gdk_device_grab gdk/gdkdevice.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit f941f7b1230b78621cf529437522836a22e9554a Author: Matthias Clasen Date: Thu Jan 20 23:38:50 2011 -0500 Fix keynav issue in menu mode Skipping insensitive and separator rows was broken in menu mode. https://bugzilla.gnome.org/show_bug.cgi?id=639845 gtk/gtkcombobox.c | 53 +++++++++++++++++++++++++++-------------------------- 1 files changed, 27 insertions(+), 26 deletions(-) commit d0ba16a3b24739bc644c72287aa07227613f0d61 Author: Benjamin Otte Date: Fri Jan 21 04:39:20 2011 +0100 assistant: Fix mapped invariants gtk_widget_verify_invariants() was complaining, now it's silent. gtk/gtkassistant.c | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) commit cfe909848d399de90be3fce57c30e1f25610a9c6 Author: Matthias Clasen Date: Thu Jan 20 22:35:09 2011 -0500 Avoid a warning if GtkCellView has no model gtk/gtkcellview.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 46903a910094a83aa68c4b1d8ac1713610745c8b Author: Matthias Clasen Date: Thu Jan 20 21:36:50 2011 -0500 Fix a crash during DND https://bugzilla.gnome.org/show_bug.cgi?id=640105 gdk/gdkoffscreenwindow.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 6f4df09a0437895a7c9e7b4efa7a2b1c03df2ee9 Author: William Jon McCann Date: Thu Jan 20 16:58:19 2011 -0500 When cancelling the app dialog return to the last item in combobox https://bugzilla.gnome.org/show_bug.cgi?id=640011 gtk/gtkappchooserbutton.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit 9532e96db477353fbffbba8eb9b86e9c17b82dc9 Author: Matthias Clasen Date: Thu Jan 20 21:21:42 2011 -0500 Make GtkAppChooserButton work in modal context gtk/gtkappchooserbutton.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit a7bcb8a4d73d39f8c991aa2110764343575f0c08 Author: Matthias Clasen Date: Thu Jan 20 20:55:59 2011 -0500 Add a way to set the heading of GtkAppChooserDialog The application can probably set a better string than the default we construct, like 'Select an application for "software" files'. docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtk.symbols | 2 + gtk/gtkappchooserdialog.c | 69 +++++++++++++++++++++++++++++++++- gtk/gtkappchooserdialog.h | 19 +++++---- tests/testappchooser.c | 2 + 5 files changed, 84 insertions(+), 10 deletions(-) commit ec750bed0c0da8f5d0459060d9dc89d08a89cb28 Author: Benjamin Otte Date: Sun Jan 16 17:03:40 2011 +0100 gdk: Remove colormap debug category We don't have colormaps anymore. gdk/gdk.c | 1 - gdk/gdkinternals.h | 23 +++++++++++------------ gdk/win32/gdkprivate-win32.h | 2 -- 3 files changed, 11 insertions(+), 15 deletions(-) commit 7013406167f87a4410ccd504773814eb06221e08 Author: Benjamin Otte Date: Sun Jan 16 14:47:59 2011 +0100 x11: Don't keep two lists of devices internally gdk/x11/gdkdevicemanager-xi2.c | 48 ++++++++------------------------------- 1 files changed, 10 insertions(+), 38 deletions(-) commit 70879d345fea243b94ea03ec856b840e3335d306 Author: Matthias Clasen Date: Thu Jan 20 19:59:55 2011 -0500 Change the label of the GtkAppChooserDialog button We are not "opening" an application, we are selecting it to open a file. String change ! gtk/gtkappchooserdialog.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit bbe56c1f9a988b2fe4b915aa19bd93060bec0279 Author: William Jon McCann Date: Thu Jan 20 16:22:51 2011 -0500 Make the show more button follow the show-other property Instead of show-all. https://bugzilla.gnome.org/show_bug.cgi?id=640006 gtk/gtkappchooserdialog.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 5b7add024d7c390826661d3c76d3434af7022e0a Author: Matthias Clasen Date: Thu Jan 20 19:00:38 2011 -0500 Adapt gtk_icon_info_load_symbolic to librsvg limitations too Pointed out by Owen Taylor. gtk/gtkicontheme.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit f531787875ba7d1b8ec939b375c68fe2ba4d169e Author: William Jon McCann Date: Thu Jan 20 15:48:00 2011 -0500 Don't reserve a column of space the for icons in app chooser button In order to more consistently present the items regardless of whether they have icons or not. gtk/gtkappchooserbutton.c | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) commit 56009e2226922a96cbc6004e2a25aefa7c4f5063 Author: Johan Dahlin Date: Thu Jan 20 14:22:13 2011 -0200 Do not scan gtktextdisplay.h, avoids a scanner warning gtk/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit deeac8caf3226e480d239a0fa2416f0e03036c95 Author: William Jon McCann Date: Wed Jan 19 20:00:37 2011 -0500 Don't use an icon for Other Applications... We only show icons in "menus" for nouns or dynamic objects. gtk/gtkappchooserbutton.c | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) commit 7ad7c616785fa5ed974ab4cbc8bd49812f8d5c45 Author: Johan Dahlin Date: Thu Jan 20 12:11:22 2011 -0200 Mark api with xlib types as skipped Since they'd need to have boxed type to be able to work for introspection based bindings gdk/x11/gdkcursor-x11.c | 4 ++-- gdk/x11/gdkdisplay-x11.c | 2 +- gdk/x11/gdkmain-x11.c | 4 ++-- gdk/x11/gdkproperty-x11.c | 12 ++++++------ gdk/x11/gdkscreen-x11.c | 2 +- gdk/x11/gdkvisual-x11.c | 2 +- gdk/x11/gdkwindow-x11.c | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) commit 030b5ebf3ebac8a0c9b0ef02e4c79ce2eed37540 Author: Johan Dahlin Date: Thu Jan 20 12:08:34 2011 -0200 gtksettings: Add gtk-doc to silent an annotation warning gtk/gtksettings.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit 766e1d35da712b2509b4cf785086b75b2e8e419a Author: Johan Dahlin Date: Thu Jan 20 12:08:11 2011 -0200 Correct gtk-doc syntax and add missing (transfer) gtk/gtktestutils.c | 34 +++++++++++++++++----------------- 1 files changed, 17 insertions(+), 17 deletions(-) commit 1e0327f844edae85049cf23d6486c964fc45b66b Author: Johan Dahlin Date: Thu Jan 20 11:43:28 2011 -0200 Use identifier-prefix instead of deprecated strip-prefix gdk/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit b92df453c617d068744544078f7c81c628f0bbb0 Author: Johan Dahlin Date: Sat Jan 8 11:35:38 2011 -0200 Remove property user_data which doesn't exist anymore tests/simple.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 48ad65e1dde6429d23449e3d577387fdaefe14c6 Author: Pavel Holejsovsky Date: Thu Jan 20 14:54:19 2011 +0100 Bump required GObject-Introspection version to 0.10.1 configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 374e76a19dac87676995356f6daacb10f4bb6e36 Author: Pavel Holejsovsky Date: Tue Jan 18 06:37:11 2011 +0100 [GI] Mark unintrospectable constructs as (skip) Also adds 'Rename to:' annotation to some constructs replacing the skipped ones. gdk/gdk.c | 11 +++++++---- gdk/gdkdevice.c | 14 +++++++------- gdk/gdkdisplay.c | 4 ++-- gdk/gdkpango.c | 8 +++++--- gdk/gdkselection.c | 2 +- gdk/gdkwindow.c | 6 +++--- gtk/gtkactiongroup.c | 24 ++++++++++++------------ gtk/gtkbindings.c | 9 +++++---- gtk/gtkclipboard.c | 12 ++++++------ gtk/gtkcolorsel.c | 2 +- gtk/gtkcombobox.c | 2 +- gtk/gtkimcontextsimple.c | 2 +- gtk/gtkliststore.c | 4 +++- gtk/gtkmain.c | 4 ++-- gtk/gtkmenu.c | 10 +++++----- gtk/gtkrc.c | 2 +- gtk/gtkstock.c | 2 +- gtk/gtkstyle.c | 2 +- gtk/gtkstyleproperties.c | 6 +++--- gtk/gtkthemingengine.c | 2 +- gtk/gtktreemodel.c | 8 ++++---- gtk/gtktreestore.c | 5 ++++- gtk/gtktreeview.c | 6 +++--- gtk/gtkwidget.c | 2 +- 24 files changed, 80 insertions(+), 69 deletions(-) commit 2fb1c064020c5db189285b1d5e8b8dcea8e9d09b Author: Pavel Holejsovsky Date: Tue Jan 18 10:10:30 2011 +0100 [GI] Add missing (out) and (array) annotations gdk/gdk.c | 2 +- gdk/gdkdevice.c | 4 ++-- gdk/gdkdisplay.c | 7 ++++--- gdk/gdkevents.c | 6 +++--- gdk/gdkkeys.c | 10 ++++++---- gdk/gdkrectangle.c | 2 +- gdk/gdkselection.c | 7 ++++--- gdk/gdkvisual.c | 3 ++- gdk/gdkwindow.c | 40 ++++++++++++++++++++++------------------ gdk/x11/gdkselection-x11.c | 15 ++++++++------- gtk/gtkaboutdialog.c | 18 +++++++++--------- gtk/gtkalignment.c | 12 ++++++++---- gtk/gtkbox.c | 12 ++++++++---- gtk/gtkbuildable.c | 6 +++--- gtk/gtkbuilder.c | 4 ++-- gtk/gtkbutton.c | 4 ++-- gtk/gtkcalendar.c | 9 ++++++--- gtk/gtkcellarea.c | 5 +++-- gtk/gtkcellrenderer.c | 40 ++++++++++++++++++++-------------------- gtk/gtkcellview.c | 2 +- gtk/gtkclipboard.c | 26 ++++++++++++++------------ gtk/gtkcolorsel.c | 9 +++++---- gtk/gtkcontainer.c | 7 ++++--- gtk/gtkdialog.c | 3 ++- gtk/gtkeditable.c | 8 ++++---- gtk/gtkentry.c | 8 ++++---- gtk/gtkframe.c | 6 ++++-- gtk/gtkhsv.c | 22 +++++++++++----------- gtk/gtkicontheme.c | 29 +++++++++++++++++------------ gtk/gtkiconview.c | 34 +++++++++++++++++++--------------- gtk/gtkimcontext.c | 24 ++++++++++++------------ gtk/gtklabel.c | 8 ++++---- gtk/gtklayout.c | 6 ++++-- gtk/gtkmain.c | 9 +++++---- gtk/gtkmisc.c | 10 ++++++---- gtk/gtkprintcontext.c | 8 ++++---- gtk/gtkprinter.c | 8 ++++---- gtk/gtkprintjob.c | 7 +++++-- gtk/gtkprintsettings.c | 9 +++++---- gtk/gtkrange.c | 8 +++++--- gtk/gtkrc.c | 17 ++++++++++------- gtk/gtkrecentchooser.c | 5 +++-- gtk/gtkscale.c | 4 ++-- gtk/gtkscalebutton.c | 7 ++++--- gtk/gtkscrolledwindow.c | 8 ++++---- gtk/gtkselection.c | 32 +++++++++++++++++--------------- gtk/gtkspinbutton.c | 10 +++++----- gtk/gtkstock.c | 6 +++--- gtk/gtkstyle.c | 2 +- gtk/gtktestutils.c | 6 ++++-- gtk/gtktextbufferrichtext.c | 13 +++++++------ gtk/gtktextiter.c | 2 +- gtk/gtktextview.c | 2 +- gtk/gtktreednd.c | 7 ++++--- gtk/gtktreemodelfilter.c | 2 +- gtk/gtktreeview.c | 39 ++++++++++++++++++++------------------- gtk/gtktreeviewcolumn.c | 15 ++++++++------- gtk/gtkwidget.c | 5 +++-- gtk/gtkwindow.c | 6 +++--- 59 files changed, 354 insertions(+), 291 deletions(-) commit 2f0d40335b83d70d04a205dd17e8a5514b79f2d4 Author: Pavel Holejsovsky Date: Tue Jan 18 10:01:17 2011 +0100 [GI] Add missing (transfer) annotations gdk/gdkcursor.c | 2 +- gdk/gdkdisplay.c | 2 +- gdk/gdkdisplaymanager.c | 4 ++-- gdk/gdkdnd.c | 2 +- gdk/gdkevents.c | 2 +- gdk/gdkoffscreenwindow.c | 2 +- gdk/gdkwindow.c | 21 ++++++++++++--------- gdk/x11/gdkdisplay-x11.c | 3 ++- gdk/x11/gdkvisual-x11.c | 4 ++-- gtk/gtkaboutdialog.c | 6 +++--- gtk/gtkaccelgroup.c | 7 ++++--- gtk/gtkaction.c | 5 +++-- gtk/gtkbindings.c | 2 +- gtk/gtkcellarea.c | 15 ++++++++------- gtk/gtkcellareacontext.c | 2 +- gtk/gtkcontainer.c | 11 ++++++----- gtk/gtkdnd.c | 10 +++++----- gtk/gtkiconfactory.c | 4 ++-- gtk/gtklabel.c | 3 ++- gtk/gtkmain.c | 6 +++--- gtk/gtkmenu.c | 10 +++++----- gtk/gtkmenushell.c | 4 ++-- gtk/gtknotebook.c | 3 ++- gtk/gtknumerableicon.c | 4 ++-- gtk/gtkpagesetupunixdialog.c | 4 ++-- gtk/gtkprintcontext.c | 2 +- gtk/gtkprinter.c | 2 +- gtk/gtkprintjob.c | 6 +++--- gtk/gtkprintoperation-unix.c | 2 +- gtk/gtkprintoperation.c | 4 ++-- gtk/gtkprintunixdialog.c | 4 ++-- gtk/gtkradiobutton.c | 4 ++-- gtk/gtkrc.c | 6 +++--- gtk/gtkrecentmanager.c | 2 +- gtk/gtkselection.c | 8 ++++---- gtk/gtkstyle.c | 2 +- gtk/gtkstylecontext.c | 7 ++++--- gtk/gtkstyleproperties.c | 2 +- gtk/gtkstyleprovider.c | 5 +++-- gtk/gtktestutils.c | 8 ++++---- gtk/gtktextbuffer.c | 4 ++-- gtk/gtktextbufferrichtext.c | 16 ++++++++-------- gtk/gtkthemingengine.c | 7 ++++--- gtk/gtkwidget.c | 4 ++-- gtk/gtkwindow.c | 6 +++--- 45 files changed, 126 insertions(+), 113 deletions(-) commit 9b88eb356dde2578ff652511fcfc083b66be7b0b Author: Pavel Holejsovsky Date: Tue Jan 18 10:14:56 2011 +0100 [GI] Add missing (scope) annotations gdk/gdkwindow.c | 4 ++-- gtk/Makefile.am | 1 + gtk/gtkaccelgroup.c | 3 ++- gtk/gtkaccelmap.c | 7 ++++--- gtk/gtkcellarea.c | 4 ++-- gtk/gtkcontainer.c | 2 +- gtk/gtkprintoperation-unix.c | 3 ++- 7 files changed, 14 insertions(+), 10 deletions(-) commit 3c8fc21e9b3e035b86ae0715b62dd88085ec08a8 Author: Pavel Holejsovsky Date: Tue Jan 18 10:14:33 2011 +0100 [GI] Fixes of existing incorrect annotations gdk/gdkdevice.c | 6 +++--- gdk/gdkkeys.c | 5 +++-- gdk/gdkvisual.c | 5 +++-- gtk/gtkaction.c | 9 +++++---- gtk/gtkcellrenderer.c | 2 +- gtk/gtkfilechooser.c | 17 +++++++++-------- gtk/gtkicontheme.c | 8 ++++---- gtk/gtkiconview.c | 2 +- gtk/gtkmain.c | 3 ++- gtk/gtkradiobutton.c | 4 ++-- gtk/gtkradiomenuitem.c | 6 +++--- gtk/gtkradiotoolbutton.c | 4 ++-- gtk/gtkselection.c | 2 +- gtk/gtkstylecontext.c | 2 +- gtk/gtkthemingengine.c | 2 +- gtk/gtktreemodel.c | 2 +- gtk/gtktreeview.c | 3 ++- gtk/gtkwidget.c | 2 +- gtk/gtkwidgetpath.c | 12 ++++++------ 19 files changed, 51 insertions(+), 45 deletions(-) commit 497b66a5ab86b0a9c4a5af41a0c9e9343b7bb0cd Author: Florian Müllner Date: Thu Jan 20 12:29:17 2011 +0100 docs: Fix typo s/gtk_builder_add_From_file/gtk_builder_add_from_file docs/reference/gtk/getting_started.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit de6580b38d424355f99880bab765a078f61a6e63 Author: Cosimo Cecchi Date: Thu Jan 20 11:59:53 2011 +0100 gail: fix the build modules/other/gail/gailwidget.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 3f0d330a6525cecca12569719adf210969e05fdf Author: Steve Frécinaux Date: Thu Jan 20 11:53:47 2011 +0100 [GI] Fix transfer annotation on gtk_dialog_add_button() The transfer annotation was (transfer full) but the caller actually doesn't own a reference of the object. This made the pygobject test suite crash because pygobject was trying to unref the returned GtkButton instance. https://bugzilla.gnome.org/show_bug.cgi?id=639949 gtk/gtkdialog.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 75a05621bfb2bf0d002fd10a364404164c9ca8dd Author: Laszlo Pandy Date: Wed Jan 19 10:44:49 2011 +0100 [GI] Add annotation (type GdkModifierType) to state attributes in many GdkEvent structs. The state attribute is available in GdkEventMotion, GdkEventButton, GdkEventScroll, GdkEventKey and GdkEventCrossing. This type annotation fixes the wrapping of this attribute in the GI PyGObject bindings. https://bugzilla.gnome.org/show_bug.cgi?id=639929 gdk/gdkevents.h | 25 +++++++++++++++---------- 1 files changed, 15 insertions(+), 10 deletions(-) commit 9389054da2c5e125b140a3af9cbaa3b8e664b51f Author: Pavel Holejsovsky Date: Thu Jan 20 10:37:17 2011 +0100 [GI] Add (type) annotations to real types gdk/gdkdevice.c | 7 ++++--- gdk/gdkrgba.c | 6 +++--- gtk/gtkapplication.c | 2 +- gtk/gtkradiobutton.c | 11 ++++++----- gtk/gtkradiomenuitem.c | 3 ++- gtk/gtkselection.c | 8 ++++---- gtk/gtkstatusicon.c | 11 ++++++----- 7 files changed, 26 insertions(+), 22 deletions(-) commit b29af18a268d595f84d0904ea97c67d03e2b984b Author: Matthias Clasen Date: Thu Jan 20 01:30:34 2011 -0500 Add a GtkBuilder section to the tutorial docs/reference/gtk/getting_started.xml | 50 ++++++++++++++++++++++++++++++++ examples/Makefile.am | 5 ++- examples/builder.c | 40 +++++++++++++++++++++++++ examples/builder.ui | 45 ++++++++++++++++++++++++++++ 4 files changed, 139 insertions(+), 1 deletions(-) commit 99812be7d70ddffc825ed031ea29435b0466a4bf Author: Matthias Clasen Date: Wed Jan 19 22:52:55 2011 -0500 Be more careful with private event data When copying allocated events, also copy the source device. When synthesizing double or triple clicks, copy the original button press event including device information. https://bugzilla.gnome.org/show_bug.cgi?id=639822 gdk/gdkevents.c | 71 ++++++++++++++++++++++++++++-------------------------- 1 files changed, 37 insertions(+), 34 deletions(-) commit 6869ff26f3e9b74df26ce4072ae5ecdff0128708 Author: Matthias Clasen Date: Wed Jan 19 20:42:50 2011 -0500 Make GtkBorder style properties have a non-NULL default https://bugzilla.gnome.org/show_bug.cgi?id=639625 gtk/gtkstyleproperties.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 2f7245699b601aa76f4ecded11e3a760bc46de1e Author: Matthias Clasen Date: Wed Jan 19 17:01:19 2011 -0500 Add gtk_text_view_get_cursor_locations In GTK 3.0 it's no longer possible to e.g. pop up something at a text view's cursor (this wasn't exactly possible before either without including gtktextlayout, but this is a quite special need anyway). docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtk.symbols | 1 + gtk/gtktextview.c | 73 ++++++++++++++++++++++++++------- gtk/gtktextview.h | 4 ++ 4 files changed, 63 insertions(+), 16 deletions(-) commit ba02ae72fae8ea48d870f0ddc329898417b3d20e Author: Michael Kotsarinis Date: Wed Jan 19 22:03:53 2011 +0200 Updated Greek translation po/el.po | 105 +++++++++++++++++++++++++++----------------------------------- 1 files changed, 46 insertions(+), 59 deletions(-) commit eb7e81ddd6a3524e83c6093e47b3c17640ab29b9 Author: Matthias Clasen Date: Wed Jan 19 14:34:08 2011 -0500 Use simplesect in the tutorial This avoids blowing up the global toc even more. docs/reference/gtk/getting_started.xml | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit 8ed749494801daff78628f169c71914588702b86 Author: Jorge González Date: Wed Jan 19 19:37:26 2011 +0100 Updated Spanish translation po/es.po | 23 +++++++++++------------ 1 files changed, 11 insertions(+), 12 deletions(-) commit 889dc8111b8527d057da278f13039a79458e0a81 Author: Michael Kotsarinis Date: Wed Jan 19 20:30:31 2011 +0200 Updated Greek translation po/el.po | 2275 +++++++++++++++++++++++++++++++++----------------------------- 1 files changed, 1204 insertions(+), 1071 deletions(-) commit e7e3702a2252afe4606c8737b593570877345867 Author: Michael Kotsarinis Date: Wed Jan 19 20:18:22 2011 +0200 Updated Greek translation po-properties/el.po | 5811 ++++++++++++++++++++++++++------------------------- 1 files changed, 2970 insertions(+), 2841 deletions(-) commit 0a5e8ce685ea2c41bf78bd059d2611f2355dceef Author: Matthias Clasen Date: Wed Jan 19 12:55:48 2011 -0500 Mention type vs region ambiguity in the docs gtk/gtkcssprovider.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) commit d45a0114a500342699b66d0c034d67ad8055f60e Author: Martin Pitt Date: Wed Jan 19 15:40:46 2011 +0100 Fix linking of drawing example Commit 80e1340e introduced using a GDK method in examples/drawing.c, so actually link that to GDK. Fixes build failure with --as-needed linker option and gcc 4.5. examples/Makefile.am | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit cbbfe48ee473e428e431f18f83b6a0f708f34618 Author: Sebastian Pölsterl Date: Wed Jan 19 15:09:05 2011 +0100 [GI] Added missing (transfer none) annotation to gtk_tree_view_get_path_at_pos gtk/gtktreeview.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit f710cca49d342e43625373bcfae02902753fddb0 Author: Trevor Saunders Date: Wed Jan 19 15:39:04 2011 +0800 gail now provides toolkit = gail as an AtkAttribute of all gtk objects. https://bugzilla.gnome.org/show_bug.cgi?id=598952 https://bugzilla.gnome.org/show_bug.cgi?id=638920 modules/other/gail/gailwidget.c | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) commit 80e1340e51855f9fee469bc8dac95abdb7c56da4 Author: Matthias Clasen Date: Tue Jan 18 23:57:17 2011 -0500 Add a drawing example to the tutorial docs/reference/gtk/Makefile.am | 2 + docs/reference/gtk/getting_started.xml | 37 ++++++ docs/reference/gtk/images/drawing.png | Bin 0 -> 3686 bytes examples/Makefile.am | 7 +- examples/drawing.c | 200 ++++++++++++++++++++++++++++++++ 5 files changed, 245 insertions(+), 1 deletions(-) commit ceeaf183a11f2abfc487d6381718a2707e65f41d Author: Matthias Clasen Date: Tue Jan 18 23:01:16 2011 -0500 Add a packing example to the tutorial docs/reference/gtk/getting_started.xml | 31 ++++++++++++ docs/reference/gtk/images/grid-packing.png | Bin 0 -> 4612 bytes examples/Makefile.am | 2 +- examples/grid-packing.c | 73 ++++++++++++++++++++++++++++ 4 files changed, 105 insertions(+), 1 deletions(-) commit ce1244fdd74d736e81cb12653fdc956146d03ffc Author: Matthias Clasen Date: Tue Jan 18 21:42:29 2011 -0500 Add a paragraph explaining events and signals docs/reference/gtk/getting_started.xml | 191 +++++++++++++++++--------------- 1 files changed, 101 insertions(+), 90 deletions(-) commit 0b7496558d0d4a3f5e2d31b4cbbc9ce20e1d06fc Author: Carlos Garnacho Date: Wed Jan 19 04:12:08 2011 +0100 Make GtkCssProvider deal with widget types not being in plain CamelCase Fixes bug #Bug 639754, reported by Kjell Ahlstedt. gtkmm doesn't use plain CamelCase for its widget type names, so in order to distinguish widget type names from regions in the CSS parser, the following checks are now done: * if it contains an uppercase letter -> widget class (that should also work for gtkmm) * if it's a string compound by lowercase letters and '-' -> it's a region, checks have been added in gtk_style_context_add_region() and gtk_widget_path_iter_add_region() to ensure this. gtk/gtkcssprovider.c | 26 ++++++++++++++++++++++---- gtk/gtkstylecontext.c | 24 ++++++++++++++++++++++++ gtk/gtkstylecontext.h | 2 ++ gtk/gtkwidgetpath.c | 4 ++++ 4 files changed, 52 insertions(+), 4 deletions(-) commit 0c5ceaf757be64372d7a92bb5aa49ae97d25bc1f Author: Carlos Garnacho Date: Wed Jan 19 03:10:12 2011 +0100 Set horizontal/vertical style classes to GtkRanges gtk/gtkrange.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit f430a306f78dfaed2a8b10bfc361a75dffb1742e Author: Carlos Garnacho Date: Tue Jan 18 20:02:51 2011 +0100 Make GtkCheckButton/GtkRadioButton background white again gtk/gtkcssprovider.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 687ac4d4aa11244889da3b2b234b34b45cbb4d0e Author: Carlos Garnacho Date: Tue Jan 18 19:39:09 2011 +0100 Don't displace background for spinbuttons in the theming engine This is a leftover from the older GtkStyle code, this is handled through CSS spacings instead. gtk/gtkthemingengine.c | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-) commit 474ed78b25dddae203bf718e66e10afd4eeb93fc Author: A S Alam Date: Wed Jan 19 08:40:52 2011 +0530 update Punjabi Translation po/pa.po |12460 ++++++++++++++++++++++++++++++++++++++------------------------ 1 files changed, 7696 insertions(+), 4764 deletions(-) commit da27cae045fd7cf4f174a02a08d6997b5af9520b Author: Yaron Shahrabani Date: Wed Jan 19 01:02:39 2011 +0200 Updated Hebrew translation. po-properties/he.po | 55 +++++++++++++++++++++++++++----------------------- 1 files changed, 30 insertions(+), 25 deletions(-) commit a1c297a310751892d7540c0b281bb93ec6750549 Author: Pavel Holejsovsky Date: Tue Jan 18 10:12:38 2011 +0100 [GI] Cosmetic cleanups of annotations and doc comments This change does not introduce any functionality change, mostly cosmtic cleanups, like re-linebreak when introduced annotations messed up indentation or whitespace errors fixes. gdk/gdk.c | 2 +- gdk/gdkcursor.c | 2 +- gdk/gdkkeys.c | 2 +- gtk/gtkaccelgroup.c | 7 +++++-- gtk/gtkaction.c | 3 ++- gtk/gtkbutton.c | 2 +- gtk/gtkdialog.c | 3 ++- gtk/gtkfilechooser.c | 6 +++--- gtk/gtkicontheme.c | 8 ++++---- gtk/gtkiconview.c | 2 +- gtk/gtkimcontextsimple.c | 2 +- gtk/gtkmenu.c | 6 +++--- gtk/gtkradioaction.c | 3 ++- gtk/gtkradiobutton.c | 2 +- gtk/gtkrecentaction.c | 6 ++++-- gtk/gtkstatusicon.c | 16 ++++++++-------- gtk/gtktoggleaction.c | 3 ++- gtk/gtkwindow.c | 6 +++--- 18 files changed, 45 insertions(+), 36 deletions(-) commit fe372ddf5e918a54d7082996fa4bd779e6d0e9f1 Author: Pavel Holejsovsky Date: Tue Jan 18 09:25:47 2011 +0100 [GI] Add missing (allow-none) annotations gtk/gtkaction.c | 4 ++-- gtk/gtkicontheme.c | 8 ++++---- gtk/gtkradioaction.c | 4 ++-- gtk/gtkrecentaction.c | 8 ++++---- gtk/gtkscale.c | 4 ++-- gtk/gtktoggleaction.c | 4 ++-- gtk/gtktreeviewcolumn.c | 2 +- gtk/gtkwindow.c | 2 +- 8 files changed, 18 insertions(+), 18 deletions(-) commit 6d5cdad56ec7b637438fc2a98c000891dbacef52 Author: Pavel Holejsovsky Date: Tue Jan 18 06:42:31 2011 +0100 [GI] Annotate strings holding file paths as (type filename) gtk/gtkaccelmap.c | 6 +++--- gtk/gtkfilechooser.c | 41 ++++++++++++++++++++++------------------- gtk/gtkiconfactory.c | 6 +++--- gtk/gtkicontheme.c | 15 ++++++++------- gtk/gtkimage.c | 4 ++-- gtk/gtkpagesetup.c | 6 +++--- gtk/gtkprintjob.c | 2 +- gtk/gtkprintoperation.c | 2 +- gtk/gtkprintsettings.c | 6 +++--- gtk/gtkrc.c | 23 ++++++++++++----------- gtk/gtkstatusicon.c | 4 ++-- gtk/gtkuimanager.c | 2 +- gtk/gtkwindow.c | 4 ++-- 13 files changed, 63 insertions(+), 58 deletions(-) commit 204d1fd0a66528310bee3394a5533ce77938e171 Author: Pavel Holejsovsky Date: Tue Jan 18 06:29:57 2011 +0100 [GI] Make argument names in vfunc decls consistent with invoker docs gtk/gtkcontainer.h | 2 +- gtk/gtkeditable.h | 8 ++++---- gtk/gtktextbuffer.h | 16 ++++++++-------- 3 files changed, 13 insertions(+), 13 deletions(-) commit 729c82395539897e276f4dec41550de9b2a0db88 Author: Pavel Holejsovsky Date: Tue Jan 18 06:28:24 2011 +0100 [GI] Mark callbacks' context parameter with (closure) annotation. docs/reference/gtk/tmpl/gtkprintoperation.sgml | 9 +++------ gdk/gdkevents.h | 2 +- gtk/gtkaccelgroup.h | 2 +- gtk/gtkassistant.h | 2 +- gtk/gtkcellarea.h | 4 ++-- gtk/gtkfilefilter.h | 2 +- gtk/gtkprinter.h | 2 +- gtk/gtkprintoperation.h | 11 +++++++++++ gtk/gtktreemodelfilter.h | 4 ++-- gtk/gtktreeselection.h | 4 ++-- gtk/gtktreeview.h | 6 +++--- 11 files changed, 28 insertions(+), 20 deletions(-) commit 714d9bc4078898bfb9513e5e17c2bb3c935eef5f Author: Bastien Nocera Date: Tue Jan 18 16:13:00 2011 +0000 GtkImage: Add "use-fallback" property So that icon-name and GIcon type of GtkImages can use automatic fallback names. gtk/gtkimage.c | 44 ++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 42 insertions(+), 2 deletions(-) commit e6a51e4afbcd1a8424b71c8b7cbf5533d695f366 Author: Tristan Van Berkom Date: Wed Jan 19 00:41:35 2011 +0900 More accurate fix for GtkTreeMenu regression. The previous fix rebuilds the root menu unconditionally, this one only rebuilds the root menu if the root path has indeed changed. https://bugzilla.gnome.org/show_bug.cgi?id=639792 gtk/gtktreemenu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 34b573b07c13c9f7a4993ee9417a24313d2b6eba Author: Sebastian Pölsterl Date: Tue Jan 18 16:21:10 2011 +0100 Fixed gtk_calendar_get_date annotations: Added missing (out) gtk/gtkcalendar.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 6095598c39b71bee2ce7d7fd3adc7b00b2338537 Author: Anders F Björklund Date: Tue Jan 18 09:55:35 2011 -0500 Consistently use PKG_CONFIG in macros m4macros/gtk-3.0.m4 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit bb7662392d68bb504c46eb6c957e2dc5031932c4 Author: Matthias Clasen Date: Tue Jan 18 09:36:59 2011 -0500 Don't set the default display to NULL This was causing segfaults if DISPLAY is unset gdk/x11/gdkdisplaymanager-x11.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit fe687e760e2e33911dfc16e640b4a112ba245bb2 Author: Matthias Clasen Date: Tue Jan 18 09:36:24 2011 -0500 Add testcases for opening display More precisely, test that we can successfully fail to open a display... gdk/tests/Makefile.am | 8 ++++- gdk/tests/display.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+), 2 deletions(-) commit b208b9c0e9b6f6d5484e6ae301e6c27cbd0b0d86 Author: Martin Pitt Date: Tue Jan 18 12:32:52 2011 +0100 Fix GtkIconView GI annotations Add the missing (out) annotations, and a missing allow-none. gtk/gtkiconview.c | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) commit ebb18e65c3f7ff53788102775253dfa8fd02a5b3 Author: Yaron Shahrabani Date: Tue Jan 18 12:56:57 2011 +0200 Updated Hebrew translation. po-properties/he.po | 592 ++++++++++++++++++++++++++------------------------- po/he.po | 227 ++++++++++---------- 2 files changed, 418 insertions(+), 401 deletions(-) commit 64c79c15a6f391e52a0b42d377675b30cb1740f2 Author: Matthias Clasen Date: Mon Jan 17 21:55:13 2011 -0500 Fix a combo refactor regression https://bugzilla.gnome.org/show_bug.cgi?id=639792 gtk/gtktreemenu.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit a29b4c6a51a37b602447b082917a15b97b77b3e5 Author: Luca Ferretti Date: Mon Jan 17 21:43:33 2011 +0100 Fix case (s/A/a) in translatable string (Select A Folder) gtk/gtkfilechooserbutton.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit cb0fac73a5ef2704f0e7cfb11a0436feaa4f57f4 Author: Garrett Regier Date: Sun Jan 16 19:47:34 2011 -0800 Fix memory leak in gtk_window_group_list_windows gtk/gtkwindow.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 234b3b2c6f51709d0127ee93bb925fe7d59d71b5 Author: Martin Pitt Date: Mon Jan 17 16:00:52 2011 +0100 Annotate GtkIconView array arguments gtk/gtkiconview.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit 9f895aa3ad2cd03f942d265d0dadb6b0a1b8fb2b Author: Matthias Clasen Date: Mon Jan 17 09:57:35 2011 -0500 Make symbolic icons work again Work around https://bugzilla.gnome.org/show_bug.cgi?id=639750 gtk/gtkicontheme.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 77ff6992260b19ff04a0823de45142a37532d058 Author: Matthias Clasen Date: Mon Jan 17 09:55:16 2011 -0500 Drop gtk-builder-convert It will still be shipped in gtk 2.24. docs/reference/gtk/Makefile.am | 4 +- docs/reference/gtk/gtk-builder-convert.xml | 72 --- docs/reference/gtk/gtk-docs.sgml | 1 - gtk/Makefile.am | 8 +- gtk/gtk-builder-convert | 799 ---------------------------- 5 files changed, 3 insertions(+), 881 deletions(-) commit 09d395f629381b33dc9ec520a0393a709b5f6df8 Author: Pavel Holejsovsky Date: Sat Jan 15 14:50:50 2011 +0100 Move GtkFileFilter docs inline docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkfilefilter.sgml | 170 ---------------------------- gtk/gtkfilefilter.c | 24 ++++ gtk/gtkfilefilter.h | 35 ++++++ 4 files changed, 60 insertions(+), 170 deletions(-) commit 4dab3a601d2075e29fa328879c6118c378c5a38f Author: Pavel Holejsovsky Date: Sat Jan 15 14:51:11 2011 +0100 Move GtkMenu docs inline docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkmenu.sgml | 494 ---------------------------------- gtk/gtkmenu.c | 174 ++++++++++++- gtk/gtkmenu.h | 39 +++- 4 files changed, 211 insertions(+), 497 deletions(-) commit 2bd38dc7f5fe6aa4a555764343469cd22e219575 Author: Pavel Holejsovsky Date: Sat Jan 15 14:50:24 2011 +0100 Move GtkFixed docs inline Also remove incorrect documentation of opaque GtkFixed class struct. docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkfixed.sgml | 133 --------------------------------- gtk/gtkfixed.c | 74 ++++++++++++++++++ 3 files changed, 75 insertions(+), 133 deletions(-) commit 2f207ca749c4d705c39062761335458522c803d2 Author: Carlos Garnacho Date: Mon Jan 17 04:06:57 2011 +0100 Make selectors with no explicit state from higher priority GtkStyleProviders override lower ones with a state. This makes overriding information from the themes more intuitive gtk/gtkstyleproperties.c | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) commit 5f43a51a83c7ff7aea1114fb4dda96800cda83d5 Author: Carlos Garnacho Date: Mon Jan 17 04:05:44 2011 +0100 Make gtk_widget_get_path() also add all persistent style classes the widget has. gtk/gtkwidget.c | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) commit 62fd79b2247eb67fafee19fbeedab7fc52ac8314 Author: Carlos Garnacho Date: Mon Jan 17 03:58:45 2011 +0100 Do not set junction sides to the entry frame in spinbuttons. That's meant to be the outer frame, so no junction sides apply there gtk/gtkspinbutton.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) commit f482d4dc89b9cb75bf1fab539d1f7b065c494baa Author: Carlos Garnacho Date: Mon Jan 17 03:56:47 2011 +0100 Ensure harder a GtkStyleContext has a theming engine anytime gtk/gtkstylecontext.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 07e62229dacd44d603703192581c36aa244cb774 Author: Carlos Garnacho Date: Mon Jan 17 03:55:53 2011 +0100 Make GtkFrame propagate the "frame" style class to its header label gtk/gtkframe.c | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) commit 0e77486e91fe5b0c3cdc2688a6323bb0a27b9641 Author: Carlos Garnacho Date: Mon Jan 17 03:54:58 2011 +0100 Make GtkEntry set the style context state. gtk/gtkentry.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit e28a2695acdbbe7f6118b402a20b79e789d14873 Author: Carlos Garnacho Date: Fri Jan 14 01:09:40 2011 +0100 Improve progressbars theming. Make progressbar itself have an outset border, and improve spacings. gtk/gtkcssprovider.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit c444ccf53187d87b1197c89a5eb231271ba58d4c Author: Daniel Mustieles Date: Sun Jan 16 21:25:10 2011 +0100 Updated Spanish translation po-properties/es.po | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 477ff06b2540de64805ff79980048fe36c1d6b26 Author: Daniel Mustieles Date: Sun Jan 16 21:24:39 2011 +0100 Updated Spanish translation po-properties/es.po | 3260 +++++++++++++++++++++++++++++---------------------- 1 files changed, 1852 insertions(+), 1408 deletions(-) commit 837583eb36c89e1d333eaccd1643e2681e0940bc Author: Daniel Mustieles Date: Sun Jan 16 19:30:17 2011 +0100 Updated Spanish translation po/es.po | 240 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 120 insertions(+), 120 deletions(-) commit 6893aa9c257ee68dd612dd844b651340111bcb6a Author: Fran Diéguez Date: Sun Jan 16 17:14:23 2011 +0100 Updated Galician translations po-properties/gl.po | 372 ++++++++++++++++++++++++++------------------------- po/gl.po | 223 ++++++++++++++++--------------- 2 files changed, 307 insertions(+), 288 deletions(-) commit d9ebdb7610e147395b1cb08d128a7c4d93ffb4bb Author: Tristan Van Berkom Date: Sun Jan 16 22:47:12 2011 +0900 Plugged memory leak in gdk_x11_device_manager_xi2_list_devices. This was simply a misplaced 'g_list_copy()'. gdk/x11/gdkdevicemanager-xi2.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit a530f88234922529c4747c3b972f8ce7e25db4c5 Author: Tristan Van Berkom Date: Sun Jan 16 21:14:00 2011 +0900 Plugged leaking PangoFontDescriptions in gtk_modifier_style_set_font(). gtk/gtkmodifierstyle.c | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) commit 9438107bff6490e4105a515750447b8d99f22cdb Author: Tristan Van Berkom Date: Sun Jan 16 20:52:43 2011 +0900 Plugged leak in gtkcssprovider.c SelectorStyleInfo structs were never freed. gtk/gtkcssprovider.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit c35fb706bddd5e76dfec2964d67f3aa1ba5a169b Author: Tristan Van Berkom Date: Sun Jan 16 20:17:52 2011 +0900 Plugged memory leak in gtk_style_finalize (destroy the ->background[] patterns). gtk/gtkstyle.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) commit 4a5c435e9a0906220060439db5e8b83ea1d04cb2 Author: Tristan Van Berkom Date: Sun Jan 16 18:15:07 2011 +0900 Plugging memory leak in GtkCellArea (free ->style_detail at finalize time). gtk/gtkcellarea.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit f793626a530a17fa89b20ae973d754f0f3d6985e Author: Ivar Smolin Date: Sun Jan 16 10:25:57 2011 +0200 [l10n] Updated Estonian translation po/et.po | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) commit 27e8df0c2c0c7705d69882edad3753b446eb9331 Author: Ivar Smolin Date: Sun Jan 16 10:25:22 2011 +0200 [l10n] Updated Estonian translation po-properties/et.po | 109 ++++++++++++++++++--------------------------------- 1 files changed, 38 insertions(+), 71 deletions(-) commit 85fe2ce17f7790cb856eba4953d420bb0158f4e0 Author: Martin Pitt Date: Sat Jan 15 15:26:12 2011 -0600 Gtk{List,Tree}Store: Fix GI array annotations gtk/gtkliststore.c | 6 +++--- gtk/gtktreestore.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit 9f78fd22bcace7594a0754a99a0f0795acf93309 Author: Inaki Larranaga Murgoitio Date: Sat Jan 15 18:17:38 2011 +0100 Updated Basque language po-properties/eu.po | 5282 +++++++++++++++++++++++++-------------------------- 1 files changed, 2598 insertions(+), 2684 deletions(-) commit 46f099441790de5068dfb432256924188f2ddbe3 Author: Javier Jardón Date: Wed Jan 12 13:17:34 2011 +0000 docs: gtkwidget: Add some "Since: 3.0" gtk/gtkwidget.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) commit ac61edb9fce0cbd1de6fcce6b76bbabfd2edaef1 Author: Tristan Van Berkom Date: Sat Jan 15 21:34:49 2011 +0900 Avoid calling gtk_widget_is_visible(NULL) in _gtk_notebook_get_tab_flags(). The tab can be NULL here when GtkNotebook:show-tabs is FALSE. gtk/gtknotebook.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit fed55eaf36646f1fa8655267f36ffbc7e17d6e95 Author: Kjartan Maraas Date: Sat Jan 15 12:08:06 2011 +0100 Updated Norwegian bokmål translation po/nb.po | 41 ++++++++++++++++++++++++++--------------- 1 files changed, 26 insertions(+), 15 deletions(-) commit 77ad5096a9938e3348e4fea9583e464af580d17d Author: Kjartan Maraas Date: Sat Jan 15 12:07:46 2011 +0100 Add missing files po/POTFILES.in | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) commit 4392c0e9b585856d1db4ba5c3bba435e051222c9 Author: Kjartan Maraas Date: Wed Jan 12 10:54:24 2011 +0100 Updated Norwegian bokmål translation po/nb.po | 833 +++++++++++++++++++++++++++++++++---------------------------- 1 files changed, 451 insertions(+), 382 deletions(-) commit 22876d789ce2c9f2afdc5c5a387e495844546304 Author: Matthias Clasen Date: Sat Jan 15 00:39:29 2011 -0500 Fix a typo gtk/gtktexttag.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit cc92d6da03944357090c6442a87f6b7828ad5868 Author: Matthias Clasen Date: Sat Jan 15 00:16:51 2011 -0500 Fix a typo gtk/gtkrange.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ccc3d874ef34593088b6bcf33a38580d64153063 Author: Matthias Clasen Date: Sat Jan 15 00:08:39 2011 -0500 Add accessors for GtkRange::round-digits Patch by Christian Dywan, https://bugzilla.gnome.org/show_bug.cgi?id=351755 docs/reference/gtk/gtk3-sections.txt | 4 +- gtk/gtk.symbols | 2 + gtk/gtkrange.c | 77 ++++++++++++++++++++++++++++++---- gtk/gtkrange.h | 7 ++- gtk/gtkscale.c | 8 ++-- 5 files changed, 81 insertions(+), 17 deletions(-) commit 8e420bca02f5bdc88a43b3e23c4e9fb017f38164 Author: Matthias Clasen Date: Fri Jan 14 23:51:41 2011 -0500 Unify handling of prelighted icons Make GtkEntry use gtk_render_icon_pixbuf for rendering the icons, and move the working icon prelighting code from GtkEntry to GtkThemingEngine. https://bugzilla.gnome.org/show_bug.cgi?id=636691 gtk/gtkentry.c | 89 ++++++++++------------------------------------- gtk/gtkthemingengine.c | 52 +++++++++++++++++++++++++++- 2 files changed, 69 insertions(+), 72 deletions(-) commit e9319c618212f385d5e3702cc86c51bd87970356 Merge: f792660 867dc0b Author: Chun-wei Fan Date: Sat Jan 15 12:42:52 2011 +0800 Merge ssh://git.gnome.org/git/gtk+ commit 867dc0bd0d349f4e73fab6fc8bfb141e61e4139c Author: Matthias Clasen Date: Fri Jan 14 21:15:06 2011 -0500 Avoid a critical warning during tab DND https://bugzilla.gnome.org/show_bug.cgi?id=639380 gtk/gtkstylecontext.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit d790fd4fdd3ea36c9ec38f6dd9b648487b9bfac7 Author: Matthias Clasen Date: Fri Jan 14 20:45:53 2011 -0500 Update information about visuals Based on a patch by Jasper St. Pierre, https://bugzilla.gnome.org/show_bug.cgi?id=639520 docs/reference/gtk/question_index.sgml | 27 ++++++++++++++------------- 1 files changed, 14 insertions(+), 13 deletions(-) commit 8f6a8441a24b40003b8ec4128931fb2601bc0d30 Author: Matthias Clasen Date: Fri Jan 14 20:24:26 2011 -0500 Implement the editing-canceled property in GtkCellEditableEventBox https://bugzilla.gnome.org/show_bug.cgi?id=639455 gtk/gtkcellrendereraccel.c | 224 +++++++++++++++++++++++++++----------------- 1 files changed, 140 insertions(+), 84 deletions(-) commit 1cba79677cb8e9023a2a25568f6447bdc55747dc Author: Matthias Clasen Date: Fri Jan 14 20:01:05 2011 -0500 Add --enable-gtk2-dependency option This can be used to suppress building of gtk-update-icon-cache in favor of using a preexisting version. Based on a patch by Colin Walters, https://bugzilla.gnome.org/show_bug.cgi?id=639471 configure.ac | 11 ++++++++++- docs/reference/gtk/building.sgml | 18 ++++++++++++++++++ gtk/Makefile.am | 14 +++++++++----- 3 files changed, 37 insertions(+), 6 deletions(-) commit d8d31c60cab5af8a8749767f49ce8dfde5f037f9 Author: Matthias Clasen Date: Fri Jan 14 19:35:34 2011 -0500 Drop never-updated revision attributes docs/reference/gtk/building.sgml | 2 +- docs/reference/gtk/compiling.sgml | 2 +- docs/reference/gtk/other_software.sgml | 2 +- docs/reference/gtk/resources.sgml | 2 +- docs/reference/gtk/text_widget.sgml | 2 +- docs/reference/gtk/tree_widget.sgml | 2 +- docs/reference/gtk/windows.sgml | 2 +- docs/reference/gtk/x11.sgml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) commit abc8ac1a8bccf1ad187b55e35e81de1f9eae4785 Author: Matthias Clasen Date: Fri Jan 14 19:20:56 2011 -0500 Move GtkSelection docs inline At the same time, move private selection API to gtkselectionprivate.h docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkselection.sgml | 542 ----------------------------- gtk/gtkmain.c | 2 +- gtk/gtkselection.c | 26 ++ gtk/gtkselection.h | 156 ++++----- gtk/gtkselectionprivate.h | 37 ++ gtk/gtktextview.c | 1 + gtk/gtkwidget.c | 2 +- 8 files changed, 138 insertions(+), 629 deletions(-) commit 00a3685f416b531b0bf4a21213caf08e647c0970 Author: Matthias Clasen Date: Fri Jan 14 18:39:01 2011 -0500 Move GtkPrintJob docs inline docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkprintjob.sgml | 186 ------------------------------ gtk/gtkprintjob.c | 15 +++ gtk/gtkprintjob.h | 10 ++ 4 files changed, 26 insertions(+), 186 deletions(-) commit 6cf78a12c1e179b2d5eef4f045e242ceae475709 Author: Matthias Clasen Date: Fri Jan 14 17:49:48 2011 -0500 Move GtkTextTag docs inline docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtktexttag.sgml | 498 ------------------------------- gtk/gtkenums.h | 13 +- gtk/gtktextattributes.h | 8 + gtk/gtktexttag.c | 16 + 5 files changed, 37 insertions(+), 499 deletions(-) commit 06864ba656fb1ac87540c5008280f4250e83355b Author: Matthias Clasen Date: Fri Jan 14 16:40:13 2011 -0500 Move GtkMenuShell docs inline docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkmenushell.sgml | 224 ----------------------------- gtk/gtkenums.h | 10 ++- gtk/gtkmenushell.c | 115 +++++++++++++++ 4 files changed, 125 insertions(+), 225 deletions(-) commit 35644cab9e2b03f1774e6f1d85e950ffe1a15296 Author: Sahran Date: Fri Jan 14 22:46:35 2011 +0100 Added UG translation po/ug.po | 1499 ++++++++++++++++++++++++++++++++++---------------------------- 1 files changed, 825 insertions(+), 674 deletions(-) commit 708357001a8c8dde422e0d4b69c036d7cf70e14e Author: Fridrich Štrba Date: Fri Jan 14 19:49:31 2011 +0100 make the ms-windows engine compile again modules/engines/Makefile.am | 2 +- modules/engines/ms-windows/msw_style.c | 18 +++++++++++------- 2 files changed, 12 insertions(+), 8 deletions(-) commit 6f4adebcef6d47cc00fac17839724959921f7289 Author: Michael Natterer Date: Fri Jan 14 16:55:46 2011 +0100 gtk: render GtkEventBox' background in the right state gtk/gtkeventbox.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit d0f51577a488d52c4ab85d0f4896278cf097a255 Author: Fran Diéguez Date: Fri Jan 14 16:49:43 2011 +0100 Updated Galician translations po-properties/gl.po | 583 ++++++++++++++++++++++++++------------------------- 1 files changed, 302 insertions(+), 281 deletions(-) commit e62b68fe62ce2f0b67ae2ed5a510895156f38c66 Author: Matthias Clasen Date: Fri Jan 14 09:46:11 2011 -0500 Add EXPORT_PACKAGES for the girs This connects the girs to the pc file names. https://bugzilla.gnome.org/show_bug.cgi?id=635287 gdk/Makefile.am | 2 ++ gtk/Makefile.am | 1 + 2 files changed, 3 insertions(+), 0 deletions(-) commit 9d14edf760153a9ea38f8e7dd3af995be06f4bfb Author: Matthias Clasen Date: Fri Jan 14 09:44:10 2011 -0500 Add --include-uninstalled for the gdk gir https://bugzilla.gnome.org/show_bug.cgi?id=635287 gdk/Makefile.am | 8 ++++++-- gtk/Makefile.am | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) commit 8ba35bc38192ce3b4527294758cf8edd8fda6a08 Author: Matthias Clasen Date: Fri Jan 14 09:32:26 2011 -0500 Add --warn-all to introspection scanner args https://bugzilla.gnome.org/show_bug.cgi?id=635287 gdk/Makefile.am | 3 ++- gtk/Makefile.am | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 890e4511aaf3ef0ef72328fd7b89440e49de94d2 Author: Colin Walters Date: Thu Jan 13 16:30:28 2011 -0500 GtkContainer: make "handle_border_width" member private Otherwise in introspection we get a naming conflict between the structure member and the method. http://bugzilla.gnome.org/show_bug.cgi?id=639325 gtk/gtkcontainer.c | 6 +++--- gtk/gtkcontainer.h | 7 +++++-- 2 files changed, 8 insertions(+), 5 deletions(-) commit 92c8a3e0e174ef774abe8095436538b36d6b669e Author: Matthias Clasen Date: Thu Jan 13 23:42:12 2011 -0500 Remove an overlooked instance of gdk drawing api docs/reference/gtk/question_index.sgml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 985b0e57b25f2db06f94ae941d65766079a2a703 Author: Matthias Clasen Date: Thu Jan 13 23:40:47 2011 -0500 Add a migration guide section about multiple backends docs/reference/gtk/migrating-2to3.xml | 43 +++++++++++++++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) commit 04248fbd396527661d1d6f2faa46be65155c4df1 Author: Matthias Clasen Date: Thu Jan 13 23:10:25 2011 -0500 Update some outdated content in the question index Based on a patch by Jasper St. Pierre https://bugzilla.gnome.org/show_bug.cgi?id=639494 docs/reference/gtk/question_index.sgml | 369 ++++++++++++++------------------ 1 files changed, 166 insertions(+), 203 deletions(-) commit b23839c7a5ed92959d2badc112d1d4709c1fb64b Author: Matthias Clasen Date: Thu Jan 13 22:19:58 2011 -0500 Add an example for custom css docs/reference/gtk/migrating-GtkStyleContext.xml | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) commit 9d85d87f0561ce2af3c72d7b9bb787b958a97e30 Author: Matthias Clasen Date: Thu Jan 13 22:11:22 2011 -0500 Move GtkMenuBar docs inline And remove some outdated content. docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkmenubar.sgml | 104 ------------------------------- gtk/gtkenums.h | 10 +++ gtk/gtkmenubar.c | 18 +++++ 4 files changed, 29 insertions(+), 104 deletions(-) commit df78c9ee66999f235e3ca267ac638abab6602cb4 Author: Matthias Clasen Date: Thu Jan 13 21:37:33 2011 -0500 Add some doc details Mention symbolic color names in gtk_icon_info_load_symbolic_for_context() gtk/gtkicontheme.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 7e29fc5b421a049c2b88453232eddeefed9f1b7b Author: Cosimo Cecchi Date: Thu Jan 13 16:03:49 2011 +0100 gtkshow: don't call _get_display() on a NULL GdkScreen gtk_show_uri() is documented to accept a NULL screen to mean the default one. Calling gdk_screen_get_display() on a NULL object will cause segfaults. gtk/gtkshow.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) commit 04494c5df0df3c9867ecc1b0116b761e68557c1c Author: Tristan Van Berkom Date: Thu Jan 13 23:02:34 2011 +0900 Making GtkCellLayout "no cell area yet" warning a g_critical instead. gtk/gtkcelllayout.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 66593ef569b75e35444eddd8e6d2f8278bcbdb48 Author: Tristan Van Berkom Date: Thu Jan 13 21:33:36 2011 +0900 Added warnings to GtkCellLayout when api is accessed and there is no GtkCellArea to operate on. gtk/gtkcelllayout.c | 47 ++++++++++++++++++++++++++++++++++++----------- 1 files changed, 36 insertions(+), 11 deletions(-) commit eaca2ea5e8be915e79cb9825333e2b210f693ad4 Author: Ivar Smolin Date: Thu Jan 13 12:40:46 2011 +0200 [l10n] Updated Estonian translation po-properties/et.po | 2140 +++++++++++++++++++++++++++++++++++---------------- 1 files changed, 1465 insertions(+), 675 deletions(-) commit cbd313c23727c462ccfd34d455cb13c6fd900593 Author: Mahyar Moghimi Date: Thu Jan 13 11:35:44 2011 +0330 correcting on off in gtkswitch according to bugreport:638232 po/fa.po | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 89eb869ecfaa43dfcc9860fc6b2d174beec9ef8c Author: Tristan Van Berkom Date: Thu Jan 13 17:00:57 2011 +0900 Avoid crashes calling gdk_window_enable_synchronized_configure() on an offscreen window. Just added gdk_offscreen_window_do_nothing() noop stub in that slot. gdk/gdkoffscreenwindow.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 290c34b2324a23e01b0957d7a1e0083c9b0f767b Author: Matthias Clasen Date: Wed Jan 12 22:30:08 2011 -0500 Try harder to find a good display name for paper sizes This was requested in https://bugzilla.gnome.org/show_bug.cgi?id=639186. Also add some tests for GtkPaperSize. gtk/gtkpapersize.c | 307 +++++++++++++++++++++++++------------------------ gtk/tests/Makefile.am | 7 +- gtk/tests/papersize.c | 128 ++++++++++++++++++++ 3 files changed, 291 insertions(+), 151 deletions(-) commit 8709c86944d58098061bbf0413121be3cca29b7b Author: Matthias Clasen Date: Wed Jan 12 19:56:22 2011 -0500 bump version configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)