Emmanuele Bassi
bee29ea6c8
build: Fix sassc detection
2017-04-01 16:39:21 +01:00
Emmanuele Bassi
f6cbd076dd
Rebuild CSS on all SCSS file changes
...
Adwaita and HighContrast CSS should be rebuild every time one of their
dependent files change, not just the main entry point.
https://bugzilla.gnome.org/show_bug.cgi?id=780041
2017-04-01 16:19:54 +01:00
William Hua
94db94a78b
mir: set application name when creating connection
2017-04-01 11:05:27 -04:00
Emmanuele Bassi
99c79d6769
Optionally depend on sassc to generate the theme CSS
...
Instead of using Ruby/Sass to generate the CSS from SCSS files, we can
use the faster and more lightweight libsass/sassc binary.
We can keep the CSS files in Git to make it easier to dist GTK+, but we
can add rules to ensure they get rebuilt if the source SCSS changes.
https://bugzilla.gnome.org/show_bug.cgi?id=780041
2017-04-01 15:36:27 +01:00
Timm Bäder
d55249c6f1
gsk: Add color shaders to resources
2017-04-01 16:16:03 +02:00
Timm Bäder
98a78b0d61
dnd: Remove unnecessary non-toplevel GtkWindow in set_icon_surface
...
Instead of creating a GtkWindow, connecting to ::draw and drawing the
surface in there, then adding that window to another GtkWindow... just
use a GtkImage. This also gets rid of a bunch of utility functions used
only in gtk_drag_set_icon_surface.
2017-04-01 08:40:34 +02:00
William Hua
8985643966
mir: remove keymap and input device state warnings
2017-03-31 17:36:47 -04:00
William Hua
c638fb952c
mir: re-write settings implementation
2017-03-31 15:27:53 -04:00
Matthias Clasen
0fa7ce30dc
3.90.0
2017-03-31 14:05:31 -04:00
Matthias Clasen
99ae996a71
reftests: Remove a test using -gtk-gradient
...
No longer available.
2017-03-31 14:04:59 -04:00
Matthias Clasen
8ced9f8fd6
a11y tests: Update test results
...
Most of the changes here are due to visibility.
2017-03-31 14:04:59 -04:00
Matthias Clasen
0f4a31edae
css style tests: Update expected results for gradient tests
...
This is the same as the previous commit.
2017-03-31 14:04:58 -04:00
Matthias Clasen
52b7a96bec
css parser tests: Fix radial gradient test results
...
This changed in commit 2a5a94b260
.
2017-03-31 12:50:14 -04:00
Matthias Clasen
19f6df0c5e
css parser tests: Fix up the pseudo class test
...
We don't recognize non-standard names anymore.
2017-03-31 12:48:06 -04:00
Matthias Clasen
55a1587f55
css parser tests: Update border image test results
...
We lost the ability to dump some images.
2017-03-31 12:48:05 -04:00
Matthias Clasen
7d7b45cac0
css parser tests: Drop tests for -gtk-gradient
...
No longer needed.
2017-03-31 12:48:05 -04:00
Matthias Clasen
7f08336108
css parser tests: Update background-image test results
...
We lost the ability to dump some kinds of images.
2017-03-31 12:48:05 -04:00
Matthias Clasen
215f1b9e96
css parser tests: Fix integer test results
...
Many of the deprecation have been removed here.
2017-03-31 12:48:05 -04:00
Matthias Clasen
b2f90e0e3b
css parser tests: Fix background-blend-mode test
...
The css spec calls it 'saturation', not 'saturate'.
2017-03-31 12:48:05 -04:00
Matthias Clasen
60982265fa
css parser: Fix names for blend modes
...
When the blend modes were ported to use gsk defines, some
dashes were accidentally turned into underscores. It also
turns out that we were expecting 'saturate' instead of
'saturation' as per the css spec. Fix that as well.
2017-03-31 12:48:05 -04:00
Matthias Clasen
ef0956f810
css tests: Update progressbar test results
...
This was a documented change that has not been reflected
in the tests yet.
2017-03-31 12:48:05 -04:00
Matthias Clasen
bdc607bbd9
css tests: Update entry test results
...
Just visibility changes here.
2017-03-31 12:48:05 -04:00
Matthias Clasen
ca0a291e5f
css nodes: Update the combobox test results
...
Some changes in the details here; we removed an old widget name.
2017-03-31 12:48:05 -04:00
Matthias Clasen
0934052618
css tests: Update the GtkSwitch node tests
...
The node hierarchy for GtkSwitch has changed.
2017-03-31 12:48:05 -04:00
Matthias Clasen
95d2895a05
switch: Update css docs to reflect current reality
...
This should have been done when the hierarchy was changed.
2017-03-31 12:48:05 -04:00
Timm Bäder
9bf6107722
infobar: Remove unused defines
2017-03-31 09:54:43 +02:00
Timm Bäder
4dd8d37191
widgetfocus: Use the same function to compare widgets
...
... in horizontal/vertical direction.
2017-03-31 09:50:40 +02:00
Timm Bäder
c9fc201f77
Implement tab/up-down/left-right focus sorting for widgets
...
basically do what GtkContainer already did.
2017-03-31 09:50:40 +02:00
Timm Bäder
6e9d857714
Widget: Shuffle focus code around
2017-03-31 09:50:40 +02:00
Timm Bäder
9b70d9897d
tests: Add widget focus test case
...
Shows an example of a widget that directly inherits from GtkWidget and
has multiple focusable children.
2017-03-31 09:50:40 +02:00
Timm Bäder
1a7cbddbd4
statusbar: Remove margins in ui file
...
Widgets themselves shouldn't have margins assigned.
2017-03-31 09:50:40 +02:00
Timm Bäder
0153147ca2
widget: Allow focusing widgets with non-container parent
...
Especially if said parent also has can-focus set to FALSE, which is a
special-case we had before for GtkContainer instances.
2017-03-31 09:50:40 +02:00
Timm Bäder
0b48bb23b2
label: Fix focus implementation
...
Don't return TRUE if we didn't actually focus anything.
2017-03-31 09:50:39 +02:00
Timm Bäder
1affd425a1
window: Simplify _set_focus
2017-03-31 09:50:39 +02:00
Timm Bäder
cc05fc574c
window: Remove _gtk_window_set_is_toplevel
...
All GtkWindow instances are toplevels.
2017-03-31 09:50:39 +02:00
Timm Bäder
270d957380
window: Fold update_has_focus in to set_is_active
...
We're now only ever setting has_focus to the same value we set is_active
to, so also remove that field from the private struct.
2017-03-31 09:50:39 +02:00
Timm Bäder
0ce9f26dc5
window: Remove has-toplevel-focus property
...
Since embedded toplevels don't exist anymore, :has-toplevel-focus is
equivalent to :active.
2017-03-31 09:50:39 +02:00
Timm Bäder
ebdbb6873a
window: Remove check_resize special case for embedded toplevels
...
Those don't exist anymore.
2017-03-31 09:50:39 +02:00
Timm Bäder
49bbf67195
window: Remove gtk_quark_embedded
...
Unused.
2017-03-31 09:50:39 +02:00
Timm Bäder
0d0cb6e192
widget: Emit ::focus regardless of container-ness and can-focus
2017-03-31 09:50:39 +02:00
Timm Bäder
885bcd9fe4
container: Remove focus_child pointer
...
Use GtkWidget's instead.
2017-03-31 09:50:39 +02:00
Timm Bäder
64544968e9
widget: Also reset focus on non-container widgets
2017-03-31 09:50:39 +02:00
Timm Bäder
6353433f0e
Make gtk_container_set_focus_child private
2017-03-31 09:50:39 +02:00
Timm Bäder
0d480a3eb0
Remove gtk_container_get_focus_child
2017-03-31 09:50:39 +02:00
Timm Bäder
43cdeee3c4
widget: Save pointer to focus child
...
Do the same thing GtkContainer does.
2017-03-31 09:50:39 +02:00
Timm Bäder
2bab2048f9
cssimageicontheme: Cache size + texture
2017-03-31 09:50:39 +02:00
Timm Bäder
d8f78d3a32
glrenderer: Reuse the GArray for render items
2017-03-31 09:50:39 +02:00
Timm Bäder
67e7f44654
glrenderer: Add render items for child nodes
2017-03-31 09:50:39 +02:00
Timm Bäder
fbada8e758
glrenderer: Handle color nodes
2017-03-31 09:50:39 +02:00
Timm Bäder
a33e90a029
glrenderer: Store uniform locations per program
2017-03-31 09:50:39 +02:00