commit 1349b0f72dfbe9605283485f187663e4956946f9 Author: Matthias Clasen Date: Wed Mar 11 22:25:11 2015 -0400 3.15.11 NEWS | 39 +++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 40 insertions(+), 1 deletion(-) commit b974ced51bbf9c93a5711ca067233ae14a17d983 Author: Matthias Clasen Date: Thu Mar 12 08:10:29 2015 -0400 Fix make dist Add a missing quote. po-properties/Makefile.in.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c9faea04c547e18b28c98993a51fba0f52b0dc23 Author: Matthias Clasen Date: Wed Mar 11 22:26:17 2015 -0400 Drop unused files util/Makefile.am | 9 --- util/extract-strings.c | 182 ------------------------------------------------- 2 files changed, 191 deletions(-) commit 171d4305f4edf3423c615827ad9c9d1df1939c7a Author: Dušan Kazik Date: Thu Mar 12 10:20:08 2015 +0000 Updated Slovak translation po/sk.po | 336 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 168 insertions(+), 168 deletions(-) commit d96cbb3b593aa98afd0229419538fe16c05aa715 Author: Milo Casagrande Date: Thu Mar 12 08:57:43 2015 +0000 Updated Italian translation po/it.po | 4560 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 2159 insertions(+), 2401 deletions(-) commit e94452559660da4e5c7dea2eb7bf3d67c4f4d6fb Author: Jordi Mas Date: Wed Mar 11 23:36:52 2015 -0400 Update Catalan translation po/ca.po | 2757 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1476 insertions(+), 1281 deletions(-) commit 49881eebbbb22c2abf8ad2228095be7b4bb2207f Author: Benjamin Otte Date: Thu Mar 12 04:31:45 2015 +0100 Revert "iconhelper: Don't check states" This reverts commit 63f59dde3a2740057fb24115b58100af630aa453. It turns out, the state was not just necessary for style computation, but also for tracking RTL and LTR. And so it broke the reftests. gtk/gtkiconhelper.c | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) commit 8615a52ca3bdc3c49c9829cb461f3cc9c764959f Author: Matthias Clasen Date: Wed Mar 11 21:45:48 2015 -0400 Add some reftests related to textview tags This test shows that a) tags override the text view style and b) tags override each other in the expected way. testsuite/reftests/Makefile.am | 3 ++ testsuite/reftests/textview-tags.c | 57 +++++++++++++++++++++++++++++++++ testsuite/reftests/textview-tags.css | 6 ++++ testsuite/reftests/textview-tags.ref.ui | 49 ++++++++++++++++++++++++++++ testsuite/reftests/textview-tags.ui | 49 ++++++++++++++++++++++++++++ 5 files changed, 164 insertions(+) commit 7ad203732f4d1e6925a31519dc1e5fabf94262d7 Author: Benjamin Otte Date: Thu Mar 12 01:14:06 2015 +0100 iconhelper: Use the screen's icon theme ... and not the default one. gtk/gtkiconhelper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 93f8966bd9f63b468511168287ba89420fda4edc Author: Benjamin Otte Date: Wed Mar 11 23:01:05 2015 +0100 iconhelper: Replace function The old one just calls the other one. gtk/gtkiconhelper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 181e58e402aec9c546850d95194384329a9637e0 Author: Benjamin Otte Date: Wed Mar 11 21:24:05 2015 +0100 iconhelper: Move function from style context into only user gtk/gtkiconhelper.c | 30 ++++++++++++++++++++++++++++-- gtk/gtkstylecontext.c | 36 ------------------------------------ gtk/gtkstylecontextprivate.h | 1 - 3 files changed, 28 insertions(+), 39 deletions(-) commit 63f59dde3a2740057fb24115b58100af630aa453 Author: Benjamin Otte Date: Wed Mar 11 15:03:02 2015 +0100 iconhelper: Don't check states This is the wrong thing to do in today's world. gtk/gtkiconhelper.c | 38 ++------------------------------------ 1 file changed, 2 insertions(+), 36 deletions(-) commit b2d40afdf55036c3327bfed4f153297cc11bccf9 Author: Matthias Clasen Date: Wed Mar 11 15:31:35 2015 -0400 App Chooser: Fix app icons in HighContrast We need to follow-state here as well, to make sure the icons are visible on selected rows. gtk/ui/gtkappchooserwidget.ui | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit f82341d1d3daa57bcdbf76b6cd9823918db70cb6 Author: Changwoo Ryu Date: Thu Mar 12 02:52:52 2015 +0900 Updated Korean translation po/ko.po | 345 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 176 insertions(+), 169 deletions(-) commit 80013436d0b06d735602e61741666483a2f3a79c Author: Philip Withnall Date: Tue Mar 10 07:57:58 2015 +0000 gtkentry: Document vfuncs in GtkEntryClass Clarify that the signal handler vfuncs can be NULL, nothing else can, and that they all have default implementations. https://bugzilla.gnome.org/show_bug.cgi?id=712760 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkentry.h | 44 ++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) commit 52858f709c79e4e8ff351240d724d1eafa2f4605 Author: Philip Withnall Date: Tue Mar 10 08:26:34 2015 +0000 gtktreeselection: Fix an abort on selecting an invalid range gtk_tree_selection_real_modify_range() has a g_return_if_fail() if the start or end paths passed to it do not correspond to real tree nodes. However, GtkTreePaths inherently do not have to be valid, so it should be acceptable to call gtk_tree_selection_select_range() with non-existent paths. Replace the g_return_if_fail() by a silent return, and add a unit test. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtktreeselection.c | 5 +++-- testsuite/gtk/treeview.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 2 deletions(-) commit d65ccf96ee43e3cd62a705074d452f9f87912ee2 Author: Philip Withnall Date: Tue Mar 10 08:34:39 2015 +0000 gtknotebook: Add more non-NULL checks for cur_page These were not spotted by scan-build, but from some brief mental reasoning could potentially be problem areas. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtknotebook.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 3b45be94e8a350c40039479f336539ec65764193 Author: Matthias Clasen Date: Wed Mar 11 06:47:04 2015 -0400 Gestures: Properly handle weak references Every call to g_object_add_weak_pointer must be matched with a g_object_remove_weak_pointer call, or we will get invalid writes inside GObject. https://bugzilla.gnome.org/show_bug.cgi?id=746013 gtk/gtkeventcontroller.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit b4344861a09f7ec67fe5d302d9fdd00909daaaad Author: Jonas Ådahl Date: Fri Mar 6 10:51:47 2015 +0800 wayland: Only bind to supported gtk-shell versions The gtk-shell Wayland protocol extension is not meant to be backward compatible right now, so avoid binding to any version that is not the one supported. https://bugzilla.gnome.org/show_bug.cgi?id=745721 gdk/wayland/gdkdisplay-wayland.c | 12 +++++++++--- gdk/wayland/protocol/gtk-shell.xml | 10 +++++++++- 2 files changed, 18 insertions(+), 4 deletions(-) commit a52ff2f66e670874978762197b2984fa8bdf3bfd Author: Emmanuele Bassi Date: Tue Mar 10 22:12:32 2015 +0000 build: Fix generating introspection on MacOS We need to filter out platform-specific sources from the files that we use with the introspection scanner. In this specific case I could have moved the gtkclipboard-quartz.c and the gtkdnd-quartz.c files out of the $(gtk_base_c_sources) variable, but doing a filter-out on the variable itself is more resilient in case we eventually add files and we forget about the result. gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 073a9c9cd543f5739d72beb4bc9eb4c79c175a99 Author: Matthias Clasen Date: Tue Mar 10 14:07:27 2015 -0400 inspector: Add some margin to css editor Requested in https://bugzilla.gnome.org/show_bug.cgi?id=745918 gtk/inspector/css-editor.ui | 2 ++ 1 file changed, 2 insertions(+) commit 622a930c5a55aa64489a8031cd507f45e7fa2545 Author: Carlos Garnacho Date: Tue Mar 10 16:38:17 2015 +0100 window: reset both press/drag gestures when move/resize drag starts Now that this is split in two separate gestures, both must be reset when the WM grabs the pointer. Also, do on resize drags like on move drags, and claim the gesture before resetting, so the ownership is properly transferred across any other widgets. https://bugzilla.gnome.org/show_bug.cgi?id=745969 gtk/gtkwindow.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 2f8938cf23b1b2f5904fb969ca993e4b6a9828ef Author: Anders Jonsson Date: Tue Mar 10 12:28:37 2015 +0000 Updated Swedish translation po-properties/sv.po | 5562 +++++++++++++++++++++++++-------------------------- 1 file changed, 2681 insertions(+), 2881 deletions(-) commit 1cc35cdc6df49044d7f6d570e1611973b257b9c7 Author: Anders Jonsson Date: Tue Mar 10 12:27:18 2015 +0000 Updated Swedish translation po/sv.po | 4675 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 2229 insertions(+), 2446 deletions(-) commit 9e2cdce58e081c3829008a256ecd8c3b5a7ce1de Author: Benjamin Otte Date: Tue Mar 10 13:23:06 2015 +0100 notebook: Fix boolean check Commit c352093bdeb2be5390607de13eaf7a21e93272ef swapped the condition when turning it into a return_if_fail(). gtk/gtknotebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 94ec6b44184067782925fa7dc8880c0d1fc3fbe8 Author: Carlos Garnacho Date: Mon Mar 9 15:15:23 2015 +0100 entrycompletion: Ensure transient_for is set before showing window gtk_entry_set_completion() (and _gtk_entry_completion_connect underneath) may happen when the entry has no toplevel yet. This window acts as the "parent" for subsurface windows on wayland, and is indispensable to create its backing wl_subsurface, so this resulted in non-visible popups there. Fix this by ensuring transient_for is set before showing the popup. https://bugzilla.gnome.org/show_bug.cgi?id=745463 gtk/gtkentrycompletion.c | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) commit c352093bdeb2be5390607de13eaf7a21e93272ef Author: Philip Withnall Date: Wed Nov 20 17:32:10 2013 +0000 gtknotebook: Fix potential use of uninitialised variables Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtknotebook.c | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) commit ac4da770e10fa293a7c99bb3c4bcb8490f431e7f Author: Philip Withnall Date: Tue Nov 26 15:08:08 2013 +0000 gtkprintunixdialog: Fix a potential g_object_unref(NULL) call The code above checks whether (printer == NULL), so we’d better do so here as well. Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtkprintunixdialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5ced234144ce63decbf5afc8a3517290b9027018 Author: Matthias Clasen Date: Mon Mar 9 20:48:47 2015 -0400 Revert "csd: Drop the GTK_FRAME_EXTENTS requirement" This reverts commit fb9a6bb6d8d6b60b25c9b9853decbcea938f7863. In a recent test, I've found that Xfce and Mate now support this, so they will not be affected by this requirement. And adding the check back will solve the 'client-side shadow' problem in KDE. gtk/gtkwindow.c | 3 +++ 1 file changed, 3 insertions(+) commit 9ec28047756256ad396ccb318e214e13dd034af0 Author: Benjamin Otte Date: Mon Mar 9 23:53:43 2015 +0100 stylecontext: Store the right style in the cache Store the newly computed style, not the old and wrong one. Fixes HighContrast menuitem color sometimes being black-on-black for selected items. gtk/gtkstylecontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f8eac08a0a51de76864afb03eb6b3d857d6a6d40 Author: Philip Withnall Date: Thu Nov 28 20:43:16 2013 +0000 gtkclipboard: Fix a potential g_signal_handler_disconnect(NULL) call Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtkclipboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit af36220bca74837cefab046a6435f2b6743c4569 Author: Philip Withnall Date: Tue Nov 26 15:04:45 2013 +0000 gtkprintcontext: Fix several potential g_object_[un]ref(NULL) calls The page_setup of a GtkPrintContext or GtkPrintUnixDialog is nullable, so all reference count changes to it have to be guarded against NULL values. Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtkprintcontext.c | 5 +++-- gtk/gtkprintunixdialog.c | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) commit 8e3b49969905182c903dc62f0f6e6debefefe973 Author: Philip Withnall Date: Wed Nov 20 17:39:02 2013 +0000 gtktreeselection: Fix a potential use of uninitialised variables Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtktreeselection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 968780d8da4a7a1d30ca1e17faec55de2e528390 Author: Philip Withnall Date: Wed Nov 20 17:38:01 2013 +0000 gtktreeselection: Fix potential NULL pointer dereferences _gtk_rbtree_first() can potentially return NULL if the RB tree is empty, which would result in NULL pointer dereferences in the GtkTreeSelection code. Gracefully handle them. Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtktreeselection.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 4fc6880d8308b5ff69b72c23920fed75cf3f2661 Author: Philip Withnall Date: Wed Nov 20 17:33:59 2013 +0000 gtktextview: Fix a definite use of an uninitialised variable This seems to have been a typo in the original code, and allowed access to virtual_cursor_y when it was uninitialised. Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtktextview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 51971d56bc77644d380a1d7b175faaa807e59318 Author: Philip Withnall Date: Wed Nov 20 17:32:47 2013 +0000 gtknotebook: Remove dead variable assignments Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtknotebook.c | 2 -- 1 file changed, 2 deletions(-) commit c7f5f10853b3edeabcd4a4374417afa8e54d55a0 Author: Philip Withnall Date: Wed Nov 20 17:32:32 2013 +0000 gtknotebook: Fix a potential NULL pointer dereference Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtknotebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 61c46d911ff0840752bf8aa595d42da012d5d7b7 Author: Philip Withnall Date: Wed Nov 20 17:30:22 2013 +0000 gtkentry: Return early from gtk_entry_clear() if no icon info exists This helps scan-build avoid some false positive potential NULL pointer dereference warnings. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtkentry.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 19222a6364b772d05b645e3c61aea684fc1eb23f Author: Philip Withnall Date: Wed Nov 20 17:30:07 2013 +0000 gtkentry: Remove dead assignments Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtkentry.c | 2 -- 1 file changed, 2 deletions(-) commit 7479133753de0f7827bf74cf8b554f266af69d20 Author: Philip Withnall Date: Mon Dec 2 11:03:28 2013 +0000 gtkentry: Call get_*_size() vfuncs unconditionally These vfuncs cannot be NULL: implementations are provided by GtkEntry, and subclasses should not set them to NULL. Instead of conditionalising the calls to the vfuncs, assert that they’re set and call them unconditionally. This prevents the possibility of a subclass setting the vfunc to NULL and then a gtk_entry_get_*_size() call returning undefined values in its out variables. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtkentry.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 0282714d86729a7b476fe7462bb85d9ca7ca584d Author: Philip Withnall Date: Mon Dec 2 11:03:07 2013 +0000 gtkentry: Fix potential use of uninitialised variables Found with scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 586240d2f8ef5408c24b5636047487e844f309ee Author: Philip Withnall Date: Wed Nov 20 17:18:16 2013 +0000 gdkwindow: Fix potential NULL pointer dereference gdk_window_ensure_native() can end up with a NULL parent pointer, which it passes to find_native_parent_above()…but that expects a non-NULL parent. Found with scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gdk/gdkwindow.c | 3 +++ 1 file changed, 3 insertions(+) commit e99e282b5ae9190f859c6b4d3107031d5474431f Author: Andre Heinecke Date: Thu Feb 5 11:14:01 2015 +0100 Prevent empty password request popup for kerberos If auth_info_required is only set to "negotiate" the request password dialog is shown anyway for each print job without any input fields. As the request_password dialog only handles username, password and domain. https://bugzilla.gnome.org/show_bug.cgi?id=669008 modules/printbackends/cups/gtkprintbackendcups.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) commit 52f5a78c6daeaf0eec9b014d9cfefb6d844a4f6a Author: Bastian Ilsø Date: Tue Feb 10 16:55:30 2015 +0100 Update hello-world.c to GtkApplication, document docs/reference/gtk/getting_started.xml | 43 +++++++++++++- examples/hello-world.c | 104 ++++++++------------------------- 2 files changed, 65 insertions(+), 82 deletions(-) commit 01d76b7701f6b8d3e5654d679fb291826cf970bf Author: Matthias Clasen Date: Sun Mar 8 22:05:37 2015 -0400 Print dialog: Fix printer icons in HighContrast We need to make the cell renderer follow the state, for recoloring to work. gtk/ui/gtkprintunixdialog.ui | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 59d12be94ff17b0c9404f13556c5ae468f507f09 Author: Matthias Clasen Date: Sun Mar 8 21:32:38 2015 -0400 HighContrast: Some formatting fixes gtk/theme/HighContrast/_common.scss | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 9b18deee1f374637034b070e09b72b9933a84f36 Author: Matthias Clasen Date: Sun Mar 8 18:14:18 2015 -0400 Add a missing word in the docs gtk/gtkfilechooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7385784ded5b28550c51bc5e257b1c80e0494c2c Author: Aurimas Černius Date: Sun Mar 8 20:22:54 2015 +0200 Updated Lithuanian translation po/lt.po | 3692 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1955 insertions(+), 1737 deletions(-) commit 6950116678f332dc88d765f0e9c2325735e28137 Author: Emmanuele Bassi Date: Sun Mar 8 14:39:18 2015 +0000 docs: Reword the deprecation notice for gtk_widget_override_* They are a bit terse, and they should point to the preferred way of overriding the theme, i.e. using a GtkStyleProvider for your application, and custom style classes. gtk/gtkwidget.c | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) commit 247e62390ba79746edb55a8b2b5278d34db6c33b Author: Emmanuele Bassi Date: Sun Mar 8 14:29:04 2015 +0000 docs: Clarify replacement for gtk_style_context_get_background_color() It seems odd that a getter function for the style context state is replaced by a rendering call, but it makes sense in context. gtk/gtkstylecontext.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit ec567e5fad4c97c051cbe002303332bf7e97daf7 Author: Matthias Clasen Date: Sun Mar 8 09:11:51 2015 -0400 Add a test for builder-constructed file filters testsuite/gtk/builder.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) commit 6b23c4405602a79fd1772429c9ec820f56bdabdc Author: Matthias Clasen Date: Sun Mar 8 09:10:58 2015 -0400 GtkFileFilter: Set name from builder id Suggested in https://bugzilla.gnome.org/show_bug.cgi?id=577862 as a way to make file filters constructed with GtkBuilder more useful. gtk/gtkfilefilter.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit f6d0b9e9a95883554d76d806d23eefb252bd5aa0 Author: Baurzhan Muftakhidinov Date: Sun Mar 8 11:17:09 2015 +0000 Updated Kazakh translation po-properties/kk.po | 5702 ++++++++++++++++++++++++++------------------------- 1 file changed, 2874 insertions(+), 2828 deletions(-) commit 70775e1985ed14552964bf5c8f26d7b84275adc9 Author: Frédéric Péters Date: Sun Mar 8 09:43:04 2015 +0100 docs: fix reference to GTK+ 2 index of deprecated symbols docs/reference/gtk/migrating-2to3.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8ecc51ad8aa07ecad64d7732caa5fd78d9f43f4d Author: Eric Le Bihan Date: Thu Oct 23 13:00:54 2014 +0200 Fix undefined reference to get_xkb() When configuring Gtk+ with --disable-xkb, the build fails because of an undefined reference to get_xkb(). This patch fixes this issue. Signed-off-by: Eric Le Bihan https://bugzilla.gnome.org/show_bug.cgi?id=739070 gdk/x11/gdkkeys-x11.c | 2 ++ 1 file changed, 2 insertions(+) commit 4938aa9c6b7da48f9c313fc545191733cb8a7ec1 Author: Matthias Clasen Date: Sat Mar 7 18:25:57 2015 -0500 Modernize the xReply check Using AC_CHECK_TYPE instead of AC_TRY_COMPILE avoids compiler warnings from -Werror. https://bugzilla.gnome.org/show_bug.cgi?id=535929 configure.ac | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) commit 1f3328c096cf708d755fd6eb041b0e8663049ceb Author: Matthias Clasen Date: Sat Mar 7 17:48:11 2015 -0500 Avoid calling g_object_ref on NULL gtk_widget_set_visual() allows NULL for the visual, so be careful ot to ref it unconditionally. gtk/gtkwidget.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 6e7ad732fcd4ddf52f86cd5831195d969fae27fe Author: Matthias Clasen Date: Sat Mar 7 14:18:13 2015 -0500 scrolled window: Fix size requisition with overlay scrolling When the scrollbars are overlayed, the size requisition of the scrolled window should not depend on whether the scrollbars are visible or not. This was not quite the case, because we forgot one case where scrollbar size was still added to the requisition. gtk/gtkscrolledwindow.c | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) commit cbf5b49cb8692d0743706cc5f535e3ed01049c08 Author: Matthias Clasen Date: Fri Mar 6 20:33:38 2015 -0500 Add an example for accelerators with manual image menuitems This is somewhat tricky to work out, so put some example code here for future reference. The tricky part is that GtkAccelLabel tries to be smart about hiding the accel if there's not enough space, so we have to make sure to pack the label with expand=TRUE and set align=GTK_ALIGN_FILL, or things won't work. tests/teststockbuttonmenu.c | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) commit b3725a455ddd6ecca2e6cac55ac0ebd387f454e5 Author: Chun-wei Fan Date: Fri Mar 6 11:01:30 2015 +0800 test/gtkgears.c: Fix on C89 Compilers Make sure that variables are declared at the top of the block. Break up one of the sincos() calls into individual calls to sin() and cos() so that we do not have to complicate the initialization of the following GLfloat array. tests/gtkgears.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 9c545ac2e89943eae98f3d0f782b25cb67cd2eb8 Author: Changwoo Ryu Date: Fri Mar 6 22:14:03 2015 +0900 Updated Korean translation po-properties/ko.po | 4543 ++++++++++++++++++++++++++------------------------- po/ko.po | 4446 ++++++++++++++++++++++++++----------------------- 2 files changed, 4717 insertions(+), 4272 deletions(-) commit b87715973f43ada48805bd0b22bd83eb4993d315 Author: Niels Nesse Date: Tue Feb 10 20:35:01 2015 -0800 gl: Warn the user if they request a GL context version less than 3.2 If the user requests a version less than 3.2 the version is forced to 3.2. Previous checking code have an inconsistent behavior depending on which minor version number was specified. This is avoided now by temporarily converting the major/minor pair into a single integer. https://bugzilla.gnome.org/show_bug.cgi?id=744288 gdk/gdkglcontext.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) commit 064f4db0129b3fd845eb221b099e8638fd32e873 Author: Chun-wei Fan Date: Fri Mar 6 10:49:25 2015 +0800 Update config.h.win32.in for sincos() There was an added check in configure.ac for sincos() for gtkgears.c, where that function is actually a GCC- and glibc-specific extension, which is not available on Windows. Reflect on this in config.h.win32.in for the Visual Studio/Windows builds. config.h.win32.in | 3 +++ 1 file changed, 3 insertions(+) commit 45da8bf045f6cb24973b3778d0c8abd0d7b01294 Author: Chun-wei Fan Date: Fri Mar 6 10:40:46 2015 +0800 MSVC Builds: "Install" .pdb Files "Install" the .pdb files that were generated along with the build, to make it easier for people to develop and debug GTK+, especially when used as a stack, and as the .pdb files are already generated with all builds. Also make the copy of the .dll, .lib and .exe files more selective so that we do not accidently copy files that are not meant to be "installed", or end up making extra copies of plugin DLLs in the wrong places, when the projects here are included as a part of a grand solution that is used to build the entire GTK+ stack, for example. build/win32/vs10/gtk-install.props | 73 +++++++++++++++++++++++++++++-------- build/win32/vs9/gtk-install.vsprops | 67 ++++++++++++++++++++++++++-------- 2 files changed, 110 insertions(+), 30 deletions(-) commit 91bc4143605348c64ef1c5c7a4a799dfd4ff9e79 Author: Chun-wei Fan Date: Fri Mar 6 10:25:18 2015 +0800 MSVC 2010+ Builds: Fix .pdb Generation For Visual Studio 2010 and later, the .pdb filename needs to be explicitly specified so that it will match the filename of the target, if the project name differs from the filename of the target. Make sure that is the case for the 3 DLLs that we build for Visual Studio 2010 and later. build/win32/vs10/gailutil.vcxproj | 4 ++++ build/win32/vs10/gdk.vcxprojin | 8 ++++++++ build/win32/vs10/gtk.vcxprojin | 4 ++++ 3 files changed, 16 insertions(+) commit e2190d7a01826e6a0866b77e44a83a39fb536959 Author: Piotr Drąg Date: Thu Mar 5 23:47:51 2015 +0100 Updated Polish translation po-properties/pl.po | 4495 ++++++++++++++++++++++++++------------------------- po/pl.po | 4337 ++++++++++++++++++++++++++----------------------- 2 files changed, 4689 insertions(+), 4143 deletions(-) commit 7fbbf850c3be3e3e27c71821193cd64263328271 Author: Matthias Clasen Date: Thu Mar 5 16:06:22 2015 -0500 Improve some GtkStock deprecation notes Point at edit-delete and edit-paste as available icons. gtk/deprecated/gtkstock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1fb172011c0571f63cb67e84346df05b2ad2b3ff Author: Dušan Kazik Date: Thu Mar 5 13:17:37 2015 +0000 Updated Slovak translation po-properties/sk.po | 6351 ++++++++++++++++++++++++++------------------------- 1 file changed, 3212 insertions(+), 3139 deletions(-) commit 4691049f9e24d2dcad717d79c3a6edd8b624f163 Author: Dušan Kazik Date: Thu Mar 5 12:14:18 2015 +0000 Updated Slovak translation po/sk.po | 3582 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1934 insertions(+), 1648 deletions(-) commit 40c8d8bcf414e58a28abbdde9571e83cc137c0fe Author: Carlos Garnacho Date: Tue Mar 3 22:17:58 2015 +0100 window: Add comment documenting the target widget checks during window drag Was suggested during review of https://bugzilla.gnome.org/show_bug.cgi?id=745562#c2 gtk/gtkwindow.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 08b5de78364d48e373bfa6af403d1ce84adad10f Author: Claude Paroz Date: Thu Mar 5 08:49:25 2015 +0100 Updated French translation po-properties/fr.po | 2694 +++++++++++++++++++++++++++------------------------ 1 file changed, 1450 insertions(+), 1244 deletions(-) commit 6ac3ec0b53023f114acba1f4e3ad0c7368ea0ecc Author: Matthias Clasen Date: Wed Mar 4 21:56:02 2015 -0500 HighContrast: Make sure selections are visible in infobars Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=745622 gtk/theme/HighContrast/_common.scss | 5 +++++ gtk/theme/HighContrast/gtk.css | 13 +++++++++++++ 2 files changed, 18 insertions(+) commit 2b7eaaf86ed3542c0fe2db227cbe16bc5143740b Author: Matthias Clasen Date: Wed Mar 4 21:55:11 2015 -0500 Adwaita: Make sure selections are visible in infobars Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=745622 gtk/theme/Adwaita/_common.scss | 5 + gtk/theme/Adwaita/gtk-contained-dark.css | 216 +++++++++++-------------------- gtk/theme/Adwaita/gtk-contained.css | 216 +++++++++++-------------------- 3 files changed, 151 insertions(+), 286 deletions(-) commit 08494f86a062713ca99f71a0cc29bde9e762592c Author: Carlos Garnacho Date: Tue Mar 3 22:17:58 2015 +0100 widget: Improve hack to ignore drags from widgets using motion events Postpone until the last moment whether the target widget still potentially uses updates from this sequence, or window dragging actually applies because all gestures on the target went to denied state. This fixes window dragging on empty space in a headerbar that is contained in a paned (as in e.g. gedit). https://bugzilla.gnome.org/show_bug.cgi?id=745562 gtk/gtkwidget.c | 12 +++++++----- gtk/gtkwidgetprivate.h | 3 ++- gtk/gtkwindow.c | 29 +++++++++++++++++------------ 3 files changed, 26 insertions(+), 18 deletions(-) commit 768e6a45796aec32bbc2119e5742ac2332b1c084 Author: Matthias Clasen Date: Wed Mar 4 20:35:09 2015 -0500 Ensure print-related types are registered These types are not covered by g_test_register_all_types, and having the types registered when a print dialog is used helps in cases where GTK+ is dlopened. https://bugzilla.gnome.org/show_bug.cgi?id=745065 gtk/gtkprintunixdialog.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit ce9a5a3fecd10acc464252c21de8a3a92ea013e1 Author: Georges Basile Stavracas Neto Date: Wed Mar 4 17:12:40 2015 -0300 places sidebar: compare bookmarks by index GtkPlacesSidebar applies a sorting function on the tree model that does not consider the case of bookmarks, which are sorted by their indexes. By adding the bookmarks corner case and comparing then by their indexes, GtkPlacesSidebar can sort the bookmarks properly in the order they're saved. https://bugzilla.gnome.org/show_bug.cgi?id=744589 gtk/gtkplacessidebar.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 17bc7aaefd0e1ab78b14f6d5430b7831b6af2b99 Author: Matthias Clasen Date: Wed Mar 4 06:30:13 2015 -0500 Check for existence of sincos It apparently doesn't exist everywhere. https://bugzilla.gnome.org/show_bug.cgi?id=745578 configure.ac | 2 +- tests/gtkgears.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) commit 71bd1c7e2c5252b5103bf029e437787e0a002951 Author: Matthias Clasen Date: Tue Mar 3 18:02:09 2015 -0500 file chooser: Really stop typeahead search popups GtkTreeView is a bad widget and constantly resets the search-column behind our back. We need to re-unset it every time a model is set :-( gtk/gtkfilechooserwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b92573e42e19fd7f49f34abeb66475ce8c519e3a Author: Fran Dieguez Date: Tue Mar 3 23:44:15 2015 +0100 Updated Galician translations po/gl.po | 1774 +++++++++++++++++++++++++++----------------------------------- 1 file changed, 779 insertions(+), 995 deletions(-) commit 76c66ef2ed0cfe62d40b6bf02520281debee17a5 Author: Matthias Clasen Date: Tue Mar 3 15:00:06 2015 -0500 make-pot: Document variables Damn-lies will have to use one of these to override the name of the generated file. Lets document them all, while I still remember this. make-pot | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 5751d4f66e6a95e46df11a603a9a770281ee7e9b Author: Carlos Garnacho Date: Tue Mar 3 17:43:14 2015 +0100 filechooser: Only do search_start_query() while we are in search mode This signal can be emitted by GtkSearchEntry after search has been cancelled, and other operation mode is set. It doesn't make sense to populate the search model in that state anymore, so just avoid doing it. https://bugzilla.gnome.org/show_bug.cgi?id=745479 gtk/gtkfilechooserwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit b2f3b674946ae9b1f335b4222f7942067f232baa Author: Carlos Garnacho Date: Tue Mar 3 13:36:07 2015 +0100 searchenginetracker: Keep a reference on the search engine while querying The object might be destroyed when mid operation, causing crashes as the query callback still expects the object pointer to be valid. Also, remove the gdk_threads_enter/leave pairs, the callback will be executed on the caller (UI) thread, so this is not necessary. https://bugzilla.gnome.org/show_bug.cgi?id=745479 gtk/gtksearchenginetracker.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit a994f4edfb744b83e392d1b8dd8689b5b146ce01 Author: Carlos Garnacho Date: Tue Mar 3 13:34:03 2015 +0100 filechooser: Disconnect signal handlers from search engine before destroying The search engine might stay alive longer due to extra temporary refs, so the signal handlers should be removed for the filechooser to ignore these properly. https://bugzilla.gnome.org/show_bug.cgi?id=745479 gtk/gtkfilechooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 79321c0d8a0a5ed75a441b6720aaf8edb0dba6f9 Author: Matthias Clasen Date: Tue Mar 3 07:11:41 2015 -0500 Make a pot generating command available Translators don't want to run autogen before generating pot, so give them a script. Makefile.am | 3 ++- make-pot | 61 ++++++++++++++++++++++++++++++++++++++++++++ po-properties/Makefile.in.in | 13 +++++----- po/Makefile.in.in | 36 ++++++-------------------- 4 files changed, 77 insertions(+), 36 deletions(-) commit 48c93fb347d475cd4547b4fbf88afa2ef369b220 Author: Chun-wei Fan Date: Tue Mar 3 18:40:32 2015 +0800 MSVC 2008 Builds: Speed Up Release Builds Use the /MP compiler option, where the build time for release builds can be cut down by quite a bit. This will however cause a brief warning with debug builds due to the use of /Gm, but the code will otherwise build normally. Unlike the Visual Studio 2010+ builds, we can't use /d2Zi+ as Visual Studio 2008 does not support that, so we can't get a better debugging experience for release builds here. build/win32/vs9/gtk-build-defines.vsprops | 1 + 1 file changed, 1 insertion(+) commit 163f7e75bf8f56b8440ecbafdf88470708e9d934 Author: Chun-wei Fan Date: Tue Mar 3 18:36:00 2015 +0800 Fix "MSVC Builds: Update icon-browser Projects" The Visual Studio 2008 Project was not updated correctly, so fix that. build/win32/vs9/gtk3-icon-browser.vcproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bb78a39103cdee8cfb6e589c7d293456b18817c9 Author: Stefan Sauer Date: Tue Mar 3 07:49:38 2015 +0100 tooltip: remove unused variable and related g_object_set We never use the value of has_tooltip. This is a left-over from the refactoring of gtk_tooltip_run_requery(). gtk/gtktooltip.c | 3 --- 1 file changed, 3 deletions(-) commit 05ef31362dbe319dafbdf4af8b3c71f822117e9d Author: Chun-wei Fan Date: Tue Mar 3 14:08:51 2015 +0800 MSVC Builds: Update icon-browser Projects There is a new source file that needs to be built, so fix the projects... build/win32/vs10/gtk3-icon-browser.vcxproj | 1 + build/win32/vs10/gtk3-icon-browser.vcxproj.filters | 1 + build/win32/vs9/gtk3-icon-browser.vcproj | 1 + 3 files changed, 3 insertions(+) commit a4f69408ac0f9068ad26504c3774c80f4381db61 Author: Chun-wei Fan Date: Tue Mar 3 14:07:26 2015 +0800 MSVC Builds: Improve Build Speed and Debugging Use Multiprocessor compilation which can cut down build times by quite a bit and use the /d2Zi+ flag to have better debugging info being logged to the .pdb for release builds. These are only applicable for Visual Studio 2010/2012 and later. build/win32/vs10/gtk-build-defines.props | 2 ++ 1 file changed, 2 insertions(+) commit e31a936e3e9b26cee35f51b6bd822803539c59db Author: Chun-wei Fan Date: Tue Mar 3 12:14:24 2015 +0800 gtkswitch.c: Fix Build on C89 Compilers This file now uses round(), which was not available until C99, so include fallback-c89.c instead of math.h, which includes math.h and does a fallback implementation of round(). gtk/gtkswitch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)