commit da163469f9d344190f69bfc163517154af0e2dab Author: Matthias Clasen Date: Tue Jan 20 08:18:03 2015 -0500 3.15.4 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c7efbeddd07ae8df844efff09bba2fd1ef792d58 Author: Matthias Clasen Date: Tue Jan 20 06:46:58 2015 -0500 More updates NEWS | 4 ++++ 1 file changed, 4 insertions(+) commit 22967f1612fc7005ccaad8c06eaf167cfecc843c Author: Benjamin Otte Date: Tue Jan 20 06:25:01 2015 +0100 image: Compute clip properly Use the helper function we have for this, don't do it manually. This has the side effect of also supporting icon transforms. gtk/gtkimage.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit f7433557abd63c8e6d03ba31c14f004a0d62c173 Author: Benjamin Otte Date: Tue Jan 20 05:54:45 2015 +0100 render: Implement -gtk-icon-transform for icon surfaces Yes, I like playing around. To enjoy, add this CSS to your application of choice (preferrably glade or something with lots of images): GtkImage { animation: spin 2s linear infinite; } You can thank me later. gtk/gtkrendericon.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 51 insertions(+), 3 deletions(-) commit 8c745088d5376ba399985dad98d82311218ca548 Author: Benjamin Otte Date: Tue Jan 20 05:21:15 2015 +0100 render: Split icon surface rendering out Just like normal icons, icon surfaces belong into gtkrendericon.c. gtk/gtkrender.c | 48 ++++++++++++---------------------------------- gtk/gtkrendericon.c | 18 +++++++++++++++++ gtk/gtkrendericonprivate.h | 20 ++++++++++++------- 3 files changed, 43 insertions(+), 43 deletions(-) commit f6d64f65915d7bfe091497fdd5cf90e98115a928 Author: Benjamin Otte Date: Tue Jan 20 01:48:46 2015 +0100 render: Split icon rendering into its own file gtk/Makefile.am | 2 ++ gtk/gtkrender.c | 58 +++++------------------------------ gtk/gtkrendericon.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkrendericonprivate.h | 42 +++++++++++++++++++++++++ 4 files changed, 127 insertions(+), 51 deletions(-) commit e697213b35e6fe2bf1bea6b6d51607c1a7241bc1 Author: Benjamin Otte Date: Mon Jan 19 17:41:29 2015 +0100 render: Remove spinner special-cases The spinner is a regular builtin image now. There is no need to go through the shadows code manually anymore as regular items do get shadows automatically. This also allows simplifying the actual spinner drawing code so that it actually works. gtk/gtkcssimagebuiltin.c | 35 +++++++++++++++++++++++++---- gtk/gtkcssshadowsvalue.c | 16 ------------- gtk/gtkcssshadowsvalueprivate.h | 4 ---- gtk/gtkcssshadowvalue.c | 23 ------------------- gtk/gtkcssshadowvalueprivate.h | 4 ---- gtk/gtkrender.c | 50 ----------------------------------------- gtk/gtkrenderprivate.h | 3 --- 7 files changed, 31 insertions(+), 104 deletions(-) commit cc4d34e6884b958505dfd888d9b53b4b39084581 Author: Benjamin Otte Date: Mon Jan 19 17:30:43 2015 +0100 render: Render builtin images as regular CSS images This not only reduces code, but also allows for builtin images to have shadows or be transformed using -gtk-icon-transform. gtk/gtkcssimagebuiltin.c | 6 +++ gtk/gtkrender.c | 97 +++++++++--------------------------------------- 2 files changed, 23 insertions(+), 80 deletions(-) commit 45541cbf10a13716680df52c6a214495fb8243d7 Author: Benjamin Otte Date: Mon Jan 19 17:14:55 2015 +0100 render: Don't require passing CSS properties to builtin images Instead, make the buiultin image get those properties itself in the compute vfunc. gtk/gtkcssimagebuiltin.c | 239 ++++++++++++++++++++-------------------- gtk/gtkcssimagebuiltinprivate.h | 13 ++- gtk/gtkrender.c | 157 +------------------------- 3 files changed, 133 insertions(+), 276 deletions(-) commit 9ce8ce119853635692139a13c3b85602696486ef Author: Benjamin Otte Date: Mon Jan 19 17:09:42 2015 +0100 css: Move icon properties to the end The order in which properties are defined depends on the order in which they are computed. And that means that properties can only depend on other properties that are defined before them. The next patches will need this reordering. gtk/gtkcssstylepropertyimpl.c | 74 +++++++++++++++++++++---------------------- gtk/gtkcsstypesprivate.h | 8 ++--- 2 files changed, 41 insertions(+), 41 deletions(-) commit fe028e27899e818f84bb007a44b83802a97ef071 Author: Benjamin Otte Date: Mon Jan 19 05:44:47 2015 +0100 render: Only render 4 different arrows Instead of supporting every angle, just support top, right, bottom and left and round the angle to one of those directions. Adwaita overrides arrows anyway and doesn't even look at the angle, so this should not be a problem. gtk/gtkcssimagebuiltin.c | 27 +++++++++++++++++++++++++-- gtk/gtkcssimagebuiltinprivate.h | 5 ++++- gtk/gtkrender.c | 30 ++++++++++++++++++++++++++---- 3 files changed, 55 insertions(+), 7 deletions(-) commit 118c8876561f9379f169106a684bc23ec8c605b1 Author: Benjamin Otte Date: Mon Jan 19 04:40:24 2015 +0100 render: Don't pass junction sides to builtin image Instead, split the grip into 8 different builtin images (one for each side and corner). gtk/gtkcssimagebuiltin.c | 66 +++++++++++++++++++---------------------- gtk/gtkcssimagebuiltinprivate.h | 10 +++++-- gtk/gtkrender.c | 38 ++++++++++++++++++------ 3 files changed, 68 insertions(+), 46 deletions(-) commit e6b228f12a30cda36a84b550b49f84555e08fcc7 Author: Benjamin Otte Date: Mon Jan 19 04:27:31 2015 +0100 render: Extend builtin images to account for states We add to the enum to account for the images generated for different states. gtk/gtkcssimagebuiltin.c | 84 +++++++++++++++++++++++++++++++---------- gtk/gtkcssimagebuiltinprivate.h | 15 ++++++-- gtk/gtkrender.c | 60 +++++++++++++++++++++++------ 3 files changed, 126 insertions(+), 33 deletions(-) commit 1c3dd5d46bd2e33bc7bf43b28d9c57c69a1199dd Author: Benjamin Otte Date: Sun Jan 18 20:24:27 2015 +0100 render: Move code for rendering builtin images Also, make it have a generic entry point with gtk_css_image_builtin_draw(). The only feature lost so is the drawing of shadows for spinners, but that will come back later. gtk/gtkcssimagebuiltin.c | 794 +++++++++++++++++++++++++++++++++++++- gtk/gtkcssimagebuiltinprivate.h | 25 ++ gtk/gtkrender.c | 818 ++++++++-------------------------------- 3 files changed, 976 insertions(+), 661 deletions(-) commit ebb64c2288aff6bd70d349771cc564d36b2f27b0 Author: Benjamin Otte Date: Sun Jan 18 00:17:57 2015 +0100 inspector: Remove unused hash table gtk/inspector/style-prop-list.c | 4 ---- 1 file changed, 4 deletions(-) commit 7ba7dff69e5d6902845f91119c90658420a54c0a Author: Benjamin Otte Date: Sun Jan 18 00:14:08 2015 +0100 inspector: Remove unused treemodel properties As a side effect, we can use _gtk_css_section_to_string() to format the section and save a lot of code. gtk/inspector/style-prop-list.c | 51 +++-------------------------------------- 1 file changed, 3 insertions(+), 48 deletions(-) commit 4ba710ea3091f9e3603c4fc77dc4c14c083021b6 Author: Benjamin Otte Date: Sat Jan 17 18:55:34 2015 +0100 inspector: Use GtkCssStyle and gtk_css_value_to_string() gtk/inspector/style-prop-list.c | 81 +++++------------------------------------ 1 file changed, 9 insertions(+), 72 deletions(-) commit 8b6d419e02085fa19e73236a0bef363240b7c803 Author: Benjamin Otte Date: Sat Jan 17 18:15:19 2015 +0100 render: Move border rendering into its own file gtkrenderborder.c now contains the implementation for gtk_css_style_render_border gtk_css_style_render_outline gtk/gtkrender.c | 473 ++---------------------------------------- gtk/gtkrenderborder.c | 482 ++++++++++++++++++++++++++++++++++++++++++- gtk/gtkrenderborderprivate.h | 34 ++- 3 files changed, 505 insertions(+), 484 deletions(-) commit 5ec97f61446868048037dcb8b07310a57956c2cc Author: Benjamin Otte Date: Sat Jan 17 18:09:52 2015 +0100 render: Remove unused header gtk/gtkrender.c | 1 - 1 file changed, 1 deletion(-) commit 717877dff2c53804e26b688275a1ca284bbf7306 Author: Benjamin Otte Date: Sat Jan 17 18:00:03 2015 +0100 render: Rename gtkborderimage.[ch] I want the gtkrender prefix for all filenames about rendering. gtk/Makefile.am | 4 +- gtk/deprecated/gtkstyleproperties.c | 1 - gtk/gtkborderimage.c | 321 ----------------------------------- gtk/gtkborderimageprivate.h | 54 ------ gtk/gtkrender.c | 2 +- gtk/gtkrenderborder.c | 322 ++++++++++++++++++++++++++++++++++++ gtk/gtkrenderborderprivate.h | 54 ++++++ 7 files changed, 379 insertions(+), 379 deletions(-) commit cb0ca9a804554d8bf90c88e80802210edbcd6245 Author: Benjamin Otte Date: Sat Jan 17 17:07:01 2015 +0100 render: Use a GtkCssStyle instead of GtkStyleContext for focus gtk/gtkrender.c | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) commit 5cc0cae4b7a837ecc8cc3114d4851fba9a3e968d Author: Benjamin Otte Date: Sat Jan 17 16:55:45 2015 +0100 render: Rename gtkthemingbackground.[ch] I want the gtkrender prefix for all filenames about rendering. gtk/Makefile.am | 4 +- gtk/gtkrender.c | 2 +- gtk/gtkrenderbackground.c | 346 ++++++++++++++++++++++++++++++++++++++ gtk/gtkrenderbackgroundprivate.h | 41 +++++ gtk/gtkthemingbackground.c | 346 -------------------------------------- gtk/gtkthemingbackgroundprivate.h | 41 ----- 6 files changed, 390 insertions(+), 390 deletions(-) commit d25b4105d61243dc5943dc5c6d649b123d81b86f Author: Benjamin Otte Date: Sat Jan 17 05:54:36 2015 +0100 render: Take a GtkCssStyle for rendering frames ... and move the whole function into gtkthemingbackground.c gtk/gtkrender.c | 192 ++++++++++++++++++-------------------- gtk/gtkthemingbackground.c | 14 +-- gtk/gtkthemingbackgroundprivate.h | 17 ++-- 3 files changed, 107 insertions(+), 116 deletions(-) commit d0a12d477e965958c3943a565485ad25789136e4 Author: Benjamin Otte Date: Sat Jan 17 05:27:23 2015 +0100 borderimage: Use a GtkCssStyle instead of GtkStyleContext gtk/gtkborderimage.c | 14 +++++++------- gtk/gtkborderimageprivate.h | 2 +- gtk/gtkrender.c | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) commit dd2202288aae0e8d45b941d5839b45ae309fe0fd Author: Benjamin Otte Date: Sat Jan 17 05:23:00 2015 +0100 themingbackground: Use a GtkCssStyle instead of GtkStyleContext gtk/gtkrender.c | 4 +-- gtk/gtkthemingbackground.c | 68 +++++++++++++++++++-------------------- gtk/gtkthemingbackgroundprivate.h | 2 +- 3 files changed, 37 insertions(+), 37 deletions(-) commit 8d94140da9a20499b43ddfac375b325efb9de12f Author: Benjamin Otte Date: Sat Jan 17 05:16:01 2015 +0100 roundedbox: Take a GtkCssStyle instead of a GtkStyleContext This is in preparation for iusing GtkCssStyle instead of GtkStyleContext in render functions. gtk/gtkrender.c | 6 +++--- gtk/gtkroundedbox.c | 28 ++++++++++++++-------------- gtk/gtkroundedboxprivate.h | 10 +++++----- gtk/gtkthemingbackground.c | 2 +- 4 files changed, 23 insertions(+), 23 deletions(-) commit 73b3b9ee9408e9d645cb443852a5d93e4485b0d9 Author: Benjamin Otte Date: Sat Jan 17 02:38:43 2015 +0100 stylecontext: Rename function and export it. The name now better reflects what it does, since GtkCssComputedValues was renamed to GtkCssStyle, too. gtk/gtkstylecontext.c | 29 ++++++++++++++--------------- gtk/gtkstylecontextprivate.h | 1 + 2 files changed, 15 insertions(+), 15 deletions(-) commit f313a8235bfeaea63bc657d33a5035ebbcc6f318 Author: Benjamin Otte Date: Tue Jan 20 01:15:04 2015 +0100 reftests: Fix border-style-none reftest Unset all CSS; Adwaita was messing up things. testsuite/reftests/border-style-none.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 8c534fefca02044eda8970cf7fd30cefe9d09749 Author: Benjamin Otte Date: Tue Jan 20 01:02:59 2015 +0100 dnd: Draw dnd icon with regular code Overriding the window background is ugly because the window background is owned by GTK and can be reset at any time. https://bugzilla.gnome.org/show_bug.cgi?id=742646 gtk/gtkdnd.c | 121 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 64 insertions(+), 57 deletions(-) commit dbb8d1dd07a91171ba4a32119713c05e0483de91 Author: Benjamin Otte Date: Tue Jan 20 00:33:34 2015 +0100 stylecontext: Keep track of the CSS ID This is necessary since we do the new caching and need to distinguish between styles with different IDs. Fixes various test cases. gtk/gtkcssnodedeclaration.c | 27 +++++++++++++++++++++++++++ gtk/gtkcssnodedeclarationprivate.h | 3 +++ gtk/gtkstylecontext.c | 36 ++++++++++++++++++++++++++++++++++++ gtk/gtkstylecontextprivate.h | 4 ++++ gtk/gtkwidget.c | 4 +++- 5 files changed, 73 insertions(+), 1 deletion(-) commit 39d6ec167eaf87b2f94a49cee7702aaf458ee46b Author: Aurimas Černius Date: Mon Jan 19 23:00:55 2015 +0200 Updated Lithuanian translation po/lt.po | 2294 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1444 insertions(+), 850 deletions(-) commit c1a013fe4a7de85d4f7f503b978d623d5c854094 Author: Daniel Mustieles Date: Mon Jan 19 18:26:58 2015 +0100 Updated Spanish translation po-properties/es.po | 393 ++++++++++++++++++++++++++-------------------------- 1 file changed, 200 insertions(+), 193 deletions(-) commit 07e9385bab1ce3c8bd7deece332bf33a23fbd1b0 Author: Daniel Mustieles Date: Mon Jan 19 18:26:39 2015 +0100 Updated Spanish translation po/es.po | 184 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 94 insertions(+), 90 deletions(-) commit 63bc3542ce5cf5f9e711c8f4caad8a1ee1cf0cb0 Author: Matthias Clasen Date: Mon Jan 19 11:57:10 2015 -0500 path bar: Don't segfault if we get disposed quickly The file chooser code now calls into the path bar in init, starting an async operation. This unveiled that the path bar code was not safe against being disposed early, by causing a crahsh of the objects-finalize test. Fix this by making the callback check for CANCELLED. gtk/gtkpathbar.c | 4 ++++ 1 file changed, 4 insertions(+) commit cb63fe042eec9dd46139fcd3a5e26da1849e20cd Author: Matthias Clasen Date: Mon Jan 19 11:02:36 2015 -0500 Updates for 3.15.4 NEWS | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) commit 00e08a0159c401327e2972f2f79db62135a501ab Author: Matthias Clasen Date: Mon Jan 19 09:29:17 2015 -0500 places sidebar: Drop the top margin This looks odd in combination with the top underflow. gtk/gtkplacessidebar.c | 1 - 1 file changed, 1 deletion(-) commit 121fddc4d25934e14a731175ab356f73be4c26c2 Author: Carlos Garnacho Date: Tue Nov 18 14:25:51 2014 +0100 x11: Fetch vendor/product identifiers for input devices These are retrieved from XInput device properties. https://bugzilla.gnome.org/show_bug.cgi?id=740758 gdk/x11/gdkdevicemanager-xi2.c | 43 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) commit 5e53676b469d747b40763770828681c6970863ce Author: Carlos Garnacho Date: Tue Nov 18 14:24:52 2014 +0100 device: Add property/getters for vendor/product identifiers These are a construct only properties, expected to be filled in from platform specific code. https://bugzilla.gnome.org/show_bug.cgi?id=740758 docs/reference/gdk/gdk3-sections.txt | 2 + gdk/gdkdevice.c | 114 ++++++++++++++++++++++++++++++++++- gdk/gdkdevice.h | 5 ++ gdk/gdkdeviceprivate.h | 3 + 4 files changed, 123 insertions(+), 1 deletion(-) commit 531fa7860135cd339475d5411dd8630313990e91 Author: Matthias Clasen Date: Mon Jan 19 07:32:31 2015 -0500 gtk-demo: Make editable cells demo more robust When removing all rows, trying to add rows would not work and throw criticals. This is fallout from a recent change to insert rows at the right position. Fix this by handling the 'empty model' case separately. https://bugzilla.gnome.org/show_bug.cgi?id=743157 demos/gtk-demo/editable_cells.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit dc952e3d949644b101ab819eca0502a3661e897e Author: Carlos Garnacho Date: Fri Jan 16 13:18:09 2015 +0100 scrolledwindow: Don't displace invalidation by the widget allocation This was left unmodified when GtkScrolledWindow was made a windowed widget. Displacing here by the widget allocation is not necessary anymore, since we are invalidating the window set at these coordinates. This patch is a simplification of a previous one by Timm Bäder. https://bugzilla.gnome.org/show_bug.cgi?id=742243 gtk/gtkscrolledwindow.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit cbabb2e6ff9276991529a5144e84c6a428eef173 Author: Benjamin Otte Date: Mon Jan 19 02:18:59 2015 +0100 stylecontext: Fix FALSE/TRUE mixup Introduced in e649c8773f0357df19f4e28aabf40a203a39c409. It's obviously the root node right there. gtk/gtkstylecontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9e1f87068045f5ff2c0191fcc3c5c22ed3f1f30d Author: Matthias Clasen Date: Sun Jan 18 20:01:55 2015 -0500 scrolled window: Reduce the hover proximity distance further gtk/gtkscrolledwindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 82e324f8ac91fbae6d7f30dd2df6724662fb4c27 Author: Matthias Clasen Date: Sun Jan 18 19:42:58 2015 -0500 file chooser: Fix up some focus issues Better to switch the visible stack child early, since GtkStack has its own focus handling now. gtk/gtkfilechooserwidget.c | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) commit 931a479da9abc37424a2b4757117ebd766e2e3c7 Author: Lars Uebernickel Date: Mon Jan 12 09:04:11 2015 +0100 gtkimagemenuitem: create widget for action icons lazily GtkImageMenuItem always packs a GtkImage when it is synced with a related action. This is unnecessary when the action doesn't have an icon set and results in excess padding when a GtkImageMenuItem is put in a menu bar (GtkUIManager does this). Fix this by not creating the GtkImage for icon-less actions. https://bugzilla.gnome.org/show_bug.cgi?id=742181 gtk/deprecated/gtkimagemenuitem.c | 67 +++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 35 deletions(-) commit 858c80f33e335b45c4c7177e63a981123bd7bd17 Author: Benjamin Otte Date: Sat Jan 17 05:11:40 2015 +0100 render: Replace gtk_style_context_get_border/padding() Use _gtk_style_context_peek_property() instead. gtk/gtkrender.c | 17 ++++++++++++----- gtk/gtkthemingbackground.c | 12 +++++++++--- 2 files changed, 21 insertions(+), 8 deletions(-) commit 8b11e93a2dbe33c16810749ace5379d200fdc471 Author: Benjamin Otte Date: Sat Jan 17 04:58:24 2015 +0100 render: Get rid of gtk_style_context_get_color() Use _gtk_style_context_peek_property() instead. gtk/gtkrender.c | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) commit 4bffb6aff5c277cb2868df0b62ea412f8f786fc1 Author: Benjamin Otte Date: Sun Jan 18 01:05:12 2015 +0100 Adwaita: Make :active button gradient have 3 stops Just add a 3rd stop in the place where the gradients for the other states have a 3rd stop. When running transitions between states, this avoids cross-fades and instead uses the much faster gradient transitioning code. gtk/theme/Adwaita/_drawing.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 231 ++++++++++--------------------- gtk/theme/Adwaita/gtk-contained.css | 231 ++++++++++--------------------- 3 files changed, 149 insertions(+), 314 deletions(-) commit 0fef59b48643f0de4cb919ba582bbcf97d3891f1 Author: Benjamin Otte Date: Sun Jan 18 22:24:35 2015 +0100 stylecontext: Be more graceful when save() isn't matched with restore() Instead of asserting, just print a g_warning() and try to work around the problem. I hope that g_warning() isn't too spammy for people that are hit with it. Also clarify the docs that not restore()ing after a save() is a bad idea. https://bugzilla.gnome.org/show_bug.cgi?id=743101 gtk/gtkstylecontext.c | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) commit e649c8773f0357df19f4e28aabf40a203a39c409 Author: Benjamin Otte Date: Mon Jan 19 01:07:49 2015 +0100 stylecontext: Explicitly specify root node When creating the query path, explicitly specify if it's for a root node or for a child. Relying on gtk_style_context_is_saved() is unreliable (for example when updating the cache). gtk/gtkstylecontext.c | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) commit 1a38c4d066951c9b339e1d26423858cd03181156 Author: Matthias Clasen Date: Sun Jan 18 18:59:43 2015 -0500 file chooser: Make search work again The last round of filechooser redesign work had left search somewhat dysfunctional. This commit fixes things up enough that search is once again a working feature of the file chooser. gtk/gtkfilechooserwidget.c | 70 +++++++++------------ gtk/ui/gtkfilechooserwidget.ui | 127 ++++++++++++++++++++++++++++++++------- gtk/ui/gtkfilechooserwidget.ui.h | 5 +- 3 files changed, 136 insertions(+), 66 deletions(-) commit dcd3d1538021c15c788b4d639b3dc671495e63ae Author: Matthias Clasen Date: Sun Jan 18 17:56:07 2015 -0500 file chooser: Drop the location label Bringing us close to the new design. gtk/gtkfilechooserwidget.c | 6 +++--- gtk/ui/gtkfilechooserwidget.ui | 13 ------------- gtk/ui/gtkfilechooserwidget.ui.h | 1 - 3 files changed, 3 insertions(+), 17 deletions(-) commit 4b47c5a64999d5d24abe1e516324b4c95c35f6f0 Author: Matthias Clasen Date: Sun Jan 18 17:39:05 2015 -0500 file chooser: Don't show 'Enter Location' in save modes In these modes, the entry is permanently visible anyway. gtk/gtkfilechooserwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit a8cb7352c5f6fa046d5ed434756c144faf62562a Author: Matthias Clasen Date: Sun Jan 18 17:21:14 2015 -0500 file chooser: Make Ctrl-L work in recent Just switch to browse mode when we see Ctrl-L in recent mode. https://bugzilla.gnome.org/show_bug.cgi?id=660450 gtk/gtkfilechooserwidget.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 8133e7e624f63afb3a99de67590d874b6b57ba65 Author: Matthias Clasen Date: Sun Jan 18 17:13:12 2015 -0500 file chooser: Ensure the path bar is initialized There are some cases where we can end up showing the path bar without ever setting a file on it. One example is: 1) Open file chooser 2) Hit ~ 3) Hit Ctrl-L While this is a bit of a workaround, at least it makes sure that we never end up with an empty space where the path bar is supposed to be. gtk/gtkfilechooserwidget.c | 4 ++++ 1 file changed, 4 insertions(+) commit 6a7b549608ad0c6e294368996de165a1ccc2d979 Author: Matthias Clasen Date: Sun Jan 18 16:57:21 2015 -0500 trivial refactoring gtk/gtkfilechooserwidget.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit dfe6399de82a6d93beed5e63e96e4f26fd5bc644 Author: Matthias Clasen Date: Sun Jan 18 16:18:12 2015 -0500 file chooser: Make ~ and / work in recent Complained about in https://bugzilla.gnome.org/show_bug.cgi?id=743117 gtk/gtkfilechooserwidget.c | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) commit 47e5e1c72d2922f6ce5dc5bd98da17c5c83a4a4b Author: Matthias Clasen Date: Sun Jan 18 15:26:49 2015 -0500 Fix a typo in the docs https://bugzilla.gnome.org/show_bug.cgi?id=743037 gdk/gdkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9c1063f602a3f7a2f67fd64369dbad1c7b2cd658 Author: Matthias Clasen Date: Sun Jan 18 15:24:30 2015 -0500 broadway: Only use abstract sockets when they are supported GIO has a function to check whether abstract sockets are supported, so use it. This should make broadway work on Freebsd again. https://bugzilla.gnome.org/show_bug.cgi?id=742980 gdk/broadway/broadwayd.c | 7 ++++--- gdk/broadway/gdkbroadway-server.c | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) commit 811d602842ac48e3435a5ba92824a4f3c35551a0 Author: Matthias Clasen Date: Sun Jan 18 15:15:37 2015 -0500 Make Broadway work on freebsd It seems that posix_fallocate gives an ENODEV error when called on an fd opened with shm_open on freebsd. Fix up the error check to only trigger if we get ENOSPC. https://bugzilla.gnome.org/show_bug.cgi?id=742980 gdk/broadway/gdkbroadway-server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9fde44ac10eb164d7d18b5b9838f902ad5af4d20 Author: Matthias Clasen Date: Sun Jan 18 14:28:47 2015 -0500 Fine-tune the proximity hovering for scrollbars Reduce the distance at which we expand the scrollbar, and add some hysteresis. gtk/gtkscrolledwindow.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) commit ff2390f550dd31ca0311775426d6759e80811515 Author: Dimitris Spingos Date: Sun Jan 18 22:21:29 2015 +0200 Updated Greek translation po-properties/el.po | 1628 ++++++++++++++++++++++++++------------------------- po/el.po | 932 +++++++++++++++-------------- 2 files changed, 1324 insertions(+), 1236 deletions(-) commit cf277fabb5bb28f0a31b281f068250603c3900d6 Author: Matthias Clasen Date: Sun Jan 18 12:40:32 2015 -0500 Remove some outdated references We shouldn't recommend gtk_widget_modify_bg() or gtk_style_set_background() anymore. gdk/gdkwindow.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) commit 500bd6087356494a64906f2e3164653b2580f35c Author: Christoph Reiter Date: Wed Dec 10 09:36:53 2014 +0100 Adjust gtk_status_icon_position_menu() annotation to match GtkMenuPositionFunc again https://bugzilla.gnome.org/show_bug.cgi?id=674537 https://bugzilla.gnome.org/show_bug.cgi?id=742940 gtk/deprecated/gtkstatusicon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6113504495fb68146fca644de975650e46e818a4 Author: Maks Naumov Date: Sun Jan 11 14:54:27 2015 -0800 Fix event->button.y_root when using mouse buttons and dnd canceled Signed-off-by: Maks Naumov https://bugzilla.gnome.org/show_bug.cgi?id=742785 gdk/wayland/gdkdnd-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9f51d8948fe0aef65e266ed06a6dc58807c43123 Author: Maks Naumov Date: Sun Jan 11 15:20:48 2015 -0800 Fix save_hot_y init in gtk_drag_get_icon() Signed-off-by: Maks Naumov https://bugzilla.gnome.org/show_bug.cgi?id=742786 gtk/gtkdnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1b03f089382cda13802bbcb9a8ef2e7e2b1a18d5 Author: Inaki Larranaga Murgoitio Date: Sat Jan 17 17:25:30 2015 +0100 Updated Basque language po/eu.po | 209 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 106 insertions(+), 103 deletions(-) commit 48865fb9d90cba5cf44fb05fea546ca50df4ae3c Author: Matthias Clasen Date: Sat Jan 17 01:03:10 2015 -0500 Prefer the Wayland backend This does not affect X11 sessions, but has the advantage that we get much more testing of the Wayland backend in Wayland sessions. gdk/gdkdisplaymanager.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ad8d30ad8648de8532ed0f347fe74185817cd895 Author: Benjamin Otte Date: Sat Jan 17 02:37:36 2015 +0100 inspector: Remove a bunch of unused variables gtk/inspector/visual.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit d0ed29d58d53fb0ad18c688f6a8df5664513729e Author: Benjamin Otte Date: Mon Jan 12 03:57:08 2015 +0100 stylecontext: Remove a bunch of return_if_fail()s They're gonna be in the way when refactoring and we can live without them. gtk/gtkstylecontext.c | 14 -------------- 1 file changed, 14 deletions(-) commit 63f7a36ae0ccd3b9d5ed96defce76de75671b6ec Author: Benjamin Otte Date: Tue Jan 13 13:45:42 2015 +0100 stylecontext: Do not transition from the default style This gets rid of a bunch of awkward transitions. It's not a perfect solution to the problem of "should we transition from this state" but it gets rid of the ugliest offenders. gtk/gtkstylecontext.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 03d4e270c294c2224cf05048caba99e744289bf1 Author: Lapo Calamandrei Date: Fri Jan 16 18:32:16 2015 +0100 Adwaita: scrollbar style refactoring... ...making overlay indicator slider visible on any backgroung in the process. gtk/theme/Adwaita/_common.scss | 101 ++++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 268 ++++++++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 268 ++++++++++++++++++++----------- 3 files changed, 410 insertions(+), 227 deletions(-) commit de3e0f14537c9b2ceb0243cfdd378817d3bd192e Author: Marek Černocký Date: Wed Jan 14 22:50:26 2015 +0100 Updated Czech translation po/cs.po | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit b8e87d47626afd7d6271425a5772f2ee774d1b78 Author: Carlos Garnacho Date: Wed Jan 14 16:59:36 2015 +0100 widget: Free the controller list on finalize() If this is done on dispose(), the widget may be destroyed (and its controllers list NULLified) within _gtk_widget_run_controllers(), causing warnings/crashes when it just tried to hop on the next controllers. Freeing the controllers here should be a safety net for implementations, so it also makes sense to do this late. The widgets that choose to free their controllers on dispose can still do so, and get _gtk_widget_remove_controller() called for these as an indirect result. gtk/gtkwidget.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 594de00cad7c5e588bc3f44d1cbfce583408b0b1 Author: Carlos Garnacho Date: Wed Jan 14 16:41:54 2015 +0100 listbox: Free the multipress gesture on finalize gtk/gtklistbox.c | 1 + 1 file changed, 1 insertion(+) commit 93d343d339ebdf93bc645ef4ca1d7eae1d966c25 Author: Sveinn í Felli Date: Tue Jan 13 13:44:08 2015 +0000 Updated Icelandic translation po/is.po | 7658 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 4512 insertions(+), 3146 deletions(-) commit 7daa2a1ebafc61d3e5aeac1da467c9de59750ace Author: Carlos Garnacho Date: Wed Jan 14 16:03:10 2015 +0100 event-controller: Chain up on dispose gtk/gtkeventcontroller.c | 2 ++ 1 file changed, 2 insertions(+) commit 711fea11b5fa53c6ba3edf4ae5284d4bea049ca0 Author: Stas Solovey Date: Wed Jan 14 12:05:57 2015 +0000 Updated Russian translation po/ru.po | 700 ++++++++++++++++++++++++--------------------------------------- 1 file changed, 265 insertions(+), 435 deletions(-) commit f26986a50aaa1eeaa53f6db80ceac33a1156e7b2 Author: Nelson Benítez León Date: Sun Jan 11 01:11:14 2015 +0500 gtkplacessidebar: insert bookmark by dnd in correct position Add needed COLUMN INDEX to "new bookmark" row based on previous bookmark index plus one. Fixes bug 742727 gtk/gtkplacessidebar.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit 54806d129514b4aabfbf1b8c290b7f097e5c39b1 Author: Maks Naumov Date: Sun Jan 11 13:34:38 2015 -0800 Fix accessible_class->widget_set initialization Signed-off-by: Maks Naumov https://bugzilla.gnome.org/show_bug.cgi?id=742778 gtk/a11y/gtkcontainercellaccessible.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0d85e265713c514683713cd85045b351a325dde5 Author: Fran Dieguez Date: Mon Jan 12 22:53:18 2015 +0100 Updated Galician translations po/gl.po | 1526 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 944 insertions(+), 582 deletions(-) commit 7314826de25268a381f628506383e9864056d339 Author: Daniel Mustieles Date: Mon Jan 12 12:20:26 2015 +0100 Updated Spanish translation po/es.po | 230 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 123 insertions(+), 107 deletions(-) commit 87d36885ac713badc5187f1d26044dbba9e13309 Author: Maks Naumov Date: Sun Jan 11 11:27:37 2015 -0800 Properly check result of g_utf8_get_char_validated() g_utf8_get_char_validated() may return -1 or -2 return type is gunichar(guint32) Therefore such checks like 'gunichar < 0' or 'gunichar > 0' are always 'false' or 'true'(except when gunichar == 0). Signed-off-by: Maks Naumov https://bugzilla.gnome.org/show_bug.cgi?id=742774 gtk/gtkbuilder.c | 2 +- modules/input/gtkimcontextthai.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 07cf489d2df1fd8e71bfbf8a027876490e6858c6 Author: Maks Naumov Date: Sun Jan 11 07:01:40 2015 -0800 Fix check for 'y' padding in gtk_cell_renderer_set_padding() Signed-off-by: Maks Naumov https://bugzilla.gnome.org/show_bug.cgi?id=742764 gtk/gtkcellrenderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a29c831f3c44cecc992e620180f43d91ed93b913 Author: Matthias Clasen Date: Sun Jan 11 15:14:55 2015 -0500 Remove an unused define configure.ac | 5 ----- 1 file changed, 5 deletions(-) commit 430ea2fff639f31b868e025002a32ba473c7bd07 Author: Maks Naumov Date: Sun Jan 11 10:34:56 2015 -0800 Properly ignore BadWindow and BadDrawable in get_child_info_handler() Signed-off-by: Maks Naumov https://bugzilla.gnome.org/show_bug.cgi?id=742771 gdk/x11/gdkasync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f120ae7b4d418662f0aa9307c081abc261402311 Author: Matthias Clasen Date: Sat Jan 10 21:16:21 2015 -0500 Forgotten file gtk/theme/HighContrast/_common.scss | 5 ----- 1 file changed, 5 deletions(-) commit 838e982877798fdeb417f23caf3f278a78a092e5 Author: Matthias Clasen Date: Sat Jan 10 21:14:56 2015 -0500 HighContrast: Don't set nonexisting style properties These don't exist, so setting them can't do any good. gtk/theme/HighContrast/gtk.css | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit e15152c837b9d328f4d0a43cb591dcb2bb52aed3 Author: Matthias Clasen Date: Sat Jan 10 21:14:02 2015 -0500 Adwaita: Don't set nonexisting style properties These don't exist, so setting them can't do any good. gtk/theme/Adwaita/_common.scss | 4 ---- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++------ gtk/theme/Adwaita/gtk-contained.css | 8 ++------ 3 files changed, 4 insertions(+), 16 deletions(-) commit 604704a3f0a14c2c83a49e84280e2ec9ab7cc14b Author: Matthias Clasen Date: Sat Jan 10 21:12:08 2015 -0500 HighContrast: Also fix separators in file chooser buttons Same fix as for combo box separators. gtk/theme/HighContrast/_common.scss | 4 ++-- gtk/theme/HighContrast/gtk.css | 6 +----- 2 files changed, 3 insertions(+), 7 deletions(-) commit 88567295f6825e6eff8fe27db810d10209043082 Author: Matthias Clasen Date: Sat Jan 10 21:09:30 2015 -0500 Adwaita: Also fix separators in file chooser buttons Same fix as for combo box separators. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +----- gtk/theme/Adwaita/gtk-contained.css | 6 +----- 3 files changed, 4 insertions(+), 12 deletions(-) commit 8c5094c22c280f0f27d33afc52bbb5a25e17f023 Author: Iain Lane Date: Fri Jan 9 15:31:08 2015 +0000 gtkfilechooserwidget: When using an extra widget, show or hide the filter combo as appropriate https://bugzilla.gnome.org/show_bug.cgi?id=742653 gtk/gtkfilechooserwidget.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 0b50e1fff6b90fda45bd79f6acf6f3634cda42f8 Author: Matthias Clasen Date: Sat Jan 10 20:28:45 2015 -0500 HighContrast: draw combo box separators Same fix as the previous commit. gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) commit 9c4d478dc77ae8f390c94b26b5148d8bb1c4472e Author: Matthias Clasen Date: Sat Jan 10 20:25:56 2015 -0500 Adwaita: draw combo box separators Killing the separator in the button had the unintended side effect of also killing separators in the popup. https://bugzilla.gnome.org/show_bug.cgi?id=742704 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +--- gtk/theme/Adwaita/gtk-contained.css | 4 +--- 3 files changed, 3 insertions(+), 7 deletions(-) commit 35a8d3d7706defaf2fb445c201d59960eff0fba9 Author: Matthias Clasen Date: Sat Jan 10 20:14:24 2015 -0500 widget-factory: Add a combo box separator example This shows that combo box separators are currently broken in Adwaita. demos/widget-factory/widget-factory.c | 39 +++++++++++++++++++++++++++++----- demos/widget-factory/widget-factory.ui | 4 +++- 2 files changed, 37 insertions(+), 6 deletions(-) commit 885b36a6d53d8a7ca4f594f27416fd4104b77082 Author: Nelson Benitez Leon Date: Tue Oct 22 12:24:55 2013 +0200 GtkTextView: allow to extend text selection with mouse scrollwheel Fixes bug 710612 gtk/gtktextview.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 5d9710cc7f8e64bae14887e76889c7e39ffc4569 Author: Matthias Clasen Date: Sat Jan 10 14:27:52 2015 -0500 file chooser: Add some padidng https://bugzilla.gnome.org/show_bug.cgi?id=742631 gtk/ui/gtkfilechooserwidget.ui | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit b0e42733256f5f7c3a13bdf455bd446260f044f7 Author: Matthias Clasen Date: Sat Jan 10 14:35:45 2015 -0500 Forgotten files gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 2 files changed, 4 insertions(+) commit 366527c2d0ec76bfc6cd0f8255cb4c8b36303882 Author: Matthias Clasen Date: Sat Jan 10 13:04:10 2015 -0500 Adwaita: Fix treeview separators in backdrop https://bugzilla.gnome.org/show_bug.cgi?id=742702 gtk/theme/Adwaita/_common.scss | 4 ++++ 1 file changed, 4 insertions(+) commit cec5815a0de9ba60417ed6611e9addcc3e85e9a2 Author: Benjamin Otte Date: Sat Jan 10 13:58:39 2015 +0100 stylecontext: Stop animations on manual invalidation If a gtk_style_context_invalidate() is called on a widget's style context (which nobody should ever do, sheesh!) and we're animating, stop the animations. Fixes crashers in Nautilus. gtk/gtkstylecontext.c | 3 +++ 1 file changed, 3 insertions(+) commit 9fcbae2d857ed35483700be13d62a3590c719ee8 Author: Matthias Clasen Date: Fri Jan 9 21:13:10 2015 -0500 GtkScrolledWindow: Don't start fading right away When we get a leave event, we need to remove the over bit, since we may not get motion events that tell us when we lose proximity, but we don't have to fade out right away - that will happen on its on due to inactivity a bit later. Having the indicator stay visible for a bit feels more relaxed. gtk/gtkscrolledwindow.c | 2 -- 1 file changed, 2 deletions(-) commit 206f0bbf7f259868cd434733fd258810fad12281 Author: Matthias Clasen Date: Fri Jan 9 21:12:00 2015 -0500 GtkScrolledWindow: Factor out a constant Define INDICATOR_CLOSE_DISTANCE instead of hardcoding the same number of pixels in 4 different places. gtk/gtkscrolledwindow.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 11eb64a2b69f02d916d0448065a5108ad106f30c Author: Matthias Clasen Date: Fri Jan 9 21:09:22 2015 -0500 GtkScrolledWindow: Don't require proximity for track points These are hard to navigate precisely, so show wide scrollbars right away. gtk/gtkscrolledwindow.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 2a3a7306ef1d6be2a1bc167551fc726ee9fb1329 Author: Matthias Clasen Date: Fri Jan 9 20:52:03 2015 -0500 GtkScrolledWindow: Drop device manager complications We no longer use the presence or absence of particular device types to determine which scrolling to use. gtk/gtkscrolledwindow.c | 86 ++----------------------------------------------- 1 file changed, 3 insertions(+), 83 deletions(-) commit 96fcdebefb4360053b3e6a94f36cc9bf3c579815 Author: Matthias Clasen Date: Fri Jan 9 20:33:39 2015 -0500 GtkScrolledWindow: Drop a redundant field The Indicator.enabled field was not carrying any extra information, so just use priv->use_indicators instead. gtk/gtkscrolledwindow.c | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) commit 1c6eca04db851c51514bb0d2a72363d1218cb8b1 Author: Matthias Clasen Date: Fri Jan 9 20:26:07 2015 -0500 GtkScrolledWindow: Rename a private field touch_mode -> use_indicators, more to the point. gtk/gtkscrolledwindow.c | 170 +++++++++++++++++++++++++----------------------- 1 file changed, 87 insertions(+), 83 deletions(-) commit a834078804de592a9d77974b85ddfde03a86a94b Author: Emmanuele Bassi Date: Sat Jan 10 00:07:51 2015 +0000 x11/gl: Do not specify the GLX context version If we use GDK_GL_PROFILE_3_2_CORE we are asking for a core profile according to the GLX_ARB_create_context_profile extension. For that, we pass the GLX_CONTEXT_CORE_PROFILE_BIT_ARB value for the GLX_CONTEXT_PROFILE_MASK_ARB attribute. The specification for the extension says that: If the requested OpenGL version is less than 3.2, GLX_CONTEXT_PROFILE_MASK_ARB is ignored and the functionality of the context is determined solely by the requested version. Since we're asking for a core profile, we assume a GL version greater than or equal to 3.2; thus, we don't need to specify the GLX_CONTEXT_MAJOR_VERSION_ARB or the GLX_CONTEXT_MINOR_VERSION_ARB attributes, and instead just rely on whatever version GLX gives us. This seems to work around a strange issue in Mesa; if we ask for a core profile and any version > 3.0, we get broken rendering on any shared context we create. gdk/x11/gdkglcontext-x11.c | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) commit 6384167054307ce7af249e40e47973d4761d97ab Author: Matthias Clasen Date: Fri Jan 9 15:28:53 2015 -0500 inspector: Don't use GSettings directly It is not necessary here, and using GtkSettings gives us a greater chance to not fail e.g. on Windows. https://bugzilla.gnome.org/show_bug.cgi?id=742664 gtk/inspector/visual.c | 101 ++++++++++-------------------------------------- gtk/inspector/visual.ui | 3 -- 2 files changed, 21 insertions(+), 83 deletions(-) commit c2ff89bbe3beaf101dc9713acff3edafc1b0b705 Author: Matthias Clasen Date: Fri Jan 9 14:44:26 2015 -0500 inspector: be careful about gsize vs guint64 Since gsize doesn't work as a typename in a ui file, we have to be careful not to pass pointers to wrongly sized variables when getting the guint64 values out of the model. https://bugzilla.gnome.org/show_bug.cgi?id=742664 gtk/inspector/resource-list.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) commit 9a38fb79e5b56c0c43e77bb4c15e2586f48c7957 Author: Emmanuele Bassi Date: Fri Jan 9 16:42:55 2015 +0000 docs: Add missing quote The missing " breaks the syntax highlighting of the GtkImageMenuItem example. gtk/deprecated/gtkimagemenuitem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a7638d5ecbcd08783320cb76653fbfe50bf5cd02 Author: David King Date: Fri Jan 9 14:37:17 2015 +0000 docs: Add Since for GtkCellRendererPixbuf:surface gtk/gtkcellrendererpixbuf.c | 5 +++++ 1 file changed, 5 insertions(+) commit 9a50203408c0b4d3992622d457721038e9459cb7 Author: David King Date: Tue Apr 8 16:42:36 2014 +0100 docs: Fix some old live.gnome.org URLs HACKING | 2 +- README.win32 | 2 +- build/win32/vs10/README.txt | 2 +- build/win32/vs9/README.txt | 2 +- docs/reference/gtk/building.sgml | 2 +- docs/reference/gtk/osx.sgml | 2 +- docs/reference/gtk/windows.sgml | 2 +- gtk/gtkmenutracker.c | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) commit 4adb3f4033818d2d3c7cf0a66507e2eda87c12fb Author: Piotr Drąg Date: Fri Jan 9 14:16:03 2015 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit 885b3c704f812c3a1c706f81fc84da4130ea59ff Author: Matthias Clasen Date: Fri Jan 9 06:45:51 2015 -0500 Fix GTK_OVERLAY_SCROLLING=0 This was broken by the recent more dynamic approach. gtk/gtkscrolledwindow.c | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) commit d5afaa07d3a996f4f3d8229a2eac4b27f0b5b44e Author: Matthias Clasen Date: Fri Jan 9 06:21:37 2015 -0500 Fix comment typo gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 80969e34bc9078255e803d630f434f48b0ade3ae Author: Matthias Clasen Date: Fri Jan 9 00:07:01 2015 -0500 inspector: Show object address This is useful information when running the application in a debugger. https://bugzilla.gnome.org/show_bug.cgi?id=742518 gtk/inspector/misc-info.c | 10 ++++++++-- gtk/inspector/misc-info.ui | 38 ++++++++++++++++++++++++++++++++++++++ gtk/inspector/misc-info.ui.h | 1 + 3 files changed, 47 insertions(+), 2 deletions(-) commit 79f806fdab5c55b0b4123050980a2986192f8c1c Author: Emmanuele Bassi Date: Fri Dec 26 16:04:26 2014 +0000 Point to copy/cut/delete named icons in the stock item deprecations We still use symbolic icons for Copy, Cut, and Delete operations inside toolbars and some menus, so it's worth pointing to the symbolic icon names in the deprecation notices. https://bugzilla.gnome.org/show_bug.cgi?id=741969 gtk/deprecated/gtkstock.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 08f69c53a5b8c23e23d157cee061d72249e090a9 Author: Matthias Clasen Date: Thu Jan 8 22:27:47 2015 -0500 file chooser: Don't force a scrollbar No point in showing the scrollbar when it is not needed. https://bugzilla.gnome.org/show_bug.cgi?id=742343 gtk/ui/gtkfilechooserwidget.ui | 1 - 1 file changed, 1 deletion(-) commit 57714b977480c23aa9cc39c014cc0a43f8ef7997 Author: Timm Bäder Date: Fri Dec 26 23:04:37 2014 +0100 gtklabel: Don't accept unhandled mouse buttons If the pressed mouse button neither triggers a context menu nor activates a link, set the sequence's state to DENIED. https://bugzilla.gnome.org/show_bug.cgi?id=742010 gtk/gtklabel.c | 5 +++++ 1 file changed, 5 insertions(+) commit 9474215a43b116cf6098b11ef967a10afc495923 Author: Benjamin Otte Date: Thu Jan 8 19:30:19 2015 +0100 cssimage: Fix angle computation for gradients to corners gtk/gtkcssimagelinear.c | 43 +++++++++++++++++++++++++++---------------- 1 file changed, 27 insertions(+), 16 deletions(-) commit 0d5acf2a05bffba27cda22f5d863fe7db749b18b Author: Inaki Larranaga Murgoitio Date: Thu Jan 8 18:32:00 2015 +0100 Updated Basque language po/eu.po | 45 +++++++++++++++++++-------------------------- 1 file changed, 19 insertions(+), 26 deletions(-) commit b0d0a2b5e55d6351e3a4bd6de54dcffb9c7af5c8 Author: Inaki Larranaga Murgoitio Date: Thu Jan 8 15:41:15 2015 +0100 Updated Basque language po-properties/eu.po | 3185 +++++++++++++++++++++++++++------------------------ 1 file changed, 1714 insertions(+), 1471 deletions(-) commit 29984c5282d1b47345b5b6627f796aa6cb34c752 Author: Benjamin Otte Date: Wed Jan 7 18:06:59 2015 +0100 stylecontext: Handle theme changes for cached styles We need to clear the cache manually on full revalidates because _gtk_css_change_for_child() will clear the full revalidation flags. And then gtk_style_context_update_cache() will not do the right thing (which is to clear itself). gtk/gtkstylecontext.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit bc07a540c7ab25326c7714f6739b8f4745c55a91 Author: Benjamin Otte Date: Wed Jan 7 15:44:53 2015 +0100 stylecontext: Rename GtkStyleInfo to GtkCssNode gtk/gtkstylecontext.c | 188 +++++++++++++++++++++++++------------------------- 1 file changed, 94 insertions(+), 94 deletions(-) commit 266408254960048a1be4f773e3526dd046ed3d34 Author: Benjamin Otte Date: Tue Jan 6 12:08:49 2015 +0100 stylecontext: update_animating() properly Because we can switch from animating to non-animating pretty much anywhere, do the check for animations unconditionally instead of trying to cram it into the correct if path (and failing). gtk/gtkstylecontext.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 059cd3e51f254153ce9b3b79fbb1a566a66ed3f1 Author: Benjamin Otte Date: Tue Jan 6 12:08:17 2015 +0100 stack: Remove commented out line It always shows up in my greps and confuses me. gtk/gtkstack.c | 1 - 1 file changed, 1 deletion(-) commit fe33ee426a56255199f9a09727afdc9c302d62aa Author: Benjamin Otte Date: Tue Jan 6 00:38:54 2015 +0100 stylecontext: Add a parent style cache We now cache the results of lookups on the parent GtkCssStyle. This allows sharing styles between widgets (recursively). However, this only works if the styles can't potentially depend on siblings - neither directly via sibling selectors or via position pseudo-classes like :first-child. Unfortunately, Adwaita currently uses first-child a lot, and in particular for labels, which are the most common widgets. The big benefits of this change are both less CPU - due to not needing to compute styles again - and less memory usage - due to sharing of the styles between widgets. Here's some nonscientific numbers I collected while pondering the usefulness of this patch: glade glade widget demo demo factory runtime styles styles Adwaita before 19.1s 5800 1150 Adwaita now 18.9s 3800 970 Adwaita hacked now 14.5s 3100 910 simple before 11.3s 5800 1150 simple now 10.8s 1300 590 Adwaita: Adwaita as provided by GTK Adwaita hacked: Adwaita with the first/last-child for GtkLabel removed simple: A 250 lines simple GTK theme I use for testing before: This patch not applied now: this patch applied glade demo runtime: Starting glade opening a large file and closing it glade demo styles: GtkCssStaticStyle objects after opening glade with the large file as per inspector widget factory styles: GtkCssStaticStyle objects after startup as per inspector gtk/gtkstylecontext.c | 98 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) commit 27285f1f0fb00bb4507a8bf3e426bef940ae41af Author: Benjamin Otte Date: Mon Jan 5 16:13:18 2015 +0100 cssstyle: Have a default style This way we can initialize the default style info with a style and ddon't need to special case NULL everywhere. gtk/gtkcssstaticstyle.c | 28 +++++++++++++++ gtk/gtkcssstaticstyleprivate.h | 1 + gtk/gtkstylecontext.c | 79 ++++++++++++++++++------------------------ 3 files changed, 62 insertions(+), 46 deletions(-) commit ef9aa8b0aea3c0ef02727a1ed0643ffd4f77e347 Author: Benjamin Otte Date: Mon Jan 5 05:57:45 2015 +0100 stylecontext: Use correct parent on updates Previously we looked at the save/restore state when determining the parent. This is wrong in the case where we're updating the cache though. So we now save the parent in the style info. gtk/gtkstylecontext.c | 93 +++++++++++++++++++++++++++++++++++---------------- 1 file changed, 64 insertions(+), 29 deletions(-) commit 89b5d1541566043b56bd000770d8634cbae22d64 Author: Benjamin Otte Date: Tue Dec 23 08:19:39 2014 +0100 stylecontext: Fix cache updating After the parent changes in commit 3a337156d11a86c7a88f1f30a09276fdf6f63008 we need to refresh the cached styles after the current style. After all, they now depend on the base style. gtk/gtkstylecontext.c | 69 ++++++++++++++++++++++++++++----------------------- 1 file changed, 38 insertions(+), 31 deletions(-) commit 730f4291682b636b875ef91918797fe7f7b8f9bb Author: Benjamin Otte Date: Tue Dec 23 08:10:30 2014 +0100 cssstaticstyle: Handle relevant change Relevant change is returned from style lookups, so keep is with the object that holds those values. gtk/gtkcssstaticstyle.c | 16 +++++++++++++--- gtk/gtkcssstaticstyleprivate.h | 7 +++++-- gtk/gtkstylecontext.c | 41 ++++++++++++++--------------------------- 3 files changed, 32 insertions(+), 32 deletions(-) commit ad199e4cf96592fb57d0a58861270d82b0a453d3 Author: Benjamin Otte Date: Sun Dec 21 21:30:51 2014 +0100 stylecontext: Use correct parent style for lookups After 3a337156d11a86c7a88f1f30a09276fdf6f63008 style lookups still used the parent context's style as the parent style, even though after a gtk_style_context_save() the root style of the style context is the proper parent. Testcase attached. gtk/gtkstylecontext.c | 26 ++++++++++++++-------- testsuite/reftests/Makefile.am | 3 +++ .../reftests/style-context-save-inheritance.css | 18 +++++++++++++++ .../reftests/style-context-save-inheritance.ref.ui | 19 ++++++++++++++++ .../reftests/style-context-save-inheritance.ui | 18 +++++++++++++++ 5 files changed, 75 insertions(+), 9 deletions(-) commit 26f36ef8aefb81c3d87f4c577a248efd77733e2d Author: Benjamin Otte Date: Sun Dec 21 20:26:26 2014 +0100 cssnodedeclaration: Store the GType of the node gtk/gtkcssnodedeclaration.c | 25 ++++++++++++++++++++++++- gtk/gtkcssnodedeclarationprivate.h | 3 +++ gtk/gtkstylecontext.c | 14 +++++++++++++- 3 files changed, 40 insertions(+), 2 deletions(-) commit 9645daf48fa28c26ff623fc9541a860217426e60 Author: Benjamin Otte Date: Wed Dec 17 13:30:51 2014 +0100 cssstyle: Move function from vfunc to static func compute_dependencies() is only used internally by GtkCssStaticStyle, so there's no need to have it elsewhere. gtk/gtkcssanimatedstyle.c | 11 ----------- gtk/gtkcssstaticstyle.c | 12 ++++++++---- gtk/gtkcssstyle.c | 17 ----------------- gtk/gtkcssstyleprivate.h | 9 --------- 4 files changed, 8 insertions(+), 41 deletions(-) commit cd056adb2f9bb57d8f1bc001de11dadf8075ec8c Author: Benjamin Otte Date: Wed Dec 17 13:22:03 2014 +0100 cssstaticstyle: Move function And with that move, GtkCssStaticStyle is immutable. gtk/gtkcssstaticstyle.c | 70 +++++++++++++++++++++++++++++++----------- gtk/gtkcssstaticstyleprivate.h | 8 +++-- gtk/gtkstylecontext.c | 33 ++++++-------------- 3 files changed, 68 insertions(+), 43 deletions(-) commit 8b823d7e13d8cb923db5f2e093645588ad3da9c9 Author: Benjamin Otte Date: Wed Dec 17 05:52:13 2014 +0100 cssstaticstyle: Move function We want the new() return values to be immutable, so we have to move the code that modifes them. gtk/gtkcssstaticstyle.c | 29 +++++++++++++++++++++++++++-- gtk/gtkcssstaticstyleprivate.h | 7 ++++++- gtk/gtkstylecontext.c | 26 +++++++++++--------------- 3 files changed, 44 insertions(+), 18 deletions(-) commit b7be202089664f27ae3120c41c2f4f5780bb2607 Author: Benjamin Otte Date: Wed Dec 17 04:18:44 2014 +0100 stylecontext: Refactor update_properties() It now always returns a new instance. gtk/gtkcssanimatedstyle.c | 4 +- gtk/gtkcssanimatedstyleprivate.h | 1 + gtk/gtkcssstaticstyle.c | 97 ++++++++++++++++++++++++++++------------ gtk/gtkcssstaticstyleprivate.h | 2 + gtk/gtkstylecontext.c | 40 +++++++++++++---- 5 files changed, 106 insertions(+), 38 deletions(-) commit 7406ec84bce536560d2458753de1ec9bbf6af231 Author: Benjamin Otte Date: Tue Dec 16 06:47:08 2014 +0100 stylecontext: Simplify function Instead of computing the changes manually everywhere from the parent changes, just pass in the parent changes. gtk/gtkstylecontext.c | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) commit c0af2d6fa6acecb987273fea66faedcc33bbbad7 Author: Benjamin Otte Date: Tue Dec 16 06:40:10 2014 +0100 stylecontext: Simplify code Compute the differences only once and not in both if branches. gtk/gtkstylecontext.c | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) commit 7493e814a9501538d5db1e289200ed40bffdc857 Author: Benjamin Otte Date: Tue Dec 16 05:57:36 2014 +0100 cssanimatedstyle: Apply animation values after creation This makes GtkCssAnimatedStyle immutable. gtk/gtkcssanimatedstyle.c | 3 +++ gtk/gtkstylecontext.c | 51 +++++++++++++++++++---------------------------- 2 files changed, 24 insertions(+), 30 deletions(-) commit a3bf9105853f553943770501ae2ad13713502a54 Author: Benjamin Otte Date: Tue Dec 16 04:15:25 2014 +0100 cssanimatedstyle: Make advancing the style return a new style This is another step towards making CssStyles immutable. gtk/gtkcssanimatedstyle.c | 79 +++++++++++++++++++--------------------- gtk/gtkcssanimatedstyleprivate.h | 4 +- gtk/gtkstylecontext.c | 9 ++++- 3 files changed, 47 insertions(+), 45 deletions(-) commit b53d5d064341161a8cf002aaa1d259cf69c2ab65 Author: Benjamin Otte Date: Mon Dec 15 14:22:00 2014 +0100 stylecontext: Fold a function into only caller gtk/gtkstylecontext.c | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) commit f3f021106d467f909458a2dba8e7053f27dd1e2b Author: Benjamin Otte Date: Mon Dec 15 04:17:42 2014 +0100 cssanimatedstyle: Avoid creating animation ... when no animation exists. This makes the function name kinda wrong, but I'm not sure what else to call it. gtk/gtkcssanimatedstyle.c | 80 ++++++++++++++++++++++++++++------------------- gtk/gtkstylecontext.c | 3 +- 2 files changed, 49 insertions(+), 34 deletions(-) commit 682abc345fe197b915af6efcbf572d303e8b05e7 Author: Benjamin Otte Date: Mon Dec 15 02:54:35 2014 +0100 cssanimatedstyle: Remove unused function gtk/gtkcssanimatedstyle.c | 16 ---------------- gtk/gtkcssanimatedstyleprivate.h | 1 - 2 files changed, 17 deletions(-) commit 980923c761a7f38197817cfa9168e8b78f1a73ac Author: Benjamin Otte Date: Mon Dec 15 01:58:11 2014 +0100 cssanimatedstyle: Merge two functions gtk/gtkcssanimatedstyle.c | 47 ++++++++++++++++++++-------------------- gtk/gtkcssanimatedstyleprivate.h | 13 +++++------ gtk/gtkstylecontext.c | 19 +++++++--------- 3 files changed, 37 insertions(+), 42 deletions(-) commit 0bab285fe0f5ce4accec8b941742306ef54f4655 Author: Benjamin Otte Date: Sun Dec 14 23:20:19 2014 +0100 stylecontext: Make build_properties create the style gtk/gtkstylecontext.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 79f73921096e795d92257d7ce063161aece057da Author: Benjamin Otte Date: Sun Dec 14 17:06:27 2014 +0100 stylecontext: Make static styles static Instead of keeping an animated style everywhere, we replace it with the static style when nothing gets animated. Apart from making the code cleaner, this gets rid of a bunch of animated style values that do nothing but wrap a static style. gtk/gtkcssanimatedstyle.c | 62 +++++++++++++++++++++++----------------- gtk/gtkcssanimatedstyleprivate.h | 6 ++-- gtk/gtkstylecontext.c | 30 +++++++++++++------ 3 files changed, 61 insertions(+), 37 deletions(-) commit db36ee36a6bde810b79b5253768a8edaa1fa2a71 Author: Benjamin Otte Date: Sun Dec 14 15:46:18 2014 +0100 stylecontext: Split function gtk/gtkstylecontext.c | 45 ++++++++++++++++++++++++++++++++++++++------- 1 file changed, 38 insertions(+), 7 deletions(-) commit 85dd685b3f56519ae1972aab2dd9a2b4db5f939f Author: Benjamin Otte Date: Sat Dec 13 02:07:34 2014 +0100 stylecontext: Only look up stuff in the cache that can be in the cache Only saved styles are stored in the cache so we should look only those up there. gtk/gtkstylecontext.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) commit 77b876fad3a04c6ba8b71b3ff62df1ac9681b633 Author: Benjamin Otte Date: Mon Oct 27 04:22:49 2014 +0100 stylecontext: don't unset the current style info when clearing cache Instead, do it manually. gtk/gtkstylecontext.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 270e73bfcc7a1f22f123de0bbb52bf9e05c0d75a Author: Benjamin Otte Date: Mon Oct 27 00:25:18 2014 +0100 stylecontext: Always pass the static style ... to build_properties. There is always one available, so we can insist on that one. This simplifies a bunch of code. gtk/gtkcssanimatedstyle.c | 18 ------------------ gtk/gtkcssanimatedstyleprivate.h | 7 ------- gtk/gtkcsslookup.c | 31 +++++++++---------------------- gtk/gtkcsslookupprivate.h | 4 ++-- gtk/gtkstylecontext.c | 9 ++++----- 5 files changed, 15 insertions(+), 54 deletions(-) commit c7e9489e3e9629c394ff3b3de7378bbf09ec92f0 Author: Benjamin Otte Date: Sun Oct 26 19:38:38 2014 +0100 stylecontext: Use a static style when saved The only style that is animated is the style of the unsaved primary node. So there's no need to create animated style objects for the other ones. There is a bunch of ugliness in the code currently. Further commits are expected to fix them. gtk/gtkcsslookup.c | 35 ++++++++++++++++++++++++----------- gtk/gtkcsslookupprivate.h | 4 ++-- gtk/gtkstylecontext.c | 17 +++++++++++------ 3 files changed, 37 insertions(+), 19 deletions(-) commit ac215ffc8fbefe2493c071721d5cf72c916b6bc6 Author: Benjamin Otte Date: Sun Oct 26 05:07:06 2014 +0100 cssstyle: Add GtkCssStaticStyle For now, this is only an implementation detail of the animated style. The idea is to use GtkCssStaticStyle as the result of CSS queries and then put a GtkCssAnimatedStyle on top that manages the animations. The neat thing about this is that you can cache the static values. gtk/Makefile.am | 2 + gtk/gtkcssanimatedstyle.c | 113 ++------------------ gtk/gtkcssanimatedstyleprivate.h | 8 +- gtk/gtkcssstaticstyle.c | 225 +++++++++++++++++++++++++++++++++++++++ gtk/gtkcssstaticstyleprivate.h | 69 ++++++++++++ 5 files changed, 307 insertions(+), 110 deletions(-) commit 4168e0385efd9231731ed35b96ce58bafc3eb03f Author: Benjamin Otte Date: Thu Oct 23 04:10:03 2014 +0200 cssstyle: Split into GtkCssStyle and GtkCssAnimatedStyle GtkCssStyle is the base class to be used for all types of styles that do exist. GtkCssAnimatedStyle is the only implementation so far, that is exactly a copy/paste of the old GtkCssStyle code. gtk/Makefile.am | 2 + gtk/gtkcssanimatedstyle.c | 599 +++++++++++++++++++++++++++++++++++++++ gtk/gtkcssanimatedstyleprivate.h | 90 ++++++ gtk/gtkcssanimation.c | 6 +- gtk/gtkcsslookup.c | 22 +- gtk/gtkcsslookupprivate.h | 6 +- gtk/gtkcssstyle.c | 538 ++--------------------------------- gtk/gtkcssstyleprivate.h | 53 +--- gtk/gtkcsstransition.c | 10 +- gtk/gtkstyleanimation.c | 8 +- gtk/gtkstyleanimationprivate.h | 7 +- gtk/gtkstylecontext.c | 28 +- 12 files changed, 767 insertions(+), 602 deletions(-) commit 572f46067f44da99e9ee0ea3210e1c0fac148928 Author: Benjamin Otte Date: Wed Oct 22 23:41:50 2014 +0200 cssstyle: Rename GtkCssComputedValues => GtkCssStyle This is literally just renaming of the object (and the associated source files). No other changes are in there. gtk/Makefile.am | 4 +- gtk/deprecated/gtkgradient.c | 10 +- gtk/deprecated/gtkgradientprivate.h | 4 +- gtk/gtkcssanimation.c | 6 +- gtk/gtkcssarrayvalue.c | 4 +- gtk/gtkcssbgsizevalue.c | 4 +- gtk/gtkcssbordervalue.c | 4 +- gtk/gtkcsscolorvalue.c | 12 +- gtk/gtkcsscomputedvalues.c | 657 ------------------------------------ gtk/gtkcsscomputedvaluesprivate.h | 106 ------ gtk/gtkcsscornervalue.c | 4 +- gtk/gtkcsseasevalue.c | 4 +- gtk/gtkcssenginevalue.c | 4 +- gtk/gtkcssenumvalue.c | 14 +- gtk/gtkcssimage.c | 14 +- gtk/gtkcssimagebuiltin.c | 4 +- gtk/gtkcssimagegradient.c | 4 +- gtk/gtkcssimageicontheme.c | 6 +- gtk/gtkcssimagelinear.c | 4 +- gtk/gtkcssimageprivate.h | 8 +- gtk/gtkcssimagescaled.c | 4 +- gtk/gtkcssimageurl.c | 4 +- gtk/gtkcssimagevalue.c | 4 +- gtk/gtkcssinheritvalue.c | 6 +- gtk/gtkcssinitialvalue.c | 4 +- gtk/gtkcsskeyframes.c | 12 +- gtk/gtkcsskeyframesprivate.h | 4 +- gtk/gtkcsslookup.c | 24 +- gtk/gtkcsslookupprivate.h | 6 +- gtk/gtkcssnumbervalue.c | 12 +- gtk/gtkcsspositionvalue.c | 4 +- gtk/gtkcssrepeatvalue.c | 4 +- gtk/gtkcssrgbavalue.c | 4 +- gtk/gtkcssshadowsvalue.c | 4 +- gtk/gtkcssshadowvalue.c | 4 +- gtk/gtkcssstringvalue.c | 4 +- gtk/gtkcssstyle.c | 657 ++++++++++++++++++++++++++++++++++++ gtk/gtkcssstylefuncs.c | 30 +- gtk/gtkcssstylefuncsprivate.h | 4 +- gtk/gtkcssstyleprivate.h | 106 ++++++ gtk/gtkcsstransformvalue.c | 8 +- gtk/gtkcsstransition.c | 10 +- gtk/gtkcsstypedvalue.c | 4 +- gtk/gtkcsstypesprivate.h | 2 +- gtk/gtkcssunsetvalue.c | 4 +- gtk/gtkcssvalue.c | 10 +- gtk/gtkcssvalueprivate.h | 8 +- gtk/gtkroundedbox.c | 12 +- gtk/gtkstyleanimation.c | 6 +- gtk/gtkstyleanimationprivate.h | 6 +- gtk/gtkstylecontext.c | 68 ++-- 51 files changed, 960 insertions(+), 956 deletions(-) commit f51419adb0034ad784d013db4e57bbdbc7b80153 Author: Benjamin Otte Date: Wed Oct 22 22:36:38 2014 +0200 cssstylefuncs: Rename functions This is in preaparation for the big GtkCssComputedValues => GtkCssStyle rename gtk/gtkcsscustomproperty.c | 2 +- gtk/gtkcssprovider.c | 4 ++-- gtk/gtkcssstylefuncs.c | 20 ++++++++++---------- gtk/gtkcssstylefuncsprivate.h | 6 +++--- gtk/gtkcsstypedvalue.c | 4 ++-- 5 files changed, 18 insertions(+), 18 deletions(-) commit 314a1689167b6e944230ae7d8be1cac3d43af7b2 Author: Christian Kirbach Date: Tue Jan 6 22:42:35 2015 +0000 Updated German translation po/de.po | 2513 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1386 insertions(+), 1127 deletions(-) commit bb2be84af0feaa634f22f258d2219081388a74fc Author: Bruce Cowan Date: Mon Jan 5 20:40:52 2015 +0000 Updated British English translation po-properties/en_GB.po | 4805 ++++++++++++++++++++++++++---------------------- po/en_GB.po | 2549 +++++++++++++++---------- 2 files changed, 4134 insertions(+), 3220 deletions(-) commit 78223932c572214f7a1a738c953299d864451724 Author: Benjamin Otte Date: Mon Jan 5 21:15:19 2015 +0100 cssselector: Reintroduce GOT_MATCH I removed it in 14f5ce710856708dc80fcc98cb5eb2ba257f34ad because I thought it was unnecessary, but it wasn't. When we build a tree like this: .matches ─┬─ .doesntmatch └─ .alsodoesntmatch We would get the changes for the .matches part returned. This is however only right if that node of the tree contains results. If results only exist with the child nodes (all of which don't match), then this part should not match either. gtk/gtkcssselector.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) commit 506639add12d69c2058fa1a72319506adbac1f4d Author: Benjamin Otte Date: Mon Jan 5 21:00:36 2015 +0100 cssselector: The if was the wrong way around We want to keep matching as long as selectors are simple. Otherwise we'd never be matching, because the first selector is always simple. Oops. gtk/gtkcssselector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 43d6ebf9fbecd89cfef8c0c5e7ebc76b50bdde7e Author: Sebastien Lafargue Date: Sun Jan 4 12:40:27 2015 +0100 cellrenderertext: notify inverted The notify for "size" and "size-points" properties are inverted. https://bugzilla.gnome.org/show_bug.cgi?id=742311 gtk/gtkcellrenderertext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b46fdb2d13a072bd9d91c316cae3e9139ea512b5 Author: Emmanuele Bassi Date: Fri Jan 2 23:05:29 2015 +0000 calendar: Handle invalid dates GtkCalendar can have an invalid date — mostly at initialization. This means that GDateTime construction may fail. We need to handle that case gracefully, like the old code did. This fixes the `notify` test suite, which started failing with: /Notification/GtkCalendar: GLib-CRITICAL **: g_date_time_get_day_of_week: assertion 'datetime != NULL' failed inside the Continuous builder. gtk/gtkcalendar.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 21360a453c0b0c124b95de4a500c120432f214ca Author: Christian Hergert Date: Wed Dec 31 23:27:55 2014 -0800 textview: fix duplicated binding entries. use kp variants instead. This appears to have accidentally used the normal keypresses twice instead of the KP variants. This resulted in shift+insert pasting twice. https://bugzilla.gnome.org/show_bug.cgi?id=742170 gtk/gtktextview.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit bf3b0ea64160f9c711aaf3b6bc5deaa6d841c964 Author: Inaki Larranaga Murgoitio Date: Wed Dec 31 17:46:21 2014 +0100 Updated Basque language po/eu.po | 2987 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 1916 insertions(+), 1071 deletions(-) commit cfcb43e3cadbbba0bf80b4bf30b1f920889149f6 Author: Balázs Úr Date: Wed Dec 31 13:29:14 2014 +0000 Updated Hungarian translation po-properties/hu.po | 2511 ++++++++++++++++++++++++++++----------------------- 1 file changed, 1381 insertions(+), 1130 deletions(-) commit dce50674c0ea3790973a3e2a353de694de73a6a5 Author: Gábor Kelemen Date: Wed Dec 31 13:02:56 2014 +0000 Updated Hungarian translation po/hu.po | 169 +++++---------------------------------------------------------- 1 file changed, 13 insertions(+), 156 deletions(-) commit c0e26aad56ab653a0c97f5965900254e24c02b7c Author: Balázs Úr Date: Wed Dec 31 12:03:47 2014 +0000 Updated Hungarian translation po/hu.po | 2222 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1417 insertions(+), 805 deletions(-) commit 38f9e4bf113d2cfe872e4a8078a11bde2a1196a4 Author: Trần Ngọc Quân Date: Wed Dec 31 15:50:54 2014 +0700 Updated Vietnamese translation Signed-off-by: Trần Ngọc Quân po/vi.po | 258 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 146 insertions(+), 112 deletions(-) commit 23fa0e341f2daa9c05447c274ae3b73530b44b28 Author: Ignacio Casal Quinteiro Date: Tue Dec 30 13:46:11 2014 +0100 Fix typos in documentation gtk/gtkcolorbutton.c | 2 +- gtk/gtkcolorchooserwidget.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 5a41f63426efb6f715119d23acdab0b2676c72ad Author: Jasper St. Pierre Date: Sun Dec 28 18:11:49 2014 -0800 gtkstylecontext: Don't try to emit a signal when finalizing gtk/gtkstylecontext.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) commit ecc64f63e4797e564d2d9057eb0f7b6b476ec2b2 Author: Jasper St. Pierre Date: Sun Dec 28 17:54:09 2014 -0800 gdkeventsource-wayland: Fix style gdk/wayland/gdkeventsource.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 915e4c6dd75081f25b1b79fe61728549020aa320 Author: Jasper St. Pierre Date: Sun Dec 28 18:13:24 2014 -0800 inspector: Update translations .ui.h file gtk/inspector/general.ui.h | 3 +++ 1 file changed, 3 insertions(+) commit b4375cde480a3de959553efd2c2f555ac332ee47 Author: Matthias Clasen Date: Sun Dec 28 11:36:10 2014 -0500 Inspector: Show some X display characteristics This helps diagnose e.g. csd problems. gtk/inspector/general.c | 48 ++++++++++++++---- gtk/inspector/general.ui | 123 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 161 insertions(+), 10 deletions(-) commit 20f1c06eedf06dbc3a7fe62875ac996d2c3c2eb5 Author: Matthias Clasen Date: Sun Dec 28 11:06:24 2014 -0500 Restore a missing file No wonder nobody has tried my awesome magnifier yet... gtk/inspector/magnifier.ui | 62 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) commit 07efae7288e4b50cb2f78d340bc7fc1438ef63fa Author: Rico Tzschichholz Date: Sun Dec 28 13:34:16 2014 +0100 mir: Add missing reference to gdkmir-private.h gdk/mir/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 049ec56107f1377caacc7617a5ea9dd6acc63217 Author: Trần Ngọc Quân Date: Sun Dec 28 09:20:14 2014 +0700 Updated vi translation for gtk+properties Signed-off-by: Trần Ngọc Quân po-properties/vi.po | 7611 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 4735 insertions(+), 2876 deletions(-) commit 4d4883f010cf2d30889a004811106bd65b9b0dea Author: Christian Hergert Date: Fri Dec 26 14:19:55 2014 -0800 scrolledwindow: fix spurious warnings from previous scrollbar commits gtk/gtkscrolledwindow.c | 3 +++ 1 file changed, 3 insertions(+) commit 5d42c55f280980d715ada52a18f41f1a05a7dfc7 Author: Emmanuele Bassi Date: Thu Dec 25 11:49:58 2014 +0000 x11/gl: Set the correct minor version The major version is set twice. https://bugzilla.gnome.org/show_bug.cgi?id=741954 gdk/x11/gdkglcontext-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ec37fbe2e29a7a02502f9a9d499a707f208e01d6 Author: Philip Chimento Date: Fri Oct 10 21:35:23 2014 -0700 quartz: NSWindow NULL check in get_scale_factor Sending backingScaleFactor to a NULL NSWindow will silently give the value 0 for the scale factor, causing insidious divide-by-zero bugs down the line. This checks if the NSWindow is NULL first, as seems to happen throughout the rest of the file. Note that I don't have a hi-DPI OS X machine to test this on, though. https://bugzilla.gnome.org/show_bug.cgi?id=738338 gdk/quartz/gdkwindow-quartz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4bd787f2afe14233e183fcfac7103cf9597ca50a Author: John Ralls Date: Wed Dec 24 12:50:57 2014 -0800 Prevent double-free after 8b5d30d43. modules/input/imquartz.c | 3 --- 1 file changed, 3 deletions(-) commit 7f28077b5af6bfd5d54447a0f10c552258b9b934 Author: Carlos Garnacho Date: Mon Dec 1 14:25:23 2014 +0100 scrolledwindow: Enable "hover" mode in scrollbars after a timeout This way transient mouse movements over scrollbars don't cause flickering, and more spaced movements have it enabled shortly. gtk/gtkscrolledwindow.c | 71 +++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 57 insertions(+), 14 deletions(-) commit d2b2b34ae5900d94b650f9ed657d09e3915100f3 Author: Carlos Garnacho Date: Mon Dec 1 13:59:22 2014 +0100 scrolledwindow: improve v/hscrollbar proximity detection Only horizontal coordinates are checked for the vertical scrollbar, and vice versa. gtk/gtkscrolledwindow.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 8b85db08e55e4a34829129f74946497bc769d647 Author: Carlos Garnacho Date: Mon Dec 1 13:37:18 2014 +0100 scrolledwindow: fade out scrollbars on leave notify gtk/gtkscrolledwindow.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit fdf367e8689cb886fbff784349ce7ceaddc99909 Author: Carlos Garnacho Date: Mon Dec 1 13:23:57 2014 +0100 scrolledwindow: make it a windowed widget again This is so we can detect crossing events on the scrolledwindow widget, which can be useful for toggling certain behaviors or not depending on whether the mouse is on the widget. gtk/gtkscrolledwindow.c | 50 +++++++++++++++++++++++++++++++++++++------------ 1 file changed, 38 insertions(+), 12 deletions(-) commit 3bcf5e286328270f22c4a1e969b2a37387687f31 Author: Carlos Garnacho Date: Sat Nov 29 16:53:05 2014 +0100 scrolledwindow: Show scrollbars upon captured motion events On mice, scrollbars are always triggered temporarily. On proximity to an scrollbar, it will be switched to full-width. gtk/gtkscrolledwindow.c | 168 +++++++++++++++++++++++++++++++++++++----------- 1 file changed, 129 insertions(+), 39 deletions(-) commit 2c6ac1fa3e7098f0a7ec379ef615e903386bb5ed Author: Ting-Wei Lan Date: Wed Dec 24 21:59:49 2014 +0800 popover: Add a missing #ifdef gtk/gtkpopover.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit d216d89d6f1328d06396b8a4fe1fb42baf3e666c Author: Matthias Clasen Date: Tue Dec 23 21:49:21 2014 -0500 GtkCalendar: Slightly change overflow behaviour If the first of the month was falling on a Sunday, we would not render any days of the previous month, and instead show two weeks of the next month at the bottom. Improve this by showing one week of each. https://bugzilla.gnome.org/show_bug.cgi?id=301835 gtk/gtkcalendar.c | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) commit 7b9065c2eea5332ec69285ccdc52106a27e25111 Author: Matthias Clasen Date: Tue Dec 23 21:47:50 2014 -0500 Avoid a crash in testcalendar When changing between months, we can get into a situation like 'February 30", which GDate doesn't accept. Don't crash in that case. tests/testcalendar.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 31f502a9ae816fb692716be6b9c68eaa8ee869d3 Author: Matthias Clasen Date: Tue Dec 23 21:11:00 2014 -0500 css: Handle font-size changes properly Changing font size does not cause widgets to update their size properly anymore, since we forgot an invalidation flag. The problem can be observed e.g. by running gtk3-demo and calling gsettings set org.gnome.desktop.interface font-name "Cantarell 22" gtk/gtkcssstylepropertyimpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c763e734978645c825a41a5a0725a1aea903e6ef Author: Matthias Clasen Date: Tue Dec 23 20:36:30 2014 -0500 Adwaita: Bring back 'other month' coloring The days that are not in the current month used to be rendered in a ligher color. This was lost at some point. Bring it back. gtk/theme/Adwaita/_common.scss | 2 + gtk/theme/Adwaita/gtk-contained-dark.css | 205 +++++++++---------------------- gtk/theme/Adwaita/gtk-contained.css | 205 +++++++++---------------------- 3 files changed, 124 insertions(+), 288 deletions(-) commit 6ae93f5c46096df452ffdcc966573026a4fd41b8 Author: Matthias Clasen Date: Tue Dec 23 20:28:49 2014 -0500 GtkCalendar: Use GDateTime for calculations Instead of old copy-paste code, use GDateTime to determine week numbers and days of week. gtk/gtkcalendar.c | 129 ++++++++++++++---------------------------------------- 1 file changed, 32 insertions(+), 97 deletions(-) commit a7cf67f201793bde750a59e273ba4f88898d8271 Author: Matthias Clasen Date: Tue Dec 23 18:37:28 2014 -0500 Formatting fixes gtk/gtkappchooserbutton.c | 81 ++++++++++++++++++++++------------------------- 1 file changed, 37 insertions(+), 44 deletions(-) commit 79ada68f8cf925adc7014328c2416f70396b02ff Author: Matthias Clasen Date: Tue Dec 23 00:20:11 2014 -0500 Formatting fixes gtk/gtkaboutdialog.c | 64 ++++++++++++++++------------------------------------ 1 file changed, 19 insertions(+), 45 deletions(-) commit 0a54ad118765f55f77bdbedab3ebe1e4342fe797 Author: Matthias Clasen Date: Mon Dec 22 17:16:30 2014 -0500 GtkRecentManager: Formatting fixes gtk/gtkrecentmanager.c | 723 +++++++++++++++++++++++++------------------------ 1 file changed, 365 insertions(+), 358 deletions(-) commit ea9f5e22737936dc7a0fb0d6a7428364617460a8 Author: Stas Solovey Date: Tue Dec 23 14:09:52 2014 +0000 Updated Russian translation po/ru.po | 2162 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 1297 insertions(+), 865 deletions(-) commit 96f7c11f4840d7425ab19290ea18d3904ab939a1 Author: Carlos Garnacho Date: Mon Oct 20 19:10:52 2014 +0200 window: Use subsurfaces for popovers on wayland On the wayland backend, set up GDK_WINDOW_SUBSURFACE windows for popovers. In the popover code, the popover-relative-to-parent calculation had to be tweaked, and it's been made to always prefer the given popover position, since there's no sizing limitations. https://bugzilla.gnome.org/show_bug.cgi?id=738891 gtk/gtkpopover.c | 30 +++++++++++++++++++++++++++--- gtk/gtkwindow.c | 26 ++++++++++++++++++++++++-- 2 files changed, 51 insertions(+), 5 deletions(-) commit 5e9bf518a33528a7f7264d16c906ed4b0f99b8fb Author: Patrick Welche Date: Tue Dec 23 10:35:40 2014 +0000 GtkApplicationWindow: Documentation fix gtk_builder_add_from_string takes more than 2 parameters. https://bugzilla.gnome.org/show_bug.cgi?id=741897 gtk/gtkapplicationwindow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 3a0ced32bf22eda6a6377c36654a5a2e1bb04f18 Author: Florian Müllner Date: Thu Dec 18 14:18:50 2014 +0100 Adwaita: Special-case server-side window decorations The WM already adds the window shadow in that case, so just use the box-shadow to add the border here. 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 5127136723f3bc5bbf5cccb5dbca39b894841ee3 Author: Matthias Clasen Date: Mon Dec 22 10:52:54 2014 -0500 GtkNotebook: Be a bit more safe against cur_page being NULL https://bugzilla.gnome.org/show_bug.cgi?id=477454 gtk/gtknotebook.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit ea36b7bfb0c01acaaf348e6b42fcb73da0f8a677 Author: Matthias Clasen Date: Mon Dec 22 08:21:50 2014 -0500 GtkRecentManager: Survive without a filename We were asserting priv->filename != NULL in various places, which leads to apps refusing to work when HOME is set to a nonexisting or nonwritable value. Since it isn't hard, just make GtkRecentManager survive without a filename. We won't save or read any recently used files in this state, but thats ok. https://bugzilla.gnome.org/show_bug.cgi?id=739038 gtk/gtkrecentmanager.c | 137 +++++++++++++++++++++++++------------------------ 1 file changed, 69 insertions(+), 68 deletions(-) commit 84b0b454655024fe3319f6b48940123e794f0a16 Author: Daniel Mustieles Date: Mon Dec 22 13:08:37 2014 +0100 Updated Spanish translation po-properties/es.po | 330 ++++++++++++++++++++++++++-------------------------- 1 file changed, 164 insertions(+), 166 deletions(-) commit cc5a586ceb4fba938901b9c21d7606570a573ad9 Author: Daniel Mustieles Date: Mon Dec 22 13:08:20 2014 +0100 Updated Spanish translation po/es.po | 57 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 28 deletions(-) commit 6b26664c414a44e26553c0546632c9d5fff6a7b1 Author: Ryan Lortie Date: Tue Dec 16 12:14:23 2014 -0500 GtkMenuTracker: add hidden-when='macos-menubar' Provide a mechanism for hiding the "Quit", "About" and "Preferences" menu items from the normal places in a traditional menubar layout (in the File and Edit menus) when the menu is being rendered in the Mac OS menubar. These items can already be found in the application menu. With this feature, applications can now define a single menu to use in all 'traditional' scenarios. Use this new attribute in Bloatpad. https://bugzilla.gnome.org/show_bug.cgi?id=741610 examples/bp/gtk/menus.ui | 2 ++ gtk/gtkapplication-quartz-menu.c | 2 ++ gtk/gtkmenusectionbox.c | 6 +++--- gtk/gtkmenushell.c | 6 +++--- gtk/gtkmenutracker.c | 13 ++++++++++--- gtk/gtkmenutracker.h | 2 ++ gtk/gtkmenutrackeritem.c | 8 ++++++++ gtk/gtkmenutrackeritem.h | 1 + 8 files changed, 31 insertions(+), 9 deletions(-) commit 4bc3f02d51051fd7deff1a658d40a3859bb68a42 Author: Matthias Clasen Date: Sun Dec 21 23:14:02 2014 -0500 GtkRecentManager: Allow instantiating with gtk_init This apparently used to work, and it doesn't do harm to allow it. https://bugzilla.gnome.org/show_bug.cgi?id=705582 gtk/gtkrecentmanager.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) commit 53c388b72466497348589553cc0e81d24ca5aa7a Author: Matthias Clasen Date: Sat Dec 20 22:49:09 2014 -0500 Some formatting cleanups gtk/gtkwidget.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 36245b70585932f1e3a2ed0a10ce2fd8ce9c43de Author: Chun-wei Fan Date: Mon Dec 22 11:25:49 2014 +0800 GDK-Win32: Drop Some Unused Items There were a bit of unused items from the GDK-Win32 work on GL support, so drop them. gdk/win32/gdkdisplay-win32.h | 2 -- gdk/win32/gdkglcontext-win32.c | 2 -- 2 files changed, 4 deletions(-) commit ef57ac6bf1c7ed14e1891d17975afeef70e803e5 Author: Ting-Wei Lan Date: Sun Dec 21 14:51:00 2014 +0800 reftests: Fix typo It causes build failure on MinGW. https://bugzilla.gnome.org/show_bug.cgi?id=741827 testsuite/reftests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ef2c68462b6fd83d9e86e3db552f96c910f8cc21 Author: Ryan Lortie Date: Tue Dec 16 12:22:23 2014 -0500 GtkMenuTracker: add missing documentation fragment https://bugzilla.gnome.org/show_bug.cgi?id=741610 gtk/gtkmenutracker.c | 3 +++ 1 file changed, 3 insertions(+) commit 1e1c5c65d1f6abd1de306730068746b3f0438c93 Author: Matthias Clasen Date: Sat Dec 20 19:39:09 2014 -0500 inspector: Remove an errant shadow gtk/inspector/data-list.ui | 1 - 1 file changed, 1 deletion(-) commit 2b07b6c069297abdeed1b41c91fde1d47058ce97 Author: Matthias Clasen Date: Sat Dec 20 19:24:08 2014 -0500 inspector: Add a magnifier Add a magnifier that shows the selected widget up to 5 times enlarged. gtk/inspector/Makefile.inc | 3 ++ gtk/inspector/init.c | 5 +++ gtk/inspector/magnifier.c | 80 ++++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/magnifier.h | 54 ++++++++++++++++++++++++++++++ gtk/inspector/magnifier.ui.h | 0 gtk/inspector/window.c | 3 ++ gtk/inspector/window.h | 2 +- gtk/inspector/window.ui | 8 +++++ gtk/inspector/window.ui.h | 1 + po/POTFILES.in | 1 + 10 files changed, 156 insertions(+), 1 deletion(-) commit 52b3b4207ffb38233342fac447092b5cb3b52c26 Author: Matthias Clasen Date: Sat Dec 20 19:19:24 2014 -0500 GtkTextView: disconnect the magifier on destroy This prevents warnings that would otherwise happen when the magifier is finalized. gtk/gtktextview.c | 3 +++ 1 file changed, 3 insertions(+) commit 10d0ca0a3d5536a5c9926998e54775a8b0fd8b2c Author: Matthias Clasen Date: Sat Dec 20 19:16:46 2014 -0500 GtkMagnifier: Add a resizing mode In addition to the fixed-size mode that is used by the text view, add a mode in which the magnifier requests enough size to render the entire inspected widget at the current magnification. In this mode, the magnifier will update its size when the size of the inspected widget changes. Also, make the magnifier redraw on its own whenever the inspected widget draws. gtk/gtkmagnifier.c | 194 +++++++++++++++++++++++++++++++++++++++++++++- gtk/gtkmagnifierprivate.h | 4 + 2 files changed, 197 insertions(+), 1 deletion(-) commit 42a6ae6c6c54ddf2f1c0836ed2e67180c0617c0a Author: Benjamin Otte Date: Sat Dec 20 20:39:31 2014 +0100 widget: Set the allocation via gtk_widget_set_allocation() There is no good reason to assign the value directly. Also, this fixes d23f3254b7fcef0fc57739ce5cd548742870b119 where widgets that chained up instead of calling gtk_widget_set_allocation() would not draw becaues of empty clip. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 631688cf6457332e13ffdd1f9c18f3be3bc584c2 Author: Benjamin Otte Date: Fri Dec 19 19:16:47 2014 +0100 csstransform: Fix comparisons crashing Transforms of different type are not equal. gtk/gtkcsstransformvalue.c | 3 +++ 1 file changed, 3 insertions(+) commit d23f3254b7fcef0fc57739ce5cd548742870b119 Author: Benjamin Otte Date: Fri Dec 19 19:05:12 2014 +0100 widget: Handle setting clip differently (1) Get rid of supports_clip flag. All widgets (implicitly) support clip. (2) Don't reset the clip to { 0, 0, 0, 0 } before the "size-allocate" signal. (3) Make gtk_widget_set_allocation() set the clip (to the allocation). This ensures that eveyr widget has a clip set. Note: It overrides previous calls to gtk_widget_set_clip(), while in 3.14 this didn't happen. (4) As the clip is set by gtk_widget_set_allocation() now, don't set it after the "size-allocate" signal anymore. This fixes calls to gtk_widget_queue_draw() from inside the size_allocate vfunc. gtk/gtkwidget.c | 55 ++++++++++--------------------------------------------- 1 file changed, 10 insertions(+), 45 deletions(-) commit f0a40b1a2365e3357803342c29b89d215a1efe79 Author: Benjamin Otte Date: Tue Dec 16 19:10:53 2014 +0100 widget-factory: Don't pulse dead widgets Causes crashes at cleanup and we don't want those. Also, code gets simpler. demos/widget-factory/widget-factory.c | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) commit 1dbc6d91f08e28c90bd39ff8a6137b9480c18510 Author: Matthias Clasen Date: Fri Dec 19 12:27:31 2014 -0500 Don't initialize GL if it has been disabled We've observed hangs of mutter when it initializes GTK+, which are caused by initializing GL, which in turn makes xwayland call back into mutter. With this change, mutter should just disable GL support in GDK, and things will work. gdk/x11/gdkglcontext-x11.c | 3 +++ 1 file changed, 3 insertions(+) commit ac5ffd847b1a7e744d7922359c1639b795c28908 Author: Matthias Clasen Date: Thu Dec 18 23:20:43 2014 -0500 GtkApplication: Try to cope with ssh situations better Override the gtk-shell-shows-app-menu and gtk-shell-shows-menubar settings to FALSE, if we can detect that we are not on the same session bus as the xsettings provider that we got these settings from. We determine this by comparing the bus ID of 'our' session bus with the one reported in the Gtk/SessionBusId xsetting. If they are different, then it very likely that we are in an ssh situation where we see the forwarded X display, but not the session bus. The D-Bus based menu exporting will not work in this situation. https://bugzilla.gnome.org/show_bug.cgi?id=671802 gtk/gtkapplication-dbus.c | 59 +++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 54 insertions(+), 5 deletions(-) commit 57d034ce9f16c883f2f91dd2cc3b3070a8e665e2 Author: Matthias Clasen Date: Thu Dec 18 23:19:19 2014 -0500 Add an XSetting for the session bus ID This will allow us to identify situations where we are not on the same session bus as the xsettings provider. https://bugzilla.gnome.org/show_bug.cgi?id=671802 gdk/x11/gdksettings.c | 1 + 1 file changed, 1 insertion(+) commit 583d612c9fb95b7d66f214f99367d9400ad07b82 Author: Christian Kirbach Date: Thu Dec 18 22:49:08 2014 +0000 Updated German translation po-properties/de.po | 897 +++++++++++++++++++++++++++++++--------------------- 1 file changed, 545 insertions(+), 352 deletions(-) commit 51e1e3b416862774ee87151326fd3bb8e436da4d Author: Carlos Garnacho Date: Fri Nov 21 15:21:49 2014 +0100 textview: make magnifier size dependent on text size The magnifier is now set enough height to show the line being currently manipulated, which makes it just big enough to show the layout height at that size and magnification. gtk/gtktextview.c | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) commit 97137da6e5f5424e4891b07933b017e4e56f6b25 Author: Carlos Garnacho Date: Thu Nov 20 14:19:39 2014 +0100 Adwaita: Make text handles a bit larger This improves visibility, and interaction, as the invisible rect around is dependent on the visible handle size 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 025340bfc4016edaf19def49ad424b1cb18d4520 Author: Carlos Garnacho Date: Thu Nov 20 14:12:41 2014 +0100 textview: Implement friendlier touch selection - It is not possible anymore to trigger text DnD through touch, pressing and dragging from within the selection will instead extend it. Text shrinking is still available through the handles - The selection mode for touch is per-word, char-level manipulation is still available through the handles. - Tapping within the selection will bring in text handles, and toggle text selection popover. gtk/gtktextview.c | 95 +++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 64 insertions(+), 31 deletions(-) commit 8c091d1484c7b269b302a03212df37a785aae55e Author: Carlos Garnacho Date: Thu Nov 20 14:03:07 2014 +0100 textview: Make "extend selection" only extend This mode could also shrink the selection, plus the starting point would seem somewhat arbitrary (actually dependent on the dragging direction of the last selection). Made this mode more consistent by only allowing it to extend the selection, only in one direction for each operation, and so it keeps the current selection as a minimum. gtk/gtktextview.c | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) commit a2e71203c2eb3cf5cfaa881680009542b291a6e0 Author: Carlos Garnacho Date: Thu Nov 20 13:57:46 2014 +0100 textview: Pass a boolean telling whether a selection drag should extend Instead of passing a GdkEvent and let the function figure out whether the selection should be extended, let that to the caller and just pass a boolean here. gtk/gtktextview.c | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) commit ccdebb6aa0203a7f6775233741cccd499f03034b Author: Carlos Garnacho Date: Thu Nov 20 13:52:13 2014 +0100 textview: Show magnifier on top of current line The X coordinate is dependent on touch position, but Y is stepped. gtk/gtktextview.c | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) commit 79f8db1c0d5dd668c98e76a9279b06bcc0d534b8 Author: Carlos Garnacho Date: Thu Nov 20 13:46:30 2014 +0100 texthandle: Use active state when handles are being dragged The active state flags is set on both handles when this happens. gtk/gtktexthandle.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit e0b9330880634948c87650785f979b0cac106b7e Author: Carlos Garnacho Date: Thu Nov 20 13:41:24 2014 +0100 texthandle: Use the handle widget style context for rendering Using the parent widget context is a leftover of the pre-popover implementation, which used GdkWindows directly. This will make the context reflect widget state, at the expense of changing the selector paths that used to match the handles. gtk/gtktexthandle.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit dca2f4386dbbefe842efd4bcab5fcd0b661b72dd Author: Carlos Garnacho Date: Thu Nov 20 13:25:40 2014 +0100 gesturesingle: check for the sequence being handled, not just the event Checking the return value was valid for most gestures, but GtkGestureLongPress, where the first press triggers internally an action, but does nothing for the sequence to be claimed/denied, FALSE was eventually returned, and the button/sequence functions would be incorrect when ::pressed is emitted. So check that the sequence is being handled by the gesture, this is more desirable than the return value as it's independent of sequence state, and still will be FALSE for the cases we want to catch here. gtk/gtkgesturesingle.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit ce8dc5186127ae175610366671a30d69625ebaa9 Author: Sebastien Lafargue Date: Thu Dec 18 21:00:45 2014 +0100 gtktextlayout: fix to quiet a warning Gcc complains about a possible use of a not initialised widget ref ( which can't happen in reality ) https://bugzilla.gnome.org/show_bug.cgi?id=741702 gtk/gtktextlayout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 73c8f3092820c51058f188313c3249685be42a38 Author: Sebastien Lafargue Date: Thu Dec 18 20:52:58 2014 +0100 gtktextlayout: fix for right margin with RTL text When a RTL paragraph is not set to wrap, the right margin is not respected because of the margins counted twice so we replace display->width by PIXEL_BOUND (extents.width), the same quantity without the margins. https://bugzilla.gnome.org/show_bug.cgi?id=741702 gtk/gtktextlayout.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit ed1fb8d2afa1d7c3bbdd9284a0db09a44bc48327 Author: Erick Pérez Castellanos Date: Sat Dec 13 10:36:15 2014 -0500 Minor documentation fix gtk/gtkcssprovider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 779faafa22af99614bb0f6a5526b4d901a7b095f Author: Marek Kasik Date: Thu Dec 18 16:26:29 2014 +0100 printing: Translate context to correct position Use correct margins of given page setup when translating context to imageable area. https://bugzilla.gnome.org/show_bug.cgi?id=671895 gtk/gtkprintcontext.c | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) commit 9ac9769f360df4d63b4f6e7cbb572092e263c5ea Author: Marek Kasik Date: Thu Dec 18 16:25:50 2014 +0100 printing: Return correct width and height of page setup Use correct margins when computing width and height returned by gtk_page_setup_get_page_width() and gtk_page_setup_get_page_height(). https://bugzilla.gnome.org/show_bug.cgi?id=671895 gtk/gtkpagesetup.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) commit 307ce2f9bd617370ce8a3a62e0b73051de97cbe4 Author: Daniel Mustieles Date: Thu Dec 18 13:21:10 2014 +0100 Updated Spanish translation po/es.po | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) commit e21786138a3ca3c4c98b4cfafcb660e71ad08406 Author: Yosef Or Boczko Date: Thu Dec 18 13:28:44 2014 +0200 Updated Hebrew translation po/he.po | 96 ++++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 57 insertions(+), 39 deletions(-) commit 14e5ca584b1be8f6b2a91a8f4e03d7a8a1e1d019 Author: Chun-wei Fan Date: Thu Dec 18 15:31:58 2014 +0800 Visual Studio Builds: Update Header "Installation" The list of headers became a bit out-of-date as development went on, so make it up-to-date. build/win32/vs10/gtk-install.props | 4 +++- build/win32/vs9/gtk-install.vsprops | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) commit fe82dc5fb294c03c2235be0f3105107e89eafbf5 Author: Matthias Clasen Date: Wed Dec 17 22:56:30 2014 -0500 GtkMenuButton: Don't leak popovers Detach the previous popover from the toplevel when a new one is set. This should fix https://bugzilla.gnome.org/show_bug.cgi?id=741652 gtk/gtkmenubutton.c | 2 ++ 1 file changed, 2 insertions(+) commit fdc8c6103a2e11fa4e3ea292728190684932406b Author: Lapo Calamandrei Date: Wed Dec 17 19:42:11 2014 +0100 Adwaita: another stab at the undershoot gtk/theme/Adwaita/_common.scss | 92 +++++++++--------- gtk/theme/Adwaita/_drawing.scss | 44 ++++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 162 ++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 162 ++++++++++++++++--------------- 4 files changed, 250 insertions(+), 210 deletions(-) commit bf383acd5de9defaa0bb04a96d6e8a705090c6ec Author: Lapo Calamandrei Date: Wed Dec 17 18:29:02 2014 +0100 Adwaita: fix treeview progressbar issue See https://bugzilla.gnome.org/show_bug.cgi?id=741569 gtk/theme/Adwaita/_common.scss | 38 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 543 ++++++++++++++++++------------- gtk/theme/Adwaita/gtk-contained.css | 538 +++++++++++++++++------------- 3 files changed, 637 insertions(+), 482 deletions(-) commit b44df22895c794733e15d19a977bc9c2d5a2bd78 Author: Lars Uebernickel Date: Thu Dec 11 17:49:02 2014 +0100 Menu items: force loading 16x16 icons GtkIconTheme doesn't scale icons beyond the size specified in the theme anymore. This can result in arbitrarily large menu items when a theme only provides large icons. Force icons to always be 16x16 to ensure that menu items always have the same height. https://bugzilla.gnome.org/show_bug.cgi?id=741259 gtk/deprecated/gtkimagemenuitem.c | 1 + gtk/gtkmodelmenuitem.c | 1 + 2 files changed, 2 insertions(+) commit 9032e0884328e3524c4203e12450dc79aea797e3 Author: Piotr Drąg Date: Wed Dec 17 13:40:58 2014 +0100 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit 3eb18379d55b20fdb7f8bbb706e2067a886179a3 Author: Daniel Mustieles Date: Wed Dec 17 12:38:51 2014 +0100 Updated Spanish translation po-properties/es.po | 1141 ++++++++++++++++++++++++++------------------------- 1 file changed, 589 insertions(+), 552 deletions(-) commit 8e86d820f29795a9c084496719d258f3a13002a4 Author: Daniel Mustieles Date: Wed Dec 17 12:37:49 2014 +0100 Updated Spanish translation po/es.po | 708 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 354 insertions(+), 354 deletions(-) commit 020258f85a4add53e9f04fce39f1ba3e89f9abae Author: Sébastien Wilmet Date: Mon Dec 15 14:53:29 2014 +0100 textview: add extend-selection signal To be able to customize the double-click and triple-click behaviors, to provide custom selection boundaries. https://bugzilla.gnome.org/show_bug.cgi?id=111503 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtktextview.c | 135 ++++++++++++++++++++++++++++------- gtk/gtktextview.h | 24 ++++++- 3 files changed, 134 insertions(+), 26 deletions(-) commit 7ff3c6df80185e165e3bf6aa31bd014d1f8bf224 Author: Matthias Clasen Date: Mon Dec 15 22:19:26 2014 -0500 Fix distcheck differently The previous fix fixed distcheck, but broke distclean. docs/tools/Makefile.am | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 22dfa49300a78550b2622356842fe51ba60cb081 Author: Matthias Clasen Date: Mon Dec 15 22:19:12 2014 -0500 More release notes README.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 6f3385aa602f9c597b7f73c4333bd8e62055f190 Author: Chun-wei Fan Date: Wed Dec 17 16:24:54 2014 +0800 MSVC Builds: Build and "Install" GDK-Win32 GL Items Since the support for GL support in the GDK Windows backend has landed in master, we need to build it in the Visual Studio builds. Update the projects for that and "install" the public header that was added. build/win32/vs10/gdk-win32.vcxproj | 1 + build/win32/vs10/gdk-win32.vcxproj.filters | 1 + build/win32/vs10/gtk-install.props | 1 + build/win32/vs9/gdk-win32.vcproj | 1 + build/win32/vs9/gtk-install.vsprops | 1 + 5 files changed, 5 insertions(+) commit 536fa88cd8a9b0ee99f089da23e455b450622c48 Author: Chun-wei Fan Date: Wed Dec 17 12:32:04 2014 +0800 Add OpenGL Support for the GDK Windows Backend This adds support for OpenGL to the GDK Windows backend using the WGL API calls, which enables programs that uses the GTK+ GLArea widgets to work on Windows as well. This also adds a simple utility function to query for the version of OpenGL that is supported by the Windows system, like the one provided by the X11 backend. Many thanks to Alex (and Emmanuele, who started the OpenGL integration in GTK+) who offered advice and help along the way, as well as the X11 and Wayland backend for this work to refer to and to model upon. https://bugzilla.gnome.org/show_bug.cgi?id=740795 gdk/win32/Makefile.am | 5 + gdk/win32/gdkdisplay-win32.c | 14 +- gdk/win32/gdkdisplay-win32.h | 47 +++ gdk/win32/gdkglcontext-win32.c | 655 +++++++++++++++++++++++++++++++++++++++++ gdk/win32/gdkglcontext-win32.h | 84 ++++++ gdk/win32/gdkwin32.h | 1 + gdk/win32/gdkwin32glcontext.h | 49 +++ gdk/win32/gdkwindow-win32.c | 24 +- 8 files changed, 861 insertions(+), 18 deletions(-) commit 9fd9f61b00f1dd7f61beb19cccea5767887a6a4b Author: Chun-wei Fan Date: Wed Dec 17 16:06:25 2014 +0800 gdkgl: Use vfunc For Uploading Textures As the alignments, strides and image formats may be different across platforms, make the texture upload a vfunc to allow backends to override the GL commands for uploading textures for the software implementation for gdk_gl_texture_from_surface(), if necessary. Suggested by Alex to avoid copying non-trivial portions of code which would then add maintainenace burden. https://bugzilla.gnome.org/show_bug.cgi?id=740795 gdk/gdkgl.c | 7 ++----- gdk/gdkglcontext.c | 20 ++++++++++++++++++++ gdk/gdkglcontextprivate.h | 5 +++++ 3 files changed, 27 insertions(+), 5 deletions(-) commit 6e7bf9ca7a8077452bb6cabcc81e8407e268cd99 Author: Timm Bäder Date: Mon Dec 15 10:29:11 2014 +0100 menubutton: Fix double freeze_notify gtk/gtkmenubutton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b52a06ac6fae2cd777169db425e6ebc5cad44a10 Author: Alexander Larsson Date: Tue Dec 16 13:27:49 2014 +0100 GtkGLArea: Handle window scale factor changes We need to re-allocate the buffers for the new gl size. gtk/gtkglarea.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 08853c7364651390d888b04e159915d9ba77f7ba Author: Alexander Larsson Date: Tue Dec 16 13:25:23 2014 +0100 GtkGLArea: Only re-allocate buffers during paint This drops the maybe_allocate_buffers that re-allocates buffers at any point. Instead we just set have_buffers to FALSE and have the buffers re-created when needed. This also makes the buffer creation code imdeponent and makes it clean up no longer needed buffers in order to handle being called multiple times due to the above. We also ensure we re-allocate the buffers when we're resizing and the buffers are already created. gtk/gtkglarea.c | 95 +++++++++++++++++++++++++++++++++------------------------ 1 file changed, 55 insertions(+), 40 deletions(-) commit a1a01983f717a464e89ff2b569a5c61a2e3239c3 Author: Alexander Larsson Date: Mon Dec 15 22:31:48 2014 +0100 gdk: Fix scissoring with scaled windows Make sure the window scale is always taken into acount when setting up the scissor regions. gdk/gdkgl.c | 8 ++++---- gdk/x11/gdkglcontext-x11.c | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) commit 2693496b56092cba65a49fb6f4199f5efbd5e5e2 Author: Alexander Larsson Date: Mon Dec 15 21:55:10 2014 +0100 gdk_gl_texture_from_surface - fix software fallback We can't combine multiple draws into one for the software fallback, because each quad has a different texture. And we generally don't want to make a larger single texture because then we would have to upload more data. gdk/gdkgl.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit 4a4125bcfc252deecaab4547c891495b8e0ee5af Author: Alexander Larsson Date: Mon Dec 15 21:54:11 2014 +0100 gdk_cairo_draw_from_gl - fix drawing with alpha on window scale > 1 The scissoring needs to take into account the window scale. gdk/gdkgl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)