Commit Graph

75437 Commits

Author SHA1 Message Date
Corey Berla
51140f2b3a filesystemmodel: Ignore changes on the parent directory
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
2023-06-05 07:50:34 -04:00
Corey Berla
999f503eec filechooserwidget: Stop leaking file system models 2023-06-05 07:50:25 -04:00
FeRD (Frank Dana)
7ef7dee97e doc/actions: Fix end-of-file :
The actions document ended with a : where there used to be a period,
seemingly a bug in the conversion from XML. Replace that : with a
period, and remove another spurious : inserted during the conversion.
2023-06-05 07:49:25 -04:00
FeRD (Frank Dana)
e67bfe453e docs/input: <kbd>␣</kbd> => <kbd>Space</kbd>
- Switch to semantic newlines, where adding <kbd> caused wrapped text
  to grow wider than 80 characters on some lines.
2023-06-05 07:49:17 -04:00
FeRD (Frank Dana)
630392c18f docs/input-handling: A few more <kbd> wrappings
- Format a few missed keypresses/combos using <kbd>
- Switch to semantic newlines for those (paragraphs, bullet points)
2023-06-05 07:49:09 -04:00
FeRD (Frank Dana)
39475ead3b docs/input-handling: Don't leave reader hanging
Strangely, the document's last sentence ended with a colon,
giving the impression there's missing text that should follow.
There is not.

Even more strange, it's _always_ ended with a colon,
ever since the file was converted from XML
(in commit 10cd539104).

BUT, the XML file it was converted _from_ ended that same sentence
with a period! I have no idea where the colon came from.
2023-06-05 07:48:43 -04:00
Matthias Clasen
84b5209e0c Add a README to examples/hello
Just so nobody wonders why there's a meson.build
in this subdirectory.
2023-06-05 07:48:26 -04:00
Daniel Boles
b1fe1c3417 Widget: Fix doubled word need, missing possessives 2023-06-05 07:48:04 -04:00
Matthias Clasen
062f9aa0eb popover: Stop making assumptions about corners
The popover tail drawing code was just assuming that
the corner values are numbers. Which they won't, anymore.
2023-06-05 07:47:45 -04:00
Matthias Clasen
14ec1e3388 css: Fix initial rotate transform value 2023-06-05 07:47:21 -04:00
Matthias Clasen
97f889d96c css: Make some corner values static
Provide static value for uniform corners
with lengths from 0 to 8px. This covers
the majority of corners in widget-factory.
2023-06-05 07:47:11 -04:00
Matthias Clasen
3a88cbd9b9 css: More static length values
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).
2023-06-05 07:46:59 -04:00
Matthias Clasen
a1c7935d9d Revert "csscornervalue: Accept other values if x == y"
This reverts commit 1f2f2777e1.

It broke transitioning of corner values.
2023-06-05 07:46:47 -04:00
Matthias Clasen
17da269a5f css: Correct initial shadow filter values
This was using numbers instead of lengths,
causing confusion in the transition code.
2023-06-05 07:46:32 -04:00
Matthias Clasen
db5286d670 css: Fix transition of font features
If we store ints as values, we better use
g_hash_table_lookup_extended, or zeros will
show up as missing values.
2023-06-05 07:46:20 -04:00
Maximiliano Sandoval R
3f04251224 mediacontrols: Set valign=center on volume button
To match the play button.
2023-06-05 07:46:09 -04:00
Daniel Boles
17c5297aef Overlay: Add minimal doc blurb for property :child 2023-06-05 07:46:03 -04:00
Matthias Clasen
b88b4919be urilauncher: Validate the uri
We don't want to send nonsense to the portal.

Fixes: #5829
2023-06-05 07:45:25 -04:00
Matthias Clasen
bb3a6214cb tests: Stop copying the tool tests
No point in doing that, and the meson feature
we are using here is deprecated.
2023-06-05 07:44:08 -04:00
Aurimas Černius
c403656620 Update Lithuanian translation 2023-06-04 20:32:14 +00:00
Matthias Clasen
faa700e3a4 Merge branch 'backport_gtkstack_crash' into 'gtk-4-10'
Backport the fix from #6031

See merge request GNOME/gtk!6036
2023-05-30 10:24:10 +00:00
Lukáš Tyrychtr
35e813c814 GtkStack: Fix a potential crash in gtk_stack_get_first_accessible_child
This one can occur when the stack has no pages.
2023-05-30 10:45:15 +02:00
Matthias Clasen
dc306aec28 Merge branch 'cherry-pick-099955b0' into 'gtk-4-10'
cherry-picking "gridview: Add border-spacing where it was missed"

See merge request GNOME/gtk!6029
2023-05-29 00:14:36 +00:00
Benjamin Otte
915dd6583a gridview: Add border-spacing where it was missed
We were computing column widths without taking border-spacing into
account, making them slightly too big.


(cherry picked from commit 099955b0c0)
2023-05-28 15:13:39 -04:00
Asier Sarasua Garmendia
a6931a66c5 Update Basque translation 2023-05-18 16:30:55 +00:00
Jordi Mas
c163f74d99 Update Catalan translation 2023-05-12 19:42:11 +02:00
Guillaume Bernard
cfa3f25934 Update French translation 2023-05-12 13:13:03 +00:00
Matthias Clasen
38f9803f45 Merge branch 'cherry-pick-29e71868' into 'gtk-4-10'
treelistmodel: Be safer during collapsing

See merge request GNOME/gtk!5918
2023-05-05 03:52:53 +00:00
Benjamin Otte
541de3451c Merge branch 'wip/otte/treelistmodel-madness' into 'main'
treelistmodel: Be safer during collapsing

See merge request GNOME/gtk!5875

(cherry picked from commit 29e7186829)

8766a6fa treelistmodel: Be safer during collapsing
3c76f3fb treelistmodel: Delay notifies from TreeListRow
2023-05-04 21:45:06 -04:00
Matthias Clasen
b41af7b983 Merge branch 'wip/carlosg/invalidate-surface-x11-4-10' into 'gtk-4-10'
gdk/x11: Invalidate whole surface after size change (4.10)

See merge request GNOME/gtk!5916
2023-05-04 19:22:13 +00:00
Carlos Garnacho
b686ce1cb6 gdk/x11: Invalidate whole surface after size change
The Expose events following a ConfigureNotify may arrive at
a time that we did not resize the surface yet, making these
expose events a no-op. Even though gsk/gtk take care of the
window content itself, this might lead to unrendered portions
of the window shadow.

This may be seen with GSK_RENDERER=cairo and GDK_BACKEND=x11,
attempting to tile a window (e.g. gtk4-demo) left or right.
The window will show black rectangles or other artifacts in
the window shadow areas that correspond to the newly painted
portions (as the window needs to expand vertically).

In order to fix this with a similar behavior to Wayland,
consider ourselves the whole surface invalidated after resize,
in order to ensure everything is painted from scratch.

(cherry-picked from commit 24302315fb)
2023-05-04 19:03:58 +02:00
Danial Behzadi
954011ef80 Update Persian translation 2023-05-03 09:00:53 +00:00
Matthias Clasen
3fe1fb4930 Merge branch 'backport-css-fix-to-gtk-4-10' into 'gtk-4-10'
Backport "css: Don't transition to currentColor" to gtk-4-10

See merge request GNOME/gtk!5911
2023-05-02 22:21:09 +00:00
Benjamin Otte
966a23503a css: Don't transition to currentColor
Transition to the color that is in use instead.

Fixes crashes because currentColor is not an RGBA color and
therefor could not be queried later.

Fixes #5798
2023-05-02 21:18:52 +02:00
Boyuan Yang
d2490c30b1 Update Chinese (China) translation 2023-04-28 18:46:49 +00:00
Kukuh Syafaat
ada4272aa9 Update Indonesian translation 2023-04-28 05:33:27 +00:00
Matthias Clasen
4a187d7f1d Merge branch 'cherry-pick-c5a53f23' into 'gtk-4-10'
Merge branch 'wip/otte/trelistmodel-fixage' into 'main'

See merge request GNOME/gtk!5873
2023-04-27 08:57:59 +00:00
Matthias Clasen
4f47683710 Merge branch 'wip/otte/trelistmodel-fixage' into 'main'
treelistmodel: Don't add items in reverse

Closes #5707

See merge request GNOME/gtk!5744

(cherry picked from commit c5a53f235a)

1718db14 treelistmodel: Don't add items in reverse
cd860beb Add a test for splicing treelistmodel
2023-04-26 10:31:58 -04:00
Fran Dieguez
7470bc01f2 Update Galician translation 2023-04-25 23:22:20 +00:00
Sabri Ünal
e2784e81cc Update Turkish translation 2023-04-23 21:12:30 +00:00
Anders Jonsson
5a110c1bdd Update Swedish translation 2023-04-23 09:58:47 +00:00
Yuri Chornoivan
003a9c7e07 Update Ukrainian translation 2023-04-22 18:19:13 +00:00
Aleksandr Melman
68fe4fb0a8 Update Russian translation 2023-04-22 12:20:35 +00:00
Matthias Clasen
80f74a8e37 Post-release version bump 2023-04-22 12:38:20 +02:00
Matthias Clasen
06b3ced8e7 4.10.3 2023-04-22 12:33:35 +02:00
Matthias Clasen
3730fd4632 Merge branch 'cherry-pick-0ce6bc67' into 'gtk-4-10'
filesystemmodel: Emit items-changed when modifying attributes

See merge request GNOME/gtk!5860
2023-04-22 10:19:35 +00:00
Piotr Drąg
be2b12f904 Update Polish translation 2023-04-22 11:16:08 +02:00
Martin
b351c10dae Update Slovenian translation 2023-04-22 07:35:34 +00:00
Matthias Clasen
30f2bf9761 Merge branch 'fix-popover-positioning-4-10' into 'gtk-4-10'
popover: Fix positioning

See merge request GNOME/gtk!5859
2023-04-22 06:59:59 +00:00
Olivier Crête
2a0d111505 filesystemmodel: Emit items-changed when modifying attributes
(cherry picked from commit 0ce6bc677e)
2023-04-22 02:44:10 -04:00