summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add testfilelauncherexport-handles-properlyMatthias Clasen2023-05-152-0/+48
| | | | | This is a test to use GtkFileLauncher a bit more intensively than usual.
* wayland: Try harder to be compatibleMatthias Clasen2023-05-151-0/+14
| | | | | | We can keep the old unexport_handle api working in the case that there is only a single exported handle.
* Deprecate gdk_wayland_toplevel_unexport_handleMatthias Clasen2023-05-152-1/+14
| | | | | | It doesn't do anything anymore, and is no longer used internally. The replacement is gdk_wayland_toplevel_drop_exported_handled().
* wayland: Reimplement exportingMatthias Clasen2023-05-141-23/+75
| | | | | | Change things so that every call to export_handle creates a new handle, and unexport_handle destroys the handle that it is given.
* wayland: Give toplevels a destroy hookMatthias Clasen2023-05-143-1/+10
| | | | | We will need to do some cleanup before the wl_surface is destroyed, so add a hook for that.
* gdk: Change the private export handle apiMatthias Clasen2023-05-145-14/+28
| | | | | | | | Make unexport_handle take the handle, so we can in the future deal with multiple exports. Update the one caller in gtkwindow.c to pass the handle.
* wayland: Add new backend apiMatthias Clasen2023-05-142-0/+25
| | | | | Add an alternative to unexport_handle that does take the handle.
* gtk: Change the private export handle apiMatthias Clasen2023-05-146-10/+31
| | | | | | | | Make unexport_handle take the handle, which will let us deal with multiple exports in the future. Update all callers to store their handle, and pass it to unexport_handle.
* Fix a typoMatthias Clasen2023-05-141-1/+1
|
* wayland: Remove some unused fieldsMatthias Clasen2023-05-141-6/+0
|
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2023-05-1417-23/+1138
|\ | | | | | | | | Add a README to examples/hello See merge request GNOME/gtk!5967
| * gdk: Add an assertionMatthias Clasen2023-05-141-0/+2
| | | | | | | | | | We simply overwrite any previous region, so assert that the field was NULL before.
| * Add more texture load testsMatthias Clasen2023-05-149-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 coverageMatthias Clasen2023-05-141-0/+200
| | | | | | | | Test the loadable icon implementation of GdkTexture.
| * Improve gdk test coverageMatthias Clasen2023-05-133-0/+118
| | | | | | | | | | Add tests for GdkToplevvelLayout and GdkPopupLayout.
| * docs: Mention the current build optionsMatthias Clasen2023-05-131-1/+1
| | | | | | | | Some of these got renamed recently.
| * ci: Stop using deprecated build optionsMatthias Clasen2023-05-131-1/+1
| | | | | | | | demos got renamed to build-demos.
| * Add a README to examples/helloMatthias Clasen2023-05-131-0/+7
|/ | | | | Just so nobody wonders why there's a meson.build in this subdirectory.
* Merge branch 'revert-78f68d79' into 'main'Georges Basile Stavracas Neto2023-05-141-1/+1
|\ | | | | | | | | Revert "Merge branch 'gbsneto/css-parser-annotation' into 'main'" See merge request GNOME/gtk!5965
| * Revert "Merge branch 'gbsneto/css-parser-annotation' into 'main'"Emmanuele Bassi2023-05-131-1/+1
| | | | | | This reverts merge request !5964
* | Merge branch 'new-css-load-apis' into 'main'Matthias Clasen2023-05-1412-16/+78
|\ \ | |/ |/| | | | | Add new css provider load apis See merge request GNOME/gtk!5966
| * Deprecate gtk_css_provider_load_From_dataMatthias Clasen2023-05-132-1/+4
| |
| * Stop using gtk_css_provider_load_from_dataMatthias Clasen2023-05-1310-12/+15
| |
| * Add new css provider load apisMatthias Clasen2023-05-132-3/+59
|/ | | | | | | gtk_css_provider_load_from_data has turned out to be problematic for language bindings. Add two new variants, from_string and from_bytes, to replace it.
* Merge branch 'gbsneto/css-parser-annotation' into 'main'Georges Basile Stavracas Neto2023-05-131-1/+1
|\ | | | | | | | | gtk/css-provider: Add back array length annotation See merge request GNOME/gtk!5964
| * gtk/css-provider: Add back array length annotationGeorges Basile Stavracas Neto2023-05-131-1/+1
|/ | | | | | | | | | This partially reverts commit 93a875bf20ba6ed8cd13595ff1f6. Removing this annotation broke bindings, which now treat the length of the array as a standalone parameter. This broke Spiel, and probably other non-C apps that rely on GtkCssProvider through bindings.
* Merge branch 'more-marshaller-cleanup' into 'main'Matthias Clasen2023-05-1329-117/+237
|\ | | | | | | | | Add missing va marshallers See merge request GNOME/gtk!5963
| * Drop duplication between marshallersMatthias Clasen2023-05-139-36/+42
| | | | | | | | | | | | | | | | | | gtk and gdk have their own marshallers, for historic reasons. But there's no reason to duplicate the same code here. Eventually, we should just move all marshallers to the same place.
| * Add missing va marshallersMatthias Clasen2023-05-1322-83/+197
| | | | | | | | | | | | Whenever we pass a marshaller to g_signal_new, call g_signal_set_va_marshaller with the corresponding va marshaller.
* | Widget: Fix doubled word need, missing possessivesDaniel Boles2023-05-131-10/+10
| |
* | Merge branch 'marshaller-cleanup' into 'main'Matthias Clasen2023-05-137-77/+72
|\ \ | |/ | | | | | | Avoid generic marshallers See merge request GNOME/gtk!5962
| * Drop unused marshallersMatthias Clasen2023-05-131-67/+19
| | | | | | | | | | This list was found by a combination of grep, sed, and sort.
| * Avoid generic marshallersMatthias Clasen2023-05-137-14/+57
|/ | | | | | The libffi-based generic marshallers give sysprof difficulties in getting good stacktraces, so avoid them.
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2023-05-1316-26/+83
|\ | | | | | | | | popover: Stop making assumptions about corners See merge request GNOME/gtk!5961
| * popover: Stop making assumptions about cornersMatthias Clasen2023-05-131-11/+13
| | | | | | | | | | The popover tail drawing code was just assuming that the corner values are numbers. Which they won't, anymore.
| * Improve css parser test coverageMatthias Clasen2023-05-1315-15/+70
|/
* Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2023-05-13106-70/+12635
|\ | | | | | | | | css: Fix transition of font features See merge request GNOME/gtk!5957
| * testsuite: CosmeticsMatthias Clasen2023-05-123-58/+20
| |
| * Test the deprecation supportMatthias Clasen2023-05-121-1/+1
| | | | | | | | Test gtk4-builder-tool validate --deprecations
| * Add tests for gtk4-builder-tool enumerateMatthias Clasen2023-05-128-1/+12152
| |
| * Add tests for hsv<>rgb conversionMatthias Clasen2023-05-122-0/+63
| |
| * Improve test coverage for the css parserMatthias Clasen2023-05-1212-0/+37
| |
| * css: Improve transition test coverageMatthias Clasen2023-05-121-2/+91
| |
| * css: Fix initial rotate transform valueMatthias Clasen2023-05-121-1/+1
| |
| * css: Make some corner values staticMatthias Clasen2023-05-121-1/+46
| | | | | | | | | | | | Provide static value for uniform corners with lengths from 0 to 8px. This covers the majority of corners in widget-factory.
| * css: More static length valuesMatthias Clasen2023-05-121-6/+11
| | | | | | | | | | | | | | Make all length values from 0px to 8px available as static values. This will help with cutting down on the number of corner values (we have a lot of 5px corners).
| * Revert "css: Simplify default values"Matthias Clasen2023-05-122-6/+9
| | | | | | | | | | | | This reverts commit 1efa39672b94ba12f42f386d0eedb7ed6d7c3d03. We want to use corner values for corner properties.
| * Revert "csscornervalue: Accept other values if x == y"Matthias Clasen2023-05-121-12/+0
| | | | | | | | | | | | This reverts commit 1f2f2777e1231468f613a2936989ded060f4e2a6. It broke transitioning of corner values.
| * css: Correct initial shadow filter valuesMatthias Clasen2023-05-121-4/+4
| | | | | | | | | | This was using numbers instead of lengths, causing confusion in the transition code.
| * css: Fix transition of font featuresMatthias Clasen2023-05-121-6/+5
| | | | | | | | | | | | If we store ints as values, we better use g_hash_table_lookup_extended, or zeros will show up as missing values.