| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
inet_aton() is obsolete and triggering a downstream disallowed function
call checker. It can be trivially replaced with inet_pton() instead.
|
|\
| |
| |
| |
| |
| |
| | |
Update signal accumulator docs.
Closes #2352
See merge request GNOME/glib!2058
|
| |
| |
| |
| |
| | |
Reflect that a FALSE returned from the accumulator will still emit signals in the RUN_CLEANUP state.
Fixes #2352
|
|\ \
| | |
| | |
| | |
| | | |
gcredentials.h: Fix comment typo
See merge request GNOME/glib!2085
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
Fix more warnings
See merge request GNOME/glib!2074
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
tests/mainloop-test.c: In function ‘cleanup_crawlers’:
tests/mainloop-test.c:358:15: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’}
358 | for (i=0; i < crawler_array->len; i++)
| ^
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
tests/dirname-test.c: In function ‘main’:
tests/dirname-test.c:105:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’}
105 | for (i = 0; i < n_dirname_checks; i++)
| ^
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
tests/gobject/performance-threaded.c: In function ‘run_test’:
tests/gobject/performance-threaded.c:302:19: error: comparison of integer expressions of different signedness: ‘guint’ {aka ‘unsigned int’} and ‘int’
302 | for (i = 0; i < n_threads; i++) {
| ^
tests/gobject/performance-threaded.c:308:19: error: comparison of integer expressions of different signedness: ‘guint’ {aka ‘unsigned int’} and ‘int’
308 | for (i = 0; i < n_threads; i++) {
| ^
tests/gobject/performance-threaded.c: In function ‘find_test’:
tests/gobject/performance-threaded.c:324:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
324 | for (i = 0; i < G_N_ELEMENTS (tests); i++)
| ^
tests/gobject/performance-threaded.c: In function ‘main’:
tests/gobject/performance-threaded.c:351:21: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
351 | for (i = 0; i < G_N_ELEMENTS (tests); i++)
| ^
tests/gobject/performance-threaded.c:369:21: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
369 | for (i = 0; i < G_N_ELEMENTS (tests); i++)
| ^
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
tests/gobject/timeloop-closure.c: In function ‘read_all’:
tests/gobject/timeloop-closure.c:42:21: error: comparison of integer expressions of different signedness: ‘gsize’ {aka ‘long unsigned int’} and ‘int’
42 | while (bytes_read < len)
| ^
tests/gobject/timeloop-closure.c: In function ‘write_all’:
tests/gobject/timeloop-closure.c:66:24: error: comparison of integer expressions of different signedness: ‘gsize’ {aka ‘long unsigned int’} and ‘int’
66 | while (bytes_written < len)
| ^
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
tests/refcount/objects.c: In function ‘main’:
tests/refcount/objects.c:133:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘const unsigned int’}
133 | for (i = 0; i < n_threads; i++) {
| ^
tests/refcount/objects.c:149:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘unsigned int’
149 | for (i = 0; i < 2 * n_threads; i++) {
| ^
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
tests/gobject/performance.c: In function ‘find_test’:
tests/gobject/performance.c:1019:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
1019 | for (i = 0; i < G_N_ELEMENTS (tests); i++)
| ^
tests/gobject/performance.c: In function ‘main’:
tests/gobject/performance.c:1054:21: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
1054 | for (i = 0; i < G_N_ELEMENTS (tests); i++)
| ^
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
guuid: fix shift operation to parse hex string in uuid_parse_string()
See merge request GNOME/glib!2080
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
The actually parsed `@bytes` are not used because the only caller
does not provide an output parameter to request them. So this bug had
no effect in practice.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
gthreadedresolver: don't ignore flags in lookup_by_name_with_flags
See merge request GNOME/glib!2078
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This fixes a bug where the family flag was ignored in lookup_data_new,
causing the resolver to call getaddrinfo with no hints set when clearly
the family hint should have been set.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
gmacros: Add __ to noinline to prevent conflict with macro in pixman
Closes #2388
See merge request GNOME/glib!2059
|
| |/ / /
| | | |
| | | |
| | | | |
Fixes: #2388
|
| | | | |
|
|/ / /
| | |
| | |
| | | |
(cherry picked from commit 5e0058198048912e93dbc2619a725519c48e7144)
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
gdtlsconnection: Fix a check for a vfunc being implemented
See merge request GNOME/glib!2075
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
It was checking the wrong vfunc; likely a copy/paste error.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
gmacros: use G_GNUC_CHECK_VERSION
Closes #2389
See merge request GNOME/glib!2073
|
| | |
| | |
| | |
| | | |
Replace `__GLIBC__` with `G_GNUC_CHECK_VERSION`
|
| | |
| | |
| | |
| | | |
Replace `__GLIBC__` with `G_GNUC_CHECK_VERSION`
|
| | |
| | |
| | |
| | | |
Replace `__GLIBC__` with `G_GNUC_CHECK_VERSION`
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
Fix more warnings
See merge request GNOME/glib!2063
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
tests/onceinit.c: In function ‘stress_concurrent_initializers’:
tests/onceinit.c:267:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
267 | for (i = 0; i < G_N_ELEMENTS (initializers); i++)
| ^
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
tests/gobject/defaultiface.c: In function ‘test_dynamic_iface_register’:
tests/gobject/defaultiface.c:126:5: error: missing initializer for field ‘class_data’ of ‘GTypeInfo’ {aka ‘const struct _GTypeInfo’}
126 | };
| ^
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
tests/gobject/testmodule.c: In function ‘test_module_get_type’:
tests/gobject/testmodule.c:34:1: error: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘const struct _GTypeInfo’}
34 | DEFINE_TYPE (TestModule, test_module,
| ^~~~~~~~~~~
tests/gobject/defaultiface.c: In function ‘test_static_iface_get_type’:
tests/gobject/defaultiface.c:58:1: error: missing initializer for field ‘class_finalize’ of ‘GTypeInfo’ {aka ‘const struct _GTypeInfo’}
58 | DEFINE_IFACE (TestStaticIface, test_static_iface,
| ^~~~~~~~~~~~
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
tests/gobject/testgobject.c: In function ‘test_iface_get_type’:
tests/gobject/testgobject.c:53:7: error: missing initializer for field ‘class_init’ of ‘GTypeInfo’ {aka ‘const struct _GTypeInfo’}
53 | };
| ^
tests/gobject/testgobject.c: In function ‘test_object_get_type’:
tests/gobject/testgobject.c:182:7: error: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘const struct _GTypeInfo’}
182 | };
| ^
tests/gobject/testgobject.c: In function ‘derived_object_get_type’:
tests/gobject/testgobject.c:349:7: error: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘const struct _GTypeInfo’}
349 | };
| ^
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
gio/tests/basic-application.c: In function ‘startup’:
gio/tests/basic-application.c:57:5: error: missing initializer for field ‘padding’ of ‘GActionEntry’ {aka ‘struct _GActionEntry’}
57 | { "new", new_activated, NULL, NULL, NULL },
| ^
gio/tests/basic-application.c:58:5: error: missing initializer for field ‘padding’ of ‘GActionEntry’ {aka ‘struct _GActionEntry’}
58 | { "quit", quit_activated, NULL, NULL, NULL },
| ^
gio/tests/basic-application.c:59:5: error: missing initializer for field ‘padding’ of ‘GActionEntry’ {aka ‘struct _GActionEntry’}
59 | { "action1", action1_activated, NULL, NULL, NULL },
| ^
gio/tests/basic-application.c:60:5: error: missing initializer for field ‘padding’ of ‘GActionEntry’ {aka ‘struct _GActionEntry’}
60 | { "action2", action2_activated, "b", "false", change_action2 }
| ^
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
gio/tests/dbus-appinfo.c:177:3: error: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’}
177 | { "frob", test_application_frob },
| ^
gio/tests/dbus-appinfo.c:178:3: error: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’}
178 | { "tweak", test_application_tweak },
| ^
gio/tests/dbus-appinfo.c:179:3: error: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’}
179 | { "twiddle", test_application_twiddle },
| ^
gio/tests/dbus-appinfo.c:180:3: error: missing initializer for field ‘parameter_type’ of ‘GActionEntry’ {aka ‘const struct _GActionEntry’}
180 | { "quit", test_application_quit }
| ^
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
gio/tests/readwrite.c: In function ‘verify_iostream’:
gio/tests/readwrite.c:77:17: error: comparison of integer expressions of different signedness: ‘gboolean’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
77 | g_assert (res == strlen (original_data) - 15);
| ^~
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
gio/tests/unix-streams.c: In function ‘test_write_async_wouldblock’:
gio/tests/unix-streams.c:692:17: error: comparison of integer expressions of different signedness: ‘guint’ {aka ‘unsigned int’} and ‘gint’ {aka ‘int’}
692 | for (i = 0; i < 4 * pipe_capacity; i++)
| ^
gio/tests/unix-streams.c: In function ‘test_writev_async_wouldblock’:
gio/tests/unix-streams.c:780:17: error: comparison of integer expressions of different signedness: ‘guint’ {aka ‘unsigned int’} and ‘gint’ {aka ‘int’}
780 | for (i = 0; i < 4 * pipe_capacity; i++)
| ^
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
gstring: Cleanup documentation of g_string_replace
See merge request GNOME/glib!2071
|
|/ /
| |
| |
| | |
Clean up the documentation of `g_string_replace()`'s `limit` parameter.
|
|\ \
| | |
| | |
| | |
| | | |
application: Unset the registered state after shutting down
See merge request GNOME/glib!2056
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
An application that has been shut down is still marked as registered
even if its implementation has been already destroyed.
This may lead to unguarded crashes when calling functions that have
assumptions for being used with registered applications.
So, when an application is registered, mark it as unregistered just
before destroying its implementation and after being shut down, so that
we follow the registration process in reversed order.
Added tests
|
|\ \
| | |
| | |
| | |
| | | |
gpattern: Register as Boxed type and support introspection for it
See merge request GNOME/glib!2066
|
| | |
| | |
| | |
| | |
| | | |
While we already tested this for matching we did not when copying, so
adding an expclit test for the utf8 case.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This allows introspection to properly handle them as GPatternSpec
methods, as per this deprecate g_pattern_match() and
g_pattern_match_string() functions.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Add copy ability for pattern spec, so that it can be used as a boxed
type.
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
gdbus-tool: Actually use argv[0] basename as program name
See merge request GNOME/glib!2069
|
|/ /
| |
| |
| | |
We initialize it but never actually use.
|
|\ \
| | |
| | |
| | |
| | | |
gmacros: missing check if __STDC_VERSION__ is defined
See merge request GNOME/glib!2067
|
|/ /
| |
| |
| | |
This fixes warnings when compiling on old distros like centos 7
|
|\ \
| | |
| | |
| | |
| | | |
Fix more warnings
See merge request GNOME/glib!2048
|