Age | Commit message (Collapse) | Author |
|
emu-34-2-release" into emu-34-2-release
|
|
emu-34-2-release
Change-Id: I1c92c89155679f7b4d8a2ca5bfda89332fabc380
|
|
|
|
This makes all the windows warning explicit, making sure the library can
be built regardless of the initial compiler config.
Bug: 288461870
Change-Id: Ide42d8c717881331388088b40861c3b2f22d2c01
|
|
|
|
Change-Id: Ic51b4a81ed0f49529be4cadb9bf1b183b2c67d49
|
|
|
|
We now include the architecture in glib shared library name. This makes
sure we can ship multiple versions of the library side by side.
This is needed to make sure a netsimd can pick up the x86 library if
needed.
Bug: 298454492
Change-Id: I79e01e307b1d7cbba398d2d6c0337308f6d5e5a6
|
|
|
|
This adds a cmake build script and configurations so we can build
glib2 from source.
This version of glib2 is missing some functionality that requires
a whole slew of additional dependencies:
- No guid support
- No regex support
- No gettext support
Taking dependencies on these will result in linker failures.
Bug: 297352758
Change-Id: Ib6f7b6a7ed2bc984a353ff9d7eaf1006f78df7e3
|
|
emu-master-dev
|
|
This gets us ready to build glib from source, which we will need for the
next version of qemu.
Change-Id: I7d1d9f5abe78952634506ddb00852e2870a3b73f
|
|
glib/gfileutils.c: use 64 bits for value in get_tmp_file()
See merge request GNOME/glib!3547
|
|
On 32 bit systems 'long' value will overflow in 2038 and become negative.
As it is used to index into letters array, and % operation preserves signs,
data corruption will then occur.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
|
goption: Fix list formatting in documentation comment
Closes #3083
See merge request GNOME/glib!3546
|
|
gregex: if JIT stack limit is reached, fall back to interpretive matching
See merge request GNOME/glib!3545
|
|
Helps: #2824
|
|
Not actually tested, but hopefully this will work.
Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
Fixes: #3083
|
|
[th/use-localtime-r] use localtime_r() in g_log_writer_format_fields()
See merge request GNOME/glib!3543
|
|
|
|
The point of to be able to call localtime()/localtime_r() from another
place inside glib (without reimplementing the #ifdef).
- also handles failures from localtime_r(). It is documented that it
might fail, so detect the failure.
- in case of failures of localtime(), still initialize the GDate.
Previously, we may error out with a g_critical() assertion before.
However, now that failures from localtime_r() are also caught, I think
we should make an effort to initialize the GDate to something. It
either way it not supposed to happen.
|
|
|
|
[th/gchildwatch-fail-message] gmain: improve g_warning() for failure in g_child_watch_dispatch()
See merge request GNOME/glib!3542
|
|
Print the PID, the errno and the pidfd in case of an unexpected failure
in g_child_watch_dispatch().
This is always(?) caused by a bug in the user application. Also hint to
g_child_watch_source_new() documentation for possible causes.
Also use G_PID_FORMAT for printing GPid values.
|
|
gtestutils: Mention not ignoring SIGCHLD in g_test_trap_subprocess() docs
See merge request GNOME/glib!3541
|
|
gio: Add gresource.dtd
See merge request GNOME/glib!3540
|
|
Prompted by #3071, this clarifies that `g_test_trap_subprocess()` uses
`g_child_watch_source_new()` internally, so it will not work if any of
the preconditions for using that API are not met. In particular, if
`SIGCHLD` is ignored, things will break.
This documentation is not meant to be an API guarantee which constrains
the implementation of `g_test_trap_subprocess()` in future, just a tip
to people currently using the API.
Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
Helps: #3071
|
|
This allows third party projects to look up the location of installed
DTDs without having to hard-code it.
|
|
This allows linting of .gresource.xml files e.g. in the editor.
|
|
glib-unix: Accept O_CLOEXEC as well as FD_CLOEXEC in g_unix_open_pipe()
See merge request GNOME/glib!3538
|
|
glib-unix: Clean up use of O_NONBLOCK
See merge request GNOME/glib!3459
|
|
Use 'meson setup' to configure
See merge request GNOME/glib!3535
|
|
See the previous commit.
Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
|
|
This is one step towards rectifying the mistake of using `FD_CLOEXEC` in
the first place. Eventually we may deprecate support for `FD_CLOEXEC`,
as the `O_*` flags better match the underlying `pipe()` API.
See discussion on
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459#note_1779264
Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
|
|
gsettingsschema: fix l10n=time attribute
Closes #2575
See merge request GNOME/glib!2422
|
|
Since 5c65437d "glib-unix: Add O_NONBLOCK support to g_unix_open_pipe()"
we have been using O_NONBLOCK unconditionally, so we might as well drop
the fallback here as well. This commit should be reverted if someone
reports a significant/supported platform that genuinely doesn't have
O_NONBLOCK.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
Since 5c65437d "glib-unix: Add O_NONBLOCK support to g_unix_open_pipe()"
we have effectively been assuming that these two flags are
distinguishable. If that's an assumption we want to make, we should make
it a static assertion, so that GLib will fail to compile on platforms
where it isn't true.
Signed-off-by: Simon McVittie <smcv@collabora.com>
|
|
This makes it more consistent with `meson setup` in the rest of the
file.
|
|
This removes a deprecation warning when using 'meson' without 'setup'.
|
|
gdbus-codegen: preserve relative indentation in doc comments
Closes #3032
See merge request GNOME/glib!3536
|
|
gregex: set default max stack size for PCRE2 JIT compiler to 512KiB
See merge request GNOME/glib!3530
|
|
This commit also changes the generators for rst, xml and dockbook
to preserve indentation.
Closes #3032
|
|
|
|
Previous default used was 32KiB (the library default) which caused some
complex patterns to fail, see #2824. The memory will not be allocated
unless used.
|
|
There is no point to enable jit in g_regex_new, since JIT will be only
used when we do a first match, and at that point
enable_jit_with_match_options will be called again already and will
update the options set in g_regex_new. Instead just run it at first
match for the first time, to the same end result.
|
|
tests: Use g_assert_*() rather than g_assert() in tree tests
See merge request GNOME/glib!3527
|
|
ci: Further fix to pages CI job
See merge request GNOME/glib!3534
|
|
Follow-up to e234a4496ef6e2a7a2896fc6b9ddf93044a420ab to remove the old
`only: main`, which was overriding the changes from that commit.
Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
|
|
ci: Only run pages CI job on scheduled job runs
See merge request GNOME/glib!3533
|
|
gnetworkaddress: use reentrant getservbyname_r() if available
See merge request GNOME/glib!3526
|