commit 1f7ab7c069855b21f0a7c05dbf0d3e9d08caa507 Author: Matthias Clasen Date: Mon Nov 21 05:57:17 2016 -0500 3.89.1 NEWS | 2 ++ configure.ac | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 6e197afc4498bf788b498d869d478b03cb7f58d9 Author: Andrew Chadwick Date: Sat Nov 19 03:26:29 2016 +0000 wintab: fix skipping of odd-numbered devices Fix a regression introduced in 4ce6d1060104e7072eec347370999bfd3fe69dc0 which causes devices with an odd-numbered zero-based index in the list to be passed over incorrectly. This might present as yet another "device does not send pressure" bug for ~50% of devices out there. This commit also closes off another potential segfault for wintab_devices lists which have an odd length. https://bugzilla.gnome.org/show_bug.cgi?id=774699 gdk/win32/gdkdevicemanager-win32.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 7ae83717afda072adf89522616ef22c72611f29d Author: Emmanuele Bassi Date: Mon Nov 21 16:24:34 2016 +0000 Bump the Graphene dependency The initialization macros for Point, Point3D, Size, and Rectangle have been modified in Graphene 1.5.1 to allow their use as compound literals. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4cbe07976741b4b98ef34dc9f2151b33698823c4 Author: Emmanuele Bassi Date: Mon Nov 21 16:21:38 2016 +0000 Use Graphene init macros for compound literals The Graphene init macros can now be used for compound literals, which means we need to update our mixed uses. gtk/gtkcssimage.c | 2 +- gtk/gtkcssimagebuiltin.c | 2 +- gtk/gtkcssshadowvalue.c | 4 ++-- gtk/gtkcsstransformvalue.c | 2 +- gtk/gtkdebugupdates.c | 2 +- gtk/gtkdrawingarea.c | 2 +- gtk/gtkentry.c | 8 ++++---- gtk/gtkflowbox.c | 2 +- gtk/gtklabel.c | 4 ++-- gtk/gtkrenderbackground.c | 2 +- gtk/gtkrenderborder.c | 2 +- gtk/gtkrendericon.c | 10 +++++----- gtk/inspector/rendernodeview.c | 5 ++--- 13 files changed, 23 insertions(+), 24 deletions(-) commit 8e5e165f79b2aada3d9d051b8bfe17ca79b139ce Author: Gustavo Noronha Silva Date: Thu Nov 17 15:15:50 2016 -0200 Fix off by one in check for GtkRoundedBox containing a rectangle When checking if a rectangle is contained by the rounded box, the code will refuse a rectangle which is the exact size as the one backing the rounded box, since it checks for greater or equal width and height. Check for greater only instead. https://bugzilla.gnome.org/show_bug.cgi?id=774114 gtk/gtkroundedbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 895fd0e773025bc6d311005065ab487e710467ac Author: Balázs Meskó Date: Mon Nov 21 09:35:08 2016 +0000 Update Hungarian translation po/hu.po | 498 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 252 insertions(+), 246 deletions(-) commit bd73a55f32c83c43ee678562a0e293897cc9baae Author: Balázs Meskó Date: Mon Nov 21 09:33:59 2016 +0000 Update Hungarian translation po-properties/hu.po | 1660 +++++++++++++++++++++++++-------------------------- 1 file changed, 827 insertions(+), 833 deletions(-) commit efd92da101ff8c3b2937c3d8c1af29f511f9bd57 Author: Chun-wei Fan Date: Mon Nov 21 15:51:21 2016 +0800 Visual Studio builds: Rename broadwayd to gtk4-broadwayd We need to update the solution file and the projects that refer to broadwayd. build/win32/vs12/gtk+-4.sln | 2 +- build/win32/vs12/gtk4-install.vcxproj | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) commit 724e7f48e73ac048d49cc99ed7a423b792d28159 Author: Chun-wei Fan Date: Mon Nov 21 15:40:28 2016 +0800 gdk/win32/gdkwindow-win32.c: Fix build Fix the assignment of ->create_draw_context, in which an underscore is accidently added. gdk/win32/gdkwindow-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 18b1305d089152ceea08e7f97eee1e18ea3bd00e Author: Chun-wei Fan Date: Mon Nov 21 15:09:35 2016 +0800 build: Complete renaming of broadwayd to gtk4-broadwayd The parts where the Visual Studio projects are generated must also be updated so that 'make dist' will work properly. build/win32/vs12/Makefile.am | 8 ++++---- ...oadwayd.vcxproj.filtersin => gtk4-broadwayd.vcxproj.filtersin} | 2 +- .../win32/vs12/{broadwayd.vcxprojin => gtk4-broadwayd.vcxprojin} | 2 +- build/win32/vs14/Makefile.am | 4 ++-- gdk/broadway/Makefile.am | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) commit a33b551f83ce0bb3070d0d5555dd4411150fc475 Author: Matthias Clasen Date: Sun Nov 20 07:46:29 2016 -0500 Update for 3.89.1 NEWS | 124 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) commit 8a88745186fb88c1db5b545f6feb8f88f7e7615e Author: Matthias Clasen Date: Sun Nov 20 07:46:47 2016 -0500 Some additions to the migration guide docs/reference/gtk/migrating-3to4.xml | 44 +++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) commit 7625beec507e157482277970080485fc2d75b0a3 Author: Matthias Clasen Date: Sun Nov 20 06:12:32 2016 -0500 fishbowl: Fix up initial text Avoid the text changing from "0 fish" to "0 icons" right after opening the fishbowl demo. demos/gtk-demo/fishbowl.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e62a4d8eea55b08379cd0b0fc60e9ea95dce7b5e Author: Benjamin Otte Date: Sun Nov 20 11:47:32 2016 +0100 API: gdk: Remove ability to render window contents The functions gdk_pixbuf_get_from_window() and gdk_cairo_set_source_window() are unreliable and depend on the windowing system (they work great on X11 and Win32, less so on Quartz and Wayland). With the switch to new drawing API and OpenGL, we can definitely no longer support a generic way to snapshot windows. People should either write windowsystem-specific code or draw their widgets directly - like with gtk_widget_draw() - if they need to get a rendering. docs/reference/gdk/gdk4-sections.txt | 2 - gdk/gdkcairo.c | 34 -------------- gdk/gdkcairo.h | 5 -- gdk/gdkpixbuf-drawable.c | 89 +----------------------------------- gdk/gdkpixbuf.h | 7 --- gdk/gdkwindow.c | 56 ----------------------- 6 files changed, 1 insertion(+), 192 deletions(-) commit 84918c7e6f31339eccd3b27587ecfbd01a85f431 Author: Benjamin Otte Date: Sun Nov 20 11:44:19 2016 +0100 modules: Add a check for GTK3 symbols This way, we can warn if GTK2 or GTK3 are linked into libgtk4. gtk/gtkmodules.c | 2 ++ 1 file changed, 2 insertions(+) commit 78888ade0d2e7bbf0aec6787e922ac067fee1b8f Author: Benjamin Otte Date: Sun Nov 20 11:43:09 2016 +0100 tools: Rewrite screenshotting code for shooter Uses X directly, so bypasses both the need to query the root window and to draw window contents. docs/tools/shooter.c | 50 ++++++++++++++++++++++++++++---------------------- 1 file changed, 28 insertions(+), 22 deletions(-) commit 196737a95811f5956042cd35665d5f8285c5b617 Author: Benjamin Otte Date: Sun Nov 20 11:20:34 2016 +0100 reftest: Make screenshot code work without GDK GDK does not support taking images of GDK windows. testsuite/reftests/reftest-snapshot.c | 60 +++++++++++++++++++++++++---------- 1 file changed, 44 insertions(+), 16 deletions(-) commit dfd9150a820faa43363be589dfaae095d504f0ad Author: Benjamin Otte Date: Sun Nov 20 11:19:32 2016 +0100 build: Don't link against libgtk and libgdk libgdk is statically linked these days, so if you link against it, all of its symbols will exist twice: Once in libgtk.so and once in your binary. gtk/Makefile.am | 11 +---------- tests/Makefile.am | 2 -- tests/visuals/Makefile.am | 1 - testsuite/a11y/Makefile.am | 1 - testsuite/a11y/state/Makefile.am | 1 - testsuite/css/Makefile.am | 1 - testsuite/css/nodes/Makefile.am | 1 - testsuite/css/parser/Makefile.am | 1 - testsuite/css/style/Makefile.am | 1 - testsuite/gdk/Makefile.am | 2 +- testsuite/gtk/Makefile.am | 1 - testsuite/reftests/Makefile.am | 1 - 12 files changed, 2 insertions(+), 22 deletions(-) commit fef2f96add2b6e3fa6fcb82535008e2ecd571634 Author: Benjamin Otte Date: Sun Nov 20 08:29:21 2016 +0100 tests: Remove outdated tests The tests read a nonexisting colorprofile, try to convert stuff read from the window into it, do things that gdk-pixbuf should test and then aren't even integrated into the testuite. Sheesh. tests/Makefile.am | 8 - tests/testpixbuf-color.c | 159 ------------------- tests/testpixbuf-save.c | 391 ----------------------------------------------- 3 files changed, 558 deletions(-) commit 1492175a28ad2b01e2711152f306a77586fb1e86 Author: Benjamin Otte Date: Sun Nov 20 07:27:00 2016 +0100 window: Remove unused destroy_draw_context vfunc gdk/gdkwindow.c | 11 +++-------- gdk/gdkwindowimpl.h | 2 -- 2 files changed, 3 insertions(+), 10 deletions(-) commit cb18752f94c33f3b5886faa472a11bad872923a2 Author: Benjamin Otte Date: Sun Nov 20 07:16:32 2016 +0100 gdk: Make each backend have a custom GdkDrawingContext subclass gdk/broadway/Makefile.am | 2 + gdk/broadway/gdkdrawingcontext-broadway.c | 33 ++++++++++++++++ gdk/broadway/gdkdrawingcontext-broadway.h | 48 +++++++++++++++++++++++ gdk/broadway/gdkwindow-broadway.c | 12 ++++++ gdk/gdkwindow.c | 14 +------ gdk/mir/Makefile.am | 1 + gdk/mir/gdkmir-private.h | 2 + gdk/mir/gdkmirdrawingcontext.c | 63 +++++++++++++++++++++++++++++++ gdk/mir/gdkmirwindowimpl.c | 1 + gdk/quartz/Makefile.am | 2 + gdk/quartz/gdkdrawingcontext-quartz.c | 33 ++++++++++++++++ gdk/quartz/gdkdrawingcontext-quartz.h | 48 +++++++++++++++++++++++ gdk/quartz/gdkwindow-quartz.c | 12 ++++++ gdk/wayland/Makefile.am | 2 + gdk/wayland/gdkdrawingcontext-wayland.c | 33 ++++++++++++++++ gdk/wayland/gdkdrawingcontext-wayland.h | 48 +++++++++++++++++++++++ gdk/wayland/gdkwindow-wayland.c | 12 ++++++ gdk/win32/Makefile.am | 2 + gdk/win32/gdkdrawingcontext-win32.c | 33 ++++++++++++++++ gdk/win32/gdkdrawingcontext-win32.h | 48 +++++++++++++++++++++++ gdk/win32/gdkwindow-win32.c | 12 ++++++ gdk/x11/Makefile.am | 2 + gdk/x11/gdkdrawingcontext-x11.c | 33 ++++++++++++++++ gdk/x11/gdkdrawingcontext-x11.h | 48 +++++++++++++++++++++++ gdk/x11/gdkwindow-x11.c | 12 ++++++ 25 files changed, 543 insertions(+), 13 deletions(-) commit 1912d992d88f4c9e02207329b73c3474dd72817d Author: Benjamin Otte Date: Sun Nov 20 05:29:03 2016 +0100 gtk-demo: Allow locking of icon count in fishbowl demo I'm not sure I'm proud of the hack to get the changing icon into the UI file without having to write code. But it works. demos/gtk-demo/fishbowl.c | 25 ++++++++++++++++--------- demos/gtk-demo/fishbowl.ui | 22 ++++++++++++++++++++++ 2 files changed, 38 insertions(+), 9 deletions(-) commit 39bf2ba96f0dc7d6174b060df9b0b600c991ecfc Author: Benjamin Otte Date: Sun Nov 20 05:28:52 2016 +0100 cairorenderer: Record cpu time in the profiler gsk/gskcairorenderer.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) commit aa084333c8fd0fa49fbe573290f02df707e25a5d Author: Benjamin Otte Date: Sun Nov 20 03:53:26 2016 +0100 inspector: Redo recording list - Make the rows larger - Display the elapsed time between renderings - Display if it was a full or a partial redraw - Add a toggle button to display profiler info gtk/inspector/recorder.c | 98 ++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 87 insertions(+), 11 deletions(-) commit be237dbb5a0ab512ad94e680fb3578602531d50c Author: Benjamin Otte Date: Sun Nov 20 03:52:56 2016 +0100 inspector: Pass the renderer when recording ... and collect the profiler information from the renderer. gtk/gtkwidget.c | 2 +- gtk/inspector/recorder.c | 3 +++ gtk/inspector/recorder.h | 1 + gtk/inspector/renderrecording.c | 21 +++++++++++++++++++++ gtk/inspector/renderrecording.h | 5 +++++ gtk/inspector/window.c | 2 ++ gtk/inspector/window.h | 1 + 7 files changed, 34 insertions(+), 1 deletion(-) commit 32adb3142829fd869b72cc1647fc4b475d61f711 Author: Benjamin Otte Date: Sun Nov 20 01:41:43 2016 +0100 inspector: Record a "start" event whenever we start recording gtk/inspector/Makefile.inc | 2 + gtk/inspector/recorder.c | 84 ++++++++++++++++++++++++++---------------- gtk/inspector/startrecording.c | 58 +++++++++++++++++++++++++++++ gtk/inspector/startrecording.h | 59 +++++++++++++++++++++++++++++ 4 files changed, 172 insertions(+), 31 deletions(-) commit b404ecf294e84a2079a5277d6c8f5f0c65eb10f3 Author: Matthias Clasen Date: Sat Nov 19 21:18:20 2016 -0500 Drop deprecated gtk_dialog_get_action_area Add an internal version for the few places where we still need it, and drop it from everywhere else. gtk/gtkaboutdialog.c | 23 +++++++++++------------ gtk/gtkdialog.c | 17 ----------------- gtk/gtkdialog.h | 2 -- gtk/gtkdialogprivate.h | 1 + gtk/gtkmessagedialog.c | 3 +-- gtk/gtkmountoperation.c | 3 +-- gtk/gtkrecentchooserdialog.c | 2 -- testsuite/gtk/builder.c | 7 +------ testsuite/gtk/templates.c | 3 --- 9 files changed, 15 insertions(+), 46 deletions(-) commit b0303c539c9e076f6d5ee6ab89699806d4585581 Author: Matthias Clasen Date: Sat Nov 19 18:32:11 2016 -0500 Make unknown window types fatal This helps gcc to see that there's no point in warning about gdk_window being used uninitialized. gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b93c26f5596816a5cf8660fbe7cb206c4d608f7a Author: Benjamin Otte Date: Sat Nov 19 21:28:18 2016 +0100 render: Refactor background drawing code We can query the blend mode inside the paint function. gtk/gtkrenderbackground.c | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) commit 305ea71b97539c65d6c980830af7fbfc74e30b6e Author: Benjamin Otte Date: Sat Nov 19 20:55:08 2016 +0100 inspector Reselect bottom row in recorder When inserting a new recording and the bottommost row was selected, select the newly added row. This way, you can observe the ongoing recording. gtk/inspector/recorder.c | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) commit 38f226b5cef1660c7a7f465528befbd65ab944a5 Author: Benjamin Otte Date: Sat Nov 19 20:38:22 2016 +0100 render: Propagate snapshot drawing to box shadows This decouples actual background drawing from shadow drawing in the snapshot case. We also now create seperate nodes for shadows vs for backgrounds. gtk/gtkcssshadowsvalue.c | 36 ++++++++++++++++++++++++++ gtk/gtkcssshadowsvalueprivate.h | 6 +++++ gtk/gtkcssshadowvalue.c | 53 ++++++++++++++++++++++++++++++++++++++ gtk/gtkcssshadowvalueprivate.h | 8 +++++- gtk/gtkrenderbackground.c | 56 ++++++++++++++++++++++++++++------------- 5 files changed, 141 insertions(+), 18 deletions(-) commit c45f8b1a25c4ef06773c06d30c30199097d29d96 Author: Benjamin Otte Date: Sat Nov 19 20:13:54 2016 +0100 cssshadows: Reengineer API This way we have an API to query extents per shadow and I want that in the next patch. gtk/gtkcssshadowsvalue.c | 18 +++--------------- gtk/gtkcssshadowvalue.c | 26 ++++++++++++-------------- gtk/gtkcssshadowvalueprivate.h | 7 ++----- 3 files changed, 17 insertions(+), 34 deletions(-) commit 2745c2502f3ce4a7120f7168dc26b75d7e5d0ccc Author: Benjamin Otte Date: Sat Nov 19 19:58:23 2016 +0100 snapshot: Move GtkSnapshot declaration to gtypes.h gtk/gtkaccellabel.c | 1 + gtk/gtkbuiltinicon.c | 1 + gtk/gtkdebugupdates.c | 2 ++ gtk/gtkdrawingarea.c | 1 + gtk/gtkiconhelper.c | 1 + gtk/gtkrenderbackgroundprivate.h | 1 - gtk/gtkrenderborderprivate.h | 2 +- gtk/gtkrendericonprivate.h | 1 - gtk/gtksnapshot.h | 3 --- gtk/gtktypes.h | 1 + gtk/gtkwidget.h | 1 - gtk/gtkwidgetprivate.h | 1 - gtk/inspector/rendernodeview.c | 3 ++- 13 files changed, 10 insertions(+), 9 deletions(-) commit 8afb655347a3b09d874920812c0efa7568f78d35 Author: Matthias Clasen Date: Sat Nov 19 13:51:50 2016 -0500 Document gtk_menu_place_on_monitor gtk/gtkmenu.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit fd6d28dd8d693e2efb3bddf61d48c63454f8652f Author: Matthias Clasen Date: Sat Nov 19 13:46:13 2016 -0500 Add some things to the sections file This makes gtk-doc happier. docs/reference/gtk/gtk4-sections.txt | 2 ++ 1 file changed, 2 insertions(+) commit 1bffefce7d9cd24bb4447325bbfde2fc8171ad67 Author: Matthias Clasen Date: Sat Nov 19 13:45:58 2016 -0500 Small documentation additions gtk/gtkwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit 5170218a1d2448e2c107080add3b4f51baed0733 Author: Matthias Clasen Date: Sat Nov 19 13:45:04 2016 -0500 More work towards a clean doc build Tell gtk-doc about more private headers. docs/reference/gtk/Makefile.am | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 9bacbb489bc99cc9640d6c6ffaf8924809b0811b Author: Matthias Clasen Date: Sat Nov 19 13:44:36 2016 -0500 Don't confuse gtk-doc It doesn't like doc comments for non-api. gtk/gtkplacesview.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit 64a75ec87d51d63fef99a6ac9d894525c3241857 Author: Matthias Clasen Date: Sat Nov 19 13:36:08 2016 -0500 Drop docs for no-longer-existing API Poor gtk-doc gets confused so easily... gtk/gtkentry.h | 7 ------- gtk/gtkstyleprovider.h | 2 -- 2 files changed, 9 deletions(-) commit 2d65156be377df8404dfd07a3846ee76939580e1 Author: Matthias Clasen Date: Sat Nov 19 13:30:27 2016 -0500 Add gtk_im_context_simple_add_compose_file docs/reference/gtk/gtk4-sections.txt | 1 + 1 file changed, 1 insertion(+) commit b0feee803fe81a470178b94f726ca180b9d0c202 Author: Matthias Clasen Date: Sat Nov 19 13:30:02 2016 -0500 Add a since tag gtk/gtkimcontextsimple.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 6734f354b4687945d3a9e6cf398d076103ae6601 Author: Matthias Clasen Date: Sat Nov 19 13:26:49 2016 -0500 docs: Add gtk_print_job_set_source_fd docs/reference/gtk/gtk4-sections.txt | 1 + 1 file changed, 1 insertion(+) commit d0f8e324b1b10a3f42dd2434303e2ff1da30c303 Author: Matthias Clasen Date: Sat Nov 19 12:53:13 2016 -0500 Add gtk_menu_place_on_monitor to the docs docs/reference/gtk/gtk4-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 712196c4169248a4310488636cdf97b2be4f45b1 Author: Matthias Clasen Date: Sat Nov 19 12:39:09 2016 -0500 Don't confuse gtk-doc Empty doc comments make gtk-doc complain about undocumented functions, even though these functions are not supposed to be documented in the first place. gtk/gtktrashmonitor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 3dc53dab697b76fc3ec414ad21f6f5ee51fef529 Author: Matthias Clasen Date: Sat Nov 19 12:37:19 2016 -0500 Document ::snapshot vfunc gtk/gtkwidget.h | 2 ++ 1 file changed, 2 insertions(+) commit c9c391bd55c23b1b3733ebe88be5db5a1a1b819d Author: Matthias Clasen Date: Sat Nov 19 12:27:57 2016 -0500 Drop macro wrappers for get_version functions These are not really useful, and were added long ago as a clutch for transitioning to the new names. docs/reference/gtk/gtk4-sections.txt | 5 ----- gtk/gtkmain.h | 6 ------ 2 files changed, 11 deletions(-) commit c418ce0365c295f4031c02d0da459ebf57d5f520 Author: Matthias Clasen Date: Sat Nov 19 12:27:02 2016 -0500 testgtk: Stop using gtk_micro_version This will be going away soon tests/testgtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 158afb4ef983674aa7cd02d3a2fd10d508c4135f Author: Matthias Clasen Date: Sat Nov 19 12:26:40 2016 -0500 Fix a signature mismatch The new drawingarea draw func returns void. tests/testpixbuf-save.c | 2 -- 1 file changed, 2 deletions(-) commit 9dae0a9b00db3be2b4f53efee6d3d20d34f89627 Author: Benjamin Otte Date: Sat Nov 19 18:06:50 2016 +0100 widgetnode: We never need widget paths anymore Backwards compat is not necessary in GTK4. gtk/gtkcsswidgetnode.c | 47 +---------------------------------------------- 1 file changed, 1 insertion(+), 46 deletions(-) commit 0d1c54b6cc437974ddbe5479df6f9e72f31f6205 Author: Matthias Clasen Date: Sat Nov 19 11:54:24 2016 -0500 Remove once again, empty doc comments that break the docs This is just more breakage from introspection ursurping doc comments. Somebody needs to find a proper solution before this is brought back. gtk/gtkclipboard-quartz.c | 132 ---------------------------------------------- 1 file changed, 132 deletions(-) commit 270af15f163d1c1a2ad8636ba49492e3eaf56800 Author: Ask Hjorth Larsen Date: Sat Nov 19 16:29:25 2016 +0100 Updated Danish translation po/da.po | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 0392acd8753f1f7367eef8d153a90967ddeb7db8 Author: Matthias Clasen Date: Sat Nov 19 08:05:42 2016 -0500 Reduce the text shadow warnings They make it hard to see other useful information. gtk/gtkrendericon.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 76b8adcfbd044732c4f3982b54a35ef914c1d328 Author: Baurzhan Muftakhidinov Date: Sat Nov 19 12:15:59 2016 +0000 Update Kazakh translation (cherry picked from commit 4bc2904daea70128717e6713bec6c7f8d162d12f) po/kk.po | 422 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 213 insertions(+), 209 deletions(-) commit dc634fe6db2e10b43f65cf9da499470d9ac0a64f Author: Benjamin Otte Date: Sat Nov 19 03:15:51 2016 +0100 render: Compute extents correctly I multiplied matrices the wrong way. Again. gtk/gtkrendericon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 14b746eeaae1e267e1097c123c73b3c044065a06 Author: Benjamin Otte Date: Sat Nov 19 00:28:53 2016 +0100 tests: Remove styleexamples test It's so outdated it doesn't even do anything useful anymore. So I'll just assume nobody uses it. tests/Makefile.am | 4 - tests/styleexamples.c | 345 -------------------------------------------------- 2 files changed, 349 deletions(-) commit a1deb8e45985eb09523d88f710eb1b392f5f586c Author: Simon Steinbeiss Date: Fri Nov 18 23:43:09 2016 +0100 progressbar: add empty and full classes on trough based on fill-level Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774695 gtk/gtkprogressbar.c | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) commit ca47c752728c050ca7a23d20161e4a049d7c4c73 Author: Benjamin Otte Date: Fri Nov 18 22:41:15 2016 +0100 tests: Use new drawing area APIs in testcairo tests/testcairo.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) commit 4a604cf9273378ad7bef7352f5579073789cf766 Author: Benjamin Otte Date: Fri Nov 18 22:37:41 2016 +0100 tests: Use drawing area in testellipsise tests/testellipsise.c | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) commit 915e791586a3ba1e56db6748d2b746c1d1f1553a Author: Benjamin Otte Date: Fri Nov 18 22:27:02 2016 +0100 tests: Use new drawing area APIs tests/testpixbuf-save.c | 20 ++++++++++++-------- tests/testpixbuf-scale.c | 17 +++++++---------- 2 files changed, 19 insertions(+), 18 deletions(-) commit 295066dad83d318be34b97e6d138da2f30e8a220 Author: Matthias Clasen Date: Fri Nov 18 20:59:10 2016 -0500 inspector: Show render node properties gtk/inspector/recorder.c | 91 +++++++++++++++++++++++++++++ gtk/inspector/recorder.ui | 145 +++++++++++++++++++++++++++++----------------- 2 files changed, 184 insertions(+), 52 deletions(-) commit aa74d96532e019c0c6736f3c55b298a8dbd47b19 Author: Matthias Clasen Date: Fri Nov 18 19:34:02 2016 -0500 Document newly supported 3d transforms in CSS docs/reference/gtk/css-properties.xml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 7d34229cdd7d3272f9e5b8f36304c15f2d877516 Author: Matthias Clasen Date: Fri Nov 18 18:54:35 2016 -0500 More docs cleanup docs/reference/gtk/Makefile.am | 10 ++++++++++ docs/reference/gtk/gtk4-sections.txt | 28 ++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) commit dbfc1d72fcde6c4bd7b5755301053455bd4bc3df Author: Benjamin Otte Date: Fri Nov 18 21:43:18 2016 +0100 csstransform: Handle matrix3d() gtk/gtkcsstransformvalue.c | 81 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 62 insertions(+), 19 deletions(-) commit ff4b8512be8de15327339086639f814a5fac8685 Author: Benjamin Otte Date: Fri Nov 18 21:02:52 2016 +0100 csstransform: Implement 3D scale and transform matrices gtk/gtkcsstransformvalue.c | 126 ++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 113 insertions(+), 13 deletions(-) commit ef6d95879f3f4d27c9dcefdf346fd2e4180a7a35 Author: Benjamin Otte Date: Fri Nov 18 20:21:06 2016 +0100 csstransforms: Parse 3D rotations gtk/gtkcsstransformvalue.c | 117 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 103 insertions(+), 14 deletions(-) commit d52fcd914c24c1cb01babbe7497b49a656fcbc25 Author: Benjamin Otte Date: Fri Nov 18 16:01:56 2016 +0100 csstransform: Convert to use graphene_matrix_t Pre-work to use 3D-transforms. gtk/gtkcsstransformvalue.c | 308 +++++++++----------------------------- gtk/gtkcsstransformvalueprivate.h | 4 +- gtk/gtkrendericon.c | 97 +++++------- 3 files changed, 110 insertions(+), 299 deletions(-) commit fe23c3165ea13e5bc2b5bd750f866aa681913c45 Author: Benjamin Otte Date: Fri Nov 18 15:09:36 2016 +0100 tests: Use a drawing area in motion-compression example tests/motion-compression.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit e950d0cd8b14217f43a3ac71d453acc01abfdcde Author: Benjamin Otte Date: Fri Nov 18 15:02:49 2016 +0100 tests: Use a drawing area in animated-resizing tests/animated-resizing.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 0a75bb43530dae36901f3c4c46f2993ad858b754 Author: Matthias Clasen Date: Fri Nov 18 14:43:34 2016 -0500 Work towards a clean docs build Remove various no-longer-existing functions from the sections file, and exclude more private headers, etc. docs/reference/gtk/Makefile.am | 10 ++ docs/reference/gtk/gtk4-sections.txt | 244 +---------------------------------- gtk/gtkbutton.c | 12 +- gtk/gtksnapshot.h | 2 +- 4 files changed, 21 insertions(+), 247 deletions(-) commit b15bc437a6491ca9924a5e7f21a99cccfb75a742 Author: Matthias Clasen Date: Fri Nov 18 13:40:37 2016 -0500 Rename broadwayd to gtk4-broadwayd This was the last unprefixed binary, and it was causing file conflicts between gtk3 and gtk4. docs/reference/gtk/Makefile.am | 18 +++++++++--------- docs/reference/gtk/gtk-docs.sgml | 2 +- .../gtk/{broadwayd.xml => gtk4-broadwayd.xml} | 18 +++++++++--------- gdk/broadway/Makefile.am | 14 +++++++------- gdk/broadway/broadwayd.c | 2 +- 5 files changed, 27 insertions(+), 27 deletions(-) commit 36575a44249631ee3785e53d55d1361e0b868a2c Author: Olivier Fourdan Date: Tue Nov 15 14:49:03 2016 +0100 gdkwindow: Allow native subsurface for all parents Under Wayland, a subsurface can have another surface as parent, but gdk would not allow native windows if the parent is not the root window. Allow native subsurface for all parent under Wayland, not just for the root window. https://bugzilla.gnome.org/show_bug.cgi?id=774475 gdk/gdkwindow.c | 5 +++++ 1 file changed, 5 insertions(+) commit 665c3a2877043b7d8adfe51d220ac83a0bf54f5a Author: Carlos Garnacho Date: Tue Nov 15 15:07:39 2016 +0100 wayland: Keep last scale factor on surfaces after it left all outputs This can be triggered on workspace switches, and on hidpi results in the scale factor being reset to 1 while the window is not in the current workspace. https://bugzilla.gnome.org/show_bug.cgi?id=774476 gdk/wayland/gdkwindow-wayland.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f73c5dd8dded6afbee1ed53e4e0ed03100ff7bbc Author: Matthias Clasen Date: Fri Nov 18 08:14:23 2016 -0500 docs: Name the 3.90 index properly docs/reference/gtk/gtk-docs.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5c1af1af04f4e5f3e64d81aab8814867aeef2680 Author: Matthias Clasen Date: Fri Nov 18 08:10:01 2016 -0500 docs: Ignore gtksnapshotprivate.h docs/reference/gtk/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 0311a1883c22b371e02424ab6aa7a42f08cf63d1 Author: Matthias Clasen Date: Fri Nov 18 07:57:10 2016 -0500 snapshot: Name api parameters consistently gtk-doc gets upset otherwise. gtk/gtksnapshot.c | 109 +++++++++++++++++++++++++++++++----------------------- gtk/gtksnapshot.h | 30 +++++++-------- 2 files changed, 77 insertions(+), 62 deletions(-) commit 95c13ee471b23aca937fdbcf38c6918c30d23b3a Author: Matthias Clasen Date: Fri Nov 18 06:53:57 2016 -0500 Document GtkSnapshot This is just some initial documentation, more detail needed. docs/reference/gtk/gtk-docs.sgml | 5 + docs/reference/gtk/gtk4-sections.txt | 24 ++++ gtk/gtksnapshot.c | 212 +++++++++++++++++++++++++++++++++++ 3 files changed, 241 insertions(+) commit 9ecb34b4a00f4621d4a1b8266544c779b3da9ef5 Author: Matthias Clasen Date: Fri Nov 18 07:42:49 2016 -0500 Add some drawing information the migration guide Mention snapshot(), and the new GtkDrawingArea API. docs/reference/gtk/migrating-3to4.xml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit 3c5dbc2f174462dbc4796abcd5edc18fcc143a2e Author: Matthias Clasen Date: Fri Nov 18 06:09:46 2016 -0500 docs: Add GtkDrawingAreaDrawFunc docs/reference/gtk/gtk4-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 3ee2138ee77b0d6ace8bfdf81cb64f3da01b7a5c Author: Benjamin Otte Date: Fri Nov 18 07:24:31 2016 +0100 tests: Use a drawing area in testpopup tests/testpopup.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) commit f2fb2da8bd0c825053b9c944a3ae4f6e4b6ff6c3 Author: Benjamin Otte Date: Fri Nov 18 07:22:02 2016 +0100 tests: Make testtooltips not use the draw signal tests/testtooltips.c | 34 ++++++++++------------------------ 1 file changed, 10 insertions(+), 24 deletions(-) commit a57fe52fc622376ab48dfbed72a70bb7e3ed8712 Author: Benjamin Otte Date: Fri Nov 18 07:15:12 2016 +0100 tests: Produce load without waiting for draw signal tests/testimage.c | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) commit 4a06d22c7d5f558c8849633e1b971b8260519361 Author: Benjamin Otte Date: Fri Nov 18 07:14:28 2016 +0100 tests: Use drawing area instead of draw signal tests/video-timer.c | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) commit cd8d84beb61eb82b332a5aae4bf82736a085e094 Author: Benjamin Otte Date: Fri Nov 18 06:37:33 2016 +0100 testsuite: Don't use draw signal, use a drawing area instead testsuite/gtk/window.c | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) commit dd6fb874436e028b55324c11a5be6e2b4398d748 Author: Benjamin Otte Date: Fri Nov 18 06:32:27 2016 +0100 printunixdialog: Use new drawing area API gtk/gtkprintunixdialog.c | 62 +++++++++++++++++++++++++------------------- gtk/ui/gtkprintunixdialog.ui | 8 +++--- 2 files changed, 40 insertions(+), 30 deletions(-) commit b0f392534f5228f21d751cbab15c66c7489c78fc Author: Benjamin Otte Date: Fri Nov 18 06:19:27 2016 +0100 coloreditor: Don't draw a background on boxes Boxes know how to draw backgrounds these days. gtk/gtkcoloreditor.c | 19 ------------------- gtk/ui/gtkcoloreditor.ui | 3 --- 2 files changed, 22 deletions(-) commit 979b56e86f6fbc22637c7e970f7b39a30b7c1e71 Author: Benjamin Otte Date: Fri Nov 18 06:16:38 2016 +0100 gtk-demo: Update drawing area usage to new APIs A few demos are broken because they do input on drawing areas. demos/gtk-demo/colorsel.c | 20 ++++++++--------- demos/gtk-demo/css_multiplebgs.c | 30 +++++++++++-------------- demos/gtk-demo/drawingarea.c | 48 ++++++++++++++++------------------------ demos/gtk-demo/flowbox.c | 18 ++++++++------- demos/gtk-demo/foreigndrawing.c | 22 +++++++++--------- demos/gtk-demo/gestures.c | 31 +++++++++++--------------- demos/gtk-demo/pixbufs.c | 19 ++++++++-------- demos/gtk-demo/rotated_text.c | 22 +++++++++--------- demos/gtk-demo/textmask.c | 21 ++++++++---------- 9 files changed, 103 insertions(+), 128 deletions(-) commit 5940625e9e55b713e2b112b558e447ac1d28644a Author: Benjamin Otte Date: Fri Nov 18 05:45:36 2016 +0100 drawingarea: Add gtk_drawing_area_set_draw_func() docs/reference/gtk/gtk4-sections.txt | 1 + gtk/gtkdrawingarea.c | 133 +++++++++++++++++++++++++++++------ gtk/gtkdrawingarea.h | 29 +++++++- 3 files changed, 140 insertions(+), 23 deletions(-) commit 41d1e1fea8ad2d33f355e1eafc69053972fcb279 Author: Benjamin Otte Date: Fri Nov 18 04:00:02 2016 +0100 drawingarea: Add content-width and content-height properties People should use these instead of gtk_widget_set_size_request(). docs/reference/gtk/gtk4-sections.txt | 4 + gtk/gtkdrawingarea.c | 233 ++++++++++++++++++++++++++++++++++- gtk/gtkdrawingarea.h | 11 ++ 3 files changed, 246 insertions(+), 2 deletions(-) commit 100ac17505d3210e2b6ebe44f7b1723b5c3e7972 Author: Benjamin Otte Date: Fri Nov 18 02:35:05 2016 +0100 drawingarea: Clean up No need to send configure events anymore and this should be a no-window widget. gtk/gtkdrawingarea.c | 77 +--------------------------------------------------- gtk/gtkdrawingarea.h | 3 -- 2 files changed, 1 insertion(+), 79 deletions(-) commit 585b1d5f67b8a2001af9759c06b9b76556706b9c Author: Matthias Clasen Date: Thu Nov 17 20:29:07 2016 -0500 gsk: Don't leak texture surfaces gsk_texture_download returns a reference. gsk/gskgldriver.c | 1 + 1 file changed, 1 insertion(+) commit 39e3b3a483f8a5ef7252c45f6079d672e23b9fcd Author: Matthias Clasen Date: Thu Nov 17 20:22:42 2016 -0500 style context: Don't leak a widget path Found by valgrind. gtk/gtkstylecontext.c | 2 ++ 1 file changed, 2 insertions(+) commit efa1c6cbd53e3e2744afe50ecf9c7da138ab5dff Author: Benjamin Otte Date: Fri Nov 18 00:46:49 2016 +0100 widget: Add a defualt snapshot vfunc Just to avoid having to do NULL checks when calling widget_class->snapshot. We were crashing with drawing areas who don't have a draw or a snapshot vfunc (woot!). gtk/gtkwidget.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit f8f2b8144f13bd6b321e3d2aea53c533cfc24ea9 Author: Marek Černocký Date: Fri Nov 18 00:40:11 2016 +0100 Updated Czech translation po/cs.po | 138 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 69 insertions(+), 69 deletions(-) commit 9a06b0fd5f6e992027f09623c4d72a803b9bfd23 Author: Benjamin Otte Date: Thu Nov 17 23:16:14 2016 +0100 widget: Fix math screwups in clip calculation We need so subtract the allocation from the clip to get the clip offset, not the other way around. This was screwing in particular with marks on GtkScale, because GtkScale mark clip computation is broken and always returns (0,0) which makes scales have a waaaaay too large clip. But that's another bug. gtk/gtkwidget.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit c162b87ebd50e82907006c13ae64d7c7828d0fa4 Author: Benjamin Otte Date: Thu Nov 17 22:03:04 2016 +0100 gdk: Fix a variable The passed in surface is the current_paint surface, so I guess this usage hasn't been noticed. gdk/gdkgl.c | 6 ++---- gdk/x11/gdkglcontext-x11.c | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) commit 214eb5860db6fb95bb806a46350cb7dbca93c81f Author: Matthias Clasen Date: Thu Nov 17 13:50:25 2016 -0500 placeview: Don't leak the file enumerator Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774634 gtk/gtkplacesview.c | 1 + 1 file changed, 1 insertion(+) commit 0cec768b5486e94321fd9c4dfffc1194b0484c5c Author: Matthias Clasen Date: Thu Nov 17 12:04:35 2016 -0500 entry: Fix input window position for icons This makes the icon in the placesview address entry and in widget-factory's progress entry work again. gtk/gtkentry.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 957274ed1acf291a11d43ed99947332ac8ddcb37 Author: Timm Bäder Date: Thu Nov 17 16:45:10 2016 +0100 tests/styleexamples: Remove gtk_render_extension calls The function doesn't exist anymore so there's nothing to test. tests/styleexamples.c | 24 ------------------------ 1 file changed, 24 deletions(-) commit 55fda57c44ab90380a92ec36518d572b7d7992b8 Author: Timm Bäder Date: Tue Nov 15 10:51:41 2016 +0100 filechooserwidget: Forward file filter to entry And in the entry, apply the currently used filter as a second step to the completion items. https://bugzilla.gnome.org/show_bug.cgi?id=773007 gtk/gtkfilechooserentry.c | 95 ++++++++++++++++++++++++++++++++++++++++++++-- gtk/gtkfilechooserentry.h | 2 + gtk/gtkfilechooserwidget.c | 6 +++ 3 files changed, 99 insertions(+), 4 deletions(-) commit f4929360aa583106ae204a49f52bb3349bc3508c Author: Timm Bäder Date: Sat Nov 12 22:15:48 2016 +0100 sizerequest: rename _compute_size_for_orientation to _measure They have the exact same parameters and gtk_widget_measure did unnecessary work before. Also better stack traces! gtk/gtksizerequest.c | 175 +++++++++++++++++++++------------------------------ 1 file changed, 71 insertions(+), 104 deletions(-) commit fbbd3ccfd7c48d3191a11a89b3672cbb2abf4715 Author: Matthias Clasen Date: Thu Nov 17 09:33:16 2016 -0500 docs: Fix print-related includes Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774614. docs/reference/gtk/gtk4-sections.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 5b3b11126037f0c5468afcc6da856060ca36184e Author: Matthias Clasen Date: Thu Nov 17 09:06:57 2016 -0500 GtkFileChooser: Make local-only default to FALSE There is no good reason anymore to default to TRUE, and this default only makes applications miss out on useful functionality. gtk/gtkfilechooser.c | 2 +- gtk/gtkfilechooserentry.c | 2 +- gtk/gtkfilechooserwidget.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 2f197ac0c29ad00719d86ad6965af110fec137f9 Author: Matthias Clasen Date: Thu Nov 17 09:05:47 2016 -0500 Revert "GtkFileChooser: Make local-only default to FALSE" This reverts commit 0bc79910e03b69279d0aee8edf76ae5cae63ff65. gtk/gtk-builder-tool | 228 --------------------- gtk/gtk-encode-symbolic-svg | 228 --------------------- gtk/gtk-launch | 228 --------------------- gtk/gtk-query-immodules-4.0 | 228 --------------------- gtk/gtk-query-settings | 228 --------------------- gtk/gtk-update-icon-cache | Bin 67536 -> 0 bytes gtk/gtkfilechooser.c | 2 +- gtk/gtkfilechooserentry.c | 2 + gtk/gtkfilechooserwidget.c | 2 +- gtk/gtkplacesview.c | 1 - gtk/libgtk3.manifest | 21 -- gtk/resource-XXI2MYQY | 0 .../_colors-public.scssc | Bin 23495 -> 0 bytes .../_colors.scssc | Bin 36911 -> 0 bytes .../_common.scssc | Bin 1066578 -> 0 bytes .../_drawing.scssc | Bin 240829 -> 0 bytes .../gtk-contained-dark.scssc | Bin 1400 -> 0 bytes .../gtk-contained.scssc | Bin 2117 -> 0 bytes gtk/theme/Adwaita/Gemfile.lock | 13 -- 19 files changed, 4 insertions(+), 1177 deletions(-) commit 0bc79910e03b69279d0aee8edf76ae5cae63ff65 Author: Matthias Clasen Date: Thu Nov 17 09:02:29 2016 -0500 GtkFileChooser: Make local-only default to FALSE There is no good reason anymore to default to TRUE, and this default only makes applications miss out on useful functionality. gtk/gtk-builder-tool | 228 +++++++++++++++++++++ gtk/gtk-encode-symbolic-svg | 228 +++++++++++++++++++++ gtk/gtk-launch | 228 +++++++++++++++++++++ gtk/gtk-query-immodules-4.0 | 228 +++++++++++++++++++++ gtk/gtk-query-settings | 228 +++++++++++++++++++++ gtk/gtk-update-icon-cache | Bin 0 -> 67536 bytes gtk/gtkfilechooser.c | 2 +- gtk/gtkfilechooserentry.c | 2 - gtk/gtkfilechooserwidget.c | 2 +- gtk/gtkplacesview.c | 1 + gtk/libgtk3.manifest | 21 ++ gtk/resource-XXI2MYQY | 0 .../_colors-public.scssc | Bin 0 -> 23495 bytes .../_colors.scssc | Bin 0 -> 36911 bytes .../_common.scssc | Bin 0 -> 1066578 bytes .../_drawing.scssc | Bin 0 -> 240829 bytes .../gtk-contained-dark.scssc | Bin 0 -> 1400 bytes .../gtk-contained.scssc | Bin 0 -> 2117 bytes gtk/theme/Adwaita/Gemfile.lock | 13 ++ 19 files changed, 1177 insertions(+), 4 deletions(-) commit 77aa562415829a59003ec2f9e52589f919cd7211 Author: Matthias Clasen Date: Thu Nov 17 08:51:16 2016 -0500 gtk-demo: Set local-only to FALSE for the file chooser No good reason for that. demos/gtk-demo/pickers.c | 1 + 1 file changed, 1 insertion(+) commit 16bce171683d58294729cba5da62ff610b2781bc Author: Ondrej Holy Date: Wed Nov 16 09:03:42 2016 +0100 gtkplacesview: Add example of IPv6 address in guidance Square brackets are mandatory for IPv6 addresses. Add example of IPv6 address in the guidance to make it obvious. https://bugzilla.gnome.org/show_bug.cgi?id=756570 gtk/ui/gtkplacesview.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 21570a57f225a7c3d9c5aea434777541e8b21f70 Author: Matthias Clasen Date: Thu Nov 17 06:17:11 2016 -0500 docs: Update an example Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774490 docs/reference/gtk/text_widget.sgml | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) commit ce36ac93f4eb9be09c85f248cc5c60affb986777 Author: Caolán McNamara Date: Thu Nov 17 10:04:29 2016 +0000 spin entry should be a child of spin context https://bugzilla.gnome.org/show_bug.cgi?id=774609 demos/gtk-demo/foreigndrawing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4ad4275c24e43c40ecb71642f9008d4d37985ccf Author: Rafael Fontenelle Date: Thu Nov 17 04:21:21 2016 +0000 Update Brazilian Portuguese translation (cherry picked from commit 0103bbf5eb6efa817e2d42643d73dd0133fdb003) po/pt_BR.po | 672 +++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 392 insertions(+), 280 deletions(-) commit ab60cbd86a852121a7181275a45545070d06f6a6 Author: Benjamin Otte Date: Thu Nov 17 03:31:15 2016 +0100 snapshot: Implement gtk_snapshot_clips_rect() And use this to cull widgets and gadgets that are completely outside the clip region. A potential optimization is to apply this clip region to cairo contexts created with gtk_snapshot_append_cairo_node(), but for that we'd need to apply the inverse matrix to the clip region, and that causes rounding errors. Plus, I hope that cairo drawing becomes exceedingly rare so it won't be used for the whole widget factory like today (which might also explain why no culling happens in the widget factory outside the header bar. gtk/gtksnapshot.c | 77 ++++++++++++++++++++++++++++++------------------ gtk/gtksnapshotprivate.h | 2 ++ gtk/gtkwidget.c | 2 ++ 3 files changed, 52 insertions(+), 29 deletions(-) commit 28b32d336f8ce3a36f4930cc3dd991264adc213a Author: Benjamin Otte Date: Thu Nov 17 02:14:10 2016 +0100 snapshot: Pass the clip region to the snapshot gtk/gtksnapshot.c | 12 +++++++----- gtk/gtksnapshotprivate.h | 4 +++- gtk/gtkwidget.c | 11 +++++++++-- 3 files changed, 19 insertions(+), 8 deletions(-) commit 7493f906626e4800e7e05186d95291e48aaa89a7 Author: Benjamin Otte Date: Thu Nov 17 01:55:26 2016 +0100 snapshot: Add GtkSnapshotState Essentially copies cairo_gstate_t. This is in preparation for attaching more information to the snapshot. gtk/gtksnapshot.c | 88 ++++++++++++++++++++++++++++++++++-------------- gtk/gtksnapshotprivate.h | 18 +++++++--- 2 files changed, 75 insertions(+), 31 deletions(-) commit 5dfe788e9e0ce5ba56d595aad45bc57193c08ec9 Author: Benjamin Otte Date: Thu Nov 17 01:05:15 2016 +0100 snapshot: Fix graphene misunderstandings The equivalent to cairo_matrix_multiply (a, b, c) is graphene_matrix_multiply (c, b, a). graphene_matrix_multiply (a, b, c) may not be called with b and c being the same matrix. gtk/gtkrendericon.c | 36 ++++++++++++++++++------------------ gtk/gtksnapshot.c | 2 +- 2 files changed, 19 insertions(+), 19 deletions(-) commit 6d9725f7fdc97bbb5c04a22fb3f664bda686f048 Author: Benjamin Otte Date: Wed Nov 16 20:51:53 2016 +0100 snapshot: Add infrastructure to snapshot CSS images Use this infrastructure to render builtin images. Which means from now on, GtkCheckbutton, GtkSpinner and a few others use snapshots. gtk/gtkbuiltinicon.c | 21 +++++++++++++++++ gtk/gtkcssimage.c | 34 +++++++++++++++++++++++++++ gtk/gtkcssimagebuiltin.c | 28 ++++++++++++++++++++++ gtk/gtkcssimagebuiltinprivate.h | 5 ++++ gtk/gtkcssimageprivate.h | 9 +++++++ gtk/gtkiconhelper.c | 2 +- gtk/gtkrendericon.c | 52 ++++++++++++++++++++++++++++++++++++++--- gtk/gtkrendericonprivate.h | 7 +++++- gtk/gtksnapshot.c | 6 ++--- 9 files changed, 156 insertions(+), 8 deletions(-) commit c22a9a03f91d47dd729eee40990adee67134a688 Author: Benjamin Otte Date: Wed Nov 16 19:31:47 2016 +0100 renderbackground: Remove unused functions gtk/gtkrenderbackground.c | 166 --------------------------------------- gtk/gtkrenderbackgroundprivate.h | 11 --- 2 files changed, 177 deletions(-) commit bcf70e3a034cc615ad4fd600310d8bd767372157 Author: Benjamin Otte Date: Wed Nov 16 19:27:43 2016 +0100 API: Remove everything relating to "grip" Grips have long been unused in GTK, so remove all support for them. This removes the GTK_STYLE_CLASS_GRIP and the special gtk_render_handle() code for drawing those grips. docs/reference/gtk/gtk4-sections.txt | 1 - gtk/gtkcssimagebuiltin.c | 288 ----------------------------------- gtk/gtkcsstypesprivate.h | 8 - gtk/gtkrender.c | 26 +--- gtk/gtkstylecontext.h | 9 -- 5 files changed, 1 insertion(+), 331 deletions(-) commit 56e11f057cd6e3cb4ce660a3b1c2af0c4c954d3f Author: Benjamin Otte Date: Wed Nov 16 18:36:10 2016 +0100 API: Remove gtk_render_extension() This is long-gone drawing API. docs/reference/gtk/gtk4-sections.txt | 1 - gtk/gtkrender.c | 84 ------------------------------------ gtk/gtkrender.h | 8 ---- 3 files changed, 93 deletions(-) commit 48e7f4191fae6fdaf048e858694aa1d8e0b08673 Author: Benjamin Otte Date: Wed Nov 16 05:37:20 2016 +0100 gsktexture: Allow attaching render data to textures This allows renderers (or anyone really) to attach "render data" to textures. Only the first render data sticks. You can gsk_texture_set_render_data() with the key you will use to look the data up again, and if no data has been set yet, yours will be set. You can retrieve this data via gsk_texture_get_render_data() later on. If your data has been cleared, NULL will be returned. When gsk_texture_clear_render_data() is called (which the texture will call when it is finalized), your destory notify will be called and you have to release your render data. The GL driver uses this to attach texture ids to GskTextures. gsk/gskgldriver.c | 88 +++++++++++++++++++++++++++++++++++------------- gsk/gskgldriverprivate.h | 9 +++-- gsk/gskglrenderer.c | 20 +++-------- gsk/gsktexture.c | 41 ++++++++++++++++++++++ gsk/gsktextureprivate.h | 12 +++++++ 5 files changed, 128 insertions(+), 42 deletions(-) commit 40565fb0308ba2e8a91a853af024bff49bd84a38 Author: Benjamin Otte Date: Wed Nov 16 04:14:32 2016 +0100 gsk: Rework GskTexture We do no longer bind textures to a renderer, instead they are a way for applications to provide texture data. For now, that's it. We've reverted to uploading it from scratch every frame. gsk/gskcairorenderer.c | 87 ++------------------------ gsk/gskglrenderer.c | 112 +++++---------------------------- gsk/gskrenderer.c | 41 ------------ gsk/gskrendererprivate.h | 9 --- gsk/gsktexture.c | 159 ++++++++++++++++++++++++++++++++++++----------- gsk/gsktexture.h | 8 +-- gsk/gsktextureprivate.h | 24 ++++--- gtk/gtkiconhelper.c | 3 +- gtk/gtksnapshot.c | 2 +- 9 files changed, 161 insertions(+), 284 deletions(-) commit 455ce80ff7a98f3ef7591ac789ea2ea4e6a42053 Author: Piotr Drąg Date: Wed Nov 16 13:08:19 2016 +0100 Update Polish translation po/pl.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 6e9ee9e03cc418332819ed9292a20bcef58c90c7 Author: Piotr Drąg Date: Wed Nov 16 11:43:23 2016 +0100 Update Polish translation po/pl.po | 384 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 191 insertions(+), 193 deletions(-) commit f728f3338214024471a52b188a2affe0cf7a2f04 Author: Benjamin Otte Date: Tue Nov 15 22:39:26 2016 +0100 container: ensure we only append a single node The snapshot vfuncs must only append at most a single node, otherwise things are going to break if the widget is the root node. Unfortunately there is no code that can check this in a generic fashion, so we'll have to debug this on a case-by-case basis. gtk/gtkcontainer.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit 2e9ff11c85eea672b573d60173e0a7193a8471d0 Author: Benjamin Otte Date: Tue Nov 15 22:39:05 2016 +0100 snapshot: push/pop mismatch is critical This is broken code that needs to be fixed right now. gtk/gtksnapshot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b8710d8962c06ed4d6680f1a937185155730f682 Author: Benjamin Otte Date: Tue Nov 15 17:45:25 2016 +0100 widget: Remove get_render_node() vfunc gtk/gtkwidget.c | 95 +++++++------------------------------------------- gtk/gtkwidget.h | 2 -- gtk/gtkwidgetprivate.h | 6 ---- 3 files changed, 12 insertions(+), 91 deletions(-) commit 313a7080065bb35a3bb1dadf9c4152a617ddfb47 Author: Benjamin Otte Date: Tue Nov 15 17:45:08 2016 +0100 snapshot: Convert inspector's RenderNodeView gtk/inspector/rendernodeview.c | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) commit e2fb9708890ccf66f2fbd8ed5c5b4005311030c4 Author: Benjamin Otte Date: Tue Nov 15 17:31:24 2016 +0100 container: Remove get_render_node() support API It's unused now. gtk/gtkcontainer.c | 147 ---------------------------------------------- gtk/gtkcontainerprivate.h | 7 --- 2 files changed, 154 deletions(-) commit e8381f84d62c9b03e8c05319a50815f2d300eb24 Author: Benjamin Otte Date: Tue Nov 15 17:28:34 2016 +0100 snapshot: Convert GtkPopover gtk/gtkpopover.c | 50 +++++++++++++++++++++++--------------------------- 1 file changed, 23 insertions(+), 27 deletions(-) commit 475cffd7f881883b763962809225eece02dd23fc Author: Benjamin Otte Date: Tue Nov 15 16:56:37 2016 +0100 gadget: Remove gtk_css_gadget_get_render_node() It's unused now that we can snapshot. gtk/gtkboxgadget.c | 38 ---------- gtk/gtkcsscustomgadget.c | 9 --- gtk/gtkcssgadget.c | 183 ---------------------------------------------- gtk/gtkcssgadgetprivate.h | 10 --- 4 files changed, 240 deletions(-) commit ada70f4872566bf3cdfc3923535da9b5e7125b0c Author: Benjamin Otte Date: Tue Nov 15 16:39:07 2016 +0100 snapshot: Convert GtkIcon gtk/gtkicon.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit d38cf9fee2a293a2b67b70bf82e507c723c105b3 Author: Benjamin Otte Date: Tue Nov 15 16:38:20 2016 +0100 snapshot: Convert GtkExpander gtk/gtkexpander.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 82eb223c586d0c55c3972180e501f1628dcac0b5 Author: Benjamin Otte Date: Tue Nov 15 16:32:30 2016 +0100 Revert "GtkFrame: Convert to indirect rendering" This reverts commit a0b2b3745f697b91d9e91c3f10b0b3b4627a33d8. Frames cannot be rendered by GSK yet, because they do clipping. gtk/gtkframe.c | 61 +++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 41 insertions(+), 20 deletions(-) commit 9c1da58ad1cff54969a7b71e61a9a8579ed31a48 Author: Benjamin Otte Date: Tue Nov 15 16:21:14 2016 +0100 snapshot: Convert GtkSeparator gtk/gtkseparator.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 47a82640a8e185e7e78d5e92de482052a488cd8d Author: Benjamin Otte Date: Tue Nov 15 16:20:18 2016 +0100 Revert "Covert GtkOverlay to indirect rendering" This reverts commit fd4a1cdad60fd291abd59dd5b13905430a674d99. GtkOverlay uses clipping and render nodes can't clip yet. gtk/gtkoverlay.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) commit 30e0bbeaaacac74c9cd24f6f3cb0e76145f1bc48 Author: Benjamin Otte Date: Tue Nov 15 16:19:21 2016 +0100 snapshot: convert GtkListBox gtk/gtklistbox.c | 79 +++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 49 insertions(+), 30 deletions(-) commit 150f75af66458d87052a1c34e0d68db246b7681e Author: Benjamin Otte Date: Tue Nov 15 16:11:19 2016 +0100 snapshot: Convert GtkFlowBox gtk/gtkflowbox.c | 87 ++++++++++++++++++++++++++++++-------------------------- 1 file changed, 47 insertions(+), 40 deletions(-) commit a2b1aef6bd7b9ec0cf7179e3e90b1296ce84ae78 Author: Benjamin Otte Date: Tue Nov 15 07:29:38 2016 +0100 Revert "paned: Convert to indirect rendering" This reverts commit ba9193fc813932a3575210e42efbcf78056e07cc. Paneds can do indirect rendering yet as we need clipping support first. gtk/gtkpaned.c | 120 ++++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 90 insertions(+), 30 deletions(-) commit dad8703e03fb6c6a01957bcfa29b876ba045ed2d Author: Benjamin Otte Date: Tue Nov 15 07:25:13 2016 +0100 snapshot: Convert GtkSpinner gtk/gtkiconhelper.c | 9 +++------ gtk/gtkspinner.c | 12 +++++------- 2 files changed, 8 insertions(+), 13 deletions(-) commit 0cf9f70ccd0ed212b2198527c15774c3b94e29f2 Author: Benjamin Otte Date: Tue Nov 15 07:06:57 2016 +0100 snapshot: Convert box gadget Makes spinbuttons have text again! gtk/gtkboxgadget.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) commit 3a18bed7d755aee39af3b51be2c3f8c45c55dc20 Author: Benjamin Otte Date: Tue Nov 15 07:01:27 2016 +0100 gsk: Allow creating cairo contexts for 0x0 nodes This happens in regular code paths for example when trying to render the empty text string. We don't want to store a surface on the render node in such a case (so actual rendering isn't slowed down), but we do want to return a working cairo context that is not in an error state (so the cairo rendering can continue without error messages). gsk/gskrendernode.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) commit 703d80eac0c9a98e38ad62e823d620b3d5e028ee Author: Benjamin Otte Date: Tue Nov 15 06:43:47 2016 +0100 window: Unrealize renderer last We want to unrealize the renderer only after all widgets have been unrealized. Otherwise, the widgets cannot release rendering resources like textures. gtk/gtkwindow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit e253f408e39cd15c8fde0369e0b754158dc722cd Author: Benjamin Otte Date: Tue Nov 15 06:43:28 2016 +0100 rendernode: Unref texture on finalize Leaking textures is no fun. gsk/gskrendernode.c | 1 + 1 file changed, 1 insertion(+) commit 4b8b06bb082787d4b194493f135ad77de691b2fe Author: Benjamin Otte Date: Tue Nov 15 06:36:34 2016 +0100 image: Invalidate icon helper when unrealizing This frees up any cached surfaces and textures in the iconhelper, ensuring that the renderer can release its texture data. gtk/gtkiconhelper.c | 2 +- gtk/gtkiconhelperprivate.h | 1 + gtk/gtkimage.c | 7 ++++++- 3 files changed, 8 insertions(+), 2 deletions(-) commit c0aa065ac119c3280f0e886caff88258b767bb39 Author: Benjamin Otte Date: Tue Nov 15 06:19:16 2016 +0100 snapshot: Convert GtkImage and GtkIconHelper Adds a bunch of new APIs to render textures with theming. FIXME: Cannot draw shadows for textures. gtk/gtkiconhelper.c | 17 ++++---- gtk/gtkiconhelperprivate.h | 4 +- gtk/gtkimage.c | 99 +++++++++++++++++++++++----------------------- gtk/gtkrendericon.c | 49 +++++++++++++++++++++++ gtk/gtkrendericonprivate.h | 5 +++ gtk/gtksnapshot.c | 52 ++++++++++++++++++++++++ gtk/gtksnapshot.h | 11 ++++++ 7 files changed, 175 insertions(+), 62 deletions(-) commit 92e6b3a000835e51ff2c40fac53f0979938ec47f Author: Benjamin Otte Date: Tue Nov 15 04:20:40 2016 +0100 snapshot: Port GtkHeaderBar gtk/gtkheaderbar.c | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) commit 55de4e714018ad0e848d6d328f137d24893ee336 Author: Benjamin Otte Date: Tue Nov 15 04:07:16 2016 +0100 snapshot: Convert GtkFixed gtk/gtkfixed.c | 35 +++++++++++------------------------ 1 file changed, 11 insertions(+), 24 deletions(-) commit 9b6dfa83e24fd80bd625fecf991ab44250dff334 Author: Benjamin Otte Date: Tue Nov 15 04:06:20 2016 +0100 snapshot: Convert GtkComboBox gtk/gtkcombobox.c | 42 ++++++++++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 16 deletions(-) commit 349f55f2feb27cce00d32bb89fedcb33990fdd85 Author: Benjamin Otte Date: Mon Nov 14 22:58:58 2016 +0100 snapshot: Convert GtkLabel and GtkAccelLabel Also adds gtk_snapshot_render_insertion_cursor(). gtk/gtkaccellabel.c | 46 +++++++--------- gtk/gtklabel.c | 104 ++++++++++++++++++----------------- gtk/gtksnapshot.c | 18 +++++++ gtk/gtksnapshot.h | 15 ++++++ gtk/gtkstylecontext.c | 147 +++++++++++++++++++++++++++++++++++++++++++++++++- 5 files changed, 252 insertions(+), 78 deletions(-) commit ab47479045a6437c07f7b05b4208623fca870c5e Author: Benjamin Otte Date: Mon Nov 14 21:55:03 2016 +0100 snapshot: Convert GtkButton and subclasses gtk/gtkbutton.c | 43 +++++++++++++++++++---------- gtk/gtkcheckbutton.c | 19 ++++++------- gtk/gtkmodelbutton.c | 76 +++++++++++++++++++++++++++++----------------------- 3 files changed, 79 insertions(+), 59 deletions(-) commit 4c9033b62de3c14680eb119e390678c132714768 Author: Benjamin Otte Date: Mon Nov 14 21:43:24 2016 +0100 snapshot: Port GtkActionBar gtk/gtkactionbar.c | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) commit 8c77b6f7f1baa2e5c4891d72d3d68f9d8c36e83e Author: Benjamin Otte Date: Mon Nov 14 04:31:19 2016 +0100 snapshot: Convert GtkButtonBox gtk/gtkbbox.c | 60 +++++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 44 insertions(+), 16 deletions(-) commit cc1b422f6442735f13e0f483277466fc38d6df28 Author: Benjamin Otte Date: Mon Nov 14 03:47:22 2016 +0100 snapshot: Convert GtkGrid gtk/gtkgrid.c | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) commit 64e802c4416b254fd09da906b0dcead8de45e34d Author: Benjamin Otte Date: Mon Nov 14 01:52:22 2016 +0100 snapshot: Convert entry and spinbutton gtk/gtkentry.c | 184 +++++++++++++++++++++++----------------------------- gtk/gtkspinbutton.c | 20 +++--- 2 files changed, 92 insertions(+), 112 deletions(-) commit 8ac7918e0b72e618a3f00d5c5fc94d81f8fe5891 Author: Benjamin Otte Date: Mon Nov 14 00:52:40 2016 +0100 snapshot: convert GtkBox gtk/gtkbox.c | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) commit e3b1c9f1cd4061aa3b0db2ecffd004e6694e68a5 Author: Benjamin Otte Date: Sun Nov 13 23:54:30 2016 +0100 snapshot: Port to GtkSwitch Included is the addition of gtk_snapshot_render_layout(), which is meant to replace gtk_render_layout(). gtk/gtksnapshot.c | 44 +++++++++++++++++++++++++++++++++++ gtk/gtksnapshot.h | 6 +++++ gtk/gtkswitch.c | 68 +++++++++++++++++++++++-------------------------------- 3 files changed, 78 insertions(+), 40 deletions(-) commit da207c9fdd1653923ce718dcb58480eaba9234cb Author: Benjamin Otte Date: Sun Nov 13 21:08:34 2016 +0100 snapshot: Add a snapshot function to GtkCssCustomGadget gtk/gtkactionbar.c | 1 + gtk/gtkbbox.c | 1 + gtk/gtkbox.c | 1 + gtk/gtkbutton.c | 1 + gtk/gtkcellview.c | 1 + gtk/gtkcolorswatch.c | 1 + gtk/gtkcombobox.c | 1 + gtk/gtkcsscustomgadget.c | 43 +++++++++++++++++++++++++++++++++++++++++ gtk/gtkcsscustomgadgetprivate.h | 9 +++++++++ gtk/gtkentry.c | 2 ++ gtk/gtkflowbox.c | 2 ++ gtk/gtkframe.c | 18 +++++++++-------- gtk/gtkgrid.c | 1 + gtk/gtkheaderbar.c | 1 + gtk/gtkimage.c | 1 + gtk/gtklabel.c | 1 + gtk/gtklevelbar.c | 2 ++ gtk/gtklistbox.c | 2 ++ gtk/gtkmenubar.c | 1 + gtk/gtkmenuitem.c | 1 + gtk/gtkmodelbutton.c | 1 + gtk/gtknotebook.c | 3 +++ gtk/gtkpaned.c | 2 ++ gtk/gtkprogressbar.c | 4 ++++ gtk/gtkrange.c | 4 ++++ gtk/gtkscale.c | 6 ++++++ gtk/gtkscrolledwindow.c | 1 + gtk/gtkseparator.c | 1 + gtk/gtkseparatortoolitem.c | 1 + gtk/gtkstack.c | 1 + gtk/gtkswitch.c | 2 ++ gtk/gtktoolbar.c | 1 + gtk/gtkviewport.c | 1 + 33 files changed, 111 insertions(+), 8 deletions(-) commit 4e06d8f73c9eabd405ed32ec2e141715a8cca505 Author: Benjamin Otte Date: Sun Nov 13 20:47:34 2016 +0100 snapshot: Add gtk_css_gadget_snapshot() Including a snpahsot() vfunc, wee! gtk/gtkcssgadget.c | 142 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssgadgetprivate.h | 8 +++ gtk/gtksnapshot.c | 7 +++ gtk/gtksnapshot.h | 4 ++ 4 files changed, 161 insertions(+) commit ae2477b1bc67fe6ec5263950970523fa59bb63de Author: Benjamin Otte Date: Sun Nov 13 16:50:24 2016 +0100 container: Add snapshot() implementation Note that this implementation does not respect GDK windows at all. If your widget requires respecting them, you should write your own snapshot implementation and not chain up. gtk/gtkcontainer.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 2cd9e5170e0da6b9c8d92fab21c7b8541edb2738 Author: Benjamin Otte Date: Sun Nov 13 16:37:35 2016 +0100 widget: Add more sophisticated detection of rendering method We now look at which of get_render_mode, draw or snapshot vfuncs is the latest to have been overwritten in the class tree and then use that one. This allows GtkContainerClass and GtkBinClass to override all of them for without screwing things up. gtk/gtkwidget.c | 43 ++++++++++++++++++++++++++++++++++++++----- 1 file changed, 38 insertions(+), 5 deletions(-) commit 79d2d0e40d35c2b22b4e9005486af6823b09c0e0 Author: Benjamin Otte Date: Sun Nov 13 16:16:39 2016 +0100 snapshot: Add gtk_snapshot_render_background() and gtk_snapshot_render_frame() to be direct replacements for the old gtk_render_*() functions. Use them to replace Cairo usage completely in gtk_window_snapshot(). gtk/gtkrenderbackground.c | 43 ++++++++++++++++ gtk/gtkrenderbackgroundprivate.h | 7 ++- gtk/gtkrenderborder.c | 103 +++++++++++++++++++++++++++++++++++++++ gtk/gtkrenderborderprivate.h | 10 ++++ gtk/gtksnapshot.c | 77 +++++++++++++++++++++++++++-- gtk/gtksnapshot.h | 22 +++++++++ gtk/gtkwindow.c | 74 +++++++++++++--------------- 7 files changed, 291 insertions(+), 45 deletions(-) commit 9006e697fb5ff6b91c767a5ebcdf19cffbf1df48 Author: Benjamin Otte Date: Sat Nov 12 22:57:31 2016 +0100 flowbox: children per line may not be 0 gtk/gtkflowbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d1fec79c0003520d4898448c690ab957e4e2819a Author: Benjamin Otte Date: Sat Nov 12 00:37:54 2016 +0100 snapshot: Completely reengineer API We now try to emulate cairo_t: We keep a stack of nodes via push/pop and a transform matrix. So whenever a new node is added to the snapshot, we transform it by the current transform matrix and append it to the current node. gtk/gtkcontainer.c | 19 +---- gtk/gtkcontainerprivate.h | 7 +- gtk/gtkdebugupdates.c | 20 ++--- gtk/gtkdebugupdatesprivate.h | 4 +- gtk/gtksnapshot.c | 170 +++++++++++++++++++++++++++++++++++++------ gtk/gtksnapshot.h | 34 ++++++++- gtk/gtksnapshotprivate.h | 13 +--- gtk/gtkwidget.c | 85 +++++++++------------- gtk/gtkwidget.h | 4 +- gtk/gtkwidgetprivate.h | 4 +- gtk/gtkwindow.c | 34 ++++----- 11 files changed, 250 insertions(+), 144 deletions(-) commit 956edd83a7f7b5d232e279db8701f1f4f1bb4546 Author: Benjamin Otte Date: Sat Nov 12 00:37:38 2016 +0100 gsk: Add implementation for gsk_render_node_get_transform() gsk/gskrendernode.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit bb9626dc292edbd7a624c9b0ce921c2767612ba9 Author: Benjamin Otte Date: Tue Nov 8 01:42:06 2016 +0100 window: Implement snapshot() gtk/gtkcontainer.c | 117 ++++++++++++++++++++++++++++++------------- gtk/gtkcontainerprivate.h | 4 ++ gtk/gtkdebugupdates.c | 9 ++-- gtk/gtkdebugupdatesprivate.h | 4 +- gtk/gtksnapshot.c | 13 +++++ gtk/gtksnapshotprivate.h | 10 ++++ gtk/gtkwidget.c | 3 ++ gtk/gtkwindow.c | 30 +++++++---- 8 files changed, 137 insertions(+), 53 deletions(-) commit b1154be1c4210c095760555af9f4f3f0058f4903 Author: Benjamin Otte Date: Mon Nov 7 19:28:42 2016 +0100 widget: Add GtkWidgetClass.snapshot() vfunc Does the same thing as the render vfunc, only that it uses a different prototype. gtk/gtkwidget.c | 35 ++++++++++++++++++++++++++++++++--- gtk/gtkwidget.h | 3 +++ 2 files changed, 35 insertions(+), 3 deletions(-) commit 93cbba6c3e034227440edeeae2b0dd75c3be6851 Author: Benjamin Otte Date: Mon Nov 7 19:10:49 2016 +0100 gtk: Add gtk_widget_snapshot() It's functionally equivalent to gtk_widget_get_render_node() but uses a GtkSnapshot argument to carry the state. gtk/Makefile.am | 5 ++- gtk/gtk.h | 1 + gtk/gtksnapshot.c | 80 ++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtksnapshot.h | 50 ++++++++++++++++++++++++++++++ gtk/gtksnapshotprivate.h | 43 ++++++++++++++++++++++++++ gtk/gtkwidget.c | 44 +++++++++++++++----------- gtk/gtkwidgetprivate.h | 3 ++ 7 files changed, 207 insertions(+), 19 deletions(-) commit f90dcb33f9730c3bdb9c797a39f15d6930ef3695 Author: Carlos Garnacho Date: Tue Nov 15 17:06:59 2016 +0100 gdk: Fix win32 build typo We've left libgdk-3 behind. Noticed by Andrew Chadwick, spotted by Emmanuele Bassi. gdk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4c7f907d161d31e04dca4c118a4f5cc260853645 Author: Marek Cernocky Date: Tue Nov 15 14:39:46 2016 +0100 Updated Czech translation po/cs.po | 335 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 171 insertions(+), 164 deletions(-) commit d462c312332df0b551a33506568b97fac579e5cb Author: Matthias Clasen Date: Mon Nov 14 15:17:41 2016 -0500 entry: Avoid recursion in gtk_entry_ensure_layout This was unintentional, and lead to a memory leak. gtk/gtkentry.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 8b75268d1ce144c99066cdcbc50a34ade31e33d1 Author: Lauri Kasanen Date: Fri Nov 11 11:36:20 2016 +0200 recent-manager: Fix a memory leak caused by "recent-manager: Add a limit to the list's size" Signed-off-by: Lauri Kasanen https://bugzilla.gnome.org/show_bug.cgi?id=773587 gtk/gtkrecentmanager.c | 3 +++ 1 file changed, 3 insertions(+) commit 34e26017e3c2432a6675e5ce6a1c64163a05e4fb Author: Matthias Clasen Date: Mon Nov 14 14:19:58 2016 -0500 appchooser: Plug a memory leak We were not dropping the reference that the model gives us. https://bugzilla.gnome.org/show_bug.cgi?id=774352 gtk/gtkappchooserwidget.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 83712a48f4ec5f75f8f8c226561c1a6e1714cad4 Author: Andrew Chadwick Date: Sun Nov 13 06:23:17 2016 +0000 win32: remove an unused func operating on GdkColor https://bugzilla.gnome.org/show_bug.cgi?id=774347 gdk/win32/gdkmain-win32.c | 8 -------- gdk/win32/gdkprivate-win32.h | 1 - 2 files changed, 9 deletions(-) commit 23354ff6e756780ea295ae2a84c1dacbef1c68e7 Author: Matthias Clasen Date: Mon Nov 14 08:20:32 2016 -0500 widget-factory: Better progressbar testing Hook the two top progressbars up to the scale with marks. Your turn, Lapo. demos/widget-factory/widget-factory.c | 16 ++++++++++++++++ demos/widget-factory/widget-factory.ui | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) commit 03b8a8a880561fc4389dfd648477905ee6cfbecb Author: Olivier Fourdan Date: Wed Nov 2 10:08:17 2016 +0100 gtkstack: reorder size_allocate and move_window Unlike other container widgets, GtkStack would allocate its children prior to moving its windows, which might prevent further valid size allocation signals to be emitted. Re-order the size allocation of child widgets to be performed after moving the GtkStack windows. Thanks to Owen for spotting the real issue here. https://bugzilla.gnome.org/show_bug.cgi?id=767713 gtk/gtkstack.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) commit 4ae1eab3b1b90417ab7b5a5d7fd441fca0164287 Author: Olivier Fourdan Date: Mon Nov 14 12:23:56 2016 +0100 Revert "gdkwindow: configure native windows in move_native_children()" This reverts commit 9e2b1ad39e86b2352116f49214cf195cb3e0e970. gdk/gdkwindow.c | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) commit 5ccc570cca0d28d94b8890a4fb2516a7966e7453 Author: Olivier Fourdan Date: Mon Nov 14 12:23:49 2016 +0100 Revert "gdk: Get rid of unused variables" This reverts commit 7016409e9f7cfab6990823c14d2d0287d38284b1. gdk/gdkwindow.c | 5 +++++ 1 file changed, 5 insertions(+) commit 2520662d1341e8625e3b8152141e3e0488a0fbbb Author: Matthias Clasen Date: Sat Nov 12 22:29:02 2016 -0500 Allow replacing input file in gtk-builder-tool simplify docs/reference/gtk/gtk4-builder-tool.xml | 13 +++- gtk/gtk-builder-tool.c | 125 +++++++++++++++++++++++++------ 2 files changed, 113 insertions(+), 25 deletions(-) commit c944bf73305ae900f7e944e54f390f624ba9d05f Author: Timm Bäder Date: Sat Nov 12 08:39:35 2016 +0100 Call gtk_widget_set_has_window for missing windowed widgets gtk/gtkdrawingarea.c | 1 + gtk/gtklayout.c | 2 ++ gtk/gtktoolitemgroup.c | 1 + 3 files changed, 4 insertions(+) commit 4e445e8e537247e920c7a7ebc51fd7cb70cc7df2 Author: Timm Bäder Date: Sat Nov 12 14:34:53 2016 +0100 window: Properly propagate for_size=-1 gtk/gtkwindow.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 0d88fe65bad9058432793281a7d95d61b6d3e898 Author: Timm Bäder Date: Sat Nov 12 18:58:18 2016 +0100 stack: Use gtk_widget_measure gtk/gtkstack.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit 95eed97586a869444e6ccb2225d0b51c823ba71a Author: Timm Bäder Date: Sat Nov 12 18:54:44 2016 +0100 listbox: Use gtk_widget_measure gtk/gtklistbox.c | 52 ++++++++++++++++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 20 deletions(-) commit 9a0513d911fccd15a7980f593f35c06b0b2635fa Author: Timm Bäder Date: Sat Nov 12 18:28:40 2016 +0100 window: Use gtk_widget_measure gtk/gtkwindow.c | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) commit 997fd3c81ef323304592af807e866d93fd16eb24 Author: Timm Bäder Date: Sat Nov 12 15:30:55 2016 +0100 grid: Use gtk_wiget_measure gtk/gtkgrid.c | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) commit 26746c83691b26d502cfe29b1159929b65ceda91 Author: Timm Bäder Date: Sat Nov 12 07:56:11 2016 +0100 toolitemgroup: Remove style properties Replace them with their default values gtk/gtktoolitemgroup.c | 41 +++++++++-------------------------------- 1 file changed, 9 insertions(+), 32 deletions(-) commit fdc0c6426b6fb751653f3a8536a344f69a6407ac Author: Timm Bäder Date: Fri Nov 11 21:50:07 2016 +0100 combobox: Remove appears-as-list style property Remove all the code handling the appears-as-list=TRUE case. gtk/gtkcombobox.c | 1089 +++++++++-------------------------------------------- 1 file changed, 174 insertions(+), 915 deletions(-) commit 5e06701f53c0c655c992583ad83dec717ac35a8f Author: Timm Bäder Date: Fri Nov 11 20:34:35 2016 +0100 treeview: Remove style properties Replace them with the Adwaita default values gtk/gtkentrycompletion.c | 7 -- gtk/gtktreeview.c | 303 +++++++++-------------------------------------- 2 files changed, 55 insertions(+), 255 deletions(-) commit fcd216a409232b9e29cb6ebfb15b9e01edca2078 Author: Chun-wei Fan Date: Fri Nov 11 21:03:46 2016 +0800 gdkscreen-win32.c: Also define _WIN32_WINNT As in the last commit on gdkdisplay-win32.c, we need to define that to be 0x0600 (Vista) or later so that the items needed in the Windows headers be activated. See: https://bugzilla.gnome.org/show_bug.cgi?id=768081#c62 gdk/win32/gdkscreen-win32.c | 3 +++ 1 file changed, 3 insertions(+) commit 718efc2f591cdd4bdf1f4bafb24f71e643ba320c Author: Chun-wei Fan Date: Fri Nov 11 20:53:41 2016 +0800 gdkdisplay-win32.c: Define _WIN32_WINNT ... to be for Vista (0x0600) or later. This is so that the necessary items in the Windows headers be activated so that the code will build properly on mingw-w64, and we already require Vista or later for GTK+. Thanks Ting-Wei Lan for pointing this out. See: https://bugzilla.gnome.org/show_bug.cgi?id=768081#c62 gdk/win32/gdkdisplay-win32.c | 3 +++ 1 file changed, 3 insertions(+) commit 0d364173f61feb4d089eaa95ace9c1cc13681339 Author: Lauri Kasanen Date: Thu Oct 27 16:51:29 2016 +0300 recent-manager: Add a limit to the list's size This fixes a DOS where any app can cause all running gtk apps to use arbitrary amounts of memory. Originally reported against mate-panel, where running a big slideshow in eye-of-mate caused increasing RAM usage in mate-panel. v2: Hardcode the value Signed-off-by: Lauri Kasanen https://bugzilla.gnome.org/show_bug.cgi?id=773587 gtk/gtkrecentmanager.c | 43 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 40 insertions(+), 3 deletions(-) commit 3c27774a5d7251df9adc6c4d80071ac6f1153e17 Author: Matthias Clasen Date: Thu Nov 10 15:16:05 2016 -0500 places sidebar: Don't leak a reference Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774185 gtk/gtkplacessidebar.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 5e19e06dcccafa9df83b01d6a1eb49cd0f542527 Author: Matthias Clasen Date: Thu Nov 10 15:07:08 2016 -0500 Fix a copy-paste error Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774185#c3 gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 547970b0bc7b9f6d3fb9e828e84c8bfa6a79cf36 Author: Matthias Clasen Date: Thu Nov 10 15:03:16 2016 -0500 headerbar: Don't leak widgets We were not properly freeing separators that we end up not using. https://bugzilla.gnome.org/show_bug.cgi?id=774066 gtk/gtkheaderbar.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit c7d119614f1ceb1712e228b0e21723d39f5f32fd Author: Matthias Clasen Date: Thu Nov 10 14:46:21 2016 -0500 spinbutton: Fix some gadget handling issues We were not adding the down_button gadget to the parent, and we were not unreffing the button gadgets. https://bugzilla.gnome.org/show_bug.cgi?id=774046 gtk/gtkspinbutton.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 8121860251627135e3dcc2c21ac2f1fd790577a3 Author: Massimo Valentini Date: Sat Nov 5 14:21:22 2016 +0100 GdkGLContext: chain finalize handler https://bugzilla.gnome.org/show_bug.cgi?id=773979 gdk/gdkglcontext.c | 1 + 1 file changed, 1 insertion(+) commit 641b42f9f527148d3f53b69e79970deebcef9307 Author: Thibaut Girka Date: Sun Nov 6 21:49:00 2016 +0000 Fix loading cached compose tables https://bugzilla.gnome.org/show_bug.cgi?id=773916 gtk/gtkcomposetable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 942e904bcc621263e793e5d92d214a3b44a7c1e4 Author: Gustavo Noronha Silva Date: Thu Nov 10 16:13:47 2016 -0200 cssshadowvalue: scale the blur surface by the same factor as the target Making sure the surfaces are using the same scale factor makes it more likely a fast path will be used when pixman gets involved, as pointed out by Benjamin Otte. https://bugzilla.gnome.org/show_bug.cgi?id=772075 gtk/gtkcssshadowvalue.c | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) commit c836be0508b51ecccd893a833b0f290c627ad3bf Author: Carlos Garcia Campos Date: Tue Nov 8 11:44:44 2016 +0100 printing: Do not truncate job names in GtkPrintOperation We are currently truncating job names to 255 bytes, because that's the maximum allowed length of job-name attribute in CUPS. This is a CUPS limitation that GtkPrintOperation shouldn't need to know, and it shouldn't affect other backends, that might have other limitations or even no limitation at all. This has another side effect, that what you set as GtkPrintOperation:job-name could be different to what you get if the property is truncated, this is not documented in gtk_print_operation_set_job_name(). So, I think the job name should be truncated by the CUPS backend, right before setting the job-name attribute. https://bugzilla.gnome.org/show_bug.cgi?id=774097 gtk/gtkprintoperation.c | 24 ++++-------------------- modules/printbackends/cups/gtkprintbackendcups.c | 20 ++++++++++++++++++-- 2 files changed, 22 insertions(+), 22 deletions(-) commit 7b2313a6df3bc8c9b3c25dbea319051b3d9cd789 Author: Matthias Clasen Date: Thu Nov 10 08:26:37 2016 -0500 Avoid criticals in gtk_image_get_render_node These nodes can be NULL, we need to handle that. gtk/gtkimage.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 38a8e4ee7c0fccff55c5fee156340ccd2c8d83bd Author: Florian Müllner Date: Mon Oct 10 12:33:54 2016 +0200 wayland: Set startup ID from GApplication platform data The GApplication platform data may contain a startup ID that on X11 is used to set the startup notification ID when activated. Do the same on the wayland backend to make startup notifications work for DBus-activated applications where the DESKTOP_STARTUP_ID environment variable is not set. https://bugzilla.gnome.org/show_bug.cgi?id=768531 gtk/gtkapplication-wayland.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit d163aba03051bbcd0cc76d63703c1a8d9d860e78 Author: Florian Müllner Date: Mon Oct 10 12:33:54 2016 +0200 gdkdisplay-wayland: Add API to set startup notification ID For wayland clients, the startup notification ID is currently only set from the DESKTOP_STARTUP_ID environment variable. As that variable is only set for clients launched via exec(), startup completion is not indicated correctly for DBus-activated applications unless an explicit ID is specified - usually that is not the case, as the default handling uses gdk_notify_startup_complete(). To address this, we need API to set the startup notification ID from GTK as we have on X11. https://bugzilla.gnome.org/show_bug.cgi?id=768531 gdk/wayland/gdkdisplay-wayland.c | 27 +++++++++++++++++++++++++++ gdk/wayland/gdkwaylanddisplay.h | 3 +++ 2 files changed, 30 insertions(+) commit 1259a489f2a6b07d6d406eea8c1c8e86634ecb73 Author: Benjamin Otte Date: Mon Nov 7 18:25:12 2016 +0100 iconhelper: Add support for GskTexture ... and use that in GtkImage. gtk/gtkiconhelper.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkiconhelperprivate.h | 2 ++ gtk/gtkimage.c | 42 +++++++++++++++++------------------ 3 files changed, 78 insertions(+), 21 deletions(-) commit 09359197a7645fd554f99516e129d709c44f0e69 Author: Benjamin Otte Date: Mon Nov 7 18:23:38 2016 +0100 gsk: Implement textures for the Cairo renderer gsk/gskcairorenderer.c | 99 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 96 insertions(+), 3 deletions(-) commit 46eb2c1be9e92e9e41d86367d88a826f97c3d7ce Author: Benjamin Otte Date: Mon Nov 7 17:59:38 2016 +0100 gsk: Add GskTexture gsk/Makefile.am | 7 +- gsk/gsk.h | 1 + gsk/gskgldriver.c | 24 ++++++ gsk/gskgldriverprivate.h | 3 + gsk/gskglrenderer.c | 105 +++++++++++++++++++++++- gsk/gskrenderer.c | 42 ++++++++++ gsk/gskrendererprivate.h | 9 +++ gsk/gskrendernode.c | 24 ++++-- gsk/gskrendernode.h | 2 +- gsk/gskrendernodeprivate.h | 6 +- gsk/gsktexture.c | 197 +++++++++++++++++++++++++++++++++++++++++++++ gsk/gsktexture.h | 61 ++++++++++++++ gsk/gsktextureprivate.h | 30 +++++++ gsk/gsktypes.h | 1 + 14 files changed, 497 insertions(+), 15 deletions(-) commit 71aeb8075bc5ff46bdd301d9caf7b102a8a2205d Author: Marek Cernocky Date: Tue Nov 8 12:38:32 2016 +0100 Updated Czech translation po/cs.po | 208 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 106 insertions(+), 102 deletions(-) commit 7c55830d02499cd333b1b69b5a984bdae5c37c99 Author: Piotr Drąg Date: Tue Nov 8 10:08:14 2016 +0100 Update POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit c16a7d96b87efdffbbc0aeb9e6166ae5b7e80fa8 Author: Benjamin Otte Date: Tue Nov 8 02:24:40 2016 +0100 range: Don't leak pointers to discarded gadgets gtk/gtkrange.c | 4 ++++ 1 file changed, 4 insertions(+) commit 46b9b07a118b970cd372a369b740e8e24a9fe081 Author: Benjamin Otte Date: Tue Nov 8 02:23:30 2016 +0100 reftests: Add reftest for the last 2 fixes Makes sure that the clipping we do when pushing a group is at the correct place and in particular doesn't influence shadows. testsuite/reftests/Makefile.am | 9 ++++++--- testsuite/reftests/box-shadow-with-blend-mode.css | 19 +++++++++++++++++++ testsuite/reftests/box-shadow-with-blend-mode.ref.ui | 20 ++++++++++++++++++++ testsuite/reftests/box-shadow-with-blend-mode.ui | 19 +++++++++++++++++++ 4 files changed, 64 insertions(+), 3 deletions(-) commit a54db5adcd4c0e94035260e4e6157059ba89fad7 Author: Benjamin Otte Date: Tue Nov 8 02:20:40 2016 +0100 render: Draw shadows outside of potential push_group() call Before, the shadows were clipped. gtk/gtkrenderbackground.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit f9da4f0270c8ebbadc1500bd42bd2594c4c9edb3 Author: Benjamin Otte Date: Tue Nov 8 02:15:43 2016 +0100 render: Clip the correct rectangle We translated before. gtk/gtkrenderbackground.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8d212ae5c20d08cbbac9da12bd358059c14f8884 Author: Lapo Calamandrei Date: Mon Nov 7 22:34:02 2016 +0100 Adwaita: tweak radial-gradient()'s radial-gradient()'s are behaving, hence simplify the css. gtk/theme/Adwaita/_common.scss | 10 ++++------ gtk/theme/Adwaita/_drawing.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 22 +++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 22 +++++++++++----------- 4 files changed, 28 insertions(+), 30 deletions(-) commit 5b8646c6e83cb92fca370ec576859c93b65eff8d Author: Matthias Clasen Date: Mon Nov 7 14:59:23 2016 -0500 Update the migration guide Mention the demise of -gtk-gradient, and explain that CSS syntax works fine for this now. docs/reference/gtk/migrating-3to4.xml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 2a5a94b2606ffae08fce634e61c533830f54c3ec Author: Matthias Clasen Date: Mon Nov 7 15:40:21 2016 -0500 css: Improve spec compliance of the radial gradient parser The spec says: "If is omitted, the ending shape defaults to a circle if the is a single , and to an ellipse otherwise." Make it so. gtk/gtkcssimageradial.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit fa7d77d40732281a8838a314bcc39a0007182320 Author: Matthias Clasen Date: Mon Nov 7 15:05:37 2016 -0500 Revert "Update the CSS docs for the demise of define-color" This reverts commit 12d9451b1cb1e38e7431c552925d55e2d5fc3482. docs/reference/gtk/css-overview.xml | 30 ++++++++++++++++++++++++++++-- docs/reference/gtk/css-properties.xml | 4 +++- 2 files changed, 31 insertions(+), 3 deletions(-) commit a1e03346d9d22e49835578b339e266dc19a69772 Author: Matthias Clasen Date: Mon Nov 7 15:05:28 2016 -0500 Revert "Update the migration guide" This reverts commit b86816438147ffe61959218524f59c44581ee006. docs/reference/gtk/migrating-3to4.xml | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) commit b86816438147ffe61959218524f59c44581ee006 Author: Matthias Clasen Date: Mon Nov 7 14:59:23 2016 -0500 Update the migration guide Mention some removed CSS extensions. docs/reference/gtk/migrating-3to4.xml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit 12d9451b1cb1e38e7431c552925d55e2d5fc3482 Author: Matthias Clasen Date: Mon Nov 7 14:49:46 2016 -0500 Update the CSS docs for the demise of define-color docs/reference/gtk/css-overview.xml | 30 ++---------------------------- docs/reference/gtk/css-properties.xml | 4 +--- 2 files changed, 3 insertions(+), 31 deletions(-) commit 1410031e5741e214e04bd9cc8dda6eb41877c3fb Author: Matthias Clasen Date: Mon Nov 7 14:43:49 2016 -0500 Drop support for symbolic colors -gtk-gradient was the last internal user of this code, so we can drop it now. gtk/Makefile.am | 2 +- gtk/deprecated/Makefile.inc | 9 +- gtk/deprecated/gtksymboliccolor.c | 347 ------------------------------- gtk/deprecated/gtksymboliccolor.h | 68 ------ gtk/deprecated/gtksymboliccolorprivate.h | 33 --- gtk/gtk.h | 4 - gtk/gtkcssstylefuncs.c | 93 --------- gtk/gtkstylecontext.c | 30 --- 8 files changed, 4 insertions(+), 582 deletions(-) commit 069c5e48d4f51fb06dfecb057fa66bc68d2a8ada Author: Matthias Clasen Date: Mon Nov 7 13:47:07 2016 -0500 Update CSS docs to reflect the demise of -gtk-gradient docs/reference/gtk/css-overview.xml | 70 +---------------------------------- docs/reference/gtk/css-properties.xml | 2 +- 2 files changed, 2 insertions(+), 70 deletions(-) commit d674e9c8fac5ab097e3c17a3c73dd21e7f63e7c1 Author: Matthias Clasen Date: Mon Nov 7 13:44:57 2016 -0500 Drop support for -gtk-gradient The standard CSS radial-gradient can be used instead, and Adwaita and HighContrast have been ported over. gtk/Makefile.am | 2 - gtk/deprecated/Makefile.inc | 3 - gtk/deprecated/gtkgradient.c | 483 ---------------------------------- gtk/deprecated/gtkgradient.h | 65 ----- gtk/deprecated/gtkgradientprivate.h | 38 --- gtk/gtk.h | 1 - gtk/gtkcssimage.c | 2 - gtk/gtkcssimagegradient.c | 507 ------------------------------------ gtk/gtkcssimagegradientprivate.h | 59 ----- gtk/gtkcssstylefuncs.c | 56 ---- gtk/gtkcssstylepropertyimpl.c | 7 +- gtk/gtkstylecontext.c | 1 - 12 files changed, 2 insertions(+), 1222 deletions(-) commit aceba7484faf4932442d92d0b2dd0f0466e0afed Author: Matthias Clasen Date: Mon Nov 7 14:44:29 2016 -0500 css: Avoid a crash while parsing radial gradients has_size does not imply that sizes[0] is != NULL. gtk/gtkcssimageradial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5af1e87f59f0bb4a5479b8b19cbf57a0ae1f8d74 Author: Lapo Calamandrei Date: Mon Nov 7 18:22:28 2016 +0100 HC: use radial-gradient() in place of -gtk-gradient(). gtk/theme/HighContrast/_common.scss | 22 ++------------ gtk/theme/HighContrast/_drawing.scss | 37 +++++++----------------- gtk/theme/HighContrast/gtk-contained-inverse.css | 32 ++++++++++---------- gtk/theme/HighContrast/gtk-contained.css | 32 ++++++++++---------- 4 files changed, 45 insertions(+), 78 deletions(-) commit c4a4fe32ea6021ab68ba8ebec702b4ea967971f9 Author: Lapo Calamandrei Date: Mon Nov 7 17:12:21 2016 +0100 Adwaita: no more -gtk-gradient(), really the undershoot is drawn with a radial-gradient now. gtk/theme/Adwaita/_drawing.scss | 41 ++++++++------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 48 ++++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 48 ++++++++++++++++---------------- 3 files changed, 60 insertions(+), 77 deletions(-) commit e470567fd0f85a73fb7658146962c590bc729a1e Author: Chun-wei Fan Date: Mon Nov 7 14:35:17 2016 +0800 gdkprivate-win32.h: Complete removal of attributes_mask We removed this parameter from the function declaration, but not the prototype. Fix that. gdk/win32/gdkprivate-win32.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit b04e25f29b73bfa09c305304d39702b1bab675fd Author: Benjamin Otte Date: Mon Nov 7 03:15:00 2016 +0100 gdk: gdk_window_new() is not called for foreign windows So we can remove the special cases that were used for them. gdk/gdkwindow.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) commit d2c26c471c574acc9199d8f032ae2a9d0894481b Author: Benjamin Otte Date: Mon Nov 7 01:33:43 2016 +0100 gdk: Remove attributes_mask from gdk_window_new() The only remaining values were always treated as 0, so we just hardcode them to 0. gdk/broadway/gdkprivate-broadway.h | 3 +-- gdk/broadway/gdkwindow-broadway.c | 3 +-- gdk/gdkdisplay.c | 6 ++--- gdk/gdkdisplayprivate.h | 6 ++--- gdk/gdkinternals.h | 9 +------ gdk/gdkwindow.c | 52 +++++++++----------------------------- gdk/mir/gdkmir-private.h | 2 +- gdk/mir/gdkmirdisplay.c | 5 ++-- gdk/mir/gdkmirscreen.c | 2 +- gdk/mir/gdkmirwindowimpl.c | 2 +- gdk/quartz/gdkprivate-quartz.h | 3 +-- gdk/quartz/gdkwindow-quartz.c | 7 ++--- gdk/wayland/gdkprivate-wayland.h | 3 +-- gdk/wayland/gdkwindow-wayland.c | 6 ++--- gdk/win32/gdkwindow-win32.c | 21 +-------------- gdk/x11/gdkprivate-x11.h | 3 +-- gdk/x11/gdkwindow-x11.c | 3 +-- 17 files changed, 33 insertions(+), 103 deletions(-) commit 9fe8b1e11240f5d853711c8e8fc4d2a0aa943c09 Author: Benjamin Otte Date: Mon Nov 7 01:12:47 2016 +0100 API: gdk: Remove gdk_window_new() It's finally no longer public API. docs/reference/gdk/gdk4-sections.txt | 4 +-- gdk/gdkinternals.h | 21 ++++++++++++++++ gdk/gdkwindow.h | 49 ------------------------------------ 3 files changed, 22 insertions(+), 52 deletions(-) commit 3b93773add0bd3bc17b55a2ce458667693eb285e Author: Benjamin Otte Date: Mon Nov 7 01:03:17 2016 +0100 API: gdk: Add gdk_window_new_temp() Your one stop shop for all those nasty hidden input-only windows. gdk/broadway/gdkwindow-broadway.c | 17 +---------------- gdk/gdkwindow.c | 34 ++++++++++++++++++++++++++++++++++ gdk/gdkwindow.h | 2 ++ gdk/x11/gdkdisplay-x11.c | 12 +----------- gdk/x11/gdkwindow-x11.c | 18 +----------------- gtk/gtkinvisible.c | 19 +------------------ gtk/gtkmenu.c | 18 +----------------- 7 files changed, 41 insertions(+), 79 deletions(-) commit 24d0baec38545feaf3e73d536fe143547e8d7f90 Author: Benjamin Otte Date: Sun Nov 6 23:47:56 2016 +0100 API: gdk: Add gdk_window_new_popup() ... and use it. docs/reference/gdk/gdk4-sections.txt | 1 + gdk/gdkwindow.c | 35 +++++++++++++++++++++++++++++++ gdk/gdkwindow.h | 4 ++++ gdk/wayland/gdkdevice-wayland.c | 15 +------------- gdk/wayland/gdkdnd-wayland.c | 15 +++----------- gdk/win32/gdkdevicemanager-win32.c | 14 +------------ gdk/x11/gdkdnd-x11.c | 15 +++----------- gtk/gtktreeview.c | 31 ++++++---------------------- gtk/gtkwindow.c | 40 ++++++++++++++++-------------------- testsuite/gtk/defaultvalue.c | 10 +++------ testsuite/gtk/notify.c | 10 +++------ 11 files changed, 78 insertions(+), 112 deletions(-) commit 13d8ac83eefc3c939902e05c755b0dedd28ed975 Author: Benjamin Otte Date: Sun Nov 6 23:46:44 2016 +0100 range: Use gdk_window_new_input() gtk/gtkrange.c | 38 +++++++++++--------------------------- 1 file changed, 11 insertions(+), 27 deletions(-) commit 0e93e39e749398d5524bc69c0e04c2c4f6e7a948 Author: Benjamin Otte Date: Sun Nov 6 22:03:45 2016 +0100 tests: Remove subsurface test It did lots of ubsupported things (like creating subsurfaces on every platform). tests/Makefile.am | 1 - tests/subsurface.c | 116 ----------------------------------------------------- 2 files changed, 117 deletions(-) commit b30afff511d14165e81806a8c90a9a33e77dbb69 Author: Benjamin Otte Date: Sun Nov 6 21:36:43 2016 +0100 API: wayland: Add gdk_wayland_window_new_subsurface() ... and use it instead of gdk_window_new(). docs/reference/gdk/gdk4-sections.txt | 1 + gdk/wayland/gdkwaylandwindow.h | 4 ++++ gdk/wayland/gdkwindow-wayland.c | 35 +++++++++++++++++++++++++++++++++++ gtk/gtkwindow.c | 33 ++++++++++++++------------------- 4 files changed, 54 insertions(+), 19 deletions(-) commit 87f07bac6bf2ffc7c95163db44a99f9396650fc4 Author: Benjamin Otte Date: Sun Nov 6 17:40:59 2016 +0100 API: gdk: Add gdk_window_new_toplevel() ... and use it in GTK. docs/reference/gdk/gdk4-sections.txt | 1 + gdk/gdkwindow.c | 35 ++++++++++++++++++++++++++ gdk/gdkwindow.h | 5 ++++ gtk/gtkwindow.c | 49 +++++++++++++++++------------------- 4 files changed, 64 insertions(+), 26 deletions(-) commit 7a6cab14eb7bc6340a85447a8eb1d90138062f06 Author: Benjamin Otte Date: Sun Nov 6 16:22:21 2016 +0100 gdkwindow: Remove GdkWindowAttr.type_hint Instead, let the callers call gdk_window_set_type_hint(). Which is surprsingly what every backend did. gdk/gdkwindow.h | 4 +--- gdk/mir/gdkmirwindowimpl.c | 3 --- gdk/quartz/gdkwindow-quartz.c | 3 --- gdk/wayland/gdkdnd-wayland.c | 10 +++++++--- gdk/wayland/gdkwindow-wayland.c | 3 --- gdk/win32/gdkwindow-win32.c | 8 ++------ gdk/x11/gdkdnd-x11.c | 10 +++++++--- gdk/x11/gdkwindow-x11.c | 3 --- gtk/gtkwindow.c | 6 ++---- 9 files changed, 19 insertions(+), 31 deletions(-) commit e0600346e25844b00a95b354f9d914e4f055ce69 Author: Benjamin Otte Date: Sun Nov 6 15:50:26 2016 +0100 scrolledwindow: Turn into no-window widget gtk/gtkscrolledwindow.c | 45 ++++++++++++++++++++++++++++++++------------- 1 file changed, 32 insertions(+), 13 deletions(-) commit b7619a2603c62c955054fd8623ff61c4c1a9974a Author: Benjamin Otte Date: Sun Nov 6 15:43:06 2016 +0100 x11: Set override_redirect on input-only windows b9955cfff1a2290c7826565049c934d237e9028f broke this. gdk/x11/gdkwindow-x11.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit b7a72224e149347b6d26dbc4484b02125d0e6339 Author: Benjamin Otte Date: Sun Nov 6 14:52:56 2016 +0100 listbox: Turn into no-window widget gtk/gtklistbox.c | 93 ++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 73 insertions(+), 20 deletions(-) commit 2f8df5237f57f788664d39965178677574d3876a Author: Benjamin Otte Date: Sun Nov 6 14:41:07 2016 +0100 flowbox: Turn into no-window widget gtk/gtkflowbox.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 50 insertions(+), 10 deletions(-) commit 2c642dd65419518f5f86ba1cffcecc0bbf1be6c1 Author: John Ralls Date: Sat Nov 5 15:03:54 2016 -0700 Update gdk-quartz functions for the demise of GdkDeviceManager. gdk/quartz/GdkQuartzNSWindow.c | 6 ++---- gdk/quartz/gdkdevice-core-quartz.c | 8 ++++---- gdk/quartz/gdkevents-quartz.c | 20 ++++++++++---------- gdk/quartz/gdkwindow-quartz.c | 11 +++++------ 4 files changed, 21 insertions(+), 24 deletions(-) commit 2b53583e80cb90e68651c4baa726d69fbd30a192 Author: John Ralls Date: Sat Nov 5 15:03:00 2016 -0700 Remove screen height and width functions from gdk-quartz. Since they were previously deleted from gdk. gdk/quartz/gdkscreen-quartz.c | 41 ----------------------------------------- 1 file changed, 41 deletions(-) commit 5416db16f365da2ceb5c37be820f42cf1bd3e6fd Author: John Ralls Date: Sat Nov 5 15:01:28 2016 -0700 Add some new function prototypes to gtkquartz.h. Fixes compile errors (-Werror,-Wmissing-prototypes). gtk/gtkquartz.h | 7 +++++++ 1 file changed, 7 insertions(+) commit a45f96e9cb8551f724c202666057e81189588aee Author: John Ralls Date: Sat Nov 5 14:59:56 2016 -0700 Update GdkOSXVersion enum with the last 4 MacOS releases. gdk/quartz/gdkquartz.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 832f5b892c33c62cff4120728bd68d2f70263764 Author: John Ralls Date: Sat Nov 5 14:58:34 2016 -0700 Framework Carbon required for building against MacOSX10.12.sdk. Should be harmless elsewhere. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f4c6994e57af9ea3dc8ecc03a474a4c6d50e8992 Author: Lapo Calamandrei Date: Sat Nov 5 16:16:37 2016 +0100 Adwaita: no more -gtk-gradient() the only place where it was used was the `needs attention` dot which is now drawn using radial-gradient(). gtk/theme/Adwaita/_common.scss | 37 +++++++++----------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 16 insertions(+), 33 deletions(-) commit a5b967ed31acabcea586d26e943c63f6038e23ca Author: Timm Bäder Date: Sat Nov 5 13:37:26 2016 +0100 menu: Properly clip child menuitems Now that GtkMenu isn't a windowed widget anymore, we have to differentiate between the (0, 0) of the cairo_t and the position of priv0->view_window. gtk/gtkmenu.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) commit 96f382e5b0ce31eba1c1fe0e7653837e06e76f0e Author: Timm Bäder Date: Sat Nov 5 13:21:03 2016 +0100 tests/popupat: Remove references to noexistent widgets tests/popupat.ui | 46 ++++++++++++++++++++++------------------------ 1 file changed, 22 insertions(+), 24 deletions(-) commit fdc24c750598a627ef96fcaf8081c5805449cf04 Author: Timm Bäder Date: Sat Nov 5 10:34:34 2016 +0100 entry: Fix coordinates after rendernode conversion Ease the transition by removing the text_area and frame vfuncs which are unused inside GTK+. gtk/gtkentry.c | 318 +++++++++++++++++++-------------------------------------- gtk/gtkentry.h | 16 --- 2 files changed, 107 insertions(+), 227 deletions(-) commit f483d931ecec9e6b91cd74c864775b7c67a25d08 Author: Timm Bäder Date: Sat Nov 5 09:51:14 2016 +0100 spinbutton: Convert to indirect rendering gtk/gtkspinbutton.c | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) commit 932b9acb39d285df3ccee40649fb71020ef63b36 Author: Timm Bäder Date: Sat Nov 5 10:42:39 2016 +0100 Revert "Revert "Convert GtkEntry to indirect rendering"" This reverts commit f4fa111e3240822df1b1c02abc49fea9c274232c. gtk/gtkentry.c | 53 +++++++++++++++++++++++++++++++---------------------- 1 file changed, 31 insertions(+), 22 deletions(-) commit 3b970f4555ba48abcb6eb15a3549cc7ff94f206d Author: Timm Bäder Date: Sat Nov 5 08:39:10 2016 +0100 button: Remove _get_event_window docs/reference/gtk/gtk4-sections.txt | 1 - gtk/gtkbutton.c | 19 ------------------- gtk/gtkbutton.h | 3 --- gtk/gtkmodelbutton.c | 2 +- 4 files changed, 1 insertion(+), 24 deletions(-) commit 846cf681e8602399e172c256a93cd7484708219a Author: Timm Bäder Date: Fri Nov 4 10:04:44 2016 +0100 Remove gtk_widget_set_mapped Let all the remaining callers chain up. docs/reference/gtk/gtk4-sections.txt | 1 - gtk/gtkcontainer.c | 15 ++------------- gtk/gtklayout.c | 2 +- gtk/gtkshortcutssection.c | 4 ++-- gtk/gtktreeview.c | 4 +--- gtk/gtkwidget.c | 25 ++----------------------- gtk/gtkwidget.h | 3 --- gtk/gtkwindow.c | 4 ++-- 8 files changed, 10 insertions(+), 48 deletions(-) commit 34626eaa161401838445510a64b0edba4713b45e Author: Timm Bäder Date: Thu Nov 3 21:02:53 2016 +0100 notebook: use gesture for clicks Instead of GtkWidget's buton-press-event/button-release-event gtk/gtknotebook.c | 119 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 74 insertions(+), 45 deletions(-) commit a47fb1c451d50685478d85e4f0aa8d382be5ad61 Author: Gábor Kelemen Date: Sat Nov 5 09:30:58 2016 +0000 Update Hungarian translation po/hu.po | 1755 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 829 insertions(+), 926 deletions(-) commit ff75f1c929309cc869a9719ae95e8bd6ea2dd611 Author: Piotr Drąg Date: Sat Nov 5 08:51:34 2016 +0100 Update POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit 079f0427cbce1eaeab6fb45f9e9e6f843c174ba8 Author: Benjamin Otte Date: Sat Nov 5 03:31:21 2016 +0100 fixed: Port to GskRenderNode The fishbowl demo uses this. gtk/gtkfixed.c | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) commit 2e284451ffae9e03527965cd847eff0b1e4cf7a8 Author: Benjamin Otte Date: Sat Nov 5 03:31:10 2016 +0100 gtk-demo: Add fishbowl demo demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 4 + demos/gtk-demo/fishbowl.c | 334 ++++++++++++++++++++++++++++++++++++++ demos/gtk-demo/fishbowl.ui | 27 +++ 4 files changed, 366 insertions(+) commit a659bbecb933a5149c19c8eed2d06d75f34174a3 Author: Benjamin Otte Date: Fri Nov 4 17:23:20 2016 +0100 win32: Remove unused headers gdk/win32/gdkglcontext-win32.h | 1 - gdk/win32/gdkscreen-win32.c | 1 - 2 files changed, 2 deletions(-) commit 9707f4d3b3f205f7d5e525ccf660d1d6ccd1ee0b Author: Benjamin Otte Date: Fri Nov 4 04:08:50 2016 +0100 API: gdk: Remove title from gdk_window_new() Use gdk_window_set_title() afterwards instead. gdk/gdkwindow.h | 14 +++++--------- gdk/mir/gdkmirwindowimpl.c | 5 +---- gdk/quartz/gdkwindow-quartz.c | 8 +------- gdk/wayland/gdkwindow-wayland.c | 8 +------- gdk/win32/gdkwindow-win32.c | 9 +++------ gdk/x11/gdkwindow-x11.c | 8 +------- gtk/gtkwindow.c | 5 +++-- 7 files changed, 15 insertions(+), 42 deletions(-) commit b9955cfff1a2290c7826565049c934d237e9028f Author: Benjamin Otte Date: Fri Nov 4 03:35:49 2016 +0100 API: gdk: Remove override_redirect flag from GdkWindowAttr When you want an override-redirect window, you create it that way by creating a GDK_WINDOW_TEMP window. gdk/broadway/gdkwindow-broadway.c | 3 +-- gdk/gdkwindow.h | 6 +----- gdk/win32/gdkwindow-win32.c | 4 ++-- gdk/x11/gdkwindow-x11.c | 14 ++------------ gtk/gtkinvisible.c | 3 +-- gtk/gtkmenu.c | 3 +-- 6 files changed, 8 insertions(+), 25 deletions(-) commit 33e7a7898faf66562c8591c656da4f1fdfcfa87b Author: Benjamin Otte Date: Fri Nov 4 02:37:11 2016 +0100 API: gdk: Remove gdk_window_set_override_redirect() When you want an override-redirect window, you create it that way. Changing that behavior is not supported anywhere (but on X of course). docs/reference/gdk/gdk4-sections.txt | 1 - gdk/broadway/gdkwindow-broadway.c | 8 -------- gdk/gdkwindow.c | 27 ++------------------------- gdk/gdkwindow.h | 3 --- gdk/gdkwindowimpl.h | 2 -- gdk/mir/gdkmirwindowimpl.c | 8 -------- gdk/quartz/gdkwindow-quartz.c | 8 -------- gdk/wayland/gdkwindow-wayland.c | 7 ------- gdk/win32/gdkwindow-win32.c | 32 ++++---------------------------- gdk/win32/gdkwindow-win32.h | 1 - gdk/x11/gdkwindow-x11.c | 23 ----------------------- 11 files changed, 6 insertions(+), 114 deletions(-) commit 1dbdbecd39356a6ca4d0bb06a222d3229e055b3b Author: Philip Withnall Date: Fri Nov 4 20:16:06 2016 +0000 gtkstylecontext: Clarify memory allocation behaviour of getters It wasn’t clear that gtk_style_context_get[_valist]() behave like g_object_get() — i.e. pointer-based types are returned newly-allocated. Clarify that. https://bugzilla.gnome.org/show_bug.cgi?id=773954 gtk/gtkstylecontext.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit f4fa111e3240822df1b1c02abc49fea9c274232c Author: Matthias Clasen Date: Fri Nov 4 13:18:30 2016 -0400 Revert "Convert GtkEntry to indirect rendering" This reverts commit 3656c9f94c0401376d3dc0a3963312ef986cb021. Still causes to many unresolved drawing issues. gtk/gtkentry.c | 53 ++++++++++++++++++++++------------------------------- 1 file changed, 22 insertions(+), 31 deletions(-) commit 338534fb8d3d2f9749ada3ec3d69ddf88df6e911 Author: Matthias Clasen Date: Fri Nov 4 12:41:51 2016 -0400 Fix up the fullscreen_on_monitor support I didn't pay attention, and forgot to port this code to the new monitor apis. gdk/x11/gdkwindow-x11.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 85070839289cdeb281a18eb028a4e7b1e8708dee Author: Georges Basile Stavracas Neto Date: Wed Nov 2 00:46:10 2016 -0200 levelbar: update css nodes even when no offset value is found GtkLevelBar supports adding custom offsets as style classes, and they are applied whenever the :value property matches. The current code, however, only updates any CSS nodes when an offset is found, causing it to not update when a discrete value changes but no custom offset is added. Fix that by always updating the CSS nodes. https://bugzilla.gnome.org/show_bug.cgi?id=773799 gtk/gtklevelbar.c | 38 +++++++++++++++++--------------------- 1 file changed, 17 insertions(+), 21 deletions(-) commit b8fc4c246ac6ef5cd7eccd477e2b64ea9efffff6 Author: Rui Matos Date: Wed Nov 2 19:00:34 2016 +0100 gdkwindow-x11: Add support for gdk_window_fullscreen_on_monitor This way we can recommend that applications use the fullscreen_on_monitor() API on both X and Wayland otherwise they'd have to keep a path for each backend to achieve this functionality. https://bugzilla.gnome.org/show_bug.cgi?id=773857 gdk/x11/gdkwindow-x11.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 2c26f0cae4c06336832f4efd0e32e4ae1f8e84fa Author: Matthias Clasen Date: Fri Nov 4 12:05:52 2016 -0400 Complete the privatization of GtkTextAttributes This was not quite complete, as gtktextattributes.h was still being included in public headers. https://bugzilla.gnome.org/show_bug.cgi?id=773903 gtk/gtk-autocleanups.h | 1 - gtk/gtk.h | 1 - gtk/gtktextattributes.h | 4 ---- gtk/gtktextiter.h | 4 ---- gtk/gtktextiterprivate.h | 3 +++ gtk/gtktextlayout.h | 1 + gtk/gtktexttagprivate.h | 1 + gtk/gtktextview.c | 1 + 8 files changed, 6 insertions(+), 10 deletions(-) commit e75878f976070aab0f005f72449c084417c8271f Author: Руслан Ижбулатов Date: Fri Nov 4 13:18:43 2016 +0000 W32: Fix malformed svg file https://bugzilla.gnome.org/show_bug.cgi?id=768081 gdk/win32/rc/gtk.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6abd65c83be6ba4656c5f014bc940c2eea21dfd0 Author: Chun-wei Fan Date: Mon Jun 27 13:16:43 2016 +0800 GDK-Win32/4.0: Enable HiDPI support for Windows This enables HiDPI support for GTK+ on Windows, so that the fonts and window look better on HiDPI displays. Notes for the current work: -The DPI awareness enabling can be disabled if and only if an application manifest is not embedded in the app to enable DPI awareness AND a user compatibility setting is not set to limit DPI awareness for the app, via the envvar GDK_WIN32_DISABLE_HIDPI. The app manifest/user setting for DPI awareness will always win against the envvar, and so the HiDPI items will be always setup in such scenarios, unless DPI awareness is disabled. -Both automatic detection for the scaling factor and setting the scale factor using the GDK_SCALE envvar are supported, where the envvar takes precedence, which will therefore disable automatic scaling when resolution changes. -We now default to a per-system DPI awareness model, which means that we do not handle WM_DPICHANGED, unless one sets the GDK_WIN32_PER_MONITOR_HIDPI envvar, where notes for it are in the following point. -Automatic scaling during WM_DISPLAYCHANGE is handled (DPI setting change of current monitor) is now supported. WM_DPICHANGED is handled as well, except that the window positioning during the change of scaling still needs to be refined, a change in GDK itself may be required for this. -I am unable to test the wintab items because I don't have such devices around. https://bugzilla.gnome.org/show_bug.cgi?id=768081 gdk/win32/gdkdevice-win32.c | 26 +- gdk/win32/gdkdevice-wintab.c | 10 +- gdk/win32/gdkdevicemanager-win32.c | 11 +- gdk/win32/gdkdisplay-win32.c | 338 ++++++++++++++++++++++ gdk/win32/gdkdisplay-win32.h | 47 +++ gdk/win32/gdkevents-win32.c | 191 ++++++++---- gdk/win32/gdkgeometry-win32.c | 33 ++- gdk/win32/gdkmain-win32.c | 1 + gdk/win32/gdkmonitor-win32.c | 18 +- gdk/win32/gdkprivate-win32.h | 12 +- gdk/win32/gdkscreen-win32.c | 72 +++-- gdk/win32/gdkwindow-win32.c | 575 ++++++++++++++++++++++++------------- gdk/win32/gdkwindow-win32.h | 15 + 13 files changed, 1027 insertions(+), 322 deletions(-) commit 3baa4a9741835fda4b858a88d48de2bb21620b42 Author: Chun-wei Fan Date: Fri Nov 4 14:16:36 2016 +0800 gdkscreen-win32.c: Remove leftovers of removal of visual APIs There were some more items that ought to be removed. Remove them. https://bugzilla.gnome.org/show_bug.cgi?id=773299 gdk/win32/gdkscreen-win32.c | 6 ------ 1 file changed, 6 deletions(-) commit 9898085149b61896dea03840656b6aaef13277a1 Author: Balázs Meskó Date: Fri Nov 4 06:18:55 2016 +0000 Update Hungarian translation po-properties/hu.po | 13870 ++++++++++++++++++++++++-------------------------- 1 file changed, 6693 insertions(+), 7177 deletions(-) commit 4b88b81e67081ffe039573123cf8dd0507e929b7 Author: Benjamin Otte Date: Fri Nov 4 00:33:13 2016 +0100 x11: Init no-multihead monitor without root window Previous code gave warnings because the root window wasn't initialized yet. gdk/x11/gdkscreen-x11.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit 7c474c689a754ad40e7e3367271ae068eff9ebb0 Author: Benjamin Otte Date: Fri Nov 4 00:17:57 2016 +0100 wayland: Remove all mentions of visuals gdk/wayland/gdkglcontext-wayland.h | 1 - gdk/wayland/gdkscreen-wayland.c | 57 -------------------------------------- 2 files changed, 58 deletions(-) commit 77a9e90cb9eaa9407f2e80a921b8d8e4e5f8f703 Author: Benjamin Otte Date: Fri Nov 4 00:15:52 2016 +0100 mir: Remove all mentions of visuals gdk/mir/gdkmirscreen.c | 9 --------- 1 file changed, 9 deletions(-) commit 8040d78c04e2ac96b9058bd340d604b780c0df37 Author: Benjamin Otte Date: Fri Nov 4 00:15:07 2016 +0100 broadway: Remove all mentions of visuals gdk/broadway/Makefile.am | 4 +- gdk/broadway/gdkbroadway.h | 1 - gdk/broadway/gdkbroadwayvisual.h | 46 --------------- gdk/broadway/gdkprivate-broadway.h | 2 - gdk/broadway/gdkscreen-broadway.c | 7 --- gdk/broadway/gdkscreen-broadway.h | 11 ---- gdk/broadway/gdkvisual-broadway.c | 112 ------------------------------------- 7 files changed, 1 insertion(+), 182 deletions(-) commit 31a0933fe9d91c2f35cde29e55e456db92694a83 Author: Benjamin Otte Date: Fri Nov 4 00:10:43 2016 +0100 quartz: Remove all mentions of visuals gdk/quartz/Makefile.am | 2 - gdk/quartz/gdkdisplay-quartz.c | 1 - gdk/quartz/gdkglcontext-quartz.h | 1 - gdk/quartz/gdkprivate-quartz.h | 3 -- gdk/quartz/gdkquartz.h | 1 - gdk/quartz/gdkquartzvisual.h | 51 --------------------- gdk/quartz/gdkvisual-quartz.c | 98 ---------------------------------------- gdk/quartz/gdkwindow-quartz.c | 1 - 8 files changed, 158 deletions(-) commit ec06a717cedbfe42576f623891079143509cdaa6 Author: Benjamin Otte Date: Fri Nov 4 00:08:03 2016 +0100 win32: Remove all mentions of visuals gdk/win32/gdkscreen-win32.c | 205 -------------------------------------------- 1 file changed, 205 deletions(-) commit 4585af5719d6854d298038a9defa2c1b3c542612 Author: Benjamin Otte Date: Fri Nov 4 00:02:37 2016 +0100 gdk: Remove visual APIs from GdkScreen gdk_screen_list_visuals(), gdk_screen_get_system_visual() and gdk_screen_get_rgba_visual() are gone now. docs/reference/gdk/gdk4-sections.txt | 3 -- gdk/broadway/gdkprivate-broadway.h | 2 - gdk/broadway/gdkscreen-broadway.c | 11 ---- gdk/broadway/gdkvisual-broadway.c | 25 --------- gdk/gdkscreen.c | 81 +--------------------------- gdk/gdkscreen.h | 7 --- gdk/gdkscreenprivate.h | 3 -- gdk/gdkwindow.c | 4 -- gdk/mir/gdkmirscreen.c | 24 --------- gdk/quartz/gdkprivate-quartz.h | 3 -- gdk/quartz/gdkscreen-quartz.c | 3 -- gdk/quartz/gdkvisual-quartz.c | 23 -------- gdk/wayland/gdkscreen-wayland.c | 29 ---------- gdk/win32/gdkdisplay-win32.c | 2 - gdk/win32/gdkscreen-win32.c | 27 ---------- gdk/x11/gdkprivate-x11.h | 4 -- gdk/x11/gdkscreen-x11.c | 11 ---- gdk/x11/gdkvisual-x11.c | 26 --------- testsuite/gdk/Makefile.am | 1 - testsuite/gdk/visual.c | 101 ----------------------------------- 20 files changed, 1 insertion(+), 389 deletions(-) commit fe0864120520db9357b92489255d495cb61eba4f Author: Benjamin Otte Date: Thu Nov 3 23:40:54 2016 +0100 x11: Maointin window visuals without GdkVisual That way, we don't need a GdkScreen to create a GdkWindow anymore. gdk/x11/gdkdisplay-x11.c | 43 +++++++++++---------- gdk/x11/gdkdisplay-x11.h | 5 +++ gdk/x11/gdkprivate-x11.h | 10 +++-- gdk/x11/gdkscreen-x11.c | 5 ++- gdk/x11/gdkscreen-x11.h | 3 +- gdk/x11/gdkvisual-x11.c | 97 +++++++++++++++--------------------------------- 6 files changed, 68 insertions(+), 95 deletions(-) commit b741d32262c1ea3265d102aaf4b1ed2ae5b0c5c0 Author: Benjamin Otte Date: Thu Nov 3 22:47:42 2016 +0100 x11: Remove unused hash table We were neatly populating it, but nobody ever looked at it. gdk/x11/gdkscreen-x11.c | 1 - gdk/x11/gdkscreen-x11.h | 1 - gdk/x11/gdkvisual-x11.c | 34 ---------------------------------- 3 files changed, 36 deletions(-) commit 0192f936895ac1eab1bcca844c0ea737837cd86b Author: Benjamin Otte Date: Thu Nov 3 22:40:36 2016 +0100 x11: Replace gdk_display_get_window_visual() ... with functions that don't use GdkVisual. A small step towards getting rid of GdkVisual. gdk/x11/gdkdisplay-x11.c | 24 +++++++++++++++++++++--- gdk/x11/gdkglcontext-x11.c | 2 +- gdk/x11/gdkprivate-x11.h | 4 +++- gdk/x11/gdkwindow-x11.c | 12 +++++------- 4 files changed, 30 insertions(+), 12 deletions(-) commit 6c6359df4f5559592342b866c59b2d628ee830f9 Author: Benjamin Otte Date: Thu Nov 3 21:29:07 2016 +0100 menubar: We don't need an input window Input is handled by the menuitems completely. gtk/gtkmenubar.c | 56 +++----------------------------------------------------- 1 file changed, 3 insertions(+), 53 deletions(-) commit d8d8059ee1c2c789374d075592c0e5f5b04f97a5 Author: Benjamin Otte Date: Thu Nov 3 05:46:46 2016 +0100 x11: Use X11 variables instead of GDK variables This way, we avoid GdkVisual usage. gdk/x11/gdkwindow-x11.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) commit 4ebcb6fd1eac6cfa887246c1d91539e1b0e783b6 Author: Benjamin Otte Date: Thu Nov 3 05:38:07 2016 +0100 x11: Remove unused complexity With all Windows having the same visual, there's only ever one visual we need to check. gdk/x11/gdkglcontext-x11.c | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) commit a178258a2a55fc51479aa5f6cff745c79283ec48 Author: Benjamin Otte Date: Thu Nov 3 05:32:37 2016 +0100 docs: Remove vfunc that doesn't exist anymore gtk/gtkwidget.h | 2 -- 1 file changed, 2 deletions(-) commit 993f8677440292ccc22e1e41884d644ccb17e9eb Author: Lapo Calamandrei Date: Thu Nov 3 18:52:54 2016 +0100 Adwaita: correctly style headerbars in a stack corners are correctly rounded now. Stacked splitted headerbars are not supported yet though. gtk/theme/Adwaita/_common.scss | 11 +++++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 15 insertions(+), 2 deletions(-) commit 3885e85f77901bfb75d5832cfe07f9a1284ecaa1 Author: Ernestas Kulik Date: Thu Nov 3 12:58:41 2016 +0200 popover: pop down when pressing escape Simply hiding the popover may introduce inconsistencies in application behavior, since popping up/down is the usual use case. https://bugzilla.gnome.org/show_bug.cgi?id=773885 gtk/gtkpopover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5c18bf79a1f79b88c26f2c806a3f1d6fbde7be48 Author: Matthias Clasen Date: Thu Nov 3 08:32:31 2016 -0400 Add a testcase for stacked headerbars This currently has some theming issues. This example is for Lapo to work those out. tests/Makefile.am | 2 + tests/teststackedheaders.c | 43 ++++++++++++++++ tests/teststackedheaders.ui | 123 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 168 insertions(+) commit e982f31800cb352552206ce9113e1086a129b3e4 Author: Chun-wei Fan Date: Thu Nov 3 18:07:43 2016 +0800 configure.ac: Remove gdk/win32/rc/gdk.rc This needs to be removed, which was forgotten. Sorry. configure.ac | 1 - 1 file changed, 1 deletion(-) commit 53077f15d86e4c0dce40af4e2eb804112744b933 Author: Chun-wei Fan Date: Thu Nov 3 18:00:03 2016 +0800 autotools: Update MSVC gir build script generation Now that GTK+ is built as a single DLL, and the .lib that is built is gtk-4.lib, we need to update the autotools sections in generating the NMake Makefile snippets so that we can have the correct commands and flags for building the .gir files, which will all now link to gtk-4-vsXX.dll (or so). gdk/Makefile.am | 12 ++++++------ gsk/Makefile.am | 8 ++++---- gtk/Makefile.am | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) commit e4c5ce4cc38a0e478786387e6db9bb455ffef4a0 Author: Chun-wei Fan Date: Thu Nov 3 17:46:32 2016 +0800 Visual Studio builds: Use gtk-4.lib for the .lib file As with the autotools builds, use gtk-4 as the name of the .lib file that is produced from the build. Actually this is already done with GTK-3.x with the autotools builds, but this update is not done there as gtk-3.0.lib/gdk-3.0.lib/gailutil-3.0.lib was used for such a long time that changing it there might have caused trouble for people there. build/win32/gtkpc.py | 3 +-- build/win32/vs12/gtk-4.vcxprojin | 16 ++++++++-------- build/win32/vs12/gtk4-install.propsin | 6 +++--- build/win32/vs12/gtk4-version-paths.props.in | 6 +++++- 4 files changed, 17 insertions(+), 14 deletions(-) commit 493ad0cad4bfd77d33b92b3e036c67e0ae4a8389 Author: Chun-wei Fan Date: Thu Nov 3 17:17:57 2016 +0800 Visual Studio builds: Build GTK+ as a monolithic DLL Update the project configs to build GDK/GSK as a static lib and include them into the GTK+ DLL as a monolithic DLL, which is in line with what is done in the autotools builds, since the code changes needed for Windows builds for a monolithic build are now in place. build/win32/gtkpc.py | 42 ++-- build/win32/vs12/Makefile.am | 2 +- build/win32/vs12/gdk-4.vcxproj.filtersin | 3 - build/win32/vs12/gdk-4.vcxprojin | 125 ++---------- build/win32/vs12/gsk-4.vcxprojin | 54 +----- build/win32/vs12/gtk+-4.sln | 16 +- build/win32/vs12/gtk-4.vcxprojin | 212 ++++++++++++++++++++- build/win32/vs12/gtk4-build-defines.props | 2 +- build/win32/vs12/gtk4-builder-tool.vcxproj | 4 - ...broadway.props => gtk4-copy-gtk-broadway.props} | 24 +-- build/win32/vs12/gtk4-demo-application.vcxprojin | 4 - build/win32/vs12/gtk4-demo.vcxprojin | 4 - build/win32/vs12/gtk4-encode-symbolic-svg.vcxproj | 4 +- build/win32/vs12/gtk4-icon-browser.vcxprojin | 4 - build/win32/vs12/gtk4-ignore-broadway.props | 4 +- build/win32/vs12/gtk4-install.propsin | 18 +- build/win32/vs12/gtk4-install.vcxproj | 8 - build/win32/vs12/gtk4-query-settings.vcxproj | 4 - build/win32/vs14/Makefile.am | 2 +- 19 files changed, 258 insertions(+), 278 deletions(-) commit abef8d4860a057b0f98840d48afdb65997e10acc Author: Chun-wei Fan Date: Thu Nov 3 16:03:08 2016 +0800 Windows: Update code for monolithic GTK DLL Now that the autotools build folded the GDK/GSK bits into the main GTK+ DLL, there are some updates that need to be done for this. We need to: -Fold the DllMain() of GDK-Win32 into the main GTK+ DllMain(), as we need the HINSTANCE to register the window. We can't have two DllMain()'s in a single DLL. -Remove the GDK rc(.in) files, as that is not used anymore. Make the GTK+ .rc(.in) file load the gtk.ico GTK+ logo file instead so that we still get the GTK+ logo for the application icon by default. Update the autotools build files as well. -Revert commit b9f9980 as LRN pointed out in comment 25 in bug 773299, as GTK+ is now a monolithic DLL, and we ought not to export this private function. https://bugzilla.gnome.org/show_bug.cgi?id=773299 gdk/Makefile.am | 2 -- gdk/win32/gdkmain-win32.c | 10 ---------- gdk/win32/rc/Makefile.am | 12 +----------- gdk/win32/rc/gdk.rc.in | 32 -------------------------------- gsk/gskrendernodeprivate.h | 1 - gtk/Makefile.am | 4 ++-- gtk/gtk-win32.rc.body.in | 2 ++ gtk/gtkwin32.c | 4 +++- 8 files changed, 8 insertions(+), 59 deletions(-) commit 2324b96a325532ba05d5eeb388e9d8f4aeef2a7f Author: Olivier Fourdan Date: Wed Nov 2 11:51:54 2016 +0100 wayland: check valid pending cairo surface gdk_wayland_window_attach_image() is normally called from gdk_window_end_paint() to notify the compositor of newly staged drawing. If any of the drawing code inadvertently dispatches the wayland event loop (for instance with a gdk_flush() call), then it's possible that by the time gdk_window_end_paint() is called, the staged drawing is already destroyed. This commit bypasses the attach_image call in scenarios where the staged drawing is prematurely dropped. https://bugzilla.gnome.org/show_bug.cgi?id=773274 gdk/wayland/gdkwindow-wayland.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit c9a313a125923ff832400728108901dd714aaade Author: Benjamin Otte Date: Thu Nov 3 02:37:52 2016 +0100 revealer: Port to no-window widget gtk/gtkrevealer.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit acd801000cc3b6ad25a7fb45c1186c874e003176 Author: Benjamin Otte Date: Thu Nov 3 02:29:38 2016 +0100 textview: Convert to no-window widget gtk/gtktextview.c | 111 ++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 82 insertions(+), 29 deletions(-) commit 6c3d1fba7870ad31de10526c86559141e8a74386 Author: Benjamin Otte Date: Thu Nov 3 02:18:45 2016 +0100 iconview: Turn into no-window widget gtk/gtkiconview.c | 51 +++++++++++++++++++++++++++++++++++------------- gtk/gtkiconviewprivate.h | 1 + 2 files changed, 38 insertions(+), 14 deletions(-) commit 7e9796568db685b663dcb060b637665bc785730a Author: Benjamin Otte Date: Thu Nov 3 00:11:39 2016 +0100 colorplane: Port to be a no-window widget gtk/gtkcolorplane.c | 81 +++++++++++++++++++++++++++++++++++++++++----- gtk/gtkcolorplaneprivate.h | 4 +-- 2 files changed, 75 insertions(+), 10 deletions(-) commit 05085266583dabd20fe6dbceec97b3c9106b276e Author: Benjamin Otte Date: Thu Nov 3 00:38:48 2016 +0100 colorswatch: Readd accidentally removed call gtk/gtkcolorswatch.c | 2 ++ 1 file changed, 2 insertions(+) commit d818f3fcd42cb1c9dd589458bd7f01ad2c97bf35 Author: Benjamin Otte Date: Wed Nov 2 21:56:51 2016 +0100 viewport: Turn into no-window widget While doing so, get rid of the GdkWindow instead of keeping it. gtk/gtkviewport.c | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) commit bb8b24da47bda36d277282bab46a7eb87dc02167 Author: Benjamin Otte Date: Wed Nov 2 17:50:12 2016 +0100 menu: Don't set widget->window Instead, create an input window for the menubar and omit the window for the menu itself. gtk/gtkmenu.c | 29 ++++++----------------------- gtk/gtkmenubar.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++------ gtk/gtkmenushell.c | 27 +-------------------------- 3 files changed, 54 insertions(+), 55 deletions(-) commit 633a93f418ce029bc3cb6665a648235183cec731 Author: Timm Bäder Date: Tue Nov 1 20:51:03 2016 +0100 widget: Remove outdated comment gtk_widget_override_color is no more. gtk/gtkwidget.c | 3 --- 1 file changed, 3 deletions(-) commit a7efe10ef82dcdbd431f554f7ab50150b93554fb Author: Timm Bäder Date: Tue Nov 1 20:29:00 2016 +0100 widget: Remove unused visibility-notify-event gtk/gtkwidget.h | 3 --- 1 file changed, 3 deletions(-) commit 773c16076bec9b1e32b197adedf58eac2bf4892e Author: Timm Bäder Date: Tue Nov 1 20:28:28 2016 +0100 widget: Remove state-flags leftovers gtk/gtkbutton.c | 10 +++++----- gtk/gtkcellrendererspinner.c | 26 -------------------------- gtk/gtkenums.h | 33 --------------------------------- gtk/gtkpathbar.c | 10 +++++----- gtk/gtkwidget.h | 2 -- 5 files changed, 10 insertions(+), 71 deletions(-) commit 6dddf0447e4f4462c9568a1c506ee621e933990e Author: Benjamin Otte Date: Wed Nov 2 15:19:49 2016 +0100 css: Fix radial-gradient() color stop computation The copy/paste from the linear gradient code had an error. gtk/gtkcssimageradial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2d7df8e66a59a140aff623c27d91f409ba668f38 Author: Chun-wei Fan Date: Tue Nov 1 16:42:31 2016 +0800 gdk/win32: Complete gdk_screen_is_composited() removal Commit d249e77 (API: screen: Remove gdk_screen_is_composited()) attempted to update the GDK-Win32 for the removal of the API, but some parts were missed. This updates the code so that things continue to build and run. https://bugzilla.gnome.org/show_bug.cgi?id=773299 gdk/win32/gdkdisplay-win32.c | 4 ++++ gdk/win32/gdkevents-win32.c | 1 + gdk/win32/gdkglcontext-win32.c | 5 ++--- 3 files changed, 7 insertions(+), 3 deletions(-) commit b9f9980bb443f08de20670aca7176309bb440264 Author: Chun-wei Fan Date: Wed Nov 2 12:57:27 2016 +0800 gsk: Export gsk_render_node_get_bounds() gtk/inspector/rendernodeview.c calls this private function from GSK, so we need to ensure that this function is exported so that GTK+ can link properly on compilers that do not support automatic exporting. https://bugzilla.gnome.org/show_bug.cgi?id=773299 gsk/gskrendernodeprivate.h | 1 + 1 file changed, 1 insertion(+) commit 32a5729d18879676d7aa1388f0b44d0589257650 Author: Benjamin Otte Date: Wed Nov 2 07:16:08 2016 +0100 gtk: Chain up in realize() ... instead of copy/paste from gtk_widget_real_realize. gtk/gtkbutton.c | 11 +++-------- gtk/gtkcolorswatch.c | 10 ++-------- gtk/gtkexpander.c | 10 +++------- gtk/gtkmenuitem.c | 9 ++------- gtk/gtknotebook.c | 9 ++------- gtk/gtkpaned.c | 9 ++------- gtk/gtkpathbar.c | 12 +++--------- gtk/gtkstack.c | 3 +-- gtk/gtktoolbar.c | 9 ++------- gtk/gtktoolitem.c | 10 ++-------- 10 files changed, 22 insertions(+), 70 deletions(-) commit b0a5e8764c59043dc9b38f300e9b44a878aec26c Author: Benjamin Otte Date: Wed Nov 2 06:51:59 2016 +0100 widget: Insist on widgets calling gtk_widget_set_has_window() This way, we can grep the code for the bad widgets that set this to TRUE and fix them. gtk/gtkwidget.c | 6 ++++++ gtk/gtkwidgetprivate.h | 1 + 2 files changed, 7 insertions(+) commit 5e07a31d2bfd05ba53313b76beaa2f70fa990cde Author: Benjamin Otte Date: Wed Nov 2 06:51:33 2016 +0100 gtk: Call gtk_widget_set_has_window() on every widget Even if we just set it to the value it already had. gtk/gtkcolorplane.c | 1 + gtk/gtkiconview.c | 1 + gtk/gtkmenushell.c | 2 ++ gtk/gtktextview.c | 1 + gtk/gtktreeview.c | 2 ++ 5 files changed, 7 insertions(+) commit 8ea1157d388ab3472d1deddbd3ae8fc74b8b814b Author: Benjamin Otte Date: Wed Nov 2 06:46:02 2016 +0100 treeview: Don't use gtk_widget_get_allocaton() Use gtk_widget_get_allocated_width()/height() instead. gtk/gtktreeview.c | 65 +++++++++++++++++++++---------------------------------- 1 file changed, 25 insertions(+), 40 deletions(-) commit 21b061b0dd7b88360291445d4fea99c25fa11443 Author: Chun-wei Fan Date: Wed Nov 2 12:23:41 2016 +0800 demos/application: Call the right program We need to update the call to gtk4-application-demo, plus include the correct icon file for this. demos/gtk-demo/application.c | 2 +- demos/gtk-demo/application_demo.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit 2d14217cd706416f80ba2931ef21988056f4dddd Author: Matthias Clasen Date: Tue Nov 1 22:06:25 2016 -0400 inspector: Cosmetic improvements to the recorder gtk/inspector/recorder.c | 9 +++++---- gtk/inspector/recorder.ui | 24 +++++++++++++++++------- 2 files changed, 22 insertions(+), 11 deletions(-) commit c607d51890f3f768150658255f2f8e8776933161 Author: Juan Pablo Ugarte Date: Tue Nov 1 10:59:05 2016 -0300 Use GLSL version 110 for OpenGL 2 shaders. According to docs and Intel legacy drivers, GLSL version 130 is for GL 3.0 not GL 2.0/2.1 Validated files with reference compiler from https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/ gdk/resources/glsl/gl2-texture-2d.fs.glsl | 2 +- gdk/resources/glsl/gl2-texture-2d.vs.glsl | 4 +--- gdk/resources/glsl/gl2-texture-rect.fs.glsl | 2 +- gdk/resources/glsl/gl2-texture-rect.vs.glsl | 4 +--- gdk/resources/glsl/gl3-texture-2d.vs.glsl | 2 -- gdk/resources/glsl/gl3-texture-rect.vs.glsl | 2 -- 6 files changed, 4 insertions(+), 12 deletions(-) commit 793f843b0875e09d88699aa4e3f806f3b1185e1f Author: Matthias Clasen Date: Fri Oct 28 12:58:18 2016 -0400 check button: Update for new box gadget functionality The box gadget now does the render node conversion for all its children, so we have less work to do. gtk/gtkcheckbutton.c | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) commit 18f321df946abd8c92234154da030a8bde9b1c4b Author: Matthias Clasen Date: Fri Oct 28 12:57:39 2016 -0400 expander: Update for new box gadget functionality The box gadget now does the render node conversion for all its children, so we have less work to do. gtk/gtkexpander.c | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) commit 953c7ba6bed58bef278742cf8abdeb3593ec1fb4 Author: Matthias Clasen Date: Fri Oct 28 12:57:07 2016 -0400 box gadget: Implement get_render_node vfunc This implements get_render_node in the obvious way. gtk/gtkboxgadget.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) commit 68cc1412e59abf5b3c4982a2978600bc30cb29da Author: Matthias Clasen Date: Fri Oct 28 12:56:21 2016 -0400 container: Add a private api for render node propagation Add a function that propagates a render node for a single child. This will be used in the box gadget to handle widgets. gtk/gtkcontainer.c | 68 +++++++++++++++++++++++++++++------------------ gtk/gtkcontainerprivate.h | 4 +++ 2 files changed, 46 insertions(+), 26 deletions(-) commit 30a56acc7deb0ba6d91d38fbe04771130211f874 Author: Matthias Clasen Date: Fri Oct 28 12:55:33 2016 -0400 gadget: Add a get_render_node vfunc This will let us do box gadgets like we do containers. gtk/gtkcssgadget.c | 21 +++++++++++++++++---- gtk/gtkcssgadgetprivate.h | 4 ++++ 2 files changed, 21 insertions(+), 4 deletions(-) commit 3656c9f94c0401376d3dc0a3963312ef986cb021 Author: Matthias Clasen Date: Thu Oct 27 20:46:08 2016 -0400 Convert GtkEntry to indirect rendering Warning! This unveils some positioning issue with the secondary icon. gtk/gtkentry.c | 53 +++++++++++++++++++++++++++++++---------------------- 1 file changed, 31 insertions(+), 22 deletions(-) commit 6ed58cfd506cb9995af8625822388290bf3b114a Author: Matthias Clasen Date: Tue Nov 1 14:11:25 2016 -0400 Fix the build testgtk.c had some dead code referring to GdkColor. Drop it. tests/testgtk.c | 16 ---------------- 1 file changed, 16 deletions(-) commit 7a2537866b2e495be9397834fc9edbc829cfd52c Author: Matthias Clasen Date: Fri Oct 28 17:08:25 2016 -0400 Drop GdkColor It is deprecated and no longer used. docs/reference/gdk/gdk-docs.sgml | 1 - docs/reference/gdk/gdk4-sections.txt | 18 ---- gdk/Makefile.am | 10 +- gdk/deprecated/gdkcolor.c | 202 ----------------------------------- gdk/deprecated/gdkcolor.h | 87 --------------- gdk/gdk.h | 4 - gdk/gdkcairo.h | 1 - gdk/gdktypes.h | 1 - 8 files changed, 1 insertion(+), 323 deletions(-) commit 35209f098b51e328e500c505851c5e53464b1c5d Author: Matthias Clasen Date: Fri Oct 28 17:04:24 2016 -0400 Stop supporting GdkColor in text buffer serialization GdkColor is going away soon. gtk/gtktextbufferserialize.c | 45 -------------------------------------------- 1 file changed, 45 deletions(-) commit 17a061b8da4f59307c0c74185553253556397de4 Author: Matthias Clasen Date: Fri Oct 28 17:03:24 2016 -0400 Drop the settings color parser We have no color-valued settings anymore. gtk/gtksettings.c | 266 +----------------------------------------------------- 1 file changed, 1 insertion(+), 265 deletions(-) commit 6e178aede26f903d573032f6dd4a679b30923cfc Author: Matthias Clasen Date: Fri Oct 28 16:58:12 2016 -0400 Use GdkRGBA for text attributes Now that GtkTextAttributes is private, we can clean this struct up a bit. The first step is to switch from GdkColor to GdkRGBA, and adapt all users. gtk/Makefile.am | 1 - gtk/a11y/gtktextviewaccessible.c | 12 ++-- gtk/gtktextattributes.c | 109 ++++++++++++++++++++------------- gtk/gtktextattributes.h | 49 ++------------- gtk/gtktextattributesprivate.h | 75 ----------------------- gtk/gtktextdisplay.c | 25 +++----- gtk/gtktextlayout.c | 126 +++++++++++++++++++-------------------- gtk/gtktexttag.c | 103 +++++++++++--------------------- gtk/gtktexttagprivate.h | 2 + gtk/gtktextutil.c | 19 +++--- gtk/gtktextview.c | 19 +++--- 11 files changed, 198 insertions(+), 342 deletions(-) commit e6d5a3dce2f189eb35a91cc4e96f6138ef39128d Author: Matthias Clasen Date: Thu Oct 27 13:43:15 2016 -0400 Drop GtkTextAttributes from the docs docs/reference/gtk/gtk4-sections.txt | 11 ----------- 1 file changed, 11 deletions(-) commit 745c348ff8f07815abaf8b437fb5c914f5c60c85 Author: Matthias Clasen Date: Thu Oct 27 13:39:01 2016 -0400 Make GtkTextAttributes private This is a problematic struct, and giving direct access to it has kept us from making improvements to GtkTextView. Drop it from the public API, together with the auxiliary APIs. If it turns out that this functionality is needed, we should add individual getters. gtk/Makefile.am | 10 ++---- gtk/a11y/gtktextviewaccessible.c | 1 + gtk/gtktextiter.c | 69 +++++++++++++++------------------------- gtk/gtktextview.c | 15 --------- gtk/gtktextview.h | 4 --- gtk/gtktextviewprivate.h | 4 +++ 6 files changed, 34 insertions(+), 69 deletions(-) commit 72a9c532620e42f2381b62c592327af5082e6790 Author: Benjamin Otte Date: Tue Nov 1 18:32:50 2016 +0100 inspector: Add a button to clear all recordings Clears the recordings list, and even better: Frees all your memory. gtk/inspector/recorder.c | 11 +++++++++++ gtk/inspector/recorder.ui | 7 +++++++ 2 files changed, 18 insertions(+) commit e02ff7c0642f438e37f4ef46a872eacfb14f529b Author: Benjamin Otte Date: Tue Nov 1 18:31:13 2016 +0100 inspector: Collect statistics for unclassable types I want to know how many GskRenderNodes I have! gtk/inspector/statistics.c | 5 ----- 1 file changed, 5 deletions(-) commit 3741e6906e2954284ae349571fa0971d06db46fc Author: Benjamin Otte Date: Tue Nov 1 18:03:16 2016 +0100 inspector: Require toggling on/off of recording This way, we don't eat up all your memory every time you start the inspector. gtk/inspector/recorder.c | 90 +++++++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/recorder.h | 16 +++++---- gtk/inspector/recorder.ui | 12 +++++++ 3 files changed, 112 insertions(+), 6 deletions(-) commit 4673318028dca5620960b171ddb4d07fa2c71a52 Author: Benjamin Otte Date: Tue Nov 1 01:21:02 2016 +0100 inspector: Add list of render nodes to recorder And make it possible to view the actually selected node in the view. gtk/inspector/Makefile.inc | 2 + gtk/inspector/gtktreemodelrendernode.c | 474 +++++++++++++++++++++++++++++++++ gtk/inspector/gtktreemodelrendernode.h | 80 ++++++ gtk/inspector/recorder.c | 97 +++++-- gtk/inspector/recorder.ui | 61 ++++- gtk/inspector/renderrecording.c | 6 + gtk/inspector/renderrecording.h | 2 + 7 files changed, 701 insertions(+), 21 deletions(-) commit 4265c0e5b0ddc5bcfdc7549239b5b28a0511af74 Author: Benjamin Otte Date: Mon Oct 31 16:38:19 2016 +0100 inspector: Next step in the recorder view We now record all render operations and display them. Warning: This is very brute force, you can't clear the recordings or turn recording off. And this thing easily records 25MB per recorded frame, so be careful to not run out of memory and get your browser killed. ;) gtk/inspector/Makefile.inc | 2 + gtk/inspector/init.c | 2 + gtk/inspector/recorder.c | 34 +++- gtk/inspector/recorder.ui | 17 +- gtk/inspector/rendernodeview.c | 401 ++++++++++++++++++++++++++++++++++++++++ gtk/inspector/rendernodeview.h | 64 +++++++ gtk/inspector/renderrecording.c | 12 ++ gtk/inspector/renderrecording.h | 15 +- 8 files changed, 537 insertions(+), 10 deletions(-) commit e6f711a94ac48dcc747b0a9c38d152b4a7963b0d Author: Benjamin Otte Date: Sun Oct 30 06:11:38 2016 +0100 inspector: Add more infrastructure This one introduces the Recording object which is essentially a single instance of something that happened. The RenderRecording is an instance of an actual rendering operation. gtk/gtkwidget.c | 4 ++ gtk/inspector/Makefile.inc | 4 ++ gtk/inspector/recorder.c | 67 +++++++++++++++++++++++++- gtk/inspector/recorder.h | 10 +++- gtk/inspector/recorder.ui | 2 +- gtk/inspector/recording.c | 104 ++++++++++++++++++++++++++++++++++++++++ gtk/inspector/recording.h | 55 +++++++++++++++++++++ gtk/inspector/renderrecording.c | 68 ++++++++++++++++++++++++++ gtk/inspector/renderrecording.h | 64 +++++++++++++++++++++++++ gtk/inspector/window.c | 32 +++++++++++++ gtk/inspector/window.h | 5 ++ 11 files changed, 411 insertions(+), 4 deletions(-) commit 98a500a43427c67735cd870bb05d40032b6defec Author: Benjamin Otte Date: Sat Oct 29 21:11:23 2016 +0200 inspector: Add outline for a new "recorder" tab gtk/inspector/Makefile.inc | 3 +++ gtk/inspector/init.c | 4 ++++ gtk/inspector/recorder.c | 46 +++++++++++++++++++++++++++++++++++++++++ gtk/inspector/recorder.h | 51 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/recorder.ui | 25 +++++++++++++++++++++++ gtk/inspector/window.c | 1 + gtk/inspector/window.h | 1 + gtk/inspector/window.ui | 17 ++++++++++++++++ 8 files changed, 148 insertions(+) commit 59a9eda5ae9d67806b4a50a4ca0bb558edbc3cfc Author: Sébastien Wilmet Date: Tue Nov 1 15:51:21 2016 +0100 docs: fix typos in GtkMenuShell gtk/gtkmenushell.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4129b70b968266b4d84a2d4f43e344499ed40499 Author: Benjamin Otte Date: Tue Nov 1 05:47:35 2016 +0100 rendernode: Remove the renderer from the rendernode gsk/gskrenderer.c | 3 +-- gsk/gskrendernode.c | 6 +----- gsk/gskrendernodeprivate.h | 6 +----- 3 files changed, 3 insertions(+), 12 deletions(-) commit a0e63b8a07d2796bcf2d3cfec9ba984fe8ca9066 Author: Benjamin Otte Date: Tue Nov 1 05:45:01 2016 +0100 rendernode: Require passing a renderer to get_draw_context() This is in preparation of making render nodes independent of the renderer, so that they can be rendered multiple times with different renderers. gsk/gskrenderer.h | 1 - gsk/gskrendernode.c | 27 +++++++++++++++++++++------ gsk/gskrendernode.h | 3 ++- gsk/gsktypes.h | 2 ++ gtk/gtkaccellabel.c | 2 +- gtk/gtkcssgadget.c | 6 +++--- gtk/gtkdebugupdates.c | 2 +- gtk/gtkflowbox.c | 2 +- gtk/gtkframe.c | 2 +- gtk/gtkimage.c | 2 +- gtk/gtklabel.c | 2 +- gtk/gtkpopover.c | 2 +- gtk/gtkrenderbackground.c | 8 ++++---- gtk/gtkwidget.c | 4 ++-- gtk/gtkwindow.c | 2 +- 15 files changed, 42 insertions(+), 25 deletions(-) commit e201c4dc926dd21cd99b9442b8aebf235a33142a Author: Benjamin Otte Date: Tue Nov 1 04:58:29 2016 +0100 gsk: Remove gsk_render_node_get_scale_factor() Scale factors belong to the renderers, not the nodes. The nodes should just use whatever scale factor the renderer tells them to when rendering. docs/reference/gsk/gsk4-sections.txt | 1 - gsk/gskglrenderer.c | 2 +- gsk/gskrendernode.c | 18 ------------------ gsk/gskrendernodeprivate.h | 2 -- 4 files changed, 1 insertion(+), 22 deletions(-) commit 3d8b00600e7da165c47a215ce20533411ec94113 Author: Benjamin Otte Date: Tue Nov 1 04:47:52 2016 +0100 gdkgl: Change prototype of function The function does not upload a cairo surface, it uploads pixel data. So don't take a cairo surface as an argument, take pixel data. gdk/gdkgl.c | 14 ++++++++++++-- gdk/gdkglcontext.c | 15 +++++++-------- gdk/gdkglcontextprivate.h | 3 ++- 3 files changed, 21 insertions(+), 11 deletions(-) commit 02c615cc34e51a3b5661b79372f09749b845e864 Author: Emmanuele Bassi Date: Tue Nov 1 15:00:31 2016 +0000 gsk: Use the appropriate GLSL version The GLSL versions are: OpenGL 2.1: #version 110 OpenGL 3.0: #version 130 OpenGL 3.2: #version 150 OpenGLES 2.0: #version 100 OpenGLES 3.0: #version 300 es So we need to check the version of the GdkGLContext if we want use the appropriate version, especially for legacy OpenGL contexts, which can be both 3.x and 2.x. gsk/gskglrenderer.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit 3c1f72671a0794403e0ef399b8cf700c152dd567 Author: Marek Černocký Date: Tue Nov 1 09:48:00 2016 +0100 Updated Czech translation po-properties/cs.po | 698 ++++++++++++++++++++++++++-------------------------- 1 file changed, 351 insertions(+), 347 deletions(-) commit e96c485afae622ad12ab3cdb3534ae7d8ccde741 Author: Benjamin Otte Date: Tue Nov 1 03:57:42 2016 +0100 widget: Create render node with correct bounds We want a render node where (0,0) is the top left of the widget. However, we need to account for the clip origin not matching the allocation origin. gtk/gtkwidget.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 8854279e2a93bf5018add10c77083659e673e721 Author: Benjamin Otte Date: Tue Nov 1 00:04:01 2016 +0100 treeview: Clip before translating We want to clip invalidations to the bin window, not the treeview itself. gtk/gtktreeview.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit b40aeb7ab463b200d1e05ff77c1654b7636ec95f Author: Benjamin Otte Date: Tue Nov 1 00:03:03 2016 +0100 treeview: Clip to bin window size when drawing bin window This ensures that the drawing does not extend the actually drawn area. It also ensures that our math is sane, because the math assumes the clip area cannot extend the window. After all, before GTK4 it always was like that. Fixes a bunch of drawing bugs when the clip area does indeed extend too far. gtk/gtktreeview.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit b3e5c31b080b682d479ab15efc80075fc53afe7e Author: Benjamin Otte Date: Tue Nov 1 03:42:35 2016 +0100 rendernode: Transform cairo_t to correct coordinates We want to have the coordinate system of the created cairo surface to be identical to the coordinate system of the node's bounds. For that, we need to translate the cairo surface by the bounds' origin. gsk/gskrendernode.c | 2 ++ 1 file changed, 2 insertions(+) commit f4c4ab6ab152ebf4b963c7dc4be6af5718d3961b Author: Benjamin Otte Date: Tue Nov 1 03:40:01 2016 +0100 rendernode: Use ceilf() on the size of the cairo surface Bounds sizes are floats, so round up to the next integer so we end up with enough space to draw. gsk/gskrendernode.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit ee4ba18d5e4b7550fc9fb0cfe5f83b75f6124cb6 Author: Timm Bäder Date: Fri Oct 28 12:56:36 2016 +0200 stack: Don't underallocate child in interpolate-size case In that case, we can't just rely on the stack allocation being big enough. Especially, the child can actually be bigger than the current stack allocation, so take that into account when positioning it. gtk/gtkstack.c | 41 +++++++++++++++++++++++++++-------------- 1 file changed, 27 insertions(+), 14 deletions(-) commit 8dce94c47a9957b47bda28243505ef3f13a509be Author: Timm Bäder Date: Fri Oct 28 12:51:03 2016 +0200 stack: Redraw last_visible_surface if child allocation changes So the widget is properly aligned. gtk/gtkstack.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 212f8a6c7be8795eb0d130cc1f02e770dc17fa1d Author: Timm Bäder Date: Mon Oct 31 17:42:40 2016 +0100 builderparser: Order string comparisons after frequency The typical UI file has a lot more tags than it has or tags, etc. so order the string comparisons according to this expected case. gtk/gtkbuilderparser.c | 130 ++++++++++++++++++++++++------------------------- 1 file changed, 65 insertions(+), 65 deletions(-) commit 938598032cd210ccfd72a7ab0580d99fda5b8057 Author: Timm Bäder Date: Sun Oct 23 17:25:58 2016 +0200 builderparser: Save tag type instead of tag name So we can save a few string comparisons gtk/gtkbuilderparser.c | 86 ++++++++++++++++++++++++++++++------------------- gtk/gtkbuilderprivate.h | 2 +- 2 files changed, 54 insertions(+), 34 deletions(-) commit e3a3a663700ffb0083576be60de57e49549eb622 Author: Timm Bäder Date: Mon Sep 12 21:39:33 2016 +0200 builderparser: Don't needlessly copy requested object names gtk/gtkbuilderparser.c | 15 ++++----------- gtk/gtkbuilderprivate.h | 2 +- 2 files changed, 5 insertions(+), 12 deletions(-) commit f415a8bc846fc635906b67b9dcb44259d2d48cbc Author: Timm Bäder Date: Mon Sep 12 21:27:51 2016 +0200 builderparser: stack-allocate ParserData No reason for it to be heap-allocated, it won't survive this function call anyway. gtk/gtkbuilderparser.c | 52 ++++++++++++++++++++++++-------------------------- 1 file changed, 25 insertions(+), 27 deletions(-) commit ba9193fc813932a3575210e42efbcf78056e07cc Author: Timm Bäder Date: Sat Oct 29 22:16:39 2016 +0200 paned: Convert to indirect rendering gtk/gtkpaned.c | 120 +++++++++++++++------------------------------------------ 1 file changed, 30 insertions(+), 90 deletions(-) commit 679b515170b7c375d7784695be398d9e6444f832 Author: Timm Bäder Date: Sat Oct 29 19:43:49 2016 +0200 popover: convert to indirect rendering gtk/gtkpopover.c | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) commit 2f2ff773aeaf9b3687c6f11cafe67be034fab9a9 Author: Timm Bäder Date: Sat Oct 29 19:27:22 2016 +0200 separator: Convert to indirect rendering gtk/gtkseparator.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) commit c261d890adccb81384294810d0bcfa6b0868af3f Author: Timm Bäder Date: Sun Oct 30 19:29:41 2016 +0100 widget: Remove damage-event gtk/gtkwidget.c | 30 ------------------------------ gtk/gtkwidget.h | 4 ---- 2 files changed, 34 deletions(-) commit c25a5606d155712407e0f4bdb82fecb2d6b8b0c2 Author: Timm Bäder Date: Sun Oct 30 19:23:36 2016 +0100 widget: remove show-help gtk/gtkwidget.c | 54 ------------------------------------------------------ gtk/gtkwidget.h | 23 ----------------------- 2 files changed, 77 deletions(-) commit 5071206d60d11416b67fb7ac1c9771de06626274 Author: Timm Bäder Date: Sun Oct 30 17:01:19 2016 +0100 widget: Remove app-paintable demos/gtk-demo/foreigndrawing.c | 1 - demos/gtk-demo/toolpalette.c | 2 - docs/reference/gtk/gtk4-sections.txt | 2 - docs/tools/widgets.c | 1 - gtk/gtkdnd.c | 9 ++--- gtk/gtkeventbox.c | 3 +- gtk/gtkglarea.c | 1 - gtk/gtkwidget.c | 71 ------------------------------------ gtk/gtkwidget.h | 12 ++---- gtk/gtkwidgetprivate.h | 1 - gtk/gtkwindow.c | 54 ++++++++++++--------------- tests/animated-resizing.c | 1 - tests/motion-compression.c | 2 - tests/testellipsise.c | 1 - tests/testgtk.c | 1 - tests/testpopup.c | 1 - tests/testtooltips.c | 1 - tests/video-timer.c | 1 - 18 files changed, 31 insertions(+), 134 deletions(-) commit 567f6373c84ad9d4e80ccac807898b061ca4e76d Author: Emmanuele Bassi Date: Mon Oct 31 16:30:10 2016 +0000 build: Clean the uninstalled introspection GIR files We need to remove them from the build when cleaning them. Additionally, this automatically adds them to the Git ignore file. gdk/Makefile.am | 2 +- gsk/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit a203b8cc284b724d6a555e940a5633fc612372b1 Author: Emmanuele Bassi Date: Mon Oct 31 16:28:09 2016 +0000 gsk: Use GskRenderer.create_cairo_surface() GskRenderNode should ask the renderer for a Cairo surface when creating a drawing context. gsk/gskrendernode.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit 50a5deb8e382a4c116aa383e9c932d42a19efbfb Author: Emmanuele Bassi Date: Mon Oct 31 16:26:50 2016 +0000 gsk: Add internal Renderer.create_cairo_surface() We need an overridable entry point for GskRenderer to create Cairo surfaces. Implementations of GskRenderer can override create_cairo_surface() to create efficient surfaces, possibly with zero copies involved, depending on the GDK backend. gsk/gskrenderer.c | 31 +++++++++++++++++++++++++++++++ gsk/gskrendererprivate.h | 17 +++++++++++++---- 2 files changed, 44 insertions(+), 4 deletions(-) commit 50056d804b9bfa5cbea6e5f7a6a8a5cccd753a33 Author: Juan Pablo Ugarte Date: Fri Oct 28 17:30:46 2016 -0300 gdk/Makefile.am: fixed glsl resources extra dist files. Use the same wildcard partern used to generate gdk.gresource.xml to include files in EXTRA_DIST var. gdk/Makefile.am | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) commit d7df4916560e39664f227d6b0e67d422f44b5c4c Author: Timm Bäder Date: Sat Oct 29 22:05:18 2016 +0200 button: show() the image in gtk_button_new_from_icon_name gtk/gtkbutton.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 3ae14630a39545841710ed5bb1a3f5cd8b79b843 Author: Timm Bäder Date: Sun Oct 30 15:36:26 2016 +0100 tests: Don't add wigets to a GtkInvisible It's not a GtkContainer. testsuite/gtk/treeview.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6488dde4fd66b32f19dc262a8dc01df64050342f Author: Timm Bäder Date: Sat Oct 29 16:35:16 2016 +0200 box: Use measure() to measure child sizes gtk/gtkbox.c | 100 ++++++++++++++++++++++++----------------------------------- 1 file changed, 41 insertions(+), 59 deletions(-) commit 76ff53193a3308a4439a41208e86780acda2a209 Author: Timm Bäder Date: Sat Oct 29 16:16:49 2016 +0200 box: Mark out params of _query_packing as (optional) gtk/gtkbox.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a829929a417a02d2881f6c49ca62a187b76b537b Author: Timm Bäder Date: Sat Oct 29 15:51:17 2016 +0200 sidebarrow: Use GtkButton:icon-name gtk/ui/gtksidebarrow.ui | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit 3154d3f25854d51f3e6d8b25dadc1ea70265d2de Author: Timm Bäder Date: Sat Oct 29 15:50:53 2016 +0200 box: Remove unused private API gtk/gtkbox.c | 46 ++-------------------------------------------- gtk/gtkboxprivate.h | 4 ---- 2 files changed, 2 insertions(+), 48 deletions(-) commit 86e94d0e0f391724370082c0707dc09c3c002752 Author: Timm Bäder Date: Sat Oct 29 10:16:03 2016 +0200 dialog: Let GtkButton manage its style classes A button created using gtk_button_new_with_label will already have the text-button style class applied. gtk/gtkdialog.c | 1 - 1 file changed, 1 deletion(-) commit 01723fa02faf37d729cee059bcd3e1d39230dd24 Author: Timm Bäder Date: Sat Oct 29 10:07:15 2016 +0200 filechooser: Use GtkButton's icon-name property gtk/gtkfilechooserdialog.c | 7 +------ gtk/ui/gtkfilechooserwidget.ui | 8 +------- 2 files changed, 2 insertions(+), 13 deletions(-) commit 5147ea96e0a382081029089162811b84b3cd8ab9 Author: Rico Tzschichholz Date: Sun Oct 30 07:58:05 2016 +0100 gsk: Fix return annotation for gsk_render_node_get_name() gsk/gskrendernode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e455843bbb037571b53656e4575263766bb37c84 Author: Piotr Drąg Date: Sat Oct 29 21:32:56 2016 +0200 Update POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit def62a9ddaf3c2d5478c2aa2ae7a33f3332e3884 Author: Benjamin Otte Date: Sat Oct 29 18:08:11 2016 +0200 API: rendernode: Add gsk_render_node_get_name() Make the debug string available to public API. gsk/gskrendernode.c | 20 ++++++++++++++++++++ gsk/gskrendernode.h | 2 ++ 2 files changed, 22 insertions(+) commit d028667fc645eb40397f6b0c2243af87a97dba24 Author: Benjamin Otte Date: Sat Oct 29 18:06:24 2016 +0200 display: Actually initialize variables Forgot to add this in d249e77bcb19c3981f750556809b48d406a027eb. gdk/gdkdisplay.c | 3 +++ 1 file changed, 3 insertions(+) commit 5bb5213486920cbf78915694873bac5597cfd02d Author: Lapo Calamandrei Date: Sat Oct 29 17:34:49 2016 +0200 Adwaita: add more padding to popover menus... ...since Timm removed that from the actual code. gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 8 insertions(+) commit 91723bfcfc706af25297dacac21b1dcf3305aab0 Author: Lapo Calamandrei Date: Sat Oct 29 17:33:26 2016 +0200 Revert "Adwaita: add more padding to popovers" Padding should be added back to menu popover only... This reverts commit 670948586afbd3957dd9dbe28b3a5426270cd901. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit da1348edb4efd936af5a893097cac3626b4bb9ac Author: Lapo Calamandrei Date: Sat Oct 29 17:18:58 2016 +0200 Adwaita: no rounded corners for solid-csd. gtk/theme/Adwaita/_common.scss | 8 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) commit 670948586afbd3957dd9dbe28b3a5426270cd901 Author: Lapo Calamandrei Date: Sat Oct 29 17:14:07 2016 +0200 Adwaita: add more padding to popovers ...since Timm stole some. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 73cd739e19b4033f97922dd8b393ac37c041fb87 Author: Benjamin Otte Date: Sat Oct 29 04:48:29 2016 +0200 API: widget: Remove gtk_widget_is_composited() We don't need to clutter our API with functions that are easily available elsewhere and effectively unused. docs/reference/gtk/gtk4-sections.txt | 1 - docs/reference/gtk/question_index.sgml | 2 +- gtk/gtkwidget.c | 32 +++----------------------------- gtk/gtkwidget.h | 4 ---- tests/testgtk.c | 6 ++++-- 5 files changed, 8 insertions(+), 37 deletions(-) commit d249e77bcb19c3981f750556809b48d406a027eb Author: Benjamin Otte Date: Sat Oct 29 04:37:20 2016 +0200 API: screen: Remove gdk_screen_is_composited() Switch code to use gdk_display_is_composited() instead. The new code also doesn't use a vfunc to query the property but rather requires the backend to call set_composited()/set_rgba() to change the value. docs/reference/gdk/gdk4-sections.txt | 1 - gdk/broadway/gdkdisplay-broadway.c | 2 -- gdk/broadway/gdkscreen-broadway.c | 18 ----------- gdk/broadway/gdkscreen-broadway.h | 1 - gdk/gdkdisplay.c | 32 ++++++++++++++++-- gdk/gdkdisplayprivate.h | 8 +++++ gdk/gdkscreen.c | 44 ------------------------- gdk/gdkscreen.h | 2 -- gdk/gdkscreenprivate.h | 1 - gdk/mir/gdkmirscreen.c | 9 ------ gdk/quartz/gdkscreen-quartz.c | 7 ---- gdk/wayland/gdkscreen-wayland.c | 7 ---- gdk/win32/gdkdisplay-win32.c | 20 ++++++++++++ gdk/win32/gdkdisplay-win32.h | 2 ++ gdk/win32/gdkevents-win32.c | 1 + gdk/win32/gdkscreen-win32.c | 21 ------------ gdk/win32/gdkwindow-win32.c | 4 +-- gdk/x11/gdkdisplay-x11.c | 28 +++++++++++++--- gdk/x11/gdkdnd-x11.c | 2 +- gdk/x11/gdkglcontext-x11.c | 7 +--- gdk/x11/gdkscreen-x11.c | 63 ------------------------------------ gdk/x11/gdkscreen-x11.h | 4 --- gtk/gtkdnd.c | 10 ++++-- gtk/gtkwidget.c | 8 ++--- gtk/gtkwindow.c | 28 ++++------------ gtk/inspector/general.c | 1 - gtk/inspector/inspect-button.c | 12 +++---- tests/testgtk.c | 18 +++++++---- 28 files changed, 123 insertions(+), 238 deletions(-) commit a334316d5e190f8b56ae9eec6e6b9b81968077d5 Author: Benjamin Otte Date: Sat Oct 29 03:25:06 2016 +0200 API: widget: Remove GtkWidget::composited-changed signal Nobody uses it. If you need the functionality, listen to display changes on your widget and then connect to the display's notify::composited. gtk/gtkwidget.c | 38 -------------------------------------- gtk/gtkwidget.h | 4 ---- gtk/gtkwidgetprivate.h | 1 - gtk/gtkwindow.c | 31 +++---------------------------- tests/testgtk.c | 12 +++++++----- 5 files changed, 10 insertions(+), 76 deletions(-) commit b69328eb749cfb39599153d92eeb0bd1cf5297d9 Author: Benjamin Otte Date: Sat Oct 29 01:06:05 2016 +0200 inspector: Use the new APIs when displaying information gtk/inspector/general.c | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) commit 42d8142cc7dfde3de041bbea7d01fb70a9081271 Author: Benjamin Otte Date: Fri Oct 28 23:38:16 2016 +0200 API: gdk: Add gdk_display_is_rgba() and gdk_display_is_composited() Also add properties for those two properties. The first property is equivalent to checking if an RGBA visual exists, the 2nd is equivalent to gdk_screen_is_composited(). docs/reference/gdk/gdk4-sections.txt | 2 + gdk/gdkdisplay.c | 126 +++++++++++++++++++++++++++++++++++ gdk/gdkdisplay.h | 5 ++ 3 files changed, 133 insertions(+) commit b2a0105234fe9ab35c4b1762a77abe3c6b8e7e56 Author: Timm Bäder Date: Fri Oct 28 19:32:50 2016 +0200 frame: Get the render node from the gadget So we get a proper css background etc. applied. gtk/gtkframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5c99f7a6702fb32ae39001f9501014244db42e33 Author: Timm Bäder Date: Fri Oct 28 18:10:22 2016 +0200 Fix clip of more windowed widgets gtk/gtkflowbox.c | 2 ++ gtk/gtklistbox.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) commit acbdd5c8f285dcbf5ddc3d884d0f19b45e7af426 Author: Timm Bäder Date: Fri Oct 28 17:55:13 2016 +0200 Fix clip position of windowed widgets gtk/gtkpaned.c | 2 ++ gtk/gtkstack.c | 2 ++ 2 files changed, 4 insertions(+) commit c7496b86b6747cd3989064e79a0eefbb513acd43 Author: Marek Černocký Date: Fri Oct 28 17:07:54 2016 +0200 Updated Czech translation po-properties/cs.po | 13731 ++++++++++++++++++++++++-------------------------- po/cs.po | 1658 +++--- 2 files changed, 7404 insertions(+), 7985 deletions(-) commit 90292b1aa36128042a8773e3a459739bd8c8ba3c Author: Timm Bäder Date: Fri Oct 28 16:29:51 2016 +0200 modelbutton: Convert to indirect rendering gtk/gtkmodelbutton.c | 78 +++++++++++++++++++++++----------------------------- 1 file changed, 34 insertions(+), 44 deletions(-) commit 48602e500c25dfe1cefeef65ec0c8085da954498 Author: Timm Bäder Date: Fri Oct 28 14:31:43 2016 +0200 cssgadget: Move gadgets to their allocated position gtk/gtkcssgadget.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 46d80b94a872610a92fd8e2897bce3bec099ac27 Author: Timm Bäder Date: Fri Oct 28 13:42:11 2016 +0200 switch: Port to indirect rendering gtk/gtkswitch.c | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) commit 90b133bb5064945bf038ed071f85352b24a6dcde Author: Timm Bäder Date: Thu Oct 27 14:04:44 2016 +0200 testframe: Fix css element name tests/testframe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8c128f36c5b6135d5aedc52acbf34dd628af39ef Author: Timm Bäder Date: Thu Oct 27 09:54:42 2016 +0200 frame: Use measure() to measure label size gtk/gtkframe.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 82d38e35f81cd92ffb2365da2ad0c5da3083cbe7 Author: Timm Bäder Date: Thu Oct 27 09:38:45 2016 +0200 stack: Use measure() to measure child widget Simpler code this way \o/ gtk/gtkstack.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) commit 6eb3d98de0ef186f56fdec12772b83f319546cba Author: Timm Bäder Date: Tue Oct 25 16:52:27 2016 +0200 csswidgetnode: Fix container condition for GtkInvisible ... which is a toplevel, but not a container. gtk/gtkcsswidgetnode.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 21a43014edc6ab9f2d4b71889f370d41ab6cfdac Author: Timm Bäder Date: Mon Oct 24 20:08:58 2016 +0200 menusectionbox: Remove margins So the theme can add the spacing on its own. gtk/gtkmenusectionbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 37e06f19e217e2ebf5dad4efd76545700be1aacd Author: Timm Bäder Date: Mon Oct 24 20:03:27 2016 +0200 inspector: make use of GtkButton's icon-name property gtk/inspector/data-list.ui | 11 +----- gtk/inspector/resource-list.ui | 22 +---------- gtk/inspector/window.ui | 88 ++++-------------------------------------- 3 files changed, 11 insertions(+), 110 deletions(-) commit 5a64ad44793ce8914346d9cc8898363fca349055 Author: Timm Bäder Date: Mon Oct 24 11:45:21 2016 +0200 toggletoolbutton: Remove unneeded deprecation markers gtk/gtktoggletoolbutton.c | 3 --- 1 file changed, 3 deletions(-) commit 775b42ef92ec97e93a9f59ab99ad2e842d7c6b8d Author: Matthias Clasen Date: Fri Oct 28 06:47:26 2016 -0400 Revert "Convert GtkEntry to indirect rendering" This reverts commit 8e29222d95449278d66f3e067d7dc1dcb7f6dcae. This needs more work - spin buttons need to be converted at the same time, and we should make sure that text still appears. gtk/gtkentry.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit b960008955a58146735b3d4ae6d241b401bc2206 Author: Chun-wei Fan Date: Fri Oct 14 19:04:49 2016 +0800 GDK-Win32/4.0: Improve GL on Windows Update the GDKGL implementation: -Allow legacy contexts to be created. -Use finer-grained attributes to ask for a pixel format when possible, which also adds support for anti-aliasing In fact the changes here are required for GTKGL to work properly on Windows for 4.x. Note that creation of gles contexts is not done here, as the system does not support such contexts directly on Windows, but only through means such as ANGLE, which is a totally different issue here. https://bugzilla.gnome.org/show_bug.cgi?id=773528 gdk/win32/gdkdisplay-win32.h | 2 + gdk/win32/gdkglcontext-win32.c | 308 ++++++++++++++++++++++++++++++++++------- 2 files changed, 257 insertions(+), 53 deletions(-) commit fcecec1a9da0188805888e87b7e5db5d79897af4 Author: Chun-wei Fan Date: Fri Oct 28 13:42:55 2016 +0800 GDK/Win32: Deal with leftovers from removal of GdkWindow items We need to further remove items for the removal of: -GdkWindow->depth (commit 6cc94ff) -gdk_window_get_visual()/GdkWindow->visual (commit f420dc7) -GDK visual query APIs (commit 45c0379) https://bugzilla.gnome.org/show_bug.cgi?id=773299 gdk/win32/gdkglcontext-win32.c | 10 ++++------ gdk/win32/gdkscreen-win32.c | 2 -- gdk/win32/gdkwindow-win32.c | 2 -- 3 files changed, 4 insertions(+), 10 deletions(-) commit 45c0379f873e33f6ac072cd32bb7785b61a2f962 Author: Benjamin Otte Date: Fri Oct 28 04:42:24 2016 +0200 API: gdk: Remove visual querying APIs They are unused, only work on the default display anyway and visuals are on their way out. docs/reference/gdk/gdk4-sections.txt | 10 -- gdk/broadway/gdkprivate-broadway.h | 16 --- gdk/broadway/gdkscreen-broadway.c | 8 -- gdk/broadway/gdkvisual-broadway.c | 101 ------------------- gdk/gdkscreenprivate.h | 16 --- gdk/gdkvisual.c | 186 ----------------------------------- gdk/gdkvisual.h | 26 ----- gdk/mir/gdkmirscreen.c | 76 -------------- gdk/quartz/gdkprivate-quartz.h | 17 ---- gdk/quartz/gdkscreen-quartz.c | 8 -- gdk/quartz/gdkvisual-quartz.c | 95 ------------------ gdk/wayland/gdkscreen-wayland.c | 79 --------------- gdk/win32/gdkscreen-win32.c | 87 ---------------- gdk/x11/gdkprivate-x11.h | 16 --- gdk/x11/gdkscreen-x11.c | 8 -- gdk/x11/gdkvisual-x11.c | 101 ------------------- testsuite/gdk/visual.c | 87 ---------------- 17 files changed, 937 deletions(-) commit f420dc74566ef1c284cd22314017e12624d51a15 Author: Benjamin Otte Date: Thu Oct 27 23:27:49 2016 +0200 API: gdk: Remove gdk_window_get_visual() With it, remove window->visual. docs/reference/gdk/gdk4-sections.txt | 1 - gdk/broadway/gdkwindow-broadway.c | 1 - gdk/gdkinternals.h | 1 - gdk/gdkwindow.c | 24 +----------------------- gdk/gdkwindow.h | 3 --- gdk/mir/gdkmirwindowimpl.c | 17 ++--------------- gdk/quartz/GdkQuartzView.c | 4 +--- gdk/quartz/gdkwindow-quartz.c | 7 ++----- gdk/wayland/gdkglcontext-wayland.c | 18 ++---------------- gdk/wayland/gdkwindow-wayland.c | 1 - gdk/win32/gdkglcontext-win32.c | 29 ++++++----------------------- gdk/win32/gdkmain-win32.c | 5 ++--- gdk/win32/gdkwindow-win32.c | 3 +-- gdk/x11/gdkdisplay-x11.c | 15 +++++++++++++++ gdk/x11/gdkglcontext-x11.c | 3 ++- gdk/x11/gdkprivate-x11.h | 1 + gdk/x11/gdkwindow-x11.c | 11 +++++------ 17 files changed, 40 insertions(+), 104 deletions(-) commit 6cc94ff1763635d68c0eb2bf7c5f52ed0142b554 Author: Benjamin Otte Date: Thu Oct 27 16:24:42 2016 +0200 gdk: Remove GdkWindow.depth member variable It's unused. gdk/broadway/gdkwindow-broadway.c | 1 - gdk/gdkinternals.h | 1 - gdk/gdkwindow.c | 2 -- gdk/wayland/gdkwindow-wayland.c | 1 - gdk/x11/gdkwindow-x11.c | 10 ++++++---- 5 files changed, 6 insertions(+), 9 deletions(-) commit cd67c0d7ccedb4a09d0a10293b576a324f0a179b Author: Benjamin Otte Date: Thu Oct 27 15:38:41 2016 +0200 window: Add a GdkWindow:display property ... and make it an explicit property of the window struct instead of looking it up in the visual. gdk/gdkdisplay.c | 4 +++- gdk/gdkinternals.h | 2 ++ gdk/gdkwindow.c | 34 +++++++++++++++++++++++++++++++--- 3 files changed, 36 insertions(+), 4 deletions(-) commit 8e29222d95449278d66f3e067d7dc1dcb7f6dcae Author: Matthias Clasen Date: Thu Oct 27 20:46:08 2016 -0400 Convert GtkEntry to indirect rendering Warning! This unveils some positioning issue with the secondary icon. gtk/gtkentry.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) commit 45e83f3d38e30d59c76d5622c33805c08e6a45af Author: Matthias Clasen Date: Thu Oct 27 20:27:34 2016 -0400 Convert GtkIcon to indirect rendering gtk/gtkicon.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) commit 4dee2535c371ebce0d44106cf5da59a8df624d12 Author: Sébastien Wilmet Date: Thu Oct 27 12:20:46 2016 +0200 docs: more logical GtkEntry function order in the section file Trivial commit. Group related functions together. Most of the functions had already the set -> get order, so keep that order. docs/reference/gtk/gtk4-sections.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 75ef45f53d9aa1caafc8085af1573db0c986a1a0 Author: Sébastien Wilmet Date: Thu Oct 27 12:05:37 2016 +0200 docs: consistent get/set function order for GtkScrolledWindow Trivial commit. For all the other GtkScrolledWindow functions, the order was get -> set. Except for 3 functions, so fix that. docs/reference/gtk/gtk4-sections.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 71b7435c56bdd79dcc729a2b7a4722f184b1c69d Author: Chun-wei Fan Date: Thu Oct 27 14:27:21 2016 +0800 MSVC builds: Simplify "install" property sheet Use a for loop to loop through the icon sizes to copy them. build/win32/vs12/gtk4-install.propsin | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) commit 42d3a9e68a336f1c98319a08882ab64e2dc98a98 Author: Rico Tzschichholz Date: Thu Oct 27 08:16:57 2016 +0200 gtk+-4.0.pc: Make sure to add requirements for Gsk (e.g. graphene-1.0) gtk+-4.0.pc.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 874b0daea2e97f685898d8624990034f6f59bbb0 Author: Chun-wei Fan Date: Thu Oct 27 14:13:42 2016 +0800 MSVC builds: Make the GSK project functional Add the needed custom build steps to generate the GResource and enumeration sources that is needed for the build, and make sure that the build is able to find the Graphene headers and lib. Also add the necessary CFLAGS needed for building GSK. build/win32/vs12/gsk-4.vcxproj.filtersin | 16 +++--------- build/win32/vs12/gsk-4.vcxprojin | 42 +++++++++++++++++++++---------- build/win32/vs12/gtk4-build-defines.props | 7 +++--- build/win32/vs12/gtk4-gen-srcs.props | 18 +++++++++++++ 4 files changed, 54 insertions(+), 29 deletions(-) commit 80ff8d6d89fd6e43edfede698722b606bdba4ce4 Author: Chun-wei Fan Date: Thu Oct 27 14:11:14 2016 +0800 MSVC builds: Fix previous patch on .sln file We need to change the filenames of the .vcxproj project files as well, oops. build/win32/vs12/gtk+-4.sln | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 9c6e614bc38aa1ce419f54c6935047196d0f24e4 Author: Rico Tzschichholz Date: Thu Oct 27 08:12:20 2016 +0200 gtk+-4.0.pc: Drop rogue refererene to non-existing gdk-4.0.pc gtk+-4.0.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1f791b59d8ad723e5b7bcb4ef81ca44219825c78 Author: Chun-wei Fan Date: Thu Oct 27 12:27:04 2016 +0800 build/win32/vs12/gtk4-gen-srcs.props: Fix XML reference URL Visual Studio can be picky about this, causing projects not to load. build/win32/vs12/gtk4-gen-srcs.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 710e706643f4d0fcfd11ac459511028bae6878f9 Author: Chun-wei Fan Date: Thu Oct 27 12:22:53 2016 +0800 Visual Studio projects: Rename tools to become gtk4-* This follows what happens in the autotools builds. Also fix some project namespaces and the install project where there is a typo in a project dep, which may cause a problem during the build. build/win32/vs12/Makefile.am | 16 +++---- build/win32/vs12/gtk+-4.sln | 8 ++-- ...lder-tool.vcxproj => gtk4-builder-tool.vcxproj} | 2 +- ...j.filters => gtk4-builder-tool.vcxproj.filters} | 0 ...vg.vcxproj => gtk4-encode-symbolic-svg.vcxproj} | 2 +- ...rs => gtk4-encode-symbolic-svg.vcxproj.filters} | 0 build/win32/vs12/gtk4-install.propsin | 50 +++++++++++----------- build/win32/vs12/gtk4-install.vcxproj | 8 ++-- ...ettings.vcxproj => gtk4-query-settings.vcxproj} | 2 +- ...filters => gtk4-query-settings.vcxproj.filters} | 0 ...ache.vcxproj => gtk4-update-icon-cache.vcxproj} | 2 +- ...ters => gtk4-update-icon-cache.vcxproj.filters} | 0 build/win32/vs14/Makefile.am | 16 +++---- 13 files changed, 53 insertions(+), 53 deletions(-) commit 56b25e2574cad338d5549561deb024301452b660 Author: Benjamin Otte Date: Thu Oct 27 06:37:02 2016 +0200 x11: Remove code that temporarily unsets the background We don't set a background anymore, so we don't need to temporarily unset it. gdk/x11/gdkgeometry-x11.c | 4 -- gdk/x11/gdkwindow-x11.c | 167 ---------------------------------------------- gdk/x11/gdkwindow-x11.h | 6 -- 3 files changed, 177 deletions(-) commit be8c0b27afb1b019487dac2cb771457b1aadf97b Author: Benjamin Otte Date: Thu Oct 27 06:14:01 2016 +0200 inspector: Don't connect to nonexisting signal The GdkScreen::size-changed signal was removed a while ago. And because signal changes don't trip the compiler, there are always leftovers... gtk/inspector/general.c | 1 - 1 file changed, 1 deletion(-) commit 48f5df53188382ced355bf8116bbe1b5e1fced08 Author: Benjamin Otte Date: Wed Oct 26 05:29:07 2016 +0200 gtk: Add back infrastructure for GTK_DEBUG=updates Includes the ability to turn on updates in the inspector. Animations are now run via a tick function which allows us to neatly overlay a semi-transparent red rectangle and fade it out over time. It also probably enables way more, but somebody with more UI neatness than me needs to figure out what it eanbles first... gtk/Makefile.am | 2 + gtk/gtkdebugupdates.c | 318 +++++++++++++++++++++++++++++++++++++++++++ gtk/gtkdebugupdatesprivate.h | 40 ++++++ gtk/gtkmain.c | 4 + gtk/gtkwindow.c | 12 +- gtk/inspector/visual.c | 9 +- 6 files changed, 379 insertions(+), 6 deletions(-) commit e1e64ac6fcda36c5875cba0514efca341808f25b Author: Benjamin Otte Date: Tue Oct 25 07:25:59 2016 +0200 treeview: Use gtk_widget_queue_draw() gtk/gtktreeview.c | 42 +++++++++++++++++++++++++++++++++--------- 1 file changed, 33 insertions(+), 9 deletions(-) commit a81c309c390b6da23067654b16af4dd15c2fcc11 Author: Benjamin Otte Date: Sat Oct 22 04:59:15 2016 +0200 textview: Use gtk_widget_draw() gtk/gtktextview.c | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) commit 0cf4fdcb86567d21fdcdf4fbfab20f7f6b1acbbe Author: Benjamin Otte Date: Fri Oct 21 05:00:58 2016 +0200 widget: Use gtk_widget_queue_draw() gtk/gtkwidget.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) commit 2ca641edc948ba85b3f19a6be1e2d396ec68d7fe Author: Benjamin Otte Date: Thu Oct 20 18:46:27 2016 +0200 scrolledwindow: Use gtk_widget_queue_draw() gtk/gtkscrolledwindow.c | 35 ++++++++++++----------------------- 1 file changed, 12 insertions(+), 23 deletions(-) commit bf64b6aec4c339f38b6651fd21c2f515da09d8a9 Author: Benjamin Otte Date: Thu Oct 20 17:33:33 2016 +0200 paned: Use gtk_widget_queue_draw() gtk/gtkpaned.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 8202d3fe897548bef464a48fdd4a01ee59307453 Author: Benjamin Otte Date: Wed Oct 19 22:46:57 2016 +0200 menu: Remove unneeded invalidations The gadgets should take care of those themselves gtk/gtkmenu.c | 6 ------ 1 file changed, 6 deletions(-) commit ef1ba120376c78752aa032096a5b2e1990a68ea7 Author: Benjamin Otte Date: Wed Oct 19 22:46:47 2016 +0200 notebook: Use gtk_widget_queue_draw() gtk/gtknotebook.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 1df8b1571169924e97b783692106b93a6564c8b0 Author: Benjamin Otte Date: Wed Oct 19 22:33:26 2016 +0200 gtk: Remove gdk_window_invalidate() from docs And replace its mentions with gtk_widget_queue_draw(). gtk/gtkmain.c | 2 +- gtk/gtkwidget.c | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) commit b9aef64f09ab6d59ae57e2d6c22e1dc1c854e908 Author: Benjamin Otte Date: Wed Oct 19 22:27:43 2016 +0200 toolitemgroup: Use gtk_widget_queue_draw() gtk/gtktoolitemgroup.c | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) commit 4d4b355d0e26abc38a33165a4f147987ea315781 Author: Benjamin Otte Date: Wed Oct 19 22:17:50 2016 +0200 iconview: Use gtk_widget_queue_draw() gtk/gtkiconview.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit ac88153f60f62ac287e175e392689d3946c7e8b1 Author: Benjamin Otte Date: Wed Oct 19 22:05:20 2016 +0200 expander: Remove unnecessary redraws gtk/gtkexpander.c | 17 ----------------- 1 file changed, 17 deletions(-) commit 8b76d12f289ef07ddac30c21f330a977d270c5a7 Author: Benjamin Otte Date: Wed Oct 19 18:18:31 2016 +0200 drawingarea: Clarify docs Don't use gdk_window_invalidate(), use gtk_widget_queue_draw(). gtk/gtkdrawingarea.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 27ab75250cf33c75077b444a164ea0cd442c6e7c Author: Benjamin Otte Date: Tue Oct 18 19:43:32 2016 +0200 widget: Redo how gtk_widget_queue_draw() works Before, we would immediately invalidate the GdkWindow of the widget, now we call the parent's GtkWidgetClass.queue_draw_child() function. This allows the parent to track redraw queueing of children. By default GtkWidgetClass.queue_draw_child() will again chain up to its parent while respecting the GdkWindow hierarchy for clipping. GtkWindow is then the only widget actually invalidating the GdkWindow. This essentially moves redraw queueing from GDK to GTK. gtk/gtkwidget.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++++-------- gtk/gtkwidget.h | 16 ++++++++------ gtk/gtkwindow.c | 16 ++++++++++++++ 3 files changed, 82 insertions(+), 15 deletions(-) commit 77038a9b0b435270e701aa5b8d11e1f5e5b18c85 Author: Benjamin Otte Date: Tue Oct 18 19:42:19 2016 +0200 widget: Inline function into only caller ... and remove all the checks that are not needed in this case. gtk/gtkwidget.c | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) commit dd105f3db87cc515179150b5e844eca73ecdcb3d Author: Benjamin Otte Date: Thu Oct 27 00:07:01 2016 +0200 gdk: Remove gdk_window_set_invalidate_handler() It's not used anymore. docs/reference/gdk/gdk4-sections.txt | 2 -- docs/reference/gtk/drawing-model.xml | 14 -------------- gdk/gdkinternals.h | 1 - gdk/gdkwindow.c | 27 --------------------------- gdk/gdkwindow.h | 20 -------------------- 5 files changed, 64 deletions(-) commit b1f61b6fcc73e825c635ec6d312bbab8b62d6886 Author: Benjamin Otte Date: Thu Oct 27 00:06:36 2016 +0200 gdk: Add deprecation guards around deprecated function gdk/gdkwindow.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 568f1ff30136b205620d48f43ba5e3842687e75b Author: Benjamin Otte Date: Wed Oct 26 23:46:51 2016 +0200 pixelcache: Remove It's now unused. gtk/Makefile.am | 2 - gtk/gtkpixelcache.c | 506 --------------------------------------------- gtk/gtkpixelcacheprivate.h | 63 ------ 3 files changed, 571 deletions(-) commit a9c05448a89e284327d4e0c1e662688d7395d941 Author: Benjamin Otte Date: Wed Oct 26 23:45:57 2016 +0200 textview: Get rid of the pixel cache gtk/gtktextview.c | 142 +++--------------------------------------------------- 1 file changed, 7 insertions(+), 135 deletions(-) commit 134165e77395782bfad5d232ffc58b4c2b8cf63e Author: Benjamin Otte Date: Wed Oct 26 20:51:25 2016 +0200 treeview: Remove the pixel cache usage gtk/gtktreeview.c | 132 ++++++++---------------------------------------------- 1 file changed, 18 insertions(+), 114 deletions(-) commit 6861a5d0a4e90f38c91081f6c6ee8c1532f5e122 Author: Matthias Clasen Date: Wed Oct 26 20:58:07 2016 -0400 Spacing fixes for builtin dialogs Replace border-width and padding by margins, in most places. gtk/ui/gtkaboutdialog.ui | 3 +++ gtk/ui/gtkcolorchooserdialog.ui | 2 ++ gtk/ui/gtkfilechooserdialog.ui | 1 + gtk/ui/gtkfilechooserwidget.ui | 3 +++ gtk/ui/gtkfontbutton.ui | 2 ++ gtk/ui/gtkfontchooserdialog.ui | 2 ++ gtk/ui/gtkinfobar.ui | 3 +++ gtk/ui/gtkpagesetupunixdialog.ui | 2 ++ gtk/ui/gtkplacesview.ui | 2 ++ gtk/ui/gtkprintunixdialog.ui | 7 +++++++ gtk/ui/gtksearchbar.ui | 1 + 11 files changed, 28 insertions(+) commit 50a75b37a966ea60962967e46fad7fbf5603e7a8 Author: Matthias Clasen Date: Wed Oct 26 15:11:18 2016 -0400 More gtk-demo spacing fixes demos/gtk-demo/colorsel.c | 1 + demos/gtk-demo/combobox.c | 5 +++++ demos/gtk-demo/dialog.c | 2 ++ demos/gtk-demo/drawingarea.c | 1 + demos/gtk-demo/editable_cells.c | 1 + demos/gtk-demo/entry_buffer.c | 1 + demos/gtk-demo/entry_completion.c | 1 + demos/gtk-demo/filtermodel.ui | 5 +---- demos/gtk-demo/glarea.c | 1 + demos/gtk-demo/images.c | 1 + demos/gtk-demo/infobar.c | 2 ++ demos/gtk-demo/list_store.c | 1 + demos/gtk-demo/panes.c | 2 ++ demos/gtk-demo/pickers.c | 1 + demos/gtk-demo/popover.c | 2 ++ demos/gtk-demo/scale.ui | 1 + demos/gtk-demo/search_entry.c | 1 + demos/gtk-demo/sizegroup.c | 3 +++ demos/gtk-demo/spinner.c | 1 + demos/gtk-demo/theming.ui | 29 ----------------------------- demos/gtk-demo/toolpalette.c | 4 ++++ demos/gtk-demo/tree_store.c | 1 + 22 files changed, 34 insertions(+), 33 deletions(-) commit 76aeb706ef7bb224f305ec84079de8e2290c1ffe Author: Matthias Clasen Date: Wed Oct 26 15:03:04 2016 -0400 gtk-demo: Start to fix up the spacing Replace some cases of lost border-width with margins. demos/gtk-demo/button_box.c | 5 +++++ demos/gtk-demo/changedisplay.c | 2 ++ demos/gtk-demo/clipboard.c | 4 ++++ 3 files changed, 11 insertions(+) commit b2284ef48fa7338aff549bb5dccb0a31da8469d9 Author: Matthias Clasen Date: Wed Oct 26 14:42:11 2016 -0400 Fix widget-factory appearance, a bit Use margins instead of border-width, for now. demos/widget-factory/widget-factory.ui | 2 ++ 1 file changed, 2 insertions(+) commit e2e8231ca9dc52fcfe5d850555a8b0ae21577522 Author: Matthias Clasen Date: Wed Oct 26 14:28:17 2016 -0400 color chooser: Fix a problem with show-editor=TRUE For some reason we end up allocating the colorplane widget before it is realized, and then never initialize the surface. Fix this by explicitly doing it on realize. https://bugzilla.gnome.org/show_bug.cgi?id=773474 gtk/gtkcolorplane.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 75358e4d8dce3790a55649ba867833118c56a64d Author: Benjamin Otte Date: Wed Oct 26 17:59:33 2016 +0200 applicationwindow: Fix issues with measure vfunc transition gtk/gtkapplicationwindow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a750f942ac17c6e29965cd77c1baa59f83f520b6 Author: Benjamin Otte Date: Wed Oct 26 17:25:30 2016 +0200 viewport: Remove pixelcache With the rework for GSK and queueing of redraws pending, the pixel cache just gets in the way. So we remove it everywhere. gtk/gtkviewport.c | 131 +----------------------------------------------------- 1 file changed, 1 insertion(+), 130 deletions(-) commit da2d91b9b3c7bdc20b284a97b53259b5122255a4 Author: Emmanuele Bassi Date: Wed Oct 26 16:10:35 2016 +0100 build: Update CLEANFILES We use nodist for gir and typelib files, because we expect them to be rebuilt. gtk/Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit b6c749e61c64ad7b90161b64faaf4161394f307d Author: Emmanuele Bassi Date: Wed Oct 26 15:58:23 2016 +0100 build: Beautify the GIR post-processing Use AM_V_GEN to silence the command line output. gtk/Makefile.am | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) commit e161f9eba332a85027f165e4a7cd7c641db8aaa4 Author: Emmanuele Bassi Date: Wed Oct 26 15:47:29 2016 +0100 gsk: Add check on GL_MAX_TEXTURE_SIZE We should check (once) what's the maximum GL texture size and then use that size to check when we create any GL texture, to avoid errors. gsk/gskgldriver.c | 35 +++++++++++++++++++++++++++++++++++ gsk/gskgldriverprivate.h | 2 ++ 2 files changed, 37 insertions(+) commit 42a5608af624c1509a57781bca909c188b15506f Author: Matthias Clasen Date: Wed Oct 26 10:45:04 2016 -0400 Fix the build Copy-paste error. gdk/gdkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9aa1257bd0cbe967bc040f383b8cdca7f2840765 Author: Matthias Clasen Date: Wed Oct 26 06:21:39 2016 -0400 GdkWindow: Use the seat to enumerate devices GdkDeviceManager is going away. gdk/gdkwindow.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) commit 7fa09a3e3a9ae7d2d4abe6b7fdfa122a0aaadd40 Author: Matthias Clasen Date: Tue Oct 25 20:38:38 2016 -0400 quartz: Stop using gdk_device_manager_list_devices The function has been deprecated. gdk/quartz/gdkevents-quartz.c | 24 ++++++++++++++---------- gdk/quartz/gdkwindow-quartz.c | 32 ++++++-------------------------- 2 files changed, 20 insertions(+), 36 deletions(-) commit 35fda80a4bb36deea3ad51318a2a3f6e26e1125a Author: Matthias Clasen Date: Tue Oct 25 20:38:05 2016 -0400 x11: Stop using gdk_device_manager_list_devices The function has been deprecated. gdk/x11/gdkmain-x11.c | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) commit d2d209865b6eda557a470b87dbc508e15be657d3 Author: Matthias Clasen Date: Tue Oct 25 20:37:35 2016 -0400 broadway: Stop using gdk_device_manager_list_devices The function is deprecated. gdk/broadway/gdkdevice-broadway.c | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) commit 723b588b5d172d323dce75592b25172cbc12c552 Author: Alexander Larsson Date: Mon Oct 17 15:07:57 2016 +0200 Make gdk.la and gsk.la a noninst helper library This merged gtk, gdk and gsk into one library, making it possible to have internal private APIs between gtk them, as well as producing more efficient code. https://bugzilla.gnome.org/show_bug.cgi?id=773100 Makefile.am | 15 +------- configure.ac | 2 -- demos/gtk-demo/Makefile.am | 1 - demos/icon-browser/Makefile.am | 1 - demos/widget-factory/Makefile.am | 1 - docs/reference/gdk/Makefile.am | 2 +- docs/reference/gsk/Makefile.am | 2 +- docs/reference/gtk/Makefile.am | 1 - examples/Makefile.am | 1 - examples/application1/Makefile.am | 1 - examples/application10/Makefile.am | 1 - examples/application2/Makefile.am | 1 - examples/application3/Makefile.am | 1 - examples/application4/Makefile.am | 1 - examples/application5/Makefile.am | 1 - examples/application6/Makefile.am | 1 - examples/application7/Makefile.am | 1 - examples/application8/Makefile.am | 1 - examples/application9/Makefile.am | 1 - gdk-4.0.pc.in | 13 ------- gdk/Makefile.am | 74 ++++++++++++++++---------------------- gsk-4.0.pc.in | 13 ------- gsk/Makefile.am | 40 ++++++++------------- gtk+-4.0.pc.in | 8 ++--- gtk/Makefile.am | 39 +++++++++++++++----- tests/Makefile.am | 3 +- testsuite/gsk/Makefile.am | 2 +- testsuite/reftests/Makefile.am | 1 - 28 files changed, 84 insertions(+), 145 deletions(-) commit 3fd63e1d675a6744e3bf42cfec29d0602ba6e500 Author: Benjamin Otte Date: Tue Oct 18 03:49:09 2016 +0200 widget: Improve early exit checks on queue_draw() (1) We don't need to check for realized when we check for mapped right below. (2) Empty regions don't need to be drawn. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 52c4421bd3c798eb65c12a41449bb2bee2ea2f71 Author: Jaime Velasco Juan Date: Mon Oct 17 14:33:47 2016 +0100 win32 theme: Fix tooltip borders https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/theme/win32/gtk.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d1dafbeaefd1e7ad2cfdb634d4e9cbd8822bdc9e Author: Jaime Velasco Juan Date: Fri Oct 14 14:13:09 2016 +0100 win32 theme: Fix combobox https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/theme/win32/gtk-win32-base.css | 96 ++++++++++++++++++-------------------- 1 file changed, 46 insertions(+), 50 deletions(-) commit 16926308a895144888d502fc8e6a400d16d65f08 Author: Jaime Velasco Juan Date: Fri Oct 14 12:16:57 2016 +0100 win32 theme: Fix column headers https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/theme/win32/gtk-win32-base.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 1f340882e20281d2fa337a6a8979998a791e7ba4 Author: Jaime Velasco Juan Date: Fri Oct 14 10:49:55 2016 +0100 win32 theme: Fix popup window decorations Windows such as combobox's popup were using toplevel window's borders https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/theme/win32/gtk.css | 6 ++++++ 1 file changed, 6 insertions(+) commit 5c6dda0459e7e4fe3c3136c2cff0ec98209b50b7 Author: Jaime Velasco Juan Date: Fri Oct 14 09:47:11 2016 +0100 gtkwin32theme: delete #if 0 code https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/gtkwin32theme.c | 11 ----------- 1 file changed, 11 deletions(-) commit a877d2c1634ba9f9a25bb917e957abfb6ed3f84a Author: Jaime Velasco Juan Date: Thu Oct 13 12:50:51 2016 +0100 win32 theme: Fix scale widget It was invisible before. https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/theme/win32/gtk-win32-base.css | 191 ++++++++++++++----------------------- 1 file changed, 74 insertions(+), 117 deletions(-) commit 7e3f9d6f71be666dc829942859408b8b44b6bce6 Author: Jaime Velasco Juan Date: Fri Oct 14 09:24:13 2016 +0100 win32 theme: No need to create a DC for GetThemePartSize https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/gtkwin32theme.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 77ff3ada62d2a2eb2061b082b7f47fe8ac275c1a Author: Jaime Velasco Juan Date: Fri Oct 14 09:18:46 2016 +0100 win32 theme: use TS_TRUE in GetThemePartSize Several styles return a size of 0x0px when using TS_DRAW, as we don't pass a RECT to draw into. https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/gtkwin32theme.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit ed980824c4c262dc1a3fb225460f858ad8502f1d Author: Jaime Velasco Juan Date: Thu Oct 13 12:38:05 2016 +0100 win32 theme: Fix scrollbars The fix is only partial, when both scrollbars are visible their ends overlap. https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/theme/win32/gtk-win32-base.css | 140 +++++++++++++++++++------------------ 1 file changed, 71 insertions(+), 69 deletions(-) commit ea9b99235172791674572445a7731353b67ad6b7 Author: Jaime Velasco Juan Date: Thu Oct 13 12:27:43 2016 +0100 Fix CSS warnings in win32 theme https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/theme/win32/gtk-win32-base.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9a9969b3371f8b45d2b3412919b67cf6b95395a9 Author: Jaime Velasco Juan Date: Thu Oct 13 12:26:09 2016 +0100 Fix tiny fonts in win32 theme broken since df08fc91... (css: always get default font size in pixels) https://bugzilla.gnome.org/show_bug.cgi?id=773221 gtk/theme/win32/gtk-win32-base.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 83dc4c8b39184514533d40c2a8c2295cc99e615f Author: Sébastien Wilmet Date: Wed Oct 26 15:20:25 2016 +0200 docs: fix copy/paste errors in the docs of GtkScrolledWindow Trivial commit. gtk/gtkscrolledwindow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 371aa0dba39200782be4bf6310f0d4538df94d56 Author: Sébastien Wilmet Date: Wed Oct 26 14:11:57 2016 +0200 docs: update section file for GtkScrolledWindow Trivial commit. - More logical ordering (re-group related things). - Add missing functions: max_content_width/height. docs/reference/gtk/gtk4-sections.txt | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) commit 4b3c0314ddc37d4204e55710744ed31f7cd21c64 Author: Chun-wei Fan Date: Wed Oct 26 16:36:03 2016 +0800 gdk/win32/gdkevents-win32.c: Avoid gdk_device_manager_get_core_pointer() This function has been removed, so replace it with gdk_seat_get_pointer(). https://bugzilla.gnome.org/show_bug.cgi?id=773299 gdk/win32/gdkevents-win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 306fd15c344bbf86dae21935be255677acb7b488 Author: Chun-wei Fan Date: Wed Oct 26 18:28:50 2016 +0800 demos: Fix 'make install' We need to change gtk-update-icon-cache to gtk4-update-icon-cache, as that tool has been renamed. demos/gtk-demo/Makefile.am | 2 +- demos/widget-factory/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit ac875073fc9eb567c9143db1ee560719a7485a47 Author: Chun-wei Fan Date: Wed Oct 26 18:23:38 2016 +0800 GSK: Add initial Visual Studio projects This adds the initial MSVC build items needed to build GSK under Visual Studio, this is part of it that is required, we need to add items to the property sheets to generate the code that is generated via glib-mkenums and glib-compile-resources. This set includes, with the autotools scripts for the complete: -GSK project files, which is integrated into the gtk+-4.sln. -The NMake snippets to build the introspection files for GSK. -The .bat files to call glib-mkenums to generate the enumeration sources. build/win32/Makefile.am | 22 ++-- build/win32/gen-enums.batin | 16 +++ build/win32/gtkpc.py | 14 +++ build/win32/vs12/Makefile.am | 5 + build/win32/vs12/gsk-4.vcxproj.filtersin | 34 ++++++ build/win32/vs12/gsk-4.vcxprojin | 191 +++++++++++++++++++++++++++++++ build/win32/vs12/gtk+-4.sln | 18 +++ build/win32/vs12/gtk-4.vcxprojin | 4 + build/win32/vs12/gtk4-install.propsin | 19 ++- build/win32/vs12/gtk4-install.vcxproj | 4 + build/win32/vs14/Makefile.am | 2 + gsk/Makefile.am | 62 +++++++++- 12 files changed, 377 insertions(+), 14 deletions(-) commit c9ce0bd4bac596d1d55c1008d2148d8ea58835b0 Author: Matthias Clasen Date: Wed Oct 26 05:13:52 2016 -0400 Drop x11-specific code from the GTK+ dnd code We were using passive grabs to listen for some individual keys. Nowadays, the managed dnd code in the x11 backend does the same. gtk/gtkdnd.c | 228 ----------------------------------------------------------- 1 file changed, 228 deletions(-) commit 2ba64e0b6249647240186c70c4fd0b52a1f0ed51 Author: Chun-wei Fan Date: Wed Oct 26 13:42:43 2016 +0800 MSVC builds: Support MSVC 2013 and later We now need C99 features from the compiler which are only supported by Visual Studio 2013 and later, so drop the MSVC 2008~2012 projects, and make the baseline supported Visual Studio version be 2013. Update the build files as a result. build/Makefile-newvs.am | 30 +- build/win32/Makefile.am | 3 - build/win32/vs10/Makefile.am | 78 ------ build/win32/vs11/Makefile.am | 49 ---- build/win32/vs12/Makefile.am | 99 ++++--- build/win32/{vs10 => vs12}/README.txt | 36 +-- .../{vs10 => vs12}/broadwayd.vcxproj.filtersin | 2 +- build/win32/{vs10 => vs12}/broadwayd.vcxprojin | 10 +- build/win32/{vs10 => vs12}/gdk-4.vcxproj.filtersin | 2 +- build/win32/{vs10 => vs12}/gdk-4.vcxprojin | 18 +- .../{vs10 => vs12}/gdk4-broadway.vcxproj.filtersin | 2 +- build/win32/{vs10 => vs12}/gdk4-broadway.vcxprojin | 10 +- .../{vs10 => vs12}/gdk4-win32.vcxproj.filtersin | 2 +- build/win32/{vs10 => vs12}/gdk4-win32.vcxprojin | 10 +- build/win32/{vs10 => vs12}/gtk+-4.sln | 4 +- build/win32/{vs10 => vs12}/gtk-4.vcxproj.filtersin | 2 +- build/win32/{vs10 => vs12}/gtk-4.vcxprojin | 10 +- .../win32/{vs10 => vs12}/gtk-builder-tool.vcxproj | 8 +- .../gtk-builder-tool.vcxproj.filters | 0 .../{vs10 => vs12}/gtk-encode-symbolic-svg.vcxproj | 8 +- .../gtk-encode-symbolic-svg.vcxproj.filters | 0 .../{vs10 => vs12}/gtk-query-settings.vcxproj | 8 +- .../gtk-query-settings.vcxproj.filters | 0 .../{vs10 => vs12}/gtk-update-icon-cache.vcxproj | 8 +- .../gtk-update-icon-cache.vcxproj.filters | 0 .../win32/{vs10 => vs12}/gtk4-build-defines.props | 0 .../{vs10 => vs12}/gtk4-copy-gdk-broadway.props | 0 .../gtk4-demo-application.vcxproj.filtersin | 2 +- .../{vs10 => vs12}/gtk4-demo-application.vcxprojin | 10 +- .../{vs10 => vs12}/gtk4-demo.vcxproj.filtersin | 2 +- build/win32/{vs10 => vs12}/gtk4-demo.vcxprojin | 10 +- build/win32/{vs10 => vs12}/gtk4-gen-srcs.props | 0 .../gtk4-icon-browser.vcxproj.filtersin | 2 +- .../{vs10 => vs12}/gtk4-icon-browser.vcxprojin | 10 +- .../{vs10 => vs12}/gtk4-ignore-broadway.props | 0 build/win32/{vs10 => vs12}/gtk4-install.propsin | 8 +- build/win32/{vs10 => vs12}/gtk4-install.vcxproj | 16 +- .../{vs10 => vs12}/gtk4-install.vcxproj.filters | 0 build/win32/{vs10 => vs12}/gtk4-prebuild.vcxproj | 16 +- .../{vs10 => vs12}/gtk4-prebuild.vcxproj.filters | 0 .../{vs10 => vs12}/gtk4-version-paths.props.in | 2 +- build/win32/vs14/Makefile.am | 2 + build/win32/vs9/Makefile.am | 52 ---- build/win32/vs9/README.txt | 100 ------- build/win32/vs9/broadwayd.vcprojin | 176 ------------ build/win32/vs9/gdk-4.vcprojin | 304 -------------------- build/win32/vs9/gdk4-broadway.vcprojin | 130 --------- build/win32/vs9/gdk4-win32.vcprojin | 130 --------- build/win32/vs9/gtk+-4.sln | 309 --------------------- build/win32/vs9/gtk-4.vcprojin | 281 ------------------- build/win32/vs9/gtk-builder-tool.vcproj | 172 ------------ build/win32/vs9/gtk-encode-symbolic-svg.vcproj | 176 ------------ build/win32/vs9/gtk-query-settings.vcproj | 172 ------------ build/win32/vs9/gtk-update-icon-cache.vcproj | 172 ------------ build/win32/vs9/gtk4-build-defines.vsprops | 62 ----- build/win32/vs9/gtk4-copy-gdk-broadway.vsprops | 33 --- build/win32/vs9/gtk4-demo-application.vcprojin | 168 ----------- build/win32/vs9/gtk4-demo.vcprojin | 174 ------------ build/win32/vs9/gtk4-gen-srcs.vsprops | 81 ------ build/win32/vs9/gtk4-icon-browser.vcprojin | 176 ------------ build/win32/vs9/gtk4-ignore-broadway.vsprops | 14 - build/win32/vs9/gtk4-install.vcproj | 204 -------------- build/win32/vs9/gtk4-install.vspropsin | 154 ---------- build/win32/vs9/gtk4-prebuild.vcproj | 282 ------------------- build/win32/vs9/gtk4-version-paths.vsprops.in | 61 ---- configure.ac | 6 +- demos/gtk-demo/Makefile.am | 4 +- demos/icon-browser/Makefile.am | 2 +- gdk/Makefile.am | 4 +- gdk/broadway/Makefile.am | 6 +- gdk/win32/Makefile.am | 4 +- gtk/Makefile.am | 4 +- 72 files changed, 203 insertions(+), 3889 deletions(-) commit 910300bcb2a464dcd7e1a9347d66250b71a484c5 Author: Chun-wei Fan Date: Wed Oct 26 13:22:48 2016 +0800 build/Makefile.msvcproj: Add rules for MSVC 2013 to be baseline version GTK+-3.89.0 and later will require C99 features that is only supported on Visual Studio 2013 and later, so prepare build/Makefile.msvcproj for this. We still keep the 2008~2010 stuff here as this strives to be a shared module, and there are projects using this that still supports building on pre-2013 Visual Studio. build/Makefile.msvcproj | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit 2e103e85cc61264faacb240c55baac149842c98f Author: Chun-wei Fan Date: Wed Oct 19 18:46:59 2016 +0800 Remove gtk4-install.props's during re-generation This is to ensure the changes in the generated build/win32/vs10/gtk4-install.props are applied in build/win32/vs[11|12|14] as well. build/win32/vs10/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) commit b4c37bfff839b83208cff11d9f70f61dadfa58e6 Author: Rico Tzschichholz Date: Wed Oct 26 10:12:58 2016 +0200 visual: Remove deprecated API docs/reference/gdk/gdk4-sections.txt | 3 -- gdk/gdkvisual.c | 70 ------------------------------------ gdk/gdkvisual.h | 6 ---- 3 files changed, 79 deletions(-) commit e0b1f2e5f4a8bc95be90abe75830607739fcff83 Author: Rico Tzschichholz Date: Wed Oct 26 10:06:23 2016 +0200 Remove deprecated gdk_display_open_default_libgtk_only docs/reference/gdk/gdk4-sections.txt | 1 - gdk/gdk.c | 21 --------------------- gdk/gdkdisplay.h | 3 --- 3 files changed, 25 deletions(-) commit dd0f700bfd7545df0d3ad31d195b2298b7dabc14 Author: Matthias Clasen Date: Tue Oct 25 21:46:14 2016 -0400 Fix the docs build after offscreen window removal docs/reference/gtk/gtk4.types.in | 1 - 1 file changed, 1 deletion(-) commit cbe1337aa16842e76c43749be9affc596a1fc62b Author: Matthias Clasen Date: Tue Oct 25 21:24:37 2016 -0400 Revert "Remove gdk_device_grab/ungrab from the API" This reverts commit efc37d08556ed8516442a18a67e3035f13cf05a7. Turns out we need to clean up the dnd code some more, first. docs/reference/gdk/gdk4-sections.txt | 4 ++ gdk/gdkdevice.c | 73 +++++++++++++++++++++++++++++++++--- gdk/gdkdevice.h | 13 +++++++ gdk/gdkdeviceprivate.h | 12 ------ gdk/gdkseatdefault.c | 1 - gdk/x11/gdkdnd-x11.c | 15 +++++--- 6 files changed, 94 insertions(+), 24 deletions(-) commit f350e346e45a7d74330a0436039f260617f39420 Author: Matthias Clasen Date: Tue Oct 25 21:06:25 2016 -0400 Drop the deprecated gdk_device_manager_get_client_pointer docs/reference/gdk/gdk4-sections.txt | 1 - gdk/gdkdevicemanager.c | 26 -------------------------- gdk/gdkdevicemanager.h | 2 -- 3 files changed, 29 deletions(-) commit efc37d08556ed8516442a18a67e3035f13cf05a7 Author: Matthias Clasen Date: Tue Oct 25 20:03:34 2016 -0400 Remove gdk_device_grab/ungrab from the API These are still used in a few places internally, so make them private. docs/reference/gdk/gdk4-sections.txt | 4 -- gdk/gdkdevice.c | 73 +++--------------------------------- gdk/gdkdevice.h | 13 ------- gdk/gdkdeviceprivate.h | 12 ++++++ gdk/gdkseatdefault.c | 1 + gdk/x11/gdkdnd-x11.c | 15 +++----- 6 files changed, 24 insertions(+), 94 deletions(-) commit 74d62acf5c650214235a312a4366535004bb96cf Author: Matthias Clasen Date: Tue Oct 25 19:51:24 2016 -0400 Drop GDK_MULTIDEVICE_SAFE from the docs All the non-multidevice safe API was deprecated and has been dropped now. docs/reference/gtk/compiling.sgml | 7 ------- 1 file changed, 7 deletions(-) commit 5e4a05e5b7297090eabb74af2423895e2b0a2fe4 Author: Matthias Clasen Date: Tue Oct 25 19:45:48 2016 -0400 Remove deprecated gdk_window_get_pointer docs/reference/gdk/gdk4-sections.txt | 1 - gdk/gdkwindow.c | 36 ------------------------------------ gdk/gdkwindow.h | 7 ------- 3 files changed, 44 deletions(-) commit 1396d6c92ac9735cd02efd99e937d4e4bb0cdbf8 Author: Matthias Clasen Date: Tue Oct 25 19:31:24 2016 -0400 Remove some more deprecated display API gdk_display_get_pointer, gdk_display_get_window_at_pointer and gdk_display_warp_pointer have long been deprecated. docs/reference/gdk/gdk4-sections.txt | 3 - gdk/gdkdisplay.c | 128 ----------------------------------- gdk/gdkdisplay.h | 18 ----- 3 files changed, 149 deletions(-) commit ee7ddefce952399f07edbeab465617c98fdccb18 Author: Matthias Clasen Date: Tue Oct 25 16:04:01 2016 -0400 Remove deprecated gdk_display_list_devices docs/reference/gdk/gdk4-sections.txt | 1 - gdk/gdkdisplay.c | 38 ------------------------------------ gdk/gdkdisplay.h | 3 --- 3 files changed, 42 deletions(-) commit dcda9c3d8c2cea331e83d3261fe0be7ff1eb2e5b Author: Matthias Clasen Date: Tue Oct 25 16:02:07 2016 -0400 Remove deprecated GDK_DISPLAY_OBJECT macro gdk/gdkdisplay.h | 3 --- 1 file changed, 3 deletions(-) commit e041345fcbd7b45ff8f9a2eb75b0e4c6bbc56f11 Author: Matthias Clasen Date: Tue Oct 25 16:01:50 2016 -0400 Remove the last uses of GDK_DISPLAY_OBJECT This is an obsolete macro. gdk/broadway/gdkdisplay-broadway.c | 2 +- gdk/wayland/gdkdisplay-wayland.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit e642909823971f4f1ae6cbbdda83770b7994ac94 Author: Matthias Clasen Date: Tue Oct 25 15:56:52 2016 -0400 Remove deprecated display ungrab functions docs/reference/gdk/gdk4-sections.txt | 2 -- gdk/gdkdisplay.c | 68 ------------------------------------ gdk/gdkdisplay.h | 9 ----- 3 files changed, 79 deletions(-) commit 6b231af45e11a9d29fc9639cb16f7588830f34c4 Author: Matthias Clasen Date: Tue Oct 25 15:52:57 2016 -0400 Remove deprecated gdk_app_launch_context_set_display docs/reference/gdk/gdk4-sections.txt | 1 - gdk/gdkapplaunchcontext.c | 22 ---------------------- gdk/gdkapplaunchcontext.h | 3 --- 3 files changed, 26 deletions(-) commit 5cb3fc4c4f2e829a81fd68b175a0d073f21355a0 Author: Matthias Clasen Date: Tue Oct 25 15:35:44 2016 -0400 Drop deprecated gdk_display_get_screen docs/reference/gdk/gdk4-sections.txt | 1 - gdk/gdkdisplay.c | 22 ---------------------- gdk/gdkdisplay.h | 3 --- 3 files changed, 26 deletions(-) commit 0ba67021a901467345f18ac8f8f1ad2adcf9ff0f Author: Matthias Clasen Date: Tue Oct 25 15:31:55 2016 -0400 Remove an unused function This function is no longer used, now that offscreen windows are gone. gdk/gdkwindow.c | 13 ------------- 1 file changed, 13 deletions(-) commit 4f1e06380cb53c9c386553ae27ee57f64f5907eb Author: Matthias Clasen Date: Tue Oct 25 15:27:42 2016 -0400 Remove deprecated gdk_app_launch_context_new docs/reference/gdk/gdk4-sections.txt | 2 -- gdk/gdkapplaunchcontext.c | 17 ----------------- gdk/gdkapplaunchcontext.h | 2 -- 3 files changed, 21 deletions(-) commit 78d0876c46ffb51d06513495e4eccd6ad6bb2542 Author: Matthias Clasen Date: Tue Oct 25 15:21:46 2016 -0400 Remove deprecated gdk_display_get_n_screens gdk/gdkdisplay.c | 20 -------------------- gdk/gdkdisplay.h | 2 -- 2 files changed, 22 deletions(-) commit 0ca12fabf08c4ebc01f5e5d6deac3a7e249c56b0 Author: Felix Riemann Date: Tue Oct 25 15:43:34 2016 +0200 GtkShortcutType: Fix typos in developer documentation https://bugzilla.gnome.org/show_bug.cgi?id=773479 gtk/gtkshortcutsshortcut.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 70935f09526ba9f1d0b2f6af10e18712df73eda9 Author: Alexander Larsson Date: Tue Oct 25 09:54:37 2016 +0200 Drop support for offscreen GdkWindows These complicate a lot of GdkWindow internals to implement features that not a lot of apps use, and will be better achieved using gsk. So, we just drop it all. demos/gtk-demo/Makefile.am | 2 - demos/gtk-demo/demo.gresource.xml | 2 - demos/gtk-demo/offscreen_window.c | 586 ------------------------- demos/gtk-demo/offscreen_window2.c | 503 ---------------------- docs/reference/gdk/gdk4-sections.txt | 6 - docs/reference/gtk/gtk-docs.sgml | 1 - docs/reference/gtk/gtk4-sections.txt | 20 - gdk/Makefile.am | 1 - gdk/broadway/gdkdisplay-broadway.h | 3 - gdk/broadway/gdkwindow-broadway.c | 6 +- gdk/gdkdevice.c | 12 - gdk/gdkinternals.h | 13 - gdk/gdkoffscreenwindow.c | 764 --------------------------------- gdk/gdkwindow.c | 523 ++-------------------- gdk/gdkwindow.h | 39 -- gdk/gdkwindowimpl.c | 2 +- gdk/makefile.msc | 1 - gdk/mir/gdkmirwindowimpl.c | 4 +- gdk/quartz/gdkdevice-core-quartz.c | 4 +- gdk/quartz/gdkevents-quartz.c | 7 +- gdk/quartz/gdkscreen-quartz.c | 6 +- gdk/quartz/gdkwindow-quartz.c | 7 +- gdk/wayland/gdkdevice-wayland.c | 12 - gdk/wayland/gdkwindow-wayland.c | 14 +- gdk/win32/gdkdnd-win32.c | 3 - gdk/win32/gdkwindow-win32.c | 3 +- gdk/x11/gdkdisplay-x11.h | 3 - gdk/x11/gdkdnd-x11.c | 3 - gdk/x11/gdkwindow-x11.c | 3 - gtk/Makefile.am | 2 - gtk/gtk-autocleanups.h | 1 - gtk/gtk.h | 1 - gtk/gtkdnd-quartz.c | 4 +- gtk/gtkflowbox.c | 2 +- gtk/gtkgesture.c | 6 +- gtk/gtklistbox.c | 2 +- gtk/gtkoffscreenwindow.c | 308 ------------- gtk/gtkoffscreenwindow.h | 74 ---- gtk/gtkscrolledwindow.c | 2 +- gtk/gtktooltip.c | 2 +- gtk/gtkwidget.c | 12 +- gtk/gtkwindow.c | 1 - gtk/makefile.msc.in | 2 - tests/Makefile.am | 12 - tests/gtkoffscreenbox.c | 683 ----------------------------- tests/gtkoffscreenbox.h | 52 --- tests/makefile.msc | 6 +- tests/testoffscreen.c | 377 ---------------- tests/testoffscreenwindow.c | 87 ---- testsuite/gtk/notify.c | 4 - testsuite/gtk/treeview.c | 2 +- testsuite/reftests/label-sizing.ref.ui | 2 +- testsuite/reftests/label-sizing.ui | 2 +- 53 files changed, 79 insertions(+), 4120 deletions(-) commit 639898000e8e1f8bf1a72b778978a2c8e30c2d9b Author: Rico Tzschichholz Date: Mon Oct 24 12:16:34 2016 +0200 gdkwindow: Remove deprecated API docs/reference/gdk/gdk4-sections.txt | 8 --- gdk/gdkdeprecated.c | 24 -------- gdk/gdkwindow.c | 111 +---------------------------------- gdk/gdkwindow.h | 30 ---------- 4 files changed, 1 insertion(+), 172 deletions(-) commit 7630c864684a7b7b74e089326d30abc533ab5235 Author: Rico Tzschichholz Date: Mon Oct 24 10:36:55 2016 +0200 gdk: Remove deprecated gdk_cairo_set_source_color docs/reference/gdk/gdk4-sections.txt | 1 - gdk/gdkcairo.c | 24 ------------------------ gdk/gdkcairo.h | 4 ---- 3 files changed, 29 deletions(-) commit e528819d0076bebb9f797a56c745c3b1c23706a2 Author: Rico Tzschichholz Date: Mon Oct 24 10:31:37 2016 +0200 gdk: Remove deprecated gdk_add_option_entries_libgtk_only and gdk_pre_parse_libgtk_only docs/reference/gdk/gdk4-sections.txt | 2 -- gdk/gdk.c | 31 ------------------------------- gdk/gdkmain.h | 4 ---- 3 files changed, 37 deletions(-) commit b19fe8f4e0e186f70397c5e86e935df54cc3df46 Author: Rico Tzschichholz Date: Mon Oct 24 10:26:03 2016 +0200 gdk: Remove deprecated gdk_threads_set_lock_functions docs/reference/gdk/gdk4-sections.txt | 1 - gdk/gdk.c | 43 ------------------------------------ gdk/gdkthreads.h | 3 --- 3 files changed, 47 deletions(-) commit b12e3b5cf224ad4e8b376ab07b28ee434de0c284 Author: Rico Tzschichholz Date: Mon Oct 24 10:21:49 2016 +0200 gdk: Remove deprecated gdk_get_display docs/reference/gdk/gdk4-sections.txt | 3 --- gdk/gdk.c | 18 ------------------ gdk/gdkmain.h | 3 --- 3 files changed, 24 deletions(-) commit 16ded8d47bd03c6b5b92a96684dd13d3b0a8a199 Author: Rico Tzschichholz Date: Mon Oct 24 10:13:14 2016 +0200 gdk: Remove deprecated {keyboard,pointer}_{grab,ungrab} API docs/reference/gdk/gdk4-sections.txt | 9 -- gdk/broadway/gdkwindow-broadway.c | 10 +- gdk/gdkdeprecated.c | 53 --------- gdk/gdkdevice.h | 6 - gdk/gdkdisplay.c | 68 +---------- gdk/gdkdisplay.h | 2 - gdk/gdkmain.h | 22 ---- gdk/gdktypes.h | 4 +- gdk/gdkwindow.c | 224 ----------------------------------- gtk/gtkmenushell.c | 2 - 10 files changed, 11 insertions(+), 389 deletions(-) commit 02d500ac705d477cfeb5c18c743b119346b2c385 Author: Rico Tzschichholz Date: Mon Oct 24 09:18:53 2016 +0200 cursor: Remove deprecated API docs/reference/gdk/gdk4-sections.txt | 3 -- gdk/gdkcursor.c | 54 ------------------------------------ gdk/gdkcursor.h | 6 ---- 3 files changed, 63 deletions(-) commit 540cfd8580dd668191854b6995f6e910b92b9f4d Author: Rico Tzschichholz Date: Mon Oct 24 09:07:32 2016 +0200 textiter: Remove deprecated gtk_text_iter_begins_tag docs/reference/gtk/gtk4-sections.txt | 1 - gtk/gtktextiter.c | 25 ------------------------- gtk/gtktextiter.h | 4 ---- 3 files changed, 30 deletions(-) commit 8abf05e1947f834e28cc0521521acb04db6ec33b Author: Rico Tzschichholz Date: Sun Oct 23 20:06:33 2016 +0200 gtk: Update path references from gtk-3.0 to gtk-4.0 docs/reference/gtk/running.sgml | 8 ++++---- gtk/gtkbookmarksmanager.c | 2 +- gtk/gtkcomposetable.c | 2 +- gtk/gtkcssprovider.c | 13 +++++-------- gtk/gtkcustompaperunixdialog.c | 4 ++-- gtk/gtkimcontextsimple.c | 4 ++-- gtk/gtkimmodule.c | 4 ++-- gtk/gtkmodules.c | 4 ++-- gtk/gtkplacesview.c | 4 ++-- gtk/gtksettings.c | 14 +++++++------- gtk/gtkstylecontext.c | 2 +- gtk/gtkstyleprovider.h | 2 +- gtk/inspector/visual.c | 2 +- 13 files changed, 31 insertions(+), 34 deletions(-) commit 66a422affcec399d66a6b7f388c115095cbbd7f4 Author: Charles Monzat Date: Sun Oct 23 18:09:50 2016 +0000 Update French translation po/fr.po | 1643 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 775 insertions(+), 868 deletions(-) commit bdaa2bf5310ef74397c612edeaea413b9eb403e2 Author: Rico Tzschichholz Date: Sun Oct 23 18:46:24 2016 +0200 gtkplacessidebar: Remove deprecated "show-other-locations" signal gtk/gtkplacessidebar.c | 37 +------------------------------------ 1 file changed, 1 insertion(+), 36 deletions(-) commit 62b19498acfadfe2e315ef1ea10a24eaf3ac29ce Author: Rico Tzschichholz Date: Sun Oct 23 18:34:49 2016 +0200 docs: Follow removal of GtkAction and GtkActivatable docs/reference/gtk/gtk4-sections.txt | 79 ------------------------------------ 1 file changed, 79 deletions(-) commit c15d61df1f2904b3d820f0cff6a6ac9e3e6e57de Author: Rico Tzschichholz Date: Sun Oct 23 19:10:06 2016 +0200 cellrenderertoggle: Fix compile warnings gtk/gtkcellrenderertoggle.c | 3 --- 1 file changed, 3 deletions(-) commit 614079ffb0a71890fa00fc56f91897ef2d2b9641 Author: Rico Tzschichholz Date: Sun Oct 23 19:09:27 2016 +0200 accessible: Fix compile warnings gtk/gtkaccessible.c | 7 ------- 1 file changed, 7 deletions(-) commit 94058583dcdb29297bb1c10e7f144938caaac63a Author: Rico Tzschichholz Date: Sun Oct 23 19:08:27 2016 +0200 treeview: Remove stray property enum-entry gtk/gtktreeview.c | 1 - 1 file changed, 1 deletion(-) commit b5f9343ab4eab757aeb568790e94ad83f742f863 Author: Rico Tzschichholz Date: Sun Oct 23 17:50:02 2016 +0200 treeview: Remove deprecated API docs/reference/gtk/gtk4-sections.txt | 4 - gtk/gtktreeview.c | 155 ----------------------------------- gtk/gtktreeview.h | 17 ---- 3 files changed, 176 deletions(-) commit db8369de1fafb2da945b39992759471fe5a5d43f Author: Rico Tzschichholz Date: Sun Oct 23 17:39:31 2016 +0200 cellrenderertoggle: Remove deprecated indicator-size property gtk/gtkcellrenderertoggle.c | 35 ++--------------------------------- 1 file changed, 2 insertions(+), 33 deletions(-) commit 502e63eddc6c8c705edbc89c26572a443baa6e26 Author: Rico Tzschichholz Date: Sun Oct 23 17:26:37 2016 +0200 stylecontext: Remove deprecated API docs/reference/gtk/gtk4-sections.txt | 3 - gtk/gtkstylecontext.c | 126 ----------------------------------- gtk/gtkstylecontext.h | 8 --- testsuite/gtk/stylecontext.c | 19 ------ 4 files changed, 156 deletions(-) commit 5c526c9926f56a4aabbfebac8177883dbae8985a Author: Rico Tzschichholz Date: Sun Oct 23 17:13:14 2016 +0200 gtkplacessidebar: Remove deprecated "show-connect-to-server" docs/reference/gtk/gtk4-sections.txt | 2 - gtk/gtkplacessidebar.c | 116 ----------------------------------- gtk/gtkplacessidebar.h | 5 -- 3 files changed, 123 deletions(-) commit f3bc6619eb5891f5564321116fea4471be4ca26e Author: Rico Tzschichholz Date: Sun Oct 23 17:05:25 2016 +0200 Remove deprecated gtk_im_multicontext_append_menuitems docs/reference/gtk/gtk4-sections.txt | 1 - gtk/gtkimmulticontext.c | 156 ----------------------------------- gtk/gtkimmulticontext.h | 3 - 3 files changed, 160 deletions(-) commit 88fcbd946af6d2baaa859389b5e18c29fb200b46 Author: Rico Tzschichholz Date: Sun Oct 23 17:02:29 2016 +0200 testutils: Remove deprecated API docs/reference/gtk/gtk4-sections.txt | 9 - gtk/gtktestutils.c | 343 ----------------------------------- gtk/gtktestutils.h | 30 --- 3 files changed, 382 deletions(-) commit 471d8d6184cba8a7b912fa678f6530a79c77eb5e Author: Rico Tzschichholz Date: Sun Oct 23 16:56:18 2016 +0200 Remove deprecated GTK_RELIEF_HALF gtk/gtkbutton.c | 2 -- gtk/gtkenums.h | 2 -- 2 files changed, 4 deletions(-) commit 3c4f6d64cd1a491206c7071405bda09cbc47a52e Author: Rico Tzschichholz Date: Sun Oct 23 13:12:00 2016 +0200 quartz: Remove stock API usage gtk/gtkdnd-quartz.c | 54 +++-------------------------------------------------- 1 file changed, 3 insertions(+), 51 deletions(-) commit 24b917165b0c6396dda186452eb194b18541af0d Author: Rico Tzschichholz Date: Sun Oct 23 13:01:52 2016 +0200 Remove stray "stock" references docs/reference/gtk/gtk4-sections.txt | 2 -- gtk/gtkimage.h | 6 +++--- tests/popupat.ui | 20 -------------------- 3 files changed, 3 insertions(+), 25 deletions(-) commit a1b519a102f48a32b5839f1d2d426cdfd8e919f2 Author: Rico Tzschichholz Date: Sun Oct 23 12:52:00 2016 +0200 Removed deprecated GtkIM*Style enums gtk/gtkenums.h | 37 ------------------------------------- 1 file changed, 37 deletions(-) commit 64e63e7977cb1ebb813135f277ca6c9f10f328ac Author: Rico Tzschichholz Date: Sun Oct 23 12:42:52 2016 +0200 radiotoolbutton: Remove deprecated API gtk/gtkradiotoolbutton.c | 68 ------------------------------------------------ gtk/gtkradiotoolbutton.h | 6 ----- 2 files changed, 74 deletions(-) commit d69f657aecdd474fc399cfe7b58f3e160ceef301 Author: Rico Tzschichholz Date: Sun Oct 23 12:38:31 2016 +0200 layout: Remove deprecated API docs/reference/gtk/gtk4-sections.txt | 4 -- gtk/gtklayout.c | 99 +++--------------------------------- gtk/gtklayout.h | 12 ----- 3 files changed, 6 insertions(+), 109 deletions(-) commit 5c5f8f4672d8beeca24634ecb029d4202a8bc889 Author: Rico Tzschichholz Date: Sun Oct 23 10:45:13 2016 +0200 iconsource: Remove stray reference gtk/gtktypes.h | 1 - 1 file changed, 1 deletion(-) commit 2273f5d28e3ecef096f9ed6eb3badac09f7dc171 Author: Rico Tzschichholz Date: Sun Oct 23 10:40:04 2016 +0200 iconset: Remove stray references demos/gtk-demo/main.c | 1 - docs/reference/gtk/gtk4-sections.txt | 1 - gtk/a11y/gtkimageaccessible.c | 1 - gtk/gtkimage.h | 2 -- gtk/gtktypes.h | 1 - testsuite/gtk/builder.c | 10 ---------- 6 files changed, 16 deletions(-) commit 723b4af5294a7bf1c24dbd07802669f367a2a968 Author: Rico Tzschichholz Date: Sun Oct 23 10:26:56 2016 +0200 assistant: Remove deprecated API docs/reference/gtk/gtk4-sections.txt | 4 - gtk/gtkassistant.c | 244 ----------------------------------- gtk/gtkassistant.h | 15 --- 3 files changed, 263 deletions(-) commit 5d41103750236f39256edee9da1a864e2e00a496 Author: Rico Tzschichholz Date: Sun Oct 23 10:12:49 2016 +0200 accessible: Drop deprecated connect_widget_destroyed docs/reference/gtk/gtk4-sections.txt | 1 - gtk/gtkaccessible.c | 34 ---------------------------------- gtk/gtkaccessible.h | 5 ----- 3 files changed, 40 deletions(-) commit 9f47b43f7cfb66e6616e4bc31fd8d629790c787e Author: Timm Bäder Date: Sat Oct 22 21:47:12 2016 +0200 colorbutton: Don't notify nonexistent properties gtk/gtkcolorbutton.c | 4 ---- 1 file changed, 4 deletions(-) commit ab467317a10da2f1b2b71b72e506ab1cd18dee81 Author: Timm Bäder Date: Sat Oct 22 21:40:04 2016 +0200 widget: Add docs for ::measure docs/reference/gtk/gtk4-sections.txt | 1 + docs/reference/gtk/migrating-3to4.xml | 11 +++++++++++ gtk/gtksizerequest.c | 25 +++++++++++++++++++++++++ gtk/gtkwidget.h | 28 ++++------------------------ 4 files changed, 41 insertions(+), 24 deletions(-) commit 38f2290479ecccaa12d675d1880a8c6a76039f73 Author: Timm Bäder Date: Sat Oct 22 21:02:34 2016 +0200 button: Add Since annotations to icon-name setter/getter gtk/gtkbutton.c | 4 ++++ 1 file changed, 4 insertions(+) commit a50587b9ec79a932073b8571482a80876719e941 Author: Timm Bäder Date: Sat Oct 22 19:40:57 2016 +0200 widget: Really remove get_preferred_xxx vfuncs gtk/gtkwidget.h | 18 ------------------ 1 file changed, 18 deletions(-) commit e2b6044c1bab21510119d4f63ce6032333f5515a Author: Timm Bäder Date: Sat Oct 22 19:36:58 2016 +0200 expander: Remove spacing property docs/reference/gtk/gtk4-sections.txt | 2 - gtk/gtkexpander.c | 75 ------------------------------------ gtk/gtkexpander.h | 7 ---- 3 files changed, 84 deletions(-) commit 85e01b9f39e2a8fef247f51557c64fda6fbbb0c5 Author: Timm Bäder Date: Sat Oct 22 19:32:45 2016 +0200 toolbar: Remove GtkToolbarSpaceStyle docs/reference/gtk/gtk4-sections.txt | 1 - gtk/gtktoolbar.h | 15 --------------- 2 files changed, 16 deletions(-) commit a06d34aaffa93fca5f04cd838e5287cd1466b6c2 Author: Timm Bäder Date: Sat Oct 22 19:32:25 2016 +0200 cellrendererpixbuf: Remove :follow-state gtk/gtkcellrendererpixbuf.c | 29 ----------------------------- 1 file changed, 29 deletions(-) commit 6c911c817133b477d348b614e7f844d3ab41efa3 Author: Timm Bäder Date: Sat Oct 22 19:29:36 2016 +0200 remove GTK_DEBUG_PLUGSOCKET Both GtkPlug and GtkSocket are gone so this doesn't make a lot of sense anymore. gtk/gtkdebug.h | 41 ++++++++++++++++++++--------------------- gtk/gtkmain.c | 1 - 2 files changed, 20 insertions(+), 22 deletions(-) commit d18891233839db96478d8765425c9e390fa9c7ef Author: Timm Bäder Date: Sat Oct 22 17:25:57 2016 +0200 icontheme: Remove deprecated API docs/reference/gtk/gtk4-sections.txt | 8 -- gtk/gtkicontheme.c | 253 +---------------------------------- gtk/gtkicontheme.h | 24 ---- tests/testicontheme.c | 4 +- 4 files changed, 2 insertions(+), 287 deletions(-) commit 66430e683cf0cf59ca05eb4a0f4392104f4cb6e6 Author: Timm Bäder Date: Sat Oct 22 17:01:37 2016 +0200 toolpalette: Remove deprecated API docs/reference/gtk/gtk4-sections.txt | 2 -- gtk/gtktoolpalette.c | 40 ------------------------------------ gtk/gtktoolpalette.h | 6 ------ 3 files changed, 48 deletions(-) commit 9992a616efa47205ac16ed8be255eda5e7aadf6c Author: Timm Bäder Date: Sat Oct 22 16:06:14 2016 +0200 widget: Use ::measure vfunc to measure size Add a new ::measure vfunc similar to GtkCssGadget's that widget implementations have to override instead of the old get_preferred_width, get_preferred_height, get_preferred_width_for_height, get_preferred_height_for_width and get_preferred_height_and_baseline_for_width. demos/gtk-demo/offscreen_window.c | 43 +++-- demos/gtk-demo/offscreen_window2.c | 43 +++-- gtk/gtkaccellabel.c | 46 +++-- gtk/gtkactionbar.c | 44 ++--- gtk/gtkapplicationwindow.c | 136 ++++++--------- gtk/gtkbbox.c | 136 ++------------- gtk/gtkbin.c | 122 +++----------- gtk/gtkbox.c | 101 ++--------- gtk/gtkboxgadget.c | 10 +- gtk/gtkbutton.c | 111 +++--------- gtk/gtkcalendar.c | 43 +++-- gtk/gtkcellview.c | 80 ++------- gtk/gtkcheckbutton.c | 155 +++-------------- gtk/gtkcolorswatch.c | 31 ++-- gtk/gtkcombobox.c | 88 +++------- gtk/gtkentry.c | 65 ++----- gtk/gtkeventbox.c | 71 -------- gtk/gtkexpander.c | 82 +++------ gtk/gtkfixed.c | 70 +++----- gtk/gtkflowbox.c | 118 +++---------- gtk/gtkframe.c | 83 ++------- gtk/gtkgrid.c | 73 ++------ gtk/gtkheaderbar.c | 65 ++----- gtk/gtkicon.c | 46 ++--- gtk/gtkiconview.c | 152 ++++------------- gtk/gtkimage.c | 65 ++----- gtk/gtklabel.c | 102 ++--------- gtk/gtklayout.c | 33 ++-- gtk/gtklevelbar.c | 31 ++-- gtk/gtklistbox.c | 141 ++++------------ gtk/gtkmagnifier.c | 55 +++--- gtk/gtkmenu.c | 320 +++++++++++++++++------------------ gtk/gtkmenubar.c | 86 +++------- gtk/gtkmenuitem.c | 45 ++--- gtk/gtkmodelbutton.c | 111 ++---------- gtk/gtknotebook.c | 102 ++++------- gtk/gtkoffscreenwindow.c | 65 ++----- gtk/gtkpaned.c | 114 ++++--------- gtk/gtkpathbar.c | 145 ++++++++-------- gtk/gtkpopover.c | 179 ++++++-------------- gtk/gtkprogressbar.c | 43 ++--- gtk/gtkrange.c | 48 ++---- gtk/gtkrevealer.c | 102 +++-------- gtk/gtkscale.c | 82 ++++----- gtk/gtkscrolledwindow.c | 75 +++------ gtk/gtkseparator.c | 32 ++-- gtk/gtkseparatortoolitem.c | 45 ++--- gtk/gtksizerequest.c | 96 +++-------- gtk/gtkspinbutton.c | 60 ++----- gtk/gtkspinner.c | 31 ++-- gtk/gtkstack.c | 93 +++------- gtk/gtkswitch.c | 31 ++-- gtk/gtktextview.c | 44 +++-- gtk/gtktoolbar.c | 47 ++---- gtk/gtktoolitem.c | 38 ----- gtk/gtktoolitemgroup.c | 31 ++-- gtk/gtktoolpalette.c | 30 ++-- gtk/gtktreemenu.c | 102 +++-------- gtk/gtktreeview.c | 90 +++++----- gtk/gtkviewport.c | 97 +++-------- gtk/gtkwidget.c | 73 +++----- gtk/gtkwidget.h | 52 +++--- gtk/gtkwidgetprivate.h | 8 - gtk/gtkwindow.c | 337 +++++++++---------------------------- tests/gtkoffscreenbox.c | 42 +++-- 65 files changed, 1533 insertions(+), 3804 deletions(-) commit 6525b95e2502080c08b65317c910204c2b6125da Author: Timm Bäder Date: Sat Oct 22 16:56:49 2016 +0200 textview: Remove deprecated GtkScrollable API docs/reference/gtk/gtk4-sections.txt | 2 -- gtk/gtktextview.c | 40 ------------------------------------ gtk/gtktextview.h | 5 ----- 3 files changed, 47 deletions(-) commit 145387add55b3e76ebb5efb215a4b08a7e1245e7 Author: Timm Bäder Date: Sat Oct 22 16:49:42 2016 +0200 css: Stop parsing GdkColor values gtk/gtkcssstylefuncs.c | 58 -------------------------------------------------- gtk/gtkstylecontext.c | 23 ++++---------------- 2 files changed, 4 insertions(+), 77 deletions(-) commit 5cadbc708450a65ca7b5fa7479965f4371dc014d Author: Timm Bäder Date: Sat Oct 22 16:41:12 2016 +0200 paned: Don't check handle-size style property gtk/gtkpaned.c | 49 +------------------------------------------------ 1 file changed, 1 insertion(+), 48 deletions(-) commit 2da886dd0e170d0cf82b91f6cacf56cf8e46d5b1 Author: Timm Bäder Date: Sat Oct 22 09:13:52 2016 +0200 Remove gtk_cell_view_get_size_of_row docs/reference/gtk/gtk4-sections.txt | 1 - gtk/gtkcellview.c | 45 ------------------------------------ gtk/gtkcellview.h | 4 ---- 3 files changed, 50 deletions(-) commit 8e85f55240d4e3a2191c7945c7e76a6f20a4d32d Author: Emmanuele Bassi Date: Sat Oct 22 02:37:53 2016 +0100 gl: Check whether use_es is positive Now that the use_es field is an int with a possible negative value, we cannot use it its truth value directly; we need to check if it's a positive value, instead. gdk/gdkglcontext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 31c05771e957f2f54fb197a391b63e6ef3394a26 Author: Emmanuele Bassi Date: Fri Oct 21 21:21:39 2016 +0100 gl: Set legacy bit depending on OpenGL version GDK defaults to asking for an OpenGL 3.2 Core Profile, but if we get a legacy profile from the underlying windowing system, the OpenGL version will be fixed to 3.0. If that happens, we need to set the legacy bit on the GdkGLContext, since that bit will be used to determine the version and type of GLSL shaders that will be used by application and toolkit code alike. gdk/gdkglcontext.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 8129d5b5932f5fe0da70ec4210a6e3d2d1dc5737 Author: Mario Blättermann Date: Fri Oct 21 23:44:55 2016 +0000 Update German translation (cherry picked from commit ffb1ac56a8ae8b0261b9007115faed6206d4b06b) po/de.po | 75 ++++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 37 insertions(+), 38 deletions(-) commit 11b5cfbc50cd09f1cb52f434e5c21a80cece5e05 Author: Jonas Ådahl Date: Fri Oct 14 16:41:50 2016 +0800 GtkMenu: Try using gdk_window_move_to_rect() more often With best-effort, try to use gdk_window_move_to_rect() more often, when all pieces fit together. For the non-legacy paths to be triggered for when gtk_menu_popup_for_device() or gtk_menu_popup() were used, the following conditions must be met: 1) There is no custom positioning function specified 2) The menu is attached to a widget (using gtk_menu_attach_to_widget()) 3) There is a associated grab device https://bugzilla.gnome.org/show_bug.cgi?id=772922 gtk/gtkmenu.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 48 insertions(+), 11 deletions(-) commit 5993117b848afed45b5b812720cb5993d4873b6c Author: Pavel Grunt Date: Mon Oct 17 10:32:04 2016 +0200 overlay: Document availability of properties Add missing "Since" https://bugzilla.gnome.org/show_bug.cgi?id=773082 gtk/gtkoverlay.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 07724de3d9ea15f86078be95ee9a90a3ec783a40 Author: Robert Roth Date: Thu Oct 20 09:17:45 2016 +0300 Fix css documentation typo for color definition 'ligher' should be 'lighter', of course. https://bugzilla.gnome.org/show_bug.cgi?id=773246 docs/reference/gtk/css-overview.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b878ec7f2ff51d4a38bb70f2461bcf1344608dcb Author: Emmanuele Bassi Date: Wed Oct 19 13:43:17 2016 +0100 gdk/gl: Allow autodetection for GL/GLES If the GdkGLContext was not explicitly instructed to use or not GLES, we can detect whether the underlying API is going to be desktop GL or GLES. https://bugzilla.gnome.org/show_bug.cgi?id=773180 gdk/gdkglcontext.c | 26 +++++++++++++++++++++----- gdk/gdkglcontext.h | 2 +- 2 files changed, 22 insertions(+), 6 deletions(-) commit 627867863fbac1ba75d285911102a349a2daaba5 Author: Adam Jackson Date: Tue Oct 18 15:26:18 2016 -0400 gdk: Don't second-guess whether a context is GLES We've already set ->use_es correctly at context creation time, all this can possibly do is change our mind about what kind of GL we're using. Signed-off-by: Adam Jackson https://bugzilla.gnome.org/show_bug.cgi?id=773180 gdk/gdkglcontext.c | 1 - 1 file changed, 1 deletion(-) commit ebbfbc0beaa491ae8f7518bf8c19da2e3baab5e6 Author: Victor Toso Date: Mon Oct 17 18:21:06 2016 +0200 tests: fix clipboard test by loading correct icon The icon name changed from "terminal" to "utilities-terminal" in Adwaita-icon-theme. Signed-off-by: Victor Toso https://bugzilla.gnome.org/show_bug.cgi?id=773113 tests/testclipboard.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit c501867192b4557c7b629742d1d0f8fe74db5f71 Author: Matthias Clasen Date: Fri Oct 21 11:08:07 2016 -0400 docs: Expand icon-palette example Add a warning color, and show that hex colors work here. docs/reference/gtk/css-overview.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9a684accfea1b786d8a3b36d97f339ce0ea2e236 Author: Matthias Clasen Date: Fri Oct 21 09:58:36 2016 -0400 Add border-width to the migration guide No good answers here yet. docs/reference/gtk/migrating-3to4.xml | 9 +++++++++ 1 file changed, 9 insertions(+) commit ca305bb59694c2237ed069ce14c0779b992080ab Author: Timm Bäder Date: Fri Oct 21 10:12:40 2016 +0200 window: Don't leak the GskRenderer gtk/gtkwindow.c | 2 ++ 1 file changed, 2 insertions(+) commit 40955ad737b7dd1f1ddf1a399a7567165d20a679 Author: Lapo Calamandrei Date: Fri Oct 21 13:53:02 2016 +0200 Fix a typo in the css docs docs/reference/gtk/css-overview.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5140bc97b35200513325055000c86d94965e2aca Author: Chun-wei Fan Date: Fri Oct 21 13:40:49 2016 +0800 gdkwindow-win32.c: Make code compatible with GDK 4.0 APIs Port the code here so that things will continue to build and work on 4.x. https://bugzilla.gnome.org/show_bug.cgi?id=773299 gdk/win32/gdkwindow-win32.c | 158 ++++++++++++++++++++++++-------------------- 1 file changed, 86 insertions(+), 72 deletions(-) commit 81c12493ae632f0bd28066ac787316a73a007150 Author: Timm Bäder Date: Thu Oct 20 21:12:36 2016 +0200 Fix a few memory leaks gsk/gskrendernode.c | 1 + gsk/gskshaderbuilder.c | 2 ++ gtk/gtkshortcutssection.c | 1 + 3 files changed, 4 insertions(+) commit c07f395a4f0554e9366d0cb213b767c60446bc01 Author: Matthias Clasen Date: Thu Oct 20 16:09:45 2016 -0400 Beef up the migration guide docs/reference/gtk/migrating-3to4.xml | 71 +++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) commit 53fc5a7d83039f85953d5bbe3fafe6a70ed80e5a Author: Matthias Clasen Date: Thu Oct 20 14:05:34 2016 -0400 Add a bit more to the migration guide docs/reference/gtk/migrating-2to4.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a5867ffe710695fd1a4676336d856548c68ea530 Author: Timm Bäder Date: Thu Oct 20 19:51:43 2016 +0200 Remove some more GdkColor properties gtk/a11y/gtktextviewaccessible.c | 12 ++--- gtk/gtkcellrenderertext.c | 108 --------------------------------------- gtk/gtkcellview.c | 87 ------------------------------- gtk/gtkcellview.h | 4 -- gtk/gtktextattributes.c | 28 ---------- gtk/gtktextattributes.h | 3 -- gtk/gtktextdisplay.c | 27 +--------- gtk/gtktextlayout.c | 12 ----- gtk/gtktextlayout.h | 2 - gtk/gtktexttag.c | 13 ----- gtk/inspector/prop-editor.c | 59 --------------------- 11 files changed, 8 insertions(+), 347 deletions(-) commit f65af48d51eabb86955c66c07254d36683e35fba Author: Timm Bäder Date: Thu Oct 20 17:58:03 2016 +0200 button: Fix icon-name implementation gtk/gtkbutton.c | 171 +++++++++++++++++++++++++++++++------------------ gtk/gtkbutton.h | 4 +- gtk/gtkbuttonprivate.h | 4 +- gtk/gtktexttag.c | 93 --------------------------- 4 files changed, 111 insertions(+), 161 deletions(-) commit f989281b38508c1e9afd4939b8f338bb6f663140 Author: Timm Bäder Date: Thu Oct 20 17:57:53 2016 +0200 button: Remove grab_time Unused. gtk/gtkbutton.c | 4 ---- gtk/gtkbuttonprivate.h | 1 - 2 files changed, 5 deletions(-) commit 0f6235752e42533bc5769d0d15e8df54a8599e73 Author: Timm Bäder Date: Thu Oct 20 13:58:36 2016 +0200 container: Remove composite_name gtk/gtkcontainer.c | 82 ------------------------------------------------------ gtk/gtkcontainer.h | 3 -- 2 files changed, 85 deletions(-) commit 00e7c6904484af8bc2dba212a9f22f768ca7f8b3 Author: Timm Bäder Date: Thu Oct 20 13:43:10 2016 +0200 frame: Remove unused constants gtk/gtkframe.c | 4 ---- 1 file changed, 4 deletions(-) commit de65f878169f58926e6a30537b7a080f6afa808c Author: Timm Bäder Date: Wed Oct 19 21:02:09 2016 +0200 container: Remove reallocate_redraws docs/reference/gtk/gtk4-sections.txt | 1 - gtk/gtkcontainer.c | 29 ----------------------------- gtk/gtkcontainer.h | 3 --- gtk/gtkwidget.c | 8 -------- 4 files changed, 41 deletions(-) commit 3e3eb0187a5e9a6708b8ee552ac50956fb6d9520 Author: Timm Bäder Date: Wed Oct 19 20:48:11 2016 +0200 gtk4-demo: Fix builder demo demos/gtk-demo/demo.ui | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 18f0b80e2ea086c760e1bf602182395f0726356c Author: Timm Bäder Date: Wed Oct 19 20:17:45 2016 +0200 widget: Remove in_reparent flag gtk_widget_reparent is gone so we don't need this anymore. gtk/gtkwidget.c | 24 +++--------------------- gtk/gtkwidgetprivate.h | 4 ---- 2 files changed, 3 insertions(+), 25 deletions(-) commit 6150ce448446a0349f6c72b58fc3c93f1e9eb7dd Author: Timm Bäder Date: Tue Oct 18 20:13:31 2016 +0200 menuitem: Stop looking at nonexistant child properties gtk/gtkmenuitem.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 2e32655ccd29225e2cf0a006a1cc1081451ea106 Author: Timm Bäder Date: Tue Oct 18 19:50:32 2016 +0200 checkbutton: Remove unused constants gtk/gtkcheckbutton.c | 4 ---- 1 file changed, 4 deletions(-) commit 2437e97da1e58a9c071f711cb5226b21e784bca7 Author: Timm Bäder Date: Mon Oct 17 18:44:46 2016 +0200 builder: Stop parsing GdkColor values gtk/gtkbuilder.c | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) commit 8dd549850c0afb7057a3f6e98338c717e70ed77d Author: Timm Bäder Date: Mon Oct 17 18:06:35 2016 +0200 shortcutswindow: Remove unneeded deprecation guards Leftovers from when it was still using a GtkArrow gtk/gtkshortcutswindow.c | 2 -- 1 file changed, 2 deletions(-) commit f8eaadb32e758863ccd31bdfddbfc56de1d0a867 Author: Timm Bäder Date: Mon Oct 17 17:21:09 2016 +0200 testsuite: Update buttons.nodes We don't create a box anymore here. testsuite/css/nodes/buttons.nodes | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit e772c2b622725c9dc75b1405fa5874106b386178 Author: Timm Bäder Date: Thu Oct 20 13:35:45 2016 +0200 container: Don't queue resize on non-toplevel widgets gtk/gtkcontainer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 31db11dd5bedfc35b3b714ddbf5569513d97f7e6 Author: Carlos Garnacho Date: Tue Oct 18 19:18:14 2016 +0200 wayland: Allow grabless xdg_popups xdg_shell v6 allows grabless popups, whose behavior is not that different from override redirect windows with no grab to take keyboard input (and pointer events outside). This means we can relax the requirement to have a grab before creating an xdg_popup. The warning is still useful to have so people stop relying on gdk_window_show();gdk_device_grab() being an ok pattern to popup a window, it's been moved to wayland implementation of gdk_device_grab() instead, so we warn if trying to grab a GDK_WINDOW_TEMP window that's already visible. https://bugzilla.gnome.org/show_bug.cgi?id=771694 gdk/wayland/gdkdevice-wayland.c | 9 +++++++++ gdk/wayland/gdkwindow-wayland.c | 31 ++++++------------------------- 2 files changed, 15 insertions(+), 25 deletions(-) commit 59af3a0c15c44b97920fec7afbf289ceddd4ba69 Author: Emmanuele Bassi Date: Wed Oct 19 15:21:03 2016 +0100 build: Enable subdir-objects Newer versions of Automake warn about forward compatibility when the build uses sources in sub-directories without the subdir-objects option. Both GTK+ and GDK have an almost-but-not-quite non-recursive Automake layout, with sources in sub-directories contributing to the build of a top-level object. In theory, just adding subdir-objects to AM_INIT_AUTOMAKE would be enough, but the test suite references sources in a different top-level in order to build tests that verify the implementation of private data structures. This is not really allowed when using subdir-objects and out of srcdir builds. In order to fix this case, we require some ad hoc rules to create symbolic links in the appropriate build directory. configure.ac | 2 +- testsuite/gtk/Makefile.am | 52 +++++++++++++++++++++++++++++++---------------- 2 files changed, 35 insertions(+), 19 deletions(-) commit 24cb9d4ba6e059b415e9c17b0f4e92ff8865fe22 Author: Lapo Calamandrei Date: Wed Oct 19 15:56:41 2016 +0200 Adwaita: make circular button border looking nice the darker bottom border used on buttons looks bad on circular ones so now a gradient clipped on the border-box and a transparent border is used in that partcular case. See https://bugzilla.gnome.org/show_bug.cgi?id=771205 for details. gtk/theme/Adwaita/_common.scss | 22 ++++++++++++++++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 26 +++++++++++++++++++++++++- gtk/theme/Adwaita/gtk-contained.css | 26 +++++++++++++++++++++++++- 3 files changed, 72 insertions(+), 2 deletions(-) commit 1f8b1464103f791501f8581e5283f8a815167c3c Author: Lapo Calamandrei Date: Tue Oct 18 13:55:37 2016 +0200 Adwaita: sass, make button mixin export a global $button_fill var $button_fill contains the background-image property value of buttons, having it readable outside the drawing mixin allows, for example, stacking background images in an easier way. gtk/theme/Adwaita/_drawing.scss | 73 +++++++++++++++++++++----------- gtk/theme/Adwaita/gtk-contained-dark.css | 40 ++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 40 ++++++++--------- 3 files changed, 88 insertions(+), 65 deletions(-) commit a1b7f36afa3f3fa96a5db4ad6cc4c623713c8885 Author: Lapo Calamandrei Date: Tue Oct 18 13:16:07 2016 +0200 Adwaita: sass cleanup aggregate circular button style to the main button structure. gtk/theme/Adwaita/_common.scss | 14 +++++++------- gtk/theme/Adwaita/gtk-contained-dark.css | 11 +++++------ gtk/theme/Adwaita/gtk-contained.css | 11 +++++------ 3 files changed, 17 insertions(+), 19 deletions(-) commit bec95e55e4b0aa40ec4aae7eccb85028cca19d9d Author: Lapo Calamandrei Date: Tue Oct 18 13:08:02 2016 +0200 widget-factory: use circular style class on the circular button... ...in place of the circular-button one, killing the custom style shipped, realying on the theme style. demos/widget-factory/widget-factory.css | 5 ----- demos/widget-factory/widget-factory.ui | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) commit 5cb804a808f8182848797fd040eb3c1d7b281056 Author: Emmanuele Bassi Date: Wed Oct 19 14:34:05 2016 +0100 build: Remove unused target variables The foreigndrawing test has been removed. tests/Makefile.am | 3 --- 1 file changed, 3 deletions(-) commit a9bcd05a148a7296677d36b271f5955d0066ead5 Author: Emmanuele Bassi Date: Wed Oct 19 14:04:00 2016 +0100 icontheme: Simplify lookup_size() No need to use an internal function, and no need to store the icon size id, since we're using the id as the offset. gtk/gtkicontheme.c | 49 ++++++++++++++++--------------------------------- 1 file changed, 16 insertions(+), 33 deletions(-) commit 8b8f378050c1baef1b25448ff95d1b1171cb8401 Author: Chun-wei Fan Date: Wed Oct 19 18:39:36 2016 +0800 Visual Studio builds: Update from [gdk|gtk]-3 to [gdk|gtk]-4 This updates all the projects files to be be named appropriately as we move from GTK-3.x to 4.x, and updates the autotools files so that things are distributed and generated properly. Also remove deprecated/gtkstatusicon-quartz.c from gtk/Makefile.am, as that was causing 'make dist' to fail as that file has been removed. This fixes 'make dist' with the updated existing project files in proper order. Note that this does not include the new GSK, which will be added later, so the project files do not yet build the whole stack on Visual Studio at this point. build/win32/Makefile.am | 8 +- build/win32/gtk-introspection-msvc.mak | 2 +- build/win32/gtkpc.py | 28 ++- build/win32/vs10/Makefile.am | 99 ++++++----- build/win32/vs10/broadwayd.vcxprojin | 10 +- build/win32/vs10/gailutil-3.vcxprojin | 188 --------------------- ...3.vcxproj.filtersin => gdk-4.vcxproj.filtersin} | 2 +- .../vs10/{gdk-3.vcxprojin => gdk-4.vcxprojin} | 24 +-- ...j.filtersin => gdk4-broadway.vcxproj.filtersin} | 2 +- ...-broadway.vcxprojin => gdk4-broadway.vcxprojin} | 14 +- ...proj.filtersin => gdk4-win32.vcxproj.filtersin} | 2 +- .../{gdk3-win32.vcxprojin => gdk4-win32.vcxprojin} | 14 +- build/win32/vs10/{gtk+.sln => gtk+-4.sln} | 18 +- ...3.vcxproj.filtersin => gtk-4.vcxproj.filtersin} | 6 +- .../vs10/{gtk-3.vcxprojin => gtk-4.vcxprojin} | 26 +-- build/win32/vs10/gtk-builder-tool.vcxproj | 12 +- build/win32/vs10/gtk-encode-symbolic-svg.vcxproj | 10 +- build/win32/vs10/gtk-query-settings.vcxproj | 12 +- build/win32/vs10/gtk-update-icon-cache.vcxproj | 10 +- .../vs10/gtk3-demo-application.vcxproj.filtersin | 20 --- ...uild-defines.props => gtk4-build-defines.props} | 6 +- ...broadway.props => gtk4-copy-gdk-broadway.props} | 4 +- ...sin => gtk4-demo-application.vcxproj.filtersin} | 2 +- ...n.vcxprojin => gtk4-demo-application.vcxprojin} | 16 +- ...xproj.filtersin => gtk4-demo.vcxproj.filtersin} | 2 +- .../{gtk3-demo.vcxprojin => gtk4-demo.vcxprojin} | 16 +- .../{gtk3-gen-srcs.props => gtk4-gen-srcs.props} | 8 +- ...ltersin => gtk4-icon-browser.vcxproj.filtersin} | 2 +- ...owser.vcxprojin => gtk4-icon-browser.vcxprojin} | 16 +- ...e-broadway.props => gtk4-ignore-broadway.props} | 6 +- .../{gtk3-install.propsin => gtk4-install.propsin} | 93 +++++----- .../{gtk3-install.vcxproj => gtk4-install.vcxproj} | 34 ++-- ...cxproj.filters => gtk4-install.vcxproj.filters} | 0 ...gtk3-prebuild.vcxproj => gtk4-prebuild.vcxproj} | 16 +- ...xproj.filters => gtk4-prebuild.vcxproj.filters} | 0 ...-paths.props.in => gtk4-version-paths.props.in} | 4 +- build/win32/vs11/Makefile.am | 52 +++--- build/win32/vs12/Makefile.am | 52 +++--- build/win32/vs14/Makefile.am | 52 +++--- build/win32/vs9/Makefile.am | 65 ++++--- build/win32/vs9/broadwayd.vcprojin | 8 +- build/win32/vs9/gailutil-3.vcprojin | 183 -------------------- build/win32/vs9/{gdk-3.vcprojin => gdk-4.vcprojin} | 22 +-- ...k3-broadway.vcprojin => gdk4-broadway.vcprojin} | 12 +- .../{gdk3-win32.vcprojin => gdk4-win32.vcprojin} | 14 +- build/win32/vs9/{gtk+.sln => gtk+-4.sln} | 18 +- build/win32/vs9/{gtk-3.vcprojin => gtk-4.vcprojin} | 26 +-- build/win32/vs9/gtk-builder-tool.vcproj | 8 +- build/win32/vs9/gtk-encode-symbolic-svg.vcproj | 8 +- build/win32/vs9/gtk-query-settings.vcproj | 8 +- build/win32/vs9/gtk-update-icon-cache.vcproj | 8 +- ...-defines.vsprops => gtk4-build-defines.vsprops} | 6 +- ...dway.vsprops => gtk4-copy-gdk-broadway.vsprops} | 4 +- ...ion.vcprojin => gtk4-demo-application.vcprojin} | 14 +- .../vs9/{gtk3-demo.vcprojin => gtk4-demo.vcprojin} | 14 +- ...gtk3-gen-srcs.vsprops => gtk4-gen-srcs.vsprops} | 6 +- ...browser.vcprojin => gtk4-icon-browser.vcprojin} | 14 +- ...oadway.vsprops => gtk4-ignore-broadway.vsprops} | 6 +- .../{gtk3-install.vcproj => gtk4-install.vcproj} | 36 ++-- ...k3-install.vspropsin => gtk4-install.vspropsin} | 89 +++++----- .../{gtk3-prebuild.vcproj => gtk4-prebuild.vcproj} | 20 +-- ...hs.vsprops.in => gtk4-version-paths.vsprops.in} | 4 +- configure.ac | 6 +- demos/gtk-demo/Makefile.am | 2 +- gdk/Makefile.am | 4 +- gdk/broadway/Makefile.am | 16 +- gdk/win32/Makefile.am | 16 +- gtk/Makefile.am | 21 ++- gtk/{libgtk3.manifest.in => libgtk4.manifest.in} | 0 69 files changed, 555 insertions(+), 991 deletions(-) commit 51b71461383864cec7987971369549dd0ac2fd93 Author: Chun-wei Fan Date: Wed Oct 19 16:13:54 2016 +0800 Visual Studio Solutions: Drop references to libgail-util We dropped it... build/win32/vs10/gtk+.sln | 30 ++++++------------------------ build/win32/vs9/gtk+.sln | 35 ++++++----------------------------- 2 files changed, 12 insertions(+), 53 deletions(-) commit 594ec7cfdd27817b4d66d094f0abdd96f1b4aa0f Author: Chun-wei Fan Date: Wed Oct 19 14:48:08 2016 +0800 build/: Force MSVC project file generation on Makefile.am changes Make the Makefile.am targets for generating the Visual Studio projects re-generate the project files and the header listings whenever the Makefile.am's that include build/Makefile.msvcproj changes, so that whenever a source/header is added, they will be reflected in the projects and in the property sheets that are used to copy the headers. Also ensure that these are applied to the vs11, vs12 and vs14 projects when this happens, as they are copied and processed from the Visual Studio 2010 projects. build/Makefile-newvs.am | 2 +- build/Makefile.msvcproj | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) commit cf7445d9e6deb62d2eda9fa799ebc43c0cb35e50 Author: Matthias Clasen Date: Tue Oct 18 16:20:44 2016 -0400 Add some content to the migration guide docs/reference/gtk/migrating-3to4.xml | 45 ++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) commit 56cc9e2d71f5ea095039388837b2205e85d3d9ab Author: Matthias Clasen Date: Tue Oct 18 15:21:12 2016 -0400 Start a new migration guide Remove information that is only relevant for porting to GTK+ 3, and put scaffolding in place for information relevant to GTK+ 4. docs/reference/gtk/Makefile.am | 18 +- docs/reference/gtk/gtk-docs.sgml | 9 +- docs/reference/gtk/migrating-2to3.xml | 1274 -------------------- docs/reference/gtk/migrating-2to4.xml | 15 + docs/reference/gtk/migrating-3to4.xml | 13 + docs/reference/gtk/migrating-3xtoy.xml | 443 ------- docs/reference/gtk/migrating-GtkGrid.xml | 231 ---- docs/reference/gtk/migrating-GtkStyleContext.xml | 691 ----------- docs/reference/gtk/migrating-checklist.sgml | 310 ----- .../gtk/migrating-smclient-GtkApplication.xml | 48 - .../gtk/migrating-unique-GtkApplication.xml | 143 --- 11 files changed, 34 insertions(+), 3161 deletions(-) commit 14322b03abfbeba30bd1bb1ad552280986dbcbba Author: Emmanuele Bassi Date: Tue Oct 18 16:49:21 2016 +0100 gsk: Clear the profiler instance When disposing the GskRenderer. gsk/gskrenderer.c | 2 ++ 1 file changed, 2 insertions(+) commit d3f88adab72c685ae66bc11aebb4b6c2ed248d0a Author: Emmanuele Bassi Date: Tue Oct 18 16:34:03 2016 +0100 gsk: Plug leak in GskRenderNode We need to destroy the node's surface when finalizing it. gsk/gskrendernode.c | 2 ++ 1 file changed, 2 insertions(+) commit 976a4f6b12f7e3a6887e7e44b16aae65dcfce6e1 Author: Emmanuele Bassi Date: Tue Oct 18 15:51:05 2016 +0100 build: Fix variable name for gtk4-update-icon-cache target gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b915efa9763095050c5a55983d76d53b26fb97a4 Author: Emmanuele Bassi Date: Tue Oct 18 15:47:00 2016 +0100 build: Rework the GSK source lising We need to only parse the public sources during the introspection step, otherwise the introspection scanner will try to access private data types. gsk/Makefile.am | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) commit c0ce28374c90ac32124b3cc97addbc994f15c3ea Author: Emmanuele Bassi Date: Tue Oct 18 15:29:29 2016 +0100 build: Drop LDADD from GSK's Makefile We can use the LDFLAGS target build. gsk/Makefile.am | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) commit 46187f8a2226b7c8dab290eefe26cd8b8ad9a018 Author: Matthias Clasen Date: Tue Oct 18 10:27:45 2016 -0400 Rename all binaries to be versioned This is just easier to avoid parallel installation problems. docs/reference/gtk/Makefile.am | 20 +++++++-------- docs/reference/gtk/gtk-docs.sgml | 10 ++++---- ...{gtk-builder-tool.xml => gtk4-builder-tool.xml} | 16 ++++++------ ...mbolic-svg.xml => gtk4-encode-symbolic-svg.xml} | 12 ++++----- .../gtk/{gtk-launch.xml => gtk4-launch.xml} | 14 +++++----- ...-query-settings.xml => gtk4-query-settings.xml} | 12 ++++----- ...e-icon-cache.xml => gtk4-update-icon-cache.xml} | 16 ++++++------ gtk/Makefile.am | 30 +++++++++++----------- 8 files changed, 65 insertions(+), 65 deletions(-) commit e4e6cb87b2d6188b7ab1fe99e580ccd0fda1676c Author: Matthias Clasen Date: Tue Oct 18 09:59:42 2016 -0400 Rename gtk-query-immodules to follow our binary naming scheme Instead of gtk-query-immodules-4.0, lets call it gtk4-query-immodules, to use the same prefix as all the other versioned binaries. docs/reference/gtk/Makefile.am | 4 ++-- docs/reference/gtk/gtk-docs.sgml | 2 +- ...uery-immodules-4.0.xml => gtk4-query-immodules.xml} | 18 +++++++++--------- gtk/Makefile.am | 6 +++--- modules/input/Makefile.am | 8 ++++---- 5 files changed, 19 insertions(+), 19 deletions(-) commit c978fc792de4646fb14b7bf0fe9ae0c6ee06a7ba Author: Matthias Clasen Date: Tue Oct 18 08:56:14 2016 -0400 Fix the docs build more This makes gtk-doc produce output again. docs/reference/gtk/gtk-docs.sgml | 44 ---------------------------------------- docs/reference/gtk/gtk4.types.in | 9 -------- 2 files changed, 53 deletions(-) commit 6fb8f611240cf32bde9451c47e138b54242a6959 Author: Rico Tzschichholz Date: Tue Oct 18 13:38:08 2016 +0200 gdk: Fix Since tag of gdk_cairo_surface_upload_to_gl gdk/gdkgl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 310a1f7e90dfb046db98701f38af0943ce442cc1 Author: Rico Tzschichholz Date: Tue Oct 18 13:27:19 2016 +0200 gdk: Add missing Since tags for gdk_window_new_child/input In addition to d22e5e69d93401f8f0a040767fbf69ac5643a19d gdk/gdkwindow.c | 4 ++++ 1 file changed, 4 insertions(+) commit 69781c25da6c0ace7918e951e7dafcc3088b1aef Author: Emmanuele Bassi Date: Tue Oct 18 11:37:10 2016 +0100 gsk: Bump up all version annotations GSK is part of the 4.0 development cycle. gsk/gskenums.h | 4 +-- gsk/gskrenderer.c | 36 ++++++++++++------------- gsk/gskrenderer.h | 28 ++++++++++---------- gsk/gskrendernode.c | 70 ++++++++++++++++++++++++------------------------- gsk/gskrendernode.h | 70 ++++++++++++++++++++++++------------------------- gsk/gskrendernodeiter.c | 14 +++++----- gsk/gskrendernodeiter.h | 16 +++++------ 7 files changed, 119 insertions(+), 119 deletions(-) commit 8d2208359d8ded4d7d1bf9380058d0efd657f11d Author: Emmanuele Bassi Date: Tue Oct 18 11:35:32 2016 +0100 docs: Bump up major version for GSK's API reference docs/reference/gsk/Makefile.am | 20 ++------------------ docs/reference/gsk/gsk-docs.xml | 6 +++--- .../gsk/{gsk3-sections.txt => gsk4-sections.txt} | 0 docs/reference/gsk/{gsk3.types => gsk4.types} | 0 4 files changed, 5 insertions(+), 21 deletions(-) commit dace0791a9bab4a5d1a69e4bde87973814ca217a Author: Emmanuele Bassi Date: Thu Aug 25 11:31:56 2016 +0100 gsk: Add the ability to create fallback renderers While porting GTK to GskRenderer we noticed that the current fallback code for widgets using Cairo to draw is not enough to cover all the possible cases. For instance, if a container widget still uses GtkWidget::draw to render its children, and at least one of them has been ported to using render nodes instead, the container won't know how to draw it. For this reason we want to provide to layers above GSK the ability to create a "fallback" renderer instance, created using a "parent" GskRenderer instance, but using a Cairo context as the rendering target instead of a GdkDrawingContext. GTK will use this inside the gtk_widget_draw() implementation, if a widget implements GtkWidgetClass.get_render_node(). gsk/gskcairorenderer.c | 6 +++- gsk/gskglrenderer.c | 14 +++++++-- gsk/gskrenderer.c | 79 ++++++++++++++++++++++++++++++++++++++++++++++-- gsk/gskrenderer.h | 5 +++ gsk/gskrendererprivate.h | 1 + gtk/gtkwidget.c | 70 ++++++++++++++++++++++++++++++------------ 6 files changed, 149 insertions(+), 26 deletions(-) commit a9bbb020aac9f20d7366b29219ada2e77349642a Author: Emmanuele Bassi Date: Thu Aug 25 11:29:00 2016 +0100 gsk: Update Cairo renderer The Cairo renderer has been lagging behind a series of changes inside GskRenderer, like surface-less nodes, so it needs to be updated. gsk/gskcairorenderer.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 6b3c0052fcc0d837ce31a8a14d097cfa0c7a0385 Author: Emmanuele Bassi Date: Wed Aug 24 16:21:50 2016 +0100 gsk: Make GskRenderer.render() drawing context-agnostic We're going to need to allow rendering on a specific cairo_t in order to implement fallback code paths inside GTK; this means that there will be times when we have a transient GskRenderer instance that does not have a GdkDrawingContext to draw on. Instead of adding a new render() implementation for those cases and then decide which one to use, we can remove the drawing context argument from the virtual function itself, and allow using a NULL GdkDrawingContext when calling gsk_renderer_render(). A later commit will add a generic function to create a transient GskRenderer with a cairo_t attached to it. Renderers inside GSK will have to check whether we have access to a GdkDrawingContext, in which case we're going to use it; or if we have access to a cairo_t and a window. gsk/gskcairorenderer.c | 6 +++--- gsk/gskglrenderer.c | 35 +++++++++++++++++++++++------------ gsk/gskrenderer.c | 11 ++++++----- gsk/gskrendererprivate.h | 3 +-- 4 files changed, 33 insertions(+), 22 deletions(-) commit 13f7f5bdfca2158648b3650b30ac811f48ec6662 Author: Emmanuele Bassi Date: Wed Aug 24 14:12:58 2016 +0100 docs: Update the GSK API reference section docs/reference/gsk/gsk3-sections.txt | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) commit 3aaae6c49c14d46f0213bbbcc6aa0d5f5e7bbb2f Author: Emmanuele Bassi Date: Wed Aug 24 14:07:26 2016 +0100 gsk: Move GskRenderNode getters to internal API GskRenderNode is, at its core, a write-only API; you're supposed to set up the render nodes instead of querying them for state. Querying render nodes is left to the GskRenderer implementation. gsk/gskrendernode.c | 8 ++------ gsk/gskrendernode.h | 7 ------- gsk/gskrendernodeprivate.h | 4 ++++ 3 files changed, 6 insertions(+), 13 deletions(-) commit 7de49fb7b234b3c3baf26ce6ee144948d8a5bc2d Author: Emmanuele Bassi Date: Wed Aug 24 13:47:23 2016 +0100 gsk: Remove GskRenderer:auto-clear We control the clearing inside each GskRenderer implementation, and we don't allow providing a target surface any more. gsk/gskcairorenderer.c | 15 +++------ gsk/gskrenderer.c | 84 -------------------------------------------------- gsk/gskrenderer.h | 5 --- 3 files changed, 5 insertions(+), 99 deletions(-) commit c5a2ae2f9536f8e3c79f940fad016ee1b96f84cb Author: Matthias Clasen Date: Thu Aug 18 17:25:41 2016 -0400 Convert GtkSpinner to indirect rendering gtk/gtkspinner.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 8f5db4bc3243dc8cdd5732c4639dc82c5cd691f5 Author: Matthias Clasen Date: Thu Aug 18 16:06:31 2016 -0400 Convert GtkImage to indirect rendering gtk/gtkimage.c | 71 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 35 insertions(+), 36 deletions(-) commit bed5e6fb16850ac7f6c6d43c9e5c7a6f9fc2e56e Author: Matthias Clasen Date: Thu Aug 18 10:01:15 2016 -0400 Convert GtkAccelLabel to indirect rendering gtk/gtkaccellabel.c | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) commit be0de5423731fac6955aa44b6a61058248801c22 Author: Matthias Clasen Date: Thu Aug 18 09:59:35 2016 -0400 Convert GtkLabel to indirect rendering Warning! This breaks GtkAccelLabel. It will be fixed in the next commit. gtk/gtklabel.c | 75 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 38 insertions(+), 37 deletions(-) commit f101ef7cd1ad9be3631e0d042d56100c28851713 Author: Matthias Clasen Date: Thu Aug 18 02:39:08 2016 -0400 Convert GtkFlowBox to indirect rendering gtk/gtkflowbox.c | 90 +++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 50 deletions(-) commit 58b38d59c58cdd7a5bbe87e68aaca8bd36cc0b14 Author: Matthias Clasen Date: Tue Aug 16 12:19:48 2016 -0400 container: Prepare to prune render nodes Add a should_propagate function for render nodes. Eventually, this is meant to avoid creating render nodes for child widgets that are outside the parents clip area. Since we don't have that information available right now, just filter out nondrawable children for now. gtk/gtkcontainer.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit 39c1aa5e27a4d5fa7b69b0a738d06c1918fdec9e Author: Matthias Clasen Date: Sat Aug 13 04:17:35 2016 -0400 Split css background into individual render nodes Use separate render nodes for each layer in a multi-image background. WARNING: blend modes don't work right yet. gtk/gtkcssgadget.c | 4 +- gtk/gtkrenderbackground.c | 121 +++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 114 insertions(+), 11 deletions(-) commit 9a2de8049727dda995fc36124c05ed2200c08957 Author: Matthias Clasen Date: Sat Aug 13 04:07:38 2016 -0400 Add blend mode to debug spew gsk/gskglrenderer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit b660361fb71b40346088b75ec70e9873bbc0dd01 Author: Matthias Clasen Date: Fri Aug 12 18:23:25 2016 -0400 Don't create render nodes for empty backgrounds gtk/gtkrenderbackground.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit cffb8ae4b50a9397c0c953a6e7d86a75fc018dc4 Author: Matthias Clasen Date: Fri Aug 12 18:13:17 2016 -0400 Break out the css background render node in a function This is in preparation for creating separate render nodes for individual backgrounds. gtk/gtkcssgadget.c | 29 +++++++++++------------------ gtk/gtkrenderbackground.c | 26 ++++++++++++++++++++++++++ gtk/gtkrenderbackgroundprivate.h | 12 ++++++++++++ 3 files changed, 49 insertions(+), 18 deletions(-) commit f74dd416d6585a98c90741c174aaad4774e204e9 Author: Matthias Clasen Date: Fri Aug 12 17:13:52 2016 -0400 Make outer shadows work again Change get_render_node to return nodes that are sized to the clip area and expect to be placed at the clip position; change gtk_container_propagate_render_node to place child render nodes accordingly, and change gtk_css_gadget_get_render_node to return nodes that are sized accordingly as well. gtk/gtkcontainer.c | 4 ++-- gtk/gtkcssgadget.c | 62 ++++++++++++++++++++++++++++-------------------------- gtk/gtkwidget.c | 14 +++--------- 3 files changed, 37 insertions(+), 43 deletions(-) commit e0ab6d5a3c3b45c25a025df7792044d723cbc705 Author: Alexander Larsson Date: Tue Aug 16 12:44:39 2016 +0200 gsk: Fix hidpi scaling We store the vertices in (unscaled) window coords (but the item size is still scaled to match the texture size). Also, the projection/model-view multiplication order is switched so that the scale is applied at the right place. gsk/gskglrenderer.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 1c7c77bc94332454f166eb85f74c86efaf7114b3 Author: Alexander Larsson Date: Tue Aug 16 11:53:49 2016 +0200 gdk_cairo_surface_upload_to_gl: Don't apply device scale The arguments to this function is the texture width/height, and these are already scaled. gdk/gdkgl.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit f764d03cfd5d2fffb89a04e6da824920de70c225 Author: Emmanuele Bassi Date: Sat Aug 13 08:36:59 2016 +0100 gsk: Remove :use-alpha from GskRenderer It's unused, and we always assume we render with an alpha channel enabled because it's 2016. gsk/gskcairorenderer.c | 5 +--- gsk/gskrenderer.c | 75 -------------------------------------------------- gsk/gskrenderer.h | 5 ---- gtk/gtkwindow.c | 1 - 4 files changed, 1 insertion(+), 85 deletions(-) commit 387ed37f743c3fccd18638deca86e252a191660c Author: Emmanuele Bassi Date: Sat Aug 13 08:34:22 2016 +0100 gsk: Move scaling filters to GskRenderNode The renderer will always use nearest-neighbor filters because it renders at 1:1 pixel to texel ratio. On the other hand, render nodes may be scaled, so we need to offer a way to control the minification and magnification filters. gsk/gskglrenderer.c | 27 ++++------ gsk/gskrenderer.c | 125 --------------------------------------------- gsk/gskrenderer.h | 8 --- gsk/gskrendernode.c | 16 ++++++ gsk/gskrendernode.h | 5 ++ gsk/gskrendernodeprivate.h | 4 ++ 6 files changed, 35 insertions(+), 150 deletions(-) commit 3bdd9c270afd15e7a983b8a5d703dbc7404dd9fb Author: Emmanuele Bassi Date: Fri Aug 12 16:44:29 2016 +0100 gsk: Allow adding a GL texture as a node content If we already have a GL texture we definitely don't want to use gdk_cairo_draw_from_gl() to draw on a Cairo context if we're going to take the Cairo surface to which we draw and put it into an OpenGL texture. gsk/gskglrenderer.c | 42 +++++++++++++++++++++++++----------------- gsk/gskrendernode.c | 42 ++++++++++++++++++++++++++++++++++++++++++ gsk/gskrendernode.h | 4 ++++ gsk/gskrendernodeprivate.h | 10 +++++++++- 4 files changed, 80 insertions(+), 18 deletions(-) commit ce67336577fbb7bb854db91e41660dc72c178272 Author: Emmanuele Bassi Date: Wed Aug 10 17:50:03 2016 +0100 gsk: Drop modelview/projection from GskRenderer API The details of the modelview and projection matrices are only useful for the GL renderer; there's really no point in having those details available in the generic API — especially as the Cairo fallback renderer cannot really set up a complex modelview or a projection matrix. gsk/gskglrenderer.c | 43 +++++++------ gsk/gskrenderer.c | 172 ---------------------------------------------------- gsk/gskrenderer.h | 12 ---- gtk/gtkwindow.c | 17 ------ 4 files changed, 26 insertions(+), 218 deletions(-) commit 23a009a40846c993c8fa28d40fe92c9ee128161c Author: Emmanuele Bassi Date: Tue Aug 9 17:10:15 2016 +0100 gtk: Sort children by window depth when rendering This makes popovers pop over instead of under. gtk/gtkcontainer.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 46 insertions(+), 6 deletions(-) commit c9514b45ff2c752f371e5d5456efeb0afb5a8527 Author: Emmanuele Bassi Date: Tue Aug 9 16:30:13 2016 +0100 gsk: Ensure that non-drawing nodes are supported Non-drawing nodes should skip the texturing phase. gsk/gskglrenderer.c | 99 ++++++++++++++++++++++++++--------------------------- 1 file changed, 48 insertions(+), 51 deletions(-) commit b2f5a69742d0ee9613671d1dd774c3ec580eedad Author: Emmanuele Bassi Date: Tue Aug 9 16:28:43 2016 +0100 gtk: Add a box render node for gadgets Instead of using the background as the gadget's node, we add a non-drawing node that can be used to apply offsets; all other nodes are children of the "box" node. gtk/gtkcssgadget.c | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) commit 955d9a8463650f682e86815cf3900836134361a0 Author: Emmanuele Bassi Date: Tue Aug 9 16:27:18 2016 +0100 gsk: Fix the blend mode The default blend mode should be the equivalent of Cairo's OVER operator. gsk/gskglrenderer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 0812d691b354415d9a82d05b3d83bc62ed0bc68b Author: Emmanuele Bassi Date: Tue Aug 9 11:24:05 2016 +0100 gsk: Reuse VAOs with identical buffers Just like we reuse texture ids with the same size we can, at the expense of a little memory, reuse vertex buffers if they reference the same attributes and contain the same data. Each VAO is marked as free at the end of the frame, and if it's not reused in the following frame, it gets dropped. gsk/gskgldriver.c | 87 +++++++++++++++++++++++++++++++++++++++++++++--- gsk/gskgldriverprivate.h | 3 +- gsk/gskglrenderer.c | 23 ++++--------- 3 files changed, 92 insertions(+), 21 deletions(-) commit 56c93a7661e46ed542e341757a141c9f83c6204c Author: Emmanuele Bassi Date: Mon Aug 8 19:34:03 2016 +0100 gsk: Remove child-transform from render nodes The child-transform is useful only if we also provide clipping to the parent nodes, otherwise children will just be drawn outside of the parent's bounds. We'll introduce child transforms either at a higher layer, or once we add clipping support to GskRenderNode. docs/reference/gsk/gsk3-sections.txt | 1 - gsk/gskrendernode.c | 36 +++--------------------------------- gsk/gskrendernode.h | 3 --- gsk/gskrendernodeprivate.h | 4 ---- 4 files changed, 3 insertions(+), 41 deletions(-) commit fd4a1cdad60fd291abd59dd5b13905430a674d99 Author: Matthias Clasen Date: Sun Aug 7 00:36:24 2016 -0400 Covert GtkOverlay to indirect rendering There is no gadget, so we use the gtk_widget_create_render_node function for the first time here. gtk/gtkoverlay.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit 579b43b8e8d2657cab1398b3ff749f92384caba2 Author: Matthias Clasen Date: Sun Aug 7 00:03:17 2016 -0400 Convert GtkComboBox to indirect rendering The removal of the draw method in GtkComboBox reveals another instance of parent-child invariant violation in GtkComboBoxText. gtk/gtkcombobox.c | 48 ++++++++++++++++++++---------------------------- 1 file changed, 20 insertions(+), 28 deletions(-) commit b8acd23a8620672efca8f055cbed183c9f13a253 Author: Matthias Clasen Date: Sat Aug 6 23:45:43 2016 -0400 GtkButtonBox: Convert to indirect rendering gtk/gtkbbox.c | 65 ++++++++++++++++------------------------------------------- 1 file changed, 17 insertions(+), 48 deletions(-) commit 53266e7a157793a6335c6386c64fd1ce4412029e Author: Matthias Clasen Date: Sat Aug 6 23:19:40 2016 -0400 Small documentation additions gsk/gskrenderer.c | 28 ++++++++++++++++++++++++++++ gsk/gskrendernode.c | 12 ++++++++++++ 2 files changed, 40 insertions(+) commit 7eb8646ace9591df2da8c1b6e7d3ba9d04904559 Author: Matthias Clasen Date: Sat Aug 6 23:08:04 2016 -0400 Small fixes for the docs Set titles and short descriptions for the sections. gsk/gskenums.h | 2 +- gsk/gskrenderer.c | 4 ++-- gsk/gskrendernode.c | 4 ++-- gsk/gskrendernodeiter.c | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) commit d8dc6f0c81e68ead4e7600875254e86eeb72b5f4 Author: Matthias Clasen Date: Sat Aug 6 23:07:29 2016 -0400 gsk: Build docs configure.ac | 2 + docs/reference/Makefile.am | 2 +- docs/reference/gsk/Makefile.am | 79 +++++++++++++++++++++++++++++ docs/reference/gsk/gsk-docs.xml | 29 +++++++++++ docs/reference/gsk/gsk3-sections.txt | 98 ++++++++++++++++++++++++++++++++++++ docs/reference/gsk/gsk3.types | 3 ++ docs/reference/gsk/version.xml.in | 1 + 7 files changed, 213 insertions(+), 1 deletion(-) commit ea549a3ce4e35bfa260db2690408cea973a7bdd1 Author: Matthias Clasen Date: Sat Aug 6 20:27:30 2016 -0400 GtkListBox: Convert to indirect rendering Note that there is a problem with the pixel cache that causes listboxes to come out black when in a scrolled window. gtk/gtklistbox.c | 83 ++++++++++++++++++++------------------------------------ 1 file changed, 30 insertions(+), 53 deletions(-) commit 1046262048d19724f21d4c3a119fe81df3f2d17f Author: Matthias Clasen Date: Sat Aug 6 20:02:49 2016 -0400 gadget: Fix handling of custom content The transformations here were wrong, causing content to go nowhere. This patch fixes check and radio buttons to appear as expected. gtk/gtkcssgadget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6a1edb096080fd02e62b2e5a528eb955dc92fb50 Author: Matthias Clasen Date: Sat Aug 6 19:35:03 2016 -0400 GtkCheckButton: Convert to indirect rendering This is another example of indirect rendering with a box gadget. There is currently still some positioning problem with the checkmark. gtk/gtkcheckbutton.c | 39 ++++++++++++++++++++++++++------------- 1 file changed, 26 insertions(+), 13 deletions(-) commit f68eaae581b3ae80828692537f29fc2caac32c6c Author: Matthias Clasen Date: Sat Aug 6 19:33:47 2016 -0400 Prevent box gadget content from being drawn twice Now that we split out box gadget children into separate render nodes, we must not draw them onto the box gadgets node anymore. gtk/gtkboxgadget.c | 7 +++++++ 1 file changed, 7 insertions(+) commit ac52abcedc42a3af7bb1b335758262124309457f Author: Matthias Clasen Date: Sat Aug 6 19:05:14 2016 -0400 GtkExpander: Convert to indirect rendering This is the first example of indirect rendering involving a box gadget. For now, we iterate the child gadgets manually, and rely on gtk_container_propagate_render_node for the child widgets. Eventually, we may want a better solution here. gtk/gtkexpander.c | 38 ++++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) commit 62eb900b83fc63aba064d0b381142ea8534a71e6 Author: Matthias Clasen Date: Sat Aug 6 17:23:24 2016 -0400 gadget: Add a has_content vfunc ...and implement it for GtkCssGadget and GtkCssCustomGadget. This allows us to decide on a per-object basis if a custom gadget needs a render node for content or not. gtk/gtkcsscustomgadget.c | 9 +++++++++ gtk/gtkcssgadget.c | 12 ++++++++++-- gtk/gtkcssgadgetprivate.h | 3 +++ 3 files changed, 22 insertions(+), 2 deletions(-) commit 9d06ee637bc8716922ec45fd0d04a6a9fc6c3590 Author: Matthias Clasen Date: Sat Aug 6 10:34:18 2016 -0400 button: Restore focus The custom gadget draw function has the side effect of informing the gadget machinery wether to draw focus or not. Bring the draw function back, just for its boolean return value. We may want to find a better solution for this. gtk/gtkbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7f86516c27edf75174cc544c3c6f4e6ae7482a9b Author: Matthias Clasen Date: Sat Aug 6 10:24:05 2016 -0400 Allow selective debug spew I don't think this should stay in the code long-term, but it is useful for debugging. It helped me track down some suspicious placements of render nodes. gsk/gskrendernode.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) commit 02187371a2e45bbd20d48dc474b72cfd6dbd0cbe Author: Matthias Clasen Date: Sat Aug 6 10:23:20 2016 -0400 Add details to css render nodes Give all nodes the same detail about the owner widget. This reveals that every GtkCssCustomGadget gets a DrawGadgetContents node, even if their draw_func is NULL. We may want to come up with a better solution for that. gtk/gtkcssgadget.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit bde55ccdcebef42efdb1465883b7333aacfa69da Author: Matthias Clasen Date: Sat Aug 6 09:37:47 2016 -0400 Some debug help Make the bounds of drawing surfaces created by render nodes visible. Trigger with GSK_DEBUG=surface. gsk/gskdebug.c | 3 ++- gsk/gskdebugprivate.h | 3 ++- gsk/gskrendernode.c | 11 +++++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) commit b371b5da428455b63b4e2345da664a447a07b951 Author: Matthias Clasen Date: Fri Aug 5 08:13:53 2016 -0400 Drop an unused variable gtk/gtkcssgadget.c | 1 - 1 file changed, 1 deletion(-) commit 9fe18f656104e129c857a9aed86a72cb7867be78 Author: Emmanuele Bassi Date: Thu Aug 4 19:19:46 2016 +0100 gtk: Clean up render fallback node creation in GtkWidget gtk/gtkwidget.c | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) commit e58965a3ccd4707873526c33baed729b14a2178e Author: Emmanuele Bassi Date: Thu Aug 4 19:19:14 2016 +0100 gtk: Port GtkHeaderBar to render nodes gtk/gtkheaderbar.c | 34 ++++++++++++---------------------- 1 file changed, 12 insertions(+), 22 deletions(-) commit 2e0d3ef8668312052836dd8e9221b1d06e451e46 Author: Emmanuele Bassi Date: Thu Aug 4 19:18:58 2016 +0100 gtk: Port GtkActionBar to render nodes gtk/gtkactionbar.c | 32 +++++++++++--------------------- 1 file changed, 11 insertions(+), 21 deletions(-) commit abe19f1826a73bd846888ffd7077168b23be6693 Author: Emmanuele Bassi Date: Thu Aug 4 19:16:43 2016 +0100 gtk: Attempt at handling CSS coordinates When creating the GskRenderNodes for the gadgets we should not translate the coordinates inside the Cairo context, but we should tweak the coordinates of the anchor point. This is still not enough to get an appropriate rendering, as the result is still slightly offset to the left. gtk/gtkcssgadget.c | 45 +++++++++++++++++++++++++++++++-------------- 1 file changed, 31 insertions(+), 14 deletions(-) commit 32d45b0081859fecf94f3766a5389c0105023f58 Author: Emmanuele Bassi Date: Thu Aug 4 19:14:51 2016 +0100 gsk: Pass the appropriate value for the n_quads argument Instead of passing the size of the buffer, we should pass the number of quads; we know what the size of a single quad structure is, so we can do the multiplication internally when creating the VAO. This allows us to print the quads for debugging purposes. gsk/gskgldriver.c | 17 ++++++++++++++++- gsk/gskglrenderer.c | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) commit a0b2b3745f697b91d9e91c3f10b0b3b4627a33d8 Author: Matthias Clasen Date: Tue Aug 2 21:26:03 2016 -0400 GtkFrame: Convert to indirect rendering Create a GskRenderNode for the contents of the frame. gtk/gtkframe.c | 57 ++++++++++++++++++--------------------------------------- 1 file changed, 18 insertions(+), 39 deletions(-) commit 354d4435b179a343ee68294b85a151ec69279cf7 Author: Emmanuele Bassi Date: Thu Aug 4 15:22:00 2016 +0100 gtk: Add convenience function for creating render nodes GtkWidget.create_render_node() sets up a GskRenderNode appropriate for rendering the contents of a widget, including its bounds, transformation, and anchor point. gtk/gtkwidget.c | 26 ++++++++++++++++++++++++++ gtk/gtkwidgetprivate.h | 4 ++++ 2 files changed, 30 insertions(+) commit a146618de0ac975090c30b1b15c87cd9c65a0d7d Author: Emmanuele Bassi Date: Thu Aug 4 15:20:06 2016 +0100 gsk: Rename set_offset() to set_anchor_point() The naming is consistent with other scene graph libraries, as it represents an additional translation transformation applied on top of the provided transformation matrices. We can also simplify the implementation by applying the translation when we compute the world matrix. gsk/gskrendernode.c | 18 +++++++----------- gsk/gskrendernode.h | 14 +++++++------- gsk/gskrendernodeprivate.h | 2 +- gtk/gtkwidget.c | 8 +++++--- 4 files changed, 20 insertions(+), 22 deletions(-) commit 702befc697ba838f9155d93edc6a54c655cadf2b Author: Emmanuele Bassi Date: Thu Aug 4 12:37:54 2016 +0100 gsk: Recycle textures across frames We keep the textures used inside a frame around until the end of the following frame; whenever we need a texture with the same size, and it's not marked in use, then we just reuse the existing texture. gsk/gskgldriver.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++ gsk/gskgldriverprivate.h | 2 ++ gsk/gskglrenderer.c | 3 ++- 3 files changed, 59 insertions(+), 1 deletion(-) commit e7c7932d7202eb15683c589a7c6529b93aa1ab3e Author: Matthias Clasen Date: Thu Aug 4 01:05:14 2016 -0400 Fix fallback render nodes We were allocating a surface thats big enough for the clip, and we were setting the transform for that, but then GtkContainer was overriding the transform with the one for the allocation. Also, we were drawing at the clip position, not the allocation position. gtk/gtkwidget.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 7b204b0eeaadbb076d842b42556b09ec912bc24b Author: Matthias Clasen Date: Thu Aug 4 01:04:25 2016 -0400 Add an offset to render nodes This will let us account for the difference between clip and allocation. gsk/gskrendernode.c | 18 ++++++++++++++++++ gsk/gskrendernode.h | 3 +++ gsk/gskrendernodeprivate.h | 2 ++ 3 files changed, 23 insertions(+) commit ff20a68ca3cc7c77968e3b11cefad368a1e4438c Author: Matthias Clasen Date: Tue Aug 2 22:00:50 2016 -0400 gsk: Split of debug spew for transforms This was overwhelming other useful debug output, so make it opt-in. We print the render items for both opengl and transforms, since the matrices bleed into each other, otherwise. gsk/gskglrenderer.c | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) commit b876068e5b522200348e7b47d979025c62b60741 Author: Matthias Clasen Date: Tue Aug 2 21:56:17 2016 -0400 gsk: Add debug macros that trigger on two conditions This will be useful in the following commits. gsk/gskdebugprivate.h | 7 +++++++ 1 file changed, 7 insertions(+) commit 819ffdd5c2e7ab80f456294d61adc648228e445d Author: Matthias Clasen Date: Tue Aug 2 21:53:31 2016 -0400 gsk: Add a debug flag for transforms gsk/gskdebug.c | 1 + gsk/gskdebugprivate.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit 23745462a42048dc229e4f8d7ab2040f19293184 Author: Matthias Clasen Date: Tue Aug 2 21:52:30 2016 -0400 gsk: Improve debug output a bit Indent render node debug spew to make the tree structure obvious. gsk/gskglrenderer.c | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) commit 1d5e05b0d1dff90eea4b0c25f2ffe77a3e2bf09a Author: Matthias Clasen Date: Tue Aug 2 20:13:21 2016 -0400 button: Convert to indirect rendering WARNING! This commit breaks GtkButton subclasses. gtk/gtkbutton.c | 45 ++++++++++++++------------------------------- 1 file changed, 14 insertions(+), 31 deletions(-) commit 72ccb39f66e129a919ccc3bbcb772f5a384ad49f Author: Matthias Clasen Date: Tue Aug 2 19:45:47 2016 -0400 Convert GtkGrid to indirect rendering Following the example of GtkBox. gtk/gtkgrid.c | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) commit d227b9ce38440fa22e85afa1e4f4422e9f66343c Author: Emmanuele Bassi Date: Wed Aug 3 16:51:21 2016 +0100 gsk: Add GskProfiler to GskRenderer The profiler instance is per-renderer, and is accesible to implementations. gsk/gskglrenderer.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++-- gsk/gskrenderer.c | 44 ++++++++++++++++++++++++++++++++++++ gsk/gskrendererprivate.h | 3 +++ 3 files changed, 103 insertions(+), 2 deletions(-) commit 005fea59b69dad080b0d8b957db770d0f5a0e572 Author: Emmanuele Bassi Date: Wed Aug 3 16:48:49 2016 +0100 gsk: Add profiler object The GskProfiler holds counters and timers, and will be used by the renderer implementations to acquire frame timings. gsk/Makefile.am | 2 + gsk/gskprofiler.c | 470 +++++++++++++++++++++++++++++++++++++++++++++++ gsk/gskprofilerprivate.h | 48 +++++ 3 files changed, 520 insertions(+) commit 137ff8ede74423cf11cadd7c3a2b21752d6334d0 Author: Emmanuele Bassi Date: Tue Aug 2 18:44:06 2016 +0100 box: Port from immediate to deferred rendering Drop the ::draw() vfunc implementation in favour of the ::get_render_node() vfunc. gtk/gtkbox.c | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) commit e5dace2d51a3c89d0f0eba8c9a7c04d680be7110 Author: Emmanuele Bassi Date: Tue Aug 2 18:42:51 2016 +0100 Integrate CSS gadget with GSK render nodes First stab at an internal API that generates render nodes when drawing a CSS gadget. gtk/gtkcssgadget.c | 133 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssgadgetprivate.h | 4 ++ 2 files changed, 137 insertions(+) commit bfad9fe4ee1d6314e3b9658cf9c0111e155882c7 Author: Emmanuele Bassi Date: Tue Aug 2 17:01:08 2016 +0100 gtk: Update the coordinates when propagating render nodes Just like gtk_container_propagate_draw() does for the immediate mode rendering. gtk/gtkcontainer.c | 54 +++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 49 insertions(+), 5 deletions(-) commit 1ab1fd43910d256ac451ade32db8cf4ef2f7d10e Author: Emmanuele Bassi Date: Tue Aug 2 16:58:47 2016 +0100 Use the projection to flip around the content Since we use an FBO to render the contents of the render node tree, the coordinate space is going to be flipped in GL. We can undo the flip by using an appropriate projection matrix, instead of changing the sampling coordinates in the shaders and updating all our coordinates at render time. gsk/gskglrenderer.c | 4 +--- gsk/resources/glsl/blend.fs.glsl | 4 ++-- gsk/resources/glsl/blend.vs.glsl | 2 +- gsk/resources/glsl/blit.vs.glsl | 2 +- gtk/gtkwindow.c | 10 ++++++---- 5 files changed, 11 insertions(+), 11 deletions(-) commit 6c92846936065e3cae8b815979531a3acebea037 Author: Emmanuele Bassi Date: Mon Aug 1 16:19:31 2016 +0100 widget: Fix compatibility fallbacks gtk/gtkwidget.c | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) commit 9982b669066d7b1a9187d6efd71595e55cc96b17 Author: Emmanuele Bassi Date: Thu Jul 28 16:20:26 2016 +0100 gsk: Add texture size to debug message gsk/gskglrenderer.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit a8a8f97511baeb333a6de78b279f7e2e38ec309a Author: Emmanuele Bassi Date: Wed Jul 27 16:48:35 2016 +0100 gsk: Take into account the scaling factor We need to apply a scaling factor whenever we deal with user-supplied coordinates, like: - when creating textures - when setting up the viewport - when submitting the scene gsk/gskglrenderer.c | 62 ++++++++++++++++++++++++++++++++--------------------- gsk/gskrendernode.c | 34 +++++++++++++++++++++++++---- gsk/gskrendernode.h | 3 +++ 3 files changed, 71 insertions(+), 28 deletions(-) commit 3d90a070d586fa80fb3265a044ee0c5dcc546c55 Author: Emmanuele Bassi Date: Wed Jul 27 16:23:44 2016 +0100 gsk: Tie render nodes to renderers Render nodes need access to rendering information like scaling factors. If we keep render nodes separate from renderers until we submit a nodes tree for rendering we're going to have to duplicate all that information in a way that makes the API more complicated and fuzzier on its semantics. By having GskRenderer create GskRenderNode instances we can tie nodes and renderers together; since higher layers will also have access to the renderer instance, this does not add any burden to callers. Additionally, if memory measurements indicate that we are spending too much time in the allocation of new render nodes, we can now easily implement a free-list or a renderer-specific allocator without breaking the API. gsk/gskrenderer.c | 19 +++++++++++++++++++ gsk/gskrenderer.h | 4 ++++ gsk/gskrendernode.c | 15 +++++++++------ gsk/gskrendernode.h | 2 -- gsk/gskrendernodeprivate.h | 6 ++++++ gtk/gtkwidget.c | 4 ++-- gtk/gtkwindow.c | 2 +- 7 files changed, 41 insertions(+), 11 deletions(-) commit ab8420ec5288dbe8f533234676f193355912fdb9 Author: Emmanuele Bassi Date: Wed Jul 27 11:34:20 2016 +0100 gsk: Bind GL context to the GL profiler Similarly to how we bind it to the GL driver object used by the GSK GL renderer. gsk/gskglprofiler.c | 73 ++++++++++++++++++++++++++++++++++++++++++++-- gsk/gskglprofilerprivate.h | 2 +- gsk/gskglrenderer.c | 46 ++++++++++++++--------------- 3 files changed, 94 insertions(+), 27 deletions(-) commit f0c04cdd09d22f9bdf27e16b9b137cac38b28753 Author: Emmanuele Bassi Date: Wed Jul 27 09:42:25 2016 +0100 gtk: Port GtkWindow to render nodes WARNING: BROKEN COMMIT gtk/gtkwindow.c | 164 ++++++++++++++++++++++++++++++-------------------------- 1 file changed, 88 insertions(+), 76 deletions(-) commit cd0de3f87cd40ec4ce150976d85e0491dbccf374 Author: Emmanuele Bassi Date: Wed Jul 27 09:40:29 2016 +0100 gtk: Add GtkContainer API to gather render nodes We cannot implement GtkWidgetClass.get_render_node() in GtkContainer without breaking the fallback path that renders a widget to a single render node rasterization. For GtkContainer subclasses we should provide a simple API, similar to gtk_container_propagate_draw(), that gathers all the render nodes for each child. gtk/gtkcontainer.c | 37 ++++++++++++++++++++++++++++++++++++- gtk/gtkcontainerprivate.h | 5 +++++ 2 files changed, 41 insertions(+), 1 deletion(-) commit 43904892bc00d0cce98e30932aa77b10a47b5cd1 Author: Emmanuele Bassi Date: Wed Jul 27 09:39:55 2016 +0100 gtk: Name GSK render nodes For debugging purposes it's helpful to name the nodes. gtk/gtkwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit d6a6820d99ddfb028aee7129ec6ac47175cd5255 Author: Emmanuele Bassi Date: Mon Jul 25 17:36:33 2016 +0100 gsk: Fix build without Wayland gsk/gskrenderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9e22118feb983aad35ce065725d9ac3c7ac1c3a4 Author: Emmanuele Bassi Date: Mon Jul 25 17:15:05 2016 +0100 gsk: Add redirection to FBOs for opacity groups If a node is non-opaque and has a non-zero opacity we need to paint its contents and children first to an off screen buffer, and then render the resulting texture at the desired opacity — otherwise the opacities will combine and result in the wrong rendering. gsk/gskglrenderer.c | 161 +++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 129 insertions(+), 32 deletions(-) commit 8ac912728370b9aeecdf1503b911c879ac31a3bd Author: Emmanuele Bassi Date: Thu Jul 21 17:19:53 2016 +0100 gsk: Drop opaque/transparent item split We're not going to use separate rendering lists soon, and the way we render items is less similar to a gaming engine and more similar to a simpler compositor. This means we don't need to perform a two pass rendering — opaque items first, transparent items later. gsk/gskglrenderer.c | 76 ++++++++++++++++------------------------------------- 1 file changed, 22 insertions(+), 54 deletions(-) commit 03ab560fae288ffa33265d1b421c6547c56671a4 Author: Emmanuele Bassi Date: Thu Jul 21 17:17:49 2016 +0100 gsk: Rename uniforms and attributes in shaders Use appropriate names, and annotate the names with the types — 'u' for uniforms, 'a' for attributes. The common preambles for shaders are split from the bodies, so we need some way to distinguish the uniforms and the attributes just from their name. gsk/gskglrenderer.c | 38 +++++++++++++++++++---------------- gsk/resources/glsl/blend.fs.glsl | 20 +++++++++--------- gsk/resources/glsl/blend.vs.glsl | 4 ++-- gsk/resources/glsl/blit.fs.glsl | 4 ++-- gsk/resources/glsl/blit.vs.glsl | 4 ++-- gsk/resources/glsl/es2_common.fs.glsl | 9 +++++---- gsk/resources/glsl/es2_common.vs.glsl | 7 +++---- gsk/resources/glsl/gl3_common.fs.glsl | 10 ++++----- gsk/resources/glsl/gl3_common.vs.glsl | 7 +++---- gsk/resources/glsl/gl_common.fs.glsl | 9 +++++---- gsk/resources/glsl/gl_common.vs.glsl | 7 +++---- 11 files changed, 61 insertions(+), 58 deletions(-) commit 24a6f3c055e749bc077093c7fd90ce357695dd52 Author: Emmanuele Bassi Date: Wed Jul 20 17:55:35 2016 +0100 gsk: Move resource handling inside GskGLDriver We want the GL driver to cache as many resources as possible, so we can always ensure that we're in a consistent state, and we can handle state transitions more appropriately. gsk/gskgldriver.c | 267 +++++++++++++++++++++++++++++++++++------------ gsk/gskgldriverprivate.h | 13 ++- gsk/gskglrenderer.c | 120 +++++++++------------ gsk/gskshaderbuilder.c | 6 +- 4 files changed, 262 insertions(+), 144 deletions(-) commit bbfe4324e4272ae8c036183dd8532ce4eda08c3c Author: Emmanuele Bassi Date: Tue Jul 19 14:42:54 2016 +0100 gsk: Simplify buffer handling in GskGLRenderer We don't have optional stencil and depth buffers, like GtkGLArea: we always create both of them internally. gsk/gskglrenderer.c | 110 +++++++++++----------------------------------------- 1 file changed, 22 insertions(+), 88 deletions(-) commit db4ade48e90914c9be98c471c8379e3537b8712a Author: Emmanuele Bassi Date: Tue Jul 19 14:34:24 2016 +0100 gsk: Drop render buffer code path from GskGLRenderer We always use texturing, to preserve the alpha channel when blitting the frame buffer object on the window surface. gsk/gskglrenderer.c | 50 ++++---------------------------------------------- 1 file changed, 4 insertions(+), 46 deletions(-) commit b169ce374e974af07197fd0792107f7943dd5b30 Author: Emmanuele Bassi Date: Tue Jul 19 14:32:17 2016 +0100 gsk: Rework surface -> texture API Drop the texture parameters handling from the texture creation, and associate them with the contents upload. Also, rename the function to something more in line with what it does. gsk/gskgldriver.c | 27 ++++++++++++++++++--------- gsk/gskgldriverprivate.h | 10 +++++----- gsk/gskglrenderer.c | 10 +++++----- 3 files changed, 28 insertions(+), 19 deletions(-) commit e2a43a8701a10eccb0bef30d23c8c2329e2c2866 Author: Emmanuele Bassi Date: Tue Jul 12 15:41:31 2016 +0100 gsk: Add GL driver API to create render targets It's going to be used by the GL renderer to safely create and bind FBOs when needed. gsk/gskgldriver.c | 104 ++++++++++++++++++++++++++++++++++++++++------- gsk/gskgldriverprivate.h | 2 + 2 files changed, 91 insertions(+), 15 deletions(-) commit 9836d2259feb556439162013a439b1cc217140af Author: Emmanuele Bassi Date: Tue Jul 12 14:59:37 2016 +0100 gsk: Turn texture cache into a hash table We want to add the list of FBOs tied to a texture; this means we cannot trivally copy the Texture structure when adding it to a GArray. We're also going to have more textures than VAOs, so it makes more sense to use a O(1) access data structure for them. gsk/gskgldriver.c | 44 +++++++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 23 deletions(-) commit 30be7bd5438ba5d5e8d80f413338d4cb85dbbf23 Author: Emmanuele Bassi Date: Tue Jul 12 14:50:48 2016 +0100 gsk: Add GL profiler We can use the GL_ARB_timer_query extension (available since OpenGL 3.2, and part of the OpenGL specification since version 3.3) to query the time elapsed when drawing each frame. This allows us to gather timing information on our use of the GPU. gsk/Makefile.am | 2 + gsk/gskglprofiler.c | 108 +++++++++++++++++++++++++++++++++++++++++++++ gsk/gskglprofilerprivate.h | 18 ++++++++ gsk/gskglrenderer.c | 13 +++++- 4 files changed, 139 insertions(+), 2 deletions(-) commit 8807f23f76d3cdd8aea0bff147e8e3a9941f476c Author: Emmanuele Bassi Date: Tue Jul 12 11:15:45 2016 +0100 gsk: Split surface upload from texture creation We're going to need a method to create textures without a surface. gsk/gskgldriver.c | 35 ++++++++++++++++++++++++++++------- gsk/gskgldriverprivate.h | 7 +++++-- gsk/gskglrenderer.c | 6 ++++-- 3 files changed, 37 insertions(+), 11 deletions(-) commit b98fb074192a54e320d7291fcf4ac34c3d9a4578 Author: Emmanuele Bassi Date: Fri Jul 8 16:40:42 2016 +0100 gsk: Enable depth testing Use the appropriate depth testing function for transparent items. gsk/gskglrenderer.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit c052443633720b3f2fc494c5c615559bf24a6166 Author: Emmanuele Bassi Date: Fri Jul 8 16:26:44 2016 +0100 gsk: Use consistent naming for blend fragment shader This should make it immediately clear if we're doing something wrong. gsk/resources/glsl/blend.fs.glsl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 9c86579e4700fededcbeddc3eccb3be099fcbcfb Author: Emmanuele Bassi Date: Fri Jul 8 16:24:35 2016 +0100 gsk: Fix pre-condition check We warn if the node is marked as not mutable. gsk/gskrendernode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 51f05731a91b476b76dd8076a25f706a517a8f39 Author: Emmanuele Bassi Date: Fri Jul 8 16:23:49 2016 +0100 gsk: Flip mutability on GskRenderNode.finalize We use the public API when removing children nodes, so we need to mark the node as mutable while we destroy it. gsk/gskrendernode.c | 2 ++ 1 file changed, 2 insertions(+) commit d3393d51ffadfaf6cef3ac461ca2dfd44e972e1e Author: Emmanuele Bassi Date: Fri Jul 8 16:22:33 2016 +0100 gsk: Add specific debug type for shaders So that we don't lose GskShaderBuilder debugging messages in the stream of GskGLRenderer ones. gsk/gskdebug.c | 1 + gsk/gskdebugprivate.h | 3 ++- gsk/gskshaderbuilder.c | 7 ++++--- 3 files changed, 7 insertions(+), 4 deletions(-) commit 46bb14e173af27f2e0dde5a256765dbf91b0ef2e Author: Emmanuele Bassi Date: Fri Jul 8 16:21:13 2016 +0100 gsk: Add GskGLDriver We can move the caching and management of textures, VAOs, and state of the GL machinery into a single object, GskGLDriver. gsk/Makefile.am | 2 + gsk/gskgldriver.c | 369 +++++++++++++++++++++++++++++++++++++++++++++++ gsk/gskgldriverprivate.h | 45 ++++++ gsk/gskglrenderer.c | 219 +++++++++------------------- 4 files changed, 487 insertions(+), 148 deletions(-) commit 8555c6ba113855b2a2c6842a9fbf2e18c4225ff5 Author: Emmanuele Bassi Date: Wed Jul 6 17:10:12 2016 +0100 gsk: Use the right pointer to the parent RenderItem We copy the local RenderItem into the render items array, so we need to use the copy in the array in order to get the correct reference. gsk/gskglrenderer.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit dc3b240c20d791cba706090e6c150893910e6112 Author: Emmanuele Bassi Date: Tue Jul 5 11:58:44 2016 +0100 Ensure that render nodes are translated The clip rectangle may have non-zero offsets, so we need to ensure that the GskRenderNode associated to the rendered area is translated by those same offsets. gtk/gtkwidget.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit d790054c2effca4ee41275842d16a30f3da49c7c Author: Emmanuele Bassi Date: Mon Jul 4 14:07:24 2016 +0100 gsk: Add fundamental type annotations for GskRenderNode We need to annotate the GskRenderNode so that the introspection machinery can find the functions for managing reference counting and GValues. gsk/gskrendernode.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 0fbf638999813c51b624082ec1d9a502ad784588 Author: Emmanuele Bassi Date: Mon Jul 4 13:55:00 2016 +0100 gsk: Add 'blit' program For the root node we do not need to use blending, as it does not have any backdrop to blend into. We can use a simpler 'blit' program that only takes the content of the source and fills the texture quad with it. gsk/gskglrenderer.c | 25 ++++++++++++++++++++++--- gsk/resources/glsl/blend.vs.glsl | 2 +- gsk/resources/glsl/blit.fs.glsl | 5 +++++ gsk/resources/glsl/blit.vs.glsl | 6 ++++++ 4 files changed, 34 insertions(+), 4 deletions(-) commit 4cda720ab993c5935694086cecf6fca83a8ecdf2 Author: Emmanuele Bassi Date: Mon Jul 4 13:46:22 2016 +0100 gsk: Consolidate program creation and storage We should use ShaderBuilder to create and store programs for the GL renderer. This allows us to simplify the creation of programs (by moving the compilation phase into the ShaderBuilder::create_program() method), and move towards the ability to create multiple programs and just keep a reference to the program id. gsk/gskglrenderer.c | 87 +++++++--------------- gsk/gskshaderbuilder.c | 164 +++++++++++++++++++++++++++++++----------- gsk/gskshaderbuilderprivate.h | 16 ++--- 3 files changed, 155 insertions(+), 112 deletions(-) commit 43974761bb276b09acd60d29fb93cdadcd1197c8 Author: Emmanuele Bassi Date: Mon Jul 4 00:23:19 2016 +0100 docs: Add more GSK documentation gsk/gskrenderer.c | 13 ++++++++-- gsk/gskrendernode.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 82 insertions(+), 3 deletions(-) commit a840c7f00c1f152f7d9f1b73d3fd061187c8ea5d Author: Emmanuele Bassi Date: Sun Jul 3 23:02:56 2016 +0100 gsk: Add more modes to the blend shader Use the compositing CSS spec at: https://www.w3.org/TR/compositing-1/#blending For the implementation. gsk/resources/glsl/blend.fs.glsl | 52 +++++++++++++++++++++++++++++++++++----- 1 file changed, 46 insertions(+), 6 deletions(-) commit 9e3b0f5aa081d4cc332449b29374289513c90b58 Author: Emmanuele Bassi Date: Sun Jul 3 22:54:30 2016 +0100 gsk: Don't store the uniform and attribute location twice We should keep the ShaderBuilder around and use it to query the various uniform and attribute locations when needed, instead of storing those offsets into the Renderer instance, and copying them. This allows a bit more flexibility, once we have more than one program built into the renderer. gsk/gskglrenderer.c | 119 ++++++++++++++++++++++++++-------------------------- 1 file changed, 59 insertions(+), 60 deletions(-) commit 12db9ee164007dedac55cef9dd5bb495f05094f7 Author: Emmanuele Bassi Date: Sun Jul 3 22:53:16 2016 +0100 gsk: Add getter for program id in ShaderBuilder Since we store it into the ShaderBuilder instance we should also allow getting the program id. gsk/gskshaderbuilder.c | 8 ++++++++ gsk/gskshaderbuilderprivate.h | 1 + 2 files changed, 9 insertions(+) commit 8bb0c9a226baa66585a901c1f7c4e96b35cf5919 Author: Emmanuele Bassi Date: Sun Jul 3 22:38:27 2016 +0100 gsk: Add debugging notes to ShaderBuilder Print out the generated shader and the list of available uniforms and attributes. gsk/gskshaderbuilder.c | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) commit 28b490f14feaea74cbd406a053b30f62e5832005 Author: Emmanuele Bassi Date: Sun Jul 3 21:12:22 2016 +0100 gsk: Rework how GLSL shaders are built The GL renderer should build the GLSL shaders using GskShaderBuilder. This allows us to separate the common parts into separate files, and assemble them as necessary, instead of shipping one big shader per type of GL API (GL3, GL legacy, and GLES). gsk/gskglrenderer.c | 210 +++++++++++++++++----------------- gsk/resources/glsl/blend.fs.glsl | 22 ++++ gsk/resources/glsl/blend.vs.glsl | 6 + gsk/resources/glsl/es2_common.fs.glsl | 16 +++ gsk/resources/glsl/es2_common.vs.glsl | 7 ++ gsk/resources/glsl/gl3-base.fs.glsl | 34 ------ gsk/resources/glsl/gl3-base.vs.glsl | 16 --- gsk/resources/glsl/gl3_common.fs.glsl | 19 +++ gsk/resources/glsl/gl3_common.vs.glsl | 7 ++ gsk/resources/glsl/gl_common.fs.glsl | 14 +++ gsk/resources/glsl/gl_common.vs.glsl | 7 ++ gsk/resources/glsl/gles-base.fs.glsl | 11 -- gsk/resources/glsl/gles-base.vs.glsl | 12 -- 13 files changed, 206 insertions(+), 175 deletions(-) commit 2ded2ad6b7e2b84301317fbb72c208be4f78d863 Author: Emmanuele Bassi Date: Sun Jul 3 20:04:40 2016 +0100 gsk: Add ShaderBuilder GskShaderBuilder is an ancillary, private type that deals with the internals of taking GLSL shaders from resources and building them, with the additional feature of being able to compose shaders from a common preamble, as well as adding conditional defines (useful for enabling debugging code in the shaders themselves). gsk/Makefile.am | 6 +- gsk/gskshaderbuilder.c | 359 ++++++++++++++++++++++++++++++++++++++++++ gsk/gskshaderbuilderprivate.h | 45 ++++++ 3 files changed, 408 insertions(+), 2 deletions(-) commit 3d21c4afba985c6a5ef15855d9929d163ff5d4fb Author: Emmanuele Bassi Date: Sun Jul 3 18:59:32 2016 +0100 gsk: Add rendering debug mode for shaders It's going to be useful to inject debugging data into the shaders used by GSK. gsk/gskdebug.c | 1 + gsk/gskdebugprivate.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit 0ce9815bd1e719a7f3c36b61456b7442511d3ad5 Author: Emmanuele Bassi Date: Fri Jul 1 16:17:14 2016 +0100 gdk: Add more GDK_GL_ERROR error ids We're going to use them in other locations. gdk/gdktypes.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 1b1edcebd0aa477704c05c5217e2b356f12c1b27 Author: Emmanuele Bassi Date: Fri Jul 1 12:15:56 2016 +0100 gsk: Use the node's blend mode in the GL renderer gsk/gskglrenderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 81e992e1ff2ee4e9647e33e799b661ef881915f8 Author: Emmanuele Bassi Date: Fri Jul 1 12:12:30 2016 +0100 gsk: Store blend mode in the render node gsk/gskrendernode.c | 43 +++++++++++++++++++++++++++++++++++++++++++ gsk/gskrendernode.h | 6 ++++++ gsk/gskrendernodeprivate.h | 3 +++ 3 files changed, 52 insertions(+) commit bf09ce93c8199107a144b1b095db36bed56836e5 Author: Emmanuele Bassi Date: Fri Jul 1 12:02:43 2016 +0100 gsk: Make GskBlendMode enumeration public gsk/gskenums.h | 39 +++++++++++++++++++++++++++++++++++++++ gsk/gskglrenderer.c | 8 +------- 2 files changed, 40 insertions(+), 7 deletions(-) commit 638297a22e36e5daab3fdaa9dd66d81dc8c9decc Author: Emmanuele Bassi Date: Thu Jun 30 17:06:31 2016 +0100 gsk: Allow sampling between parent and child nodes gsk/gskglrenderer.c | 85 ++++++++++++++++++++++++++++--------- gsk/gskrendernode.c | 18 ++++++++ gsk/gskrendernodeprivate.h | 2 + gsk/resources/glsl/gl3-base.fs.glsl | 23 +++++++++- 4 files changed, 108 insertions(+), 20 deletions(-) commit 7416aa762f12a17a46d7dd903c777571a6720129 Author: Emmanuele Bassi Date: Thu Jun 30 15:07:16 2016 +0100 gsk: Group render state attributes gsk/gskglrenderer.c | 89 ++++++++++++++++++++++++++++------------------------- 1 file changed, 47 insertions(+), 42 deletions(-) commit b8a92dfa0eddca1283b08b17359bf628f25211dc Author: Emmanuele Bassi Date: Wed Jun 29 19:05:33 2016 +0100 gsk: Turn GskRenderNode into a pure GTypeInstance Using GObject as the base type for a transient tree may prove to be too intensive, especially when creating a lot of node instances. Since we don't need properties or signals, and we don't need complex destruction semantics, we can use GTypeInstance directly as the base type for GskRenderNode. gsk/gskrenderer.c | 31 ++---- gsk/gskrendernode.c | 264 +++++++++++++++++++++++++++++++++++++++++++-- gsk/gskrendernode.h | 17 +++ gsk/gskrendernodeprivate.h | 8 +- 4 files changed, 283 insertions(+), 37 deletions(-) commit b997f4c5756e8ccd0dfab461aa6e8b9f82faa2a8 Author: Emmanuele Bassi Date: Thu Jun 23 17:35:42 2016 +0100 gtk: Use GskRenderNode to render widgets We need a virtual function to retrieve the GskRenderNode for each widget, which is supposed to attach its own children's GskRenderNodes. Additionally, we want to maintain the existing GtkWidget::draw mechanism for widgets that do not implement get_render_node() — as well as widgets that have handlers connected to the ::draw signal. gtk/gtkwidget.c | 105 +++++++++++++++++++++++++++++++++++++++++++++---- gtk/gtkwidget.h | 5 ++- gtk/gtkwidgetprivate.h | 3 ++ gtk/gtkwindow.c | 6 +++ 4 files changed, 110 insertions(+), 9 deletions(-) commit 258af60c18aa5bee70f939246f9beabb99a4b461 Author: Emmanuele Bassi Date: Thu Jun 23 17:34:38 2016 +0100 gtk: Add a GskRenderer to GtkWindow Each top-level should have its own GskRenderer, to be used when drawing the render node tree. gtk/gtkwindow.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkwindowprivate.h | 2 ++ 2 files changed, 49 insertions(+) commit 074c77e7ac5e38f2a70c974d977e09fdbfa08ff3 Author: Emmanuele Bassi Date: Wed Jun 22 17:30:36 2016 +0100 gsk: Rework GskRenderer and GskRenderNode semantics This commit changes the way GskRenderer and GskRenderNode interact and are meant to be used. GskRenderNode should represent a transient tree of rendering nodes, which are submitted to the GskRenderer at render time; this allows the renderer to take ownership of the render tree. Once the toolkit and application code have finished assembling it, the render tree ownership is transferred to the renderer. gsk/gskcairorenderer.c | 51 ++-- gsk/gskglrenderer.c | 292 +++++------------------ gsk/gskrenderer.c | 575 +++++++++++---------------------------------- gsk/gskrenderer.h | 31 +-- gsk/gskrendererprivate.h | 23 +- gsk/gskrendernode.c | 338 ++++++++------------------ gsk/gskrendernode.h | 9 +- gsk/gskrendernodeprivate.h | 46 +--- tests/Makefile.am | 4 - tests/testgskrenderer.c | 229 ------------------ 10 files changed, 338 insertions(+), 1260 deletions(-) commit d99f91f5fd4df3b1de2f04582cfa29b2289796fd Author: Emmanuele Bassi Date: Tue Apr 26 14:23:12 2016 +0100 gsk: Flush the GL render items cache Whenever the render tree changes we want to drop the RenderItem arrays, as each item contains a pointer to the GskRenderNode which becomes dangling once the root node changed. gsk/gskglrenderer.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) commit 635fd7026a72329a35bdd600c6ad2d8c26218097 Author: Emmanuele Bassi Date: Tue Apr 26 14:22:25 2016 +0100 gsk: Add GskRenderer::clear_tree We need a way to clear eventual caches inside GskRenderer subclasses if the root node has changed. gsk/gskrenderer.c | 15 +++++++++++++++ gsk/gskrendererprivate.h | 5 +++++ 2 files changed, 20 insertions(+) commit 9d3ca22b4cb52f1d9ed1dcec249f6ae2e630ce65 Author: Emmanuele Bassi Date: Mon Apr 25 12:26:46 2016 +0100 gsk: Port GskGLRenderer to GLES Use the appropriate API and shaders if the GdkGLContext was created for OpenGL ES instead of OpenGL. gsk/gskglrenderer.c | 18 +++++++++++++++--- gsk/resources/glsl/gles-base.fs.glsl | 11 +++++++++++ gsk/resources/glsl/gles-base.vs.glsl | 12 ++++++++++++ 3 files changed, 38 insertions(+), 3 deletions(-) commit 5909ce6897fdd5fedfd02ddb1f0414390d694a9f Author: Emmanuele Bassi Date: Mon Apr 25 11:41:15 2016 +0100 gsk: Use surface-to-texture utility function Now that we have it. gsk/gskglrenderer.c | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) commit eb9c0920ab1f9485e669dad30cfe6965460e1e04 Author: Emmanuele Bassi Date: Mon Apr 25 11:09:25 2016 +0100 gsk: Rename shaders for OpenGL gsk/gskglrenderer.c | 8 ++++++-- .../glsl/{base-renderer-fragment.glsl => gl3-base.fs.glsl} | 0 .../glsl/{base-renderer-vertex.glsl => gl3-base.vs.glsl} | 0 3 files changed, 6 insertions(+), 2 deletions(-) commit b425cff6896e5802e65fe4fde293645e8d236884 Author: Emmanuele Bassi Date: Mon Apr 25 11:29:14 2016 +0100 gdk: Add utility for uploading Cairo surfaces to GL The surface-to-GL upload logic has become more complicated with the addition of the GLES code paths; it's more logical to have a public utility function that can be called from GDK users, instead of copy pasting the whole thing multiple times. gdk/gdkcairo.h | 7 +++++++ gdk/gdkgl.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) commit 0e2a87a4bcccae77c7881f2e34cd68df9308b98d Author: Emmanuele Bassi Date: Wed Apr 20 16:00:45 2016 +0100 build: Add GSK deps to GTK gtk/Makefile.am | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 7afdd3fdb5c5fda9da87555b40a61e6a321c2414 Author: Emmanuele Bassi Date: Thu Mar 17 13:48:19 2016 +0000 Initial implementation of GSK rendering pipeline GSK is conceptually split into two scene graphs: * a simple rendering tree of operations * a complex set of logical layers The latter is built on the former, and adds convenience and high level API for application developers. The lower layer, though, is what gets transformed into the rendering pipeline, as it's simple and thus can be transformed into appropriate rendering commands with minimal state changes. The lower layer is also suitable for reuse from more complex higher layers, like the CSS machinery in GTK, without necessarily port those layers to the GSK high level API. This lower layer is based on GskRenderNode instances, which represent the tree of rendering operations; and a GskRenderer instance, which takes the render nodes and submits them (after potentially reordering and transforming them to a more appropriate representation) to the underlying graphic system. gsk/Makefile.am | 146 ++- gsk/gsk.h | 33 + gsk/gskcairorenderer.c | 195 ++++ gsk/gskcairorendererprivate.h | 26 + gsk/gskdebug.c | 58 + gsk/gskdebugprivate.h | 43 + gsk/gskenums.h | 46 + gsk/gskenumtypes.c.template | 38 + gsk/gskenumtypes.h.template | 24 + gsk/gskglrenderer.c | 1092 +++++++++++++++++++ gsk/gskglrendererprivate.h | 23 + gsk/gskprivate.c | 16 + gsk/gskprivate.h | 12 + gsk/gskrenderer.c | 1377 ++++++++++++++++++++++++ gsk/gskrenderer.h | 113 ++ gsk/gskrendererprivate.h | 62 ++ gsk/gskrendernode.c | 1246 +++++++++++++++++++++ gsk/gskrendernode.h | 117 ++ gsk/gskrendernodeiter.c | 254 +++++ gsk/gskrendernodeiter.h | 45 + gsk/gskrendernodeprivate.h | 124 +++ gsk/gsktypes.h | 29 + gsk/resources/glsl/base-renderer-fragment.glsl | 13 + gsk/resources/glsl/base-renderer-vertex.glsl | 16 + tests/Makefile.am | 9 +- tests/testgskrenderer.c | 229 ++++ 26 files changed, 5349 insertions(+), 37 deletions(-) commit d519e4aafe325106f6a5f2139921bf246cb4848d Author: Emmanuele Bassi Date: Tue Jan 14 13:01:35 2014 +0000 gsk: Initial commit / build environment Makefile.am | 5 +-- configure.ac | 26 ++++++++++++++- gsk-4.0.pc.in | 13 ++++++++ gsk/Makefile.am | 82 +++++++++++++++++++++++++++++++++++++++++++++++ testsuite/Makefile.am | 2 +- testsuite/gsk/Makefile.am | 39 ++++++++++++++++++++++ 6 files changed, 163 insertions(+), 4 deletions(-) commit 3fb413beead9e3e5ca5e4f6b92e0ff15242783ac Author: Emmanuele Bassi Date: Tue Oct 18 11:29:06 2016 +0100 label: Avoid shadowing variables gtk/gtklabel.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit ba299d9ba49f4d7c453ce5fc982d392c0df29181 Author: Piotr Drąg Date: Tue Oct 18 03:50:55 2016 +0200 Update POTFILES.in po-properties/POTFILES.in | 10 ---------- po/POTFILES.in | 10 ---------- 2 files changed, 20 deletions(-) commit dfb45f4396aec7b42958b4e150b42321ed3a235d Author: Matthias Clasen Date: Mon Oct 17 15:28:29 2016 -0400 Add a test for cursor names This tests both that all standard cusor yield a cursor, and that unknown cursor names yield NULL. testsuite/gdk/Makefile.am | 1 + testsuite/gdk/cursor.c | 92 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) commit 95c7de70c70951ee5d1def390e51b0569c08c970 Author: Matthias Clasen Date: Mon Oct 17 15:27:15 2016 -0400 x11: Add the same message as the wayland backend has This seems prudent, if we make noise about missing cursors on Wayland, we should do the same on X11. gdk/x11/gdkcursor-x11.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit a0140cad15523f4e83ad9f3a622c6d744ce6f099 Author: Matthias Clasen Date: Mon Oct 17 15:26:29 2016 -0400 Reduce a warning to a message The warning interferes with having a testcase to check this behavior, so reduce this to a message. gdk/wayland/gdkcursor-wayland.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 4384628afb4a823da613654d2ed05dbdf0151a5e Author: Timm Bäder Date: Sun Oct 16 20:56:47 2016 +0200 Remove GtkAction gtk/deprecated/Makefile.inc | 2 - gtk/deprecated/gtkaction.c | 1983 ------------------------------------------- gtk/deprecated/gtkaction.h | 217 ----- gtk/gtk.h | 1 - gtk/gtkmenuitemprivate.h | 1 - testsuite/gtk/Makefile.am | 1 - testsuite/gtk/action.c | 82 -- testsuite/gtk/builder.c | 5 - 8 files changed, 2292 deletions(-) commit ead36206a31b798a379ce78735381c1abd95ca44 Author: Timm Bäder Date: Sun Oct 16 20:46:37 2016 +0200 Remove GtkActionGroup docs/reference/gtk/gtk4-sections.txt | 43 - gtk/deprecated/Makefile.inc | 2 - gtk/deprecated/gtkaction.c | 72 +- gtk/deprecated/gtkactiongroup.c | 1565 -------------------- gtk/deprecated/gtkactiongroup.h | 270 ---- gtk/gtk.h | 1 - tests/Makefile.am | 5 - tests/testactions.c | 217 --- tests/testgtk.c | 154 -- testsuite/gtk/builder.c | 26 - testsuite/gtk/notify.c | 3 +- .../linear-gradient-transition-to-other.ref.ui | 1 - .../linear-gradient-transition-to-other.ui | 1 - testsuite/reftests/simple.ref.ui | 1 - testsuite/reftests/simple.ui | 1 - 15 files changed, 4 insertions(+), 2358 deletions(-) commit 1bb3501ef79d00601db279671afb7ce399b0c5ed Author: Timm Bäder Date: Mon Oct 17 09:14:39 2016 +0200 Fix unittests testsuite/a11y/buttons.txt | 6 +-- testsuite/a11y/buttons.ui | 13 ----- testsuite/a11y/hello-world.ui | 1 - testsuite/a11y/infobar.txt | 3 +- testsuite/a11y/menu.ui | 13 ----- testsuite/a11y/menubutton.txt | 2 +- testsuite/a11y/menubutton.ui | 1 - testsuite/a11y/menubutton2.txt | 2 +- testsuite/a11y/menubutton3.txt | 2 +- testsuite/a11y/menus.ui | 8 --- testsuite/css/nodes/buttons.ui | 15 +----- testsuite/gtk/builder.c | 57 ++------------------- testsuite/gtk/cssprovider.c | 8 +-- testsuite/gtk/ui/image1.expected | 2 +- testsuite/gtk/ui/image1.ui | 4 +- testsuite/reftests/background-area.ref.ui | 4 -- testsuite/reftests/background-area.ui | 3 -- .../reftests/background-color-transparent.ref.ui | 2 - testsuite/reftests/background-color-transparent.ui | 2 - .../reftests/background-image-multiple.ref.ui | 7 --- testsuite/reftests/background-image-multiple.ui | 5 -- testsuite/reftests/background-origin.ref.ui | 1 - testsuite/reftests/background-origin.ui | 9 ---- .../reftests/background-position-repeat.ref.ui | 2 - testsuite/reftests/background-position-repeat.ui | 2 - testsuite/reftests/background-position.ref.ui | 18 ------- testsuite/reftests/background-position.ui | 18 ------- .../background-positioning-area-empty.ref.ui | 2 - .../reftests/background-positioning-area-empty.ui | 2 - testsuite/reftests/background-size-keywords.ref.ui | 24 --------- testsuite/reftests/background-size-keywords.ui | 24 --------- testsuite/reftests/background-size.ref.ui | 24 --------- testsuite/reftests/background-size.ui | 24 --------- testsuite/reftests/border-color-default.ref.ui | 1 - testsuite/reftests/border-color-default.ui | 1 - testsuite/reftests/border-half-pixel.ref.ui | 1 - testsuite/reftests/border-half-pixel.ui | 1 - testsuite/reftests/border-image-gradient.ref.ui | 1 - testsuite/reftests/border-image-gradient.ui | 1 - testsuite/reftests/border-image-url-scaled.ref.ui | 3 -- testsuite/reftests/border-image-url-scaled.ui | 1 - testsuite/reftests/border-image-url.ref.ui | 1 - testsuite/reftests/border-image-url.ui | 1 - testsuite/reftests/border-style-none.ref.ui | 1 - testsuite/reftests/border-style-none.ui | 1 - testsuite/reftests/border-style.ref.ui | 1 - testsuite/reftests/border-style.ui | 4 -- testsuite/reftests/box-pseudo-classes.ref.ui | 15 ------ testsuite/reftests/box-pseudo-classes.ui | 15 ------ .../css-match-inherit-different-state.ref.ui | 2 - .../reftests/css-match-inherit-different-state.ui | 2 - testsuite/reftests/css-match-inherit.ref.ui | 1 - testsuite/reftests/css-match-inherit.ui | 1 - testsuite/reftests/css-multi-state.ref.ui | 2 - testsuite/reftests/css-multi-state.ui | 2 - testsuite/reftests/inherit-and-initial.ref.ui | 58 +--------------------- testsuite/reftests/inherit-and-initial.ui | 58 +--------------------- testsuite/reftests/linear-gradient.ref.ui | 8 --- testsuite/reftests/linear-gradient.ui | 8 --- testsuite/reftests/opacity.ref.ui | 2 - testsuite/reftests/opacity.ui | 2 - .../reftests/style-properties-nth-child.ref.ui | 2 - testsuite/reftests/style-properties-nth-child.ui | 2 - 63 files changed, 24 insertions(+), 485 deletions(-) commit a864f4d4743f3e65157cc2a8a9a5d727f02155e6 Author: Timm Bäder Date: Mon Oct 17 09:13:51 2016 +0200 widget: Not all toplevels are also containers gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8245374f9cf5327f2216b8df1de07a14e9d8e6c5 Author: Timm Bäder Date: Sun Oct 16 21:25:38 2016 +0200 tests/testylecontext: Don't double-free widgetpath testsuite/gtk/stylecontext.c | 1 - 1 file changed, 1 deletion(-) commit f7d22fec7be9f3a566bce9c285289dc22f123abc Author: Timm Bäder Date: Sun Oct 16 19:35:49 2016 +0200 Remove GtkRecentAction docs/reference/gtk/gtk4-sections.txt | 20 - gtk/deprecated/Makefile.inc | 2 - gtk/deprecated/gtkrecentaction.c | 830 ----------------------------------- gtk/deprecated/gtkrecentaction.h | 83 ---- gtk/gtk.h | 1 - gtk/gtkrecentchooser.c | 1 - tests/testactions.c | 11 - testsuite/gtk/notify.c | 5 - 8 files changed, 953 deletions(-) commit d963ede6685368d9c5ec393556194116bd9708af Author: Timm Bäder Date: Sun Oct 16 19:28:11 2016 +0200 Remove GtkUIManager docs/reference/gtk/gtk4-sections.txt | 36 - gtk/deprecated/Makefile.inc | 6 +- gtk/deprecated/gtkuimanager.c | 3190 ---------------------------------- gtk/deprecated/gtkuimanager.h | 185 -- gtk/gtk.h | 1 - gtk/gtkaccelgroup.c | 5 +- gtk/gtkaccelmap.c | 4 +- gtk/gtkbuildable.h | 4 +- gtk/gtkwidget.c | 8 +- tests/Makefile.am | 8 - tests/testactions.c | 160 +- tests/testmerge.c | 678 -------- testsuite/gtk/action.c | 6 - testsuite/gtk/builder.c | 80 +- testsuite/gtk/notify.c | 3 +- 15 files changed, 14 insertions(+), 4360 deletions(-) commit 62b2949fa27660e6cfae00229acf7607341a28aa Author: Timm Bäder Date: Sun Oct 16 18:48:05 2016 +0200 Remove GtkActivatable gtk/deprecated/Makefile.inc | 2 - gtk/deprecated/gtkaction.c | 10 - gtk/deprecated/gtkactivatable.c | 558 ---------------------------------------- gtk/deprecated/gtkactivatable.h | 98 ------- gtk/deprecated/gtkuimanager.c | 8 - gtk/gtk.h | 1 - tests/testmerge.c | 6 - testsuite/gtk/action.c | 3 - testsuite/gtk/notify.c | 3 +- 9 files changed, 1 insertion(+), 688 deletions(-) commit a8a2588cab4ff6e8f11e0da811d7d1129fc370f7 Author: Timm Bäder Date: Sun Oct 16 18:32:10 2016 +0200 recentchooser: Stop implementing GtkActivatable gtk/gtkrecentchooser.c | 157 ------------------------------------------ gtk/gtkrecentchoosermenu.c | 73 +------------------- gtk/gtkrecentchooserprivate.h | 13 ---- 3 files changed, 1 insertion(+), 242 deletions(-) commit d0c087be377a37ac8379322ef3a100af1c40c2b9 Author: Timm Bäder Date: Sun Oct 16 18:26:00 2016 +0200 recentchooserdefault: Stop implementing GtkActivatable gtk/gtkrecentchooserdefault.c | 92 +------------------------------------------ 1 file changed, 1 insertion(+), 91 deletions(-) commit 0c7d091651193623bb8a661d109526c950be8740 Author: Timm Bäder Date: Sun Oct 16 18:22:29 2016 +0200 toolitem: Stop implementing GtkActivatable gtk/gtktoolitem.c | 189 +----------------------------------------------------- 1 file changed, 2 insertions(+), 187 deletions(-) commit 41f5d3b14c879e67a4340fcecf615fa3e9039b82 Author: Timm Bäder Date: Sun Oct 16 18:08:39 2016 +0200 Remove GtkToggleAction gtk/deprecated/Makefile.inc | 2 - gtk/deprecated/gtkactiongroup.c | 13 +- gtk/deprecated/gtktoggleaction.c | 401 --------------------------------------- gtk/deprecated/gtktoggleaction.h | 99 ---------- gtk/gtk.h | 1 - gtk/gtkcheckmenuitem.c | 1 - gtk/gtktogglebutton.c | 1 - gtk/gtktoggletoolbutton.c | 71 +------ tests/testactions.c | 27 +-- tests/testmerge.c | 21 -- testsuite/gtk/builder.c | 1 - testsuite/gtk/notify.c | 1 - 12 files changed, 3 insertions(+), 636 deletions(-) commit 53ab8eb46d7b960ba5b03325a2546af3fd02f148 Author: Timm Bäder Date: Sun Oct 16 17:46:00 2016 +0200 Remove GtkRadioAction docs/reference/gtk/gtk4-sections.txt | 22 -- gtk/deprecated/Makefile.inc | 2 - gtk/deprecated/gtkactiongroup.c | 14 +- gtk/deprecated/gtkradioaction.c | 614 ----------------------------------- gtk/deprecated/gtkradioaction.h | 96 ------ gtk/gtk.h | 1 - tests/testactions.c | 53 --- tests/testmerge.c | 26 -- testsuite/gtk/notify.c | 14 +- 9 files changed, 3 insertions(+), 839 deletions(-) commit bc7206d70f8f3721da24967d5e7199710a556f13 Author: Timm Bäder Date: Sun Oct 16 13:12:16 2016 +0200 Remove GtkStock docs/reference/gtk/gtk4-sections.txt | 219 ------- gtk/deprecated/Makefile.inc | 2 - gtk/deprecated/gtkaction.c | 10 - gtk/deprecated/gtkactiongroup.c | 18 - gtk/deprecated/gtkactiongroup.h | 2 - gtk/deprecated/gtkstock.c | 575 ----------------- gtk/deprecated/gtkstock.h | 1136 ---------------------------------- gtk/gtk.h | 1 - gtk/gtkbuilder.c | 2 - gtk/gtkdialog.c | 1 - gtk/gtkfontchooserdialog.c | 1 - gtk/gtkinfobar.c | 8 +- gtk/gtktoolbutton.c | 45 +- tests/testactions.c | 10 +- tests/testgtk.c | 6 +- tests/testmerge.c | 20 +- 16 files changed, 37 insertions(+), 2019 deletions(-) commit cf56decbb43057e75f980f7ebef94352e9152519 Author: Timm Bäder Date: Sun Oct 16 12:55:27 2016 +0200 infobar: Stop looking at stock items GtkButton doesn't have a use-stock property anymore anyway. gtk/gtkinfobar.c | 11 ----------- 1 file changed, 11 deletions(-) commit 301e1a4d55783d18db39a7e759319b696113df71 Author: Timm Bäder Date: Sat Oct 15 21:56:09 2016 +0200 window: Remove decoration-button-layout style property GtkSettings has a gtk-decoration-layout property for this. gtk/gtkheaderbar.c | 20 ++++++-------------- gtk/gtkwindow.c | 9 --------- 2 files changed, 6 insertions(+), 23 deletions(-) commit 7823406db444433eb40bdecfb99ca8dd7ea28cb7 Author: Timm Bäder Date: Sat Oct 15 21:55:38 2016 +0200 window: Remove decoration-resize-handle style property gtk/gtkwindow.c | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) commit 4bf1e4ebe6f5142f36219efdddc381ae92164079 Author: Timm Bäder Date: Sat Oct 15 21:34:32 2016 +0200 toolbar: Remove max-child-expand child property gtk/gtktoolbar.c | 27 --------------------------- 1 file changed, 27 deletions(-) commit dece0189945d1d6c16f362be76d1c70f00ecc9ba Author: Timm Bäder Date: Sat Oct 15 17:43:56 2016 +0200 Remove GtkAlignment docs/reference/gtk/gtk4-sections.txt | 21 - docs/tools/widgets.c | 198 +++--- gtk/a11y/gtkbuttonaccessible.c | 4 - gtk/a11y/gtkwidgetaccessible.c | 14 +- gtk/deprecated/Makefile.inc | 2 - gtk/deprecated/gtkalignment.c | 884 -------------------------- gtk/deprecated/gtkalignment.h | 107 ---- gtk/gtk.h | 1 - gtk/gtktoolitemgroup.c | 50 +- gtk/gtktreeviewcolumn.c | 33 +- tests/testadjustsize.c | 32 - tests/testheightforwidth.c | 11 +- testsuite/gtk/builder.c | 1 - testsuite/gtk/notify.c | 5 - testsuite/reftests/Makefile.am | 3 - testsuite/reftests/alignment-props.css | 8 - testsuite/reftests/alignment-props.ref.ui | 181 ------ testsuite/reftests/alignment-props.ui | 137 ---- testsuite/reftests/inherit-and-initial.ref.ui | 16 +- testsuite/reftests/inherit-and-initial.ui | 16 +- 20 files changed, 147 insertions(+), 1577 deletions(-) commit e0d50233f6971612d74bf498c59dbeb1f32a9633 Author: Timm Bäder Date: Fri Oct 14 22:07:36 2016 +0200 gtkapplication: Remove deprecated API docs/reference/gtk/gtk4-sections.txt | 3 -- gtk/gtkapplication.c | 77 ------------------------------------ gtk/gtkapplication.h | 11 ------ 3 files changed, 91 deletions(-) commit 700300eb81aefd5d73bd752b707596ba8541f5cc Author: Timm Bäder Date: Fri Oct 14 22:01:59 2016 +0200 treeview: Remove deprecated adjustment API docs/reference/gtk/gtk4-sections.txt | 4 -- gtk/gtktreeview.c | 90 ------------------------------------ gtk/gtktreeview.h | 12 ----- 3 files changed, 106 deletions(-) commit d5e3897052cdca009309b2f1ec70602b33ee4f4c Author: Timm Bäder Date: Fri Oct 14 21:55:38 2016 +0200 combobox: Remove deprecated API docs/reference/gtk/gtk4-sections.txt | 2 -- gtk/gtkcombobox.c | 46 ------------------------------------ gtk/gtkcombobox.h | 6 ----- 3 files changed, 54 deletions(-) commit 3ad624d6c0b342eee000eb7cdedad6da0a6b9971 Author: Timm Bäder Date: Fri Oct 14 21:50:53 2016 +0200 adjustment: Remove deprecated API docs/reference/gtk/gtk4-sections.txt | 2 -- gtk/gtkadjustment.c | 36 ------------------------------------ gtk/gtkadjustment.h | 4 ---- testsuite/gtk/adjustment.c | 12 ------------ 4 files changed, 54 deletions(-) commit b65908da3e7029f3a59d15d9d76ab30b86702500 Author: Timm Bäder Date: Fri Oct 14 21:38:50 2016 +0200 menutoolbutton: Remove deprecated API gtk/gtkmenutoolbutton.c | 28 ---------------------------- gtk/gtkmenutoolbutton.h | 2 -- 2 files changed, 30 deletions(-) commit 3573cdc0cdb1b5ff52ae68990d793976ebe733e9 Author: Timm Bäder Date: Fri Oct 14 21:35:35 2016 +0200 popover: Remove deprecated API gtk/gtkpopover.c | 85 +------------------------------------------------------- gtk/gtkpopover.h | 6 ---- 2 files changed, 1 insertion(+), 90 deletions(-) commit d9a3afb05985dc199c3c14231cbb0af051b1a907 Author: Timm Bäder Date: Fri Oct 14 21:35:26 2016 +0200 range: Remove unused class struct members gtk/gtkrange.h | 4 ---- 1 file changed, 4 deletions(-) commit 2a07ee2dac54d389d48b8e6e16c6c184369abb65 Author: Timm Bäder Date: Fri Oct 14 21:19:33 2016 +0200 filechooserbutton: Remove deprecated API docs/reference/gtk/gtk4-sections.txt | 2 -- gtk/gtkfilechooserbutton.c | 46 ------------------------------------ gtk/gtkfilechooserbutton.h | 5 ---- 3 files changed, 53 deletions(-) commit 1b2f291c1dbacd0b1d1cc51f416a3823a801f8ad Author: Timm Bäder Date: Fri Oct 14 21:14:18 2016 +0200 messagedialog: Remove deprecated API docs/reference/gtk/gtk4-sections.txt | 2 - gtk/gtkmessagedialog.c | 86 ------------------------------------ gtk/gtkmessagedialog.h | 7 --- tests/testdialog.c | 4 -- 4 files changed, 99 deletions(-) commit be2f19663bf9c1ead35fa69aee0292842ceada97 Author: Timm Bäder Date: Fri Oct 14 16:01:56 2016 +0200 button: Add icon-name property Remove the old-style button construction that allowed to show both an icon and a label and change visibility based on a GtkSetting. gtk/gtkbutton.c | 481 ++++++++++++------------------------------------- gtk/gtkbutton.h | 21 +-- gtk/gtkbuttonprivate.h | 5 - tests/testbaseline.c | 33 ++-- tests/testbuttons.c | 32 ++-- 5 files changed, 154 insertions(+), 418 deletions(-) commit 37c728be12fd4c5664ca2c5ee9abd5c6c9973d0c Author: Timm Bäder Date: Fri Oct 14 16:01:26 2016 +0200 testsuite/gtk: Use a GtkMenuButton to test exposing objects testsuite/gtk/builder.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 3ddcd9eceaa4ea611ea028c5e55c51149791c8ba Author: Timm Bäder Date: Fri Oct 14 16:00:26 2016 +0200 docs/tools/widgets: Stop using gtk_button_set_image docs/tools/widgets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e9a974f4f6e37139cde66442903fc5e32fca8be1 Author: Timm Bäder Date: Fri Oct 14 15:58:48 2016 +0200 buttonaccessible: Stop looking at the button's image gtk/a11y/gtkbuttonaccessible.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5789c4fbc3a06bb6840e13d42a74dc2253dfc660 Author: Timm Bäder Date: Thu Oct 13 19:02:47 2016 +0200 tests: Add testgaction.c tests/Makefile.am | 1 + tests/testgaction.c | 148 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 149 insertions(+) commit 24866c5d12f909d51d61e8861ccc65895e6d7a94 Author: Timm Bäder Date: Thu Oct 13 16:47:08 2016 +0200 radiomenuitem: Remove GtkActivatable code gtk/gtkradiomenuitem.c | 10 ---------- 1 file changed, 10 deletions(-) commit efe4a367464751b5d161840b259dbfe0b10c8dcb Author: Timm Bäder Date: Thu Oct 13 16:21:37 2016 +0200 toolbutton: Stop implementing GtkActivatable gtk/gtktoolbutton.c | 128 ---------------------------------------------------- 1 file changed, 128 deletions(-) commit dd03372eac01d3c51d2320eef8d7efa94eb87a39 Author: Timm Bäder Date: Thu Oct 13 16:10:31 2016 +0200 switch: Stop implementing GtkActivatable gtk/gtkswitch.c | 149 +------------------------------------------------------- 1 file changed, 1 insertion(+), 148 deletions(-) commit 8cafd3c5a7e214610ad55677e3c8cea55c974434 Author: Timm Bäder Date: Thu Oct 13 16:06:03 2016 +0200 menuitem: Stop implementing GtkActivatable demos/widget-factory/widget-factory.ui | 31 ---- gtk/gtkcheckmenuitem.c | 95 +----------- gtk/gtkmenuitem.c | 260 --------------------------------- gtk/gtkmenuitemprivate.h | 2 - 4 files changed, 1 insertion(+), 387 deletions(-) commit d844abe066a77077c4a44cda5ecab6ac1656b801 Author: Timm Bäder Date: Thu Oct 13 15:55:00 2016 +0200 Remove GtkTable demos/gtk-demo/main.c | 1 - docs/reference/gtk/gtk4-sections.txt | 34 - gtk/deprecated/Makefile.inc | 2 - gtk/deprecated/gtktable.c | 1932 ---------------------------------- gtk/deprecated/gtktable.h | 180 ---- gtk/gtk.h | 1 - gtk/gtkgrid.c | 4 +- testsuite/a11y/children.c | 1 - testsuite/gtk/builder.c | 1 - testsuite/gtk/notify.c | 1 - 10 files changed, 2 insertions(+), 2155 deletions(-) commit b082fb598d75c413ce751395fa7c51c33151a03b Author: Timm Bäder Date: Thu Oct 13 15:26:03 2016 +0200 gtkwindow: Stop checking gtk-menu-bar-accel gtk/gtkwindow.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) commit 7e16396cc52008ffeba91648d08a43e20926aec5 Author: Timm Bäder Date: Wed Oct 12 22:06:44 2016 +0200 button: Stop implementing GtkActivatable demos/widget-factory/widget-factory.ui | 7 - gtk/gtkbutton.c | 226 +-------------------------------- gtk/gtkbuttonprivate.h | 2 - gtk/gtktogglebutton.c | 69 +--------- 4 files changed, 2 insertions(+), 302 deletions(-) commit 05211d200fad4963704f98b42ee6b6b5838ced46 Author: Timm Bäder Date: Wed Oct 12 22:04:15 2016 +0200 button: Stop checking for GtkSettings:gtk-button-images setting gtk/gtkbutton.c | 70 +++------------------------------------------------------ 1 file changed, 3 insertions(+), 67 deletions(-) commit a9367b705e8ed0813463ac0b6a9a963761199522 Author: Timm Bäder Date: Wed Oct 12 21:56:23 2016 +0200 Stop checking GtkSettings:gtk-enable-mnemonics gtk/gtklabel.c | 14 +------------- gtk/gtkmenushell.c | 10 +--------- gtk/gtkwindow.c | 12 +++--------- 3 files changed, 5 insertions(+), 31 deletions(-) commit dd3c3b683fac497de6a1a7503fd85f62636a1ef4 Author: Timm Bäder Date: Wed Oct 12 20:01:31 2016 +0200 widget: Remove push/pop_composite_child as well as the composite-child property docs/reference/gtk/gtk4-sections.txt | 2 -- gtk/gtkwidget.c | 48 ------------------------------------ gtk/gtkwidget.h | 9 ------- gtk/gtkwidgetprivate.h | 1 - 4 files changed, 60 deletions(-) commit 2ae996e242ca04c612efb6d8741528e06e146861 Author: Timm Bäder Date: Wed Oct 12 19:48:16 2016 +0200 widget: Remove gtk_widget_get_pointer docs/reference/gtk/gtk4-sections.txt | 1 - gtk/gtkwidget.c | 49 ------------------------------------ gtk/gtkwidget.h | 5 ---- 3 files changed, 55 deletions(-) commit 5da7a824ff515e81cb2ce930854dff66286ee67f Author: Timm Bäder Date: Wed Oct 12 19:46:46 2016 +0200 widget: Remove docs for style-set gtk/gtkwidget.h | 2 -- 1 file changed, 2 deletions(-) commit a4368a73a50a62bf5c8195a678cc542c0c164f9e Author: Timm Bäder Date: Wed Oct 12 19:46:23 2016 +0200 widget: Remove gtk_widget_reparent docs/reference/gtk/gtk4-sections.txt | 1 - gtk/gtkwidget.c | 126 ----------------------------------- gtk/gtkwidget.h | 3 - tests/testgtk.c | 34 ++++++---- tests/testlist2.c | 7 +- 5 files changed, 25 insertions(+), 146 deletions(-) commit 296db5ab524eaa436b6430d73b9fd569b2dafca4 Author: Timm Bäder Date: Tue Oct 11 16:43:29 2016 +0200 scrollbar: Remove style property gtk/gtkscrollbar.c | 11 ----------- 1 file changed, 11 deletions(-) commit 0a6ed12d56dac08e8e8db469bb0673d52b0bf270 Author: Timm Bäder Date: Tue Oct 11 16:43:11 2016 +0200 builtinicon: remove unused struct member gtk/gtkbuiltinicon.c | 28 ---------------------------- 1 file changed, 28 deletions(-) commit ac72d96a8afd638bf1e7fe0bf31e45f5d6bbd7a6 Author: Timm Bäder Date: Tue Oct 11 16:41:22 2016 +0200 menuitem: Remove right-justify gtk/gtkmenuitem.c | 84 ------------------------------------------------------- gtk/gtkmenuitem.h | 5 ---- 2 files changed, 89 deletions(-) commit 203cf0d120087a2deef68a294eaa37f73a46f4ee Author: Timm Bäder Date: Tue Oct 11 15:57:00 2016 +0200 label: Stop using GdkColor gtk/gtklabel.c | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) commit 57f4fead98d16a5c57c6e601090301f81065a638 Author: Timm Bäder Date: Tue Oct 11 15:27:20 2016 +0200 cellrenderer: Remove cell-background-gdk gtk/gtkcellrenderer.c | 51 --------------------------------------------------- 1 file changed, 51 deletions(-) commit 31cf2e3bf599ba5257d5ab3ac6a1dad796d46f7d Author: Timm Bäder Date: Tue Oct 11 15:04:17 2016 +0200 gtksettings: Remove Deprecated API docs/reference/gtk/gtk4-sections.txt | 6 - gtk/gtksettings.c | 852 ----------------------------------- gtk/gtksettings.h | 26 -- 3 files changed, 884 deletions(-) commit 77f50ec5d703665238907aa6c4d7d608eb0a1d8c Author: Timm Bäder Date: Tue Oct 11 14:50:22 2016 +0200 window: Remove reshow_with_initial_size gtk/gtkwindow.c | 26 -------------------------- gtk/gtkwindow.h | 4 ---- tests/testgtk.c | 10 ---------- 3 files changed, 40 deletions(-) commit 019960f1310eea07ab04fdd0726b42f705f431c9 Author: Timm Bäder Date: Tue Oct 11 14:45:43 2016 +0200 viewport: remove deprecated api docs/reference/gtk/gtk4-sections.txt | 4 -- gtk/gtkviewport.c | 80 ------------------------------------ gtk/gtkviewport.h | 11 ----- 3 files changed, 95 deletions(-) commit 09214e49740db2199ab9a1fca388a8dc6fa2b036 Author: Timm Bäder Date: Tue Oct 11 14:41:30 2016 +0200 gtkdnd: Remove gtk_drag_begin gtk/gtkdnd-quartz.c | 25 ------------------------- gtk/gtkdnd.c | 32 -------------------------------- gtk/gtkdnd.h | 7 ------- 3 files changed, 64 deletions(-) commit feb8975a4b04993363e8b756ffce2ccbd2cc9b10 Author: Timm Bäder Date: Tue Oct 11 14:37:22 2016 +0200 gtkmain: Remove deprecated key snooper API docs/reference/gtk/gtk4-sections.txt | 5 -- gtk/gtkmain.c | 108 ----------------------------------- gtk/gtkmain.h | 21 ------- 3 files changed, 134 deletions(-) commit 7b2203761336a2cf165d9e30d3efa7fdad6fb23e Author: Timm Bäder Date: Tue Oct 11 13:34:49 2016 +0200 treeview: Remove unused style properties gtk/gtktreeview.c | 15 --------------- 1 file changed, 15 deletions(-) commit 7d47d8023eb283a0f9c95176d4d0e4925866be0b Author: Timm Bäder Date: Tue Oct 11 13:29:05 2016 +0200 bbox: Remove style properties docs/tools/widgets.c | 4 +- gtk/gtkbbox.c | 107 ++++++--------------------------------------------- 2 files changed, 14 insertions(+), 97 deletions(-) commit 84649f57c5a0d700cea0ecba247f6291a5b524b1 Author: Timm Bäder Date: Tue Oct 11 13:16:18 2016 +0200 gtkdialog: Remove style properties gtk/gtkdialog.c | 62 --------------------------------------------------------- 1 file changed, 62 deletions(-) commit 99f112f58dfc5bd2e57d4b82339fc45125545632 Author: Timm Bäder Date: Tue Oct 11 13:10:02 2016 +0200 colorbutton: Remove deprecated API docs/reference/gtk/gtk4-sections.txt | 7 - gtk/gtkcolorbutton.c | 294 ++--------------------------------- gtk/gtkcolorbutton.h | 25 --- 3 files changed, 14 insertions(+), 312 deletions(-) commit 7d84f744c2f1ed0d3a5e1f442d2fec84299b6dcb Author: Timm Bäder Date: Tue Oct 11 12:07:33 2016 +0200 menu: Remove vertical/horizontal-offset style properties gtk/gtkmenu.c | 18 ------------------ 1 file changed, 18 deletions(-) commit b88a0bb6823d903f52cb8bf16142632064c3b216 Author: Timm Bäder Date: Tue Oct 11 09:48:26 2016 +0200 notebook: Remove deprecated public API docs/reference/gtk/gtk4-sections.txt | 2 -- gtk/gtknotebook.c | 42 ------------------------------------ gtk/gtknotebook.h | 4 ---- 3 files changed, 48 deletions(-) commit 4f9bcaf3c6c5a7d6226362d2baabac5ecb0fd8f3 Author: Timm Bäder Date: Tue Oct 11 09:44:36 2016 +0200 toolbar: Remove button-relief style property And in turn also public API to set the button relief on the toolbar as well as the vfunc from GtkToolShell. docs/reference/gtk/gtk4-sections.txt | 3 -- gtk/gtkmenutoolbutton.c | 3 -- gtk/gtktoolbar.c | 71 ------------------------------------ gtk/gtktoolbar.h | 2 - gtk/gtktoolbutton.c | 3 -- gtk/gtktoolitem.c | 29 --------------- gtk/gtktoolitem.h | 2 - gtk/gtktoolshell.c | 27 -------------- gtk/gtktoolshell.h | 4 -- 9 files changed, 144 deletions(-) commit d56962740d8cb85ac5ebc4ab703a47f650dddfe3 Author: Timm Bäder Date: Tue Oct 11 09:44:21 2016 +0200 textview: Remove error-underline-color style property gtk/gtktextview.c | 12 ------------ 1 file changed, 12 deletions(-) commit 33a857decf4880ac7c4a3114a24acd97e5ef010b Author: Timm Bäder Date: Tue Oct 11 09:33:12 2016 +0200 toolbutton: Remove icon-spacing style property gtk/gtktoolbutton.c | 56 ++++------------------------------------------------- 1 file changed, 4 insertions(+), 52 deletions(-) commit cd90b56627cbd729a5ea386123b09451f08294de Author: Benjamin Otte Date: Tue Oct 18 00:22:04 2016 +0200 separatortoolitem: Use gdk_window_new_input() gtk/gtkseparatortoolitem.c | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) commit 4ab85723c8fcabc279aa47dbebc958959c663003 Author: Benjamin Otte Date: Tue Oct 18 00:21:54 2016 +0200 spinbutton: Use gdk_window_new_input() gtk/gtkspinbutton.c | 43 ++++++++++++++++--------------------------- 1 file changed, 16 insertions(+), 27 deletions(-) commit cd8b08f98f0d670527a3d8357c38958b4b2470eb Author: Benjamin Otte Date: Tue Oct 18 00:21:45 2016 +0200 switch: Use gdk_window_new_input() gtk/gtkswitch.c | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) commit e5b67ff7d8d08052a13d1c6341ea8c91efa948a6 Author: Benjamin Otte Date: Tue Oct 18 00:21:33 2016 +0200 pathbar: Use gdk_window_new_input() gtk/gtkpathbar.c | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) commit 978684cf2997acd91aeef25d6e0d59e6b04c5a17 Author: Benjamin Otte Date: Tue Oct 18 00:21:17 2016 +0200 paned: Use gdk_window_new_child() and gdk_window_new_input() gtk/gtkpaned.c | 57 +++++++++++++++++---------------------------------------- 1 file changed, 17 insertions(+), 40 deletions(-) commit c78568b4ddd0e6aa547b5ae299829d106ce43e01 Author: Benjamin Otte Date: Tue Oct 18 00:20:47 2016 +0200 notebook: Use gdk_window_new_child() and gdk_window_new_input() gtk/gtknotebook.c | 45 +++++++++++++++------------------------------ 1 file changed, 15 insertions(+), 30 deletions(-) commit c599f6b9cb9d6cf50bc72c60cd2deb6e38abd2d0 Author: Benjamin Otte Date: Tue Oct 18 00:20:32 2016 +0200 menu: Use gdk_window_new_child() gtk/gtkmenu.c | 71 +++++++++++++++++++++++------------------------------------ 1 file changed, 27 insertions(+), 44 deletions(-) commit 5d3f6367cb1f876af54b08ec054e1fe994bc28c3 Author: Benjamin Otte Date: Tue Oct 18 00:20:17 2016 +0200 layout: Use gdk_window_new_child() gtk/gtklayout.c | 39 +++++++++++++-------------------------- 1 file changed, 13 insertions(+), 26 deletions(-) commit 3fc32511b5a2b98ebdcb486e2269e6fd2d7dacf7 Author: Benjamin Otte Date: Tue Oct 18 00:20:02 2016 +0200 iconview: Use gdk_window_new_child() gtk/gtkiconview.c | 48 ++++++++++++++++-------------------------------- 1 file changed, 16 insertions(+), 32 deletions(-) commit 9127e49f455ba4fea046d44115e2b07a0c5b21fb Author: Benjamin Otte Date: Mon Oct 17 20:23:17 2016 +0200 toolitemgroup: Use gdk_window_new_child() gtk/gtktoolitemgroup.c | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) commit ac79aed338113cf3f013ee0ebf5e1881a7290c4c Author: Benjamin Otte Date: Mon Oct 17 20:23:04 2016 +0200 toolitem: Use gdk_window_new_input() gtk/gtktoolitem.c | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) commit 5e8c719e3468252690f4b2dac8a7c90549c3a399 Author: Benjamin Otte Date: Mon Oct 17 20:22:47 2016 +0200 toolbar: Use gdk_window_new_input() gtk/gtktoolbar.c | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) commit 6a399ebd15cc1761f85af2f51c423b453265d7f7 Author: Benjamin Otte Date: Mon Oct 17 20:22:33 2016 +0200 popover: Use gdk_window_new_child() gtk/gtkpopover.c | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) commit a839e195a8f7556781fb9dc3eb0c14a30e0450aa Author: Benjamin Otte Date: Mon Oct 17 20:22:16 2016 +0200 menushell: Use gdk_window_new_child() gtk/gtkmenushell.c | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) commit 360301a7743b616a8c29ce37db9800925515ff57 Author: Benjamin Otte Date: Mon Oct 17 20:21:55 2016 +0200 label: Use gdk_window_new_input() gtk/gtklabel.c | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) commit 6117f042a87cb155670bdb92c410f4e68d10f948 Author: Benjamin Otte Date: Mon Oct 17 20:21:42 2016 +0200 menuitem: Use gdk_window_new_input() gtk/gtkmenuitem.c | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) commit c3274eff6ebfc5527bc622bfbd8402c006d83f93 Author: Benjamin Otte Date: Mon Oct 17 20:21:21 2016 +0200 overlay: Use gdk_window_new_child() gtk/gtkoverlay.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) commit f8a48507a65482cd7e97f1ab1807f4e4551b9512 Author: Benjamin Otte Date: Mon Oct 17 20:21:10 2016 +0200 listbox: Use gdk_window_new_child() gtk/gtklistbox.c | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) commit 1c6a879e1c3843c3b039eeee090cd23396734637 Author: Benjamin Otte Date: Mon Oct 17 20:21:00 2016 +0200 flowbox: Use gdk_window_new_child() gtk/gtkflowbox.c | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) commit a2a23ee337d851e4f3353a9de1cd0c33d30f4e68 Author: Benjamin Otte Date: Mon Oct 17 20:20:48 2016 +0200 fixed: Use gdk_window_new_child() gtk/gtkfixed.c | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) commit e54a76aee7b92559d20fe74cbda893e9b47372fb Author: Benjamin Otte Date: Mon Oct 17 20:20:32 2016 +0200 scrolledwindow: Use gdk_window_new_child() gtk/gtkscrolledwindow.c | 38 +++++++++----------------------------- 1 file changed, 9 insertions(+), 29 deletions(-) commit 73ef9e1438565908eadc1dc483a477578056f0e6 Author: Benjamin Otte Date: Mon Oct 17 20:20:14 2016 +0200 revealer: Use gdk_window_new_child() gtk/gtkrevealer.c | 37 ++++++++++++------------------------- 1 file changed, 12 insertions(+), 25 deletions(-) commit edc9a08b7c57340b96ffbf63901efb21e6512c77 Author: Benjamin Otte Date: Mon Oct 17 20:20:05 2016 +0200 stack: Use gdk_window_new_child() gtk/gtkstack.c | 34 +++++++++++++--------------------- 1 file changed, 13 insertions(+), 21 deletions(-) commit 210e1665de7bfad29eded9097365a66b147c0a57 Author: Benjamin Otte Date: Mon Oct 17 20:19:49 2016 +0200 textview: Use gdk_window_new_child() gtk/gtktextview.c | 60 ++++++++++++++++--------------------------------------- 1 file changed, 17 insertions(+), 43 deletions(-) commit 3cf7b2125665129d4a5b7d0108c30d1f03610bfe Author: Benjamin Otte Date: Mon Oct 17 20:19:32 2016 +0200 viewport: Use gdk_window_new_child() gtk/gtkviewport.c | 44 +++++++++++++------------------------------- 1 file changed, 13 insertions(+), 31 deletions(-) commit d6eedf19dc289ac87e68d2d50254448889b0a3b9 Author: Benjamin Otte Date: Mon Oct 17 20:19:10 2016 +0200 toolpalette: Use gdk_window_new_child() gtk/gtktoolpalette.c | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) commit 7dceaf59319676636bd6ebe1b26e706702213974 Author: Benjamin Otte Date: Mon Oct 17 20:18:54 2016 +0200 glarea: Use gdk_window_new_input() gtk/gtkglarea.c | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) commit 46b10ca419494db39c19cb9de193237814e15772 Author: Benjamin Otte Date: Mon Oct 17 20:18:33 2016 +0200 expander: Use gdk_window_new_input() gtk/gtkexpander.c | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) commit a8d7b0d32e091d7379a881b87f8713b6617ec7a8 Author: Benjamin Otte Date: Mon Oct 17 20:18:08 2016 +0200 window: Use gdk_window_new_child() and gdk_window_new_input() gtk/gtkwindow.c | 81 ++++++++++++++++++--------------------------------------- 1 file changed, 25 insertions(+), 56 deletions(-) commit dff5a7bd648e507c15fc2165e25f69fbfd94e529 Author: Benjamin Otte Date: Mon Oct 17 20:17:03 2016 +0200 tests: Use gdk_window_new_child() tests/gtkoffscreenbox.c | 43 +++++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 20 deletions(-) commit 8417ecd60261a0eb145745d7f3084f1bf232ff25 Author: Benjamin Otte Date: Mon Oct 17 20:16:34 2016 +0200 treeviewcolumn: Use gdk_window_new_input() gtk/gtktreeviewcolumn.c | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) commit b17bdbdf97afef294f881fe75d071f836cfaa0cc Author: Benjamin Otte Date: Mon Oct 17 20:16:12 2016 +0200 treeview: Use gdk_window_new_child() gtk/gtktreeview.c | 121 ++++++++++++++++++++++-------------------------------- 1 file changed, 50 insertions(+), 71 deletions(-) commit 1952b573285b247e6a2b88156e74a566fcc50fc4 Author: Benjamin Otte Date: Mon Oct 17 20:15:22 2016 +0200 eventbox: Use gdk_window_new_input() and gdk_window_new_child() gtk/gtkeventbox.c | 55 +++++++++++++++++++++++++------------------------------ 1 file changed, 25 insertions(+), 30 deletions(-) commit c61e669e568e053e45030968d151865f6f7df1ca Author: Benjamin Otte Date: Mon Oct 17 20:15:05 2016 +0200 entry: Use gdk_window_new_input() gtk/gtkentry.c | 63 +++++++++++++++++++--------------------------------------- 1 file changed, 20 insertions(+), 43 deletions(-) commit 9d2309cc396028a72f010c91587cf1f39034f660 Author: Benjamin Otte Date: Mon Oct 17 20:14:49 2016 +0200 drawingarea: Use gdk_window_new_child() gtk/gtkdrawingarea.c | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) commit 0f2d983ea9e3b6f8a54664663dea4d57c51abf0a Author: Benjamin Otte Date: Mon Oct 17 20:14:32 2016 +0200 colorswatch: Use gdk_window_new_input() gtk/gtkcolorswatch.c | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) commit 4b92c0bb88f7dcb817e1204ad5a2ecd02c8e96fc Author: Benjamin Otte Date: Mon Oct 17 20:14:09 2016 +0200 calendar: Use gdk_window_new_input() gtk/gtkcalendar.c | 64 ++++++++++++++++++++----------------------------------- 1 file changed, 23 insertions(+), 41 deletions(-) commit 31b5ba5bada6483417e29631c81dcd0efea043f2 Author: Benjamin Otte Date: Mon Oct 17 20:13:46 2016 +0200 button: Use gdk_window_new_input() gtk/gtkbutton.c | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) commit d22e5e69d93401f8f0a040767fbf69ac5643a19d Author: Benjamin Otte Date: Mon Oct 17 20:11:23 2016 +0200 API: gdk: Add gdk_window_new_child() and gdk_window_new_input() This is an attempt to get rid of gdk_window_new() for more specific use cases. These 2 are for client-side windows - regular ones and input-only ones resepectively. So far all those functions just call into gdk_window_new(). docs/reference/gdk/gdk4-sections.txt | 2 ++ gdk/gdkwindow.c | 60 ++++++++++++++++++++++++++++++++++++ gdk/gdkwindow.h | 10 ++++++ 3 files changed, 72 insertions(+) commit 6b01940194f84a7dc042e9561024a357702c88f7 Author: Timm Bäder Date: Mon Oct 17 18:34:07 2016 +0200 colorscale: Avoid invalid write gtk/gtkcolorscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d72bc7f3e8b84791005e81f3d4a58a5cbe0df869 Author: Jordi Mas Date: Mon Oct 17 18:23:29 2016 +0200 Fix to Catalan translation po/ca.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4322b69528203d0f3c9e725af8d72597c101ef99 Author: Benjamin Otte Date: Mon Oct 17 17:41:03 2016 +0200 cssprovider: Return void, not TRUE Parsing a css file always succeeds as CSS can recover from parsing errors. gtk/gtkcssprovider.c | 87 ++++++---------------------------- gtk/gtkcssprovider.h | 6 +-- tests/testiconview-keynav.c | 5 +- testsuite/css/api.c | 2 +- testsuite/css/parser/test-css-parser.c | 2 +- testsuite/css/style/test-css-style.c | 3 +- testsuite/gtk/stylecontext.c | 4 +- testsuite/reftests/gtk-reftest.c | 3 +- 8 files changed, 23 insertions(+), 89 deletions(-) commit dbeeaf7de681d3471b73f5722dd94451d66af642 Author: Benjamin Otte Date: Mon Oct 17 16:09:12 2016 +0200 cssprovider: Remove GError out argument from load functions People should use the GtkCssProvider::parsing-error signal instead. demos/gtk-demo/css_basics.c | 2 +- demos/gtk-demo/css_blendmodes.c | 2 +- demos/gtk-demo/css_multiplebgs.c | 2 +- demos/gtk-demo/css_pixbufs.c | 2 +- demos/gtk-demo/css_shadows.c | 2 +- demos/gtk-demo/transparent.c | 2 +- examples/plugman.c | 2 +- gtk/gtk-builder-tool.c | 6 +---- gtk/gtkcssprovider.c | 49 +++++++-------------------------- gtk/gtkcssprovider.h | 9 +++---- gtk/gtkfontbutton.c | 2 +- gtk/gtksettings.c | 2 +- gtk/inspector/css-editor.c | 2 +- tests/animated-revealing.c | 2 +- tests/styleexamples.c | 2 +- tests/testadjustsize.c | 2 +- tests/testbaseline.c | 2 +- tests/testboxcss.c | 2 +- tests/testcalendar.c | 2 +- tests/testcombo.c | 2 +- tests/testcombochange.c | 2 +- tests/testframe.c | 4 +-- tests/testgrid.c | 2 +- tests/testgtk.c | 6 ++--- tests/testheaderbar.c | 2 +- tests/testiconview-keynav.c | 2 +- tests/testlevelbar.c | 2 +- tests/testlist.c | 2 +- tests/testoverlay.c | 2 +- tests/testoverlaystyleclass.c | 2 +- testsuite/gtk/cssprovider.c | 6 ++--- testsuite/gtk/firefox-stylecontext.c | 2 +- testsuite/gtk/stylecontext.c | 52 +++++++++++------------------------- 33 files changed, 63 insertions(+), 121 deletions(-) commit 55e599c5617177878b44a49400f23c6ffcd4200b Author: Ben Iofel Date: Mon Oct 17 10:36:26 2016 -0400 textbufferserialize: declare set_error as G_GNUC_PRINTF And fix a missing format argument gtk/gtktextbufferserialize.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 84739239cec4e961ecb3a1ac18219dc591458b26 Author: Ben Iofel Date: Mon Oct 17 10:14:19 2016 -0400 colorscale: modify loop variables in loop body gtk/gtkcolorscale.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7b73bc35722ffe0f49ec2850e23073828a329fc3 Author: Emmanuele Bassi Date: Mon Oct 17 15:12:21 2016 +0100 build: Use correct compiler flag The name is -Wformat-nonliteral. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7173df1dd1a8f45c47b75d30bfbfaa67f33d8e9b Author: Garrett Regier Date: Mon Oct 17 07:02:37 2016 -0700 gtk+: Fix GI warnings about missing parameters These were removed for GTK+ 4. gtk/deprecated/gtksymboliccolor.c | 10 +--------- gtk/gtkstylecontext.c | 7 +------ 2 files changed, 2 insertions(+), 15 deletions(-) commit a0aa1d963a669b79c64201f5c10e14329b3db322 Author: Emmanuele Bassi Date: Mon Oct 17 14:56:38 2016 +0100 broadway: Remove redundant declaration gdk/broadway/gdkprivate-broadway.h | 1 - 1 file changed, 1 deletion(-) commit 2332ac444c06b3cc8c20ba39afd2d40049550abd Author: Emmanuele Bassi Date: Mon Oct 17 14:51:16 2016 +0100 gtk/utils: Include stdio.h We need it because of the declaration using FILE*. gtk/gtkutilsprivate.h | 1 + 1 file changed, 1 insertion(+) commit a12b691b76c6b1f77be5a152211ee83de6fe104b Author: Ignacio Casal Quinteiro Date: Mon Oct 17 13:02:26 2016 +0200 gtkicontheme: check if the context quark string is not null On windows you might not have a theme installed by default which means that when trying to create the context quark it will fail. If then we try to replace a NULL key in the hash table it will crash. https://bugzilla.gnome.org/show_bug.cgi?id=769859 gtk/gtkicontheme.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 857d241e22bbe69cc9e72f93519275073edb3f5d Author: Emmanuele Bassi Date: Mon Oct 17 11:52:00 2016 +0100 Remove redundant variable declaration The inner `var` declaration is shadowing the outer one. gtk/gtkimmodule.c | 1 - 1 file changed, 1 deletion(-) commit 20b2e479f8256184eda0e0d44c1599b27104627a Author: Emmanuele Bassi Date: Sat Oct 15 21:39:31 2016 +0100 build: Add various compiler warnings and errors Just like GLib, GTK+ would benefit from getting warnings and errors from the compilers. We check various, common warnings, especially for a future use of C99; additionally, we promote some warnings to errors, in order to ensure that simple mistakes are caught during the development phase, before they are submitted to the code repository. configure.ac | 31 +++++++++++++++++++++++++++++++ gdk/Makefile.am | 2 +- gtk/Makefile.am | 1 + 3 files changed, 33 insertions(+), 1 deletion(-) commit 6a9be60a1689b46bca2c5d51203c3a3752b12673 Author: Emmanuele Bassi Date: Mon Oct 17 11:43:06 2016 +0100 notebook: Remove redundant variable declarations We're already declaring notebook and priv at the top of the function, and assigning them to the same values. gtk/gtknotebook.c | 2 -- 1 file changed, 2 deletions(-) commit 39e848c0eb396de601af26ca0aa4d29492e5f533 Author: Emmanuele Bassi Date: Mon Oct 17 11:34:36 2016 +0100 icontheme: Drop unnecessary allocation Use a static array for the known icon sizes, now that we don't allow registering custom icon sizes any more. This allows us to cut a one-off allocation that makes Valgrind sad. gtk/gtkicontheme.c | 137 +++++++++++++++++++---------------------------------- 1 file changed, 49 insertions(+), 88 deletions(-) commit 5563ba96bc083e57044d5a68570b053615267e5c Author: Emmanuele Bassi Date: Sat Oct 15 21:38:21 2016 +0100 Avoid variable shadowing in GtkShortcutsSection gtk/gtkshortcutssection.c | 45 ++++++++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 23 deletions(-) commit fc9826fb41b7739fff91eb880da670abb26efb1a Author: Emmanuele Bassi Date: Sat Oct 15 21:35:10 2016 +0100 Remove declarations for getresuid()/getresgid() Back in 2001, their prototypes were missing from system headers, but since glibc 2.3.2 they are defined in unistd.h if _GNU_SOURCE is defined. gtk/gtkmain.c | 5 ----- 1 file changed, 5 deletions(-) commit db6f9a8e45c7e5e2ce5540132fc7c2b11bf0c2d3 Author: Emmanuele Bassi Date: Sat Oct 15 21:34:52 2016 +0100 gtk: Add missing function declarations gtk/gtkfontchooserwidget.c | 2 ++ gtk/gtkprivate.h | 2 ++ 2 files changed, 4 insertions(+) commit b3adbbe5e7240b4ea497fd5cc9ff0d67a5b5a746 Author: Emmanuele Bassi Date: Sat Oct 15 21:33:11 2016 +0100 text: Constify field of GtkTextLineSegmentClass We only use it internally for statically allocated structures, with static strings, so there's no reason for it to be a `char*`. gtk/gtktextsegment.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1f132607f78b9ccee2c6c598baa722eb0d25e4d0 Author: Emmanuele Bassi Date: Sat Oct 15 21:32:51 2016 +0100 gtk: Use appropriate constness for variables gtk/gtkaccelgroup.c | 2 +- gtk/gtkimcontextsimple.c | 4 ++-- gtk/gtklockbutton.c | 6 +++--- gtk/gtkpopovermenu.c | 2 +- gtk/gtkprintunixdialog.c | 22 +++++++++++----------- gtk/gtktextbufferrichtext.c | 36 +++++++++++++++++++++++------------- gtk/gtktoolbutton.c | 9 +++++---- gtk/gtkwindow.c | 7 ++----- gtk/updateiconcache.c | 2 +- 9 files changed, 49 insertions(+), 41 deletions(-) commit 590e7e68d8c774e5776736d75cf2602cc4f4dc5d Author: Emmanuele Bassi Date: Sat Oct 15 21:30:47 2016 +0100 filechooserwidget: Rename error variable Avoid shadowing an existing error. gtk/gtkfilechooserwidget.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit e75bbafeacb91252a5f30e3da0cb2e6fd1ad71a2 Author: Emmanuele Bassi Date: Sat Oct 15 21:30:27 2016 +0100 filechooserbutton: Remove unnecessary declaration gtk/gtkfilechooserbutton.c | 2 -- 1 file changed, 2 deletions(-) commit 955736421667e2aaadc4e4949742a99391bcc302 Author: Emmanuele Bassi Date: Sat Oct 15 21:29:45 2016 +0100 gtk: Mark internal functions as static These functions are only used within their compilation unit. gtk/gtkcontainer.c | 2 +- gtk/gtkcssanimation.c | 2 +- gtk/gtkcsscalcvalue.c | 4 ++-- gtk/gtkcssimagebuiltin.c | 6 +++--- gtk/gtkcssnode.c | 4 ++-- gtk/gtkcsspathnode.c | 2 +- gtk/gtkcssshadowvalue.c | 14 ++++++++------ gtk/gtkcsswidgetnode.c | 2 +- gtk/gtkimcontextsimple.c | 2 +- gtk/gtkprintoperation-portal.c | 2 +- gtk/gtkrendericon.c | 2 +- gtk/gtksearchenginemodel.c | 2 +- 12 files changed, 23 insertions(+), 21 deletions(-) commit fbf6aa1776efb57b5253d07169e8cbf39e03910c Author: Emmanuele Bassi Date: Sat Oct 15 21:27:49 2016 +0100 colorscale: Rename variables Avoid shadowing existing variables. gtk/gtkcolorscale.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 4ba169b82e6dbf063b174baac14d425ce136d286 Author: Emmanuele Bassi Date: Sat Oct 15 21:27:23 2016 +0100 cellview: Constify argument gtk/gtkcellview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5880d1b990be6e1508b016ed65956dfbfb3a5973 Author: Emmanuele Bassi Date: Sat Oct 15 21:24:42 2016 +0100 gtk: Cast static strings assigned to non-const variables GtkTargetEntry.target is particularly egregious, and it should really be constified. gtk/gtkaccelmap.c | 2 +- gtk/gtkbindings.c | 2 +- gtk/gtkclipboard.c | 2 +- gtk/gtkcolorbutton.c | 2 +- gtk/gtkcolorswatch.c | 2 +- gtk/gtkiconview.c | 2 +- gtk/gtklinkbutton.c | 4 ++-- gtk/gtknotebook.c | 6 +++--- gtk/gtkplacessidebar.c | 25 +++++++++++++++---------- gtk/gtksettings.c | 8 ++++---- gtk/gtktoolpalette.c | 4 ++-- gtk/gtktreeview.c | 2 +- gtk/gtkwindow.c | 2 +- 13 files changed, 34 insertions(+), 29 deletions(-) commit 9bb816f8ee76b8325b78f108b2c38ce878d08879 Author: Emmanuele Bassi Date: Sat Oct 15 21:22:48 2016 +0100 gtk: Include the appropriate headers gtk/gtkcheckbutton.c | 2 +- gtk/gtkcheckmenuitem.c | 2 +- gtk/gtkcsspalettevalue.c | 3 ++- gtk/gtksearchentry.c | 2 +- gtk/gtkshortcutsshortcut.c | 2 +- gtk/gtkshortcutswindow.c | 2 +- gtk/gtkutils.c | 2 ++ 7 files changed, 9 insertions(+), 6 deletions(-) commit 3fdbe2ea13704caa49dffd50d8a9c651e26a27ff Author: Emmanuele Bassi Date: Sat Oct 15 21:20:35 2016 +0100 widget: Make gtk_widget_get_parent_muxer() as static It's a private function, used only inside gtkwidget.c and not declared in any private header. gtk/gtkwidget.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 24d59f6c344b52128fe2cd265a3a3f2ae70ced08 Author: Emmanuele Bassi Date: Sat Oct 15 21:19:39 2016 +0100 inspector: Mark internal function as static gtk/inspector/object-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 44885bcfed5c7f57d2eb90953b7c46b08ab25654 Author: Emmanuele Bassi Date: Sat Oct 15 21:19:12 2016 +0100 Remove redundant declarations gtk/gtkassistant.c | 3 --- gtk/gtkbuilder.c | 2 -- gtk/gtkcellrenderercombo.c | 2 -- gtk/gtkclipboard.c | 1 - gtk/gtkicontheme.c | 2 -- gtk/gtkrecentchooserdefault.c | 2 -- gtk/gtkrecentchooserdialog.c | 2 -- gtk/gtktextbtree.c | 2 -- gtk/gtktooltip.c | 3 --- gtk/gtkwidget.c | 6 ------ 10 files changed, 25 deletions(-) commit 923b868400f65e9d4f570b736412d4be56103d6a Author: Emmanuele Bassi Date: Sat Oct 15 21:13:04 2016 +0100 gdk/x11: Constify argument gdk/x11/gdkwindow-x11.c | 4 ++-- gdk/x11/gdkx11window.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 175800f3457feee54ad17d5cd2d87f748911ecbe Author: Emmanuele Bassi Date: Sat Oct 15 20:38:13 2016 +0100 Add private header for GtkTextView This allows us to declare the symbols that are currently used inside gtktextdisplay.c without incurring in the wrath of the compiler. gtk/Makefile.am | 1 + gtk/gtktextdisplay.c | 4 +--- gtk/gtktextview.c | 3 ++- gtk/gtktextviewprivate.h | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 36 insertions(+), 4 deletions(-) commit 8b9153d1093c120417d49183cfdc255db381e7a0 Author: Emmanuele Bassi Date: Fri Oct 14 19:36:50 2016 +0100 Remove redundant declarations gtk/deprecated/gtkactiongroup.c | 2 -- 1 file changed, 2 deletions(-) commit 5e388fc3e45d6feda4941979d6bfcee90fae10cf Author: Emmanuele Bassi Date: Fri Oct 14 19:35:59 2016 +0100 Fix _gtk_get_slowdown() We need to pass void as the argument type. gtk/gtkprivate.h | 2 +- gtk/gtkprogresstracker.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 1db5d7fd8dbb0f6d673b03bd866f494776d5668c Author: Emmanuele Bassi Date: Fri Oct 14 19:35:40 2016 +0100 Remove redundant declarations gtk/gtkmenuitemprivate.h | 8 -------- 1 file changed, 8 deletions(-) commit 81e5996c91fe9b35b86b7fd765a624501c4f4650 Author: Emmanuele Bassi Date: Fri Oct 14 19:34:51 2016 +0100 Include the appropriate headers The GtkStackAccessible implementation should include the private header, and the private header should include the public one. gtk/a11y/gtkstackaccessible.c | 2 +- gtk/a11y/gtkstackaccessibleprivate.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit d8892c0fdb893fd2e6445d1aa2c56a85644e4962 Author: Emmanuele Bassi Date: Fri Oct 14 19:34:29 2016 +0100 Remove redundant declarations gtk/a11y/gtkentryaccessible.c | 4 ---- 1 file changed, 4 deletions(-) commit 137e1aa9889c1eb3e692fc963bfa1ffaff28ae6b Author: Emmanuele Bassi Date: Fri Oct 14 19:33:53 2016 +0100 Use appropriate const declaration for static strings gtk/a11y/gtkaccessibility.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 68cab95c5d5c0293a140fc28b0640c8c91210daa Author: Emmanuele Bassi Date: Fri Oct 14 19:33:28 2016 +0100 Remove re-declarations of public functions gdk/x11/gdkwindow-x11.h | 5 ----- 1 file changed, 5 deletions(-) commit d64ca9560c55ce540d6f8f90cb818e169f0079a9 Author: Emmanuele Bassi Date: Fri Oct 14 19:33:03 2016 +0100 Remove redundant declaration gdk/gdkdisplaymanager.c | 1 - 1 file changed, 1 deletion(-) commit a87bdc47c72d8c1ad4025a28652216cb57f88b49 Author: Emmanuele Bassi Date: Mon Oct 17 11:02:16 2016 +0100 stylecontext: Remove gtk_gradient_resolve_for_context() Just like we remove gtk_gradient_resolve(). gtk/gtkstylecontext.c | 15 --------------- 1 file changed, 15 deletions(-) commit dae97c3027961beb27d8d595ed20a924aaa728d6 Author: Emmanuele Bassi Date: Mon Oct 17 10:41:46 2016 +0100 textview: Remove commented block It's referencing gdk_cairo_create(), which does not exist any more. gtk/gtktextview.c | 10 ---------- 1 file changed, 10 deletions(-) commit cf9b9a034b8cce22888328edf16f6563317a87d0 Author: Emmanuele Bassi Date: Mon Oct 17 10:43:55 2016 +0100 gdk: Comment out gdk_cairo_create() gdk/gdkwindow.c | 2 ++ 1 file changed, 2 insertions(+) commit 07cd87eb9ce805f131f77cb4ffba752461df5740 Author: Emmanuele Bassi Date: Mon Oct 17 10:42:48 2016 +0100 gdk: Remove mentions of gdk_cairo_create() This function does not exist any more. gdk/gdkinternals.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 95b9981a875d1574c70a73fe173769697c5084d6 Author: Matthias Clasen Date: Sun Oct 16 14:09:12 2016 -0400 Fix the doc build Remove no-longer-existing types. docs/reference/gtk/gtk4.types.in | 27 --------------------------- 1 file changed, 27 deletions(-) commit 12dad0c2349eb97ad4681b77ec9e6b1ac53083f9 Author: Piotr Drąg Date: Sun Oct 16 19:49:54 2016 +0200 Update POTFILES.in po-properties/POTFILES.in | 15 --------------- po/POTFILES.in | 15 --------------- 2 files changed, 30 deletions(-) commit a65a4de38d60f04e5e313100609b4130e7b96839 Author: Benjamin Otte Date: Fri Oct 14 01:59:22 2016 +0200 gdk: Remove old code to create drawing context You now have to use a GdkDrawingContext docs/reference/gdk/gdk4-sections.txt | 4 -- gdk/gdkcairo.h | 3 -- gdk/gdkwindow.c | 100 ----------------------------------- gdk/gdkwindow.h | 8 --- 4 files changed, 115 deletions(-) commit 17895e746c6d565199bfd9d860176076fb4ef5ce Author: Benjamin Otte Date: Sat Oct 15 05:17:45 2016 +0200 tests: Remove custom preview from print-editor It's using gdk_cairo_create() to do the drawing, which is unsupported. tests/print-editor.c | 188 --------------------------------------------------- 1 file changed, 188 deletions(-) commit b4a7fc7d75394822dc389f05c4f6783f1f3183cc Author: Benjamin Otte Date: Sat Oct 15 05:02:20 2016 +0200 tests: Remove code from testinput that does nothing tests/testinput.c | 64 ------------------------------------------------------- 1 file changed, 64 deletions(-) commit e76ba9a3c3fbf0712b70b66b170c959a63777dee Author: Benjamin Otte Date: Tue Oct 11 16:26:16 2016 +0200 gdk: Remove gdk_window_set_debug_updates() The update tracking code was ugly and using deprecated drawing APIs. It was also in the wrong place. So instead of trying to keep it working, I'll remove it. We need to find a better way to put it and make it work there. docs/reference/gdk/gdk4-sections.txt | 1 - gdk/gdk-private.c | 2 - gdk/gdk-private.h | 8 ---- gdk/gdkdisplay.c | 17 -------- gdk/gdkdisplayprivate.h | 3 -- gdk/gdkinternals.h | 1 - gdk/gdkwindow.c | 78 ------------------------------------ gdk/gdkwindow.h | 4 -- gtk/gtkmain.c | 3 -- gtk/inspector/visual.c | 8 ++-- 10 files changed, 5 insertions(+), 120 deletions(-) commit 4a95f8802c22971976dc50e8818af6256218a54d Author: Benjamin Otte Date: Tue Oct 11 00:17:31 2016 +0200 widget: Remove gtk_widget_set_double_buffered() Everything is always double-buffered. docs/reference/gtk/gtk4-sections.txt | 2 - gtk/gtkwidget.c | 136 ++--------------------------------- gtk/gtkwidget.h | 6 -- gtk/gtkwidgetprivate.h | 1 - 4 files changed, 6 insertions(+), 139 deletions(-) commit 36b7ad0cd2e5d99670a1d96fa3c163700991e8df Author: Benjamin Otte Date: Mon Oct 10 16:53:32 2016 +0200 shortcutswindow: Modernize some code No functional changes, just don't call valist functions anymore. gtk/gtkshortcutswindow.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 6c7b6f9654c1e95460a732aeb9e2ac763a21c6ff Author: Benjamin Otte Date: Mon Oct 10 16:52:50 2016 +0200 menu: Modernize code No functional changes, just don't call valist functions anymore. gtk/gtkmenu.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit cda617df4d3d62a9904dddded30be54b888993eb Author: Benjamin Otte Date: Sun Oct 9 15:53:22 2016 +0200 API: sizegroup: Remove gtk_size_group_set_ignore_hidden() docs/reference/gtk/gtk4-sections.txt | 2 - gtk/gtkshortcutssection.c | 12 --- gtk/gtksizegroup.c | 106 +-------------------- gtk/gtksizegroup.h | 5 - gtk/gtkwidget.c | 6 -- gtk/inspector/size-groups.c | 20 +--- testsuite/reftests/sizegroups-basics.ui | 1 - .../reftests/sizegroups-evolution-identity-page.ui | 1 - 8 files changed, 2 insertions(+), 151 deletions(-) commit 1d4f23da8ed86dce0d0beecac39cb94ffe4652b8 Author: Benjamin Otte Date: Sun Oct 9 03:22:56 2016 +0200 API: container: Remove GtkContainer::child property gtk/gtkcontainer.c | 64 -------------------------------------------------- tests/testgtk.c | 17 +++++++------- testsuite/gtk/object.c | 1 - 3 files changed, 9 insertions(+), 73 deletions(-) commit d4d337472916fb699496bf6aa8da927e9c29c65c Author: Benjamin Otte Date: Sun Oct 9 03:14:32 2016 +0200 container: Remove gtk_container_set_resize_mode() docs/reference/gtk/gtk4-sections.txt | 3 - gtk/gtkcontainer.c | 201 +++-------------------------------- gtk/gtkcontainer.h | 26 ----- gtk/gtkcontainerprivate.h | 2 - gtk/gtkcsswidgetnode.c | 8 +- gtk/gtkwidget.c | 8 +- gtk/gtkwindow.c | 13 --- 7 files changed, 20 insertions(+), 241 deletions(-) commit 4df6ddad54d2cb6ebfdcbf2b6fee35ec4fa760b9 Author: Benjamin Otte Date: Sun Oct 9 02:32:00 2016 +0200 API: container: Remove gtk_container_set_border_width() demos/gtk-demo/assistant.c | 2 - demos/gtk-demo/blendmodes.ui | 1 - demos/gtk-demo/button_box.c | 5 - demos/gtk-demo/changedisplay.c | 2 - demos/gtk-demo/clipboard.c | 4 - demos/gtk-demo/colorsel.c | 3 - demos/gtk-demo/combobox.c | 6 - demos/gtk-demo/dialog.c | 4 - demos/gtk-demo/drawingarea.c | 3 - demos/gtk-demo/editable_cells.c | 1 - demos/gtk-demo/entry_buffer.c | 1 - demos/gtk-demo/entry_completion.c | 1 - demos/gtk-demo/glarea.c | 1 - demos/gtk-demo/hypertext.c | 2 - demos/gtk-demo/images.c | 3 - demos/gtk-demo/infobar.c | 2 - demos/gtk-demo/links.c | 1 - demos/gtk-demo/list_store.c | 1 - demos/gtk-demo/menus.c | 3 - demos/gtk-demo/offscreen_window.c | 33 +-- demos/gtk-demo/offscreen_window2.c | 33 +-- demos/gtk-demo/panes.c | 3 - demos/gtk-demo/pickers.c | 4 - demos/gtk-demo/popover.c | 2 - demos/gtk-demo/revealer.ui | 1 - demos/gtk-demo/scale.ui | 1 - demos/gtk-demo/search_entry.c | 2 - demos/gtk-demo/search_entry2.c | 3 - demos/gtk-demo/sizegroup.c | 3 - demos/gtk-demo/spinner.c | 1 - demos/gtk-demo/textview.c | 2 - demos/gtk-demo/theming_style_classes.c | 1 - demos/gtk-demo/toolpalette.c | 5 - demos/gtk-demo/transparent.c | 1 - demos/gtk-demo/tree_store.c | 1 - demos/widget-factory/widget-factory.ui | 3 - docs/reference/gtk/gtk4-sections.txt | 3 - docs/tools/widgets.c | 6 - examples/action-namespace.c | 1 - examples/builder.ui | 1 - examples/drawing.c | 2 - examples/grid-packing.c | 1 - examples/plugman.c | 1 - gtk/deprecated/gtkalignment.c | 21 +- gtk/deprecated/gtktable.c | 1 - gtk/gtk-builder-tool.c | 2 - gtk/gtkappchooserdialog.c | 48 +--- gtk/gtkapplicationwindow.c | 12 +- gtk/gtkbbox.c | 1 - gtk/gtkbin.c | 45 +--- gtk/gtkbox.c | 1 - gtk/gtkbuilder.c | 2 - gtk/gtkbutton.c | 4 - gtk/gtkcombobox.c | 2 - gtk/gtkcontainer.c | 248 --------------------- gtk/gtkcontainer.h | 11 +- gtk/gtkcontainerprivate.h | 3 - gtk/gtkcustompaperunixdialog.c | 9 +- gtk/gtkdialog.c | 51 ----- gtk/gtkentry.c | 1 - gtk/gtkeventbox.c | 3 - gtk/gtkfilechooserwidget.c | 3 - gtk/gtkfixed.c | 1 - gtk/gtkflowbox.c | 1 - gtk/gtkframe.c | 2 - gtk/gtkgrid.c | 1 - gtk/gtkheaderbar.c | 1 - gtk/gtkmenu.c | 77 +++---- gtk/gtkmenubar.c | 3 - gtk/gtkmenuitem.c | 2 - gtk/gtkmessagedialog.c | 34 --- gtk/gtkmountoperation.c | 4 - gtk/gtknotebook.c | 2 - gtk/gtkoffscreenwindow.c | 25 +-- gtk/gtkpaned.c | 1 - gtk/gtkpathbar.c | 1 - gtk/gtkplacesview.c | 1 - gtk/gtkpopover.c | 11 +- gtk/gtkrecentchooserdialog.c | 8 +- gtk/gtkscrolledwindow.c | 1 - gtk/gtkshortcutssection.c | 1 - gtk/gtkshortcutswindow.c | 2 - gtk/gtkspinbutton.c | 2 - gtk/gtkstack.c | 1 - gtk/gtktextview.c | 17 +- gtk/gtktoolbar.c | 2 - gtk/gtktoolitem.c | 2 - gtk/gtktoolitemgroup.c | 44 ++-- gtk/gtktoolpalette.c | 29 +-- gtk/gtktreeview.c | 1 - gtk/gtkviewport.c | 1 - gtk/gtkwindow.c | 43 +--- gtk/ui/gtkaboutdialog.ui | 3 - gtk/ui/gtkcolorchooserdialog.ui | 2 - gtk/ui/gtkdialog.ui | 1 - gtk/ui/gtkfilechooserdialog.ui | 2 - gtk/ui/gtkfilechooserwidget.ui | 3 - gtk/ui/gtkfontchooserdialog.ui | 2 - gtk/ui/gtkinfobar.ui | 3 - gtk/ui/gtkmessagedialog.ui | 1 - gtk/ui/gtkpagesetupunixdialog.ui | 2 - gtk/ui/gtkplacesview.ui | 2 - gtk/ui/gtkprintunixdialog.ui | 8 - gtk/ui/gtksearchbar.ui | 1 - tests/gdkgears.c | 2 - tests/gtkoffscreenbox.c | 32 +-- tests/print-editor.c | 1 - tests/simple.c | 1 - tests/testadjustsize.c | 27 --- tests/testanimation.c | 6 - tests/testappchooser.c | 1 - tests/testappchooserbutton.c | 1 - tests/testcalendar.c | 1 - tests/testcellrenderertext.c | 1 - tests/testcombo.c | 12 - tests/testcombochange.c | 1 - tests/testellipsise.c | 1 - tests/testemblems.c | 1 - tests/testentrycompletion.c | 3 - tests/testentryicons.c | 1 - tests/testfilechooserbutton.c | 1 - tests/testflowbox.c | 2 - tests/testfontoptions.c | 1 - tests/testframe.c | 1 - tests/testglarea.c | 1 - tests/testglblending.c | 1 - tests/testgtk.c | 115 ---------- tests/testheightforwidth.c | 5 - tests/testkineticscrolling.c | 1 - tests/testlockbutton.c | 1 - tests/testmenubutton.c | 1 - tests/testmerge.c | 3 - tests/testmultidisplay.c | 3 +- tests/testnotebookdnd.c | 3 - tests/testrichtext.c | 1 - tests/testscrolledwindow.c | 4 +- tests/testselection.c | 2 - tests/testswitch.c | 1 - tests/testtoolbar.c | 3 - tests/testtooltips.c | 1 - tests/testtreecolumns.c | 1 - tests/testtreecolumnsizing.c | 1 - tests/testtreeflow.c | 1 - tests/testtreefocus.c | 2 - tests/testtreesort.c | 3 - tests/testwindowsize.c | 1 - tests/treestoretest.c | 1 - testsuite/gtk/builder.c | 5 - testsuite/reftests/background-area.ref.ui | 1 - testsuite/reftests/background-area.ui | 1 - .../reftests/background-image-multiple.ref.ui | 1 - testsuite/reftests/background-image-multiple.ui | 1 - testsuite/reftests/background-origin.ui | 1 - testsuite/reftests/info-bar-message-types.ui | 10 - .../reftests/messagedialog-secondarytext.ref.ui | 1 - testsuite/reftests/messagedialog-secondarytext.ui | 1 - testsuite/reftests/window-border-width.ref.ui | 1 - testsuite/reftests/window-border-width.ui | 1 - testsuite/reftests/window-height-for-width.ref.ui | 1 - testsuite/reftests/window-height-for-width.ui | 1 - 160 files changed, 131 insertions(+), 1127 deletions(-) commit 1518fe0a8f0a973f013e21c185f38111d69d6ac7 Author: Benjamin Otte Date: Sat Oct 8 05:07:23 2016 +0200 API: stylecontext: Remove state argument from getters The argument must always be the current state. demos/gtk-demo/foreigndrawing.c | 38 ++++----- gtk/a11y/gtkentryaccessible.c | 3 +- gtk/a11y/gtklabelaccessible.c | 3 +- gtk/a11y/gtktextcellaccessible.c | 3 +- gtk/gtkaboutdialog.c | 14 ++-- gtk/gtkaccellabel.c | 1 - gtk/gtkbindings.c | 2 +- gtk/gtkcalendar.c | 12 ++- gtk/gtkcellarea.c | 8 +- gtk/gtkcellrendererprogress.c | 2 +- gtk/gtkcellrendererspinner.c | 4 +- gtk/gtkcellrenderertext.c | 4 +- gtk/gtkcellrenderertoggle.c | 10 +-- gtk/gtkentry.c | 1 - gtk/gtkfilechooserwidget.c | 1 - gtk/gtkflowbox.c | 6 +- gtk/gtkfontchooserwidget.c | 1 - gtk/gtklabel.c | 2 +- gtk/gtkmenu.c | 2 - gtk/gtkmenuitem.c | 4 +- gtk/gtkpopover.c | 22 ++--- gtk/gtkprintunixdialog.c | 2 +- gtk/gtkrecentchooserdefault.c | 2 +- gtk/gtkrevealer.c | 4 +- gtk/gtkstylecontext.c | 152 ++--------------------------------- gtk/gtkstylecontext.h | 13 --- gtk/gtkstylecontextprivate.h | 3 +- gtk/gtktextdisplay.c | 12 ++- gtk/gtktexthandle.c | 12 +-- gtk/gtktextutil.c | 10 +-- gtk/gtktextview.c | 12 ++- gtk/gtktreeview.c | 4 +- gtk/gtkwidget.c | 1 - gtk/gtkwindow.c | 18 ++--- gtk/inspector/cellrenderergraph.c | 2 +- tests/testframe.c | 6 +- testsuite/gtk/firefox-stylecontext.c | 4 +- testsuite/gtk/stylecontext.c | 51 +++++------- 38 files changed, 119 insertions(+), 332 deletions(-) commit 7ae008421aaf94d0b6968bcbf71fc3e1271181d8 Author: Benjamin Otte Date: Sat Oct 8 01:27:36 2016 +0200 API: Remove libgail-util Makefile.am | 2 +- configure.ac | 3 - docs/reference/Makefile.am | 2 +- docs/reference/libgail-util/Makefile.am | 39 - .../libgail-util/gail-libgail-util-docs.sgml | 21 - .../libgail-util/gail-libgail-util3-overrides.txt | 0 .../libgail-util/gail-libgail-util4-sections.txt | 34 - docs/reference/libgail-util/version.xml.in | 1 - gtk-zip.sh.in | 4 +- libgail-util/Makefile.am | 102 -- libgail-util/gail-util.h | 2 - libgail-util/gailmisc.c | 1082 -------------------- libgail-util/gailmisc.h | 76 -- libgail-util/gailtextutil.c | 784 -------------- libgail-util/gailtextutil.h | 85 -- libgail-util/gailutil.def | 14 - 16 files changed, 3 insertions(+), 2248 deletions(-) commit 9b9b475f0a1d15999cdd03e90693e87fbc3e16e2 Author: Benjamin Otte Date: Sat Oct 8 01:16:46 2016 +0200 API: stylecontext: Remove regions docs/reference/gtk/gtk4-sections.txt | 11 -- gtk/gtkcssnode.c | 30 ----- gtk/gtkcssnodedeclaration.c | 202 +-------------------------- gtk/gtkcssnodedeclarationprivate.h | 11 -- gtk/gtkcssnodeprivate.h | 9 -- gtk/gtkcssselector.c | 5 - gtk/gtkenums.h | 20 --- gtk/gtkstylecontext.c | 171 +---------------------- gtk/gtkstylecontext.h | 15 --- gtk/gtkwidgetpath.c | 255 ----------------------------------- gtk/gtkwidgetpath.h | 28 ---- tests/styleexamples.c | 3 - testsuite/gtk/stylecontext.c | 19 --- 13 files changed, 4 insertions(+), 775 deletions(-) commit 1a7dcb2053bae92abfa3388d71ed4679bc5c13a0 Author: Benjamin Otte Date: Sat Oct 8 00:22:55 2016 +0200 gdk: Remove unused argument parsing structs gdk/gdkinternals.h | 30 ------------------------------ 1 file changed, 30 deletions(-) commit 59c702d88cc05b70089835ff9c1970c0d4970c72 Author: Benjamin Otte Date: Sat Oct 8 00:20:30 2016 +0200 gdk: Remove leftover structs from ClientMessage days gdk/gdkinternals.h | 7 ------- gdk/win32/gdkevents-win32.c | 19 ------------------- 2 files changed, 26 deletions(-) commit 10a7963ebf6c89eee762902dca183f46f4f3fc8a Author: Benjamin Otte Date: Sat Oct 8 00:18:36 2016 +0200 gdk: Remove unused structs from ColorMap days gdk/gdkinternals.h | 11 ----------- gdk/win32/gdkprivate-win32.h | 14 -------------- 2 files changed, 25 deletions(-) commit 95d2f0b83100ea573baa64407c0bcc1afcf4790c Author: Benjamin Otte Date: Fri Oct 7 05:41:30 2016 +0200 css: Remove custom properties Those aren't used anymore, now that theming engines are gone. gtk/Makefile.am | 4 - gtk/gtkcsscustomproperty.c | 277 -------------------------------------- gtk/gtkcsscustompropertyprivate.h | 59 -------- gtk/gtkcssstylefuncs.c | 209 +++------------------------- gtk/gtkcssstylefuncsprivate.h | 5 - gtk/gtkcsstypedvalue.c | 135 ------------------- gtk/gtkcsstypedvalueprivate.h | 38 ------ 7 files changed, 16 insertions(+), 711 deletions(-) commit 1a5b84268257f077e4c324163a269dc1cbe36b9b Author: Benjamin Otte Date: Fri Oct 7 04:58:35 2016 +0200 API: Remove GtkStyleProperties docs/reference/gtk/gtk4-sections.txt | 28 -- gtk/deprecated/Makefile.inc | 2 - gtk/deprecated/gtkgradient.c | 62 --- gtk/deprecated/gtkgradient.h | 14 +- gtk/deprecated/gtkstyleproperties.c | 790 ----------------------------------- gtk/deprecated/gtkstyleproperties.h | 120 ------ gtk/deprecated/gtksymboliccolor.c | 5 +- gtk/deprecated/gtksymboliccolor.h | 4 +- gtk/gtk-autocleanups.h | 1 - gtk/gtk.h | 1 - gtk/gtkcsscustompropertyprivate.h | 4 + gtk/gtkcssstylefuncs.c | 4 +- gtk/gtkstyleprovider.c | 32 -- gtk/gtkstyleprovider.h | 10 +- 14 files changed, 12 insertions(+), 1065 deletions(-) commit dd83f9ca86d31c78d37239b6f5f55cf68e65d590 Author: Benjamin Otte Date: Fri Oct 7 04:31:37 2016 +0200 API: Remove API to set CSS properties from GValues This API was only used in GtkModifierStyle and GtkStyleProperties and they are both on their way out. CSS properties must now be set using strings via the regular parser API. docs/reference/gtk/gtk4-sections.txt | 3 - gtk/deprecated/Makefile.inc | 1 - gtk/deprecated/gtkstyleproperties.c | 158 --------------------- gtk/deprecated/gtkstyleproperties.h | 14 -- gtk/deprecated/gtkstylepropertiesprivate.h | 34 ----- gtk/gtkcsscustomproperty.c | 16 --- gtk/gtkcssshorthandproperty.c | 12 -- gtk/gtkcssshorthandpropertyimpl.c | 179 ------------------------ gtk/gtkcssshorthandpropertyprivate.h | 5 - gtk/gtkcssstyleproperty.c | 21 --- gtk/gtkcssstylepropertyimpl.c | 216 ----------------------------- gtk/gtkcssstylepropertyprivate.h | 3 - gtk/gtkstyleproperty.c | 36 +---- gtk/gtkstylepropertyprivate.h | 8 -- 14 files changed, 2 insertions(+), 704 deletions(-) commit 66dd9542901e0c19023593fb70af5d38734a2e26 Author: Benjamin Otte Date: Fri Oct 7 03:51:38 2016 +0200 API: stylecontext: Remove old unused animation functions docs/reference/gtk/gtk4-sections.txt | 5 - gtk/gtkstylecontext.c | 196 ----------------------------------- gtk/gtkstylecontext.h | 26 ----- 3 files changed, 227 deletions(-) commit f2c455fedb18e19fe5b181386c5539f1d2cfcef2 Author: Timm Bäder Date: Wed Oct 5 20:26:08 2016 +0200 Remove GtkThemingEngine As well as the corresponding GtkCssEngineValue used to parse it in css. docs/reference/gtk/gtk4-sections.txt | 41 - gtk/Makefile.am | 2 - gtk/deprecated/Makefile.inc | 2 - gtk/deprecated/gtkstyleproperties.c | 1 - gtk/deprecated/gtkthemingengine.c | 1209 ----------------------------- gtk/deprecated/gtkthemingengine.h | 292 ------- gtk/gtk.h | 1 - gtk/gtkcssarrayvalue.c | 1 - gtk/gtkcsscustomproperty.c | 6 +- gtk/gtkcssenginevalue.c | 140 ---- gtk/gtkcssenginevalueprivate.h | 37 - gtk/gtkcssstylefuncs.c | 68 -- gtk/gtkcssstylepropertyimpl.c | 40 - gtk/gtkcsstypesprivate.h | 1 - gtk/gtkstylecontext.h | 12 - testsuite/css/parser/deprecated.css | 1 - testsuite/css/parser/deprecated.errors | 1 - testsuite/css/parser/deprecated.ref.css | 1 - testsuite/css/parser/value-inherit.css | 1 - testsuite/css/parser/value-inherit.errors | 1 - testsuite/css/parser/value-initial.css | 1 - testsuite/css/parser/value-initial.errors | 1 - testsuite/css/parser/value-none.css | 1 - testsuite/css/parser/value-none.errors | 3 +- testsuite/css/parser/value-none.ref.css | 1 - 25 files changed, 2 insertions(+), 1863 deletions(-) commit 9f930c08a62bd1d33fc991f840c06fdd2b3220d8 Author: Timm Bäder Date: Wed Oct 5 19:37:44 2016 +0200 ui: Don't unnecessarily set GtkEntry:invisible-char gtk/ui/gtkcoloreditor.ui | 1 - gtk/ui/gtkfontchooserwidget.ui | 2 -- gtk/ui/gtkprintunixdialog.ui | 5 ----- tests/testgtk.css | 2 -- testsuite/gtk/cssprovider.c | 8 ++++---- 5 files changed, 4 insertions(+), 14 deletions(-) commit f360a69f4c943454ccee166aa58c911f1ccf616b Author: Timm Bäder Date: Wed Oct 5 19:37:02 2016 +0200 entry: Remove invisible-char style property gtk/gtkentry.c | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) commit 58a76b700f9f6d5f05d1cbae86af311ea617d5f4 Author: Timm Bäder Date: Wed Oct 5 18:35:52 2016 +0200 stylecontext: Remove _REGION_ constants docs/reference/gtk/gtk4-sections.txt | 5 ----- gtk/gtkstylecontext.h | 36 ------------------------------------ tests/styleexamples.c | 2 +- 3 files changed, 1 insertion(+), 42 deletions(-) commit ed184b393593059f9c99280fb9ca685a36a483a1 Author: Timm Bäder Date: Wed Oct 5 18:35:06 2016 +0200 Remove GtkIconFactory Move the icon size lookup API into gtkicontheme.c docs/reference/gtk/gtk4-sections.txt | 69 - gtk/deprecated/Makefile.inc | 3 - gtk/deprecated/gtkaction.c | 1 - gtk/deprecated/gtkactiongroup.c | 19 +- gtk/deprecated/gtkiconfactory.c | 2584 -------------------------------- gtk/deprecated/gtkiconfactory.h | 217 --- gtk/deprecated/gtkiconfactoryprivate.h | 32 - gtk/deprecated/gtkstock.c | 4 +- gtk/deprecated/gtkthemingengine.c | 2 +- gtk/gtk.h | 1 - gtk/gtkcellrendererpixbuf.c | 1 - gtk/gtkcellrendererspinner.c | 1 - gtk/gtkdnd-quartz.c | 1 - gtk/gtkfilechooserbutton.c | 1 - gtk/gtkiconhelper.c | 1 - gtk/gtkicontheme.c | 148 +- gtk/gtkicontheme.h | 8 + gtk/gtkrender.c | 99 -- gtk/gtkrender.h | 4 - gtk/gtkrenderprivate.h | 4 - gtk/gtkstylecontext.c | 32 - gtk/gtkstylecontext.h | 3 - gtk/gtkstyleprovider.c | 31 - gtk/gtkstyleprovider.h | 8 - gtk/gtktoolbutton.c | 1 + gtk/gtkwidget.c | 48 - gtk/gtkwidget.h | 5 - testsuite/gtk/builder.c | 71 +- 28 files changed, 161 insertions(+), 3238 deletions(-) commit 5b00a31c3056097084bc64a3ae8da6d54db5ee73 Author: Timm Bäder Date: Wed Oct 5 19:41:07 2016 +0200 widget-factory: Stop using custom icon sizes demos/widget-factory/widget-factory.c | 61 ++++------------------------------ demos/widget-factory/widget-factory.ui | 2 +- 2 files changed, 7 insertions(+), 56 deletions(-) commit 9fd1a1bbe30fba7a28877871da5b412db6f101c0 Author: Timm Bäder Date: Wed Oct 5 17:23:29 2016 +0200 widget: Remove cursor-aspect-ratio/window-dragging style properties And replaces its usages in GtkTextView/GtkStyleContext with a hard-coded 0.04 which was the default value for cursor-aspect-ratio. Also remove the public gtk_draw_insertion_cursor which used draw_insertion_cursor which in turn looked up cursor-aspect-ratio gtk/gtkstylecontext.c | 49 ++------------------------------------------- gtk/gtkstylecontext.h | 7 ------- gtk/gtkwidget.c | 7 ------- gtk/gtkwindow.c | 11 +++++----- testsuite/gtk/cssprovider.c | 8 ++++---- 5 files changed, 11 insertions(+), 71 deletions(-) commit ccd3ff7fbae190305c2821deed6ebafa115ab4cf Author: Timm Bäder Date: Wed Oct 5 17:08:11 2016 +0200 gtkwidget: Remove gtk_widget_class_install_style_property_parser... ... from public API docs/reference/gtk/gtk4-sections.txt | 1 - gtk/gtkwidget.c | 11 +---------- gtk/gtkwidget.h | 4 ---- 3 files changed, 1 insertion(+), 15 deletions(-) commit 281c1e4fe547973df320c68836713b9ecd3f9688 Author: Timm Bäder Date: Wed Oct 5 17:07:08 2016 +0200 widget: Remove cursor-aspect-ratio style property gtk/gtktextview.c | 10 +++------- gtk/gtkwidget.c | 7 ------- 2 files changed, 3 insertions(+), 14 deletions(-) commit 08c1c584b3c9644bf96968437cf55d816c8ef5b0 Author: Timm Bäder Date: Wed Oct 5 15:01:27 2016 +0200 Remove GtkModifierStyle gtk/Makefile.am | 2 - gtk/gtkmodifierstyle.c | 281 ------------------------------------------------- gtk/gtkmodifierstyle.h | 79 -------------- gtk/gtkwidget.c | 1 - 4 files changed, 363 deletions(-) commit 9a388690f4e20ebcbb769e4e3641f8e2098c893d Author: Timm Bäder Date: Wed Oct 5 14:47:33 2016 +0200 widget: Remove gtk_widget_override* API gtk/gtkwidget.c | 173 -------------------------------------------------------- gtk/gtkwidget.h | 19 ------- 2 files changed, 192 deletions(-) commit addb655aee21632841cce63c53a16e97cf1068f9 Author: Timm Bäder Date: Wed Oct 5 14:46:49 2016 +0200 testoverlay: Stop using gtk_widget_override API tests/testoverlay.c | 67 ++++++++++++++++++++++++++++++++--------------------- 1 file changed, 41 insertions(+), 26 deletions(-) commit 7377b7e5c2e2f1ffbb3d4f98990878fe4d3d7a58 Author: Timm Bäder Date: Wed Oct 5 14:26:30 2016 +0200 plugman: Stop using gtk_override_color examples/plugman.c | 50 ++++++++++++++++++++++++++++++++++---------------- 1 file changed, 34 insertions(+), 16 deletions(-) commit 3c901d6376ffe01c31169679f163e08b18c7e058 Author: Timm Bäder Date: Wed Oct 5 08:14:24 2016 +0200 Remove a few more unused style properties gtk/gtkmenuitem.c | 69 --------------------------------------------- gtk/gtkrange.c | 84 ------------------------------------------------------- 2 files changed, 153 deletions(-) commit b1d35a594e588cc325e790c90086b8c50ab72fb0 Author: Timm Bäder Date: Tue Oct 4 21:15:52 2016 +0200 widget: Remove text-handle-width/height style properties gtk/gtkwidget.c | 14 -------------- 1 file changed, 14 deletions(-) commit 9f5baf9130cdd75fcb79b70e6a7bdebab45f1916 Author: Timm Bäder Date: Tue Oct 4 21:13:29 2016 +0200 GtkTextHandle: Use min-width/min-height instead of GtkWidget's text-handle-width/text-handle-height style properties gtk/gtktexthandle.c | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) commit 999d45b4e8cc8874fcbbf2f0ac0fc075081b8583 Author: Timm Bäder Date: Tue Oct 4 20:16:52 2016 +0200 Remove various unused style properties gtk/gtkassistant.c | 32 ----------------- gtk/gtkcheckbutton.c | 17 --------- gtk/gtkcheckmenuitem.c | 17 --------- gtk/gtkcombobox.c | 58 ------------------------------ gtk/gtkexpander.c | 17 --------- gtk/gtkiconview.c | 16 --------- gtk/gtkinfobar.c | 70 ------------------------------------ gtk/gtkmenu.c | 69 ----------------------------------- gtk/gtkmenubar.c | 35 ------------------ gtk/gtknotebook.c | 98 -------------------------------------------------- gtk/gtkscale.c | 32 ----------------- gtk/gtkstatusbar.c | 16 --------- gtk/gtktoolbar.c | 67 ---------------------------------- gtk/gtkwidget.c | 30 ---------------- 14 files changed, 574 deletions(-) commit 6a6c49369e24b895a51282482daae32ef6f37eea Author: Timm Bäder Date: Tue Oct 4 20:01:33 2016 +0200 Fix a few GtkTextTag:*-gdk references gtk/a11y/gtktextviewaccessible.c | 10 +++--- gtk/gtktextbufferserialize.c | 78 +++++++++++----------------------------- gtk/gtktexttag.c | 4 --- 3 files changed, 25 insertions(+), 67 deletions(-) commit 601839c8251950e6ac8f66ae225f8143e08e3867 Author: Timm Bäder Date: Tue Oct 4 19:53:36 2016 +0200 Remove various sizing related style properties gtk/gtkbuiltinicon.c | 46 +-------- gtk/gtkbuiltiniconprivate.h | 3 - gtk/gtkcheckbutton.c | 17 ---- gtk/gtkexpander.c | 17 ---- gtk/gtklevelbar.c | 35 ------- gtk/gtkmenu.c | 17 ---- gtk/gtkmenuitem.c | 33 ------- gtk/gtknotebook.c | 4 - gtk/gtkpaned.c | 16 --- gtk/gtkprogressbar.c | 231 +------------------------------------------- gtk/gtkrange.c | 49 ---------- gtk/gtkspinbutton.c | 16 --- 12 files changed, 3 insertions(+), 481 deletions(-) commit feac88dc5294a76da918836623779a313097eb14 Author: Timm Bäder Date: Tue Oct 4 19:23:10 2016 +0200 switch: Remove deprecated style properties gtk/gtkswitch.c | 72 +-------------------------------------------------------- 1 file changed, 1 insertion(+), 71 deletions(-) commit 86dbe591d2655db774def8e99f78cce68e12bfca Author: Timm Bäder Date: Tue Oct 4 19:14:38 2016 +0200 entry: Remove deprecated style properties gtk/gtkentry.c | 69 ---------------------------------------------------------- 1 file changed, 69 deletions(-) commit 2455bd08577b844e0cb8d9adc54d533b6685ab4a Author: Timm Bäder Date: Tue Oct 4 19:09:58 2016 +0200 widget: Remove visibility-notify-event gtk/gtkwidget.c | 35 +---------------------------------- 1 file changed, 1 insertion(+), 34 deletions(-) commit 1add02879ec5a96ce6ed9b7d2e4e20c4c5d6b40e Author: Timm Bäder Date: Tue Oct 4 19:02:53 2016 +0200 entry: Remove inner-border (style) property docs/reference/gtk/gtk4-sections.txt | 2 - gtk/gtkentry.c | 120 ----------------------------------- gtk/gtkentry.h | 6 -- 3 files changed, 128 deletions(-) commit 878f2e4107b8d070df9a7b4491ccbad959858e4e Author: Timm Bäder Date: Tue Oct 4 18:34:05 2016 +0200 widget: Remove deprecated margin-left/right properties docs/reference/gtk/gtk4-sections.txt | 4 - gtk/gtkwidget.c | 170 ------------------------- gtk/gtkwidget.h | 10 -- testsuite/reftests/statusbar-remove-all.ref.ui | 2 - testsuite/reftests/statusbar-remove-all.ui | 2 - 5 files changed, 188 deletions(-) commit d34b7d98b25703cd713722384a2e7bfa6704cd20 Author: Timm Bäder Date: Tue Oct 4 18:27:31 2016 +0200 widget: Remove gtk_widget_{s,g}et_composite_name docs/reference/gtk/gtk4-sections.txt | 2 -- gtk/gtkwidget.c | 57 ------------------------------------ gtk/gtkwidget.h | 9 ------ 3 files changed, 68 deletions(-) commit 80ab5ea942c74e9fd6d8016f4ed81000f35669a6 Author: Timm Bäder Date: Tue Oct 4 18:27:16 2016 +0200 widget: Remove gtk_widget_get_requisition docs/reference/gtk/gtk4-sections.txt | 1 - gtk/gtkwidget.c | 30 ------------------------------ gtk/gtkwidget.h | 5 ----- 3 files changed, 36 deletions(-) commit 16b0906b4a1e845276c0bdb5114dc13dd81e1e8f Author: Timm Bäder Date: Tue Oct 4 18:19:51 2016 +0200 widget: Remove gtk_widget_send_expose docs/reference/gtk/gtk4-sections.txt | 1 - gtk/gtkwidget.c | 38 ------------------------------------ gtk/gtkwidget.h | 3 --- 3 files changed, 42 deletions(-) commit bc0cef27a27573b3062ccc1d478e8ded041ed20e Author: Timm Bäder Date: Tue Oct 4 18:18:53 2016 +0200 widget: Remove gtk_widget_{s,g}et_state docs/reference/gtk/gtk4-sections.txt | 2 - gtk/gtkwidget.c | 87 ------------------------------------ gtk/gtkwidget.h | 6 --- 3 files changed, 95 deletions(-) commit 4a2c087a1e3486c2223ce76c3fc718901af690ca Author: Timm Bäder Date: Tue Oct 4 18:14:35 2016 +0200 widget: Remove gtk_widget_region_intersect gtk/gtkwidget.c | 37 ------------------------------------- gtk/gtkwidget.h | 3 --- 2 files changed, 40 deletions(-) commit a80a1cf8a693281f11b93b27221f5174e543eec3 Author: Timm Bäder Date: Tue Oct 4 18:13:35 2016 +0200 widget: Remove gtk_widget_get_child_requisition docs/reference/gtk/gtk4-sections.txt | 1 - gtk/gtkwidget.c | 34 ---------------------------------- gtk/gtkwidget.h | 3 --- 3 files changed, 38 deletions(-) commit b3bd5fefb1ca2c513a3fb30c66b42aa1ff6468f6 Author: Timm Bäder Date: Tue Oct 4 18:10:39 2016 +0200 widget: Remove gtk_widget_size_request docs/reference/gtk/gtk4-sections.txt | 1 - gtk/gtkwidget.c | 29 ----------------------------- gtk/gtkwidget.h | 3 --- 3 files changed, 33 deletions(-) commit 4c10807e249ee3c84f7bd4ce28bff6149221cd26 Author: Timm Bäder Date: Tue Oct 4 18:04:48 2016 +0200 widget: Remove state-changed signal gtk/gtkwidget.c | 28 ---------------------------- gtk/gtkwidget.h | 2 -- 2 files changed, 30 deletions(-) commit 96d9abded8fc3fdc820d9b9adb82992216687a0a Author: Timm Bäder Date: Tue Oct 4 18:47:05 2016 +0200 widget: Remove deprecated style properties gtk/gtkcsscustomproperty.c | 2 +- gtk/gtkwidget.c | 220 -------------------------------------------- gtk/gtkwidget.h | 4 - testsuite/gtk/cssprovider.c | 4 +- testsuite/gtk/treeview.c | 14 +-- 5 files changed, 5 insertions(+), 239 deletions(-) commit 2cfa05fc84f591736ff258398f36190f05ebb844 Author: Timm Bäder Date: Tue Oct 4 18:46:39 2016 +0200 testsensitive: Use state-flags-changed instead of state-changed tests/testsensitive.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 040db1efcdd0d533761b12aefb1953846b37f6b1 Author: Timm Bäder Date: Tue Oct 4 17:56:06 2016 +0200 Remove some deprecated GdkColor style properties gtk/gtkiconview.c | 17 ------------ gtk/gtktexttag.c | 47 --------------------------------- testsuite/reftests/textview-tags.ref.ui | 8 +++--- testsuite/reftests/textview-tags.ui | 8 +++--- 4 files changed, 8 insertions(+), 72 deletions(-) commit 627a824cab80315b96d8d475b62048a203456a3b Author: Timm Bäder Date: Tue Oct 4 17:05:47 2016 +0200 image: Remove GtkIconSet API docs/reference/gtk/gtk4-sections.txt | 3 - gtk/gtkiconhelper.c | 48 ------------ gtk/gtkiconhelperprivate.h | 4 - gtk/gtkimage.c | 143 ----------------------------------- gtk/gtkimage.h | 11 --- gtk/gtkimagedefinition.c | 43 ----------- gtk/gtkimagedefinitionprivate.h | 2 - gtk/gtktoolbutton.c | 53 +++---------- tests/testimage.c | 15 ---- 9 files changed, 9 insertions(+), 313 deletions(-) commit efffa3b6bdffcc47e6261e476cf7b11a1e3087cb Author: Timm Bäder Date: Tue Oct 4 16:50:28 2016 +0200 range: Remove min slider size setter/getter gtk/gtkrange.c | 80 ++------------------------------------------------- gtk/gtkrange.h | 6 ---- gtk/gtkrangeprivate.h | 2 -- gtk/gtkscale.c | 1 - gtk/gtkscrollbar.c | 1 - 5 files changed, 2 insertions(+), 88 deletions(-) commit aca35a14a0609ddda7ddcf10c023cf35a4b509f9 Author: Timm Bäder Date: Tue Oct 4 16:40:20 2016 +0200 scrollbar: Remove min-slider-length style property gtk/gtkscrollbar.c | 17 ----------------- 1 file changed, 17 deletions(-) commit 116cb9fc0cc134895b2b1ce8d19050ac584cb0d4 Author: Timm Bäder Date: Tue Oct 4 16:36:27 2016 +0200 label: Remove now unneeded deprecation markers gtk/gtklabel.c | 2 -- 1 file changed, 2 deletions(-) commit 2e96f8ae70f0b2bbf0b98d8069c22fca4e776b52 Author: Timm Bäder Date: Tue Oct 4 16:35:53 2016 +0200 scrolledwindow: Remove window-placement-set property gtk/gtkscrolledwindow.c | 25 ------------------------- 1 file changed, 25 deletions(-) commit ba9220591f22832f4da7e80d2f5f85c3ca4a812e Author: Timm Bäder Date: Tue Oct 4 16:35:24 2016 +0200 scrolledwindow: Remove scrollbar-spacing and scrollbars-within-bevel gtk/gtkscrolledwindow.c | 115 ++++++++++-------------------------------------- gtk/gtkscrolledwindow.h | 3 -- 2 files changed, 23 insertions(+), 95 deletions(-) commit 05353ec933e3f7e03bc3252f18a9afdde8143734 Author: Timm Bäder Date: Tue Oct 4 16:33:05 2016 +0200 scrolledwindow: Remove _add_with_viewport Replaced by a normal gtk_container_add docs/reference/gtk/gtk4-sections.txt | 1 - gtk/gtkscrolledwindow.c | 63 ------------------------------------ gtk/gtkscrolledwindow.h | 3 -- 3 files changed, 67 deletions(-) commit 33ece4e37a616174098cb875c14ec4dae24b12ad Author: Timm Bäder Date: Tue Oct 4 15:46:01 2016 +0200 Remove GtkHSV docs/reference/gtk/gtk4-sections.txt | 24 - gtk/deprecated/Makefile.inc | 2 - gtk/deprecated/gtkhsv.c | 1459 ---------------------------------- gtk/deprecated/gtkhsv.h | 107 --- gtk/gtk.h | 1 - 5 files changed, 1593 deletions(-) commit 134556435d361ef370399ab9f7bf64c497464ae6 Author: Timm Bäder Date: Tue Oct 4 12:50:56 2016 +0200 Remove various deprecated GtkOrientable subclasses docs/reference/gtk/gtk4-sections.txt | 179 ----------------------------------- gtk/deprecated/Makefile.inc | 26 +---- gtk/deprecated/gtkhbbox.c | 89 ----------------- gtk/deprecated/gtkhbbox.h | 66 ------------- gtk/deprecated/gtkhpaned.c | 73 -------------- gtk/deprecated/gtkhpaned.h | 65 ------------- gtk/deprecated/gtkhscale.c | 141 --------------------------- gtk/deprecated/gtkhscale.h | 69 -------------- gtk/deprecated/gtkhscrollbar.c | 88 ----------------- gtk/deprecated/gtkhscrollbar.h | 65 ------------- gtk/deprecated/gtkhseparator.c | 78 --------------- gtk/deprecated/gtkhseparator.h | 65 ------------- gtk/deprecated/gtkvbbox.c | 87 ----------------- gtk/deprecated/gtkvbbox.h | 65 ------------- gtk/deprecated/gtkvpaned.c | 73 -------------- gtk/deprecated/gtkvpaned.h | 65 ------------- gtk/deprecated/gtkvscale.c | 138 --------------------------- gtk/deprecated/gtkvscale.h | 75 --------------- gtk/deprecated/gtkvscrollbar.c | 87 ----------------- gtk/deprecated/gtkvscrollbar.h | 71 -------------- gtk/deprecated/gtkvseparator.c | 73 -------------- gtk/deprecated/gtkvseparator.h | 71 -------------- gtk/gtk.h | 11 --- testsuite/gtk/builder.c | 58 ++++++------ 24 files changed, 32 insertions(+), 1846 deletions(-) commit d06d17b81e45899fac0aee2bd0a82e4c8908b754 Author: Timm Bäder Date: Tue Oct 4 12:34:10 2016 +0200 Remove gtkcolorsel(dialog).{c,h} gtk/deprecated/Makefile.inc | 4 - gtk/deprecated/gtkcolorsel.c | 3082 ------------------------------------ gtk/deprecated/gtkcolorsel.h | 174 -- gtk/deprecated/gtkcolorseldialog.c | 276 ---- gtk/deprecated/gtkcolorseldialog.h | 81 - gtk/gtk.h | 2 - testsuite/gtk/defaultvalue.c | 12 - 7 files changed, 3631 deletions(-) commit 9c09669711f709c2d4ca9dfa3f28801befcc9db0 Author: Timm Bäder Date: Tue Oct 4 10:41:25 2016 +0200 window: Remove _set/_get_opacity docs/reference/gtk/gtk4-sections.txt | 2 -- gtk/gtkwindow.c | 45 ------------------------------------ gtk/gtkwindow.h | 5 ---- 3 files changed, 52 deletions(-) commit 7fa4ac08ea524107031b4963572ef4cbfbade300 Author: Timm Bäder Date: Tue Oct 4 10:30:57 2016 +0200 window: Remove resize grip API docs/reference/gtk/gtk4-sections.txt | 4 -- gtk/gtkwindow.c | 135 ----------------------------------- gtk/gtkwindow.h | 14 ---- 3 files changed, 153 deletions(-) commit 9cfbaf4916092c8644aa81bc633af00634827208 Author: Timm Bäder Date: Tue Oct 4 10:30:07 2016 +0200 Remove gtkfontsel.{c,h} docs/reference/gtk/gtk4-sections.txt | 55 - gtk/deprecated/Makefile.inc | 2 - gtk/deprecated/gtkfontsel.c | 1923 ---------------------------------- gtk/deprecated/gtkfontsel.h | 166 --- gtk/gtk.h | 1 - tests/Makefile.am | 10 - tests/testfontselection.c | 78 -- tests/testfontselectiondialog.c | 41 - testsuite/gtk/defaultvalue.c | 4 - testsuite/gtk/object.c | 1 - 10 files changed, 2281 deletions(-) commit 3b336dda733f2978e7c4d30caf5b9217b1f53776 Author: Timm Bäder Date: Tue Oct 4 10:03:52 2016 +0200 dialog: Remove alternative button order API docs/reference/gtk/gtk4-sections.txt | 2 - gtk/deprecated/gtkcolorseldialog.c | 6 - gtk/deprecated/gtkfontsel.c | 6 - gtk/gtkappchooserdialog.c | 7 -- gtk/gtkcolorchooserdialog.c | 7 -- gtk/gtkdialog.c | 215 ----------------------------------- gtk/gtkdialog.h | 11 -- gtk/gtkfilechoosernative.c | 7 -- gtk/gtkfilechooserwidget.c | 12 -- gtk/gtkfontchooserdialog.c | 7 -- gtk/gtkmessagedialog.c | 10 -- gtk/gtkmountoperation.c | 6 - gtk/gtkpagesetupunixdialog.c | 7 -- gtk/gtkprintunixdialog.c | 6 - 14 files changed, 309 deletions(-) commit 2acc31b46aaabb2e4da71a29b1c30cb5d186d487 Author: Timm Bäder Date: Mon Oct 3 20:02:21 2016 +0200 Remove GtkHandleBox docs/reference/gtk/gtk4-sections.txt | 25 ------------------------- gtk/gtkbin.c | 2 +- testsuite/gtk/notify.c | 1 - 3 files changed, 1 insertion(+), 27 deletions(-) commit 155fa4664d008976e88d7eca6aa6501772d6fbe8 Author: Timm Bäder Date: Mon Oct 3 18:25:18 2016 +0200 Remove GtkImageMenuItem gtk/deprecated/Makefile.inc | 2 - gtk/deprecated/gtkaction.c | 5 +- gtk/deprecated/gtkimagemenuitem.c | 1106 ------------------------------------- gtk/deprecated/gtkimagemenuitem.h | 99 ---- gtk/deprecated/gtkrecentaction.c | 9 +- gtk/deprecated/gtkuimanager.c | 11 - gtk/gtk.h | 1 - gtk/gtkrecentchoosermenu.c | 1 - gtk/gtktoolbutton.c | 1 - testsuite/gtk/builder.c | 35 +- 10 files changed, 6 insertions(+), 1264 deletions(-) commit 8a3595236da3aa1882596ffc7243438cf75b3016 Author: Timm Bäder Date: Mon Oct 3 18:08:53 2016 +0200 reftests: Remove GtkMisc tests testsuite/reftests/Makefile.am | 3 - testsuite/reftests/misc-alignment.css | 4 - testsuite/reftests/misc-alignment.ref.ui | 278 ---------------------------- testsuite/reftests/misc-alignment.ui | 304 ------------------------------- 4 files changed, 589 deletions(-) commit 5d3a5ffdfb8494e060dc47cc41ed8400a6b36447 Author: Timm Bäder Date: Mon Oct 3 17:54:51 2016 +0200 Fix a few css/a11y test cases They were broken because of missing -icon-stock properties in GtkEntry and GtkButton not creating an adjustment child anymore. testsuite/a11y/entries.txt | 2 + testsuite/a11y/entries.ui | 4 +- testsuite/a11y/menu.txt | 119 ++------------------------------------ testsuite/a11y/menu.ui | 81 +------------------------- testsuite/css/nodes/buttons.nodes | 10 ++-- testsuite/css/nodes/entries.ui | 4 +- 6 files changed, 17 insertions(+), 203 deletions(-) commit 7f79a3fadeb748f1b545f1aa3daa77e0f5999892 Author: Timm Bäder Date: Mon Oct 3 12:34:17 2016 +0200 Remove GtkMisc docs/reference/gtk/gtk4-sections.txt | 20 -- gtk/a11y/Makefile.inc | 2 - gtk/a11y/gtkaccessibility.c | 2 - gtk/a11y/gtkaccessibilitymisc.c | 53 ---- gtk/a11y/gtkaccessibilitymisc.h | 44 ---- gtk/deprecated/Makefile.inc | 2 - gtk/deprecated/gtkmisc.c | 483 ----------------------------------- gtk/deprecated/gtkmisc.h | 93 ------- gtk/gtk.h | 1 - 9 files changed, 700 deletions(-) commit cc3dceee8378e3aa000a519cef191f2c4b6d0937 Author: Timm Bäder Date: Mon Oct 3 12:34:30 2016 +0200 testfilechooserbutton: Remove GtkMisc API usage tests/testfilechooserbutton.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 7088d9d29481c116044074d8e33983466bfaff15 Author: Timm Bäder Date: Mon Oct 3 12:31:47 2016 +0200 reftests: Remove celldenderer-pixbuf-stock The stock properties tested here don't exist anymore. testsuite/reftests/Makefile.am | 3 -- .../reftests/cellrenderer-pixbuf-stock-rtl.css | 3 -- .../reftests/cellrenderer-pixbuf-stock-rtl.ref.ui | 43 ---------------------- .../reftests/cellrenderer-pixbuf-stock-rtl.ui | 38 ------------------- 4 files changed, 87 deletions(-) commit 367f13a76f5f55a26355ef05d437c4d55cb316b9 Author: Timm Bäder Date: Mon Oct 3 11:03:47 2016 +0200 Remove GtkArrow gtk/a11y/Makefile.inc | 2 - gtk/a11y/gtk-a11y-autocleanups.h | 1 - gtk/a11y/gtkarrowaccessible.c | 96 ---------- gtk/a11y/gtkarrowaccessible.h | 57 ------ gtk/deprecated/Makefile.inc | 2 - gtk/deprecated/gtkarrow.c | 377 --------------------------------------- gtk/deprecated/gtkarrow.h | 84 --------- gtk/gtk-a11y.h | 1 - gtk/gtk.h | 1 - testsuite/gtk/builder.c | 1 - 10 files changed, 622 deletions(-) commit 9b5a50bf2267dc398dfe1e304c0c8522d055f689 Author: Timm Bäder Date: Mon Oct 3 10:52:40 2016 +0200 shortcutswindow: Stop using GtkArrow gtk/gtkshortcutswindow.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit ad155fb26c0db2e8d39bbfd4ada0bfa328ad37f8 Author: Timm Bäder Date: Mon Oct 3 10:33:17 2016 +0200 Remove GtkStock API from GtkImage gtk/a11y/gtkimageaccessible.c | 19 +---- gtk/deprecated/gtkaction.c | 9 +- gtk/deprecated/gtkcolorsel.c | 2 +- gtk/deprecated/gtkimagemenuitem.c | 169 +------------------------------------ gtk/deprecated/gtkimagemenuitem.h | 10 +-- gtk/gtkcellrendererpixbuf.c | 23 ------ gtk/gtkdnd.c | 29 ------- gtk/gtkdnd.h | 5 -- gtk/gtkdragsource.c | 30 +------ gtk/gtkdragsource.h | 3 - gtk/gtkentry.c | 170 +------------------------------------- gtk/gtkentry.h | 7 -- gtk/gtkiconhelper.c | 36 +------- gtk/gtkiconhelperprivate.h | 4 - gtk/gtkimage.c | 133 +---------------------------- gtk/gtkimage.h | 13 --- gtk/gtkimagedefinition.c | 27 ------ gtk/gtkimagedefinitionprivate.h | 2 - gtk/gtktoggletoolbutton.c | 38 --------- gtk/gtktoggletoolbutton.h | 2 - gtk/gtktoolbutton.c | 166 ++----------------------------------- gtk/gtktoolbutton.h | 7 -- gtk/gtktooltip.c | 26 ------ gtk/gtktooltip.h | 4 - gtk/gtktooltipwindow.c | 19 ----- gtk/gtktooltipwindowprivate.h | 3 - tests/testgtk.c | 6 -- tests/testimage.c | 7 +- testsuite/gtk/builder.c | 10 +-- 29 files changed, 28 insertions(+), 951 deletions(-) commit f37cb8f9d0a91bc93ca42d96ae188ce1995a62bb Author: Timm Bäder Date: Mon Oct 3 10:20:22 2016 +0200 reftests: Remove GtkMisc properties from now non-misc widgets testsuite/reftests/background-repeat.ref.ui | 5 ----- testsuite/reftests/button-wrapping.ref.ui | 2 -- testsuite/reftests/button-wrapping.ui | 2 -- testsuite/reftests/icon-vfuncs.ui | 2 -- testsuite/reftests/inherit-and-initial.ref.ui | 12 ------------ testsuite/reftests/inherit-and-initial.ui | 12 ------------ testsuite/reftests/label-shadows.ref.ui | 8 -------- testsuite/reftests/label-shadows.ui | 8 -------- 8 files changed, 51 deletions(-) commit eadb49d97f51633ff69b2f0fba79024d1ed1a59d Author: Timm Bäder Date: Mon Oct 3 09:57:57 2016 +0200 recentchoosermenu: Stop using GtkImageMenuItem gtk/gtkrecentchoosermenu.c | 36 ++++++++++++++---------------------- 1 file changed, 14 insertions(+), 22 deletions(-) commit 421be38a3c3b306038f61fd0490d17d1a9a787ef Author: Timm Bäder Date: Mon Oct 3 09:46:57 2016 +0200 toolbutton: Stop using GtkImageMenuItem gtk/gtktoolbutton.c | 41 ++++++++++++++++++----------------------- 1 file changed, 18 insertions(+), 23 deletions(-) commit d36e4125d12dcd74079657a2c74139c74b761e55 Author: Timm Bäder Date: Mon Oct 3 09:33:32 2016 +0200 testgtk: Remove GtkImageMenuItem usage tests/testgtk.c | 55 +++++++++++++++++++++++++++++++++---------------------- 1 file changed, 33 insertions(+), 22 deletions(-) commit b9a304cf6f6995d6b8582c9381da1505ed5ff4f3 Author: Timm Bäder Date: Mon Oct 3 09:31:44 2016 +0200 testgtk: fix css tests/testgtk.c | 3 ++- tests/testgtk.css | 16 +++++++--------- tests/testgtk2.css | 7 ++++--- 3 files changed, 13 insertions(+), 13 deletions(-) commit ac31a00dcf65acc24bca5d5f6abc070bacefbbfb Author: Timm Bäder Date: Sun Oct 2 20:10:22 2016 +0200 testbuttons: Stop looking at use-stock property Doesn't exist anymore. Instead, force the image to be visible on one of the buttons. tests/testbuttons.c | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) commit 10e24d58c350a4b99a51a29230a19c3ce5c2965d Author: Timm Bäder Date: Sun Oct 2 19:54:37 2016 +0200 button: Remove _{get,set}_focus_click Deprecated for the GtkWidget variant. Also remove some unused fields from the GtkButtonPrivate struct. gtk/gtkbutton.c | 45 --------------------------------------------- gtk/gtkbutton.h | 5 ----- gtk/gtkbuttonprivate.h | 5 ----- 3 files changed, 55 deletions(-) commit 10a92a210bb8671a8c67af743ebfe2700f643a00 Author: Timm Bäder Date: Sun Oct 2 19:47:25 2016 +0200 button: Remove deprecated style properties gtk/gtkbutton.c | 132 +------------------------------------------------------- gtk/gtkbutton.h | 16 ------- 2 files changed, 2 insertions(+), 146 deletions(-) commit 9f2ca684e20beab7ed294407ef4dc9dcc8495ae3 Author: Timm Bäder Date: Sun Oct 2 19:46:52 2016 +0200 button: Remove deprecated signals from public API gtk/gtkbutton.c | 256 +++++++++++--------------------------------------------- 1 file changed, 48 insertions(+), 208 deletions(-) commit 590cd6a9f2df789839429c1bd77f84d23c074047 Author: Timm Bäder Date: Sun Oct 2 19:03:29 2016 +0200 button: Remove GtkStock API gtk/gtkbutton.c | 183 ++++------------------------------------------------ gtk/gtkbutton.h | 7 -- tests/testbuttons.c | 18 ------ tests/testflowbox.c | 36 +---------- tests/testgtk.c | 8 +-- 5 files changed, 15 insertions(+), 237 deletions(-) commit 4162d65a7b5988a592504bab0b76fc4e487224b7 Author: Timm Bäder Date: Sun Oct 2 18:51:09 2016 +0200 tests: Remove teststockbuttonmenu tests/Makefile.am | 2 - tests/teststockbuttonmenu.c | 113 -------------------------------------------- 2 files changed, 115 deletions(-) commit 485d1b98355dcadfb815ae063bb3f1253e1f6f32 Author: Timm Bäder Date: Sun Oct 2 18:35:36 2016 +0200 Button: Remove alignment API gtk/gtkbutton.c | 235 +-------------------------------------------------- gtk/gtkbutton.h | 8 -- gtk/gtkcheckbutton.c | 4 - 3 files changed, 3 insertions(+), 244 deletions(-) commit 9d43644153e6ef9c5c97acc727e2bc99b7ab98df Author: Timm Bäder Date: Sun Oct 2 18:19:59 2016 +0200 label,image: Remove GtkMisc usage gtk/gtkimage.c | 39 +++++--------------------------------- gtk/gtkimage.h | 6 +++--- gtk/gtklabel.c | 60 +++++++--------------------------------------------------- gtk/gtklabel.h | 6 +++--- 4 files changed, 18 insertions(+), 93 deletions(-) commit f45dadadd00d892ba16dc081240987425bc32346 Author: Timm Bäder Date: Sun Oct 2 17:37:22 2016 +0200 box: Remove 'padding' child property demos/gtk-demo/assistant.c | 6 +- demos/gtk-demo/button_box.c | 34 +- demos/gtk-demo/changedisplay.c | 12 +- demos/gtk-demo/clipboard.c | 20 +- demos/gtk-demo/colorsel.c | 4 +- demos/gtk-demo/combobox.c | 8 +- demos/gtk-demo/cursors.c | 4 +- demos/gtk-demo/dialog.c | 20 +- demos/gtk-demo/drawingarea.c | 8 +- demos/gtk-demo/editable_cells.c | 10 +- demos/gtk-demo/entry_buffer.c | 6 +- demos/gtk-demo/entry_completion.c | 4 +- demos/gtk-demo/expander.c | 2 +- demos/gtk-demo/iconview.c | 4 +- demos/gtk-demo/images.c | 18 +- demos/gtk-demo/infobar.c | 28 +- demos/gtk-demo/list_store.c | 4 +- demos/gtk-demo/listbox.c | 4 +- demos/gtk-demo/menus.c | 8 +- demos/gtk-demo/offscreen_window.c | 4 +- demos/gtk-demo/offscreen_window2.c | 8 +- demos/gtk-demo/overlay.c | 8 +- demos/gtk-demo/panes.c | 6 +- demos/gtk-demo/search_entry.c | 8 +- demos/gtk-demo/search_entry2.c | 20 +- demos/gtk-demo/sidebar.c | 6 +- demos/gtk-demo/sizegroup.c | 6 +- demos/gtk-demo/spinner.c | 2 +- demos/gtk-demo/textscroll.c | 2 +- demos/gtk-demo/toolpalette.c | 8 +- demos/gtk-demo/tree_store.c | 4 +- demos/widget-factory/widget-factory.c | 8 +- docs/tools/widgets.c | 136 ++-- examples/search-bar.c | 4 +- gtk/deprecated/gtkcolorsel.c | 26 +- gtk/deprecated/gtkfontsel.c | 20 +- gtk/gtkactionbar.c | 4 +- gtk/gtkappchooserdialog.c | 6 +- gtk/gtkassistant.c | 8 +- gtk/gtkbbox.c | 2 +- gtk/gtkbox.c | 129 +--- gtk/gtkbox.h | 8 +- gtk/gtkbutton.c | 8 +- gtk/gtkcolorchooserwidget.c | 4 +- gtk/gtkcombobox.c | 4 +- gtk/gtkcustompaperunixdialog.c | 24 +- gtk/gtkentrycompletion.c | 4 +- gtk/gtkfilechooserwidget.c | 10 +- gtk/gtkheaderbar.c | 12 +- gtk/gtkinfobar.c | 2 +- gtk/gtkmenusectionbox.c | 14 +- gtk/gtkmenutoolbutton.c | 4 +- gtk/gtkmodelmenuitem.c | 4 +- gtk/gtkmountoperation.c | 28 +- gtk/gtkpathbar.c | 4 +- gtk/gtkprintbackend.c | 24 +- gtk/gtkprinteroptionwidget.c | 20 +- gtk/gtkprintunixdialog.c | 14 +- gtk/gtkrecentchooserdialog.c | 4 +- gtk/gtkshortcutssection.c | 2 +- gtk/gtktoolbutton.c | 12 +- gtk/gtktreeviewcolumn.c | 8 +- gtk/inspector/general.c | 8 +- gtk/inspector/gtkstackcombo.c | 2 +- gtk/inspector/prop-editor.c | 6 +- gtk/inspector/size-groups.c | 8 +- gtk/inspector/strv-editor.c | 10 +- gtk/ui/gtkfontbutton.ui | 2 - gtk/ui/gtkprintunixdialog.ui | 1 - tests/flicker.c | 43 +- tests/gdkgears.c | 10 +- tests/motion-compression.c | 4 +- tests/overlayscroll.c | 2 +- tests/print-editor.c | 20 +- tests/syncscroll.c | 6 +- tests/testaccel.c | 8 +- tests/testactionbar.c | 4 +- tests/testactions.c | 24 +- tests/testadjustsize.c | 4 +- tests/testanimation.c | 18 +- tests/testappchooserbutton.c | 10 +- tests/testassistant.c | 13 +- tests/testbaseline.c | 16 +- tests/testbbox.c | 48 +- tests/testbox.c | 24 +- tests/testboxcss.c | 16 +- tests/testcalendar.c | 70 +- tests/testcellarea.c | 62 +- tests/testcellrenderertext.c | 8 +- tests/testclipboard.c | 4 +- tests/testcombo.c | 40 +- tests/testcombochange.c | 28 +- tests/testellipsise.c | 6 +- tests/testentrycompletion.c | 10 +- tests/testexpand.c | 20 +- tests/testexpander.c | 2 +- tests/testfilechooserbutton.c | 30 +- tests/testflowbox.c | 44 +- tests/testframe.c | 4 +- tests/testgiconpixbuf.c | 14 +- tests/testgrid.c | 10 +- tests/testgtk.c | 1028 +++++++++++++------------ tests/testheaderbar.c | 8 +- tests/testheightforwidth.c | 2 +- tests/testiconview.c | 22 +- tests/testinput.c | 4 +- tests/testmerge.c | 28 +- tests/testmultidisplay.c | 4 +- tests/testoffscreen.c | 38 +- tests/testorientable.c | 12 +- tests/testoverlay.c | 8 +- tests/testpixbuf-save.c | 8 +- tests/testpixbuf-scale.c | 14 +- tests/testrecentchoosermenu.c | 8 +- tests/testscale.c | 16 +- tests/testscrolledwindow.c | 70 +- tests/testselection.c | 8 +- tests/testsensitive.c | 8 +- tests/testspinbutton.c | 4 +- tests/teststack.c | 6 +- tests/teststockbuttonmenu.c | 2 +- tests/testswitch.c | 14 +- tests/testtoolbar.c | 30 +- tests/testtooltips.c | 22 +- tests/testtoplevelembed.c | 4 +- tests/testtreecolumns.c | 38 +- tests/testtreecolumnsizing.c | 6 +- tests/testtreeedit.c | 16 +- tests/testtreeflow.c | 10 +- tests/testtreefocus.c | 8 +- tests/testtreemenu.c | 34 +- tests/testtreesort.c | 24 +- tests/testwindowsize.c | 2 +- tests/treestoretest.c | 58 +- testsuite/reftests/inherit-and-initial.ref.ui | 3 - testsuite/reftests/inherit-and-initial.ui | 3 - 136 files changed, 1505 insertions(+), 1567 deletions(-) commit c301357627172e4aeb3a7cb8d04fd5428d930df4 Author: Timm Bäder Date: Sun Oct 2 09:15:27 2016 +0200 inspector: Remove object_title from css editor It's unused gtk/inspector/css-editor.ui | 5 ----- 1 file changed, 5 deletions(-) commit 91f989006c9f97b1bc664c7b771fbb8b6255c520 Author: Timm Bäder Date: Sun Oct 2 08:43:30 2016 +0200 Don't use GtkBox's center child in a few places We can as well use a normal child and let it hexpand. gtk/gtkmessagedialog.c | 4 +++- gtk/gtkshortcutssection.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) commit eace2cf4219bbb1be376567f804ae2e0c3b5821a Author: Benjamin Otte Date: Thu Oct 6 23:55:53 2016 +0200 API: Remove gdk_window_set_background() Backgrounds are always transparent black. gdk/broadway/gdkwindow-broadway.c | 11 -- gdk/gdkinternals.h | 3 - gdk/gdkoffscreenwindow.c | 7 -- gdk/gdkwindow.c | 169 +---------------------------- gdk/gdkwindow.h | 11 -- gdk/gdkwindowimpl.h | 2 - gdk/mir/gdkmirwindowimpl.c | 26 ----- gdk/quartz/gdkwindow-quartz.c | 10 -- gdk/wayland/gdkwindow-wayland.c | 7 -- gdk/win32/gdkwindow-win32.c | 7 -- gdk/x11/gdkdnd-x11.c | 3 +- gdk/x11/gdkwindow-x11.c | 145 +------------------------ gtk/deprecated/gtkmisc.c | 1 - gtk/gtkdrawingarea.c | 31 ------ gtk/gtkfixed.c | 29 ----- gtk/gtklayout.c | 31 ------ gtk/gtknotebook.c | 2 - gtk/gtkscrolledwindow.c | 3 - gtk/gtkstylecontext.c | 44 -------- gtk/gtkstylecontext.h | 4 - tests/testgtk.c | 194 ---------------------------------- testsuite/reftests/reftest-snapshot.c | 7 -- 22 files changed, 5 insertions(+), 742 deletions(-) commit bae12e6a2fdb1ed58f159f0a9606364480efea99 Author: Benjamin Otte Date: Thu Oct 6 23:39:05 2016 +0200 tests: Remove testwindows test It wasn't drawing anything anymore... tests/Makefile.am | 5 - tests/testwindows.c | 1080 --------------------------------------------------- 2 files changed, 1085 deletions(-) commit 0df388051df5896a6199b36e47a133795bdc26be Author: Benjamin Otte Date: Thu Oct 6 22:37:42 2016 +0200 API: Remove GtkStyle All the remaining gtkrc.c stuff like GtkRcStyle goes with it. docs/reference/gtk/gtk4-sections.txt | 106 - gtk/deprecated/Makefile.inc | 4 - gtk/deprecated/gtkiconfactory.c | 87 - gtk/deprecated/gtkiconfactory.h | 9 - gtk/deprecated/gtkrc.c | 1966 -------------- gtk/deprecated/gtkrc.h | 405 --- gtk/deprecated/gtkstyle.c | 4769 ---------------------------------- gtk/deprecated/gtkstyle.h | 793 ------ gtk/gtk-autocleanups.h | 2 - gtk/gtk.h | 2 - gtk/gtkicontheme.c | 91 - gtk/gtkicontheme.h | 6 - gtk/gtksizerequest.c | 5 - gtk/gtktypes.h | 2 - gtk/gtkwidget.c | 119 - gtk/gtkwidget.h | 2 - gtk/gtkwidgetprivate.h | 4 - 17 files changed, 8372 deletions(-) commit 05763e4875d11b0f10617dad78bc211e9cf32e95 Author: Benjamin Otte Date: Thu Oct 6 21:46:27 2016 +0200 settings: Pull in the RC parsing code gtk/gtksettings.c | 272 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 269 insertions(+), 3 deletions(-) commit 361d322bfb3a3896d447c6b1fe0bfefa5dc599fd Author: Benjamin Otte Date: Thu Oct 6 19:59:53 2016 +0200 immodules: Move path code out of gtkrc gtk/gtkimmodule.c | 64 +++++++++++++++++++++++++++++++++++++++++++++--- gtk/gtkimmoduleprivate.h | 10 ++++++-- gtk/queryimmodules.c | 11 +++------ 3 files changed, 72 insertions(+), 13 deletions(-) commit 1aa336b500c80a32fde0a3d6501ff8d61a50002b Author: Benjamin Otte Date: Thu Oct 6 16:41:41 2016 +0200 cellrendererspinner: Draw our own spinner This is the GtkStyle code just moved. gtk/gtkcellrendererspinner.c | 90 ++++++++++++++++++++++++++++++++++++++------ 1 file changed, 79 insertions(+), 11 deletions(-) commit 662001b60adc6171ff8351e2146c6fa1ba383f75 Author: Benjamin Otte Date: Thu Oct 6 16:02:39 2016 +0200 API: Remove ability to set visuals on windows And with it, gtk_widget_get_visual() and gtk_widget_set_visual() are gone. We now always use the RGBA visual (if available) and otherwise fall back to the system visual. demos/gtk-demo/offscreen_window.c | 3 +- demos/gtk-demo/offscreen_window2.c | 3 +- gdk/gdkwindow.c | 10 +- gdk/gdkwindow.h | 7 +- gdk/wayland/gdkdevice-wayland.c | 3 +- gdk/wayland/gdkdnd-wayland.c | 3 +- gdk/win32/gdkwindow-win32.c | 9 +- gdk/x11/gdkdnd-x11.c | 5 +- gtk/deprecated/Makefile.inc | 2 - gtk/deprecated/gtkhandlebox.c | 1627 ------------------------------------ gtk/deprecated/gtkhandlebox.h | 111 --- gtk/deprecated/gtkmisc.c | 3 +- gtk/gtk.h | 1 - gtk/gtkdnd.c | 19 +- gtk/gtkdrawingarea.c | 3 +- gtk/gtkeventbox.c | 3 +- gtk/gtkfixed.c | 3 +- gtk/gtkiconview.c | 3 +- gtk/gtklayout.c | 3 +- gtk/gtkmenu.c | 3 +- gtk/gtkmenushell.c | 3 +- gtk/gtknotebook.c | 3 +- gtk/gtkoffscreenwindow.c | 3 +- gtk/gtkoverlay.c | 3 +- gtk/gtkpaned.c | 5 +- gtk/gtkpopover.c | 3 +- gtk/gtkrevealer.c | 3 +- gtk/gtkscrolledwindow.c | 6 +- gtk/gtkseparatortoolitem.c | 1 - gtk/gtkspinbutton.c | 3 +- gtk/gtkstack.c | 3 +- gtk/gtktextview.c | 6 +- gtk/gtktoolitemgroup.c | 3 +- gtk/gtktoolpalette.c | 3 +- gtk/gtktreeview.c | 15 +- gtk/gtktreeviewcolumn.c | 1 - gtk/gtkviewport.c | 3 +- gtk/gtkwidget.c | 77 +- gtk/gtkwidget.h | 5 - gtk/gtkwindow.c | 32 +- gtk/inspector/inspect-button.c | 6 +- tests/gtkoffscreenbox.c | 3 +- tests/subsurface.c | 3 +- tests/testgtk.c | 27 +- 44 files changed, 54 insertions(+), 1990 deletions(-) commit 380494c1d7a154e19af362756b1aaef490c60aaa Author: Benjamin Otte Date: Mon Oct 3 21:16:40 2016 +0200 API: Remove gtk_drag_dest_set_proxy() Proxies were only used by GtkSocket. gtk/gtkdnd-quartz.c | 19 --- gtk/gtkdnd.c | 366 +++++----------------------------------------------- gtk/gtkdndprivate.h | 2 - gtk/gtkdragdest.c | 45 ------- gtk/gtkdragdest.h | 6 - 5 files changed, 35 insertions(+), 403 deletions(-) commit 021fe010b6cbf5119938efbad3122ef2854fc62b Author: Benjamin Otte Date: Mon Oct 3 18:30:40 2016 +0200 API: Remove GtkPlug, GtkSocket and GtkWin32EmbedWidget docs/reference/gtk/Makefile.am | 5 - docs/reference/gtk/gtk-docs.sgml | 6 - docs/reference/gtk/gtk4-sections.txt | 43 - docs/reference/gtk/gtk4.types.in | 3 - docs/reference/gtk/x11.sgml | 7 - gtk/Makefile.am | 35 +- gtk/a11y/gtkaccessibility.c | 12 - gtk/a11y/gtktoplevelaccessible.c | 7 - gtk/gtkdnd.c | 14 +- gtk/gtkplug.c | 1401 ----------------------------- gtk/gtkplug.h | 103 --- gtk/gtksocket.c | 1621 ---------------------------------- gtk/gtksocket.h | 89 -- gtk/gtksocketprivate.h | 61 -- gtk/gtktestutils.c | 2 +- gtk/gtkwidget.c | 19 +- gtk/gtkwin32embed.c | 131 --- gtk/gtkwin32embed.h | 93 -- gtk/gtkwin32embedwidget.c | 385 -------- gtk/gtkwin32embedwidget.h | 75 -- gtk/gtkwindow.c | 24 +- gtk/gtkx-autocleanups.h | 31 - gtk/gtkx.h | 36 - gtk/gtkxembed.c | 242 ----- gtk/gtkxembed.h | 47 - gtk/makefile.msc.in | 2 - po-properties/POTFILES.in | 2 - po/POTFILES.in | 2 - tests/Makefile.am | 15 - tests/testsocket.c | 404 --------- tests/testsocket_child.c | 65 -- tests/testsocket_common.c | 286 ------ testsuite/gtk/notify.c | 11 - 33 files changed, 12 insertions(+), 5267 deletions(-) commit 89f2e17f9177c22bada65f81463f3517a210998a Author: Benjamin Otte Date: Sun Oct 2 03:02:10 2016 +0200 API: Remove gdk_window_set_composited() And the related call gdk_display_supports_composite(). gdk/broadway/gdkdisplay-broadway.c | 7 -- gdk/broadway/gdkwindow-broadway.c | 7 -- gdk/gdkdisplay.c | 25 ------- gdk/gdkdisplay.h | 2 - gdk/gdkdisplayprivate.h | 1 - gdk/gdkinternals.h | 1 - gdk/gdkoffscreenwindow.c | 1 - gdk/gdkwindow.c | 141 ++----------------------------------- gdk/gdkwindowimpl.h | 2 - gdk/mir/gdkmirdisplay.c | 8 --- gdk/mir/gdkmirwindowimpl.c | 8 --- gdk/quartz/gdkdisplay-quartz.c | 9 --- gdk/wayland/gdkdisplay-wayland.c | 7 -- gdk/wayland/gdkwindow-wayland.c | 7 -- gdk/win32/gdkdisplay-win32.c | 7 -- gdk/win32/gdkwindow-win32.c | 1 - gdk/x11/gdkdisplay-x11.c | 44 ------------ gdk/x11/gdkwindow-x11.c | 31 -------- gtk/gtkwidget.c | 4 -- tests/testgtk.c | 121 ------------------------------- 20 files changed, 4 insertions(+), 430 deletions(-) commit 8d54c641f12a32474aed368d281a1ad56624d44a Author: Benjamin Otte Date: Fri Sep 30 19:27:38 2016 +0200 screen: Remove unused vfunc GdkScreenClass.broadcast_client_message was unused, but a bunch of backends still had functions (not) implementing it. gdk/broadway/gdkscreen-broadway.c | 7 ------- gdk/gdkscreenprivate.h | 2 -- gdk/mir/gdkmirscreen.c | 9 --------- gdk/quartz/gdkevents-quartz.c | 7 ------- gdk/quartz/gdkprivate-quartz.h | 2 -- gdk/quartz/gdkscreen-quartz.c | 1 - gdk/wayland/gdkscreen-wayland.c | 7 ------- 7 files changed, 35 deletions(-) commit ad64402a55a091f57a8c311bb966d1f7dff49a36 Author: Benjamin Otte Date: Fri Sep 30 05:14:53 2016 +0200 filechooserwidget: Query dpi from CssStyle gtk/gtkfilechooserwidget.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) commit 77cdbfde97d847d88e643a8b347b657cfbad48e2 Author: Benjamin Otte Date: Fri Sep 30 05:11:19 2016 +0200 fontchooserwidget: Query dpi from CssStyle gtk/gtkfontchooserwidget.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit fec8069e7bf2907bcf19cd1a7c5535ee89ba1ed9 Author: Benjamin Otte Date: Fri Sep 30 04:58:29 2016 +0200 API: screen: Stop storing font options font options are only ever set by the GtkSettings object and only ever used inside GTK, so just store them there. gdk/gdkpango.c | 4 --- gdk/gdkscreen.c | 81 ------------------------------------------------ gdk/gdkscreen.h | 6 ---- gdk/gdkscreenprivate.h | 1 - gtk/gtksettings.c | 27 ++++++++++------ gtk/gtksettingsprivate.h | 2 ++ gtk/gtkwidget.c | 12 +++---- 7 files changed, 25 insertions(+), 108 deletions(-) commit fcbd480c765747a25c9184f82cb13e74c47dfa75 Author: Benjamin Otte Date: Fri Sep 30 02:53:31 2016 +0200 API: Remove GDK_WA_CURSOR The cursor was set using gdk_window_set_cursor() even in gdk_window_new(). So instead of having yet another flag, just make the users of that flag call gdk_window_set_cursor() directly after the window was created. gdk/gdkwindow.c | 4 ---- gdk/gdkwindow.h | 13 +++++-------- gdk/quartz/gdkwindow-quartz.c | 4 ---- gdk/win32/gdkwindow-win32.c | 7 ++----- gtk/gtkentry.c | 18 +++++++++--------- gtk/gtklabel.c | 18 +++++++++--------- gtk/gtkpaned.c | 19 +++++++++++-------- gtk/gtktreeviewcolumn.c | 10 ++++++---- gtk/gtkwindow.c | 12 ++++++++---- 9 files changed, 50 insertions(+), 55 deletions(-) commit 2fd5048943fdb3e9ceccb77fdd4839ad217c5b08 Author: Benjamin Otte Date: Thu Sep 29 22:23:51 2016 +0200 API: window: Remove suppport for changing wmclass_name/group X11 was the only backend to support it and people can just override it using XSetClassHint() directly. The docs already advertised the function as "Do not use". Keep the existing call to XSetClassHint() in place, so that we keep setting the same values as in GTK3. gdk/gdkwindow.h | 10 ++------ gdk/win32/gdkwindow-win32.c | 8 ++----- gdk/x11/gdkwindow-x11.c | 13 ++++------- gtk/gtkplug.c | 5 ---- gtk/gtkwin32embedwidget.c | 2 -- gtk/gtkwindow.c | 57 --------------------------------------------- gtk/gtkwindow.h | 4 ---- gtk/gtkwindowprivate.h | 4 ---- 8 files changed, 9 insertions(+), 94 deletions(-) commit fe24fcbc3e71bcf7e222a4106bf6e3f7ec114e28 Author: Timm Bäder Date: Tue Oct 4 13:05:56 2016 +0200 Delete gtkvbox.{c,h} gtk/deprecated/gtkvbox.c | 102 ----------------------------------------------- gtk/deprecated/gtkvbox.h | 66 ------------------------------ 2 files changed, 168 deletions(-) commit fb3d9022ad98049c887cec5aeffd6b73deb043ba Author: Timm Bäder Date: Mon Oct 3 19:52:23 2016 +0200 Remove GtkHBox docs/reference/gtk/gtk4-sections.txt | 16 ------ gtk/deprecated/Makefile.inc | 2 - gtk/deprecated/gtkhbox.c | 98 ------------------------------------ gtk/deprecated/gtkhbox.h | 68 ------------------------- gtk/gtk-builder-tool.c | 1 - gtk/gtk.h | 1 - gtk/gtkbox.c | 4 -- gtk/gtkcontainer.c | 2 +- gtk/gtkgrid.c | 2 +- tests/testfontselection.c | 2 +- tests/testheightforwidth.c | 21 +++++--- testsuite/gtk/builder.c | 9 ++-- testsuite/gtk/notify.c | 1 - 13 files changed, 22 insertions(+), 205 deletions(-) commit 9a5de9618787605de832e4c5ccbfd298eb73db97 Author: Benjamin Otte Date: Wed Sep 28 17:09:41 2016 +0200 API: Remove GtkNumerableIcon docs/reference/gtk/Makefile.am | 2 - docs/reference/gtk/gtk-docs.sgml | 1 - docs/reference/gtk/gtk4-sections.txt | 29 - docs/reference/gtk/gtk4.types.in | 1 - docs/reference/gtk/images/numerableicon.png | Bin 2645 -> 0 bytes docs/reference/gtk/images/numerableicon2.png | Bin 2329 -> 0 bytes gtk/deprecated/Makefile.inc | 3 - gtk/deprecated/gtknumerableicon.c | 1056 -------------------------- gtk/deprecated/gtknumerableicon.h | 100 --- gtk/deprecated/gtknumerableiconprivate.h | 34 - gtk/gtk.h | 1 - gtk/gtkicontheme.c | 6 - gtk/makefile.msc.in | 1 - tests/Makefile.am | 5 - tests/testnumerableicon.c | 160 ---- 15 files changed, 1399 deletions(-) commit d09e48cec1480bb1bf7578a6ed0afd6636c0c4b6 Author: Benjamin Otte Date: Wed Sep 28 16:53:17 2016 +0200 API: Remove -gtk_widget_get_root_window() docs/reference/gtk/gtk4-sections.txt | 1 - gtk/gtkwidget.c | 27 --------------------------- gtk/gtkwidget.h | 2 -- 3 files changed, 30 deletions(-) commit 9be9e00a0edd756eb62880aad4008593e1de4f76 Author: Benjamin Otte Date: Wed Sep 28 02:52:25 2016 +0200 API: screen: Remove gdk_screen_make_display_name() It's identical to gdk_display_get_name(). docs/reference/gdk/gdk4-sections.txt | 1 - gdk/broadway/gdkscreen-broadway.c | 7 ------- gdk/gdkscreen.c | 19 ------------------- gdk/gdkscreen.h | 2 -- gdk/gdkscreenprivate.h | 1 - gdk/mir/gdkmirscreen.c | 8 -------- gdk/quartz/gdkscreen-quartz.c | 7 ------- gdk/wayland/gdkscreen-wayland.c | 7 ------- gdk/win32/gdkscreen-win32.c | 7 ------- gdk/x11/gdkscreen-x11.c | 30 ------------------------------ 10 files changed, 89 deletions(-) commit 6b9e481e38571f73237f6b8a38cb4bc6987bc4ca Author: Benjamin Otte Date: Wed Sep 28 02:16:53 2016 +0200 API: screen: Remove gdk_screen_get_active_window() ... and gdk_screen_get_window_stack(). Those functions were originally added in 5afb4f0f116f0e8a200dd55cc6688a957b4d397c but do not seem to be used as they are not implemented anywhere but in X. As GDK is not meant to fulfill window management functionality I'm going to remove these functions without replacements. docs/reference/gdk/gdk4-sections.txt | 2 - gdk/broadway/gdkscreen-broadway.c | 14 ------ gdk/gdkscreen.c | 65 -------------------------- gdk/gdkscreen.h | 5 -- gdk/gdkscreenprivate.h | 2 - gdk/mir/gdkmirscreen.c | 16 ------- gdk/quartz/gdkscreen-quartz.c | 14 ------ gdk/wayland/gdkscreen-wayland.c | 14 ------ gdk/win32/gdkscreen-win32.c | 18 -------- gdk/x11/gdkscreen-x11.c | 90 ------------------------------------ 10 files changed, 240 deletions(-) commit 26f9b584bede0888e48531f78a21f1ee0c8820a1 Author: Benjamin Otte Date: Fri Sep 9 16:34:21 2016 +0200 API: gdk: Remove gdk_screen_get_number() It's useless everywhere but in internal X11 code. gdk/broadway/gdkscreen-broadway.c | 7 ------- gdk/gdkscreen.c | 19 ------------------- gdk/gdkscreen.h | 2 -- gdk/gdkscreenprivate.h | 1 - gdk/mir/gdkmirscreen.c | 9 --------- gdk/quartz/gdkscreen-quartz.c | 7 ------- gdk/wayland/gdkscreen-wayland.c | 7 ------- gdk/win32/gdkscreen-win32.c | 9 --------- gdk/x11/gdkapplaunchcontext-x11.c | 2 +- gdk/x11/gdkmain-x11.c | 2 +- gdk/x11/gdkscreen-x11.c | 10 +--------- gdk/x11/gdkwindow-x11.c | 4 ++-- 12 files changed, 5 insertions(+), 74 deletions(-) commit 0be88cc76e756ee96839273117b464ab21a4f708 Author: Benjamin Otte Date: Fri Sep 9 14:53:18 2016 +0200 API: Remove gdk_screen_get_width() and gdk_screen_get_height() ... and gdk_screen_get_width_mm() and gdk_screen_get_height_mm() and the shortcut counterparts that call these functions on the default screen. Modern display servers don't provide an ability to query the size of a screen or display so we shouldn't allow that either. docs/reference/gdk/gdk4-sections.txt | 10 --- gdk/broadway/gdkscreen-broadway.c | 50 ++--------- gdk/broadway/gdkscreen-broadway.h | 3 - gdk/broadway/gdkwindow-broadway.c | 18 ++-- gdk/gdkmain.h | 10 --- gdk/gdkscreen.c | 164 ----------------------------------- gdk/gdkscreen.h | 8 -- gdk/gdkscreenprivate.h | 4 - gdk/wayland/gdkscreen-wayland.c | 93 +------------------- gdk/win32/gdkscreen-win32.c | 28 ------ gdk/x11/gdkdnd-x11.c | 4 +- gdk/x11/gdkscreen-x11.c | 110 +++++------------------ gdk/x11/gdkscreen-x11.h | 3 - modules/input/gtkimcontextxim.c | 2 +- 14 files changed, 43 insertions(+), 464 deletions(-) commit 579edbbca871f317b90ffec4e69d4f4b5cac91b2 Author: Benjamin Otte Date: Fri Sep 9 14:52:06 2016 +0200 display: Insist that backends implement the monitor vfuncs We cannot fallback anymore once we remove the ability to query screen size, and that's about to happen. gdk/gdkdisplay.c | 29 ----------------------------- 1 file changed, 29 deletions(-) commit ed30f271f54113466dff8f5ffdab4152846dbe54 Author: Benjamin Otte Date: Fri Sep 9 14:49:12 2016 +0200 gdk: Insist axis.min_value < axis.max_value Remove fallback code that would substitute screen size otherwise. gdk/gdkdevice.c | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) commit 2033b06cb6cff8b44e123f0ff0693ca4e78e2337 Author: Benjamin Otte Date: Fri Sep 9 14:48:33 2016 +0200 gdk: Require passing screen size to translate_screen_coord() gdk/gdkdevice.c | 6 ++++-- gdk/gdkdeviceprivate.h | 2 ++ gdk/win32/gdkdevice-wintab.c | 8 ++++++-- gdk/x11/gdkdevice-xi2.c | 4 ++++ 4 files changed, 16 insertions(+), 4 deletions(-) commit 444580742133a59e311d66bed61bb6b53eb249e8 Author: Benjamin Otte Date: Tue Sep 6 01:24:13 2016 +0200 shooter: Use root window size instead of screen size Avoids usage deprecated screen size. docs/tools/shooter.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 013caef941c46541cf9a8921ceed7d9830a027be Author: Benjamin Otte Date: Tue Sep 6 01:23:41 2016 +0200 testgtk: Remove feature unsupported in Wayland Wayland doesn't allow positioning windows randomly, so don't try. tests/testgtk.c | 214 -------------------------------------------------------- 1 file changed, 214 deletions(-) commit c2125e80a345af13d5d886d4ae56fba2926dc267 Author: Benjamin Otte Date: Mon Sep 5 03:09:39 2016 +0200 API: window: Remove geometry support gtk/gtkwindow.c | 626 ++------------------------------------------------- gtk/gtkwindow.h | 19 -- tests/Makefile.am | 5 - tests/testgeometry.c | 226 ------------------- tests/testgtk.c | 64 ------ tests/testimage.c | 8 - 6 files changed, 23 insertions(+), 925 deletions(-) commit 4ed9452e9028bb90589474783cebac57ab66e2c9 Author: Benjamin Otte Date: Mon Sep 5 03:09:20 2016 +0200 API: menu: Remove tearoff support gtk/deprecated/Makefile.inc | 2 - gtk/deprecated/gtkaction.c | 1 - gtk/deprecated/gtktearoffmenuitem.c | 328 ----------------- gtk/deprecated/gtktearoffmenuitem.h | 81 ----- gtk/deprecated/gtkuimanager.c | 175 +-------- gtk/deprecated/gtkuimanager.h | 5 - gtk/gtk.h | 1 - gtk/gtkcombobox.c | 202 +---------- gtk/gtkcombobox.h | 12 - gtk/gtkmenu.c | 706 ++---------------------------------- gtk/gtkmenu.h | 15 - gtk/gtkmenuitem.c | 20 +- gtk/gtkmenuprivate.h | 12 - gtk/gtkmenushell.c | 21 +- gtk/gtktreemenu.c | 102 +----- gtk/gtktreemenu.h | 3 - tests/testmerge.c | 15 - 17 files changed, 33 insertions(+), 1668 deletions(-) commit 1a0a42325006c38a0eff529f1ad0dfaced681e39 Author: Benjamin Otte Date: Sun Sep 4 21:53:20 2016 +0200 API: gdk: Remove monitor APIs on GdkScreen gdk/gdkscreen.c | 329 -------------------------------------------------------- gdk/gdkscreen.h | 33 ------ 2 files changed, 362 deletions(-) commit d2a8667f835ddce4ac88b9bee143556f9efa93c4 Author: Benjamin Otte Date: Sun Sep 4 21:51:09 2016 +0200 API: Remove GtkStatusIcon gtk/Makefile.am | 2 - gtk/deprecated/Makefile.inc | 2 - gtk/deprecated/gtkstatusicon-quartz.c | 145 -- gtk/deprecated/gtkstatusicon.c | 2864 --------------------------------- gtk/deprecated/gtkstatusicon.h | 182 --- gtk/deprecated/gtktrayicon-x11.c | 1100 ------------- gtk/deprecated/gtktrayicon.h | 75 - gtk/gtk.h | 1 - tests/Makefile.am | 5 - tests/teststatusicon.c | 269 ---- testsuite/gtk/defaultvalue.c | 5 - testsuite/gtk/notify.c | 3 - 12 files changed, 4653 deletions(-) commit c0276e2c5cce83932f174ac3cda428ac14d8b70e Author: Benjamin Otte Date: Wed Sep 28 02:51:36 2016 +0200 applaunchcontext: Ignore screen name It's guaranteed to be identical to the display name. gdk/gdkapplaunchcontext.c | 3 --- 1 file changed, 3 deletions(-) commit 9222b4cd7cf6f5e802d350888e04058ca27290a8 Author: Benjamin Otte Date: Wed Sep 28 02:51:09 2016 +0200 inspector: Use display name instead of screen name This is for future compatibility as they are guaranteed to be identical. gtk/inspector/general.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit f7cebf5c1f6a821422fd5603f4cb0ab593770af9 Author: Benjamin Otte Date: Sun Sep 4 21:52:55 2016 +0200 wayland: Use GdkMonitor APIs gdk/wayland/gdkwindow-wayland.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 7232b4f7353ca66450e9e5b6f1b5c6d02c1fe2f9 Author: Benjamin Otte Date: Sun Sep 4 21:52:33 2016 +0200 x11: Use GdkMonitor APIs gdk/x11/gdkcursor-x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d33c251cf68d97ecb8bfbd767d323f4e745fd6c8 Author: Benjamin Otte Date: Sun Sep 4 21:52:00 2016 +0200 gdk: Use GdkMonitor APIs ... instead of the old ones using GdkScreen gdk/gdkwindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 266fd36f3f764043062b45e3e6be3de7fc173b1a Author: Benjamin Otte Date: Sun Sep 4 21:51:41 2016 +0200 inspector: Port to GdkMonitor gtk/inspector/visual.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 29c570a6608712469b49aeb1e37946ddb7077c36 Author: Benjamin Otte Date: Sun Sep 4 21:13:41 2016 +0200 tests: Port to GdkMonitor tests/animated-resizing.c | 10 +-- tests/testxinerama.c | 151 +++++++++++++++++++++++----------------------- 2 files changed, 82 insertions(+), 79 deletions(-) commit 76d95c312dde61334ee7cf3218a05c3ab485c922 Author: Benjamin Otte Date: Sat Sep 3 18:33:30 2016 +0200 display: Don't return NULL in get_primary_monitor() Nobody ever does a NULL check there so all that causes is crashes. So we better return a non-primary monitor than NULL. Fixes gdk-wayland always returning NULL. gdk/gdkdisplay.c | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) commit dcb816f99a267227dfe0b4d4b30da8b8c6521816 Author: Benjamin Otte Date: Mon Oct 3 21:26:20 2016 +0200 gdk: Fix docs typo gdk/gdkdnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7016409e9f7cfab6990823c14d2d0287d38284b1 Author: Benjamin Otte Date: Sun Oct 16 18:07:39 2016 +0200 gdk: Get rid of unused variables gdk/gdkwindow.c | 5 ----- 1 file changed, 5 deletions(-) commit 713d4ad3e6614e0c84389d989100cbc4abb49f0e Author: Aurimas Černius Date: Sat Oct 15 22:07:36 2016 +0300 Updated Lithuanian translation po/lt.po | 78 ++++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 42 insertions(+), 36 deletions(-) commit a703ba840627aca867ab4f44dadbb962035a90fe Author: Matthias Clasen Date: Fri Oct 14 11:15:27 2016 -0400 Avoid 0/FALSE confusion Since this is supposedly exemplary code, lets get it right. https://bugzilla.gnome.org/show_bug.cgi?id=772683 demos/gtk-demo/glarea.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b7baf3371bb77bc7b14327c04f428cc1bf78c530 Author: Alan Jenkins Date: Fri Oct 14 12:16:07 2016 +0100 shortcutswindow: working version of set_section_name() (testing before+after, it actually works now) https://bugzilla.gnome.org/show_bug.cgi?id=772926 gtk/gtkshortcutswindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 565b35ac006fcb72afdbb374f219c7b87259e8b1 Author: Matthias Clasen Date: Thu Oct 13 15:00:56 2016 -0400 Add new gestures to gtk4-demo Show the new single-finger swipe gestures in the builder shortcuts example. demos/gtk-demo/shortcuts-builder.ui | 69 ++++++++++++++++++++++--------------- 1 file changed, 42 insertions(+), 27 deletions(-) commit b6cdc3961a20f2f8be25c67c8eb7a0a4a0bada51 Author: Felix Riemann Date: Thu Oct 13 16:36:47 2016 +0200 GtkShortcutsShortcut: Support single finger swipe gestures https://bugzilla.gnome.org/show_bug.cgi?id=772770 gtk/Makefile.am | 2 ++ gtk/gtkshortcutsshortcut.c | 16 ++++++++++++++++ gtk/gtkshortcutsshortcut.h | 8 +++++++- 3 files changed, 25 insertions(+), 1 deletion(-) commit 21fa12120c7047a5c042efd457ce2df4423a68ea Author: Jakub Steiner Date: Thu Oct 13 12:09:55 2016 +0200 gestures: provide new artwork - illustrations for single finger swiping left and right https://bugzilla.gnome.org/show_bug.cgi?id=772770 gtk/gesture/gesture-swipe-left-symbolic.svg | 162 +++++++++++++++++++++ .../gesture-swipe-left-symbolic.symbolic.png | Bin 0 -> 855 bytes gtk/gesture/gesture-swipe-right-symbolic.svg | 162 +++++++++++++++++++++ .../gesture-swipe-right-symbolic.symbolic.png | Bin 0 -> 900 bytes 4 files changed, 324 insertions(+) commit a9464f65c30b692d98837600c47b693a16869260 Author: Ben Iofel Date: Wed Oct 12 16:13:32 2016 -0400 docs: replace gtk3 with gtk4 in man pages docs/reference/gtk/gtk-query-immodules-4.0.xml | 14 +++++++------- docs/reference/gtk/gtk4-demo-application.xml | 14 +++++++------- docs/reference/gtk/gtk4-demo.xml | 12 ++++++------ docs/reference/gtk/gtk4-icon-browser.xml | 12 ++++++------ docs/reference/gtk/gtk4-widget-factory.xml | 12 ++++++------ 5 files changed, 32 insertions(+), 32 deletions(-) commit 38667b8dd0413289d6aef58496ea63c3ac7e48af Author: Alan Jenkins Date: Thu Oct 13 09:20:57 2016 +0100 scrolledwindow: fix leak of pan_gesture https://bugzilla.gnome.org/show_bug.cgi?id=772859 gtk/gtkscrolledwindow.c | 1 + 1 file changed, 1 insertion(+) commit 982c4a70b614a2b9c4b3d4190a64be9f408f35b5 Author: Alan Jenkins Date: Wed Oct 12 16:38:13 2016 +0100 headerbar: fix leak of label_sizing_box Since the widget is not added to a container, we have the responsibility to sink the initial floating reference, and ultimately to unref it. https://bugzilla.gnome.org/show_bug.cgi?id=772859 gtk/gtkheaderbar.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit 3731da14a08b0eb1538ed9647a40f5334fb53ada Author: Alan Jenkins Date: Wed Oct 12 16:18:47 2016 +0100 headerbar: fix leak of separator https://bugzilla.gnome.org/show_bug.cgi?id=772859 gtk/gtkheaderbar.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit 8ef4f7fd749bec85b2a6ec3602854fd769507c46 Author: Alan Jenkins Date: Wed Oct 12 18:03:43 2016 +0100 headerbar: fix leak of start_box/end_box gtk_widget_destroy() removes widgets from their container. However _internal_ widgets must be unref'ed using gtk_widget_unparent() instead. This is symmetric with the fact that these widgets were ref'ed by direct call to gtk_widget_set_parent(). It's also the method that was used in gtk_headerbar_destroy(). https://bugzilla.gnome.org/show_bug.cgi?id=772859 gtk/gtkheaderbar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8aa9339b2d7aab7e9c99d46d569f81aa9de7f26f Author: Alan Jenkins Date: Wed Oct 12 16:16:57 2016 +0100 shortcutsgroup: fix leak of title like previous commit, albeit simpler this time https://bugzilla.gnome.org/show_bug.cgi?id=772859 gtk/gtkshortcutsgroup.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit 353281d9d07ac49082cf2de19d7de33d5eb2e02d Author: Alan Jenkins Date: Wed Oct 12 13:33:39 2016 +0100 applicationwindow: fix leak of help_overlay > Due to Gtk+ keeping a reference to the window internally, > gtk_window_new() does not return a reference to the caller. > To delete a GtkWindow, call gtk_widget_destroy(). Caller(s) aren't expecting a need to delete help_overlay themselves once they've installed it. (E.g. see gtk_application_window_added()). I didn't notice any direct precedents, but there's a parallel in the current implementation of gtk_container_destroy() which uses gtk_widget_destroy() on any added widget. This avoids leaking 100s of kB per window, when I tested nautilus. https://bugzilla.gnome.org/show_bug.cgi?id=772859 gtk/gtkapplicationwindow.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 133da654338544c9d8bf657eb3da3f5902e8889b Author: Christian Hergert Date: Wed Oct 12 13:56:57 2016 -0700 menusectionbox: add support for "text-direction" attribute This allows the use of a "text-direction" hint set to one of "none", "rtl", or "ltr" to enforce the text direction of a "horizontal-buttons" display-hint. This is useful when a menu has buttons that map to physical space in the UI and therefore must match the application widgetry. https://bugzilla.gnome.org/show_bug.cgi?id=772775 gtk/gtkapplicationwindow.c | 3 +++ gtk/gtkmenusectionbox.c | 14 ++++++++++++++ gtk/gtkmenutrackeritem.c | 10 ++++++++++ gtk/gtkmenutrackeritem.h | 2 ++ 4 files changed, 29 insertions(+) commit 9e2b1ad39e86b2352116f49214cf195cb3e0e970 Author: Olivier Fourdan Date: Thu Oct 6 16:49:39 2016 +0200 gdkwindow: configure native windows in move_native_children() ClutterEmbed on Wayland uses a subsurface and relocates it on configure events, but when placed within a scrolled window, no configure event is emitted and the ClutterEmbed subsurface remains static. Emit a configure event for native windows in GdkWindow's internal move_native_children() so that custom widgets relying on configure events such as ClutterEmbed can relocate their stuff. Similarly, when switching to/from normal/maximized/fullscreen states which change the shadows' size and possibly shows/hides a header bar, we need to emit a configure event even if the abs_x/abs_y haven't changed to make sure the subsurface is size appropriately. https://bugzilla.gnome.org/show_bug.cgi?id=771320 https://bugzilla.gnome.org/show_bug.cgi?id=767713 gdk/gdkwindow.c | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) commit b65fbbf7390caacd0351e5f29570d487d4e95a10 Author: Piotr Drąg Date: Wed Oct 12 19:49:08 2016 +0200 Update Polish translation po-properties/pl.po | 75 +++++++++++++++++++------------------ po/pl.po | 104 ++++++++++++++++++++++++++-------------------------- 2 files changed, 89 insertions(+), 90 deletions(-) commit 9054e497763585742aa7a1b4ae20ad5239291714 Author: Lapo Calamandrei Date: Wed Oct 12 19:30:30 2016 +0200 Adwaita: dodge drop active style for window and decoration nodes to hilight drop target there is a wildcard selector which turns the border and shadow to green, this clearly shouldn't happen when the whole window is a drop target. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit 3e3f20854be4044697c729cb35595e6b1dfe6812 Author: Tom Tryfonidis Date: Tue Oct 11 11:05:21 2016 +0000 Update Greek translation (cherry picked from commit e74dc54567e2363e283b7e5dd8e8e0e8d0b1c2aa) po-properties/el.po | 2227 +++++++++++++++++++++++++++------------------------ 1 file changed, 1173 insertions(+), 1054 deletions(-) commit a68915abd1f8c3f01f48ffe97c7fa88d6e8c1403 Author: Christian Hergert Date: Mon Oct 10 13:52:50 2016 -0700 shortcuts: the accelerator should always be LTR Even on RTL languages, we want the shortcut to be LTR so that we always have to the left of the accel keyval. https://bugzilla.gnome.org/show_bug.cgi?id=772695 gtk/gtkshortcutlabel.c | 3 +++ 1 file changed, 3 insertions(+) commit fe6030a41be6887d298a63aa79959e08c1c0a192 Author: djb Date: Sun Oct 2 23:16:46 2016 +0100 gtkplacesviewrow: stop busy_spinner from offsetting the other widgets when visible ...by putting it in a stack. The busy_spinner and eject_button are mutually exclusive, but only the latter was coded to ensure that its visibility did not cause the rest of the row to reflow. By putting both widgets in a stack and setting child_visible on that, the row allocates enough space to show one - or none - at once, avoiding any misalignment. https://bugzilla.gnome.org/show_bug.cgi?id=772345 https://bugzilla.gnome.org/show_bug.cgi?id=772348 gtk/gtkplacesviewrow.c | 31 +++++++++++++++++++++---------- gtk/ui/gtkplacesviewrow.ui | 45 ++++++++++++++++++++++++++------------------- 2 files changed, 47 insertions(+), 29 deletions(-) commit 0d00e0c3d3eaea8518080d986208eb0f1b92f355 Author: Matthias Clasen Date: Mon Oct 10 14:37:09 2016 -0400 Fix the build gtk/inspector/general.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 434ce02ebee59418afb88109399ad37abf411300 Author: Adam Jackson Date: Mon Oct 10 14:12:40 2016 -0400 Use eglGetPlatformDisplay{,EXT} if available Calling eglGetDisplay forces libEGL to guess what kind of pointer you passed it. Different EGL libraries will do different things here, and in particular glvnd will do something different than Mesa. Since we do have an API that allows us to explicitly type the display, use it. The explicit call to eglGetProcAddress is working around a bug in libepoxy 1.3, which does not understand the EGL concept of client extensions. Since it does not, the normal epoxy resolver for eglGetPlatformDisplayEXT would not find any provider for that entry point, and crash when you attempted to call it. Signed-off-by: Adam Jackson https://bugzilla.gnome.org/show_bug.cgi?id=772415 gdk/wayland/gdkglcontext-wayland.c | 37 ++++++++++++++++++++++++++++++++++++- gtk/inspector/general.c | 36 +++++++++++++++++++++++++++++++++++- 2 files changed, 71 insertions(+), 2 deletions(-) commit 3b11575f0b9d4842f9bcca42d84e30df72df86a3 Author: Adam Jackson Date: Mon Oct 10 14:10:38 2016 -0400 Fix some EGLDisplay * abuse EGLDisplays are already opaque pointers, and eglGetDisplay returns an EGLDisplay not a pointer to one. Signed-off-by: Adam Jackson https://bugzilla.gnome.org/show_bug.cgi?id=772415 gdk/wayland/gdkglcontext-wayland.c | 2 +- gtk/inspector/general.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 31b77ae0b6e3d0bc04563678186e241505d05627 Author: Ask Hjorth Larsen Date: Sun Oct 9 22:05:28 2016 +0200 Updated Danish translation po/da.po | 55 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 30 insertions(+), 25 deletions(-) commit 5db8cc4f1867f8d8142afd294b5e5f739683a80d Author: Rūdolfs Mazurs Date: Sun Oct 9 19:32:14 2016 +0300 Update Latvian translation po/lv.po | 101 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 52 insertions(+), 49 deletions(-) commit b373c6054edc1da9c63ced4f7ec54e3d58687267 Author: Matthias Clasen Date: Fri Oct 7 14:05:57 2016 -0400 Remove autoconf macros from the docs docs/reference/gtk/compiling.sgml | 43 +++++++-------------------------------- 1 file changed, 7 insertions(+), 36 deletions(-) commit a03a12098d3b1d4c0eec600af33e6bd82b99eda1 Author: Matthias Clasen Date: Fri Oct 7 13:26:37 2016 -0400 Drop deprecated autoconf macro AM_PATH_GTK_3_0 is deprecated, use PKG_CHECK_MODULES([GTK], [gtk+-3.0]) instead. Makefile.am | 2 +- configure.ac | 1 - m4macros/Makefile.am | 10 --- m4macros/gtk-3.0.m4 | 217 --------------------------------------------------- 4 files changed, 1 insertion(+), 229 deletions(-) commit ce74c3a5a590bfc5af94ac3b26c7183f4d3150ed Author: Matthias Clasen Date: Fri Oct 7 11:16:39 2016 -0400 Re-add missing files .../gtk-demo/data/16x16/gtk4-demo-symbolic.symbolic.png | Bin 0 -> 324 bytes demos/gtk-demo/data/16x16/gtk4-demo.png | Bin 0 -> 874 bytes .../gtk-demo/data/22x22/gtk4-demo-symbolic.symbolic.png | Bin 0 -> 437 bytes demos/gtk-demo/data/22x22/gtk4-demo.png | Bin 0 -> 1281 bytes .../gtk-demo/data/24x24/gtk4-demo-symbolic.symbolic.png | Bin 0 -> 465 bytes demos/gtk-demo/data/24x24/gtk4-demo.png | Bin 0 -> 1374 bytes .../data/256x256/gtk4-demo-symbolic.symbolic.png | Bin 0 -> 3937 bytes demos/gtk-demo/data/256x256/gtk4-demo.png | Bin 0 -> 18667 bytes .../gtk-demo/data/32x32/gtk4-demo-symbolic.symbolic.png | Bin 0 -> 581 bytes demos/gtk-demo/data/32x32/gtk4-demo.png | Bin 0 -> 1748 bytes .../gtk-demo/data/48x48/gtk4-demo-symbolic.symbolic.png | Bin 0 -> 854 bytes demos/gtk-demo/data/48x48/gtk4-demo.png | Bin 0 -> 2640 bytes .../data/512x512/gtk4-demo-symbolic.symbolic.png | Bin 0 -> 7594 bytes demos/gtk-demo/data/512x512/gtk4-demo.png | Bin 0 -> 42374 bytes demos/gtk-demo/gtk4-demo.desktop | 10 ++++++++++ demos/icon-browser/gtk4-icon-browser.desktop | 10 ++++++++++ .../16x16/gtk4-widget-factory-symbolic.symbolic.png | Bin 0 -> 237 bytes demos/widget-factory/data/16x16/gtk4-widget-factory.png | Bin 0 -> 550 bytes .../22x22/gtk4-widget-factory-symbolic.symbolic.png | Bin 0 -> 332 bytes demos/widget-factory/data/22x22/gtk4-widget-factory.png | Bin 0 -> 685 bytes .../24x24/gtk4-widget-factory-symbolic.symbolic.png | Bin 0 -> 336 bytes demos/widget-factory/data/24x24/gtk4-widget-factory.png | Bin 0 -> 750 bytes .../256x256/gtk4-widget-factory-symbolic.symbolic.png | Bin 0 -> 2950 bytes .../widget-factory/data/256x256/gtk4-widget-factory.png | Bin 0 -> 10864 bytes .../32x32/gtk4-widget-factory-symbolic.symbolic.png | Bin 0 -> 369 bytes demos/widget-factory/data/32x32/gtk4-widget-factory.png | Bin 0 -> 963 bytes .../48x48/gtk4-widget-factory-symbolic.symbolic.png | Bin 0 -> 495 bytes demos/widget-factory/data/48x48/gtk4-widget-factory.png | Bin 0 -> 1260 bytes .../widget-factory/data/512x512/gtk4-widget-factory.png | Bin 0 -> 24446 bytes demos/widget-factory/gtk4-widget-factory.desktop | 10 ++++++++++ 30 files changed, 30 insertions(+) commit bbe5980c5412337687cac8d648d5ad069086ccae Author: Matthias Clasen Date: Fri Oct 7 06:19:07 2016 -0400 Make docs parallel installable This addresses gdk and gtk docs. configure.ac | 2 +- docs/reference/gdk/Makefile.am | 4 ++-- docs/reference/gdk/gdk-docs.sgml | 2 +- .../gdk/{gdk3-sections.txt => gdk4-sections.txt} | 0 docs/reference/gdk/{gdk3.types => gdk4.types} | 0 docs/reference/gtk/Makefile.am | 28 +++++++++++----------- docs/reference/gtk/gtk-docs.sgml | 20 ++++++++-------- ...modules-3.0.xml => gtk-query-immodules-4.0.xml} | 0 ...o-application.xml => gtk4-demo-application.xml} | 0 .../reference/gtk/{gtk3-demo.xml => gtk4-demo.xml} | 0 ...gtk3-icon-browser.xml => gtk4-icon-browser.xml} | 0 .../gtk/{gtk3-sections.txt => gtk4-sections.txt} | 0 ...-widget-factory.xml => gtk4-widget-factory.xml} | 0 .../reference/gtk/{gtk3.types.in => gtk4.types.in} | 0 docs/reference/libgail-util/Makefile.am | 4 ++-- .../libgail-util/gail-libgail-util3.types | 0 ...ections.txt => gail-libgail-util4-sections.txt} | 0 17 files changed, 30 insertions(+), 30 deletions(-) commit b337b405a35b7457850fce5b76a9446c4386d403 Author: Matthias Clasen Date: Fri Oct 7 10:11:26 2016 -0400 Make the demos build demos/gtk-demo/Makefile.am | 50 ++++++++++----------- .../data/16x16/gtk3-demo-symbolic.symbolic.png | Bin 324 -> 0 bytes demos/gtk-demo/data/16x16/gtk3-demo.png | Bin 874 -> 0 bytes .../data/22x22/gtk3-demo-symbolic.symbolic.png | Bin 437 -> 0 bytes demos/gtk-demo/data/22x22/gtk3-demo.png | Bin 1281 -> 0 bytes .../data/24x24/gtk3-demo-symbolic.symbolic.png | Bin 465 -> 0 bytes demos/gtk-demo/data/24x24/gtk3-demo.png | Bin 1374 -> 0 bytes .../data/256x256/gtk3-demo-symbolic.symbolic.png | Bin 3937 -> 0 bytes demos/gtk-demo/data/256x256/gtk3-demo.png | Bin 18667 -> 0 bytes .../data/32x32/gtk3-demo-symbolic.symbolic.png | Bin 581 -> 0 bytes demos/gtk-demo/data/32x32/gtk3-demo.png | Bin 1748 -> 0 bytes .../data/48x48/gtk3-demo-symbolic.symbolic.png | Bin 854 -> 0 bytes demos/gtk-demo/data/48x48/gtk3-demo.png | Bin 2640 -> 0 bytes .../data/512x512/gtk3-demo-symbolic.symbolic.png | Bin 7594 -> 0 bytes demos/gtk-demo/data/512x512/gtk3-demo.png | Bin 42374 -> 0 bytes demos/gtk-demo/gtk3-demo.desktop | 10 ----- demos/icon-browser/Makefile.am | 18 ++++---- demos/icon-browser/gtk3-icon-browser.desktop | 10 ----- demos/widget-factory/Makefile.am | 30 ++++++------- .../gtk3-widget-factory-symbolic.symbolic.png | Bin 237 -> 0 bytes .../data/16x16/gtk3-widget-factory.png | Bin 550 -> 0 bytes .../gtk3-widget-factory-symbolic.symbolic.png | Bin 332 -> 0 bytes .../data/22x22/gtk3-widget-factory.png | Bin 685 -> 0 bytes .../gtk3-widget-factory-symbolic.symbolic.png | Bin 336 -> 0 bytes .../data/24x24/gtk3-widget-factory.png | Bin 750 -> 0 bytes .../gtk3-widget-factory-symbolic.symbolic.png | Bin 2950 -> 0 bytes .../data/256x256/gtk3-widget-factory.png | Bin 10864 -> 0 bytes .../gtk3-widget-factory-symbolic.symbolic.png | Bin 369 -> 0 bytes .../data/32x32/gtk3-widget-factory.png | Bin 963 -> 0 bytes .../gtk3-widget-factory-symbolic.symbolic.png | Bin 495 -> 0 bytes .../data/48x48/gtk3-widget-factory.png | Bin 1260 -> 0 bytes .../data/512x512/gtk3-widget-factory.png | Bin 24446 -> 0 bytes demos/widget-factory/gtk3-widget-factory.desktop | 10 ----- 33 files changed, 49 insertions(+), 79 deletions(-) commit d053d5c58fedaac652bd059a9be53fb135f89fab Author: Matthias Clasen Date: Wed Oct 5 15:38:34 2016 -0400 Rename Makefile references from 3.0 to 4.0 This is almost certainly incomplete. Needs careful scrutiny docs/tools/Makefile.am | 6 +- examples/Makefile.am | 4 +- examples/application1/Makefile.am | 4 +- examples/application10/Makefile.am | 4 +- examples/application2/Makefile.am | 4 +- examples/application3/Makefile.am | 4 +- examples/application4/Makefile.am | 4 +- examples/application5/Makefile.am | 4 +- examples/application6/Makefile.am | 4 +- examples/application7/Makefile.am | 4 +- examples/application8/Makefile.am | 4 +- examples/application9/Makefile.am | 4 +- examples/bp/Makefile.am | 4 +- gdk/Makefile.am | 144 +++++++++++++-------------- gdk/broadway/Makefile.am | 4 +- gdk/mir/Makefile.am | 4 +- gdk/quartz/Makefile.am | 4 +- gdk/wayland/Makefile.am | 4 +- gdk/win32/Makefile.am | 4 +- gdk/x11/Makefile.am | 4 +- gtk/Makefile.am | 128 ++++++++++++------------ libgail-util/Makefile.am | 36 +++---- modules/input/Makefile.am | 22 ++-- modules/printbackends/cloudprint/Makefile.am | 4 +- modules/printbackends/cups/Makefile.am | 4 +- modules/printbackends/file/Makefile.am | 4 +- modules/printbackends/lpr/Makefile.am | 4 +- modules/printbackends/papi/Makefile.am | 4 +- modules/printbackends/test/Makefile.am | 4 +- tests/Makefile.am | 6 +- tests/visuals/Makefile.am | 6 +- testsuite/a11y/Makefile.am | 4 +- testsuite/a11y/state/Makefile.am | 4 +- testsuite/css/Makefile.am | 4 +- testsuite/css/nodes/Makefile.am | 4 +- testsuite/css/parser/Makefile.am | 4 +- testsuite/css/style/Makefile.am | 4 +- testsuite/gdk/Makefile.am | 2 +- testsuite/gtk/Makefile.am | 6 +- testsuite/reftests/Makefile.am | 8 +- 40 files changed, 242 insertions(+), 242 deletions(-) commit 74f3d7f6d3349f71a10cfd694718e75fd0ea1a3b Author: Matthias Clasen Date: Fri Oct 7 09:13:59 2016 -0400 Switch gettext domain from gtk30 to gtk40 Makefile.am | 2 +- configure.ac | 2 +- demos/gtk-demo/listbox.ui | 2 +- docs/RELEASE-HOWTO | 4 ++-- gtk/inspector/actions.ui | 2 +- gtk/inspector/css-editor.ui | 2 +- gtk/inspector/css-node-tree.ui | 2 +- gtk/inspector/data-list.ui | 2 +- gtk/inspector/general.ui | 2 +- gtk/inspector/magnifier.ui | 2 +- gtk/inspector/menu.ui | 2 +- gtk/inspector/misc-info.ui | 2 +- gtk/inspector/object-hierarchy.ui | 2 +- gtk/inspector/object-tree.ui | 2 +- gtk/inspector/prop-list.ui | 2 +- gtk/inspector/resource-list.ui | 2 +- gtk/inspector/selector.ui | 2 +- gtk/inspector/signals-list.ui | 2 +- gtk/inspector/statistics.ui | 2 +- gtk/inspector/visual.ui | 2 +- gtk/inspector/window.ui | 2 +- make-pot | 10 +++++----- po-properties/Makevars | 2 +- po/Makevars | 2 +- 24 files changed, 29 insertions(+), 29 deletions(-) commit ecd384eeb77b2808cdc0fb56c4b795c0c6497b7a Author: Matthias Clasen Date: Wed Oct 5 15:32:01 2016 -0400 Adjust versions in configure.ac This is almost certainly incomplete or wrong in some places. Needs careful scrutiny configure.ac | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 4cce6104a49be7186b5b2c822f8cd27d565e8eb0 Author: Matthias Clasen Date: Wed Oct 5 15:28:04 2016 -0400 Rename pc files from 3.0 to 4.0 Makefile.am | 50 +++++++++++----------- configure.ac | 8 ++-- gail-3.0.pc.in => gail-4.0.pc.in | 6 +-- gdk-3.0.pc.in => gdk-4.0.pc.in | 2 +- gtk+-3.0.pc.in => gtk+-4.0.pc.in | 2 +- ...ix-print-3.0.pc.in => gtk+-unix-print-4.0.pc.in | 0 6 files changed, 34 insertions(+), 34 deletions(-) commit eeffde368f2e563c998971df590e69dda2c19c33 Author: gogo Date: Thu Oct 6 16:16:32 2016 +0000 Update Croatian translation (cherry picked from commit 0a08a199d8c28c28a5496f3657de87d0fff14a3e) po/hr.po | 905 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 496 insertions(+), 409 deletions(-) commit f06485e278cea68f3ba72b295833d07867c93ef2 Author: gogo Date: Thu Oct 6 16:08:43 2016 +0000 Update Croatian translation (cherry picked from commit 051fddaa610c91c966e92cff151424e6d2834049) po-properties/hr.po | 1964 +++++++++++++++++++++++++++------------------------ 1 file changed, 1043 insertions(+), 921 deletions(-) commit ddd1ac093436e4c0d5a10b00d30a0f0d39d50bf1 Author: Matthias Clasen Date: Wed Oct 5 12:20:14 2016 -0400 entry: Fix a corner case of overwrite mode We currently beep when a character is appended at the end in overwrite mode. That is obviously not right. Patch based on a patch by Ian MacDonald. https://bugzilla.gnome.org/show_bug.cgi?id=772389 gtk/gtkentry.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 3da324fbce91634a4ad4f1cac0fda00c8040c5ee Author: Lapo Calamandrei Date: Wed Oct 5 13:47:52 2016 +0200 Adwaita: render updated assets. .../slider-horz-scale-has-marks-above-active-dark.png | Bin 890 -> 879 bytes ...lider-horz-scale-has-marks-above-active-dark@2.png | Bin 1816 -> 1835 bytes .../slider-horz-scale-has-marks-above-active.png | Bin 985 -> 990 bytes .../slider-horz-scale-has-marks-above-active@2.png | Bin 2129 -> 2122 bytes ...lider-horz-scale-has-marks-above-backdrop-dark.png | Bin 775 -> 773 bytes ...der-horz-scale-has-marks-above-backdrop-dark@2.png | Bin 1449 -> 1427 bytes ...cale-has-marks-above-backdrop-insensitive-dark.png | Bin 739 -> 760 bytes ...le-has-marks-above-backdrop-insensitive-dark@2.png | Bin 1412 -> 1438 bytes ...orz-scale-has-marks-above-backdrop-insensitive.png | Bin 810 -> 780 bytes ...z-scale-has-marks-above-backdrop-insensitive@2.png | Bin 1599 -> 1484 bytes .../slider-horz-scale-has-marks-above-backdrop.png | Bin 813 -> 763 bytes .../slider-horz-scale-has-marks-above-backdrop@2.png | Bin 1601 -> 1478 bytes .../assets/slider-horz-scale-has-marks-above-dark.png | Bin 845 -> 831 bytes .../slider-horz-scale-has-marks-above-dark@2.png | Bin 1790 -> 1838 bytes .../slider-horz-scale-has-marks-above-hover-dark.png | Bin 849 -> 834 bytes ...slider-horz-scale-has-marks-above-hover-dark@2.png | Bin 1811 -> 1767 bytes .../slider-horz-scale-has-marks-above-hover.png | Bin 1010 -> 968 bytes .../slider-horz-scale-has-marks-above-hover@2.png | Bin 2177 -> 2083 bytes ...er-horz-scale-has-marks-above-insensitive-dark.png | Bin 739 -> 767 bytes ...-horz-scale-has-marks-above-insensitive-dark@2.png | Bin 1412 -> 1452 bytes .../slider-horz-scale-has-marks-above-insensitive.png | Bin 810 -> 807 bytes ...lider-horz-scale-has-marks-above-insensitive@2.png | Bin 1598 -> 1506 bytes .../assets/slider-horz-scale-has-marks-above.png | Bin 983 -> 977 bytes .../assets/slider-horz-scale-has-marks-above@2.png | Bin 2119 -> 2081 bytes .../slider-horz-scale-has-marks-below-active-dark.png | Bin 894 -> 889 bytes ...lider-horz-scale-has-marks-below-active-dark@2.png | Bin 1962 -> 1860 bytes .../slider-horz-scale-has-marks-below-active.png | Bin 965 -> 943 bytes .../slider-horz-scale-has-marks-below-active@2.png | Bin 2152 -> 2131 bytes ...lider-horz-scale-has-marks-below-backdrop-dark.png | Bin 772 -> 777 bytes ...der-horz-scale-has-marks-below-backdrop-dark@2.png | Bin 1508 -> 1460 bytes ...cale-has-marks-below-backdrop-insensitive-dark.png | Bin 738 -> 763 bytes ...le-has-marks-below-backdrop-insensitive-dark@2.png | Bin 1483 -> 1438 bytes ...orz-scale-has-marks-below-backdrop-insensitive.png | Bin 772 -> 790 bytes ...z-scale-has-marks-below-backdrop-insensitive@2.png | Bin 1590 -> 1455 bytes .../slider-horz-scale-has-marks-below-backdrop.png | Bin 786 -> 777 bytes .../slider-horz-scale-has-marks-below-backdrop@2.png | Bin 1593 -> 1437 bytes .../assets/slider-horz-scale-has-marks-below-dark.png | Bin 856 -> 851 bytes .../slider-horz-scale-has-marks-below-dark@2.png | Bin 1868 -> 1847 bytes .../slider-horz-scale-has-marks-below-hover-dark.png | Bin 866 -> 867 bytes ...slider-horz-scale-has-marks-below-hover-dark@2.png | Bin 1894 -> 1833 bytes .../slider-horz-scale-has-marks-below-hover.png | Bin 1008 -> 962 bytes .../slider-horz-scale-has-marks-below-hover@2.png | Bin 2270 -> 2034 bytes ...er-horz-scale-has-marks-below-insensitive-dark.png | Bin 738 -> 756 bytes ...-horz-scale-has-marks-below-insensitive-dark@2.png | Bin 1483 -> 1436 bytes .../slider-horz-scale-has-marks-below-insensitive.png | Bin 772 -> 802 bytes ...lider-horz-scale-has-marks-below-insensitive@2.png | Bin 1591 -> 1504 bytes .../assets/slider-horz-scale-has-marks-below.png | Bin 1008 -> 1003 bytes .../assets/slider-horz-scale-has-marks-below@2.png | Bin 2184 -> 2058 bytes .../slider-vert-scale-has-marks-above-active-dark.png | Bin 912 -> 916 bytes ...lider-vert-scale-has-marks-above-active-dark@2.png | Bin 1941 -> 1964 bytes .../slider-vert-scale-has-marks-above-active.png | Bin 988 -> 982 bytes .../slider-vert-scale-has-marks-above-active@2.png | Bin 2218 -> 2257 bytes ...lider-vert-scale-has-marks-above-backdrop-dark.png | Bin 777 -> 759 bytes ...der-vert-scale-has-marks-above-backdrop-dark@2.png | Bin 1482 -> 1469 bytes ...cale-has-marks-above-backdrop-insensitive-dark.png | Bin 722 -> 748 bytes ...le-has-marks-above-backdrop-insensitive-dark@2.png | Bin 1432 -> 1425 bytes ...ert-scale-has-marks-above-backdrop-insensitive.png | Bin 841 -> 791 bytes ...t-scale-has-marks-above-backdrop-insensitive@2.png | Bin 1597 -> 1491 bytes .../slider-vert-scale-has-marks-above-backdrop.png | Bin 830 -> 769 bytes .../slider-vert-scale-has-marks-above-backdrop@2.png | Bin 1594 -> 1456 bytes .../assets/slider-vert-scale-has-marks-above-dark.png | Bin 897 -> 887 bytes .../slider-vert-scale-has-marks-above-dark@2.png | Bin 1912 -> 1921 bytes .../slider-vert-scale-has-marks-above-hover-dark.png | Bin 898 -> 890 bytes ...slider-vert-scale-has-marks-above-hover-dark@2.png | Bin 1902 -> 1918 bytes .../slider-vert-scale-has-marks-above-hover.png | Bin 998 -> 997 bytes .../slider-vert-scale-has-marks-above-hover@2.png | Bin 2133 -> 2184 bytes ...er-vert-scale-has-marks-above-insensitive-dark.png | Bin 722 -> 724 bytes ...-vert-scale-has-marks-above-insensitive-dark@2.png | Bin 1432 -> 1460 bytes .../slider-vert-scale-has-marks-above-insensitive.png | Bin 841 -> 799 bytes ...lider-vert-scale-has-marks-above-insensitive@2.png | Bin 1597 -> 1520 bytes .../assets/slider-vert-scale-has-marks-above.png | Bin 1035 -> 1041 bytes .../assets/slider-vert-scale-has-marks-above@2.png | Bin 2256 -> 2285 bytes .../slider-vert-scale-has-marks-below-active-dark.png | Bin 938 -> 933 bytes ...lider-vert-scale-has-marks-below-active-dark@2.png | Bin 2018 -> 2052 bytes .../slider-vert-scale-has-marks-below-active.png | Bin 1042 -> 1034 bytes .../slider-vert-scale-has-marks-below-active@2.png | Bin 2242 -> 2320 bytes ...lider-vert-scale-has-marks-below-backdrop-dark.png | Bin 767 -> 757 bytes ...der-vert-scale-has-marks-below-backdrop-dark@2.png | Bin 1542 -> 1524 bytes ...cale-has-marks-below-backdrop-insensitive-dark.png | Bin 715 -> 734 bytes ...le-has-marks-below-backdrop-insensitive-dark@2.png | Bin 1490 -> 1512 bytes ...ert-scale-has-marks-below-backdrop-insensitive.png | Bin 812 -> 787 bytes ...t-scale-has-marks-below-backdrop-insensitive@2.png | Bin 1661 -> 1520 bytes .../slider-vert-scale-has-marks-below-backdrop.png | Bin 804 -> 773 bytes .../slider-vert-scale-has-marks-below-backdrop@2.png | Bin 1664 -> 1499 bytes .../assets/slider-vert-scale-has-marks-below-dark.png | Bin 896 -> 893 bytes .../slider-vert-scale-has-marks-below-dark@2.png | Bin 1958 -> 2021 bytes .../slider-vert-scale-has-marks-below-hover-dark.png | Bin 917 -> 908 bytes ...slider-vert-scale-has-marks-below-hover-dark@2.png | Bin 2004 -> 1949 bytes .../slider-vert-scale-has-marks-below-hover.png | Bin 1013 -> 1016 bytes .../slider-vert-scale-has-marks-below-hover@2.png | Bin 2166 -> 2230 bytes ...er-vert-scale-has-marks-below-insensitive-dark.png | Bin 715 -> 735 bytes ...-vert-scale-has-marks-below-insensitive-dark@2.png | Bin 1490 -> 1489 bytes .../slider-vert-scale-has-marks-below-insensitive.png | Bin 812 -> 803 bytes ...lider-vert-scale-has-marks-below-insensitive@2.png | Bin 1661 -> 1548 bytes .../assets/slider-vert-scale-has-marks-below.png | Bin 1041 -> 1047 bytes .../assets/slider-vert-scale-has-marks-below@2.png | Bin 2294 -> 2286 bytes .../Adwaita/assets/text-select-end-active-dark.png | Bin 928 -> 829 bytes .../Adwaita/assets/text-select-end-active-dark@2.png | Bin 2070 -> 1727 bytes gtk/theme/Adwaita/assets/text-select-end-active.png | Bin 992 -> 941 bytes gtk/theme/Adwaita/assets/text-select-end-active@2.png | Bin 2072 -> 1871 bytes gtk/theme/Adwaita/assets/text-select-end-dark.png | Bin 913 -> 826 bytes gtk/theme/Adwaita/assets/text-select-end-dark@2.png | Bin 1995 -> 1768 bytes .../Adwaita/assets/text-select-end-hover-dark.png | Bin 916 -> 789 bytes .../Adwaita/assets/text-select-end-hover-dark@2.png | Bin 2058 -> 1624 bytes gtk/theme/Adwaita/assets/text-select-end-hover.png | Bin 960 -> 933 bytes gtk/theme/Adwaita/assets/text-select-end-hover@2.png | Bin 1972 -> 1785 bytes gtk/theme/Adwaita/assets/text-select-end.png | Bin 947 -> 916 bytes gtk/theme/Adwaita/assets/text-select-end@2.png | Bin 1952 -> 1889 bytes .../Adwaita/assets/text-select-start-active-dark.png | Bin 895 -> 787 bytes .../assets/text-select-start-active-dark@2.png | Bin 1931 -> 1646 bytes gtk/theme/Adwaita/assets/text-select-start-active.png | Bin 958 -> 908 bytes .../Adwaita/assets/text-select-start-active@2.png | Bin 1946 -> 1805 bytes gtk/theme/Adwaita/assets/text-select-start-dark.png | Bin 859 -> 766 bytes gtk/theme/Adwaita/assets/text-select-start-dark@2.png | Bin 1828 -> 1638 bytes .../Adwaita/assets/text-select-start-hover-dark.png | Bin 868 -> 740 bytes .../Adwaita/assets/text-select-start-hover-dark@2.png | Bin 1899 -> 1504 bytes gtk/theme/Adwaita/assets/text-select-start-hover.png | Bin 911 -> 883 bytes .../Adwaita/assets/text-select-start-hover@2.png | Bin 1842 -> 1718 bytes gtk/theme/Adwaita/assets/text-select-start.png | Bin 861 -> 859 bytes gtk/theme/Adwaita/assets/text-select-start@2.png | Bin 1838 -> 1806 bytes 120 files changed, 0 insertions(+), 0 deletions(-) commit f2eda1acc5841f0ed0e1480c3564f885fdb8c8a6 Author: Lapo Calamandrei Date: Wed Oct 5 11:35:47 2016 +0200 Adwaita: update assets svg correct colors for pointy sliders assets. gtk/theme/Adwaita/assets.svg | 598 +++++++++++++++++++++++++++++-------------- 1 file changed, 402 insertions(+), 196 deletions(-) commit 81cad59aebe89cbff80e34678abd51899351b766 Author: Piotr Drąg Date: Mon Oct 3 16:45:20 2016 +0200 gtk-launch: Move translator comment one line down So it appears in .po files. gtk/gtk-launch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 83efaaf64af711c2f4cf29a64798fe594fc34af1 Author: William Hua Date: Wed Sep 28 18:33:24 2016 -0400 gtkcombobox: pass trigger event when popping up menu https://bugzilla.gnome.org/show_bug.cgi?id=771242 gtk/gtkcombobox.c | 38 +++++++++++++++++--------------------- 1 file changed, 17 insertions(+), 21 deletions(-) commit 870af2b7c6320ae9be68477274a592f0c64d93cc Author: Milo Casagrande Date: Mon Oct 3 09:36:15 2016 +0000 Updated Italian translation po/it.po | 1069 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 584 insertions(+), 485 deletions(-) commit fac9d59303ea5805f11bddca9d9b9d7f512b4a5f Author: Milo Casagrande Date: Mon Oct 3 09:30:44 2016 +0000 Updated Italian translation po-properties/it.po | 2184 +++++++++++++++++++++++++++------------------------ 1 file changed, 1155 insertions(+), 1029 deletions(-) commit 51fb56504e64e178760221b15dfeeb304b2442f7 Author: Jiri Grönroos Date: Sun Oct 2 17:57:30 2016 +0000 Updated Finnish translation po/fi.po | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) commit ae7a1e0d08a19184b659ca38623431b210d0f84a Author: Matthias Clasen Date: Fri Sep 30 15:29:50 2016 -0400 3.22.1 NEWS | 38 ++++++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 40 insertions(+), 2 deletions(-) commit ae8ffc775dabaa4b4050714348f8a5cece8a6a65 Author: Christoph Reiter Date: Tue Sep 27 11:39:04 2016 +0200 widget: Don't print underallocation warnings by default See similar changes: https://git.gnome.org/browse/gtk+/commit/?id=1b15588732f2c4e3c59994a59613d4e5c963e283 https://git.gnome.org/browse/gtk+/commit/?id=54fdcb3ffac3383432b379f3e16e8cb0086b8101 https://bugzilla.gnome.org/show_bug.cgi?id=770388 gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9701b58c4efb6375843a7bb67c8a3cdfac1d3f2a Author: Victor Toso Date: Thu Sep 29 18:45:42 2016 +0200 icon-theme: Fix leaks on error 13 bytes in 1 blocks are definitely lost in loss record 766 of 16,875 at 0x4C2DB9D: malloc (vg_replace_malloc.c:299) by 0xA9D0247: vasprintf (in /usr/lib64/libc-2.24.so) by 0xA2453FC: g_vasprintf (gprintf.c:316) by 0xA2152F7: g_strdup_vprintf (gstrfuncs.c:514) by 0xA21539C: g_strdup_printf (gstrfuncs.c:540) by 0x678F25C: gdk_rgba_to_string (gdkrgba.c:360) by 0x5FAE00D: rgba_to_string_noalpha (gtkicontheme.c:4322) by 0x5FAE6F2: gtk_icon_info_load_symbolic_svg (gtkicontheme.c:4492) by 0x5FAED4F: gtk_icon_info_load_symbolic_internal (gtkicontheme.c:4622) by 0x5FAEEE8: gtk_icon_info_load_symbolic (gtkicontheme.c:4711) by 0x5F00246: gtk_css_image_recolor_load (gtkcssimagerecolor.c:118) by 0x5F003E4: gtk_css_image_recolor_compute (gtkcssimagerecolor.c:170) 14 bytes in 1 blocks are definitely lost in loss record 801 of 16,875 at 0x4C2DB9D: malloc (vg_replace_malloc.c:299) by 0xA9D0247: vasprintf (in /usr/lib64/libc-2.24.so) by 0xA2453FC: g_vasprintf (gprintf.c:316) by 0xA2152F7: g_strdup_vprintf (gstrfuncs.c:514) by 0xA21539C: g_strdup_printf (gstrfuncs.c:540) by 0x678F25C: gdk_rgba_to_string (gdkrgba.c:360) by 0x5FAE00D: rgba_to_string_noalpha (gtkicontheme.c:4322) by 0x5FAE68E: gtk_icon_info_load_symbolic_svg (gtkicontheme.c:4482) by 0x5FAED4F: gtk_icon_info_load_symbolic_internal (gtkicontheme.c:4622) by 0x5FAEEE8: gtk_icon_info_load_symbolic (gtkicontheme.c:4711) by 0x5F00246: gtk_css_image_recolor_load (gtkcssimagerecolor.c:118) by 0x5F003E4: gtk_css_image_recolor_compute (gtkcssimagerecolor.c:170) 15 bytes in 1 blocks are definitely lost in loss record 838 of 16,875 at 0x4C2DB9D: malloc (vg_replace_malloc.c:299) by 0xA9D0247: vasprintf (in /usr/lib64/libc-2.24.so) by 0xA2453FC: g_vasprintf (gprintf.c:316) by 0xA2152F7: g_strdup_vprintf (gstrfuncs.c:514) by 0xA21539C: g_strdup_printf (gstrfuncs.c:540) by 0x678F25C: gdk_rgba_to_string (gdkrgba.c:360) by 0x5FAE00D: rgba_to_string_noalpha (gtkicontheme.c:4322) by 0x5FAE6C3: gtk_icon_info_load_symbolic_svg (gtkicontheme.c:4487) by 0x5FAED4F: gtk_icon_info_load_symbolic_internal (gtkicontheme.c:4622) by 0x5FAEEE8: gtk_icon_info_load_symbolic (gtkicontheme.c:4711) by 0x5F00246: gtk_css_image_recolor_load (gtkcssimagerecolor.c:118) by 0x5F003E4: gtk_css_image_recolor_compute (gtkcssimagerecolor.c:170) 16,384 bytes in 1 blocks are definitely lost in loss record 16,847 of 16,875 at 0x4C2DADE: malloc (vg_replace_malloc.c:298) by 0x4C2FC91: realloc (vg_replace_malloc.c:785) by 0xA1F89FA: g_realloc (gmem.c:159) by 0xA1BAD2E: g_array_maybe_expand (garray.c:779) by 0xA1BA566: g_array_set_size (garray.c:555) by 0xA1BBCB8: g_byte_array_set_size (garray.c:1752) by 0x8D1CC48: g_file_load_contents (gfile.c:6766) by 0x5FAE767: gtk_icon_info_load_symbolic_svg (gtkicontheme.c:4501) by 0x5FAED4F: gtk_icon_info_load_symbolic_internal (gtkicontheme.c:4622) by 0x5FAEEE8: gtk_icon_info_load_symbolic (gtkicontheme.c:4711) by 0x5F00246: gtk_css_image_recolor_load (gtkcssimagerecolor.c:118) by 0x5F003E4: gtk_css_image_recolor_compute (gtkcssimagerecolor.c:170) https://bugzilla.gnome.org/show_bug.cgi?id=772215 gtk/gtkicontheme.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit 6c7d78f07d54b9691a35a9406b9978bb23665a83 Author: Dušan Kazik Date: Fri Sep 30 16:46:41 2016 +0000 Updated Slovak translation po-properties/sk.po | 713 ++++++++++++++++++++++------------------------------ 1 file changed, 298 insertions(+), 415 deletions(-) commit f7c0661a61f4fe46fa691ee2133a39877e110736 Author: Jonas Ådahl Date: Fri Sep 16 15:42:37 2016 +0800 wayland: Only 'moved-to-rect' if move_to_rect() was used Don't emit the 'moved-to-rect' signal if move_to_rect() was used. https://bugzilla.gnome.org/show_bug.cgi?id=771516 gdk/wayland/gdkwindow-wayland.c | 3 +++ 1 file changed, 3 insertions(+) commit 13e00b70c08d85750784ea014080d1ce52604dac Author: Richard Hughes Date: Wed Sep 28 14:14:02 2016 +0100 Add GDK_AVAILABLE_IN_3_90 gdk/gdkversionmacros.h.in | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 769ee1156de0cb2b4528e56234315848fc73acc8 Author: Carlos Garnacho Date: Wed Sep 28 19:56:49 2016 +0200 popover: Update scrollable on relative-to hierarchy changes The relative-to widget may be reparented itself into/out of a scrollable. In this cases make the hierachy-changed handler to unset the parent scrollable when unparented, and look up again the parent scrollable after it's reparented. https://bugzilla.gnome.org/show_bug.cgi?id=771812 gtk/gtkpopover.c | 4 ++++ 1 file changed, 4 insertions(+) commit 588a1dce2b1fb97acb8304799a7711fa62d0a2aa Author: Carlos Garnacho Date: Wed Sep 28 19:53:10 2016 +0200 popover: Add helper functions around setting up an scrollable gtk_popover_set_scrollable_full() takes care of the signal connected on the scrollable itself, in addition to the adjustment signals the popover listens to. gtk_popover_update_scrollable() looks up the current relative-to widget hierarchy and updates the current scrollable. The places where the scrollable is being maintained have been updated to use these functions. https://bugzilla.gnome.org/show_bug.cgi?id=771812 gtk/gtkpopover.c | 57 +++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 40 insertions(+), 17 deletions(-) commit 73d09c8f7449e505bcfc5a6394702183319a2637 Author: Christian Hergert Date: Wed Sep 28 12:37:41 2016 -0700 scrolledwindow: handle NULL cursor safely It's possible to get a NULL cursor back if there are improperly configured or missing cursors on the system. gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7292b035593008e79cf4aae1b8dcf0f7a83bc55f Author: Gustavo Noronha Silva Date: Mon Sep 26 10:56:42 2016 +0200 wayland: always sync state after a frame is painted Opaque region, margin and input region were only being synced when a cairo paint happened. That caused GL paints to sometimes end up with bad state. Move calls to sync state to gdk_window_impl_wayland_end_paint. https://bugzilla.gnome.org/show_bug.cgi?id=771553 gdk/wayland/gdkwindow-wayland.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit dbd0923b5f7b4a7cdea182c8d20085c013c4571c Author: Olivier Fourdan Date: Tue Sep 27 16:48:57 2016 +0200 wayland: Avoid negative size constraints Setting the shadow width earlier as done with commit 4cb1b96 to address bug 771561 proved to cause unexpected side effects on size_allocate signal propagation. As the window is sized correctly earlier, the size_allocate signal is not emitted again in gtk_widget_size_allocate_with_baseline() which prevents clutter-gtk from relocating its child widget correctly. To avoid this issue, revert commit 4cb1b96 but make sure the values passed as min and max size is never negative in Wayland as this is a protocol error. With this, the min/max size will be wrong for a short amount of time, during the state transition, until the shadow width is updated from gdk_window_set_shadow_width(). This approach is much safer and less intrusive than changing the size_allocate logic in gtk. This reverts commit 4cb1b9645e84054c059f174240e8e288c4befe05. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=771915 gdk/wayland/gdkwindow-wayland.c | 8 ++++---- gtk/gtkwindow.c | 14 -------------- 2 files changed, 4 insertions(+), 18 deletions(-) commit b684b23c74202cd78dcc1885effcb30c97bea9d8 Author: Christian Hergert Date: Tue Sep 27 14:12:43 2016 -0700 entry: handle NULL cursor when updating cursors If we got a NULL cursor from gdk_cursor_new_from_name(), we need to handle that when unreffing. gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7ecd3378771f2aab230cd53f191ff4f6b9474699 Author: Christian Hergert Date: Tue Sep 27 14:09:02 2016 -0700 entry: handle NULL cursor when releasing reference If we happen to have gotten NULL back for a cursor, then we need to check before unreffing it. gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3c775eb2b808c6f7b1b7a6eab5fefe1085d74c5a Author: Christian Hergert Date: Tue Sep 27 12:41:55 2016 -0700 treeviewcolumn: use g_clear_object when freeing cursor There is the chance that the cursor returned NULL on systems with missing cursors. This defensively handles that by checking for a NULL cursor. gtk/gtktreeviewcolumn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8a7d0ab4813457088335685e956313afbd1d65a1 Author: Matthias Clasen Date: Tue Sep 27 15:12:47 2016 -0400 Make gtk_init_with_args behave as documented This docs say it should return FALSE if the display can't be opened, but it was failing. https://bugzilla.gnome.org/show_bug.cgi?id=771959 gtk/gtkmain.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 6181ff255251ce9cde231c6db8c04e4f4bb1d71b Author: Matthias Clasen Date: Tue Sep 27 14:55:13 2016 -0400 paned: quietly handle missing cursors The row-/col-resize cursors should really be present, but if they aren't we don't need to crash. https://bugzilla.gnome.org/show_bug.cgi?id=771963 gtk/gtkpaned.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit fea851b3eb4b3fd9d450ab71530465963354baf8 Author: Gautier Pelloux-Prayer Date: Tue Sep 27 15:51:50 2016 +0200 Fix wrong URL link in gtkshortcutswindow documentation https://bugzilla.gnome.org/show_bug.cgi?id=772057 gtk/gtkshortcutswindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fa23641992e0fc1e7ec64c56975d7b13d7d0de1b Author: Daniel Drake Date: Mon Sep 26 13:18:59 2016 -0600 _gtk_icon_helper_draw: get style earlier After checking for rendered_surface, the call to gtk_css_node_get_style can invalidate the style and result in rendered_surface being set to NULL. This was result in some icon views appearing blank on Endless OS on armv7hl, and this error: Gtk-CRITICAL **: gtk_css_style_render_icon_surface: assertion 'surface != NULL' failed Call gtk_css_node_get_style earlier to ensure we always pass a valid surface to gtk_css_style_render_icon_surface. https://bugzilla.gnome.org/show_bug.cgi?id=765649 https://phabricator.endlessm.com/T13524 gtk/gtkiconhelper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit fe216b0039bb4344d715421245327ce3547c0a08 Author: Andreas Pokorny Date: Sun Aug 14 01:29:35 2016 +0200 Do not filter out small scroll event fractions The scroll motion values are subject of batching and scaling. Either through scaling or by using a touchpad smooth scroll motion changes below 0.5 are possible. https://bugzilla.gnome.org/show_bug.cgi?id=769554 Signed-off-by: Andreas Pokorny gdk/mir/gdkmireventsource.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ea0436c3b5cf9699e757b658903c4ff1039509b2 Author: Charles Monzat Date: Mon Sep 26 08:45:58 2016 +0000 Updated French translation po/fr.po | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) commit 4a4ef04020f0774d2198d5d52ab40b9270b6e874 Author: Piotr Drąg Date: Sat Sep 24 18:17:34 2016 +0200 bloatpad: replace single quotes with double quotes in menus.ui Double quotes are more friendly to some l10n tools, and this sets a good example for application authors to follow. examples/bp/gtk/menus.ui | 78 ++++++++++++++++++++++++------------------------ 1 file changed, 39 insertions(+), 39 deletions(-) commit ebc852249a06bcb9850f1425a257331b27a07c43 Author: Lapo Calamandrei Date: Sat Sep 24 16:08:39 2016 +0200 Adwaita: always use images for button backgrounds transitions gets messed up when some background-image and background-color are in the mix. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=769500 gtk/theme/Adwaita/_drawing.scss | 19 ++--- gtk/theme/Adwaita/gtk-contained-dark.css | 140 ++++++++++--------------------- gtk/theme/Adwaita/gtk-contained.css | 140 ++++++++++--------------------- 3 files changed, 92 insertions(+), 207 deletions(-) commit 17ff570023d2a64706b0efb31a3d8637a456f6d5 Author: gogo Date: Sat Sep 24 10:12:21 2016 +0000 Updated Croatian translation po/hr.po | 9585 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 5328 insertions(+), 4257 deletions(-) commit e023fac417a266e2ad5725cfb59e1afea6016d1d Author: gogo Date: Sat Sep 24 10:07:29 2016 +0000 Updated Croatian translation po-properties/hr.po | 10360 +++++++++++++++++++++++++++++--------------------- 1 file changed, 5935 insertions(+), 4425 deletions(-) commit 506426a30e7bd43f5a51752b499ed807a5866bea Author: Philip Withnall Date: Fri Sep 23 21:10:13 2016 -0700 gtktreeviewcolumn: Fix typo in typedef documentation gtk/gtktreeviewcolumn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ad32a48765dedcf2c795321e7930dc8aa65add31 Author: Balázs Meskó Date: Fri Sep 23 08:50:09 2016 +0000 Updated Hungarian translation po/hu.po | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) commit a7484beac49ce9c8a6f9436c72cc18c0ce56db9d Author: Rafael Fontenelle Date: Fri Sep 23 00:13:40 2016 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) commit 94425acc00c3a40736176e98d7c6e68c9c43e647 Author: Anders Jonsson Date: Thu Sep 22 20:09:46 2016 +0000 Updated Swedish translation po/sv.po | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) commit ad152590f84f26cbac0bf0a55e11e3d91662b47b Author: Yosef Or Boczko Date: Thu Sep 22 23:06:57 2016 +0300 Updated Hebrew translation po/he.po | 402 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 387 insertions(+), 15 deletions(-) commit aa49f861d5a6f0ccecc242f538e0b8257cee2e0f Author: Dušan Kazik Date: Thu Sep 22 20:00:54 2016 +0000 Updated Slovak translation po/sk.po | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) commit caaad3520766b77a5e7b9f47b7e2e4ff8c2dc904 Author: Mario Blättermann Date: Thu Sep 22 18:14:38 2016 +0000 Updated German translation po/de.po | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) commit 9aceb34429d410cf8c61a6ee12920e9df14288a5 Author: Matthias Clasen Date: Thu Sep 22 11:01:45 2016 -0700 Fix another type in the css docs docs/reference/gtk/css-overview.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c0048b426b49c2fa45711f2e05aa58ccb2276f97 Author: Matthias Clasen Date: Thu Sep 22 10:58:34 2016 -0700 Fix a typo in the css docs docs/reference/gtk/css-overview.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5cf367b9aa484a72991076dc0b0cffca0ed8b8ef Author: Baurzhan Muftakhidinov Date: Thu Sep 22 16:25:29 2016 +0000 Updated Kazakh translation po/kk.po | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) commit 7ac07ff09a2ad597b951f0814a7274083d247f1a Author: Piotr Drąg Date: Thu Sep 22 18:17:20 2016 +0200 Updated Polish translation po/pl.po | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) commit 539e616ad6e4e41285f97d30f9b58655d5b97d20 Author: Changwoo Ryu Date: Thu Sep 22 15:27:05 2016 +0000 Updated Korean translation po/ko.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d7af39efbc4367644233eda7e2c394c570f5cc12 Author: Marek Černocký Date: Thu Sep 22 17:26:05 2016 +0200 Updated Czech translation po/cs.po | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) commit dca4565980085a051279e9d8dddf1dec72a87a2b Author: Changwoo Ryu Date: Thu Sep 22 15:25:20 2016 +0000 Updated Korean translation po/ko.po | 91 ++++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 51 insertions(+), 40 deletions(-) commit cc814fdeac6e116c271365e679701dd3ce329362 Author: Carlos Soriano Date: Thu Sep 22 16:56:51 2016 +0200 gtkplacesview: mark string as translatable We missed it. https://bugzilla.gnome.org/show_bug.cgi?id=771666 gtk/ui/gtkplacesview.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a3f1596069ae966ffa785e85327a868e041560c4 Author: Rico Tzschichholz Date: Thu Sep 22 13:56:47 2016 +0200 Add some missing (nullable) annotations https://bugzilla.gnome.org/show_bug.cgi?id=771826 gdk/gdkdisplay.c | 6 +++--- gdk/gdkdnd.c | 2 +- gdk/gdkglcontext.c | 8 ++++---- gdk/gdkkeys.c | 4 ++-- gtk/deprecated/gtknumerableicon.c | 8 ++++---- gtk/deprecated/gtkstatusicon.c | 12 ++++++------ gtk/deprecated/gtkstyle.c | 2 +- gtk/deprecated/gtkthemingengine.c | 4 ++-- gtk/gtkactionable.c | 2 +- gtk/gtkcellrenderer.c | 6 +++--- gtk/gtkcsscustomproperty.c | 2 +- gtk/gtkdragdest.c | 2 +- gtk/gtkicontheme.c | 2 +- gtk/gtkrecentmanager.c | 8 ++++---- gtk/gtkstylecontext.c | 4 ++-- gtk/gtkstyleproperty.c | 2 +- gtk/gtkstyleprovider.c | 4 ++-- gtk/gtkwidgetpath.c | 4 ++-- gtk/gtkwindow.c | 2 +- 19 files changed, 42 insertions(+), 42 deletions(-) commit 54fdcb3ffac3383432b379f3e16e8cb0086b8101 Author: Timm Bäder Date: Thu Sep 22 08:58:14 2016 +0200 widget: Don't print missing allocation warning by default This was meant to be silenced unless expicitly requested but G_ENABLE_DEBUG is defined by default unless --disable-debug is passed to configure, so use G_ENABLE_CONSISTENCY_CHECKS instead which is only defined if --enable-debug is explicitly passed. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 06b2adb107688798bfcd7dd98b9b6b07f11bed66 Author: Lapo Calamandrei Date: Wed Sep 21 17:46:19 2016 +0200 encodesymbolic: handle circle objects add circle objects to the injected style for recoloring. Should avoid randomly colored symbolic icon bits when circles are in the mix as in network-vpn-acquiring-symbolic for example. gtk/encodesymbolic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 26dcb6aa8ee9686cc4beff1e6f6160bbcc5377ca Author: Khaled Hosny Date: Wed Sep 21 09:05:35 2016 +0200 Update Arabic translation po/ar.po | 428 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 219 insertions(+), 209 deletions(-) commit b74cd23e299418d67114c63ca4bc66dcf5af47e1 Author: Emmanuele Bassi Date: Tue Sep 20 23:32:00 2016 +0100 docs: Add a diagram for GtkListBox nodes GtkListBox's API reference for CSS nodes should follow the template of other widget classes. gtk/gtklistbox.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit f88c8e45e7bc7d4f702f3f4edfb1e34834dd3699 Author: Inaki Larranaga Murgoitio Date: Mon Sep 19 13:22:33 2016 +0200 Update Basque language po-properties/eu.po | 4722 ++++++++++++++++++++++++++------------------------- 1 file changed, 2412 insertions(+), 2310 deletions(-) commit c75e7cc1466356fdb963f91bcdabd23b33caf37b Author: Inaki Larranaga Murgoitio Date: Mon Sep 19 13:21:55 2016 +0200 Update Basque language po/eu.po | 4061 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 2224 insertions(+), 1837 deletions(-) commit b51255b6a7a883e4e5977057707205ab8f225d55 Author: Matthias Clasen Date: Mon Sep 19 10:07:29 2016 -0700 3.22.0 NEWS | 32 ++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 34 insertions(+), 2 deletions(-) commit d9c3fc1aed67b52a9b97cf977a0b3cdfa2553278 Author: Daniel Korostil Date: Tue Sep 20 00:05:57 2016 +0300 Updated Ukrainian translation po/uk.po | 1212 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 594 insertions(+), 618 deletions(-) commit f2a18709d5b93eecf9e5163543e6f22ec5d78283 Author: Ask Hjorth Larsen Date: Mon Sep 19 22:31:14 2016 +0200 Updated Danish translation po/da.po | 4279 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2273 insertions(+), 2006 deletions(-) commit d8776ae7564f3f1821895d7b4e13f32e2786dec5 Author: Jakub Steiner Date: Mon Sep 19 22:21:23 2016 +0200 Adwaita: sync svg assets with css - scale slider strokes were lighter on the SVG variants gtk/theme/Adwaita/assets.svg | 350 +++++---------------- ...ider-horz-scale-has-marks-above-active-dark.png | Bin 890 -> 890 bytes ...er-horz-scale-has-marks-above-active-dark@2.png | Bin 1831 -> 1816 bytes .../slider-horz-scale-has-marks-above-active.png | Bin 985 -> 985 bytes .../slider-horz-scale-has-marks-above-active@2.png | Bin 2071 -> 2129 bytes ...er-horz-scale-has-marks-above-backdrop-dark.png | Bin 775 -> 775 bytes ...-horz-scale-has-marks-above-backdrop-dark@2.png | Bin 1464 -> 1449 bytes ...e-has-marks-above-backdrop-insensitive-dark.png | Bin 739 -> 739 bytes ...has-marks-above-backdrop-insensitive-dark@2.png | Bin 1433 -> 1412 bytes ...-scale-has-marks-above-backdrop-insensitive.png | Bin 810 -> 810 bytes ...cale-has-marks-above-backdrop-insensitive@2.png | Bin 1542 -> 1599 bytes .../slider-horz-scale-has-marks-above-backdrop.png | Bin 813 -> 813 bytes ...lider-horz-scale-has-marks-above-backdrop@2.png | Bin 1538 -> 1601 bytes .../slider-horz-scale-has-marks-above-dark.png | Bin 853 -> 845 bytes .../slider-horz-scale-has-marks-above-dark@2.png | Bin 1790 -> 1790 bytes ...lider-horz-scale-has-marks-above-hover-dark.png | Bin 883 -> 849 bytes ...der-horz-scale-has-marks-above-hover-dark@2.png | Bin 1777 -> 1811 bytes .../slider-horz-scale-has-marks-above-hover.png | Bin 958 -> 1010 bytes .../slider-horz-scale-has-marks-above-hover@2.png | Bin 1998 -> 2177 bytes ...horz-scale-has-marks-above-insensitive-dark.png | Bin 739 -> 739 bytes ...rz-scale-has-marks-above-insensitive-dark@2.png | Bin 1433 -> 1412 bytes ...ider-horz-scale-has-marks-above-insensitive.png | Bin 810 -> 810 bytes ...er-horz-scale-has-marks-above-insensitive@2.png | Bin 1542 -> 1598 bytes .../assets/slider-horz-scale-has-marks-above.png | Bin 970 -> 983 bytes .../assets/slider-horz-scale-has-marks-above@2.png | Bin 2070 -> 2119 bytes ...ider-horz-scale-has-marks-below-active-dark.png | Bin 894 -> 894 bytes ...er-horz-scale-has-marks-below-active-dark@2.png | Bin 1853 -> 1962 bytes .../slider-horz-scale-has-marks-below-active.png | Bin 965 -> 965 bytes .../slider-horz-scale-has-marks-below-active@2.png | Bin 2094 -> 2152 bytes ...er-horz-scale-has-marks-below-backdrop-dark.png | Bin 772 -> 772 bytes ...-horz-scale-has-marks-below-backdrop-dark@2.png | Bin 1462 -> 1508 bytes ...e-has-marks-below-backdrop-insensitive-dark.png | Bin 738 -> 738 bytes ...has-marks-below-backdrop-insensitive-dark@2.png | Bin 1408 -> 1483 bytes ...-scale-has-marks-below-backdrop-insensitive.png | Bin 772 -> 772 bytes ...cale-has-marks-below-backdrop-insensitive@2.png | Bin 1556 -> 1590 bytes .../slider-horz-scale-has-marks-below-backdrop.png | Bin 786 -> 786 bytes ...lider-horz-scale-has-marks-below-backdrop@2.png | Bin 1547 -> 1593 bytes .../slider-horz-scale-has-marks-below-dark.png | Bin 860 -> 856 bytes .../slider-horz-scale-has-marks-below-dark@2.png | Bin 1794 -> 1868 bytes ...lider-horz-scale-has-marks-below-hover-dark.png | Bin 876 -> 866 bytes ...der-horz-scale-has-marks-below-hover-dark@2.png | Bin 1801 -> 1894 bytes .../slider-horz-scale-has-marks-below-hover.png | Bin 962 -> 1008 bytes .../slider-horz-scale-has-marks-below-hover@2.png | Bin 2021 -> 2270 bytes ...horz-scale-has-marks-below-insensitive-dark.png | Bin 738 -> 738 bytes ...rz-scale-has-marks-below-insensitive-dark@2.png | Bin 1408 -> 1483 bytes ...ider-horz-scale-has-marks-below-insensitive.png | Bin 772 -> 772 bytes ...er-horz-scale-has-marks-below-insensitive@2.png | Bin 1556 -> 1591 bytes .../assets/slider-horz-scale-has-marks-below.png | Bin 983 -> 1008 bytes .../assets/slider-horz-scale-has-marks-below@2.png | Bin 2073 -> 2184 bytes 49 files changed, 81 insertions(+), 269 deletions(-) commit 4cb1b9645e84054c059f174240e8e288c4befe05 Author: Olivier Fourdan Date: Mon Sep 19 16:11:54 2016 +0200 gtkwindow: Update shadow size on state change Otherwise, with CSD, we could have a discrepancy where gtk uses the right values for the shadows whereas the gdk backend still uses the old values, leading in some cases to invalid or negative min size being computed (which, in Wayland, leads a protocol error). https://bugzilla.gnome.org/show_bug.cgi?id=771561 gtk/gtkwindow.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit b6ac1b4bbf46221ee33fcca8f49c2c67c6cb6ed8 Author: Jeremy Tan Date: Sat Sep 17 20:46:30 2016 +0800 GDK W32: Ignore autorepeated key presses on modifier keys The X11 backend does not send autorepeated messages for modifier keys, and doing so prevents motion compression from working. https://bugzilla.gnome.org/show_bug.cgi?id=771568 gdk/win32/gdkevents-win32.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit a5c8fedf47759d5dbdd92e9b57e830040153f710 Author: Jeremy Tan Date: Sat Sep 17 17:19:59 2016 +0800 GDK W32: Always process all available messages The GLib main loop blocks on MsgWaitForMultipleObjectsEx to determine if there are any incoming messages while also allowing for background tasks to run. If all available messages are not processed after MsgWaitForMultipleObjectsEx has signaled that there are available, CPU usage will skyrocket. From my limited understanding (by inspection of profiling under Visual Studio): Key is pressed - MsgWaitForMultipleObjectsEx unblocks, and sends message to GDK's event handler. Some event is now queued. g_poll unblocks, calls the g_event_dispatch which finally resolves to gdk_event_dispatch. This then calls _gdk_win32_display_queue_events, but since a message is already queued, it fails to call PeekMessage and returns immediately. At the next iteration, g_poll again calls MsgWaitForMultipleObjectsEx which queues yet another event and returns almost immediately, since there are events available which haven't been processed by PeekMessage. The dispatch function is then called and the process repeats. https://bugzilla.gnome.org/show_bug.cgi?id=771568 gdk/win32/gdkevents-win32.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 6d722f2aaff3a5a41fc577829749f26112cd9b00 Author: David King Date: Sun Sep 18 14:12:06 2016 +0200 Update British English translation po-properties/en_GB.po | 5118 +++++++++++++++++++++++++++--------------------- po/en_GB.po | 326 +-- 2 files changed, 2928 insertions(+), 2516 deletions(-) commit efcc2b6b540a14b471be4b7d9fafb33cc34154b8 Author: Baurzhan Muftakhidinov Date: Sun Sep 18 08:47:39 2016 +0000 Updated Kazakh translation po/kk.po | 65 ++++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 35 insertions(+), 30 deletions(-) commit 0274b2c94e3d935632468a09977f7129d83b12f8 Author: Руслан Ижбулатов Date: Sat Sep 17 15:13:45 2016 +0000 GDK W32: Set is_modifier field in GdkKeyEvent This hardcodes Control, Alt and Shift as modifier keys. https://bugzilla.gnome.org/show_bug.cgi?id=602773 gdk/win32/gdkevents-win32.c | 3 +++ 1 file changed, 3 insertions(+) commit 08e443e0db6f74ade5836f8028073aeac14aab38 Author: Emmanuele Bassi Date: Sat Sep 17 12:47:39 2016 +0100 docs: Update gtk_window_get_size() The main corpus of the documentation for gtk_window_get_size() is still full of X11-isms, so we should port it to something that is more backend-agnostic. Additionally, having some examples would be nice for application authors looking at a way to appropriately use this function. gtk/gtkwindow.c | 133 ++++++++++++++++++++++++++++++++------------------------ 1 file changed, 76 insertions(+), 57 deletions(-) commit b40469638b5c7a21c36ce809067286b6897c41f3 Author: Tom Tryfonidis Date: Fri Sep 16 13:43:18 2016 +0000 Updated Greek translation po/el.po | 1062 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 578 insertions(+), 484 deletions(-) commit 28b1d5cc22e911908eb7328590b834908a77d6ee Author: Fran Dieguez Date: Fri Sep 16 10:34:20 2016 +0200 Updated Galician translations po/gl.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit fa97b19246482339c051a79a7af6657f04679f68 Author: Anders Jonsson Date: Thu Sep 15 21:54:18 2016 +0000 Updated Swedish translation po-properties/sv.po | 2192 +++++++++++++++++++++++++++------------------------ 1 file changed, 1158 insertions(+), 1034 deletions(-) commit e7a6d28e4f0b21e43da7ca8d006f438f312baadb Author: Claude Paroz Date: Thu Sep 15 12:37:43 2016 +0000 Updated French translation po-properties/fr.po | 96 +++++++++++++++++------------------------------------ 1 file changed, 30 insertions(+), 66 deletions(-) commit bb705837bc878b6028069fd7537e89975d50d2ee Author: Emmanuele Bassi Date: Thu Sep 15 10:05:05 2016 +0100 Ensure drawing context is set If somebody decides to use gtk_widget_set_double_buffered() in the middle of a draw() then there's the risk of calling end_draw_frame() with an invalid pointer. Some overeager compilers may warn about the double_buffered bit field changing values and leading to a potentially uninitialized variable. In order to avoid compiler warnings or crashes, we can simply store the value of the double_buffered bit field at the beginning of the rendering and use that instead of the actual bit field. https://bugzilla.gnome.org/show_bug.cgi?id=771463 gtk/gtkwidget.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 638c3e2e6bccea5c52c46ff57ed55b32f068accf Author: Dušan Kazik Date: Thu Sep 15 09:15:48 2016 +0000 Updated Slovak translation po/sk.po | 135 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 70 insertions(+), 65 deletions(-) commit 5ea69a136bd7e4970b3a800390e20314665aaed2 Author: Timm Bäder Date: Wed Sep 14 18:06:54 2016 -0400 widget: Only warn about missing allocation if G_ENABLE_DEBUG Not all occurrences of this warning can be fixed today, so put it behind a G_ENABLE_DEBUG flag since it still shows legitimate problems even if some of them are false positives. gtk/gtkwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit 108a4f88bfb076882629125d21651db4be408f91 Author: Daniel Mustieles Date: Wed Sep 14 20:43:32 2016 +0200 Updated Spanish translation po-properties/es.po | 233 +++++++++++++++++++++++++++------------------------- 1 file changed, 120 insertions(+), 113 deletions(-) commit 66db47217d998d2e14c77d998b0991dae609b5a2 Author: Daniel Mustieles Date: Wed Sep 14 20:43:22 2016 +0200 Updated Spanish translation po/es.po | 293 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 151 insertions(+), 142 deletions(-) commit 21bdf617cea13d0625e88d9cb0d03bd0df169e2d Author: Matthias Clasen Date: Tue Sep 13 10:45:06 2016 -0400 Implement gdk_screen_get_monitor_scale_factor generically This was forgotten when the other screen monitor apis were ported to GdkMonitor. https://bugzilla.gnome.org/show_bug.cgi?id=771349 gdk/gdkscreen.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 323a59577b861250f010cfc1d1dd675b7edabc07 Author: Rafael Fontenelle Date: Wed Sep 14 05:13:58 2016 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 85 ++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 45 insertions(+), 40 deletions(-) commit c529d0a96e688099c01f0c3fc1b9361f7875f9c8 Author: Jonas Ådahl Date: Mon Sep 12 18:46:44 2016 +0800 wayland: Move and resize popup after it was configured A popup may have moved and resized when configured. Make sure every layer knows about this and call gdk_window_move_resize() with the configured dimension and position. This won't actually move the window, but might resize it. https://bugzilla.gnome.org/show_bug.cgi?id=771117 gdk/wayland/gdkwindow-wayland.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit d792400d7c258b349c1dbaed0a12eee796a4b958 Author: Jonas Ådahl Date: Mon Sep 12 18:41:36 2016 +0800 wayland: Transform moved_to_rect result properly The result of move_to_rect, received from the xdg_popup.configure event, needs to be translated to the correct coordinate space; that is from real parent window geometry to coordinates relative to the gdk window set as transient-for. https://bugzilla.gnome.org/show_bug.cgi?id=771117 gdk/wayland/gdkwindow-wayland.c | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) commit 74d237df410f850e31d5d20e0380ca3ad1caf766 Author: Jonas Ådahl Date: Mon Sep 12 18:39:06 2016 +0800 wayland: Use helper to translate to real parent window geometry Use a helper to translate a coordinate from non-real GdkWindow parent to window geometry coordinate space of the real GdkWindow parent, meaning the coordinate space of the GdkWindow of the parent used as a xdg_popup parent where (0, 0) is inside of the shadow margin. https://bugzilla.gnome.org/show_bug.cgi?id=771117 gdk/wayland/gdkwindow-wayland.c | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) commit bc6630bb7dd71cfc3a5ed1f93e2ef56c987acb30 Author: Jonas Ådahl Date: Mon Sep 12 18:24:50 2016 +0800 wayland: Don't pass parent when creating dynamic positioner When using the dynamic positioner (i.e. positioning from move_to_rect) we can always rely on having a proper transient-for to position relative to, so lets drop the ignored parameter. https://bugzilla.gnome.org/show_bug.cgi?id=771117 gdk/wayland/gdkwindow-wayland.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 9a2ce3a485d31a28824fa94258ffa55de69a4a1c Author: Jonas Ådahl Date: Mon Sep 12 18:24:14 2016 +0800 wayland: Don't pass transient-for when getting real parent It's always derived from transient-for so no need to pass it. https://bugzilla.gnome.org/show_bug.cgi?id=771117 gdk/wayland/gdkwindow-wayland.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 50e33308db37bd4565efdda7c6d42c1a274b56e1 Author: Jonas Ådahl Date: Mon Sep 12 15:01:24 2016 +0800 wayland: Fix south-west anchor rect calculation https://bugzilla.gnome.org/show_bug.cgi?id=771117 gdk/wayland/gdkwindow-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4d2c0a843a1278c159e0a880c5c180c180a4b2fc Author: Jonas Ådahl Date: Mon Sep 12 15:00:21 2016 +0800 wayland: Don't pass non-changing state when calculating popup rects https://bugzilla.gnome.org/show_bug.cgi?id=771117 gdk/wayland/gdkwindow-wayland.c | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) commit e656a14764f409aaf1e7cc127188b8bdc67bbd7d Author: Jonas Ådahl Date: Mon Sep 12 14:53:51 2016 +0800 wayland: Move move_to_rect related code closer together Move the code used for calculating the result of move_to_rect (final_rect, flipped_rect etc) closer to the other move_to_rect functions (i.e. next to create_dynamic_positioner), and let the xdg_popup configure handler just call the calculation function. https://bugzilla.gnome.org/show_bug.cgi?id=771117 gdk/wayland/gdkwindow-wayland.c | 283 ++++++++++++++++++++++------------------ 1 file changed, 157 insertions(+), 126 deletions(-) commit 0b07884587efd37fbb781cd3dec4bfaa01c8b051 Author: Jordi Mas Date: Tue Sep 13 19:52:46 2016 +0200 Update Catalan translation po-properties/ca.po | 238 +-- po/ca.po | 4021 ++++++++++++++++++++++++++++----------------------- 2 files changed, 2310 insertions(+), 1949 deletions(-) commit 14c7f4b3fbcd30ee7fa690dc3f5cfd0daf23d599 Author: Arash Mousavi Date: Tue Sep 13 18:08:46 2016 +0430 [l10n] update Persian translations po/fa.po | 64 +++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 35 insertions(+), 29 deletions(-) commit 68a87196c45a451d6e5bbe134d6884f07f97b798 Author: Charles Monzat Date: Tue Sep 13 10:18:34 2016 +0000 Updated French translation po/fr.po | 108 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 57 insertions(+), 51 deletions(-) commit a36170581784353275b022d8312c13169b3dc0e6 Author: Matthias Clasen Date: Tue Sep 13 00:25:15 2016 -0400 3.21.6 NEWS | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 52 insertions(+), 1 deletion(-) commit 8ea88d9f4e7f774dff5c690a21f93984ed114465 Author: Fran Dieguez Date: Tue Sep 13 11:09:41 2016 +0200 Updated Galician translations po/gl.po | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) commit 63a22894c25fa77cc758102fcbef3c4a74cb7707 Author: Marek Černocký Date: Tue Sep 13 10:59:29 2016 +0200 Updated Czech translation po/cs.po | 134 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 70 insertions(+), 64 deletions(-) commit 063b38167f815ab58065da4de1db87dd7d5c11f6 Author: Erwan Georget Date: Mon Sep 12 21:30:41 2016 +0000 Updated French translation po-properties/fr.po | 2460 +++++++++++++++++++++++++++------------------------ 1 file changed, 1326 insertions(+), 1134 deletions(-) commit 7e148697ad2c92e3ac23a370f78aae5bdf1cf298 Author: Aurimas Černius Date: Mon Sep 12 20:49:17 2016 +0300 Updated Lithuanian translation po/lt.po | 247 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 121 insertions(+), 126 deletions(-) commit c7f2d19b5e1b47ba66ed0297c3895eb2d39a83d1 Author: Piotr Drąg Date: Mon Sep 12 19:46:09 2016 +0200 Add more options to XGETTEXT_OPTIONS in Makevars po-properties/Makevars | 2 +- po/Makevars | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit a5fcde9b5f7f2e4eb3d59bb62d9736f9f907fb85 Author: Jiri Grönroos Date: Mon Sep 12 17:27:09 2016 +0000 Updated Finnish translation po/fi.po | 125 +++++++++++++++++---------------------------------------------- 1 file changed, 34 insertions(+), 91 deletions(-) commit 8af6bade640ae967498b868326d2239ac5eb61df Author: Balázs Meskó Date: Mon Sep 12 09:06:21 2016 +0000 Updated Hungarian translation po/hu.po | 107 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 51 insertions(+), 56 deletions(-) commit eb17ee1c26bb5faf08d50264dbe5fcfc79e0666c Author: Olivier Fourdan Date: Mon Sep 5 17:53:38 2016 +0200 wayland: unmap popup along with its toplevel If an application umaps the toplevel from its popup callback, this can lead to a protocol error. Make sure we mark popup parent and use that to check if their parent is the toplevel being unmapped in which case we shall unmap the popup first to avoid the protocol error. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=770906 gdk/wayland/gdkwindow-wayland.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit 50595cc63f35f4a7c7ae0be3763dd6c2a7706b2d Author: Ask Hjorth Larsen Date: Mon Sep 12 03:16:16 2016 +0200 Updated Danish translation po/da.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit dbc7ff70d9b2781893371f09de00901e174eb68a Author: Ask Hjorth Larsen Date: Mon Sep 12 03:13:53 2016 +0200 Updated Danish translation po-properties/da.po | 2205 +++++++++++++++++++++++++++------------------------ 1 file changed, 1158 insertions(+), 1047 deletions(-) commit 764457fcce04652741d934774249fa10509600bb Author: Ask Hjorth Larsen Date: Mon Sep 12 03:11:36 2016 +0200 Updated Danish translation po/da.po | 4190 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 2009 insertions(+), 2181 deletions(-) commit edca0b1ad273362500e62fa2e98f16a68953353f Author: Anders Jonsson Date: Sun Sep 11 19:44:01 2016 +0000 Updated Swedish translation po/sv.po | 85 ++++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 45 insertions(+), 40 deletions(-) commit b6b3d1ba4fbc5b09c4658ae4e3a33b768ba1b2b7 Author: Stas Solovey Date: Sun Sep 11 18:20:55 2016 +0000 Updated Russian translation po/ru.po | 1070 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 584 insertions(+), 486 deletions(-) commit 8217d941b68c1175ad6982a79800497123b8f878 Author: Mario Blättermann Date: Sun Sep 11 17:00:23 2016 +0000 Updated German translation po/de.po | 87 ++++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 46 insertions(+), 41 deletions(-) commit 1e32d8687161400bac4d9a1d61947b83ccc1b26d Author: Piotr Drąg Date: Sun Sep 11 18:55:25 2016 +0200 Updated Polish translation po/pl.po | 52 +++++++++++++++++++++++++++++----------------------- 1 file changed, 29 insertions(+), 23 deletions(-) commit 29faa2db44b04b9cf7f4d96e32691f424490c730 Author: Matthias Clasen Date: Sun Sep 11 11:47:55 2016 -0400 Redo focus handling in treeview once more The fix for bug 767468 had some unintended side-effects. This is an attempt at doing the same fix (don't grab focus when we are grab-shadowed), while avoiding the breakage, by using GTK+'s internal tracking for grab-shadowed-ness. https://bugzilla.gnome.org/show_bug.cgi?id=770508 gtk/gtktreeview.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit d7b446ec06afa93bdbb686d4f322aa568146c763 Author: Matthias Clasen Date: Sun Sep 11 11:21:19 2016 -0400 Add a --version option to gtk3-widget-factory This was missing, for no good reason. demos/widget-factory/widget-factory.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) commit ac95470c0196feec1f2353425460d676a669a896 Author: Matthias Clasen Date: Sun Sep 11 11:04:40 2016 -0400 Add a --version option to gtk3-demo This was missing, for no good reason. demos/gtk-demo/main.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) commit 3f102c27aaeb6c8c1a51e1aa26108ab2be93ac46 Author: Matthias Clasen Date: Sun Sep 11 10:51:19 2016 -0400 gtk-launch: Add help string for --version This was missing for no good reason. gtk/gtk-launch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bce313881cae06ced9abac7d479a2cc22b1e1691 Author: Yosef Or Boczko Date: Sat Sep 10 23:43:57 2016 +0300 Updated Hebrew translation po/he.po | 131 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 65 insertions(+), 66 deletions(-) commit d2718ab12d46e13ced4ee147c905a528a49f203b Author: Dušan Kazik Date: Sat Sep 10 14:33:24 2016 +0000 Updated Slovak translation po-properties/sk.po | 4883 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 2898 insertions(+), 1985 deletions(-) commit 22ae9d0884fffb61ee826ec450e8d62ad1cdb957 Author: Mohammed Sadiq Date: Tue Sep 6 23:26:22 2016 +0530 examples: use G_DECLARE_FINAL_TYPE in applications G_DECLARE_FINAL_TYPE was introduced in glib 2.44. We shall use that now so that lots of boilerplate code can be reduced. https://bugzilla.gnome.org/show_bug.cgi?id=770278 examples/application1/exampleapp.c | 5 ----- examples/application1/exampleapp.h | 8 +------- examples/application1/exampleappwin.c | 5 ----- examples/application1/exampleappwin.h | 7 +------ examples/application10/exampleapp.c | 5 ----- examples/application10/exampleapp.h | 7 +------ examples/application10/exampleappprefs.c | 5 ----- examples/application10/exampleappprefs.h | 7 +------ examples/application10/exampleappwin.c | 5 ----- examples/application10/exampleappwin.h | 8 +------- examples/application2/exampleapp.c | 5 ----- examples/application2/exampleapp.h | 7 +------ examples/application2/exampleappwin.c | 5 ----- examples/application2/exampleappwin.h | 7 +------ examples/application3/exampleapp.c | 5 ----- examples/application3/exampleapp.h | 7 +------ examples/application3/exampleappwin.c | 5 ----- examples/application3/exampleappwin.h | 7 +------ examples/application4/exampleapp.c | 5 ----- examples/application4/exampleapp.h | 7 +------ examples/application4/exampleappwin.c | 5 ----- examples/application4/exampleappwin.h | 7 +------ examples/application5/exampleapp.c | 5 ----- examples/application5/exampleapp.h | 7 +------ examples/application5/exampleappwin.c | 5 ----- examples/application5/exampleappwin.h | 7 +------ examples/application6/exampleapp.c | 7 +------ examples/application6/exampleapp.h | 7 +------ examples/application6/exampleappprefs.c | 5 ----- examples/application6/exampleappprefs.h | 7 +------ examples/application6/exampleappwin.c | 7 +------ examples/application6/exampleappwin.h | 7 +------ examples/application7/exampleapp.c | 5 ----- examples/application7/exampleapp.h | 7 +------ examples/application7/exampleappprefs.c | 5 ----- examples/application7/exampleappprefs.h | 7 +------ examples/application7/exampleappwin.c | 5 ----- examples/application7/exampleappwin.h | 7 +------ examples/application8/exampleapp.c | 5 ----- examples/application8/exampleapp.h | 7 +------ examples/application8/exampleappprefs.c | 5 ----- examples/application8/exampleappprefs.h | 7 +------ examples/application8/exampleappwin.c | 5 ----- examples/application8/exampleappwin.h | 7 +------ examples/application9/exampleapp.c | 5 ----- examples/application9/exampleapp.h | 7 +------ examples/application9/exampleappprefs.c | 5 ----- examples/application9/exampleappprefs.h | 7 +------ examples/application9/exampleappwin.c | 5 ----- examples/application9/exampleappwin.h | 7 +------ 50 files changed, 27 insertions(+), 279 deletions(-) commit d817d525e6bbc4a5abeb304f037d30a29c6c76b4 Author: Fran Dieguez Date: Sat Sep 10 01:10:49 2016 +0200 Updated Galician translations po/gl.po | 4030 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2175 insertions(+), 1855 deletions(-) commit d4bf2156119c7be55d1a7cc6cada9f800a33b024 Author: Christian Kellner Date: Mon Sep 5 13:41:16 2016 +0200 placesview: keep reference during network fetching Analogous to (un)mount operation, we now keep a reference around during the ongoing operation and make use of the destroyed flag to check if we are still alive or if we have been cancelled as a result of the widget being destroyed. https://bugzilla.gnome.org/show_bug.cgi?id=764979 gtk/gtkplacesview.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 7cdc04c8d200fe78e4fe8d1ae37747573526c309 Author: Christian Kellner Date: Mon Sep 5 13:19:29 2016 +0200 placesview: override destory to cancel ongoing ops Since we hold on to a reference during (un)mount operations, we don't trigger the cancellation of operations in finalize anymore. Instead we now override the GtkWidget's destroy() and cancel any ongoing operations there. https://bugzilla.gnome.org/show_bug.cgi?id=764979 gtk/gtkplacesview.c | 64 +++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 50 insertions(+), 14 deletions(-) commit 0e5b0b75c591e91e5bd4af401660b5dd0bb1d020 Author: Christian Kellner Date: Sun Sep 4 15:28:11 2016 +0200 placesview: properly recover from cancellation The current code wrongly assumes that cancellation can only happen as a result widget finalization, and consequentially does not properly recover from it. Therefore if the operation is cancelled as a result of user interaction, the entry is will stay disabled and the spinner will keep spinning. This is fixed by removal of the early bail out in case of cancellation. https://bugzilla.gnome.org/show_bug.cgi?id=764979 gtk/gtkplacesview.c | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) commit 3ed25941ac80a4630b5c25a420307f9562a59ece Author: Christian Kellner Date: Sun Sep 4 11:47:55 2016 +0200 placesview: hold onto ref during (un)mount ops During mount and unmount opertions we keep a reference to the GtkPlacesView around, so we have a valid view for the callback code, even in the case that othe external references have been dropped (i.e. the containing window gets destroyed). https://bugzilla.gnome.org/show_bug.cgi?id=764979 gtk/gtkplacesview.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit f2ba6ca47322a17b37fb92662fc9552b4f106f10 Author: Takao Fujiwara Date: Sat Sep 10 01:54:13 2016 +0900 gdkscreen-x11: Enable RandR on VirtualBox RandR 1.5 is enabled on VirtualBox guest of Fedora 25 but XRROutputInfo->name is "default". If init_randr15() does not return TRUE, the monitor size sets 0 because gdk_screen_get_width() returns 0. This problem causes GtkStatusIcon not to show the activate menu. https://bugzilla.gnome.org/show_bug.cgi?id=771033 gdk/x11/gdkscreen-x11.c | 35 ++--------------------------------- 1 file changed, 2 insertions(+), 33 deletions(-) commit 221caf19f7d6dff3350060a4f0b3c7f48611faf2 Author: Tiago Santos Date: Fri Sep 9 16:59:19 2016 +0000 Updated Portuguese translation po-properties/pt.po | 538 +++++++++++++++++++++++++++------------------------- 1 file changed, 283 insertions(+), 255 deletions(-) commit 952c990e25131589b91130ce1b3e15fff01471a1 Author: Arash Mousavi Date: Fri Sep 9 18:26:04 2016 +0430 [l10n] update Persian translations po/fa.po | 1001 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 542 insertions(+), 459 deletions(-) commit 4cd8e6c5ef52ac638014ce2d3c02f84f53e16196 Author: Fran Dieguez Date: Thu Sep 8 23:03:03 2016 +0200 Update Galician translations Signed-off-by: Fran Dieguez po-properties/gl.po | 4713 ++++++++++++++++++++++++++------------------------- po/gl.po | 3992 ++++++++++++++++++++----------------------- 2 files changed, 4311 insertions(+), 4394 deletions(-) commit f73e808c50d4478f915e96224ef1ad637125bcc5 Author: Rūdolfs Mazurs Date: Thu Sep 8 21:18:24 2016 +0300 Update Latvian translation po-properties/lv.po | 2203 +++++++++++++++++++++++++++------------------------ po/lv.po | 1073 ++++++++++++++----------- 2 files changed, 1756 insertions(+), 1520 deletions(-) commit 21a23fcc97f0708fef659e95e76ee2e81be53975 Author: Bruce Cowan Date: Thu Sep 8 11:10:05 2016 +0000 Updated British English translation po/en_GB.po | 5438 +++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 3446 insertions(+), 1992 deletions(-) commit fbca09ecb441a91b94be486d7a57345c306f49bd Author: Timm Bäder Date: Thu Sep 8 11:18:16 2016 +0200 gdkdisplay: Unref seats in finalize gdk/gdkdisplay.c | 1 + 1 file changed, 1 insertion(+) commit 476c1c44a5c52b21312515327ec0b671b34bb79b Author: Timm Bäder Date: Thu Sep 8 10:45:25 2016 +0200 gdkdisplay-wayland: Fix some memory leaks gdk/wayland/gdkdisplay-wayland.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 16cd3c136374aa3ff964f741ccecb74dfbddeb07 Author: Anders Jonsson Date: Thu Sep 8 07:57:11 2016 +0000 Updated Swedish translation po/sv.po | 522 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 262 insertions(+), 260 deletions(-) commit ba261799597c54bab95352d8d06b12a481dd4315 Author: Rafael Fontenelle Date: Tue Sep 6 12:46:30 2016 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 977 ++++++++++++++++++++++++++----------------------- 1 file changed, 515 insertions(+), 462 deletions(-) commit c39ad8497022832cef88d76d448d7377ca76f698 Author: Tristan Van Berkom Date: Tue Sep 6 21:29:03 2016 +0900 Revert "about dialog: Set a max-content-height on credits" This reverts commit 6af5033386b60bdf71cc21d99d579c2a8c389880. Scrolled window behavior of propagating child natural sizes has now been made optional, so there is no need to work around this by setting a hard coded maximum content height anymore. gtk/ui/gtkaboutdialog.ui | 1 - 1 file changed, 1 deletion(-) commit fd065f63b0c5eebf215403189fe89f5820c71d1d Author: Tristan Van Berkom Date: Tue Sep 6 21:09:26 2016 +0900 Revert "Add a release note for scrolled windows" This reverts commit 76af90767634f5caea622c2abc13d21adb41550c. The behavioral change described in the migration guide has now been made optional with new scrolled window API, so no need to mention this in the migration guide. docs/reference/gtk/migrating-3xtoy.xml | 9 --------- 1 file changed, 9 deletions(-) commit 6be8979c645387a205f9fbbd91aa669c651ca791 Author: Tristan Van Berkom Date: Tue Sep 6 20:23:20 2016 +0900 Revert "widget factory: Adapt to new scrolled window behavior" This reverts commit 37e913d76bea6b58a38db1b7996958b81984a114. This is no longer needed since the natural size propagation of scrolled window children is now an optional behavior. Reverting this also makes the widget factory scrolled window sizes behave the same as with the gtk+ 3.20 branch. demos/widget-factory/widget-factory.ui | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit e51fd7cb18cd1c74d41f11337257b2faa7b250d2 Author: Matthias Clasen Date: Tue Sep 6 06:37:47 2016 -0400 css: Complete the cross-fade implementation We need to actually compute the images. Otherwise, bad things happen when we try to draw. https://bugzilla.gnome.org/show_bug.cgi?id=767391 gtk/gtkcssimagecrossfade.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit c2ab49e963f9823d8aeedbc925865df7c08611c5 Author: Matthias Clasen Date: Tue Sep 6 06:21:06 2016 -0400 Fix whitespace gtk/gtkcssimagefallback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c30ee622fef079201fc340245d545780d939bc14 Author: Matthias Clasen Date: Tue Sep 6 06:16:40 2016 -0400 css: Set meaningful fallback color This code was passing out-of-range values into gdk_cairo_set_source_rgb, which cannot really make anything better. gtk/gtkcssimagefallback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bd374b8070deb3352041f27ba880819a1b760b2f Author: Yosef Or Boczko Date: Tue Sep 6 11:47:45 2016 +0300 Updated Hebrew translation po-properties/he.po | 4647 ++++++++++++++++++++++++++------------------------- 1 file changed, 2354 insertions(+), 2293 deletions(-) commit a43a6d7fffd774afe201dd7c2b8bd5d35ca250b8 Author: Piotr Drąg Date: Tue Sep 6 01:40:13 2016 +0200 Updated Polish translation po-properties/pl.po | 160 ++++++++++++++++++++++++++-------------------------- po/pl.po | 104 +++++++++++++++++----------------- 2 files changed, 132 insertions(+), 132 deletions(-) commit d1f82577a9b4f9f315a6ac0f49cac0f6c12e0ee4 Author: GNOME Translation Robot Date: Mon Sep 5 14:24:37 2016 +0000 Updated Scottish Gaelic translation po-properties/gd.po | 932 ++++++++++++++++++++++++++++------------------------ 1 file changed, 510 insertions(+), 422 deletions(-) commit 8ca055cf131c26e08bb516904c9d30517dd50702 Author: GNOME Translation Robot Date: Mon Sep 5 14:17:15 2016 +0000 Updated Scottish Gaelic translation po/gd.po | 427 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 209 insertions(+), 218 deletions(-) commit eaa6ca4a4920ee2146a91a20dbacc321ea55908b Author: Tristan Van Berkom Date: Mon Sep 5 16:08:27 2016 +0900 GtkScrolledWindow: Bug 766569 - fix return types in added APIs In gtkscrolledwindow.c, the return type of _get_propagate_natural_width() and _get_propagate_natural_height() were accidentally gint instead of gboolean, fixed to match the type correctly declared in the header file. gtk/gtkscrolledwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 26f575014d76c36d0fcf807c1fdb4638da64625a Author: Matthias Clasen Date: Sun Sep 4 21:45:31 2016 -0400 gtk3-demo: Avoid underallocating columns Setting a fixed width on the columns causes the headers to be be underallocated. It is not necessary either. demos/gtk-demo/tree_store.c | 5 ----- 1 file changed, 5 deletions(-) commit 953b82a584a4f9c10d2afcb1997672aa16f92ac6 Author: Matthias Clasen Date: Sun Sep 4 15:38:43 2016 -0400 label: take padding into account when measuring When doing height-for-width measurements, we need to take padding into account. This was causing various allocation errors. https://bugzilla.gnome.org/show_bug.cgi?id=770849 gtk/gtklabel.c | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) commit 61e8c69460bdb031ed2e7e9a16860489b4ef784d Author: Matthias Clasen Date: Sun Sep 4 15:38:00 2016 -0400 label: Fix indentation Trivial, but annoying. gtk/gtklabel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit f5ce6c88eedfa3f19e709f3d44948bb3e961db76 Author: Marek Černocký Date: Sun Sep 4 21:22:08 2016 +0200 Updated Czech translation po-properties/cs.po | 191 +++++++++++++++++++++++++++------------------------- 1 file changed, 100 insertions(+), 91 deletions(-) commit 5b21c7d79f91613aa3e529026c288dd75fc94266 Author: Matthias Clasen Date: Sun Sep 4 09:43:51 2016 -0400 range: Ensure we don't underallocate the highlight gadget This was causing warnings in HighContrast. https://bugzilla.gnome.org/show_bug.cgi?id=770614 gtk/gtkrange.c | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) commit 9ddd40f61e9b4bcb861ec8c66a877da0f65dc5f2 Author: Matthias Clasen Date: Sun Sep 4 08:21:49 2016 -0400 Fix a variable name misspelling No semantic change here; the misspelling just annoyed me. gtk/theme/HighContrast/_common.scss | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 2eeda22606ba21eb5d298ca9ba993dccdee3d11c Author: Aurimas Černius Date: Sun Sep 4 12:21:43 2016 +0300 Updated Lithuanian translation po-properties/lt.po | 537 +++++++++++++++++++++++++++------------------------- 1 file changed, 277 insertions(+), 260 deletions(-) commit 770e44c83ef42a391d8cfef5fa7c7d931ee17f72 Author: Baurzhan Muftakhidinov Date: Sat Sep 3 17:56:09 2016 +0000 Updated Kazakh translation po-properties/kk.po | 2180 +++++++++++++++++++++++++++------------------------ 1 file changed, 1149 insertions(+), 1031 deletions(-) commit 59937e865427d75f6a3299193170a2c9c67d7650 Author: Baurzhan Muftakhidinov Date: Sat Sep 3 17:55:38 2016 +0000 Updated Kazakh translation po/kk.po | 831 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 459 insertions(+), 372 deletions(-) commit d6adda99c7e69a3f6a7e83d1225af35ab522c584 Author: Changwoo Ryu Date: Sat Sep 3 14:35:58 2016 +0000 Updated Korean translation po/ko.po | 1091 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 580 insertions(+), 511 deletions(-) commit e9acfc97f12a0b074020e8ebd8f629557c2f503d Author: Changwoo Ryu Date: Sat Sep 3 14:35:32 2016 +0000 Updated Korean translation po-properties/ko.po | 2181 +++++++++++++++++++++++++++------------------------ 1 file changed, 1144 insertions(+), 1037 deletions(-) commit f9658a2faf6929889be7d7042b3d8ee46456fb85 Author: Joaquim Rocha Date: Thu Sep 1 13:25:23 2016 +0200 listbox: Select the last row on page down when there are few rows When pressing page down doesn't retrieve a valid row (because the list box has few rows), the last visible one should be selected instead. https://bugzilla.gnome.org/show_bug.cgi?id=770703 gtk/gtklistbox.c | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) commit adabec7d2565ccd55940b3589e00407bcbf439a9 Author: Joaquim Rocha Date: Thu Sep 1 13:23:14 2016 +0200 listbox: Avoid crashing on page down if the list has few rows The code always assumed that getting a row at a certain 'y' was possible but if the list box has more empty space than rows then a valid row may not be retrieved. https://bugzilla.gnome.org/show_bug.cgi?id=770703 gtk/gtklistbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 857997be8cbac07d86683c48fb410e4b2e3f1233 Author: Timm Bäder Date: Sat Sep 3 09:58:27 2016 +0200 popover: Skip first frame when transitioning Similar to what we do in GtkStack. gtk/gtkpopover.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit a145211acc164169f284749ef74ed3c2e83779fb Author: Jiri Grönroos Date: Sat Sep 3 09:16:40 2016 +0000 Updated Finnish translation po/fi.po | 1143 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 600 insertions(+), 543 deletions(-) commit 63c18bba51806884684d15ea8305255f9f45d10a Author: Jakub Steiner Date: Tue Aug 23 13:11:48 2016 +0200 Adwaita,HC: fix icon name - while we don't use steppers anymore, for some reason they are still defined in the theme and if you sacrifice a chicken and jump on one leg at full moon, you can enable them. https://bugzilla.gnome.org/show_bug.cgi?id=769498 gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- gtk/theme/HighContrast/_common.scss | 4 ++-- gtk/theme/HighContrast/gtk-contained-inverse.css | 4 ++-- gtk/theme/HighContrast/gtk-contained.css | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) commit e5f0a77ad4ee1734f4eca8076fcd46d0d8f8355a Author: Bernd Homuth Date: Fri Sep 2 14:04:21 2016 +0000 Updated German translation po-properties/de.po | 184 +++++++++++++++++++++++++++------------------------- 1 file changed, 96 insertions(+), 88 deletions(-) commit 98b0f78200d8808384e631f286aae09686f97d2b Author: Jonas Ådahl Date: Fri Sep 2 18:51:34 2016 +0800 wayland: Warn when an application tries to map popup incorrectly When a popup is mapped but will not be the top most popup (for example the parent is not the current top most popup, or if there already is a popup mapped but the parent is a toplevel), warn and ignore it instead of continuing, as continuing would be a protocol violation. https://bugzilla.gnome.org/show_bug.cgi?id=770745 gdk/wayland/gdkdisplay-wayland.h | 2 ++ gdk/wayland/gdkwindow-wayland.c | 12 ++++++++++++ 2 files changed, 14 insertions(+) commit c32a31f223b5d66ac1e70dc8ae88a8ce1c285c27 Author: Balázs Meskó Date: Fri Sep 2 08:16:23 2016 +0000 Updated Hungarian translation po-properties/hu.po | 165 +++++++++++++++++++++++++++------------------------- 1 file changed, 85 insertions(+), 80 deletions(-) commit f4f57f8600234b9fe6d432cde6f1c03114d16874 Author: Мирослав Николић Date: Thu Sep 1 18:14:09 2016 +0200 Updated Serbian translation po-properties/sr.po | 177 ++++++++++++++++++++++------------------------ po-properties/sr@latin.po | 177 ++++++++++++++++++++++------------------------ 2 files changed, 168 insertions(+), 186 deletions(-) commit ce1ae60da2305e89575b80c3858bcc8e868821a1 Author: Timm Bäder Date: Thu Sep 1 15:20:12 2016 +0200 popover: Propagate drawing gtk/gtkpopover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2c04941c5cca73740fe7b6ae3c49e5b4ab195c71 Author: Timm Bäder Date: Thu Sep 1 15:16:58 2016 +0200 popover: Fix hfw/wfh size request Since we're using _get_rect_coords in size-allocate when allocating the size of the child widget, use the newly introduced _get_rect_for_size to calculate the difference between the passed size_for and the one we're supposed to pass on to the child widget. gtk/gtkpopover.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) commit 7f1ab32e6079917d5d4e0cbca36131f09a555804 Author: Timm Bäder Date: Thu Sep 1 15:15:18 2016 +0200 popover: Introduce _get_rect helper for a size When calculating the requested size of a popover, we need to do the exact same same thing _get_rect_coords did, but not for the current popopver allocation. Add _get_rect_for_size that can be used for this purpose gtk/gtkpopover.c | 110 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 58 insertions(+), 52 deletions(-) commit 4f7ec1f1c0969cf0f7d36d56ac8227a544e8f56d Author: Timm Bäder Date: Thu Aug 18 11:42:21 2016 +0200 gtk{info,search}bar.ui: Remove some leftover attributes gtk/ui/gtkinfobar.ui | 2 -- gtk/ui/gtksearchbar.ui | 2 -- 2 files changed, 4 deletions(-) commit 533de822ba21ccdd3d4b16b669461ef763499238 Author: Arnaud Bonatti Date: Wed Aug 31 07:46:34 2016 +0200 Use 'focused' everywhere. https://bugzilla.gnome.org/show_bug.cgi?id=770624 gtk/gtklabel.c | 2 +- gtk/gtktreeview.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 3c3a11591b06bb4de0833748baeaf7646f51457d Author: Arnaud Bonatti Date: Wed Aug 31 07:43:44 2016 +0200 Fix typos. https://bugzilla.gnome.org/show_bug.cgi?id=770624 gtk/gtkcontainer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a89b3c1b9e55b45477fc872b46b9afda18b4d18d Author: Piotr Drąg Date: Thu Sep 1 02:59:03 2016 +0200 Updated Polish translation po-properties/pl.po | 158 +++++++++++++++++++++++++++------------------------- 1 file changed, 83 insertions(+), 75 deletions(-) commit 4a035403d3ba83c8efc35b5216ff64f6cc7ebfcb Author: Matthias Clasen Date: Wed Aug 31 15:04:57 2016 -0400 Fix the scrolledwindow test These tests were written for the propagate-nat-size semantics, so opt in to it. testsuite/gtk/scrolledwindow.c | 2 ++ 1 file changed, 2 insertions(+) commit 0984d1622d022bf67207f985f7842b6299818e20 Author: Tristan Van Berkom Date: Wed Aug 31 13:54:25 2016 +0900 GtkScrolledWindow: Bug 766569 - Make propagation of natural child sizes optional Making propagation of child natural sizes mandatory (or default, even) was evidently a mistake as this causes dynamic content in a scrolled window to resize it's parent when the scrolled window is competing for space with an adjacent widget. This patch instead adds API to control whether natural width and height of the child should be propagated through the scrolled windows size requests. docs/reference/gtk/gtk3-sections.txt | 4 + gtk/gtkscrolledwindow.c | 178 +++++++++++++++++++++++++++++++++-- gtk/gtkscrolledwindow.h | 12 +++ 3 files changed, 184 insertions(+), 10 deletions(-) commit 738b1e3eece46703106640fe764bb8eacad411cc Author: Matthias Clasen Date: Wed Aug 31 07:07:01 2016 -0400 Require wayland-protocols 1.7 Needed for xdg-shell v6. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b9757b87a16eab4664bb8c22e8b954e69d46fa4f Author: Christian Kirbach Date: Wed Aug 31 07:10:52 2016 +0000 Updated German translation po-properties/de.po | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) commit 92520a38d58da742ebfbc6fa97c10cd600016df7 Author: Gábor Kelemen Date: Tue Aug 30 07:39:03 2016 +0000 Updated Hungarian translation po-properties/hu.po | 42 +++++++++++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 15 deletions(-) commit 852bdae85f7ac74cc0b5637c37a09695307e2687 Author: Matthias Clasen Date: Mon Aug 29 13:34:05 2016 -0400 3.21.5 NEWS | 8 +++++++- configure.ac | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) commit c9749ad7dca87628caeeb87ac967d95871643698 Author: Matthias Clasen Date: Mon Aug 29 15:49:24 2016 -0400 x11: Fix a trap mixup There was a return between a push/pop of an error trap, and this managed to trigger the 'unpopped trap' warning in the displayclose test now. Fix this. gdk/x11/gdkdevicemanager-xi2.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit ea1295c9ab40ab8c1b5b80ccf1575710c5ff6b86 Author: Lionel Landwerlin Date: Thu Aug 25 20:38:52 2016 +0100 gtk: window: don't forget to realize popovers of subwindows https://bugzilla.gnome.org/show_bug.cgi?id=770307 gtk/gtkwindow.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit bdbe2de57d206f3d1cbb5774f8a97bfc40571388 Author: Matthias Clasen Date: Mon Aug 29 13:12:56 2016 -0400 Document handle-related Wayland api In particular, note that this API depends on an unstable Wayland protocol and thus may have to change. docs/reference/gdk/gdk3-sections.txt | 4 ++ gdk/wayland/gdkwindow-wayland.c | 74 ++++++++++++++++++++++++++++++++---- 2 files changed, 71 insertions(+), 7 deletions(-) commit 340b5964dd82fc60471e62304b3d0d0dcd8d8648 Author: Jonas Ådahl Date: Wed Jul 13 15:24:19 2016 +0800 wayland: Add API for setting an exported as a parent Add an API that enables an application to, given an exported window handle, set its own window as a transient of the window associated with the exported window handle. https://bugzilla.gnome.org/show_bug.cgi?id=769788 gdk/wayland/gdkdisplay-wayland.c | 6 ++++ gdk/wayland/gdkdisplay-wayland.h | 1 + gdk/wayland/gdkwaylandwindow.h | 4 +++ gdk/wayland/gdkwindow-wayland.c | 70 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 81 insertions(+) commit f98c9fec6ca18a94a152c0a27b9d9b68af769936 Author: Jonas Ådahl Date: Wed Jul 13 15:22:59 2016 +0800 window: Add Wayland implementation of gtk_window_export_handle https://bugzilla.gnome.org/show_bug.cgi?id=769788 gtk/gtkwindow.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 57 insertions(+), 1 deletion(-) commit 127d2ac956cec1bb26df7d66f9b0859129a900e5 Author: Jonas Ådahl Date: Tue Jul 12 11:49:39 2016 +0800 wayland: Add API for creating exported window handles Using the xdg_foreign protocol, expose a way to get handles to windows that may be shared between processes. https://bugzilla.gnome.org/show_bug.cgi?id=769788 configure.ac | 2 +- gdk/wayland/Makefile.am | 2 + gdk/wayland/gdkdisplay-wayland.c | 7 ++++ gdk/wayland/gdkdisplay-wayland.h | 2 + gdk/wayland/gdkwaylandwindow.h | 12 ++++++ gdk/wayland/gdkwindow-wayland.c | 87 ++++++++++++++++++++++++++++++++++++++++ 6 files changed, 111 insertions(+), 1 deletion(-) commit e1a03ead7a541a2118816b1632e957cc2bb44c8f Author: Benjamin Otte Date: Mon Aug 29 16:00:17 2016 +0200 Use NULL for generic marshallers in g_signal_new() glib will use the correct marshaller automatically. And as a side effect, we also get all glib optimizations, like a va marshaller. gtk/deprecated/gtkactiongroup.c | 4 ++-- gtk/deprecated/gtkcolorsel.c | 2 +- gtk/deprecated/gtkhandlebox.c | 4 ++-- gtk/deprecated/gtkhsv.c | 4 ++-- gtk/deprecated/gtkstyle.c | 4 ++-- gtk/deprecated/gtkuimanager.c | 4 ++-- gtk/gtkadjustment.c | 4 ++-- gtk/gtkappchooserbutton.c | 2 +- gtk/gtkappchooserwidget.c | 4 ++-- gtk/gtkbutton.c | 12 +++++----- gtk/gtkcalendar.c | 14 ++++++------ gtk/gtkcelleditable.c | 4 ++-- gtk/gtkcellrenderer.c | 2 +- gtk/gtkcellrenderertoggle.c | 2 +- gtk/gtkcheckmenuitem.c | 2 +- gtk/gtkclipboard-quartz.c | 2 +- gtk/gtkclipboard.c | 2 +- gtk/gtkcolorbutton.c | 2 +- gtk/gtkcontainer.c | 8 +++---- gtk/gtkcssnode.c | 5 +---- gtk/gtkdialog.c | 4 ++-- gtk/gtkeditable.c | 2 +- gtk/gtkentry.c | 18 +++++++-------- gtk/gtkentrycompletion.c | 2 +- gtk/gtkexpander.c | 2 +- gtk/gtkfilechooserbutton.c | 2 +- gtk/gtkfilechooserembed.c | 4 ++-- gtk/gtkfilechooserentry.c | 2 +- gtk/gtkfilechooserwidget.c | 24 ++++++++++---------- gtk/gtkfilesystemmodel.c | 2 +- gtk/gtkimcontext.c | 8 +++---- gtk/gtklabel.c | 6 ++--- gtk/gtklevelbar.c | 2 +- gtk/gtklistbox.c | 2 +- gtk/gtkmarshalers.list | 10 --------- gtk/gtkmenu.c | 2 +- gtk/gtkmenuitem.c | 12 +++++----- gtk/gtkmenushell.c | 12 +++++----- gtk/gtknotebook.c | 2 +- gtk/gtkplacessidebar.c | 12 +++++----- gtk/gtkplug.c | 2 +- gtk/gtkradiobutton.c | 2 +- gtk/gtkradiomenuitem.c | 2 +- gtk/gtkrange.c | 6 ++--- gtk/gtkscalebutton.c | 2 +- gtk/gtkscrolledwindow.c | 2 +- gtk/gtksearchentry.c | 8 +++---- gtk/gtksocket.c | 2 +- gtk/gtkspinbutton.c | 6 ++--- gtk/gtkswitch.c | 2 +- gtk/gtktextbuffer.c | 12 +++++----- gtk/gtktextlayout.c | 2 +- gtk/gtktexttagtable.c | 4 ++-- gtk/gtktextview.c | 22 +++++++++--------- gtk/gtktogglebutton.c | 2 +- gtk/gtktoolitem.c | 2 +- gtk/gtktrashmonitor.c | 2 +- gtk/gtktreemenu.c | 2 +- gtk/gtktreemodel.c | 2 +- gtk/gtktreeselection.c | 2 +- gtk/gtktreesortable.c | 2 +- gtk/gtktreeview.c | 4 ++-- gtk/gtktreeviewcolumn.c | 2 +- gtk/gtkwidget.c | 50 ++++++++++++++++++++--------------------- gtk/gtkwindow.c | 8 +++---- gtk/inspector/strv-editor.c | 2 +- 66 files changed, 178 insertions(+), 193 deletions(-) commit 6af5033386b60bdf71cc21d99d579c2a8c389880 Author: Matthias Clasen Date: Mon Aug 29 10:01:20 2016 -0400 about dialog: Set a max-content-height on credits This keeps the credits section from making the dialog grow when there are lots of credits. https://bugzilla.gnome.org/show_bug.cgi?id=770458 gtk/ui/gtkaboutdialog.ui | 1 + 1 file changed, 1 insertion(+) commit cfe4c9e0f41e37eb1d4e469c20579337b501e385 Author: Carlos Soriano Date: Mon Aug 29 14:39:48 2016 +0200 gtkplacessidebar: fix signal marshal We were using __VOID for the SHOW_OTHER_LOCATION signal that uses flags named SHOR_OTHER_LOCATION_WITH_FLAGS. However, if a signal uses flags the marshal needs to use __FLAGS. This patch addresses this using VOID__FLAGS as the marshaler parameter. Thanks to Jan Steffens for pointing this out. https://bugzilla.gnome.org/show_bug.cgi?id=770550 gtk/gtkplacessidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a0ff0de6a5e72f221c34112c952eea0eac94c870 Author: Мирослав Николић Date: Sun Aug 28 21:55:26 2016 +0200 Updated Serbian translation po-properties/sr.po | 2202 +++++++++++++++++++++++--------------------- po-properties/sr@latin.po | 2204 ++++++++++++++++++++++++--------------------- 2 files changed, 2331 insertions(+), 2075 deletions(-) commit 349170c011f496f04222b31041f926d3bbbf70b1 Author: Мирослав Николић Date: Sun Aug 28 21:54:20 2016 +0200 Updated Serbian translation po/sr.po | 1106 ++++++++++++++++++++++++++++++-------------------------- po/sr@latin.po | 1082 +++++++++++++++++++++++++++++------------------------- 2 files changed, 1192 insertions(+), 996 deletions(-) commit b05ed13710dc52c11bb1fde6f6aaf064d8ce5c58 Author: Руслан Ижбулатов Date: Fri Aug 26 20:46:27 2016 +0000 GDK W32: Remove obsolete assertions gdk/win32/gdkkeys-win32.c | 2 -- 1 file changed, 2 deletions(-) commit f6935de5170cfff34bbc7bf64b781b2c4f969dc4 Author: Piotr Drąg Date: Fri Aug 26 13:46:38 2016 +0200 Updated Polish translation po-properties/pl.po | 48 ++++++++++++++++++++++++++++++++---------------- 1 file changed, 32 insertions(+), 16 deletions(-) commit fcfbffc1458730bf278aab3e5c8ddcb8dc0baae2 Author: Matthias Clasen Date: Fri Aug 26 01:09:40 2016 -0400 Updates NEWS | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) commit 35c96c2c1f15c6c2a52a380ef6b8fa1062597b8d Author: Benjamin Otte Date: Thu Aug 25 23:01:28 2016 +0200 Add braces to appease gcc -ftrack-macro-expansion=0 doesn't like if statements without braces when evaluating indentation levels. gtk/gtkcomposetable.c | 4 +++- gtk/gtkcssselector.c | 12 +++++++++--- gtk/gtksizerequest.c | 6 ++++-- 3 files changed, 16 insertions(+), 6 deletions(-) commit c8b301f1ea24ed4958af114c4cd30530de3ccc5b Author: Benjamin Otte Date: Thu Aug 25 21:05:25 2016 +0200 uimanager: Correctly indent code gtk/deprecated/gtkuimanager.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit da8cef16dc577026bb8ae77ba43e3f4345b6a9a8 Author: Benjamin Otte Date: Thu Aug 25 21:05:07 2016 +0200 a11y: Correctly indent code gtk/a11y/gtkaccessibility.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 12e590e99a73f3fc4d87dd2562f68ad8183ce466 Author: Matej Urbančič Date: Thu Aug 25 22:16:17 2016 +0200 Updated Slovenian translation po-properties/sl.po | 1333 +++++++++++++++++++++++++++++++++++---------------- 1 file changed, 922 insertions(+), 411 deletions(-) commit 9dfff0d21d2979d52a743ced929e879c690bb40d Author: Matej Urbančič Date: Thu Aug 25 22:09:16 2016 +0200 Updated Slovenian translation po-properties/sl.po | 84 ++++++++++++++++++++++++++--------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) commit f53706b0033d4fdb1d4a4daf106548d7187e0e2c Author: Matthias Clasen Date: Thu Aug 25 07:48:20 2016 -0400 cell renderer text: Allow entries to shrink Set a small max-width on entries used for editing cells, so they adapt to small columns and don't overlap the next column. https://bugzilla.gnome.org/show_bug.cgi?id=770374 gtk/gtkcellrenderertext.c | 1 + 1 file changed, 1 insertion(+) commit 9f57fe9960b419fce2000ff2509f265912757ec3 Author: Olivier Fourdan Date: Tue Apr 5 18:17:40 2016 +0200 wayland: add min/max size from xdg-shell v6 Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=764413 gdk/wayland/gdkwindow-wayland.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) commit b7964cf5a7615bcd3bcc064bf5db0349272dab2c Author: Jonas Ådahl Date: Fri Jul 8 16:54:36 2016 +0800 wayland: Implement move_to_rect Translate move_to_rect parameter into xdg_positioner requests, and use the generated xdg_positioner to create the popup. https://bugzilla.gnome.org/show_bug.cgi?id=769937 gdk/wayland/gdkwindow-wayland.c | 512 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 462 insertions(+), 50 deletions(-) commit ceada4adc26868b894a0a450fe3ff80a4b4846ad Author: Jonas Ådahl Date: Fri Jul 1 17:03:36 2016 +0800 wayland: Port to xdg_shell unstable v6 https://bugzilla.gnome.org/show_bug.cgi?id=769937 gdk/wayland/Makefile.am | 4 +- gdk/wayland/gdkdisplay-wayland.c | 21 +-- gdk/wayland/gdkdisplay-wayland.h | 4 +- gdk/wayland/gdkwindow-wayland.c | 335 ++++++++++++++++++++++++++------------- 4 files changed, 240 insertions(+), 124 deletions(-) commit 643f0339238f1cd4d853a81d4cdb3e149d660ee8 Author: Jonas Ådahl Date: Fri Jul 1 17:02:11 2016 +0800 wayland: Move window geometry calculation to helper We'll use it from more places later. https://bugzilla.gnome.org/show_bug.cgi?id=769937 gdk/wayland/gdkwindow-wayland.c | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) commit d2a80cd2353c95a9657387af37256ca8f1ad81f3 Author: Jonas Ådahl Date: Fri Jul 1 16:51:32 2016 +0800 wayland: Only update the window title if it actually updated This makes the protocol log less spammy. https://bugzilla.gnome.org/show_bug.cgi?id=769937 gdk/wayland/gdkwindow-wayland.c | 3 +++ 1 file changed, 3 insertions(+) commit 82706991191e4d3b49c2fd12dbfec944d52bfed6 Author: Jonas Ådahl Date: Fri Jul 1 16:48:16 2016 +0800 wayland: Only sync surface regions once per commit Only set input, opaque and window geometry regions once per commit. They are double buffered anyway, so the last one would only take effect either way; this way reading protocol logs are much more pleasent. https://bugzilla.gnome.org/show_bug.cgi?id=769937 gdk/wayland/gdkwindow-wayland.c | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) commit d2385bec093a85f62a06a65208bce5617a10b9a2 Author: Jonas Ådahl Date: Tue Jan 26 10:14:54 2016 +0800 wayland: Remove gdk_wayland_display_get_xdg_shell() Don't expose the xdg_shell struct as it is not yet a stable type that will stay the same. https://bugzilla.gnome.org/show_bug.cgi?id=769937 gdk/wayland/gdkdisplay-wayland.c | 18 ------------------ gdk/wayland/gdkwaylanddisplay.h | 2 -- 2 files changed, 20 deletions(-) commit e53d381430dd2eeaf8bb04ca4ffc7a9107fbb9ac Author: Jonas Ådahl Date: Tue Jun 28 15:01:22 2016 +0800 wayland: Get tiled state from gtk_shell instead of xdg_shell Use our the 'tiled' entry from our new 'state' enum sent via xdg_surface.configure. https://bugzilla.gnome.org/show_bug.cgi?id=769937 gdk/wayland/gdkwindow-wayland.c | 53 ++++++++++++++++++++++++++++++-------- gdk/wayland/protocol/gtk-shell.xml | 10 +++++++ 2 files changed, 52 insertions(+), 11 deletions(-) commit 80dd7566d54bb662ac64d6eed0efd945e98c1456 Author: Jonas Ådahl Date: Tue Jun 28 15:01:04 2016 +0800 wayland: Fix indentation https://bugzilla.gnome.org/show_bug.cgi?id=769937 gdk/wayland/gdkwindow-wayland.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit b8f464e102bb7445a5beadaacb6321a77e6b556a Author: Matthias Clasen Date: Thu Aug 25 00:13:13 2016 -0400 wayland: Add some more debug spew gdk/wayland/gdkselection-wayland.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit ae720784d921d1e0134870eae3c91466dc389c52 Author: Matthias Clasen Date: Wed Aug 24 23:59:46 2016 -0400 wayland: Replace g_debug by GDK_NOTE We have this framework, lets use it. gdk/wayland/gdkdevice-wayland.c | 106 +++++++++++++++++++++++-------------- gdk/wayland/gdkselection-wayland.c | 28 +++++----- 2 files changed, 81 insertions(+), 53 deletions(-) commit f66a76d99846d34f861bd7d5253b9f0b3486f3cb Author: Matthias Clasen Date: Wed Aug 24 14:43:58 2016 -0400 Document window-icon related api as 'may not work' Some platforms simply don't have window icons (such as Wayland). gdk/gdkwindow.c | 5 ++++- gtk/gtkwindow.c | 13 ++++++++----- 2 files changed, 12 insertions(+), 6 deletions(-) commit ae636ba0c2faeba5944097eca5a2f1a7c72e0d46 Author: Matthias Clasen Date: Wed Aug 24 14:10:35 2016 -0400 notebook: Update arrow state when switching pages Otherwise, we may end up showing clickable arrows that don't do anything. https://bugzilla.gnome.org/show_bug.cgi?id=770332 gtk/gtknotebook.c | 3 +++ 1 file changed, 3 insertions(+) commit 07e9b399d5352b10ca5997f564903a36d5f0dd19 Author: Matthias Clasen Date: Wed Aug 24 12:58:54 2016 -0400 scale: Document interaction between rounding and autoscrolling This is a bit of a gotcha, so better document it. gtk/gtkscale.c | 5 +++++ 1 file changed, 5 insertions(+) commit f7c87fb3b78863d258092ea4cf57dd6c4480d02d Author: Matthias Clasen Date: Wed Aug 24 12:53:28 2016 -0400 widget-factory: Fix smooth autoscrolling of scales There is annoying interference between formatting the value (for which we set the number of digits to show) and the small frame-to-frame value changes that we do for autoscrolling. To work around this, turn off the digits-based rounding entirely and format the value ourselves with ::format-value. demos/widget-factory/widget-factory.c | 9 ++++++++- demos/widget-factory/widget-factory.ui | 5 ++++- 2 files changed, 12 insertions(+), 2 deletions(-) commit ceb18a989e6ed9238ea1afc449aeaecbf3a5dfbb Author: Matthias Clasen Date: Wed Aug 24 11:11:57 2016 -0400 gtk-demo: Make the scale demo fully functional The adjustments need to have step-increment and page-increment set up, or keynav and autoscrolling will not work. demos/gtk-demo/scale.ui | 6 ++++++ 1 file changed, 6 insertions(+) commit 6163b3b2b5184274f6bfa52f59876be2acb3d6a9 Author: Matthias Clasen Date: Wed Aug 24 10:54:00 2016 -0400 Allow activating the desktop portal for inhibit We allow it everywhere else, and there is nothing wrong with it. gtk/gtkapplication-dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9f456028ae0e2324fa38357d47fbba382a4dbbed Author: Marek Černocký Date: Wed Aug 24 14:10:11 2016 +0200 Updated Czech translation po-properties/cs.po | 48 ++++++++++++++++++++++++++++++++---------------- 1 file changed, 32 insertions(+), 16 deletions(-) commit 2a8826dea5bdbeb116f907a1336494c9c500c6d3 Author: Daniel Mustieles Date: Wed Aug 24 10:05:51 2016 +0000 Updated Spanish translation po-properties/es.po | 390 +++++++++++++++++++++++++++------------------------- 1 file changed, 204 insertions(+), 186 deletions(-) commit a12567cafd3fad6ed90fe341ed235011978fe6f6 Author: Piotr Drąg Date: Tue Aug 23 21:57:59 2016 +0200 Update POTFILES.in and POTFILES.skip po-properties/POTFILES.in | 1 + po-properties/POTFILES.skip | 1 + po/POTFILES.in | 1 + po/POTFILES.skip | 1 + 4 files changed, 4 insertions(+) commit 5d99b7d538ce5792080b616556aa9d405e16e1b8 Author: Carlos Garnacho Date: Tue Aug 23 20:18:10 2016 +0200 demos: Use stateful actions for rings/strips in "Touch and Drawing Tablets" demo https://bugzilla.gnome.org/show_bug.cgi?id=770026 demos/gtk-demo/event_axes.c | 37 +++++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) commit e9771d642fb4ecc5fca94ff6a2a63466c3541df6 Author: Carlos Garnacho Date: Tue Aug 23 20:16:02 2016 +0200 GtkPadController: Make ring/strip actions be activated with the axis value This way these axes may be used in detail by the implementors of pad GActions. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gtk/gtkpadcontroller.c | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) commit b24a865d9bcc7f716a81fd218a3b637faee13f0e Author: Carlos Garnacho Date: Tue Aug 23 20:31:29 2016 +0200 GtkEventController: Add some comment describing the filter_event private vfunc It might not be entirely clear what the boolean return value means. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gtk/gtkeventcontrollerprivate.h | 3 +++ 1 file changed, 3 insertions(+) commit ae29157a63adce584f4191061bd118487b47ca7c Author: Carlos Garnacho Date: Thu Aug 4 19:51:24 2016 +0200 demos: Add pad support to "event axes" demo And rename it to "Touch and Drawing Tablets", since it's no longer about "axes" really. As for pad support in the demo, just keep it "simple", make the controller handle all pad devices, and make all the actions have the same callback. https://bugzilla.gnome.org/show_bug.cgi?id=770026 demos/gtk-demo/event_axes.c | 110 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 106 insertions(+), 4 deletions(-) commit e66a821a74087db40c5faef5f81623b370ea5129 Author: Carlos Garnacho Date: Thu Aug 4 19:49:27 2016 +0200 GtkPadController: Notify actions back to the windowing on wayland This allows applications to provide descriptions of the actions performed by each pad feature. pass the GtkPadActionEntry labels for this. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gtk/gtkpadcontroller.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) commit 87af999b5dca473db1509b9f5ed403da4c6e54ee Author: Carlos Garnacho Date: Thu Aug 4 19:47:13 2016 +0200 wayland: Offer wayland-specific method to set pad actions feedback The wayland tablet protocol allows notifying the compositor with descriptions of the actions performed by each tablet element. This API call allows to hook up in to this wayland-specific feature. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/wayland/gdkdevice-wayland.c | 62 +++++++++++++++++++++++++++++++++++++++++ gdk/wayland/gdkwaylanddevice.h | 6 ++++ 2 files changed, 68 insertions(+) commit 27f879b835e1de2a49246496f35041a54203823e Author: Carlos Garnacho Date: Thu Aug 4 19:46:04 2016 +0200 wayland: Support pad devices in gdk_wayland_device_get_node_path() We can return the node path on those too, so do that. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/wayland/gdkdevice-wayland.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 7e961b8bcce4d4f5550c06e566a096a37f6b21c0 Author: Carlos Garnacho Date: Thu Aug 4 19:44:44 2016 +0200 wayland: Implement pad event emission We now send all the set of button/ring/strip/group_mode events. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/wayland/gdkdevice-wayland.c | 101 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 100 insertions(+), 1 deletion(-) commit cca51b71cbc68707797ee3a616cb8a0357a84e22 Author: Carlos Garnacho Date: Thu Aug 4 19:42:23 2016 +0200 wayland: Create/expose pad devices These devices are kind of an strange case. Their "master" device is the keyboard, because they share toplevel focus with it, regardless of stylus focus. Nonetheless, they are only expected to send the GdkEventPad* set of events. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/wayland/gdkdevice-wayland.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit 82a46faf41999d9d58657a45ac4c020b1a3f10c6 Author: Carlos Garnacho Date: Thu Aug 4 19:40:14 2016 +0200 wayland: Add GdkWaylandDevicePad This is a subclass of GdkWaylandDevice that implements GdkDevicePad, all pad features are looked up from the info obtained through the tablet v2 interface. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/wayland/gdkdevice-wayland.c | 166 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 166 insertions(+) commit feb09e384c018c7a1d929d88f9b19b574260b22e Author: Carlos Garnacho Date: Thu Aug 4 19:36:32 2016 +0200 wayland: Implement backbone of pad support All pad interfaces and features are poked, we just now need exposing those. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/wayland/gdkdevice-wayland.c | 399 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 397 insertions(+), 2 deletions(-) commit a0b9586465bc86c06105129208ab6eb4de8a357a Author: Carlos Garnacho Date: Thu Aug 4 19:22:34 2016 +0200 gtk: Add GtkPadController This GdkEventController is a helper object to handle pad events, it allows setting a mapping to action names, to be triggered in the given action group. In order to help on places where advanced mapping/configurability of pad features is not desirable, this controller also allows passing a NULL pad device, meaning it will listen on all pads, and/or passing -1 on mode/index, so an action applies to all modes/features (eg. strips/rings). https://bugzilla.gnome.org/show_bug.cgi?id=770026 docs/reference/gtk/gtk-docs.sgml | 3 +- docs/reference/gtk/gtk3-sections.txt | 22 ++ docs/reference/gtk/gtk3.types.in | 1 + gtk/Makefile.am | 2 + gtk/gtk.h | 1 + gtk/gtkpadcontroller.c | 467 +++++++++++++++++++++++++++++++++++ gtk/gtkpadcontroller.h | 99 ++++++++ 7 files changed, 594 insertions(+), 1 deletion(-) commit 3a6d0ff2ab05c66f18fd1aa740029976b30ac1bc Author: Carlos Garnacho Date: Thu Aug 4 19:17:21 2016 +0200 gtk: Add minimal handling of pad events No real handling is yet performed, to be done through a GdkEventController https://bugzilla.gnome.org/show_bug.cgi?id=770026 gtk/gtkmain.c | 5 +++++ gtk/gtkwidget.c | 5 +++++ 2 files changed, 10 insertions(+) commit b8a77d4da310556014b06cf34cca2e9592da63fd Author: Carlos Garnacho Date: Thu Aug 4 19:12:57 2016 +0200 gdk: Add GdkDevicePad This is an interface meant to be implemented by the "pad" devices. This device-specific interface exposes the mapping of all pad features, it allows retrieving: - The number of buttons/rings/strips - The number of groups - The number of modes a group has - Whether a given button/ring/strip belongs to a given group https://bugzilla.gnome.org/show_bug.cgi?id=770026 docs/reference/gdk/gdk-docs.sgml | 1 + docs/reference/gdk/gdk3-sections.txt | 19 +++++ docs/reference/gdk/gdk3.types | 1 + gdk/Makefile.am | 3 + gdk/gdk.h | 1 + gdk/gdkdevicepad.c | 150 +++++++++++++++++++++++++++++++++++ gdk/gdkdevicepad.h | 74 +++++++++++++++++ gdk/gdkdevicepadprivate.h | 45 +++++++++++ 8 files changed, 294 insertions(+) commit f1a9cd466e48243ff6a3592b933bab2336e8c04d Author: Carlos Garnacho Date: Thu Aug 4 19:10:21 2016 +0200 gdk: Address pad events similarly to keyboard events We want the same treatment for those, the event will be emitted on the toplevel, which will then decide what to do with the event. It just doesn't make much sense to propagate those up/down the hierarchy, when we want specifically one action being triggered from those. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/gdkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0dcb9b316e704071e98d67668c99a20e3a9cd425 Author: Carlos Garnacho Date: Thu Aug 4 19:04:36 2016 +0200 gdk: Add pad event structs, enum values, and event mask bit GDK_PAD_BUTTON*,RING and STRIP will be emitted respectively when pad buttons, rings or strips are interacted with. Each of those pad components belong to a group (a pad can contain several of those), which may be in a given mode. All this information is contained in the event. GDK_PAD_GROUP_MODE is emitted when a group in the pad switches mode, which will generally result in a different set of actions being triggered from the same buttons/rings/strips in the group. https://bugzilla.gnome.org/show_bug.cgi?id=770026 docs/reference/gdk/gdk3-sections.txt | 3 + gdk/gdkevents.c | 17 ++++++ gdk/gdkevents.h | 106 +++++++++++++++++++++++++++++++++++ gdk/gdktypes.h | 2 + gdk/gdkwindow.c | 5 ++ 5 files changed, 133 insertions(+) commit 3f56af373891bf6e3e01079c07521928613bdb1b Author: Carlos Garnacho Date: Thu Aug 4 19:01:38 2016 +0200 gdkdevice: Add GDK_SOURCE_TABLET_PAD input source type for GdkDevices This will represent a tablet pad. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/gdkdevice.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 3ac56e60c7eb44843b8b3fa0119e1746f271d923 Author: Carlos Garnacho Date: Thu Aug 4 18:59:09 2016 +0200 wayland: Add wayland-specific method to retrieve a device node path This will be useful at least for g-c-c, in order to match libwacom data with GdkDevices. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/wayland/gdkdevice-wayland.c | 32 ++++++++++++++++++++++++++++++++ gdk/wayland/gdkwaylanddevice.h | 2 ++ 2 files changed, 34 insertions(+) commit 942d144d3b893177a5c2b3ab4a8cbb209f710c68 Author: Carlos Garnacho Date: Thu Aug 4 18:52:51 2016 +0200 gdk: Pass hardware ID on gdk_device_tool_new() And implement this on wayland, where this information is already obtained. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/gdkdevicetool.c | 2 ++ gdk/gdkdevicetoolprivate.h | 2 ++ gdk/wayland/gdkdevice-wayland.c | 4 +++- gdk/x11/gdkdevicemanager-xi2.c | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) commit 40f75e74be35605d1b77fc81e560b8f9e20e2311 Author: Carlos Garnacho Date: Thu Aug 4 18:49:13 2016 +0200 gdk: Add a getter for the hardware id of a GdkDeviceTool Although scarcely used, this information may be useful to retrieve from the windowing systems that offer this information. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/gdkdevicetool.c | 39 +++++++++++++++++++++++++++++++++++++++ gdk/gdkdevicetool.h | 3 +++ 2 files changed, 42 insertions(+) commit d3c204c77460f0142901dafb11a2252e098a2c59 Author: Philip Withnall Date: Mon Aug 22 15:39:02 2016 +0100 gtkbindings: Add an example for gtk_binding_entry_add_signal() Otherwise the way the varargs are supposed to be used is completely opaque. https://bugzilla.gnome.org/show_bug.cgi?id=770236 gtk/gtkbindings.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 8f198718767202f2f4a171b83d02854077b817ef Author: Jordi Mas Date: Mon Aug 22 21:52:18 2016 +0200 Update Catalan translation po-properties/ca.po | 1001 +++++++------ po/ca.po | 4153 ++++++++++++++++++++++++--------------------------- 2 files changed, 2494 insertions(+), 2660 deletions(-) commit 3cf304ecd0225e2e548badae9cc95ad98107ffc5 Author: Piotr Drąg Date: Mon Aug 22 20:00:39 2016 +0200 Updated Polish translation po-properties/pl.po | 2666 ++++++++++++++++++++++++++------------------------- po/pl.po | 1046 ++++++++++---------- 2 files changed, 1945 insertions(+), 1767 deletions(-) commit 92a95c7de73f56fe558323e2012d6d6e2ddf2eb0 Author: Philip Withnall Date: Mon Aug 22 17:10:47 2016 +0100 gtkbindings: Clarify that widgets need has-focus for bindings to work https://bugzilla.gnome.org/show_bug.cgi?id=770242 gtk/gtkbindings.c | 6 ++++++ 1 file changed, 6 insertions(+) commit a6409458f0d50d673a4dc370b9251993b7835b6b Author: Lapo Calamandrei Date: Mon Aug 22 14:17:34 2016 +0200 Adwaita: increase border radius on button.circular... ...to allow huge circular buttons. See https://bugzilla.gnome.org/show_bug.cgi?id=770166 gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit 74bd3f3810133d44f333aa5f8d02ae3de19a6834 Author: Emmanuele Bassi Date: Mon Aug 22 09:23:02 2016 +0100 quartz: Fix typo that broke debug builds gdk/quartz/gdkeventloop-quartz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 00545dfee4156e16a2a729290f4c1f113a13b7c1 Author: Alexandre Franke Date: Mon Aug 22 08:20:01 2016 +0000 Updated French translation po/fr.po | 1195 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 650 insertions(+), 545 deletions(-) commit 16a92214c7334c6c8391013e3060e52af530facd Author: Rafael Fontenelle Date: Mon Aug 22 04:13:36 2016 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 389 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 195 insertions(+), 194 deletions(-) commit 2a5b37de6b3094fdb9d200f931720eef61621c4b Author: Mario Blättermann Date: Sun Aug 21 20:26:50 2016 +0000 Updated German translation po-properties/de.po | 45 ++++++++++++++++----------------------------- 1 file changed, 16 insertions(+), 29 deletions(-) commit 34cf1b189ca88519bbbc5461b2d161f5d863c887 Author: Mario Blättermann Date: Sun Aug 21 09:37:59 2016 +0000 Updated German translation po/de.po | 508 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 255 insertions(+), 253 deletions(-) commit 5c696a7ee31bdf801471f46349fe3c2253bc35ca Author: Timm Bäder Date: Sat Aug 20 20:49:09 2016 +0200 popover: Clarify transitions-enabled deprecation https://bugzilla.gnome.org/show_bug.cgi?id=769706 gtk/gtkpopover.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit a0f5d4bec13fca7de4b86c923994a03ab28d6ce9 Author: Balázs Úr Date: Sat Aug 20 14:43:18 2016 +0000 Updated Hungarian translation po-properties/hu.po | 1703 +++++++++++++++++++++++++-------------------------- 1 file changed, 843 insertions(+), 860 deletions(-) commit 73b949173eaba4cf3a8cd0425082f52bf34c4ab6 Author: Timm Bäder Date: Thu Jul 14 21:09:25 2016 +0200 stylepropertyimpl: Remove double assignment gtk/gtkcssstylepropertyimpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e3bbeb48bd4aeb6f22e52fa845f7c125c123d29e Author: Carlos Garnacho Date: Thu Aug 4 18:44:36 2016 +0200 gdk: Fix gdk_device_tool_get_serial() return value This is a guint64, not just a guint. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/gdkdevicetool.c | 2 +- gdk/gdkdevicetool.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 7e11fcaa184cd1d7f5dafb4415496e6a95a65966 Author: Carlos Garnacho Date: Thu Aug 4 18:40:57 2016 +0200 gdk: Fix GdkDevice::tool-changed signal marshaller GdkDeviceTool is an object, not a boxed type. https://bugzilla.gnome.org/show_bug.cgi?id=770026 gdk/gdkdevice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 09004b51a98d9f6e3cbcbed3065ee61983d1806c Author: Руслан Ижбулатов Date: Mon Jun 27 11:52:12 2016 +0000 Update GTK+ Windows icon (now scles up to 256x256) Also add the SVG file that was used to produce it (derived from the old raster logo). https://bugzilla.gnome.org/show_bug.cgi?id=768081 gdk/win32/rc/gtk.ico | Bin 25214 -> 422926 bytes gdk/win32/rc/gtk.svg | 482 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 482 insertions(+) commit f9b91197c0a5ab29ba0c962b86e2f7ec535d5455 Author: Olivier Fourdan Date: Thu Jun 30 12:56:21 2016 +0200 wayland: Use keyboard serial for implicit grab An xdg-popup requires a serial that the compositor will compare against its own serial and will dismiss the popup if it doesn't match. gtk+ uses either a pointer or touch serial for its helper function _gdk_wayland_seat_get_last_implicit_grab_serial() but if the menu is triggered before the user has had any pointer or touch interaction with the client, using a keyboard shortcut, there is neither pointer nor touch serial available, and gtk+ will use 0 as the default. As a result, the compositor will instantly dismiss the xdg-popup. In this case, gtk+ should use the keyboard serial instead. Track keyboard serial as well and use the keyboard serial as the value if there is no newer pointer or touch serial available. https://bugzilla.gnome.org/show_bug.cgi?id=768017 gdk/wayland/gdkdevice-wayland.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 967e2e0cd371e0a3e4ac59aa55957b251c8bc2a6 Author: Matthias Clasen Date: Fri Aug 19 23:24:47 2016 -0400 Minor doc cleanup gtk-doc is smart about plural links, nowadays. gdk/gdkdevice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 88248e34b1bf55c435b908cfe3fc831f18b87f18 Author: Matthias Clasen Date: Fri Aug 19 23:24:08 2016 -0400 Remove an outdated comment It described as TODO what the code right below it already does. gdk/wayland/gdkglcontext-wayland.c | 1 - 1 file changed, 1 deletion(-) commit 3b0d3d251395b2d5e937003c6e290e2af1a72499 Author: Balázs Úr Date: Fri Aug 19 21:58:57 2016 +0000 Updated Hungarian translation po/hu.po | 638 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 335 insertions(+), 303 deletions(-) commit 9920ef0298b03f65b4c8bc5f0eb03e85ea9f9ad9 Author: Christian Kirbach Date: Fri Aug 19 20:43:57 2016 +0000 Updated German translation po-properties/de.po | 1927 +++++++++++++++++++++++++++------------------------ 1 file changed, 1024 insertions(+), 903 deletions(-) commit edce8f4d15b455578c6c71857f51d62f42c1ded5 Author: Piotr Drąg Date: Thu Aug 18 14:15:19 2016 +0200 Update POTFILES.skip po/POTFILES.skip | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit cc019de6a5c77a7fc3a291de9f25659e76ac7e4f Author: Jonas Ådahl Date: Mon Aug 8 15:00:42 2016 +0800 wayland: Postpone processing move_to_rect params until showing At the time of move_to_rect() is called, not all state may have been set up on the impl gdk window, causing the position to sometimes be slightly offset due to drap shadow margins. For now, work around this by postponing the processing of the move_to_rect() parameters until showing, when its more likely that all state (such as shadow margin) has been set correctly. https://bugzilla.gnome.org/show_bug.cgi?id=769402 gdk/wayland/gdkwindow-wayland.c | 53 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) commit f6929cfef81171f1b59a3950e88e2ce5599d3286 Author: Jonas Ådahl Date: Thu Aug 4 13:56:15 2016 +0800 gdkwindow: Use toplevel for getting root cords in move_to_rect() The Wayland backend manages a set of fake root coordinate spaces, where each non-relative positioned toplevel (i.e. not popups, popovers, tooltips etc) make up the basis of separate fake root coordinate spaces. This means that the Wayland backend doesn't have the abilitiy get a proper root coordinate when querying on a non-toplevel GdkWindow. To avoid this issue, first find the toplevel, while translating the anchor rect coordinates so that they are in the toplevel window coordinate space. Then use this toplevel to translate the coordinates to root window coordinate space. https://bugzilla.gnome.org/show_bug.cgi?id=769402 gdk/gdkwindowimpl.c | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) commit 4e0ebd0cdf5eefcb19f35aa85e1d84c0ef1f2a7d Author: Jonas Ådahl Date: Thu Aug 4 14:07:47 2016 +0800 wayland: Don't traverse transient-ofs when faking root coordinate space The position of each transient-of will be in fake-root coordinate space; thus we should not accumulate all the positions making it an offset; each window is already in fake root coordinate space. https://bugzilla.gnome.org/show_bug.cgi?id=769402 gdk/wayland/gdkwindow-wayland.c | 99 +++++++++++++---------------------------- 1 file changed, 32 insertions(+), 67 deletions(-) commit 1f7094a3e527513e1541bead4323afa80703e8ee Author: Jonas Ådahl Date: Thu Aug 4 14:05:06 2016 +0800 wayland: Use effective toplevel as popup parent When using the set transient-for as a popup parent, fetch the effective toplevel instead, otherwise we will position against the wrong coordinate. https://bugzilla.gnome.org/show_bug.cgi?id=769402 gdk/wayland/gdkwindow-wayland.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit a985e62b25132c7f0043fa1073e371f19bbef4c5 Author: Timm Bäder Date: Wed Aug 10 19:18:27 2016 +0200 Use gtk_popover_popdown/popup where appropriate https://bugzilla.gnome.org/show_bug.cgi?id=769706 gtk/gtkcolorswatch.c | 2 +- gtk/gtkentry.c | 6 +++--- gtk/gtkfilechooserwidget.c | 8 ++++---- gtk/gtkmenubutton.c | 4 ++-- gtk/gtkmodelbutton.c | 2 +- gtk/gtkplacessidebar.c | 6 +++--- gtk/gtkscalebutton.c | 4 ++-- gtk/gtkshortcutswindow.c | 2 +- gtk/gtktextview.c | 4 ++-- gtk/inspector/actions.c | 2 +- gtk/inspector/css-node-tree.c | 2 +- gtk/inspector/prop-list.c | 2 +- 12 files changed, 22 insertions(+), 22 deletions(-) commit a6b9b3648da6271dbd38840aef69dea20b013066 Author: Timm Bäder Date: Wed Aug 10 18:46:35 2016 +0200 GtkPopover: Deprecate transitions-enabled The effect of transitions-enabled=true can now be achieved using gtk_popover_popup/popdown and the effect of transitions-enabled=false can be achieved using gtk_widget_show/hide. https://bugzilla.gnome.org/show_bug.cgi?id=769706 docs/reference/gtk/migrating-3xtoy.xml | 11 ++++++++++- gtk/gtkpopover.c | 10 +++++++++- gtk/gtkpopover.h | 4 ++-- 3 files changed, 21 insertions(+), 4 deletions(-) commit 1f7b6c1d6f822ee660b8cca3b08a2bcc1c48b359 Author: Timm Bäder Date: Wed Aug 10 18:28:14 2016 +0200 GtkPopover: Add gtk_popover_popdown/popup Since not chaining up in gtk_widget_show/gtk_widget_hide is not allowed, we can't just implicitly delay the hiding in GtkPopover's hide implementation. Fix this by introducing gtk_popover_popup() and gtk_popover_popdown() to show or hide a popover with transition and revert GtkPopover's show/hide implementation to apply their effect without the transition. https://bugzilla.gnome.org/show_bug.cgi?id=769706 docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtkpopover.c | 146 +++++++++++++++++++++++++++-------- gtk/gtkpopover.h | 7 ++ 3 files changed, 124 insertions(+), 31 deletions(-) commit a782d632f8cf768a2df819fc38df9e6d1fb92f3e Author: Andika Triwidada Date: Mon Aug 15 06:49:41 2016 +0000 Updated Indonesian translation po-properties/id.po | 584 ++++++++++++++++++++++++++++------------------------ 1 file changed, 310 insertions(+), 274 deletions(-) commit 37e3407ee6258455db59e34a1248dcf58bee137b Author: Andika Triwidada Date: Mon Aug 15 06:30:29 2016 +0000 Updated Indonesian translation po/id.po | 366 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 183 insertions(+), 183 deletions(-) commit 7665ee42089cd303ec627d796c15573ea09e7e3e Author: William Hua Date: Fri Aug 12 11:35:38 2016 -0400 mir: group DND, tooltips, and notifications with menu-type windows gdk/mir/gdkmirwindowimpl.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit b2719c0383f68955e84b368d893caa43c4ec61e2 Author: Andreas Pokorny Date: Tue Jul 19 10:46:06 2016 +0200 Remove outdated comments https://bugzilla.gnome.org/show_bug.cgi?id=768138 gdk/mir/gdkmirwindowimpl.c | 1 - 1 file changed, 1 deletion(-) commit 3334e0a21d175e5396464cbdc247b11ea324feea Author: Andreas Pokorny Date: Tue Jul 19 10:45:33 2016 +0200 Use Menus to implement tooltips The order in which tooltips are created, drawn, shown and then positioned, always requires repositioning the surface. The tooltip window type only has limited capability to do so. An alternative could be to use bufferstreams. https://bugzilla.gnome.org/show_bug.cgi?id=768138 gdk/mir/gdkmirwindowimpl.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) commit 056ddf2567032443f2f7bce03f4c291c253ee7c2 Author: Andreas Pokorny Date: Tue Jul 19 10:36:45 2016 +0200 Fix execution of dialog When a dialog is created, the mir event source is already executed on the call stack. So without the recurse flag it will not be run in the main loop used for the dialog. https://bugzilla.gnome.org/show_bug.cgi?id=768138 gdk/mir/gdkmireventsource.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 4e418ed71d1610903dab7568a6f79611d984137b Author: Matthias Clasen Date: Thu Aug 11 12:22:01 2016 -0400 file chooser: align date formatting with nautilus We were treating 'yesterday' not quite the same way. https://bugzilla.gnome.org/show_bug.cgi?id=769568 gtk/gtkfilechooserwidget.c | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) commit 64c15545c32f49d7f417d460f978cd63d3253861 Author: Matthias Clasen Date: Thu Aug 11 09:28:58 2016 -0400 docs: Fix a dangling link https://bugzilla.gnome.org/show_bug.cgi?id=769601 docs/reference/gtk/question_index.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 007ac65f19ac827cf9ee13f7974a5e39e33ef7ce Author: Matthias Clasen Date: Thu Aug 11 07:07:05 2016 -0400 Really fix unlinkage for shm_open Reported in https://bugzilla.gnome.org/show_bug.cgi?id=769603 gdk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f95d270372f1b798d67c0de18b6da37c6560ec9e Author: Andreas Pokorny Date: Tue Jul 12 16:25:01 2016 +0200 Only apply type hint if it would map to a different mir surface type Signed-off-by: Andreas Pokorny gdk/mir/gdkmirwindowimpl.c | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) commit da17eae747a060ebaa05e777ab3ae68b070d0ef4 Author: Andreas Pokorny Date: Tue Jul 12 16:11:46 2016 +0200 Apply geometry hints to mir surface Signed-off-by: Andreas Pokorny gdk/mir/gdkmirwindowimpl.c | 46 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 2 deletions(-) commit 96dcf8915548c14e1ebea07c38a4763aca488ef2 Author: Andreas Pokorny Date: Tue Jul 12 12:44:34 2016 +0200 Apply and forward title changes of gdk windows Signed-off-by: Andreas Pokorny gdk/mir/gdkmirwindowimpl.c | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) commit 6dfb554558baf34b321fbdc8ff941297c8eb323a Author: Andreas Pokorny Date: Tue Jul 19 14:53:22 2016 +0200 Only update surface spec when there is no spec change pending gdk/mir/gdkmirwindowimpl.c | 36 +++++++++++++++++++++++++++++++----- 1 file changed, 31 insertions(+), 5 deletions(-) commit 5a8af1af757df48c4cc445540906a5a0aa38051c Author: Andreas Pokorny Date: Tue Jul 19 14:48:59 2016 +0200 Rework window construction - only recreate surface when necessary Signed-off-by: Andreas Pokorny gdk/mir/gdkmir-private.h | 2 +- gdk/mir/gdkmirdisplay.c | 2 +- gdk/mir/gdkmirscreen.c | 2 +- gdk/mir/gdkmirwindowimpl.c | 165 ++++++++++++++++++++++++++------------------- 4 files changed, 98 insertions(+), 73 deletions(-) commit 83471052cf1535c41370cfc8eead80e6899b3b51 Author: Andreas Pokorny Date: Tue Jul 19 14:44:42 2016 +0200 Forward repeated key presses as further down keys Signed-off-by: Andreas Pokorny gdk/mir/gdkmireventsource.c | 33 +++++++++++---------------------- 1 file changed, 11 insertions(+), 22 deletions(-) commit 097ed2b40a9654ec2c96b13276781f9411899493 Author: Andreas Pokorny Date: Tue Jun 28 16:37:06 2016 +0200 Fix warning on newer version so mir 0.22 and newer Signed-off-by: Andreas Pokorny configure.ac | 2 +- gdk/mir/gdkmirscreen.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) commit bc4df6d4b300dea4ad7e66d5ea000b2e322e22be Author: Andreas Pokorny Date: Tue Jun 28 16:35:36 2016 +0200 Fix gcc warning on potentially uninitialized gdk_event. gdk/mir/gdkmireventsource.c | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) commit 252ccb846fd94327f75ed25b90d53e427b3b3e50 Author: Andreas Pokorny Date: Tue Jul 19 14:56:34 2016 +0200 Use the surface output event to keep track of the suggested scale value The event will be sent when the surface becomes visible on an output. With this change the GdkMirWindowImpl keeps track of the scale value and sends a configure event on change. Signed-off-by: Andreas Pokorny gdk/mir/gdkmir-private.h | 2 ++ gdk/mir/gdkmireventsource.c | 10 ++++++++++ gdk/mir/gdkmirwindowimpl.c | 44 ++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 54 insertions(+), 2 deletions(-) commit bdb77b6cc26b0cf98bbc2afee53ed40fd3e65361 Author: Timm Bäder Date: Wed Aug 10 15:23:13 2016 +0200 widget-factory: Don't initially show popover It'll be set as the popover of a GtkMenuButton later anyway which will hide it again. demos/widget-factory/widget-factory.ui | 1 - 1 file changed, 1 deletion(-) commit 0d17421ffdc3b6d3d47eaa38791f84e6111fe3f0 Author: Timm Bäder Date: Tue Aug 9 19:29:41 2016 +0200 popover: Make some public API NULL-safe Instad of potentially dereferencing a NULL-pointer, use the NULL-safe gtk_popover_get_instance_private before the g_return_if_fail precondition check. gtk/gtkpopover.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 57ef6312166537e9145088d576dc3a60bac81ca2 Author: Timm Bäder Date: Tue Aug 9 15:13:01 2016 +0200 label: Remove some useless casts These were casts of a const GdkEvent* to GdkEvent* even though the function they are passed to takes a const GdkEvent*. gtk/gtklabel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b0f793c8e71b7d187a30a0010720ae53e7ac74ed Author: Ignacio Casal Quinteiro Date: Wed Aug 10 12:29:01 2016 +0200 Use g_snprintf instead of snprintf. snprintf is not compatible with msvc. gtk/gtkscale.c | 3 ++- gtk/gtkspinbutton.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit da2e612fa8f00ae2eca72d136037652d87c27d2a Author: Emmanuele Bassi Date: Tue Aug 9 17:20:40 2016 +0100 git.mk: Add config.rpath to the list of ignored files This finally cleans up the `git status` output. git.mk | 1 + 1 file changed, 1 insertion(+) commit 2d2f8e3fa3d39228f3be548789fc21774eaf52a6 Author: Emmanuele Bassi Date: Tue Aug 9 17:16:17 2016 +0100 Remove config.rpath from EXTRA_DIST The config.rpath script was added by running gettextize, but it's not really needed, as config.rpath is generated by autotools and it's included in the dist tarball automatically. Upstream gettextize has been fixed so it does not happen any more: http://savannah.gnu.org/bugs/index.php?48729 Makefile.am | 1 - 1 file changed, 1 deletion(-) commit 0be9adc5a3131821ba3307370203905dc2c69445 Author: Marek Černocký Date: Tue Aug 9 12:19:03 2016 +0200 Updated Czech translation po-properties/cs.po | 2180 ++++++++++++++++++++++++++------------------------- po/cs.po | 1084 +++++++++++++------------ 2 files changed, 1708 insertions(+), 1556 deletions(-) commit 1c9154b29178f1b4580564b32f817eadc0a08c4e Author: Dušan Kazik Date: Mon Aug 8 07:38:30 2016 +0000 Updated Slovak translation po/sk.po | 499 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 252 insertions(+), 247 deletions(-) commit a12ee84ec3466e2f4262d0bd484ef93f766a6545 Author: Matthias Clasen Date: Sun Aug 7 16:11:55 2016 -0400 wayland: Link against librt This is required for shm_open. https://bugzilla.gnome.org/show_bug.cgi?id=769603 gdk/wayland/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5fefc7a71432c05e30ff2954ef8157907efd27c3 Author: Matthias Clasen Date: Fri Aug 5 01:08:44 2016 -0400 headerbar: Fix size allocation The GtkHeaderBar gadget implementation was subtly broken: it called gtk_widget_set_allocation both in gtk_header_bar_size_allocate (with the actual allocation) and in gtk_header_bar_allocate_contents (with the content allocation of the main gadget). Dropping the second call fixes the render node conversion for GtkHeaderBar. gtk/gtkheaderbar.c | 2 -- 1 file changed, 2 deletions(-) commit cb3fc956c5cebdbeee1fe9dd1038b1f9ccc61852 Author: Yosef Or Boczko Date: Sun Aug 7 16:05:42 2016 +0300 Updated Hebrew translation po-properties/he.po | 2172 +++++++++++++++++++++++++++------------------------ 1 file changed, 1133 insertions(+), 1039 deletions(-) commit 6a2cba08c9fb4080e66d319521ea98dc0846681f Author: Yosef Or Boczko Date: Sun Aug 7 15:56:25 2016 +0300 Updated Hebrew translation po/he.po | 353 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 179 insertions(+), 174 deletions(-) commit 7b40fdbc2109ed40faff051bcf2c323ffb280741 Author: Philip Withnall Date: Wed Nov 20 17:21:28 2013 +0000 gdkwindow: Fix potential NULL pointer dereferences in event code The event code could potentially dereference pointer_info if the invariant that ENTER_NOTIFY and LEAVE_NOTIFY events are only emitted on devices which have pointers is violated elsewhere. Found with scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gdk/gdkwindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 76721e736e9605b3a7ec76d3676d8cb5f4172490 Author: Philip Withnall Date: Wed Aug 3 21:12:27 2016 +0100 gtkicontheme: Don’t emit warning about fallback theme when in unit tests In order to eliminate g_test_expect_message() (which doesn’t work with G_LOG_USE_STRUCTURED), make the warning about the fallback theme not existing be conditional on the icon theme search path containing a system path. Any application code which modifies the search path does so through appends and prepends, so this should not affect whether the warning is emitted in production. https://bugzilla.gnome.org/show_bug.cgi?id=769485 testsuite/gtk/icontheme.c | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) commit 1306f780abc1aa928c140107eace3896e43535bb Author: Matthias Clasen Date: Sat Aug 6 17:10:43 2016 -0400 tests: Avoid g_test_expect_message Instead of using g_test_expect_message, just ignore the warning. testsuite/gtk/treestore.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 64521345b9480cce790e0b299ffa20b44d9461ff Author: Colomban Wendling Date: Fri Jul 29 00:39:30 2016 +0200 GtkMenuButton: use :toggled instead of :clicked :toggled is triggered on :clicked, so using :toggled lead to the menu to be popped up at the same time, while allowing to use the toggle state and avoiding any need to a hack to prevent recursion, which somehow wasn't enough for double emission of GtkMenuToolButton:show-popup. https://bugzilla.gnome.org/show_bug.cgi?id=769287 gtk/gtkmenubutton.c | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) commit 41be1e7e1fec1d744e70b8c6bc21b2ca3812e4e0 Author: Piotr Drąg Date: Thu Aug 4 21:09:45 2016 +0200 Updated Polish translation po-properties/pl.po | 962 ++++++++++++++++++++++++++-------------------------- po/pl.po | 606 ++++++++++++++++----------------- 2 files changed, 782 insertions(+), 786 deletions(-) commit 2f9b22243a087c224f25a72f0c028ed46d043b4e Author: Timm Bäder Date: Thu Aug 4 17:32:05 2016 +0200 csslookup: Remove useless cast The style passed to _gtk_css_lookup_resolve is already a GtkCssStaticStyle. gtk/gtkcsslookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit be2e0e0baf2177c1e7d928f2fa189b93d567e46d Author: Bernd Homuth Date: Thu Aug 4 18:38:09 2016 +0000 Updated German translation (cherry picked from commit 070c4f74868c31cc9316bbad38e2ad42adc43443) po-properties/de.po | 801 ++++++++++++++++++++++++++-------------------------- 1 file changed, 400 insertions(+), 401 deletions(-) commit 5e6c1928b4b45e34fd70d56f5cd229cfb2f30518 Author: Руслан Ижбулатов Date: Sat Jul 16 09:23:22 2016 +0000 W32: Prefer the deadkey combinations that the OS uses Pick the W32 API for possible deadkey+ combinations and prefer these to other sources of deadkey combos. Specifically, if W32 API supports at least one combo for a particular deadkey, only use that data and do not attempt to do other, unsupported combinations, even if they make sense otherwise. This is needed to, for example, correctly support US-International keyboard layout, which produces a combined character for <' + a> combo, but not for <' + s>, for example. This is achieved by stashing all the deadkeys that we find in an array, then doing extra loop through all virtual key codes and trying to combine them with each of these deadkeys. Any combinations that produce a single character are cached for later use. In GTK Simple IM context, call a new GDK W32 function to do a lookup on that cached combination table early on, among the "special cases" (which are now partially obsolete). A limitation of this code is that combinations with more than one deadkey are not supported, except for combinations that consist entirely of 2 known deadkeys. The upshot is that lookups should be relatively fast, as deadkey array stays small and the combination tree stays shallow. Note that the use of ToUnicodeEx() seems suboptimal, as it should be possible to just load a keyboard library (KBD*.DLL) manually and obtain and use its key table directly. However, that is much more complicated and would result in a significant rewrite of gdkkeys-win32. The code from this commit, though hacky, is a direct addition to existing code and should cover vast majority of the use-cases. https://bugzilla.gnome.org/show_bug.cgi?id=569581 gdk/win32/gdkkeys-win32.c | 403 ++++++++++++++++++++++++++++++++++++++++++++-- gdk/win32/gdkwin32keys.h | 25 +++ gtk/gtkimcontextsimple.c | 29 ++++ 3 files changed, 443 insertions(+), 14 deletions(-) commit 52c7e07948f0d82ade7c730e99c53dea3e13ca67 Author: Руслан Ижбулатов Date: Wed Jul 13 11:41:35 2016 +0000 GDK W32: Cache multiple keyboard layouts simultaneously This changes the group/level semantic. Previously W32 backend used "group 0/1" to denote "AltGr OFF/ON" and "level 0/1" to denote "Shift is OFF/ON". Now "group" means "keyboard layout" and there can be up to 255 groups, while AltGr and Shift are combined into a single level enum that takes values between 0 and 4. Unlike X, W32 doesn't do effective group overriding, meaning that it will never tell the caller that a different group was actually used (even for universal keys, such as Enter), because key symbol table is completely fabricated and there's no point in trying to save a few of kilobytes of RAM by not duplicating universal key records for all groups. Also contains many whitespace changes (tab elimination, fixed indentation) and cleanup (axed a few global variables, these are now accessed via the default keymap). https://bugzilla.gnome.org/show_bug.cgi?id=768722 gdk/gdkkeyuni.c | 8 +- gdk/win32/gdkevents-win32.c | 12 +- gdk/win32/gdkkeys-win32.c | 983 +++++++++++++++++++++++++++++-------------- gdk/win32/gdkmain-win32.c | 1 + gdk/win32/gdkprivate-win32.h | 12 +- 5 files changed, 679 insertions(+), 337 deletions(-) commit 60f3c02080fe8d0ad1177d05e5e4e1ab399f26c1 Author: Timm Bäder Date: Thu Aug 4 13:33:07 2016 +0200 shortcutlabel: Make parameter names match gtk/gtkshortcutlabel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 50a0c5f2425aaf403867a95993b728c5fd6261f5 Author: Timm Bäder Date: Sat Jul 9 18:22:27 2016 +0200 widget: remove some unneeded function prototypes gtk/gtkwidget.c | 16 ---------------- 1 file changed, 16 deletions(-) commit 6032e7b216d8513f4d4b9acfdf446cfa6c8f0d92 Author: Timm Bäder Date: Fri Jul 1 10:51:06 2016 +0200 filechooserwidget: Remove unused enum gtk/gtkfilechooserwidget.c | 5 ----- 1 file changed, 5 deletions(-) commit 41c8446631066505b145914fe58fb84ff4fad997 Author: Timm Bäder Date: Tue Jul 19 14:40:52 2016 +0200 label: Destroy the popup menu on unmap gtk/gtklabel.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 6107e50c98c1b36bc65e14779ee3a1c1824fd00a Author: Daniel Mustieles Date: Wed Aug 3 12:28:56 2016 +0000 Updated Spanish translation po-properties/es.po | 71 ++++++++++++++++++++++++++++------------------------- 1 file changed, 37 insertions(+), 34 deletions(-) commit 445286c2c3fdb7a3c246491da8ceb2a82c07dfd4 Author: Emmanuele Bassi Date: Wed Aug 3 11:52:08 2016 +0100 Modify git.mk to handle our split NLS directories GTK+ has two directories for translations: the default 'po' and the additional 'po-properties' for the GObject properties translation domain. Since the content of the translations directories are filled by autoreconf and gettext, and are duplicated between the two gettext domains we use, we should handle this ad hoc inside git.mk, instead of trying to catch up by adding po-properties files in GITIGNOREFILES. Makefile.am | 10 ++-------- git.mk | 40 +++++++++++++++++++++++----------------- 2 files changed, 25 insertions(+), 25 deletions(-) commit 9e1afd7ba8dfc0edade1f8af7bd0635067589133 Author: Emmanuele Bassi Date: Wed Aug 3 11:49:15 2016 +0100 Add ignore file for macro dir The contents of the macro directory are too complicated for git.mk to handle: the contents are filled by autotools and may change between systems or autotools releases; and we additionally ship our own m4 macros. To avoid unnecessary noise on the `git status` output we should simply add an ignore file specifically for the macro directory. m4/.gitignore | 3 +++ 1 file changed, 3 insertions(+) commit 80d329a3e70fdba725e707ee663fe16d8a0ad3a7 Author: Matthias Clasen Date: Tue Aug 2 23:59:34 2016 -0400 Skip GtkShortcutLabel::accelerator in notify test This property is not freely settable, since the string gets parsed. testsuite/gtk/notify.c | 4 ++++ 1 file changed, 4 insertions(+) commit 2de6b0800d88702d3e4208defb6136fa635b7143 Author: Matthias Clasen Date: Tue Aug 2 23:42:11 2016 -0400 menu: Fix up new properties The new positioning-related properties had some quality of implementation issues, such as incorrect initial values and excessive change notification. This broke the notify test. gtk/gtkmenu.c | 41 +++++++++++++++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 8 deletions(-) commit 5ab2b8f562095a3f4d44b8e5c86916e419f527aa Author: Matthias Clasen Date: Tue Aug 2 23:23:43 2016 -0400 Make icontheme test work with structured logging Since we've opted in to G_LOG_USE_STRUCTURED, this test now needs to do its thing using a log writer function. testsuite/gtk/icontheme.c | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) commit d9c07c0a6afc5fb5eae1ae8148f520b59b53937c Author: Matthias Clasen Date: Tue Aug 2 22:32:25 2016 -0400 Skip GdkDrawingContext in default value tests GdkDrawingContext objects can't be freely constructed. testsuite/gtk/defaultvalue.c | 1 + 1 file changed, 1 insertion(+) commit 43a533112531d2e9d1ba390bc3116554a4d05ba3 Author: Emmanuele Bassi Date: Tue Aug 2 22:13:54 2016 +0100 Require a new version of GLib We need GLib 2.49.4 because of the new API requirements introduced by commit 936c1649. https://bugzilla.gnome.org/show_bug.cgi?id=769451 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 60c393d32f6f4f2ab2d4c744b3ff59e4029a21fd Author: Daniel Mustieles Date: Tue Aug 2 16:52:29 2016 +0200 Updated Spanish translation po-properties/es.po | 108 ++++++++++++++++++++++++++-------------------------- 1 file changed, 53 insertions(+), 55 deletions(-) commit 55a95682641d1187a41a09d13c039acec8ba49fc Author: Daniel Mustieles Date: Tue Aug 2 16:52:19 2016 +0200 Updated Spanish translation po/es.po | 136 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 66 insertions(+), 70 deletions(-) commit 831d8b12612bdc3c45334836fa6d0a4b4e96b2bf Author: Emmanuele Bassi Date: Tue Aug 2 12:28:00 2016 +0100 Update the docs for gtk_window_get_position() Drop mentions of GnomeClient, and add mentions of different windowing systems instead of just assuming that we're using X11. gtk/gtkwindow.c | 42 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 22 deletions(-) commit 0989614d2d94dec8bcc764d1e3c8180deead04a2 Author: Matthias Clasen Date: Mon Aug 1 09:09:19 2016 -0400 Add a release not about GtkTable expand flags docs/reference/gtk/migrating-3xtoy.xml | 6 ++++++ 1 file changed, 6 insertions(+) commit 4556d0f0fe969e8f2144602696b4580b9718b71e Author: Christoph Reiter Date: Tue Jul 26 13:09:21 2016 +0200 gtkbox: remove unnecessary queue_compute_expand() The expand child property does not have any effect on the expand state of the GtkBox, so queuing a compute_expand when changing it is not needed. https://bugzilla.gnome.org/show_bug.cgi?id=769162 gtk/gtkbox.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) commit a72f1c76c87de7a8124a809fe9692194273c563e Author: Christoph Reiter Date: Tue Jul 26 12:37:55 2016 +0200 gtktable: don't try to propagate expand related child props in compute_expand() It tried to set the expand state if either xexpand/yexpand where true. Due to a missing queue_compute_expand when adding a child it actually only computed the expand state in case a child queued after being added or in case a child had the expand property set (see optimization in gtk_widget_set_parent) In my case this broke layouts as a child of GtkCombBox started setting an exand flag with 3.20 which queued a compute_expand, which in turn propagated an expand child props set for a cell in the same table up and overrode the expand child prop of a parent GtkBox. This removes the custom compute_expand implementation to match the behaviour of GtkBox (don't propagate child prop expand flags but let child expand flags override the child props) and not get random expand behaviour depending on whether and when child widgets set their expand state. https://bugzilla.gnome.org/show_bug.cgi?id=769162 gtk/deprecated/gtktable.c | 63 ++--------------------------------------------- 1 file changed, 2 insertions(+), 61 deletions(-) commit e4c072fc11fb9f20705f1a4d4b5958f94b16dabe Author: Aurimas Černius Date: Sun Jul 31 19:58:56 2016 +0300 Updated Lithuanian translation po-properties/lt.po | 1375 +++++++++++++++++++++++++++------------------------ po/lt.po | 614 ++++++++++++----------- 2 files changed, 1038 insertions(+), 951 deletions(-) commit 64739f46fc87a551d346267710423f14c9a78f2b Author: Bastien Nocera Date: Wed Jul 27 19:13:31 2016 +0200 demos: Fix build failure gtk+/demos/gtk-demo/css_blendmodes.c: In function ‘update_css_for_blend_mode’: gtk+/demos/gtk-demo/css_blendmodes.c:49:26: error: format not a string literal, argument types not checked [-Werror=format-nonliteral] blend_mode); ^~~~~~~~~~ https://bugzilla.gnome.org/show_bug.cgi?id=769236 demos/gtk-demo/css_blendmodes.c | 3 +++ 1 file changed, 3 insertions(+) commit 331af2afb6883d42b39dfdb4dd04fbeb19f14780 Author: Sébastien Wilmet Date: Thu Jul 28 20:51:05 2016 +0200 docs: trivial build fix The error was: gtk3-scan.c:193: undefined reference to `gtk_shortcuts_label_get_type' collect2: error: ld returned 1 exit status It's since commit 7543cd8ce419a4d660f0ff7614f0c6e1cac81804, which made the GtkShortcutLabel class public. docs/reference/gtk/gtk3.types.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b01e975667ead36ac27e24c7e16733edc26d32bd Author: Matthias Clasen Date: Tue Jul 26 15:45:39 2016 -0400 Port GtkPrintOperationPortal to gtk_window_export_handle gtk/gtkprintoperation-portal.c | 75 +++++++++++++++++++++++++++--------------- 1 file changed, 49 insertions(+), 26 deletions(-) commit 936c1649dea3cd9b686fdd05949f45777c3b2335 Author: Matthias Clasen Date: Tue Jul 26 15:44:49 2016 -0400 Port gtk_show_uri_on_window to gtk_window_export_handle As part of this, make it use the new g_app_info_launch_default_for_uri_async, since we need a way to unexport the window handle afterwards. gtk/gtkshow.c | 57 +++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 35 insertions(+), 22 deletions(-) commit 237df66a33267ba4aad6141a041ab8f2a28ae6f8 Author: Matthias Clasen Date: Tue Jul 26 15:48:18 2016 -0400 Port GtkFileChooserNativePortal to gtk_window_export_handle gtk/gtkfilechoosernativeportal.c | 149 ++++++++++++++++++++++++--------------- 1 file changed, 91 insertions(+), 58 deletions(-) commit 18aa05110fe7b8ed72843a993e36a52b88600722 Author: Matthias Clasen Date: Tue Jul 26 15:46:41 2016 -0400 Put window exporting behind a display protocol agnostic API Introduce a private API meant for abstracting how to get a handle of a window that can be shared with other processes. The API is async, since some implementations will require that. Currently, only X11 is supported, which doesn't. Based on a patch by Jonas Adahl. gtk/gtkwindow.c | 30 ++++++++++++++++++++++++++++++ gtk/gtkwindowprivate.h | 11 +++++++++++ 2 files changed, 41 insertions(+) commit 2233566f4854c07d89deeeb8505e82bad544787c Author: Руслан Ижбулатов Date: Sun Jul 24 14:26:06 2016 +0000 GDK W32: Support UTF-16 surrogate pairs passed via VK_PACKET This is, essentially, a piece of g_utf16_to_ucs4() built into GDK W32 keyboard message processing. https://bugzilla.gnome.org/show_bug.cgi?id=769126 gdk/win32/gdkevents-win32.c | 75 ++++++++++++++++++++++++++++++++++++++------- gdk/win32/gdkwindow-win32.h | 8 +++++ 2 files changed, 72 insertions(+), 11 deletions(-) commit 5ccc0e40f5eaa9c0e2121674913c398e9963f0be Author: Benjamin Otte Date: Thu Jul 28 11:41:21 2016 -0400 css: Fix case where we didn't convert pt => px Fixes gtk_widget_override_font() not behaving properly since commit df08fc91bdc1d2e4c866122304fabe4dd298a7de. https://bugzilla.gnome.org/show_bug.cgi?id=768902 gtk/gtkcssshorthandpropertyimpl.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit f4222080401ddd06c99f96d6bd07d574340b04e9 Author: Benjamin Otte Date: Thu Jul 28 11:31:30 2016 -0400 css: Rename functions I don't want to use a generic function for font sizes as font sizes are special. Plus, the function is only used in one place. gtk/gtkcssstylepropertyimpl.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit ca6c928c5ba9516e70f4e22f1717aa113fb6f20a Author: Emilio Pozuelo Monfort Date: Thu Jul 28 17:13:15 2016 +0200 Properly declare the font CSS property https://bugzilla.gnome.org/show_bug.cgi?id=769004 testsuite/reftests/label-sizing.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b9f61e3a8e8040bd7719c4d85b6e623ee75420a3 Author: Emilio Pozuelo Monfort Date: Thu Jul 28 17:12:25 2016 +0200 Don't use one-stop gradients They are deprecated, which causes a warning that makes the test fail. https://bugzilla.gnome.org/show_bug.cgi?id=769004 testsuite/reftests/linear-gradient-transition-to-other.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0fd69ce99a323bf4e4d60b9b424cff63cf0aff28 Author: Murray Cumming Date: Thu Jul 28 11:12:54 2016 +0200 Fix tiny typo. gtk/gtkactionable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 15b2dbf9a8e6de17fb74eef989ed5923ef6c6180 Author: Lapo Calamandrei Date: Wed Jul 27 22:54:20 2016 +0200 Adwaita: use a transition to animate checks and radios see https://bugzilla.gnome.org/show_bug.cgi?id=762260 gtk/theme/Adwaita/_common.scss | 41 ++++++++++++----------------- gtk/theme/Adwaita/gtk-contained-dark.css | 45 ++++++++++++-------------------- gtk/theme/Adwaita/gtk-contained.css | 45 ++++++++++++-------------------- 3 files changed, 51 insertions(+), 80 deletions(-) commit ddee89f4a3b17f99faef5fcea528dc1e5d963061 Author: Georges Basile Stavracas Neto Date: Tue Jul 26 17:12:31 2016 -0300 shortcut-label: add 'disabled-text' property When there's no useful shortcut accelerator set, GtkShortcutLabel doesn't show any useful information. To work around that, add a new property to set the text to be displayed when there's no accelerator available. https://bugzilla.gnome.org/show_bug.cgi?id=769205 gtk/gtkshortcutlabel.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++++-- gtk/gtkshortcutlabel.h | 7 +++++ 2 files changed, 83 insertions(+), 2 deletions(-) commit 7543cd8ce419a4d660f0ff7614f0c6e1cac81804 Author: Georges Basile Stavracas Neto Date: Tue Jul 26 16:00:47 2016 -0300 shortcut-label: make it public GtkShortcutLabel is a widget that displays a single shortcut accelerator or gesture in the user interface, and is currently used by the shortcuts window. This widget, however, has public value as other applications also may want to expose their own shortcuts. For instance, it'll be useful for the Keyboard panel on Control Center and the new shortcut editor in Pitivi, among others. This patch exposes GtkShortcutLabel as a public widget, and adds the necessary documentation. https://bugzilla.gnome.org/show_bug.cgi?id=769205 docs/reference/gtk/gtk3.types.in | 1 + gtk/Makefile.am | 2 +- gtk/gtk.h | 1 + gtk/gtkshortcutlabel.c | 49 +++++++++++++++++++++- ...tkshortcutlabelprivate.h => gtkshortcutlabel.h} | 7 +++- gtk/gtkshortcutsshortcut.c | 2 +- 6 files changed, 58 insertions(+), 4 deletions(-) commit 8e6a68c5fc1d203cdc6a3e2dbf177ce8ef6892ec Author: Carlos Garnacho Date: Wed Jul 27 20:23:35 2016 +0200 GtkScrolledWindow: reset scroll history if it contained no real history Scroll history must refer to a timespan for the values to be valid, otherwise we return FALSE, in this case the stored event(s) should be discarded anyway. gtk/gtkscrolledwindow.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 9eb356d9f29a881e05937a0089d88154cfc6364a Author: Carlos Garnacho Date: Wed Jul 27 20:19:30 2016 +0200 GtkScrolledWindow: Always uninstall scroll cursor when starting deceleration It could be the case that the last scroll event is received long after any previous scroll event, in this case the last scroll event discards all "old" scroll events, and scroll_history_finish() returns FALSE because there's no time/offset deltas in the scroll history. This is desired so we don't trigger the deceleration effect if there was no effective velocity, we still must reset the installed scroll cursor, so take it out of this if() condition. gtk/gtkscrolledwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit c0f66ed1ea39f5a0b09f87055198921cb718c7ba Author: Tiago Santos Date: Wed Jul 27 07:35:14 2016 +0000 Updated Portuguese translation po-properties/pt.po | 376 ++++++++++++++++++++++++++++------------------------ 1 file changed, 202 insertions(+), 174 deletions(-) commit 0f329195035eddc5dbc5f640bf4eb58348b439c5 Author: Matthias Clasen Date: Tue Jul 26 07:25:01 2016 -0400 Stop using one-stop gradients in reftests This is causing warnings now that make the tests fail. testsuite/reftests/background-image-multiple.css | 10 +++++----- testsuite/reftests/background-size-zero.css | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) commit 45957100b0e5b981e6da994cf0ee597f1e7e6edb Author: Matthias Clasen Date: Tue Jul 26 00:21:48 2016 -0400 Revert a mistaken change I thought I needed ot rearrange the ordering of the animation-direction values for the parser, overlooking the fact that we already parse them backwards to address this very problem. gtk/gtkcssenumvalue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit af5ef152b1c1949f580e96fa0ef125a96ece878e Author: Sébastien Wilmet Date: Sun Jul 24 17:20:29 2016 +0200 docs: GtkWidget::style-updated vs GtkStyleContext::changed Explain the difference between those two signals. Add "Since: 3.0" for GtkStyleContext::changed, since that signal has been added in commit 9f84e101bf150a85f82e15c56130b1f98b8fdbf0, present since 2.91.6. https://bugzilla.gnome.org/show_bug.cgi?id=769047 gtk/gtkstylecontext.c | 13 +++++++++++++ gtk/gtkwidget.c | 9 ++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) commit 3432587f890e58584907776d45bb54b82cf25f89 Author: Sébastien Wilmet Date: Sun Jul 24 13:16:31 2016 +0200 docs: add missing info for gtk_widget_get_style_context() It is important to know whether the returned object can or cannot change, for a certain widget. For example to connect to the GtkStyleContext::changed signal. https://bugzilla.gnome.org/show_bug.cgi?id=769047 gtk/gtkwidget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f089d7503b5e23caa8e99090439ff0ffd8d815cb Author: Matthias Clasen Date: Mon Jul 25 09:11:21 2016 -0400 GtkApplication: some cleanups Always return an error if we fail to get a dbus proxy; the callers are only looking whether error is set, not whether the return value is NULL. Use the same function for the inhibit proxy as well, and clean up the sm_proxy in finalize. gtk/gtkapplication-dbus.c | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) commit f65c116d2a326e195a7fd7e64fb210b2c8486899 Author: Simon McVittie Date: Mon Jun 6 09:48:36 2016 +0100 Don't apply GDK_HINT_RESIZE_INC to GDK_WINDOW_STATE_TILED windows This matches the behaviour of Mutter, Metacity and traditional X11 window managers on the window manager side, and is what we want for at least gnome-terminal. I can't think of any reason why we'd want incremental resize in any other tiled window. Signed-off-by: Simon McVittie Bug: https://bugzilla.gnome.org/show_bug.cgi?id=760944 https://bugzilla.gnome.org/show_bug.cgi?id=755947 gdk/wayland/gdkwindow-wayland.c | 10 +++++----- gtk/gtkwindow.c | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) commit d9dd7eb7576c905312cae5bc5a0b86a13d2c6465 Author: Cosimo Cecchi Date: Sat Jul 16 11:48:32 2016 -0700 reftests: override GSETTINGS_SCHEMA_DIR when running tests The reftest depends on a schema we install ourselves. Instruct GIO to look in the build directory to avoid a cyclic dep. https://bugzilla.gnome.org/show_bug.cgi?id=768930 testsuite/reftests/Makefile.am | 16 ++++++++++++++++ testsuite/reftests/gtk-reftest.c | 6 ++++++ 2 files changed, 22 insertions(+) commit f44baf51d9e8616acd9b929d9cfef83a4a3ad00a Author: Matthias Clasen Date: Mon Jul 25 08:32:24 2016 -0400 Avoid a division by zero It appears that xvfb returns nonsense in its xrandr resources. Avoid a crash when that happens. https://bugzilla.gnome.org/show_bug.cgi?id=768999 gdk/x11/gdkscreen-x11.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8db8891c66e9b5dc07deba631f2facc9383b7c2e Author: Matthias Clasen Date: Mon Jul 25 08:32:08 2016 -0400 Use g_clear_object in a few more places gtk/gtkwidget.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit bab906f83846f96b407510e42cf21c281e492451 Author: Lapo Calamandrei Date: Sun Jul 24 19:11:27 2016 +0200 Adwaita: use margins for entry image spacing there used to be a padding, since it was the only option in the past, that makes little sense now, hence use margins. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 6 ++---- gtk/theme/Adwaita/gtk-contained.css | 6 ++---- 3 files changed, 6 insertions(+), 10 deletions(-) commit bc070a70a57f19df349c3af93cd1642e39bf1b76 Author: Lapo Calamandrei Date: Sun Jul 24 18:58:45 2016 +0200 HC: export unfocused_insensitive_color... ...to reflect Adwaita changes. gtk/theme/HighContrast/_colors.scss | 1 + gtk/theme/HighContrast/gtk-contained-inverse.css | 3 ++- gtk/theme/HighContrast/gtk-contained.css | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) commit f84b8c1c26b6b9aa6a7f059b832b9fea98faf85d Author: Lapo Calamandrei Date: Sun Jul 24 18:04:51 2016 +0200 Adwaita: export yet another named color for insensitive bg/fg... ...which was needed, but not there, use responsibly. gtk/theme/Adwaita/_colors-public.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 10 insertions(+) commit dd09e252c937302f9519b088ff6963e826a95b85 Author: Timm Bäder Date: Sat Jul 23 14:07:47 2016 +0200 Fix a few documentation parameter names gtk/gtkfilechooser.c | 2 +- gtk/gtkfilefilter.c | 2 +- gtk/gtkpapersize.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 82fd72a477682dce8383485372192130aa440f77 Author: Matthias Clasen Date: Fri Jul 22 23:11:44 2016 -0400 Opt in to structured logging Define G_LOG_USE_STRUCTURED, so that all our g_debug, g_warning, etc calls directly use structured logging and provide source information. gdk/Makefile.am | 1 + gdk/broadway/Makefile.am | 1 + gdk/mir/Makefile.am | 1 + gdk/quartz/Makefile.am | 1 + gdk/wayland/Makefile.am | 1 + gdk/win32/Makefile.am | 1 + gdk/x11/Makefile.am | 1 + gtk/Makefile.am | 1 + 8 files changed, 8 insertions(+) commit 4a9f17c690c450f4a937badf3cb631743e663eed Author: Carlos Garnacho Date: Fri Jul 22 20:58:55 2016 +0200 wayland: Fix build Missing include pointing to tablet-unstable-v1-client-protocol.h, pays me for not testing on a clean checkout. gdk/wayland/gdkdisplay-wayland.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9fe0c1e12625e510c3bd39f68da7b4c743253c14 Author: Carlos Garnacho Date: Fri May 13 15:25:25 2016 +0200 wayland: Use wl_fixed_t on wp_tablet_tool angle arguments This is an incompatible change in tablet protocol v2. gdk/wayland/gdkdevice-wayland.c | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) commit 536017646e802044a4c20e2ef74b8aa3ed42f39a Author: Carlos Garnacho Date: Fri May 13 15:19:04 2016 +0200 wayland: Update current tablet support to using v2 Only update to using v2 headers/structs. The incompatible changes to tool events are dealt with in the next commit. Pads aren't handled in this commit either. configure.ac | 2 +- gdk/wayland/Makefile.am | 4 +- gdk/wayland/gdkdevice-wayland.c | 132 +++++++++++++++++++++------------------ gdk/wayland/gdkdisplay-wayland.c | 6 +- gdk/wayland/gdkdisplay-wayland.h | 2 +- 5 files changed, 78 insertions(+), 68 deletions(-) commit 1b0ade8bdd8337728f2e64ff90e8c95295b335a1 Author: Lapo Calamandrei Date: Fri Jul 22 14:10:56 2016 +0200 Adwaita: dim calendar `uninteresting` days some more see https://bugzilla.gnome.org/show_bug.cgi?id=769003 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 80b28a17f73a61df180503e531b008a7199fc14f Author: Lapo Calamandrei Date: Wed Jul 20 22:48:25 2016 +0200 Adwaita: clean calendar styling remove some non working props and generally simplify and clean up the code, in the process address: https://bugzilla.gnome.org/show_bug.cgi?id=769003 gtk/theme/Adwaita/_common.scss | 35 +++++++++----------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 18 ++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 18 ++++++++-------- 3 files changed, 28 insertions(+), 43 deletions(-) commit d266b39407e92a23e07c136b5cc1000dc1ad57aa Author: Daniel Mustieles Date: Wed Jul 20 10:38:39 2016 +0000 Updated Spanish translation po-properties/es.po | 285 +++++++++++++++++++++++++++++----------------------- 1 file changed, 160 insertions(+), 125 deletions(-) commit 4185e9eaa3460a36bc2bce1a666f1c0258402972 Author: Piotr Drąg Date: Tue Jul 19 17:14:30 2016 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 3 +++ po/POTFILES.skip | 3 +++ 2 files changed, 6 insertions(+) commit 748ebd3d72ebfbcedc6e03d9df2462caafa81987 Author: William Hua Date: Mon Jul 4 15:31:16 2016 -0400 mir: implement gdk_window_move_to_rect () https://bugzilla.gnome.org/show_bug.cgi?id=756579 gdk/mir/gdkmirwindowimpl.c | 130 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 114 insertions(+), 16 deletions(-) commit 8701e34f749cf196c9726c01c03f35ce4eb39836 Author: William Hua Date: Tue Jul 12 14:08:36 2016 -0400 port to new gtk_menu_popup_at_* () functions https://bugzilla.gnome.org/show_bug.cgi?id=756579 demos/gtk-demo/clipboard.c | 2 +- demos/gtk-demo/main.c | 2 +- demos/gtk-demo/search_entry.c | 3 +- gtk/deprecated/gtkcolorsel.c | 53 ++----- gtk/gtkappchooserwidget.c | 3 +- gtk/gtkcombobox.c | 285 ++++++++++----------------------- gtk/gtkentry.c | 88 +++-------- gtk/gtklabel.c | 65 ++------ gtk/gtklinkbutton.c | 73 ++------- gtk/gtkmenubutton.c | 294 ++++++++++++++++------------------ gtk/gtkmenuitem.c | 358 ++++++++++++++++++------------------------ gtk/gtkmenuitemprivate.h | 1 - gtk/gtkmountoperation.c | 39 +---- gtk/gtknotebook.c | 83 +++++----- gtk/gtkplacesview.c | 26 +-- gtk/gtkrecentchooserdefault.c | 57 ++----- gtk/gtktextview.c | 147 +++++------------ gtk/gtktoolbar.c | 95 ++++------- gtk/gtkwindow.c | 21 +-- 19 files changed, 553 insertions(+), 1142 deletions(-) commit 05b9bc5cff5f2bd625412ddac2184af8c026895b Author: William Hua Date: Thu Jun 23 10:54:22 2016 -0400 add demo for testing gtk_menu_popup_at_* () https://bugzilla.gnome.org/show_bug.cgi?id=756579 tests/Makefile.am | 1 + tests/popupat.ui | 2933 +++++++++++++++++++++++++++++++++++++++++++++++++++ tests/testpopupat.c | 64 ++ 3 files changed, 2998 insertions(+) commit b03361366a936836e76ae10e1bc2a5dbcb7ce19e Author: William Hua Date: Tue Jun 14 15:42:13 2016 -0400 gtkmenu: add gtk_menu_popup_at_* () Adds the following functions: gtk_menu_popup_at_rect () gtk_menu_popup_at_widget () gtk_menu_popup_at_pointer () https://bugzilla.gnome.org/show_bug.cgi?id=756579 docs/reference/gtk/Makefile.am | 3 + docs/reference/gtk/gtk3-sections.txt | 3 + docs/reference/gtk/images/popup-anchors.png | Bin 0 -> 17514 bytes docs/reference/gtk/images/popup-at.svg | 745 +++++++++++++++++++++++++ docs/reference/gtk/images/popup-flip.png | Bin 0 -> 21504 bytes docs/reference/gtk/images/popup-slide.png | Bin 0 -> 45993 bytes gtk/gtkmarshalers.list | 1 + gtk/gtkmenu.c | 809 +++++++++++++++++++++++++--- gtk/gtkmenu.h | 16 + gtk/gtkmenuprivate.h | 18 + 10 files changed, 1521 insertions(+), 74 deletions(-) commit b3a530cb727c504923d047347b982a9fcd1490b7 Author: William Hua Date: Wed Jun 15 11:00:38 2016 -0400 gdkwindow: add gdk_window_move_to_rect () https://bugzilla.gnome.org/show_bug.cgi?id=756579 docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdk-private.c | 3 +- gdk/gdk-private.h | 16 +++ gdk/gdkmarshalers.list | 1 + gdk/gdkwindow.c | 95 +++++++++++++ gdk/gdkwindow.h | 43 ++++++ gdk/gdkwindowimpl.c | 253 +++++++++++++++++++++++++++++++++++ gdk/gdkwindowimpl.h | 7 + 8 files changed, 418 insertions(+), 1 deletion(-) commit 48108c401ec474a3841b93745e563b4645a3f0d0 Author: William Hua Date: Fri Jul 15 20:52:35 2016 -0400 gdkwindow: store transient_for window https://bugzilla.gnome.org/show_bug.cgi?id=756579 gdk/gdkinternals.h | 1 + gdk/gdkwindow.c | 2 ++ 2 files changed, 3 insertions(+) commit 0a5bee2751af93791b2ae042f6af9a9d335b9a1a Author: William Hua Date: Thu Jun 16 11:20:35 2016 -0400 gdkwindow: store shadow sizes https://bugzilla.gnome.org/show_bug.cgi?id=756579 gdk/gdkinternals.h | 4 ++++ gdk/gdkwindow.c | 5 +++++ 2 files changed, 9 insertions(+) commit 2235f211e39fcf52cb2584a387fc7fa3e37f71ac Author: Daniel Mustieles Date: Mon Jul 18 16:48:16 2016 +0200 Updated Spanish translation po-properties/es.po | 207 +++++++++++++++++++++++++--------------------------- 1 file changed, 101 insertions(+), 106 deletions(-) commit 718b3a9ad46d31ce8963c70fea97f5947aacba68 Author: Daniel Mustieles Date: Mon Jul 18 16:48:06 2016 +0200 Updated Spanish translation po/es.po | 343 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 172 insertions(+), 171 deletions(-) commit 246549323752c58509b1fd9bb322fdd127f9ee21 Author: Руслан Ижбулатов Date: Mon Jul 18 10:32:04 2016 +0000 Try to delete any existing W32 status icons when DPI changes Fixes some or all of the issues reported in https://github.com/hexchat/hexchat/issues/1423 gtk/deprecated/gtkstatusicon.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 02c89f7e8fe055c5523c8c221d2678ada12b055d Author: Matthias Clasen Date: Sun Jul 17 23:27:35 2016 -0400 3.21.4 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 16dbc0fd10cac4198d52715b3e1d906d6ce10ecb Author: Matthias Clasen Date: Sun Jul 17 14:07:47 2016 -0400 Updates NEWS | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) commit e9078e3abb90aa107f3c329940fa1e7454a31fcb Author: Chao-Hsiung Liao Date: Sat Jul 16 02:46:17 2016 +0000 Updated Chinese (Taiwan) translation po-properties/zh_TW.po | 2251 +++++++++++++++++++++++++----------------------- 1 file changed, 1175 insertions(+), 1076 deletions(-) commit 6906252b386b5a38d8b033d934740dc1e87430c2 Author: Chao-Hsiung Liao Date: Sat Jul 16 02:45:07 2016 +0000 Updated Chinese (Taiwan) translation po/zh_TW.po | 1511 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 803 insertions(+), 708 deletions(-) commit 01129a0ba06af7596a27afd8659862204f13172f Author: Piotr Drąg Date: Thu Jul 14 17:06:21 2016 +0200 Add Language headers to po files Future versions of gettext will fail if this header is missing. po-properties/as.po | 2 +- po-properties/az.po | 2 +- po-properties/az_IR.po | 2 +- po-properties/be@latin.po | 2 +- po-properties/bn.po | 2 +- po-properties/bn_IN.po | 2 +- po-properties/br.po | 2 +- po-properties/ca@valencia.po | 2 +- po-properties/crh.po | 1 + po-properties/dz.po | 2 +- po-properties/en.po | 2 +- po-properties/en@shaw.po | 1 + po-properties/en_CA.po | 2 +- po-properties/es.po | 2 +- po-properties/et.po | 1 + po-properties/gu.po | 2 +- po-properties/hy.po | 2 +- po-properties/ia.po | 2 +- po-properties/io.po | 2 +- po-properties/kg.po | 1 + po-properties/km.po | 2 +- po-properties/ko.po | 2 +- po-properties/lg.po | 1 + po-properties/mai.po | 2 +- po-properties/ml.po | 2 +- po-properties/ms.po | 2 +- po-properties/nb.po | 2 +- po-properties/nds.po | 2 +- po-properties/sq.po | 2 +- po-properties/sr@ije.po | 2 +- po-properties/sr@latin.po | 2 +- po-properties/tt.po | 2 +- po-properties/ug.po | 2 +- po-properties/ur.po | 2 +- po-properties/uz.po | 2 +- po-properties/uz@cyrillic.po | 2 +- po-properties/wa.po | 2 +- po-properties/yi.po | 2 +- po-properties/zh_HK.po | 2 +- po/as.po | 2 +- po/az_IR.po | 2 +- po/be@latin.po | 2 +- po/bn_IN.po | 2 +- po/br.po | 1 + po/ca@valencia.po | 2 +- po/crh.po | 2 +- po/dz.po | 2 +- po/en.po | 2 +- po/en@shaw.po | 1 + po/en_CA.po | 2 +- po/es.po | 2 +- po/gu.po | 2 +- po/hy.po | 2 +- po/io.po | 2 +- po/kg.po | 1 + po/km.po | 2 +- po/ko.po | 2 +- po/ku.po | 2 +- po/lg.po | 2 +- po/mai.po | 2 +- po/mi.po | 2 +- po/ms.po | 2 +- po/nb.po | 2 +- po/nds.po | 2 +- po/sl.po | 2 +- po/sq.po | 2 +- po/sr@ije.po | 2 +- po/sr@latin.po | 2 +- po/tt.po | 2 +- po/ug.po | 2 +- po/ur.po | 2 +- po/uz.po | 2 +- po/uz@cyrillic.po | 2 +- po/wa.po | 2 +- po/yi.po | 2 +- po/zh_HK.po | 2 +- 76 files changed, 76 insertions(+), 68 deletions(-) commit 846087fcff18456f369c280efa445b38c0e47c1f Author: Javier Jardón Date: Wed Jul 13 21:15:15 2016 +0100 Add LINGUAS file to po-properties po-properties/LINGUAS | 121 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) commit 473ae67a139bf1c0a4e84da0d8ade880ca4bff99 Author: Tiago Santos Date: Wed Jul 13 16:49:10 2016 +0000 Updated Portuguese translation po/pt.po | 339 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 170 insertions(+), 169 deletions(-) commit 45a9aed72124ca8bfe84945d8355f9d65964414d Author: Tiago Santos Date: Wed Jul 13 16:47:18 2016 +0000 Updated Portuguese translation po-properties/pt.po | 91 ++++++++++++++++++++++++++++------------------------- 1 file changed, 48 insertions(+), 43 deletions(-) commit 793d5291d99fd0aa97b64e18db375baa180c37dd Author: Matthias Clasen Date: Wed Jul 13 11:23:47 2016 -0400 link button: Use gtk_show_uri_on_window This gives slightly better behavior in the sandboxed case and makes no difference otherwise. gtk/gtklinkbutton.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 6184edc31896dca557c76fbcc6d13cc1e84a14eb Author: Patrick Griffis Date: Wed Jul 13 01:44:34 2016 -0400 GtkFileChooserNativePortal: Use correct response code for accept As per the documentation of GtkFileChooserNative. https://bugzilla.gnome.org/show_bug.cgi?id=768756 gtk/gtkfilechoosernativeportal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d8815f3e4ee090cf22156a96873909db10d384f4 Author: Chun-wei Fan Date: Mon Jul 11 17:50:13 2016 +0800 gtk/gtkfilechoosernativeportal.c: Don't use g_autoptr() This code is also built by non-GCC/CLang compilers, so use the normal ref/unref steps for the GVariant. https://bugzilla.gnome.org/show_bug.cgi?id=768659 gtk/gtkfilechoosernativeportal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 500c9dbe96d56895a95b6594c6ab5f011c747e3f Author: Matthias Clasen Date: Tue Jul 12 21:57:46 2016 -0400 Remove a few mentions of GtkVBox in the docs We only have GtkBox nowadays. gtk/gtkmessagedialog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8f1fd7d964c4d447253a2317caa7929a8ee0fabf Author: Emmanuele Bassi Date: Tue Jul 12 18:09:20 2016 +0100 docs: Fix typo. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c0dae6c14638672f490a96af8c96fef63ce75e5c Author: Emmanuele Bassi Date: Tue Jul 12 12:43:31 2016 +0100 docs: Attempt a better explanation for gtk_widget_destroy() Clarify the nature of this function, and the expectations after it's been called. gtk/gtkwidget.c | 44 ++++++++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 14 deletions(-) commit 3831b2a725880ac1d17cd71c25e174d75ecf4d72 Author: Piotr Drąg Date: Tue Jul 12 13:31:21 2016 +0200 placesview: fix spelling of WebDAV in a translatable string gtk/ui/gtkplacesview.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9747312e6c2d5b4c37a52b4270108ef652603784 Author: Razvan Chitu Date: Tue Jul 12 12:08:23 2016 +0300 placesview: fix open action for locations without a mount or volume In the "Other Locations" view, locations can be opened from the context menu based on their mount or volume. However, some locations, like "Computer", do not have either of those so they cannot be opened from the context menu. In order to fix this, the file associated with the location can be used as well. https://bugzilla.gnome.org/show_bug.cgi?id=768657 gtk/gtkplacesview.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit b5a2bba84071265ffd2c2327e710b8bee3318ea4 Author: Emmanuele Bassi Date: Mon Jul 11 16:55:10 2016 +0100 docs: Improve gdk_window_create_similar_image_surface() The sizes passed are in device pixels and do not take into account the scaling factor of the window itself. We cannot change the semantics of the function, so let's at least add a warning for this trap door. gdk/gdkwindow.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit 53a1f0ba7822d314003a170dc2c905af6f4b0cbb Author: Lapo Calamandrei Date: Sat Jul 9 00:56:32 2016 +0200 Adwaita: remove old popover checkbutton/radiobutton style remove some now disfunctional style regarding checkbuttons and radiobuttons inside popovers which shouldn't be needed anymore. gtk/theme/Adwaita/_common.scss | 3 --- gtk/theme/Adwaita/gtk-contained-dark.css | 40 +++++++++++--------------------- gtk/theme/Adwaita/gtk-contained.css | 40 +++++++++++--------------------- 3 files changed, 26 insertions(+), 57 deletions(-) commit 725d5b14779e3acb2ec21f4c08d50ed85d2d9e1e Author: Lapo Calamandrei Date: Fri Jul 8 22:08:27 2016 +0200 Adwaita: remove some check and radio related cruft remove superfluous padding which was there before the css node conversion of the widget. gtk/theme/Adwaita/_common.scss | 7 ------- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ---------------- gtk/theme/Adwaita/gtk-contained.css | 16 ---------------- 3 files changed, 39 deletions(-) commit ae8c13753e0daaeeda0255bf98e1c839ff1487cb Author: Piotr Drąg Date: Fri Jul 8 21:49:21 2016 +0200 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit 3756a1eca291ab638d2b5c0da9e0c8284431c7c1 Author: Matthias Clasen Date: Fri Jul 8 10:26:22 2016 -0400 Fix up the documentation of GtkTextView::move-viewport Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=768546 gtk/gtktextview.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 25fed0342094686bae8a97981838235204b818c7 Author: Matthias Clasen Date: Tue Jul 5 01:36:56 2016 -0400 Add portal support to GtkPrintOperation Make GtkPrintOperation talk to org.freedesktop.portal.Print when running in a sandbox. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/Makefile.am | 8 +- gtk/gtkprintoperation-portal.c | 626 +++++++++++++++++++++++++++++++++++++++++ gtk/gtkprintoperation-portal.h | 40 +++ gtk/gtkprintoperation-unix.c | 138 ++++++--- 4 files changed, 777 insertions(+), 35 deletions(-) commit 56ebfc6ca574633ffb21a0cd9de16a04e60933d2 Author: Matthias Clasen Date: Mon Jul 4 00:04:38 2016 -0400 print job: Add api to send data from an fd This will be useful for portalized print support. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkprintjob.c | 35 +++++++++++++++++++++++++++++++++++ gtk/gtkprintjob.h | 4 ++++ 2 files changed, 39 insertions(+) commit cc97e55f8a1c13dbf554e089a9a4ba6a43443146 Author: Matthias Clasen Date: Sat Jul 2 20:29:51 2016 -0400 page setup: Add api to serialize to a GVariant This will be useful for portalized print support. https://bugzilla.gnome.org/show_bug.cgi?id=768499 docs/reference/gtk/gtk3-sections.txt | 3 ++ gtk/gtkpagesetup.c | 83 ++++++++++++++++++++++++++++++++++++ gtk/gtkpagesetup.h | 5 +++ 3 files changed, 91 insertions(+) commit 42ae48a23e4f95f5c975890b4f3636102ebc40c4 Author: Matthias Clasen Date: Wed Jul 6 21:31:49 2016 -0400 Add api to serialize a GtkPaperSize to a GVariant This will be useful in portalized printing. https://bugzilla.gnome.org/show_bug.cgi?id=768499 docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtkpapersize.c | 87 ++++++++++++++++++++++++++++++++++++ gtk/gtkpapersize.h | 5 +++ 3 files changed, 94 insertions(+) commit a3764e27a4b8b7bafc8ba431d6c841b9211e4aea Author: Matthias Clasen Date: Sat Jul 2 20:29:08 2016 -0400 print settings: Add api to serialize to a GVariant This will be useful for portalized print support. https://bugzilla.gnome.org/show_bug.cgi?id=768499 docs/reference/gtk/gtk3-sections.txt | 2 ++ gtk/gtkprintsettings.c | 65 ++++++++++++++++++++++++++++++++++++ gtk/gtkprintsettings.h | 6 ++++ 3 files changed, 73 insertions(+) commit 04cec61aa154910d36202c26cf32d37a35a7b99a Author: Matthias Clasen Date: Fri Jul 1 21:19:12 2016 -0400 Support the Inhibit portal xdg-desktop-portal now has a portal for inhibiting session status changes. We don't need to use it if we can talk to the session manager, but if can't, try org.freedesktop.portal.Inhibit. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkapplication-dbus.c | 184 +++++++++++++++++++++++++++++++++++--------- gtk/gtkapplicationprivate.h | 4 + 2 files changed, 150 insertions(+), 38 deletions(-) commit 4600209962e051d97b6fac6a81424bcf54707f46 Author: Matthias Clasen Date: Tue Jul 5 22:13:22 2016 -0400 Implement combobox apis for GtkFileChooserNativePortal https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkfilechoosernative.c | 130 ++++++++++++++++++++++++++++++++++++++ gtk/gtkfilechoosernativeportal.c | 130 +++++++++++++++++++------------------- gtk/gtkfilechoosernativeprivate.h | 9 +++ 3 files changed, 203 insertions(+), 66 deletions(-) commit 5839c138434cd2ba3b0bec400e17b6334a020800 Author: Matthias Clasen Date: Tue Jul 5 22:11:44 2016 -0400 Implement combobox apis in GtkFileChooserWidget https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkfilechooserutils.c | 49 +++++++++++++++ gtk/gtkfilechooserwidget.c | 146 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 195 insertions(+) commit 6fc7485077505c946ec8f0878e22e418a46a7679 Author: Matthias Clasen Date: Tue Jul 5 22:09:56 2016 -0400 GtkFileChooser: Add abstract api for comboboxes and checkbuttons This commit adds API for adding combo boxes and check buttons to GtkFileChooser, and getting the selected value back in ::response. In contrast to gtk_file_chooser_set_extra_widget, these APIs are abstract and suitable for implementation in GtkFileChooserNative. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkfilechooser.c | 96 +++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkfilechooser.h | 17 ++++++++ gtk/gtkfilechooserprivate.h | 16 +++++++- 3 files changed, 128 insertions(+), 1 deletion(-) commit 2b77eaa1ae8ab835e42dd082375e406c6b4bd906 Author: Matthias Clasen Date: Wed Jul 6 12:54:29 2016 -0400 Adapt to simplified file chooser portal api OpenFiles is gone, just set the 'multiple' option instead. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkfilechoosernativeportal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 445d12e5cbe0d155035682d1ddbdd6fe701a4173 Author: Matthias Clasen Date: Sun Jun 26 14:35:12 2016 -0400 file chooser portal: Port to new Request API The portal API has changed, we need to adapt. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkfilechoosernativeportal.c | 51 +++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 29 deletions(-) commit 6cf71ed6bba0dbb8d01e4c6d566ff1467cfa0b25 Author: Matthias Clasen Date: Sat Jun 11 10:23:27 2016 -0400 Use the portal when sandboxed Use the sandbox helper api to find out whether to use the file chooser portal. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkfilechoosernativeportal.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit 3b3e1eca2bc3accff3960dfc2394d1deb5e7ea20 Author: Matthias Clasen Date: Sat Jun 11 01:30:50 2016 -0400 portal: Sent more data along Send the current_name, current_folder or current_file fields to the portal. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkfilechoosernativeportal.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit 0acb6a0e9836d0d7d565b3eb3461809a3d0615d6 Author: Matthias Clasen Date: Sat Jun 11 00:46:12 2016 -0400 portal: Send file filters to the portal https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkfilechoosernativeportal.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit 35181e793d48da87bdc37c2db23a4b93cf1b7039 Author: Matthias Clasen Date: Sat Jun 11 00:45:27 2016 -0400 Add api to serialize GtkFileFilter to a variant This will be used to send filters over D-Bus in future commits. https://bugzilla.gnome.org/show_bug.cgi?id=768499 docs/reference/gtk/gtk3-sections.txt | 5 ++ gtk/gtkfilefilter.c | 100 +++++++++++++++++++++++++++++++++++ gtk/gtkfilefilter.h | 5 ++ 3 files changed, 110 insertions(+) commit 01d0bac83e7f12338d12e5669c408da3078f6010 Author: Alexander Larsson Date: Wed Nov 11 16:31:53 2015 +0100 Initial version of file chooser portal support Implement GtkFileChooserNative for sandboxed applications by talking to org.freedesktop.portal.FileChooser. Currently, this supports OPEN and SAVE mode. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/Makefile.am | 1 + gtk/gtkfilechoosernative.c | 28 ++- gtk/gtkfilechoosernativeportal.c | 392 ++++++++++++++++++++++++++++++++++++++ gtk/gtkfilechoosernativeprivate.h | 3 + 4 files changed, 423 insertions(+), 1 deletion(-) commit e47957406d60345efa624dea6517f7d793fc1a13 Author: Matthias Clasen Date: Tue Jul 5 08:04:13 2016 -0400 about dialog: Use gtk_show_uri_on_window This allows us to handle things slightly better in the portal case. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkaboutdialog.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit c6416aec748da82de04deaf75f58639af5096b44 Author: Matthias Clasen Date: Sat Jun 18 17:59:40 2016 -0400 Add gtk_show_uri_on_window The gtk_show_uri API doesn't let us specify a parent window. With portals, there may be an intermediate dialog, for which it is nice to have parent window information, to place it properly. https://bugzilla.gnome.org/show_bug.cgi?id=768499 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkshow.c | 66 +++++++++++++++++++++++++++++++++++- gtk/gtkshow.h | 8 +++++ 3 files changed, 74 insertions(+), 1 deletion(-) commit 96d8afbccb08709db70995be6f273309a6e484e5 Author: Matthias Clasen Date: Mon Jul 4 20:29:59 2016 -0400 Add a portal helper Instead of open-coding checks for sandboxing in multiple places, add a helper function that caches the information. https://bugzilla.gnome.org/show_bug.cgi?id=768499 gtk/gtkprivate.c | 24 ++++++++++++++++++++++++ gtk/gtkprivate.h | 2 ++ 2 files changed, 26 insertions(+) commit b840a59766af16e1be365aa23cd69ff12351d400 Author: Owen W. Taylor Date: Wed Jul 6 09:46:43 2016 -0400 Change the priority of the window-close idle to G_PRIORITY_DEFAULT If we have an application that never goes idle (or takes a long time to go idle), the close buttons in CSD decoration don't work properly. While it's not clear why the usage of an idle was added in the first place, keep on using it to avoid unexpected reentrancy problems, but change the priority to G_PRIORITY_DEFAULT. https://bugzilla.gnome.org/show_bug.cgi?id=768485 gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c7654c737c8b23ff9b2f41af1c77bbc8acf266d0 Author: Matthias Clasen Date: Tue Jul 5 13:16:43 2016 -0400 Add a css parser test for background-blend-mode testsuite/css/parser/Makefile.am | 2 ++ testsuite/css/parser/background-blend-mode.css | 19 +++++++++++++++++++ testsuite/css/parser/background-blend-mode.ref.css | 19 +++++++++++++++++++ 3 files changed, 40 insertions(+) commit 93f20315d159463b0b8f8cb2a445b807cf6dfd45 Author: Matthias Clasen Date: Mon Jul 4 09:58:15 2016 -0400 gtk3-demo: Simplify the blendmodes example a bit Just put all of the template into the resource. demos/gtk-demo/css_blendmodes.c | 37 +------------------------------------ demos/gtk-demo/css_blendmodes.css | 28 +++++++++++++++++++++++++++- 2 files changed, 28 insertions(+), 37 deletions(-) commit e032c83822d98cc831d019f29f4f8f4afc2a9131 Author: Olivier Fourdan Date: Wed Jun 29 15:19:42 2016 +0200 wayland: remove unneeded statement seat->pointer_info.focus is already set to NULL 2 lines above, no need to repeat it there. gdk/wayland/gdkdevice-wayland.c | 2 -- 1 file changed, 2 deletions(-) commit 298221bfba9b784cddaf5d6ac121e9bb3f25c0db Author: Olivier Fourdan Date: Wed Jun 29 15:08:06 2016 +0200 wayland: return child only in device_query_state() On X11, device_query_state() uses XIQueryPointer() which will return a child window only if the pointer is within an actual child of the given window. Wayland backend would return the pointer->focus window independently of the given window, but that breaks the logic in get_device_state() and later in gdk_window_get_device_position_double() because the window is searched based on coordinates from another window without sibling relationship, breaking gtkmenu sub-menus further down the line. Fix the Wayland backend to mimic X11's XIQueryPointer() to return a child only if really a child of the given window. That's the most sensible thing to do to fix the issue, but the API here seems to be modeled after the X11 implementation and the description of gdk_window_get_device_position_double() is not entirely accurate. https://bugzilla.gnome.org/show_bug.cgi?id=768016 gdk/wayland/gdkdevice-wayland.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 4c01ab8945a8e6a07dbc93b157bc6aa1808e7819 Author: Piotr Drąg Date: Mon Jul 4 00:41:24 2016 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit 507e58df4e0c6a4dea6ae7a4e209681db7bf511f Author: Matthias Clasen Date: Sun Jul 3 18:29:21 2016 -0400 gtk3-demo: Make blendmodes example non-resizable It doesn't need to. demos/gtk-demo/blendmodes.ui | 1 + 1 file changed, 1 insertion(+) commit 3c4be3c9127a2880519bc85ae910f7656dfada12 Author: Matthias Clasen Date: Sun Jul 3 17:54:19 2016 -0400 Fix parsing of some css properties Our property parser stops at the first match when looking for enums, so we need to order our values so that we don't end up with prefixes of longer names being found first. I noticed this when the parser tried to interpret background-blend-mode: color-burn; as "color, with junk at the end". It also affects animation-direction, which is also fixed here. gtk/gtkcssenumvalue.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 34986231f48704d13c9c97b347818346baf9b9cd Author: Matthias Clasen Date: Sun Jul 3 17:46:30 2016 -0400 css parser: Improve an error message Say what property we are dealing with when we complain about the value. gtk/gtkcssprovider.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 1d93cc2b0b88bcc02f8a15d80b8a75d61d0cb24a Author: Georges Basile Stavracas Neto Date: Fri Jul 1 19:39:04 2016 -0300 demo: add a demo for blend modes After introducing the CSS blend mode enum values and including the background-blend-mode CSS property, it is very important to actually provide an example of the new feature. This patch adds a new demo to gtk3-demo which shows how the background-blend-mode CSS property works. https://bugzilla.gnome.org/show_bug.cgi?id=768305 demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/blendmodes.ui | 391 ++++++++++++++++++++++++++++++++++++++ demos/gtk-demo/blends.png | Bin 0 -> 788 bytes demos/gtk-demo/cmy.jpg | Bin 0 -> 55825 bytes demos/gtk-demo/css_blendmodes.c | 178 +++++++++++++++++ demos/gtk-demo/css_blendmodes.css | 51 +++++ demos/gtk-demo/demo.gresource.xml | 8 + demos/gtk-demo/ducky.png | Bin 0 -> 248546 bytes 8 files changed, 629 insertions(+) commit 27fea1c4fc7e178fd435a4bb0c5d5c836d72ed09 Author: Georges Basile Stavracas Neto Date: Fri Jul 1 10:01:43 2016 -0300 css: add documentation for background-blend-mode After introducing the new CSS property, it is natural to add some documentation explaining the behavior of it and our support coverage. https://bugzilla.gnome.org/show_bug.cgi?id=768305 docs/reference/gtk/css-properties.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 369db4a40650bbbcd6125b9b97f486925d93541e Author: Georges Basile Stavracas Neto Date: Fri Jul 1 09:54:23 2016 -0300 css: add background-blend-mode support CSS supports blend modes, in which a series of layers are merged together according to the given operation or set of operations. Support for blend modes landed on Cairo, which exposes all the commons and also the exquisites blend modes available. Adding support for blend modes, then, is just a matter of using the available Cairo operations. This patch adds the background-blend-mode CSS enum property, and adapts the background rendering code to blend the backgrounds using the available blend modes when they're set. https://bugzilla.gnome.org/show_bug.cgi?id=768305 gtk/gtkcssenumvalue.c | 61 ++++++++++++++++++++++++++++++ gtk/gtkcssenumvalueprivate.h | 4 ++ gtk/gtkcssstylepropertyimpl.c | 28 ++++++++++++++ gtk/gtkcsstypes.c | 40 ++++++++++++++++++++ gtk/gtkcsstypesprivate.h | 22 +++++++++++ gtk/gtkrenderbackground.c | 88 +++++++++++++++++++++++++++++++++++++++++-- 6 files changed, 240 insertions(+), 3 deletions(-) commit c8a74a1f5021fe47c9eaf199390a43a16e9809dd Author: Matthias Clasen Date: Sun Jul 3 17:22:14 2016 -0400 Simplify the xfce session manager support We don't have to check name owners twice; reuse the information we already have. gtk/gtkapplication-dbus.c | 60 +++++++++++++++++++---------------------------- 1 file changed, 24 insertions(+), 36 deletions(-) commit 3c7cd7ac23408195dc99642f4c0ef41f466541f9 Author: Eric Koegel Date: Tue Jun 28 11:56:35 2016 +0300 GtkApplication: Add support for the Xfce session manager Xfce4-session-manager added support for managing dbus based clients. This patch adds support for checking if Xfce session manager is around after trying the gnome one. https://bugzilla.gnome.org/show_bug.cgi?id=693203 gtk/gtkapplication-dbus.c | 126 +++++++++++++++++++++++++++++++++++++--------- 1 file changed, 103 insertions(+), 23 deletions(-) commit 22b6df025e5c17c0576826ddea62590532b9ce15 Author: Matthias Clasen Date: Sun Jul 3 13:54:11 2016 -0400 Fix example Makefiles Put OBJS before LIBS on the commandline to make things work better. https://bugzilla.gnome.org/show_bug.cgi?id=768142 examples/application1/Makefile.example | 2 +- examples/application10/Makefile.example | 2 +- examples/application2/Makefile.example | 2 +- examples/application3/Makefile.example | 2 +- examples/application4/Makefile.example | 2 +- examples/application5/Makefile.example | 2 +- examples/application6/Makefile.example | 2 +- examples/application7/Makefile.example | 2 +- examples/application8/Makefile.example | 2 +- examples/application9/Makefile.example | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) commit a43fce058c3cb69dcca24e58a89d6e0151a35216 Author: Matthias Clasen Date: Sat Jul 2 18:08:38 2016 -0400 print dialog: Apply initial capabilities I was struggling to understand why calling gtk_print_unix_dialog_set_manual_capabilities (...,0) was not having the expected effect of hiding the preview button. The initial capabilities were not applied at all. gtk/gtkprintunixdialog.c | 2 ++ 1 file changed, 2 insertions(+) commit 0d30ad279f0ed1a60abf123693981d42b57090d2 Author: Carlos Garnacho Date: Wed Jun 29 17:13:55 2016 +0200 wayland: Separate selection buffers and other per-selection atom data This has most notably impact in selection buffers, because those were shared across all selection atoms. This turned out wrong on 2 situations: - Because the selection atom was set at SelectionBuffer creation time, the GDK_SELECTION_NOTIFY events generated will have unexpected info if the buffer is attempted to be reused for another selection. - Anytime different selections imply different stored content for the same target. This is better separated into per-selection buffers, so it's not possible to get collisions if a same target is used across different selections. https://bugzilla.gnome.org/show_bug.cgi?id=768177 gdk/wayland/gdkselection-wayland.c | 98 +++++++++++++++++++++++--------------- 1 file changed, 60 insertions(+), 38 deletions(-) commit 4b003a75aa4bc7a5210792082380b24c78abc8d5 Author: Carlos Garnacho Date: Mon Jun 27 11:57:21 2016 +0200 wayland: Implement gdk_utf8_to_string_target The sanitize_utf8() function has been copied from X11 so both backends behave the same. This allows interaction with older clients (mainly through Xwayland, and the STRING selection target) that request non-utf8 text. https://bugzilla.gnome.org/show_bug.cgi?id=768082 gdk/wayland/gdkselection-wayland.c | 60 +++++++++++++++++++++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) commit 51444b7909cca57238149c519ff8c353b2c47b7b Author: Chun-wei Fan Date: Thu Jun 30 18:00:47 2016 +0800 gtk/gtkstylecascade.c: Fix formatting My previous patch on this file did not take into the account of the formatting, sorry! gtk/gtkstylecascade.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 386d17db6d885376dc028ad862574a69e523eed5 Author: Ray Strode Date: Wed Jun 29 09:20:55 2016 -0400 headerbar: don't throw a warning if title widget is hidden commit 0015ebc4a8f269f6888fcacef3e83e3167241d67 reworked some of the titlebar size allocation code. Those changes inadvertently introduced a warning when the application sets the headerbar title widget to be hidden. This commit fixes that warning. https://bugzilla.gnome.org/show_bug.cgi?id=768184 gtk/gtkheaderbar.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit b480d9c2ed8034fc1d45cc001de3aa19d38ad8c0 Author: Ignacio Casal Quinteiro Date: Wed Jun 29 15:14:00 2016 +0200 configure: fix "AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS" configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 46748b420ae4aa10dc30f90eeebc7351010a045e Author: Ignacio Casal Quinteiro Date: Wed Jun 29 15:10:39 2016 +0200 gdk: actually fix the previous commit We do not want it on windows gdk/gdk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 38fbe68e83133fbbe4487fc9e8f77dfee5bbba00 Author: Ignacio Casal Quinteiro Date: Wed Jun 29 15:05:08 2016 +0200 gdk: do not provide display command line argument on windows There is no need to specify a display on windows. gdk/gdk.c | 2 ++ 1 file changed, 2 insertions(+) commit 92de947d5e9be41c3805d58b780132d779c7c3cf Author: Timm Bäder Date: Tue Jun 28 20:54:25 2016 +0200 GtkWindow: Check for GtkWidget-window-dragging in multipress gesture This partly reverts 9f5b9c0e075e2426d6627f867473e911fca0c7ae, which removed the check for GtkWidget-window-dragging in the multipress gesture. This check is still needed for widgets which have this style property set (e.g. menubars and toolbars) can maximize the window on double click -- but those widgets which have it set to FALSE shouldn't maximize the window. gtk/gtkwindow.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) commit 0c1cc9832f091ae8606baa789b34759e166c6df0 Author: Ondrej Holy Date: Wed Jun 22 14:04:00 2016 +0200 gtkfilesystem: Improve heuristics to detect remote filesystem Use G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE to detect remote filesystems instead of hardcoded list of filesystem types. Bump required GLib version accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=767965 configure.ac | 2 +- gtk/gtkfilesystem.c | 21 ++------------------- 2 files changed, 3 insertions(+), 20 deletions(-) commit 9f5b9c0e075e2426d6627f867473e911fca0c7ae Author: Timm Bäder Date: Mon Jun 27 19:23:12 2016 +0200 GtkWindow: Fix dragging on non-titlebar widgets gtk/gtkwindow.c | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) commit d52f6ff7102d1f0955a5c48e4209bca826625793 Author: Timm Bäder Date: Sat Jun 11 07:53:33 2016 +0200 widget: Don't unnecessarily export function _gtk_widget_get_translation_to_window is only used in gtkwidget.c gtk/gtkwidget.c | 2 +- gtk/gtkwidgetprivate.h | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) commit 5f525839da5208f4f70ebf50f1a1abd61b15354f Author: Chun-wei Fan Date: Mon Jun 27 11:58:42 2016 +0800 gtk/gtkstylecascade.c: Declare variables at beginning of block gtk/gtkstylecascade.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit cd44f6d875c0011931a360901c233f79c1bfde10 Author: Chun-wei Fan Date: Mon Jun 27 11:53:30 2016 +0800 Fix build of commit f23e99b Commit f23e99b made use of snprintf(), which is not universally available. Fix this by using g_snprintf(). gtk/gtkscale.c | 2 +- gtk/gtkspinbutton.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 325fc609311a451686750328a153a7bac1e660e5 Author: Andika Triwidada Date: Sun Jun 26 22:25:51 2016 +0000 Updated Indonesian translation po-properties/id.po | 1851 ++++++++++++++++++++++++++------------------------- 1 file changed, 957 insertions(+), 894 deletions(-) commit 0587f250c3c65981b3013d4fc1c8409feac74c5e Author: Andika Triwidada Date: Sun Jun 26 22:21:22 2016 +0000 Updated Indonesian translation (cherry picked from commit 23673851b7e51c67a02f8171161b89111fec249b) po-properties/id.po | 3356 +++++++++++++++++++++++++++------------------------ 1 file changed, 1760 insertions(+), 1596 deletions(-) commit 4731be094295c34c63760b29df9c651a4764bb08 Author: Yosef Or Boczko Date: Sun Jun 26 16:15:06 2016 +0300 Updated Hebrew translation po/he.po | 1806 ++++++++++++++++++++++++++------------------------------------ 1 file changed, 760 insertions(+), 1046 deletions(-) commit ebccc8b23f77ce47ba75a8ea3dda3a32d04d9ab7 Author: Lapo Calamandrei Date: Sat Jun 25 18:29:51 2016 +0200 Adwaita: color the selection of entries with error... ...or warning style class applied. This particular style bit wasn't converted to the saner 3.20 way so `entry:selected` used in place of `entry selection`. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=768025 gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++++---------- gtk/theme/Adwaita/gtk-contained.css | 16 ++++++---------- 3 files changed, 14 insertions(+), 22 deletions(-) commit d74e4af1a2cabb16d851f85a7d40d0de003109e5 Author: Lapo Calamandrei Date: Sat Jun 25 18:17:59 2016 +0200 Adwaita: restrict infobar styling to, well, infobars we used to style infobars by using the .info, .question, .warning and .error selectors directly, which used to be ok when we had just styleclasses all over the place, now it needs to be more specific or it interferes with everything with those styleclasses applied like entries. gtk/theme/Adwaita/_common.scss | 60 +++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 193 ++++++++++-------------------- gtk/theme/Adwaita/gtk-contained.css | 195 ++++++++++--------------------- 3 files changed, 152 insertions(+), 296 deletions(-) commit b5920a22e6058af06b1ef09f68cf1c20162cd0a4 Author: Andika Triwidada Date: Sat Jun 25 07:57:53 2016 +0000 Updated Indonesian translation po/id.po | 740 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 410 insertions(+), 330 deletions(-) commit 21c94dea5ec0c84235645c191367e76c6f8c5cf2 Author: Andika Triwidada Date: Sat Jun 25 03:18:54 2016 +0000 Updated Indonesian translation (cherry picked from commit 3abb9ffa917611e81cc4cb50b7ddd38879a49b8f) po/id.po | 2153 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 1214 insertions(+), 939 deletions(-) commit 0015ebc4a8f269f6888fcacef3e83e3167241d67 Author: Ray Strode Date: Fri Jun 24 07:53:49 2016 -0400 headerbar: support expand property for children The header bar currently ignores the expand property on its children. This commit changes the code to honor that property. It divvies up any free space and distributes it equally to packed children (with any left over space given out a pixel at a time on a first come, first serve basis). This commit also adds support for the title widget to be made expandable. It accomplishes this by using up the padding the title widget is centered with. https://bugzilla.gnome.org/show_bug.cgi?id=724332 docs/reference/gtk/migrating-3xtoy.xml | 7 ++++ gtk/gtkheaderbar.c | 59 ++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) commit 847a43c4311c1952a5027381521120e3a817ee04 Author: Ray Strode Date: Fri Jun 24 12:16:40 2016 -0400 headerbar: compute nominal size of sides up front In order to support the expand property on children, we're going to need to look at the size of the packed children on each side of the title widget, up front, before allocating them (to compute how much extra allocation each expanded child gets). This commit lays the groundwork for that analysis by splitting the size calculation of each side of the header bar outside of the loop that allocates each child of the header bar. https://bugzilla.gnome.org/show_bug.cgi?id=724332 gtk/gtkheaderbar.c | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) commit eccfce50d6835206f7260937579bf363bdec1477 Author: Ray Strode Date: Fri Jun 24 07:57:06 2016 -0400 headerbar: simplify some size allocation code With a headerbar, the widget in the center may be a label, constructed internally, or a custom widget, constructed externally. The size allocation code needs to handle either case the same way for the most part. There's more than one place in the code that checks which of the two widgets to use and does some operation on the selected one. This commit simplifies the code by checking up front which one is the center (title) widget and storing that in a temporary variable, This allows reducing duplicated logic later on in the function. https://bugzilla.gnome.org/show_bug.cgi?id=724332 gtk/gtkheaderbar.c | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) commit e0bebba4701395b8db6027bd8626e879a4cde90d Author: Ray Strode Date: Thu Jun 23 16:31:24 2016 -0400 headerbar: simplify calculation in size allocation code There's some extraneous MIN() calls that have predetermined answers. This commit drops them and then simplifies a few redudant checks into one MIN call. https://bugzilla.gnome.org/show_bug.cgi?id=724332 gtk/gtkheaderbar.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit 8430be75ed1c4f747170138ac29aaef485aa78bc Author: Matthias Clasen Date: Thu Jun 23 15:46:45 2016 -0400 Fix an array overrun When I introduced the new input source enum value for track points, I forgot that there is a fixed-size array with names for those in the inspector. gtk/inspector/general.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 78eccd0db9e79fac187d4fd82f1ce8b5b7e3a2a2 Author: Ray Strode Date: Thu Jun 23 09:16:40 2016 -0400 headerbar: don't use GTK_PACK_* as indices into array The size allocation code maintains an array of two elements, to track the allocation of children packed into the two sides of a header bar. Sometimes this array is indexed with 0 and 1, and sometimes its indexed with GTK_PACK_START and GTK_PACK_END. The latter happen to have the values 0 and 1, respectively, but that's not really obvious. For clarity, this commit changes the code to index those arrays consistently, sticking to 0 and 1 across the board. gtk/gtkheaderbar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 01eda209e19f02b507a8ddd73ae3b2bf74e7d5c2 Author: Ray Strode Date: Thu Jun 23 08:57:55 2016 -0400 headerbar: don't allocate both label and custom title It's only possible to have a label or a custom title, not both. The size allocate code confusingly treats them as independent. That is confusing, because, as the code is written, it makes it look like the space for the custom title isn't getting accounted for. This commit else-ifies some parts of the size allocate code for clarity. gtk/gtkheaderbar.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 3947ff44c900326b20b571fbff564ee7757bc387 Author: Tiago Santos Date: Wed Jun 22 13:12:03 2016 +0000 Updated Portuguese translation po-properties/pt.po | 692 +++++++++++++++++++++++++++------------------------- 1 file changed, 355 insertions(+), 337 deletions(-) commit 40ee61a686826ac8e937af720bc152895b10392b Author: Emmanuele Bassi Date: Wed Jun 22 10:56:27 2016 +0100 gtk: Keep Firefox working in the DrawingContext world Firefox does a bunch of interesting things with GTK. If the top-level GtkWindow does not have a "csd" style class associated, Firefox will happily draw the contents of the container used to render HTML and XUL directly on the top level's GdkWindow; on the other hand, if a "csd" style class is found, the MozContainer will create a new child window, and draw on it. Then, Firefox will proceed to disable double buffering on both the top-level window and the MozContainer (unless they are backed by the same GdkWindow, in which case only the top-level will be single-buffered) *and* it will add a GDK_EXPOSURE_MASK flag to the MozContainer events for good measure (even if this is only needed for GTK+ 2.x). After landing the GdkDrawingContext API in GdkWindow, GTK enabled automatic double buffering on all top-level windows backed by a native surface, ad most users of single buffering rely on child widgets instead of top-levels, and we'd still like to have the same double buffering behaviour for all top-levels on all backends. Obviously, with Firefox disabling double buffering on the top-level window, the change broke their drawing mechanism. Ideally, Firefox could be fixed to not disable double buffering on the top-level window when MozContainer has a separate GdkWindow — i.e. the CSD case — but since we did introduce a slight change of behaviour in fringe users of the GTK+ API, let's keep backwards compatibility with the old code for a little while longer, and create an intermediate Cairo context unbound from the GdkDrawingContext, like we used to do until GTK+ 3.20. gtk/gtkwidget.c | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) commit c2ba9ca810cd70658d8cc9839693b9518824d4be Author: Chun-wei Fan Date: Wed Jun 22 15:16:09 2016 +0800 Visual Studio builds: Make .pc generation more flexible Allow the use of ${exec_prefix} for libdir and includedir when passing them in as arguments to the script. build/win32/pc_base.py | 44 ++++++++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 14 deletions(-) commit f44b9ef1f0b9bce88f01b258714338a9006f60e1 Author: Carlos Garnacho Date: Tue Jun 21 13:57:20 2016 +0200 GtkColorEditor: Keep ref on pre-popup focus widget And ensure it's still visible before returning the keyboard focus to it. Because of the extra ref, add a dispose handler that will ensure the ref is lost (by popping down), although this should be already ensured through other paths (eg. when the popup widget loses visibility). This fixes a possible crash in dispose paths, where we might be restoring focus on an already destroyed widget, and at a time where, if the toplevel is being itself disposed, no new focus should be set. https://bugzilla.gnome.org/show_bug.cgi?id=767849 gtk/gtkcoloreditor.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) commit 3b98a2d93596aac73efa91a04042b66fda8ec823 Author: Carlos Garnacho Date: Tue Jun 21 12:30:29 2016 +0200 demos: Simplify popovers demo Don't do much unconventional stuff here. This is a demo, not a test. https://bugzilla.gnome.org/show_bug.cgi?id=767851 demos/gtk-demo/popover.c | 4 ---- 1 file changed, 4 deletions(-) commit ed227f9e7b7be4b3558ea9b7f8cdbf83e69f71ef Author: Carlos Garnacho Date: Tue Jun 21 12:24:05 2016 +0200 GtkPopover: Honor widget margins when calculating tail position If there are widget margins set, the whole popover will be displaced. However the calculation of the tail position doesn't have this into account, ending up with the tail being detached from the popover if the margin grew too big. We should not render the arrows invariably next to the GdkWindow edge, but optionally displaced inside it depending on the widget margins. Fixes the gtk3-demo "Popovers" demo case, whose GtkEntry popovers set widget margins for some reason. https://bugzilla.gnome.org/show_bug.cgi?id=767851 gtk/gtkpopover.c | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) commit 3724592efb87567691d47e6f02a7cfb2dc014a3d Author: Christian Hergert Date: Mon Jun 20 15:17:00 2016 -0700 listbox: short-circuit if no sort function is set do_sort will crash if sort_func is not defined. Instead of adding a check there in the hot path, just check for sort_func before invalidating the sort of the underlying GSequence. gtk/gtklistbox.c | 3 +++ 1 file changed, 3 insertions(+) commit 49bd5a97ce9a4bfd1267133c13b1f8883b7e76b9 Author: Matthias Clasen Date: Mon Jun 20 14:17:07 2016 -0400 3.21.3 NEWS | 2 ++ configure.ac | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 1ebfe1db56cc881102d70b8723456093ae811102 Author: Matthias Clasen Date: Mon Jun 20 15:26:26 2016 -0400 Skip GdkDrawingContext in some tests GdkDrawingContext is not freely constructible, so we need to skip it in the notify and finalize tests. testsuite/gtk/notify.c | 1 + testsuite/gtk/objects-finalize.c | 1 + 2 files changed, 2 insertions(+) commit 0eeaa935b9a38cc1f4735b53c21ec0d9e507563e Author: Olivier Fourdan Date: Mon Jun 20 15:52:32 2016 +0200 wayland: do not set PRIMARY selection if focus is lost If keyboard focus is (already) lost, do not advertise PRIMARY selection. https://bugzilla.gnome.org/show_bug.cgi?id=767848 gdk/wayland/gdkdevice-wayland.c | 3 +++ 1 file changed, 3 insertions(+) commit dff61b02baf67d3f21d4c3920cbf710ded2dc7d0 Author: Matthias Clasen Date: Mon Jun 20 00:20:01 2016 -0400 Updates NEWS | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) commit e01f35ef5f6d4520cc8e10ce284348ca542f2b89 Author: Matthias Clasen Date: Sun Jun 19 23:54:07 2016 -0400 gtk3-demo: Make the filter model example more interesting Allow editing values in the first treeview, to see the derived models update in real time. demos/gtk-demo/filtermodel.c | 30 +++++++++++++++++++++++++++++- demos/gtk-demo/filtermodel.ui | 16 ++++++++++++++-- 2 files changed, 43 insertions(+), 3 deletions(-) commit 8a2812217b9fbf92bfe2ad287f188fed9fe3e1e8 Author: Matthias Clasen Date: Sun Jun 19 23:24:44 2016 -0400 shortcuts: Try harder to disambiguate search items I noticed that some of the gestures did not show up in the search results in the builder example in gtk3-demo, because they share the same title and don't have an accelerator to disambiguate. Include the shortcut type to handle this case. gtk/gtkshortcutswindow.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 815cc23c4cad2664752965b1739bddbc28df1ab2 Author: Matthias Clasen Date: Sun Jun 19 23:07:17 2016 -0400 gtk-demo: Use max-content-height in the popover example This is what the property was invented for. demos/gtk-demo/popover.c | 3 --- demos/gtk-demo/popover.ui | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) commit c2534af15ef8e8fb1173d9e7501fe8e505471308 Author: Matthias Clasen Date: Sun Jun 19 22:56:20 2016 -0400 gtk3-demo: Fix the modelbutton example The color menu buttons didn't have the necessary target property to be successfully activated. demos/gtk-demo/modelbutton.ui | 3 +++ 1 file changed, 3 insertions(+) commit 2fd984987d1f66a01f0667aad461fdea5963af4c Author: Matthias Clasen Date: Sun Jun 19 22:47:57 2016 -0400 gtk-demo: Fix up some warnings The search entry example was a bit sloppy in cleaning up its sources, causing warnings. demos/gtk-demo/search_entry.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 76af90767634f5caea622c2abc13d21adb41550c Author: Matthias Clasen Date: Sun Jun 19 22:23:06 2016 -0400 Add a release note for scrolled windows Mention the changed sizing behavior and how to address it. docs/reference/gtk/migrating-3xtoy.xml | 9 +++++++++ 1 file changed, 9 insertions(+) commit 37e913d76bea6b58a38db1b7996958b81984a114 Author: Matthias Clasen Date: Sun Jun 19 22:16:11 2016 -0400 widget factory: Adapt to new scrolled window behavior Set a max-content-width on some of the scrolled windows to keep things looking mostly the same, now that GtkScrolledWindow passes along the natural size of its child. demos/widget-factory/widget-factory.ui | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit e33e23a6d9403f634003e6fc611ba7d02b5cf950 Author: Carlos Garnacho Date: Mon Jun 13 23:44:31 2016 +0200 treeview: Ensure the treeview has the implicit grab before grabbing focus The cellrenderer signals might be taking the grab somewhere else, at which point it's dubious we should attempt to take the keyboard focus into the treeview. This concretely breaks popovers triggered from cellrenderer signals on button press, because the treeview will attempt to grab focus inconditionally then. https://bugzilla.gnome.org/show_bug.cgi?id=767468 gtk/gtktreeview.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 51799d41e46553633a7e98a3b721eadba67bd5ba Author: Matthew Leeds Date: Wed Jun 15 16:41:58 2016 -0400 GtkActionHelper: Change a message to a warning It's almost certainly a programmer error if an action isn't activatable because its target and parameter type don't match. This commit changes the existing g_message to a g_warning. https://bugzilla.gnome.org/show_bug.cgi?id=767705 gtk/gtkactionhelper.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 76bacfde6e5305021c765ae690972efb1832682d Author: Philip Chimento Date: Wed Jun 15 23:02:11 2016 -0400 style cascade: Allow cascades with more ancestors Previously a style cascade's parent could not have a parent itself. That represented the two levels at which you could add a style provider: at the screen level, with gtk_style_context_add_provider_for_screen(), and at the style context level, with gtk_style_context_add_provider(). This commit changes no functionality, but this change will be necessary for adding style providers in the future that apply to a subtree of the widget tree. It relaxes the requirement that a style cascade's parent must not have a parent, since in the future a style context may be affected by any number of parent widgets' style contexts. https://bugzilla.gnome.org/show_bug.cgi?id=751409 gtk/gtkstylecascade.c | 99 +++++++++++-------- testsuite/gtk/stylecontext.c | 230 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 288 insertions(+), 41 deletions(-) commit 1c6b878e090666898acd16664851d82067fb5c9e Author: Matthias Clasen Date: Sun Jun 19 17:49:03 2016 -0400 shortcuts window: Fix handling of significant xml chars We are using markup in the labels, so we need to escape things like < and >. https://bugzilla.gnome.org/show_bug.cgi?id=767795 gtk/gtkshortcutlabel.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit ed2bb7e012989804eae3a02968944cbd70568ae5 Author: Rafael Fontenelle Date: Sat Jun 18 00:29:01 2016 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 1767 +++++++++++++++++++++++++----------------------- 1 file changed, 919 insertions(+), 848 deletions(-) commit 552e4361289fdaeee69556df9254b0763d861e2e Author: Rafael Fontenelle Date: Fri Jun 17 23:53:20 2016 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 718 ++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 403 insertions(+), 315 deletions(-) commit 631f6b536485829a0bd00532f5826ad302b4951b Author: Misty De Meo Date: Thu Jun 16 15:59:27 2016 -0700 configure: fix detecting CUPS 2.x https://bugzilla.gnome.org/show_bug.cgi?id=767766 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2f3cb31e55d698fe6ddcc8126b9d1342268a1a98 Author: Ray Strode Date: Thu May 12 15:52:12 2016 -0400 wayland: fall back to shm_open if memfd unavailable Debian stable currently ships with a 3.16 kernel, so it doesn't have memfd available. This commit adds shm_open fall back code for that case (for now). https://bugzilla.gnome.org/show_bug.cgi?id=766341 configure.ac | 3 +++ gdk/wayland/gdkdisplay-wayland.c | 41 +++++++++++++++++++++++++++++++++++++--- 2 files changed, 41 insertions(+), 3 deletions(-) commit bb2ca3b94d53c009c78d0f364c41ae0220ea2c9e Author: Ray Strode Date: Mon May 16 10:20:10 2016 -0400 wayland: fix error handling for memfd_create We currently use syscall() directly to invoke memfd_create, since the function isn't available in libc headers yet. The code, though, mishandles how errors are passed from syscall(). It assumes syscall returns the error code directly (but negative), when in fact, syscall() uses errno. Also, the code fails to retry on EINTR. This commit moves the handling of memfd create to a helper function, and changes the code to use errno and handle EINTR. https://bugzilla.gnome.org/show_bug.cgi?id=766341 gdk/wayland/gdkdisplay-wayland.c | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) commit 080fdfa7f9495fc6cc8c286cbfefc7ecf6d61656 Author: Krzesimir Nowak Date: Thu Jun 16 12:19:54 2016 +0200 docs: Fix a typo in GDK sections file docs/reference/gdk/gdk3-sections.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 847f9f40cf05edaf1f82d5fea4006076572cc720 Author: Matthias Clasen Date: Thu Jun 9 08:05:11 2016 -0400 Mention single-stop gradients in the release notes This is something people stumble over in their custom CSS. docs/reference/gtk/migrating-3xtoy.xml | 6 ++++++ 1 file changed, 6 insertions(+) commit 7246538a9c024fa782505fe55d62f1cfbcce8461 Author: Daniel Mustieles Date: Mon Jun 13 13:17:11 2016 +0000 Updated Spanish translation po-properties/es.po | 1356 ++++++++++++++++++++++++++------------------------- 1 file changed, 687 insertions(+), 669 deletions(-) commit 0ca59bf85a13b8dc5b516d311df9c37e43566c1f Author: Emmanuele Bassi Date: Sun Jun 12 18:55:34 2016 +0100 gdk: Unset the DrawingContext <-> cairo_t link on dispose When disposing a GdkDrawingContext we should unset the association between the instance and the Cairo context; this avoids stale pointers in case a reference that has acquired on the Cairo context survives the lifetime of the GdkDrawingContext. gdk/gdkdrawingcontext.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 222bcf1a71dbd879fe39bfb9239c093b1da6bb4d Author: Emmanuele Bassi Date: Fri Jun 10 17:00:29 2016 +0100 gdk: Try harder at tracking drawing contexts If gdk_cairo_create() is called within a frame draw operation, we can still associate the Cairo context with a GdkDrawingContext. gdk/gdkdrawingcontext.c | 2 +- gdk/gdkinternals.h | 2 ++ gdk/gdkwindow.c | 17 +++++++---------- 3 files changed, 10 insertions(+), 11 deletions(-) commit 32a37351cf8a3758febff4291659d52cfb96f294 Author: GNOME Translation Robot Date: Sat Jun 11 07:54:43 2016 +0000 Updated Scottish Gaelic translation po-properties/gd.po | 472 +++++++++++++++++++++------------------------------- 1 file changed, 188 insertions(+), 284 deletions(-) commit 2118b838d17e9fe2998c63ada7c8dd46dec8ca50 Author: GNOME Translation Robot Date: Fri Jun 10 15:35:34 2016 +0000 Updated Scottish Gaelic translation po-properties/gd.po | 3406 ++++++++++++++++++++++++++------------------------- 1 file changed, 1745 insertions(+), 1661 deletions(-) commit beb3fd662147a6723a29f22c28dee95b57de4064 Author: GNOME Translation Robot Date: Fri Jun 10 15:15:27 2016 +0000 Updated Scottish Gaelic translation po/gd.po | 357 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 192 insertions(+), 165 deletions(-) commit c3f4fe334dbf9aacf2e1404ac1362c180bd7274b Author: Emmanuele Bassi Date: Fri Jun 10 13:55:30 2016 +0100 Deprecate gtk_widget_send_expose() We have various replacements for what this function does, and we are not calling it internally any more. gtk/gtkwidget.c | 9 +++++++-- gtk/gtkwidget.h | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) commit a9a59ac55e01333f8e72ac8807eb6d4c9a9f5017 Author: Tristan Van Berkom Date: Fri Jun 10 21:16:53 2016 +0900 scrolledwindow: Fix calls to gdk_window_move_resize() This is a bit of fallout from 34feba1, now that we resolve the has_indicators value earlier than realize, it becomes possible to call gdk_window_move_resize() before realization. Just added the appropriate checks. gtk/gtkscrolledwindow.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) commit 32675db49086c42d9d58f572740c16e52243031d Author: Stefan Sauer Date: Thu Jun 9 22:37:53 2016 +0200 docs: point to suggested api for deprecated functions We deprecated a bunch of _focus_on_click() functions. Point to the new API in GtkWidget. gtk/gtkbutton.c | 18 ++++++++++-------- gtk/gtkcombobox.c | 4 ++++ gtk/gtkfilechooserbutton.c | 22 +++++++++++++--------- 3 files changed, 27 insertions(+), 17 deletions(-) commit c9916fbc58923f0a43b233934ecdad0592a0ebda Author: Emmanuele Bassi Date: Thu Jun 9 21:35:36 2016 +0100 docs: Add deprecation notice for GtkButton.set_focus_on_click() To match the deprecation annotation on the function declaration. gtk/gtkbutton.c | 2 ++ 1 file changed, 2 insertions(+) commit ddfe3374e3d79c27eabfcf10b31f1ae23457c74f Author: Emmanuele Bassi Date: Thu Jun 9 21:00:13 2016 +0100 Avoid a deprecation warning Some debugging code in GdkWindow still calls gdk_cairo_create(). gdk/gdkwindow.c | 4 ++++ 1 file changed, 4 insertions(+) commit ad78daaf8081d8ea72006832ee3dd5df2e1ed3f9 Author: Emmanuele Bassi Date: Tue Jun 7 17:06:47 2016 +0100 gdk: Deprecate gdk_cairo_create() We have GdkDrawingContext, now, which is in charge of creating Cairo contexts for drawing on a GdkWindow. https://bugzilla.gnome.org/show_bug.cgi?id=766675 gdk/gdkcairo.h | 2 +- gdk/gdkwindow.c | 11 +++++++++++ tests/print-editor.c | 5 +++++ tests/testinput.c | 2 ++ 4 files changed, 19 insertions(+), 1 deletion(-) commit 2d38c40f789ecc5df4de0720c13496eee0429cd7 Author: Emmanuele Bassi Date: Tue Jun 7 16:52:50 2016 +0100 gdk: Explicitly create a cairo context inside GdkDrawingContext Instead of using gdk_cairo_create(), which we'll soon deprecate. https://bugzilla.gnome.org/show_bug.cgi?id=766675 gdk/gdkdrawingcontext.c | 13 +++++++++++-- gdk/gdkinternals.h | 2 ++ gdk/gdkwindow.c | 26 ++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 2 deletions(-) commit c5d0522a23fbeaccb4b7301df896012fb5288650 Author: Emmanuele Bassi Date: Tue Jun 7 16:40:43 2016 +0100 Deprecate the gdk_window_begin/end_paint family of functions They are replaced by the more appropriate gdk_window_begin_draw_frame() and gdk_window_end_draw_frame() functions. https://bugzilla.gnome.org/show_bug.cgi?id=766675 gdk/gdkwindow.c | 8 +++++--- gdk/gdkwindow.h | 6 +++--- gtk/gtkwidget.c | 8 ++++---- 3 files changed, 12 insertions(+), 10 deletions(-) commit dda6a0d385852ca93badfe4cac02e1e4ae247b09 Author: Emmanuele Bassi Date: Tue Jun 7 16:34:50 2016 +0100 Associate the drawing context to the Cairo context Instead of associating the GdkWindow that created the GdkDrawingContext we can directly bind the Cairo context to the GDK drawing context. Cairo contexts created via gdk_cairo_create() go back to not having a GdkWindow associated to them, like they did before we introduced the gdk_window_begin_draw_frame() API. https://bugzilla.gnome.org/show_bug.cgi?id=766675 docs/reference/gdk/gdk3-sections.txt | 2 +- gdk/gdkcairo.h | 6 ++++-- gdk/gdkdrawingcontext.c | 31 +++++++++++++++++++++++++++++++ gdk/gdkwindow.c | 29 ----------------------------- gtk/gtkwidget.c | 29 ++++++++++++++++++----------- 5 files changed, 54 insertions(+), 43 deletions(-) commit 01b4bf19208ed65760d3c0f07871701e1094b55f Author: Emmanuele Bassi Date: Mon Jun 6 12:30:46 2016 +0100 docs: Add GdkDrawingContext to the GDK API reference https://bugzilla.gnome.org/show_bug.cgi?id=766675 docs/reference/gdk/gdk-docs.sgml | 1 + docs/reference/gdk/gdk3-sections.txt | 16 ++++++++++++++++ docs/reference/gdk/gdk3.types | 1 + 3 files changed, 18 insertions(+) commit a7ef37da2af0ef5b51b1320476970827a2fdb350 Author: Emmanuele Bassi Date: Mon May 30 09:44:30 2016 +0100 Add GdkDrawingContext Instead of giving out Cairo contexts, GdkWindow should provide a "drawing context", which can then create Cairo contexts on demand; this allows us to future proof the API for when we're going to use a different rendering pipeline, like OpenGL. https://bugzilla.gnome.org/show_bug.cgi?id=766675 gdk/Makefile.am | 3 + gdk/gdk.h | 1 + gdk/gdkdrawingcontext.c | 275 +++++++++++++++++++++++++++++++++++++++++ gdk/gdkdrawingcontext.h | 53 ++++++++ gdk/gdkdrawingcontextprivate.h | 29 +++++ gdk/gdkinternals.h | 4 + gdk/gdkwindow.c | 91 +++++++++++--- gdk/gdkwindow.h | 7 +- gdk/gdkwindowimpl.h | 5 + gtk/gtkwidget.c | 6 +- 10 files changed, 453 insertions(+), 21 deletions(-) commit 2c7b21718f18ab743cd79784ae28cad582f58503 Author: Emmanuele Bassi Date: Fri May 20 16:59:51 2016 +0100 Simplify the widget rendering entry point Now that GDK has the appropriate API, we can simplify the widget drawing code into a single function. https://bugzilla.gnome.org/show_bug.cgi?id=766675 gtk/gtkmain.c | 27 +----------- gtk/gtkwidget.c | 114 +++++++++++++++++++++++++++++-------------------- gtk/gtkwidgetprivate.h | 5 +++ 3 files changed, 74 insertions(+), 72 deletions(-) commit fc569f1ac6ff108afc17f7f439480273826af3a6 Author: Emmanuele Bassi Date: Fri May 20 16:55:12 2016 +0100 Add frame drawing API to GdkWindow Existing code drawing on a GDK window has to handle the direct drawing and the buffered drawing by itself, by checking the window type and whether or not the window is backed by a native windowing surface. After that, the calling code has to create a Cairo context from the window and keep an association between the context and the window itself. This is completely unnecessary: GDK can determine whether or not it should use a backing store to draw on a GdkWindow as well as create a Cairo context, and keep track of it. This allows to simplify the calling code, and enforce some of the drawing behavior we want to guarantee to users. https://bugzilla.gnome.org/show_bug.cgi?id=766675 docs/reference/gdk/gdk3-sections.txt | 4 + gdk/gdkcairo.h | 2 + gdk/gdkwindow.c | 450 ++++++++++++++++++++++------------- gdk/gdkwindow.h | 8 + 4 files changed, 302 insertions(+), 162 deletions(-) commit d6187c9a028f678287cc2a7f72e1ea9997fd19d0 Author: Tristan Van Berkom Date: Tue Jun 7 14:02:37 2016 +0900 scrolledwindow test: Check natural width for max content size The maximum content size does not increase the minimum request but only ensures that both minimum and natural requests do not exceed the maximum setting. testsuite/gtk/scrolledwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 34feba1e7c5c86164592588bde479c97a5b96160 Author: Tristan Van Berkom Date: Tue Jun 7 14:09:28 2016 +0900 scrolledwindow: Resolve whether we use overlay scrollbars early. Widgets should support size requests before being realized in general, otherwise this can cause flicker/resize at initial display time as the toplevel window can make a request before realize/allocate. This also makes the added testsuite/gtk/scrolledwindow.c test work again, this was broken because we only ever calculate whether we are going to use overlay scrollbars once the scrolled window is realized (and the test case does not realize any window). gtk/gtkscrolledwindow.c | 37 ++++++++++++++++++++++++------------- 1 file changed, 24 insertions(+), 13 deletions(-) commit d7e242eec03a1056cdc0808aef6bcf1002b4df8b Author: Tristan Van Berkom Date: Tue Jun 7 14:04:42 2016 +0900 scrolledwindow: Bug 766569 - General size request fixes. This patch does a couple of things: o Removes the obscure 'extra_width' and 'extra_height' variables making the request code exceedingly difficult to read o Fixes the max-content-size properties introduced in bug 742281 so that they do not grow the minimum request. o Cleanup of request code in general: - min/max content sizes are clamped around the child request as needed - scrollbar requests are only added in one place, after child request sizes are calculated and without the extra_width/height thing. gtk/gtkscrolledwindow.c | 110 ++++++++++++++++-------------------------------- 1 file changed, 37 insertions(+), 73 deletions(-) commit 32885605c7d589773930f095b4ef55c902cbf36d Author: Emmanuele Bassi Date: Wed Jun 8 14:20:02 2016 +0100 Fix build Commit 023f406c9617284ee3b88727df489f20cd066fd6 has a typo that results in this error: ../../../testsuite/gtk/notify.c: In function 'test_type': ../../../testsuite/gtk/notify.c:679:54: error: expected expression before ')' token (g_str_equal (pspec->name, "max-content-width") ||) ^ testsuite/gtk/notify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d9a6517d5f9371648c625e75b3deb413f960c2f3 Author: Timm Bäder Date: Wed Jun 8 07:31:45 2016 +0200 wayland: Make sure window titles fit into a wl_buffer A wl_buffer has a max size of 4096 bytes, of which 8 are needed for the header and another 4 for the string argument length (in this case), so make sure the we only save the first 4083 bytes that are still valid UTF8. https://bugzilla.gnome.org/show_bug.cgi?id=767241 gdk/wayland/gdkwindow-wayland.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 023f406c9617284ee3b88727df489f20cd066fd6 Author: Matthias Clasen Date: Wed Jun 8 09:03:12 2016 -0400 test: Skip GtkScrolledWindow::max-content- properties The allowed values for the max-content- properties depend on the value of the min-content- properties, in a way that our simple test is not prepared to deal with. Just skip them for now. testsuite/gtk/notify.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 85407180cf81946db15bb51c783526387931594f Author: Olivier Fourdan Date: Wed May 25 15:07:51 2016 +0200 wayland: add extended state for tiled xdg-shell allows desktop environments to extend the list of states within a given range. Use this possibility to add a new state for tiled so that gtk+ can benefit from this. https://bugzilla.gnome.org/show_bug.cgi?id=766860 gdk/wayland/gdkwindow-wayland.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit 6de0ecb78eaf9e987353c83039304b7ef379cdca Author: Jakub Steiner Date: Wed Jun 8 12:15:55 2016 +0200 HC: focus outline more prominent - make visible regardless of colors used - make larger and more inset https://bugzilla.gnome.org/show_bug.cgi?id=767310 gtk/theme/HighContrast/_common.scss | 13 +++---------- gtk/theme/HighContrast/gtk-contained-inverse.css | 19 ++++++------------- gtk/theme/HighContrast/gtk-contained.css | 19 ++++++------------- 3 files changed, 15 insertions(+), 36 deletions(-) commit 199ad2c14ba9a2ed305858d23f19913c33c1178e Author: Lapo Calamandrei Date: Wed Jun 8 13:39:39 2016 +0200 Adwaita: .osd button.color remove box-shadow from colorbutton colorswatch when an ancestor has the osd styleclass applied. gtk/theme/Adwaita/_common.scss | 16 +++++++++++----- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 2 files changed, 14 insertions(+), 6 deletions(-) commit a0ee8f7f0a511f251da050a430da5ec93d7a1396 Author: Lapo Calamandrei Date: Wed Jun 8 13:28:07 2016 +0200 Adwaita: centralize outline-color define outline-color generally using alpha(currentColor, 0.3), which avoids setting it in a bunch of different places. gtk/theme/Adwaita/_common.scss | 7 +------ gtk/theme/Adwaita/gtk-contained-dark.css | 7 ++----- gtk/theme/Adwaita/gtk-contained.css | 10 +++------- 3 files changed, 6 insertions(+), 18 deletions(-) commit ff5304ee13ad734b066d9b2c08185e20f137cf06 Author: Kjell Ahlstedt Date: Wed Jun 8 10:30:22 2016 +0200 Make gtk_scrolled_window_remove() smart If gtk_scrolled_window_add() has added a GtkViewport, gtk_container_remove (GTK_CONTAINER (scrolled_window), child_widget); or gtk_container_remove(GTK_CONTAINER(scrolled_window), gtk_bin_get_child(GTK_BIN(scrolled_window))); removes both the added child widget and the viewport. https://bugzilla.gnome.org/show_bug.cgi?id=710471 gtk/gtkscrolledwindow.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 48 insertions(+), 2 deletions(-) commit 3f3a226090aad1f583f40cd954eb9c15f568b62d Author: Matthias Clasen Date: Tue Jun 7 23:40:32 2016 -0400 Update GtkLabel::angle docs We can have wrapped or ellipsized labels at an angle nowadays. Still no selections though. gtk/gtklabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f23e99b063857a4a3f9e2fc81ff62021820edb77 Author: Matthias Clasen Date: Tue Jun 7 23:04:40 2016 -0400 scale, spinbutton: Avoid -0.0 This is a very longstanding bug; time to finally put it to rest. https://bugzilla.gnome.org/show_bug.cgi?id=118959 gtk/gtkscale.c | 18 +++++++++++++++++- gtk/gtkspinbutton.c | 15 ++++++++++++++- 2 files changed, 31 insertions(+), 2 deletions(-) commit 7f06f2818aaef1994cb7224d95522b956bfd4ab8 Author: Matthias Clasen Date: Tue Jun 7 21:28:44 2016 -0400 Ensure that GtkRange allocates enough space for the value This is a long-standing problem of GtkScale. https://bugzilla.gnome.org/show_bug.cgi?id=766372 https://bugzilla.gnome.org/show_bug.cgi?id=578626 https://bugzilla.gnome.org/show_bug.cgi?id=79229 gtk/gtkrange.c | 11 +++++++++++ gtk/gtkrange.h | 6 +++++- gtk/gtkscale.c | 26 ++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-) commit dce4003c20bfd0a5100bd60dc0e923277b89684b Author: Matthias Clasen Date: Tue Jun 7 16:35:06 2016 -0400 Fix preconditions in set_max_content_size setters We must allow resetting the properties to -1. gtk/gtkscrolledwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 775e277ab9753609b45063eb8c0171b3103a252d Author: Benjamin Otte Date: Tue Jun 7 16:08:52 2016 +0200 widget: Add classes to widget path even if no style context exists yet This removes leftover code from when classes where added to the style context. Now that they get added directly to css nodes, the classes can exist without a style context. https://bugzilla.gnome.org/show_bug.cgi?id=767312 gtk/gtkwidget.c | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) commit 0d407bcd6c5ad8e9279d667dfb8225991b998d02 Author: Carlos Garnacho Date: Tue Jun 7 00:27:19 2016 +0200 searchenginetracker: Fix prefix searches With the FTS5 query syntax, when using quotes to delimit the search phrase the '*' token must happen after the quote, or will otherwise be considered a character to match, go through the tokenizer, and end up ignored in result. gtk/gtksearchenginetracker.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 289fc9640bbeba1096f15bb0b735d0361cf4c9dc Author: Matthias Clasen Date: Mon Jun 6 14:29:27 2016 -0400 Revert "scrolledwindow: Bug 766569 - Report child natural size unconditionally" This reverts commit 0943c9f6b2c3ad5827ae5d8f3742f75e72782e41. The commit caused unexpected breakage in gtk3-widget-factory, and also broke the just-added max-content-size properties. gtk/gtkscrolledwindow.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 5892bd72fa5dec120a8aadbe04c01c806e29ae86 Author: Matthias Clasen Date: Mon Jun 6 14:33:25 2016 -0400 widget-factory: Use max-content-size in a popover This gives a nice example of these properties in action, in the "Open" popover on page 3. demos/widget-factory/widget-factory.ui | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 03742e83fb0b12588a5461465a39f3e2587feafb Author: Tristan Van Berkom Date: Mon Jun 6 11:55:44 2016 +0900 scrolledwindow: Bug 767238 - Fixing up for max content sizes Needed to adjust this again after applying commit 4e5ecb7 for bug 742281. Now that we also have max content size properties, pushed the addition of possible scrollbar sizes to after the clause which clamps the child request size into min/max content sizes. gtk/gtkscrolledwindow.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 72ea348ad624c184aed437704e5a31e5eefb16cc Author: Phillip Wood Date: Mon Apr 25 13:16:21 2016 +0100 Fix hiding popover when focus moves outside Commit a01fe14 changed the behaviour of popovers when the focus leaves them to stop child popovers being hidden when the focus leaves their parent. However they are now a bit too reluctant to hide - if the focus passes to an unrelated popover the first popover is not hidden. Also if the focus passes to another widget that does not perform a gtk grab then the popover isn't hidden until the user presses a non-movement key or clicks outside the popover. The solution is to go back to checking if the focused widget is a descendant of the popover, but to include popovers and their related widgets in the ancestry chain. https://bugzilla.gnome.org/show_bug.cgi?id=765595 gtk/gtkpopover.c | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) commit 0943c9f6b2c3ad5827ae5d8f3742f75e72782e41 Author: Tristan Van Berkom Date: Sat Jun 4 20:57:23 2016 +0900 scrolledwindow: Bug 766569 - Report child natural size unconditionally This patch causes the scrolled window default behavior to change in such a way that the natural size request of the child is unconditionally reported, which probably should have been the case since day 1. This should not cause significant fallout since a scrolled window is normally used to expand/fill, eating up remaining space for scrollable content - it will however cause the scrolled window to compete for additional space with siblings, proportionally to the size of the scrolled window's content. gtk/gtkscrolledwindow.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit c4224bf9d0483ebc029e3567ba5e3c9a61e0eb28 Author: Matthias Clasen Date: Sun Jun 5 22:20:38 2016 -0400 treeview: fix an off-by-one error gtk_tree_view_get_path_at_pos() mistakenly identifies the first pixel of all but the first column in a tree view as belonging to the previous column. https://bugzilla.gnome.org/show_bug.cgi?id=708148 gtk/gtktreeview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b97c490b8761a165c995b169e4f29e7fd572e288 Author: Christian Dywan Date: Tue Oct 14 12:33:00 2008 +0000 object test: Also test object type properties Old patch found in bugzilla, it still applies and doesn't cause the test to fail. https://bugzilla.gnome.org/show_bug.cgi?id=556254 testsuite/gtk/object.c | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) commit 321ddb8697a22cbff67979de9e838b5233c546de Author: Matthias Clasen Date: Sun Jun 5 21:47:16 2016 -0400 Make gtk_tooltip_trigger_tooltip_query work again This was broken ever since we started looking at the source device of the event. https://bugzilla.gnome.org/show_bug.cgi?id=674215 gtk/gtktooltip.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 57d00e004abc32297dc229cc4d84aa79b280f3a8 Author: Matthias Clasen Date: Sun Jun 5 20:54:49 2016 -0400 inspector: Ellipsize accessible description. This string can be long, and we don't want to break the ui gtk/inspector/misc-info.ui | 2 ++ 1 file changed, 2 insertions(+) commit c8cab6a79ae9adbfc34b2a73e95c553d7980f39e Author: Matthias Clasen Date: Sun Jun 5 19:36:36 2016 -0400 viewport: Free gadgets in finalize This is the right place for this. gtk/gtkviewport.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit b4ebe4e5c1166b38ebb6230fea73873c7ebf5ac9 Author: Matthias Clasen Date: Sun Jun 5 19:36:09 2016 -0400 scrolled window: Free gestures and gadgets in finalize This is the right place for this. gtk/gtkscrolledwindow.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) commit 9a8335a135f9d983d9f28696b585a08edfbc1a4b Author: Matthias Clasen Date: Sun Jun 5 19:35:36 2016 -0400 range: Free gadgets in finalize This is the right place for this. gtk/gtkrange.c | 41 ++++++++++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 15 deletions(-) commit ca43f6ee28b7d83a92628c2562d078c0188decc2 Author: Matthias Clasen Date: Sun Jun 5 19:35:12 2016 -0400 notebook: Free gadgets in finalize This is the right place for this. gtk/gtknotebook.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit eff09fabfad0b46b985b3af21e9c1e1d875c1a90 Author: Matthias Clasen Date: Sun Jun 5 19:34:30 2016 -0400 menu: Free gadgets in finalize This is the right place to do this. gtk/gtkmenu.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit 9c50b8bc2f93c487064a45db471b3035e3a8ccdb Author: Matthias Clasen Date: Sun Jun 5 19:33:21 2016 -0400 button: Free gadgets and gestures in finalize This is the right place to free them. gtk/gtkbutton.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 3962b907bb346fd86b1a95c446120b89c0bddf7f Author: Georges Basile Stavracas Neto Date: Thu Jun 2 22:32:56 2016 -0300 testsuite: add tests for scrolledwindow This patch adds a set of tests for scrolled window sizing, covering both min- and max-content width and height. https://bugzilla.gnome.org/show_bug.cgi?id=742281 testsuite/gtk/Makefile.am | 1 + testsuite/gtk/scrolledwindow.c | 139 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 140 insertions(+) commit 657fcd0717e543f0b7187e5221de9130427ac94b Author: Georges Basile Stavracas Neto Date: Wed Jun 1 23:32:35 2016 -0300 tests: adapt testscrolledwindow to have max content sizes This patch adpats the current test to show a popover with max-content-width and -height properties set. https://bugzilla.gnome.org/show_bug.cgi?id=742281 tests/testscrolledwindow.c | 147 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 145 insertions(+), 2 deletions(-) commit 4e5ecb705247df55979891cd9e4c1c0617a9b71a Author: Georges Basile Stavracas Neto Date: Wed Jun 1 23:18:37 2016 -0300 scrolledwindow: add ::max-content-width and -height properties The GtkScrolledWindow has support to set the minimum content size (both width and height) which controls the minimum space allocated, but does not exposes any way to control the maximum size the content can grow. After the introduction of GtkPopover, which always uses the minimum size of it's children widgets, the lack of max-content-width and -height properties became a concrete use case. This patch introduces the GtkScrolledWindow::max-content-width and -height properties. The properties will alter the minimum size of the scrolled window, making it grow up to the set value. They also respect the previously set ::min-content-width and -height. https://bugzilla.gnome.org/show_bug.cgi?id=742281 gtk/gtkscrolledwindow.c | 190 ++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkscrolledwindow.h | 11 +++ 2 files changed, 201 insertions(+) commit bd86715ed3e8dec5caab605fa3afc04ce013906a Author: Руслан Ижбулатов Date: Sun Jun 5 07:37:02 2016 +0000 GDK W32: Fix dragging AeroSnap application The original patch for commit b420c53773ca5119afb43f0f351cb8f33c2bcaf9 was applied incorrectly, doing the actual snapping in the wrong place. Move the code. gdk/win32/gdkwindow-win32.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit b42d4b5b9aff549320e2279ad839c2ecb6357845 Author: Matthias Clasen Date: Fri Jun 3 16:30:00 2016 -0400 progressbar: Render text with the text css node This is the same fix that was just applied to GtkScale. gtk/gtkprogressbar.c | 57 +++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 48 insertions(+), 9 deletions(-) commit 3f3c1768c947f8be1a4c43111bf04a74e016ab77 Author: Matthias Clasen Date: Fri Jun 3 10:49:29 2016 -0400 scale: Also queue a resize if font changes As Benjamin pointed out, what AFFECTS_FONT can also affect size, but the implication is not automatic, so queue a resize manually. gtk/gtkscale.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) commit b18ebbb164a89029f6f25f82da1ddf0d3162469a Author: Pavel Grunt Date: Thu Jun 2 15:35:38 2016 +0200 gdktypes: Update docs for GDK_GRAB_FAILED Mention in documentation that it is available since 3.16 https://bugzilla.gnome.org/show_bug.cgi?id=767165 gdk/gdktypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fd9f7babf6635c00a54e144049aa4bd932e46d8c Author: Matthias Clasen Date: Fri Jun 3 00:30:59 2016 -0400 scale: Apply css style to text Use the new functions we have to apply CSS styles to the value and marks text from their respective subnodes. gtk/gtkscale.c | 104 +++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 83 insertions(+), 21 deletions(-) commit db50849d7918cc4337042e22b29ce13377e3d454 Author: Matthias Clasen Date: Fri Jun 3 00:29:05 2016 -0400 Add a function to get a font from a css style Similar in spirit to gtk_style_context_get (ctx, state, "font", ...) but avoids the need for a style context. This will be used to for css-styled text rendering from css subnodes. gtk/gtkcssstyle.c | 19 +++++++++++++++++++ gtk/gtkcssstyleprivate.h | 1 + 2 files changed, 20 insertions(+) commit 7b0929ad388d26e7c24620c5b8e93f9401eb8859 Author: Matthias Clasen Date: Fri Jun 3 00:19:24 2016 -0400 Add a function to turn a css style into pango attributes This is _gtk_style_context_get_pango_attributes, decoupled from the GtkStyleContext. This will be used to drive css-styled text rendering from css subnodes of widgets, e.g. for the value in GtkScale. gtk/gtkcssstyle.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssstyleprivate.h | 2 ++ gtk/gtkstylecontext.c | 71 +------------------------------------------- 3 files changed, 79 insertions(+), 70 deletions(-) commit a961b05200d7a9fb8f7fc97babbd04c19b37c2cb Author: Timm Bäder Date: Thu Jun 2 21:52:11 2016 +0200 widget: Avoid a deprecation warning gtk/gtkwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit de8af768974b12e6b290fb813ed45bbb66a24f16 Author: Matthias Clasen Date: Tue May 31 23:33:54 2016 -0400 Show a scroll cursor when appropriate When doing two-finger scrolling or click scrolling using a trackpoint, show the all-scroll cursor to indicate what is going on. https://bugzilla.gnome.org/show_bug.cgi?id=753202 gtk/gtkscrolledwindow.c | 55 +++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 51 insertions(+), 4 deletions(-) commit 3d0f76801d008facae8aa3b6f0cdf439712775aa Author: Matthias Clasen Date: Tue May 31 23:14:30 2016 -0400 wayland: Provide information about scroll devices The Wayland protocol does not share XI2's wealth of information about individual devices, but it does provide discriminating information about the source for scroll events. Pass this on to the application by creating separate slave devices for these, and setting them as source device on the scroll events. These devices can be discriminated by their input-source property: wheel - GDK_SOURCE_MOUSE finger - GDK_SOURCE_TOUCHPAD continuous - GDK_SOURCE_TRACKPOINT https://bugzilla.gnome.org/show_bug.cgi?id=767093 fix up gdk/wayland/gdkdevice-wayland.c | 154 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 139 insertions(+), 15 deletions(-) commit 5264209bf1537682833c689ba96544b9403f87be Author: Matthias Clasen Date: Wed Jun 1 14:18:46 2016 -0400 a11y tests: Update expected output These changes were caused by the introduction of GtkStackAccessible. testsuite/a11y/about.txt | 142 ----------------------------------------- testsuite/a11y/menubutton2.txt | 4 +- testsuite/a11y/menubutton3.txt | 4 +- testsuite/a11y/stack.txt | 16 ----- 4 files changed, 4 insertions(+), 162 deletions(-) commit 1dbbe7f251787fe189e5877540852aa75120a3ed Author: Matthias Clasen Date: Wed Jun 1 13:12:19 2016 -0400 button css node test: Update for switch style changes We no longer add the redundant .slider style class in GtkSwitch. Update expected results to reflect that. testsuite/css/nodes/buttons.nodes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 28b9e16272d3b3b5505c73be355a06b61c691bb6 Author: Matthias Clasen Date: Wed Jun 1 13:11:27 2016 -0400 css node tests: Update expected results We were not propagating direction changes in some places, evidently. Now we do. testsuite/css/nodes/box-packing.rtl.nodes | 8 ++++---- testsuite/css/nodes/box.rtl.nodes | 8 ++++---- testsuite/css/nodes/checkbutton.rtl.nodes | 6 +++--- testsuite/css/nodes/expander.rtl.nodes | 4 ++-- testsuite/css/nodes/levelbar.rtl.nodes | 2 +- testsuite/css/nodes/notebook.bottom.rtl.nodes | 24 ++++++++++++------------ testsuite/css/nodes/notebook.left.rtl.nodes | 24 ++++++++++++------------ testsuite/css/nodes/notebook.right.rtl.nodes | 24 ++++++++++++------------ testsuite/css/nodes/notebook.top.rtl.nodes | 24 ++++++++++++------------ testsuite/css/nodes/paned.rtl.nodes | 6 +++--- 10 files changed, 65 insertions(+), 65 deletions(-) commit f3f64d17c2451d2a4f002cf3941e5dc53887cec8 Author: Matthias Clasen Date: Wed Jun 1 11:52:20 2016 -0400 popover menu: Improved labeled separators Embed the label in the middle of the separators instead of putting it above the separator. https://bugzilla.gnome.org/show_bug.cgi?id=767108 gtk/gtkmenusectionbox.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) commit bb6cce4e6f9452280b09ad41513bb9c748b6b9cc Author: Bastien Nocera Date: Wed Jun 1 15:58:22 2016 +0200 Separators not correctly placed What it should look like: Bold ---- /Size/ x 0.5 x 1.0 What it looks like: Bold /Size/ ---- x 0.5 x 1.0 https://bugzilla.gnome.org/show_bug.cgi?id=767108 tests/testgmenu.c | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) commit 743d18c0f8655de44b1e7c96e040847a900acc34 Author: Matthias Clasen Date: Wed Jun 1 07:01:37 2016 -0400 scrolled window: Remove trackpoint heuristics This is now done in GDK, so we can just use the input type here. https://bugzilla.gnome.org/show_bug.cgi?id=767100 gtk/gtkscrolledwindow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 660c8b8f9bb35bd5d2819f5506b609f289382efd Author: Matthias Clasen Date: Wed Jun 1 06:58:43 2016 -0400 x11: Mark trackpoints as GDK_SOURCE_TRACKPOINT This uses the same heuristics that are currently used in GtkScrolledWindow. https://bugzilla.gnome.org/show_bug.cgi?id=767100 gdk/x11/gdkdevicemanager-xi2.c | 3 +++ 1 file changed, 3 insertions(+) commit a9f14846e40ee67abb9d4085ca62db42803fe20f Author: Matthias Clasen Date: Wed Jun 1 06:57:46 2016 -0400 gdk: Add GDK_SOURCE_TRACKPOINT Having this as an input source type will let us do the heuristics in the GDK backends. https://bugzilla.gnome.org/show_bug.cgi?id=767100 gdk/gdkdevice.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 3ab7645ac180355d9c20ae0f4bd0e1046981a3bf Author: Matthias Clasen Date: Wed Jun 1 07:00:18 2016 -0400 Avoid a deprecation warning gtk/gtksizegroup.c | 2 ++ 1 file changed, 2 insertions(+) commit 7c397c621cb6ba7ba3575083b1510f226e7e25f4 Author: Olivier Fourdan Date: Tue May 31 15:25:52 2016 +0200 headerbar: do not show buttons for modals/transients GtkHeadeBar checks the window type hint to determine if the regular buttons such as menu, maximize or iconify should be visible in the header bar. However, an application may very well use a "normal" toplevel window and set it transient and modal afterwards. In such a case, the iconify button would remain visible, and the user can hide the window, but being a modal, the parent window would remain insensitive. Check for the window type, modality and transient relationship to decide whether or not the regular toplevel buttons should be visible in the header bar. https://bugzilla.gnome.org/show_bug.cgi?id=767052 gtk/gtkheaderbar.c | 14 ++++++++------ gtk/gtkwindow.c | 4 ++++ 2 files changed, 12 insertions(+), 6 deletions(-) commit 11e22aadda28160d8c62438c7af3cec0d8b054d5 Author: Matthias Clasen Date: Tue May 31 22:05:58 2016 -0400 wayland: Better debug info for scroll axes Print human readable names for axes and axis sources. gdk/wayland/gdkdevice-wayland.c | 52 +++++++++++++++++++++++++++++++++++------ 1 file changed, 45 insertions(+), 7 deletions(-) commit dbe499bcfef2504204c24eda6404bf2269fda67a Author: Matthias Clasen Date: Tue May 31 16:33:18 2016 -0400 docs: Add a release note about GtkSizeGroup::ignore-hidden docs/reference/gtk/migrating-3xtoy.xml | 8 ++++++++ 1 file changed, 8 insertions(+) commit 430916973abc2e640d8b9eca3d1028b2e980d09d Author: Matthias Clasen Date: Tue May 31 16:32:20 2016 -0400 GtkShortcutsSection: avoid deprecation warnings We could just as well remove these calls here, since they have no effect. gtk/gtkshortcutssection.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit d76c07836bce88c33c71ca75a82d1fbfa8a5f2bc Author: Matthias Clasen Date: Tue May 31 16:19:52 2016 -0400 Document GtkSizeGroup::ignore-hidden as broken ...and deprecate it, recommending GtkStack as an alternative. gtk/gtksizegroup.c | 29 +++++++++++++++++++++++++---- gtk/gtksizegroup.h | 4 ++-- 2 files changed, 27 insertions(+), 6 deletions(-) commit 69f8b4bb7776210faa64dae60d53636b5106d1be Author: Lapo Calamandrei Date: Tue May 31 20:58:35 2016 +0200 Adwaita: ensure menuitem labels are not overridden see https://bugzilla.gnome.org/show_bug.cgi?id=767058 gtk/theme/Adwaita/_common.scss | 7 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 58 ++++++++++++++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 58 ++++++++++++++++++++++---------- 3 files changed, 88 insertions(+), 35 deletions(-) commit 4dbe7c99c2390a9613fb79a436c6e8b6384808f8 Author: Timm Bäder Date: Sun May 29 18:34:35 2016 +0200 entry: Fix undershoot position wrt entry icons Draw them inside of the icons, which is where the text scrolls. gtk/gtkentry.c | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) commit 14e33ab0f58fe11f973ff8f7615b3044b2113889 Author: Matthias Clasen Date: Mon May 30 20:24:13 2016 -0400 README: Refer to release notes online We don't want to maintain this information in two places, so just link to the online documentation here. README.in | 291 ++------------------------------------------------------------ 1 file changed, 5 insertions(+), 286 deletions(-) commit 3bed458723b7dfb162f9498fc5a50b32eebdf224 Author: Matthias Clasen Date: Mon May 30 20:21:48 2016 -0400 docs: Fix a duplicate ID This was causing navigation in the online docs to be confused. docs/reference/gtk/migrating-3xtoy.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f168de3ada3a074df7184010ff43714fc8864dbe Author: Matthias Clasen Date: Mon May 30 16:14:36 2016 -0400 Add a warning for a broken situation When we emit ::draw, the widget should not have alloc_needed set anymore. If this happens, it indicates a broken situation. Add a warning to help tracking down why this might occur. See https://bugzilla.gnome.org/show_bug.cgi?id=765410 gtk/gtkwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit d36f866b27e148bfdcd88fcd27c3a2f03a5157a5 Author: Matthias Clasen Date: Mon May 30 16:07:52 2016 -0400 gtk3-demo: Fix some css warnings Update the font: syntax to follow css. demos/gtk-demo/css_accordion.css | 2 +- demos/gtk-demo/cssview.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 9d5fe264202dd92eec7611541537e7faa79f112a Author: Timm Bäder Date: Mon May 30 20:40:43 2016 +0200 build: add GtkStack accessible private header at the right place gtk/a11y/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1a9845c17609d98d04efc55969cb2ffff3cf1709 Author: Daniel Mustieles Date: Mon May 30 19:16:21 2016 +0200 Updated Spanish translation po/es.po | 144 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 70 insertions(+), 74 deletions(-) commit 6301827dacc0c3e1a25ab99c65022f3e581cb2bc Author: Timm Bäder Date: Sun May 22 08:24:46 2016 +0200 range: Properly indent closing brace Make sure it's obvious what if block it belongs to. gtk/gtkrange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0b0d4765a00706be78f2485ab0937bc8cbb04031 Author: Timm Bäder Date: Sun May 29 13:51:02 2016 +0200 Add GtkStackAccessible Show only the currently visible child to a11y. gtk/a11y/Makefile.inc | 3 + gtk/a11y/gtkstackaccessible.c | 109 +++++++++++++++++++++++++++++++++++ gtk/a11y/gtkstackaccessible.h | 54 +++++++++++++++++ gtk/a11y/gtkstackaccessibleprivate.h | 32 ++++++++++ gtk/gtkstack.c | 7 +++ 5 files changed, 205 insertions(+) commit 5029e1147362b3c723da558dcaa59e5c1e08d339 Author: Timm Bäder Date: Mon May 30 08:59:46 2016 +0200 tests/scrolling-performance: Define MyTextView The type is used in widget-factory.ui, so add a dummy definition here to keep the test working. tests/scrolling-performance.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 106bc95771b9ad25cce7d5327bf528266bfc8022 Author: Cédric Valmary Date: Mon May 30 16:59:28 2016 +0000 Updated Occitan translation po/oc.po | 294 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 152 insertions(+), 142 deletions(-) commit 73708b39ac69c5444964afe465a3b7cbba85ada1 Author: Cédric Valmary Date: Mon May 30 16:58:07 2016 +0000 Updated Occitan translation po-properties/oc.po | 955 ++++++++++++++++++++++++++-------------------------- 1 file changed, 482 insertions(+), 473 deletions(-) commit 0c387b27ee9b0ac2f4041c78404cd0b489207d82 Author: Lapo Calamandrei Date: Mon May 30 14:20:33 2016 +0200 Adwaita: explicitelly set label caret-color to currentColor since it doesn't always inherit 'color' color as it should. gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 26 ++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 26 ++++++++++++++------------ 3 files changed, 30 insertions(+), 24 deletions(-) commit f54e28177c51c663100a2eb8e0401fd17cc0556c Author: Lapo Calamandrei Date: Mon May 30 13:56:23 2016 +0200 Adwaita: make selection on infobars visible see https://bugzilla.gnome.org/show_bug.cgi?id=745622 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 14 ++++---------- gtk/theme/Adwaita/gtk-contained.css | 14 ++++---------- 3 files changed, 9 insertions(+), 21 deletions(-) commit 77ef33b095e9c9401e501a4ea4220fc9664c7e85 Author: Theppitak Karoonboonyanan Date: Mon May 30 12:45:19 2016 +0700 Updated Thai translation po/th.po | 376 ++++++++++++++++++++++----------------------------------------- 1 file changed, 129 insertions(+), 247 deletions(-) commit e13f04a9fae4925ae349975b71d7aa67129d0bca Author: Jordi Mas Date: Sat May 28 07:27:51 2016 +0200 Fixes to Catalan translation po/ca.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1fcf9c8f6d671a6dd0768d3a2d6b3e9c0267e841 Author: Jordi Mas Date: Sat May 28 07:21:39 2016 +0200 Update Catalan translation po-properties/ca.po | 1831 ++++++++++++++++++++++++++------------------------- 1 file changed, 936 insertions(+), 895 deletions(-) commit d1d763ce58889dda7fa537927f7b15abecfdf06c Author: Lapo Calamandrei Date: Fri May 27 11:34:47 2016 +0200 Adwaita: remove textview border see https://bugzilla.gnome.org/show_bug.cgi?id=764203 gtk/theme/Adwaita/_common.scss | 28 +--------------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 18 +----------------- gtk/theme/Adwaita/gtk-contained.css | 18 +----------------- 3 files changed, 3 insertions(+), 61 deletions(-) commit a7e069509341cdbbf48a28a677548fd174cf32af Author: Theppitak Karoonboonyanan Date: Fri May 27 15:49:58 2016 +0700 Updated Thai translation po/th.po | 1510 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 801 insertions(+), 709 deletions(-) commit 694ba1298ed85ffd8ae6fc8c342c9e7f360d0baa Author: Rico Tzschichholz Date: Fri May 27 09:27:53 2016 +0200 x11: Replace RROutput with XID as used in GdkX11Monitor This avoids an unconditional use of XRandr symbol. gdk/x11/gdkscreen-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e7765daf64efc4660ff619c2af6737c77283886c Author: Thomas Lange Date: Wed May 25 20:16:04 2016 +0200 placesview: Do not mark icon name as translatable https://bugzilla.gnome.org/show_bug.cgi?id=766878 gtk/ui/gtkplacesview.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit abdd7137b3903e26481f6217a05c62017f510170 Author: Matthias Clasen Date: Thu May 26 13:57:20 2016 -0400 3.21.2 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8fb0950398808d4618ff1122a39fe620cf496ad1 Author: Matthias Clasen Date: Thu May 26 13:56:59 2016 -0400 Updates NEWS | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) commit 73a47181fa66b213de85dfeab81af485b841a9a2 Author: Matthias Clasen Date: Thu May 26 13:21:50 2016 -0400 Teach gtk-builder-tool to leave GtkDialog::border-width alone This is one of the properties that need to be explicitly set. gtk/gtk-builder-tool.c | 1 + 1 file changed, 1 insertion(+) commit d08cc01b3c44613e1d6eb80afd749d8e47610ea4 Author: Tiago Santos Date: Thu May 26 13:44:51 2016 +0000 Updated Portuguese translation po/pt.po | 142 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 69 insertions(+), 73 deletions(-) commit 7fe65108002fac4381a8394ee5b5bda3e653b898 Author: Emmanuele Bassi Date: Thu May 26 12:45:51 2016 +0100 Silence a compiler warning Initialize the `nearest` variable. gdk/gdkdisplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fcd3321fa7b675e940760c9b08ca9ade9e1e8b1d Author: Руслан Ижбулатов Date: Mon May 9 12:48:07 2016 +0000 GtkFileChooser: don't override already opened folder When filechooer is re-used (instead of being created and destroyed every time it's needed), it might happen that the directory the application wishes to initially show is the same directory that was shown last time the filechooser was used. In that case, make sure filechooser knows that it does not need to do its default "select $pwd or $home" routine. https://bugzilla.gnome.org/show_bug.cgi?id=766122 gtk/gtkfilechooserwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit 0fa3c3b73175a5f9de7a35c73f11bb7ea57b8e8a Author: Matthias Clasen Date: Wed May 25 15:56:04 2016 -0400 Mention CSS font property in the release notes docs/reference/gtk/migrating-3xtoy.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 17d798de114e98e1ec991f92ff6d4c1430d343b1 Author: Friedrich Herbst Date: Wed May 25 08:36:09 2016 +0000 Updated German translation po/de.po | 963 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 527 insertions(+), 436 deletions(-) commit e92e54c6460978f3e1b5fc47036c2538faa41a54 Author: Matthias Clasen Date: Wed May 25 00:55:11 2016 -0400 Move release notes to online docs This will let us expand the information e.g. with code examples, and can serve as starting material for a future 3->4 migration guide. docs/reference/gtk/Makefile.am | 2 + docs/reference/gtk/gtk-docs.sgml | 1 + docs/reference/gtk/migrating-3xtoy.xml | 395 +++++++++++++++++++++++++++++++++ 3 files changed, 398 insertions(+) commit 10b8c082030a7f07b8208d78df6e250294cb7efa Author: Matthias Clasen Date: Tue May 24 20:55:16 2016 -0400 Update migration guide a bit Resize grips are no more. docs/reference/gtk/migrating-2to3.xml | 6 ++++++ 1 file changed, 6 insertions(+) commit c201cb3af0e7bae685366c5fb45e01db29e4c507 Author: Matthias Clasen Date: Tue May 24 20:51:55 2016 -0400 Fix a duplicate word in the docs docs/reference/gtk/migrating-2to3.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b9f55dfd634808ddec5b1a82769890e217b8eb46 Author: Benjamin Otte Date: Wed May 25 01:16:52 2016 +0200 window: Unfreeze window on unmap Make sure to keep parity with the number of times we froze the window when we unmap it. Otherwise it will permanently stay frozen after being remapped. https://bugzilla.gnome.org/show_bug.cgi?id=766643 https://bugzilla.mozilla.org/show_bug.cgi?id=1225044 gtk/gtkwindow.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 5759e2a334993ffb4ad0f7204d8ff74a2ddb8d05 Author: Bastian Ilsø Date: Wed Apr 1 22:46:46 2015 +0200 gtktextview: document how to get line space adds a paragraph to gtk_text_view_get_pixels_below_lines(), describing how it can be used together with gtk_text_view_get_pixels_above_lines() to get the total amount of line spacing between two paragraphs. https://bugzilla.gnome.org/show_bug.cgi?id=747206 gtk/gtktextview.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit b90ae2cfbfe7f1701b9f6bfc4a95f24390d0ab3c Author: Matthias Clasen Date: Mon May 23 20:40:03 2016 -0400 Add a deprecation note Mark GtkWidget:style property as deprecated in the docs. gtk/gtkwidget.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 30c3d6af563ec1693bcc6f1a959a735fb5be53d2 Author: Matthias Clasen Date: Mon May 23 19:25:41 2016 -0400 Improve CSS docs a bit Among other things, explain the relationship of background-color and background-image. docs/reference/gtk/css-properties.xml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) commit 46b51e36b4655ffd54e26b99bfe89b7e9f7946bd Author: Matthias Clasen Date: Mon May 23 19:24:07 2016 -0400 Trivial typo fix gtk/gtkcssprovider.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit f39a7ecd63be3e792ddb8f63267a2442bb23533f Author: Matthias Clasen Date: Mon May 23 14:17:13 2016 -0400 Remove an unused variable gdk/gdkdisplay.c | 1 - 1 file changed, 1 deletion(-) commit 16bca98305486a4e75356276a33753efcfa344ed Author: Matthias Clasen Date: Mon May 23 14:14:32 2016 -0400 infobar: Update documentation Remove explicit reference to color from the gtk_info_bar_set_message_type() docs. https://bugzilla.gnome.org/show_bug.cgi?id=759037 gtk/gtkinfobar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b5d52a209d9cc8b0e8cc5245981d84eaa9c8255b Author: Kjartan Maraas Date: Mon May 23 18:56:30 2016 +0200 Updated Norwegian bokmål translation. po/nb.po | 3302 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 2104 insertions(+), 1198 deletions(-) commit 9c3802fc4b630c4ca404194b62b1178d51bc331f Author: Emmanuele Bassi Date: Mon May 23 08:34:39 2016 +0100 gdk: Provide safe fallback for creating GL contexts If the backend does not override GdkWindowClass.create_gl_context() then we should provide a fallback that gives an error, instead of crashing. https://bugzilla.gnome.org/show_bug.cgi?id=766782 gdk/gdkwindow.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) commit fe684078f9f76d71c3f771a38d287ebc255eaa8e Author: Emmanuele Bassi Date: Mon May 23 08:31:47 2016 +0100 gl: Add a realize() fallback Calling gdk_gl_context_realize() should always result in a valid result, so we need to provide a default implementation, to avoid a call to a NULL function pointer. gdk/gdkglcontext.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 9318dc1f3ec6825fd46315ebf06da71dbb1d4ff3 Author: Anders Jonsson Date: Sat May 21 21:39:34 2016 +0000 Updated Swedish translation po/sv.po | 947 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 516 insertions(+), 431 deletions(-) commit 76a5e3fc3cefebff397a2dcf94f4699c32087979 Author: Carlos Garnacho Date: Sat May 21 19:43:15 2016 +0200 popover: set priv->window before setting doing add_popover() on it If the popover's relative-to widget is unparented/reparented, we end up unparenting/reparenting the popover as well. In that case, at the moment of reparenting, the widget might have been visible (and is thus mapped again), but priv->window hasn't been set yet. We must first set priv->window, and then call gtk_window_add_popover(), that way gtk_popover_map() has its prerequisites straight. https://bugzilla.gnome.org/show_bug.cgi?id=766323 gtk/gtkpopover.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit ebf703ff5ac8a69c2c35f003620ea5b7a4e7eb0e Author: Khaled Hosny Date: Sat May 21 15:54:19 2016 +0200 Typo po/ar.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3d0e8cf2a8073d36387428918fc8c1cb7d253f41 Author: Khaled Hosny Date: Sat May 21 07:40:09 2016 +0200 Update Arabic translation po/ar.po | 1967 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1079 insertions(+), 888 deletions(-) commit 57efcabfd68576d974cf8917307578f96ff72f98 Author: Florian Müllner Date: Sat May 21 00:07:10 2016 +0200 stack: Only map children when necessary gtk_widget_set_parent() will map the widget if the parent is mapped and the widget is both visible and child-visible. As we currently only set the child visibility after adding the child, we immediately map all children that are added to a mapped stack, even when they are not actually shown. Avoid this by setting the child visibility before adding the child, so widgets are only mapped when shown. https://bugzilla.gnome.org/show_bug.cgi?id=766737 gtk/gtkstack.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 386ead4243b9e45d60f6a7aa6812f68e8c119ba3 Author: Lapo Calamandrei Date: Fri May 20 15:39:08 2016 +0200 Adwaita: add vertical margins to switches on a headerbar See https://bugzilla.gnome.org/show_bug.cgi?id=766642 gtk/theme/Adwaita/_common.scss | 6 +++++- gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) commit 0d5b4779b8079ca4130dd63ad83ceb17e47a4c6f Author: Lapo Calamandrei Date: Fri May 20 15:28:58 2016 +0200 Adwaita: shave 1px from the switch make the switch height and width 1px smaller. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit 55751fc6fbea74ca98b1dca6663046ba7974946a Author: Ondrej Holy Date: Mon May 2 12:55:56 2016 +0200 Improve external drives detection Use g_drive_is_removable for external drives detection. Current heuristic fails in some cases (e.g. when removable drive is attached before login), see Bug 765457. Bump GLib version accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=765924 configure.ac | 4 ++-- gtk/gtkplacessidebar.c | 4 +--- gtk/gtkplacesview.c | 4 +--- 3 files changed, 4 insertions(+), 8 deletions(-) commit 64eca0bb2dad94164d38a89797bf7a439a321b48 Author: Ignacio Casal Quinteiro Date: Fri May 20 09:08:08 2016 +0200 gtktextview: fix < public > comment This was causing problems with the gtk# scanner gtk/gtktextview.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d3adf47d9f70ed785dc26aba3b48e607f89ee5b5 Author: Matthias Clasen Date: Thu May 19 16:59:10 2016 -0400 treeview: Fix a rubberbanding-related crash When starting a rubberband selection from an empty area, we could run into crashes if the selection moves over the rows and then back out to unpopulated area. Handle this case without crashing. https://bugzilla.gnome.org/show_bug.cgi?id=766336 gtk/gtktreeview.c | 55 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 41 insertions(+), 14 deletions(-) commit eace965a197e7145d214cbdaa0bef24f2fb1bbd6 Author: Matthias Clasen Date: Thu May 19 12:25:52 2016 -0400 scale css node test: Adapt to changes The style classes are reflected in the output here. testsuite/css/nodes/scale.nodes | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 6293a50501c20d25663ebfe170b0acfec3c96d2b Author: Matthias Clasen Date: Thu May 19 11:05:28 2016 -0400 color scale: Sync style classes with GtkScale We should use the same style classes here, to avoid theme confusion. gtk/gtkcoloreditor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit cca2a22b637e3bb42e793563a64c9e720077ab00 Author: Lapo Calamandrei Date: Thu May 19 17:24:51 2016 +0200 color scale: Really sync style classes with GtkScale sync the alpha scale styleclass too. gtk/ui/gtkcoloreditor.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5ae7f62f25c20e24e642c99c1409900d403462b3 Author: Lapo Calamandrei Date: Thu May 19 17:05:46 2016 +0200 Adwaita: fix scale theming rely on toplevel styleclass for scale with marks. See https://bugzilla.gnome.org/show_bug.cgi?id=766440 gtk/theme/Adwaita/_common.scss | 64 +++++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 122 +++++++++++++------------------ gtk/theme/Adwaita/gtk-contained.css | 122 +++++++++++++------------------ 3 files changed, 132 insertions(+), 176 deletions(-) commit fab70d34d443d25c8c68fea30ae7b483749b5e40 Author: Ignacio Casal Quinteiro Date: Thu May 19 16:55:24 2016 +0200 gtkselectionprivate: minor style fix This seems to make some issue with the gtk# scanner. gtk/gtkselectionprivate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4151cb1202a120a0eae6da04d45411dafbfaa317 Author: Matthias Clasen Date: Thu May 19 09:44:25 2016 -0400 scale: Use more succinct names for style classes Use .marks-before/after to indicate the presence of marks. As Lapo points out, compatibility with the previous names is not really that important, since everything else changed around it. https://bugzilla.gnome.org/show_bug.cgi?id=766440 gtk/gtkscale.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit de7c15636d44c3c81fbee368c867afdd20740563 Author: Matthias Clasen Date: Thu May 19 09:03:20 2016 -0400 icon theme: Add a warning Warn about the situation when we've found a resource or file path, but gdk-pixbuf fails to give us a pixbuf. This generally means that either pixbuf loaders are not found or the shared-mime database is missing. gtk/gtkicontheme.c | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) commit d14305f3806cb6f42e1f2ffe98a313836c99c221 Author: Matthias Clasen Date: Wed May 18 13:08:44 2016 -0400 wayland: Survive lack of settings This can be made to happen eg by setting XDG_DATA_DIRS and XDG_DATA_HOME to /. Not a useful value, but not a good reason to crash either. gdk/wayland/gdkscreen-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 0b58c96f06011b21aaa6337a2e4e774da4410033 Author: Olivier Fourdan Date: Thu May 19 09:48:46 2016 +0200 wayland: Make gdk_wayland_window_get_wl_output() private There is no need to make it a public API, move it to the private header instead. https://bugzilla.gnome.org/show_bug.cgi?id=766566 docs/reference/gdk/gdk3-sections.txt | 1 - gdk/wayland/gdkprivate-wayland.h | 2 ++ gdk/wayland/gdkwaylandwindow.h | 2 -- gdk/wayland/gdkwindow-wayland.c | 11 ----------- 4 files changed, 2 insertions(+), 14 deletions(-) commit 6c939c0e72e5d725989fa912a8b8a518f235da0d Author: Dušan Kazik Date: Wed May 18 18:48:18 2016 +0000 Updated Slovak translation po/sk.po | 947 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 516 insertions(+), 431 deletions(-) commit b03784eb979bb8c7fee317f1ddeeed67c35eb63e Author: Olivier Fourdan Date: Tue May 17 15:04:23 2016 +0200 wayland: Add get_monitor_at_window to Wayland backend Given that Wayland has no global coordinate, the only way for gdk to retrieve the monitor a window last entered is to retrieve it from the GdkWaylandWindow itself. Implement the backend specific get_monitor_at_window() to return the monitor that was last entered by the window. https://bugzilla.gnome.org/show_bug.cgi?id=766566 gdk/wayland/gdkdisplay-wayland.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit ca77de055baa403f7ebf397772dfb8f13656607d Author: Olivier Fourdan Date: Tue May 17 15:02:01 2016 +0200 wayland: Add API to retrieve the Wayland output In Wayland, surfaces get an enter/leave notification each time they enter or leave an output. Add an API to GdkWaylandWindow to retrieve the output the window has last entered. https://bugzilla.gnome.org/show_bug.cgi?id=766566 docs/reference/gdk/gdk3-sections.txt | 1 + gdk/wayland/gdkwaylandwindow.h | 3 +++ gdk/wayland/gdkwindow-wayland.c | 26 ++++++++++++++++++++++++++ 3 files changed, 30 insertions(+) commit d288a134a427e5728d230404c6a56fc9397b45d9 Author: Olivier Fourdan Date: Tue May 17 13:09:23 2016 +0200 display: Add vfunc for get_monitor_at_window Some backends (namely Wayland) do not support global coordinates so using the window position to determine the monitor will always fail on such backends. In such cases, the backend itself might be better suited to identify the monitor a given window resides on. Add a vfunc get_monitor_at_window() to the display class so that we can use the backend to retrieve the monitor, if the backend implements it. https://bugzilla.gnome.org/show_bug.cgi?id=766566 gdk/gdkdisplay.c | 11 +++++++++++ gdk/gdkdisplayprivate.h | 2 ++ 2 files changed, 13 insertions(+) commit fa9f22eec4fafd9a484864f45e0ac26ba584f0ef Author: Matthias Clasen Date: Wed May 18 12:59:39 2016 -0400 scale: Bring back marks-related style classes It turns out that it is too hard (and in some cases, impossible) to get this information from node positioning, so bring back the .scale-has-marks-above/below style classes on the main node. This should allow us to fix the 'pointy sliders'. https://bugzilla.gnome.org/show_bug.cgi?id=766440 gtk/gtkscale.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit f516faaef89d2da1a1ef99952e65223c637c30ea Author: Matthias Clasen Date: Wed May 18 07:48:26 2016 -0400 Revert "scrolledwindow: Better size requisition for GTK_SCROLL_NATURAL children" This reverts commit 096bea3f0ea8e80fe4c9a2a1a860f32c8a94cc33. This was accidentally pushed. gtk/gtkscrolledwindow.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) commit 1d04bdf845c5418748af8f2b34a6fb718536580f Author: Carlos Garnacho Date: Tue May 17 19:27:00 2016 +0200 x11/dnd: Ignore grab broken events from other devices than our DnD device. The GdkDragContext should only listen to GDK_GRAB_BROKEN events sent to its own pointer device. It turns out that the passive key grabs mistake GDK into sending a GdkEventGrabBroken on the master keyboard, which the DnD machinery mistakes as a signal to cancel the operation. https://bugzilla.gnome.org/show_bug.cgi?id=766442 gdk/x11/gdkdnd-x11.c | 4 ++++ 1 file changed, 4 insertions(+) commit 783c30219891e873c9ea07fb83b603b647ef3d47 Author: Carlos Garnacho Date: Thu May 12 13:34:42 2016 +0200 wayland: Avoid spurious crossing events from master touch device Only generate crossing events on wl_touch.down for the virtual master device used for touch events, and only whenever this virtual device actually moves across surfaces. This behavior resembles better what is expected in X11, where the pointer is warped to the touch position on XITouchBegin. This avoids the double emission of leave events when the pointer emulating touch is lifted, that crossing event will be instead generated when/if the focus surface changes. https://bugzilla.gnome.org/show_bug.cgi?id=766314 gdk/wayland/gdkdevice-wayland.c | 46 ++++++++++++++++++++++++++--------------- 1 file changed, 29 insertions(+), 17 deletions(-) commit 2893526a48b6edae452d966cf9779f4ef0a23a15 Author: Matthew Waters Date: Fri Mar 18 17:17:23 2016 +1100 gdk/wayland: use the multi-thread safe wayland API This is required for proper integration with any other library/application that may perform wayland API calls and poll() the wayland fd from multiple threads. Using wl_display_dispatch{_queue}() is thread-safe if not mixed with custom poll() usage, which GSource/GMainContext does. Essentially, the problem is that multiple threads polling and reading the same fd is extremely racy. Use the wayland provided API for allowing concurrent access to the wayland display fd. See the wayland man pages for wl_display_prepare_read(), wl_display_cancel_read() and wl_display_read_events() for more details. https://bugzilla.gnome.org/show_bug.cgi?id=763852 gdk/wayland/gdkeventsource.c | 56 ++++++++++++++++++++++++++++++++++---------- 1 file changed, 44 insertions(+), 12 deletions(-) commit 096bea3f0ea8e80fe4c9a2a1a860f32c8a94cc33 Author: Debarshi Ray Date: Tue May 17 16:28:20 2016 +0200 scrolledwindow: Better size requisition for GTK_SCROLL_NATURAL children GtkScrolledWindow leans towards using the minimum size of its child widget, unless the scrollbar policy is GTK_POLICY_NEVER. This is probably fine for most GtkScrollable implementations out there. Especially when using GTK_SCROLL_MINIMUM, which is the default for all implementations inside gtk+. However, this is not good for GTK_SCROLL_NATURAL children. eg., VteTerminal's minimum size is 1x1 and natural size is the number of visible rows and columns requested by the user. We really want to use the natural size unless the user has resized the window to change that. https://bugzilla.gnome.org/show_bug.cgi?id=766569 gtk/gtkscrolledwindow.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit 0d18a429aadced1499cdcb28a6a4d8ffee1d6946 Author: Matthias Clasen Date: Tue May 17 14:16:39 2016 -0400 Update cursor docs Include new images for context-menu and for no-drop. docs/reference/gdk/Makefile.am | 1 + docs/reference/gdk/images/context_menu_cursor.png | Bin 0 -> 1496 bytes docs/reference/gdk/images/no_drop_cursor.png | Bin 1176 -> 1373 bytes gdk/gdkcursor.c | 4 ++-- 4 files changed, 3 insertions(+), 2 deletions(-) commit 4b8dfd8825bbdd49cd5ab4666fda711f294abace Author: Matthias Clasen Date: Tue May 17 13:40:52 2016 -0400 gtk-demo: Update no-drop cursor image Adwaita is using a different cursor for this now. demos/gtk-demo/no_drop_cursor.png | Bin 1176 -> 1373 bytes 1 file changed, 0 insertions(+), 0 deletions(-) commit 3078f182b0841a57df525ba7b2d61601f283881f Author: Matthias Clasen Date: Tue May 17 13:39:18 2016 -0400 gtk3-demo: Add context-menu cursor The Adwaita cursor theme covers this one now. demos/gtk-demo/context_menu_cursor.png | Bin 0 -> 1496 bytes demos/gtk-demo/demo.gresource.xml | 1 + 2 files changed, 1 insertion(+) commit c81cd94b8f450e4e762bc197b4695f90ec08abf7 Author: Debarshi Ray Date: Mon May 16 21:50:05 2016 +0200 scrolledwindow: Remove redundant use of MAX This code tries to add the minimum content size, if one is set, to the GtkScrolledWindow's size requisition. This is obvious from the check for non-negative values of min-content-height and min-content-width. Using MAX needlessly makes the code harder to read by implying that there is more to it when there actually isn't. Fall out from 0d9ebb501df60cf1803858efcd1c79542588abd8 https://bugzilla.gnome.org/show_bug.cgi?id=766569 gtk/gtkscrolledwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 2b628e9e38bedbd4128a4845c103b67dcd336e71 Author: Baurzhan Muftakhidinov Date: Tue May 17 10:18:52 2016 +0000 Updated Kazakh translation (cherry picked from commit d1585a7a60d760a0c98934f970c4403023a399c3) po/kk.po | 576 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 291 insertions(+), 285 deletions(-) commit df98140e8e0fcd9727622ba0b296a0932c70e493 Author: Debarshi Ray Date: Mon May 16 21:13:14 2016 +0200 scrolledwindow: Fix typo in get_preferred_height calculation When we are beginning to calculate the height, if the vscrollbar_policy is not GTK_POLICY_NEVER, and there is no min-content-height, then we need some small non-zero value to get started. The idea is to always ask for at least enough to fit the horizontal scrollbar. Simply put, this should be the mirror image of the corresponding width calculation code. Those who got used to the buggy behaviour might notice that their GtkScrolledWindows are not as tall as they used to be. Fall out from 55196a705f00564a44647bfc97981db0a783369a https://bugzilla.gnome.org/show_bug.cgi?id=766530 gtk/gtkscrolledwindow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 175cf7e32d39be2b2f1afff9ef7c16dc49b75289 Author: Matt Watson Date: Fri May 13 00:22:20 2016 -0700 stack: always update window position at transition start Sometimes on wayland we're seeing a frame draw before the first tick callback, where the window position has not yet been updated. With this change, the window is properly positioned as soon as gtk_stack_start_transition returns. https://bugzilla.gnome.org/show_bug.cgi?id=766405 gtk/gtkstack.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 101da71ee30e53fe0338bc67605a98527277ee56 Author: Javier Jardón Date: Sat Jan 9 18:35:34 2016 +0000 Use upstream gettext https://bugzilla.gnome.org/show_bug.cgi?id=373745 Makefile.am | 4 +- configure.ac | 43 +------- gtk/Makefile.am | 1 + modules/input/Makefile.am | 1 + po-properties/Makefile.in.in | 245 ------------------------------------------ po-properties/Makevars | 78 ++++++++++++++ po/Makefile.in.in | 248 ------------------------------------------- po/Makevars | 78 ++++++++++++++ testsuite/gtk/Makefile.am | 1 + 9 files changed, 165 insertions(+), 534 deletions(-) commit 0dfd6a7b082effae1d6d702037609565c95b7835 Author: Daniel Mustieles Date: Mon May 16 17:13:24 2016 +0200 Updated Spanish translation po/es.po | 245 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 134 insertions(+), 111 deletions(-) commit a4c93d12ea8778895a6e64b8c6ad8dd258cc28e5 Author: Tiago Santos Date: Sun May 15 21:40:45 2016 +0000 Updated Portuguese translation po/pt.po | 1965 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1041 insertions(+), 924 deletions(-) commit 0bc752065106a89ddb65122adda7a6f03067671f Author: Tiago Santos Date: Sun May 15 21:22:46 2016 +0000 Updated Portuguese translation po-properties/pt.po | 2869 ++++++++++++++++++++++++++------------------------- 1 file changed, 1458 insertions(+), 1411 deletions(-) commit 38f71172f89d4f80a5d852a7b822bb944ba82934 Author: Matthias Clasen Date: Sun May 15 14:18:09 2016 -0400 scale: Avoid a crash gtk_scale_get_layout was not careful enough, leading to a crash when opening the inspector on a scale. gtk/gtkscale.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit cd305c19702cc80f900a0922bce19bf0c926167a Author: Alban Browaeys Date: Sat May 14 23:57:28 2016 +0200 widget: fix GtkLabelAccessible NULL links. Fix testsuite/a11y/about.ui GtkAboutDialog : "CRITICAL **: atk_hyperlink_get_start_index: assertion 'ATK_IS_HYPERLINK (link)' failed" That is set widget->priv->accessible as soon as accessible object is generated. When accessible object is created accessible->priv->widget is set, if widget->priv->accessible is not , then _gtk_label_accessible_update_links exits early, thus without creating the links on the accessible side. (This as it checks for the widget to have the accessible set before proceeding). https://bugzilla.gnome.org/show_bug.cgi?id=766458 gtk/gtkwidget.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit ddcf47026dbbe58dca3b34c7bb1ec63bb50a861a Author: Benjamin Otte Date: Sat May 14 18:35:27 2016 +0200 widget: No longer postpone style-updated on unrealized widgets GTK used to not emit GtkWidget::style-updated on widgets that weren't realized. This sped up construction of complex widgetry in the early days of GTK3 where we instantly invalidated on every change. We don't do that anymore, so in theory (and in my limited testing with widget-factory) this shouldn't be a prolem anymore. What is a problem though is that postponing style-updated leads to 2 problems: (1) Unrealized widgets will not emit style-updated which may cause them to not properly update their state and return wrong values from get_preferred_width/height() etc (2) Emitting style-updated during realize can happen too late. When a widget is not made child-visible by its parent (common examples: notebook, paned) it will also not be realized when the parent is initially shown. However, when they get realized later (after a resize of the parent), they will emit style-updated (and potentially queue a resize) during size-allocate. https://bugzilla.gnome.org/show_bug.cgi?id=765700 gtk/gtkwidget.c | 13 +------------ gtk/gtkwidgetprivate.h | 1 - 2 files changed, 1 insertion(+), 13 deletions(-) commit 30d2dc49a88bcd584f9858de83509339de574f89 Author: Benjamin Otte Date: Sat May 14 17:13:52 2016 +0200 scrolledwindow: destroy children in destroy() If we don't do that, testsuite/gtk/templates starts failing. gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f0f8d6d6b036347e3f2141761bb7703dfb77ad33 Author: Timm Bäder Date: Sat Apr 30 18:46:22 2016 +0200 gdkwindow: Use GList less gdk/gdkwindow.c | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) commit d4f0c9877d488bfb9559899bdb04489bf07d3827 Author: Timm Bäder Date: Sat Apr 30 12:10:14 2016 +0200 query-settings: Indicate deprecated settings gtk/gtk-query-settings.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 0d8993fb240e7572620cdf0cadb4f92e86e02712 Author: Timm Bäder Date: Fri Feb 26 21:58:36 2016 +0100 stack: Don't underallocate the last_child gtk/gtkstack.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 292e0c266363f339b965b1272d4acfb88d72394d Author: Timm Bäder Date: Fri Feb 26 21:58:22 2016 +0100 stack: Remove some code duplication gtk/gtkstack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 301652de1fc4bc609aa6d4aaea96f85a59fd837d Author: Timm Bäder Date: Mon Apr 18 20:48:53 2016 +0200 Remove useless casts from gdk_event_triggers_context_menu calls gtk/gtkentry.c | 2 +- gtk/gtklabel.c | 2 +- gtk/gtkrange.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit c34bb3b994fa52b82605bf97fc5f236d0f136ac9 Author: Timm Bäder Date: Sat Apr 16 13:57:32 2016 +0200 query-settings: Don't compare int to uint gtk/gtk-query-settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a99213100d0ef9f258d71ebf93caef08542bfd1e Author: Timm Bäder Date: Sat Apr 16 13:57:08 2016 +0200 listbox: Don't compare int to uint gtk/gtklistbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4cce90d1e2fbd2fad15066e8229d5f03174055c5 Author: Timm Bäder Date: Wed May 11 15:33:18 2016 +0200 colorbutton: Stop using state-changed gtk/gtkcolorbutton.c | 14 -------------- 1 file changed, 14 deletions(-) commit 63be0deb0f112c354d3b4d2bbee44e6512d24358 Author: Timm Bäder Date: Tue May 10 19:16:19 2016 +0200 toolbar: Limit item position to number of contained elements Greater values don't make much sense. https://bugzilla.gnome.org/show_bug.cgi?id=682080 gtk/gtktoolbar.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit e463e095773e65170b740ad6f96df187b784d187 Author: Matthias Clasen Date: Thu May 12 11:37:13 2016 -0400 wayland: Avoid unitialized memory reads I didn't pay attention when I replaced g_new0 with g_newa. Oops. gdk/wayland/gdkkeys-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 46b789b0f40e594ada4f277a2b0b41a7cc8ad49f Author: Lapo Calamandrei Date: Thu May 12 11:50:13 2016 +0200 Adwaita: brighter pushed button background providing more contrast with the text color. gtk/theme/Adwaita/_drawing.scss | 2 +- gtk/theme/Adwaita/gtk-contained.css | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) commit 16afc59f0420a28c3fba1fa64a186c4af39550f6 Author: Lapo Calamandrei Date: Thu May 12 11:45:34 2016 +0200 Adwaita: bold size label on font button looks more consistent with other special buttons with icons. gtk/theme/Adwaita/_common.scss | 3 +++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 7 insertions(+) commit b5146317bb0ce7c403352825133883696c1e2cbc Author: Lapo Calamandrei Date: Thu May 12 11:40:28 2016 +0200 Adwaita: hide separator on button.font and button.file we used to do that, got missed at some point during 3.20 cycle. gtk/theme/Adwaita/_common.scss | 5 ++++- gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) commit c891ceb31df1fb16c7727be46cee4d8a9fc0b447 Author: Matthias Clasen Date: Wed May 11 13:25:15 2016 -0400 Docs: Clarify life cycle issue gtk_gesture_get_last_event() wasn't very clear about how long it is safe to use the returned pointer. gtk/gtkgesture.c | 4 ++++ 1 file changed, 4 insertions(+) commit 358eec297204b438809692a24cc3649658dbab5a Author: Matthias Clasen Date: Wed May 11 13:24:04 2016 -0400 DND: Avoid a use-after-free Cancelling the gesture causes the last_event pointer to become invalid. Make a copy of the event so we can keep using it regardless of the gesture state. gtk/gtkdragsource.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 7c21a32b2887657b711b767ae90397955805b98f Author: Matthias Clasen Date: Tue May 10 21:47:20 2016 -0400 places sidebar: Avoid markup confusion in tooltips At one point, the sidebar was using gtk_treeview_set_tooltip_column, which expects tooltips to be markup. With the listbox-based sidebar, we don't do that anymore. So don't escape the tooltip text. https://bugzilla.gnome.org/show_bug.cgi?id=766175 gtk/gtkplacessidebar.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 7e7d7991cc8e7c7a2b50ce6530a8ebafd673516b Author: Matthias Clasen Date: Tue May 10 21:29:10 2016 -0400 x11: Trap possible X error XIGetClientPointer can generate X errors (e.g. when the X server does not support XI2. Trap them and carry on. https://bugzilla.gnome.org/show_bug.cgi?id=766233 gdk/x11/gdkdisplay-x11.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit f8bc35b9a62fdaa0b16d0552e7d7771f2b338d47 Author: Matthias Clasen Date: Tue May 10 15:41:03 2016 -0400 Fix scale length The vertical scales should really be of the same length, so add an empty value to be drawn by the other scale. demos/widget-factory/widget-factory.c | 7 +++++++ demos/widget-factory/widget-factory.ui | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) commit 49d5c9ed14e47de56ff7802f53bd3591d9e4f03b Author: Matthias Clasen Date: Tue May 10 15:31:29 2016 -0400 Forgotten rename gdk/gdkevents.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 327777a291a736ed3e0ebb14b2be6cdbb664c907 Author: Timm Bäder Date: Tue May 10 18:33:37 2016 +0200 Scale: Set the correct value alignment We're measuring both the width of the minimal and the maximal value for the value gadget, but only give the value the minimal width for its current value, resultnig in an always left-aligned value. Fix this by assigning the width of the value gadget to the value layout and letting pango align the text inside the layout. https://bugzilla.gnome.org/show_bug.cgi?id=766120 gtk/gtkscale.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit 7b81b56f7b55b0339f20810fcb12043fa2ab81c7 Author: Timm Bäder Date: Mon May 9 18:30:14 2016 +0200 widget-factory: Let one of the scales draw a value https://bugzilla.gnome.org/show_bug.cgi?id=766120 demos/widget-factory/widget-factory.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4add8f3b6349e8068969d0a3a6dc55889b639dc6 Author: Matthias Clasen Date: Tue May 10 15:22:35 2016 -0400 Document new api docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkevents.c | 11 +++++++++++ 2 files changed, 12 insertions(+) commit 0f476590fbf7bbf10968909676c5f45a592435f7 Author: Matthias Clasen Date: Tue May 10 15:16:45 2016 -0400 Make gdk_event_get_pointer_emulated public There is not strong reason to keep the getter private. At the same time, strip _-prefixes from a few other GdkEvent APIs. Update all callers. gdk/broadway/gdkeventsource.c | 4 ++-- gdk/gdkevents.c | 6 +++--- gdk/gdkevents.h | 3 +++ gdk/gdkinternals.h | 8 ++++---- gdk/gdkprivate.h | 2 -- gdk/gdkwindow.c | 30 +++++++++++++++--------------- gdk/mir/gdkmireventsource.c | 4 ++-- gdk/quartz/gdkevents-quartz.c | 4 ++-- gdk/wayland/gdkdevice-wayland.c | 6 +++--- gdk/win32/gdkevents-win32.c | 2 +- gdk/x11/gdkdevicemanager-core-x11.c | 2 +- gdk/x11/gdkdevicemanager-xi2.c | 12 ++++++------ gtk/gtkmenu.c | 4 +--- 13 files changed, 43 insertions(+), 44 deletions(-) commit 126156e820789557ae05af6a6b76c40e3c1c2325 Author: Olivier Fourdan Date: Mon May 9 08:56:56 2016 +0200 gtkmenu: ignore left/right scroll events Menus are placed vertically by definition, it does not make much sense to support horizontal axis for scrolling. Use GDK_EVENT_STOP/GDK_EVENT_PROPAGATE instead of TRUE/FALSE and add a default case to return GDK_EVENT_PROPAGATE for unhandled events. https://bugzilla.gnome.org/show_bug.cgi?id=765939 gtk/gtkmenu.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit c134d52dd789d2f8b43e15e51fa72d9586a151ec Author: Olivier Fourdan Date: Tue May 3 16:44:14 2016 +0200 gtkmenu: ignore emulated scroll events On X11, we get both smooth and emulated scroll events, whereas other backends such as wayland will give smooth events only with touchpad scrolling. Discard emulated scroll events so that we get consistent behaviours between backends. Allow for both horizontal and vertical smooth events for scrolling so that horizontal scrolling still works without emulated scroll events as well, again for consistency between gdk backends. https://bugzilla.gnome.org/show_bug.cgi?id=765939 gtk/gtkmenu.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit e405c27eee99f9dbfd5ebf83c93dacee18e568d5 Author: Olivier Fourdan Date: Tue May 3 16:15:07 2016 +0200 gdkevent: make _gdk_event_get_pointer_emulated() private And not just internal to gdk, so we can use it in gtk as well, to differentiate emulated scroll events from others. https://bugzilla.gnome.org/show_bug.cgi?id=765939 gdk/gdkinternals.h | 1 - gdk/gdkprivate.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) commit 20592a79350dd331f99f3345e23f7f9d85046043 Author: Timm Bäder Date: Tue May 10 12:50:42 2016 +0200 scale: Remove double nullable annotation Being both (allow-none) and (nullable) at the same time is a bit much. Was from 591e7f5ef8538982e227b2c2cefc536a33cafa6c. gtk/gtkscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7116988bcbd14b129fc859044e802ec98371357a Author: Timm Bäder Date: Tue May 10 12:31:56 2016 +0200 widget: Add Since annotation to gtk_widget_queue_allocate gtk/gtkwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit 092cb9e202a9f654152bc5fbb276521817346d11 Author: Chun-wei Fan Date: Mon May 9 16:37:39 2016 +0800 GTK: Fix build for pre-C99 compilers Some compilers we support, such as pre-2013 Visual Studio, does not support for INIFINITY, log2() and exp2(), so check for exp2() and log2() during configure, and use fallbacks for them and INIFINTY if they are not found. https://bugzilla.gnome.org/show_bug.cgi?id=766207 config.h.win32.in | 10 ++++++++++ configure.ac | 2 +- gtk/fallback-c89.c | 27 +++++++++++++++++++++++++++ gtk/gtkprogressbar.c | 3 ++- gtk/inspector/visual.c | 2 +- 5 files changed, 41 insertions(+), 3 deletions(-) commit 7a0941c0908df71ce5f11f76537c288ef0cba26b Author: Chun-wei Fan Date: Tue May 10 13:18:23 2016 +0800 Visual Studio builds: Refine "installation" process Split out the part where we generate/update the caches for the GSchemas and the icons, so that it is easier to ensure that things continue to function correctly when we have GlibEtcInstallRoot != CopyDir. build/win32/vs10/gtk3-install.propsin | 16 ++++++++++------ build/win32/vs10/gtk3-install.vcxproj | 16 ++++++++-------- build/win32/vs9/gtk3-install.vcproj | 16 ++++++++-------- build/win32/vs9/gtk3-install.vspropsin | 8 ++++++-- 4 files changed, 32 insertions(+), 24 deletions(-) commit 732316aca25c4616d26669e85024097324a1101c Author: Benjamin Otte Date: Tue May 10 00:59:19 2016 +0200 scrolledwindow: Remove child before destroying self Children tend to call back into the scrolled window while being removed and that doesn't work too well if the scrolled window is destroyed already as Christian Hergert found out. gtk/gtkscrolledwindow.c | 5 +++++ 1 file changed, 5 insertions(+) commit 0c37b057167f5da7fb4be1e182d8dda3de413264 Author: Benjamin Otte Date: Tue May 10 00:58:50 2016 +0200 cssimage: Make it possible to shrink builtin check/optionmarks ... below 7px of size. gtk/gtkcssimagebuiltin.c | 40 ++++++++++------------------------------ 1 file changed, 10 insertions(+), 30 deletions(-) commit effd40c39c6f7d6a668ca5ecf3ce7220caf6f5ac Author: Cédric Valmary Date: Mon May 9 20:49:18 2016 +0000 Updated Occitan translation po/oc.po | 1739 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 864 insertions(+), 875 deletions(-) commit 6e2b9a1413fce0130ad946436a75eb6324d45b22 Author: Emmanuele Bassi Date: Mon May 9 12:45:34 2016 +0100 docs: Update examples of matching key bindings The selector for matching GtkEntry has changed to `entry` after 3.20. https://bugzilla.gnome.org/show_bug.cgi?id=766166 gtk/gtkbindings.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit ce0a7fa5606f865211e0a8da6b37bae2b12cda01 Author: Chun-wei Fan Date: Mon May 9 15:42:37 2016 +0800 gdk/Makefile.am: Dist gdkmonitorprivate.h This file needs to be distributed with the tarball as well... gdk/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 8cda93d389a3d7c38667d88b5d4ef0dec145a5b9 Author: Chun-wei Fan Date: Mon May 9 15:35:26 2016 +0800 Visual Studio builds: Clean up projects a bit Consolidate the .lib's that we need to link to for GDK and GTK+ into the property sheets, and also link to setupapi.lib as that is needed by the port to the new GdkMonitor API. build/win32/vs10/gdk-3.vcxprojin | 18 +++++++++--------- build/win32/vs10/gtk-3.vcxprojin | 10 +++++----- build/win32/vs10/gtk3-build-defines.props | 20 ++++++++++++++++++-- build/win32/vs9/gdk-3.vcprojin | 16 ++++++++-------- build/win32/vs9/gtk-3.vcprojin | 8 ++++---- build/win32/vs9/gtk3-build-defines.vsprops | 16 ++++++++++++++++ 6 files changed, 60 insertions(+), 28 deletions(-) commit e24530d03bf2c7300736dd2a2829aca42fe94220 Author: Chun-wei Fan Date: Mon May 9 13:14:01 2016 +0800 gdk/win32/gdkmonitor-win32.c: Fix build on non-GCC WINBOOL is MinGW-specific, so change it to BOOL, which is universally available. Also, Visua Studio is more picky on where __stdcall (WINAPI) is placed, so fix that to be in-sync with what is done in the other sources. gdk/win32/gdkmonitor-win32.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) commit 534ab9a9f023673f2d72aa95d28123300e6422a6 Author: Georges Basile Stavracas Neto Date: Sun May 8 17:36:26 2016 -0300 placesview: update guiding list of protocols The previous list of protocols in the guidance popover was suboptimal and needed adjustments. This commit updates this list to match the latest mockups [1]. [1] https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/4847c79ea1aaf75046b3ec5bb1b167ac604d86ed/nautilus/nautilus-next/connect-to-server-wire.png https://bugzilla.gnome.org/show_bug.cgi?id=756570 gtk/ui/gtkplacesview.ui | 42 +++++++++++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 15 deletions(-) commit 1b84d75d1069432f07c339f0b0a4d8703e5f28db Author: Timm Bäder Date: Sun May 8 21:33:53 2016 +0200 dialogs: remove 2px border width again gtk/ui/gtkdialog.ui | 1 + gtk/ui/gtkfilechooserdialog.ui | 1 + gtk/ui/gtkmessagedialog.ui | 1 + gtk/ui/gtkprintunixdialog.ui | 1 + 4 files changed, 4 insertions(+) commit 840faeada1114f0524487ea732e57f820ed17385 Author: Aurimas Černius Date: Sun May 8 18:30:49 2016 +0300 Updated Lithuanian translation po-properties/lt.po | 1625 ++++++++++++++++++++++++++------------------------- po/lt.po | 936 +++++++++++++++-------------- 2 files changed, 1340 insertions(+), 1221 deletions(-) commit d1d06bc47c21595042653fc4925b4ef417055230 Author: Rafael Fontenelle Date: Sun May 8 14:25:31 2016 +0000 Updated Brazilian Portuguese translation (cherry picked from commit 207b793316a90faff00d5ea6fbe483d5a184d066) po/pt_BR.po | 554 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 275 insertions(+), 279 deletions(-) commit fd81e801ab630400abbf13c3e1ef167691596f67 Author: Timm Bäder Date: Sun May 8 15:52:56 2016 +0200 tooltip: Include gtkwidgetprivate.h That's where gtk_widget_query_tooltip is defined. gtk/gtktooltip.c | 1 + 1 file changed, 1 insertion(+) commit 640c1b5a33e8ad68c8aec5d7096914d0e6e5bf53 Author: Timm Bäder Date: Sun May 8 15:34:28 2016 +0200 gdk: Fix parameter name mismatch gdk/gdkdisplay.h | 2 +- gdk/gdkmonitor.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit af49609b8f88f7802b8c32fe1a57c3397cf36b37 Author: Timm Bäder Date: Mon May 2 08:59:40 2016 +0200 infobar: Fix typo Style class names are prefixed with a '.' gtk/gtkinfobar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ac5b48e40c7ab54b168627e389817030ef6c1620 Author: Matthias Clasen Date: Sat May 7 16:22:13 2016 -0400 gtk-demo: Fix revealer demo This only used by luck before. We are changing a property from the ::notify handler for that property. Now that GtkRevealer is notifying the property when it stops animations on unmap, we end up in a life lock situation where we never make it out of the notify queue. Fix this by not restarting the animation if the widget is unmapped. demos/gtk-demo/revealer.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 3cba63b2f890f5437b99145b7500f9407c30128c Author: Ray Strode Date: Fri May 6 22:29:31 2016 -0400 widget: add missing detail to ::query-tooltip emission This was an oversight in commit dfb368e29bb58b4313b578f0ce75cfc8ead9a1. gtk/gtkwidget.c | 1 + 1 file changed, 1 insertion(+) commit ed147c88e167e0a9a5aeae0c54fc14adc801c74b Author: Matthias Clasen Date: Fri May 6 20:51:25 2016 -0400 tooltip: Add a missing * This was an oversight in the previous commit. gtk/gtktooltip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c1d1042892cf6c23cf995f38685a363674a5a053 Author: Matthias Clasen Date: Fri May 6 20:50:38 2016 -0400 gtk3-demo: Add a close button to the markup window demos/gtk-demo/markup.c | 1 + 1 file changed, 1 insertion(+) commit de3dabc865f2c7429b37fa47df48046064d1768b Author: Matthias Clasen Date: Fri May 6 20:47:49 2016 -0400 gtk-demo: Don't duplicate text in markup example I forgot to clear the buffer before inserting the new markup. Oops. demos/gtk-demo/markup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 82aa83b0f685f80343d2e60663d07ec51aecb688 Author: Matthieu Gautier Date: Wed May 4 12:42:40 2016 +0200 revealer: emit notify::child-revealed when animation stops Depending of float rounding during target calculation, the size of the GtkRevealer can be set to zero will the animation is not finished. If the GtkRevealer is in a GtkPaned, it will be hidden and so the animation will be stopped before it is finished. In this case, force the emission of the child-revealed signal to let client code know the animation is finished. https://bugzilla.gnome.org/show_bug.cgi?id=765973 gtk/gtkrevealer.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit cd581c9e81b6a1c92b527c059df07d59ecd6c2eb Author: Matthias Clasen Date: Fri May 6 13:45:46 2016 -0400 Simplify our templates This is applying the new property name simplification. gtk/ui/gtkaboutdialog.ui | 44 ++-- gtk/ui/gtkappchooserdialog.ui | 24 +- gtk/ui/gtkappchooserwidget.ui | 20 +- gtk/ui/gtkassistant.ui | 72 +++--- gtk/ui/gtkcolorchooserdialog.ui | 12 +- gtk/ui/gtkcoloreditor.ui | 166 ++++++------- gtk/ui/gtkcombobox.ui | 6 +- gtk/ui/gtkdialog.ui | 11 +- gtk/ui/gtkfilechooserbutton.ui | 12 +- gtk/ui/gtkfilechooserdialog.ui | 11 +- gtk/ui/gtkfilechooserwidget.ui | 64 ++--- gtk/ui/gtkfontbutton.ui | 6 +- gtk/ui/gtkfontchooserdialog.ui | 12 +- gtk/ui/gtkfontchooserwidget.ui | 98 ++++---- gtk/ui/gtkinfobar.ui | 14 +- gtk/ui/gtklockbutton.ui | 6 +- gtk/ui/gtkmessagedialog.ui | 11 +- gtk/ui/gtkpagesetupunixdialog.ui | 96 +++---- gtk/ui/gtkpathbar.ui | 12 +- gtk/ui/gtkplacesview.ui | 212 +++++++--------- gtk/ui/gtkplacesviewrow.ui | 25 +- gtk/ui/gtkprintunixdialog.ui | 511 +++++++++++++++++++------------------- gtk/ui/gtkrecentchooserdefault.ui | 26 +- gtk/ui/gtkscalebutton.ui | 28 +-- gtk/ui/gtksearchbar.ui | 12 +- gtk/ui/gtksidebarrow.ui | 4 +- gtk/ui/gtkstatusbar.ui | 12 +- gtk/ui/gtktooltipwindow.ui | 19 +- gtk/ui/gtkvolumebutton.ui | 12 +- 29 files changed, 760 insertions(+), 798 deletions(-) commit 3c09783005fe74dfa9e15144766a7468281dfc23 Author: Matthias Clasen Date: Fri May 6 13:45:09 2016 -0400 Clean up builder parser data after parsing No need to have these linger around in qdata. gtk/gtkwidget.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit f16e58e9a76a8ea3778923cae5e1f396fb2571ca Author: Matthias Clasen Date: Fri May 6 13:42:30 2016 -0400 builder tool: Canonicalize property names When simplifying, convert property names to canonical form, so we don't waste time while looking them up later. gtk/gtk-builder-tool.c | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) commit 8ead17ee76dc789d34bb23395713443d2b0092a1 Author: Cédric Valmary Date: Fri May 6 18:31:42 2016 +0000 Updated Occitan translation po-properties/oc.po | 2042 +++++++++++++++++++++++++++------------------------ 1 file changed, 1068 insertions(+), 974 deletions(-) commit 1b8c9de09a70e34ade129d92a77250e8ddd6657a Author: Lapo Calamandrei Date: Fri May 6 19:34:12 2016 +0200 Adwaita: darken treeview exapanders gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit 55a76cbc312738ef6c6f591702a97a2170dfd57b Author: Lapo Calamandrei Date: Fri May 6 19:01:19 2016 +0200 Adwaita: cosmetic change gtk/theme/Adwaita/_common.scss | 1 - 1 file changed, 1 deletion(-) commit 5f5a02f3e522a082c77a0901f05d6cc76ada05fb Author: Lapo Calamandrei Date: Fri May 6 18:50:37 2016 +0200 Adwaita: relocate a selector relocate treview acceleditor > label in the treeview section and add a comment for a testcase. gtk/theme/Adwaita/_common.scss | 6 ++---- gtk/theme/Adwaita/gtk-contained-dark.css | 5 ++--- gtk/theme/Adwaita/gtk-contained.css | 5 ++--- 3 files changed, 6 insertions(+), 10 deletions(-) commit 0f116135f4a5033ce4e9dfa19f10624701fa615c Author: Matthias Clasen Date: Fri May 6 10:12:14 2016 -0400 Avoid emitting ::style-set by name GtkStyle is deprecated, but we still emit ::style-set quite a bit, so lets at least not be slow while doing it. gtk/deprecated/gtkstyle.c | 2 -- gtk/gtkwidget.c | 5 +++-- 2 files changed, 3 insertions(+), 4 deletions(-) commit 12dfb368e29bb58b4313b578f0ce75cfc8ead9a1 Author: Matthias Clasen Date: Fri May 6 09:54:24 2016 -0400 Don't emit ::query-tooltip by name This signal is emitted quite a bit, and we can easily avoid it. gtk/gtktooltip.c | 7 +------ gtk/gtkwidget.c | 19 +++++++++++++++++++ gtk/gtkwidgetprivate.h | 6 ++++++ 3 files changed, 26 insertions(+), 6 deletions(-) commit 64710def823e4d3e92f6e8523dc1f69c95af8e1f Author: Matthias Clasen Date: Fri May 6 09:38:18 2016 -0400 Stop storing has-tooltip in qdata This is queried quite a bit, and we have room for an extra bit in GtkWidgetPrivate. gtk/gtktooltip.c | 4 +--- gtk/gtkwidget.c | 31 ++++++++----------------------- gtk/gtkwidgetprivate.h | 1 + 3 files changed, 10 insertions(+), 26 deletions(-) commit 9fac83783c873e44507b085c6fac3f348d277c25 Author: Matthias Clasen Date: Fri May 6 07:54:22 2016 -0400 Don't use qdata for getting the default css style There's no point in using qdata for looking this up, since we only ever set it on the default screen anyway. gtk/gtkcssstaticstyle.c | 44 ++++++++++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 18 deletions(-) commit 1de2f21994b5baa9517c5b09894b6d1daae4f41b Author: Lapo Calamandrei Date: Fri May 6 15:36:26 2016 +0200 Adwaita: tidy treeview style properties... ...removing a double definition in the process. gtk/theme/Adwaita/_common.scss | 15 ++++++++------- gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++++------- gtk/theme/Adwaita/gtk-contained.css | 14 +++++++------- 3 files changed, 22 insertions(+), 21 deletions(-) commit b938cfe5be41bf55aec9ced843b26f27518d3c9f Author: Matthias Clasen Date: Fri May 6 07:08:56 2016 -0400 settings: Fix font names *again* This is the last time, I hope. gtk/gtksettings.c | 1 + 1 file changed, 1 insertion(+) commit ff3264b4c56196f5a0575b6595df81b66e5c30cc Author: Matthias Clasen Date: Fri May 6 06:42:43 2016 -0400 widget: Store accessible in GtkWidgetPrivate Every widget may have one of these, and they are accessed somewhat frequently. gtk/gtkwidget.c | 118 ++++++++++++++++++++----------------------------- gtk/gtkwidgetprivate.h | 2 + 2 files changed, 50 insertions(+), 70 deletions(-) commit cb8817f710f0fa5cade175238e72fe3f3d43aa85 Author: Matthias Clasen Date: Fri May 6 00:46:17 2016 -0400 Ensure we initialize a quark first The style function here can also be called before the corresponding class_init had a chance to create the quark. Fix this. gtk/deprecated/gtkstyle.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit d91b8c91d3da735b25f0f3f1754cbc043e0cd286 Author: Matthias Clasen Date: Fri May 6 00:45:05 2016 -0400 tooltip: Ensure our quark is not 0 Many of the tooltip functions can be called before a tooltip object is created, and thus initializing the quark in class_init is not good enough. gtk/gtktooltip.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 360a3c16902ec80a3f0e69aba3b4f743a75efc1e Author: Matthias Clasen Date: Fri May 6 00:21:08 2016 -0400 Use a cheaper way to store settings per display This was another very frequent use of qdata. Since we typically have only one or two display objects, storing the display-settings association in a simple array is faster than using object data or a hash table. gtk/gtksettings.c | 118 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 72 insertions(+), 46 deletions(-) commit cca894b912910fe14650a48d618964a9b1651119 Author: Matthias Clasen Date: Thu May 5 18:51:30 2016 -0400 Use a cheaper way to store debug flags This was the most frequent use of qdata *by far*. gtk/gtkmain.c | 64 ++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 41 insertions(+), 23 deletions(-) commit 46edfaa89c6affd97fb4ba43fa73bc8d0474d601 Author: Matthias Clasen Date: Thu May 5 19:21:27 2016 -0400 Fix indentation mishap gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c50e774b2964c0d6d7251e195d75034b588ba326 Author: Matthias Clasen Date: Thu May 5 19:17:31 2016 -0400 Fix a typo gtk/gtkmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ebb894cd64a84ec99da493622132821740ff91ee Author: Christian Hergert Date: Fri May 6 11:31:41 2016 +0300 wayland: use g_signal_handler_disconnect() Use of g_signal_handlers_disconnect_by_func() needs to do more work than necessary to find all the matching handlers. Instead, just hold on to the signal identifier and remove it directly so we hit the fast path. Not terribly ground breaking in terms of performance gains, but its done enough to be worthwhile. https://bugzilla.gnome.org/show_bug.cgi?id=766049 gdk/wayland/gdkwindow-wayland.c | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) commit c27b8b48ab0d01e6276bb652157ed48080bcaed4 Author: Matthias Clasen Date: Thu May 5 15:37:21 2016 -0400 Update color name css style test Verify rebeccapurple too. testsuite/css/style/colornames.css | 1 + testsuite/css/style/colornames.nodes | 56 +++++++++++++++++++----------------- testsuite/css/style/colornames.ui | 1 + 3 files changed, 31 insertions(+), 27 deletions(-) commit 27210f523b291ee0372e57310a8af831218de8e4 Author: Matthias Clasen Date: Thu May 5 15:17:56 2016 -0400 scale: Fix mark positioning at the left/top edge We were failing to take the widget allocation.x/y into account when deciding whether we need to push in the mark. https://bugzilla.gnome.org/show_bug.cgi?id=765922 gtk/gtkscale.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 6b64c31f6df45af6d6e670b3ba698746cc0efdd1 Author: Matthias Clasen Date: Thu May 5 14:13:03 2016 -0400 Generalize the previous commit Update all xsettings when we get a screen, to prevent similar problems from occurring in the future. gtk/gtksettings.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit fe7be14db8efb08e72e22f60c2640cdc1fdfcd6e Author: Matthias Clasen Date: Thu May 5 13:30:55 2016 -0400 settings: Avoid a crash Christian Hergert reported seeing webkit crashes with recent GTK+. The stacktrace points at the CSS machinery calling into GtkSettings to get the font name, and then getting surprised by a property notification that triggers style validation. To avoid this, query the font name xsetting right away when we get set a screen. gtk/gtksettings.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit c14572fdae9bf6d34cd6af35dc572c509f1ae144 Author: Carlos Garnacho Date: Thu May 5 19:00:28 2016 +0200 x11: Rely on passive keyboard grabs with XI2 for DnD The active keyboard grab can be spared then. This way the passive key grabs allow other key combinations (eg. alt-tab) that are not mandatory to grab here. gdk/x11/gdkdnd-x11.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 870a674283d9b59795c61ce24e713cde0a7fb7dc Author: Lapo Calamandrei Date: Thu May 5 18:36:03 2016 +0200 Adwaita: more flexible headerbar_fill mixin add an additional background layer as a parameter. gtk/theme/Adwaita/_drawing.scss | 11 +++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 6 ++---- gtk/theme/Adwaita/gtk-contained.css | 6 ++---- 3 files changed, 11 insertions(+), 12 deletions(-) commit 27c1cce726934f20d1f0cb962f658938ab34eb47 Author: Carlos Garnacho Date: Wed May 4 14:23:17 2016 +0200 searchenginetracker: Quote fts match so it's seen as a single phrase FTS5 has a complex enough syntax that it makes not much sense to wrap in simple search boxes. https://bugzilla.gnome.org/show_bug.cgi?id=765981 gtk/gtksearchenginetracker.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit df38db70a098c9c064602c732317576a222a11de Author: Timm Bäder Date: Thu May 5 11:21:56 2016 +0200 label: Also initialize text So gtk_label_get_text returns the default value of "". Broke the GtkModelButton default value test. gtk/gtklabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c1d1d46d34036056ff16d17aaf331d9de6d89db0 Author: Timm Bäder Date: Thu May 5 08:47:40 2016 +0200 cssgadget: Remove unused function gtk/gtkcssgadget.c | 23 ----------------------- 1 file changed, 23 deletions(-) commit f7e6385506ed2ad2a7e916a66d80355e47320493 Author: Timm Bäder Date: Wed May 4 22:24:52 2016 +0200 gtkrender: Remove superfluous cairo_save/restore calls These were all surrounding functions that either call cairo_save/cairo_restore themselves or don't need to. gtk/gtkrender.c | 82 --------------------------------------------------------- 1 file changed, 82 deletions(-) commit 1c4e60975024463ffa354cbebc51346917ccc2ac Author: Matthias Clasen Date: Wed May 4 16:05:40 2016 -0400 css node: Stop extraneous change notification The ::name and ::widget-type properties are entirely independent, no need to notify both when either changes. gtk/gtkcssnode.c | 2 -- 1 file changed, 2 deletions(-) commit bf66cd1e94f298131ac16fc6b64fee95b452e8b3 Author: Matthias Clasen Date: Wed May 4 15:05:08 2016 -0400 box: Only emit ::child-notify when necessary We can easily check if the values for expand, padding and so forth actually changed, so lets do it. gtk/gtkbox.c | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) commit 5b19747ef8cca357156c50f8ba5d8bc3a10085e9 Author: Matthias Clasen Date: Wed May 4 13:52:09 2016 -0400 Revert "When creating a widget path, use the widget type" This reverts commit 0d78b67bca8866a05d0d55d3d5c48aa7a90ff89e. As Benjamin points out: that'll break all widgets that query style properties in their init function. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0d78b67bca8866a05d0d55d3d5c48aa7a90ff89e Author: Matthias Clasen Date: Wed May 4 13:41:05 2016 -0400 When creating a widget path, use the widget type No need to pull the type out of the css node - its our own type. This will let us stop setting the type on the css node later on. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3ca9a218ec049c877820d676ba25950f5e38d2fe Author: Matthias Clasen Date: Wed May 4 13:38:47 2016 -0400 Set the proper state on the css node This will almost certainly overwritten before the widget gets to the screen, but while we are doing this, we might as well use the same state that we initialize the widgets state to. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7df668f2acbf102bd03a7259921c82088a9ede6c Author: Matthias Clasen Date: Wed May 4 12:48:46 2016 -0400 css names are always set No need to check for it, we set the css name on GtkWidgetClass ourselves. gtk/gtkwidget.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 0efe186d956bbdb75c7cbef4e95d56ca370d3ee7 Author: Timm Bäder Date: Wed May 4 18:55:33 2016 +0200 switch: Remove .slider from slider gadget As the documentation states, neither the switch nor the slider gadget should be using any style classes. gtk/gtkswitch.c | 1 - 1 file changed, 1 deletion(-) commit 4ba1f19b038021ae22dc9443ca010f20eface472 Author: Timm Bäder Date: Wed May 4 15:25:59 2016 +0200 switch: Create less pango layouts Instead of creating 2 pango layouts in every draw() and on in _get_content_size (and calling into gettext twice in both cases), just keep the layouts around and create them in only one place. gtk/gtkswitch.c | 95 ++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 60 insertions(+), 35 deletions(-) commit 1da048d19ac8921a9da843fc4376f927e620b8fb Author: Matthias Clasen Date: Wed May 4 11:19:03 2016 -0400 settings: Fix xsettings handling I was somehow under the misconception that we'd get GdkEventSettings events for all the xsettings at startup. That is not in general true, so we need to make sure that we check for the xsettings value before we use them, or derived fields. Update all the private getters to do so; and fix settings_update_font_values() to cope with font descriptions that might miss the family or size. gtk/gtksettings.c | 58 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 44 insertions(+), 14 deletions(-) commit 1d0ba98d5df703c0936f2334733f68143f0831f2 Author: Matthias Clasen Date: Wed May 4 06:28:59 2016 -0400 settings: Ensure derived fields are initialized I mistakenly assumed that gtk_settings_init was already doing something to trigger a notify for all properties. It doesn't, so we have to ensure that settings_update_font_values() is called at least once. https://bugzilla.gnome.org/show_bug.cgi?id=765966 gtk/gtksettings.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit adc90b9e9db783f743f35e6fb8b26c1fe6c30eb4 Author: Matthias Clasen Date: Tue May 3 23:14:05 2016 -0400 wayland: Small improvements to update_direction Avoid memory allocation if possible, and use the proper min/max keycodes. gdk/wayland/gdkkeys-wayland.c | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) commit 09aa48b7485818120a31cac617be62bdeb91a23c Author: Matthias Clasen Date: Tue May 3 22:52:38 2016 -0400 wayland: Don't emit direction-changed unless it did We can easily check this, so lets do it. gdk/wayland/gdkdevice-wayland.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 3b75cadc415c809189c8f77bd5710dd68498d2d5 Author: Matthias Clasen Date: Tue May 3 22:36:20 2016 -0400 trivial formatting fixes gdk/wayland/gdkdevice-wayland.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 449fd4a350da32175961934617a4ecbdc2e04e16 Author: Matthias Clasen Date: Tue May 3 22:15:17 2016 -0400 Use g_set_object in one more place gtk/gtkcsswidgetnode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 944f9d4f287d69b109aa50474aacc00d67b08574 Author: Timm Bäder Date: Tue May 3 19:26:02 2016 -0400 label: don't use set_text in gtk_label_new It would just set up lots of things with the default values, but a common case is that a few gtk_label_set_* calls follow. gtk/gtklabel.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit e0ab19a8f0ac036abfc4d9e32cf049bfccdb1e2e Author: Kjartan Maraas Date: Tue May 3 23:23:11 2016 +0200 Updated Norwegian bokmål translation. po/nb.po | 3461 ++++++++++++++++++++++++-------------------------------------- 1 file changed, 1314 insertions(+), 2147 deletions(-) commit 4ae6f10ae9decc45c0da54b21895b693bd7bbc6f Author: Timm Bäder Date: Tue May 3 16:07:50 2016 -0400 label: minimum/natural size parameters are not nullable Stop comparing them to NULL. gtk/gtklabel.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit e75894da13e378e26df076f17cbd7e4ba6284e27 Author: Timm Bäder Date: Tue May 3 16:04:58 2016 -0400 label: Don't set out parameters twice We set them later again when we calculate the vertical size, so just move the general assignment to -1 into the horizontal branch. gtk/gtklabel.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit cb419794f89ad00a2e1755adb2670efa97cdb686 Author: Timm Bäder Date: Tue May 3 17:49:20 2016 +0200 widget: Remove useless NULL check We are checking for allocation != NULL at the beginning of the function already. This also means that the allocation parameter is not nullable. gtk/gtkwidget.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 71b360cc8e72df4f7672c7eeeafb90f0c40b5cb6 Author: Timm Bäder Date: Tue May 3 10:58:02 2016 -0400 roundedbox: Initialize the hashtable key before using it In mem_hash, we are iterating over the individual bytes of the key, so make sure all of it is initialized. gtk/gtkroundedbox.c | 1 + 1 file changed, 1 insertion(+) commit a72c4576b2815c96b55164ebe27ad62f40108da7 Author: Benjamin Otte Date: Tue May 3 12:57:50 2016 +0200 cssimagebuiltin: Remove icons that don't draw anything anymore gtk/gtkcheckbutton.c | 4 ++-- gtk/gtkcssimagebuiltin.c | 6 ++---- gtk/gtkcsstypesprivate.h | 2 -- gtk/gtkmodelbutton.c | 6 ++---- gtk/gtkrender.c | 8 ++++---- 5 files changed, 10 insertions(+), 16 deletions(-) commit b049b3de25241d39e8c096d56a538d414632dd27 Author: Benjamin Otte Date: Mon May 2 19:51:41 2016 +0200 cssimagebuiltin: Remove unused variables gtk/gtkcssimagebuiltin.c | 20 +------------------- gtk/gtkcssimagebuiltinprivate.h | 2 -- 2 files changed, 1 insertion(+), 21 deletions(-) commit 2c2c60827e79f4780409dd97985d59ce70160503 Author: Benjamin Otte Date: Mon May 2 18:36:06 2016 +0200 widget: Remove useless comment gtk/gtkwidget.c | 3 --- 1 file changed, 3 deletions(-) commit e74ecfe22e75cf4ec57b36738a66d1fba2d6fd5c Author: Olivier Fourdan Date: Tue May 3 10:44:16 2016 +0200 wayland: fix up/down mix up in discrete events The wayland specification for discrete step information for scroll and other axes reads: | The discrete value carries the directional information. e.g. a | value of -2 is two steps towards the negative direction of this axis. mutter sets a value of 1 for SCROLL_DOWN events and -1 for SCROLL_UP events. gdkdevice Wayland backend does the opposite, it translates a positive discrete value as SCROLL_UP and a negative value as SCROLL_DOWN, which ends up inverting the scrolling direction. Fix the logic in gdkdevice Wayland to use a positive value as SCROLL_DOWN and a negative value as SCROLL_UP so that it matches mutter and weston logic. https://bugzilla.gnome.org/show_bug.cgi?id=765907 gdk/wayland/gdkdevice-wayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit be201a5b71c7ce73ffd1fc8f1c6c264d82be9d95 Author: Matthias Clasen Date: Mon May 2 13:30:20 2016 -0400 css: Stop drawing double borders for builtins The fallback code for rendering builtin checks, radios and expanders was using border parameters. With the generic gadget borders using the same parameters, this was giving double borders. gtk/gtkcssimagebuiltin.c | 35 +---------------------------------- 1 file changed, 1 insertion(+), 34 deletions(-) commit 38181bc3d2fa329334ac74773047c362db10fcce Author: Timm Bäder Date: Sat Apr 30 21:06:07 2016 +0200 shadowsvalue: Don't draw invisible box shadows gtk/gtkcssshadowvalue.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit ef7ccab188ea27de30390d674c0690f90d0b21f5 Author: Matthias Clasen Date: Mon May 2 12:40:51 2016 -0400 defaultvalue test: Skip GdkMonitor::geometry We never return NULL for ::geometry and ::workarea. Just skip these properties. testsuite/gtk/defaultvalue.c | 5 +++++ 1 file changed, 5 insertions(+) commit 8dd8c4a9dedc92c93b512543f44942cf849c840e Author: Matthias Clasen Date: Mon May 2 12:40:24 2016 -0400 GdkMonitor: Fix refresh-rate property We were using g_value_set_boolean for an integer property. gdk/gdkmonitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b579fa82fe4559db72e6583745fef206c2b59db6 Author: Руслан Ижбулатов Date: Mon May 2 14:45:44 2016 +0000 Use default VFS, not a local one (it has no network) gtk/gtkplacesview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9a03fc906affbe509959b36dcef0eb179876d56b Author: Matthias Clasen Date: Mon May 2 07:38:26 2016 -0400 Fix gtk_paned_set_position to set position_set consistently As pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=765676, we were failing to set position_set if the position did not change. gtk/gtkpaned.c | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) commit 264b2b78cd52a1e87d0090876d589b9ddbb8bc60 Author: Carlos Soriano Date: Mon May 2 11:56:23 2016 +0200 testnotebookdnd: add one GtkListBox as tab content To make sure we test regressions on widgets that bubble up motion handling and can trigger the motion handling code path on GtkNotebook. https://bugzilla.gnome.org/show_bug.cgi?id=764395 tests/testnotebookdnd.c | 51 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) commit ddb0740a212a077793f77df7b76f4fbd25af707e Author: Carlos Soriano Date: Mon May 2 10:19:12 2016 +0200 gtknotebook: avoid tab dnd from content Before commit 6c1bee2377eba8 we were setting an attribute of GtkNotebook to track the pressed button if the pressed button happened on the tab itself. Later in the motion handling code we were checking whether the private pressed button attribute was set or not in order to handle a tab dnd or not. In commit 6c1bee2377eba8 the code changed and set the pressed button variable unconditionally, which means, a motion event from within the tab content triggered a tab reordering. This happened only if the children hierarchy have a widget that bubbles up both button press event, which sets the private pressed button attribute; and motion events, which started the tab dnd checking the private pressed button attribute. A widget that experienced the regression was GtkListBox. In order to fix it, set the button pressed variable only when it press the tab itself, not the content. https://bugzilla.gnome.org/show_bug.cgi?id=764395 gtk/gtknotebook.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit bab628beb23f74e8035878e0c4cc54309b2a7995 Author: Руслан Ижбулатов Date: Sun May 1 19:00:25 2016 +0000 GtkPlacesView: check for network:// URI support before using it Specifically, this URI is not supported on Windows, but GFile will do its "best" and turn it into GLocalFile("$pwd/network"), with spectacularly bad results. https://bugzilla.gnome.org/show_bug.cgi?id=765858 gtk/gtkplacesview.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit cb6b5e4017c9b2d420ac71ba287c3fa16a16e509 Author: Carlos Garnacho Date: Sun May 1 20:05:56 2016 +0200 gdkevents: Free motion events discarded by motion compression Those should be freed together with their list link. gdk/gdkevents.c | 1 + 1 file changed, 1 insertion(+) commit 73e799474a31eee2fc38c51d891c4502e1de9a46 Author: Matthias Clasen Date: Sun May 1 13:25:51 2016 -0400 dnd: Make sure to free a stashed event I am not sure if this happens in practice, but better to be safe. gtk/gtkdnd.c | 3 +++ 1 file changed, 3 insertions(+) commit 0fe0ee897d8a02ee45254b6692470a520ae6f5e7 Author: Matthias Clasen Date: Sun May 1 13:23:12 2016 -0400 gesture: Don't leak stashed events These events were never freed. gtk/gtkgesture.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit a0472694283490a39392d1158e7a2e379962af79 Author: Matthias Clasen Date: Sun May 1 13:18:55 2016 -0400 Avoid copying an event Not a big deal, but we can be a bit more efficient when generating grab-broken events. gdk/gdkdisplay.c | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) commit a7ee3a6d806e66a661d3dc393494e5d1e8b6da92 Author: Matthias Clasen Date: Sun May 1 11:28:37 2016 -0400 Small docs improvement Cross reference from gdk_event_get_keycode to gdk_event_get_scancode. gdk/gdkevents.c | 2 ++ 1 file changed, 2 insertions(+) commit 8041c012fe41e9e03ba1f352b3d4a9ccec1e07a6 Author: Matthias Clasen Date: Sun May 1 11:22:55 2016 -0400 Drop unused macros These have been sitting here forever, unused. Time to drop them gdk/gdkevents.c | 6 ------ 1 file changed, 6 deletions(-) commit 6baac526b91ebb94ef4dee562eef989bc795ec91 Author: Matthias Clasen Date: Sun May 1 11:09:05 2016 -0400 x11: drop a useless list We were keeping all the event sources in a list, only to remove them at the end of their life. Not useful. gdk/x11/gdkeventsource.c | 6 ------ 1 file changed, 6 deletions(-) commit 75e44c50ed50499dd8f48261c40fb5001fa2b277 Author: Matthias Clasen Date: Sun May 1 11:06:33 2016 -0400 wayland: drop a useless list We were keeping all the event sources in a list, only to remove them at the end of their life. Not useful. gdk/wayland/gdkeventsource.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit de894f38b521d527881806b2733509acf69dfb5d Author: Matthias Clasen Date: Sun May 1 13:26:09 2016 -0400 Fix the build I forgot to add an include here. gtk/gtkcssenumvalue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a829b26de1b6e399c1ce3430fbeb191770e709f3 Author: Matthias Clasen Date: Sun May 1 10:52:31 2016 -0400 wayland: Tag the event source with the acutal display name gdk/wayland/gdkeventsource.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 55ea6e4dcc4bbe6c7fc40c8e814ad2ee99b3b2e2 Author: Matthias Clasen Date: Sun May 1 10:51:41 2016 -0400 wayland: Make gdk_display_get_name work It should just return the same as gdk_screen_make_display_name. gdk/wayland/gdkdisplay-wayland.c | 8 +++++++- gdk/wayland/gdkscreen-wayland.c | 8 +------- 2 files changed, 8 insertions(+), 8 deletions(-) commit 309c6dfaf8a081166e28e4109db96c2292151edd Author: Matthias Clasen Date: Sun May 1 01:10:59 2016 -0400 css: Use setters for font size and family This avoid creating pango font descriptions all the time, when the gtk-font-name setting hasn't actually changed. gtk/gtkcssenumvalue.c | 25 +++++++------------------ gtk/gtkcssinitialvalue.c | 25 ++----------------------- 2 files changed, 9 insertions(+), 41 deletions(-) commit 71d68168171fb49f6436ca94eb0a87fe5a17c107 Author: Matthias Clasen Date: Sun May 1 01:10:33 2016 -0400 settings: Add setters for font family and size gtk/gtksettings.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtksettingsprivate.h | 3 +++ 2 files changed, 56 insertions(+) commit 449732446bf85831290c9276eb407eb2e0e9bce0 Author: Matthias Clasen Date: Sun May 1 00:40:23 2016 -0400 treeview: Use getter for gtk-enable-animations gtk/gtktreeview.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) commit 8457dff08af03830d657bb8239439c155b0f94fa Author: Matthias Clasen Date: Sun May 1 00:40:08 2016 -0400 switch: Use getter for gtk-enable-animations gtk/gtkswitch.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit df7247837539d013fd5f1231c956fd75db6c76fc Author: Matthias Clasen Date: Sun May 1 00:39:55 2016 -0400 stack: Use getter for gtk-enable-animations gtk/gtkstack.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 5ee745dfeee2e4ffac7f7f76a62c3662024db80c Author: Matthias Clasen Date: Sun May 1 00:39:34 2016 -0400 scrolled window: Use getter for gtk-enable-animations gtk/gtkscrolledwindow.c | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) commit ff0107a4ac8d321cec5e5b8c9c8d583829084bc1 Author: Matthias Clasen Date: Sun May 1 00:39:18 2016 -0400 Use getter for gtk-enable-animations gtk/gtkrevealer.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 9d038df7deeea0ea77d0546d77b6c979f5852f0c Author: Matthias Clasen Date: Sun May 1 00:39:03 2016 -0400 popover: Use getter for gtk-enable-animations gtk/gtkpopover.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit e502702dd405466215e24fc2c242e389bf07085f Author: Matthias Clasen Date: Sat Apr 30 23:15:20 2016 -0400 Use a variable consistently gdk/gdkwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 417eb0ad9c3d32b9398d0b27e55ea48b8e399732 Author: Matthias Clasen Date: Sat Apr 30 22:39:26 2016 -0400 Use a better hash for arcs gtk/gtkroundedbox.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit e5de6dd8b13c62a9a4cea65f223ed963c8537c8d Author: Matthias Clasen Date: Sat Apr 30 22:00:35 2016 -0400 css: Use a getter for the enable-animations setting gtk/gtkcsswidgetnode.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 28625c16c057c22c1af8a12dd2aaa8124081cabc Author: Matthias Clasen Date: Sat Apr 30 22:00:19 2016 -0400 dnd: Use a getter for the drag threshold gtk/gtkdnd.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 8e62cee0758348e0a69f99048c0c357921603268 Author: Matthias Clasen Date: Sat Apr 30 22:00:06 2016 -0400 Add a few settings getters gtk/gtksettings.c | 34 ++++++++++++++++++++++++++++++++++ gtk/gtksettingsprivate.h | 3 +++ 2 files changed, 37 insertions(+) commit 4151b6715cd413da10de3216e90b754117f59a65 Author: Matthias Clasen Date: Sat Apr 30 21:06:38 2016 -0400 Trivial whitespace fix gdk/gdkframeclock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 98f16fdf7a74d88996f0837c1fdd3bd5d8e9cbf8 Author: Matthias Clasen Date: Sat Apr 30 20:59:16 2016 -0400 Use the new getter This avoids the use of generic api in the per-event code path. gdk/gdkwindow.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 7f4b575fc35adf81ac12fafdc1a87029b045f1aa Author: Matthias Clasen Date: Sat Apr 30 20:52:09 2016 -0400 gdk: Add a private getter for GdkDevice::input-mode gdk/gdkdevice.c | 6 ++++++ gdk/gdkdeviceprivate.h | 2 ++ 2 files changed, 8 insertions(+) commit 172093db8c0e6602c09393b10b7156d600955975 Author: Matthias Clasen Date: Sat Apr 30 16:29:16 2016 -0400 Add a forgotten deprecation gdk_display_get_screen is marked as deprecated in the docs. gdk/gdkdisplay.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3a095ad4547c98706bd1acece32a39925251f3a9 Author: Руслан Ижбулатов Date: Fri Apr 29 15:54:52 2016 +0000 W32: support cairo library in non-standard locations When checking for cairo_win32_surface_create_with_format in -lcairo, temporarily put CAIRO_LIBS into LIBS so that AC_CHECK_LIB() can find it in weird places like /usr/local/lib, where gcc would not look on its own. https://bugzilla.gnome.org/show_bug.cgi?id=765793 configure.ac | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit 15dbf35fd8d6da3fcfb7fbb3d1b235fef4c4b8fc Author: GNOME Translation Robot Date: Fri Apr 29 08:41:50 2016 +0000 Updated Scottish Gaelic translation po/gd.po | 294 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 140 insertions(+), 154 deletions(-) commit 2655d929fe68c40d0140896b276d09b3d146f087 Author: Руслан Ижбулатов Date: Fri Apr 29 01:19:23 2016 +0000 W32: reword the error about required cairo version 1.14.x series does not contain the functionality needed by GTK+. Advise to use 1.15.x (1.15.2 is available) or 1.16.x (yet to be released). https://bugzilla.gnome.org/show_bug.cgi?id=765790 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7afc6b1fd52295635633d16be6f1641b883fe368 Author: Matthias Clasen Date: Wed Apr 27 00:00:19 2016 -0400 settings: Cache xsettings Instead of calling out to gdk every time an XSetting is requested, cache the value (we already have the property_values array anyway). https://bugzilla.gnome.org/show_bug.cgi?id=765579 gtk/gtksettings.c | 204 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 106 insertions(+), 98 deletions(-) commit 214870891761ce4437821e974c34da99d59eed96 Author: Matthias Clasen Date: Thu Apr 28 21:55:52 2016 -0400 box gadget: Redo expand flag handling We only keep one align flag per child, so it seems odd to keep separate h/v expand flags. Just keep one expand flag and interpret it according to orientation. Allow setting the expand flag for child widgets too, though, so we can make widget expand without interfering with the recursive widget expand flag. Update all callers. Use the new possibility of expanding child widgets to make the label of check and radio buttons expand. This fixes unexpected behavior of these widgets in RTL in some places. https://bugzilla.gnome.org/show_bug.cgi?id=765742 gtk/gtkboxgadget.c | 106 ++++++++++++++++++---------------------------- gtk/gtkboxgadgetprivate.h | 16 +++---- gtk/gtkcheckbutton.c | 3 +- gtk/gtkexpander.c | 6 +-- gtk/gtknotebook.c | 14 +++--- gtk/gtkrange.c | 11 +---- gtk/gtkspinbutton.c | 12 +++--- 7 files changed, 67 insertions(+), 101 deletions(-) commit 8a308dd072ae07b98b33dd68de43975f884cf1bb Author: Matthias Clasen Date: Thu Apr 28 21:30:01 2016 -0400 expander: Reverse alignments in RTL Flip alignments of the title gadget children. gtk/gtkexpander.c | 2 ++ 1 file changed, 2 insertions(+) commit 8bf148b006cf4bfd3085cae0f3137563998e97f0 Author: Matthias Clasen Date: Thu Apr 28 21:29:32 2016 -0400 check button: Reverse alignments in RTL Flip alignments for the box gadget children. gtk/gtkcheckbutton.c | 2 ++ 1 file changed, 2 insertions(+) commit 2919e344ca505e3a1ba5b2f24d0bccaafdcbdf26 Author: Matthias Clasen Date: Thu Apr 28 21:27:02 2016 -0400 box gadget: allow reversing alignments In RTL, we want to interpret GTK_ALIGN_START and _END in the opposite way. Since we don't give gadgets a text direction, just allow setting an align_reverse flag to the box gadget. gtk/gtkboxgadget.c | 34 ++++++++++++++++++++++++++++++---- gtk/gtkboxgadgetprivate.h | 2 ++ 2 files changed, 32 insertions(+), 4 deletions(-) commit 71c1e86e62f2d2805dbcea24221d63fac50763a7 Author: Lapo Calamandrei Date: Thu Apr 28 15:45:12 2016 +0200 Adwaita: refactor levelbar styling. gtk/theme/Adwaita/_common.scss | 30 +++++------------- gtk/theme/Adwaita/gtk-contained-dark.css | 50 +++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 52 ++++++++++++++------------------ 3 files changed, 51 insertions(+), 81 deletions(-) commit 0f1e42cd80c69e5d519111ed1aabad87bffccf35 Author: Rico Tzschichholz Date: Thu Apr 28 10:20:15 2016 +0200 broadway: Fix include rules in gdkbroadwaymonitor.h Fixes 044109c8c73f5c1d9eb470c857112c08a005b0ae gdk/broadway/gdkbroadwaymonitor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 394fe0e67573cb5d5eac59acf51aedc67890ff90 Author: Daniel Mustieles Date: Thu Apr 28 08:06:10 2016 +0000 Updated Spanish translation po/es.po | 124 ++++++++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 88 insertions(+), 36 deletions(-) commit 952d0fd23fa9dbcf26aedf5bfd91c54a6addaf49 Author: Matthias Clasen Date: Sun Apr 10 23:52:00 2016 -0400 window: Stop using gdk_screen_get_n_monitors gtk/gtkwindow.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 03d70f16369816729ae1f60ec35a5cec0b8de83e Author: Matthias Clasen Date: Sun Apr 10 23:44:05 2016 -0400 settings: Stop comparing screen numbers There is only one screen. gtk/gtksettings.c | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) commit f5d6688d3e3525e9d61e1155ae8ac0318af2290a Author: Matthias Clasen Date: Sun Apr 10 23:45:11 2016 -0400 window: Stop using screen width/height gtk/gtkwindow.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) commit 6ae2c24bdef30b743965afe9e9cc9556c0001eff Author: Matthias Clasen Date: Sun Apr 10 23:44:28 2016 -0400 treeview: Stop using screen width/height Popups should always be placed relative to a monitor. gtk/gtktreeview.c | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) commit 29396a1e5eb354010cba627b8a49b3ca2f4b776d Author: Matthias Clasen Date: Sun Apr 10 23:43:34 2016 -0400 label: Stop using screen width/height Popups should always be placed relative to a monitor. gtk/gtklabel.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) commit e9a58190af6e9a326f1da04af471f4315efa895f Author: Matthias Clasen Date: Sun Apr 10 23:42:57 2016 -0400 combobox: Stop using screen width/height Popups should always be placed relative to a monitor. gtk/gtkcombobox.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) commit b5fb9ae3b74ae0c1d2a20bd24457ea228dd3f9e3 Author: Matthias Clasen Date: Sun Apr 10 23:01:10 2016 -0400 gtk: Port to new monitor api Use the GdkDisplay monitor api instead of the GdkScreen one. gtk/gtkcombobox.c | 62 +++++++++++---------- gtk/gtkentry.c | 29 +++++----- gtk/gtkentrycompletion.c | 32 +++++------ gtk/gtklinkbutton.c | 19 +++---- gtk/gtkmenubutton.c | 40 +++++++------- gtk/gtkmenuitem.c | 34 ++++++------ gtk/gtkrecentchooserdefault.c | 41 +++++++------- gtk/gtktextview.c | 28 +++++----- gtk/gtktoolbar.c | 36 ++++++------- gtk/gtktooltip.c | 39 ++++++-------- gtk/gtktreeview.c | 7 +-- gtk/gtkwidget.c | 10 ++-- gtk/gtkwindow.c | 123 +++++++++++++++++------------------------- 13 files changed, 224 insertions(+), 276 deletions(-) commit 1b7d7c857f35e4834a522ced67dc0509445aae13 Author: Matthias Clasen Date: Sun Apr 10 22:59:53 2016 -0400 menu: Add new monitor api This will work better with the new monitor api in gdk. gtk/gtkmenu.c | 135 +++++++++++++++++++++++++++++++++++++--------------------- gtk/gtkmenu.h | 5 +++ 2 files changed, 91 insertions(+), 49 deletions(-) commit 3952bd60a56f3e942f9a2eced5924fd20a63a65a Author: Matthias Clasen Date: Sat Apr 2 19:22:36 2016 -0400 inspector: Port to new monitor api Adapt to new monitor apis, and show more information. gtk/inspector/general.c | 236 +++++++++++++++++++++++++++++------------------ gtk/inspector/general.ui | 24 ++--- 2 files changed, 158 insertions(+), 102 deletions(-) commit 026cb53875244d252b55110dd91efacf29a1657f Author: Руслан Ижбулатов Date: Wed Apr 20 07:36:00 2016 +0000 win32: Port to new monitor api configure.ac | 50 ++- gdk/win32/Makefile.am | 8 +- gdk/win32/gdkdisplay-win32.c | 208 +++++++++++ gdk/win32/gdkdisplay-win32.h | 6 + gdk/win32/gdkmonitor-win32.c | 833 +++++++++++++++++++++++++++++++++++++++++++ gdk/win32/gdkmonitor-win32.h | 57 +++ gdk/win32/gdkscreen-win32.c | 283 +++------------ gdk/win32/gdkwin32.h | 1 + gdk/win32/gdkwin32monitor.h | 50 +++ 9 files changed, 1250 insertions(+), 246 deletions(-) commit 5c1d0915afd1e1e5a84523da7a9597f9ad68df99 Author: Matthias Clasen Date: Wed Apr 27 23:08:25 2016 -0400 x11: Bring back fullscreen-on-all-monitors support It is unfortunate the EWMH requires Xinerama here - lets do this without the caching that was previously there, I don't think it is needed. gdk/x11/gdkscreen-x11.c | 45 +++++++++++++++++++++++++++++++++------------ gdk/x11/gdkwindow-x11.c | 14 ++++++-------- 2 files changed, 39 insertions(+), 20 deletions(-) commit d92fda2103bc79043465b5218323a14edd05183e Author: Matthias Clasen Date: Sun Apr 3 00:12:39 2016 -0400 x11: Port to new monitor api gdk/x11/Makefile.am | 3 + gdk/x11/gdkdisplay-x11.c | 39 +++ gdk/x11/gdkdisplay-x11.h | 3 + gdk/x11/gdkmonitor-x11.c | 102 +++++++ gdk/x11/gdkmonitor-x11.h | 43 +++ gdk/x11/gdkscreen-x11.c | 774 +++++++++++++++++++++++------------------------ gdk/x11/gdkscreen-x11.h | 8 +- gdk/x11/gdkwindow-x11.c | 5 +- gdk/x11/gdkx.h | 1 + gdk/x11/gdkx11monitor.h | 48 +++ 10 files changed, 620 insertions(+), 406 deletions(-) commit 79a0286ab13efd63cadfd2345d09d17387697592 Author: Matthias Clasen Date: Sun Apr 3 00:15:42 2016 -0400 x11: Drop Xinerama It may come back after the monitor conversion. gdk/x11/gdkscreen-x11.c | 295 ------------------------------------------------ gdk/x11/gdkscreen-x11.h | 3 - 2 files changed, 298 deletions(-) commit 044109c8c73f5c1d9eb470c857112c08a005b0ae Author: Matthias Clasen Date: Sat Apr 2 23:42:40 2016 -0400 broadway: Port to new monitor api gdk/broadway/Makefile.am | 3 ++ gdk/broadway/gdkbroadway.h | 1 + gdk/broadway/gdkbroadwaymonitor.h | 46 ++++++++++++++++++++++++++++ gdk/broadway/gdkdisplay-broadway.c | 39 ++++++++++++++++++++++++ gdk/broadway/gdkdisplay-broadway.h | 3 ++ gdk/broadway/gdkmonitor-broadway.c | 37 +++++++++++++++++++++++ gdk/broadway/gdkmonitor-broadway.h | 38 +++++++++++++++++++++++ gdk/broadway/gdkscreen-broadway.c | 62 ++++---------------------------------- 8 files changed, 173 insertions(+), 56 deletions(-) commit 9026289381b5a9a7d80d525109eb0929ddb83217 Author: Matthias Clasen Date: Sat Apr 2 10:18:56 2016 -0400 wayland: Port to new monitor api gdk/wayland/Makefile.am | 3 + gdk/wayland/gdkdisplay-wayland.c | 27 ++++ gdk/wayland/gdkdisplay-wayland.h | 2 + gdk/wayland/gdkmonitor-wayland.c | 64 +++++++++ gdk/wayland/gdkmonitor-wayland.h | 39 +++++ gdk/wayland/gdkscreen-wayland.c | 303 ++++++++++++++------------------------- gdk/wayland/gdkwayland.h | 1 + gdk/wayland/gdkwaylandmonitor.h | 48 +++++++ 8 files changed, 290 insertions(+), 197 deletions(-) commit a2f02f1ca80919fb81cb14e203de8c2f9bd3f256 Author: Matthias Clasen Date: Wed Apr 27 22:51:42 2016 -0400 integrate docs docs/reference/gdk/gdk-docs.sgml | 1 + docs/reference/gdk/gdk3-sections.txt | 29 +++++++++++++++++++++++++++++ docs/reference/gdk/gdk3.types | 1 + 3 files changed, 31 insertions(+) commit 0611cb4823c207c5468a9c1a8eac65c6eee7a214 Author: Matthias Clasen Date: Sat Apr 2 10:18:16 2016 -0400 screen: Implement old monitor apis generically Implement all the monitor-related GdkScreen apis based on GdkMonitor. gdk/gdkscreen.c | 194 +++++++++++++++++++++++++------------------------------- 1 file changed, 86 insertions(+), 108 deletions(-) commit b6c4ba0e2ad1e0a30a941594e4003399e74f5792 Author: Matthias Clasen Date: Mon Apr 25 09:07:56 2016 -0400 Add a fallback for unconverted backends If the monitor vfuncs are not implemented in a display class, fall back to providing a single monitor object representing the entire screen. This is not meant to be 'good enough', it is just to provide some implementation until all backends implement the monitor vfuncs. When that is the case, the fallback should be removed. gdk/gdkdisplay.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit 9d719b99893297bdd1675217ba9a7c8575cc0d80 Author: Matthias Clasen Date: Thu Mar 31 23:10:37 2016 -0400 display: Add new monitor apis This follows our general direction of moving functionality from GdkScreen to GdkDisplay. gdk/gdkdisplay.c | 232 ++++++++++++++++++++++++++++++++++++++++++++++++ gdk/gdkdisplay.h | 17 ++++ gdk/gdkdisplayprivate.h | 10 +++ 3 files changed, 259 insertions(+) commit 837244809e4ceca2209fbb513c7c71120e6a9231 Author: Matthias Clasen Date: Thu Mar 31 23:10:04 2016 -0400 Add GdkMonitor Add a simple object representing a monitor. gdk/Makefile.am | 2 + gdk/gdk.h | 1 + gdk/gdkmonitor.c | 602 ++++++++++++++++++++++++++++++++++++++++++++++++ gdk/gdkmonitor.h | 95 ++++++++ gdk/gdkmonitorprivate.h | 79 +++++++ 5 files changed, 779 insertions(+) commit 8fc11ef2a513b3029c208b2d37d3716998a9389c Author: Christian Hergert Date: Wed Apr 27 19:02:25 2016 -0700 Revert "iconhelper: check if surface was invalidated" This reverts commit 88d02583974659d1d37d825df78c79bee4c95d0e. gtk/gtkiconhelper.c | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) commit 96c18db0daf922e7f02f54c26043d1d2ac98f5cc Author: Руслан Ижбулатов Date: Tue Apr 26 21:45:15 2016 +0000 GtkTreeView: change child repositioning to preserve locality If there was a piece of text in the cell, then when the edit entry is shown for that cell, it should have a piece of text in it roughly at the same location. Therefore, when child widget is enlarged (child preferred size exceeds cell size), extra width should be added by extending either left or right edge depending on text direction. If after that the child sticks outside of the treeivew visible region, try to push it back inside (breaking its alignment with the cell), again, giving preference (i.e. adjusting it last) to either left or right edge depending on text direction. https://bugzilla.gnome.org/show_bug.cgi?id=765471 gtk/gtktreeview.c | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) commit 88d02583974659d1d37d825df78c79bee4c95d0e Author: Christian Hergert Date: Wed Apr 27 17:45:01 2016 -0700 iconhelper: check if surface was invalidated Fetching the style may cause the surface to be invalidated. gtk/gtkiconhelper.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 055ce9f095fa66d4ea247ec24d8366d5080c9ebc Author: Balázs Meskó Date: Wed Apr 27 19:32:14 2016 +0000 Updated Hungarian translation po/hu.po | 849 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 463 insertions(+), 386 deletions(-) commit 25c38df30e95f27bf1f07463663d0ccb4607216b Author: Daniel Mustieles Date: Wed Apr 27 21:07:11 2016 +0200 Updated Spanish translation po-properties/es.po | 1143 ++++++++++++++++++++++++++------------------------- 1 file changed, 592 insertions(+), 551 deletions(-) commit 0d55542359751d80c7ae7bf5b48806e6a9f07a23 Author: Lapo Calamandrei Date: Wed Apr 27 20:04:39 2016 +0200 Adwaita: add a background to cellrendertext gtk/theme/Adwaita/_common.scss | 7 +++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 13 insertions(+) commit d0c4747bd3a82f16b574741041d0f4aa846e4764 Author: Matthias Clasen Date: Wed Apr 27 07:37:56 2016 -0400 3.21.1 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 46abbfebe2f69bb6fdfec06c94ef97764c284c20 Author: Matthias Clasen Date: Wed Apr 27 07:37:43 2016 -0400 Updates NEWS | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 210a747ff082796fb28ee3a626be9e6bff0ea722 Author: Daniel Stone Date: Wed Apr 27 14:06:38 2016 +0200 wayland: Ignore NoSymbol keys NoSymbol is not a valid GDK symbol (it only has the concept of VoidSymbol, for some reason, which is neither the same thing nor produced by any sane keymap). Passing NoSymbol events through to GTK+ apps is unlikely to produce anything useful. In particular, this meant VTE would scroll to the end of the buffer when pressing Fn (required for Page Up/Down on Macs), as it was receiving a keypress that wasn't a modifeir. This does not happen on X11, as the KEY_FN keycode is above 255, so does not get sent to clients. https://bugzilla.gnome.org/show_bug.cgi?id=764825 gdk/wayland/gdkdevice-wayland.c | 2 ++ gdk/wayland/gdkkeys-wayland.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 605e205584f9076003e4becb5afc9814f3767fd1 Author: Georges Basile Stavracas Neto Date: Wed Apr 27 09:06:46 2016 -0300 placesview: update a leftover function name This should've been part of the previous commit. gtk/gtkplacesview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bb8b459407a834765efd27cffd4aa448b0c45c8a Author: Georges Basile Stavracas Neto Date: Tue Apr 26 09:57:36 2016 -0300 placesview: follow up fixes This patch unmarks the addresses' prefixes as translatable, and updates the callback name to reflect what it really does now. This is a follow up fix from commit 7449add82. https://bugzilla.gnome.org/show_bug.cgi?id=756570 gtk/gtkplacesview.c | 8 ++++---- gtk/ui/gtkplacesview.ui | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) commit 14967d8d7dbc36d535911425fab1fee19fb9d361 Author: Carlos Garnacho Date: Wed Apr 27 12:12:18 2016 +0200 wayland: Perform seat grab focus checks on native windows We don't care about the specific (possibly client-side) window that requested the focus here, only the toplevel. Fixes mistakenly sent focus events when the grab happens inside the current focus window. https://bugzilla.gnome.org/show_bug.cgi?id=762756 gdk/wayland/gdkdevice-wayland.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 0763a027c7f90feb446505f76b2c8d9ded05d6d1 Author: Christian Hergert Date: Tue Apr 26 19:30:30 2016 -0700 pixelcache: reuse existing timeout source when possible This avoids the g_source_remove(), g_source_destroy(), g_timer_source_new(), and g_source_set_name_by_id() in the common case. Instead, we reuse our previous source and update the ready time to our new deadline. We lose the coalescing with g_timeout_add_seconds(), but that is not going to help in the common case anyway (unless you have three hands and can scroll multiple pixelcached backed widgets at once). https://bugzilla.gnome.org/show_bug.cgi?id=765640 gtk/gtkpixelcache.c | 55 +++++++++++++++++++++++------------------------------ 1 file changed, 24 insertions(+), 31 deletions(-) commit 060c7d5c184c44102d2b2b9249337400af19b56a Author: Daniel Mustieles Date: Wed Apr 27 07:47:56 2016 +0000 Updated Spanish translation po/es.po | 818 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 420 insertions(+), 398 deletions(-) commit 1d35f273d6ae7f145e7cf8102d423fd7451f57f5 Author: Matthias Clasen Date: Tue Apr 26 22:02:34 2016 -0400 dnd: Fix some issues with drag icons In non-composited environments, we were ending up with all-black drag icons, because nothing was drawing the background of our new toplevel. Fix this by drawing background when we are not composited. We don't do this when composited, since we want to allow transparent icons. gtk/gtkdnd.c | 85 ++++++++++++++++++++++++------------------------------------ 1 file changed, 34 insertions(+), 51 deletions(-) commit 012904097a91ed7649638c1efbb5d1767aedd471 Author: Matthias Clasen Date: Tue Apr 26 21:25:02 2016 -0400 Fix indentation gtk/gtktextutil.c | 93 +++++++++++++++++++++++++++---------------------------- 1 file changed, 46 insertions(+), 47 deletions(-) commit 23df86e9236defcc32e34593b0d15de172bebd4c Author: Matthias Clasen Date: Tue Apr 26 21:23:08 2016 -0400 dnd: Set attributes from all widgets for text drag icons There is nothing textview-specific here. gtk/gtktextutil.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 7449add82ba4ce15d47f1b1cdb4f7e389e2b8628 Author: Georges Basile Stavracas Neto Date: Tue Apr 26 09:57:36 2016 -0300 placesview: provide guidance on server addresses GtkPlacesView currently provides no example of server addresses, which may confuse users. To fix that, add a helper popover with some guidance on server addresses. https://bugzilla.gnome.org/show_bug.cgi?id=756570 gtk/gtkplacesview.c | 24 +++-- gtk/ui/gtkplacesview.ui | 242 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 256 insertions(+), 10 deletions(-) commit dfdc7c3e0dce66d19d9b0df6dfeeb7505a3356da Author: Matthias Clasen Date: Tue Apr 26 20:44:07 2016 -0400 progressbar: Enforce invariants When measuring gadgets, minimum must come out <= natural. Make sure we don't fail this when measuring progressbar text. https://bugzilla.gnome.org/show_bug.cgi?id=765644 gtk/gtkprogressbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c27c4e2048acb630feb24c31288f802345e99f4c Author: Matthias Clasen Date: Tue Apr 26 20:35:25 2016 -0400 dnd: Fix lifecycle issues with widgets as drag icons The documentation clearly says that the widget is not destroyed, but we were in fact failing to keep it alive, since it was still a child or the icon_window when we destroy that. Fix this by reparenting the icon_widget out before. Also, deal with the possibility that the application might destroy the widget halfway through, for whatever reason. gtk/gtkdnd.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit e0e114fddb8a244ae9df2fe5732828504dd79b80 Author: Matthias Clasen Date: Tue Apr 26 20:34:24 2016 -0400 testdnd2: Actually test gtk_drag_set_icon_widget I added a new test function, but didn't actually use it. No wonder I couldn't reproduce the lifecycle issues with drag widgets that firefox is experiencing. tests/testdnd2.c | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) commit 5a04edc57bcba96d8308ca2526973f3a479c01c6 Author: Bernhard Reutner-Fischer Date: Tue Apr 26 19:29:33 2016 +0200 docs: typo in GTK_STYLE_CLASS_LIST_ROW docs Fix typo in documentation of GTK_STYLE_CLASS_LIST_ROW: s/rowss/rows/g Signed-off-by: Bernhard Reutner-Fischer https://bugzilla.gnome.org/show_bug.cgi?id=765632 gtk/gtkstylecontext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1a4f000f3b2a3289c6bcd30b7ce259c1686ef169 Author: Jonas Ådahl Date: Tue Apr 26 15:31:33 2016 +0800 gdk/dnd: Don't use default display when getting cursor Always associate a drag context with a GdkDisplay and use that when getting a cursor for a given action. If we don't do this, dragging on a window that doesn't use the default display will make us use cursors from the wrong display. https://bugzilla.gnome.org/show_bug.cgi?id=765565 gdk/broadway/gdkdnd-broadway.c | 1 + gdk/gdkdnd.c | 5 +++-- gdk/gdkdndprivate.h | 5 ++++- gdk/quartz/GdkQuartzNSWindow.c | 2 ++ gdk/quartz/gdkdnd-quartz.c | 1 + gdk/wayland/gdkdevice-wayland.c | 3 ++- gdk/wayland/gdkdnd-wayland.c | 7 +++++-- gdk/wayland/gdkprivate-wayland.h | 3 ++- gdk/win32/gdkdnd-win32.c | 1 + gdk/x11/gdkdnd-x11.c | 4 +++- 10 files changed, 24 insertions(+), 8 deletions(-) commit f27dd214267b5b907411cefb85350acfbb26ac77 Author: Christian Hergert Date: Tue Apr 26 03:08:11 2016 -0700 frametimings: reuse previous frame timing in common case Typically, there won't be any references on old frame timings except for the most recent timing. So instead of discarding these and re-entering gslice twice, just steal the old frame timing and reuse it. https://bugzilla.gnome.org/show_bug.cgi?id=765592 gdk/gdkframeclock.c | 12 +++++++++--- gdk/gdkframeclockprivate.h | 4 +++- gdk/gdkframetimings.c | 17 +++++++++++++++++ 3 files changed, 29 insertions(+), 4 deletions(-) commit 8f64e4a8e3443eb887614e981b4a0f7b6ae3ac96 Author: Jonas Ådahl Date: Tue Apr 26 15:50:17 2016 +0800 gdk/dnd: Add missing signal parameter documentation The cancel reason parameter was missing. https://bugzilla.gnome.org/show_bug.cgi?id=765577 gdk/gdkdnd.c | 1 + 1 file changed, 1 insertion(+) commit 145b626c2f87a04223cc1902e317214144f1dfd5 Author: Jonas Ådahl Date: Tue Apr 26 11:46:25 2016 +0800 wayland: Track orphaned dialogs per display Don't track all orphaned dialogs globally, as mixing them up with each other would in most cases trigger errors when we try to pass bogus values to Wayland requests. https://bugzilla.gnome.org/show_bug.cgi?id=765474 gdk/wayland/gdkdisplay-wayland.h | 3 +++ gdk/wayland/gdkwindow-wayland.c | 31 ++++++++++++++++++++++--------- 2 files changed, 25 insertions(+), 9 deletions(-) commit cb73becfb4cdb637bc8b19106a95f91482c95228 Author: Jonas Ådahl Date: Tue Apr 26 11:16:56 2016 +0800 wayland: Clean up naming of GdkWaylandDisplay pointers The naming of pointers to GdkWaylandDisplay's were inconsistent. Running the following commands in gtk+/gdk/wayland illustrate the inconsistency: $ grep -r '\' *.[ch] | wc -l 195 $ grep -r '\' *.[ch] | wc -l 81 This patch renames all occurrences of "wayland_display" to "display_wayland". This is also consistent with naming in the X11 backend. A couple of whitespace changes were done as well in places where the rename was already done, that added line breaks to long lines that stood out. https://bugzilla.gnome.org/show_bug.cgi?id=765474 gdk/wayland/gdkcursor-wayland.c | 31 +++++++++------- gdk/wayland/gdkdevice-wayland.c | 42 ++++++++++----------- gdk/wayland/gdkdisplay-wayland.c | 76 +++++++++++++++++++------------------- gdk/wayland/gdkdnd-wayland.c | 4 +- gdk/wayland/gdkprivate-wayland.h | 7 ++-- gdk/wayland/gdkscreen-wayland.c | 5 ++- gdk/wayland/gdkselection-wayland.c | 4 +- gdk/wayland/gdkwindow-wayland.c | 25 +++++++------ 8 files changed, 101 insertions(+), 93 deletions(-) commit 7700243bd49278692c8218fdf8358169672d7a13 Author: Chun-wei Fan Date: Tue Apr 26 20:29:23 2016 +0800 gdk/gdkglcontext.c: Avoid a GCCism Pointer arithmetic on GLvoid* (a void*) is a GCCism, so cast it to an unsigned char*, which is the type cairo_image_surface_get_data() returns. gdk/gdkglcontext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 71bb1bebc0174f95f2cafd632ec3c5a91e996d20 Author: Chun-wei Fan Date: Tue Apr 26 16:27:32 2016 +0800 Visual Studio builds: Generate .pc files Generate .pc files for the package, so that it would be easier for building introspection for packages that depend on GTK+. Also split PythonPath into PythonPath and PythonPathX64 to facilitate the build of introspection files, which need to have Python that is built with the same ac=rchitecture where GTK+ is built. Clean up the formatting and spacing a bit. build/win32/Makefile.am | 2 + build/win32/gtkpc.py | 97 ++++++++++++++++++++++ build/win32/pc_base.py | 108 +++++++++++++++++++++++++ build/win32/replace.py | 13 ++- build/win32/vs10/Makefile.am | 2 + build/win32/vs10/gtk-3.vcxprojin | 4 +- build/win32/vs10/gtk3-gen-srcs.props | 37 +++------ build/win32/vs10/gtk3-install.propsin | 21 ++++- build/win32/vs10/gtk3-install.vcxproj | 50 ++++++++++-- build/win32/vs10/gtk3-install.vcxproj.filters | 13 +++ build/win32/vs10/gtk3-prebuild.vcxproj.filters | 15 ++++ build/win32/vs10/gtk3-version-paths.props.in | 6 +- build/win32/vs11/Makefile.am | 2 + build/win32/vs12/Makefile.am | 2 + build/win32/vs14/Makefile.am | 2 + build/win32/vs9/gtk-3.vcprojin | 4 +- build/win32/vs9/gtk3-gen-srcs.vsprops | 14 ++-- build/win32/vs9/gtk3-install.vcproj | 80 ++++++++++++++++-- build/win32/vs9/gtk3-install.vspropsin | 50 +++++++----- build/win32/vs9/gtk3-version-paths.vsprops.in | 4 + 20 files changed, 447 insertions(+), 79 deletions(-) commit 75df7c163d096114b23f0c590ba5448fbf7eedaa Author: Gábor Kelemen Date: Tue Apr 26 09:43:45 2016 +0000 Updated Hungarian translation po-properties/hu.po | 2515 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 1551 insertions(+), 964 deletions(-) commit 0e14456f15412b1245cc8dab7df7021793d44441 Author: Emmanuele Bassi Date: Tue Apr 26 09:10:03 2016 +0100 gdk: Ensure resources registration happens once Like GTK does it. https://bugzilla.gnome.org/show_bug.cgi?id=765576 gdk/gdk.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit 4fe336930e757d506741a730f5766567177c34e8 Author: Matthias Clasen Date: Tue Apr 26 00:19:02 2016 -0400 Expand the drag widget testcase This adds a testcase which reuses the drag widget for multiple drags. tests/testdnd2.c | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) commit 9a3e97d6f0bc64045b503d681be0bb633098b0a2 Author: Matthias Clasen Date: Mon Apr 25 21:39:09 2016 -0400 Updates NEWS | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) commit a91fc65291bf868b1312e557a3d19da9174f9b06 Author: Matthias Clasen Date: Tue Apr 26 00:06:12 2016 -0400 label css style test: fix font syntax testsuite/css/style/label.css | 2 +- testsuite/css/style/label.nodes | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) commit 2968098f745cf915dc613a3ae9f906fd9a9863ae Author: Matthias Clasen Date: Tue Apr 26 00:04:55 2016 -0400 Remove debug spew testsuite/css/style/font.nodes | 4 ---- 1 file changed, 4 deletions(-) commit 78552945947094762ed70e6c13118449ed995dc3 Author: Matthias Clasen Date: Tue Apr 26 00:02:37 2016 -0400 Fix css parser tests These tests were affected by the font and linear-gradient parsing changes. testsuite/css/parser/cross-fade-basic.css | 8 ++-- testsuite/css/parser/declarations-valid-02.css | 2 +- testsuite/css/parser/declarations-valid-02.ref.css | 8 ++-- testsuite/css/parser/declarations-valid-03.css | 2 +- testsuite/css/parser/declarations-valid-03.ref.css | 8 ++-- testsuite/css/parser/declarations-valid-04.css | 2 +- testsuite/css/parser/declarations-valid-04.ref.css | 10 ++-- testsuite/css/parser/declarations-valid-08.css | 2 +- testsuite/css/parser/declarations-valid-08.ref.css | 8 ++-- testsuite/css/parser/declarations-valid-18.css | 2 +- testsuite/css/parser/declarations-valid-18.ref.css | 10 ++-- testsuite/css/parser/linear-gradient.css | 56 +++++++++++----------- testsuite/css/parser/linear-gradient.ref.css | 56 +++++++++++----------- 13 files changed, 87 insertions(+), 87 deletions(-) commit 3fd9bda06f5393cf87836bdd4f544a9e23f99594 Author: Matthias Clasen Date: Tue Apr 26 00:01:59 2016 -0400 css: Fix printing of images When there is only a call in a fallback image, we were errnoneously printing out a comma before it. gtk/gtkcssimagefallback.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0eefe81f3736bfbd665fcfed2d57b788fcf3c126 Author: Matthias Clasen Date: Mon Apr 25 23:25:32 2016 -0400 Raleigh: Fix font syntax gtk/theme/Raleigh/gtk-default.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit db1a39a81750c992c6f73be8626d1876a40defa7 Author: Matthias Clasen Date: Mon Apr 25 23:08:39 2016 -0400 notify test: Skip GtkFontButton::font-name This is not freely settable. testsuite/gtk/notify.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 43312bb8c2f3eb579266e928363c9fba41b660a1 Author: Matthias Clasen Date: Mon Apr 25 23:08:03 2016 -0400 font button: Fix translation of font-name default The default value should come out of regular translations, not property translations. gtk/gtkfontbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 724d3be794bc6faa79b9a17681fe77c67d280a99 Author: Christian Hergert Date: Mon Apr 25 18:10:09 2016 -0700 wayland: avoid jitter in keyboard repeat When synthesizing keyboard repeat, we can potentially drift further from the mark depending on the timing of the frame callback and how long it took to deliver the event. This patch attempts to reduce this by tracking from a stable epoch the time of our next keyboard repeat. https://bugzilla.gnome.org/show_bug.cgi?id=765567 gdk/wayland/gdkdevice-wayland.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit 1951642c0e4566515f704a850224beaa1792a5e0 Author: Timm Bäder Date: Sun Apr 24 10:46:03 2016 +0200 GtkLabel: Use g_clear_object https://bugzilla.gnome.org/show_bug.cgi?id=765496 gtk/gtklabel.c | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) commit be5a105f2e8529bb56e193daaceac2aa0a9b8a8f Author: Timm Bäder Date: Sun Apr 24 10:32:55 2016 +0200 GtkLabel: Don't manually iterate over link list There are various functions to access links based on their index for a11y. We can spare quite a few lines of code by just using g_list_nth_data instead of iterating over the list ourselves. https://bugzilla.gnome.org/show_bug.cgi?id=765496 gtk/gtklabel.c | 51 ++++++++++++++++----------------------------------- 1 file changed, 16 insertions(+), 35 deletions(-) commit f165bbda573fabd21ffa6ab7324810beb34908ea Author: Christian Hergert Date: Mon Apr 25 00:22:54 2016 -0700 builtinicon: avoid calculating font-metrics in vast majority of cases We perform lots of gadget allocations that require allocating a GtkBuiltinIcon. One notable example is the scrollbar for a scrolled window. In the process of doing this, we often calculate baseline information that isn't necessary. With how much this code path gets exercised, its worth catching the result for the common case, which is that the font-description has not changed and we are using the default language the application was started with. This simply caches the previous result and verifies that we can reuse it with pango_font_description_hash() and a simple language check. Numbers below are scrolling through a textview with GDK_KEY_Down. Before: SELF CUMULATIVE FUNCTION [ 0.08%] [ 9.26%] gtk_builtin_icon_get_preferred_size [ 0.01%] [ 8.82%] pango_context_get_metrics [ 0.02%] [ 0.16%] gtk_widget_get_pango_context [ 0.06%] [ 0.06%] pango_context_get_language [ 0.01%] [ 0.02%] g_type_check_instance_cast [ 0.02%] [ 0.02%] strlen [ 0.02%] [ 0.02%] pango_context_get_font_description [ 0.02%] [ 0.02%] g_list_foreach [ 0.01%] [ 0.01%] gtk_css_style_get_value [ 0.01%] [ 0.01%] itemize_with_font [ 0.01%] [ 0.01%] pango_context_get_type [ 0.01%] [ 0.01%] get_base_metrics [ 0.00%] [ 0.01%] pango_font_metrics_unref [ 0.01%] [ 0.01%] g_list_free [ 0.01%] [ 0.01%] gtk_builtin_icon_get_type After: SELF CUMULATIVE FUNCTION [ 0.08%] [ 0.18%] gtk_builtin_icon_get_preferred_size [ 0.02%] [ 0.02%] pango_font_description_hash [ 0.00%] [ 0.02%] gtk_widget_get_pango_context [ 0.00%] [ 0.02%] g_object_get_qdata [ 0.00%] [ 0.02%] g_datalist_id_get_data [ 0.02%] [ 0.02%] gtk_builtin_icon_get_type [ 0.01%] [ 0.01%] pango_context_get_font_description [ 0.00%] [ 0.01%] - - kernel - - [ 0.01%] [ 0.01%] pango_context_get_language [ 0.00%] [ 0.01%] gtk_css_style_get_value [ 0.00%] [ 0.01%] gtk_css_gadget_get_style https://bugzilla.gnome.org/show_bug.cgi?id=765486 gtk/gtkbuiltinicon.c | 55 +++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 39 insertions(+), 16 deletions(-) commit 414e86fb9579796da10416c9c02278585f60223a Author: Emmanuele Bassi Date: Sat Apr 23 10:34:53 2016 +0100 docs: Add new GtkGLArea symbols docs/reference/gtk/gtk3-sections.txt | 2 ++ 1 file changed, 2 insertions(+) commit 044b5aa3d219e3225f5c9be99c13d9d6f27c880b Author: Emmanuele Bassi Date: Sat Apr 23 10:34:14 2016 +0100 docs: Add new GdkGLContext symbols docs/reference/gdk/gdk3-sections.txt | 2 ++ 1 file changed, 2 insertions(+) commit 79a7e881b136fd6955d4c52a087a825adaa51562 Author: Emmanuele Bassi Date: Sat Apr 23 10:33:08 2016 +0100 docs: Clarify the platform-dependency of GdkGLContext:use-es Not all platforms allow creating an OpenGL ES context. gdk/gdkglcontext.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit b45c7b508bd7be1ec6c0d589a14a783133adb0a2 Author: Emmanuele Bassi Date: Mon Apr 25 12:28:41 2016 +0100 glarea: Use the appropriate texture format for GLES The core OpenGL ES spec does not have GL_BGRA, so we need to make do with GL_RGBA and live with the format conversion. gtk/gtkglarea.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 971998de34b570fcf3eb2149198e5679b747901d Author: Emanuele Aina Date: Mon Apr 18 16:15:27 2016 +0200 glarea: Relay the use-es flag to context creation https://bugzilla.gnome.org/show_bug.cgi?id=743746 gtk/gtkglarea.c | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkglarea.h | 5 ++++ 2 files changed, 87 insertions(+) commit 872b5115ea1ee2335ea5277de66c813a7cd4959b Author: Emmanuele Bassi Date: Sat Apr 23 13:46:05 2016 +0100 demo: Add GLES support to the GtkGLArea demo We need new shaders, and we need to select the correct shader when building the program we use to render the triangle. demos/gtk-demo/demo.gresource.xml | 6 +++-- .../{glarea-fragment.glsl => glarea-gl.fs.glsl} | 0 .../{glarea-vertex.glsl => glarea-gl.vs.glsl} | 0 demos/gtk-demo/glarea-gles.fs.glsl | 7 ++++++ demos/gtk-demo/glarea-gles.vs.glsl | 7 ++++++ demos/gtk-demo/glarea.c | 26 ++++++++++++++++++---- 6 files changed, 40 insertions(+), 6 deletions(-) commit b993c7db6362b013b1c0f7a9c8821b652b834e08 Author: Emmanuele Bassi Date: Sat Apr 23 12:31:15 2016 +0100 tests: Add GLES support to GtkGears Use the appropriate GLSL shaders when running under an OpenGL ES context. tests/gtkgears.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 50 insertions(+), 4 deletions(-) commit a92ba06383ad7fe8bb63279603ceeee2ce6217f3 Author: Emmanuele Bassi Date: Fri Apr 22 13:53:16 2016 +0100 tests: Add GLES shaders to testglarea Check if the GdkGLContext is using ES, and load the appropriate shaders in that case. tests/testglarea.c | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) commit f848450a70931133ab9368fd35b629c6c6e50fcb Author: Emmanuele Bassi Date: Mon Apr 25 13:38:22 2016 +0100 gl: Use a uniform to flip R and B colors on GLES This allows us to decide when the R and B color channels should be flipped with a much better granularity. For instance, when using GLX_EXT_texture_from_pixmap to create a GL texture from a surface we don't need to swap the R and B channels, as the internal representation of the texture data will already have the appropriate colors. We also don't need to flip color channels when blitting from a texture. gdk/gdkgl.c | 15 +++++++++++---- gdk/gdkglcontextprivate.h | 1 + gdk/gdkinternals.h | 3 ++- gdk/resources/glsl/gles2-texture.fs.glsl | 8 ++++++-- gdk/x11/gdkglcontext-x11.c | 8 ++++---- 5 files changed, 24 insertions(+), 11 deletions(-) commit 1379b4b175910a253bb4aa8df3194eec2e160213 Author: Emmanuele Bassi Date: Mon Apr 25 10:31:51 2016 +0100 gl: Add fallback for missing subimage unpacking For GLES 2.0 platforms with the subimage unpacking extension we need to upload one row of the image surface at a time. gdk/gdkglcontext.c | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) commit 88fed84d45e184490673f63bc20b556beeff7b98 Author: Emmanuele Bassi Date: Fri Apr 22 18:01:19 2016 +0100 x11: Allow creating GLES contexts We need to check for the GLX_EXT_create_context_es2_profile extension, which allows us to create a GLES context while using the GLX API. gdk/x11/gdkdisplay-x11.h | 1 + gdk/x11/gdkglcontext-x11.c | 32 ++++++++++++++++++++++++++------ 2 files changed, 27 insertions(+), 6 deletions(-) commit 74f4e6e046b890838519e689a48d3dcc252929f7 Author: Emmanuele Bassi Date: Sat Apr 23 10:13:39 2016 +0100 wayland: Bind the appropriate OpenGL API If we want to use OpenGL ES with EGL then we need to bind the API before creating the EGL context. gdk/wayland/gdkglcontext-wayland.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 7d1da94455a20ea2f2c7682e86e9cb0c905aaf51 Author: Emmanuele Bassi Date: Fri Apr 22 18:50:50 2016 +0100 wayland: Add debugging notes for EGL context creation gdk/wayland/gdkglcontext-wayland.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit d40778f728e10a0b9239c1da710d02a49d419d9a Author: Emmanuele Bassi Date: Fri Apr 22 12:45:32 2016 +0100 wayland: Honour GDK_GL=gles on context creation gdk/wayland/gdkglcontext-wayland.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 2849f2fc9a677280124556a0d530e60de4db8545 Author: Emmanuele Bassi Date: Mon Apr 18 10:13:05 2016 +0100 wayland: Implement asking for a GLES context Wayland uses EGL, which allows us to ask for a GLES context. https://bugzilla.gnome.org/show_bug.cgi?id=743746 gdk/wayland/gdkglcontext-wayland.c | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) commit fe25ba3c5f735525324bad7740ae38e81736fd08 Author: Emmanuele Bassi Date: Sat Apr 23 13:52:03 2016 +0100 gl: Tweak the swizzle for GLES texture fragments Cairo surfaces are in BGRA format, but we upload them as RGBA buffers on GLES; this means that the R and B channels are flipped in the texture data. Instead of doing a costly channel flip before putting them on the GPU, we can flip the values inside the GLSL shader we use specifically for GLES. gdk/resources/glsl/gles2-texture.fs.glsl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit a942e96c8fc0f6912ed2e44e81d0dd1d53645e11 Author: Emmanuele Bassi Date: Sat Apr 23 12:16:03 2016 +0100 gl: Use the appropriate formats when reading buffers on GLES We cannot use GL_BGRA and GL_UNSIGNED_INT_8_8_8_8_REV when reading back from the frame buffer in the software fallback path, as they do not exist on OpenGL ES. This will make the slow path a bit slower, because of the implicit format conversion. gdk/gdkgl.c | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) commit 5b03cf175a40a52034612245b288352019d79843 Author: Emmanuele Bassi Date: Sat Apr 23 10:21:13 2016 +0100 gl: Use the appropriate format on GLES When uploading a Cairo image surface to a GL texture we cannot use GL_BGRA and GL_UNSIGNED_INT_8_8_8_8_REV on OpenGL ES, as they do not exist in the core spec. gdk/gdkglcontext.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit 1620b7bda7affde3f57764ee353cd59e6619ba46 Author: Emmanuele Bassi Date: Fri Apr 22 17:27:04 2016 +0100 gl: Add more OpenGL ES checks Check for the appropriate extensions depending on which type of API we're using. gdk/gdkgl.c | 34 ++++++++++++-- gdk/gdkglcontext.c | 113 +++++++++++++++++++++++++++++++++++++--------- gdk/gdkglcontextprivate.h | 1 + 3 files changed, 123 insertions(+), 25 deletions(-) commit 8bb4eb55448ec72338fa14d71c24a1cacc35756c Author: Emmanuele Bassi Date: Fri Apr 22 13:52:49 2016 +0100 gdk: Add GLES shaders We cannot use GL shaders with GLES. gdk/Makefile.am | 4 +++- gdk/gdkgl.c | 26 +++++++++++++++++++++++--- gdk/resources/glsl/gles2-texture.fs.glsl | 9 +++++++++ gdk/resources/glsl/gles2-texture.vs.glsl | 10 ++++++++++ 4 files changed, 45 insertions(+), 4 deletions(-) commit 3da73371b92b849758a5743212a88237696568c1 Author: Emmanuele Bassi Date: Fri Apr 22 12:40:57 2016 +0100 gdk: Add 'GDK_GL=gles' flag Allows forcing the selection of a GLES context. gdk/gdk.c | 3 ++- gdk/gdkinternals.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 55537cccbd8129ed9fd3d00e8af07c05719516ac Author: Emmanuele Bassi Date: Fri Apr 22 12:34:33 2016 +0100 gdk: Move GLSL shaders into GResource Having the shaders inlined as C strings makes them harder to edit and maintain. gdk/Makefile.am | 46 ++++++++++- gdk/gdk.c | 4 + gdk/gdkgl.c | 116 +++++++--------------------- gdk/resources/glsl/gl2-texture-2d.fs.glsl | 9 +++ gdk/resources/glsl/gl2-texture-2d.vs.glsl | 13 ++++ gdk/resources/glsl/gl2-texture-rect.fs.glsl | 9 +++ gdk/resources/glsl/gl2-texture-rect.vs.glsl | 13 ++++ gdk/resources/glsl/gl3-texture-2d.fs.glsl | 11 +++ gdk/resources/glsl/gl3-texture-2d.vs.glsl | 13 ++++ gdk/resources/glsl/gl3-texture-rect.fs.glsl | 9 +++ gdk/resources/glsl/gl3-texture-rect.vs.glsl | 13 ++++ 11 files changed, 164 insertions(+), 92 deletions(-) commit d7b5ea89eb7c103c67806b7d78a841a6c7048e90 Author: Emmanuele Bassi Date: Mon Apr 18 10:21:36 2016 +0100 gl: Relay use-es from context to paint data This way we can select the appropriate API or the appropriate shaders. https://bugzilla.gnome.org/show_bug.cgi?id=743746 gdk/gdkglcontext.c | 1 + 1 file changed, 1 insertion(+) commit e1cecd243a82729f10f2fbb4b745be8f6b3b8f67 Author: Emmanuele Bassi Date: Mon Apr 18 10:10:30 2016 +0100 gl: Add 'use-es' flag On some platforms we can ask the GL context machinery to create a GLES context, instead of a GL one. In order to ask for a GLES context at GdkGLContext realization time, we use a bit field like we do for forward compatible, or debug contexts. The 'use-es' bit also changes the way we select a default version, because OpenGL and OpenGLES versions differ. https://bugzilla.gnome.org/show_bug.cgi?id=743746 gdk/gdkglcontext.c | 46 +++++++++++++++++++++++++++++++++++++++++----- gdk/gdkglcontext.h | 5 +++++ gdk/gdkglcontextprivate.h | 1 + 3 files changed, 47 insertions(+), 5 deletions(-) commit 6225d435e6cace5ad6615e8b2b3ec20e5b9b6c45 Author: Paolo Borelli Date: Sun Apr 24 11:46:38 2016 +0200 inspector: do not leak seat capabilities descriprion Factor out an utility function for readability and free the string with the list of capabilities gtk/inspector/general.c | 45 +++++++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 18 deletions(-) commit 0b88d7976ccd69e74f4023156edb284a33f6b21e Author: Christian Hergert Date: Sun Apr 24 00:46:15 2016 -0700 quartz: fix quartz build The quartz backend has its own implementation of these that collide since the gtkdragdest.c extraction. https://bugzilla.gnome.org/show_bug.cgi?id=764712 gtk/Makefile.am | 4 ++-- gtk/gtkdnd-quartz.c | 10 ---------- 2 files changed, 2 insertions(+), 12 deletions(-) commit 4f63d839550f7a9038b391e7d3e1e6fc8bdfafa6 Author: Christian Hergert Date: Sun Apr 24 02:41:26 2016 -0700 kineticscrolling: avoid stutter at tail of kinetic deceleration When decelerating the kinetic scroll, we can get into a position where it looks like we are stuttering. This happens because the amount we move is so little that it takes multiple frames to make forward progress by one pixel. This prevents that by detecting when we have reached the slow stutter of the deceleration and simply stops the deceleration phase immediately. https://bugzilla.gnome.org/show_bug.cgi?id=765493 gtk/gtkkineticscrolling.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit aa99c64fdd1cd6caccd708ea258d50f1db97b544 Author: Lapo Calamandrei Date: Fri Apr 22 14:42:47 2016 +0200 Adwaita: color tweaks use a slightly cold and slightly darker gray for the dark variant, use the same hue for the osd bg color, make it bit darker and transparent. gtk/theme/Adwaita/_colors.scss | 6 +- gtk/theme/Adwaita/gtk-contained-dark.css | 974 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 90 +-- 3 files changed, 535 insertions(+), 535 deletions(-) commit 61a454ffbe3546533d98559b94def2ec57ffc31f Author: GNOME Translation Robot Date: Fri Apr 22 12:09:51 2016 +0000 Updated Scottish Gaelic translation po/gd.po | 2247 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1182 insertions(+), 1065 deletions(-) commit 554de0be2a9ef1e0b87c406de030c1d018184cf7 Author: Sébastien Wilmet Date: Wed Apr 20 17:24:46 2016 +0200 app: replace private accels functions by get_application_accels() It's like gtk_application_get_action_muxer(). https://bugzilla.gnome.org/show_bug.cgi?id=764879 gtk/gtkapplication.c | 25 +++---------------------- gtk/gtkapplicationprivate.h | 11 ++--------- gtk/gtkwindow.c | 15 +++++++++++---- 3 files changed, 16 insertions(+), 35 deletions(-) commit 3b988ce5239252b0a6c64e0a77eb8ed666f081b2 Author: Sébastien Wilmet Date: Wed Apr 20 17:13:26 2016 +0200 app: share function to normalise detailed action name Put the function in gtkactionmuxer.c, where gtk_print_action_and_target() is implemented. https://bugzilla.gnome.org/show_bug.cgi?id=764879 gtk/gtkactionmuxer.c | 20 ++++++++++++++++++++ gtk/gtkactionmuxer.h | 4 +++- gtk/gtkapplication.c | 23 +---------------------- gtk/gtkapplicationaccels.c | 25 ++----------------------- 4 files changed, 26 insertions(+), 46 deletions(-) commit 3d182160bb366f441ef72b4d7365354d392661de Author: Sébastien Wilmet Date: Wed Apr 20 17:03:36 2016 +0200 app-accels: rename static functions Remove the "accels_" prefix from the remaining static functions. The prefix no longer makes sense since the whole file is devoted to accels. https://bugzilla.gnome.org/show_bug.cgi?id=764879 gtk/gtkapplicationaccels.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit bce4a0abdefa01a10c43da09c10a3526d2d03941 Author: Sébastien Wilmet Date: Mon Apr 11 17:13:09 2016 +0200 app: extract GtkApplicationAccels private class This has several benefits: - Less code in GtkApplication. The accels handling is something self-contained, and GtkApplication now delegates the work. - For the accels functions, there is now a distinction between static functions and functions in the gtkapplicationaccelsprivate.h header, which makes the code easier to understand, because we have a good overview just by reading the header. - The struct _GtkApplicationPrivate is now easier to find instead of being in the middle of the file. https://bugzilla.gnome.org/show_bug.cgi?id=764879 docs/reference/gtk/Makefile.am | 1 + gtk/Makefile.am | 2 + gtk/gtkapplication.c | 436 +--------------------------------- gtk/gtkapplicationaccels.c | 478 ++++++++++++++++++++++++++++++++++++++ gtk/gtkapplicationaccelsprivate.h | 62 +++++ 5 files changed, 553 insertions(+), 426 deletions(-) commit e0c34fd028e249e5a52d2c8d90590c737f2aac4d Author: Sébastien Wilmet Date: Mon Apr 11 17:28:23 2016 +0200 app: write higher-level gtk_application_accels static functions These will become the functions present in the gtkapplicationaccelsprivate.h header. The gtk_application_accels functions deal with detailed_action_name's instead of action_and_target's. action_and_target is an implementation detail of Accels. The added function prototype is temporary, it'll be removed in a later commit. https://bugzilla.gnome.org/show_bug.cgi?id=764879 gtk/gtkapplication.c | 215 ++++++++++++++++++++++++++++----------------------- 1 file changed, 119 insertions(+), 96 deletions(-) commit c574ef0954587282424c8ad3c62762c13fadce4b Author: Paolo Borelli Date: Thu Apr 21 22:54:55 2016 +0200 textiter: add unit test for forward_to_line_end Surprisingly we had no unit test for this method testsuite/gtk/textiter.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit 73c91c285e11e47a15c60f420ad5e450f55ae3f7 Author: Matthias Clasen Date: Thu Apr 21 23:24:13 2016 -0400 Fix formatting The previous change was not quite using the right coding style. gtk/gtkmenusectionbox.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 0815b21ad4e0d05367fc709765593c00997f33a3 Author: Timm Bäder Date: Tue Apr 19 17:12:00 2016 +0200 listbox: Make sure page down/up move at least one row When the current cursor_row is taller than the page_size we get from the GtkAdjustment, the previous code would not actually cause any scrolling, so make sure we just take the row after or before the cursor_row in that case. https://bugzilla.gnome.org/show_bug.cgi?id=765261 gtk/gtklistbox.c | 53 +++++++++++++++++------------------------------------ 1 file changed, 17 insertions(+), 36 deletions(-) commit 7a7e3fc0e3460c5f58b1ec1a35ecd66bc9409910 Author: Matthias Clasen Date: Thu Apr 21 22:55:57 2016 -0400 Ad d new API to the docs docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkevents.c | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) commit cf14fea5a87f7a6c4e1c97081ad6b5cd27cc83b1 Author: Frediano Ziglio Date: Thu Apr 21 14:30:58 2016 +0100 Save scancode inside GdkEventPrivate Windows save in hardware_keycode an information which is not so low level and some application require the hardware scancode. As Windows provides this information save it in GdkEventPrivate and provide a function to get this information. For no Windows system the function return the hardware_keycode instead. Signed-off-by: Frediano Ziglio https://bugzilla.gnome.org/show_bug.cgi?id=765259 gdk/broadway/gdkeventsource.c | 1 + gdk/gdkevents.c | 34 ++++++++++++++++++++++++++++++++++ gdk/gdkevents.h | 3 +++ gdk/gdkinternals.h | 4 ++++ gdk/mir/gdkmireventsource.c | 1 + gdk/quartz/gdkevents-quartz.c | 1 + gdk/wayland/gdkdevice-wayland.c | 1 + gdk/win32/gdkevents-win32.c | 2 ++ gdk/x11/gdkdevicemanager-core-x11.c | 1 + gdk/x11/gdkdevicemanager-xi2.c | 1 + 10 files changed, 49 insertions(+) commit c081ca2d4c589fb77e097ad5ee2a9978bd91d2ed Author: Benjamin Otte Date: Thu Apr 21 22:28:58 2016 +0200 cssshadowsvalue: Avoid allocating new value if not needed gtk/gtkcssshadowsvalue.c | 31 ++++++++++++++++++++++++++----- gtk/gtkcssshadowvalue.c | 15 +++++++++++++++ 2 files changed, 41 insertions(+), 5 deletions(-) commit f93eca560494ff9ad7657db611296ea961de2ace Author: Benjamin Otte Date: Thu Apr 21 22:28:40 2016 +0200 cssbordervalue: Avoid allocating new value if not needed gtk/gtkcssbordervalue.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit 2fc0d6a91a0723d0b6b26b838cba521d479fa652 Author: Benjamin Otte Date: Thu Apr 21 22:28:14 2016 +0200 cssbgsizevalue: Avoid allocating new value if not needed gtk/gtkcssbgsizevalue.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 6d953cb08e0f5cdd2f11a71d6178410dc4976274 Author: Matthias Clasen Date: Thu Apr 21 14:21:14 2016 -0400 Add a dnd test using a window as icon This case is causing problems in firefox. Lets at least make sure that it doesn't crash in GTK+. tests/testdnd2.c | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) commit 3ed8ac034d0f8343e943f8418e7a5ac7f9ce9865 Author: Lapo Calamandrei Date: Thu Apr 21 17:01:45 2016 +0200 Adwaita: backdrop active button color tweaks gtk/theme/Adwaita/_drawing.scss | 8 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 32 ++++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 22 +++++++++++----------- 3 files changed, 31 insertions(+), 31 deletions(-) commit d857ba3faf76960d40e2f095f8253adde8bb584a Author: Lapo Calamandrei Date: Thu Apr 21 16:51:24 2016 +0200 Adwaita: cosmetics gtk/theme/Adwaita/_drawing.scss | 86 ++++++++++++++++++----------------------- 1 file changed, 38 insertions(+), 48 deletions(-) commit 874d4ede6709b215998715590412770219fe9fba Author: Lapo Calamandrei Date: Thu Apr 21 16:43:35 2016 +0200 Adwaita: solid bg for disabled pushed button gtk/theme/Adwaita/_drawing.scss | 12 ++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 37 +++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 43 ++++++++++++++++++-------------- 3 files changed, 50 insertions(+), 42 deletions(-) commit 517f33b1a6e302671ee7dd532bc8675a0e8a4bd5 Author: Lapo Calamandrei Date: Thu Apr 21 16:25:05 2016 +0200 Adwaita: spinbutton fixes reset background-color on backdrop disable buttons and entry node. gtk/theme/Adwaita/_common.scss | 4 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) commit 22cd8e9d4fabd6006c29e8d3f921f1ca72c1c1f2 Author: Jonathan Matthew Date: Wed Mar 9 22:44:45 2016 +1000 gtkmenusectionbox: remove submenus when the parent item is removed https://bugzilla.gnome.org/show_bug.cgi?id=749405 gtk/gtkmenusectionbox.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit d6ac55102e3e3971d84d6d9d17b7efe8be3b6549 Author: Matthias Clasen Date: Tue Apr 19 23:32:26 2016 -0400 widget: Don't show widget resizes in the inspector Avoiding this sort of visual debugging in the inspector is the main reason we have per-display debug flags now. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d58885c9b94dccf4587a41ba486b8112f6413dda Author: Matthias Clasen Date: Tue Apr 19 23:24:54 2016 -0400 css gadget: Fix baseline debug We were not using the baseline that we're computing. gtk/gtkcssgadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 37b70a97331a4b9896e557c938c5151b63894aff Author: Matthias Clasen Date: Tue Apr 19 23:23:59 2016 -0400 Use qdata for debug flags This avoids some overhead. gtk/gtkmain.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit c01befe5cc975e07b8d09fcf3dd814abfc5f940c Author: Matthias Clasen Date: Tue Apr 19 23:23:18 2016 -0400 css gadget: Don't get display flags twice This got more expensive now that we store them per-display, so don't get them twice in the same function. gtk/gtkcssgadget.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 3df2e0b26a6c3fe629ac4950ab2b55ebd07258da Author: Christian Hergert Date: Tue Apr 19 19:35:52 2016 -0700 debug: remove open-coded debug checks in gtktextsegment These runtime checks were being performed whether or not we were in a debug build. Using GTK_DEBUG_CHECK() will compile out of production builds, as it will result in something like: if (G_UNLIKELY(0)) which the optimizer can prune. https://bugzilla.gnome.org/show_bug.cgi?id=765284 gtk/gtktextsegment.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit f3e6d930a803b6d26b65e465c1cd7ea1407912a6 Author: Matthias Clasen Date: Tue Apr 19 21:09:51 2016 -0400 text tag: Add a va marshaller to ::event gtk/gtktexttag.c | 3 +++ 1 file changed, 3 insertions(+) commit c7bac914945e261c2b4e6d5936e6a667c284e674 Author: Matthias Clasen Date: Tue Apr 19 21:00:57 2016 -0400 text buffer: Add va marshallers for signals gtk/gtktextbuffer.c | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) commit 3c3aa478f92d5d669adb9fc2e880821777738229 Author: Matthias Clasen Date: Tue Apr 19 21:00:20 2016 -0400 menushell: Add a va marshaller for ::insert gtk/gtkmenushell.c | 3 +++ 1 file changed, 3 insertions(+) commit 1b2203964971b6bdff4b54fd51a58ad760f5caa5 Author: Lapo Calamandrei Date: Tue Apr 19 23:00:54 2016 +0200 Adwaita: use an image for backdrop button background which doesn't make the sliders flash during background transition. gtk/theme/Adwaita/_drawing.scss | 4 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 44 ++++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 44 ++++++++++++++++---------------- 3 files changed, 46 insertions(+), 46 deletions(-) commit 5fc18c7167cacfe5d6344d7d0d3e1f496425621f Author: Lapo Calamandrei Date: Tue Apr 19 22:57:28 2016 +0200 Adwaita: link button style fix ensure the label color doesn't get overridden, fixes link button label being gray in backdrop. gtk/theme/Adwaita/_common.scss | 8 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 63 +++++++++++++++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 63 +++++++++++++++++++++++++------- 3 files changed, 107 insertions(+), 27 deletions(-) commit c16c9e7c3f1107aea1d2c7d59150db9cfcef46b7 Author: Lapo Calamandrei Date: Tue Apr 19 22:55:55 2016 +0200 Adwaita: scale with marks style fix reset background-color on the slider. gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 24 ++++++++++++++++++++++++ gtk/theme/Adwaita/gtk-contained.css | 24 ++++++++++++++++++++++++ 3 files changed, 52 insertions(+) commit 5199b66682359fcbfef2180343d15af6ea39d3ab Author: Lapo Calamandrei Date: Tue Apr 19 22:45:05 2016 +0200 Adwaita: fix switch styling ensure the last button has rounded corners and adapt to button mixin changes. gtk/theme/Adwaita/_common.scss | 11 +++++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 9 +++++++-- gtk/theme/Adwaita/gtk-contained.css | 9 +++++++-- 3 files changed, 23 insertions(+), 6 deletions(-) commit 24c3906d5f3bd8ac3146847c27f0522a75bd7803 Author: Lapo Calamandrei Date: Tue Apr 19 22:08:31 2016 +0200 Adwaita: fix insensitive switch styling misplaced backdrop disabled selector was overriding the disabled one. gtk/theme/Adwaita/_common.scss | 10 +++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 13 insertions(+), 13 deletions(-) commit 51d58108f93261d6311f823736ce92369272d491 Author: Matthias Clasen Date: Tue Apr 19 16:11:10 2016 -0400 Add some va marshallers to frequent signals This makes us take the fast path in signal emission. gtk/gtkcssnode.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit b596fcada715be2ab53ff6f7425098f0b5fafb17 Author: Lapo Calamandrei Date: Tue Apr 19 21:58:24 2016 +0200 Adwaita: stop using images for solid backgrounds... ...unless it's needed. gtk/theme/Adwaita/_common.scss | 42 +++-- gtk/theme/Adwaita/_drawing.scss | 40 +++-- gtk/theme/Adwaita/gtk-contained-dark.css | 294 ++++++++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 294 ++++++++++++++++++++----------- 4 files changed, 439 insertions(+), 231 deletions(-) commit 5efb574055f3b6845e4ff5e0c06151b48d544cb2 Author: Matthias Clasen Date: Tue Apr 19 15:27:08 2016 -0400 magnifier: Only connect to ::draw when needed This making us take the slow path in ::draw handling, so we want to avoid it if we can. https://bugzilla.gnome.org/show_bug.cgi?id=765238 gtk/gtkmagnifier.c | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) commit 7397fe0eab8d2e1f5a04a368e819b9ff4fb4c6a3 Author: Lapo Calamandrei Date: Tue Apr 19 21:24:37 2016 +0200 Adwaita: add shadows back... ...correctly inizializing a sass var. gtk/theme/Adwaita/_drawing.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 206 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 200 +++++++++++++++--------------- 3 files changed, 204 insertions(+), 204 deletions(-) commit deaf664ed23fc346bc8788e6724e179f4590da07 Author: Rui Matos Date: Tue Apr 19 21:03:45 2016 +0200 wayland: Leave existing mods on map_virtual_modifiers map_virtual_modifiers() is supposed to add the necessary virtual mods but otherwise leave the mods that are passed in. https://bugzilla.gnome.org/show_bug.cgi?id=765270 gdk/wayland/gdkkeys-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b8a86e6ca4fd3cf64ae0c2d014b4355dc9315146 Author: Matthias Clasen Date: Tue Apr 19 12:43:03 2016 -0400 wayland: Some more debug spew Print the modifiers and their mapping out as well. This information is contained in the keymap, but this is a bit easier to digest. gdk/wayland/gdkkeys-wayland.c | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) commit e7d84898ee65100b8ffe905cbcc4b878b7e67e10 Author: Matthias Clasen Date: Tue Apr 19 12:23:51 2016 -0400 wayland: Add debug output for keymaps Use GDK_DEBUG=input to see your keymap sent over and over again. Efficiency! gdk/wayland/gdkkeys-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 36fead28e09ba889050a3d659c2320694072f3d7 Author: Timm Bäder Date: Tue Apr 19 15:20:14 2016 +0200 gtkcssimagebuiltin: Save/restore around cairo_clip This was previously causing trouble in checkbuttons where the check node didn't have an icon shadow set, e.g. in Raleigh. gtk/gtkcssimagebuiltin.c | 2 ++ 1 file changed, 2 insertions(+) commit d1b07bc386e17e5c982f25ae7d443356cee89c90 Author: Matthias Clasen Date: Tue Apr 19 07:34:44 2016 -0400 Add a comment to explain numbers here This explains the change in the previous commit. modules/printbackends/cups/gtkprintbackendcups.c | 1 + 1 file changed, 1 insertion(+) commit 3fe08b3b28e65613048d91e972682823bb3f254d Author: Piotr Drąg Date: Sat Apr 16 19:46:02 2016 +0200 cups: Fix duplicate string https://bugzilla.gnome.org/show_bug.cgi?id=765122 modules/printbackends/cups/gtkprintbackendcups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9a87b6be2ba7bac1cba26afd1515cdde991978c7 Author: Chun-wei Fan Date: Tue Sep 8 14:14:46 2015 +0800 MSVC builds: Update how introspection builds are done This first adds a common autotools module that can be included by the Makefile.am's to generate the file lists and the g-ir-scanner/ g-ir-compiler command lines to build the introspection files. The autotools files for gdk/ and gtk/ are then updated to generate the full file lists needed to build the introspection files, with the full command lines for g-ir-scanner and g-ir-compiler as NMake Makefile modules that can be used to build the introspection files for Visual Studio builds. https://bugzilla.gnome.org/show_bug.cgi?id=765195 build/Makefile.am | 11 +- build/Makefile.msvc-introspection | 125 ++++++++++ build/gen-file-list-gtk.py | 100 -------- build/gtk-introspection-msvc.mak.in | 101 -------- build/introspection-msvc.mak | 65 ----- build/msvcfiles.py | 261 --------------------- build/win32/Makefile.am | 33 ++- .../detectenv-msvc.mak} | 21 +- build/win32/gtk-introspection-msvc.mak | 43 ++++ build/win32/introspection-msvc.mak | 94 ++++++++ configure.ac | 1 - gdk/Makefile.am | 50 +++- gtk/Makefile.am | 75 +++++- 13 files changed, 423 insertions(+), 557 deletions(-) commit f0c2d3a7a8b419b2b240b92cfcc2a1e47602cc12 Author: Lapo Calamandrei Date: Tue Apr 19 01:18:34 2016 +0200 Adwaita: better shadow stacking mixin gtk/theme/Adwaita/_drawing.scss | 20 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 206 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 200 +++++++++++++++--------------- 3 files changed, 213 insertions(+), 213 deletions(-) commit b584b3d12a570aef70a4d64b4a6593f58c62cfad Author: Christian Hergert Date: Mon Apr 18 14:16:20 2016 -0700 frame-clock: avoid g_signal_emit_by_name() These were showing up higher in Sysprof profiles. The simple fix is to avoid the emit_by_name() and let the interface emit the signals directly. No function preconditions are provided since these are internal API. gdk/gdkframeclock.c | 42 ++++++++++++++++++++++++++++++++++++++++++ gdk/gdkframeclockidle.c | 14 +++++++------- gdk/gdkframeclockprivate.h | 8 ++++++++ 3 files changed, 57 insertions(+), 7 deletions(-) commit bdb451ad863a0e6cdae40dfc302564cb09059274 Author: Lapo Calamandrei Date: Tue Apr 19 00:11:09 2016 +0200 Adwaita: fix infobar text color in backdrop windows see https://bugzilla.gnome.org/show_bug.cgi?id=765213 gtk/theme/Adwaita/_common.scss | 11 ++++++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 33 ++++++++++++++++++++++++++++---- gtk/theme/Adwaita/gtk-contained.css | 33 ++++++++++++++++++++++++++++---- 3 files changed, 66 insertions(+), 11 deletions(-) commit 99c2423043f0c95a60093c618e00823e42e0ddfa Author: Matthias Clasen Date: Mon Apr 18 15:04:37 2016 -0400 font button: Convert from pango to css properly This utility function should probably find a home somewhere else. For now, this makes the deprecation warning go away. gtk/gtkfontbutton.c | 129 +++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 123 insertions(+), 6 deletions(-) commit 519af3f91d65a9ec8a6f49b0d078ac12271042a1 Author: Benjamin Otte Date: Mon Apr 18 20:25:11 2016 +0200 cssimage: Warn if gradients only have 1 color stop GTK <= 3.20 allowed that but the CSS spec and borwsers do not. We might want to just remove that feature, but for now, we just warn. gtk/gtkcssimagelinear.c | 8 ++++++++ gtk/gtkcssimageradial.c | 8 ++++++++ 2 files changed, 16 insertions(+) commit fd373162b547b777d9c31cdc2fc84b2e337e0d52 Author: Benjamin Otte Date: Mon Mar 28 01:50:32 2016 +0200 theme: linear-gradient() needs 2 color-stops So make sure our _solid() function gives it two. gtk/theme/Adwaita/_drawing.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 192 +++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 192 +++++++++++------------ gtk/theme/HighContrast/_drawing.scss | 2 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 18 +-- gtk/theme/HighContrast/gtk-contained.css | 18 +-- 6 files changed, 212 insertions(+), 212 deletions(-) commit f51b15808a89b045c8ff9f233f37b8799accc99a Author: Benjamin Otte Date: Sun Mar 27 19:41:19 2016 +0200 theme: Split out _solid() function The function creates a solid color image. Currently this is done with linear-gradient(). gtk/theme/Adwaita/_common.scss | 20 +++++++-------- gtk/theme/Adwaita/_drawing.scss | 29 ++++++++++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 32 ++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 32 ++++++++++++------------ gtk/theme/HighContrast/_common.scss | 12 ++++----- gtk/theme/HighContrast/_drawing.scss | 11 +++++--- gtk/theme/HighContrast/gtk-contained-inverse.css | 2 +- gtk/theme/HighContrast/gtk-contained.css | 2 +- 8 files changed, 75 insertions(+), 65 deletions(-) commit de76139feadc146a9d42d5c5d9a681f3daaac003 Author: Benjamin Otte Date: Sun Apr 3 03:39:46 2016 +0200 win32 theme: Fix functions to not have spaces CSS doesn't allow that (although GTK's CSS parser did so far not complain). gtk/theme/win32/gtk-win32-base.css | 52 +++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 26 deletions(-) commit 5ab6ff6b5e832cb51ff5f260e938b654d4e95ae9 Author: Matthias Clasen Date: Mon Apr 18 14:38:53 2016 -0400 Expand css style font tests Test more of the syntax of the font: shorthand. testsuite/css/style/font.css | 18 +++++++++++++++++- testsuite/css/style/font.nodes | 34 +++++++++++++++++++++++++++++++++- testsuite/css/style/font.ui | 29 +++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+), 2 deletions(-) commit 2603011ea06b657dfafc3b1f81b3a929e84b1281 Author: Matthias Clasen Date: Mon Apr 18 14:38:12 2016 -0400 Fix a typo We don't want to parse a weight twice, but a weight and a stretch. gtk/gtkcssshorthandpropertyimpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 492a406bbd971f68b596324ddd2b61dacd6ac2dc Author: Matthias Clasen Date: Mon Apr 18 14:17:55 2016 -0400 HighContrast: Fix font: usage gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 2 +- gtk/theme/HighContrast/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 68ce676498724aac94f22076ef13f19dd795f5e9 Author: Matthias Clasen Date: Mon Apr 18 14:09:41 2016 -0400 Add backwards compat back Apparently, there's lots of font: "pango font description" out there, so keep parsing this, with a deprecation warning. gtk/gtkcssshorthandpropertyimpl.c | 61 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) commit df22f3017bbe5c4ff24565862d3a2204f0869be8 Author: Matthias Clasen Date: Mon Apr 18 11:45:55 2016 -0400 Adwaita: Fix use of font: shorthand gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 34 +++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 34 +++++++++++++++++--------------- 3 files changed, 37 insertions(+), 33 deletions(-) commit dcd20e17e5d668de1b0075a076b9968caf52851c Author: Matthias Clasen Date: Mon Apr 18 11:43:29 2016 -0400 Fix parsing of the font: shorthand Our code here was just throwing it at PangoFontDescription. Fix this by parsing the various components ourselves. gtk/gtkcssshorthandpropertyimpl.c | 63 ++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 34 deletions(-) commit 7b9b661aead6c491397b57c63acdc45d93c08a58 Author: Matthias Clasen Date: Mon Apr 18 11:43:01 2016 -0400 Export some font parsing functions These will be used for parsing the font: shorthand too. gtk/gtkcssstylepropertyimpl.c | 20 ++++++++++++++++---- gtk/gtkcssstylepropertyprivate.h | 4 ++++ 2 files changed, 20 insertions(+), 4 deletions(-) commit 5993875d38ce318c6b391d6dab5182a7400a8bdc Author: Matthias Clasen Date: Mon Apr 18 11:40:10 2016 -0400 Fix the css style font test Setting the font: shorthand to something like smaller is not in line with the css spec. Just set the font-size: property for this. Also fix the other font: shorthand to specify size and family according to the css spec. testsuite/css/style/font.css | 4 ++-- testsuite/css/style/font.nodes | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) commit 31a12c6a230e6ddb1ba4e752b5a1aa1eb9967a30 Author: Matthias Clasen Date: Mon Apr 18 09:43:10 2016 -0400 css style: Rename some static functions Make the font property functions follow the general naming scheme, and remove pango from the names. gtk/gtkcssstylepropertyimpl.c | 78 +++++++++++++++++++++---------------------- 1 file changed, 39 insertions(+), 39 deletions(-) commit bbb45a2b2dfd2976a7ff29ff4b71ba3f6e3f1db2 Author: Matthias Clasen Date: Mon Apr 18 09:42:40 2016 -0400 Add docs for new API gdk/gdkpango.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit f7108d4d43d233868f4d3dbf7c3b73e19ab1ba05 Author: Carlos Garnacho Date: Mon Apr 18 14:10:49 2016 +0100 wayland: Improve checks when flushing scroll events If we get gdk_wayland_seat_flush_frame_event() with no previous event to be flushed, we fallback into the scroll event checks. However, there's no check performed there as to whether it really scrolled, so it'd always send a smooth scroll event with 0/0 deltas in this case. This should be mostly harmless, but still, we should only end up emitting scroll events if those really happened. gdk/wayland/gdkdevice-wayland.c | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) commit bfcd9a2193215cd1b3bcf415c02922e524958bc6 Author: Carlos Garnacho Date: Mon Apr 18 13:10:24 2016 +0100 wayland: Do not check the pointer focus when receiving wl_pointer.frame The frame event is also meant to compress wl_pointer.leave events, at this point the focus surface will be definitely NULL. In the end, wl_pointer.frame should flush the last composed event despite the pointer focus. https://bugzilla.gnome.org/show_bug.cgi?id=765065 gdk/wayland/gdkdevice-wayland.c | 3 --- 1 file changed, 3 deletions(-) commit 358d15ae5eabfa52b2dc3458e8ac59bec4d4e473 Author: Carlos Garnacho Date: Sun Apr 17 21:19:58 2016 +0100 gdk: Make GDK_TOUCH_CANCEL be dealt with similarly to GDK_TOUCH_END We must emit the cancel event with the same semantics, and towards the GdkWindow that is currently under the touchpoint, so make proxy_button_event() deal with GDK_TOUCH_CANCEL. Fixes the GDK_TOUCH_CANCEL event being emitted only on the toplevel, which is usually non-sufficient. gdk/gdkwindow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 921c154e386698eb83e06d87823ce1b25ab5d779 Author: Matthias Clasen Date: Thu Mar 31 21:35:43 2016 -0400 widget: Use gdk_pango_get_for_display gtk/gtkwidget.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) commit 117c0c0aea19b97aa93e8774fd72072fe8888343 Author: Matthias Clasen Date: Thu Mar 31 21:33:03 2016 -0400 Add gdk_pango_context_get_for_display This is the obvious 1 line equivalent of the for_screen function. docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkpango.c | 10 +++++++++- gdk/gdkpango.h | 2 ++ 3 files changed, 12 insertions(+), 1 deletion(-) commit 07f124e92dfbe384e0ca2163cc71db0386bf55f2 Author: Piotr Drąg Date: Mon Apr 18 02:36:20 2016 +0200 Updated Polish translation po/pl.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit fe74c81a7055c241bef28e351a3f10280d2d42b7 Author: Lapo Calamandrei Date: Sun Apr 17 23:40:29 2016 +0200 Adwaita: cosmetics gtk/theme/Adwaita/_common.scss | 41 +++++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 22 deletions(-) commit 86ba132ded7a762daed861bdb4169a82a14b6917 Author: Lapo Calamandrei Date: Sun Apr 17 23:08:26 2016 +0200 Adwaita: colorbutton colorswatch shadow fix reset colorswatch box-shadow on active and checked state as well following latest style changes. gtk/theme/Adwaita/_common.scss | 12 +++++++----- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 2 files changed, 9 insertions(+), 7 deletions(-) commit a763bd7df1f0b156b8aac5bfa37a0eb6ffd22fe8 Author: Lapo Calamandrei Date: Sun Apr 17 22:46:48 2016 +0200 Adwaita: increase opacity on scale label and marks using the same opacity as dim-label. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit 5a2eacfd040a4fc2f6d5987519339874c1a7b6d1 Author: Piotr Drąg Date: Sun Apr 17 20:22:47 2016 +0200 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.in | 1 + po-properties/POTFILES.skip | 1 + po/POTFILES.in | 1 + po/POTFILES.skip | 1 + 4 files changed, 4 insertions(+) commit 4aa257b66309b5c169fda5d8332e4446f3bffcb2 Author: Matthias Clasen Date: Sun Apr 17 13:41:29 2016 -0400 bloatpad: Make shortcuts window update This tests the just added functionality to make shortcuts track changes in their actions accelerators. examples/bp/gtk/help-overlay.ui | 55 +++++++++++++++++++++++++++++++++++------ 1 file changed, 48 insertions(+), 7 deletions(-) commit 50f041bc5750e615aef8ba81ecc7614542989143 Author: Matthias Clasen Date: Sun Apr 17 13:38:51 2016 -0400 shortcuts: Follow changes of accels Add a way to associate a detailed action name with a shortcut. If the action name is set, update the accelerator whenever accels change on the window that the shortcuts window is associated with. https://bugzilla.gnome.org/show_bug.cgi?id=764975 gtk/Makefile.am | 2 ++ gtk/gtkapplicationwindow.c | 3 ++ gtk/gtkshortcutsshortcut.c | 64 +++++++++++++++++++++++++++++++++++++++ gtk/gtkshortcutsshortcutprivate.h | 37 ++++++++++++++++++++++ gtk/gtkshortcutswindow.c | 62 ++++++++++++++++++++++++++++++++++++- gtk/gtkshortcutswindowprivate.h | 38 +++++++++++++++++++++++ 6 files changed, 205 insertions(+), 1 deletion(-) commit 268243834a002ee406ecd846fa66ceac42d68699 Author: Matthias Clasen Date: Sun Apr 17 10:22:59 2016 -0400 Add a help overlay to bloatpad This will let us explore the (non-)interaction between help overlays and editing shortcuts. examples/bp/Makefile.am | 3 ++- examples/bp/bloatpad.gresources.xml | 1 + examples/bp/gtk/help-overlay.ui | 47 +++++++++++++++++++++++++++++++++++++ examples/bp/gtk/menus.ui | 6 +++++ 4 files changed, 56 insertions(+), 1 deletion(-) commit cf144ea26f84f0121a2f681f6d408f4a8e1851ed Author: Lapo Calamandrei Date: Sun Apr 17 18:39:07 2016 +0200 Adwaita: clean up pushed button mixin gtk/theme/Adwaita/_drawing.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 32 ++++++++------------------------ gtk/theme/Adwaita/gtk-contained.css | 32 ++++++++------------------------ 3 files changed, 18 insertions(+), 50 deletions(-) commit bad15d410e341e643d83a6a66790b7858d653201 Author: Lapo Calamandrei Date: Sun Apr 17 18:19:38 2016 +0200 Adwaita: fix scale slider border color using the darker border color. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit a89d03d6b8c06fdb06a7740ca1cdf94846da4df7 Author: Lapo Calamandrei Date: Sun Apr 17 18:17:07 2016 +0200 Adwaita: flatten colorswatches gtk/theme/Adwaita/_common.scss | 10 +++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 5 ++--- gtk/theme/Adwaita/gtk-contained.css | 5 ++--- 3 files changed, 9 insertions(+), 11 deletions(-) commit d77dc25b8d52c6d2daedb1710a99772191c30479 Author: Lapo Calamandrei Date: Sun Apr 17 18:06:15 2016 +0200 Adwaita: more borders color tweaks gtk/theme/Adwaita/_colors.scss | 4 +- gtk/theme/Adwaita/gtk-contained-dark.css | 310 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 264 +++++++++++++------------- 3 files changed, 289 insertions(+), 289 deletions(-) commit b34c3dce2ac2924bed54424ec416cc1fd47f0d63 Author: Lapo Calamandrei Date: Sun Apr 17 15:26:22 2016 +0200 Adwaita: cosmetics gtk/theme/Adwaita/_colors.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 6ee670b697997208bdbcace4ee6c0077ba4ebb9a Author: Lapo Calamandrei Date: Sun Apr 17 15:24:57 2016 +0200 Adwaita: dark variant borders color tweaks gtk/theme/Adwaita/_colors.scss | 4 +- gtk/theme/Adwaita/gtk-contained-dark.css | 310 +++++++++++++++---------------- 2 files changed, 157 insertions(+), 157 deletions(-) commit 32674cb1d3bd486f77306ffe1662e65e3e0c9b07 Author: Lapo Calamandrei Date: Sun Apr 17 15:21:31 2016 +0200 Adwaita: pushed button style tweak use a solid background. gtk/theme/Adwaita/_drawing.scss | 6 +++-- gtk/theme/Adwaita/gtk-contained-dark.css | 44 ++++++++++++++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 44 ++++++++++++++++++++++---------- 3 files changed, 64 insertions(+), 30 deletions(-) commit f10971eefd3c01b49c6cb356d6d469a32ea7b5e8 Author: Lapo Calamandrei Date: Sun Apr 17 15:06:13 2016 +0200 Adwaita: button style tweak add a darker bottom border to buttons to add some depth. gtk/theme/Adwaita/_drawing.scss | 13 +++-- gtk/theme/Adwaita/gtk-contained-dark.css | 84 +++++++++++++++++++------------- gtk/theme/Adwaita/gtk-contained.css | 60 ++++++++++++++--------- 3 files changed, 96 insertions(+), 61 deletions(-) commit 4a9cf8527ed3c0826a195c65253612f23ba505a2 Author: Matthias Clasen Date: Sun Apr 17 01:54:43 2016 -0400 Add some more accelerator / modifier tests testsuite/gtk/accel.c | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) commit 666400881510fa985e246c3e36ad51f4845ec90a Author: Matthias Clasen Date: Sun Apr 17 01:50:23 2016 -0400 wayland: Make virtual modifier mapping more similar to X Ignore virtual modifiers that are mapped to Mod1 (as Meta often is), to avoid interfering with our fix interpretation of Mod1 as Alt. gdk/wayland/gdkkeys-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 96f0ed9ec5b5b071efabb15b03c37f40df7ae3b1 Author: Matthias Clasen Date: Sun Apr 17 01:09:32 2016 -0400 menuitem: Fix some possible problems with arrow_gadget https://bugzilla.gnome.org/show_bug.cgi?id=765134 shows a stacktrace where we end up with arrow_gadget being NULL despite the conditions for its presence being satisfied. This commit makes sure we call update_arrow_gadget() whenever any of the conditions changes. This should fix the reported crash. gtk/gtkmenuitem.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 5ba8a25d2966dc2cdc67a350d4ea6c4ecb293919 Author: Matthias Clasen Date: Sat Apr 16 23:16:12 2016 -0400 wayland: Fix the map_virtual_modifiers implementation We were not stripping real modifiers out, and thus always thought there's a conflict when the passed in modifiers included any real modifiers. gdk/wayland/gdkkeys-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 97d27ca2f8a22ee3a1043fa1ad0e0813d8293f13 Author: Bastien Nocera Date: Fri Apr 15 12:13:34 2016 +0200 cups: Fix gettext usage The previous patches didn't mark some strings as to be translated, and tried to translate strings with a variable part already inside the string, which isn't going to work. Mark the strings as translatable with context, and also make sure to translate static strings when getting them out of their structure. https://bugzilla.gnome.org/show_bug.cgi?id=764585 modules/printbackends/cups/gtkprintbackendcups.c | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) commit 5b7c06118c07dd0e8a8f1529b8991f780037aa80 Author: Lapo Calamandrei Date: Sat Apr 16 14:42:13 2016 +0200 Adwaita: ensure dialogs titlebar rounded corners broken from my previous commit about rounded corners, dialogs doesn't use the "window" node, but the "dialog" node, so use the .background styleclass in the selectors which is more generic. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit b64816ed8d887f27caaef0bacc20e0a7640912f4 Author: Lapo Calamandrei Date: Sat Apr 16 14:32:04 2016 +0200 Adwaita: more border color tweaking gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++++------- gtk/theme/Adwaita/gtk-contained.css | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) commit d5b26eb03489b96c0c53f8dfe7db0ab63b45ef0a Author: Lapo Calamandrei Date: Sat Apr 16 14:28:29 2016 +0200 Adwaita: lighten border color a bit gtk/theme/Adwaita/_colors.scss | 7 +- gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/_drawing.scss | 4 +- gtk/theme/Adwaita/gtk-contained-dark.css | 280 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 264 ++++++++++++++--------------- 5 files changed, 279 insertions(+), 278 deletions(-) commit 8394317cc23ee96c9d5f4bbb105d2074bd158187 Author: Lapo Calamandrei Date: Sat Apr 16 13:41:32 2016 +0200 Adwaita: flatten the switch base gtk/theme/Adwaita/_common.scss | 19 +++++-------------- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++------------ gtk/theme/Adwaita/gtk-contained.css | 16 ++++------------ 3 files changed, 13 insertions(+), 38 deletions(-) commit b744c07b447f2c5d84bc86dd1d01fbbca7dc044f Author: Lapo Calamandrei Date: Sat Apr 16 13:35:48 2016 +0200 Adwaita: flatten entries and similar widgets gtk/theme/Adwaita/_common.scss | 10 +++------- gtk/theme/Adwaita/_drawing.scss | 25 ++++++++----------------- gtk/theme/Adwaita/gtk-contained-dark.css | 28 +++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 28 +++++++++++++--------------- 4 files changed, 37 insertions(+), 54 deletions(-) commit 2184c910ebc0f3ac1d176250b2fb857323116b09 Author: Lapo Calamandrei Date: Sat Apr 16 13:21:39 2016 +0200 Adwaita: delete unused mixin gtk/theme/Adwaita/_drawing.scss | 26 -------------------------- 1 file changed, 26 deletions(-) commit 940c77ad43820972dc7423b84db6183efdfb89e9 Author: Lapo Calamandrei Date: Sat Apr 16 13:19:41 2016 +0200 Adwaita: flatten scale and progressbar trough gtk/theme/Adwaita/_common.scss | 27 +++++++-------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 25 +++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 25 +++++++++---------------- 3 files changed, 25 insertions(+), 52 deletions(-) commit 8ee4e45f8a9ded46aa02f0f7bc8cd8267d7d4399 Author: Lapo Calamandrei Date: Sat Apr 16 11:58:14 2016 +0200 Adwaita: ensure titlebar corners are not rounded... ...when the window is maximized or tiled, by using more specific selectors, since there were cases of erroneusly rounded corners. See https://bugzilla.gnome.org/show_bug.cgi?id=765038 gtk/theme/Adwaita/_common.scss | 9 +++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 13 insertions(+), 12 deletions(-) commit 64c2a65cc07e8beb11ada231a9f8e13b2e9abbb1 Author: Matthias Clasen Date: Fri Apr 15 22:20:25 2016 -0400 wayland: Implement virtual modifiers Since Wayland is using libxkbcommon, it inherits X unfortunate real/virtual modifier distinction, so we have to do the same gymnastics we do for X to map between the two. This should fix matching of accelerators using virtual modifiers (modulo gnome-shell bugs regarding the handling of Super). https://bugzilla.gnome.org/show_bug.cgi?id=764424 gdk/wayland/gdkkeys-wayland.c | 52 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 50 insertions(+), 2 deletions(-) commit 101cecf7248f7b1ff7d1f66c782a26832a392dbb Author: Matthias Clasen Date: Fri Apr 15 22:13:30 2016 -0400 Clarify docs a bit The wording here was just awkward: TRUE is returned if... Note that FALSE is also returned if... gdk/gdkkeys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3ed9cb2488baf3733d6232c382a58ae96d6b26d5 Author: Руслан Ижбулатов Date: Fri Apr 15 17:37:49 2016 +0000 gtk-builder-tool: use g_printf() instead of g_print() 1) g_print() can be redirected 2) g_print() does some extra processing, such as character set conversion. Specifically, on W32 it will detect system codepage via GetACP(), and will convert UTF-8 output into that codepage, even though the output should stay unchanged (whether gtk-builder-tool interprets strings from ui files as UTF-8 is a separate matter). https://bugzilla.gnome.org/show_bug.cgi?id=765118 gtk/gtk-builder-tool.c | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) commit 159c65dcb8d3084dfbc003bb331840e5042c3985 Author: Lapo Calamandrei Date: Fri Apr 15 18:28:26 2016 +0200 Adwaita: really fix solid-csd add a specificity bump hack in the titlebar solid-csd styling to avoid being overridden by the split titlebar theme logic. gtk/theme/Adwaita/_common.scss | 12 +++++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 8 +++++--- gtk/theme/Adwaita/gtk-contained.css | 8 +++++--- 3 files changed, 17 insertions(+), 11 deletions(-) commit de7862749468ac32f7065a5fd16d3c60b20b10e7 Author: Lapo Calamandrei Date: Fri Apr 15 18:00:37 2016 +0200 Adwaita: fix backdrop solid-csd titlebar rounded corners were not overridden for backdrop state. gtk/theme/Adwaita/_common.scss | 12 +++++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 11 insertions(+), 7 deletions(-) commit 266ae74afc671a4ec03a3379f9d17fdafca3780a Author: Lapo Calamandrei Date: Fri Apr 15 16:51:29 2016 +0200 Adwaita: better solid-csd styling gtk/theme/Adwaita/_common.scss | 23 +++++++++++++++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 18 ++++++++++++++---- gtk/theme/Adwaita/gtk-contained.css | 18 ++++++++++++++---- 3 files changed, 45 insertions(+), 14 deletions(-) commit 8ebb6969cbe49e75df37d8d7b55ae0814d7f3878 Author: Jeremy Tan Date: Fri Apr 15 19:22:20 2016 +0800 GDK W32: Fix positioning of reparented window MoveWindow should not be used over the pre-existing move/resize functions, which already correctly position a window with respect to its parent, while also taking into account the size of window decorations. https://bugzilla.gnome.org/show_bug.cgi?id=765100 gdk/win32/gdkwindow-win32.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 8a2061f581d3dcb3928ccd5aeac77f6127c52cf4 Author: Matthias Clasen Date: Thu Apr 14 22:52:59 2016 -0400 inspector: Don't lie with statistics If we don't have statistics, despite GOBJECT_DEBUG being set, explain how to fix this. gtk/inspector/statistics.c | 11 +++++++++++ gtk/inspector/statistics.ui | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) commit 7552b7fca80a930a35bc6a0fe34aaaf7c5bd440e Author: Matthias Clasen Date: Thu Apr 14 15:30:59 2016 -0400 GtkBuilder: Mention how GVariant properties are parsed gtk/gtkbuilder.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) commit 3bc58d01e37ecb75be7567bb28cc217d2aaaab9b Author: Benjamin Otte Date: Thu Apr 14 21:03:27 2016 +0200 iconhelper: Invalidate on clear() When clearing the icon helper, we need to invalidate it. Otherwise the previous icon keeps lingering along. This is not relevant inside gtkiconhelper.c where other code causes the invalidation, but happens when external code calls _gtk_icon_helper_clear(). https://bugzilla.gnome.org/show_bug.cgi?id=765066 gtk/gtkiconhelper.c | 2 ++ 1 file changed, 2 insertions(+) commit 7200ac8e566e1c7c2d7ffb8722eb2e3ee2fd1da2 Author: Matt Watson Date: Wed Apr 13 12:46:01 2016 -0700 Fix label css test The default font size of 10pt will now properly render as 13.33px, but we shouldn't use the default anyway as that can be controlled by user settings testsuite/css/style/label.css | 1 + testsuite/css/style/label.nodes | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit b0b1bf2f58fa036668e1669e2f465f0218a168a1 Author: Felipe Borges Date: Wed Apr 13 20:00:19 2016 +0200 cups: make string non-literals translatable again Notice that C_ just takes string literals as arguments. https://bugzilla.gnome.org/show_bug.cgi?id=764585 modules/printbackends/cups/gtkprintbackendcups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e92eaaa0493f50ff9b9e01049c026cc42b8653e2 Author: Sebastien Bacher Date: Thu Mar 17 13:57:41 2016 +0100 gtkplacessidebar: don't margins in the code those should rather be defined by the theme https://bugzilla.gnome.org/show_bug.cgi?id=763768 gtk/gtkplacessidebar.c | 2 -- 1 file changed, 2 deletions(-) commit 46cdb44fdd7466f0d524eeb4eec6c504fd64208b Author: Carlos Garnacho Date: Thu Apr 14 11:05:00 2016 +0200 GtkWindow: Ensure the toplevel is realized before realizing popovers Otherwise those get a NULL parent window, which is toplevel-y enough to disembody the popover. https://bugzilla.gnome.org/show_bug.cgi?id=764060 gtk/gtkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 260d521dd7f2cdfb9a88c32280120fabfb3a27d0 Author: Jeremy Tan Date: Wed Apr 13 21:39:46 2016 +0800 GDK W32: Fix bounding rect calculation on window creation The bounding rect specifies the top left and bottom right corners - the bottom right corner must account for the current window position. https://bugzilla.gnome.org/show_bug.cgi?id=764996 gdk/win32/gdkwindow-win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5cf4de8f27bbb7ea2d2f0a6d7d113525e4d50b1f Author: Piotr Drąg Date: Wed Apr 13 15:29:48 2016 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 4 ++++ po/POTFILES.skip | 4 ++++ 2 files changed, 8 insertions(+) commit 027702e453d51016abb8a9225a203510918ddded Author: Felipe Borges Date: Tue Apr 12 15:55:19 2016 +0200 cups: Fix more "format not a string literal" error https://bugzilla.gnome.org/show_bug.cgi?id=764585 modules/printbackends/cups/gtkprintbackendcups.c | 61 +++++++++++++++++++----- 1 file changed, 48 insertions(+), 13 deletions(-) commit 31c5f0dc7f66c9a3b4310515809a79a85fa2b759 Author: YunQiang Su Date: Wed Apr 13 20:14:44 2016 +0800 update zh_CN translation po-properties/zh_CN.po | 5538 +++++++++++++++++++++++++++--------------------- 1 file changed, 3071 insertions(+), 2467 deletions(-) commit 4dcd33f2d5f1bcabc8b5195a85d4f92054506e1e Author: YunQiang Su Date: Wed Apr 13 16:41:00 2016 +0800 update zh_CN translation po/zh_CN.po | 416 ++++++++++++++++++++++++++---------------------------------- 1 file changed, 179 insertions(+), 237 deletions(-) commit 871b19f9ddfa0c89fafe1e77f835aa7496ad52fd Author: Matt Watson Date: Mon Apr 11 21:35:09 2016 -0700 reftests: test rem size testsuite/reftests/css-rem-label-size.css | 11 +++++++++++ testsuite/reftests/css-rem-label-size.ref.ui | 19 +++++++++++++++++++ testsuite/reftests/css-rem-label-size.ui | 19 +++++++++++++++++++ 3 files changed, 49 insertions(+) commit 92a496fdec61b18184b11aff5902b53665cc785f Author: Matt Watson Date: Mon Apr 11 16:17:08 2016 -0700 reftests: test em size testsuite/reftests/Makefile.am | 3 + testsuite/reftests/css-em-label-size.css | 37 +++ testsuite/reftests/css-em-label-size.ref.ui | 382 ++++++++++++++++++++++++++++ testsuite/reftests/css-em-label-size.ui | 357 ++++++++++++++++++++++++++ 4 files changed, 779 insertions(+) commit df08fc91bdc1d2e4c866122304fabe4dd298a7de Author: Matt Watson Date: Mon Apr 11 18:18:31 2016 -0700 css: always get default font size in pixels Fixes a couple bugs... - Pixel font sizes in css would render as point sizes. - For em font sizes, where the parent size was set and not default, we would incorrectly convert a pixel value from points to pixels. We'll always grab the default font size in pixels so we don't keep confusing things. Worth noting that gtk css font-size will still behave differently than the web. Pango interprets font-size differently. gtk/gtkcssdimensionvalue.c | 24 +++++++++++------------ gtk/gtkcssenumvalue.c | 41 +++++++++++++++++++++++++-------------- gtk/gtkcssenumvalueprivate.h | 3 ++- gtk/gtkcssshorthandpropertyimpl.c | 5 ++++- 4 files changed, 44 insertions(+), 29 deletions(-) commit f9ba55eaad6b2bb1d85a2d78202c3abe6a0b67d0 Author: Sébastien Wilmet Date: Sun Apr 10 16:58:49 2016 +0200 app: add missing g_returns And have the g_returns in the same order as the function parameters. https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit c2aa7d074960e455a37912bf6083132d6afe08dd Author: Руслан Ижбулатов Date: Mon Apr 11 07:07:14 2016 +0000 GDK W32: Deduplicate reparenting gdk_window_reparent() already changes children list for old and new parent. Doing so twice results in a circular reference in the list, which can hang the application later, for example in gtk_window_show(). https://bugzilla.gnome.org/show_bug.cgi?id=764845 gdk/win32/gdkwindow-win32.c | 9 --------- 1 file changed, 9 deletions(-) commit c8d11085740b8c8d67bab01c99ff16efbcc26fe0 Author: Rico Tzschichholz Date: Tue Apr 12 13:30:04 2016 +0200 gtk: Annotate GtkFlowBoxCreateWidgetFunc as "transfer full" gtk/gtkflowbox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 413d27508f92306bb6daf87426b6444525391f27 Author: Balló György Date: Sun Apr 10 21:42:04 2016 +0200 GtkTrayIcon: fix uninitialised variable https://bugzilla.gnome.org/show_bug.cgi?id=764863 gtk/deprecated/gtktrayicon-x11.c | 1 + 1 file changed, 1 insertion(+) commit 3f8313c735e4ff49cd993a185de2b09be4db684a Author: Mohammed Sadik Date: Tue Apr 12 06:54:35 2016 +0530 documentation: trivial typo fixes in GtkWidget https://bugzilla.gnome.org/show_bug.cgi?id=764925 gtk/gtkwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a3bff7d41e8dd89bdec726a148207c58cf35db87 Author: Ignacio Casal Quinteiro Date: Mon Apr 11 22:22:37 2016 +0200 win32: rollback change and use _gdk_display This makes usage of _gdk_display again when creating a window. This is needed because there is a window created when the display is being initialized, so it becomes a chicken and egg problem. For now we roll back this to fix the wintab crash but we might want to fix this again in the future by improving the wintab initialization. https://bugzilla.gnome.org/show_bug.cgi?id=764664 gdk/win32/gdkwindow-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c9add3161f8fa3ea666189ac9e4de4c881ec676a Author: Ignacio Casal Quinteiro Date: Mon Apr 11 22:22:23 2016 +0200 win32: add missing empty lines gdk/win32/gdkdisplay-win32.c | 4 ++++ 1 file changed, 4 insertions(+) commit 2f875129f1a30087b4a03119fb89eb13e64b6557 Author: Arash Mousavi Date: Mon Apr 11 22:56:23 2016 +0430 Update Persian translations po/fa.po | 2271 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1251 insertions(+), 1020 deletions(-) commit 6e47dad33d673e1360cdb55b50cb38b91e43b36d Author: Matthias Clasen Date: Mon Apr 11 11:57:46 2016 -0400 gdkdevice: Expose tool as property This may occasionally be useful. gdk/gdkdevice.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) commit 28042ef3363f8ad069190c355503801b20742217 Author: Matthias Clasen Date: Mon Apr 11 07:52:39 2016 -0400 listbox: Fix css node ordering When inserting a child at the top, we were not inserting its css node properly. https://bugzilla.gnome.org/show_bug.cgi?id=764710 gtk/gtklistbox.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit 646492ceead58e3950e83d266c80c71d34bf22b2 Author: Mohammed Sadik Date: Sun Apr 10 11:49:20 2016 +0530 broadway: fix documentation broadway backend has 0 as the default display port, which maps to tcp port 8080. https://bugzilla.gnome.org/show_bug.cgi?id=764835 docs/reference/gtk/broadway.xml | 8 ++++---- docs/reference/gtk/broadwayd.xml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) commit 9610675faf9766bd069b43da9b445271649e8b9b Author: Emmanuele Bassi Date: Sun Apr 10 18:41:23 2016 +0100 recent-manager: Always ensure that size is reset on creation Whenever we create a new GBookmarkFile, we need to set the size to 0. https://bugzilla.gnome.org/show_bug.cgi?id=620065 gtk/gtkrecentmanager.c | 1 + 1 file changed, 1 insertion(+) commit cc08a965be0a7663f2491ac100f89e56c8e31d0e Author: Emmanuele Bassi Date: Sun Apr 10 18:39:33 2016 +0100 recent-manager: Fix the error domain and message on move_item() Using NOT_FOUND when moving is wrong and unhelpful. https://bugzilla.gnome.org/show_bug.cgi?id=620065 gtk/gtkrecentmanager.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit bccef4e41aa45801b96dfd1c33a376d2fa1bb6e6 Author: Emmanuele Bassi Date: Sun Apr 10 18:28:01 2016 +0100 recent-manager: Emit ::changed on file deletion This will clear out the list of recently used files, and will allow GVFS to handle this case. https://bugzilla.gnome.org/show_bug.cgi?id=693077 gtk/gtkrecentmanager.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 90d28d6bbf1aae0184e39b8078c21bce45455cd9 Author: Emmanuele Bassi Date: Sun Apr 10 17:51:58 2016 +0100 Assign a recent manager if one is set The GtkRecentAction implementation ignored a GtkRecentManager passed to its :manager property. https://bugzilla.gnome.org/show_bug.cgi?id=620065 gtk/deprecated/gtkrecentaction.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ee58a52a61a55f7723b938b05ceb0ad71bfbbafd Author: Sébastien Wilmet Date: Sun Apr 10 11:08:57 2016 +0200 app: minor code improvements - use GDK_EVENT_PROPAGATE - pass better zero-values to gtk_init(), since the parameters are pointers. https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1f87c1cc0bec13db3641631f298e8f4a830ca455 Author: Sébastien Wilmet Date: Sun Apr 10 12:41:09 2016 +0200 app: improve code of extract_accels_from_menu() sub_model is clearer than "m". And we don't use the key, so we can pass NULL instead. https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 687d3eb48f864bd7255b59a9eb9d77b851b341a2 Author: Sébastien Wilmet Date: Sun Apr 10 14:15:35 2016 +0200 app: use g_set_object() https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) commit 29971b0cc9b5035235ffcc48c34fb99cbf396534 Author: Sébastien Wilmet Date: Sun Apr 10 12:28:14 2016 +0200 app: don't use deprecated function gtk_application_add_accelerator() is deprecated, but was still used inside IGNORE_DEPRECATIONS's. https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 399e8db3365cebf7b8bd02de7a940203a3b8ed15 Author: Sébastien Wilmet Date: Sun Apr 10 12:56:39 2016 +0200 app: improve doc of gtk_application_get_window_by_id() https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 3 +++ 1 file changed, 3 insertions(+) commit 40e40b7ffc01f445d1084a1788559068f2197d6b Author: Sébastien Wilmet Date: Sat Apr 9 17:42:12 2016 +0200 app: improve doc of gtk_application_set_accels_for_action() When reading the API for the first time I didn't know what was the "detailed" action name. https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 3 +++ 1 file changed, 3 insertions(+) commit 48afd8a5f0fc6f293fde5d4e176cfa90eb45a37c Author: Sébastien Wilmet Date: Sat Apr 9 12:50:43 2016 +0200 app: avoid code duplication for setting accels The implementation of the deprecated functions is now based on the non-deprecated gtk_application_set_accels_for_action(). https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) commit 8fc1ca1ef28bc70a5581112185a776f6158b0d6d Author: Lukas K Date: Sun Apr 3 15:31:05 2016 +0200 Fix gtk_scrollable_get_border annotation https://bugzilla.gnome.org/show_bug.cgi?id=764540 gtk/gtkscrollable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 99e92a60f29367bc95a9f6ee99d4b7dc4b6b0bb1 Author: Zahari Yurukov Date: Sun Apr 10 16:31:35 2016 +0300 Updated Bulgarian translation po/bg.po | 3329 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 2119 insertions(+), 1210 deletions(-) commit fe80230985b9c73515ad867cb49e3c7b769fa7de Author: Friedrich Beckmann Date: Thu Apr 7 09:33:41 2016 +0200 quartz: zoom/rotate change compile/runtime check from 10.7 to 10.8 The zoom/rotate change for quartz does not build on 10.7. This change adds zoom/rotate support in quartz only for 10.8 and following. The problems is described here: https://bugzilla.gnome.org/show_bug.cgi?id=760276 and here https://trac.macports.org/ticket/51052 NSEventPhaseMayBegin was only introduced in 10.8 although documentation says it is introduced in 10.7. Tests on 10.7 indicate that the phase property for the Magnify event is not supported at all on 10.7 gdk/quartz/gdkevents-quartz.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 7dc588c4d377dbfe54061f35dc67f35cefac9c03 Author: Matthias Clasen Date: Sat Apr 9 17:35:58 2016 -0400 Add a note about GDK_AXIS_X/Y These axes mmay or may not be present, best to ignore them. gdk/gdktypes.h | 4 ++++ 1 file changed, 4 insertions(+) commit 0d64582688ac7592fefacca6aae9b11b171f1624 Author: Matthias Clasen Date: Sat Apr 9 17:31:39 2016 -0400 wayland: Keyboard don't have x/y These axes are not very useful in the first place, but on a keyboard they just don't make any sense at all. gdk/wayland/gdkdevice-wayland.c | 3 +++ 1 file changed, 3 insertions(+) commit 1b0c6e4aa1f5d085d5d3b6e785d2dd35ebf6e031 Author: Matthias Clasen Date: Sat Apr 9 17:04:57 2016 -0400 Mention geometry handling changes in release notes README.in | 5 +++++ 1 file changed, 5 insertions(+) commit abff6e23c0a622f087c7a1bcd575cd32c30b17d4 Author: Matthias Clasen Date: Sat Apr 9 15:47:56 2016 -0400 inspector: simplify some code gtk/inspector/general.c | 39 ++++++++++----------------------------- 1 file changed, 10 insertions(+), 29 deletions(-) commit 9044f78751b1f795257bcd35ac37b8d39b0ae3be Author: Matthias Clasen Date: Sat Apr 9 15:20:07 2016 -0400 Move GdkDeviceTool into its own files gdk/Makefile.am | 3 + gdk/gdk.h | 1 + gdk/gdkdevice.c | 149 +--------------------------------- gdk/gdkdevice.h | 103 ------------------------ gdk/gdkdeviceprivate.h | 19 +---- gdk/gdkdevicetool.c | 173 ++++++++++++++++++++++++++++++++++++++++ gdk/gdkdevicetool.h | 75 +++++++++++++++++ gdk/gdkdevicetoolprivate.h | 46 +++++++++++ gdk/gdkevents.h | 1 + gdk/gdkseatdefault.c | 2 +- gdk/gdktypes.h | 62 ++++++++++++++ gdk/wayland/gdkdevice-wayland.c | 1 + gdk/x11/gdkdevicemanager-xi2.c | 1 + 13 files changed, 366 insertions(+), 270 deletions(-) commit 6db7de3f7ba42d667c305d76aaef55f09e0c26d9 Author: Sébastien Wilmet Date: Sat Apr 9 15:21:27 2016 +0200 app: fix indentation And add missing curly braces. gtk/gtkapplication.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit af1c873bca212303a6fe3829d38298d9e0493eec Author: Matthias Clasen Date: Sat Apr 9 12:14:33 2016 -0400 inspector: Use GdkAxes instead of GdkAxisUse gtk/inspector/general.c | 57 +++++++++++++++++-------------------------------- 1 file changed, 19 insertions(+), 38 deletions(-) commit d83ad00f9ec245014f45d426abad8180945563db Author: Matthias Clasen Date: Sat Apr 9 11:54:07 2016 -0400 inspector: Add an origin mark to the slowdown scale Makes it easier to get back to the original speed. gtk/inspector/visual.ui | 3 +++ 1 file changed, 3 insertions(+) commit e6c408c08a21cccc5ea3104da257fccddc8d55f4 Author: Matthias Clasen Date: Sat Apr 9 11:46:12 2016 -0400 inspector: Give the font scale an entry This matches what Matt did for the slowdown. gtk/inspector/visual.c | 52 ++++++++++++++++++++++++++++++++++++++++--------- gtk/inspector/visual.ui | 18 +++++++++++++---- 2 files changed, 57 insertions(+), 13 deletions(-) commit b3dc473057143173eb59378680219635265787d0 Author: Sébastien Wilmet Date: Fri Apr 8 20:13:07 2016 +0200 docs: trivial fixes in GtkApplication-related documentation gtk/gtkactionable.c | 2 +- gtk/gtkapplication.c | 6 +++--- gtk/gtkapplicationwindow.c | 6 +++--- gtk/gtkwindow.c | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) commit a970ba5ef673c448775480fe76f363ae50ffaaec Author: Matt Watson Date: Tue Mar 22 01:10:21 2016 -0700 animatedstyle: don't share styleanimations Because of our port of css animation and css transition to progress tracker, we should not think of animated styles as immutable objects that can map any timestamp to css values. Rather, timestamps can correspond to different values depending on the value of GTK_SLOWDOWN over the course of the animation. To keep animated styles and style animations totally immutable, we will not share styleanimations between animatedstyles, and make a new copy of a styleanimation for each timestamp. gtk/gtkcssanimatedstyle.c | 29 +++++++++++++----------- gtk/gtkcssanimation.c | 45 ++++++++++++++++++++----------------- gtk/gtkcssanimationprivate.h | 5 +++-- gtk/gtkcsstransition.c | 37 +++++++++++++++++++++--------- gtk/gtkstyleanimation.c | 51 +++++++++++++++++++++++++++--------------- gtk/gtkstyleanimationprivate.h | 22 +++++++++--------- 6 files changed, 114 insertions(+), 75 deletions(-) commit 7b68bdb8316fc1bb96c4a5ad16c1885506131d22 Author: Matt Watson Date: Tue Mar 22 01:04:38 2016 -0700 animatedstyle: just ref current style if timestamp the same gtk/gtkcssanimatedstyle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6a88ac3b4cfa8a56f0bbcec66ecb05079d1a4ccd Author: Matt Watson Date: Tue Mar 22 00:54:11 2016 -0700 animatedstyle: fail to create new style if timestamp goes backwards With slowdown factor, we will only we be able to handle timestamps that monotonically increase. gtk/gtkcssanimatedstyle.c | 2 ++ 1 file changed, 2 insertions(+) commit 2800b00e1d5d46f374d50c279eb16aebd521ca4e Author: Matt Watson Date: Thu Mar 24 23:43:15 2016 -0700 cssanimation: port to progress tracker gtk/gtkcssanimatedstyle.c | 1 - gtk/gtkcssanimation.c | 121 ++++++++++++++++++------------------------- gtk/gtkcssanimationprivate.h | 6 +-- 3 files changed, 52 insertions(+), 76 deletions(-) commit 50e057e02541151a9de828dc7567042c00f499d1 Author: Matt Watson Date: Sun Mar 6 22:45:27 2016 -0800 csstransition: port to progress tracker gtk/gtkcssanimatedstyle.c | 5 +++-- gtk/gtkcsstransition.c | 39 +++++++++++++++++++++------------------ gtk/gtkcsstransitionprivate.h | 15 ++++++++------- 3 files changed, 32 insertions(+), 27 deletions(-) commit 511f1383281c3bdf45472fc53f806aebad83ea5d Author: Matt Watson Date: Mon Apr 4 23:44:04 2016 -0700 entry: port to progress tracker gtk/gtkentry.c | 50 +++++++++++++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 21 deletions(-) commit d57ebe2de7d1866e19910a790dbdb2e2d8ec1cb4 Author: Matt Watson Date: Mon Mar 28 01:08:48 2016 -0700 progressbar: port to progress tracker gtk/gtkprogressbar.c | 51 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 21 deletions(-) commit 5237b7a6b08d646f00561dfa2462427e99b1dd25 Author: Matt Watson Date: Mon Mar 28 14:54:34 2016 -0700 scrolledwindow: port indicator fade to progress tracker gtk/gtkscrolledwindow.c | 51 ++++++++++++++++--------------------------------- 1 file changed, 16 insertions(+), 35 deletions(-) commit dc8b80cd32ffec354eb9925e10c0ce5f6be4ddf6 Author: Matt Watson Date: Mon Mar 28 14:45:21 2016 -0700 popover: port to progress tracker gtk/gtkpopover.c | 30 +++++++----------------------- 1 file changed, 7 insertions(+), 23 deletions(-) commit 7ad64a20aa48b94b89919020643d6ab061e5260d Author: Matt Watson Date: Mon Mar 28 14:38:22 2016 -0700 switch: port to progress tracker gtk/gtkswitch.c | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) commit 2ff62595eda55548287cb2257b0864268e228405 Author: Matt Watson Date: Fri Mar 25 02:01:25 2016 -0700 revealer: port to progress tracker gtk/gtkrevealer.c | 50 ++++++++++++++------------------------------------ 1 file changed, 14 insertions(+), 36 deletions(-) commit 62b224a8dff39703bec39e13ea954b22029ba3df Author: Matt Watson Date: Tue Mar 1 17:19:50 2016 -0800 stack: skip first frame for animations Not the ideal solution for this problem, but in practice leads to much better performance on lower end hardware. Stack does a double draw on the first frame of its animation, of both the old contents (into a cairo surface) and the new contents. Homogeneous stacks only need to reallocate contents on the first frame. On lower powered hardware where our frames will be a good deal slower than the refresh rate anyway, we can assure a smother experience by waiting a frame to start tweening where frame duration will be more consistent. gtk/gtkstack.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 3909f818c4d78afccd3243e06452c03556c67b42 Author: Matt Watson Date: Mon Feb 29 22:24:39 2016 -0800 stack: port to progress tracker gtk/gtkstack.c | 86 +++++++++++++++++++++++----------------------------------- 1 file changed, 34 insertions(+), 52 deletions(-) commit 46b120b35e7eacea103cd95dff821232a5c9caa2 Author: Matt Watson Date: Mon Mar 14 03:38:55 2016 -0700 inspector: add slider to control slowdown factor gtk/inspector/visual.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/visual.ui | 50 +++++++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+) commit f2979323bfea80f57fa66264fcfd757e828f083b Author: Matt Watson Date: Mon Mar 14 03:38:23 2016 -0700 progresstracker: add GTK_SLOWDOWN environment variable As we consolidate widgets to use progress tracker, this will allow us to control the speed of all animations in a centralized place gtk/gtkmain.c | 8 ++++++++ gtk/gtkprivate.h | 4 ++++ gtk/gtkprogresstracker.c | 20 +++++++++++++++++++- 3 files changed, 31 insertions(+), 1 deletion(-) commit e71d09e9cb37a60a026bc39048d0e6ea14394f90 Author: Matt Watson Date: Mon Feb 29 21:39:33 2016 -0800 progresstracker: simple struct to track animation progress gtk/Makefile.am | 2 + gtk/gtkprogresstracker.c | 250 ++++++++++++++++++++++++++++++++++++++++ gtk/gtkprogresstrackerprivate.h | 75 ++++++++++++ 3 files changed, 327 insertions(+) commit f1cbd9ca13fd8b57f4f48aafdf915876f7bac85c Author: Carlos Garnacho Date: Fri Apr 8 17:25:53 2016 +0200 demos: Show slider/rotation axes in "Event axes" demo demos/gtk-demo/event_axes.c | 56 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) commit 057ae4ace00dd0213e9e6e9808ebbc2bc2ed655f Author: Carlos Garnacho Date: Fri Apr 8 17:25:04 2016 +0200 wayland: Propagate slider/rotation axes from tools to devices gdk/wayland/gdkdevice-wayland.c | 6 ++++++ 1 file changed, 6 insertions(+) commit b3ca11a6cb01b7830c46c067399577d9c3593d32 Author: Olivier Fourdan Date: Wed Apr 6 19:44:16 2016 +0200 test: do not remove files on distclean bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=764686 testsuite/a11y/state/Makefile.am | 1 - 1 file changed, 1 deletion(-) commit 83e775147f35145ff4e7122089fb48ddf8617fa5 Author: Olivier Fourdan Date: Thu Apr 7 15:56:46 2016 +0200 wayland: do not update shadows for child windows glade-previewer places a gtkwindow inside another toplevel gtkwindow, updating the shadow width for the client induces a busy loop where the parent will grow continuously until it crashes gnome-shell/mutter. To avoid the loop, do not update the shadow width if not dealing with a toplevel window. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=761651 gtk/gtkwindow.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit d3a3d0673f8a6c52dac5fbbbdebeee2f456e5742 Author: Carlos Garnacho Date: Fri Apr 8 15:08:15 2016 +0200 gdkevents: Fix GDK_AVAILABLE_IN annotation These functions have just been added. An oversight prior to merging wayland tablet. gdk/gdkevents.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6628ffd686859f7170ea6b8e908a6a805e570e92 Author: Carlos Garnacho Date: Wed Apr 6 17:29:11 2016 +0200 wayland: Check the tablet manager before creating a wp_tablet_seat This makes things non-crashy if the compositor doesn't provide wp_tablet_manager gdk/wayland/gdkdevice-wayland.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 48239ad72092a8115999872ed77b917f75e08bb8 Author: Carlos Garnacho Date: Tue Apr 5 14:33:29 2016 +0200 gtk3-demo: Add tool information to "Event axes" demo Print tool type and serial, if found. demos/gtk-demo/event_axes.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) commit cd1604ae1c6a2c4fd8250cc10b460ef5aa8a6a8e Author: Carlos Garnacho Date: Tue Jan 26 19:25:19 2016 +0100 wayland: Hook tablets to GdkSeat Those are now also grabbed togetther with other master pointers, so everything is able to interoperate on eg. popups triggered by other devices. gdk/wayland/gdkdevice-wayland.c | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) commit fb32f11e3d058807e8cfb392446a59fb04f37bc0 Author: Carlos Garnacho Date: Mon Jun 22 18:28:46 2015 +0200 wayland: Translate pen buttons into button events up/down already take GDK_BUTTON_PRIMARY, we translate BTN_STYLUS(2) into GDK_BUTTON_MIDDLE/SECONDARY. gdk/wayland/gdkdevice-wayland.c | 42 +++++++++++++++++++++++++++++++++++------ 1 file changed, 36 insertions(+), 6 deletions(-) commit 4f6bc820520d35bf9e1986f048915681b2aaeb91 Author: Stephen Chandler Paul Date: Mon Jun 22 18:16:27 2015 +0200 Wayland: Translate wl_tablet.down/up into button events These are sent with button=GDK_BUTTON_PRIMARY, axes must be also included in these events, in addition to motion ones. gdk/wayland/gdkdevice-wayland.c | 64 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 62 insertions(+), 2 deletions(-) commit 0f6be24e28894920a0e169d747753b1145d26103 Author: Stephen Chandler Paul Date: Mon Jun 22 18:02:50 2015 +0200 Wayland: Translate tool axes in motion events On wayland, such axes are per-tool, we must update device capabilities on the fly as new tools enter proximity, first the slave device so it matches the current tool, and then the master device so it looks the same than the current slave device. gdk/wayland/gdkdevice-wayland.c | 210 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 204 insertions(+), 6 deletions(-) commit 72884a274cf99aed7a1faa4d47042be3c0d6a279 Author: Stephen Chandler Paul Date: Mon Jun 22 17:51:48 2015 +0200 Wayland: Implement proximity/crossing/motion event emission on tablets Each tablet will update its own GdkWaylandPointerData separately. This commit only adds plain motion event emission so far, no axes are managed yet. gdk/wayland/gdkdevice-wayland.c | 209 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 205 insertions(+), 4 deletions(-) commit 7cc0850a5ae5b399afb33658afa7d2a8d8414837 Author: Stephen Chandler Paul Date: Sun Jan 18 19:32:24 2015 -0500 Wayland: Add initial support for drawing tablets Only the management of tablets and tools is added so far. No tablet events are yet interpreted. As it's been the tradition in GTK+, erasers are split into their own device, whereas the rest of the tools are meant to be routed through the GDK_SOURCE_PEN device. Both pen/eraser devices are slaves to a master pointer device, separate to wl_pointer's. This is so each tablet can maintain its own cursor/positioning accounting. Signed-off-by: Stephen Chandler Paul gdk/wayland/Makefile.am | 2 + gdk/wayland/gdkdevice-wayland.c | 439 ++++++++++++++++++++++++++++++++++++++- gdk/wayland/gdkdisplay-wayland.c | 7 + gdk/wayland/gdkdisplay-wayland.h | 2 + 4 files changed, 445 insertions(+), 5 deletions(-) commit d4d032795dba4e6daf8e037ecce13430608a3fb5 Author: Carlos Garnacho Date: Wed Apr 6 15:49:22 2016 +0200 build: Bump wayland-protocols dependency to 1.3 Needed for tablet support configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 45b4d765c0752471efc9883080a5f66361cd7aa2 Author: Carlos Garnacho Date: Fri Jun 19 17:25:54 2015 +0200 wayland: Refactor master pointer data into a separate struct This will enable multiple "pointers" to have separate data here. Will come out useful when adding support for tablets, as they will have a separate cursor for all purposes. gdk/wayland/gdkdevice-wayland.c | 530 ++++++++++++++++++++++------------------ 1 file changed, 288 insertions(+), 242 deletions(-) commit af894af38602e419b6ac9331db957047974b2728 Author: Stephen Chandler Paul Date: Sun Jan 18 14:30:58 2015 -0500 gdkcursor-wayland.c: Minor indentation fix Changed the tabs to spaces Signed-off-by: Stephen Chandler Paul gdk/wayland/gdkcursor-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6febc2291878b102c3f3d083977b3068f36fe49e Author: Carlos Garnacho Date: Tue Jun 30 16:28:59 2015 +0200 x11: Use XInternAtom directly on poking device hardware IDs This way we don't cache the property if it wasn't previously there, added by the driver itself. Bailing out is due there. gdk/x11/gdkdevicemanager-xi2.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 8e917093df600abe822c73c43f39c0ab861350ef Author: Carlos Garnacho Date: Thu Jun 18 15:09:46 2015 +0200 demos: Enable multidevice behavior on event-axes demo On wayland we get separate master/slaves for each tablet, we will need to receive crossing events for each master pointer if there's more than one around. demos/gtk-demo/event_axes.c | 1 + 1 file changed, 1 insertion(+) commit b465ede53bbc3f3806117f22d53bfd634bf8d98a Author: Carlos Garnacho Date: Thu Jun 18 15:08:39 2015 +0200 demos: Set crossing events mask explicitly on event-axes demo. demos/gtk-demo/event_axes.c | 2 ++ 1 file changed, 2 insertions(+) commit 89b7f859a49913dd5fe4d714e7e8f7ee0b143533 Author: Carlos Garnacho Date: Tue Feb 10 15:59:18 2015 +0100 gtk3-demo: Show multiple master devices on the "Event axes" demo demos/gtk-demo/event_axes.c | 66 ++++++++++++++++++++++++--------------------- 1 file changed, 35 insertions(+), 31 deletions(-) commit 505dac94be3de6623e8e1dc9adf00050f40046e6 Author: Stephen Chandler Paul Date: Mon Feb 9 22:02:08 2015 -0500 gtk-demo: Add support for distance in event_axes Signed-off-by: Stephen Chandler Paul demos/gtk-demo/event_axes.c | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) commit 6c2a078bf2110d41c8f4d96d74c5dbf6d17eaf92 Author: Stephen Chandler Paul Date: Mon Feb 9 19:44:50 2015 -0500 gtk-demo: Use GdkAxisUse instead of axis labels Axis labels are very X specific, and are not really possible to port to other backends such as Wayland. As such, it makes more sense to use GdkAxisUse and GdkAxisUseFlag in order to determine the axis capabilities of a device and draw their axes. Signed-off-by: Stephen Chandler Paul demos/gtk-demo/event_axes.c | 106 +++++++++++++++++++------------------------- 1 file changed, 45 insertions(+), 61 deletions(-) commit 9e72d24b23fe0808e75c678f1339152a1d32d55a Author: Stephen Chandler Paul Date: Mon Jun 22 17:19:16 2015 +0200 GdkDeviceTool: Add GdkAxisFlags info to tablet tools Different tools may have different sets of axes, we should store that info somewhere. gdk/gdkdevice.c | 17 ++++++++++++++++- gdk/gdkdeviceprivate.h | 4 +++- gdk/x11/gdkdevicemanager-xi2.c | 2 +- 3 files changed, 20 insertions(+), 3 deletions(-) commit 8b2fd3ed1bb58a3c414f37ad25f560a7d3f74786 Author: Stephen Chandler Paul Date: Tue Jan 13 00:03:49 2015 -0500 GdkDeviceTool: Add GdkDeviceToolType to identify the physical tool type Because there are multiple different types of styluses that can be used with tablets, we have to have some sort of identifier for them attached to the GdkDeviceTool, especially since knowing the actual tool type for a GdkDeviceTool is necessary for matching up a GdkDeviceTool with it's appropriate GdkInputSource in Wayland (eg. matching up a GdkDeviceTool eraser with the GDK_SOURCE_ERASER GdkInputSource of a wayland tablet). Signed-off-by: Stephen Chandler Paul docs/reference/gdk/gdk3-sections.txt | 2 ++ gdk/gdkdevice.c | 37 +++++++++++++++++++++++++++++++++++- gdk/gdkdevice.h | 30 +++++++++++++++++++++++++++++ gdk/gdkdeviceprivate.h | 4 +++- gdk/x11/gdkdevicemanager-xi2.c | 3 ++- 5 files changed, 73