Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update tests | Matthias Clasen | 2023-05-09 | 1 | -6/+6 |
| | |||||
* | Merge branch 'wip/ebassi/gen-version-macros' into 'main' | Matthias Clasen | 2023-05-09 | 6 | -11/+8 |
|\ | | | | | | | | | Generate version and deprecation macros at build time See merge request GNOME/gtk!5945 | ||||
| * | build: Internal tests must set GTK_COMPILATION | Emmanuele Bassi | 2023-05-09 | 4 | -5/+5 |
| | | | | | | | | | | Otherwise they won't be able to use the appropriate function visibility on Windows. | ||||
| * | build: Use Meson's gnu_symbol_visibility | Emmanuele Bassi | 2023-05-09 | 3 | -6/+3 |
| | | | | | | | | | | | | | | | | Instead of injecting `-fvisibility=hidden` depending on a compiler check ourselves, let Meson do it for us. This also avoids us having to filter `-fvisibility=hidden` when reusing the common compiler flags. | ||||
* | | Merge branch 'wip/otte/sections' into 'main' | Matthias Clasen | 2023-05-09 | 6 | -7/+934 |
|\ \ | |/ |/| | | | | | Add GtkSectionModel See merge request GNOME/gtk!5818 | ||||
| * | listitemmanager: Create header items for sections | Benjamin Otte | 2023-05-09 | 1 | -3/+13 |
| | | | | | | | | | | Now, finally, listitemmanager has all the necessary support to make section headers work. | ||||
| * | listitemmanager: Add GtkListHeaderBase and vfuncs | Benjamin Otte | 2023-05-09 | 1 | -4/+23 |
| | | | | | | | | | | | | This is plumbing for section handling. The vfuncs don't do anything, this is just the infrastructure. | ||||
| * | listitemmanager: Make sections configurable | Benjamin Otte | 2023-05-09 | 1 | -1/+10 |
| | | | | | | | | | | | | Add a gtk_list_item_manager_set_has_sections() (default: FALSE) that requires explicit turning on for the listitemmanager to gain section support. | ||||
| * | testsuite: assert widgets are in matched sections | Benjamin Otte | 2023-05-09 | 1 | -0/+1 |
| | | | | | | | | | | All widgets that we display should have their sections known, so assert that that is the case. | ||||
| * | testsuite: Add a print function for the listitemmanager | Benjamin Otte | 2023-05-09 | 1 | -0/+55 |
| | | | | | | | | This is very useful when debugging. | ||||
| * | testsuite: Add verbose output to listitemmanager test | Benjamin Otte | 2023-05-09 | 1 | -4/+33 |
| | | |||||
| * | listitemmanager: Add section tiles | Benjamin Otte | 2023-05-09 | 1 | -0/+65 |
| | | | | | | | | | | For now, we just have a HEADER at the start and a FOOTER at the end. That's hard enough to get right. | ||||
| * | testsuite: Improve listitemmanager test | Benjamin Otte | 2023-05-09 | 1 | -14/+117 |
| | | | | | | | | It now has trackers! | ||||
| * | testsuite: Add tests for sections to filterlistmodel | Benjamin Otte | 2023-05-09 | 1 | -0/+18 |
| | | |||||
| * | Add a test for filterlistmodel sections | Matthias Clasen | 2023-05-09 | 1 | -1/+90 |
| | | |||||
| * | testsuite: Add section tests to sortlistmodel test | Benjamin Otte | 2023-05-09 | 1 | -1/+270 |
| | | |||||
| * | Add a test for sortlistmodel sections | Matthias Clasen | 2023-05-09 | 1 | -5/+58 |
| | | |||||
| * | testsuite: Add a listitemmanager test | Benjamin Otte | 2023-05-09 | 2 | -0/+207 |
| | | |||||
* | | Merge branch 'reftest-msvc' into 'main' | Matthias Clasen | 2023-05-09 | 1 | -0/+6 |
|\ \ | | | | | | | | | | | | | reftest-snapshot.c: Fix running reftests on Visual Studio See merge request GNOME/gtk!5937 | ||||
| * | | reftest-snapshot.c: Fix running reftests on Visual Studio | Chun-wei Fan | 2023-05-08 | 1 | -0/+6 |
| |/ | | | | | | | | | On Visual Studio-like builds, shove a ".dll" suffix for the reftest module so that we look for the correct DLL when running the tests. | ||||
* | | testsuite: Handle duplicate enum values | Matthias Clasen | 2023-05-08 | 1 | -0/+5 |
|/ | | | | | | | Our notify tests would fall over if there was a duplicate enum value (within the first 10 values). Make it handle that, by skipping the duplicate value. | ||||
* | Add a test for quick key events | Matthias Clasen | 2023-05-06 | 1 | -0/+56 |
| | |||||
* | ci: Improve headless test logging | Matthias Clasen | 2023-05-06 | 5 | -96/+141 |
| | |||||
* | ci: Bump timeouts for headless tests | Matthias Clasen | 2023-05-05 | 1 | -4/+4 |
| | |||||
* | Add a masked variation to gsk tests | Matthias Clasen | 2023-05-05 | 2 | -1/+86 |
| | | | | This improves test coverage for mask nodes. | ||||
* | ci: Bump timeouts of headless tests | Matthias Clasen | 2023-05-05 | 1 | -1/+1 |
| | |||||
* | Remove a no longer building test | Matthias Clasen | 2023-05-04 | 2 | -251/+0 |
| | |||||
* | Skip another failing gsk test with small textures | Matthias Clasen | 2023-05-04 | 1 | -1/+2 |
| | |||||
* | Merge wayland_smalltexture and wayland_gles | Matthias Clasen | 2023-05-04 | 2 | -6/+4 |
| | | | | | | We don't really need to have two full separate test runs for these conditions, so combine them into one test setup. | ||||
* | ci: Mark headless monitor test as working | Matthias Clasen | 2023-05-04 | 1 | -1/+1 |
| | |||||
* | More debug spew | Matthias Clasen | 2023-05-04 | 2 | -1/+6 |
| | | | | Lets see what MUTTER_DEBUG=screen-cast says. | ||||
* | Add generous waits | Matthias Clasen | 2023-05-04 | 3 | -3/+10 |
| | | | | | These tests work in the smae container locally. Perhaps this is down to timing? | ||||
* | Mark the headless monitor test as failing | Matthias Clasen | 2023-05-03 | 1 | -1/+1 |
| | | | | | | | | This is failing because I can't figure out how to make wireplumber and pipewire work in ci enough to let me add a new monitor :( As usual, the test works fine locally. | ||||
* | Try to fix dnd tests | Matthias Clasen | 2023-05-03 | 1 | -0/+2 |
| | |||||
* | Typo fix | Matthias Clasen | 2023-05-03 | 1 | -1/+1 |
| | |||||
* | headless tests: Add debug spew | Matthias Clasen | 2023-05-03 | 2 | -5/+5 |
| | | | | | Trying to track down what is going on with our missing monitors. | ||||
* | ci: Launch pipewire and wireplumber | Matthias Clasen | 2023-05-03 | 2 | -4/+24 |
| | | | | | The headless tests require pipewire and wireplumber for screencast sessions to work. So launch them. | ||||
* | Use python3 | Matthias Clasen | 2023-05-03 | 2 | -2/+2 |
| | | | | No /usr/bin/python in our CI image :( | ||||
* | Make the headless input tests work | Matthias Clasen | 2023-05-03 | 6 | -1/+789 |
| | | | | | | | | | These needed some updates and workarounds. They are now part of the testsuite and can be run like this: meson test -Cbuild --suite headless | ||||
* | Fix scan-build warning | Matthias Clasen | 2023-05-03 | 1 | -0/+1 |
| | |||||
* | Skip some tests with small textures | Matthias Clasen | 2023-05-01 | 2 | -3/+16 |
| | | | | | | When textures are too large, we will scale them down to fit the max texture size, which will cause comparisons to fail. | ||||
* | Improve test coverage | Matthias Clasen | 2023-05-01 | 1 | -0/+2 |
| | | | | Check that our two rounded rect intersection functions agree. | ||||
* | gsk: Give up on one test | Matthias Clasen | 2023-05-01 | 1 | -1/+1 |
| | | | | | | The rounded-clip-in-clip-3d test fails in GL when flipped. Given that it was already excluded from cairo, and also fails cairo when flipped, give up on it for now. | ||||
* | Improve rounded rect intersection | Matthias Clasen | 2023-05-01 | 1 | -0/+73 |
| | | | | | | | | Move the rounded rect/rect intersection code to gskroundedrect.c, make it more precise, and add tests for it. Update the callers in the GL renderer. | ||||
* | Add a test for rotated blend nodes | Matthias Clasen | 2023-05-01 | 3 | -0/+14 |
| | |||||
* | Add a test for rotated cross-fade nodes | Matthias Clasen | 2023-05-01 | 3 | -0/+15 |
| | | | | | This one checks that we don't apply the modelview transform twice with cross-fades. | ||||
* | Add another test | Matthias Clasen | 2023-05-01 | 3 | -0/+24 |
| | |||||
* | Add another gsk test | Matthias Clasen | 2023-05-01 | 1 | -0/+1 |
| | |||||
* | testsuite: Fix gsk test | Matthias Clasen | 2023-05-01 | 3 | -9/+68 |
| | | | | | | | | The repeated tests were not careful enough to produce the correct reference image to match what the repeat node does. With these changes, all cairo tests pass. | ||||
* | testsuite: Add more gsk tests | Matthias Clasen | 2023-05-01 | 1 | -0/+45 |
| | | | | | | Add separate suites for running the gsk compare-render tests with the --flip, --rotate or --repeat options. A bunch of these fail currently, and need diagnosis. |