Timm Bäder
57b8a136bf
reftests: Remove reference to deleted files
2017-04-25 20:55:56 +02:00
Timm Bäder
db4b1d28f5
label: Remove angle property
2017-04-25 20:30:37 +02:00
Timm Bäder
ec1e063cb2
testsuite: Add widget ordering test case
2017-04-25 20:30:37 +02:00
Timm Bäder
fb927d1993
box: Remove center child
2017-04-25 20:30:37 +02:00
Timm Bäder
c92b7d4224
box: Remove fill child property
...
GtkWidget:halign and GtkWidget:valign are sufficient
2017-04-25 20:30:37 +02:00
Timm Bäder
5729ea7744
box: Remove expand child property
...
GtkWidget already has hexpand/vexpand properties.
2017-04-25 20:30:37 +02:00
Timm Bäder
8f4c0bea65
expander: Use widgets for title box and arrow
2017-04-25 20:30:36 +02: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
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
Timm Bäder
b6790b112f
tests/revealer-size: Use gtk_widget_measure
2017-03-05 09:24:41 +01:00
Timm Bäder
7f79c36cb7
testsuite: Remove :sorted usage
...
Not valid CSS anymore.
2017-03-05 09:24:41 +01:00
Daniel Boles
449a17b56d
Revert "testsuite/scrolledwindow—Test non-overlay/non-auto"
...
This reverts commit 5a6e6689ec
.
Reverting until I can be sure gtkscrolledwindow.c does the right thing.
https://bugzilla.gnome.org/show_bug.cgi?id=778853
2017-02-22 19:31:57 +00:00
djb
5a6e6689ec
testsuite/scrolledwindow—Test non-overlay/non-auto
...
It was only testing the default configuration where overlay-scrolling is
TRUE and the policy is POLICY_AUTOMATIC. We should also test FALSE and
POLICY_ALWAYS. This commit adds those tests and makes the !overlay &&
POLICY_ALWAYS case pass by excluding the size of the relevant scrollbar,
as we are only interested in whether the content size is as requested.
https://bugzilla.gnome.org/show_bug.cgi?id=778853
2017-02-19 17:03:44 +00:00
Daniel Boles
397bced61b
testsuite/gtk/textiter: Add missing assertion
...
gboolean ret for whether gtk_text_iter_backward_line() moved the iter
was declared but not used anywhere. I presume it was meant to be
checked, and it passes now, so let’s do it.
2017-02-18 20:20:34 +00:00
Daniel Boles
75b0431dcf
Revert "testsuite/gtk/textiter: Remove an unused variable"
...
This reverts commit 8bddf52b51
.
2017-02-18 20:20:21 +00:00
Daniel Boles
8bddf52b51
testsuite/gtk/textiter: Remove an unused variable
2017-02-18 19:37:50 +00:00
Nelson Benítez León
aa48399002
textiter: fix bug in gtk_text_iter_backward_line()
...
gtk_text_iter_backward_line() checks the value of
real->line_char_offset without previously calling
ensure_char_offsets (real) to make sure the former
is up-to-date.
As a consequence of this, when gtk_text_iter_backward_line()
is called after a gtk_text_buffer_insert_range() in the
first line of buffer, the iter is not moved to the start of
the line, and the return value is wrong.
Fixed by adding the ensure_char_offsets() call.
A test case for this bug is added to the textiter gtk testsuite.
2017-02-17 19:49:55 +05:00
Daniel Boles
439fcf7578
combobox: Remove property cell-area
...
The CellArea is going to become a pure implementation detail & be moved
to the .ui, instead of letting users mess with it (if anyone ever did).
2017-01-21 21:34:45 +00:00
Timm Bäder
ea897c6df4
Remove gtk_widget_show_all
2017-01-20 21:37:04 +01:00
Matthias Clasen
2c7e567f05
Update callers
...
Adapt all our tests and examples to the new initialization api.
2017-01-19 13:50:17 -05:00
Benjamin Otte
e5e5beafa5
cssimage: Fallback images have no aspect ratio
...
The aspect ratio for fallback image was incorrectly set to 1.
Reftest is included.
2017-01-13 03:38:36 +01:00
Benjamin Otte
a06b1ea1ba
cssimage: Scale images to contain, not cover
...
Images with just an aspect ratio, but without a size, should be scaled
to be fully visible in the given area.
But we scaled them to completely cover the given area, which made them
partially invisible.
Reftest included.
2017-01-13 03:38:36 +01:00
Benjamin Otte
9616df9292
reftests: Fix test
...
No, GtkActions don't need to be part of this test.
2017-01-13 03:38:36 +01:00
Timm Bäder
ad8acdcebf
testsuite/cssprovider: Use actual existing style property
...
All the style properties in GtkTreeView are gone, so use one from
GtkScrollbar for now.
2017-01-08 13:10:43 +01:00
Timm Bäder
f00ccd3259
testsuite/builder: Use g_assert_no_error to check GError
...
So we get a proper error message.
2017-01-08 12:02:48 +01:00
Timm Bäder
3698f664b2
testsuite: Stop testing style properties
2017-01-07 17:19:30 +01:00
Benjamin Otte
5b33127692
gtk: Replace -gtk-icon-effect with -gtk-icon-filter
...
Instead of
-gtk-icon-effect: dim;
-gtk-icon-effect: hilight;
we now use
-gtk-icon-filter: opacity(0.5);
-gtk-icon-filter: brightness(1.2);
respectively.
2016-12-31 02:49:47 +01:00
Benjamin Otte
1b553478f6
cssimageradial: Handle "partial" gradients correctly
...
When the first/last color stop is not at 0%/100%, we need to start the
repeating at their offsets and not at 0%/100%.
Attached reftest demonstrates the problem.
2016-12-20 18:01:12 +01:00
Benjamin Otte
dd1cf1ac0f
css: An opaque background does not allow omitting push_group
...
When the background-clip of the background is smaller than the
background-clip of blended images, not pushing a group is wrong.
Test testing exactly that included.
2016-12-20 18:01:10 +01:00
Matthias Clasen
c4fd5bc233
Add a css parser test for border-spacing
2016-12-10 20:41:07 -05:00
Matthias Clasen
b1f2e3b581
Remove -gtk-gradient from css parser tests
...
It is not supported anymore.
2016-12-10 20:40:48 -05:00
Benjamin Otte
196737a958
reftest: Make screenshot code work without GDK
...
GDK does not support taking images of GDK windows.
2016-11-20 11:20:34 +01:00
Benjamin Otte
dfd9150a82
build: Don't link against libgtk and libgdk
...
libgdk is statically linked these days, so if you link against it, all
of its symbols will exist twice: Once in libgtk.so and once in your
binary.
2016-11-20 11:19:32 +01:00
Matthias Clasen
b404ecf294
Drop deprecated gtk_dialog_get_action_area
...
Add an internal version for the few places where we still need it,
and drop it from everywhere else.
2016-11-19 21:23:17 -05:00
Benjamin Otte
cd8d84beb6
testsuite: Don't use draw signal, use a drawing area instead
2016-11-18 06:40:53 +01:00
Benjamin Otte
46b9b07a11
reftests: Add reftest for the last 2 fixes
...
Makes sure that the clipping we do when pushing a group is at the
correct place and in particular doesn't influence shadows.
2016-11-08 02:32:39 +01:00
Benjamin Otte
24d0baec38
API: gdk: Add gdk_window_new_popup()
...
... and use it.
2016-11-06 23:47:56 +01:00
Benjamin Otte
4585af5719
gdk: Remove visual APIs from GdkScreen
...
gdk_screen_list_visuals(), gdk_screen_get_system_visual() and
gdk_screen_get_rgba_visual() are gone now.
2016-11-04 00:02:37 +01:00