Commit Graph

73176 Commits

Author SHA1 Message Date
Christopher Davis
9f2a621328 passwordentry: Use password input purpose
Per discussion in #gtk on Matrix
2022-07-06 13:48:25 -04:00
Matthias Clasen
fae2dd9885 Merge branch 'matthiasc/for-main' into 'main'
fontchooser work

See merge request GNOME/gtk!4850
2022-07-05 15:13:20 +00:00
Benjamin Otte
c673d7cd9b Merge branch 'fix-ffmpeg-decoding' into 'main'
ffmpeg: Fix crash on some media files

See merge request GNOME/gtk!4851
2022-07-04 21:27:11 +00:00
Stephan Vedder
1c8bddf3ca ffmpeg: Fix crash on some media files
Return code EAGAIN expects the user to feed more packets into the decoder
2022-07-04 13:29:09 +02:00
Matthias Clasen
ab1cf67432 fontchooser: Make size level effective
We were not hiding the size controls on the tweaks
page, which is arguably what should happen when
the size level is disabled.
2022-07-03 12:50:40 -04:00
Matthias Clasen
1097003f6f Beef up testfontchooserdialog
Allow testing levels.
2022-07-03 12:50:30 -04:00
Matthias Clasen
d0894b2786 fontchooser: Some OpenType improvements
Work harder to find examples for char variation
features, and pull the feature labels out of
the font if possible. This lets us show
meaningful names like "Localised @ and & symbols"
instead of "Stylistic Set 7" or even "ss07".
2022-07-03 07:38:24 -04:00
Matthias Clasen
5ba8fc8f10 Font features demo improvements
Use font-provided names for ssNN and cvNN features.

But good luck finding a font that has these!
2022-07-03 01:19:19 -04:00
Matthias Clasen
5d05daaed0 Font features demo improvements
Add buttons to cycle through samples.
2022-07-02 23:37:34 -04:00
Matthias Clasen
86dd72fad6 Fix up font features demo
The conversion to a textview was incomplete.
2022-07-02 22:46:27 -04:00
Мирослав Николић
b0766a62ec Update Serbian translation
(cherry picked from commit 7c0cf9e0c9)
2022-07-03 02:18:58 +00:00
Emmanuele Bassi
a664d06c2f Merge branch 'wip/exalm/actionbar' into 'main'
actionbar: Document GtkBuildable child types

See merge request GNOME/gtk!4848
2022-07-02 22:46:40 +00:00
Alexander Mikhaylenko
d42c51e27d actionbar: Document GtkBuildable child types 2022-07-03 02:26:18 +04:00
Aleksandr Melman
63af01f7c9 Update Russian translation 2022-07-02 18:50:32 +00:00
Matthias Clasen
12f7929f44 Merge branch 'matthiasc/for-main' into 'main'
gtk4-demo: Add color to font features

See merge request GNOME/gtk!4847
2022-07-02 18:17:04 +00:00
Matthias Clasen
9c4490b7ad gtk4-demo: Add color to font features 2022-07-02 11:35:24 -04:00
Matthias Clasen
f0d329cf5e Merge branch 'wip/chergert/fix-menutracker' into 'main'
menutrackeritem: protect against use-after-free

Closes #5009

See merge request GNOME/gtk!4832
2022-07-01 11:17:32 +00:00
Matthias Clasen
58d79e87ea Merge branch 'matthiasc/for-main' into 'main'
gtk4-demo: Cosmetics

See merge request GNOME/gtk!4846
2022-07-01 04:37:07 +00:00
Matthias Clasen
cd40cd145f gtk4-demo: Cosmetics 2022-07-01 00:10:16 -04:00
Matthias Clasen
4f6b5b0fac Merge branch 'matthiasc/for-main' into 'main'
Matthiasc/for main

See merge request GNOME/gtk!4845
2022-07-01 04:08:03 +00:00
Matthias Clasen
88bbb933a1 gtk4-demo: Add a waterfall to font features 2022-06-30 23:52:37 -04:00
Matthias Clasen
4070e794d2 gtk4-demo: Fix font features animation 2022-06-30 21:11:49 -04:00
Matthias Clasen
3b6ec027d3 Merge branch 'matthiasc/for-main' into 'main'
demos: Use gtk_builder_cscope_add_callback

See merge request GNOME/gtk!4844
2022-07-01 01:03:04 +00:00
Matthias Clasen
a284dc9f31 demos: Use gtk_builder_cscope_add_callback
This is C convenience API, lets use it for
our convenience.
2022-06-30 20:10:06 -04:00
Matthias Clasen
091daf4cff Merge branch 'matthiasc/for-main' into 'main'
Add gtk_builder_cscope_add_callback

See merge request GNOME/gtk!4843
2022-06-30 23:23:04 +00:00
Matthias Clasen
64f3ac6760 gtk3-demo: Add animation to font features 2022-06-30 19:02:02 -04:00
Matthias Clasen
508ceccb66 gtk4-demo: Polish the font features demo 2022-06-30 19:02:02 -04:00
Matthias Clasen
d6dde63074 gtk4-demo: Restructure the font features demo 2022-06-30 19:02:02 -04:00
Matthias Clasen
bdb1886fc9 gtk4-demo: Cosmetics
Rename the ui file to match the C source, to preserve sanity.
2022-06-30 19:02:02 -04:00
Matthias Clasen
faa9ef2dc0 Add gtk_builder_cscope_add_callback
This is a convenience method for the common case
that symbols are used under their own name.
2022-06-30 19:02:02 -04:00
Matthias Clasen
21b9667f08 Merge branch 'matthiasc/for-main' into 'main'
gtk-demo: Beef up font features demo

See merge request GNOME/gtk!4841
2022-06-30 14:12:20 +00:00
Matthias Clasen
e4781e393c gtk-demo: Beef up font features demo
Some work on making this demo better.
2022-06-30 09:42:32 -04:00
Matthias Clasen
7536513ef8 Merge branch 'wip/jimmac/selectable-labels' into 'main'
theme: selectable labels legibility

Closes #5017

See merge request GNOME/gtk!4840
2022-06-29 20:05:44 +00:00
Jakub Steiner
6776c21350 theme: selectable labels legibility
- don't set fg color for selections

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5017
2022-06-29 21:40:30 +02:00
Matthias Clasen
9f4ef77663 Merge branch 'matthiasc/for-main' into 'main'
gtk-demo: Cosmetics

See merge request GNOME/gtk!4839
2022-06-29 19:16:32 +00:00
Benjamin Otte
a64bb67ef7 Merge branch 'testdatatable' into 'main'
tests: Add testdatatable

See merge request GNOME/gtk!4838
2022-06-29 13:00:53 +00:00
Ivan Molodetskikh
53f3b4b9d9 tests: Add testdatatable
Add a GtkColumnView scrolling performance test similar to the one used
previously in https://gitlab.gnome.org/GNOME/gtk/-/issues/3334.

The test creates a table with 20 columns and 10,000 rows and scrolls it
to a random position every frame, while measuring the frame times.

There is a commandline flag to pick the cell widget between none (for
benchmarking raw column view scrolling) and various label types. There
is also a commandline switch to disable automatic scrolling in case a
manual assessment is desired. Finally, there's an argument for
controlling the number of columns.
2022-06-28 21:52:49 -07:00
Emmanuele Bassi
5bb4d69720 Merge branch 'ebassi/ci-publish-doc-fix' into 'main'
ci: Force the fedora image for the publish-docs job

See merge request GNOME/gtk!4837
2022-06-28 21:02:46 +00:00
Emmanuele Bassi
35808a918d ci: Force the fedora image for the publish-docs job
Otherwise every CI runner might decide to use a different default
image, and we'll end up on one that doesn't have curl.
2022-06-28 21:32:08 +01:00
Benjamin Otte
672618e560 Merge branch 'wip/otte/for-main' into 'main'
Rework listitemfactory

See merge request GNOME/gtk!4835
2022-06-28 19:30:17 +00:00
Emmanuele Bassi
e28516d189 Merge branch 'template-signals' into 'main'
Force quark creation for templates

See merge request GNOME/gtk!4836
2022-06-28 17:59:31 +00:00
Maximiliano Sandoval R
dfe9460240
Force quark creation for templates 2022-06-28 18:48:38 +02:00
Sabri Ünal
01820d8524 Update Turkish translation 2022-06-28 15:52:12 +00:00
Benjamin Otte
be1729b316 signallistitemfactory: Update signal prototype
I'm not sure this is API safe, but it is necessary if we want to support
section items and canvas items.

If it's deemed API-unstable, we have to copy this object and deprecate
this one.
2022-06-28 16:37:38 +02:00
Benjamin Otte
57f2b5d2e6 listitemfactory: Make this callback-based
This way, we no longer prescribe the use of either GtkListItem or
GtkListItemWidget.

This means we can use it in other places, such as for custom section
header objects or with my Canvas ideas.
2022-06-28 16:37:38 +02:00
Benjamin Otte
c00b234440 picture: Clear the paintable properly
Add a clear() function and call it from dispose() instead of using
set_paintable().
2022-06-28 16:37:11 +02:00
Danial Behzadi
8d803e8615 Update Persian translation 2022-06-28 10:31:16 +00:00
Aleksandr Melman
9477ecbc92 Update Russian translation 2022-06-25 18:36:18 +00:00
Quentin PAGÈS
1e686ee535 Update Occitan translation 2022-06-25 08:56:48 +00:00
Christian Hergert
4d883861b1 menutrackeritem: protect against use-after-free
With recent updates to GLib, I now see cases where we can hit a state that
has finalized before notify (which will bump the ref count back up). This
is evident in GNOME Text Editor when showing a language submenu from a
popover, and then dismissing the popover and subsequently the tab.

With the previous commit, we at least get a warning like this, which helped
track down the issue.

 Gtk-CRITICAL **: gtk_action_observable_unregister_observer: assertion 'GTK_IS_ACTION_OBSERVABLE (observable)' failed
 GLib-GObject-CRITICAL **: g_object_ref: assertion '!object_already_finalized' failed

This patch fixes both of those criticals.

Fixes #5009
2022-06-24 14:30:45 -07:00