summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * tests: Remove some testsBenjamin Otte2023-05-173-1060/+0
| | | | | | | | | | They are failing to build because they use deprecated functions and nobody thinks they're worth fixing.
| * CI: Actually build our codeBenjamin Otte2023-05-171-1/+1
|/ | | | | | Commit 3090795351404735672c45a02a577a4e4bf67586 accidentally caused all CI builds (or at least the ones with -Werror) to no longer build tests, examples and demos, so none of them had made sure that they compile.
* Merge branch 'fix-gsk-assertions' into 'main'Matthias Clasen2023-05-161-0/+4
|\ | | | | | | | | gsk: Fix a crash See merge request GNOME/gtk!5979
| * gsk: Fix a crashMatthias Clasen2023-05-161-0/+4
|/ | | | | | When we start ignoring batches, we must do it everywhere, or we may run into assertions. This was triggered by an enormous text node tree produced by tests/rendernode-create.
* Merge branch 'ebassi/issue-5837' into 'main'Matthias Clasen2023-05-1613-46/+90
|\ | | | | | | | | | | | | Fix various compiler warnings with GCC 13 Closes #5837 See merge request GNOME/gtk!5977
| * Replace deprecated CSS loading APIEmmanuele Bassi2023-05-1611-31/+28
| | | | | | | | | | Use gtk_css_provider_load_from_string() when loading CSS from C strings.
| * Implement GtkSelectionModel for GtkNotebookPagesEmmanuele Bassi2023-05-161-5/+49
| | | | | | | | | | | | | | | | | | | | | | The documentation says that the model returned by gtk_notebook_get_pages() implements the GtkSelectionModel interface, but checking the history confirms this is a lie. Instead of fixing the documentation, we can easily make it true, and reduce the differences between GtkNotebook and GtkStack. Fixes: #5837
| * Fix various compiler warnings with GCC 13Emmanuele Bassi2023-05-161-10/+13
|/ | | | | There are various null dereference warnings in GtkListItemManager that make the build noisy.
* Merge branch 'no-deprecations-in-demos' into 'main'Matthias Clasen2023-05-163-24/+58
|\ | | | | | | | | demos: Stop using deprecated api See merge request GNOME/gtk!5978
| * demos: Stop using deprecated apiMatthias Clasen2023-05-163-24/+58
| | | | | | | | Use texture apis instead of pixbuf ones.
* | Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2023-05-163-16/+179
|\ \ | |/ |/| | | | | Matthiasc/for main See merge request GNOME/gtk!5975
| * CosmeticsMatthias Clasen2023-05-161-2/+2
| |
| * Improve test coverage for sortersMatthias Clasen2023-05-161-14/+162
| |
| * Improve test coverage for GtkPropertyLookupListModelMatthias Clasen2023-05-161-0/+15
| |
* | Merge branch 'wip/otte/for-main' into 'main'Matthias Clasen2023-05-1624-40/+127
|\ \ | |/ |/| | | | | | | | | gdk: Clamp frame region to surface size Closes #5812 See merge request GNOME/gtk!5976
| * nodeparser: Move an error checkBenjamin Otte2023-05-165-14/+15
| | | | | | | | By putting the check earlier, it will be emitted for the right token.
| * node-editor: Print default renderer in titleBenjamin Otte2023-05-161-0/+7
| | | | | | | | | | | | | | | | If there is a value passed to GSK_RENDERER, display it in the window title. This is mostly so that when I show off screenshots, people know what renderer I'm using.
| * vulkan: Make projection matrix match GLBenjamin Otte2023-05-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Vulkan has a different initial coordinate system to GL. GL: (-1, 1, -1) +------+. |`. | `. | `·--|---· | : | : +------+. : `. : `.: `·------· (1, -1, 1) Vulkan: (-1, -1, 0) +------+. |`. | `. | `·--|---· | : | : +------+. : `. : `.: `·------· (1, 1, 1) so adjust the near and far plane we pass to graphene_matrix_init_ortho() to make it end up with the same projection as the GL renderer.
| * testsuite: Add crossfade-clip-both-children testBenjamin Otte2023-05-163-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 testBenjamin Otte2023-05-163-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.
| * rendernode: clip when drawing shadowsBenjamin Otte2023-05-161-0/+6
| | | | | | | | Ensures the shadow stays small.
| * build: Make shaders depend on their includesBenjamin Otte2023-05-161-7/+9
| | | | | | | | | | | | | | This does not do any proper dependency tracking, it just makes every shader depend on every include shader. But that's good enough for now.
| * vulkan: Fix typo in clipping codeBenjamin Otte2023-05-161-1/+1
| |
| * build: Add a new gcc 13 warningBenjamin Otte2023-05-161-0/+1
| | | | | | | | We don't trigger it and it's a useful warning. So let's use it.
| * css: Remove crashy resource:// optimizationBenjamin Otte2023-05-164-15/+13
| | | | | | | | | | | | | | | | | | | | | | 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 clippingBenjamin Otte2023-05-163-0/+29
| | | | | | | | | | the near and far clipping plane are at -10000 and 10000 respectively. Test that the renderers respect that.
| * gridview: Add border-spacing where it was missedBenjamin Otte2023-05-161-2/+2
| | | | | | | | | | We were computing column widths without taking border-spacing into account, making them slightly too big.
| * gdk: Clamp frame region to surface sizeBenjamin Otte2023-05-161-0/+6
|/ | | | | | | The region may be larger than the surface's size, but many rendering APIs require the size to be clamped. Fixes #5812
* Merge branch 'fix-property-lookup-model' into 'main'Matthias Clasen2023-05-161-2/+3
|\ | | | | | | | | Fix a few bugs in GtkPropertyLookupListModel See merge request GNOME/gtk!5974
| * Fix a few bugs in GtkPropertyLookupListModelMatthias Clasen2023-05-161-2/+3
|/ | | | Fix bugs in property types.
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2023-05-1614-132/+40
|\ | | | | | | | | gdk: Drop some unused private api See merge request GNOME/gtk!5973
| * Improve test coverage for GtkStringSorterMatthias Clasen2023-05-151-0/+6
| |
| * Only build iconcache validator if it is usedMatthias Clasen2023-05-152-2/+4
| |
| * Drop unneeded exports from gdkpixbufutils.cMatthias Clasen2023-05-152-50/+3
| |
| * Drop an unused includeMatthias Clasen2023-05-151-1/+0
| |
| * docs: Mention pixbufs in the migration guideMatthias Clasen2023-05-151-0/+6
| |
| * Deprecate from-pixbuf apis for widgetsMatthias Clasen2023-05-155-4/+18
| | | | | | | | | | | | We want to drop GdkPixbuf from our apis. These have easy replacements already, so lets deprecate them.
| * gdk: Drop some unused private apiMatthias Clasen2023-05-152-75/+3
| |
* | Merge branch 'wip/corey/filesystemmodel' into 'main'Matthias Clasen2023-05-163-1/+8
|\ \ | |/ |/| | | | | | | | | filesystemmodel: Ignore changes on the parent directory Closes #4233 See merge request GNOME/gtk!5970
| * filesystemmodel: Ignore changes on the parent directoryCorey Berla2023-05-151-1/+3
| | | | | | | | | | | | | | | | | | The filesystemmodel tracks changes and additions to child files through G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED. This event will also occur if the parent directory is changed. Since the parent directory doesn't exist in the model, it creates a non-existent item. Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4233
| * filechooserwidget: Stop leaking file system modelsCorey Berla2023-05-151-0/+4
| |
| * .gitignore: Ignore .flatpak-builder directoryCorey Berla2023-05-151-0/+1
| |
* | Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2023-05-167-15/+280
|\ \ | | | | | | | | | | | | tools: Cosmetics See merge request GNOME/gtk!5972
| * | Fix texture tests with GLESMatthias Clasen2023-05-151-2/+7
| | | | | | | | | | | | No sync for you if you're using GLES.
| * | Improve test coverage for GdkGLContextMatthias Clasen2023-05-151-0/+82
| | |
| * | CosmeticsMatthias Clasen2023-05-151-5/+5
| | | | | | | | | | | | Linkify a reference.
| * | Add tests for GdkTextureDownloaderMatthias Clasen2023-05-151-0/+40
| | |
| * | Test gltexture update functionalityMatthias Clasen2023-05-152-8/+113
| | |
| * | Improve gdk test coverageMatthias Clasen2023-05-151-0/+32
| | |
| * | tools: CosmeticsMatthias Clasen2023-05-151-2/+3
| |/ | | | | | | | | | | Make gtk-builder-tool screenshot be quiet unless it had to make up a filename. And tweak --help output a bit.