commit c0e3b6ce71015741b154b44db08d0c473aa4f163 Author: Matthias Clasen Date: Sat Oct 3 14:08:42 2015 -0400 fixup build/win32/vs10/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit edcdba6223fba6dc99ea9397ef5bfa90f67cdbec Author: Matthias Clasen Date: Fri Oct 2 08:35:33 2015 -0400 3.18.1 NEWS | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 50 insertions(+), 2 deletions(-) commit cfcd28041caf450fdddc1679445c70c030e95a62 Author: Matthias Clasen Date: Sat Oct 3 00:00:51 2015 -0400 Fix make check testsuite/gtk/ui/celllayout2.expected | 2 +- testsuite/gtk/ui/dialog3.expected | 2 +- testsuite/gtk/ui/infobar2.expected | 2 +- testsuite/gtk/ui/label3.expected | 2 +- testsuite/gtk/ui/levelbar4.expected | 2 +- testsuite/gtk/ui/scale4.expected | 2 +- testsuite/gtk/ui/scale5.expected | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) commit eabdaf17dc1e3c06a60feb97b50eb5228eff781b Author: Matthias Clasen Date: Fri Oct 2 06:57:05 2015 -0400 file chooser: Clear busy cursor before showing error It looks odd to still have a busy cursor while the error dialog is presented. gtk/gtkfilechooserwidget.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 7d4ed3692ed84986dcb02847b083c361454b5267 Author: Matthias Clasen Date: Thu Oct 1 23:32:30 2015 -0400 file chooser: Improve search focus handling Move focus to list when search results appear to make it possible to select the first search result by just hitting Enter. To keep this from interfering with keynav, we need to make sure that we still handle Escape to search. And when search comes up empty, we need to move the focus back to the entry. https://bugzilla.gnome.org/show_bug.cgi?id=755926 gtk/gtkfilechooserwidget.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit 134c2ea799de69a2c81a9c8f4abf139fa28cc6f4 Author: Matthias Clasen Date: Thu Oct 1 22:59:57 2015 -0400 file chooser: Don't select in the search entry The stack calls gtk_widget_grab_focus on the last focus widget, which selects the text in the entry, so we need to make sure to move the focus there first to keep that from happening. https://bugzilla.gnome.org/show_bug.cgi?id=755931 gtk/gtkfilechooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 707a071c660438235b45ecb66a5610590594b9cb Author: Emmanuele Bassi Date: Thu Oct 1 18:58:32 2015 +0100 app: Warn when trying to add windows on an inert instance Application windows can only be added after the application has been started. https://bugzilla.gnome.org/show_bug.cgi?id=755954 gtk/gtkapplication.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit 42b02d9d01cc7b3cf4282550e93bef8363408eea Author: Olivier Fourdan Date: Thu Oct 1 15:46:50 2015 +0200 window: ignore resize increments for maximized/fullscreen Once a window is maximized/fullscreen, resize increments should be ignored otherwise the window may appear smaller than the screen size. That also applies to configure requests as well. https://bugzilla.gnome.org/show_bug.cgi?id=751368 gtk/gtkwindow.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit f0ba65687aa5741abb60b7836ceefa198b973622 Author: Seán de Búrca Date: Wed Sep 30 20:32:54 2015 -0600 Updated Irish translation po/ga.po | 4373 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 2375 insertions(+), 1998 deletions(-) commit 84c7f6c747e646e45c0a2297ebd30a198b394b5a Author: Matthias Clasen Date: Wed Sep 30 18:42:20 2015 -0400 header bar: Show a non-pixellated app icon Load a hi-dpi icon when we are running with scale=2. https://bugzilla.gnome.org/show_bug.cgi?id=751787 gtk/gtkheaderbar.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 983cd2f7cc9e7d7f54a07d6b286e24e0a8dc37d5 Author: Matthias Clasen Date: Tue Sep 29 21:19:06 2015 -0400 gdkgears: Use a headerbar This is a testcase for https://bugzilla.gnome.org/show_bug.cgi?id=755675 tests/gdkgears.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3e39ec57433cd5861a33b01dca989dac023df54a Author: Timm Bäder Date: Wed Sep 23 17:36:39 2015 +0200 GtkPopover: Make transitions faster https://bugzilla.gnome.org/show_bug.cgi?id=755528 gtk/gtkpopover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 565677a22c6fb1af4ae153ce2299e3faf7484b33 Author: Matthias Clasen Date: Tue Sep 29 15:15:06 2015 -0400 header bar: Don't leave a dangling pointer This might be the cause for some crashes, like https://bugzilla.redhat.com/show_bug.cgi?id=1264558 gtk/gtkheaderbar.c | 2 ++ 1 file changed, 2 insertions(+) commit de70ad6c3b5386d7c171ce1fbd935936328dfe97 Author: Matthias Clasen Date: Tue Sep 29 09:42:02 2015 -0400 Use direct GValue access in our marshallers These are used for every signal emission, so we should make them as fast as we can. gtk/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit d9f05aa3f9ecf54ff68295616c92d0f03e3e911c Author: Matthias Clasen Date: Tue Sep 29 09:40:00 2015 -0400 rounded rect: cache arcs We are only ever drawing axis-aligned quarter arcs here. By caching these paths, sincos drops from the profiles for drawing-heavy workloads. gtk/gtkroundedbox.c | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 76 insertions(+), 2 deletions(-) commit a768798f2b520b3a385b51f704f76b30020d617a Author: Matthias Clasen Date: Mon Sep 28 22:45:11 2015 -0400 container: Avoid duplicate calls to should_propagate We were calling gtk_container_should_propagate_draw twice for each child. We can avoid this by splitting out an gtk_container_propagate_draw_internal function. gtk/gtkcontainer.c | 89 ++++++++++++++++++++++++++++++------------------------ 1 file changed, 49 insertions(+), 40 deletions(-) commit 12be4b04f81feb6ec3d69813478e0e61a2a90baa Author: Matthias Clasen Date: Mon Sep 28 15:08:26 2015 -0400 Drop some redundant cairo_save calls Almost all callers of _gtk_widget_draw already did their own cairo_save/restore, so drop the save/restore calls inside _gtk_widget_draw and instead fix the last caller, gtk_widget_draw, to do the same. gtk/gtkwidget.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit eaddbb2dcab0640fa87195174a84e0f358a857a1 Author: Matthias Clasen Date: Mon Sep 28 15:02:36 2015 -0400 Trivial: Move a cairo_save call Move the cairo_save call to where it is needed. gtk/gtkcontainer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 5bf47338e89399c15ba73a3d5cc31d27544f4d2b Author: Timm Bäder Date: Wed Sep 23 11:30:52 2015 +0200 GtkPopover: Remove apply_shape field This was introduced in 2d9c09d6 alongside a private setter, but that setter has been removed and the field is always TRUE. gtk/gtkpopover.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 8a6b72063281e1732ac09d744b5eb344df94a7d2 Author: Timm Bäder Date: Tue Sep 22 20:27:51 2015 +0200 GtkPopover: Don't resize during the transition Call gtk_popover_update_position instead which will pick up the new transition_diff value and pass it on to _gtk_window_set_popover_position, which in turn will move the window correctly. https://bugzilla.gnome.org/show_bug.cgi?id=755435 gtk/gtkpopover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b92213e49d898f3528d44452634dc14c93230e98 Author: Timm Bäder Date: Wed Sep 23 08:56:56 2015 +0200 GtkWindow: Don't needlessly resize popovers Check whether the given popover even changed size in _gtk_window_set_popover_position. If not, just move its GdkWindow without calling gtk_widget_queue_resize. Using popover_get_rect here is still relatively costly, but popover_size_allocate would be doing that anyway. https://bugzilla.gnome.org/show_bug.cgi?id=755435 gtk/gtkwindow.c | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) commit eb8a64982e4a6294bfa513b385d0cbb42b796686 Author: Timm Bäder Date: Tue Sep 22 18:25:26 2015 +0200 GtkPopover: Remove _get_pointed_to_coords It's only used once and removing it only adds a single line there. https://bugzilla.gnome.org/show_bug.cgi?id=755435 gtk/gtkpopover.c | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) commit 5ea692df23cf6caed7624554be46b8f39fe008ce Author: Milo Casagrande Date: Mon Sep 28 14:32:59 2015 +0000 Updated Italian translation po/it.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit ffcaf304ad7de6e8b65ad640b9ea10279983b9fb Author: Milo Casagrande Date: Mon Sep 28 13:25:45 2015 +0000 Updated Italian translation po/it.po | 428 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 213 insertions(+), 215 deletions(-) commit a9b069524c0e50e7b365e7fed7b4d6c8b59334ef Author: Matthias Clasen Date: Mon Sep 28 06:28:51 2015 -0400 Return a value from ::command-line handler The signal expects a return value, so give it one. https://bugzilla.gnome.org/show_bug.cgi?id=755692 demos/gtk-demo/main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 130fc6ce9bb8e5df381b9e6956fb42ea889bb769 Author: Matthias Clasen Date: Mon Sep 28 01:43:03 2015 -0400 css style: Accumulate changes in place This avoids allocating a temporary bitmask, and lets us avoid some value comparisons altogether. gtk/gtkcssstyle.c | 16 +++++++++------- gtk/gtkcssstyleprivate.h | 3 ++- gtk/gtkcsswidgetnode.c | 7 ++----- 3 files changed, 13 insertions(+), 13 deletions(-) commit ac198a3ce6548b59d7833add4ac8853060ab1b39 Author: Matthias Clasen Date: Sun Sep 27 20:20:29 2015 -0400 Add a few more inlined getters gtk/gtkcontainer.c | 41 +++++++------- gtk/gtkwidget.c | 34 +++++------- gtk/gtkwidgetprivate.h | 13 +++++ gtk/gtkwindow.c | 148 ++++++++++++++++++++++++------------------------- 4 files changed, 122 insertions(+), 114 deletions(-) commit 65ec902df9d5e0880fce44d5a9afc33c008b009b Author: Matthias Clasen Date: Sun Sep 27 14:06:27 2015 -0400 Remove overhead in gdk_window_get_user_data This function is called very frequently during in GTK+'s drawing paths, and thus should not carry unexpected costs. gdk/gdkwindow.c | 2 -- 1 file changed, 2 deletions(-) commit 6f163985a72f392ce2a7ff414b5c249977a791ce Author: Trần Ngọc Quân Date: Mon Sep 28 15:51:05 2015 +0700 Updated Vietnamese translation Signed-off-by: Trần Ngọc Quân po-properties/vi.po | 4635 +++++++++++++++++++++++++++------------------------ po/vi.po | 1558 ++++++++++------- 2 files changed, 3406 insertions(+), 2787 deletions(-) commit 09a0a4202617db28b9ddbadf76f61fb5bca0db90 Author: Milo Casagrande Date: Sun Sep 27 21:13:14 2015 +0000 Updated Italian translation po/it.po | 1504 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 962 insertions(+), 542 deletions(-) commit 91843241e1dbbdad23dc35c5cbc4b5bedf9f8e80 Author: Milo Casagrande Date: Sun Sep 27 21:00:15 2015 +0000 Updated Italian translation po-properties/it.po | 4761 ++++++++++++++++++++++++++++----------------------- 1 file changed, 2589 insertions(+), 2172 deletions(-) commit c66e8bc586905635a47ebf21624c649da7ec288b Author: Stas Solovey Date: Sun Sep 27 20:39:52 2015 +0000 Updated Russian translation po/ru.po | 342 ++++++++++++++++++++++++++------------------------------------- 1 file changed, 138 insertions(+), 204 deletions(-) commit f6705c278c22be4890a1d378b02befce05089635 Author: Милош Поповић Date: Sun Sep 27 15:56:34 2015 +0000 Updated Serbian Latin translation po-properties/sr@latin.po | 4810 ++++++++++++++++++++++++--------------------- 1 file changed, 2608 insertions(+), 2202 deletions(-) commit 87d3760f4805573795aefecb01663fbef36c00ed Author: Марко Костић Date: Sun Sep 27 15:55:22 2015 +0000 Updated Serbian translation po-properties/sr.po | 4811 ++++++++++++++++++++++++++++----------------------- 1 file changed, 2609 insertions(+), 2202 deletions(-) commit 7c762fe1c4c7f32b81da3beaccfc3c35471e5af5 Author: Benjamin Otte Date: Sun Sep 27 13:20:52 2015 +0200 bitmask: Use gsize, not size_t We want to use the same type everywhere to avoid surprises. gtk/gtkbitmaskprivateimpl.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 97293865b5c3e10fa65009e5f787312a17f47b06 Author: Dmitry Shachnev Date: Sun Sep 27 15:10:15 2015 +0200 bitmask: Don't hardcode 64bit size This looks like an oversight from "quickly testing a potential fix" and then forgetting to make a production-ready when it works. https://bugzilla.gnome.org/show_bug.cgi?id=755691 gtk/gtkallocatedbitmask.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit df3304054d7f38fd9f6de9cd9afa837c076c5a5c Author: Yosef Or Boczko Date: Sun Sep 27 11:30:57 2015 +0300 Updated Hebrew translation po/he.po | 514 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 257 insertions(+), 257 deletions(-) commit ff3cb8ac7168da084e49203e835b11dfe751aad8 Author: Matthias Clasen Date: Sun Sep 27 00:32:40 2015 -0400 Avoid copying lists during draw We can use gdk_window_peek_children here, instead of copying the list. Note that we preserve the bottom-to-top ordering by iterating the list from the end. gdk_window_get_children_with_user_data was doing a list reversal while filtering the list. gtk/gtkwidget.c | 121 ++++++++++++++++++++++++++++++-------------------------- 1 file changed, 66 insertions(+), 55 deletions(-) commit 001ba79dd61ece16696fed3b8dc0f1dc4a940860 Author: Matthias Clasen Date: Sat Sep 26 10:19:24 2015 -0400 Refactor gtk_widget_add_events_internal_list Avoid copying the child window lists. It is not necessary. gtk/gtkwidget.c | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) commit 1cac30b6f3e020c4d8fd1843d631ccf0558943cc Author: Matthias Clasen Date: Sat Sep 26 10:12:16 2015 -0400 Refactor gtk_widget_set_device_enabled_internal Instead of constructing a single list of all windows associated to a widget, just iterate the children lists recursively, avoiding allocations. gtk/gtkwidget.c | 102 ++++++++++++++++++++++++-------------------------------- 1 file changed, 43 insertions(+), 59 deletions(-) commit ce8616f44ca5d3479810a275c182dbc584a7bf94 Author: Piotr Drąg Date: Sat Sep 26 18:00:14 2015 +0200 Fix Uyghur translation of default:mm po/ug.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5d990581bd5a34801b84e9eed6797e742243f246 Author: Piotr Drąg Date: Sat Sep 26 17:59:35 2015 +0200 Fix Tajik translation of default:mm po/tg.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 46eea037284c18355eb7b5d87545e267978340c8 Author: Piotr Drąg Date: Sat Sep 26 17:56:20 2015 +0200 Fix Khmer translation of default:mm po/km.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b340d5c09e16c23bfa46da14da533ca3bf7cb89a Author: Piotr Drąg Date: Sat Sep 26 17:56:04 2015 +0200 Fix Khmer translation of default:LTR po/km.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit affe356ce091bf4b2ce8b8cda8e2d9b63013c214 Author: Piotr Drąg Date: Sat Sep 26 17:55:37 2015 +0200 Fix Kikongo translation of default:mm po/kg.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7a60df3fee6c9c56a215dc88e5ec0e3732e9a9ee Author: Piotr Drąg Date: Sat Sep 26 17:54:36 2015 +0200 Fix Kikongo translation of default:LTR po/kg.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0d332dcda4afa46818bc3bb6ae1477acf7e7dee7 Author: Piotr Drąg Date: Sat Sep 26 17:51:07 2015 +0200 Fix Bosnian translation of default:mm po/bs.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6e83c3b92e3013881eb97e691f96e2101a218eb5 Author: Carlos Soriano Date: Fri Sep 25 13:57:24 2015 +0200 gtkbookmarksmanager: don't allow non valid utf8 in bookmarks In case some client send to us a non valid utf8 string, don't screw up the bookmarks file and just return. https://bugzilla.gnome.org/show_bug.cgi?id=755215 gtk/gtkbookmarksmanager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ecc698a282ac69e747026f58ac43eee7958be626 Author: Carlos Soriano Date: Thu Sep 24 15:54:15 2015 +0200 gtkplacessidebar: avoid to use a freed string The string we were using is the representation of the internal text in the popover entry. However that can be freed before setting the bookmark label, if i.e. the row is destroyed and therefore the popover as well. To avoid that, duplicate the label in a local variable. One of the consequences is that for those people using development version we migth screwed its bookmarks file, since the bookmark manager wrote garbage from the already freed label. https://bugzilla.gnome.org/show_bug.cgi?id=755215 gtk/gtkplacessidebar.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 8eea531f25c2ae9fd5b3f865d860c517f2f0fa0f Author: Chun-wei Fan Date: Fri Sep 25 12:54:26 2015 +0800 build/Makefile-newvs.am: Update Comments for Usage Update the notes that this is also used for Visual Studio 2015 support, and correct the MSVC_VER_LONG for MSVC 2015, which is 14, not 2015. Also add a note that this can be used for other projects that have Visual Studio build support. build/Makefile-newvs.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit e88e68c2bdc7da42357897a701974280b8d5c21e Author: Chun-wei Fan Date: Fri Sep 25 12:25:13 2015 +0800 Build: Make Makefile.msvcproj A Bit More Generic Handle also the situation where $(srcdir) == $(top_srcdir), so that this can also be used in cases like librsvg and gobject-introspection. build/Makefile.msvcproj | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) commit f2fd655754407103f8fb9b2c3e7586fb595ab917 Author: Carlos Garnacho Date: Thu Sep 24 20:25:26 2015 +0200 textview: Look up the drop location iter on the right coordinates on DND We are passing widget coordinates to gtk_text_view_window_to_buffer_coords() which expects coordinates to be relative to the text window in this case. This may result in drop coordinates being displaced if the side windows to the top/left sides are visible and taking space, so the DnD indicator will point to the wrong position. This can be seen on gnome-builder and gedit when displaying line numbers. gtk/gtktextview.c | 3 +++ 1 file changed, 3 insertions(+) commit 0f86e37dae77e67fd5a79365362826bf48798390 Author: Christian Kirbach Date: Thu Sep 24 17:01:47 2015 +0000 Updated German translation po/de.po | 1801 +++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 1182 insertions(+), 619 deletions(-) commit bf9c9f17627ebd049d8b2b5ccc6bab27ce37fcca Author: Michael Weghorn Date: Thu Aug 13 22:36:05 2015 +0200 Don't mix in user options of printer instances GTK+ currently does not support printer instances in the printing dialog. This commit avoids user options set for specific instances of a printer being accidently applied to the printer with the same name but no specific instance defined. https://bugzilla.gnome.org/show_bug.cgi?id=753628 https://bugzilla.gnome.org/show_bug.cgi?id=582747 modules/printbackends/cups/gtkprintbackendcups.c | 3 --- 1 file changed, 3 deletions(-) commit 020af232967a655e10eb8bf367945a097a61cd67 Author: Emmanuele Bassi Date: Thu Sep 24 08:27:45 2015 +0100 build: Dist toarray.pl Some distributions (MSYS2, Debian) call autoreconf on a tarball because they change the autotools artifacts. In order to rebuild the Broadway generated files, we need to ship the scripts that we use when disting a release. gdk/broadway/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit 9dfa8e200db6c4f5922dad812135dda4ef87dc2e Author: Jakub Steiner Date: Wed Sep 23 00:55:17 2015 +0200 HC: use round buttons on sidebars Copy Adwaita in how sidebar icon buttons look https://bugzilla.gnome.org/show_bug.cgi?id=755268 gtk/theme/HighContrast/_common.scss | 43 +++++++++++++++++------- gtk/theme/HighContrast/gtk.css | 66 +++++++++++++++++++++---------------- 2 files changed, 68 insertions(+), 41 deletions(-) commit 5c0447fa44ee8bfdad7290025a48e5431a9dfb9d Author: Carlos Soriano Date: Wed Sep 23 16:13:48 2015 +0200 gtkplacessidebar: avoid accessing destroyed popover The row and rename popovers are always relative_to a row. We also keep a pointer to them so we can interact with them in callbacks. However, if the row is destroyed its associated popovers will be destroyed as well as relative_to destroyes and frees memory of its associated widget when its relative_to widget is destroyed. If we, for example, update the places while the popover is shown we are going to access and invalid widget on the next time. To avoid that, connect to the destroy signal of the popovers and clean the sidebar pointers when that happens. https://bugzilla.gnome.org/show_bug.cgi?id=755444 gtk/gtkplacessidebar.c | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) commit 02306867c3e1fc5c047d569ead9f45fb6f791e7d Author: Timm Bäder Date: Wed Sep 23 18:29:50 2015 +0200 GtkWindow: Check for popover realized-ness before unrealizing https://bugzilla.gnome.org/show_bug.cgi?id=755473 gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5167f525a313ff97e7587f956c8d817574e93238 Author: Timm Bäder Date: Tue Sep 15 09:19:31 2015 +0200 gtkmain: Add nullable annotations https://bugzilla.gnome.org/show_bug.cgi?id=755038 gtk/gtkmain.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 6e4d4a40ce141b8b87388eefe7430bf53133f4a7 Author: Khaled Hosny Date: Wed Sep 23 23:44:37 2015 +0200 Update Arabic translation po/ar.po | 4071 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 1981 insertions(+), 2090 deletions(-) commit aff6835f1b854dfda1934e843d46a569c549c78c Author: Matthias Clasen Date: Wed Sep 23 14:35:58 2015 -0400 application: Be save against impl being NULL We clear the impl in shutdown, so all callbacks that may happen at a later time need to be prepared for this. https://bugzilla.gnome.org/show_bug.cgi?id=755432 gtk/gtkapplication.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 1374645089e1e4d17b2e6c064a659813c2bf87a2 Author: Chun-wei Fan Date: Wed Sep 23 23:31:23 2015 +0800 Fix make dist Commit ea241c6 dropped the wrong private header from dist, so correct this to fix 'make dist' gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ac62479c9ecceda406b110f0623ac6f031c352af Author: Chun-wei Fan Date: Wed Sep 23 23:24:36 2015 +0800 Fix Visual Studio Build Since a080cb4 The patch did not check for Visual Studio 2008 correctly, plus it would break the build on later Visual Studio versions, as it should be __popcnt(), not __popcount(). Fix that. gtk/gtkcssselector.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit a080cb40b90e9893fd9dd0c47367808744c17e22 Author: Emmanuele Bassi Date: Wed Sep 23 11:01:46 2015 +0100 Improve compiler detection for __builtin_popcount() The popcount builtin was added in GCC after version 4.2 (which is what some *BSDs are using), which means we need to be more specific when using it than just asking for GCC. While we're at it, we can improve the compiler detection, and use a builtin popcount on Clang ≥ 3.1 and MSVC 2008. https://bugzilla.gnome.org/show_bug.cgi?id=755455 gtk/gtkcssselector.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 3c54fbd3acb572d8b7e6022bc3de496689a9bb62 Author: Matthias Clasen Date: Sun Sep 20 02:32:48 2015 -0400 Use stupid quotes instead of dumb quotes Following a similar change in GLib a while ago. 'bla' may by stupid, but it looks less dumb than `bla'. gtk/gtkbindings.c | 16 ++++++------- gtk/gtkbuilder.c | 20 ++++++++--------- gtk/gtkcellarea.c | 56 +++++++++++++++++++++++----------------------- gtk/gtkcellrenderer.c | 2 +- gtk/gtkcellrenderertext.c | 4 ++-- gtk/gtkcellview.c | 2 +- gtk/gtkcontainer.c | 30 ++++++++++++------------- gtk/gtkcssimagelinear.c | 8 +++---- gtk/gtkcssparser.c | 2 +- gtk/gtkfilechooserbutton.c | 4 ++-- gtk/gtklabel.c | 4 ++-- gtk/gtklinkbutton.c | 2 +- gtk/gtkrecentchoosermenu.c | 2 +- gtk/gtkrecentmanager.c | 18 +++++++-------- gtk/gtksettings.c | 4 ++-- gtk/gtkstylecontext.c | 12 +++++----- gtk/gtkstyleproperty.c | 2 +- gtk/gtktextbtree.c | 24 ++++++++++---------- gtk/gtktextbuffer.c | 4 ++-- gtk/gtktexttag.c | 6 ++--- gtk/gtkwidget.c | 20 ++++++++--------- 21 files changed, 121 insertions(+), 121 deletions(-) commit 1d46dfb0a78c2967f80af89ae3059e1439abb16f Author: Matthias Clasen Date: Sun Sep 20 02:10:11 2015 -0400 container: Use qdata for focus chain gtk/gtkcontainer.c | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) commit c7c1f9ff613a0503d06708f533a11f46b72612b9 Author: Matthias Clasen Date: Sun Sep 20 02:01:46 2015 -0400 widget: Add a few more inlined getters gtk/gtkcontainer.c | 32 ++++++++++++------------ gtk/gtkwidget.c | 66 +++++++++++++++++++++++++------------------------- gtk/gtkwidgetprivate.h | 12 +++++++++ 3 files changed, 62 insertions(+), 48 deletions(-) commit da45d29dbcad003a6c8435c0790a4ca61b953269 Author: Matthias Clasen Date: Sun Sep 20 01:22:21 2015 -0400 size group: Streamline disposal Remove widgets from their size groups in dispose, without connecting to ::destroy. The signal handler is not necessary. gtk/gtksizegroup.c | 19 ++----------------- gtk/gtkwidget.c | 11 +++++++++++ 2 files changed, 13 insertions(+), 17 deletions(-) commit cd35a14bbb724baf1fa07b124abb05e4bd6ce69e Author: Matthias Clasen Date: Sun Sep 20 00:55:23 2015 -0400 size request: Avoid unnecessary reffing There is no particular reason why we should have to ref the widgets if they are in a size group - we are not reffing them in the simple case either. gtk/gtksizerequest.c | 4 ---- 1 file changed, 4 deletions(-) commit e0be07665236fd95de8cff5a0758a8655752cbf9 Author: Matthias Clasen Date: Sun Sep 20 00:50:27 2015 -0400 size group: streamline iteration slightly Instead of handling the horizontal and vertical peers separately (and often, duplicatively), collect all peers in one go. At the same time, avoid creating and destroying hash tables more often than necessary. gtk/gtksizegroup.c | 59 ++++++++++++++++++++++-------------------------------- 1 file changed, 24 insertions(+), 35 deletions(-) commit ac72a9cedc55fd37dc9a7fb4d36708644c5a8f9b Author: Matthias Clasen Date: Sun Sep 20 00:12:16 2015 -0400 inspector: Ellipsize the accessible name It can be long, and we don't want the inspector to grow excessively. gtk/inspector/misc-info.ui | 2 ++ 1 file changed, 2 insertions(+) commit 525339573ef4dc74c85ab90913aeaa144a27d476 Author: Matthias Clasen Date: Sun Sep 20 00:11:58 2015 -0400 text view: Use qdata with preallocated quarks gtk/gtktextview.c | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) commit b1bf153c99bb3db866496f6afd4b3fc78b0099fb Author: Matthias Clasen Date: Sun Sep 20 00:04:30 2015 -0400 entry: Use qdata with preallocated quarks gtk/gtkentry.c | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) commit 1bb86c2056442663caa6c69069f94f6d9d7f3d97 Author: Matthias Clasen Date: Sat Sep 19 23:58:11 2015 -0400 label: Avoid recalculation in some cases Avoid recalculation the entire label layout when nothing changed. gtk/gtklabel.c | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) commit ea241c691cd819a7584d7187c69ab95293f6f81c Author: Matthias Clasen Date: Sat Sep 19 11:33:38 2015 -0400 scale: Drop unneeded private exports Nobody outside gtkscale.c is using these functions, so make them static. gtk/Makefile.am | 1 - gtk/gtkscale.c | 77 +++++++++++++++++++++------------------------------ gtk/gtkscaleprivate.h | 36 ------------------------ 3 files changed, 32 insertions(+), 82 deletions(-) commit 442ad755d46a0184f35e05baeb7441e03da09c02 Author: Matthias Clasen Date: Sat Sep 19 11:17:32 2015 -0400 assistant: Drop unneeded calls GtkAssistant is just a regular composite widget nowadays, no need to manually queue resizes. gtk/gtkassistant.c | 3 --- 1 file changed, 3 deletions(-) commit 5dcbbc6736f03260b125519f2048339438d55c11 Author: Matthias Clasen Date: Sat Sep 19 01:15:39 2015 -0400 style context: Trivial refactor Use g_set_object for setting the frame clock. gtk/gtkstylecontext.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) commit 975e1cc41c8fbb752991c269fbfe9569aebf996f Author: Chun-wei Fan Date: Wed Sep 23 18:31:22 2015 +0800 build/win32: Fix 'make -jN dist' The recent changes to build/win32/vs9|10/Makefile.am fixed 'make distclean' but broke 'make -jN dist', so fix that by listing the *.headers and using that list as a dependency and to remove those files in one single command right after we generate the gtk-install.vsprops template, so that we don't have to worry about them in 'make distclean'. build/win32/vs10/Makefile.am | 22 ++++++++++------------ build/win32/vs9/Makefile.am | 22 ++++++++++------------ 2 files changed, 20 insertions(+), 24 deletions(-) commit 86c75f36ed638add97f6050cf6d969911bea3491 Author: Jiri Grönroos Date: Wed Sep 23 10:17:26 2015 +0300 Finnish translation update po/fi.po | 5001 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 3082 insertions(+), 1919 deletions(-) commit 0b86b8b0a1335aa83b69063306768d2a2bb9ebc8 Author: Matthias Clasen Date: Tue Sep 22 16:07:13 2015 -0400 app chooser widget: protect against show_all The visibility of the 'no apps' placeholder is managed by the dialog, it should not be affected by gtk_widget_show_all. https://bugzilla.gnome.org/show_bug.cgi?id=748080 gtk/ui/gtkappchooserwidget.ui | 1 + 1 file changed, 1 insertion(+) commit 08e25b9ef7fee78b97dae4831323d950bdb10be9 Author: Matthias Clasen Date: Tue Sep 22 15:14:00 2015 -0400 app chooser: Avoid duplicates At the time we populate the model "initially" in constructed(), it has already been filled and cleared a couple of times (we do that every time one of the construct properties gets set). So we can't assume that the model is empty, and have to clear it first. Otherwise, we add duplicates to the list. https://bugzilla.gnome.org/show_bug.cgi?id=748080 gtk/gtkappchooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5bb9c1891ced2699bfc9d92acd8adf7b6167de26 Author: Christian Hergert Date: Fri Sep 4 14:06:22 2015 -0700 build: only compile plug/socket when available Plug and Socket require X11 windowing. Often times this is compiled on systems with both wayland and x11, but not always. Quartz is an example where it is usually not compiled. testsuite/gtk/notify.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit f7e0deb7cb22870846ebd9f37085163fc9499bce Author: Марко Костић Date: Tue Sep 22 09:25:01 2015 +0000 Updated Serbian translation po/sr.po | 377 +++++++++++++++++++++++---------------------------------------- 1 file changed, 136 insertions(+), 241 deletions(-)