summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gtklabel: Add is-ellipsized properlywip/cdavis/label-is-ellipsized-propChristopher Davis2022-12-202-1/+48
| | | | | | | | Prior to this commit it was impossible for developers to tell when a label was ellipsized in order to react to it. With `is-ellipsized`, a developer can know when a label is ellipized in order to do things like adding a tooltip.
* Merge branch 'include-hicolor-index-theme-as-resource-rebased' into 'main'Luca Bacci2022-12-203-44/+3821
|\ | | | | | | | | | | | | Include hicolor index.theme as a resource (rebased) Closes #5303 See merge request GNOME/gtk!5361
| * Include hicolor index.theme as a resourceLuca Bacci2022-12-203-44/+3821
|/ | | | | | | | | index.theme file copied from upstream xdg/default-icon-theme repository at tag 0.17: https://gitlab.freedesktop.org/xdg/default-icon-theme/-/tree/0.17 Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5303
* Merge branch 'revert-09691ead' into 'main'Emmanuele Bassi2022-12-203-3821/+44
|\ | | | | | | | | Revert "Merge branch 'include-hicolor-index-theme-as-resource' into 'main'" See merge request GNOME/gtk!5360
| * Revert "Merge branch 'include-hicolor-index-theme-as-resource' into 'main'"Luca Bacci2022-12-203-3821/+44
|/ | | This reverts merge request !5341
* Merge branch 'include-hicolor-index-theme-as-resource' into 'main'Matthias Clasen2022-12-203-44/+3821
|\ | | | | | | | | | | | | Include hicolor index.theme as a resource Closes #5303 See merge request GNOME/gtk!5341
| * Include hicolor index.theme as a resourceLuca Bacci2022-12-163-44/+3821
| | | | | | | | | | | | | | | | | | index.theme file copied from upstream xdg/default-icon-theme repository at tag 0.17: https://gitlab.freedesktop.org/xdg/default-icon-theme/-/tree/0.17 Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5303
* | Update Russian translationAleksandr Melman2022-12-201-327/+345
| |
* | Merge branch 'fix-asan-more' into 'main'Matthias Clasen2022-12-202-4/+4
|\ \ | | | | | | | | | | | | ci: Disable f16c for asan See merge request GNOME/gtk!5356
| * | ci: Disable f16c for asanMatthias Clasen2022-12-201-3/+3
| | | | | | | | | | | | It appears that f16c crashes asan instantly.
| * | ci: More verbose output from asanMatthias Clasen2022-12-201-1/+1
| | |
* | | Merge branch 'no-more-installed-tests' into 'main'Matthias Clasen2022-12-2013-354/+44
|\ \ \ | | | | | | | | | | | | | | | | build: Drop the install-tests option See merge request GNOME/gtk!5352
| * | | build: Drop the install-tests optionMatthias Clasen2022-12-1913-354/+44
| | | | | | | | | | | | | | | | | | | | | | | | We no longer use installed tests in CI, so lets reap the benefit and simplify our build setup for tests.
* | | | Merge branch 'another-flaky-reftest' into 'main'Matthias Clasen2022-12-201-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | ci: Declare a reftest as flaky See merge request GNOME/gtk!5354
| * | | | ci: Declare a reftest as flakyMatthias Clasen2022-12-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixed-widget-stacking is failing frequently due to a blinking cursor showing up in one of the windows in ci.
* | | | | Merge branch 'macos-ci-is-iffy' into 'main'Matthias Clasen2022-12-201-0/+2
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| | ci: Mark macos build as allow-fail See merge request GNOME/gtk!5355
| * | | ci: Mark macos build as allow-failMatthias Clasen2022-12-191-0/+2
|/ / / | | | | | | | | | | | | It fails too often, and it never does us any good.
* | | Merge branch 'fix-gtk_doc=true' into 'main'Matthias Clasen2022-12-201-3/+1
|\ \ \ | |/ / |/| | | | | | | | meson: Require gi-docgen when gtk_doc is required See merge request GNOME/gtk!5351
| * | meson: Require gi-docgen when gtk_doc is requiredNirbheek Chauhan2022-12-201-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes build with only `-Dgtk_doc=true` without `-Dintrospection=enabled`: Program gi-docgen found: NO Configuring gdk4.toml using configuration docs/reference/gdk/meson.build:13:2: ERROR: Tried to use not-found external program in "command" `introspection` is `auto` by default. The rest of the docs build is only contingent on `if get_option('gtk_doc')` so we should use the same restriction here. We check for `build_gir` below already, and the gi-docgen subproject itself does not need gobject-introspection so it's fine to do it like this.
* | | Merge branch 'fix-introspection-test-deps' into 'main'Matthias Clasen2022-12-204-6/+9
|\ \ \ | |/ / |/| | | | | | | | build: Lift gir and build_gir to toplevel See merge request GNOME/gtk!5350
| * | tests: Maybe skip introspection testsMatthias Clasen2022-12-192-3/+4
| | | | | | | | | | | | | | | If we don't find the python gi module, skip the introspection test.
| * | build: Lift gir and build_gir to toplevelMatthias Clasen2022-12-192-3/+5
|/ / | | | | | | | | | | build_gir is used in multiple subdirectories, so it is a bit nasty that it is defined in one too.
* | Merge branch 'ebassi/ci-image-for-main' into 'main'Emmanuele Bassi2022-12-203-43/+6
|\ \ | | | | | | | | | | | | Various CI fixes See merge request GNOME/gtk!5349
| * | ci: Don't cache subprojectsEmmanuele Bassi2022-12-201-5/+0
| | | | | | | | | | | | We're downloading them anyway.
| * | tests: Add shorthand-entry-border to the flaky suiteEmmanuele Bassi2022-12-201-0/+2
| | | | | | | | | | | | This test fairly consistently times out when running in a contended CI.
| * | ci: Remove installed-tests jobEmmanuele Bassi2022-12-201-34/+0
| | | | | | | | | | | | | | | | | | | | | Installed tests require access to the system prefix, and thus a system-wide installation of Meson, which we don't have. We're going to restore this job at a later date.
| * | ci: Don't use builddep to install Wayland build dependenciesEmmanuele Bassi2022-12-201-3/+3
| | | | | | | | | | | | | | | | | | | | | We don't want to bring undefined dependencies into the image. Additionally, Wayland depends on Meson, and we don't want to use Fedora's version of Meson.
| * | ci: Update the Fedora imageEmmanuele Bassi2022-12-201-1/+1
| | |
* | | Merge branch 'wip/gtk4-fix-delete-surrounding' into 'main'Matthias Clasen2022-12-201-2/+12
|\ \ \ | |/ / |/| | | | | | | | gtkimcontextwayland: Convert byte based offset to char based offset in delete_surrounding_text See merge request GNOME/gtk!5254
| * | gtkimcontextwayland: Convert byte based offset to char based offset in ↵Alynx Zhou2022-12-201-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | delete_surrounding_text ClutterInputFocus/GtkIMContext uses char based offset for delete_surrounding, however, text_input_v3 uses byte based offset for it. Currently only GTK with mutter can work correctly via text_input_v3 because they both forget to convert between char based offset and byte based offset. This commit fixes it in GTK by converting byte based offset to char based offset with the UTF-8 encoded surrounding text. Fixes <https://gitlab.gnome.org/GNOME/gtk/-/issues/4566>.
* | | Merge branch 'meson-subproject-usage-fixes' into 'main'Matthias Clasen2022-12-2018-134/+151
|\ \ \ | | | | | | | | | | | | | | | | Various fixes for using gtk4 as a meson subproject See merge request GNOME/gtk!5347
| * | | ci: Always update subprojects to latest revisionNirbheek Chauhan2022-12-191-0/+4
| | | | | | | | | | | | | | | | | | | | Otherwise we're not actually updating anything. `meson subprojects download` will skip subprojects that already exist.
| * | | ci: Fix fedora-mingw64 jobNirbheek Chauhan2022-12-191-3/+14
| | | |
| * | | ci: Update meson version used for vs2017 jobNirbheek Chauhan2022-12-191-1/+1
| | | |
| * | | meson: Fix find_program and subproject usageNirbheek Chauhan2022-12-195-23/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dummy dependencies are not required to execute a subproject automatically for providing a program, nor do you need to explicitly call subproject() to do that. A `[provide]` section in the wrap file is enough.
| * | | meson: Stop using fallback: kwarg for deps that don't need itNirbheek Chauhan2022-12-1912-79/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Subprojects that use meson.override_dependency() do not require the caller to provide the dependency variable name inside the subproject. We also don't want to provide the *subproject* name, because the subproject name can be `pango-1.50.12` instead of `pango` when using wrap-file to download the tarball instead of using wrap-git. This causes the pango subproject to be executed twice when using gtk as a subproject inside gstreamer (which uses pango-1.50.12 as a wrap-file). All the dependencies we use can be switched in this way, but the remaining ones need to be changed to use meson.override_dependency() first.
| * | | meson: Update gitlab.gnome.org SSH server namesNirbheek Chauhan2022-12-184-20/+20
| | | | | | | | | | | | | | | | | | | | Also switch the wrap file style to use spaces around `=` which is the canonical style used by wrapdb now.
| * | | meson: Remove redundant, duplicate, harfbuzz checkNirbheek Chauhan2022-12-181-3/+0
| | | |
| * | | meson: Always look for both cmake and pkgconfig namesNirbheek Chauhan2022-12-181-11/+6
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The is_msvc_like change is wrong; it used a false correlation between "compiler being used" and "dependency method" by saying that on Windows, when building with MSVC, you will only use CMake to find png, jpeg, tiff. You can use pkgconfig to find these deps on Windows with MSVC -- when the deps have been built with Autotools or Meson (with MSVC). You can also find these deps using CMake on other platforms like macOS or Linux. The solution is simple: just search for both names on all platforms, and just search for the pkgconfig name first.
* | | Merge branch 'nirbheek/fix-build-with-latest-glib' into 'main'Matthias Clasen2022-12-181-1/+1
|\ \ \ | | | | | | | | | | | | | | | | gdk: Fix g_set_str version check See merge request GNOME/gtk!5348
| * | | gdk: Fix g_set_str version checkNirbheek Chauhan2022-12-181-1/+1
|/ / / | | | | | | | | | | | | The function was added to glib in 2.75.1. This fixes gtk's build with the glib main branch.
* | | Merge branch 'wip/cdavis/file-dialog-accept-label' into 'main'Matthias Clasen2022-12-163-4/+97
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | gtkfiledialog: Allow devs to set custom accept labels Closes #5421 See merge request GNOME/gtk!5339
| * | | gtkfiledialog: Allow devs to set custom accept labelsChristopher Davis2022-12-162-4/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Accept labels can be used for additional context regarding the purpose of a file. The old GtkFileChooser APIs allowed developers to set it, but the initial FileDialog API was missing this functionality. This commit adds `gtk_file_dialog_set_accept_label ()` to restore the missing functionality. Closes https://gitlab.gnome.org/GNOME/gtk/-/issues/5421
| * | | gdkprivate: Add compatibility shim for g_set_str()Christopher Davis2022-12-161-0/+19
|/ / / | | | | | | | | | | | | Allows us to make use of this API without depending on bleeding-edge glib
* | | Merge branch 'matthiasc/for-main' into 'main'Matthias Clasen2022-12-161-1/+1
|\ \ \ | |_|/ |/| | | | | | | | Silence a compiler warning See merge request GNOME/gtk!5340
| * | Silence a compiler warningMatthias Clasen2022-12-161-1/+1
|/ /
* | Merge branch 'ebassi/ci-image-for-main' into 'main'Matthias Clasen2022-12-162-31/+74
|\ \ | | | | | | | | | | | | ci: Install Meson in the build jobs See merge request GNOME/gtk!5335
| * | ci: Install tests in a separate prefixEmmanuele Bassi2022-12-141-3/+11
| | | | | | | | | | | | | | | Avoid using `sudo` in the installed-tests CI job, since we're installing Meson as the current user.
| * | ci: Redefine PATHEmmanuele Bassi2022-12-141-2/+13
| | |
| * | ci: Consistently use meson subcommandsEmmanuele Bassi2022-12-141-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | meson setup: configuration meson compile: compilation meson install installation Do not use ninja directly, and do not use `meson` as a synonym for `meson setup`.