summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gdbus: use slice allocator for ExportedObjectth/gdbus-slice-allocThomas Haller2021-03-291-2/+2
|
* gdbus: use slice allocator for SignalInstanceThomas Haller2021-03-281-2/+2
|
* gdbus: use slice allocator for RegisterObjectDataThomas Haller2021-03-281-2/+2
|
* gdbus: use slice allocator for ExportedSubtreeThomas Haller2021-03-281-2/+2
|
* gdbus: use slice allocator for SignalDataThomas Haller2021-03-281-2/+2
|
* gdbus: use slice allocator for SignalSubscriberThomas Haller2021-03-281-2/+2
|
* gdbus: use slice allocator for EmitClosedDataThomas Haller2021-03-281-2/+2
|
* gdbus: use slice allocator for CallDestroyNotifyDataThomas Haller2021-03-281-2/+2
|
* gdbus: use slice allocator for FilterDataThomas Haller2021-03-281-2/+2
|
* gdbus: simplify error handling in g_dbus_connection_send_message_unlocked()Thomas Haller2021-03-281-13/+4
| | | | | | | "goto out" is a fine patter, especially when we are not using cleanup attribute. But in this case it was just unnecessary.
* gdbus: refactor duplicate code for freeing FilterDataThomas Haller2021-03-281-22/+22
|
* Update Chinese (China) translationDz Chen2021-03-271-44/+44
|
* Merge branch 'fuzz-path-fix' into 'master'Simon McVittie2021-03-251-2/+2
|\ | | | | | | | | fuzzing: Fix assertion failure in fuzz_paths.c See merge request GNOME/glib!2013
| * fuzzing: Fix assertion failure in fuzz_paths.cPhilip Withnall2021-03-251-2/+2
| | | | | | | | | | | | | | | | | | | | If operating on a zero-length input, the return values of `g_path_get_basename()` and `g_path_get_dirname()` are correctly `.`. The assertions in the test didn’t account for this. oss-fuzz#32454 Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
* | Merge branch '2363-alloca-docs' into 'master'Simon McVittie2021-03-251-0/+11
|\ \ | |/ |/| | | | | | | | | galloca: Clarify alloca() sizes must always be controlled by the program Closes #2363 See merge request GNOME/glib!2014
| * galloca: Clarify alloca() sizes must always be controlled by the programPhilip Withnall2021-03-251-0/+11
|/ | | | | | | | To avoid security vulnerabilities. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Fixes: #2363
* Merge branch 'master' into 'master'Philip Withnall2021-03-244-1/+46
|\ | | | | | | | | make g_tree_remove_all public See merge request GNOME/glib!1986
| * gtree: Make g_tree_remove_all() publicliuyangming2021-03-234-1/+46
| | | | | | | | | | g_tree_remove_all is useful and the corresponding function in GHashTable is exposed, so make this function public is meaningful.
* | Merge branch 'fuzz-path-functions' into 'master'Philip Withnall2021-03-243-0/+53
|\ \ | | | | | | | | | | | | fuzzing: Add fuzz tests for functions which parse paths See merge request GNOME/glib!2006
| * | fuzzing: Add fuzz tests for functions which parse pathsPhilip Withnall2021-03-243-0/+53
| | | | | | | | | | | | Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
* | | Merge branch 'git-to-gitlab' into 'master'Philip Withnall2021-03-2411-18/+18
|\ \ \ | |/ / |/| | | | | | | | docs: Replace git.gnome.org with gitlab.gnome.org urls See merge request GNOME/glib!2012
| * | docs: Replace git.gnome.org with gitlab.gnome.org urlsAvinash Sonawane2021-03-2411-18/+18
|/ /
* | Merge branch 'docs' into 'master'Philip Withnall2021-03-241-1/+1
|\ \ | | | | | | | | | | | | docs: Fix example program link See merge request GNOME/glib!2011
| * | docs: Fix example program linkAvinash Sonawane2021-03-241-1/+1
|/ /
* | Merge branch '2361-key-file-locale-caching' into 'master'Sebastian Dröge2021-03-232-1/+45
|\ \ | |/ |/| | | | | | | | | gkeyfile: Fix crash when parsing translations on a second load Closes #2361 See merge request GNOME/glib!2009
| * gkeyfile: Fix crash when parsing translations on a second loadPhilip Withnall2021-03-232-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | If the same `GKeyFile` is reused to load multiple different key files, any loads after the first which encounter translated keys will crash, because clearing the data from the first load cleared the cached language names, but didn’t clear `checked_locales`, so they were never reloaded. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Fixes: #2361
| * gkeyfile: Drop a redundant checkPhilip Withnall2021-03-231-1/+1
|/ | | | | | | | It should not be possible for `->locales` to be set without `->checked_locales` being set, so drop the redundant check. This helps with branch code coverage. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
* Merge branch 'security-policy' into 'master'Philip Withnall2021-03-231-0/+67
|\ | | | | | | | | docs: Add a policy for handling security issues See merge request GNOME/glib!1985
| * docs: Add a policy for handling security issuesPhilip Withnall2021-03-111-0/+67
| | | | | | | | | | | | | | | | | | | | This also gives details of how to report a security issue, including the key point that merge requests are (unfortunately) not confidential. Heavily based on the flatpak security policy which just landed: https://github.com/flatpak/flatpak/blob/master/SECURITY.md Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
* | Merge branch 'tls-bindings-ci-failure' into 'master'Philip Withnall2021-03-231-1/+8
|\ \ | | | | | | | | | | | | tests: Deactivate tls-bindings test suite for windows See merge request GNOME/glib!2008
| * | tests: Deactivate tls-bindings test suite for windowsFrederic Martinsons2021-03-231-1/+8
|/ / | | | | | | | | | | Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com> Helps: #2297
* | Merge branch 'wip/steal-fd' into 'master'Philip Withnall2021-03-226-23/+69
|\ \ | | | | | | | | | | | | Add g_steal_fd() to API See merge request GNOME/glib!1966
| * | gmain: Add g_steal_fd() to APISimon McVittie2021-03-226-23/+69
|/ / | | | | | | | | | | | | This is basically glnx_steal_fd() from libglnx. We already had two private implementations of it in GLib. Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Merge branch 'remove-out-caller-allocates-from-pod-types' into 'master'Sebastian Dröge2021-03-202-19/+19
|\ \ | | | | | | | | | | | | introspection: Remove 'caller-allocates' from POD types See merge request GNOME/glib!2005
| * | introspection: Remove 'caller-allocates' from POD typesPhilip Chimento2021-03-202-19/+19
|/ / | | | | | | | | | | | | | | | | The (out caller-allocates) and (out callee-allocates) annotations are meant for structured or pointer types. Plain old data types are just regular out parameters and don't need the annotation about who allocates them. See: https://gitlab.gnome.org/GNOME/gjs/-/issues/386
* | Merge branch 'parsing' into 'master'Philip Withnall2021-03-191-12/+3
|\ \ | | | | | | | | | | | | goption.c: Simplfy parse_short_option() See merge request GNOME/glib!1999
| * | goption.c: Simplfy parse_short_option()Avinash Sonawane2021-03-191-12/+3
| | |
* | | Merge branch 'gpollableinputstream-read-nonblocking-caller-allocates' into ↵Sebastian Dröge2021-03-191-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 'master' gpollableinputstream: Add missing annotation See merge request GNOME/glib!1998
| * | | gpollableinputstream: Add missing annotationPhilip Chimento2021-03-181-2/+2
| |/ / | | | | | | | | | | | | | | | | | | The buffer for g_pollable_input_stream_read_nonblocking() is an out parameter which the caller must allocate. See https://gitlab.gnome.org/GNOME/gjs/-/issues/389
* | | Update Serbian translationМарко Костић2021-03-191-119/+109
|/ /
* | Update Chinese (China) translationBoyuan Yang2021-03-191-606/+709
| |
* | Merge branch '2011-add-dbus-watch-name-tests' into 'master'Philip Withnall2021-03-181-30/+295
|\ \ | | | | | | | | | | | | | | | | | | Resolve "Add additional unit tests for D-Bus name watching" Closes #2011 See merge request GNOME/glib!1904
| * | Add two test cases which covers disconnection scenario in another threadFrederic Martinsons2021-03-171-0/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Check that schedule_call_in_idle code branch of gdbusnamewatching.c is working to call vanished handler in the thread which had watched the name 2) Check cancellation of vanished handler if the name is unwatched before vanished callback is dispatched. Closes #2011 Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
| * | Use OwnNameData structure when owning a name instead of WatchNameData.Frederic Martinsons2021-03-171-23/+25
| | | | | | | | | | | | | | | | | | The two structures share some common variable name but it's confusing. Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
| * | Correct memleak introduced by !1885Frederic Martinsons2021-03-171-7/+10
| | | | | | | | | | | | Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
* | | Merge branch 'citrus-it-master-patch-49452' into 'master'Philip Withnall2021-03-181-0/+1
|\ \ \ | | | | | | | | | | | | | | | | Include glibconfig.h to get the G_OS_UNIX token See merge request GNOME/glib!1996
| * | | Include glibconfig.h to get the G_OS_UNIX tokenAndy Fiddaman2021-03-181-0/+1
|/ / /
* | | Merge branch 'wip/start-2-70' into 'master'Philip Withnall2021-03-187-2/+72
|\ \ \ | | | | | | | | | | | | | | | | gversionmacros: Add version macros for GLib 2.70 See merge request GNOME/glib!1965
| * | | build: Post-release version bump to 2.69.0wip/start-2-70Philip Withnall2021-03-181-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
| * | | gversionmacros: Add version macros for GLib 2.70Simon McVittie2021-03-186-1/+71
| | | | | | | | | | | | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com>