| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Fix dbus leaks
See merge request GNOME/dconf!51
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change fixes the dbus-leak tests by dropping the cached
GDBusConnection objects references when the bus connection is closed.
The issue was introduced with recent changes made to GLib[1]
where invoking g_test_dbus_down() will fail after a
timeout if the GDBusConnection object for the session bus leaks.
Given g_test_dbus_down() will first close the connection before checking
for leaks unreffing the object when the connection is closed should fix
the issue.
[1] https://gitlab.gnome.org/GNOME/glib/merge_requests/963
Signed-off-by: Andre Moreira Magalhaes <andre@endlessm.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change should guarantee that the object is valid while in use.
The change is part of a series of changes to fix an issue
introduced with recent changes made to GLib[1] where invoking
g_test_dbus_down() will fail after a timeout if the GDBusConnection
object for the session bus leaks.
[1] https://gitlab.gnome.org/GNOME/glib/merge_requests/963
Signed-off-by: Andre Moreira Magalhaes <andre@endlessm.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change should guarantee that the object is valid while in use.
The change is part of a series of changes to fix an issue
introduced with recent changes made to GLib[1] where invoking
g_test_dbus_down() will fail after a timeout if the GDBusConnection
object for the session bus leaks.
[1] https://gitlab.gnome.org/GNOME/glib/merge_requests/963
Signed-off-by: Andre Moreira Magalhaes <andre@endlessm.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
With recent changes made to GLib[1] invoking g_test_dbus_down()
will fail after a timeout if the GDBusConnection object for the
session bus leaks.
Note that this new test will fail as the current code will leak a
cached GDBusConnection. Fixes will be added in follow-up patches.
[1] https://gitlab.gnome.org/GNOME/glib/merge_requests/963
Signed-off-by: Andre Moreira Magalhaes <andre@endlessm.com>
|
|\
| |
| |
| |
| | |
Increment version after 0.33.1 release
See merge request GNOME/dconf!50
|
| | |
|
|\ \
| |/
| |
| |
| | |
Update NEWS file for 0.33.1 release
See merge request GNOME/dconf!49
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
build: Use weak bindings in gvdb to fix linking with LLD
Closes #47
See merge request GNOME/dconf!28
|
| |
| |
| |
| |
| |
| |
| | |
Fix linking with LLD by using weak symbols in gvdb, and update dconf
code to make it compatible with gvdb upstream changes.
Fixes https://gitlab.gnome.org/GNOME/dconf/issues/47
|
| |\
|/ / |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
build: Use weak bindings in gvdb to fix linking with LLD
Closes dconf#47
See merge request GNOME/gvdb!2
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Since tests/dconf-mock-gvdb.c has functions conflicting with the real
gvdb and it is intended for the former to override the latter in tests,
we have to make functions in gvdb library have weak bindings instead of
the default strong bindings to avoid duplicate symbol errors.
Fixes https://gitlab.gnome.org/GNOME/dconf/issues/47
|
| |\
| | |
| | |
| | |
| | | |
Minor API fixes
See merge request GNOME/gvdb!1
|
| | |
| | |
| | |
| | |
| | |
| | | |
Suggested by Georges Basile Stavracas Neto.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It should not be unsigned. The type in the on-disk format is gint32, so
we need to return something at least as wide as that. However, we
should not expose the implementation detail that the on-disk format is
specifically gint32. Use a gsize, since that’s the normal type for array
lengths — but check that we’re not on a platform where (somehow) gsize
is smaller than gint32.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
|
| |/
| |
| |
| | |
Signed-off-by: Philip Withnall <withnall@endlessm.com>
|
| |
| |
| |
| |
| |
| | |
Factor out a common method to route completion of DBus methods through.
Helps: #29
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
Prepare 0.32.0 release
See merge request GNOME/dconf!48
|
|/ / |
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
Prepare 0.31.92 release
See merge request GNOME/dconf!47
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
tests: Avoid using real system bus during tests
See merge request GNOME/dconf!45
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When a bus address is unset the default value will be used. While the
session bus address is overwritten during tests, this not the case for
system bus.
Use empty invalid addresses as a safer default to avoid accidental
connections to the external buses.
Issue #51.
|
|\ \
| | |
| | |
| | |
| | | |
Tests: remove bug prone usage of dlsym and RTDL_NEXT
See merge request GNOME/dconf!37
|
| | |
| | |
| | |
| | | |
that need to be mocked out
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Due to the hacks used for large file support, wrapping pwrite is error
prone and can end up calling the wrong function. Currently, "pwrite" is
called instead of "pwrite64" on 32-bit ARM, causing the test to fail.
This commit attempts to determine the correct symbol to call from the
wrapper.
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
bin: Add an option to ignore changes to locked keys during load
Closes #1
See merge request GNOME/dconf!43
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If load command attempts to change one of non-writable keys, the whole
operation fails with an error and no changes are made. Add an `-f`
option to the load command that skips non-writable keys and proceeds
with remaining changes.
Closes issue #1.
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | | |
Release 0.31.2
See merge request GNOME/dconf!42
|
| | | |
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
bin: Document update command directory argument
Closes #39
See merge request GNOME/dconf!41
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Document that update command takes optional directory argument, which
allows to run update in an arbitrary directory instead of the default
one.
The functionality itself have been added earlier for testing purposes,
but it is generally useful so lets document its existence. Closes #39.
Based on a patch contributed by Takao Fujiwara.
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
build: Make dconf client vapi installation optional
See merge request GNOME/dconf!40
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The client vapi is no longer used internally, but it introduces
dependency on vala, since vapigen pkg-config file is required to
determine where to install vapi file.
Make clinet vapi file installation optional, and thus the dependency on
vala itself.
Issue #38.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
bin: Rewrite dconf utility in C
Closes #38
See merge request GNOME/dconf!39
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Intentional functional changes:
* Update is no longer conditional on mtime.
* Help information is shown on erroneous usage, but not otherwise.
Fixes issue #38.
|
|/ / |
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
Prepare 0.31.1 release
See merge request GNOME/dconf!38
|
|/ / |
|