gtk4.git
3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Wed, 19 Oct 2022 01:53:56 +0000 (01:53 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

fontchooser: Drop a few errant translations

Closes #5146

See merge request GNOME/gtk!5135

3 years agofontchooser: Drop a few errant translations
Matthias Clasen [Tue, 18 Oct 2022 20:40:37 +0000 (16:40 -0400)]
fontchooser: Drop a few errant translations

No point in translating these properties, they
are not strings.

Fixes: #5146
3 years agoMerge branch 'fix-editable-label-spurious-focus-out' into 'main'
Matthias Clasen [Tue, 18 Oct 2022 19:45:19 +0000 (19:45 +0000)]
Merge branch 'fix-editable-label-spurious-focus-out' into 'main'

window: Keep a reference to move_focus_widget

Closes #4864

See merge request GNOME/gtk!5134

3 years agoeditablelabel: Defer changes on focus-out
Matthias Clasen [Tue, 18 Oct 2022 18:23:22 +0000 (14:23 -0400)]
editablelabel: Defer changes on focus-out

We can get spurious focus-out/-in pairs when
the editable label is in a popover that gets
a Wayland keyboard enter event as a result of
clicking the editable label.

A timeout isn't a great solution, but nothing
better is available right now.

Fixes: #4864
3 years agowindow: Keep a reference to move_focus_widget
Matthias Clasen [Tue, 18 Oct 2022 18:21:51 +0000 (14:21 -0400)]
window: Keep a reference to move_focus_widget

If we don't take a reference, it can happen that
the pointer is no longer valid by the time we
dereference it in after_paint.

3 years agoMerge branch 'fix-focus-changes' into 'main'
Matthias Clasen [Tue, 18 Oct 2022 11:02:08 +0000 (11:02 +0000)]
Merge branch 'fix-focus-changes' into 'main'

window: Fix focus updates

Closes #4903

See merge request GNOME/gtk!5127

3 years agoMerge branch 'fix-windows-build-testmountoperation' into 'main'
Matthias Clasen [Tue, 18 Oct 2022 10:53:21 +0000 (10:53 +0000)]
Merge branch 'fix-windows-build-testmountoperation' into 'main'

tests/testmountoperation.c: Fix build on Windows

See merge request GNOME/gtk!5126

3 years agowindow: Don't focus invisible widgets
Matthias Clasen [Mon, 17 Oct 2022 19:10:51 +0000 (15:10 -0400)]
window: Don't focus invisible widgets

Only clear a queued move_focus if the widget
we are focusing is actually visible.

This was happening in some cases when popovers
are dismissed by clicking outside, and it was
causing us to miss proper focus updates that
were already queued.

3 years agoMerge branch 'bilelmoussaoui/gi-deprecated' into 'main'
Benjamin Otte [Tue, 18 Oct 2022 09:53:53 +0000 (09:53 +0000)]
Merge branch 'bilelmoussaoui/gi-deprecated' into 'main'

g-i: Fix deprecated version of GtkTreeView

See merge request GNOME/gtk!5131

3 years agog-i: Fix deprecated version of GtkTreeView
Bilal Elmoussaoui [Tue, 18 Oct 2022 09:25:56 +0000 (11:25 +0200)]
g-i: Fix deprecated version of GtkTreeView

3 years agoMerge branch 'forward-port-mr-991-to-gtk4-2' into 'main'
Luca Bacci [Mon, 17 Oct 2022 19:20:08 +0000 (19:20 +0000)]
Merge branch 'forward-port-mr-991-to-gtk4-2' into 'main'

Use native Windows API for converting keystrokes to characters

Closes #2944

See merge request GNOME/gtk!4986

3 years agowindow: Fix focus updates
Matthias Clasen [Mon, 17 Oct 2022 16:29:44 +0000 (12:29 -0400)]
window: Fix focus updates

This partially undoes changes from 3dbf5038fab8eb0.

That commit did two things:
1) Move the focus update to after-paint time
2) Change from grabbing focus to the visible parent
   to  calling move_focus (TAB)

The second part did have the unintended consequence
of moving focus laterally.

Fixes: #4903
3 years agoMerge branch 'wip/otte/for-main' into 'main'
Benjamin Otte [Mon, 17 Oct 2022 18:34:40 +0000 (18:34 +0000)]
Merge branch 'wip/otte/for-main' into 'main'

singleselection: Be more careful about notifies

See merge request GNOME/gtk!5129

3 years agodropdown: Handle ::selected and ::selected-item separately
Benjamin Otte [Mon, 17 Oct 2022 18:07:51 +0000 (20:07 +0200)]
dropdown: Handle ::selected and ::selected-item separately

GtkSingleSelection will only emit either of those signals if they
change. But it is possible that only one of those properties changes,
and in those cases we want to only notify for that property changing in
the dropdown, too.

3 years agosingleselection: Be more careful about notifies
Benjamin Otte [Mon, 17 Oct 2022 17:54:40 +0000 (19:54 +0200)]
singleselection: Be more careful about notifies

We don't want to notify::selected or notify::selected-item if they
didn't change.
This will bring performance benefits on frequently changing lists.

In particular, if lists get filtered or reordered, but the selected item
stays in the list, not doing a notify::selected-item will avoid updates
in connected handlers like GtkDropdown (and its handlers), thereby
avoiding lots of unnecessary updates.

3 years agoUse native Windows API for converting keystrokes to characters
Philip Zander [Wed, 24 Aug 2022 11:21:10 +0000 (13:21 +0200)]
Use native Windows API for converting keystrokes to characters

3 years agotests/testmountoperation.c: Fix build on Windows
Chun-wei Fan [Wed, 12 Oct 2022 09:08:43 +0000 (17:08 +0800)]
tests/testmountoperation.c: Fix build on Windows

Sadly, we can't just use an interger for a GPid on Windows, so just cast
it.  Sounds silly for non-Windows, but that's life...

3 years agomacos: Fix clipboard data size handling
Matthias Clasen [Mon, 17 Oct 2022 03:45:28 +0000 (23:45 -0400)]
macos: Fix clipboard data size handling

We were using the allocated memory size, not
the amount of data that has been written.

Fixes: #5261
3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Mon, 17 Oct 2022 03:26:21 +0000 (03:26 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

Rename gtk_widget_get_style_color

See merge request GNOME/gtk!5125

3 years agoRename gtk_widget_get_style_color
Matthias Clasen [Mon, 17 Oct 2022 00:59:38 +0000 (20:59 -0400)]
Rename gtk_widget_get_style_color

This name wasn't everybody's favorite, so go with
the generic name gtk_widget_get_color() instead.

3 years agoUpdate POTFILES.in
Piotr Drąg [Sun, 16 Oct 2022 12:34:34 +0000 (14:34 +0200)]
Update POTFILES.in

3 years agoMerge branch 'antoniof-main-patch-03677' into 'main'
Benjamin Otte [Fri, 14 Oct 2022 22:39:49 +0000 (22:39 +0000)]
Merge branch 'antoniof-main-patch-03677' into 'main'

columnview: Don't be focusable

See merge request GNOME/gtk!5022

3 years agoMerge branch 'gtk_widget_get_style_color-docs-fix' into 'main'
Matthias Clasen [Fri, 14 Oct 2022 10:49:15 +0000 (10:49 +0000)]
Merge branch 'gtk_widget_get_style_color-docs-fix' into 'main'

Fix documentation for `gtk_widget_get_style_color()`

See merge request GNOME/gtk!5119

3 years agoFix documentation for `gtk_widget_get_style_color()`
Sebastian Dröge [Fri, 14 Oct 2022 08:07:55 +0000 (11:07 +0300)]
Fix documentation for `gtk_widget_get_style_color()`

It was pointing at `gtk_widget_get_css_style()` instead.

3 years agoFix blank popovers
Matthias Clasen [Thu, 13 Oct 2022 20:38:41 +0000 (16:38 -0400)]
Fix blank popovers

This was a typo in 2b00b64e8cbda9d1, making
us render the background on the wrong snapshot.

3 years agoNEWS: Updates
Matthias Clasen [Thu, 13 Oct 2022 03:27:36 +0000 (23:27 -0400)]
NEWS: Updates

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Thu, 13 Oct 2022 03:09:47 +0000 (03:09 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

filechooser: Update the settings docs

See merge request GNOME/gtk!5118

3 years agofilechooser: Update the settings docs
Matthias Clasen [Thu, 13 Oct 2022 02:45:47 +0000 (22:45 -0400)]
filechooser: Update the settings docs

Document the window-position setting as unused.

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Thu, 13 Oct 2022 02:43:48 +0000 (02:43 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

docs: Add a cross-reference

See merge request GNOME/gtk!5117

3 years agodocs: Add a cross-reference
Matthias Clasen [Thu, 13 Oct 2022 02:25:35 +0000 (22:25 -0400)]
docs: Add a cross-reference

Note that GtkTreeView is deprecated and link to the
list view introduction from 'Tree and List Widget Overview'.

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Thu, 13 Oct 2022 02:25:19 +0000 (02:25 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

filechooserentry: Add a set_text api

See merge request GNOME/gtk!5116

3 years agofilechooser: Stop using entrycompletion api
Matthias Clasen [Wed, 12 Oct 2022 04:06:21 +0000 (00:06 -0400)]
filechooser: Stop using entrycompletion api

The file chooser entry now has an api for this.

3 years agofilechooserentry: Add a set_text api
Matthias Clasen [Wed, 12 Oct 2022 04:05:44 +0000 (00:05 -0400)]
filechooserentry: Add a set_text api

This function prevents the completion popup
from coming up when setting the entry text.

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Wed, 12 Oct 2022 21:02:56 +0000 (21:02 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

Start a migration guide for GTK 5

See merge request GNOME/gtk!5114

3 years agoStart a migration guide for GTK 5
Matthias Clasen [Wed, 12 Oct 2022 20:38:18 +0000 (16:38 -0400)]
Start a migration guide for GTK 5

No need to panic, GTK 5 is still years away!
But it is good to write this material down while
it is fresh in mind.

3 years agoMerge branch 'deprecate-render' into 'main'
Matthias Clasen [Wed, 12 Oct 2022 20:38:19 +0000 (20:38 +0000)]
Merge branch 'deprecate-render' into 'main'

wip: Deprecate gtk_render apis

See merge request GNOME/gtk!5100

3 years agoinspector: Use gtk_widget_get_style_color
Matthias Clasen [Wed, 12 Oct 2022 18:52:57 +0000 (14:52 -0400)]
inspector: Use gtk_widget_get_style_color

The graph renderer in the statistics page needs
the CSS foreground color to draw the graph. Use
the just introduced api for it.

3 years agoAdd gtk_widget_get_style_color
Matthias Clasen [Wed, 12 Oct 2022 18:51:22 +0000 (14:51 -0400)]
Add gtk_widget_get_style_color

There is a widespread need to access the CSS foreground
color for custom drawing in snapshot functions, so make
it available after gtk_style_context_get_color was
deprecated with a new widget api.

3 years agocssnode: Avoid style context api
Matthias Clasen [Wed, 12 Oct 2022 13:47:33 +0000 (09:47 -0400)]
cssnode: Avoid style context api

Duplicate the print flags in gtkcssnodeprivate.h,
so we don't rely on gtkstylecontext.h here.

3 years agotests: Ignore deprecations
Matthias Clasen [Mon, 10 Oct 2022 12:55:50 +0000 (08:55 -0400)]
tests: Ignore deprecations

Some of our tests use deprecated style context api.
Most of them should be ported to use global style
providers eventually. For now, ignore deprecations.

3 years agotestsuite: Ignore deprecations
Matthias Clasen [Mon, 10 Oct 2022 12:55:10 +0000 (08:55 -0400)]
testsuite: Ignore deprecations

Some of our tests use deprecated style context
apis. Ignore the deprecations for now.

3 years agodemos: Ignore deprecations
Matthias Clasen [Mon, 10 Oct 2022 12:40:27 +0000 (08:40 -0400)]
demos: Ignore deprecations

Most of these demos should be ported to use
global style providers eventually. For now,
just ignore the deprecations.

3 years agostylecontext: Deprecate most apis
Matthias Clasen [Mon, 10 Oct 2022 03:30:06 +0000 (23:30 -0400)]
stylecontext: Deprecate most apis

The notable exception here are the global provider apis,
which are needed in some form and don't have a replacement
yet. Move them to gtkstyleprovider.[hc], so we can wholly
deprecated gtkstylecontext.[hc].

3 years agotests: Ignore deprecations for render api
Matthias Clasen [Sun, 9 Oct 2022 12:05:28 +0000 (08:05 -0400)]
tests: Ignore deprecations for render api

3 years agoaboutdialog: Stop using gtk_style_context_save
Matthias Clasen [Sun, 9 Oct 2022 04:14:20 +0000 (00:14 -0400)]
aboutdialog: Stop using gtk_style_context_save

3 years agotextview: Stop using gtk_style_context_save_to_node
Matthias Clasen [Sun, 9 Oct 2022 03:44:01 +0000 (23:44 -0400)]
textview: Stop using gtk_style_context_save_to_node

3 years agotext: Stop using gtk_style_context_save_to_node
Matthias Clasen [Sun, 9 Oct 2022 03:36:59 +0000 (23:36 -0400)]
text: Stop using gtk_style_context_save_to_node

3 years agolabel: Stop using gtk_style_context_save_to_node
Matthias Clasen [Sun, 9 Oct 2022 03:33:21 +0000 (23:33 -0400)]
label: Stop using gtk_style_context_save_to_node

3 years agoscrolledwindow: Stop using gtk_style_context_save_to_node
Matthias Clasen [Sun, 9 Oct 2022 03:29:43 +0000 (23:29 -0400)]
scrolledwindow: Stop using gtk_style_context_save_to_node

3 years agoprintunixdialog: Stop using gtk_style_context_save_to_node
Matthias Clasen [Sun, 9 Oct 2022 03:25:39 +0000 (23:25 -0400)]
printunixdialog: Stop using gtk_style_context_save_to_node

3 years agopopover: Stop using gtk_style_context_save_to_node
Matthias Clasen [Sun, 9 Oct 2022 03:13:01 +0000 (23:13 -0400)]
popover: Stop using gtk_style_context_save_to_node

3 years agoflowbox: Stop using gtk_style_context_save_to_node
Matthias Clasen [Sun, 9 Oct 2022 03:09:48 +0000 (23:09 -0400)]
flowbox: Stop using gtk_style_context_save_to_node

3 years agodemos: Ignore deprecations for render apis
Matthias Clasen [Sun, 9 Oct 2022 02:54:48 +0000 (22:54 -0400)]
demos: Ignore deprecations for render apis

Eventually, this demo should probably be removed.

3 years agotextview: Stop using gtk_snapshot_render api
Matthias Clasen [Sat, 8 Oct 2022 20:57:23 +0000 (16:57 -0400)]
textview: Stop using gtk_snapshot_render api

The gtk_snapshot_render api is deprecated, so avoid using it.

3 years agotext: Stop using gtk_snapshot_render api
Matthias Clasen [Sat, 8 Oct 2022 20:54:13 +0000 (16:54 -0400)]
text: Stop using gtk_snapshot_render api

The gtk_snapshot_render api is deprecated, so avoid using it.

3 years agolabel: Stop using gtk_snapshot_render api
Matthias Clasen [Sat, 8 Oct 2022 19:30:29 +0000 (15:30 -0400)]
label: Stop using gtk_snapshot_render api

The gtk_snapshot_render api is deprecated, so avoid using it.

3 years agoUse the new caret rendering api
Matthias Clasen [Sat, 8 Oct 2022 20:36:20 +0000 (16:36 -0400)]
Use the new caret rendering api

Implement the deprecated gtk_snapshot_render api
for carets with the new one.

3 years agoAdd gtk_css_style_snapshot_caret
Matthias Clasen [Sat, 8 Oct 2022 20:32:13 +0000 (16:32 -0400)]
Add gtk_css_style_snapshot_caret

3 years agoglarea: Stop using gtk_snapshot_render api
Matthias Clasen [Sat, 8 Oct 2022 18:28:41 +0000 (14:28 -0400)]
glarea: Stop using gtk_snapshot_render api

The gtk_snapshot_render api is deprecated, stop using it.

3 years agoinscription: Stop using gtk_snapshot_render api
Matthias Clasen [Sat, 8 Oct 2022 18:10:34 +0000 (14:10 -0400)]
inscription: Stop using gtk_snapshot_render api

The gtk_snapshot_render api is deprecated, so avoid using it.

3 years agorender: Use the new layout render api
Matthias Clasen [Sat, 8 Oct 2022 19:17:27 +0000 (15:17 -0400)]
render: Use the new layout render api

3 years agoAdd gtk_css_style_snapshot_layout
Matthias Clasen [Sat, 8 Oct 2022 19:02:33 +0000 (15:02 -0400)]
Add gtk_css_style_snapshot_layout

This function renders a PangoLayout at a given
position, using text shadows and color from css.

3 years agoscrolledwindow: Port to the gtk_css_style_snapshot api
Matthias Clasen [Sat, 8 Oct 2022 17:59:37 +0000 (13:59 -0400)]
scrolledwindow: Port to the gtk_css_style_snapshot api

The gtk_snapshot_render api is deprecated, so avoid using it.

3 years agoprintunixdialog: Port to the gtk_css_style_snapshot api
Matthias Clasen [Sat, 8 Oct 2022 17:48:19 +0000 (13:48 -0400)]
printunixdialog: Port to the gtk_css_style_snapshot api

The gtk_snapshot_render api is deprecated, so avoid using it.

3 years agopopover: Port to the gtk_css_style_snapshot api
Matthias Clasen [Sat, 8 Oct 2022 17:45:25 +0000 (13:45 -0400)]
popover: Port to the gtk_css_style_snapshot api

The gtk_snapshot_render api is deprecated, so avoid using it.

3 years agoiconview: Port to the gtk_css_style_snapshot api
Matthias Clasen [Sat, 8 Oct 2022 17:40:41 +0000 (13:40 -0400)]
iconview: Port to the gtk_css_style_snapshot api

The gtk_snapshot_render api is deprecated, so avoid using it.

3 years agoflowbox: Port to the gtk_css_style_snapshot api
Matthias Clasen [Sat, 8 Oct 2022 17:32:38 +0000 (13:32 -0400)]
flowbox: Port to the gtk_css_style_snapshot api

The gtk_snapshot_render api is deprecated, so avoid using it.

3 years agoDeprecate gtk_snapshot_render apis
Matthias Clasen [Sat, 8 Oct 2022 13:22:26 +0000 (09:22 -0400)]
Deprecate gtk_snapshot_render apis

Move the implementations from gtksnapshot.c to
gtk/deprecated/gtkrender.c and deprecated these
functions. We want to get rid of them.

These functions are still used in some of our widgetry,
so use G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS around
them.

3 years agoDeprecate gtk_render apis
Matthias Clasen [Sat, 8 Oct 2022 03:35:07 +0000 (23:35 -0400)]
Deprecate gtk_render apis

These take a GtkStyleContext as argument, and we
want to get rid of GtkStyleContext eventually.
The proper drawing api these days is gtk_snapshot.

3 years agoprintunixdialog: Stop using gtk_render_ apis
Matthias Clasen [Sat, 8 Oct 2022 12:56:15 +0000 (08:56 -0400)]
printunixdialog: Stop using gtk_render_ apis

These are getting deprecated.

3 years agopopover: Stop using gtk_render_background
Matthias Clasen [Sat, 8 Oct 2022 12:38:10 +0000 (08:38 -0400)]
popover: Stop using gtk_render_background

The gtk_render_ apis are getting deprecated.

3 years agoflowbox: Stop using gtk_render_background
Matthias Clasen [Sat, 8 Oct 2022 12:28:46 +0000 (08:28 -0400)]
flowbox: Stop using gtk_render_background

The gtk_render_ apis are getting deprecated.

3 years agoMerge branch 'deprecate-all-the-cells' into 'main'
Matthias Clasen [Wed, 12 Oct 2022 19:28:04 +0000 (19:28 +0000)]
Merge branch 'deprecate-all-the-cells' into 'main'

Deprecate treeviews and cell renderers

See merge request GNOME/gtk!5098

3 years agoMerge branch 'for-master' into 'main'
Luca Bacci [Wed, 12 Oct 2022 13:56:51 +0000 (13:56 +0000)]
Merge branch 'for-master' into 'main'

For master

See merge request GNOME/gtk!5095

3 years agoMerge branch 'inspector_a11y' into 'main'
Matthias Clasen [Wed, 12 Oct 2022 11:06:35 +0000 (11:06 +0000)]
Merge branch 'inspector_a11y' into 'main'

GtkInspector: make the inspector at least a little bit more accessible

See merge request GNOME/gtk!5109

3 years agotests: Ignore deprecations
Matthias Clasen [Sat, 8 Oct 2022 00:59:10 +0000 (20:59 -0400)]
tests: Ignore deprecations

Eventually, most of these tests should be dropped.

3 years agotestsuite: Ignore deprecations
Matthias Clasen [Sat, 8 Oct 2022 01:15:03 +0000 (21:15 -0400)]
testsuite: Ignore deprecations

For now, just ignore deprecations. Eventually,
we will have to go through, drop demos that are
for wholly deprecated widgets, and update others.

3 years agotools: Ignore deprecations
Matthias Clasen [Sat, 8 Oct 2022 01:36:13 +0000 (21:36 -0400)]
tools: Ignore deprecations

For now, just ignore deprecations. Eventually,
we will have to go through and drop code that is
dealing with widgets that are going away.

3 years agodemos and examples: Ignore deprecations
Matthias Clasen [Sat, 8 Oct 2022 01:12:37 +0000 (21:12 -0400)]
demos and examples: Ignore deprecations

For now, just ignore deprecations. Eventually,
we will have to go through, drop demos that are
for wholly deprecated widgets, and update others.

3 years agoDeprecate treeviews and cell renderers
Matthias Clasen [Fri, 7 Oct 2022 21:47:28 +0000 (17:47 -0400)]
Deprecate treeviews and cell renderers

This includes

GtkCellArea
GtkCellAreaBox
GtkCellAreaContext
GtkCellEditable
GtkCellRenderer
GtkCellRendererAccel
GtkCellRendererCombo
GtkCellRendererPixbuf
GtkCellRendererProgress
GtkCellRendererSpin
GtkCellRendererSpinner
GtkCellRendererText
GtkCellRendererToggle
GtkCellView
GtkComboBox
GtkComboBoxText
GtkIconView
GtkListStore
GtkTreeModel
GtkTreeModelFilter
GtkTreeModelSort
GtkTreeStore
GtkTreeView
GtkTreeViewColumn
GtkTreeSelection

3 years agoinspector: Drop an unused file
Matthias Clasen [Sat, 8 Oct 2022 00:48:02 +0000 (20:48 -0400)]
inspector: Drop an unused file

3 years agoflowbox: Stop using gtk_render_background
Matthias Clasen [Sat, 8 Oct 2022 12:28:46 +0000 (08:28 -0400)]
flowbox: Stop using gtk_render_background

The gtk_render_ apis are getting deprecated.

3 years agoMerge branch 'filename-sorter' into 'main'
Matthias Clasen [Tue, 11 Oct 2022 20:59:08 +0000 (20:59 +0000)]
Merge branch 'filename-sorter' into 'main'

stringsorter: Add a collate-mode property

See merge request GNOME/gtk!5111

3 years agostringsorter: Fix up a doc typo
Matthias Clasen [Tue, 11 Oct 2022 19:32:05 +0000 (15:32 -0400)]
stringsorter: Fix up a doc typo

gi-docgen links can be tricky to get right.

3 years agostringsorter: Add more detail to the docs
Matthias Clasen [Tue, 11 Oct 2022 18:03:57 +0000 (14:03 -0400)]
stringsorter: Add more detail to the docs

Mention when a collation value of NONE might
be useful.

3 years agoApply 2 suggestion(s) to 2 file(s)
Matthias Clasen [Tue, 11 Oct 2022 17:53:26 +0000 (17:53 +0000)]
Apply 2 suggestion(s) to 2 file(s)

3 years agoci: Allow macos builds to fail
Matthias Clasen [Tue, 11 Oct 2022 17:43:36 +0000 (13:43 -0400)]
ci: Allow macos builds to fail

The runner seems busted, so allow builds to fail
for now.

3 years agostringsorter: Add a collation property
Matthias Clasen [Tue, 11 Oct 2022 16:57:09 +0000 (12:57 -0400)]
stringsorter: Add a collation property

The new property lets us choose between
Unicode collation, filename collation, and
plain strcmp.

This will be used in the filechooser.

3 years agoGtkInspector: make the inspector at least a little bit more accessible
Lukáš Tyrychtr [Tue, 11 Oct 2022 11:34:21 +0000 (13:34 +0200)]
GtkInspector: make the inspector at least a little bit more accessible

Namely, it adds accessible name to the property value editors and to a few labels in the a11y panel.

3 years agoMerge branch 'wip/corey/file-clipboard' into 'main'
Matthias Clasen [Mon, 10 Oct 2022 21:13:28 +0000 (21:13 +0000)]
Merge branch 'wip/corey/file-clipboard' into 'main'

gdkcontentserializer: Use newlines for file separators

Closes #5240

See merge request GNOME/gtk!5107

3 years agogdkcontentserializer: Use newlines for file separators
Corey Berla [Mon, 10 Oct 2022 16:35:00 +0000 (09:35 -0700)]
gdkcontentserializer: Use newlines for file separators

Use newlines rather than spaces to separate file paths (or uri's)
when serializing text/plain files.  There isn't a matching
deserializer, so we can do this in isolation.  Newlines
seem to make more sense when pasting into a text editor etc.

Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/5240
3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Mon, 10 Oct 2022 03:29:41 +0000 (03:29 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

Matthiasc/for main

See merge request GNOME/gtk!5106

3 years agoemojicompletion: Drop an unused include
Matthias Clasen [Mon, 10 Oct 2022 03:08:55 +0000 (23:08 -0400)]
emojicompletion: Drop an unused include

3 years agoemojichooser: Drop an unused include
Matthias Clasen [Mon, 10 Oct 2022 02:25:36 +0000 (22:25 -0400)]
emojichooser: Drop an unused include

3 years agosearchentry: Drop an unused include
Matthias Clasen [Mon, 10 Oct 2022 02:23:09 +0000 (22:23 -0400)]
searchentry: Drop an unused include

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Sun, 9 Oct 2022 14:26:58 +0000 (14:26 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

gtk-demo: Modernize accordion demo

See merge request GNOME/gtk!5105

3 years agotestgtk: Use global css provider
Benjamin Otte [Sat, 8 Feb 2020 02:59:55 +0000 (03:59 +0100)]
testgtk: Use global css provider

3 years agotests: Use per-screen CSS providers
Benjamin Otte [Sat, 8 Feb 2020 02:32:21 +0000 (03:32 +0100)]
tests: Use per-screen CSS providers

3 years agogtk-demo: Modernize accordion demo
Benjamin Otte [Sun, 9 Oct 2022 14:09:59 +0000 (10:09 -0400)]
gtk-demo: Modernize accordion demo

3 years agoMerge branch 'matthiasc/for-main' into 'main'
Matthias Clasen [Sun, 9 Oct 2022 13:53:54 +0000 (13:53 +0000)]
Merge branch 'matthiasc/for-main' into 'main'

inspector: Fix some criticals

See merge request GNOME/gtk!5104