commit 02dabcfd2be53991152144da129cae73edec381f Author: Matthias Clasen Date: Tue Jan 19 08:16:11 2016 -0500 3.19.7 NEWS | 16 ++++++++++++++-- configure.ac | 2 +- 2 files changed, 15 insertions(+), 3 deletions(-) commit e3b49b2d6c03bb43f3601635add08148b447f0e4 Author: Matthias Clasen Date: Tue Jan 19 09:18:33 2016 -0500 Update expected output of a11y tests This reflects my recent change to messagedialog titles. testsuite/a11y/messagedialog.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit cba7b2c56b22481211c21070198b8b3f87ead417 Author: Matthias Clasen Date: Tue Jan 19 06:28:55 2016 -0500 Simplify foreign drawing example This is code will be copied, so take out unnecessary complication. demos/gtk-demo/foreigndrawing.c | 51 ++++++++++------------------------------- 1 file changed, 12 insertions(+), 39 deletions(-) commit cccaf1d16bb42f343d4ba5b6ea2f81d5d9555d92 Author: Matthias Clasen Date: Tue Jan 19 07:13:57 2016 -0500 Use actual drop status We have this information in the XDND protocol, so we don't have to blindly assume that the drop succeeded. gdk/x11/gdkdnd-x11.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 40b28ac66a5b11eb98d6bf72db65a1b602ca1a60 Author: Carlos Garnacho Date: Mon Jan 18 22:22:24 2016 +0100 gdk: Document the functions that don't need calling on managed DnD These functions will be automatically called by the windowing backend. The usual hooks to run this from in gtk/ shouldn't even happen, but it is worth to document which calls are expected and which aren't. gdk/gdkdnd.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 5b1d96234d5f84c8757aac160673998f9d8be16f Author: Carlos Garnacho Date: Mon Jan 18 14:05:00 2016 +0100 wayland: Set weak reference on the current grab window If the grab window is destroyed the grab will be implicitly removed, although we won't get GdkSeat:ungrab called in order to clear our internal window<->seat relation entirely. Setting a weak ref will nullify the pointer we keep on the seat to the window, avoiding the expected crashes. gdk/wayland/gdkdevice-wayland.c | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) commit be3f0dad82b6e02afd320eecda5cd98af6baf34a Author: Carlos Garnacho Date: Mon Jan 18 13:31:35 2016 +0100 wayland: Unset button modifiers on pointer enter Due to implicit grabs, we basically can guarantee that the pointer won't have any buttons pressed at the time of wl_pointer.enter. Seems like a good place to unset any button modifiers that might have been left stale by compositor grabs. gdk/wayland/gdkdevice-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 1045dda0358dee67e8dfbf13b40181b4c2ba1f1c Author: Carlos Garnacho Date: Wed Jan 13 21:00:34 2016 +0100 wayland: Implement DnD actions as per wl_data_device v3 Implement as a managed GdkDragContext, which actually fits nicely with the drag-and-drop model in wayland. gdk/wayland/gdkdevice-wayland.c | 69 ++------------ gdk/wayland/gdkdisplay-wayland.c | 4 +- gdk/wayland/gdkdisplay-wayland.h | 1 + gdk/wayland/gdkdnd-wayland.c | 143 ++++++++++++++++++++++++--- gdk/wayland/gdkprivate-wayland.h | 4 +- gdk/wayland/gdkselection-wayland.c | 191 ++++++++++++++++++++++++++++++------- gtk/gtkdnd.c | 11 ++- 7 files changed, 309 insertions(+), 114 deletions(-) commit 0747a60129777ec44ed1053df16823d5eeb63594 Author: Carlos Garnacho Date: Wed Jan 13 20:57:47 2016 +0100 wayland: Add internal gdk_wayland_seat_set_global_cursor() This can be used for cases (like DnD) where there isn't necessarily a grab, but we want a global pointer cursor. gdk/wayland/gdkdevice-wayland.c | 19 +++++++++++++++++-- gdk/wayland/gdkprivate-wayland.h | 3 +++ 2 files changed, 20 insertions(+), 2 deletions(-) commit 8d47617623a592c9273b7ea34ee2145be9bb2b6b Author: Carlos Garnacho Date: Wed Jan 13 20:54:43 2016 +0100 gtkdnd: Reset widget controllers when starting DnD. Otherwise there's no full guarantees that this will happen. gtk/gtkdnd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 2b703b61cfdad95c1f780d23019052ad23348393 Author: Carlos Garnacho Date: Wed Jan 13 20:53:54 2016 +0100 gtk: Add private gtk_widget_reset_controllers() This is a one-shot call that can be called on the places we know we're taking input away. gtk/gtkwidget.c | 27 ++++++++++++++++----------- gtk/gtkwidgetprivate.h | 2 ++ 2 files changed, 18 insertions(+), 11 deletions(-) commit e4f5e31b8baf5addc28ccb68b1b6d88f8f8ed5df Author: Carlos Garnacho Date: Fri Jan 8 21:31:51 2016 +0100 gtkdnd: Optionally use gdk_drag_context_manage_dnd() When this is in use, there's essentially a bunch of dead code here. When all backends are ported, we'll be able to remove grab/cursor management plus a bunch of source-side event handlers. gtk/gtkdnd.c | 179 ++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 147 insertions(+), 32 deletions(-) commit bfee45e6f9f13506f97c8765255c7dc0dd698420 Author: Carlos Garnacho Date: Fri Jan 8 21:24:52 2016 +0100 x11: Implement gdk_drag_context_manage_dnd() This includes managing input events and source-side DND events, as well as setting the appropriate cursor and emitting the signals that are expected in this mode of operation. gdk/x11/gdkdnd-x11.c | 538 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 538 insertions(+) commit ed5da43afb6156a4e7c7783c3ada582ff581b0b4 Author: Carlos Garnacho Date: Wed Jan 13 20:51:19 2016 +0100 gdk: Add gdk_drag_get_cursor() This function (most similar to gtk_drag_get_cursor() helps figure out the right cursor that applies to a given action. To be used by the various backends. gdk/gdkdnd.c | 29 +++++++++++++++++++++++++++++ gdk/gdkdndprivate.h | 1 + 2 files changed, 30 insertions(+) commit f6b8fb5a6b2e18b3f80587a50c0786492a3b2f3b Author: Carlos Garnacho Date: Fri Jan 8 21:22:47 2016 +0100 gdk: Run DnD internal handlers before the main event handler We'll be stealing those to GTK+, if the GdkDragContext manages the DnD operation. gdk/gdkevents.c | 4 ++++ 1 file changed, 4 insertions(+) commit edc4374a634b1597e6c7a3e6136a54f4ed74bb4e Author: Carlos Garnacho Date: Fri Jan 8 21:03:01 2016 +0100 gdk: Allow internal management of source-side DnD We've traditionally left GTK+ to handle the input side of things, letting GDK only manage the windowing-specific messaging. This way of splitting responsibilities is not compatible however with some backends, we must fold then input management at the DnD stage into GDK (and backends) domain. The gdk_drag_context_manage_dnd() call is meant to be the entry point for this mode of operation, if the drag and drop operation becomes managed, the caller (i.e. gtkdnd.c) doesn't need to perform grabs, nor manage input events itself. As a consequence of this, different aspects now belong to the backend GdkDragContext implementation: - Because the caller doesn't see keyboard events anymore, keyboard navigation must be managed in GDK, so is the decision of the current action based on modifiers/button pressed. - Because the caller won't see input events in general, the lifetime of the drag and drop operation is now communicated through the ::drop-performed, ::dnd-finished and ::cancel events - Because the caller doesn't participate anymore on the action being chosen, the pointer cursor must be set by the backend. The caller is rather notified of the final action through the ::action signal. The caller is still responsible of dealing with the corresponding GdkSelection, ensuring its ownership and communicating the supported mimetypes. gdk/gdkdnd.c | 185 ++++++++++++++++++++++++++++++++++++++++++++++++++++ gdk/gdkdnd.h | 4 ++ gdk/gdkdndprivate.h | 22 +++++++ 3 files changed, 211 insertions(+) commit a50baba16058ea86c95269c2eff24a1c97ec34d2 Author: Benjamin Otte Date: Tue Jan 19 14:11:36 2016 +0100 widget: Call gdk_window_mark_paint_from_clip() again The proper window to call it is the event window, as the call itself ignores non-native windows anyway. gtk/gtkwidget.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit f64bb38aa7c3190738c4c6281e7ecdd32fc99221 Author: Marek Černocký Date: Tue Jan 19 12:52:58 2016 +0100 Fixed typo childen->children gtk/gtkpopovermenu.c | 2 +- gtk/gtkstack.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 3fea7f296e567b2138e1be2b7adaca3ca81c145b Author: Matthias Clasen Date: Mon Jan 18 23:40:38 2016 -0500 gtk-demo: Add a progress bar to foreigndrawing This is another commonly requested widget. demos/gtk-demo/foreigndrawing.c | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) commit 409760babfbb3abd34b9a6d208a9175a23d89bc2 Author: Benjamin Otte Date: Tue Jan 19 04:33:09 2016 +0100 container: Properly reorder no-window children ... that are setup with gtk_widget_set_parent_window(). Fixes scrollbars not being drawn in GtkScrolledWindow. gtk/gtkcontainer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ab5dbfd1f1fec1c8e62460236769ffd80cad4a54 Author: Benjamin Otte Date: Tue Jan 19 04:24:32 2016 +0100 widget: Add forgotten push_group code ... and remove the also forgotten void function that lingered around with it. Fixes opacity=0 parts like inactive spinners or sort indicators in treeview headers being drawn since last commit. Oops. gtk/gtkwidget.c | 59 ++++++++++++++++----------------------------------------- 1 file changed, 16 insertions(+), 43 deletions(-) commit 580ea227a6bb19ad6c6d4766b3a36dbad24583f3 Author: Benjamin Otte Date: Tue Jan 19 02:42:58 2016 +0100 widget: Redo drawing code Previously, we had a special cae to draw subwindows of widgets. This is not necessary as conformant widgets should be able to properly render themselves when all windows need to be painted. From now on assume that is the case. We therefore paint nonnative GDK windows "inline" by just returning TRUE for gtk_cairo_should_draw_window() for those windows. This speeds up hilighting different rows in the listbox gtk-demo example tremendously (by a factor of 10 or more) as the previous code was O( * ) which in the listbox example were ~15,000 and ~2,000 respectively. gtk/gtkcontainer.c | 120 +++++++++++--------------- gtk/gtkwidget.c | 228 +++++++++---------------------------------------- gtk/gtkwidgetprivate.h | 8 +- 3 files changed, 92 insertions(+), 264 deletions(-) commit 402cecf9a2aecf95ac8efca84179adcb1ce8e956 Author: Benjamin Otte Date: Tue Jan 19 00:53:55 2016 +0100 actionbar: Don't forall() widgets twice When using forall(), only list the revealer, which lists the box containing all the children. When using foreach(), bypass revealer and box and list all children added to the box. gtk/gtkactionbar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 575dfb407502d8596e7933065aea4cea8664fcbc Author: Matthias Clasen Date: Mon Jan 18 20:20:32 2016 -0500 Updates NEWS | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) commit 1821c2df609b2877d732ad662a399e297ff56a41 Author: Matthias Clasen Date: Mon Jan 18 14:54:25 2016 -0500 text view: Expose cursor blink control Derived classes like GtkSourceView with their own ::key-event handler need access to this, in order to make their keynav as nice as the builtin one, wrt to caret visibility. https://bugzilla.gnome.org/show_bug.cgi?id=760748 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtktextview.c | 22 ++++++++++++++++++++++ gtk/gtktextview.h | 3 +++ 3 files changed, 26 insertions(+) commit f8b8e4eaf8564eb280ee613dbbc89d79411ab19c Author: Carlos Garnacho Date: Thu Jan 14 20:24:28 2016 +0100 x11: Set event->scroll.is_stop We still figure this out from 0/0 scroll events. This method is not intended to last forever, but it's something we can cling to so far. https://bugzilla.gnome.org/show_bug.cgi?id=756729 gdk/x11/gdkdevicemanager-xi2.c | 3 +++ 1 file changed, 3 insertions(+) commit 48aa1bb08f89a1f3f8f290da771f183cdd5061d8 Author: Peter Hutterer Date: Wed Oct 21 10:14:40 2015 +1000 wayland: add gdk_event_is_scroll_stop_event() And use it to handle kinetic scrolling in the GtkScrolledWindow. However, dropping the delta check causes the X11-based kinetic scroll to break since we don't have the stop event here. Correct handling of xf86-input-libinput-based scroll events is still being discussed. https://bugzilla.gnome.org/show_bug.cgi?id=756729 docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkevents.c | 23 +++++++++++++++++++++++ gdk/gdkevents.h | 4 ++++ gdk/gdkwindow.c | 1 + gdk/wayland/gdkdevice-wayland.c | 21 +++++++++++++++++++-- gtk/gtkscrolledwindow.c | 2 +- 6 files changed, 49 insertions(+), 3 deletions(-) commit 3fca36169a0fd5f19b1b2099547060214f40b904 Author: Peter Hutterer Date: Tue Oct 20 13:21:54 2015 +1000 wayland: add support for wl_pointer frame/axis_source/axis_discrete/axis_stop This adds support for the new wl_pointer events available in v5. The wl_pointer.axis_source events can be ignored for the purposes here, the main reason they exist is so that the combination of axis_source=finger and axis_stop triggers kinetic scrolling. We don't need to care about the source, axis_stop is enough for us to tell us when we're scrolling. The wl_pointer.frame events group events together and is intended as a mechanism to coalesce events together. This for example allows us to now send a single GTK scroll event for a diagonal scroll. Previously, the two wl_pointer.axis events had to be handled separately. The wl_pointer.axis_discrete event sends mouse wheel clicks where appropriate, and is translated into up/down/left/right scroll events. https://bugzilla.gnome.org/show_bug.cgi?id=756729 gdk/wayland/gdkdevice-wayland.c | 289 +++++++++++++++++++++++++++++++++------ gdk/wayland/gdkdisplay-wayland.c | 4 +- gdk/wayland/gdkdisplay-wayland.h | 1 + gdk/wayland/gdkprivate-wayland.h | 1 + 4 files changed, 252 insertions(+), 43 deletions(-) commit ac95bac5b817f8167dd568247b478534b960ec9e Author: Matthias Clasen Date: Mon Jan 18 14:31:37 2016 -0500 Drop a reference to regions Regions don't work anymore, so don't recommend them in the docs. gtk/gtkwidget.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit b3b048906c7378f104b8be4f4889a8e15025fcd1 Author: Matthias Clasen Date: Mon Jan 18 13:54:20 2016 -0500 im context simple: Protect shared data structures Since a41f02f9b1843e0f0085f801430e55f413a9bf9c, GtkIMContextSimple uses threads to load X Compose files. It does that every time a new im context object is initialized, so we can easily end up with multiple threads accessing the shared global_tables list at the same time. Use a lock to prevent that. https://bugzilla.redhat.com/show_bug.cgi?id=1276432 gtk/gtkimcontextsimple.c | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) commit e150ea85bb548afdf5724beed6e262fd2d8fa7b3 Author: Benjamin Otte Date: Mon Jan 18 18:05:53 2016 +0100 cssnode: Don't leak the style cache on destruction gtk/gtkcssnode.c | 3 +++ 1 file changed, 3 insertions(+) commit af958b86cb3126cf6178d1d9e95948c2ae66cf71 Author: Timm Bäder Date: Mon Jan 18 17:22:09 2016 +0100 gdkdisplay-x11: Plug memory leak gdk/x11/gdkdisplay-x11.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit ff5d14f1a8064d41c3ee3d94f496994581cfd3a0 Author: Matthias Clasen Date: Mon Jan 18 11:05:53 2016 -0500 text view: Update selection node visibility Make the node invisible if we don't have a selection. gtk/gtktextview.c | 5 +++++ 1 file changed, 5 insertions(+) commit b08fe985cc375f02c9c385c85f9e3a481ba77b3c Author: Matthias Clasen Date: Mon Jan 18 10:52:26 2016 -0500 entry: Expand the css node docs Mention the context menu. gtk/gtkentry.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 07eda5920f938b65f2a089f4f6396d7003049804 Author: Matthias Clasen Date: Mon Jan 18 10:51:54 2016 -0500 text view: Expand CSS node docs Mention the selection node, and the context menu. gtk/gtktextview.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit c24c56a143667cbd95e875d6d47239ca7278828c Author: Matthias Clasen Date: Mon Jan 18 09:06:12 2016 -0500 Forgotten file testsuite/css/nodes/notebook.top.nodes | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 3281d1a284fc870488de7da7de756e27d227d367 Author: Benjamin Otte Date: Mon Jan 18 15:01:49 2016 +0100 notebook: Don't crash when dnd'ing tabs out https://bugzilla.gnome.org/show_bug.cgi?id=760754 gtk/gtknotebook.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit eca1b3cba3593a54ea0a027efd27de79b46aeb16 Author: Benjamin Otte Date: Mon Jan 18 15:01:38 2016 +0100 accellabel: Remove unused variable gtk/gtkaccellabel.c | 1 - 1 file changed, 1 deletion(-) commit 6f3cff16af2d02c1a077d4803a2318d437b0f479 Author: Matthias Clasen Date: Mon Jan 18 08:54:35 2016 -0500 gdk: Clarify docs about scale Explicitly state where we return application pixels as opposed to device pixels. gdk/gdkscreen.c | 40 ++++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 14 deletions(-) commit bbc08d08a9f54deaf20842af8c301aedc13399ed Author: Matthias Clasen Date: Mon Jan 18 08:36:53 2016 -0500 Trivial typo fix gdk/gdkscreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 65ae48d707b888d4a5c81d8f52982c0db5e6e96d Author: Matthias Clasen Date: Mon Jan 18 07:39:56 2016 -0500 Add more CSS node tests for notebooks testsuite/css/nodes/Makefile.am | 5 ++- testsuite/css/nodes/notebook.bottom.nodes | 18 ++++++++++ testsuite/css/nodes/notebook.bottom.ui | 56 +++++++++++++++++++++++++++++++ testsuite/css/nodes/notebook.left.nodes | 18 ++++++++++ testsuite/css/nodes/notebook.left.ui | 56 +++++++++++++++++++++++++++++++ testsuite/css/nodes/notebook.nodes | 16 --------- testsuite/css/nodes/notebook.right.nodes | 18 ++++++++++ testsuite/css/nodes/notebook.right.ui | 56 +++++++++++++++++++++++++++++++ testsuite/css/nodes/notebook.top.ui | 55 ++++++++++++++++++++++++++++++ testsuite/css/nodes/notebook.ui | 43 ------------------------ 10 files changed, 281 insertions(+), 60 deletions(-) commit d73f6b8c50d31fffe0c4e237b6b39391c9f8faf0 Author: Timm Bäder Date: Mon Jan 18 12:46:18 2016 +0100 entry: Deprecate shadow-type Things like that should be handled using css. Also, the property value is unused inside GtkEntry. gtk/gtkentry.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit f74f81f06b1b08269120ada349cc57e2af02cd8d Author: Руслан Ижбулатов Date: Wed Apr 22 19:21:53 2015 +0000 W32: Detect ticks wraparound https://bugzilla.gnome.org/show_bug.cgi?id=748327 gdk/win32/gdkevents-win32.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 83eb36a896c14c754bf28e05407738fcf66cb9d7 Author: Matthias Clasen Date: Mon Jan 18 00:29:29 2016 -0500 Add CSS node tests for checkbutton rtl flipping testsuite/css/nodes/Makefile.am | 26 +++++++++++----------- testsuite/css/nodes/checkbutton.ltr.nodes | 9 ++++++++ testsuite/css/nodes/checkbutton.ltr.ui | 36 +++++++++++++++++++++++++++++++ testsuite/css/nodes/checkbutton.rtl.nodes | 9 ++++++++ testsuite/css/nodes/checkbutton.rtl.ui | 36 +++++++++++++++++++++++++++++++ 5 files changed, 104 insertions(+), 12 deletions(-) commit 121aec6de854f8615c6df29a1c2006689431d45f Author: Matthias Clasen Date: Mon Jan 18 00:24:53 2016 -0500 Add css node tests for expander rtl flipping testsuite/css/nodes/Makefile.am | 2 ++ testsuite/css/nodes/expander.ltr.nodes | 7 +++++++ testsuite/css/nodes/expander.ltr.ui | 24 ++++++++++++++++++++++++ testsuite/css/nodes/expander.rtl.nodes | 7 +++++++ testsuite/css/nodes/expander.rtl.ui | 24 ++++++++++++++++++++++++ 5 files changed, 64 insertions(+) commit 2a665715b6189b51d001a948257f67d878014580 Author: Matthias Clasen Date: Mon Jan 18 00:19:31 2016 -0500 expander: Flip the alignment of the vertical box To ensure that the title moves to the other side as expected in RTL, use GTK_ALIGN_START/END instead of GTK_ALIGN_FILL when packing the title gadget into the vertical box, and flip the alignment when the text direction changes. gtk/gtkexpander.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 296f80a580b1b9c62a9acc52f3ab713b9662409f Author: Matthias Clasen Date: Mon Jan 18 00:11:54 2016 -0500 expander: Handle rtl changes again Now that the box gadget has api for it, use it here to change the order of the gadgets for right-to-left. gtk/gtkexpander.c | 36 ++++++++---------------------------- 1 file changed, 8 insertions(+), 28 deletions(-) commit a32b39c60faefb8bf3eb00e8e2ec10217b301e92 Author: Matthias Clasen Date: Mon Jan 18 00:04:23 2016 -0500 checkbutton: Handle rtl changes again Now that the box gadget has api for it, use it here to change the order of the gadgets for right-to-left. gtk/gtkcheckbutton.c | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) commit 5265db5dd616f654d1c17b395f97818b2b531000 Author: Matthias Clasen Date: Mon Jan 18 00:03:39 2016 -0500 box gadget: Add a function to reverse children This can be used to handle text direction changes. gtk/gtkboxgadget.c | 20 ++++++++++++++++++++ gtk/gtkboxgadgetprivate.h | 1 + 2 files changed, 21 insertions(+) commit f6757e0c0cb59ee4bb9f8ea0f022cc232e54bc74 Author: Benjamin Otte Date: Mon Jan 18 05:04:12 2016 +0100 reftests: Fix up for easy CSS changes This is mostly search and replace ala GtkButton => button GtkWindow => window .button => button or removing style properties that aren't used anymore like -GtkButton-default-border: 0 testsuite/reftests/background-area.css | 10 +- .../reftests/background-color-transparent.css | 2 +- testsuite/reftests/background-origin.css | 6 +- testsuite/reftests/background-position.css | 6 +- testsuite/reftests/background-size.css | 2 +- .../reftests/background-window-transparent.css | 2 +- testsuite/reftests/border-color-default.css | 2 +- .../border-corner-zero-width-rendering.css | 2 +- testsuite/reftests/border-half-pixel.css | 2 +- testsuite/reftests/border-image-excess-size.css | 5 +- testsuite/reftests/border-image-gradient.css | 1 - testsuite/reftests/border-radius-clamp.css | 1 - testsuite/reftests/border-style-none.css | 2 +- testsuite/reftests/border-style.css | 2 +- testsuite/reftests/box-pseudo-classes.css | 13 ++- testsuite/reftests/color-transition.css | 2 +- testsuite/reftests/css-currentcolor-alpha.css | 2 +- testsuite/reftests/css-match-class.css | 1 - testsuite/reftests/css-match-descendant-later.css | 2 +- .../reftests/css-match-inherit-different-state.css | 4 +- testsuite/reftests/css-match-inherit.css | 3 +- testsuite/reftests/css-match-name.css | 1 - testsuite/reftests/css-match-type.css | 5 +- testsuite/reftests/css-multi-state.css | 2 +- testsuite/reftests/gtk-icontheme-sizing.css | 2 +- testsuite/reftests/icon-shadow-no-transform.css | 2 +- testsuite/reftests/iconview-empty.css | 2 +- testsuite/reftests/image-icon-shadow-clipping.css | 4 +- testsuite/reftests/label-background.css | 2 +- testsuite/reftests/label-shadows.css | 1 - testsuite/reftests/opacity.css | 2 +- testsuite/reftests/shorthand-entry-border.css | 1 - testsuite/reftests/treeview-fixed-height.css | 116 ++------------------- testsuite/reftests/unresolvable.css | 2 +- 34 files changed, 53 insertions(+), 161 deletions(-) commit b7f32ed45118bbe04d7e2748984d2f9359c204f1 Author: Benjamin Otte Date: Mon Jan 18 02:32:19 2016 +0100 reftests: Remove test We no longer match subtypes, so remove the test for it. testsuite/reftests/Makefile.am | 3 --- testsuite/reftests/css-match-subtype.css | 13 ------------- testsuite/reftests/css-match-subtype.ref.ui | 15 --------------- testsuite/reftests/css-match-subtype.ui | 14 -------------- 4 files changed, 45 deletions(-) commit 7859f8ee91b8287d0f0485351d557886ae6fc0bb Author: Matthias Clasen Date: Sun Jan 17 21:16:33 2016 -0500 checkbutton: Use a box gadget Now that builtin icons have a baseline, we can just use a box gadget with baseline alignment for the indicator and the label. gtk/gtkcheckbutton.c | 287 ++++++--------------------------------------------- 1 file changed, 34 insertions(+), 253 deletions(-) commit da30858ee416ec5a64579cb6a770efe44fb83789 Author: Matthias Clasen Date: Sun Jan 17 21:02:18 2016 -0500 builtin icon: set a baseline Most uses of builtin icons (check and radio buttons, expanders, etc) are placed next to labels, so they should be properly positioned wrt to the baseline. Lacking anything better, give the builtin icons a baseline that places the center of the icon at the strikethrough position. gtk/gtkbuiltinicon.c | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) commit 9c3907dab016d9c1477f2bcd1bd64a6452fd3f78 Author: Matthias Clasen Date: Sun Jan 17 19:48:40 2016 -0500 box gadget: Deal with optional arguments The baseline arguments to the preferred size callback can be NULL. Don't crash if they are. gtk/gtkboxgadget.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 44d94a4aebabb607705db4be7a798b4b891a3e51 Author: Matthias Clasen Date: Sun Jan 17 15:35:14 2016 -0500 Trivial formatting fix gtk/gtknotebook.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit a7387e2641480dcb27a21c1b55a6dc336b4f8e93 Author: Matthias Clasen Date: Sun Jan 17 15:26:14 2016 -0500 Document restrictions on gtk_style_context_get This makes it official that passing a different state is not generally supported in the getters for CSS properties. gtk/gtkstylecontext.c | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) commit 6bf9715ce4add4b42cadb4b4b507ff011896becc Author: Matthias Clasen Date: Sun Jan 17 14:35:58 2016 -0500 notebook: show tabs when asked to gtk_notebook_set_show_tabs must make the header gadget visible when show_tabs is TRUE, not the other way around. https://bugzilla.gnome.org/show_bug.cgi?id=760596 gtk/gtknotebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9e2a1685c5d9c519212eee3c6bc4cde1025ee377 Author: Matthias Clasen Date: Sun Jan 17 14:08:22 2016 -0500 accel label: Fix RTL handling The 'mad hack' that GtkAccelLabel used to affect the GtkLabel draw function broke with the introduction of gadgets, since the positioning is no longer relative to the widgets' allocation at the time of the call, but rather to the gadgets allocation. Instead of coming up with an even madder hack to keep this working, give the GtkLabel draw function knowledge about accel labels. https://bugzilla.gnome.org/show_bug.cgi?id=760663 gtk/gtkaccellabel.c | 52 ++++++++++++---------------------------------------- gtk/gtklabel.c | 8 ++++++++ 2 files changed, 20 insertions(+), 40 deletions(-) commit d28959c6dbea441c6c2f5dd2690123cf684eb96a Author: Matthias Clasen Date: Sun Jan 17 13:23:49 2016 -0500 inspector: Make cursor-size combo wider Cursor sizes typically have 2 digits, lets not clip them. gtk/inspector/visual.ui | 2 ++ 1 file changed, 2 insertions(+) commit 00aca5d689db1eed73f485e217a395300635f177 Author: Matthias Clasen Date: Sun Jan 17 12:13:59 2016 -0500 Expand window style class documentation a bit gtk/gtkwindow.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 9d26038a105680f10ca381410938c58283dbeaaa Author: Matthias Clasen Date: Sat Jan 16 13:24:56 2016 -0500 Adwaita: Keep entry progress visible When the entry is focused, make the progress one pixel wider so it doesn't get swallowed by the focus outline. gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 8 insertions(+) commit 6e6cbd7316032a7fe23f8f1c4edf4ca0a5d9280b Author: Benjamin Otte Date: Sat Jan 16 23:15:11 2016 +0100 stylechange: Do the right thing when old and new style are equal We don't need to compare all their CSS values to figure out that nothing changed. We know that. gtk/gtkcssstylechange.c | 4 ++++ 1 file changed, 4 insertions(+) commit c904efef5381a7b058ed17c077059707909e86d1 Author: Benjamin Otte Date: Sat Jan 16 04:55:58 2016 +0100 cssnode: Redo GTK_DEBUG=no-css-cache Previously this setting would just invalidate the whole CSS tree and thereby hopefully avoid all cache usage. Now, we actually don't cause extra invalidations anymore, but instead avoid ever inserting anything into the cache when this setting is set. gtk/gtkcssnode.c | 18 ------------------ gtk/gtkcssnodestylecache.c | 13 +++++++++++++ 2 files changed, 13 insertions(+), 18 deletions(-) commit 024429f76fc605e834fef3ca654a0d0cdaac1dfa Author: Benjamin Otte Date: Sat Jan 16 04:48:58 2016 +0100 cssnode: Implement the style cache This essentially copies the previous cache implementation. With one caveat: It is now attached to and maintained by the CssNode, not by the CssStyle. And this is important because styles may be reused in incompatible situations which would cause cache collisions and lead to broken CSS in weird situations. gtk/gtkcssnodestylecache.c | 97 ++++++++++++++++++++++++++++++++++++++- gtk/gtkcssnodestylecacheprivate.h | 2 + 2 files changed, 97 insertions(+), 2 deletions(-) commit 5d562b6a2aca6c1d0db93286eb7eb719fe2e3c98 Author: Benjamin Otte Date: Fri Jan 15 23:27:51 2016 +0100 cssnode: Split out the style cache For now, the split out style cache doesn't cache anything. This is mostly to make sure that bisections of wrong caching behavior will bisect down to the commit that actually adds caching. gtk/Makefile.am | 2 + gtk/gtkcssnode.c | 123 +++++++++----------------------------- gtk/gtkcssnodeprivate.h | 2 + gtk/gtkcssnodestylecache.c | 76 +++++++++++++++++++++++ gtk/gtkcssnodestylecacheprivate.h | 44 ++++++++++++++ 5 files changed, 151 insertions(+), 96 deletions(-) commit 93f8fa7576891c53c0386b71d7aee39f0dd2a2e5 Author: Lapo Calamandrei Date: Sat Jan 16 04:16:55 2016 +0100 Adwaita: stop axing toolbar separators gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 3 --- gtk/theme/Adwaita/gtk-contained.css | 3 --- 3 files changed, 7 deletions(-) commit d0f83d46a04b0a889525551dc7b61c19f59fb577 Author: Lapo Calamandrei Date: Sat Jan 16 04:15:30 2016 +0100 Adwaita: style textview derived widgets gtk/theme/Adwaita/_common.scss | 20 +++-- gtk/theme/Adwaita/gtk-contained-dark.css | 74 ++++++++++++---- gtk/theme/Adwaita/gtk-contained.css | 146 +++++++++++++++++++------------ 3 files changed, 159 insertions(+), 81 deletions(-) commit e7fc87e4ac5548db71bfab93e7293fe5fb66ab07 Author: Matthias Clasen Date: Fri Jan 15 20:08:57 2016 -0500 color scale: Improve themability Add the .color class, so themes can style scale.color. Clip the trough rendering to the content path, so that themes can set rounded corners. gtk/gtkcolorscale.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit a0d91a3a71757845e9a256c9306bfa1ac3614d6b Author: Matthias Clasen Date: Fri Jan 15 19:39:12 2016 -0500 treeview: Use foreground color to draw dnd marker This is still not perfect, but makes the dnd marker better visible in HighContrastInverse. gtk/gtktreeview.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 2cf810c4c9169519768cea96696dd89116c34cb1 Author: Matthias Clasen Date: Fri Jan 15 19:11:03 2016 -0500 frame: Don't overlap label and child We didn't do this previously, so don't start now. https://bugzilla.gnome.org/show_bug.cgi?id=760528 gtk/gtkframe.c | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) commit f32e1d42e6c040531d9d0832832cb4dd7ae184a9 Author: Lapo Calamandrei Date: Sat Jan 16 00:55:59 2016 +0100 Adwaita: combo style cleanup and fixes fixes https://bugzilla.gnome.org/show_bug.cgi?id=760524 gtk/theme/Adwaita/_common.scss | 57 +++++--------------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 49 ++++----------------------- gtk/theme/Adwaita/gtk-contained.css | 49 ++++----------------------- 3 files changed, 22 insertions(+), 133 deletions(-) commit e8b9aacfc19223e16287213cca2e376e3d66d587 Author: Matthias Clasen Date: Fri Jan 15 17:55:44 2016 -0500 combo: Add .linked class when appropriate Add the .linked style class to combo boxes which have an entry, since that is what they are. gtk/gtkcombobox.c | 3 +++ gtk/gtkcomboboxtext.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit 54a6e032ca86de5a282e27a0a0cc298a27d32a1a Author: Matthias Clasen Date: Fri Jan 15 17:47:08 2016 -0500 combobox: Document the popup window CSS node gtk/gtkcombobox.c | 5 +++-- gtk/gtkcomboboxtext.c | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) commit 0049be4e58ef33749d9ddddb58357c5c93125d5d Author: Matthias Clasen Date: Fri Jan 15 17:36:13 2016 -0500 application: Protect against double shutdown It is not something that can happen normally. But if it does, we shouldn't crash. https://bugzilla.gnome.org/show_bug.cgi?id=760680 gtk/gtkapplication.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 2b95e4db55cd68f4d1e829d43dd9a5c200e40754 Author: William Hua Date: Fri Jan 15 14:09:33 2016 -0500 mir: add default GdkSeat for the default GdkDisplay gdk/mir/gdkmirdevicemanager.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit d8bb228d3bbc33ea0c595285ea6569b9b2c0f76f Author: Matt Watson Date: Mon Jan 11 18:40:53 2016 -0800 widget: remove queue_resize in set_sensitive Calling gtk_widget_propagate_state is enough to queue a resize if needed See da7a4089fe82981d1412aaa295e76d47a81ad6df gtk/gtkwidget.c | 2 -- 1 file changed, 2 deletions(-) commit 303556ac2a9320d85a11cd8fa18d5dd00455e78c Author: Rui Matos Date: Fri Jan 15 18:35:25 2016 +0100 wayland: Fix an endless loop gdk/wayland/gdkdevice-wayland.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 04f6f38b56e90c916e2c4df59eb57e220512f341 Author: Lapo Calamandrei Date: Fri Jan 15 18:33:38 2016 +0100 Adwaita: remove messagedialog label squashing hack since Matthias fixed this properly. gtk/theme/Adwaita/_common.scss | 2 -- gtk/theme/Adwaita/gtk-contained-dark.css | 2 -- gtk/theme/Adwaita/gtk-contained.css | 2 -- 3 files changed, 6 deletions(-) commit 78162c5e881b23585d62588f885559d1d4bbc50b Author: Matthias Clasen Date: Fri Jan 15 11:58:51 2016 -0500 message dialog: Prevent empty title from being shown We don't want to grow the titlebar by showing an empty label. gtk/gtkmessagedialog.c | 1 + gtk/ui/gtkmessagedialog.ui | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit fc804bba2d309b0134bf50227df53de8d1b91288 Author: Lapo Calamandrei Date: Fri Jan 15 17:56:49 2016 +0100 Adwaita: some dialog love addresses https://bugzilla.gnome.org/show_bug.cgi?id=760525 gtk/theme/Adwaita/_common.scss | 21 +++++++++------------ gtk/theme/Adwaita/gtk-contained-dark.css | 19 ++++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 21 ++++++++++----------- 3 files changed, 29 insertions(+), 32 deletions(-) commit 6d18b77ca7b81310f46d45eab3e2bdaa0b86396c Author: Matthias Clasen Date: Fri Jan 15 10:29:20 2016 -0500 expander: Destroy gadgets after child widgets With child widgets now being sorted into box gadgets, bad things happen if those gadgets disappear prematurely. gtk/gtkexpander.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6e4d65d227fa31c44e90597e97184dcfdf9f9f26 Author: Benjamin Otte Date: Fri Jan 15 12:58:14 2016 +0100 notebook: Destroy gadgets after chaining up While chaining up, we might still call into the notebook code. And that code expects the gadgets to be there. https://bugzilla.gnome.org/show_bug.cgi?id=760640 gtk/gtknotebook.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 2e27c0af25c12642a65b5611ee9f08c7406d6171 Author: Matthias Clasen Date: Fri Jan 15 09:41:44 2016 -0500 expander: Convert to use box gadgets Use a vertical box gadget for the overall expander, and a horizontal one for the title row. This lets us get rid of all the custom allocation code here. gtk/gtkexpander.c | 404 +++++------------------------------------------------- 1 file changed, 36 insertions(+), 368 deletions(-) commit 5f5dc1082036d0ec182ffba0445333d1c81c9166 Author: Matthias Clasen Date: Fri Jan 15 08:35:39 2016 -0500 expander: Deprecate spacing property The same can be achieved with margins on the child, and the spacing property gets in the way of converting the expander to use box gadgets. gtk/gtkexpander.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) commit 87171469b7dba8ec8ae3397ed292b9d004ef5e90 Author: Matthias Clasen Date: Fri Jan 15 06:47:31 2016 -0500 box gadget: Implement cross-axis alignment So far, the box gadget is always allocating all children the full size in the cross axis. This behavior corresponds to the align-items: stretch behavior in https://www.w3.org/TR/css-flexbox-1/#align-items-property This commit implements the other modes described there. While widgets have halign/valign properties that we can use for this, the API for inserting gadgets has to change to take an extra align parameter. All callers have been updated to pass GTK_ALIGN_FILL, since that corresponds to the previous behavior. https://bugzilla.gnome.org/show_bug.cgi?id=760668 gtk/gtkboxgadget.c | 127 +++++++++++++++++++++++++++++++++++++++++++--- gtk/gtkboxgadgetprivate.h | 5 +- gtk/gtknotebook.c | 14 ++--- 3 files changed, 131 insertions(+), 15 deletions(-) commit 662c7b87e20aef1599faa994aebc65f4420838a8 Author: Piotr Drąg Date: Fri Jan 15 15:18:32 2016 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit f6cc3be1185d98d71d85f86263edf82c786d9168 Author: Ignacio Casal Quinteiro Date: Fri Jan 15 11:45:45 2016 -0800 win32: get rid of _gdk_screen global variable The screen is part of the display so it should be belong to it. gdk/win32/gdkdisplay-win32.c | 20 +++++++++++++------- gdk/win32/gdkdisplay-win32.h | 2 ++ gdk/win32/gdkglobals-win32.c | 1 - gdk/win32/gdkprivate-win32.h | 1 - gdk/win32/gdkscreen-win32.c | 14 +++++++------- gdk/win32/gdkwindow-win32.c | 6 +++--- 6 files changed, 25 insertions(+), 19 deletions(-) commit ea7c509afda813bb865027b1aa6a3e5dbe1a8417 Author: Ignacio Casal Quinteiro Date: Fri Jan 15 11:53:51 2016 -0800 win32: fix warning gdk/win32/gdkselection-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 967ecc80d3e2b52dc95dfb1bfbd36a8df24462bb Author: Tom Schoonjans Date: Sun Jan 10 09:37:07 2016 +0530 Windows library manager fix The Makefile.am's had a dependency on incorrectly named libtool archives for the generation of the .lib files. https://bugzilla.gnome.org/show_bug.cgi?id=760388 gdk/Makefile.am | 2 +- gtk/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit c60cea3037719508e42b4ebf91ef076d1c7b74e1 Author: Alberts Muktupāvels Date: Tue Jan 12 21:34:56 2016 +0200 gtkwidgetpath: update gtk_widget_path_to_string From gtk_widget_path_iter_set_object_name documentation: "When set, the object name overrides the object type when matching CSS" Update gtk_widget_path_to_string to match this behaviour. gtk/gtkwidgetpath.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 276101a3bc33407fb4efbf4d020fc559f22150da Author: Eric Williams Date: Wed Jan 13 08:29:34 2016 -0500 Fix typo in previous documentation fix for gtk_css_provider_load_from_data() gtk/gtkcssprovider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5842e68a0d820f2179daf4d97d335deef3e770d5 Author: Matthias Clasen Date: Thu Jan 14 16:06:16 2016 -0500 Document -gtk-recolor syntax docs/reference/gtk/css-overview.xml | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) commit beec55a22bd80baad05428f84e1b99ae589f9171 Author: Matthias Clasen Date: Thu Jan 14 13:48:43 2016 -0500 Add a way to load recolored icons in CSS This can come in handy to load images that are not in an icon theme, but still benefit from symbolic recoloring. https://bugzilla.gnome.org/show_bug.cgi?id=760536 gtk/Makefile.am | 2 + gtk/gtkcssimage.c | 2 + gtk/gtkcssimagerecolor.c | 215 ++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssimagerecolorprivate.h | 54 ++++++++++ 4 files changed, 273 insertions(+) commit 1b0ef71696bdfdba34834bba995d6771ec3ae742 Author: Matthias Clasen Date: Thu Jan 14 13:49:08 2016 -0500 icon theme: Export recoloring function This will be used in subsequent commits. https://bugzilla.gnome.org/show_bug.cgi?id=760536 gtk/gtkicontheme.c | 23 +++++++++++------------ gtk/gtkiconthemeprivate.h | 7 +++++++ 2 files changed, 18 insertions(+), 12 deletions(-) commit 7d717c8113dc25690088f1e81449e32e8f337a06 Author: Matthias Clasen Date: Thu Jan 14 12:53:50 2016 -0500 icon theme: Add a way to create GtkIconInfos from files This is sometimes needed, and calling into actual icon theme code just for it is confusing - the resulting icon does not depend on the icon theme at all. https://bugzilla.gnome.org/show_bug.cgi?id=760536 gtk/gtkicontheme.c | 71 +++++++++++++++++++++++++++++------------------ gtk/gtkiconthemeprivate.h | 5 ++++ 2 files changed, 49 insertions(+), 27 deletions(-) commit c667f9f1d107486212e60a580176a46fd88214db Author: Lapo Calamandrei Date: Thu Jan 14 17:51:49 2016 +0100 Adwaita: pathbar style cleanup gtk/theme/Adwaita/_common.scss | 6 ------ gtk/theme/Adwaita/gtk-contained-dark.css | 32 ++++++++++---------------------- gtk/theme/Adwaita/gtk-contained.css | 32 ++++++++++---------------------- 3 files changed, 20 insertions(+), 50 deletions(-) commit ea69bf8c17dd5c9e7f76bf3cb4f56ec07b2e821f Author: Florian Müllner Date: Thu Jan 14 14:45:28 2016 +0100 cssstyleproperty: Expose min-width/height gtk/gtkcssstylepropertyimpl.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit bc2355e0b157d206117f5522178eb0f77e1988cb Author: Lapo Calamandrei Date: Thu Jan 14 16:26:22 2016 +0100 Adwaita: remove superfluous selector on keycap styling now that keys are made directly with labels istead of frames. gtk/theme/Adwaita/_common.scss | 2 -- gtk/theme/Adwaita/gtk-contained-dark.css | 2 -- gtk/theme/Adwaita/gtk-contained.css | 2 -- 3 files changed, 6 deletions(-) commit 4703d2bbf036e97a9500bcac02180b4e97df2273 Author: Timm Bäder Date: Wed Jan 13 19:24:46 2016 +0100 boxgadget: Don't use g_assert Use g_return_if_fail instead so nothing abort()s. gtk/gtkboxgadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a5fabee202911c94d9db09f98cdac3a48ef1667d Author: Timm Bäder Date: Wed Jan 13 19:14:33 2016 +0100 entry: Don't draw icons twice gtk/gtkentry.c | 9 --------- 1 file changed, 9 deletions(-) commit 49d251a3304d4ddfa2fd6c5257387838309d8db9 Author: Timm Bäder Date: Wed Jan 13 19:11:24 2016 +0100 entry: Remove unused code gtk/gtkentry.c | 4 ---- 1 file changed, 4 deletions(-) commit 2397d76137178839678b2e5d30d6886d48ea0f58 Author: Timm Bäder Date: Wed Jan 13 19:07:20 2016 +0100 label: Remove some unneeded conditionals We are never passing NULL here. gtk/gtklabel.c | 39 ++++++++++----------------------------- 1 file changed, 10 insertions(+), 29 deletions(-) commit 6a97b2563bbae4024d15e1439364601558fdea9c Author: Timm Bäder Date: Sat Jan 9 17:15:29 2016 +0100 shortcutlabel: Use a label directly We can everything we need without the frame around it now. gtk/gtkshortcutlabel.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) commit 37bd22c3d9513708c6a04c113d43791ccd063ad6 Author: Руслан Ижбулатов Date: Sun Dec 27 05:05:39 2015 +0000 GDK W32: Don't use WM-drawn shadow for tooltips This prevents WM from drawing shadows around tooltip windows, which, in Adwaita, should have no shadow and are CSD-ish (which means that tooltip window is larger than it looks, and WM draws the shadow only on the outside, leaving a gap between the visible tooltip edge and the shadow). https://bugzilla.gnome.org/show_bug.cgi?id=759898 gdk/win32/gdkwindow-win32.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 3cd79c11fcd14daf1058077e58a5ff154e09b06c Author: Paolo Borelli Date: Fri Dec 18 00:36:57 2015 +0100 win32: remove _gdk_root global variable gdk/win32/gdkdevice-win32.c | 15 +++--- gdk/win32/gdkdevice-wintab.c | 11 ++--- gdk/win32/gdkdevicemanager-win32.c | 7 ++- gdk/win32/gdkdisplay-win32.c | 8 ++-- gdk/win32/gdkdnd-win32.c | 4 +- gdk/win32/gdkevents-win32.c | 4 +- gdk/win32/gdkglobals-win32.c | 1 - gdk/win32/gdkprivate-win32.h | 7 ++- gdk/win32/gdkproperty-win32.c | 7 ++- gdk/win32/gdkscreen-win32.c | 66 ++++++++++++++++++++++++-- gdk/win32/gdkwindow-win32.c | 95 +++++++++++++------------------------- 11 files changed, 124 insertions(+), 101 deletions(-) commit e44b42061737ec4f6dbdad8f1a6dc2d53ea3dd02 Author: Руслан Ижбулатов Date: Thu Jan 14 12:51:26 2016 +0000 Ensure that the fstat fix is not applied on x86_64 gtk/gtkiconcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0acc6578d81dd955bcaf1e451e6523ac776191d8 Author: Matthias Clasen Date: Thu Jan 14 07:33:04 2016 -0500 expander: center the arrow In lieu of more sophisticated alignment, we need to at least center the arrow allocation wrt to the label. gtk/gtkexpander.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 59f1b87409c587093a68ae52500336b686c5903c Author: Руслан Ижбулатов Date: Thu Jan 14 09:40:58 2016 +0000 W32: Ensure that correct statting function is used by iconcache With Mingw-w64 fstat() can be an inline function that calls _fstat32() or _fstat64(), depending on some macros. And if LFS is enabled, fstat() is defined to turn into _fstat32i64() or _fstat64(). And some/all of the above might also be macros as well. Side-step all that mess and excplicitly re-define fstat as _fstat32, which is guaranteed to use a version of "stat" struct that has 32-bit size and time fields, which is what we want. https://bugzilla.gnome.org/show_bug.cgi?id=760615 gtk/gtkiconcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d2e80a79934ea59e13e7fe3c4d078e8f7b428213 Author: Matthias Clasen Date: Wed Jan 13 23:42:35 2016 -0500 font chooser: Add a CSS name The CSS name for GtkFontChooserWidget is fontchooser. gtk/gtkfontchooserwidget.c | 6 ++++++ 1 file changed, 6 insertions(+) commit c80adc33a41ca8480b97614e4b51c4d006d8d50a Author: Matthias Clasen Date: Wed Jan 13 23:38:14 2016 -0500 app chooser: Set a CSS name The CSS name for GtkAppChooserWidget is appchooser. gtk/gtkappchooserwidget.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 9657ec9331ef941d9aa11951f6fa02534a359fae Author: Matthias Clasen Date: Wed Jan 13 23:37:08 2016 -0500 print dialog: Set a CSS name The CSS name for GtkPrintUnixDialog is printdialog. gtk/gtkprintunixdialog.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 704b41b504b452a963be0d7ad09f82b8fe61e21c Author: Matthias Clasen Date: Wed Jan 13 23:35:22 2016 -0500 file chooser: Set a CSS name The CSS name for GtkFileChooserWidget is ... filechooser. gtk/gtkfilechooserwidget.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 2f169a493b367359c1cd5366fdd62a14d8db4c25 Author: Matthias Clasen Date: Wed Jan 13 23:34:03 2016 -0500 color chooser: Set a CSS name The CSS name for GtkColorChooserWidget is ... colorchooser. gtk/gtkcolorchooserwidget.c | 6 ++++++ 1 file changed, 6 insertions(+) commit dc5c82e29c1d1aa42622ce18ff1fbd02d43848be Author: Matthias Clasen Date: Wed Jan 13 23:24:38 2016 -0500 inspector: Don't select 'randomly' While rescanning the object tree, we were emitting ::object-selected signals, possibly causing wild blinking in the application window. Don't do that. https://bugzilla.gnome.org/show_bug.cgi?id=760572 gtk/inspector/object-tree.c | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) commit 0d298ea75b3f796438d591fef4e4abaf26a1c2fd Author: Matthias Clasen Date: Wed Jan 13 23:06:32 2016 -0500 Expand CSS icon property docs a bit docs/reference/gtk/css-properties.xml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) commit f0d4d96ded3bf501d76f4091b7d8083774a88dba Author: Matthias Clasen Date: Wed Jan 13 22:47:37 2016 -0500 Fix doc syntax docs/reference/gtk/css-properties.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 25ccbf4e3f982afdd8bed2993c05153bd8443419 Author: Matthias Clasen Date: Wed Jan 13 16:25:41 2016 -0500 Improve docs for icon-related CSS properties Clarify the relation between the various properties and the icon loading functions. docs/reference/gtk/css-overview.xml | 7 ++++--- docs/reference/gtk/css-properties.xml | 13 +++++++------ 2 files changed, 11 insertions(+), 9 deletions(-) commit 1009c88186c9473aed3ff4dbbb6f851254b5bf74 Author: Matthias Clasen Date: Wed Jan 13 16:17:44 2016 -0500 Make -gtk-icontheme() use -gtk-icon-palette This makes it possible to recolor themed icons with -gtk-icon-palette, regardless whether they are loaded by the theme or the application. gtk/gtkcssimageicontheme.c | 7 +++++-- gtk/gtkcssimageiconthemeprivate.h | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) commit 34c263683c1d6cb1d08f2fc9b7d3c66839c7b7db Author: Matthias Clasen Date: Wed Jan 13 16:16:39 2016 -0500 Move the -gtk-icon-palette property up Other properties will start depending on it in subsequent commits, so move it up to prevent ordering problems. gtk/gtkcssstylepropertyimpl.c | 20 ++++++++++---------- gtk/gtkcsstypesprivate.h | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) commit 1f65f1b746fb5948dc2ba29a3e281e9730f9d616 Author: Matthias Clasen Date: Wed Jan 13 13:58:52 2016 -0500 color swatch: Use right allocation for window Generally, input-only windows that correspond to CSS boxes should be sized to the border allocation of the gadget. gtk/gtkcolorswatch.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) commit e8b11778a862102dd727db58c3285e2d4b188a39 Author: Rafael Fontenelle Date: Wed Jan 13 18:55:36 2016 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 2830 +++++++++++++++++++++++++----------------------- 1 file changed, 1479 insertions(+), 1351 deletions(-) commit 2ec16c9f91d09341ca93a2badab7c62fff3fac9f Author: Matthias Clasen Date: Wed Jan 13 09:31:25 2016 -0500 Add css node tests for right-to-left levelbars testsuite/css/nodes/Makefile.am | 3 +- testsuite/css/nodes/levelbar.ltr.nodes | 55 ++++++++++++++++++++++++++++ testsuite/css/nodes/levelbar.ltr.ui | 66 ++++++++++++++++++++++++++++++++++ testsuite/css/nodes/levelbar.nodes | 55 ---------------------------- testsuite/css/nodes/levelbar.rtl.nodes | 55 ++++++++++++++++++++++++++++ testsuite/css/nodes/levelbar.rtl.ui | 66 ++++++++++++++++++++++++++++++++++ testsuite/css/nodes/levelbar.ui | 66 ---------------------------------- 7 files changed, 244 insertions(+), 122 deletions(-) commit 897126ae2bf1d82074321e42c20b1289a348fbcb Author: Cosimo Cecchi Date: Wed Jan 13 08:30:02 2016 -0800 notebook: fix a GCC warning gtk/gtknotebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a0fdbff938ecbf32c1a8fca35312ccdb0ebe6b5d Author: Matthias Clasen Date: Wed Jan 13 00:41:44 2016 -0500 Add css node tests for paned node ordering testsuite/css/nodes/Makefile.am | 2 ++ testsuite/css/nodes/paned.ltr.nodes | 6 ++++++ testsuite/css/nodes/paned.ltr.ui | 26 ++++++++++++++++++++++++++ testsuite/css/nodes/paned.rtl.nodes | 6 ++++++ testsuite/css/nodes/paned.rtl.ui | 26 ++++++++++++++++++++++++++ 5 files changed, 66 insertions(+) commit fb77ebe17e19c1f3061914cf41f49c067b390092 Author: Matthias Clasen Date: Wed Jan 13 00:40:11 2016 -0500 paned: Update node ordering according to text direction This was overlooked in the initial node conversion. gtk/gtkpaned.c | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) commit 7743944124371a93c029ab0cba145b8d3aa6bf0e Author: Matthias Clasen Date: Wed Jan 13 00:39:53 2016 -0500 GtkBox: Documentation tweak gtk/gtkbox.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit e386fcae04052e5cb545105d020465262e46db78 Author: Matthias Clasen Date: Wed Jan 13 00:26:48 2016 -0500 Update expected output of notebook css node test The stack node is new. testsuite/css/nodes/notebook.nodes | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 93aac8a86c27a73734af49255a22ba97c9b237f5 Author: Matthias Clasen Date: Wed Jan 13 00:24:40 2016 -0500 notebook: Document the .dnd style class We should aim to document all style classes that themes can encounter during the normal operation of a widget. gtk/gtknotebook.c | 2 ++ 1 file changed, 2 insertions(+) commit ea4cff1ea45413ef0ecd8e09af97199c788c9957 Author: Matthias Clasen Date: Wed Jan 13 00:05:16 2016 -0500 Use convenience API that was introduced recently Use gtk_css_gadget_set_state in all the places where we previously were getting a node from a gadget, just to call gtk_css_node_set_state. gtk/gtkcheckbutton.c | 5 +++-- gtk/gtkcheckmenuitem.c | 3 +-- gtk/gtkcolorswatch.c | 4 ++-- gtk/gtkentry.c | 2 +- gtk/gtkexpander.c | 4 ++-- gtk/gtkframe.c | 5 +---- gtk/gtklevelbar.c | 7 +++---- gtk/gtkmenu.c | 6 ++---- gtk/gtkmodelbutton.c | 4 ++-- gtk/gtkprogressbar.c | 8 ++++---- gtk/gtkspinbutton.c | 6 ++---- 11 files changed, 23 insertions(+), 31 deletions(-) commit 64b499be6616c909ea6544f03520e0c928b8d302 Author: Matthias Clasen Date: Wed Jan 13 00:01:14 2016 -0500 builtin icon: Don't save/restore cairo state The reason why this was introduced is now handled in gtk_css_stylke_render_icon since commit 0138af9f9684c0ec436b37e5962e9f82607d3ff8. gtk/gtkbuiltinicon.c | 2 -- 1 file changed, 2 deletions(-) commit c71089a0383ec0368dc6855492b94d7277053f6a Author: Matthias Clasen Date: Tue Jan 12 23:57:35 2016 -0500 box gadget: Add some documentation gtk/gtkboxgadget.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 2677eee720f498a58540a694d6cb1498bebcfbeb Author: Matthias Clasen Date: Tue Jan 12 23:40:28 2016 -0500 box: Document child node ordering gtk/gtkbox.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit d7e5fd2e2fa505535ddf31feda1ac0164061bd43 Author: Dominique Leuenberger Date: Tue Jan 12 08:29:00 2016 +0000 QEMU USB Tablet is not really a tablet - it's a trick Unfortunately, Qemu gives us this confusing device to work with, and the best we can do is filter it out based on its name. https://bugzilla.gnome.org/show_bug.cgi?id=760445 gdk/x11/gdkdevicemanager-xi2.c | 1 + 1 file changed, 1 insertion(+) commit f4d2d66b1e2dd36666cf78dc89df1ae5bebefb64 Author: Ting-Wei Lan Date: Mon Jan 11 11:46:45 2016 +0800 broadway: Call setlocale in main function of broadwayd It is required to correctly show translated messages on some locales. https://bugzilla.gnome.org/show_bug.cgi?id=760416 gdk/broadway/broadwayd.c | 3 +++ 1 file changed, 3 insertions(+) commit b8db48079f7716290464cbee9ae879c95d406c65 Author: Timm Bäder Date: Tue Jan 12 21:37:27 2016 +0100 switch: Fix text positioning https://bugzilla.gnome.org/show_bug.cgi?id=760509 gtk/gtkswitch.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit a8ceeb17667e40b61806e3e9a8e631c304e30b17 Author: Timm Bäder Date: Tue Jan 12 21:36:37 2016 +0100 switch: Don't include margins in input window size https://bugzilla.gnome.org/show_bug.cgi?id=760509 gtk/gtkswitch.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) commit ff7e2797f6ffb61eb5dcb7865a85322c8ef22238 Author: Timm Bäder Date: Tue Jan 12 20:25:25 2016 +0100 modelbutton: Don't include margins in input window size https://bugzilla.gnome.org/show_bug.cgi?id=760509 gtk/gtkmodelbutton.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) commit 788ee466b8874d940a0f0122f870ecbdcb2602d3 Author: Timm Bäder Date: Tue Jan 12 20:18:08 2016 +0100 button: Don't include margins in input window size And do the same thing for GtkCheckButton https://bugzilla.gnome.org/show_bug.cgi?id=760509 gtk/gtkbutton.c | 19 +++++++++++-------- gtk/gtkcheckbutton.c | 19 +++++++++++-------- 2 files changed, 22 insertions(+), 16 deletions(-) commit 19fa89306788eb05f808cd52c9113e3cbdaa1e71 Author: Timm Bäder Date: Fri Jan 8 17:30:47 2016 +0100 entry: typo gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0ba5e38c91685e424a64562c1ab07bb309d0efdc Author: Alberts Muktupāvels Date: Tue Jan 12 09:51:26 2016 +0200 gdkseat: remove return from gdk_seat_ungrab gdk/gdkseat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8cb515e2f304be67dc60900a069b85c064b2b66a Author: Timm Bäder Date: Tue Jan 12 09:32:04 2016 +0100 Remove stray semicolon Gets rid of a mixed code/declaration warning. gdk/wayland/gdkdevice-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c5d3556f98352e0fbeec5df969312328c769fca4 Author: Matthias Clasen Date: Mon Jan 11 23:20:26 2016 -0500 HighContrast: Fix selection in .views Copy Adwaita fixes from 21a2fce8ba2a48fe3781e7a1f02b33e3a7bfd9ac. gtk/theme/HighContrast/_common.scss | 26 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 733 ++++++++++++----------- gtk/theme/HighContrast/gtk-contained.css | 683 +++++++++++---------- 3 files changed, 744 insertions(+), 698 deletions(-) commit 52a34d32bb2e104de3ec242ee142ff22842909a4 Author: Matthias Clasen Date: Mon Jan 11 22:48:35 2016 -0500 Fix corner manipulation when growing rounded rects This addresses problems with uneven border radius', pointed out by Lapo. gtk/gtkroundedbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7e5952c4eae948575f294fe567107817208739dc Author: Ben Iofel Date: Mon Jan 11 19:13:30 2016 -0500 GTK Notebook: use the right enum type gtk/gtknotebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1c3bad3d907f3b824d93931edf7fb3eaf68f35f8 Author: Lapo Calamandrei Date: Tue Jan 12 01:03:47 2016 +0100 Adwaita: popover style fixes gtk/theme/Adwaita/_colors.scss | 1 + gtk/theme/Adwaita/_common.scss | 12 ++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 15 +++------------ gtk/theme/Adwaita/gtk-contained.css | 15 +++------------ 4 files changed, 11 insertions(+), 32 deletions(-) commit 21a2fce8ba2a48fe3781e7a1f02b33e3a7bfd9ac Author: Lapo Calamandrei Date: Tue Jan 12 00:16:12 2016 +0100 Adwaita: make selection visible in treeview derived widgets See https://bugzilla.gnome.org/show_bug.cgi?id=757503 gtk/theme/Adwaita/_common.scss | 26 +- gtk/theme/Adwaita/gtk-contained-dark.css | 853 ++++++++++++++++------------- gtk/theme/Adwaita/gtk-contained.css | 911 +++++++++++++++++-------------- 3 files changed, 964 insertions(+), 826 deletions(-) commit 473433c93d5e2c57e265ead893b96570569b5b17 Author: Hashem Nasarat Date: Mon Jan 11 01:02:41 2016 -0500 Adwaita: fix separator margin in popovers Commit 0b96b8a1 set margins via css, but accidentally changed the semantics of margins for separators in popovers so that any separator in a gtkpopover had a margin. This meant that the separators in GtkListBoxes in popovers also had a margin around their separators, and this is not what we want because it doesn't match separators in listboxes not in popovers. https://bugzilla.gnome.org/show_bug.cgi?id=760427 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) commit 2c0b251dac2816133f5fddc4715a23d8050acb76 Author: Matthias Clasen Date: Mon Jan 11 15:09:47 2016 -0500 Improve deprecation note for gdk_device_manager_get_client_pointer List gdk_seat_get_pointer as replacement. Suggested in https://bugzilla.gnome.org/show_bug.cgi?id=759785 gdk/gdkdevicemanager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5c50250273eb17966c10a1ec9059067887c55bea Author: Matthias Clasen Date: Mon Jan 11 15:06:15 2016 -0500 Fix the deprecation note for gdk_device_manager_list_devices Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=759785 gdk/gdkdevicemanager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 63365d5044145c885c88aa75a68172bd2c7ea7aa Author: Matthias Clasen Date: Mon Jan 11 15:04:32 2016 -0500 Fix the annotation for gdk_seat_get_slaves Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=759785 gdk/gdkseat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0167f7c65c95b3bcf2d4800c1eceaf8f916ea303 Author: Carlos Garnacho Date: Mon Jan 11 20:06:14 2016 +0100 GtkWidget: Fix motion event consumption detection for touch-only gestures If a GtkGestureSingle is set as touch-only, pointer events would be discarded without giving an opportunity to the regular GtkGesture handler to manage those. Because the pointer events weren't actually managed by the gesture, gtk_gesture_get_sequence_state() (rather unhelpfully here) will resort to returning GTK_EVENT_SEQUENCE_NONE, which is in turn interpreted by _gtk_widget_consumes_motion() as "may be handling the events for this sequence", because gestures in this state presumably handle the events, just that it's not "claimed" yet. Instead, use gtk_gesture_handles_sequence(), which will perform the expected check on the event sequence being managed, as we expect here. gtk/gtkwidget.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 32eda187ee829a8550a3ec07d407dea4c0c89992 Author: Matthias Clasen Date: Mon Jan 11 13:58:37 2016 -0500 Actually deprecate GtkNotebook::has-tab-gap gtk/gtknotebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 990be25d6366849d6fc32acfa02c19c4a65a26b4 Author: Matthias Clasen Date: Mon Jan 11 13:55:23 2016 -0500 notebook: Update CSS node docs The stack node is new. gtk/gtknotebook.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 3a8dc01ed22ca627720642f5dcb53c66cd18b2ba Author: Benjamin Otte Date: Mon Jan 11 17:52:38 2016 +0100 notebook: Don't reparent tab label when drag stops Use the same unrealize + set_parent_window() trick that we used in 6d5edd18cf5637274762b7a51488d27d5bed600d when dragging starts. gtk/gtknotebook.c | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) commit b917a0b155b005dee625b3b35f1072c916023640 Author: Benjamin Otte Date: Mon Jan 11 17:46:15 2016 +0100 notebook: Add .dnd style class to tabs during reorder gtk/gtknotebook.c | 3 +++ 1 file changed, 3 insertions(+) commit 6d5edd18cf5637274762b7a51488d27d5bed600d Author: Benjamin Otte Date: Sat Jan 9 14:25:26 2016 +0100 notebook: Don't unparent tab label for drag When a tab drag starts, we need to move the tab label into the drag window via gtk_widget_set_parent_window(). If we don't unparent, but just unrealize the widget, we don't lose the cssnode position. gtk/gtknotebook.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit fdc13f315b3d00a632fa50a90d583d156d0785cd Author: Benjamin Otte Date: Thu Jan 7 15:54:58 2016 +0100 notebook: Don't limit motion notify framerate We have a frameclock for that these days. In particular, this limiting worked at 45fps when monitors are all 60fps. gtk/gtknotebook.c | 8 -------- 1 file changed, 8 deletions(-) commit d74c1bfd849cee88c7163ded68a749ce7ac7c2e8 Author: Benjamin Otte Date: Thu Jan 7 12:30:05 2016 +0100 notebook: Remove outdated style properties from themes No replacement provided, the notebook will have to be redone anyway. gtk/theme/Adwaita/_common.scss | 5 ----- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ---- gtk/theme/Adwaita/gtk-contained.css | 4 ---- gtk/theme/HighContrast/_common.scss | 5 ----- gtk/theme/HighContrast/gtk-contained-inverse.css | 4 ---- gtk/theme/HighContrast/gtk-contained.css | 4 ---- 6 files changed, 26 deletions(-) commit 8020d5f93a791b76c2777e8ddcd4046ba838534e Author: Benjamin Otte Date: Thu Jan 7 12:28:24 2016 +0100 notebook: Don't store gadget allocation twice If we care about a gadget's allocation, we can ask it. There's no need to store it in GtkNotebookPage.allocation. gtk/gtkcssgadget.c | 24 +++++++++ gtk/gtkcssgadgetprivate.h | 3 ++ gtk/gtknotebook.c | 121 ++++++++++++++++++++++------------------------ 3 files changed, 85 insertions(+), 63 deletions(-) commit 2ef3b0144281433dc05b4ac05a4f87ba65482a61 Author: Benjamin Otte Date: Thu Jan 7 12:21:25 2016 +0100 notebook: No need to recompute remaining space The value is correct. In particular, subtracting width on notebooks with tabs on left/right is a very bad idea. gtk/gtknotebook.c | 1 - 1 file changed, 1 deletion(-) commit 4c083f818290b45645ab72eb80c7ff871ef20576 Author: Benjamin Otte Date: Wed Jan 6 17:41:41 2016 +0100 notebook: Port arrows to be gadgets Also deprecate the arrow-spacing style property. gtk/gtknotebook.c | 628 ++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 395 insertions(+), 233 deletions(-) commit 326fda1b0e6e0f3ea49e7039a2553a2e3d1f4436 Author: Benjamin Otte Date: Tue Dec 29 19:31:04 2015 +0100 notebook: Pass full allocation instead of min and max value gtk/gtknotebook.c | 97 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 49 insertions(+), 48 deletions(-) commit 96f0cf767785a806f67f8b1eaf95f0991b3c7114 Author: Benjamin Otte Date: Tue Dec 29 19:18:02 2015 +0100 notebook: Pass allocation as argument ... instead of querying it later. gtk/gtknotebook.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) commit 6b8c19109667be248cb2996a00554cbb11f37293 Author: Benjamin Otte Date: Tue Dec 29 04:42:29 2015 +0100 notebook: Simplify allocation code gtk/gtknotebook.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) commit 0e48216c483b46528474785343fb0c3fe702e8e5 Author: Benjamin Otte Date: Fri Dec 25 23:44:08 2015 +0100 notebook: Identify existence of arrows differently Instead of having gbooleans in the priv struct, just look at the existence of priv->arrow_node[i]. gtk/gtknotebook.c | 115 ++++++++++++++++-------------------------------------- 1 file changed, 34 insertions(+), 81 deletions(-) commit a12e1328e94fa51f49d05858284d78aa399b5ddf Author: Benjamin Otte Date: Fri Dec 25 02:39:43 2015 +0100 notebook: Convert tab nodes to gadgets The code does many bad things, so we get a lot of warning spew. Ignore this for now, fixes will follow. gtk/gtknotebook.c | 429 +++++++++++++++++++++++++----------------------------- 1 file changed, 195 insertions(+), 234 deletions(-) commit d780ce3ff38117b359158946773b32df2eae75ad Author: Benjamin Otte Date: Fri Dec 25 02:12:15 2015 +0100 notebook: Assume tab allocations always change This causes more redraws, but saves a bunch of code. gtk/gtknotebook.c | 39 ++++++--------------------------------- 1 file changed, 6 insertions(+), 33 deletions(-) commit 7e0c7f7deb8e93322e2b171203acc5007a7c7ab9 Author: Benjamin Otte Date: Fri Dec 25 01:27:22 2015 +0100 notebook: Remove weird hack where the current page was special-cased I don't even know what it does, but it assumed that the current page was always as large or larger than any other page. And that isn't true. gtk/gtknotebook.c | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) commit 3cda7e9503fabbec04f84357386ebf13c7ec0b4b Author: Benjamin Otte Date: Fri Dec 25 01:19:31 2015 +0100 boxgadget: Handle css nodes Automatically insert the cssnode into the box gadget's node's children at the right place and remove it again when done. gtk/gtkboxgadget.c | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) commit a9320d93f69b95a1a507cde080a56fe2b45ceb08 Author: Benjamin Otte Date: Thu Dec 24 20:38:24 2015 +0100 notebook: Replace redraw_tabs() with gadget_queue_draw(tabs_gadget) gtk/gtknotebook.c | 68 ++++++++----------------------------------------------- 1 file changed, 10 insertions(+), 58 deletions(-) commit f83c1fedbc12b741e10df1f03de11ab8fceba42f Author: Benjamin Otte Date: Thu Dec 24 20:34:54 2015 +0100 notebook: Don't queue redraw of tabs junction There is no junction anymore, so don't try to redraw it. gtk/gtknotebook.c | 65 ------------------------------------------------------- 1 file changed, 65 deletions(-) commit f1e277969a7f7f45b840823a641fc43566e3ebfa Author: Benjamin Otte Date: Thu Dec 24 20:33:36 2015 +0100 gadget: Add queue_resize/allocate/draw() functions gtk/gtkcssgadget.c | 42 +++++++++++++++++++++++++++++++----------- gtk/gtkcssgadgetprivate.h | 4 ++++ 2 files changed, 35 insertions(+), 11 deletions(-) commit e1722baf57fc64f0ee7bcd519cb2e715213171c8 Author: Benjamin Otte Date: Thu Dec 24 15:26:11 2015 +0100 notebook: Convert tabs node to a gadget And in turn, convert the header gadget to a box gadget. gtk/gtknotebook.c | 340 ++++++++++++++++++++---------------------------------- 1 file changed, 122 insertions(+), 218 deletions(-) commit acc534ebfa2a3c292aca590c8a116a6340d2274d Author: Benjamin Otte Date: Wed Dec 23 04:09:30 2015 +0100 boxgadget: Add Adds a GtkBoxGadget that is a Gadget that behaves like a GtkBox. Use this gadget to implement the notebook base gadget. gtk/Makefile.am | 2 + gtk/gtkboxgadget.c | 511 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkboxgadgetprivate.h | 74 +++++++ gtk/gtknotebook.c | 334 +++++++----------------------- 4 files changed, 658 insertions(+), 263 deletions(-) commit 749855c1d1857f08b8c2d5b73c0e2dca1310cb2f Author: Benjamin Otte Date: Wed Dec 23 03:40:48 2015 +0100 notebook: Remove unused function call gtk/gtknotebook.c | 2 -- 1 file changed, 2 deletions(-) commit 70b9aacfc22b629c9f9c467035baacc088a8a060 Author: Benjamin Otte Date: Wed Dec 23 03:39:12 2015 +0100 notebook: Simplify event window position computation The event window should overlay the header gadget, so just return its position. gtk/gtknotebook.c | 90 +++++++++---------------------------------------------- 1 file changed, 14 insertions(+), 76 deletions(-) commit ad245e02265379e8aadbe0d299f62339ff0f3d11 Author: Benjamin Otte Date: Wed Dec 23 01:18:30 2015 +0100 notebook: Introduce gtk_notebook_has_current_page() GtkNotebook does not switch the current page if all pages are hidden. So it may be that no visible page exsits, but there still is a current page set. We culd clear the current page, but I'm unsure about backwards compatibility. So instead, this new function handles that case. gtk/gtknotebook.c | 55 ++++++++++++++++++++++++++----------------------------- 1 file changed, 26 insertions(+), 29 deletions(-) commit 0d72055b890150addea3d85047045093d013377a Author: Benjamin Otte Date: Tue Dec 22 23:03:38 2015 +0100 notebook: Use gtk_container_class_handle_border_width() gtk/gtknotebook.c | 77 +++++++++++++++++++------------------------------------ 1 file changed, 27 insertions(+), 50 deletions(-) commit f34059c3b62df3a3e3a8ae3941a6edc5e6c29945 Author: Benjamin Otte Date: Sat Dec 19 22:25:34 2015 +0100 notebook: Convert header node to a gadget This allows reworking the content node to do real height-for-width. The content node also takes care of border width, but we might want to have the toplevel do it or just get rid of it. gtk/gtknotebook.c | 579 +++++++++++++++++++++++++++++------------------------- 1 file changed, 308 insertions(+), 271 deletions(-) commit 8c1a73326c2871206a007b55da587000760cc15b Author: Benjamin Otte Date: Sat Dec 19 08:46:28 2015 +0100 gadget: Add helpers for modifying state They will be used in future commits. I also was too lazy to convert existing widgets. gtk/gtkcssgadget.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssgadgetprivate.h | 6 ++++++ 2 files changed, 56 insertions(+) commit e27551ddb276ee50a879a552f8fad7290502aff5 Author: Benjamin Otte Date: Sat Dec 19 08:35:18 2015 +0100 notebook: Add a stack gadget The stack gadget contains all the child widgets. gtk/gtknotebook.c | 152 ++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 119 insertions(+), 33 deletions(-) commit c03fed4840bb0b07fb950f46e20e8c6b7dbb7c3e Author: Benjamin Otte Date: Sat Dec 19 08:10:35 2015 +0100 notebook: Remove extra calls to gtk_notebook_pages_allocate() The function is called during size_allocate() and doesn't need to be called elsewhere, as all other callers call queue_resize() already. gtk/gtknotebook.c | 9 --------- 1 file changed, 9 deletions(-) commit 33b6e30f68fd9a50cec90f0eabe9a84d1c83f9e9 Author: Benjamin Otte Date: Sat Dec 19 08:04:41 2015 +0100 notebook: Remove unnessecary gtk_widget_set_mapped() We chain up, and the chainedup function calls this for us. gtk/gtknotebook.c | 2 -- 1 file changed, 2 deletions(-) commit dc4148c4e2d17e43f9c06dd41334de642755ce0d Author: Benjamin Otte Date: Sat Dec 19 08:03:41 2015 +0100 notebook: Simplify gtk_notebook_map() We set visibility on our children properly, so we can simply chain up and let the GtkContainer implementation do the mapping of children. gtk/gtknotebook.c | 37 +------------------------------------ 1 file changed, 1 insertion(+), 36 deletions(-) commit 22398ef4591d896190be049e0ee6ba4ab32f6059 Author: Benjamin Otte Date: Sat Dec 19 06:58:14 2015 +0100 notebook: Remove irrelevant case The page is never the current page, because it was just created and the current page wasn't changed yet. gtk/gtknotebook.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 0e528ec74e39bc9b726f8a1a32236d36b904261d Author: Benjamin Otte Date: Sat Dec 19 06:56:48 2015 +0100 notebook: No page switching in size request code We have page switching under control now, we don't need to check every get_preferred_size() call. gtk/gtknotebook.c | 36 ------------------------------------ 1 file changed, 36 deletions(-) commit 1190efebce5892f80545a91461c6b9c80abfd7e7 Author: Benjamin Otte Date: Sat Dec 19 06:56:04 2015 +0100 notebook: Set the current page when none is set This case happens when you gtk_widget_show_all (notebook). gtk/gtknotebook.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 0045e57e96eeffd3ff914a47fa2ac1e5dc1a3966 Author: Benjamin Otte Date: Sat Dec 19 03:57:43 2015 +0100 notebook: Draw the same things, no matter the show-border value show-border modifies the "frame" style class on the notebook node, but not what we actually draw. gtk/gtknotebook.c | 66 ++++++++++++++++++++++++++----------------------------- 1 file changed, 31 insertions(+), 35 deletions(-) commit fd9ffe5d577135f17a81b9422c37617816ebb1ad Author: Benjamin Otte Date: Fri Dec 18 00:47:03 2015 +0100 notebook: Turn the base notebook into a gadget gtk/gtknotebook.c | 266 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 140 insertions(+), 126 deletions(-) commit 92089ee29e9c614187870fcf3347b0a908fa9e42 Author: Benjamin Otte Date: Thu Dec 17 13:16:12 2015 +0100 notebook: Draw tab label while drawing tab Instead of having special case code doing it. gtk/gtknotebook.c | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) commit 3d980da4050851a9ce082e7f1290162fd8a98b76 Author: Benjamin Otte Date: Thu Dec 17 05:51:38 2015 +0100 notebook: Don't translate before painting notebook This will allow us to draw children directly from within the notebook drawing code, which will remove a bunch of special casing. gtk/gtknotebook.c | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) commit 93dc364b02fb28a60c3ef94efbd37ca3dd560be6 Author: Benjamin Otte Date: Thu Dec 17 05:27:51 2015 +0100 notebook: Deprecate and stop supporting has-tab-gap style property gtk/gtknotebook.c | 128 +--- gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 794 ++++++++++------------- gtk/theme/Adwaita/gtk-contained.css | 780 ++++++++++------------ gtk/theme/HighContrast/_common.scss | 1 - gtk/theme/HighContrast/gtk-contained-inverse.css | 643 +++++++++--------- gtk/theme/HighContrast/gtk-contained.css | 593 +++++++++-------- 7 files changed, 1344 insertions(+), 1596 deletions(-) commit 71cc212eb5778a09bed809ec8473b6040784d930 Author: Benjamin Otte Date: Thu Dec 17 02:39:24 2015 +0100 notebook: Ignore and deprecate style properties Deprecate initial-gap, tab-curvature and tab-overlap properties. All their features can be achieved using CSS. This CSS achieves the same effect as a 10px initial gap: notebook header { margin-left: 10px; margin-right: 10px; } A tab overlap of 10px can be achieved via: notebook tabs { margin-left: 10px; } notebook tab { margin-left: -10px; } And tab curvature is essentially the same as padding or border on a tab. gtk/gtknotebook.c | 174 +++++++++++++++--------------------------------------- 1 file changed, 47 insertions(+), 127 deletions(-) commit 0138af9f9684c0ec436b37e5962e9f82607d3ff8 Author: Benjamin Otte Date: Wed Jan 6 18:14:11 2016 +0100 rendericon: Save and restore cairo matrix ... instead of requiring cairo_save()/cairo_restore(). gtk/gtkrendericon.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 4e627e108e1b8af5bf2ffc4fdd6dc2eab3ad1166 Author: Benjamin Otte Date: Thu Dec 24 18:21:38 2015 +0100 testnotebookdnd: Add an action widget Just so we have some test that tests action widgets. tests/testnotebookdnd.c | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) commit fa7816d99c70a759d67ddc09bc2cadf7cf2a29dd Author: Benjamin Otte Date: Sat Dec 19 08:09:06 2015 +0100 dnd: When setting a dnd icon widget, unset old one Setting a DND icon twice should actually work and not cause warnings the 2nd time. gtk/gtkdnd.c | 2 ++ 1 file changed, 2 insertions(+) commit fb0a628975581cc7c6949ae0cde42557010a8ee5 Author: Jiro Matsuzawa Date: Mon Jan 11 23:58:16 2016 +0900 Updated Japanese translation Change B series paper names in accordance with the Japanese standards. po/ja.po | 1454 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 788 insertions(+), 666 deletions(-) commit 67c6d24bb2833a60bdb81d1feb3081bd14c63d8d Author: Krzesimir Nowak Date: Mon Jan 11 12:05:18 2016 +0100 Fix a small mistake in stylecontext docs Fix the "will be also be" to become "will also be". gtk/gtkstylecontext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7a06e0102dbf211509a00b5ada7eaa50d6e0be53 Author: Dušan Kazik Date: Mon Jan 11 09:48:05 2016 +0000 Updated Slovak translation po/sk.po | 107 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 52 insertions(+), 55 deletions(-) commit b035cc2cb61eb07884036f854c50a253c27f1cef Author: Matthias Clasen Date: Sun Jan 10 17:08:56 2016 -0500 Update style class docs Instead of pointing to (outdated) widgets here, just refer to widget docs in general. gtk/gtkstylecontext.h | 213 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 127 insertions(+), 86 deletions(-) commit cffe2e2c93a80d5cf23c7ec6586c3eec6ae713c3 Author: Matthias Clasen Date: Sun Jan 10 16:22:03 2016 -0500 Improve GtkStyleContext docs Refer to the foreign drawing example in gtk3-demo, refer to the widget documentation for style properties, remove no-longer-used treeview regions. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkstylecontext.c | 75 ++++++++++++++++++------------------ 2 files changed, 38 insertions(+), 38 deletions(-) commit 7ee65da0e3c4a7e5552450ec37e691abb1c62b28 Author: Matthias Clasen Date: Sun Jan 10 15:32:53 2016 -0500 Add foreigndrawing example to gtk3-demo This makes it easier accessible and nicer to refer to from the documentation. demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 1 + demos/gtk-demo/foreigndrawing.c | 337 +++++++++++++++++++++++++++++++++++++ tests/Makefile.am | 1 - tests/foreigndrawing.c | 338 -------------------------------------- 5 files changed, 339 insertions(+), 339 deletions(-) commit 6d239cfba714fd11bd5e78d374aa182520c5819e Author: Matthias Clasen Date: Sun Jan 10 14:50:24 2016 -0500 Add a css style test for adjacent states This test checks that the selector E:state + F works as expected. https://bugzilla.gnome.org/show_bug.cgi?id=722727 testsuite/css/style/Makefile.am | 11 +++---- testsuite/css/style/adjacent-states.css | 7 +++++ testsuite/css/style/adjacent-states.nodes | 13 ++++++++ testsuite/css/style/adjacent-states.ui | 49 +++++++++++++++++++++++++++++++ 4 files changed, 75 insertions(+), 5 deletions(-) commit 0f120ea5101f9f47212b0afd583e9469187b1e0f Author: Ting-Wei Lan Date: Sat Jan 9 17:24:12 2016 +0800 Cast the return value of g_array_free to void* before casting to char** Let the compiler know that we don't want to use it as char*, so there is no alignment error. https://bugzilla.gnome.org/show_bug.cgi?id=760350 https://bugzilla.gnome.org/show_bug.cgi?id=755659 gtk/gtkactionmuxer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2dc8d1f611094dfba1d635c43e20967c99a944a3 Author: Rico Tzschichholz Date: Sun Jan 10 16:49:42 2016 +0100 GdkSeat: Fix annotation of gdk_seat_grab() gdk/gdkseat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0ddc1eed1904c0df8789ea678569629f8dfdddc4 Author: Matthias Clasen Date: Sat Jan 9 23:42:37 2016 -0500 Fix rendering of unsymmetric borders There was an errant path that threw off our clipping for the top section of the border. https://bugzilla.gnome.org/show_bug.cgi?id=722937 gtk/gtkrenderborder.c | 1 - 1 file changed, 1 deletion(-) commit caaf537f94f0e03aabadef8c80a7a39dda02e2ff Author: Matthias Clasen Date: Sat Jan 9 17:30:33 2016 -0500 Avoid division by 0 in the border rendering code We skip sides with 0 border width in render_border, but when we collect sides with the same style, we may pass the 0 width down to render_frame_stroke anyway. So skip width 0 sides there as well. gtk/gtkrenderborder.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 7d0173763eb89f221636a07a28e45f9c29f8a069 Author: Jiri Grönroos Date: Sat Jan 9 21:39:37 2016 +0000 Updated Finnish translation po/fi.po | 1654 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 829 insertions(+), 825 deletions(-) commit 12bc8ddb934f76396b070b9aeb47346e62cc70a5 Author: Matthias Clasen Date: Sat Jan 9 14:36:05 2016 -0500 Fix dobule border rendering This is the same fix that was applied for ridge and groove style in 9f27ee7f5abf49a20ac95d57b306ecd4294b49c6. gtk/gtkrenderborder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 152171e60c1393e7856579e8af4831c1407d8fcf Author: Lapo Calamandrei Date: Sat Jan 9 20:05:41 2016 +0100 Adwaita: transparent background for progressbar.osd Hopefully fixes https://bugzilla.gnome.org/show_bug.cgi?id=760331 Added the .osd style class to the progressbar docs. gtk/gtkprogressbar.c | 4 +++- gtk/theme/Adwaita/_common.scss | 4 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 4 files changed, 10 insertions(+), 4 deletions(-) commit 6da0a0a106cebb1f06194c711820ddfa8c127ca8 Author: Lapo Calamandrei Date: Sat Jan 9 19:27:15 2016 +0100 gtkheaderbar: add titlebutton styleclass to the separator ...of the window control buttons gtk/gtkheaderbar.c | 1 + 1 file changed, 1 insertion(+) commit 99365753bf8cef94774761bf717945ba9ead21ed Author: Lapo Calamandrei Date: Sat Jan 9 18:03:26 2016 +0100 Adwaita: shortcut window related fixes gtk/theme/Adwaita/_common.scss | 37 ++++++++++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 30 +++++++++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 30 +++++++++++++++++++------- 3 files changed, 72 insertions(+), 25 deletions(-) commit 44e0e1359c94a0dbd760fa51ff55034d1f8729d5 Author: Lapo Calamandrei Date: Sat Jan 9 15:30:20 2016 +0100 Adwaita: avoid colorswatch growing when drop targets gtk/theme/Adwaita/_common.scss | 4 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) commit 239303b3f83f52c519baba756d965f61083b6f71 Author: Lapo Calamandrei Date: Sat Jan 9 14:36:05 2016 +0100 Adwaita: more scss cosmetics gtk/theme/Adwaita/_common.scss | 995 +++++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained-dark.css | 133 +++-- gtk/theme/Adwaita/gtk-contained.css | 133 +++-- 3 files changed, 801 insertions(+), 460 deletions(-) commit 2050ed04dd4dbaf07d62c0f4f7a7b3827deda0e0 Author: Lapo Calamandrei Date: Sat Jan 9 13:35:48 2016 +0100 Adwaita: rely on background-image for paned wide separators this workaround fixes the rendering issue coming out using borders gtk/theme/Adwaita/_common.scss | 14 +++++++------- gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++++------- gtk/theme/Adwaita/gtk-contained.css | 14 +++++++------- 3 files changed, 21 insertions(+), 21 deletions(-) commit 4355cb45d799d188abe8e17ae4e192dc40336ba9 Author: Lapo Calamandrei Date: Sat Jan 9 13:04:27 2016 +0100 Adwaita: make the paned wide separator scss code correct unfortunatelly the results are not, borders behaves in a weird way here as well, if this don't get fixed I'll rely on background here too. gtk/theme/Adwaita/_common.scss | 36 +++++++++++++++++++++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 23 +++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 23 +++++++++++++------- 3 files changed, 58 insertions(+), 24 deletions(-) commit 2b57ba61d5de63d6e19b0cadb238bf27d7984fc4 Author: Lapo Calamandrei Date: Sat Jan 9 12:38:49 2016 +0100 Adwaita: some scss cosmetic changes gtk/theme/Adwaita/_common.scss | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) commit f09483bb98603a66aa25a75c549b54167245c038 Author: Lapo Calamandrei Date: Sat Jan 9 12:31:41 2016 +0100 Adwaita: fix thin paned separators gtk/theme/Adwaita/_common.scss | 31 +++++++++++++++++++++---------- gtk/theme/Adwaita/gtk-contained-dark.css | 31 ++++++++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 31 ++++++++++++++++++++----------- 3 files changed, 61 insertions(+), 32 deletions(-) commit b143ed98b3194e2116729a9596c2a2bc7217c40a Author: Lapo Calamandrei Date: Sat Jan 9 12:05:31 2016 +0100 Adwaita: use stricter selectors on paned separators this fixes the "fat" separator on gedit headerbar, since it was cought by the paned separator styling. gtk/theme/Adwaita/_common.scss | 18 +++++++----------- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 16 ++++++++-------- 3 files changed, 23 insertions(+), 27 deletions(-) commit 367543c0e8ed7e86b9fc7d26edd04a7e95d06f36 Author: Lapo Calamandrei Date: Sat Jan 9 11:55:40 2016 +0100 Adwaita: remove old headerbar separator styling which was actually selecting nothing now. gtk/theme/Adwaita/_common.scss | 16 ---------------- gtk/theme/Adwaita/gtk-contained-dark.css | 7 ------- gtk/theme/Adwaita/gtk-contained.css | 7 ------- 3 files changed, 30 deletions(-) commit 4853303dd7f87b6932841895ad54d18531cae20e Author: Lapo Calamandrei Date: Sat Jan 9 11:25:08 2016 +0100 Adwaita: add vertical margins to headebar entries and separators gtk/theme/Adwaita/_common.scss | 4 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++++ gtk/theme/Adwaita/gtk-contained.css | 5 +++++ 3 files changed, 13 insertions(+), 1 deletion(-) commit bf48dd9d7c4bbf825a0540bfaf1f52c64738ac4e Author: Lapo Calamandrei Date: Sat Jan 9 10:19:47 2016 +0100 Adwaita: add vertical margins to headerbar buttons to avoid them spanning the whole headerbar height with the changes introduced in my last commit. gtk/theme/Adwaita/_common.scss | 7 +++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++++++ gtk/theme/Adwaita/gtk-contained.css | 8 ++++++++ 3 files changed, 23 insertions(+) commit 3a774abbfe05ab3a0d650c1d69fb7824d415a88a Author: Matthias Clasen Date: Fri Jan 8 23:31:48 2016 -0500 CSS documenation improvements Work around some problems with the formatting of the online docs, and split off the properties as a separate chapter. docs/reference/gtk/Makefile.am | 3 +- docs/reference/gtk/css-overview.xml | 984 ++++++++++++++ docs/reference/gtk/css-properties.xml | 1303 +++++++++++++++++++ docs/reference/gtk/css.xml | 2264 --------------------------------- docs/reference/gtk/gtk-docs.sgml | 3 +- 5 files changed, 2291 insertions(+), 2266 deletions(-)