summaryrefslogtreecommitdiff
path: root/xfconf
Commit message (Collapse)AuthorAgeFilesLines
* Replace GTimeVal with gint64 epoch timeYongha Hwang2022-02-281-3/+3
|
* Silent `-Wcast-align` from ClangGaël Bonithon2021-11-101-2/+2
| | | | Fixes #25.
* Remove GLIB_CHECK_VERSION IFDEFs which are obsolete after glib bumpAlexander Schwinn2020-12-153-40/+0
| | | Current glib minimum is 2.50.0
* xfconf-cache: Fix access to freed data (#16)cryptogopher2020-11-061-20/+30
| | | | | | | | | | | | | The code was based on false assumption that cancelling cancellable of asynchronous request stops execution of callback handler. In fact cancelling asynchronous call does not prevent callback from geting invoked. Moreover handlers for asynchronuos call are only invoked from thread's main loop. That means if you set property, then free cache you will have outstanding handler invocations with dangling pointers to XfconfCacheOldItem and no reliable way of detecting this situation inside handler. The solution is to only free old_item(s) inside handler and differentiate processing inside handler based on whether call has been cancelled (by checking cancellable status).
* Use a custom test-driverAli Abdallah2020-05-171-1/+7
| | | | | | | | | | Implement a custom test driver that will start the freshly compiled xfconfd on a different dbus name. When the test finishes, gets interrupted or exists with error, the xfconfd test instance is terminated. This will allows 'make check' and 'make distcheck' to be successful even if xfconfd is not installed or running.
* Always provide files for vala bindings in dist tarballEvangelos Foutras2020-05-111-3/+2
| | | | | So even if vala is not installed during the distcheck step, the vala bindings can be built from the dist tarball.
* Bug #15951: Fix 'xfconf_get_error_quark' introspecting warningOlivier Duchateau2020-04-241-0/+1
| | | | | - During introspecting phase, we get this warning: "Warning: Xfconf: (ErrorQuarkFunction)get_error_quark: xfconf_get_error_quark: Couldn't find corresponding enumeration"
* Fix make distcheckRomain Bouvier2019-06-241-1/+1
| | | | | - .deps file needs to be in release tarball to be able to compile vala support
* Add support for GObject introspection and valaOlivier Duchateau2019-06-245-26/+78
| | | | - Fix bug #15135
* Fix compiler error -Wcast-function-type (GCC 8)Andre Miranda2019-04-151-1/+1
|
* Fix warnings reported by GCC 8 (Bug #15112)Olivier Duchateau2019-02-121-0/+1
|
* Fix a path in xfconf_cache_set where the cache mutex isn't locked.Ali Abdallah2017-08-291-0/+1
|
* When multiple calls are made for the same property, it's possible that ↵Stefan Berzl2017-08-291-3/+14
| | | | | | | | xfconf_cache_set may be called twice before xfconf_cache_set_property_reply_handler, in which case old_item gets freed and the second handler call might cause undefined behavior or a segfault. Added a counter to prevent that. Signed-off-by: Ali Abdallah <ali@xfce.org>
* Flush dbus connection on xfconf_shutdown to flush pendingAli Abdallah2017-07-241-3/+6
| | | | messages.
* Add missing functions to gtk-²docRomain B2017-07-201-1/+1
| | | | | | - Also uniformize titles names in docs Signed-off-by: Ali Abdallah <ali@xfce.org>
* Update documentation apiRomain B2017-07-204-0/+59
| | | | | | | | - Re-add correct sections / headers to generate a nice documentation - More modern way to handle documentation with gtk-doc (no more sgml templates). Signed-off-by: Ali Abdallah <ali@xfce.org>
* Don't free up GValue as its ownership is taken by a cache item.Ali Abdallah2017-06-231-8/+7
|
* Require gio-2.0 instead of dbus-glib in pc.in file.Ali Abdallah2017-06-071-1/+1
|
* Fix a small typo in a warning message.Unit 1932017-06-071-1/+1
| | | | Signed-off-by: Ali Abdallah <ali@xfce.org>
* Uncommit the bump of the soname and bump the soname version instead, asAli Abdallah2017-06-063-8/+8
| | | | this solution seems to require less effort targeting xfce 4.14.
* Merge branch 'gdbus-port' into master.Ali Abdallah2017-06-017-361/+329
|\
| * Bump libxfconf version api to 1.Ali Abdallah2017-05-223-8/+8
| |
| * Fix many issues with libxfconf.Ali Abdallah2016-05-272-151/+134
| | | | | | | | | | GPtrArray is now duplicated and saved in the cache, so the user can free the return array value.
| * Fix a couple of memory leaks, due to g_variant conversion floatingAli Abdallah2016-04-251-24/+29
| | | | | | | | references.
| * Remove XFCONF_TYPE_G_VALUE_ARRAY collection dbus-glib type asAli Abdallah2016-04-251-5/+5
| | | | | | | | it is no longer required.
| * Avoid crash on get_all properties when error occurs.Ali Abdallah2016-04-251-4/+6
| |
| * Use gvalue<->gvariant conversion functions from the commonAli Abdallah2016-04-242-114/+17
| | | | | | | | | | | | xfconf-gvaluefuncs.c code. Change XfconfClient to XfconfExported according to the dbus xml file.
| * Move the gdbus generated code to the common directoryAli Abdallah2016-04-213-23/+3
| |
| * Port xfconf_channel_get_properties to gdbus andAli Abdallah2016-04-215-109/+36
| | | | | | | | Get rid of the last dbus-glib code in libxfconf.
| * Port the call 'set_property' to gdbus.Ali Abdallah2016-04-211-46/+125
| | | | | | | | | | | | The XFCONF_TYPE_G_VALUE_ARRAY old dbus-glib type is not used anymore. Instead the G_TYPE_PTR_ARRAY type is used and then each value of the array is converted to GVariant before sending over dbus.
| * Port xfconf_channel_get_arrayv to gdbus. Now the function worksAli Abdallah2016-02-152-27/+42
| | | | | | | | | | | | | | as follows: xfconf_channel_get_internal is called to get a GValue which should contain a GVariant that is an array of variants value. Each of these GVariant value is transformed to a GValue and added to the GPtrArray.
| * Port some cache lookup function of libxfconf to gdbus.Ali Abdallah2016-02-041-19/+14
| |
| * Cast proxy to XfconfClient to get rid of the compiler warningAli Abdallah2016-02-041-3/+4
| |
| * Generate the gdbus binding code and test the binding onAli Abdallah2016-01-282-5/+17
| | | | | | | | xfconf_client_call_is_property_locked_sync.
| * Replace the DBusGProxy signals handler with theirAli Abdallah2015-11-024-68/+134
| | | | | | | | GDBusProxy equivalents. All the rest is still based on DBusGProxy.
* | Add support for binding to GdkRGBAsEric Koegel2016-10-213-0/+136
|/ | | | | | | Gtk3 switched from GdkColor to GdkRGBA so add support for binding to that structure as well. Signed-off-by: Igor <f2404@yandex.ru>
* Fix previous commit.Nick Schermer2013-07-111-1/+1
|
* Drop deprecated function.Nick Schermer2013-07-111-0/+2
|
* Autotools updates.Nick Schermer2013-01-061-1/+1
|
* Use new glib 2.32 mutex api.Nick Schermer2012-11-071-27/+43
|
* Updates for release.xfconf-4.10.0Nick Schermer2012-04-281-4/+2
|
* Don't emit property-changed on cancelled calls.Nick Schermer2012-04-221-0/+7
|
* Accept NULL as a string value (bug #8726).Nick Schermer2012-04-191-1/+2
| | | | | The new utf8 checks were aborting, while null is a valid value for strings.
* Filter out dups in abicheck.sh.Nick Schermer2012-04-191-1/+1
|
* Check abicheck.sh to be more portable (bug #8702).Landry Breuil2012-04-181-1/+1
|
* Two other g_value_get_char's.Nick Schermer2012-04-181-0/+8
|
* Don't use deprecated function.Nick Schermer2012-04-171-0/+5
|
* Explicitly link against gthread (bug #8713).Nick Schermer2012-04-171-0/+2
|
* Don't use deprecated g_value_set_char (bug #8690).Nick Schermer2012-04-131-0/+5
|
* UTF-8 check xfconf strings.Nick Schermer2012-04-011-2/+7
| | | | | DBus messages need to be utf-8 valid, resulting in strange aborts when this is not the case. Better break early.