summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gresolver: use inet_pton()mcatanzaro/kill-inet-atonMichael Catanzaro2021-05-101-2/+2
| | | | | inet_aton() is obsolete and triggering a downstream disallowed function call checker. It can be trivially replaced with inet_pton() instead.
* Merge branch 'jomccambridge-master-patch-47329' into 'master'Sebastian Dröge2021-05-061-2/+5
|\ | | | | | | | | | | | | Update signal accumulator docs. Closes #2352 See merge request GNOME/glib!2058
| * Update signal accumulator docs.John McCambridge2021-04-291-2/+5
| | | | | | | | | | Reflect that a FALSE returned from the accumulator will still emit signals in the RUN_CLEANUP state. Fixes #2352
* | Merge branch 'wi24rd-master-patch-30504' into 'master'Sebastian Dröge2021-05-061-1/+1
|\ \ | | | | | | | | | | | | gcredentials.h: Fix comment typo See merge request GNOME/glib!2085
| * | gcredentials.h: Fix comment typo王滋涵 Zephyr Wang2021-05-061-1/+1
|/ /
* | Merge branch 'fix_more_warnings' into 'master'2398-multicast-transmission-from-defined-interface-fails-for-non-default-interfaces-when-usingPhilip Withnall2021-05-046-16/+17
|\ \ | | | | | | | | | | | | Fix more warnings See merge request GNOME/glib!2074
| * | Fix signedness warning in tests/mainloop-test.cEmmanuel Fleury2021-05-041-2/+2
| | | | | | | | | | | | | | | | | | | | | 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++) | ^
| * | Fix signedness warning in tests/dirname-test.cEmmanuel Fleury2021-05-041-3/+2
| | | | | | | | | | | | | | | | | | | | | 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++) | ^
| * | Fix several signedness warnings in tests/gobject/performance-threaded.cEmmanuel Fleury2021-05-041-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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++) | ^
| * | Fix signedness warnings in tests/gobject/timeloop-closure.cEmmanuel Fleury2021-05-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) | ^
| * | Fix signedness warnings in tests/refcount/objects.cEmmanuel Fleury2021-05-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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++) { | ^
| * | Fix signedness warnings in tests/gobject/performance.cEmmanuel Fleury2021-05-041-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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++) | ^
* | | Merge branch 'th/guuid-parse-shift' into 'master'Philip Withnall2021-05-031-1/+1
|\ \ \ | | | | | | | | | | | | | | | | guuid: fix shift operation to parse hex string in uuid_parse_string() See merge request GNOME/glib!2080
| * | | guuid: fix shift operation to parse hex string in uuid_parse_string()Thomas Haller2021-05-031-1/+1
|/ / / | | | | | | | | | | | | | | | 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.
* | | Merge branch 'resolver_lookup_flags' into 'master'Philip Withnall2021-05-031-1/+1
|\ \ \ | | | | | | | | | | | | | | | | gthreadedresolver: don't ignore flags in lookup_by_name_with_flags See merge request GNOME/glib!2078
| * | | gthreadedresolver: don't ignore flags in lookup_by_name_with_flagsClayton Craft2021-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge branch 'allomix302-master-patch-38827' into 'master'Philip Withnall2021-05-032-4/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gmacros: Add __ to noinline to prevent conflict with macro in pixman Closes #2388 See merge request GNOME/glib!2059
| * | | | gmacros: Add __ to noinline to prevent conflict with macro in pixmanRobin Verdenal-Tallieux2021-05-032-4/+4
| |/ / / | | | | | | | | | | | | Fixes: #2388
* | | | Update Occitan translationQuentin PAGÈS2021-05-021-1747/+3539
| | | |
* | | | Update Nepali translationPawan Chitrakar2021-05-021-732/+605
|/ / / | | | | | | | | | (cherry picked from commit 5e0058198048912e93dbc2619a725519c48e7144)
* | | Merge branch 'gdtlsconnection-vfunc-check' into 'master'masterSebastian Dröge2021-04-291-1/+1
|\ \ \ | | | | | | | | | | | | | | | | gdtlsconnection: Fix a check for a vfunc being implemented See merge request GNOME/glib!2075
| * | | gdtlsconnection: Fix a check for a vfunc being implementedPhilip Withnall2021-04-291-1/+1
| |/ / | | | | | | | | | | | | | | | It was checking the wrong vfunc; likely a copy/paste error. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
* | | Merge branch 'gnuc_macro_updates' into 'master'Philip Withnall2021-04-293-6/+7
|\ \ \ | |/ / |/| | | | | | | | | | | | | | gmacros: use G_GNUC_CHECK_VERSION Closes #2389 See merge request GNOME/glib!2073
| * | gtype: use G_GNUC_CHECK_VERSIONNishal Kulkarni2021-04-291-1/+1
| | | | | | | | | | | | Replace `__GLIBC__` with `G_GNUC_CHECK_VERSION`
| * | test-printf: use G_GNUC_CHECK_VERSIONNishal Kulkarni2021-04-291-4/+4
| | | | | | | | | | | | Replace `__GLIBC__` with `G_GNUC_CHECK_VERSION`
| * | gbitlock: use G_GNUC_CHECK_VERSIONNishal Kulkarni2021-04-291-1/+2
| | | | | | | | | | | | Replace `__GLIBC__` with `G_GNUC_CHECK_VERSION`
* | | Merge branch 'fix_more_warnings' into 'master'Sebastian Dröge2021-04-298-27/+62
|\ \ \ | |/ / |/| | | | | | | | Fix more warnings See merge request GNOME/glib!2063
| * | Fix signedness warning in tests/onceinit.cEmmanuel Fleury2021-04-291-1/+1
| | | | | | | | | | | | | | | | | | | | | 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++) | ^
| * | Fix missing initializer warning in tests/gobject/defaultiface.cEmmanuel Fleury2021-04-291-1/+6
| | | | | | | | | | | | | | | | | | | | | 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 | }; | ^
| * | Fix multiple missing initializer warnings in tests/gobject/testcommon.hEmmanuel Fleury2021-04-291-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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, | ^~~~~~~~~~~~
| * | Fix several missing initializer in tests/gobject/testgobject.cEmmanuel Fleury2021-04-291-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | }; | ^
| * | Fix several missing initializer warnings in gio/tests/basic-application.cEmmanuel Fleury2021-04-291-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 } | ^
| * | Fix several missing initializer warnings in gio/tests/dbus-appinfo.cEmmanuel Fleury2021-04-291-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 } | ^
| * | Fix signedness warning in gio/tests/readwrite.cEmmanuel Fleury2021-04-291-2/+4
| | | | | | | | | | | | | | | | | | | | | 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); | ^~
| * | Fix several signedness warnings in gio/tests/unix-streams.cEmmanuel Fleury2021-04-291-12/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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++) | ^
* | | Merge branch 'fix-documentation-of-limit-in-gstringreplace' into 'master'Sebastian Dröge2021-04-291-2/+2
|\ \ \ | |/ / |/| | | | | | | | gstring: Cleanup documentation of g_string_replace See merge request GNOME/glib!2071
| * | gstring: Cleanup documentation of g_string_replacePeter Bloomfield2021-04-271-2/+2
|/ / | | | | | | Clean up the documentation of `g_string_replace()`'s `limit` parameter.
* | Merge branch 'application-unregistered-notify' into 'master'Philip Withnall2021-04-272-0/+83
|\ \ | | | | | | | | | | | | application: Unset the registered state after shutting down See merge request GNOME/glib!2056
| * | application: Unset the registered state after shutting downMarco Trevisan (Treviño)2021-04-272-0/+83
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge branch 'gpattern-introspectable' into 'master'Philip Withnall2021-04-278-16/+184
|\ \ | | | | | | | | | | | | gpattern: Register as Boxed type and support introspection for it See merge request GNOME/glib!2066
| * | tests/pattern: Add compilation and copy test for utf-8 stringMarco Trevisan (Treviño)2021-04-271-2/+2
| | | | | | | | | | | | | | | While we already tested this for matching we did not when copying, so adding an expclit test for the utf8 case.
| * | gpattern: Adjust includes to match style rulesMarco Trevisan (Treviño)2021-04-271-2/+2
| | |
| * | gpattern: Move match and match_string functions into GPatternSpecMarco Trevisan (Treviño)2021-04-274-12/+89
| | | | | | | | | | | | | | | | | | This allows introspection to properly handle them as GPatternSpec methods, as per this deprecate g_pattern_match() and g_pattern_match_string() functions.
| * | boxed: Register GPatternSpec as boxed typeMarco Trevisan (Treviño)2021-04-274-0/+38
| | |
| * | gpattern: Implement copy functionMarco Trevisan (Treviño)2021-04-274-0/+53
| | | | | | | | | | | | | | | Add copy ability for pattern spec, so that it can be used as a boxed type.
* | | Merge branch 'gdbus-tool-use-basename-fix' into 'master'Philip Withnall2021-04-271-1/+1
|\ \ \ | |/ / |/| | | | | | | | gdbus-tool: Actually use argv[0] basename as program name See merge request GNOME/glib!2069
| * | gdbus-tool: Actually use argv[0] basename as program nameMarco Trevisan (Treviño)2021-04-271-1/+1
|/ / | | | | | | We initialize it but never actually use.
* | Merge branch 'nacho/gmacros-master2' into 'master'Sebastian Dröge2021-04-271-1/+1
|\ \ | | | | | | | | | | | | gmacros: missing check if __STDC_VERSION__ is defined See merge request GNOME/glib!2067
| * | gmacros: missing check if __STDC_VERSION__ is definedIgnacio Casal Quinteiro2021-04-271-1/+1
|/ / | | | | | | This fixes warnings when compiling on old distros like centos 7
* | Merge branch 'fix_more_warnings' into 'master'Sebastian Dröge2021-04-239-14/+25
|\ \ | | | | | | | | | | | | Fix more warnings See merge request GNOME/glib!2048