Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve test coverage for property lookup models | Matthias Clasen | 2023-05-16 | 1 | -1/+8 |
| | |||||
* | Merge branch 'matthiasc/for-main' into 'main' | Matthias Clasen | 2023-05-16 | 2 | -14/+177 |
|\ | | | | | | | | | Matthiasc/for main See merge request GNOME/gtk!5975 | ||||
| * | Improve test coverage for sorters | Matthias Clasen | 2023-05-16 | 1 | -14/+162 |
| | | |||||
| * | Improve test coverage for GtkPropertyLookupListModel | Matthias Clasen | 2023-05-16 | 1 | -0/+15 |
| | | |||||
* | | nodeparser: Move an error check | Benjamin Otte | 2023-05-16 | 4 | -6/+6 |
| | | | | | | | | By putting the check earlier, it will be emitted for the right token. | ||||
* | | testsuite: Add crossfade-clip-both-children test | Benjamin Otte | 2023-05-16 | 3 | -0/+19 |
| | | | | | | | | | | | | | | | | | | | | | | This one tests a crossfade between two non-overlapping nodes with a clip region that covers neither of the two nodes. This tests that renderers can deal with clip regions that doesn't overlap nodes in a situation where they will most likely want to create an offscreen. As offscreens are typically clipped to the clip region, this would cause an empty offscreen and that can cause failures. | ||||
* | | testsuite: Add clip-translate-offscreen test | Benjamin Otte | 2023-05-16 | 3 | -0/+18 |
| | | | | | | | | | | | | | | | | This was an experiment where an offscreen was translated inside an existing clip. Because renderers try to limit offscreens to the clip rect, this is interesting, because they might get the translation wrong. | ||||
* | | css: Remove crashy resource:// optimization | Benjamin Otte | 2023-05-16 | 3 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | | | Using gdk_texture_new_from_resource() is not valid here because we are not sure if the given resource is valid. Plus, the previous optimization is no longer relevant, because we are not using gdk_pixbuf_new_from_resource() anymore - which was what this optimization was about before it was ported to GdkTexture. Test attached. | ||||
* | | testsuite: Add testcase for z clipping | Benjamin Otte | 2023-05-16 | 3 | -0/+29 |
|/ | | | | | the near and far clipping plane are at -10000 and 10000 respectively. Test that the renderers respect that. | ||||
* | Improve test coverage for GtkStringSorter | Matthias Clasen | 2023-05-15 | 1 | -0/+6 |
| | |||||
* | Fix texture tests with GLES | Matthias Clasen | 2023-05-15 | 1 | -2/+7 |
| | | | | No sync for you if you're using GLES. | ||||
* | Improve test coverage for GdkGLContext | Matthias Clasen | 2023-05-15 | 1 | -0/+82 |
| | |||||
* | Add tests for GdkTextureDownloader | Matthias Clasen | 2023-05-15 | 1 | -0/+40 |
| | |||||
* | Test gltexture update functionality | Matthias Clasen | 2023-05-15 | 2 | -8/+113 |
| | |||||
* | Improve gdk test coverage | Matthias Clasen | 2023-05-15 | 1 | -0/+32 |
| | |||||
* | Add more texture load tests | Matthias Clasen | 2023-05-14 | 9 | -21/+809 |
| | | | | | | | | Add some tests for handling of failures. The test data here is taking from gdk-pixbufs tests/test-images/fail directory, excluding anything but png, tiff and jpg images. | ||||
* | Improve gdk test coverage | Matthias Clasen | 2023-05-14 | 1 | -0/+200 |
| | | | | Test the loadable icon implementation of GdkTexture. | ||||
* | Improve gdk test coverage | Matthias Clasen | 2023-05-13 | 3 | -0/+118 |
| | | | | | Add tests for GdkToplevvelLayout and GdkPopupLayout. | ||||
* | Stop using gtk_css_provider_load_from_data | Matthias Clasen | 2023-05-13 | 2 | -3/+6 |
| | |||||
* | Improve css parser test coverage | Matthias Clasen | 2023-05-13 | 15 | -15/+70 |
| | |||||
* | testsuite: Cosmetics | Matthias Clasen | 2023-05-12 | 3 | -58/+20 |
| | |||||
* | Test the deprecation support | Matthias Clasen | 2023-05-12 | 1 | -1/+1 |
| | | | | Test gtk4-builder-tool validate --deprecations | ||||
* | Add tests for gtk4-builder-tool enumerate | Matthias Clasen | 2023-05-12 | 8 | -1/+12152 |
| | |||||
* | Add tests for hsv<>rgb conversion | Matthias Clasen | 2023-05-12 | 2 | -0/+63 |
| | |||||
* | Improve test coverage for the css parser | Matthias Clasen | 2023-05-12 | 12 | -0/+37 |
| | |||||
* | css: Improve transition test coverage | Matthias Clasen | 2023-05-12 | 1 | -2/+91 |
| | |||||
* | Improve css parser test coverage | Matthias Clasen | 2023-05-12 | 71 | -0/+202 |
| | |||||
* | Improve test coverage for list models | Matthias Clasen | 2023-05-11 | 3 | -3/+24 |
| | |||||
* | Add a little wait to focus tests | Matthias Clasen | 2023-05-11 | 1 | -10/+21 |
| | | | | | I don't know exactly why, but this seems to help the tests not fail on X11. | ||||
* | testsuite: Simplify shader test | Matthias Clasen | 2023-05-11 | 1 | -6/+5 |
| | | | | | Simplify the shader to something GLES will successfully compile. | ||||
* | testsuite: fix another surface unref warning | Matthias Clasen | 2023-05-11 | 1 | -1/+1 |
| | |||||
* | gsk: Improve test coverage | Matthias Clasen | 2023-05-10 | 3 | -11/+324 |
| | | | | | Add more tests for gsk transforms, render node and renderer apis. | ||||
* | testsuite: Close displays in the gsk tests | Matthias Clasen | 2023-05-10 | 1 | -0/+2 |
| | | | | | | This gives us better coverage of the dispose codepath for a driver that has actually been used. | ||||
* | tests: Don't disable vertex arrays | Matthias Clasen | 2023-05-09 | 1 | -1/+0 |
| | | | | It doesn't work, and that makes tests fail. | ||||
* | Improve coverage for half-float fallbacks | Matthias Clasen | 2023-05-09 | 1 | -0/+76 |
| | |||||
* | tests: Stop copying the tool tests | Matthias Clasen | 2023-05-09 | 5 | -6/+2 |
| | | | | | No point in doing that, and the meson feature we are using here is deprecated. | ||||
* | 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 |
| | |