Compare commits

..

79 Commits

Author SHA1 Message Date
Matthias Clasen 70eec3ee01 listitemwidget: Update some accessible state
Pass the selected state on to a11y.

Fixes: #6663
2024-04-26 11:50:30 -04:00
Matthias Clasen 05d5860dc0 listview: Fix some oversights
The list factory widget was notifying the wrong properties.
2024-04-26 11:19:59 -04:00
Matthias Clasen 2e08db91ca Merge branch 'offload-snapshot-no-child' into 'main'
Don't crash if snapshotting a GtkGraphicsOffload without child

See merge request GNOME/gtk!7183
2024-04-25 20:46:31 +00:00
Sebastian Dröge 2c9b47ff3c Don't crash if snapshotting a GtkGraphicsOffload without child 2024-04-25 22:46:35 +03:00
Matthias Clasen 62ad1a61dc Merge branch 'matthiasc/for-main' into 'main'
offload: Make logging more compact

See merge request GNOME/gtk!7181
2024-04-25 03:01:44 +00:00
Matthias Clasen 3fc9de7539 offload: Make logging more compact
Use a format of

[XXX] SYMBOL DETAILS

where SYMBOL indicates the offloading status:
 🗙 - no offload
 ▲ - offload above, with background
 △ - offload above, no background
 ▼ - offload below, with background
 ▽ - offload below, no background
2024-04-24 22:01:56 -04:00
Matthias Clasen 1c9a55d185 Merge branch 'vulkan-msvc' into 'main'
gskvulkandescriptors.c: Don't return value from void-rettype function

See merge request GNOME/gtk!7175
2024-04-25 01:37:49 +00:00
Matthias Clasen 492940205e Merge branch 'amolenaar/macos-fix-nsapp-shortcuts' into 'main'
macos: fix in-app native shortcuts (regression)

See merge request GNOME/gtk!7178
2024-04-25 01:35:59 +00:00
Arjan Molenaar 985e4906c8 macos: Add some docs for the different NSEvent getters 2024-04-24 23:49:37 +02:00
Benjamin Otte e9dcf8167c Merge branch 'gbsneto/vulkan-dmabuf-general' into 'main'
vulkan/image: Use GENERAL for initial layout of DMA-BUF textures

See merge request GNOME/gtk!7179
2024-04-24 20:55:51 +00:00
Georges Basile Stavracas Neto 3aa6c27c26 vulkan/image: Use GENERAL for initial layout of DMA-BUF textures
The VK_IMAGE_LAYOUT_UNDEFINED layout means that the data hold by the
texture can be discarded, and we don't want to discard it. Because the
Vulkan spec is unclear (see [1] for a discussion), err on the side of
caution and use VK_IMAGE_LAYOUT_GENERAL.

Fixes import failures with WebKit.

[1] https://github.com/ValveSoftware/gamescope/issues/356
2024-04-24 17:21:51 -03:00
Emmanuele Bassi 7075e6be89 Merge branch 'gst-backend-msvc' into 'main'
GStreamer media backend: Fix building on Visual Studio

See merge request GNOME/gtk!7174
2024-04-24 10:04:11 +00:00
Chun-wei Fan 016354b6dd gskvulkandescriptors.c: Don't return value from void-rettype function
Fixes builds on Visual Studio with Vulkan enabled, as later GLib releases
consider this as an error on Visual Studio builds.
2024-04-24 16:19:43 +08:00
Chun-wei Fan 1dfc6d65df GStreamer media backend: Fix building and running on Windows
Visual Studio (and possibly other non-GCC compilers) do not like
uses of #-preprocessor directives in macro usage (warning C5101: use of
preprocessor directive in function-like macro argument list is undefined
behavior is also shown), so fix the build by defining another macro
accordingly.
2024-04-24 16:15:32 +08:00
Matthias Clasen b7d0295481 Merge branch 'macos-default-settings' into 'main'
macos: Respect the default-settings debug key

See merge request GNOME/gtk!7173
2024-04-23 16:38:00 +00:00
Matthias Clasen a2854af325 macos: Respect the default-settings debug key
This makes our behavior more consistent across platforms.
The suggestion came up in discussion in #6545.
2024-04-23 07:52:25 -04:00
Changwoo Ryu 320496b039 Update Korean translation
(cherry picked from commit e1dafd7a5d)
2024-04-23 11:33:48 +00:00
Arjan Molenaar f004f14b89 macos: fix in-app native shortcuts (again)
Popping an event of the queue in the IMContext handler
prevents it from being forwarded to the NSApp, in case the
(key) event was not handled by IMContext.

So I reverted to a mix of the original (4.13) and new (4.14.1) behavior
for fetching events: NSEvent lookup for IMContext uses loose matching,
so it can work with rewritten events. When sending events to NSApp, only
we're checking for an exact match.

Now in-app keyboard shortcuts (e.g. Ctrl-F2) work from within text
fields again.
2024-04-23 08:57:09 +02:00
Matthias Clasen 8f15f6959c Merge branch 'vulkan-profiler-mark' into 'main'
gsk: Add a profiler mark for pipeline creation

See merge request GNOME/gtk!7172
2024-04-23 01:19:20 +00:00
Matthias Clasen f26efd9adf gsk: Add a profiler mark for pipeline creation
This is the Vulkan equivalent of shader compilation, it could be
expensive, so lets add a mark around it.
2024-04-22 20:47:25 -04:00
Matthias Clasen 3f342d75b2 Merge branch 'wip/alice/root-test' into 'main'
testsuite: Add css/style/root test

See merge request GNOME/gtk!7171
2024-04-22 20:26:46 +00:00
Alice Mikhaylenko 3ab189404e testsuite: Add css/style/root test
Should have been a part of 76421847a5
but I forgot to commit it.
2024-04-22 21:34:50 +04:00
Matthias Clasen 48fc8d6606 Merge branch 'wip/alice/root' into 'main'
cssselector: Support :root

See merge request GNOME/gtk!7170
2024-04-22 16:26:18 +00:00
Matthias Clasen 2e0f411de9 Merge branch 'amolenaar/macos-fix-delayed-rendering' into 'main'
macos: Avoid repeatedly sending events back to macOS

See merge request GNOME/gtk!7158
2024-04-22 16:25:57 +00:00
Matthias Clasen f08e36e225 Merge branch 'wip/alice/bugfix' into 'main'
csstokenizer: Fix an out of bounds when reading an ident followed by EOF

See merge request GNOME/gtk!7169
2024-04-22 16:25:17 +00:00
Matthias Clasen 9f358ac655 Merge branch 'matthiasc/for-main' into 'main'
roaring: Fix some ubsan warnings

See merge request GNOME/gtk!7165
2024-04-22 15:52:04 +00:00
Matthias Clasen 33d1349e53 Merge branch 'wip/alice/wayland-crash' into 'main'
wayland: Consistently handle enum type

Closes #6649

See merge request GNOME/gtk!7168
2024-04-22 15:25:31 +00:00
Alice Mikhaylenko 76421847a5 cssselector: Support :root
This will be useful for defining global variables.
2024-04-22 18:55:35 +04:00
Alice Mikhaylenko 840cd6e44c csstokenizer: Fix an out of bounds when reading an ident followed by EOF 2024-04-22 17:59:29 +04:00
Arjan Molenaar f81038e99a macos: Avoid repeatedly sending events back to macOS
in the old approach it was possible that one NSEvent was
sent to the underlying NSApp multiple times. This resulted in
those events being forwarded to our (glib) event queue again.

The visual result was that no screen updates were done. Under the hood
the application was very busy with passing events around.

By popping the events off of our event queue, we make sure they're sent
only once.
2024-04-22 15:51:12 +02:00
Alice Mikhaylenko 007e7c68dc wayland: Consistently handle enum type
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/6649
2024-04-22 17:18:11 +04:00
Emmanuele Bassi e5e147ad53 Merge branch 'wip/alice/flatpak-fix' into 'main'
Fix flatpak build

See merge request GNOME/gtk!7166
2024-04-22 13:04:33 +00:00
Alice Mikhaylenko 58e00040e0 Fix flatpak build
Regressed in 70cd0e28ab
2024-04-22 16:18:58 +04:00
Matthias Clasen 5d1b8399fb testsuite: Fix another ubsan warning
The expression here was a bit too dense for ubsan to figure out
what branches aren't hit.
2024-04-21 22:24:02 -04:00
Matthias Clasen deec2b6c6c lsan: Don't suppress glib and gio leaks
These are useful to see and not all that common.
2024-04-21 22:02:44 -04:00
Matthias Clasen 246eb8ea25 gtk: Fix more ubsan warnings
Most of these are calling a get_instance_private() function before
checking that the object isn't NULL.
2024-04-21 22:01:06 -04:00
Matthias Clasen 815df9a76a wayland: Fix an ubsan warning
dev_t requires 8-byte alignment, so we need to use memcpy.
2024-04-21 21:32:41 -04:00
Matthias Clasen f896dddadc inspector: Fix an ubsan warning
These values are too big for int, so cast them to double.
2024-04-21 21:21:11 -04:00
Matthias Clasen d733e94a8b roaring: Fix some ubsan warnings
Avoid warnings about memcpy (NULL, NULL, 0).
2024-04-21 21:20:16 -04:00
Matthias Clasen 59db0ca328 Merge branch 'matthiasc/for-main' into 'main'
wayland: Use wl_compositor version 6

See merge request GNOME/gtk!7164
2024-04-22 01:00:22 +00:00
Matthias Clasen 3bd97590a1 wayland: Tweak a debug message
We aren't drawing to subsurfaces.
2024-04-21 20:37:45 -04:00
Matthias Clasen 722a0fa36d wayland: Check subsurface backgrounds better
Do the same checks for background coordinates that we do for the
subsurface coordinates themselves: they must be integral in both
application and device pixels.
2024-04-21 20:33:29 -04:00
Matthias Clasen b21708c5e4 offload: Consolidate logging a bit
Spew a bit less per-frame. Unfortunately, we still spew for
every frame, and fixing that would require more extensive
refactoring to centralize all logging in gskoffload.c
2024-04-21 20:18:38 -04:00
Matthias Clasen b5fb584316 wayland: Use gdk_debug_message consistently
For debug messages, we should always use gdk_debug_message.
2024-04-21 19:41:49 -04:00
Matthias Clasen fd1e1b9b7c Cosmetics 2024-04-21 19:35:52 -04:00
Matthias Clasen c0caae0ff0 wayland: Use wl_compositor version 6
This gives us events for preferred_buffer_scale (which we ignore)
and preferred_buffer_transform (which we also currently ignore).
2024-04-21 19:27:58 -04:00
Matthias Clasen 5c972e4786 Post-release version bump 2024-04-21 12:27:05 -04:00
Matthias Clasen 1a3c5cf420 4.15.0 2024-04-21 12:21:40 -04:00
Matthias Clasen eb7affd911 testsuite: Fix the offload tests 2024-04-21 12:21:40 -04:00
Matthias Clasen a05dbff2c9 testsuite: Tweak the offload tests
We set GDK_DEBUG=force-offload now, so we can look at the actual
offload status.
2024-04-21 12:21:40 -04:00
Matthias Clasen 4b0d17b332 wayland: Fix an offload cornercase
Treat textures with background as opaque for the purposes of
offloading.
2024-04-21 12:21:40 -04:00
Matthias Clasen 2d8f677e63 Merge branch 'matthiasc/for-main' into 'main'
build: Fix docs build

See merge request GNOME/gtk!7162
2024-04-21 15:25:37 +00:00
Matthias Clasen b5c9b6aa25 docs: Some updates to the render tool manpage
List all supported output formats and fix a few typos.
2024-04-21 11:03:31 -04:00
Matthias Clasen 86924c2f9a docs: Add some metadata to man pages
It would be nice to include the version here, but that is trickier.
2024-04-21 11:03:14 -04:00
Matthias Clasen af0f5e3f30 build: Fix docs build
There was an overlooked used of a dropped option here.
2024-04-21 10:15:06 -04:00
Matthias Clasen 9e6c72210d Merge branch 'fix-dconf-reference' into 'main'
docs: Improve a reference

Closes #6635

See merge request GNOME/gtk!7161
2024-04-21 14:03:37 +00:00
Matthias Clasen ce0b2d6953 NEWS: Updates 2024-04-21 09:40:55 -04:00
Matthias Clasen d1bb3f66ac ci: Use pangos documentation option
The gtk_doc option has been deprecated in pango.
Use the replacement to avoid a deprecation warning.
2024-04-21 09:40:55 -04:00
Matthias Clasen 70cd0e28ab Drop deprecated build options
These cause harm in connection with subprojects if the subprojects
yield to a deprecated option. So just rip the bandaid off and
drop the deprecated build options.
2024-04-21 09:40:55 -04:00
Matthias Clasen 2e00bcc580 docs: Improve a reference
DConf is not what we use, it is actually GSettings.

Fixes: #6635
2024-04-20 20:12:54 -04:00
Matthias Clasen db68c1f2c6 NEWS: Updates 2024-04-20 19:14:54 -04:00
Matthias Clasen e3fa60a070 Merge branch 'matthiasc/for-main' into 'main'
ci: Stop using deprecated options

See merge request GNOME/gtk!7160
2024-04-20 22:35:20 +00:00
Matthias Clasen c9c29d8bde gsk: Only prefer Vulkan on Wayland
Make Vulkan the default on Vulkan-friendly platforms.
For now, that list only includes Wayland.
2024-04-20 18:10:21 -04:00
Matthias Clasen cd59d62947 Merge branch 'offload-new-transfer-none' into 'main'
Drop return value annotation of gtk_graphics_offload_new()

See merge request GNOME/gtk!7159
2024-04-20 21:26:03 +00:00
Sebastian Dröge 4f4fe4ef44 Drop return value annotation of gtk_graphics_offload_new()
A floating reference is returned, not a full reference. By having no
annotation, like for all other widget constructors, the correct default
is used again.
2024-04-20 22:45:15 +03:00
Matthias Clasen 06f83847c6 ci: Stop using deprecated options
A small step towards being able to drop these eventually.
2024-04-20 13:44:08 -04:00
Matthias Clasen 941b5c2aeb NEWS: Updates 2024-04-20 12:45:32 -04:00
Matthias Clasen d661b7f258 Merge branch 'docs-tweaks' into 'main'
docs: Tweaks

See merge request GNOME/gtk!7157
2024-04-20 14:15:30 +00:00
Matthias Clasen f86d996d58 NEWS: Updates 2024-04-20 09:18:03 -04:00
Matthias Clasen fe3031fb99 docs: Tweaks
Shuffle the gtk-font-rendering docs around a bit.
2024-04-20 09:10:57 -04:00
Matthias Clasen 4b001a24db Merge branch 'vulkan-by-default' into 'main'
gsk: Change the default renderer

Closes #6537

See merge request GNOME/gtk!7153
2024-04-20 13:09:02 +00:00
Matthias Clasen 4727fea631 Merge branch 'textview-text-shadow' into 'main'
Apply css text shadows in text views

See merge request GNOME/gtk!7154
2024-04-20 13:06:54 +00:00
Matthias Clasen 7ff4cba624 Apply css text shadows in text views
For now, this just applies the shadow from the widget's style,
there is no way to apply different shadows to text ranges (except
for the selection, which already has its own css style).
2024-04-20 08:48:39 -04:00
Matthias Clasen 0363cc83b9 Merge branch 'deprecate-cursor-theme-setters' into 'main'
gdk: Deprecate public cursor theme setters

See merge request GNOME/gtk!7155
2024-04-20 12:40:25 +00:00
Matthias Clasen c1327e2c1b gdk: Deprecate public cursor theme setters
No need for this api, we've made the frontend setter private
for a reason.
2024-04-20 07:50:10 -04:00
Aurimas Černius 9971707544 Update Lithuanian translation
(cherry picked from commit 49046f5c34)
2024-04-20 10:39:37 +00:00
Matthias Clasen 02115912aa Cosmetics 2024-04-19 20:52:57 -04:00
Martin e29571e6a6 Update Slovenian translation 2024-04-19 21:46:32 +00:00
Matthias Clasen 582ad79088 gsk: Change the default renderer
The intent of this change to get wider testing and verify that the
Vulkan drivers we get to use in the wild are good enough for our
needs. If significant problems show up, we will revert this change
for 4.16.

The new preference order is vulkan > ngl > gl > cairo.

The gl renderer is still there because we need it to support gles2.

If you need to override the default renderer choice, you can
still use the GSK_RENDERER environment variable.

Fixes: #6537
2024-04-19 13:50:40 -04:00
78 changed files with 1019 additions and 717 deletions
+1 -2
View File
@@ -445,9 +445,8 @@ reference:
--force-fallback-for=gdk-pixbuf,pango
-Dintrospection=enabled
-Ddocumentation=true
-Dgtk_doc=true
-Dgdk-pixbuf:gtk_doc=true
-Dpango:gtk_doc=true
-Dpango:documentation=true
-Dbuild-demos=false
-Dbuild-examples=false
-Dbuild-tests=false
+1 -1
View File
@@ -24,7 +24,7 @@ flatpak build ${builddir} meson \
-Dbuild-examples=false \
-Dintrospection=disabled \
-Dbuild-demos=true \
-Ddemo-profile=devel \
-Dprofile=devel \
_flatpak_build
flatpak build --env=CI_COMMIT_SHORT_SHA=$CI_COMMIT_SHORT_SHA ${builddir} ninja -C _flatpak_build install
+44 -1
View File
@@ -1,15 +1,50 @@
Overview of Changes in 4.15.0, xx-xx-xxxx
Overview of Changes in 4.15.1, xx-xx-xxxx
=========================================
Overview of Changes in 4.15.0, 21-04-2024
=========================================
This release changes the default GSK renderer to be Vulkan, on
Wayland. Other platforms still use ngl.
The intent of this change is to get wider testing and verify that
Vulkan drivers are good enough for us to rely on. If significant
problems show up, we will revert this change for 4.16.
You can still override the renderer choice using the GSK_RENDERER
environment variable.
---
This release also changes font rendering settings by introducing
a new high-level gtk-font-rendering settings which gives GTK more
freedom to decide on font rendering.
You can still use the low-level font-related settings by changing
the new property to 'manual'.
---
* GtkColumnView:
- Fix infinite loops in dispose
- Fix problems with weak ref cycles in GtkExpression
* GtkListView:
* GtkShortcutManager:
- Track the propagation phase of added controllers
* GtkGLArea:
- Produce dmabuf textures, so graphics offload is possible
* GtkTextView:
- Support text shadows
* GtkGraphicsOffload:
- Add a black-background property
* Settings:
- Add a new gtk-font-rendering setting
* Accessibility:
- Add support for GetRangeExtents to GtkAccessibleText
- Add support for GetOffsetAtPoint to GtkAccessibleText
@@ -19,6 +54,7 @@ Overview of Changes in 4.15.0, xx-xx-xxxx
- Add a callback-based cursor API
* GSK:
- Use the Vulkan renderer by default
- Avoid an infinite recursion with offscreens in some cases
- Optimize graphics offload to make it more likely that compositors
can use direct scanout
@@ -45,13 +81,20 @@ Overview of Changes in 4.15.0, xx-xx-xxxx
- Require pango 1.52
- Require cairo 1.18
- Add a missing dependency that was causing build failures
- Drop deprecated build options:
gtk_doc -> documentation
update_screenshots -> screenshots
demo-profile -> profile
demos -> build-demos
* Deprecations:
- gdk_widget_set/get_font_options
- gdk_wayland/x11_display_set_cursor_theme
* Translation updates:
Basque
Brazilian Portuguese
British English
Chinese (China)
Hebrew
Kabyle
+1 -1
View File
@@ -186,7 +186,7 @@
"config-opts" : [
"--libdir=/app/lib",
"-Dbuildtype=debugoptimized",
"-Ddemo-profile=devel"
"-Dprofile=devel"
],
"sources" : [
{
+1 -1
View File
@@ -115,7 +115,7 @@
"config-opts" : [
"--libdir=/app/lib",
"-Dbuildtype=debugoptimized",
"-Ddemo-profile=devel"
"-Dprofile=devel"
],
"sources" : [
{
@@ -115,7 +115,7 @@
"config-opts" : [
"--libdir=/app/lib",
"-Dbuildtype=debugoptimized",
"-Ddemo-profile=devel"
"-Dprofile=devel"
],
"sources" : [
{
@@ -115,7 +115,7 @@
"config-opts" : [
"--libdir=/app/lib",
"-Dbuildtype=debugoptimized",
"-Ddemo-profile=devel"
"-Dprofile=devel"
],
"sources" : [
{
+1
View File
@@ -74,6 +74,7 @@ in a selector, widget names must be prefixed with a # character.
| E:not(selector) | [CSS Selector Level 3](https://www.w3.org/TR/css3-selectors/#negation) | |
| E:dir(ltr), E:dir(rtl) | [CSS Selector Level 4](https://drafts.csswg.org/selectors/#the-dir-pseudo) | |
| E:drop(active) | [CSS Selector Level 4](https://drafts.csswg.org/selectors/#drag-pseudos) | |
| E:root | [CSS Selector Level 3](https://www.w3.org/TR/selectors-3/#root-pseudo) | |
| E F | [CSS Selector Level 3](https://www.w3.org/TR/css3-selectors/#descendent-combinators) | |
| E > F | [CSS Selector Level 3](https://www.w3.org/TR/css3-selectors/#child-combinators) | |
| E ~ F | [CSS Selector Level 3](https://www.w3.org/TR/css3-selectors/#general-sibling-combinators) | |
+4
View File
@@ -8,6 +8,10 @@ gtk4-broadwayd
The Broadway display server
---------------------------
:Version: GTK
:Manual section: 1
:Manual group: GTK commands
SYNOPSIS
--------
| **gtk4-broadwayd** [OPTIONS...] <DISPLAY>
+4
View File
@@ -8,6 +8,10 @@ gtk4-builder-tool
GtkBuilder File Utility
-----------------------
:Version: GTK
:Manual section: 1
:Manual group: GTK commands
SYNOPSIS
--------
| **gtk4-builder-tool** <COMMAND> [OPTIONS...] <FILE>
@@ -8,6 +8,9 @@ gtk4-demo-application
Demonstrate GtkApplication
--------------------------
:Version: GTK
:Manual section: 1
:Manual group: GTK commands
SYNOPSIS
--------
+4
View File
@@ -8,6 +8,10 @@ gtk4-demo
Demonstrate GTK widgets
-----------------------
:Version: GTK
:Manual section: 1
:Manual group: GTK commands
SYNOPSIS
--------
@@ -8,6 +8,10 @@ gtk4-encode-symbolic-svg
Symbolic icon conversion utility
--------------------------------
:Version: GTK
:Manual section: 1
:Manual group: GTK commands
SYNOPSIS
--------
+4
View File
@@ -8,6 +8,10 @@ gtk4-icon-browser
List themed icons
-----------------
:Version: GTK
:Manual section: 1
:Manual group: GTK commands
SYNOPSIS
--------
+4
View File
@@ -8,6 +8,10 @@ gtk4-launch
Launch an application
---------------------
:Version: GTK
:Manual section: 1
:Manual group: GTK commands
SYNOPSIS
--------
+4
View File
@@ -8,6 +8,10 @@ gtk4-node-editor
Editor render nodes
-----------------
:Version: GTK
:Manual section: 1
:Manual group: GTK commands
SYNOPSIS
--------
+4
View File
@@ -8,6 +8,10 @@ gtk4-path-tool
GskPath Utility
-----------------------
:Version: GTK
:Manual section: 1
:Manual group: GTK commands
SYNOPSIS
--------
| **gtk4-path-tool** <COMMAND> [OPTIONS...] <PATH>
@@ -8,6 +8,10 @@ gtk4-query-settings
Print name and value of GTK settings
------------------------------------
:Version: GTK
:Manual section: 1
:Manual group: GTK commands
SYNOPSIS
--------
+9 -4
View File
@@ -8,6 +8,10 @@ gtk4-rendernode-tool
GskRenderNode Utility
-----------------------
:Version: GTK
:Manual section: 1
:Manual group: GTK commands
SYNOPSIS
--------
| **gtk4-rendernode-tool** <COMMAND> [OPTIONS...] <FILE>
@@ -45,13 +49,14 @@ without any titlebar.
Rendering
^^^^^^^^^
The ``render`` command saves a rendering of the rendernode as a png or tiff image.
The name of the file to write can be specified as a second FILE argument.
The ``render`` command saves a rendering of the rendernode as a png, tiff or svg
image or as pdf document. The name of the file to write can be specified as a second
FILE argument.
``--renderer=RENDERER``
Use the given renderer. Use ``--renderer=help`` to get a information
about poassible values for the ``RENDERER``.
about possible values for the ``RENDERER``.
Benchmark
^^^^^^^^^
@@ -93,4 +98,4 @@ exit code is 1. If the images are identical, it is 0.
``--quiet``
Don't write results to stdout.`
Don't write results to stdout.
@@ -8,6 +8,10 @@ gtk4-update-icon-cache
Icon theme caching utility
--------------------------
:Version: GTK
:Manual section: 1
:Manual group: GTK commands
SYNOPSIS
--------
@@ -8,6 +8,10 @@ gtk4-widget-factory
Showcase GTK widgets and styles
-------------------------------
:Version: GTK
:Manual section: 1
:Manual group: GTK commands
SYNOPSIS
--------
+1 -1
View File
@@ -80,7 +80,7 @@ if get_option('man-pages') and rst2man.found()
[ 'gtk4-path-tool', '1', ],
]
if get_option('demos')
if get_option('build-demos')
rst_files += [
[ 'gtk4-demo', '1', ],
[ 'gtk4-demo-application', '1', ],
+2 -1
View File
@@ -161,7 +161,8 @@ void _gdk_macos_display_send_event (GdkMacosDisp
void _gdk_macos_display_warp_pointer (GdkMacosDisplay *self,
int x,
int y);
NSEvent *_gdk_macos_display_get_nsevent (GdkEvent *event);
NSEvent *_gdk_macos_display_get_matching_nsevent (GdkEvent *event);
NSEvent *_gdk_macos_display_get_exact_nsevent (GdkEvent *event);
NSEvent *_gdk_macos_display_get_last_nsevent (void);
GdkDrag *_gdk_macos_display_find_drag (GdkMacosDisplay *self,
NSInteger sequence_number);
+31 -4
View File
@@ -77,6 +77,9 @@ gdk_macos_display_get_setting (GdkDisplay *display,
const char *setting,
GValue *value)
{
if (gdk_display_get_debug_flags (display) & GDK_DEBUG_DEFAULT_SETTINGS)
return FALSE;
return _gdk_macos_display_get_setting (GDK_MACOS_DISPLAY (display), setting, value);
}
@@ -991,17 +994,41 @@ _gdk_macos_display_warp_pointer (GdkMacosDisplay *self,
CGWarpMouseCursorPosition ((CGPoint) { x, y });
}
/* Find the matching `NSEvent` for an `GdkEvent`. This function
* return the `NSEvent`, also for rewritten `GdkEvent`'s.
*/
NSEvent *
_gdk_macos_display_get_nsevent (GdkEvent *event)
_gdk_macos_display_get_matching_nsevent (GdkEvent *event)
{
for (const GList *iter = event_map.head; iter; iter = iter->next)
for (GList *iter = event_map.head; iter; iter = iter->next)
{
const GdkToNSEventMap *map = iter->data;
GdkToNSEventMap *map = iter->data;
if (map->gdk_event->event_type == event->event_type &&
map->gdk_event->device == event->device &&
map->gdk_event->time == event->time)
return map->nsevent;
{
return map->nsevent;
}
}
return NULL;
}
/* Find the matching `NSEvent` for the original `GdkEvent`.
* If an event was rewritten, it returns `NULL`.
*/
NSEvent *
_gdk_macos_display_get_exact_nsevent (GdkEvent *event)
{
for (GList *iter = event_map.head; iter; iter = iter->next)
{
GdkToNSEventMap *map = iter->data;
if (map->gdk_event == event)
{
return map->nsevent;
}
}
return NULL;
+1 -1
View File
@@ -738,7 +738,7 @@ gdk_macos_event_source_dispatch (GSource *source,
if (!handled)
{
NSEvent *nsevent = _gdk_macos_display_get_nsevent (event);
NSEvent *nsevent = _gdk_macos_display_get_exact_nsevent (event);
if (nsevent != NULL)
[NSApp sendEvent: nsevent];
}
+27 -5
View File
@@ -105,6 +105,9 @@
#endif
static void _gdk_wayland_display_load_cursor_theme (GdkWaylandDisplay *display_wayland);
static void _gdk_wayland_display_set_cursor_theme (GdkDisplay *display,
const char *name,
int size);
G_DEFINE_TYPE (GdkWaylandDisplay, gdk_wayland_display, GDK_TYPE_DISPLAY)
@@ -310,7 +313,9 @@ linux_dmabuf_main_device (void *data,
struct zwp_linux_dmabuf_feedback_v1 *zwp_linux_dmabuf_feedback_v1,
struct wl_array *device)
{
dev_t dev G_GNUC_UNUSED = *(dev_t *)device->data;
dev_t dev G_GNUC_UNUSED;
memcpy (&dev, device->data, sizeof (dev_t));
GDK_DEBUG (MISC, "got dmabuf main device: %u %u", major (dev), minor (dev));
}
@@ -327,7 +332,9 @@ linux_dmabuf_tranche_target_device (void *data,
struct zwp_linux_dmabuf_feedback_v1 *zwp_linux_dmabuf_feedback_v1,
struct wl_array *device)
{
dev_t dev G_GNUC_UNUSED = *(dev_t *)device->data;
dev_t dev G_GNUC_UNUSED;
memcpy (&dev, device->data, sizeof (dev_t));
GDK_DEBUG (MISC, "got dmabuf tranche target device: %u %u", major (dev), minor (dev));
}
@@ -437,7 +444,7 @@ gdk_registry_handle_global (void *data,
{
display_wayland->compositor =
wl_registry_bind (display_wayland->wl_registry, id,
&wl_compositor_interface, MIN (version, 5));
&wl_compositor_interface, MIN (version, 6));
}
else if (strcmp (interface, "wl_shm") == 0)
{
@@ -1129,7 +1136,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
display_class->get_monitors = gdk_wayland_display_get_monitors;
display_class->get_monitor_at_surface = gdk_wayland_display_get_monitor_at_surface;
display_class->get_setting = gdk_wayland_display_get_setting;
display_class->set_cursor_theme = gdk_wayland_display_set_cursor_theme;
display_class->set_cursor_theme = _gdk_wayland_display_set_cursor_theme;
}
static void
@@ -1202,11 +1209,22 @@ get_cursor_theme (GdkWaylandDisplay *display_wayland,
* @size: the size to use for cursors
*
* Sets the cursor theme for the given @display.
*
* Deprecated: 4.16: Use the cursor-related properties of
* [GtkSettings](../gtk4/class.Settings.html) to set the cursor theme
*/
void
gdk_wayland_display_set_cursor_theme (GdkDisplay *display,
const char *name,
int size)
{
_gdk_wayland_display_set_cursor_theme (display, name, size);
}
static void
_gdk_wayland_display_set_cursor_theme (GdkDisplay *display,
const char *name,
int size)
{
GdkWaylandDisplay *display_wayland = GDK_WAYLAND_DISPLAY(display);
struct wl_cursor_theme *theme;
@@ -1275,7 +1293,7 @@ _gdk_wayland_display_load_cursor_theme (GdkWaylandDisplay *display_wayland)
else
name = "default";
gdk_wayland_display_set_cursor_theme (GDK_DISPLAY (display_wayland), name, size);
_gdk_wayland_display_set_cursor_theme (GDK_DISPLAY (display_wayland), name, size);
g_value_unset (&v);
gdk_profiler_end_mark (before, "Wayland cursor theme load", NULL);
@@ -1903,6 +1921,7 @@ apply_portal_setting (TranslationEntry *entry,
entry->fallback.s = g_intern_string (g_variant_get_string (value, NULL));
break;
case G_TYPE_INT:
case G_TYPE_ENUM:
entry->fallback.i = g_variant_get_int32 (value);
break;
case G_TYPE_BOOLEAN:
@@ -2152,6 +2171,9 @@ set_value_from_entry (GdkDisplay *display,
case G_TYPE_BOOLEAN:
g_value_set_boolean (value, entry->fallback.b);
break;
case G_TYPE_ENUM:
g_value_set_enum (value, entry->fallback.i);
break;
case G_TYPE_NONE:
if (g_str_equal (entry->setting, "gtk-fontconfig-timestamp"))
g_value_set_uint (value, (guint)entry->fallback.i);
+16 -16
View File
@@ -781,8 +781,8 @@ pointer_handle_motion (void *data,
{
double x, y;
gdk_event_get_position (event, &x, &y);
g_message ("motion %f %f, seat %p state %d",
x, y, seat, gdk_event_get_modifier_state (event));
gdk_debug_message ("motion %f %f, seat %p state %d",
x, y, seat, gdk_event_get_modifier_state (event));
}
if (wl_seat_get_version (seat->wl_seat) < WL_POINTER_HAS_FRAME)
@@ -1664,7 +1664,7 @@ touch_handle_down (void *data,
{
double xx, yy;
gdk_event_get_position (event, &xx, &yy);
g_message ("touch begin %f %f", xx, yy);
gdk_debug_message ("touch begin %f %f", xx, yy);
}
_gdk_wayland_display_deliver_event (seat->display, event);
@@ -1699,7 +1699,7 @@ touch_handle_up (void *data,
{
double x, y;
gdk_event_get_position (event, &x, &y);
g_message ("touch end %f %f", x, y);
gdk_debug_message ("touch end %f %f", x, y);
}
_gdk_wayland_display_deliver_event (seat->display, event);
@@ -1747,7 +1747,7 @@ touch_handle_motion (void *data,
{
double xx, yy;
gdk_event_get_position (event, &xx, &yy);
g_message ("touch update %f %f", xx, yy);
gdk_debug_message ("touch update %f %f", xx, yy);
}
_gdk_wayland_display_deliver_event (seat->display, event);
@@ -1841,9 +1841,9 @@ emit_gesture_swipe_event (GdkWaylandSeat *seat,
{
double x, y;
gdk_event_get_position (event, &x, &y);
g_message ("swipe event %d, coords: %f %f, seat %p state %d",
gdk_event_get_event_type (event), x, y, seat,
gdk_event_get_modifier_state (event));
gdk_debug_message ("swipe event %d, coords: %f %f, seat %p state %d",
gdk_event_get_event_type (event), x, y, seat,
gdk_event_get_modifier_state (event));
}
_gdk_wayland_display_deliver_event (seat->display, event);
@@ -1936,10 +1936,10 @@ emit_gesture_pinch_event (GdkWaylandSeat *seat,
{
double x, y;
gdk_event_get_position (event, &x, &y);
g_message ("pinch event %d, coords: %f %f, seat %p state %d",
gdk_event_get_event_type (event),
x, y, seat,
gdk_event_get_modifier_state (event));
gdk_debug_message ("pinch event %d, coords: %f %f, seat %p state %d",
gdk_event_get_event_type (event),
x, y, seat,
gdk_event_get_modifier_state (event));
}
_gdk_wayland_display_deliver_event (seat->display, event);
@@ -2030,10 +2030,10 @@ emit_gesture_hold_event (GdkWaylandSeat *seat,
{
double x, y;
gdk_event_get_position (event, &x, &y);
g_message ("hold event %d, coords: %f %f, seat %p state %d",
gdk_event_get_event_type (event),
x, y, seat,
gdk_event_get_modifier_state (event));
gdk_debug_message ("hold event %d, coords: %f %f, seat %p state %d",
gdk_event_get_event_type (event),
x, y, seat,
gdk_event_get_modifier_state (event));
}
_gdk_wayland_display_deliver_event (seat->display, event);
+47 -37
View File
@@ -408,60 +408,64 @@ gdk_wayland_subsurface_attach (GdkSubsurface *sub,
if (has_background)
ensure_bg_surface (self);
if (self->dest.x != dest->origin.x ||
self->dest.y != dest->origin.y ||
self->dest.width != dest->size.width ||
self->dest.height != dest->size.height)
if (!scaled_rect_is_integral (dest, 1, &device_rect))
{
GDK_DISPLAY_DEBUG (gdk_surface_get_display (sub->parent), OFFLOAD,
"Non-integer coordinates %g %g %g %g for %dx%d texture, hiding subsurface %p",
"[%p] 🗙 Non-integral coordinates %g %g %g %g",
self,
dest->origin.x, dest->origin.y,
dest->size.width, dest->size.height,
gdk_texture_get_width (texture),
gdk_texture_get_height (texture),
self);
dest->size.width, dest->size.height);
}
else if (!scaled_rect_is_integral (dest, scale, &device_rect))
{
GDK_DISPLAY_DEBUG (gdk_surface_get_display (sub->parent), OFFLOAD,
"Non-integral device coordinates %g %g %g %g (fractional scale %.2f), hiding subsurface %p",
"[%p] 🗙 Non-integral device coordinates %g %g %g %g (scale %.2f)",
self,
device_rect.origin.x, device_rect.origin.y,
device_rect.size.width, device_rect.size.height,
scale,
self);
scale);
}
else if (background && !scaled_rect_is_integral (background, 1, &device_rect))
{
GDK_DISPLAY_DEBUG (gdk_surface_get_display (sub->parent), OFFLOAD,
"[%p] 🗙 Non-integral background coordinates %g %g %g %g",
self,
background->origin.x, background->origin.y,
background->size.width, background->size.height);
}
else if (background && !scaled_rect_is_integral (background, scale, &device_rect))
{
GDK_DISPLAY_DEBUG (gdk_surface_get_display (sub->parent), OFFLOAD,
"Non-integral background device coordinates %g %g %g %g (fractional scale %.2f), hiding background of subsurface %p",
"[%p] 🗙 Non-integral background device coordinates %g %g %g %g (scale %.2f)",
self,
device_rect.origin.x, device_rect.origin.y,
device_rect.size.width, device_rect.size.height,
scale,
self);
scale);
}
else if (!GDK_IS_DMABUF_TEXTURE (texture) &&
!GDK_DISPLAY_DEBUG_CHECK (gdk_surface_get_display (sub->parent), FORCE_OFFLOAD))
{
GDK_DISPLAY_DEBUG (gdk_surface_get_display (sub->parent), OFFLOAD,
"%dx%d %s is not a GdkDmabufTexture, hiding subsurface %p",
gdk_texture_get_width (texture),
gdk_texture_get_height (texture),
"[%p] 🗙 %s (%dx%d) is not a GdkDmabufTexture",
self,
G_OBJECT_TYPE_NAME (texture),
self);
gdk_texture_get_width (texture),
gdk_texture_get_height (texture));
}
else if (!will_be_above &&
gdk_memory_format_alpha (gdk_texture_get_format (texture)) != GDK_MEMORY_ALPHA_OPAQUE)
gdk_memory_format_alpha (gdk_texture_get_format (texture)) != GDK_MEMORY_ALPHA_OPAQUE &&
!has_background)
{
GDK_DISPLAY_DEBUG (gdk_surface_get_display (sub->parent), OFFLOAD,
"Cannot offload non-opaque %dx%d texture below, hiding subsurface %p",
"[%p] 🗙 Non-opaque texture (%dx%d) below",
self,
gdk_texture_get_width (texture),
gdk_texture_get_height (texture),
self);
gdk_texture_get_height (texture));
}
else if (has_background && !display->single_pixel_buffer)
{
GDK_DISPLAY_DEBUG (gdk_surface_get_display (sub->parent), OFFLOAD,
"Cannot offload subsurface %p with background, no single-pixel buffer support",
"[%p] 🗙 Texture has background, but no single-pixel buffer support",
self);
}
else
@@ -490,10 +494,13 @@ gdk_wayland_subsurface_attach (GdkSubsurface *sub,
}
GDK_DISPLAY_DEBUG (gdk_surface_get_display (sub->parent), OFFLOAD,
"Attached %dx%d texture to subsurface %p at %d %d %d %d",
"[%p] %s Attaching texture (%dx%d) at %d %d %d %d",
self,
will_be_above
? (has_background ? "" : "")
: (has_background ? "" : ""),
gdk_texture_get_width (texture),
gdk_texture_get_height (texture),
self,
self->dest.x, self->dest.y,
self->dest.width, self->dest.height);
result = TRUE;
@@ -501,22 +508,25 @@ gdk_wayland_subsurface_attach (GdkSubsurface *sub,
else
{
GDK_DISPLAY_DEBUG (gdk_surface_get_display (sub->parent), OFFLOAD,
"Compositor failed to create wl_buffer for %dx%d texture, hiding subsurface %p",
gdk_texture_get_width (texture),
gdk_texture_get_height (texture),
"[%p] 🗙 Failed to create wl_buffer",
self);
}
}
else
{
if (dest_changed)
GDK_DISPLAY_DEBUG (gdk_surface_get_display (sub->parent), OFFLOAD,
"[%p] %s Moving texture (%dx%d) to %d %d %d %d",
self,
will_be_above
? (has_background ? "" : "")
: (has_background ? "" : ""),
gdk_texture_get_width (texture),
gdk_texture_get_height (texture),
self->dest.x, self->dest.y,
self->dest.width, self->dest.height);
buffer = NULL;
GDK_DISPLAY_DEBUG (gdk_surface_get_display (sub->parent), OFFLOAD,
"Moved %dx%d texture in subsurface %p to %d %d %d %d",
gdk_texture_get_width (texture),
gdk_texture_get_height (texture),
self,
self->dest.x, self->dest.y,
self->dest.width, self->dest.height);
result = TRUE;
}
}
@@ -653,7 +663,7 @@ gdk_wayland_subsurface_detach (GdkSubsurface *sub)
if (sub->parent == NULL)
{
g_warning ("Can't draw to destroyed subsurface %p", self);
g_warning ("Can't detach from destroyed subsurface %p", self);
return;
}
+37 -3
View File
@@ -821,6 +821,11 @@ gdk_wayland_surface_fractional_scale_preferred_scale_cb (void *data,
gdk_wayland_surface_update_size (surface,
surface->width, surface->height,
&GDK_FRACTIONAL_SCALE_INIT (scale));
GDK_DISPLAY_DEBUG (gdk_surface_get_display (surface), EVENTS,
"preferred fractional scale, surface %p scale %f",
surface,
gdk_fractional_scale_to_double (&GDK_FRACTIONAL_SCALE_INIT (scale)));
}
static const struct wp_fractional_scale_v1_listener fractional_scale_listener = {
@@ -837,8 +842,8 @@ surface_enter (void *data,
GdkDisplay *display = gdk_surface_get_display (surface);
GdkMonitor *monitor;
GDK_DISPLAY_DEBUG(gdk_surface_get_display (surface), EVENTS,
"surface enter, surface %p output %p", surface, output);
GDK_DISPLAY_DEBUG (gdk_surface_get_display (surface), EVENTS,
"surface enter, surface %p output %p", surface, output);
impl->display_server.outputs = g_slist_prepend (impl->display_server.outputs, output);
@@ -870,9 +875,38 @@ surface_leave (void *data,
gdk_surface_leave_monitor (surface, monitor);
}
static void
surface_preferred_buffer_scale (void *data,
struct wl_surface *wl_surface,
int32_t factor)
{
GdkSurface *surface = GDK_SURFACE (data);
GDK_DISPLAY_DEBUG (gdk_surface_get_display (surface), EVENTS,
"preferred buffer scale, surface %p scale %d",
surface, factor);
}
static void
surface_preferred_buffer_transform (void *data,
struct wl_surface *wl_surface,
uint32_t transform)
{
GdkSurface *surface = GDK_SURFACE (data);
const char *transform_name[] = {
"normal", "90", "180", "270", "flipped", "flipped-90", "flipped-180", "flipped-270"
};
GDK_DISPLAY_DEBUG (gdk_surface_get_display (surface), EVENTS,
"preferred buffer transform, surface %p transform %s",
surface, transform_name[transform]);
}
static const struct wl_surface_listener surface_listener = {
surface_enter,
surface_leave
surface_leave,
surface_preferred_buffer_scale,
surface_preferred_buffer_transform,
};
static void
+2 -2
View File
@@ -48,7 +48,7 @@ GDK_AVAILABLE_IN_ALL
struct wl_display *gdk_wayland_display_get_wl_display (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
struct wl_compositor *gdk_wayland_display_get_wl_compositor (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
GDK_DEPRECATED_IN_4_16
void gdk_wayland_display_set_cursor_theme (GdkDisplay *display,
const char *name,
int size);
@@ -60,7 +60,7 @@ void gdk_wayland_display_set_startup_notification_id (GdkDisp
GDK_AVAILABLE_IN_ALL
gboolean gdk_wayland_display_query_registry (GdkDisplay *display,
const char *global);
const char *global);
GDK_AVAILABLE_IN_4_4
gpointer gdk_wayland_display_get_egl_display (GdkDisplay *display);
+11
View File
@@ -274,11 +274,22 @@ gdk_x11_cursor_create_for_name (GdkDisplay *display,
* will have to be handled by the application (GTK applications can learn
* about cursor theme changes by listening for change notification
* for the corresponding `GtkSetting`).
*
* Deprecated: 4.16: Use the cursor-related properties of
* [GtkSettings](../gtk4/class.Settings.html) to set the cursor theme
*/
void
gdk_x11_display_set_cursor_theme (GdkDisplay *display,
const char *theme,
const int size)
{
_gdk_x11_display_set_cursor_theme (display, theme, size);
}
void
_gdk_x11_display_set_cursor_theme (GdkDisplay *display,
const char *theme,
const int size)
{
#if defined(HAVE_XCURSOR) && defined(HAVE_XFIXES) && XFIXES_MAJOR >= 2
GdkX11Screen *x11_screen;
+1 -1
View File
@@ -3078,7 +3078,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
display_class->get_monitors = gdk_x11_display_get_monitors;
display_class->get_setting = gdk_x11_display_get_setting;
display_class->set_cursor_theme = gdk_x11_display_set_cursor_theme;
display_class->set_cursor_theme = _gdk_x11_display_set_cursor_theme;
class->xevent = gdk_event_source_xevent;
+4
View File
@@ -206,6 +206,10 @@ GdkFilterReturn
gdk_surface_cache_shape_filter (const XEvent *xevent,
gpointer data);
void _gdk_x11_display_set_cursor_theme (GdkDisplay *display,
const char *theme,
const int size);
void _gdk_x11_cursor_display_finalize (GdkDisplay *display);
void _gdk_x11_surface_register_dnd (GdkSurface *window);
+1 -1
View File
@@ -88,7 +88,7 @@ GDK_AVAILABLE_IN_ALL
void gdk_x11_display_set_program_class (GdkDisplay *display,
const char *program_class);
GDK_AVAILABLE_IN_ALL
GDK_DEPRECATED_IN_4_16
void gdk_x11_display_set_cursor_theme (GdkDisplay *display,
const char *theme,
const int size);
+1 -1
View File
@@ -48,5 +48,5 @@ gsk_vulkan_descriptors_bind (GskVulkanDescriptors *self,
GskVulkanDescriptors *previous,
VkCommandBuffer vk_command_buffer)
{
return GSK_VULKAN_DESCRIPTORS_GET_CLASS (self)->bind (self, previous, vk_command_buffer);
GSK_VULKAN_DESCRIPTORS_GET_CLASS (self)->bind (self, previous, vk_command_buffer);
}
+6
View File
@@ -9,6 +9,7 @@
#include "gdk/gdkdisplayprivate.h"
#include "gdk/gdkvulkancontextprivate.h"
#include "gdk/gdkprofilerprivate.h"
struct _GskVulkanDevice
{
@@ -949,6 +950,7 @@ gsk_vulkan_device_get_vk_pipeline (GskVulkanDevice *self,
GdkDisplay *display;
const char *version_string;
char *vertex_shader_name, *fragment_shader_name;
G_GNUC_UNUSED gint64 begin_time = GDK_PROFILER_CURRENT_TIME;
cache_key = (PipelineCacheKey) {
.op_class = op_class,
@@ -1125,6 +1127,10 @@ gsk_vulkan_device_get_vk_pipeline (GskVulkanDevice *self,
NULL,
&pipeline);
gdk_profiler_end_markf (begin_time,
"Create Vulkan pipeline frag=%s vert=%s",
fragment_shader_name, vertex_shader_name);
g_free (fragment_shader_name);
g_free (vertex_shader_name);
+1 -1
View File
@@ -825,7 +825,7 @@ gsk_vulkan_image_new_for_dmabuf (GskVulkanDevice *device,
self->vk_tiling = VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT;
self->vk_format = vk_format;
self->vk_pipeline_stage = VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT;
self->vk_image_layout = VK_IMAGE_LAYOUT_UNDEFINED;
self->vk_image_layout = VK_IMAGE_LAYOUT_GENERAL;
self->vk_access = 0;
res = vkCreateImage (vk_device,
+10 -22
View File
@@ -130,18 +130,14 @@ find_texture_to_attach (GskOffload *self,
gsk_rect_equal (&bounds, &subsurface_node->bounds) &&
gdk_rgba_equal (gsk_color_node_get_color (child), &GDK_RGBA_BLACK))
{
GDK_DISPLAY_DEBUG (gdk_surface_get_display (self->surface), OFFLOAD,
"Offloading subsurface %p with background",
subsurface);
*has_background = TRUE;
node = gsk_container_node_get_child (node, 1);
break;
}
}
GDK_DISPLAY_DEBUG (gdk_surface_get_display (self->surface), OFFLOAD,
"Can't offload subsurface %p: too much content, container with %d children",
"[%p] 🗙 Too much content, container with %d children",
subsurface, gsk_container_node_get_n_children (node));
goto out;
@@ -153,7 +149,7 @@ find_texture_to_attach (GskOffload *self,
{
char *s = gsk_transform_to_string (t);
GDK_DISPLAY_DEBUG (gdk_surface_get_display (self->surface), OFFLOAD,
"Can't offload subsurface %p: transform %s is not just scale/translate",
"[%p] 🗙 Transform %s is not just scale/translate",
subsurface, s);
g_free (s);
goto out;
@@ -181,7 +177,7 @@ find_texture_to_attach (GskOffload *self,
if (!gsk_rect_intersection (c, &clip, &clip))
{
GDK_DISPLAY_DEBUG (gdk_surface_get_display (self->surface), OFFLOAD,
"Can't offload subsurface %p: empty clip", subsurface);
"[%p] 🗙 Empty clip", subsurface);
goto out;
}
}
@@ -231,7 +227,7 @@ find_texture_to_attach (GskOffload *self,
default:
GDK_DISPLAY_DEBUG (gdk_surface_get_display (self->surface), OFFLOAD,
"Can't offload subsurface %p: Only textures supported but found %s",
"[%p] 🗙 Only textures supported (found %s)",
subsurface, g_type_name_from_instance ((GTypeInstance *) node));
goto out;
}
@@ -492,7 +488,7 @@ visit_node (GskOffload *self,
type != GSK_DEBUG_NODE)
{
GDK_DISPLAY_DEBUG (gdk_surface_get_display (self->surface), OFFLOAD,
"Can't raise subsurface %p because a %s overlaps",
"[%p] Lowering because a %s overlaps",
info->subsurface,
g_type_name_from_instance ((GTypeInstance *) node));
info->can_raise = FALSE;
@@ -635,19 +631,19 @@ complex_clip:
if (info == NULL)
{
GDK_DISPLAY_DEBUG (gdk_surface_get_display (self->surface), OFFLOAD,
"Can't offload: unknown subsurface %p",
"[%p] 🗙 Unknown subsurface",
subsurface);
}
else if (!self->current_clip->is_fully_contained)
{
GDK_DISPLAY_DEBUG (gdk_surface_get_display (self->surface), OFFLOAD,
"Can't offload subsurface %p: clipped",
"[%p] 🗙 Clipped",
subsurface);
}
else if (gsk_transform_get_category (transform) < GSK_TRANSFORM_CATEGORY_2D_AFFINE)
{
GDK_DISPLAY_DEBUG (gdk_surface_get_display (self->surface), OFFLOAD,
"Can't offload subsurface %p: non-affine transform",
"[%p] 🗙 Non-affine transform",
subsurface);
}
else
@@ -684,7 +680,6 @@ gsk_offload_new (GdkSurface *surface,
GskRenderNode *root,
cairo_region_t *diff)
{
GdkDisplay *display = gdk_surface_get_display (surface);
GskOffload *self;
self = g_new0 (GskOffload, 1);
@@ -752,17 +747,10 @@ gsk_offload_new (GdkSurface *surface,
{
info->is_offloaded = FALSE;
if (info->was_offloaded)
{
GDK_DISPLAY_DEBUG (display, OFFLOAD, "Hiding subsurface %p", info->subsurface);
gdk_subsurface_detach (info->subsurface);
}
gdk_subsurface_detach (info->subsurface);
}
if (info->is_offloaded && gdk_subsurface_is_above_parent (info->subsurface))
{
GDK_DISPLAY_DEBUG (display, OFFLOAD, "Raising subsurface %p", info->subsurface);
info->is_above = TRUE;
}
info->is_above = info->is_offloaded && gdk_subsurface_is_above_parent (info->subsurface);
gdk_subsurface_get_bounds (info->subsurface, &bounds);
+22 -2
View File
@@ -1,5 +1,4 @@
/* GSK - The GTK Scene Kit
*
* Copyright 2016 Endless
*
* This library is free software; you can redistribute it and/or
@@ -685,6 +684,26 @@ get_renderer_for_vulkan (GdkSurface *surface)
#endif
}
static gboolean
vulkan_friendly_platform (GdkSurface *surface)
{
#ifdef GDK_WINDOWING_WAYLAND
if (GDK_IS_WAYLAND_DISPLAY (gdk_surface_get_display (surface)))
return TRUE;
#endif
return FALSE;
}
static GType
get_renderer_for_vulkan_friendly_platform (GdkSurface *surface)
{
if (vulkan_friendly_platform (surface))
return get_renderer_for_vulkan (surface);
return G_TYPE_INVALID;
}
static GType
get_renderer_for_gles2 (GdkSurface *surface)
{
@@ -703,9 +722,10 @@ static struct {
{ get_renderer_for_display },
{ get_renderer_for_env_var },
{ get_renderer_for_backend },
{ get_renderer_for_vulkan_friendly_platform },
{ get_renderer_for_gl },
{ get_renderer_for_gles2 },
{ get_renderer_for_vulkan },
{ get_renderer_for_gles2 },
{ get_renderer_fallback },
};
+1 -1
View File
@@ -1020,7 +1020,7 @@ gtk_css_tokenizer_read_ident_like (GtkCssTokenizer *tokenizer,
{
gtk_css_tokenizer_read_name (tokenizer);
if (*tokenizer->data == '(')
if (gtk_css_tokenizer_remaining (tokenizer) > 0 && *tokenizer->data == '(')
{
gtk_css_tokenizer_consume_ascii (tokenizer);
if (g_ascii_strcasecmp (tokenizer->name_buffer->str, "url") == 0)
+25 -6
View File
@@ -28,6 +28,7 @@
#include "gtkwidgetprivate.h"
#include "gtkcsscolorvalueprivate.h"
#include "gdk/gdkrgbaprivate.h"
#include "gtkcssshadowvalueprivate.h"
#include <math.h>
@@ -97,6 +98,11 @@ gsk_pango_renderer_draw_glyph_item (PangoRenderer *renderer,
{
GskPangoRenderer *crenderer = (GskPangoRenderer *) (renderer);
GdkRGBA color;
gboolean has_shadow = FALSE;
if (crenderer->shadow_style)
has_shadow = gtk_css_shadow_value_push_snapshot (crenderer->shadow_style->font->text_shadow,
crenderer->snapshot);
get_color (crenderer, PANGO_RENDER_PART_FOREGROUND, &color);
@@ -106,6 +112,9 @@ gsk_pango_renderer_draw_glyph_item (PangoRenderer *renderer,
&color,
(float) x / PANGO_SCALE,
(float) y / PANGO_SCALE);
if (has_shadow)
gtk_snapshot_pop (crenderer->snapshot);
}
static void
@@ -343,20 +352,20 @@ gsk_pango_renderer_prepare_run (PangoRenderer *renderer,
GTK_IS_TEXT_VIEW (crenderer->widget))
{
GtkCssNode *node;
GtkCssValue *value;
GtkCssStyle *style;
node = gtk_text_view_get_selection_node ((GtkTextView *)crenderer->widget);
value = gtk_css_node_get_style (node)->core->color;
fg_rgba = gtk_css_color_value_get_rgba (value);
style = gtk_css_node_get_style (node);
fg_rgba = gtk_css_color_value_get_rgba (style->core->color);
}
else if (crenderer->state == GSK_PANGO_RENDERER_CURSOR && gtk_widget_has_focus (crenderer->widget))
{
GtkCssNode *node;
GtkCssValue *value;
GtkCssStyle *style;
node = gtk_widget_get_css_node (crenderer->widget);
value = gtk_css_node_get_style (node)->background->background_color;
fg_rgba = gtk_css_color_value_get_rgba (value);
style = gtk_css_node_get_style (node);
fg_rgba = gtk_css_color_value_get_rgba (style->background->background_color);
}
else
fg_rgba = appearance->fg_rgba;
@@ -382,6 +391,15 @@ gsk_pango_renderer_prepare_run (PangoRenderer *renderer,
}
else
text_renderer_set_rgba (crenderer, PANGO_RENDER_PART_UNDERLINE, fg_rgba);
crenderer->shadow_style = NULL;
if (GTK_IS_TEXT_VIEW (crenderer->widget))
{
if (crenderer->state == GSK_PANGO_RENDERER_SELECTED)
crenderer->shadow_style = gtk_css_node_get_style (gtk_text_view_get_selection_node ((GtkTextView *)crenderer->widget));
else if (crenderer->state != GSK_PANGO_RENDERER_CURSOR)
crenderer->shadow_style = gtk_css_node_get_style (gtk_widget_get_css_node (crenderer->widget));
}
}
static void
@@ -439,6 +457,7 @@ gsk_pango_renderer_release (GskPangoRenderer *renderer)
{
renderer->widget = NULL;
renderer->snapshot = NULL;
renderer->shadow_style = NULL;
if (renderer->error_color)
{
+2
View File
@@ -20,6 +20,7 @@
#include <pango/pango.h>
#include "gtk/gtksnapshot.h"
#include "gtk/gtkcssstyleprivate.h"
G_BEGIN_DECLS
@@ -58,6 +59,7 @@ struct _GskPangoRenderer
GtkWidget *widget;
GtkSnapshot *snapshot;
const GdkRGBA *fg_color;
GtkCssStyle *shadow_style;
/* Error underline color for this widget */
GdkRGBA *error_color;
+3 -103
View File
@@ -74,10 +74,6 @@
* It is also possible to provide the menubar manually using
* [method@Gtk.Application.set_menubar].
*
* A custom 'Application' menu can be set using [method@Gtk.Application.set_app_menu].
* This is mainly relevant on macOS, where GTK will otherwise provide a standard
* app menu.
*
* `GtkApplication` will also automatically setup an icon search path for
* the default icon theme by appending "icons" to the resource base
* path. This allows your application to easily store its icons as
@@ -129,7 +125,6 @@ enum {
PROP_ZERO,
PROP_REGISTER_SESSION,
PROP_SCREENSAVER_ACTIVE,
PROP_APP_MENU,
PROP_MENUBAR,
PROP_ACTIVE_WINDOW,
NUM_PROPERTIES
@@ -144,7 +139,6 @@ typedef struct
GList *windows;
GMenuModel *app_menu;
GMenuModel *menubar;
guint last_window_id;
@@ -221,9 +215,6 @@ gtk_application_load_resources (GtkApplication *application)
{
GObject *menu;
menu = gtk_builder_get_object (priv->menus_builder, "app-menu");
if (menu != NULL && G_IS_MENU_MODEL (menu))
gtk_application_set_app_menu (application, G_MENU_MODEL (menu));
menu = gtk_builder_get_object (priv->menus_builder, "menubar");
if (menu != NULL && G_IS_MENU_MODEL (menu))
gtk_application_set_menubar (application, G_MENU_MODEL (menu));
@@ -447,10 +438,6 @@ gtk_application_get_property (GObject *object,
g_value_set_boolean (value, priv->screensaver_active);
break;
case PROP_APP_MENU:
g_value_set_object (value, gtk_application_get_app_menu (application));
break;
case PROP_MENUBAR:
g_value_set_object (value, gtk_application_get_menubar (application));
break;
@@ -480,10 +467,6 @@ gtk_application_set_property (GObject *object,
priv->register_session = g_value_get_boolean (value);
break;
case PROP_APP_MENU:
gtk_application_set_app_menu (application, g_value_get_object (value));
break;
case PROP_MENUBAR:
gtk_application_set_menubar (application, g_value_get_object (value));
break;
@@ -501,7 +484,6 @@ gtk_application_finalize (GObject *object)
GtkApplicationPrivate *priv = gtk_application_get_instance_private (application);
g_clear_object (&priv->menus_builder);
g_clear_object (&priv->app_menu);
g_clear_object (&priv->menubar);
g_clear_object (&priv->muxer);
g_clear_object (&priv->accels);
@@ -629,21 +611,6 @@ gtk_application_class_init (GtkApplicationClass *class)
FALSE,
G_PARAM_READABLE|G_PARAM_STATIC_STRINGS);
/**
* GtkApplication:app-menu: (attributes org.gtk.Property.get=gtk_application_get_app_menu org.gtk.Property.set=gtk_application_set_app_menu)
*
* The `GMenuModel` to be used for the application's app menu.
*
* This is mainly relevant on macOS, where GTK will provide a
* standard app menu, unless it is overwritten by setting this property.
*
* Since: 4.16
*/
gtk_application_props[PROP_APP_MENU] =
g_param_spec_object ("app-menu", NULL, NULL,
G_TYPE_MENU_MODEL,
G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS);
/**
* GtkApplication:menubar: (attributes org.gtk.Property.get=gtk_application_get_menubar org.gtk.Property.set=gtk_application_set_menubar)
*
@@ -866,75 +833,6 @@ gtk_application_update_accels (GtkApplication *application)
_gtk_window_notify_keys_changed (l->data);
}
/**
* gtk_application_set_app_menu:
* @application: a #GtkApplication
* @app_menu: (allow-none): a #GMenuModel, or %NULL
*
* Sets or unsets the application menu for @application.
*
* This can only be done in the primary instance of the application,
* after it has been registered. #GApplication::startup is a good place
* to call this.
*
* The application menu is a single menu containing items that typically
* impact the application as a whole, rather than acting on a specific
* window or document. For example, you would expect to see
* Preferences or Quit in an application menu, but not Save or
* Print.
*
* If supported, the application menu will be rendered by the desktop
* environment.
*
* Use the base #GActionMap interface to add actions, to respond to the user
* selecting these menu items.
*
* Note that setting an app menu is mainly relevant on macOS, where GTK
* provides a standard app menu unless overwritten by this function.
*
* Since: 4.16
*/
void
gtk_application_set_app_menu (GtkApplication *application,
GMenuModel *app_menu)
{
GtkApplicationPrivate *priv = gtk_application_get_instance_private (application);
g_return_if_fail (GTK_IS_APPLICATION (application));
g_return_if_fail (g_application_get_is_registered (G_APPLICATION (application)));
g_return_if_fail (!g_application_get_is_remote (G_APPLICATION (application)));
g_return_if_fail (app_menu == NULL || G_IS_MENU_MODEL (app_menu));
if (g_set_object (&priv->app_menu, app_menu))
{
gtk_application_impl_set_app_menu (priv->impl, app_menu);
g_object_notify_by_pspec (G_OBJECT (application), gtk_application_props[PROP_APP_MENU]
);
}
}
/**
* gtk_application_get_app_menu:
* @application: a #GtkApplication
*
* Returns the menu model that has been set with gtk_application_set_app_menu().
*
* Returns: (transfer none) (nullable): the application menu of @application
* or %NULL if no application menu has been set.
*
* Since: 4.16
*/
GMenuModel *
gtk_application_get_app_menu (GtkApplication *application)
{
GtkApplicationPrivate *priv = gtk_application_get_instance_private (application);
g_return_val_if_fail (GTK_IS_APPLICATION (application), NULL);
return priv->app_menu;
}
/**
* gtk_application_set_menubar: (attributes org.gtk.Method.set_property=menubar)
* @application: a `GtkApplication`
@@ -1092,11 +990,13 @@ GtkActionMuxer *
gtk_application_get_parent_muxer_for_window (GtkWindow *window)
{
GtkApplication *application = gtk_window_get_application (window);
GtkApplicationPrivate *priv = gtk_application_get_instance_private (application);
GtkApplicationPrivate *priv;
if (!application)
return NULL;
priv = gtk_application_get_instance_private (application);
return priv->muxer;
}
-6
View File
@@ -84,12 +84,6 @@ void gtk_application_remove_window (GtkApplication *application,
GDK_AVAILABLE_IN_ALL
GList * gtk_application_get_windows (GtkApplication *application);
GDK_AVAILABLE_IN_4_16
GMenuModel * gtk_application_get_app_menu (GtkApplication *application);
GDK_AVAILABLE_IN_4_16
void gtk_application_set_app_menu (GtkApplication *application,
GMenuModel *app_menu);
GDK_AVAILABLE_IN_ALL
GMenuModel * gtk_application_get_menubar (GtkApplication *application);
GDK_AVAILABLE_IN_ALL
+3 -1
View File
@@ -1006,7 +1006,7 @@ gtk_check_button_set_group (GtkCheckButton *self,
GtkCheckButton *group)
{
GtkCheckButtonPrivate *priv = gtk_check_button_get_instance_private (self);
GtkCheckButtonPrivate *group_priv = gtk_check_button_get_instance_private (group);
GtkCheckButtonPrivate *group_priv;
g_return_if_fail (GTK_IS_CHECK_BUTTON (self));
g_return_if_fail (self != group);
@@ -1037,6 +1037,8 @@ gtk_check_button_set_group (GtkCheckButton *self,
if (priv->group_next == group)
return;
group_priv = gtk_check_button_get_instance_private (group);
priv->group_prev = NULL;
if (group_priv->group_prev)
{
+61 -11
View File
@@ -541,9 +541,9 @@ match_any (const GtkCssSelector *selector,
#undef GTK_CSS_CHANGE_ANY
#define GTK_CSS_CHANGE_ANY 0
DEFINE_SIMPLE_SELECTOR(any, ANY, print_any, match_any,
gtk_css_selector_default_hash_one, gtk_css_selector_default_compare_one,
FALSE, FALSE, FALSE, TRUE)
DEFINE_SIMPLE_SELECTOR (any, ANY, print_any, match_any,
gtk_css_selector_default_hash_one, gtk_css_selector_default_compare_one,
FALSE, FALSE, FALSE, TRUE)
#undef GTK_CSS_CHANGE_ANY
/* NAME */
@@ -575,7 +575,7 @@ comp_name (const GtkCssSelector *a,
return a->name.name - b->name.name;
}
DEFINE_SIMPLE_SELECTOR(name, NAME, print_name, match_name, hash_name, comp_name, FALSE, FALSE, TRUE, FALSE)
DEFINE_SIMPLE_SELECTOR (name, NAME, print_name, match_name, hash_name, comp_name, FALSE, FALSE, TRUE, FALSE)
/* CLASS */
@@ -612,7 +612,7 @@ comp_class (const GtkCssSelector *a,
return 0;
}
DEFINE_SIMPLE_SELECTOR(class, CLASS, print_class, match_class, hash_class, comp_class, FALSE, TRUE, FALSE, FALSE)
DEFINE_SIMPLE_SELECTOR (class, CLASS, print_class, match_class, hash_class, comp_class, FALSE, TRUE, FALSE, FALSE)
/* ID */
@@ -644,7 +644,7 @@ comp_id (const GtkCssSelector *a,
return a->id.name - b->id.name;
}
DEFINE_SIMPLE_SELECTOR(id, ID, print_id, match_id, hash_id, comp_id, TRUE, FALSE, FALSE, FALSE)
DEFINE_SIMPLE_SELECTOR (id, ID, print_id, match_id, hash_id, comp_id, TRUE, FALSE, FALSE, FALSE)
/* PSEUDOCLASS FOR STATE */
static void
@@ -700,8 +700,8 @@ change_pseudoclass_state (const GtkCssSelector *selector)
}
#define GTK_CSS_CHANGE_PSEUDOCLASS_STATE change_pseudoclass_state (selector)
DEFINE_SIMPLE_SELECTOR(pseudoclass_state, PSEUDOCLASS_STATE, print_pseudoclass_state,
match_pseudoclass_state, hash_pseudoclass_state, comp_pseudoclass_state,
DEFINE_SIMPLE_SELECTOR (pseudoclass_state, PSEUDOCLASS_STATE, print_pseudoclass_state,
match_pseudoclass_state, hash_pseudoclass_state, comp_pseudoclass_state,
FALSE, TRUE, FALSE, TRUE)
#undef GTK_CSS_CHANGE_PSEUDOCLASS_STATE
@@ -888,10 +888,52 @@ change_pseudoclass_position (const GtkCssSelector *selector)
}
#define GTK_CSS_CHANGE_PSEUDOCLASS_POSITION change_pseudoclass_position(selector)
DEFINE_SIMPLE_SELECTOR(pseudoclass_position, PSEUDOCLASS_POSITION, print_pseudoclass_position,
match_pseudoclass_position, hash_pseudoclass_position, comp_pseudoclass_position,
FALSE, TRUE, FALSE, TRUE)
DEFINE_SIMPLE_SELECTOR (pseudoclass_position, PSEUDOCLASS_POSITION, print_pseudoclass_position,
match_pseudoclass_position, hash_pseudoclass_position, comp_pseudoclass_position,
FALSE, TRUE, FALSE, TRUE)
#undef GTK_CSS_CHANGE_PSEUDOCLASS_POSITION
/* PSEUDOCLASS FOR ROOT */
static void
print_pseudoclass_root (const GtkCssSelector *selector,
GString *string)
{
g_string_append (string, ":root");
}
static gboolean
match_pseudoclass_root (const GtkCssSelector *selector,
GtkCssNode *node)
{
return gtk_css_node_get_parent (node) == NULL;
}
static guint
hash_pseudoclass_root (const GtkCssSelector *selector)
{
return GPOINTER_TO_UINT (selector->class);
}
static int
comp_pseudoclass_root (const GtkCssSelector *a,
const GtkCssSelector *b)
{
return 0;
}
static GtkCssChange
change_pseudoclass_root (const GtkCssSelector *selector)
{
return 0;
}
#define GTK_CSS_CHANGE_PSEUDOCLASS_ROOT change_pseudoclass_root(selector)
DEFINE_SIMPLE_SELECTOR (pseudoclass_root, PSEUDOCLASS_ROOT, print_pseudoclass_root,
match_pseudoclass_root, hash_pseudoclass_root, comp_pseudoclass_root,
FALSE, TRUE, FALSE, TRUE)
#undef GTK_CSS_CHANGE_PSEUDOCLASS_ROOT
/* API */
static guint
@@ -1267,6 +1309,7 @@ gtk_css_selector_parse_selector_pseudo_class (GtkCssParser *parser,
PositionType position_type;
int position_a;
int position_b;
gboolean is_root;
} pseudo_classes[] = {
{ "first-child", 0, POSITION_FORWARD, 0, 1 },
{ "last-child", 0, POSITION_BACKWARD, 0, 1 },
@@ -1283,6 +1326,7 @@ gtk_css_selector_parse_selector_pseudo_class (GtkCssParser *parser,
{ "checked", GTK_STATE_FLAG_CHECKED, },
{ "focus-visible", GTK_STATE_FLAG_FOCUS_VISIBLE, },
{ "focus-within", GTK_STATE_FLAG_FOCUS_WITHIN, },
{ "root", 0, 0, 0, 0, TRUE },
};
guint i;
@@ -1297,6 +1341,12 @@ gtk_css_selector_parse_selector_pseudo_class (GtkCssParser *parser,
selector);
selector->state.state = pseudo_classes[i].state_flag;
}
else if (pseudo_classes[i].is_root)
{
selector = gtk_css_selector_new (negate ? &GTK_CSS_SELECTOR_NOT_PSEUDOCLASS_ROOT
: &GTK_CSS_SELECTOR_PSEUDOCLASS_ROOT,
selector);
}
else
{
selector = gtk_css_selector_new (negate ? &GTK_CSS_SELECTOR_NOT_PSEUDOCLASS_POSITION
-8
View File
@@ -1862,14 +1862,6 @@ typedef enum { /*< prefix=GTK_POPOVER_MENU >*/
* Values for the [property@Gtk.Settings:gtk-font-rendering] setting
* that influence how GTK renders fonts.
*
* The @GTK_FONT_RENDERING_AUTOMATIC value allows GTK to disregard the
* low-level font-related settings:
* [property@Gtk.Settings:gtk-hint-font-metrics],
* [property@Gtk.Settings:gtk-xft-antialias],
* [property@Gtk.Settings:gtk-xft-hinting],
* [property@Gtk.Settings:gtk-xft-hintstyle] and
* [property@Gtk.Settings:gtk-xft-rgba].
*
* Since: 4.16
*/
typedef enum {
+3 -2
View File
@@ -226,7 +226,8 @@ gtk_graphics_offload_snapshot (GtkWidget *widget,
gtk_widget_get_width (widget),
gtk_widget_get_height (widget)));
gtk_widget_snapshot_child (widget, self->child, snapshot);
if (self->child)
gtk_widget_snapshot_child (widget, self->child, snapshot);
if (self->subsurface)
gtk_snapshot_pop (snapshot);
@@ -292,7 +293,7 @@ gtk_graphics_offload_class_init (GtkGraphicsOffloadClass *class)
*
* Creates a new GtkGraphicsOffload widget.
*
* Returns: (transfer full): the new widget
* Returns: the new widget
*
* Since: 4.14
*/
+1 -1
View File
@@ -637,7 +637,7 @@ resource_is_pixdata (const char *resource_path)
if (data_size < sizeof(guint32))
goto out;
magic = (stream[0] << 24) + (stream[1] << 16) + (stream[2] << 8) + stream[3];
magic = (((guint32)(stream[0])) << 24) | (((guint32)(stream[1])) << 16) | (((guint32)(stream[2])) << 8) | (guint32)(stream[3]);
if (magic == GDK_PIXBUF_MAGIC_NUMBER)
ret = TRUE;
+1 -1
View File
@@ -185,7 +185,7 @@ quartz_filter_keypress (GtkIMContext *context,
keyval = gdk_key_event_get_keyval (event);
keycode = gdk_key_event_get_keycode (event);
NSEvent *nsevent = _gdk_macos_display_get_nsevent ((GdkEvent *)event);
NSEvent *nsevent = _gdk_macos_display_get_matching_nsevent ((GdkEvent *)event);
if (!nsevent)
{
+2 -2
View File
@@ -586,7 +586,7 @@ gtk_list_factory_widget_set_activatable (GtkListFactoryWidget *self,
else
gtk_widget_remove_css_class (GTK_WIDGET (self), "activatable");
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_SINGLE_CLICK_ACTIVATE]);
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_ACTIVATABLE]);
}
gboolean
@@ -608,7 +608,7 @@ gtk_list_factory_widget_set_selectable (GtkListFactoryWidget *self,
priv->selectable = selectable;
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_SINGLE_CLICK_ACTIVATE]);
g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_SELECTABLE]);
}
gboolean
+13
View File
@@ -123,6 +123,14 @@ gtk_list_item_widget_setup_object (GtkListFactoryWidget *fw,
gtk_list_factory_widget_set_selectable (fw, list_item->selectable);
gtk_widget_set_focusable (GTK_WIDGET (self), list_item->focusable);
if (list_item->selectable)
gtk_accessible_update_state (GTK_ACCESSIBLE (self),
GTK_ACCESSIBLE_STATE_SELECTED, FALSE,
-1);
else
gtk_accessible_reset_state (GTK_ACCESSIBLE (self),
GTK_ACCESSIBLE_STATE_SELECTED);
gtk_accessible_update_property (GTK_ACCESSIBLE (self),
GTK_ACCESSIBLE_PROPERTY_LABEL, list_item->accessible_label,
GTK_ACCESSIBLE_PROPERTY_DESCRIPTION, list_item->accessible_description,
@@ -176,6 +184,11 @@ gtk_list_item_widget_update_object (GtkListFactoryWidget *fw,
/* Track notify manually instead of freeze/thaw_notify for performance reasons. */
gboolean notify_item = FALSE, notify_position = FALSE, notify_selected = FALSE;
if (list_item->selectable)
gtk_accessible_update_state (GTK_ACCESSIBLE (self),
GTK_ACCESSIBLE_STATE_SELECTED, selected,
-1);
/* FIXME: It's kinda evil to notify external objects from here... */
notify_item = gtk_list_item_base_get_item (base) != item;
notify_position = gtk_list_item_base_get_position (base) != position;
+10 -1
View File
@@ -73,7 +73,7 @@
* utilities that let the user change these settings.
*
* On Wayland, the settings are obtained either via a settings portal,
* or by reading desktop settings from DConf.
* or by reading desktop settings from [class@Gio.Settings].
*
* On macOS, the settings are obtained from `NSUserDefaults`.
*
@@ -961,6 +961,15 @@ gtk_settings_class_init (GtkSettingsClass *class)
*
* How GTK font rendering is set up.
*
* When set to [enum@Gtk.FontRendering.MANUAL], GTK respects the low-level
* font-related settings ([property@Gtk.Settings:gtk-hint-font-metrics],
* [property@Gtk.Settings:gtk-xft-antialias], [property@Gtk.Settings:gtk-xft-hinting],
* [property@Gtk.Settings:gtk-xft-hintstyle] and [property@Gtk.Settings:gtk-xft-rgba])
* as much as practical.
*
* When set to [enum@Gtk.FontRendering.AUTOMATIC], GTK will consider factors such
* as screen resolution and scale in deciding how to render fonts.
*
* Since: 4.16
*/
pspecs[PROP_FONT_RENDERING] = g_param_spec_enum ("gtk-font-rendering", NULL, NULL,
+3 -1
View File
@@ -511,7 +511,7 @@ gtk_toggle_button_set_group (GtkToggleButton *toggle_button,
GtkToggleButton *group)
{
GtkToggleButtonPrivate *priv = gtk_toggle_button_get_instance_private (toggle_button);
GtkToggleButtonPrivate *group_priv = gtk_toggle_button_get_instance_private (group);
GtkToggleButtonPrivate *group_priv;
g_return_if_fail (GTK_IS_TOGGLE_BUTTON (toggle_button));
g_return_if_fail (toggle_button != group);
@@ -538,6 +538,8 @@ gtk_toggle_button_set_group (GtkToggleButton *toggle_button,
if (priv->group_next == group)
return;
group_priv = gtk_toggle_button_get_instance_private (group);
priv->group_prev = NULL;
if (group_priv->group_prev)
{
+10 -9
View File
@@ -5835,19 +5835,20 @@ gtk_window_is_active (GtkWindow *window)
GtkWindowGroup *
gtk_window_get_group (GtkWindow *window)
{
GtkWindowPrivate *priv = gtk_window_get_instance_private (window);
static GtkWindowGroup *default_group = NULL;
if (window && priv->group)
return priv->group;
else
if (window)
{
static GtkWindowGroup *default_group = NULL;
GtkWindowPrivate *priv = gtk_window_get_instance_private (window);
if (!default_group)
default_group = gtk_window_group_new ();
return default_group;
if (priv->group)
return priv->group;
}
if (!default_group)
default_group = gtk_window_group_new ();
return default_group;
}
/**
+1 -1
View File
@@ -936,7 +936,7 @@ property_editor (GObject *object,
G_PARAM_SPEC_INT (spec)->minimum,
G_PARAM_SPEC_INT (spec)->maximum,
1,
MAX ((G_PARAM_SPEC_INT (spec)->maximum - G_PARAM_SPEC_INT (spec)->minimum) / 10, 1),
MAX ((((double) G_PARAM_SPEC_INT (spec)->maximum - (double)G_PARAM_SPEC_INT (spec)->minimum)) / 10, 1),
0.0);
prop_edit = gtk_spin_button_new (adj, 1.0, 0);
+5 -3
View File
@@ -10513,7 +10513,8 @@ bool ra_overwrite(const roaring_array_t *source, roaring_array_t *dest,
}
}
dest->size = source->size;
memcpy(dest->keys, source->keys, dest->size * sizeof(uint16_t));
if (dest->size > 0)
memcpy(dest->keys, source->keys, dest->size * sizeof(uint16_t));
// we go through the containers, turning them into shared containers...
if (copy_on_write) {
for (int32_t i = 0; i < dest->size; ++i) {
@@ -10526,8 +10527,9 @@ bool ra_overwrite(const roaring_array_t *source, roaring_array_t *dest,
memcpy(dest->typecodes, source->typecodes,
dest->size * sizeof(uint8_t));
} else {
memcpy(dest->typecodes, source->typecodes,
dest->size * sizeof(uint8_t));
if (dest->size > 0)
memcpy(dest->typecodes, source->typecodes,
dest->size * sizeof(uint8_t));
for (int32_t i = 0; i < dest->size; i++) {
dest->containers[i] =
container_clone(source->containers[i], source->typecodes[i]);
-2
View File
@@ -3,8 +3,6 @@ leak:xdg_mime_init
leak:libfontconfig.so
leak:libEGL_mesa.so
leak:iris_dri.so
leak:libglib-2.0.so
leak:libgio-2.0.so
leak:libcairo.so
leak:libpixman-1.so
leak:librsvg-2.so
+1 -1
View File
@@ -16,7 +16,7 @@ fi
meson subprojects update gi-docgen
# make the release tarball
meson setup -Dintrospection=enabled -Dgtk_doc=true --force-fallback-for gi-docgen ${release_build_dir} || exit
meson setup -Dintrospection=enabled -Ddocumentation=true --force-fallback-for gi-docgen ${release_build_dir} || exit
meson compile -C${release_build_dir} || exit
meson dist -C${release_build_dir} --include-subprojects || exit
+1 -1
View File
@@ -1,5 +1,5 @@
project('gtk', 'c',
version: '4.15.0',
version: '4.15.1',
default_options: [
'buildtype=debugoptimized',
'warning_level=1',
-23
View File
@@ -93,23 +93,11 @@ option('documentation',
value: false,
description : 'Build API reference and tools documentation')
option('gtk_doc',
type: 'boolean',
value: false,
description : 'Build API reference and tools documentation',
deprecated: 'documentation')
option('screenshots',
type: 'boolean',
value: false,
description : 'Regenerate screenshots for the documentation')
option('update_screenshots',
type: 'boolean',
value: false,
description : 'Regenerate screenshots for the documentation',
deprecated: 'screenshots')
option('man-pages',
type: 'boolean',
value: false,
@@ -117,12 +105,6 @@ option('man-pages',
# Demos, examples and tests
option('demo-profile',
type: 'combo',
choices: [ 'auto', 'default', 'devel' ],
value: 'auto',
deprecated: 'profile')
option('profile',
type: 'combo',
choices: [ 'auto', 'default', 'devel' ],
@@ -134,11 +116,6 @@ option('build-demos',
value: true,
description : 'Build demo programs')
option('demos',
type: 'boolean',
value: true,
deprecated: 'build-demos')
option('build-testsuite',
type: 'boolean',
value: true,
+9 -4
View File
@@ -72,14 +72,17 @@ GST_DEBUG_CATEGORY (gtk_debug_gst_sink);
#define NOGL_CAPS GST_VIDEO_CAPS_MAKE (FORMATS)
#ifdef HAVE_GSTREAMER_DRM
# define GST_VIDEO_DMA_DRM_CAPS_MAKE_STR GST_VIDEO_DMA_DRM_CAPS_MAKE "; "
#else
# define GST_VIDEO_DMA_DRM_CAPS_MAKE_STR
#endif
static GstStaticPadTemplate gtk_gst_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
GST_STATIC_CAPS (
#ifdef HAVE_GSTREAMER_DRM
GST_VIDEO_DMA_DRM_CAPS_MAKE "; "
#endif
GST_STATIC_CAPS (GST_VIDEO_DMA_DRM_CAPS_MAKE_STR
"video/x-raw(" GST_CAPS_FEATURE_MEMORY_GL_MEMORY "), "
"format = (string) RGBA, "
"width = " GST_VIDEO_SIZE_RANGE ", "
@@ -89,6 +92,8 @@ GST_STATIC_PAD_TEMPLATE ("sink",
"; " NOGL_CAPS)
);
#undef GST_VIDEO_DMA_DRM_CAPS_MAKE_STR
G_DEFINE_TYPE_WITH_CODE (GtkGstSink, gtk_gst_sink,
GST_TYPE_VIDEO_SINK,
GST_DEBUG_CATEGORY_INIT (gtk_debug_gst_sink,
+1
View File
@@ -141,6 +141,7 @@ testsuite/css/style/font.ui
testsuite/css/style/inherit.ui
testsuite/css/style/label.ui
testsuite/css/style/nth-child.ui
testsuite/css/style/root.ui
testsuite/gtk/filechooser.c
testsuite/gtk/focus-chain/widget-factory2.ui
testsuite/gtk/focus-chain/widget-factory3.ui
+178 -146
View File
@@ -14,8 +14,8 @@ msgid ""
msgstr ""
"Project-Id-Version: gtk+\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gtk/-/issues/\n"
"POT-Creation-Date: 2024-03-09 18:21+0000\n"
"PO-Revision-Date: 2024-03-10 23:13+0900\n"
"POT-Creation-Date: 2024-04-09 09:56+0000\n"
"PO-Revision-Date: 2024-04-09 23:28+0900\n"
"Last-Translator: Changwoo Ryu <cwryu@debian.org>\n"
"Language-Team: Gnome Korea <gnome-kr@googlegroups.com>\n"
"Language: ko\n"
@@ -38,7 +38,7 @@ msgstr "이 클립보드는 데이터를 저장할 수 없습니다."
msgid "Cannot read from empty clipboard."
msgstr "빈 클립보드에서는 읽을 수 없습니다."
#: gdk/gdkclipboard.c:318 gdk/gdkclipboard.c:1136 gdk/gdkdrag.c:618
#: gdk/gdkclipboard.c:318 gdk/gdkclipboard.c:1136 gdk/gdkdrag.c:606
msgid "No compatible formats to transfer clipboard contents."
msgstr "클립보드 내용을 전달할 호환 형식이 없습니다."
@@ -53,11 +53,11 @@ msgstr "내용을 “%s”(으)로 제공할 수 없습니다"
msgid "Cannot provide contents as %s"
msgstr "내용을 %s(으)로 제공할 수 없습니다"
#: gdk/gdkdisplay.c:176 gdk/gdkglcontext.c:459
#: gdk/gdkdisplay.c:176 gdk/gdkglcontext.c:464
msgid "The current backend does not support OpenGL"
msgstr "현재 백엔드가 OpenGL을 지원하지 않습니다"
#: gdk/gdkdisplay.c:1315 gdk/gdkvulkancontext.c:1601
#: gdk/gdkdisplay.c:1315 gdk/gdkvulkancontext.c:1600
msgid "Vulkan support disabled via GDK_DEBUG"
msgstr "GDK_DEBUG를 통해 Vulkan 기능을 사용하지 않습니다"
@@ -65,45 +65,45 @@ msgstr "GDK_DEBUG를 통해 Vulkan 기능을 사용하지 않습니다"
msgid "GL support disabled via GDK_DEBUG"
msgstr "GDK_DEBUG를 통해 GL 기능을 사용하지 않습니다"
#: gdk/gdkdisplay.c:1665
#: gdk/gdkdisplay.c:1675
msgid "No EGL configuration available"
msgstr "사용할 수 있는 EGL 설정이 없습니다"
#: gdk/gdkdisplay.c:1673
#: gdk/gdkdisplay.c:1683
msgid "Failed to get EGL configurations"
msgstr "EGL 설정을 가져오는데 실패했습니다"
#: gdk/gdkdisplay.c:1703
#: gdk/gdkdisplay.c:1713
msgid "No EGL configuration with required features found"
msgstr "필요한 기능이 들어 있는 EGL 설정이 없습니다"
#: gdk/gdkdisplay.c:1710
#: gdk/gdkdisplay.c:1720
msgid "No perfect EGL configuration found"
msgstr "완전한 EGL 설정이 없습니다"
#: gdk/gdkdisplay.c:1752
#: gdk/gdkdisplay.c:1762
#, c-format
msgid "EGL implementation is missing extension %s"
msgid_plural "EGL implementation is missing %2$d extensions: %1$s"
msgstr[0] "EGL 구현에 %2$d개 확장이 빠졌습니다: %1$s"
#: gdk/gdkdisplay.c:1801
#: gdk/gdkdisplay.c:1811
msgid "libEGL not available in this sandbox"
msgstr "이 샌드박스에서 libEGL을 사용할 수 없습니다"
#: gdk/gdkdisplay.c:1802
#: gdk/gdkdisplay.c:1812
msgid "libEGL not available"
msgstr "libEGL을 사용할 수 없습니다"
#: gdk/gdkdisplay.c:1812
#: gdk/gdkdisplay.c:1822
msgid "Failed to create EGL display"
msgstr "EGL 디스플레이를 만들 수 없습니다"
#: gdk/gdkdisplay.c:1821
#: gdk/gdkdisplay.c:1831
msgid "Could not initialize EGL display"
msgstr "EGL 디스플레이를 초기화할 수 없습니다"
#: gdk/gdkdisplay.c:1831
#: gdk/gdkdisplay.c:1841
#, c-format
msgid "EGL version %d.%d is too old. GTK requires %d.%d"
msgstr "EGL %d.%d 버전은 너무 오래 되었습니다. GTK는 %d.%d 버전이 필요합니다."
@@ -116,32 +116,32 @@ msgstr "다른 프로그램에서 드래그앤드롭은 지원하지 않습니
msgid "No compatible formats to transfer contents."
msgstr "내용을 전달할 호환 형식이 없습니다."
#: gdk/gdkglcontext.c:419 gdk/x11/gdkglcontext-glx.c:645
#: gdk/gdkglcontext.c:424 gdk/x11/gdkglcontext-glx.c:645
msgid "No GL API allowed."
msgstr "GL API를 허용하지 않습니다."
#: gdk/gdkglcontext.c:442 gdk/win32/gdkglcontext-win32-wgl.c:395
#: gdk/gdkglcontext.c:447 gdk/win32/gdkglcontext-win32-wgl.c:395
#: gdk/win32/gdkglcontext-win32-wgl.c:538
#: gdk/win32/gdkglcontext-win32-wgl.c:582 gdk/x11/gdkglcontext-glx.c:691
msgid "Unable to create a GL context"
msgstr "GL 컨텍스트를 만들 수 없습니다"
#: gdk/gdkglcontext.c:1304
#: gdk/gdkglcontext.c:1310
msgid "OpenGL ES disabled via GDK_DEBUG"
msgstr "GDK_DEBUG를 통해 OpenGL ES를 사용하지 않습니다"
#: gdk/gdkglcontext.c:1316
#: gdk/gdkglcontext.c:1322
msgid "OpenGL disabled via GDK_DEBUG"
msgstr "GDK_DEBUG를 통해 OpenGL을 사용하지 않습니다"
#: gdk/gdkglcontext.c:1327
#: gdk/gdkglcontext.c:1333
#, c-format
msgid "Application does not support %s API"
msgstr "프로그램이 %s API를 지원하지 않습니다"
#. translators: This is about OpenGL backend names, like
#. * "Trying to use X11 GLX, but EGL is already in use"
#: gdk/gdkglcontext.c:2113
#: gdk/gdkglcontext.c:2123
#, c-format
msgid "Trying to use %s, but %s is already in use"
msgstr "%s 백엔드 사용을 시도했지만, 이미 %s 백엔드를 사용 중입니다"
@@ -1127,7 +1127,7 @@ msgid "Pick a Font"
msgstr "글꼴 고르기"
#: gtk/deprecated/gtkfontbutton.c:600 gtk/gtkfilechooserwidget.c:3815
#: gtk/gtkfontdialogbutton.c:126 gtk/inspector/visual.ui:169
#: gtk/gtkfontdialogbutton.c:126 gtk/inspector/visual.ui:285
msgid "Font"
msgstr "글꼴"
@@ -2391,7 +2391,7 @@ msgid "If you delete an item, it will be permanently lost."
msgstr "삭제하면 영구히 잃어버리게 됩니다."
#: gtk/gtkfilechooserwidget.c:1188 gtk/gtkfilechooserwidget.c:1786
#: gtk/gtklabel.c:5711 gtk/gtktext.c:6193 gtk/gtktextview.c:9079
#: gtk/gtklabel.c:5712 gtk/gtktext.c:6194 gtk/gtktextview.c:9099
msgid "_Delete"
msgstr "삭제(_D)"
@@ -2731,31 +2731,31 @@ msgstr "닫기"
msgid "Close the infobar"
msgstr "정보 창을 닫습니다"
#: gtk/gtklabel.c:5708 gtk/gtktext.c:6181 gtk/gtktextview.c:9067
#: gtk/gtklabel.c:5709 gtk/gtktext.c:6182 gtk/gtktextview.c:9087
msgid "Cu_t"
msgstr "잘라내기(_T)"
#: gtk/gtklabel.c:5709 gtk/gtktext.c:6185 gtk/gtktextview.c:9071
#: gtk/gtklabel.c:5710 gtk/gtktext.c:6186 gtk/gtktextview.c:9091
msgid "_Copy"
msgstr "복사(_C)"
#: gtk/gtklabel.c:5710 gtk/gtktext.c:6189 gtk/gtktextview.c:9075
#: gtk/gtklabel.c:5711 gtk/gtktext.c:6190 gtk/gtktextview.c:9095
msgid "_Paste"
msgstr "붙여넣기(_P)"
#: gtk/gtklabel.c:5716 gtk/gtktext.c:6202 gtk/gtktextview.c:9100
#: gtk/gtklabel.c:5717 gtk/gtktext.c:6203 gtk/gtktextview.c:9120
msgid "Select _All"
msgstr "모두 선택(_A)"
#: gtk/gtklabel.c:5721
#: gtk/gtklabel.c:5722
msgid "_Open Link"
msgstr "링크 열기(_O)"
#: gtk/gtklabel.c:5725
#: gtk/gtklabel.c:5726
msgid "Copy _Link Address"
msgstr "링크 주소 복사(_L)"
#: gtk/gtklabel.c:5769 gtk/gtktext.c:2724 gtk/gtktextview.c:9149
#: gtk/gtklabel.c:5770 gtk/gtktext.c:2723 gtk/gtktextview.c:9169
msgid "Context menu"
msgstr "컨텍스트 메뉴"
@@ -3450,7 +3450,7 @@ msgstr "용지 부족"
#. Translators: this is a printer status.
#: gtk/print/gtkprintoperation-win32.c:640
#: modules/printbackends/gtkprintbackendcpdb.c:1528
#: modules/printbackends/gtkprintbackendcpdb.c:1533
#: modules/printbackends/gtkprintbackendcups.c:2639
msgid "Paused"
msgstr "일시 정지"
@@ -3522,42 +3522,42 @@ msgstr "프린터 정보를 받는 중입니다…"
#. * multiple pages on a sheet when printing
#.
#: gtk/print/gtkprintunixdialog.c:2753
#: modules/printbackends/gtkprintbackendcups.c:5645
#: modules/printbackends/gtkprintbackendcups.c:5677
msgid "Left to right, top to bottom"
msgstr "왼쪽에서 오른쪽, 위에서 아래"
#: gtk/print/gtkprintunixdialog.c:2753
#: modules/printbackends/gtkprintbackendcups.c:5645
#: modules/printbackends/gtkprintbackendcups.c:5677
msgid "Left to right, bottom to top"
msgstr "왼쪽에서 오른쪽, 아래에서 위"
#: gtk/print/gtkprintunixdialog.c:2754
#: modules/printbackends/gtkprintbackendcups.c:5646
#: modules/printbackends/gtkprintbackendcups.c:5678
msgid "Right to left, top to bottom"
msgstr "오른쪽에서 왼쪽, 위에서 아래"
#: gtk/print/gtkprintunixdialog.c:2754
#: modules/printbackends/gtkprintbackendcups.c:5646
#: modules/printbackends/gtkprintbackendcups.c:5678
msgid "Right to left, bottom to top"
msgstr "오른쪽에서 왼쪽, 아래에서 위"
#: gtk/print/gtkprintunixdialog.c:2755
#: modules/printbackends/gtkprintbackendcups.c:5647
#: modules/printbackends/gtkprintbackendcups.c:5679
msgid "Top to bottom, left to right"
msgstr "위에서 아래, 왼쪽에서 오른쪽"
#: gtk/print/gtkprintunixdialog.c:2755
#: modules/printbackends/gtkprintbackendcups.c:5647
#: modules/printbackends/gtkprintbackendcups.c:5679
msgid "Top to bottom, right to left"
msgstr "위에서 아래, 오른쪽에서 왼쪽"
#: gtk/print/gtkprintunixdialog.c:2756
#: modules/printbackends/gtkprintbackendcups.c:5648
#: modules/printbackends/gtkprintbackendcups.c:5680
msgid "Bottom to top, left to right"
msgstr "아래에서 위, 왼쪽에서 오른쪽"
#: gtk/print/gtkprintunixdialog.c:2756
#: modules/printbackends/gtkprintbackendcups.c:5648
#: modules/printbackends/gtkprintbackendcups.c:5680
msgid "Bottom to top, right to left"
msgstr "아래에서 위, 오른쪽에서 왼쪽"
@@ -3696,15 +3696,15 @@ msgid "Sidebar"
msgstr "가장자리창"
# 키보드에 써 있는 단어이므로 번역하지 않는다
#: gtk/gtktext.c:6207 gtk/gtktextview.c:9105
#: gtk/gtktext.c:6208 gtk/gtktextview.c:9125
msgid "Insert _Emoji"
msgstr "에모지 입력(_E)"
#: gtk/gtktextview.c:9087
#: gtk/gtktextview.c:9107
msgid "_Undo"
msgstr "입력 취소(_U)"
#: gtk/gtktextview.c:9091
#: gtk/gtktextview.c:9111
msgid "_Redo"
msgstr "다시 실행(_R)"
@@ -3932,7 +3932,7 @@ msgctxt "Vulkan version"
msgid "None"
msgstr "없음"
#: gtk/inspector/general.c:923
#: gtk/inspector/general.c:924
msgid "IM Context is hardcoded by GTK_IM_MODULE"
msgstr "IM 컨텍스트가 GTK_IM_MODULE에 따라 하드 코딩되어 있습니다"
@@ -4119,7 +4119,7 @@ msgstr "프레임 수"
msgid "Frame Rate"
msgstr "초당 프레임"
#: gtk/inspector/misc-info.ui:527
#: gtk/inspector/misc-info.ui:527 gtk/inspector/visual.ui:315
msgid "Scale"
msgstr "크기 조정"
@@ -4381,7 +4381,7 @@ msgstr "계층 구조"
msgid "Implements"
msgstr "구현"
#: gtk/inspector/visual.c:672 gtk/inspector/visual.c:691
#: gtk/inspector/visual.c:765 gtk/inspector/visual.c:784
msgid "Theme is hardcoded by GTK_THEME"
msgstr "테마가 GTK_THEME으로 하드 코딩되어 있습니다"
@@ -4405,85 +4405,113 @@ msgstr "커서 크기"
msgid "Icon Theme"
msgstr "아이콘 테마"
#: gtk/inspector/visual.ui:199
msgid "Font Scale"
msgstr "글꼴 크기 조정"
#: gtk/inspector/visual.ui:244
#: gtk/inspector/visual.ui:169
msgid "Text Direction"
msgstr "글자 방향"
#: gtk/inspector/visual.ui:259
#: gtk/inspector/visual.ui:184
msgid "Left-to-Right"
msgstr "왼쪽에서 오른쪽으로"
#: gtk/inspector/visual.ui:260
#: gtk/inspector/visual.ui:185
msgid "Right-to-Left"
msgstr "오른쪽에서 왼쪽으로"
#: gtk/inspector/visual.ui:277
#: gtk/inspector/visual.ui:202
msgid "Animations"
msgstr "애니메이션"
#: gtk/inspector/visual.ui:302
#: gtk/inspector/visual.ui:227
msgid "Slowdown"
msgstr "감속"
#: gtk/inspector/visual.ui:356
#: gtk/inspector/visual.ui:362
msgid "Antialiasing"
msgstr "안티앨리어싱"
#: gtk/inspector/visual.ui:387
msgid "Hinting"
msgstr "힌팅"
#: gtk/inspector/visual.ui:402
msgctxt "Font hinting style"
msgid "None"
msgstr "없음"
#: gtk/inspector/visual.ui:403
msgctxt "Font hinting style"
msgid "Slight"
msgstr "약간"
#: gtk/inspector/visual.ui:404
msgctxt "Font hinting style"
msgid "Medium"
msgstr "중간"
#: gtk/inspector/visual.ui:405
msgctxt "Font hinting style"
msgid "Full"
msgstr "최대한"
#: gtk/inspector/visual.ui:422
msgid "Metrics Hinting"
msgstr "메트릭 힌팅"
#: gtk/inspector/visual.ui:457
msgid "Show Framerate"
msgstr "프레임 수 표시"
#: gtk/inspector/visual.ui:381
#: gtk/inspector/visual.ui:482
msgid "Show Graphic Updates"
msgstr "그래픽 업데이트 표시"
#: gtk/inspector/visual.ui:401
#: gtk/inspector/visual.ui:502
msgid ""
"Tints all the places where the current renderer uses Cairo instead of the "
"GPU."
msgstr "현재 렌더러가 GPU가 아닌 카이로를 사용하는 모든 부분에 색을 넣습니다."
#: gtk/inspector/visual.ui:407
#: gtk/inspector/visual.ui:508
msgid "Show Cairo Rendering"
msgstr "카이로 렌더링 표시"
#: gtk/inspector/visual.ui:432
#: gtk/inspector/visual.ui:533
msgid "Show Baselines"
msgstr "베이스라인 표시"
#: gtk/inspector/visual.ui:460
#: gtk/inspector/visual.ui:561
msgid "Show Layout Borders"
msgstr "레이아웃 경계 표시"
#: gtk/inspector/visual.ui:517
#: gtk/inspector/visual.ui:618
msgid "CSS Padding"
msgstr "CSS 채움"
#: gtk/inspector/visual.ui:527
#: gtk/inspector/visual.ui:628
msgid "CSS Border"
msgstr "CSS 가장자리"
#: gtk/inspector/visual.ui:537
#: gtk/inspector/visual.ui:638
msgid "CSS Margin"
msgstr "CSS 여백"
#: gtk/inspector/visual.ui:547
#: gtk/inspector/visual.ui:648
msgid "Widget Margin"
msgstr "위젯 여백"
#: gtk/inspector/visual.ui:582
#: gtk/inspector/visual.ui:683
msgid "Show Focus"
msgstr "포커스 표시"
#: gtk/inspector/visual.ui:607
#: gtk/inspector/visual.ui:708
msgid "Show Accessibility warnings"
msgstr "접근성 경고 표시"
#: gtk/inspector/visual.ui:632
#: gtk/inspector/visual.ui:733
msgid "Show Graphics Offload"
msgstr "그래픽 오프로드 표시"
#: gtk/inspector/visual.ui:664
#: gtk/inspector/visual.ui:765
msgid "Inspect Inspector"
msgstr "인스펙터 검사"
@@ -6613,34 +6641,35 @@ msgstr "고급"
msgid "Some of the settings in the dialog conflict"
msgstr "대화 상자의 설정이 충돌합니다"
#. Translators: These strings name the possible values of the
#. * job priority option in the print dialog
#.
#: modules/printbackends/gtkprintbackendcpdb.c:541
#: modules/printbackends/gtkprintbackendcups.c:5640
#: modules/printbackends/gtkprintbackendcpdb.c:542
#: modules/printbackends/gtkprintbackendcups.c:5668
msgctxt "Print job priority"
msgid "Urgent"
msgstr "긴급"
#: modules/printbackends/gtkprintbackendcpdb.c:541
#: modules/printbackends/gtkprintbackendcups.c:5640
#: modules/printbackends/gtkprintbackendcpdb.c:543
#: modules/printbackends/gtkprintbackendcups.c:5669
msgctxt "Print job priority"
msgid "High"
msgstr "높음"
#: modules/printbackends/gtkprintbackendcpdb.c:541
#: modules/printbackends/gtkprintbackendcups.c:5640
#: modules/printbackends/gtkprintbackendcpdb.c:544
#: modules/printbackends/gtkprintbackendcups.c:5670
msgctxt "Print job priority"
msgid "Medium"
msgstr "중간"
#: modules/printbackends/gtkprintbackendcpdb.c:541
#: modules/printbackends/gtkprintbackendcups.c:5640
#: modules/printbackends/gtkprintbackendcpdb.c:545
#: modules/printbackends/gtkprintbackendcups.c:5671
msgctxt "Print job priority"
msgid "Low"
msgstr "낮음"
#. Translators, this is the label used for the option in the print
#. * dialog that controls the front cover page.
#.
#: modules/printbackends/gtkprintbackendcpdb.c:562
#: modules/printbackends/gtkprintbackendcups.c:5782
#: modules/printbackends/gtkprintbackendcpdb.c:567
#: modules/printbackends/gtkprintbackendcups.c:5814
msgctxt "printer option"
msgid "Before"
msgstr "앞에"
@@ -6648,33 +6677,33 @@ msgstr "앞에"
#. Translators, this is the label used for the option in the print
#. * dialog that controls the back cover page.
#.
#: modules/printbackends/gtkprintbackendcpdb.c:569
#: modules/printbackends/gtkprintbackendcups.c:5797
#: modules/printbackends/gtkprintbackendcpdb.c:574
#: modules/printbackends/gtkprintbackendcups.c:5829
msgctxt "printer option"
msgid "After"
msgstr "뒤에"
#: modules/printbackends/gtkprintbackendcpdb.c:592
#: modules/printbackends/gtkprintbackendcpdb.c:597
msgid "Print at"
msgstr "인쇄할 때"
#: modules/printbackends/gtkprintbackendcpdb.c:602
#: modules/printbackends/gtkprintbackendcpdb.c:607
msgid "Print at time"
msgstr "인쇄할 시각"
#: modules/printbackends/gtkprintbackendcpdb.c:665
#: modules/printbackends/gtkprintbackendcpdb.c:670
msgctxt "print option"
msgid "Borderless"
msgstr "가장자리 없음"
#. Translators: this is a printer status.
#: modules/printbackends/gtkprintbackendcpdb.c:1525
#: modules/printbackends/gtkprintbackendcpdb.c:1530
#: modules/printbackends/gtkprintbackendcups.c:2636
msgid "Paused; Rejecting Jobs"
msgstr "일시 정지, 작업을 거부하는 중"
#. Translators: this is a printer status.
#: modules/printbackends/gtkprintbackendcpdb.c:1531
#: modules/printbackends/gtkprintbackendcpdb.c:1536
#: modules/printbackends/gtkprintbackendcups.c:2642
msgid "Rejecting Jobs"
msgstr "작업을 거부하는 중"
@@ -6825,266 +6854,266 @@ msgstr "“%s” 프린터에 문제가 있습니다."
msgid "; "
msgstr ", "
#: modules/printbackends/gtkprintbackendcups.c:4582
#: modules/printbackends/gtkprintbackendcups.c:4649
#: modules/printbackends/gtkprintbackendcups.c:4609
#: modules/printbackends/gtkprintbackendcups.c:4676
msgctxt "printing option"
msgid "Two Sided"
msgstr "양면"
#: modules/printbackends/gtkprintbackendcups.c:4583
#: modules/printbackends/gtkprintbackendcups.c:4610
msgctxt "printing option"
msgid "Paper Type"
msgstr "용지 종류"
#: modules/printbackends/gtkprintbackendcups.c:4584
#: modules/printbackends/gtkprintbackendcups.c:4611
msgctxt "printing option"
msgid "Paper Source"
msgstr "용지 공급"
#: modules/printbackends/gtkprintbackendcups.c:4585
#: modules/printbackends/gtkprintbackendcups.c:4650
#: modules/printbackends/gtkprintbackendcups.c:4612
#: modules/printbackends/gtkprintbackendcups.c:4677
msgctxt "printing option"
msgid "Output Tray"
msgstr "출력 트레이"
#: modules/printbackends/gtkprintbackendcups.c:4586
#: modules/printbackends/gtkprintbackendcups.c:4613
msgctxt "printing option"
msgid "Resolution"
msgstr "해상도"
#: modules/printbackends/gtkprintbackendcups.c:4587
#: modules/printbackends/gtkprintbackendcups.c:4614
msgctxt "printing option"
msgid "GhostScript pre-filtering"
msgstr "고스트스크립트 사전 필터링"
#: modules/printbackends/gtkprintbackendcups.c:4596
#: modules/printbackends/gtkprintbackendcups.c:4623
msgctxt "printing option value"
msgid "One Sided"
msgstr "단면"
#. Translators: this is an option of "Two Sided"
#: modules/printbackends/gtkprintbackendcups.c:4598
#: modules/printbackends/gtkprintbackendcups.c:4625
msgctxt "printing option value"
msgid "Long Edge (Standard)"
msgstr "긴 방향(표준)"
#. Translators: this is an option of "Two Sided"
#: modules/printbackends/gtkprintbackendcups.c:4600
#: modules/printbackends/gtkprintbackendcups.c:4627
msgctxt "printing option value"
msgid "Short Edge (Flip)"
msgstr "짧은 방향(거꾸로)"
#. Translators: this is an option of "Paper Source"
#: modules/printbackends/gtkprintbackendcups.c:4602
#: modules/printbackends/gtkprintbackendcups.c:4604
#: modules/printbackends/gtkprintbackendcups.c:4612
#: modules/printbackends/gtkprintbackendcups.c:4629
#: modules/printbackends/gtkprintbackendcups.c:4631
#: modules/printbackends/gtkprintbackendcups.c:4639
msgctxt "printing option value"
msgid "Auto Select"
msgstr "자동 선택"
#. Translators: this is an option of "Paper Source"
#. Translators: this is an option of "Resolution"
#: modules/printbackends/gtkprintbackendcups.c:4606
#: modules/printbackends/gtkprintbackendcups.c:4608
#: modules/printbackends/gtkprintbackendcups.c:4610
#: modules/printbackends/gtkprintbackendcups.c:4614
#: modules/printbackends/gtkprintbackendcups.c:4633
#: modules/printbackends/gtkprintbackendcups.c:4635
#: modules/printbackends/gtkprintbackendcups.c:4637
#: modules/printbackends/gtkprintbackendcups.c:4641
msgctxt "printing option value"
msgid "Printer Default"
msgstr "프린터 기본값"
#. Translators: this is an option of "GhostScript"
#: modules/printbackends/gtkprintbackendcups.c:4616
#: modules/printbackends/gtkprintbackendcups.c:4643
msgctxt "printing option value"
msgid "Embed GhostScript fonts only"
msgstr "고스트스크립트 글꼴만 문서에 포함"
#. Translators: this is an option of "GhostScript"
#: modules/printbackends/gtkprintbackendcups.c:4618
#: modules/printbackends/gtkprintbackendcups.c:4645
msgctxt "printing option value"
msgid "Convert to PS level 1"
msgstr "PS 레벨 1로 변환"
#. Translators: this is an option of "GhostScript"
#: modules/printbackends/gtkprintbackendcups.c:4620
#: modules/printbackends/gtkprintbackendcups.c:4647
msgctxt "printing option value"
msgid "Convert to PS level 2"
msgstr "PS 레벨 2로 변환"
#. Translators: this is an option of "GhostScript"
#: modules/printbackends/gtkprintbackendcups.c:4622
#: modules/printbackends/gtkprintbackendcups.c:4649
msgctxt "printing option value"
msgid "No pre-filtering"
msgstr "사전 필터링 기능이 없습니다"
#. Translators: "Miscellaneous" is the label for a button, that opens
#. up an extra panel of settings in a print dialog.
#: modules/printbackends/gtkprintbackendcups.c:4631
#: modules/printbackends/gtkprintbackendcups.c:4658
msgctxt "printing option group"
msgid "Miscellaneous"
msgstr "기타"
#: modules/printbackends/gtkprintbackendcups.c:4658
#: modules/printbackends/gtkprintbackendcups.c:4685
msgctxt "sides"
msgid "One Sided"
msgstr "단면"
#. Translators: this is an option of "Two Sided"
#: modules/printbackends/gtkprintbackendcups.c:4660
#: modules/printbackends/gtkprintbackendcups.c:4687
msgctxt "sides"
msgid "Long Edge (Standard)"
msgstr "긴 방향(표준)"
#. Translators: this is an option of "Two Sided"
#: modules/printbackends/gtkprintbackendcups.c:4662
#: modules/printbackends/gtkprintbackendcups.c:4689
msgctxt "sides"
msgid "Short Edge (Flip)"
msgstr "짧은 방향(거꾸로)"
#. Translators: Top output bin
#: modules/printbackends/gtkprintbackendcups.c:4665
#: modules/printbackends/gtkprintbackendcups.c:4692
msgctxt "output-bin"
msgid "Top Bin"
msgstr "위 출력함"
#. Translators: Middle output bin
#: modules/printbackends/gtkprintbackendcups.c:4667
#: modules/printbackends/gtkprintbackendcups.c:4694
msgctxt "output-bin"
msgid "Middle Bin"
msgstr "중간 출력함"
#. Translators: Bottom output bin
#: modules/printbackends/gtkprintbackendcups.c:4669
#: modules/printbackends/gtkprintbackendcups.c:4696
msgctxt "output-bin"
msgid "Bottom Bin"
msgstr "아래 출력함"
#. Translators: Side output bin
#: modules/printbackends/gtkprintbackendcups.c:4671
#: modules/printbackends/gtkprintbackendcups.c:4698
msgctxt "output-bin"
msgid "Side Bin"
msgstr "옆 출력함"
#. Translators: Left output bin
#: modules/printbackends/gtkprintbackendcups.c:4673
#: modules/printbackends/gtkprintbackendcups.c:4700
msgctxt "output-bin"
msgid "Left Bin"
msgstr "왼쪽 출력함"
#. Translators: Right output bin
#: modules/printbackends/gtkprintbackendcups.c:4675
#: modules/printbackends/gtkprintbackendcups.c:4702
msgctxt "output-bin"
msgid "Right Bin"
msgstr "오른쪽 출력함"
#. Translators: Center output bin
#: modules/printbackends/gtkprintbackendcups.c:4677
#: modules/printbackends/gtkprintbackendcups.c:4704
msgctxt "output-bin"
msgid "Center Bin"
msgstr "중앙 출력함"
#. Translators: Rear output bin
#: modules/printbackends/gtkprintbackendcups.c:4679
#: modules/printbackends/gtkprintbackendcups.c:4706
msgctxt "output-bin"
msgid "Rear Bin"
msgstr "뒤 출력함"
#. Translators: Output bin where one sided output is oriented in the face-up position
#: modules/printbackends/gtkprintbackendcups.c:4681
#: modules/printbackends/gtkprintbackendcups.c:4708
msgctxt "output-bin"
msgid "Face Up Bin"
msgstr "전면 출력함"
#. Translators: Output bin where one sided output is oriented in the face-down position
#: modules/printbackends/gtkprintbackendcups.c:4683
#: modules/printbackends/gtkprintbackendcups.c:4710
msgctxt "output-bin"
msgid "Face Down Bin"
msgstr "후면 출력함"
#. Translators: Large capacity output bin
#: modules/printbackends/gtkprintbackendcups.c:4685
#: modules/printbackends/gtkprintbackendcups.c:4712
msgctxt "output-bin"
msgid "Large Capacity Bin"
msgstr "대용량 출력함"
#. Translators: Output stacker number %d
#: modules/printbackends/gtkprintbackendcups.c:4707
#: modules/printbackends/gtkprintbackendcups.c:4734
#, c-format
msgctxt "output-bin"
msgid "Stacker %d"
msgstr "%d번 스태커"
#. Translators: Output mailbox number %d
#: modules/printbackends/gtkprintbackendcups.c:4711
#: modules/printbackends/gtkprintbackendcups.c:4738
#, c-format
msgctxt "output-bin"
msgid "Mailbox %d"
msgstr "%d번 메일함"
#. Translators: Private mailbox
#: modules/printbackends/gtkprintbackendcups.c:4715
#: modules/printbackends/gtkprintbackendcups.c:4742
msgctxt "output-bin"
msgid "My Mailbox"
msgstr "내 메일함"
#. Translators: Output tray number %d
#: modules/printbackends/gtkprintbackendcups.c:4719
#: modules/printbackends/gtkprintbackendcups.c:4746
#, c-format
msgctxt "output-bin"
msgid "Tray %d"
msgstr "%d번 트레이"
#: modules/printbackends/gtkprintbackendcups.c:5196
#: modules/printbackends/gtkprintbackendcups.c:5223
msgid "Printer Default"
msgstr "프린터 기본값"
#. Translators, this string is used to label the job priority option
#. * in the print dialog
#.
#: modules/printbackends/gtkprintbackendcups.c:5670
#: modules/printbackends/gtkprintbackendcups.c:5702
msgid "Job Priority"
msgstr "작업 우선순위"
#. Translators, this string is used to label the billing info entry
#. * in the print dialog
#.
#: modules/printbackends/gtkprintbackendcups.c:5681
#: modules/printbackends/gtkprintbackendcups.c:5713
msgid "Billing Info"
msgstr "요금 정보"
#. Translators, these strings are names for various 'standard' cover
#. * pages that the printing system may support.
#.
#: modules/printbackends/gtkprintbackendcups.c:5705
#: modules/printbackends/gtkprintbackendcups.c:5737
msgctxt "cover page"
msgid "None"
msgstr "없음"
#: modules/printbackends/gtkprintbackendcups.c:5706
#: modules/printbackends/gtkprintbackendcups.c:5738
msgctxt "cover page"
msgid "Classified"
msgstr "비밀 분류"
#: modules/printbackends/gtkprintbackendcups.c:5707
#: modules/printbackends/gtkprintbackendcups.c:5739
msgctxt "cover page"
msgid "Confidential"
msgstr "기밀"
#: modules/printbackends/gtkprintbackendcups.c:5708
#: modules/printbackends/gtkprintbackendcups.c:5740
msgctxt "cover page"
msgid "Secret"
msgstr "비밀"
#: modules/printbackends/gtkprintbackendcups.c:5709
#: modules/printbackends/gtkprintbackendcups.c:5741
msgctxt "cover page"
msgid "Standard"
msgstr "표준"
#: modules/printbackends/gtkprintbackendcups.c:5710
#: modules/printbackends/gtkprintbackendcups.c:5742
msgctxt "cover page"
msgid "Top Secret"
msgstr "일급 비밀"
#: modules/printbackends/gtkprintbackendcups.c:5711
#: modules/printbackends/gtkprintbackendcups.c:5743
msgctxt "cover page"
msgid "Unclassified"
msgstr "비밀 분류 해제"
@@ -7092,7 +7121,7 @@ msgstr "비밀 분류 해제"
#. Translators, this string is used to label the pages-per-sheet option
#. * in the print dialog
#.
#: modules/printbackends/gtkprintbackendcups.c:5723
#: modules/printbackends/gtkprintbackendcups.c:5755
msgctxt "printer option"
msgid "Pages per Sheet"
msgstr "한 장당 페이지 수"
@@ -7100,7 +7129,7 @@ msgstr "한 장당 페이지 수"
#. Translators, this string is used to label the option in the print
#. * dialog that controls in what order multiple pages are arranged
#.
#: modules/printbackends/gtkprintbackendcups.c:5740
#: modules/printbackends/gtkprintbackendcups.c:5772
msgctxt "printer option"
msgid "Page Ordering"
msgstr "페이지 순서"
@@ -7109,7 +7138,7 @@ msgstr "페이지 순서"
#. * a print job is printed. Possible values are 'now', a specified time,
#. * or 'on hold'
#.
#: modules/printbackends/gtkprintbackendcups.c:5817
#: modules/printbackends/gtkprintbackendcups.c:5849
msgctxt "printer option"
msgid "Print at"
msgstr "인쇄할 때"
@@ -7117,7 +7146,7 @@ msgstr "인쇄할 때"
#. Translators: this is the name of the option that allows the user
#. * to specify a time when a print job will be printed.
#.
#: modules/printbackends/gtkprintbackendcups.c:5828
#: modules/printbackends/gtkprintbackendcups.c:5860
msgctxt "printer option"
msgid "Print at time"
msgstr "인쇄할 시각"
@@ -7127,19 +7156,19 @@ msgstr "인쇄할 시각"
#. * the width and height in points. E.g: "Custom
#. * 230.4x142.9"
#.
#: modules/printbackends/gtkprintbackendcups.c:5875
#: modules/printbackends/gtkprintbackendcups.c:5907
#, c-format
msgid "Custom %s×%s"
msgstr "사용자 지정 %s×%s"
#. TRANSLATORS: this is the ICC color profile to use for this job
#: modules/printbackends/gtkprintbackendcups.c:5986
#: modules/printbackends/gtkprintbackendcups.c:6018
msgctxt "printer option"
msgid "Printer Profile"
msgstr "프린터 프로파일"
#. TRANSLATORS: this is when color profile information is unavailable
#: modules/printbackends/gtkprintbackendcups.c:5993
#: modules/printbackends/gtkprintbackendcups.c:6025
msgctxt "printer option value"
msgid "Unavailable"
msgstr "없음"
@@ -8126,3 +8155,6 @@ msgstr ""
"“%s” 안에 테마 인덱스 파일이 없습니다.\n"
"정말로 여기에 아이콘 캐시를 만드려면, --ignore-theme-index 옵션을 사용하십시"
"오.\n"
#~ msgid "Font Scale"
#~ msgstr "글꼴 크기 조정"
+193 -163
View File
@@ -15,8 +15,8 @@ msgid ""
msgstr ""
"Project-Id-Version: lt\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gtk/-/issues/\n"
"POT-Creation-Date: 2024-03-02 15:19+0000\n"
"PO-Revision-Date: 2024-03-03 22:46+0200\n"
"POT-Creation-Date: 2024-04-18 14:17+0000\n"
"PO-Revision-Date: 2024-04-20 13:39+0300\n"
"Last-Translator: Aurimas Černius <aurisc4@gmail.com>\n"
"Language-Team: Lietuvių <gnome-lt@lists.akl.lt>\n"
"Language: lt\n"
@@ -40,7 +40,7 @@ msgstr "Ši iškarpinė negali įrašyti duomenų."
msgid "Cannot read from empty clipboard."
msgstr "Negalima skaityti iš tuščios iškarpinės."
#: gdk/gdkclipboard.c:318 gdk/gdkclipboard.c:1136 gdk/gdkdrag.c:618
#: gdk/gdkclipboard.c:318 gdk/gdkclipboard.c:1136 gdk/gdkdrag.c:606
msgid "No compatible formats to transfer clipboard contents."
msgstr "Nėra suderinamų formatų iškarpinės turinio perdavimui."
@@ -55,11 +55,11 @@ msgstr "Nepavyko pateikti turinio kaip „%s“"
msgid "Cannot provide contents as %s"
msgstr "Nepavyko pateikti turinio kaip %s"
#: gdk/gdkdisplay.c:176 gdk/gdkglcontext.c:459
#: gdk/gdkdisplay.c:176 gdk/gdkglcontext.c:464
msgid "The current backend does not support OpenGL"
msgstr "Dabartinė realizacija nepalaiko OpenGL"
#: gdk/gdkdisplay.c:1315 gdk/gdkvulkancontext.c:1596
#: gdk/gdkdisplay.c:1315 gdk/gdkvulkancontext.c:1600
msgid "Vulkan support disabled via GDK_DEBUG"
msgstr "Vulkan palaikymas išjungtas naudojant GDK_DEBUG"
@@ -67,23 +67,23 @@ msgstr "Vulkan palaikymas išjungtas naudojant GDK_DEBUG"
msgid "GL support disabled via GDK_DEBUG"
msgstr "GL palaikymas išjungtas naudojant GDK_DEBUG"
#: gdk/gdkdisplay.c:1665
#: gdk/gdkdisplay.c:1675
msgid "No EGL configuration available"
msgstr "Nėra prieinamos EGL konfigūracijos"
#: gdk/gdkdisplay.c:1673
#: gdk/gdkdisplay.c:1683
msgid "Failed to get EGL configurations"
msgstr "Nepavyko gauti EGL konfigūracijų"
#: gdk/gdkdisplay.c:1703
#: gdk/gdkdisplay.c:1713
msgid "No EGL configuration with required features found"
msgstr "Nerasta EGL konfigūracija su reikiamomis savybėmis"
#: gdk/gdkdisplay.c:1710
#: gdk/gdkdisplay.c:1720
msgid "No perfect EGL configuration found"
msgstr "Nerasta puikiai tinkanti EGL konfigūracija"
#: gdk/gdkdisplay.c:1752
#: gdk/gdkdisplay.c:1762
#, c-format
msgid "EGL implementation is missing extension %s"
msgid_plural "EGL implementation is missing %2$d extensions: %1$s"
@@ -91,23 +91,23 @@ msgstr[0] "EGL realizacijai trūksta %2$d plėtinio: %1$s"
msgstr[1] "EGL realizacijai trūksta %2$d plėtinių: %1$s"
msgstr[2] "EGL realizacijai trūksta %2$d plėtinių: %1$s"
#: gdk/gdkdisplay.c:1801
#: gdk/gdkdisplay.c:1811
msgid "libEGL not available in this sandbox"
msgstr "libEGL šioje apribotoje veiksenoje neprieinama"
#: gdk/gdkdisplay.c:1802
#: gdk/gdkdisplay.c:1812
msgid "libEGL not available"
msgstr "libEGL neprieinama"
#: gdk/gdkdisplay.c:1812
#: gdk/gdkdisplay.c:1822
msgid "Failed to create EGL display"
msgstr "Nepavyko sukurti EGL vaizduoklio"
#: gdk/gdkdisplay.c:1821
#: gdk/gdkdisplay.c:1831
msgid "Could not initialize EGL display"
msgstr "Nepavyko inicializuoti EGL vaizduoklio"
#: gdk/gdkdisplay.c:1831
#: gdk/gdkdisplay.c:1841
#, c-format
msgid "EGL version %d.%d is too old. GTK requires %d.%d"
msgstr "EGL versija %d.%d yra per sena. GTK reikalauja %d.%d"
@@ -120,32 +120,32 @@ msgstr "Tempimas iš kitų programų nepalaikomas."
msgid "No compatible formats to transfer contents."
msgstr "Nėra suderinamų formatų turinio perdavimui."
#: gdk/gdkglcontext.c:419 gdk/x11/gdkglcontext-glx.c:645
#: gdk/gdkglcontext.c:424 gdk/x11/gdkglcontext-glx.c:645
msgid "No GL API allowed."
msgstr "Nėra leidžiamas GL API."
#: gdk/gdkglcontext.c:442 gdk/win32/gdkglcontext-win32-wgl.c:395
#: gdk/gdkglcontext.c:447 gdk/win32/gdkglcontext-win32-wgl.c:395
#: gdk/win32/gdkglcontext-win32-wgl.c:538
#: gdk/win32/gdkglcontext-win32-wgl.c:582 gdk/x11/gdkglcontext-glx.c:691
msgid "Unable to create a GL context"
msgstr "Nepavyko sukurti GL konteksto"
#: gdk/gdkglcontext.c:1304
#: gdk/gdkglcontext.c:1310
msgid "OpenGL ES disabled via GDK_DEBUG"
msgstr "OpenGL ES palaikymas išjungtas naudojant GDK_DEBUG"
#: gdk/gdkglcontext.c:1316
#: gdk/gdkglcontext.c:1322
msgid "OpenGL disabled via GDK_DEBUG"
msgstr "OpenGL palaikymas išjungtas naudojant GDK_DEBUG"
#: gdk/gdkglcontext.c:1327
#: gdk/gdkglcontext.c:1333
#, c-format
msgid "Application does not support %s API"
msgstr "Programa nepalaiko API %s"
#. translators: This is about OpenGL backend names, like
#. * "Trying to use X11 GLX, but EGL is already in use"
#: gdk/gdkglcontext.c:2113
#: gdk/gdkglcontext.c:2123
#, c-format
msgid "Trying to use %s, but %s is already in use"
msgstr "Bandoma naudoti %s, bet %s jau naudojama"
@@ -836,7 +836,7 @@ msgstr "Nepalaikoma koduotė „%s“"
msgid "This GLES %d.%d implementation does not support half-float vertex data"
msgstr "Ši GLES %d.%d realizacija nepalaiko pusės tikslumo viršūnių duomenų"
#: gsk/gpu/gskgldevice.c:245
#: gsk/gpu/gskgldevice.c:246
#, c-format
msgid "OpenGL ES 3.0 is not supported by this renderer."
msgstr "Šis piešėjas nepalaiko OpenGL ES 3.0."
@@ -1084,7 +1084,7 @@ msgid "Pick a Font"
msgstr "Pasirinkite šriftą"
#: gtk/deprecated/gtkfontbutton.c:600 gtk/gtkfilechooserwidget.c:3815
#: gtk/gtkfontdialogbutton.c:126 gtk/inspector/visual.ui:169
#: gtk/gtkfontdialogbutton.c:126 gtk/inspector/visual.ui:285
msgid "Font"
msgstr "Šriftas"
@@ -2339,7 +2339,7 @@ msgid "If you delete an item, it will be permanently lost."
msgstr "Jei ištrinsite elementą, jis bus negrįžtamai prarastas."
#: gtk/gtkfilechooserwidget.c:1188 gtk/gtkfilechooserwidget.c:1786
#: gtk/gtklabel.c:5712 gtk/gtktext.c:6193 gtk/gtktextview.c:9080
#: gtk/gtklabel.c:5712 gtk/gtktext.c:6194 gtk/gtktextview.c:9099
msgid "_Delete"
msgstr "Iš_trinti"
@@ -2548,7 +2548,7 @@ msgid "_Time"
msgstr "_Laikas"
#: gtk/gtkfilechooserwidget.c:7375 gtk/gtkplacessidebar.c:2306
#: gtk/inspector/a11y.ui:43 gtk/inspector/actions.ui:19
#: gtk/inspector/a11y.ui:43 gtk/inspector/actions.ui:18
#: gtk/inspector/css-node-tree.ui:22 gtk/inspector/prop-list.ui:24
#: gtk/ui/gtkfilechooserwidget.ui:385 gtk/print/ui/gtkprintunixdialog.ui:80
msgid "Name"
@@ -2677,19 +2677,19 @@ msgstr "Užverti"
msgid "Close the infobar"
msgstr "Užverti informacijos juostą"
#: gtk/gtklabel.c:5709 gtk/gtktext.c:6181 gtk/gtktextview.c:9068
#: gtk/gtklabel.c:5709 gtk/gtktext.c:6182 gtk/gtktextview.c:9087
msgid "Cu_t"
msgstr "_Iškirpti"
#: gtk/gtklabel.c:5710 gtk/gtktext.c:6185 gtk/gtktextview.c:9072
#: gtk/gtklabel.c:5710 gtk/gtktext.c:6186 gtk/gtktextview.c:9091
msgid "_Copy"
msgstr "_Kopijuoti"
#: gtk/gtklabel.c:5711 gtk/gtktext.c:6189 gtk/gtktextview.c:9076
#: gtk/gtklabel.c:5711 gtk/gtktext.c:6190 gtk/gtktextview.c:9095
msgid "_Paste"
msgstr "Į_dėti"
#: gtk/gtklabel.c:5717 gtk/gtktext.c:6202 gtk/gtktextview.c:9101
#: gtk/gtklabel.c:5717 gtk/gtktext.c:6203 gtk/gtktextview.c:9120
msgid "Select _All"
msgstr "P_ažymėti viską"
@@ -2701,7 +2701,7 @@ msgstr "_Atverti nuorodą"
msgid "Copy _Link Address"
msgstr "Kopijuoti _nuorodos adresą"
#: gtk/gtklabel.c:5770 gtk/gtktext.c:2724 gtk/gtktextview.c:9150
#: gtk/gtklabel.c:5770 gtk/gtktext.c:2723 gtk/gtktextview.c:9169
msgid "Context menu"
msgstr "Kontekstinis meniu"
@@ -3392,7 +3392,7 @@ msgstr "Nėra popieriaus"
#. Translators: this is a printer status.
#: gtk/print/gtkprintoperation-win32.c:640
#: modules/printbackends/gtkprintbackendcpdb.c:1528
#: modules/printbackends/gtkprintbackendcpdb.c:1533
#: modules/printbackends/gtkprintbackendcups.c:2639
msgid "Paused"
msgstr "Pauzė"
@@ -3463,42 +3463,42 @@ msgstr "Gaunama spausdintuvo informacija…"
#. * multiple pages on a sheet when printing
#.
#: gtk/print/gtkprintunixdialog.c:2753
#: modules/printbackends/gtkprintbackendcups.c:5645
#: modules/printbackends/gtkprintbackendcups.c:5677
msgid "Left to right, top to bottom"
msgstr "Iš kairės dešinėn, iš viršaus žemyn"
#: gtk/print/gtkprintunixdialog.c:2753
#: modules/printbackends/gtkprintbackendcups.c:5645
#: modules/printbackends/gtkprintbackendcups.c:5677
msgid "Left to right, bottom to top"
msgstr "Iš kairės dešinėn, iš apačios į viršų"
#: gtk/print/gtkprintunixdialog.c:2754
#: modules/printbackends/gtkprintbackendcups.c:5646
#: modules/printbackends/gtkprintbackendcups.c:5678
msgid "Right to left, top to bottom"
msgstr "Iš dešinės kairėn, iš viršaus žemyn"
#: gtk/print/gtkprintunixdialog.c:2754
#: modules/printbackends/gtkprintbackendcups.c:5646
#: modules/printbackends/gtkprintbackendcups.c:5678
msgid "Right to left, bottom to top"
msgstr "Iš dešinės kairėn, iš apačios į viršų"
#: gtk/print/gtkprintunixdialog.c:2755
#: modules/printbackends/gtkprintbackendcups.c:5647
#: modules/printbackends/gtkprintbackendcups.c:5679
msgid "Top to bottom, left to right"
msgstr "Iš viršaus žemyn, iš kairės dešinėn"
#: gtk/print/gtkprintunixdialog.c:2755
#: modules/printbackends/gtkprintbackendcups.c:5647
#: modules/printbackends/gtkprintbackendcups.c:5679
msgid "Top to bottom, right to left"
msgstr "Iš viršaus žemyn, iš dešinės kairėn"
#: gtk/print/gtkprintunixdialog.c:2756
#: modules/printbackends/gtkprintbackendcups.c:5648
#: modules/printbackends/gtkprintbackendcups.c:5680
msgid "Bottom to top, left to right"
msgstr "Iš apačios į viršų, iš kairės dešinėn"
#: gtk/print/gtkprintunixdialog.c:2756
#: modules/printbackends/gtkprintbackendcups.c:5648
#: modules/printbackends/gtkprintbackendcups.c:5680
msgid "Bottom to top, right to left"
msgstr "Iš apačios į viršų, iš dešinės kairėn"
@@ -3636,15 +3636,15 @@ msgctxt "accessibility"
msgid "Sidebar"
msgstr "Šoninė juosta"
#: gtk/gtktext.c:6207 gtk/gtktextview.c:9106
#: gtk/gtktext.c:6208 gtk/gtktextview.c:9125
msgid "Insert _Emoji"
msgstr "Įterpti _emoji"
#: gtk/gtktextview.c:9088
#: gtk/gtktextview.c:9107
msgid "_Undo"
msgstr "Atša_ukti"
#: gtk/gtktextview.c:9092
#: gtk/gtktextview.c:9111
msgid "_Redo"
msgstr "Paka_rtoti"
@@ -3872,7 +3872,7 @@ msgctxt "Vulkan version"
msgid "None"
msgstr "Nėra"
#: gtk/inspector/general.c:922
#: gtk/inspector/general.c:924
msgid "IM Context is hardcoded by GTK_IM_MODULE"
msgstr "IM kontekstas yra fiksuotas su GTK_IM_MODULE"
@@ -4058,7 +4058,7 @@ msgstr "Kadrų skaičius"
msgid "Frame Rate"
msgstr "Kadrų dažnis"
#: gtk/inspector/misc-info.ui:527
#: gtk/inspector/misc-info.ui:527 gtk/inspector/visual.ui:315
msgid "Scale"
msgstr "Mastelis"
@@ -4243,27 +4243,27 @@ msgstr "Dydis:"
msgid "Trigger"
msgstr "Trigeris"
#: gtk/inspector/size-groups.c:225
#: gtk/inspector/size-groups.c:228
msgctxt "sizegroup mode"
msgid "None"
msgstr "Nėra"
#: gtk/inspector/size-groups.c:226
#: gtk/inspector/size-groups.c:229
msgctxt "sizegroup mode"
msgid "Horizontal"
msgstr "Horizontalus"
#: gtk/inspector/size-groups.c:227
#: gtk/inspector/size-groups.c:230
msgctxt "sizegroup mode"
msgid "Vertical"
msgstr "Vertikalus"
#: gtk/inspector/size-groups.c:228
#: gtk/inspector/size-groups.c:231
msgctxt "sizegroup mode"
msgid "Both"
msgstr "Abu"
#: gtk/inspector/size-groups.c:240
#: gtk/inspector/size-groups.c:243
msgid "Mode"
msgstr "Veiksena"
@@ -4320,14 +4320,10 @@ msgstr "Hierarchija"
msgid "Implements"
msgstr "Realizuoja"
#: gtk/inspector/visual.c:674 gtk/inspector/visual.c:693
#: gtk/inspector/visual.c:765 gtk/inspector/visual.c:784
msgid "Theme is hardcoded by GTK_THEME"
msgstr "Tema yra fiksuota su GTK_THEME"
#: gtk/inspector/visual.c:942
msgid "Backend does not support window scaling"
msgstr "Realizacija nepalaiko langų didinimo"
#: gtk/inspector/visual.ui:34
msgid "GTK Theme"
msgstr "GTK tema"
@@ -4348,43 +4344,67 @@ msgstr "Žymiklio dydis"
msgid "Icon Theme"
msgstr "Piktogramų tema"
#: gtk/inspector/visual.ui:194
msgid "Font Scale"
msgstr "Šrifto dydis"
#: gtk/inspector/visual.ui:239
#: gtk/inspector/visual.ui:169
msgid "Text Direction"
msgstr "Teksto kryptis"
#: gtk/inspector/visual.ui:254
#: gtk/inspector/visual.ui:184
msgid "Left-to-Right"
msgstr "Iš kairės į dešinę"
#: gtk/inspector/visual.ui:255
#: gtk/inspector/visual.ui:185
msgid "Right-to-Left"
msgstr "Iš dešinės į kairę"
#: gtk/inspector/visual.ui:273
msgid "Window Scaling"
msgstr "Lango didinimas"
#: gtk/inspector/visual.ui:306
#: gtk/inspector/visual.ui:202
msgid "Animations"
msgstr "Animacijos"
#: gtk/inspector/visual.ui:331
#: gtk/inspector/visual.ui:227
msgid "Slowdown"
msgstr "Sulėtijimas"
#: gtk/inspector/visual.ui:385
#: gtk/inspector/visual.ui:362
msgid "Antialiasing"
msgstr "Glotninimas"
#: gtk/inspector/visual.ui:387
msgid "Hinting"
msgstr "Patarimai"
#: gtk/inspector/visual.ui:402
msgctxt "Font hinting style"
msgid "None"
msgstr "Nėra"
#: gtk/inspector/visual.ui:403
msgctxt "Font hinting style"
msgid "Slight"
msgstr "Švelnus"
#: gtk/inspector/visual.ui:404
msgctxt "Font hinting style"
msgid "Medium"
msgstr "Vidutinis"
#: gtk/inspector/visual.ui:405
msgctxt "Font hinting style"
msgid "Full"
msgstr "Pilnas"
#: gtk/inspector/visual.ui:422
msgid "Metrics Hinting"
msgstr "Dydžio patarimai"
#: gtk/inspector/visual.ui:457
msgid "Show Framerate"
msgstr "Rodyti kadrų dažnį"
#: gtk/inspector/visual.ui:410
#: gtk/inspector/visual.ui:482
msgid "Show Graphic Updates"
msgstr "Rodyti grafikos atnaujinimus"
#: gtk/inspector/visual.ui:430
#: gtk/inspector/visual.ui:502
msgid ""
"Tints all the places where the current renderer uses Cairo instead of the "
"GPU."
@@ -4392,47 +4412,47 @@ msgstr ""
"Naudoja atspalvį visose vietose, kur dabartinis piešėjas naudoja Cairo "
"vietoje GPU."
#: gtk/inspector/visual.ui:436
#: gtk/inspector/visual.ui:508
msgid "Show Cairo Rendering"
msgstr "Rodyti Cairo piešimą"
#: gtk/inspector/visual.ui:461
#: gtk/inspector/visual.ui:533
msgid "Show Baselines"
msgstr "Rodyti bazines linijas"
#: gtk/inspector/visual.ui:489
#: gtk/inspector/visual.ui:561
msgid "Show Layout Borders"
msgstr "Rodyti išdėstymo rėmelius"
#: gtk/inspector/visual.ui:546
#: gtk/inspector/visual.ui:618
msgid "CSS Padding"
msgstr "CSS tarpai"
#: gtk/inspector/visual.ui:556
#: gtk/inspector/visual.ui:628
msgid "CSS Border"
msgstr "CSS rėmelis"
#: gtk/inspector/visual.ui:566
#: gtk/inspector/visual.ui:638
msgid "CSS Margin"
msgstr "CSS paraštės"
#: gtk/inspector/visual.ui:576
#: gtk/inspector/visual.ui:648
msgid "Widget Margin"
msgstr "Valdiklio paraštės"
#: gtk/inspector/visual.ui:611
#: gtk/inspector/visual.ui:683
msgid "Show Focus"
msgstr "Rodyti fokusą"
#: gtk/inspector/visual.ui:636
#: gtk/inspector/visual.ui:708
msgid "Show Accessibility warnings"
msgstr "Rodyti prieigos įspėjimus"
#: gtk/inspector/visual.ui:661
#: gtk/inspector/visual.ui:733
msgid "Show Graphics Offload"
msgstr "Rodyti grafikos iškėlimus"
#: gtk/inspector/visual.ui:693
#: gtk/inspector/visual.ui:765
msgid "Inspect Inspector"
msgstr "Inspektuoti inspektorių"
@@ -6557,34 +6577,35 @@ msgstr "Išsamiau"
msgid "Some of the settings in the dialog conflict"
msgstr "Kai kurie nustatymai lange konfliktuoja"
#. Translators: These strings name the possible values of the
#. * job priority option in the print dialog
#.
#: modules/printbackends/gtkprintbackendcpdb.c:541
#: modules/printbackends/gtkprintbackendcups.c:5640
#: modules/printbackends/gtkprintbackendcpdb.c:542
#: modules/printbackends/gtkprintbackendcups.c:5668
msgctxt "Print job priority"
msgid "Urgent"
msgstr "Itin skubu"
msgstr "Itin skubus"
#: modules/printbackends/gtkprintbackendcpdb.c:541
#: modules/printbackends/gtkprintbackendcups.c:5640
#: modules/printbackends/gtkprintbackendcpdb.c:543
#: modules/printbackends/gtkprintbackendcups.c:5669
msgctxt "Print job priority"
msgid "High"
msgstr "Skubu"
msgstr "Skubus"
#: modules/printbackends/gtkprintbackendcpdb.c:541
#: modules/printbackends/gtkprintbackendcups.c:5640
#: modules/printbackends/gtkprintbackendcpdb.c:544
#: modules/printbackends/gtkprintbackendcups.c:5670
msgctxt "Print job priority"
msgid "Medium"
msgstr "Vidutiniškai"
msgstr "Vidutinis"
#: modules/printbackends/gtkprintbackendcpdb.c:541
#: modules/printbackends/gtkprintbackendcups.c:5640
#: modules/printbackends/gtkprintbackendcpdb.c:545
#: modules/printbackends/gtkprintbackendcups.c:5671
msgctxt "Print job priority"
msgid "Low"
msgstr "Neskubu"
msgstr "Neskubus"
#. Translators, this is the label used for the option in the print
#. * dialog that controls the front cover page.
#.
#: modules/printbackends/gtkprintbackendcpdb.c:562
#: modules/printbackends/gtkprintbackendcups.c:5782
#: modules/printbackends/gtkprintbackendcpdb.c:567
#: modules/printbackends/gtkprintbackendcups.c:5814
msgctxt "printer option"
msgid "Before"
msgstr "Prieš"
@@ -6592,33 +6613,33 @@ msgstr "Prieš"
#. Translators, this is the label used for the option in the print
#. * dialog that controls the back cover page.
#.
#: modules/printbackends/gtkprintbackendcpdb.c:569
#: modules/printbackends/gtkprintbackendcups.c:5797
#: modules/printbackends/gtkprintbackendcpdb.c:574
#: modules/printbackends/gtkprintbackendcups.c:5829
msgctxt "printer option"
msgid "After"
msgstr "Po"
#: modules/printbackends/gtkprintbackendcpdb.c:592
#: modules/printbackends/gtkprintbackendcpdb.c:597
msgid "Print at"
msgstr "Kada spausdinti"
#: modules/printbackends/gtkprintbackendcpdb.c:602
#: modules/printbackends/gtkprintbackendcpdb.c:607
msgid "Print at time"
msgstr "Spausdinti šiuo laiku"
#: modules/printbackends/gtkprintbackendcpdb.c:665
#: modules/printbackends/gtkprintbackendcpdb.c:670
msgctxt "print option"
msgid "Borderless"
msgstr "Be rėmelio"
#. Translators: this is a printer status.
#: modules/printbackends/gtkprintbackendcpdb.c:1525
#: modules/printbackends/gtkprintbackendcpdb.c:1530
#: modules/printbackends/gtkprintbackendcups.c:2636
msgid "Paused; Rejecting Jobs"
msgstr "Pristabdytas, atmeta darbus"
#. Translators: this is a printer status.
#: modules/printbackends/gtkprintbackendcpdb.c:1531
#: modules/printbackends/gtkprintbackendcpdb.c:1536
#: modules/printbackends/gtkprintbackendcups.c:2642
msgid "Rejecting Jobs"
msgstr "Atmeta darbus"
@@ -6772,266 +6793,266 @@ msgstr "Su spausdintuvu „%s“ iškilo nesklandumų."
msgid "; "
msgstr "; "
#: modules/printbackends/gtkprintbackendcups.c:4582
#: modules/printbackends/gtkprintbackendcups.c:4649
#: modules/printbackends/gtkprintbackendcups.c:4609
#: modules/printbackends/gtkprintbackendcups.c:4676
msgctxt "printing option"
msgid "Two Sided"
msgstr "Dvipusis"
#: modules/printbackends/gtkprintbackendcups.c:4583
#: modules/printbackends/gtkprintbackendcups.c:4610
msgctxt "printing option"
msgid "Paper Type"
msgstr "Popieriaus tipas"
#: modules/printbackends/gtkprintbackendcups.c:4584
#: modules/printbackends/gtkprintbackendcups.c:4611
msgctxt "printing option"
msgid "Paper Source"
msgstr "Popieriaus šaltinis"
#: modules/printbackends/gtkprintbackendcups.c:4585
#: modules/printbackends/gtkprintbackendcups.c:4650
#: modules/printbackends/gtkprintbackendcups.c:4612
#: modules/printbackends/gtkprintbackendcups.c:4677
msgctxt "printing option"
msgid "Output Tray"
msgstr "Išvesties dėklas"
#: modules/printbackends/gtkprintbackendcups.c:4586
#: modules/printbackends/gtkprintbackendcups.c:4613
msgctxt "printing option"
msgid "Resolution"
msgstr "Skiriamoji geba"
#: modules/printbackends/gtkprintbackendcups.c:4587
#: modules/printbackends/gtkprintbackendcups.c:4614
msgctxt "printing option"
msgid "GhostScript pre-filtering"
msgstr "GhostScript pirminis filtravimas"
#: modules/printbackends/gtkprintbackendcups.c:4596
#: modules/printbackends/gtkprintbackendcups.c:4623
msgctxt "printing option value"
msgid "One Sided"
msgstr "Vienpusis"
#. Translators: this is an option of "Two Sided"
#: modules/printbackends/gtkprintbackendcups.c:4598
#: modules/printbackends/gtkprintbackendcups.c:4625
msgctxt "printing option value"
msgid "Long Edge (Standard)"
msgstr "Ilgasis kraštas (standartinis)"
#. Translators: this is an option of "Two Sided"
#: modules/printbackends/gtkprintbackendcups.c:4600
#: modules/printbackends/gtkprintbackendcups.c:4627
msgctxt "printing option value"
msgid "Short Edge (Flip)"
msgstr "Trumpasis kraštas (apverstas)"
#. Translators: this is an option of "Paper Source"
#: modules/printbackends/gtkprintbackendcups.c:4602
#: modules/printbackends/gtkprintbackendcups.c:4604
#: modules/printbackends/gtkprintbackendcups.c:4612
#: modules/printbackends/gtkprintbackendcups.c:4629
#: modules/printbackends/gtkprintbackendcups.c:4631
#: modules/printbackends/gtkprintbackendcups.c:4639
msgctxt "printing option value"
msgid "Auto Select"
msgstr "Automatinis pasirinkimas"
#. Translators: this is an option of "Paper Source"
#. Translators: this is an option of "Resolution"
#: modules/printbackends/gtkprintbackendcups.c:4606
#: modules/printbackends/gtkprintbackendcups.c:4608
#: modules/printbackends/gtkprintbackendcups.c:4610
#: modules/printbackends/gtkprintbackendcups.c:4614
#: modules/printbackends/gtkprintbackendcups.c:4633
#: modules/printbackends/gtkprintbackendcups.c:4635
#: modules/printbackends/gtkprintbackendcups.c:4637
#: modules/printbackends/gtkprintbackendcups.c:4641
msgctxt "printing option value"
msgid "Printer Default"
msgstr "Spausdintuvo numatytieji"
#. Translators: this is an option of "GhostScript"
#: modules/printbackends/gtkprintbackendcups.c:4616
#: modules/printbackends/gtkprintbackendcups.c:4643
msgctxt "printing option value"
msgid "Embed GhostScript fonts only"
msgstr "Įterpti tik GhostScript šriftus"
#. Translators: this is an option of "GhostScript"
#: modules/printbackends/gtkprintbackendcups.c:4618
#: modules/printbackends/gtkprintbackendcups.c:4645
msgctxt "printing option value"
msgid "Convert to PS level 1"
msgstr "Konvertuoti į PS 1-ą lygmenį"
#. Translators: this is an option of "GhostScript"
#: modules/printbackends/gtkprintbackendcups.c:4620
#: modules/printbackends/gtkprintbackendcups.c:4647
msgctxt "printing option value"
msgid "Convert to PS level 2"
msgstr "Konvertuoti į PS 2-ą lygmenį"
#. Translators: this is an option of "GhostScript"
#: modules/printbackends/gtkprintbackendcups.c:4622
#: modules/printbackends/gtkprintbackendcups.c:4649
msgctxt "printing option value"
msgid "No pre-filtering"
msgstr "Nėra pradinio filtravimo"
#. Translators: "Miscellaneous" is the label for a button, that opens
#. up an extra panel of settings in a print dialog.
#: modules/printbackends/gtkprintbackendcups.c:4631
#: modules/printbackends/gtkprintbackendcups.c:4658
msgctxt "printing option group"
msgid "Miscellaneous"
msgstr "Įvairūs"
#: modules/printbackends/gtkprintbackendcups.c:4658
#: modules/printbackends/gtkprintbackendcups.c:4685
msgctxt "sides"
msgid "One Sided"
msgstr "Vienpusis"
#. Translators: this is an option of "Two Sided"
#: modules/printbackends/gtkprintbackendcups.c:4660
#: modules/printbackends/gtkprintbackendcups.c:4687
msgctxt "sides"
msgid "Long Edge (Standard)"
msgstr "Ilgasis kraštas (standartinis)"
#. Translators: this is an option of "Two Sided"
#: modules/printbackends/gtkprintbackendcups.c:4662
#: modules/printbackends/gtkprintbackendcups.c:4689
msgctxt "sides"
msgid "Short Edge (Flip)"
msgstr "Trumpasis kraštas (apverstas)"
#. Translators: Top output bin
#: modules/printbackends/gtkprintbackendcups.c:4665
#: modules/printbackends/gtkprintbackendcups.c:4692
msgctxt "output-bin"
msgid "Top Bin"
msgstr "Viršutinė dėžutė"
#. Translators: Middle output bin
#: modules/printbackends/gtkprintbackendcups.c:4667
#: modules/printbackends/gtkprintbackendcups.c:4694
msgctxt "output-bin"
msgid "Middle Bin"
msgstr "Vidurinė dėžutė"
#. Translators: Bottom output bin
#: modules/printbackends/gtkprintbackendcups.c:4669
#: modules/printbackends/gtkprintbackendcups.c:4696
msgctxt "output-bin"
msgid "Bottom Bin"
msgstr "Apatinė dėžutė"
#. Translators: Side output bin
#: modules/printbackends/gtkprintbackendcups.c:4671
#: modules/printbackends/gtkprintbackendcups.c:4698
msgctxt "output-bin"
msgid "Side Bin"
msgstr "Šoninė dėžutė"
#. Translators: Left output bin
#: modules/printbackends/gtkprintbackendcups.c:4673
#: modules/printbackends/gtkprintbackendcups.c:4700
msgctxt "output-bin"
msgid "Left Bin"
msgstr "Kairė dėžutė"
#. Translators: Right output bin
#: modules/printbackends/gtkprintbackendcups.c:4675
#: modules/printbackends/gtkprintbackendcups.c:4702
msgctxt "output-bin"
msgid "Right Bin"
msgstr "Dešinė dėžutė"
#. Translators: Center output bin
#: modules/printbackends/gtkprintbackendcups.c:4677
#: modules/printbackends/gtkprintbackendcups.c:4704
msgctxt "output-bin"
msgid "Center Bin"
msgstr "Centrinė dėžutė"
#. Translators: Rear output bin
#: modules/printbackends/gtkprintbackendcups.c:4679
#: modules/printbackends/gtkprintbackendcups.c:4706
msgctxt "output-bin"
msgid "Rear Bin"
msgstr "Galinė dėžutė"
#. Translators: Output bin where one sided output is oriented in the face-up position
#: modules/printbackends/gtkprintbackendcups.c:4681
#: modules/printbackends/gtkprintbackendcups.c:4708
msgctxt "output-bin"
msgid "Face Up Bin"
msgstr "Atversta dėžutė"
#. Translators: Output bin where one sided output is oriented in the face-down position
#: modules/printbackends/gtkprintbackendcups.c:4683
#: modules/printbackends/gtkprintbackendcups.c:4710
msgctxt "output-bin"
msgid "Face Down Bin"
msgstr "Užversta dėžutė"
#. Translators: Large capacity output bin
#: modules/printbackends/gtkprintbackendcups.c:4685
#: modules/printbackends/gtkprintbackendcups.c:4712
msgctxt "output-bin"
msgid "Large Capacity Bin"
msgstr "Didelės talpos dėžutė"
#. Translators: Output stacker number %d
#: modules/printbackends/gtkprintbackendcups.c:4707
#: modules/printbackends/gtkprintbackendcups.c:4734
#, c-format
msgctxt "output-bin"
msgid "Stacker %d"
msgstr "Krovėjas %d"
#. Translators: Output mailbox number %d
#: modules/printbackends/gtkprintbackendcups.c:4711
#: modules/printbackends/gtkprintbackendcups.c:4738
#, c-format
msgctxt "output-bin"
msgid "Mailbox %d"
msgstr "Pašto dėžutė %d"
#. Translators: Private mailbox
#: modules/printbackends/gtkprintbackendcups.c:4715
#: modules/printbackends/gtkprintbackendcups.c:4742
msgctxt "output-bin"
msgid "My Mailbox"
msgstr "Mano pašto dėžutė"
#. Translators: Output tray number %d
#: modules/printbackends/gtkprintbackendcups.c:4719
#: modules/printbackends/gtkprintbackendcups.c:4746
#, c-format
msgctxt "output-bin"
msgid "Tray %d"
msgstr "Dėklas %d"
#: modules/printbackends/gtkprintbackendcups.c:5196
#: modules/printbackends/gtkprintbackendcups.c:5223
msgid "Printer Default"
msgstr "Spausdintuvo numatytieji"
#. Translators, this string is used to label the job priority option
#. * in the print dialog
#.
#: modules/printbackends/gtkprintbackendcups.c:5670
#: modules/printbackends/gtkprintbackendcups.c:5702
msgid "Job Priority"
msgstr "Prioritetas"
#. Translators, this string is used to label the billing info entry
#. * in the print dialog
#.
#: modules/printbackends/gtkprintbackendcups.c:5681
#: modules/printbackends/gtkprintbackendcups.c:5713
msgid "Billing Info"
msgstr "Našumo informacija"
#. Translators, these strings are names for various 'standard' cover
#. * pages that the printing system may support.
#.
#: modules/printbackends/gtkprintbackendcups.c:5705
#: modules/printbackends/gtkprintbackendcups.c:5737
msgctxt "cover page"
msgid "None"
msgstr "Nėra"
#: modules/printbackends/gtkprintbackendcups.c:5706
#: modules/printbackends/gtkprintbackendcups.c:5738
msgctxt "cover page"
msgid "Classified"
msgstr "Įslaptinta"
#: modules/printbackends/gtkprintbackendcups.c:5707
#: modules/printbackends/gtkprintbackendcups.c:5739
msgctxt "cover page"
msgid "Confidential"
msgstr "Konfidencialu"
#: modules/printbackends/gtkprintbackendcups.c:5708
#: modules/printbackends/gtkprintbackendcups.c:5740
msgctxt "cover page"
msgid "Secret"
msgstr "Slapta"
#: modules/printbackends/gtkprintbackendcups.c:5709
#: modules/printbackends/gtkprintbackendcups.c:5741
msgctxt "cover page"
msgid "Standard"
msgstr "Įprasta"
#: modules/printbackends/gtkprintbackendcups.c:5710
#: modules/printbackends/gtkprintbackendcups.c:5742
msgctxt "cover page"
msgid "Top Secret"
msgstr "Labai slapta"
#: modules/printbackends/gtkprintbackendcups.c:5711
#: modules/printbackends/gtkprintbackendcups.c:5743
msgctxt "cover page"
msgid "Unclassified"
msgstr "Neįslaptinta"
@@ -7039,7 +7060,7 @@ msgstr "Neįslaptinta"
#. Translators, this string is used to label the pages-per-sheet option
#. * in the print dialog
#.
#: modules/printbackends/gtkprintbackendcups.c:5723
#: modules/printbackends/gtkprintbackendcups.c:5755
msgctxt "printer option"
msgid "Pages per Sheet"
msgstr "Puslapių lakšte"
@@ -7047,7 +7068,7 @@ msgstr "Puslapių lakšte"
#. Translators, this string is used to label the option in the print
#. * dialog that controls in what order multiple pages are arranged
#.
#: modules/printbackends/gtkprintbackendcups.c:5740
#: modules/printbackends/gtkprintbackendcups.c:5772
msgctxt "printer option"
msgid "Page Ordering"
msgstr "Puslapių tvarka"
@@ -7056,7 +7077,7 @@ msgstr "Puslapių tvarka"
#. * a print job is printed. Possible values are 'now', a specified time,
#. * or 'on hold'
#.
#: modules/printbackends/gtkprintbackendcups.c:5817
#: modules/printbackends/gtkprintbackendcups.c:5849
msgctxt "printer option"
msgid "Print at"
msgstr "Kada spausdinti"
@@ -7064,7 +7085,7 @@ msgstr "Kada spausdinti"
#. Translators: this is the name of the option that allows the user
#. * to specify a time when a print job will be printed.
#.
#: modules/printbackends/gtkprintbackendcups.c:5828
#: modules/printbackends/gtkprintbackendcups.c:5860
msgctxt "printer option"
msgid "Print at time"
msgstr "Spausdinti šiuo laiku"
@@ -7074,19 +7095,19 @@ msgstr "Spausdinti šiuo laiku"
#. * the width and height in points. E.g: "Custom
#. * 230.4x142.9"
#.
#: modules/printbackends/gtkprintbackendcups.c:5875
#: modules/printbackends/gtkprintbackendcups.c:5907
#, c-format
msgid "Custom %s×%s"
msgstr "Pasirinktinis %s×%s"
#. TRANSLATORS: this is the ICC color profile to use for this job
#: modules/printbackends/gtkprintbackendcups.c:5986
#: modules/printbackends/gtkprintbackendcups.c:6018
msgctxt "printer option"
msgid "Printer Profile"
msgstr "Spausdintuvo profilis"
#. TRANSLATORS: this is when color profile information is unavailable
#: modules/printbackends/gtkprintbackendcups.c:5993
#: modules/printbackends/gtkprintbackendcups.c:6025
msgctxt "printer option value"
msgid "Unavailable"
msgstr "Neprieinama"
@@ -8070,6 +8091,15 @@ msgstr ""
"Jei tikrai čia norite sukurti piktogramos podėlį, naudokite --ignore-theme-"
"index.\n"
#~ msgid "Backend does not support window scaling"
#~ msgstr "Realizacija nepalaiko langų didinimo"
#~ msgid "Font Scale"
#~ msgstr "Šrifto dydis"
#~ msgid "Window Scaling"
#~ msgstr "Lango didinimas"
#~ msgid "Show _Size Column"
#~ msgstr "Rodyti _dydžio stulpelį"
+49 -66
View File
@@ -11,8 +11,8 @@ msgid ""
msgstr ""
"Project-Id-Version: gtk+ master\n"
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gtk/-/issues/\n"
"POT-Creation-Date: 2024-04-04 16:15+0000\n"
"PO-Revision-Date: 2024-04-05 00:14+0200\n"
"POT-Creation-Date: 2024-04-19 17:35+0000\n"
"PO-Revision-Date: 2024-04-19 23:45+0200\n"
"Last-Translator: Martin Srebotnjak <miles@filmsi.net>\n"
"Language-Team: Slovenian GNOME Translation Team <gnome-si@googlegroups.com>\n"
"Language: sl_SI\n"
@@ -56,7 +56,7 @@ msgstr "Ni mogoče določiti vsebine kot %s."
msgid "The current backend does not support OpenGL"
msgstr "Trenutno zagnan ozadnji program ne podpira OpenGL"
#: gdk/gdkdisplay.c:1315 gdk/gdkvulkancontext.c:1600
#: gdk/gdkdisplay.c:1315 gdk/gdkvulkancontext.c:1603
msgid "Vulkan support disabled via GDK_DEBUG"
msgstr "Podpora Vulkan je onemogočena prek GDK_DEBUG"
@@ -2693,7 +2693,7 @@ msgstr "Različice sloga"
msgid "Character Variations"
msgstr "Različice znakov"
#: gtk/gtkglarea.c:309
#: gtk/gtkglarea.c:316
msgid "OpenGL context creation failed"
msgstr "Ustvarjanje vsebine OpenGL je spodletelo"
@@ -3874,37 +3874,37 @@ msgstr "Razredi slogov"
msgid "CSS Property"
msgstr "Lastnosti CSS"
#: gtk/inspector/general.c:370
#: gtk/inspector/general.c:371
msgctxt "GL version"
msgid "None"
msgstr "Brez"
#: gtk/inspector/general.c:461
#: gtk/inspector/general.c:462
msgctxt "GL version"
msgid "Unknown"
msgstr "Neznano"
#: gtk/inspector/general.c:523
#: gtk/inspector/general.c:524
msgctxt "Vulkan device"
msgid "Disabled"
msgstr "Onemogočeno"
#: gtk/inspector/general.c:524 gtk/inspector/general.c:525
#: gtk/inspector/general.c:525 gtk/inspector/general.c:526
msgctxt "Vulkan version"
msgid "Disabled"
msgstr "Onemogočeno"
#: gtk/inspector/general.c:576
#: gtk/inspector/general.c:577
msgctxt "Vulkan device"
msgid "None"
msgstr "Neopredeljeno"
#: gtk/inspector/general.c:577 gtk/inspector/general.c:578
#: gtk/inspector/general.c:578 gtk/inspector/general.c:579
msgctxt "Vulkan version"
msgid "None"
msgstr "Neopredeljeno"
#: gtk/inspector/general.c:924
#: gtk/inspector/general.c:930
msgid "IM Context is hardcoded by GTK_IM_MODULE"
msgstr "Vsebina IM je določena z vrednostjo GTK_IM_MODULE"
@@ -4214,7 +4214,7 @@ msgstr "Vir:"
msgid "Defined At"
msgstr "Določeno pri"
#: gtk/inspector/recorder.c:1941
#: gtk/inspector/recorder.c:1953
#, c-format
msgid "Saving RenderNode failed"
msgstr "Shranjevanje izrisovanja vozlišča je spodletelo"
@@ -4353,7 +4353,7 @@ msgstr "Hierarhija"
msgid "Implements"
msgstr "Vgradnje"
#: gtk/inspector/visual.c:765 gtk/inspector/visual.c:784
#: gtk/inspector/visual.c:690 gtk/inspector/visual.c:708
msgid "Theme is hardcoded by GTK_THEME"
msgstr "Tema je vključena v privzeto temo GTK_THEME"
@@ -4398,93 +4398,75 @@ msgid "Slowdown"
msgstr "Upočasni"
#: gtk/inspector/visual.ui:362
msgid "Antialiasing"
msgstr "Glajenje robov"
msgid "Rendering"
msgstr "Izrisovanje"
#: gtk/inspector/visual.ui:387
msgid "Hinting"
msgstr "Namigovanje"
#: gtk/inspector/visual.ui:377
msgctxt "Font rendering"
msgid "Automatic"
msgstr "Samodejno"
#: gtk/inspector/visual.ui:402
msgctxt "Font hinting style"
msgid "None"
msgstr "Brez"
#: gtk/inspector/visual.ui:403
msgctxt "Font hinting style"
msgid "Slight"
msgstr "Rahlo"
#: gtk/inspector/visual.ui:404
msgctxt "Font hinting style"
msgid "Medium"
msgstr "Srednje"
#: gtk/inspector/visual.ui:378
msgctxt "Font rendering"
msgid "Manual"
msgstr "Ročno"
#: gtk/inspector/visual.ui:405
msgctxt "Font hinting style"
msgid "Full"
msgstr "Polno"
#: gtk/inspector/visual.ui:422
msgid "Metrics Hinting"
msgstr "Metrično namigovanje"
#: gtk/inspector/visual.ui:457
msgid "Show Framerate"
msgstr "Pokaži hitrost sličic"
#: gtk/inspector/visual.ui:482
#: gtk/inspector/visual.ui:430
msgid "Show Graphic Updates"
msgstr "Pokaži grafične posodobitve"
#: gtk/inspector/visual.ui:502
#: gtk/inspector/visual.ui:450
msgid ""
"Tints all the places where the current renderer uses Cairo instead of the "
"GPU."
msgstr ""
"Obarva vsa mesta, kjer trenutni izrisovalnik uporablja Kairo namesto GPU."
#: gtk/inspector/visual.ui:508
#: gtk/inspector/visual.ui:456
msgid "Show Cairo Rendering"
msgstr "Pokaži izrisovanje Cairo"
#: gtk/inspector/visual.ui:533
#: gtk/inspector/visual.ui:481
msgid "Show Baselines"
msgstr "Pokaži črte vrstic"
#: gtk/inspector/visual.ui:561
#: gtk/inspector/visual.ui:509
msgid "Show Layout Borders"
msgstr "Pokaži razporeditev okvirjev"
#: gtk/inspector/visual.ui:618
#: gtk/inspector/visual.ui:566
msgid "CSS Padding"
msgstr "Blazinjenje CSS"
#: gtk/inspector/visual.ui:628
#: gtk/inspector/visual.ui:576
msgid "CSS Border"
msgstr "Obroba CSS"
#: gtk/inspector/visual.ui:638
#: gtk/inspector/visual.ui:586
msgid "CSS Margin"
msgstr "Rob CSS"
#: gtk/inspector/visual.ui:648
#: gtk/inspector/visual.ui:596
msgid "Widget Margin"
msgstr "Robovi gradnika"
#: gtk/inspector/visual.ui:683
#: gtk/inspector/visual.ui:631
msgid "Show Focus"
msgstr "Pokaži žarišče"
#: gtk/inspector/visual.ui:708
#: gtk/inspector/visual.ui:656
msgid "Show Accessibility warnings"
msgstr "Pokaži opozorila o dostopnosti"
#: gtk/inspector/visual.ui:733
#: gtk/inspector/visual.ui:681
msgid "Show Graphics Offload"
msgstr "Pokaži grafično razbremenitev"
#: gtk/inspector/visual.ui:765
#: gtk/inspector/visual.ui:713
msgid "Inspect Inspector"
msgstr "Preuči inšpektorja"
@@ -7287,7 +7269,7 @@ msgstr "Uporabi slog iz datoteke CSS"
#: tools/gtk-builder-tool-preview.c:187 tools/gtk-builder-tool-screenshot.c:370
#: tools/gtk-builder-tool-validate.c:268
#: tools/gtk-rendernode-tool-benchmark.c:106
#: tools/gtk-rendernode-tool-render.c:203 tools/gtk-rendernode-tool-show.c:113
#: tools/gtk-rendernode-tool-render.c:262 tools/gtk-rendernode-tool-show.c:113
#, c-format
msgid "Could not initialize windowing system\n"
msgstr "Ni mogoče začeti okenskega sistema\n"
@@ -7332,13 +7314,13 @@ msgstr ""
"Za prepisovanje je na voljo zastavica --force.\n"
#: tools/gtk-builder-tool-screenshot.c:332
#: tools/gtk-rendernode-tool-render.c:171
#: tools/gtk-rendernode-tool-render.c:230
#, c-format
msgid "Output written to %s.\n"
msgstr "Odvod je zapisan v %s.\n"
#: tools/gtk-builder-tool-screenshot.c:336
#: tools/gtk-rendernode-tool-render.c:175
#: tools/gtk-rendernode-tool-render.c:234
#, c-format
msgid "Failed to save %s: %s\n"
msgstr "Datoteke %s ni mogoče shraniti: %s\n"
@@ -7357,7 +7339,7 @@ msgstr "Prepiši obstoječo datoteko"
#: tools/gtk-builder-tool-screenshot.c:363
#: tools/gtk-rendernode-tool-benchmark.c:97
#: tools/gtk-rendernode-tool-render.c:196
#: tools/gtk-rendernode-tool-render.c:255
msgid "FILE…"
msgstr "DATOTEKA …"
@@ -7859,7 +7841,7 @@ msgstr "Dodaj izrisovalnik v preizkušanje"
#: tools/gtk-rendernode-tool-benchmark.c:94
#: tools/gtk-rendernode-tool-compare.c:65
#: tools/gtk-rendernode-tool-render.c:195
#: tools/gtk-rendernode-tool-render.c:254
msgid "RENDERER"
msgstr "IZRISOVALNIK"
@@ -7880,7 +7862,7 @@ msgid "Benchmark rendering of a .node file."
msgstr "Preizkusno izrisovanje datoteke .node."
#: tools/gtk-rendernode-tool-benchmark.c:127
#: tools/gtk-rendernode-tool-info.c:236 tools/gtk-rendernode-tool-render.c:224
#: tools/gtk-rendernode-tool-info.c:236 tools/gtk-rendernode-tool-render.c:283
#: tools/gtk-rendernode-tool-show.c:134
#, c-format
msgid "No .node file specified\n"
@@ -7892,7 +7874,7 @@ msgid "Can only benchmark a single .node file\n"
msgstr "Preizkušati je mogoče le eno datoteko .node\n"
#: tools/gtk-rendernode-tool-compare.c:65
#: tools/gtk-rendernode-tool-render.c:195
#: tools/gtk-rendernode-tool-render.c:254
msgid "Renderer to use"
msgstr "Izrisovalnik za uporabo"
@@ -7914,7 +7896,7 @@ msgid "Must specify two files\n"
msgstr "Določiti morate dve datoteki\n"
#: tools/gtk-rendernode-tool-compare.c:102
#: tools/gtk-rendernode-tool-render.c:150
#: tools/gtk-rendernode-tool-render.c:209
#, c-format
msgid "Failed to create renderer: %s\n"
msgstr ""
@@ -7975,7 +7957,7 @@ msgstr "Navesti je traba podrobnosti o vozlišču za izrisovanje."
msgid "Can only accept a single .node file\n"
msgstr "Sprejeti je mogoče le eno datoteko .node\n"
#: tools/gtk-rendernode-tool-render.c:123
#: tools/gtk-rendernode-tool-render.c:170
#, c-format
msgid ""
"File %s exists.\n"
@@ -7984,16 +7966,17 @@ msgstr ""
"Datoteka %s obstaja.\n"
"Za prepis datoteke je treba navesti njeno ime.\n"
#: tools/gtk-rendernode-tool-render.c:137
#: tools/gtk-rendernode-tool-render.c:184
#: tools/gtk-rendernode-tool-render.c:196
#, c-format
msgid "Failed to generate SVG: %s\n"
msgstr "Ni mogoče ustvariti zapisa SVG: %s\n"
#: tools/gtk-rendernode-tool-render.c:211
#: tools/gtk-rendernode-tool-render.c:270
msgid "Render a .node file to an image."
msgstr "Izriši datoteko .node v sliko."
#: tools/gtk-rendernode-tool-render.c:230
#: tools/gtk-rendernode-tool-render.c:289
#, c-format
msgid "Can only render a single .node file to a single output file\n"
msgstr "V eno izhodno datoteko je mogoče izrisati le eno datoteko .node\n"
@@ -49,3 +49,7 @@
:drop(active) {
color: red;
}
:root {
color: red;
}
@@ -49,3 +49,7 @@
:drop(active) {
color: rgb(255,0,0);
}
:root {
color: rgb(255,0,0);
}
+13
View File
@@ -0,0 +1,13 @@
:root {
color: red;
}
window {
/* :root has higher priority */
color: blue;
}
label {
/* :root doesn't apply so it's still green */
color: green;
}
+6
View File
@@ -0,0 +1,6 @@
window.background:dir(ltr)
color: rgb(255,0,0); /* root.css:2:3-14 */
box.horizontal:dir(ltr)
label:dir(ltr)
color: rgb(0,128,0); /* root.css:12:3-16 */
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<property name="decorated">0</property>
<child>
<object class="GtkBox">
<property name="visible">True</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="label" translatable="yes">Hello World!</property>
</object>
</child>
</object>
</child>
</object>
</interface>
+12 -1
View File
@@ -73,7 +73,18 @@ float_to_half (const float x)
const guint b = *(guint*)&x+0x00001000; // round-to-nearest-even
const guint e = (b&0x7F800000)>>23; // exponent
const guint m = b&0x007FFFFF; // mantissa
return (b&0x80000000)>>16 | (e>112)*((((e-112)<<10)&0x7C00)|m>>13) | ((e<113)&(e>101))*((((0x007FF000+m)>>(125-e))+1)>>1) | (e>143)*0x7FFF; // sign : normalized : denormalized : saturate
guint n0 = 0;
guint n1 = 0;
guint n2 = 0;
if (e > 112)
n0 = (((e - 112) << 10) & 0x7C00) | m >> 13;
if (e < 113 && e > 101)
n1 = (((0x007FF000 + m) >> (125- e)) + 1) >> 1;
if (e > 143)
n2 = 0x7FFF;
return (b & 0x80000000) >> 16 | n0 | n1 | n2; // sign : normalized : denormalized : saturate
}
static gsize
+1 -4
View File
@@ -196,10 +196,7 @@ collect_offload_info (GdkSurface *surface,
else
g_snprintf (above, sizeof (above), "-");
/* NOTE: We look at can_offload here, not is_offloaded, since we don't have
* dmabuf textures here, so attaching them to subsurfaces won't succeed.
*/
if (info->can_offload)
if (info->is_offloaded)
{
g_string_append_printf (s, "%u: offloaded, %s%sabove: %s, ",
i,
+46 -31
View File
@@ -4,7 +4,7 @@ subsurface {
child: debug {
message: "Affine transforms, debug nodes and single-child containers are ok";
child: transform {
transform: translate(10, 10) scale(5, 10);
transform: translate(10, 10) scale(2, 1);
child: container {
texture { }
}
@@ -12,47 +12,62 @@ subsurface {
}
}
}
subsurface {
child: debug {
message: "Multi-child containers are not ok";
child: container {
color { }
texture { }
transform {
transform: translate(0, 100);
child: subsurface {
child: debug {
message: "Multi-child containers are not ok";
child: container {
color { }
texture { }
}
}
}
}
subsurface {
child: debug {
message: "other nodes, such as cross-fade, are not ok";
child: cross-fade {
start: texture { }
end: texture { }
progress: 0.5;
transform {
transform: translate(0, 200);
child: subsurface {
child: debug {
message: "other nodes, such as cross-fade, are not ok";
child: cross-fade {
start: texture { }
end: texture { }
progress: 0.5;
}
}
}
}
subsurface {
child: debug {
message: "Other nodes, such as cross-fade, are not ok";
child: cross-fade {
start: texture { }
end: texture { }
progress: 0.5;
transform {
transform: translate(0, 300);
child: subsurface {
child: debug {
message: "Other nodes, such as cross-fade, are not ok";
child: cross-fade {
start: texture { }
end: texture { }
progress: 0.5;
}
}
}
}
subsurface {
child: debug {
message: "Clips are ok";
child: clip {
clip: 0 0 400 400;
child: texture { }
transform {
transform: translate(0, 400);
child: subsurface {
child: debug {
message: "Clips are ok";
child: clip {
clip: 0 0 400 400;
child: texture { }
}
}
}
}
subsurface {
child: debug {
message: "Can't offload non-textures";
child: linear-gradient { }
transform {
transform: translate(0, 500);
child: subsurface {
child: debug {
message: "Can't offload non-textures";
child: linear-gradient { }
}
}
}
+2 -2
View File
@@ -1,6 +1,6 @@
0: offloaded, above: -, texture: 10x10, source: 0 0 10 10, dest: 10 10 250 500
0: offloaded, raised, above: -, texture: 10x10, source: 0 0 10 10, dest: 10 10 100 50
1: not offloaded
2: not offloaded
3: not offloaded
4: offloaded, above: 0, texture: 10x10, source: 0 0 10 10, dest: 0 0 50 50
4: offloaded, raised, above: 0, texture: 10x10, source: 0 0 10 10, dest: 0 400 50 50
5: not offloaded
View File
+8 -5
View File
@@ -15,11 +15,14 @@ container {
}
}
}
opacity {
opacity: 0.5;
child: subsurface {
child: texture {
texture: url('data:image/svg+xml;utf-8,<svg width="16" height="16"></svg>');
transform {
transform: translate(0,200);
child: opacity {
opacity: 0.5;
child: subsurface {
child: texture {
texture: url('data:image/svg+xml;utf-8,<svg width="16" height="16"></svg>');
}
}
}
}
+1 -1
View File
@@ -1,3 +1,3 @@
0: offloaded, above: -, texture: 13x17, source: 0 0 13 17, dest: 20 20 50 50
0: offloaded, raised, above: -, texture: 13x17, source: 0 0 13 17, dest: 20 20 50 50
1: offloaded, raised, above: 0, texture: 10x21, source: 0 0 10 21, dest: 0 100 500 500
2: not offloaded