| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
See docs:
- https://docs.gitlab.com/ee/user/application_security/sast/
|
| |
|
|
|
|
|
|
|
|
| |
Using rawhide is failing with:
"
Error: Error downloading packages:
Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=rawhide&arch=x86_64 [getaddrinfo() thread failed to start]
"
|
|
|
|
| |
Tarball will be at build/meson-dist/ so it can be used for releases
|
|
|
|
| |
(cherry picked from commit cd3733c10df296b180d54b975d208e44545b4c28)
|
| |
|
|
|
|
|
|
|
|
|
| |
The value of the show-all-sources setting influences
what layouts we provide, so monitor the setting, and
when it changes, clear the cached layouts and emit
the new GnomeXkbInfo::layouts-changed signal.
Fixes: #195
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(cherry picked from commit 06583bb8b5d5f96981ce8556411620fbdc808f98)
|
|
|
|
| |
(cherry picked from commit edff32abe70552baa395923214627b7819a58bb4)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Copy-paste error introduced in aa7e3440511. We're inside the loop listing
through all layouts here so returning early means we skip any layout after the
duplicate one.
Before:
$ test-xkb-info | wc -l
3913
Now:
$ test-xkb-info | wc -l
3923
Fixes aa7e344051170ea47585d3d72b1a36e3991121f9
Found by Jason Francis (@jf)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This matches the behavior to the one in the old code path before
libxkbregistry.
This also fixes a use-after-free bug when a duplicate layout is present. The
same layout struct is a member of multiple hashtables, specifically
priv->layouts_table, priv->layouts_by_language and priv->layouts_by_country.
When the duplicate layout is added, add_layouts calls g_hash_table_replace
(priv->layouts_table, l->id, l) which frees the original layout - but the
layouts_by_{country|language} still have that now-freed layout.
Immediately afterwards, add_layouts calls add_layout_to_locale_tables () which
calls add_layout_to_table () which triggers a use-after-free.
Avoid all this by simply skipping any duplicate layout.
Reproducible with
gsettings set org.gnome.desktop.input-sources show-all-sources true
valgrind /usr/libexec/gnome-desktop-debug/test-xkb-info
Requires xkeyboard-config <= 2.32, it has a duplicate cm(mmuock) entry
(one is marked exotic, hence the need for show-all-sources).
Fixes #190
Bug analysis by Barnabás Pőcze (@pobrn)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
| |
g_uri_escape_string() returns an allocated string, we need to free it.
|
|
|
|
| |
The incorrect time had an offset of one hour.
|
|
|
|
| |
This reverts commit df40d5d46e210c242820adf604293a7bb07dea4f.
|
|
|
|
| |
This reverts commit b32d0dd4b9462ac6627fe8a754d0793ad09c2e0a.
|
|
|
|
|
|
| |
locale-dependent functions""
This reverts commit 96565763e950e9c281751c5fe35c9ba83cb61ac8.
|
|
|
|
|
|
|
| |
Don't force bind /etc/ld.so.cache, as it isn't used on non-glibc systems
such as MUSL-based OSes.
Closes: #117
|
|
|
|
|
|
| |
functions"
This reverts commit 4ea56a97a510cf2c587229231211552daa84d1fc.
|
|
|
|
| |
This reverts commit 0c573644bc3ac18afe448318869efadbe5ebf7a5.
|
|
|
|
| |
This reverts commit 8ddb9dce8ffe070b151f4f7a383863d5f5f139b6.
|
| |
|
|
|
|
|
| |
xlocale.h contains the implementations for locale_t, newlocale and
uselocale on MacOS and FreeBSD
|
|
|
|
| |
http://cvsweb.netbsd.org/bsdweb.cgi/src/share/locale/messages/?only_with_tag=MAIN
|
|
|
|
|
|
|
| |
When the OS doesn't support `uselocale` (ex. NetBSD), the function
is replaced with a dummy stub.
Replace `nl_langinfo` with portable `nl_langinfo_l`.
Introduce locale-dependent *`gettext_l` functions.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
People might prefix their dates/times with 0 which leads to the number
being interpreted as octal value. This can then lead to "08" being
interpreted as 0, because 8 is not a valid octal value. This is also
much more likely than people intentionally trying to use octal or hex
values for dates/times.
Fixes https://gitlab.gnome.org/GNOME/gnome-desktop/-/issues/189
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix thumbnailing of CBZ comics with UTF-8 filenames, as libarchive will
not be able to parse UTF-8 filenames if a UTF-8 locale is not used.
This assumes that the C.UTF-8 locale is available on the host system,
which shouldn't be a problem on systems able to run GNOME in the first
place.
See https://github.com/libarchive/libarchive/issues/587
and https://github.com/flatpak/flatpak/pull/4138
|
|
|
|
|
|
|
|
| |
In a Flatpak, $FLATPAK_SANDBOX_DIR might be set, but the directory might
not exist. This means that the thumbnailing sandbox might fail to start
because the shared directory is missing.
(test-desktop-thumbnail:6): GnomeDesktop-DEBUG: 16:37:21.007: Thumbnail script ('evince-thumbnailer -s %s %u %o') failed for 'file:///home/hadess/foo.cbz': Could not create temporary sandbox directory
|
| |
|
|
|
|
|
|
| |
rxkb parser updates iso3166Ids by mistake for iso639Ids elements in evdev.
Resolves: https://gitlab.gnome.org/GNOME/gnome-desktop/-/issues/187
|
| |
|
| |
|
|
|
|
|
| |
again"
This reverts commit 9ef9f0e2b2c2e434122fd67cd8d27a706ef2527d
|
| |
|
| |
|
|
|
|
| |
(cherry picked from commit cf3b180d1e89de030a9ee3d01d37dd8853e76b5c)
|
| |
|
| |
|
| |
|
|
|
|
| |
I forgot to add these in commit ba73c28b.
|