Commit Graph

39 Commits

Author SHA1 Message Date
2b0a605c5d build: Remove the Autotools build
CI and downstream packagers have been using the Meson build for a while
now, and we checked that it's idempotent to the Autotools build.

Having two build systems in tree doesn't make maintaining and releasing
GTK any easier, even if it's the stable/frozen branch.
2022-12-08 11:57:39 +00:00
3c2b5cda74 meson: port installed tests and reftests
I couldn't get all reftests to work reliably, so the tests failing
on either CI or on my machine are skipped for now.

Installed tests are disabled by default and can be enabled with "-Dinstalled_tests=true"
2019-11-15 12:52:03 +01:00
d52dad2042 autotools: dist all meson related build files 2019-04-11 16:45:36 +02:00
8caa937739 tests: Include system headers appropriately
Don't include unistd.h on Windows, and include the appropriate headers on
Windows as necessary.

https://bugzilla.gnome.org/show_bug.cgi?id=773299
2019-04-11 16:40:33 +02:00
8ec004cc08 Import meson build files from an 3.22
Specifically, from 6dd6660c685d22e88af5ed4d0b5f1f22df0338de
2019-04-11 16:40:33 +02:00
df77965153 Update css node tests
The GtkSwitch now has two image nodes.
2019-02-05 09:33:37 -05:00
5b12c21d20 css nodes tests: Update expected output for progressbar
This changed since we add some more style classes now.
2016-12-09 11:54:24 -05:00
1dbbe7f251 button css node test: Update for switch style changes
We no longer add the redundant .slider style class in GtkSwitch.
Update expected results to reflect that.
2016-06-01 13:12:19 -04:00
28b9e16272 css node tests: Update expected results
We were not propagating direction changes in some places,
evidently. Now we do.
2016-06-01 13:11:27 -04:00
eace965a19 scale css node test: Adapt to changes
The style classes are reflected in the output here.
2016-05-19 12:26:47 -04:00
4c8557fa35 Add a css node test for scales 2016-03-25 13:22:11 -04:00
24f54d50c4 Update css node test for GtkSwitch changes 2016-03-24 22:43:27 -04:00
8205a304e8 Add a css node test for comboboxes 2016-03-02 15:20:31 -05:00
444703f2bb css node tests: Update notebook results
This is fallout from changing the tab states.
2016-03-01 23:25:56 -05:00
c30d542a17 Some more CSS node tests for notebooks 2016-02-15 14:20:48 -05:00
e0f31ab7bb Add css node tests for box packing
More tests to ensure that CSS node order is always physical
left-to-right.
2016-02-08 09:34:19 +01:00
4a465e6832 Fix levelbar css node tests
These were affected by the recent change to level offset handling.
At the same time, make the test files more realistic by updating
the level offsets when we set a custom range.
2016-02-07 11:43:13 +01:00
132abb8749 css tests: Fix expected output
This is fallout from f7ec9c98ef.
2016-02-05 16:35:43 +01:00
586522d83c Use TAP output for installed tests 2016-01-30 11:04:22 -05:00
8cbe309f36 css node tests: Update expected output
The entry undershoot change needs to be reflected in the
test output.
2016-01-27 13:23:58 -05:00
cce493493c testsuite: Fix a quoting error
This was breaking continous testing. Oops.
2016-01-25 10:56:19 -05:00
bb92428112 notebook: Implement rtl flipping for CSS nodes
Use gtk_box_gadget_reverse_children and gtk_css_node_reverse_children
to flip the children of the header_gadget and the tabs_gadget when
appropriate.

Add new CSS node tests to verify that the node order is updated
as expected in all cases.
2016-01-19 21:40:47 -05:00
c24c56a143 Forgotten file 2016-01-18 09:41:46 -05:00
65ae48d707 Add more CSS node tests for notebooks 2016-01-18 07:41:33 -05:00
83eb36a896 Add CSS node tests for checkbutton rtl flipping 2016-01-18 00:29:29 -05:00
121aec6de8 Add css node tests for expander rtl flipping 2016-01-18 00:24:53 -05:00
2ec16c9f91 Add css node tests for right-to-left levelbars 2016-01-13 13:39:41 -05:00
a0fdbff938 Add css node tests for paned node ordering 2016-01-13 00:41:44 -05:00
e386fcae04 Update expected output of notebook css node test
The stack node is new.
2016-01-13 00:26:48 -05:00
d76fb63ba8 Add a test for ltr vs rtl boxes.
This tests that horizontal boxes flip their child nodes
according to text direction to maintain the left-to-right
ordering of child nodes for both text directions.
2016-01-06 14:57:42 -05:00
a519a1a928 CSS node tests: Add a way to test rtl vs ltr
CSS nodes have a linear sibling relationship; this is supposed
to correspond to left-to-right placement in horizontal arrangements.
This commit explicitly sets the text direction to rtl if the
filename ends in .rtl.ui, so we can test differences in node
tree layout between text directions.
2016-01-06 14:57:42 -05:00
d0e648d4f6 Update expected output for node and style tests
The previous commit changed the format of the output.
2016-01-03 14:41:43 -05:00
489928cbb4 Fix the build 2016-01-03 12:05:57 -05:00
864693e5aa Add CSS node tests for levelbars 2016-01-03 09:19:31 -05:00
0ce5075748 Add CSS node test for progressbars 2016-01-03 09:19:31 -05:00
5c4efb09e2 Add a CSS node test for buttons 2016-01-03 09:19:31 -05:00
78d715af22 Add a CSS node test for entries 2016-01-03 09:19:30 -05:00
669ced3984 Add a CSS node test for notebooks 2016-01-03 09:19:30 -05:00
d2c1203ef1 Add a test framework for CSS nodes
No actual tests yet.
2016-01-03 09:19:30 -05:00