https://github.com/GNOME/glib

sort by:
Revision Author Date Message Commit Date
c52518a notification: Don't send file icons to the portal The notification portal only accept themed icons and bytes icons, so convert file icons to bytes before sending notifications to the portal. This was pointed out in https://github.com/flatpak/xdg-desktop-portal/issues/317 09 May 2019, 18:05:41 UTC
76966e6 Merge branch 'wip/ernestask/dtd-fix' into 'master' gschema.dtd: Add target attribute to alias See merge request GNOME/glib!814 07 May 2019, 10:31:53 UTC
0ff9704 Merge branch '1739-freebsd-too' into 'master' tests: Don’t check for libdl on FreeBSD or NetBSD either Closes #1739 See merge request GNOME/glib!810 07 May 2019, 10:26:57 UTC
b17436d Merge branch 'wip/tingping/socketclient-cancel-2' into 'master' gsocketclient: Fix potential critical when cancelling connect Closes #1747 See merge request GNOME/glib!783 06 May 2019, 21:50:25 UTC
3d9a896 gschema.dtd: Add target attribute to alias The implementation requires it, but the DTD doesn’t even mention it. 06 May 2019, 14:26:53 UTC
8811790 Merge branch 'wip/carlosg/appinfo-environment-preconditions' into 'master' gappinfo: Add precondition checks to GAppLaunchContext env methods See merge request GNOME/glib!813 06 May 2019, 11:29:30 UTC
133ad1d gappinfo: Add precondition checks to GAppLaunchContext env methods Spotted in https://gitlab.gnome.org/GNOME/mutter/issues/586. Bad input on GAppLaunchContext environment manipulation functions is caught by inner code, but the warning is not seemingly related. Add precondition checks to these functions so it's clear where does the bad input come from. 06 May 2019, 11:05:24 UTC
5bb2366 Merge branch '106-boxed-documentation' into 'master' docs: Expand introduction to boxed types Closes #106 See merge request GNOME/glib!798 02 May 2019, 14:59:35 UTC
9be2ce3 Merge branch '1768-strlcat-test-fix' into 'master' tests: Increase buffer size for g_strlcat() tests Closes #1768 See merge request GNOME/glib!811 02 May 2019, 14:55:36 UTC
d5f9b53 Merge branch 'queue-tests' into 'master' Get to 100% coverage on GQueue tests See merge request GNOME/glib!806 02 May 2019, 14:51:24 UTC
15aaaea docs: Expand introduction to boxed types Signed-off-by: Philip Withnall <withnall@endlessm.com> Fixes: #106 02 May 2019, 13:31:31 UTC
d16a7b2 Merge branch 'socket-docs-trivial' into 'master' gsocket: Clarify in docs that `flags` arguments can be platform specific See merge request GNOME/glib!732 02 May 2019, 12:54:18 UTC
d509335 gqueue: Remove a redundant branch queue->tail->next cannot be non-NULL, as pushing onto the end of the queue is handled by the call to g_queue_push_tail_link() above. Signed-off-by: Philip Withnall <withnall@endlessm.com> 02 May 2019, 12:53:09 UTC
4f38620 tests: Add unit tests for g_queue_push_nth_link() This should get its branch coverage up to 100%. For completeness’ sake. Signed-off-by: Philip Withnall <withnall@endlessm.com> 02 May 2019, 12:53:09 UTC
f033948 tests: Add a test for calling g_queue_clear_full() with a NULL free_func This improves the branch coverage of gqueue.c a little. Signed-off-by: Philip Withnall <withnall@endlessm.com> 02 May 2019, 12:53:09 UTC
2aa71ab tests: Rearrange assertions in the g_queue_clear_full() test This makes it a bit clearer that we expect the queue to be empty as a result of calling g_queue_clear_full(), rather than as a result of any of the later cleanup. Signed-off-by: Philip Withnall <withnall@endlessm.com> 02 May 2019, 12:50:38 UTC
aaf0a7c Merge branch '1713-ucd-12' into 'master' glib: Update Unicode Character Database to version 12.0.0 Closes #1713 See merge request GNOME/glib!804 02 May 2019, 12:49:16 UTC
81ba6e5 tests: Remove redundant non-NULL checks in g_strlcat() test The buffer is a local array, not a pointer, so can never be NULL. Signed-off-by: Philip Withnall <withnall@endlessm.com> 02 May 2019, 12:28:55 UTC
777a603 tests: Add checks for buffer sizing in g_strlcat() tests Just to ensure we’re passing a valid value for dest_size. Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #1768 02 May 2019, 12:28:27 UTC
7541085 tests: Increase buffer size for g_strlcat() tests There was a buffer overflow on the last g_strlcat() call in the test. Signed-off-by: Philip Withnall <withnall@endlessm.com> Fixes: #1768 02 May 2019, 12:27:53 UTC
0095056 Merge branch '1755-revert-gstrfunc' into 'master' Revert "macros: Try to use the standard __func__ first in G_STRFUNC" Closes #1755 See merge request GNOME/glib!799 02 May 2019, 12:24:15 UTC
c6342b9 tests: Don’t check for libdl on FreeBSD or NetBSD either As with commit c14ac90ed2347ef050ccc83ef6b7b183cec6d0e4, it isn’t needed and doesn’t exist. Signed-off-by: Philip Withnall <withnall@endlessm.com> Fixes: #1739 02 May 2019, 12:00:48 UTC
22d4a44 Merge branch 'emmanuel.fleury/glib-g_strcanon_documentation_fix' into 'master' Modified version of !784 — Adding tests cases for a better coverage of glib/tests/strfuncs.c See merge request GNOME/glib!809 01 May 2019, 23:30:07 UTC
4afab02 Adding tests cases for a better coverage of glib/tests/strfuncs.c 01 May 2019, 23:13:25 UTC
375fa65 Merge branch 'wip/chergert/insertbeforelink' into 'master' Add pre-allocated link helpers for GList and GQueue See merge request GNOME/glib!476 01 May 2019, 22:47:15 UTC
b3925ff glist: code style cleanup for g_list_insert_before() This makes the g_list_insert_before() follow more closely the guidelines for GLib, which is to avoid implicit pointer boolean value and to prefer for over while to improve readability. 01 May 2019, 20:01:14 UTC
a4c3feb queue: add g_queue_insert_before_link() and g_queue_insert_after_link() This adds two new helpers that allow for inserting pre-allocated GList elements to the queue similar to existing helpers. This may be advantagous in some situations such as statically allocated GList elements. 01 May 2019, 20:01:14 UTC
b0132bb list: add g_list_insert_before_link() This adds a new insertion helper using a pre-allocated link which may be advantagous in some situations such as statically linked GList elements. 01 May 2019, 20:01:14 UTC
48b037f Merge branch 'ci-update' into 'master' Update the Docker images used for CI See merge request GNOME/glib!808 01 May 2019, 10:12:02 UTC
0b609b5 ci: Add a debian-stable job So we can test ancient toolchains. 30 April 2019, 17:26:15 UTC
992e7ce ci: Move to per-job images We don't use a global Docker image any more. 30 April 2019, 17:26:15 UTC
397e44f ci: Update the Android NDK image to Fedora 28 Fedora 27 was EOL'ed on November 2018. We move to Fedora 28 because the Android NDK requires Python 2 and probably other things, and bumping to Fedora 29 is going to be more painful. 30 April 2019, 17:26:15 UTC
ee9afb3 ci: Remove Android and MingW bits from the fedora Dockerfile These live in their own Dockerfiles, now. 30 April 2019, 17:22:44 UTC
15d13d1 ci: Add a MinGW Docker image The Fedora image we use contains MinGW bits that ought to go into their own Docker container. This avoids having a massive Docker image that gloms everything and is harder to update. While we're splitting off, we can also update to Fedora 29, as we can rely on Fedora packagers doing their job and ensuring that the MinGW cross-compilation toolchain still works. 30 April 2019, 17:21:15 UTC
92fbdb5 ci: Add an Android NDK Docker image The Fedora image we use contains Android bits that ought to go into their own Docker container. This avoids having a massive Docker image that gloms everything and is harder to update. We reuse the same Docker image we used for Fedora, to avoid regressing. 30 April 2019, 17:18:38 UTC
b4d920f ci: Beef up run-docker.sh Add argument validation and split the build/run/push phases into commands. 30 April 2019, 14:37:31 UTC
d42a551 ci: Rename the Fedora Dockerfile We're going to add more, so let's avoid collisions. 30 April 2019, 14:37:31 UTC
2515015 ci: Add Debian stable Docker image Does everything the Fedora image does, only with an older toolchain and older dependencies. 30 April 2019, 14:37:31 UTC
eb55d64 Check GCC version before ignoring diagnostic message The `alloc-size-larger-than` warning is available starting with GCC 7, and using it in a pragma will generate a warning on older versions of GCC. 30 April 2019, 13:49:00 UTC
6cb6b41 Add a version check for duplicated-branches warning The GHashTable code ignores the duplicated-branches GCC warning, but we need to do a compiler and version check, as either non-GCC compatible compilers, or older versions of GCC will warn about the unknown pragma or diagnostic. If we don't do this while turning warnings into error, we're going to fail the build unnecessarily. 30 April 2019, 13:49:00 UTC
99d068f ci: Add clang and scan-build We want to run the Clang-based build analysis tool in our CI pipeline, taking advantage of its native support in Meson. 30 April 2019, 13:49:00 UTC
7875f34 ci: Update the Docker image for Fedora Use Fedora 29, soon to be old-stable. 30 April 2019, 13:49:00 UTC
94f63b8 Merge branch 'strcanon-docs' into 'master' Merge of initial commits from !784 Closes #29 See merge request GNOME/glib!807 30 April 2019, 10:52:42 UTC
31c4a3a Merge branch 'flaky-monitor' into 'master' Remove monitor test See merge request GNOME/glib!785 30 April 2019, 10:04:03 UTC
b3eab1d Fixing glib/tests/strfuncs.c to conform to new test coding standards 30 April 2019, 07:43:01 UTC
95a5f63 Fix some documentation issue in glib/gstrfuncs.c Apparently, the documentation of g_strcanon() was not really cristal clear, so this new code sample try to make it clear the fact that we are working on the given string and not a copy. Moreover, it provides a way to keep the original string at once. Fix #29 30 April 2019, 07:43:01 UTC
6d3dcd1 Merge branch 'tap-p-order' into 'master' testing: Run tests specified with -p in the order specified Closes #1763 See merge request GNOME/glib!805 29 April 2019, 17:09:20 UTC
a537e53 testing: Run tests specified with -p in the order specified Closes: #1763 Signed-off-by: Simon McVittie <smcv@collabora.com> 29 April 2019, 16:28:55 UTC
0e999f3 Merge branch 'tap-skip' into 'master' gtestutils: Make --tap compatible with -p and --GTestSkipCount See merge request GNOME/glib!556 29 April 2019, 15:45:59 UTC
48cc3ab testing: Comment that test order with -p is reversed Signed-off-by: Simon McVittie <smcv@collabora.com> 29 April 2019, 15:12:02 UTC
dfec3c6 Test what happens when GTestSkipCount is 0 or more than number of tests Using --GTestSkipCount 0 is the same as omitting it. A skip count greater than the number of tests is the same as equalling the number of tests: they are all skipped. Signed-off-by: Simon McVittie <smcv@collabora.com> 29 April 2019, 15:08:55 UTC
bcee67e gtestutils: Test the combination of --tap and -p Signed-off-by: Simon McVittie <smcv@collabora.com> 29 April 2019, 14:54:10 UTC
b24cdff gtestutils: Allow combining --tap with -p The -p option is documented, and can be used to select and repeat test-cases. This is particularly useful when debugging a single failure among a large number of test-cases, or when debugging a test-case that you suspect influences another test-case by leaking global state. Until now, -p was only supported with GLib's default (GLib-specific) textual output format, and not with the standardized TAP format that we are now encouraging. If we are considering making TAP the new default (see glib#1619) it should get feature-equivalence with the current default. Because -p allows test-cases to be re-ordered and repeated, and an entry in the test_paths list can match any number of test-cases (including zero), we don't know ahead of time how many test-cases we are going to run. TAP allows the "plan" to be deferred to the end, exactly to support situations like this. Signed-off-by: Simon McVittie <smcv@collabora.com> 29 April 2019, 14:54:10 UTC
efa56aa gtestutils: Test the combination of --tap and --GTestSkipCount Signed-off-by: Simon McVittie <smcv@collabora.com> 29 April 2019, 14:54:10 UTC
1408219 gtestutils: Make --tap compatible with --GTestSkipCount The undocumented --GTestSkipCount option is internal to the deprecated gtester tool and rather obscure, but it's straightforward to support by making G_TEST_LOG_SKIP_CASE produce TAP output similar to what already happened when we emitted G_TEST_LOG_STOP_CASE with result G_TEST_RUN_SKIPPED. I might as well do that while I'm looking at the interaction between the --tap, -p and -s options. Signed-off-by: Simon McVittie <smcv@collabora.com> 29 April 2019, 14:54:10 UTC
88bac46 gtestutils: Add regression test for combining -s with --tap Signed-off-by: Simon McVittie <smcv@collabora.com> 29 April 2019, 14:54:10 UTC
87014c8 glib: Update Unicode Character Database to version 12.0.0 Using commands: glib/gen-unicode-tables.pl -both 12.0.0 path/to/UCD tests/gen-casefold-txt.py 12.0.0 path/to/UCD/CaseFolding.txt \ > tests/casefold.txt tests/gen-casemap-txt.py 12.0.0 path/to/UCD/UnicodeData.txt \ path/to/UCD/SpecialCasing.txt > tests/casemap.txt plus some manual additions of the new G_UNICODE_SCRIPT_* symbols to gunicode.h, guniprop.c and glib/tests/unicode.c. Using UCD release https://www.unicode.org/Public/zipped/12.0.0/UCD.zip. Signed-off-by: Philip Withnall <withnall@endlessm.com> Fixes: #1713 29 April 2019, 13:16:12 UTC
e9389ef gsocket: Clarify in docs that `flags` arguments can be platform specific As suggested by Philip Chimento. Signed-off-by: Philip Withnall <withnall@endlessm.com> 29 April 2019, 12:21:08 UTC
1c77c93 Merge branch 'gconstrutor-h-stdlib-h-msvc' into 'master' glib/gconstructor.h: Include stdlib.h for MSVC builds See merge request GNOME/glib!791 29 April 2019, 12:10:52 UTC
8482318 Merge branch 'master' into 'master' gnetworkmonitornm: Fix network available detection See merge request GNOME/glib!781 29 April 2019, 12:05:54 UTC
719133e gnetworkmonitornm: Fix network available detection The network-available property can be asserted by querying the NMState describing the current overval network state, instead of the NMConnectivityState. The advantage of the NMState is that is reflects immediately the network state modification, while the connectivity state is tested at a fixed frequency. 29 April 2019, 12:05:54 UTC
798c59a Merge branch 'openbsd-no-ld' into 'master' gio: tests, don't check for libdl on OpenBSD See merge request GNOME/glib!802 29 April 2019, 11:21:41 UTC
4ceac0d Merge branch '1760-txt-record-docs' into 'master' docs: Clarify support for multiple TXT record strings Closes #1760 See merge request GNOME/glib!797 29 April 2019, 10:50:05 UTC
753eeb1 gproxy: Add a missing ‘the’ to a documentation comment Spotted by Michael Catanzaro. Signed-off-by: Philip Withnall <withnall@endlessm.com> 29 April 2019, 10:33:02 UTC
1273fa3 Update Basque translation 28 April 2019, 09:21:55 UTC
c14ac90 gio: tests, don't check for libdl on OpenBSD libdl does not exist on OpenBSD and is not required as the functionnality is provided in libc. 27 April 2019, 16:45:45 UTC
5bb19b0 docs: Clarify support for multiple TXT record strings Most TXT records only contain a single string, but some may contain more. Signed-off-by: Philip Withnall <withnall@endlessm.com> Fixes: #1760 26 April 2019, 15:49:38 UTC
1916700 Revert "macros: Try to use the standard __func__ first in G_STRFUNC" This reverts commit 9f75cc9edf1d311ef4bacc3d686c7afa0c4dcbb2. It breaks usage of G_STRFUNC when compiling applications with `-Wpedantic` — `__func__` is not `#define`d, so G_STRFUNC was falling through to using `__FUNCTION__`, which raises a warning with `-Wpedantic`. Fun times. Fixes: #1755 26 April 2019, 12:08:21 UTC
63af8ed Merge branch 'mate-xfce4-term' into 'master' gdesktopappinfo: Add support for MATE and Xfce4 terminals See merge request GNOME/glib!795 26 April 2019, 11:27:19 UTC
e036d1b docs: Improve formatting of GVariant types in GResolverRecordType docs Signed-off-by: Philip Withnall <withnall@endlessm.com> 26 April 2019, 11:15:55 UTC
38de3e9 docs: Use ‘look up’ as a verb, rather than the noun ‘lookup’ Another niggle fixed. Signed-off-by: Philip Withnall <withnall@endlessm.com> 26 April 2019, 11:12:31 UTC
0b56229 Merge branch 'master-terminology' into 'master' general: Remove a few unhelpful references to ‘master’ See merge request GNOME/glib!792 25 April 2019, 15:26:06 UTC
292cb2c gdesktopappinfo: Add support for MATE and Xfce4 terminals Add support for mate-terminal and xfce4-terminal with higher precedence over xterm as it's likely people that have those want to use them. They both use the gnome-terminal `-x` switch instead of xterm's `-e`. 25 April 2019, 14:10:49 UTC
aba0b64 Merge branch 'issue-1751' into 'master' cocoanotificationbackend: do not release readonly property Closes #1751 See merge request GNOME/glib!786 25 April 2019, 09:11:44 UTC
8b1d763 Update Indonesian translation 25 April 2019, 08:48:15 UTC
192bf09 general: Remove a few unhelpful references to ‘master’ Some of these have a negative master/slave connotation, and they add no value. Change or drop them. Signed-off-by: Philip Withnall <withnall@endlessm.com> 25 April 2019, 08:25:49 UTC
d4238b9 glib/gconstructor.h: Include stdlib.h for MSVC builds This is in case the compiler complains that we don't have the prototypes for atexit(), and it doesn't hurt to include that file here. 25 April 2019, 04:55:04 UTC
0bf5a8c Merge branch 'wip/tingping/rtld-check-fix' into 'master' build: Fix check for RTLD_NEXT See merge request GNOME/glib!782 23 April 2019, 16:09:38 UTC
a6a8017 Merge branch '1753-resolver-test-leaks' into 'master' tests: Fix some minor tests in the GResolver tests in manual mode Closes #1753 See merge request GNOME/glib!788 23 April 2019, 15:13:59 UTC
c4493d2 cocoanotificationbackend: do not release readonly property Fixes a crash when releasing a property that was not retained before. Helps: https://gitlab.gnome.org/GNOME/glib/issues/1751 23 April 2019, 15:10:12 UTC
9144aa2 tests: Fix some minor tests in the GResolver tests in manual mode Signed-off-by: Philip Withnall <withnall@endlessm.com> https://gitlab.gnome.org/GNOME/glib/issues/1753 23 April 2019, 10:31:04 UTC
334c77d Merge branch 'wip/mjog/gitignore' into 'master' build: Remove */.gitignore files See merge request GNOME/glib!787 23 April 2019, 09:45:34 UTC
9a2691a Updated Spanish translation 23 April 2019, 08:23:19 UTC
6b61395 build: Remove */.gitignore files Since out-of-source-tree builds are now used after switching to meson, we don't need .gitignore files in the source directories to ignore build artifacts. This fixes build errors when doing a meson build after an autotools build, because generated files such as gio/xdp-dbus.c won't show up in a `git status`, or be removed by a `git clean -f`, and so it won't be obvious that such files need to be removed for the meson build to succeed. 22 April 2019, 12:17:43 UTC
5299e87 Remove monitor test The `monitor` test was originally written to test GFileMonitor with directories. Over time, `testfilemonitor` acquired units for testing directories as well, which made the `monitor` test reduntant. 22 April 2019, 09:36:56 UTC
ce961e2 Update Catalan translation (cherry picked from commit ab1cc89209cb556193fdffcf5d40259bc45ff13d) 17 April 2019, 16:53:39 UTC
313e7cb gsocketclient: Fix potential critical when cancelling connect We are manually tracking the completion state of the connect task so avoid just calling g_task_return_error_if_cancelled() without checking that. Fixes #1747 16 April 2019, 17:26:01 UTC
641966c build: Fix check for RTLD_NEXT 16 April 2019, 16:24:06 UTC
0cdbdb3 Merge branch 'report-license' into 'master' Add copyright and licensing terms to test report generator See merge request GNOME/glib!780 16 April 2019, 11:44:43 UTC
02f18de Add copyright and licensing terms to test report generator So that other projects can use it. 16 April 2019, 10:45:43 UTC
e6f1b36 Merge branch 'optional_tests' into 'master' Only build tests if certain conditions are met. See merge request GNOME/glib!774 16 April 2019, 10:19:41 UTC
e7b0d89 Only build tests if certain conditions are met. Currently, there is no way to prevent tests from building using meson. When cross-compiling, building the tests isn't necessary. Instead, only build the tests on the following conditions: 1) If not cross-compiling. 2) If cross-compiling, and there is an exe wrapper. 16 April 2019, 10:19:41 UTC
422e5fb Merge branch 'w32-argv0' into 'master' W32: swap special g_get_prgname() for platform_get_argv0() See merge request GNOME/glib!766 16 April 2019, 08:40:55 UTC
cf39fbd W32: swap special g_get_prgname() for platform_get_argv0() Commit 398008da added a W32-only code (from commit 7e0e251a) to g_get_prgname() that makes this function never return NULL. This is inconsistent with the other platforms. Revert the change, and add an implementation for platform_get_argv0(), which is used by GOption when g_get_prgname() == NULL. The W32 platform_get_argv0() code is different from the one that was in g_get_prgname(), because it should be getting argv0, not the name of the executable that is being run (although most of the time they are one and the same). Adjust thest option-argv0 test to expect it to pass on W32. 16 April 2019, 08:40:55 UTC
c95e2ae 2.61.0 Signed-off-by: Philip Withnall <withnall@endlessm.com> 15 April 2019, 11:45:02 UTC
3174e62 Merge branch 'docs-symbols' into 'master' Fix 2.62 documentation symbols See merge request GNOME/glib!779 15 April 2019, 11:26:09 UTC
a00d6b0 docs: Add GLib 2.62 version macros to glib-sections.txt Signed-off-by: Philip Withnall <withnall@endlessm.com> 15 April 2019, 11:09:33 UTC
4ac7d2d docs: Add GLib 2.62 symbols to glib-docs.xml Signed-off-by: Philip Withnall <withnall@endlessm.com> 15 April 2019, 11:09:16 UTC
cd04cf7 Merge branch '1614-freebsd-threading-flaky' into 'master' tests: Unmark several gdbus-* tests as flaky Closes #1614 See merge request GNOME/glib!777 15 April 2019, 09:11:13 UTC
14e90e3 Merge branch '1709-resource-llvm' into 'master' tests: Only run --external-data test on GNU ld/objcopy Closes #1711 and #1709 See merge request GNOME/glib!776 12 April 2019, 18:30:55 UTC
back to top