Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace GTimeVal with gint64 epoch time | Yongha Hwang | 2022-02-28 | 1 | -3/+3 |
| | |||||
* | Silent `-Wcast-align` from Clang | Gaël Bonithon | 2021-11-10 | 1 | -2/+2 |
| | | | | Fixes #25. | ||||
* | Remove GLIB_CHECK_VERSION IFDEFs which are obsolete after glib bump | Alexander Schwinn | 2020-12-15 | 3 | -40/+0 |
| | | | Current glib minimum is 2.50.0 | ||||
* | xfconf-cache: Fix access to freed data (#16) | cryptogopher | 2020-11-06 | 1 | -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-driver | Ali Abdallah | 2020-05-17 | 1 | -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 tarball | Evangelos Foutras | 2020-05-11 | 1 | -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 warning | Olivier Duchateau | 2020-04-24 | 1 | -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 distcheck | Romain Bouvier | 2019-06-24 | 1 | -1/+1 |
| | | | | | - .deps file needs to be in release tarball to be able to compile vala support | ||||
* | Add support for GObject introspection and vala | Olivier Duchateau | 2019-06-24 | 5 | -26/+78 |
| | | | | - Fix bug #15135 | ||||
* | Fix compiler error -Wcast-function-type (GCC 8) | Andre Miranda | 2019-04-15 | 1 | -1/+1 |
| | |||||
* | Fix warnings reported by GCC 8 (Bug #15112) | Olivier Duchateau | 2019-02-12 | 1 | -0/+1 |
| | |||||
* | Fix a path in xfconf_cache_set where the cache mutex isn't locked. | Ali Abdallah | 2017-08-29 | 1 | -0/+1 |
| | |||||
* | When multiple calls are made for the same property, it's possible that ↵ | Stefan Berzl | 2017-08-29 | 1 | -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 pending | Ali Abdallah | 2017-07-24 | 1 | -3/+6 |
| | | | | messages. | ||||
* | Add missing functions to gtk-²doc | Romain B | 2017-07-20 | 1 | -1/+1 |
| | | | | | | - Also uniformize titles names in docs Signed-off-by: Ali Abdallah <ali@xfce.org> | ||||
* | Update documentation api | Romain B | 2017-07-20 | 4 | -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 Abdallah | 2017-06-23 | 1 | -8/+7 |
| | |||||
* | Require gio-2.0 instead of dbus-glib in pc.in file. | Ali Abdallah | 2017-06-07 | 1 | -1/+1 |
| | |||||
* | Fix a small typo in a warning message. | Unit 193 | 2017-06-07 | 1 | -1/+1 |
| | | | | Signed-off-by: Ali Abdallah <ali@xfce.org> | ||||
* | Uncommit the bump of the soname and bump the soname version instead, as | Ali Abdallah | 2017-06-06 | 3 | -8/+8 |
| | | | | this solution seems to require less effort targeting xfce 4.14. | ||||
* | Merge branch 'gdbus-port' into master. | Ali Abdallah | 2017-06-01 | 7 | -361/+329 |
|\ | |||||
| * | Bump libxfconf version api to 1. | Ali Abdallah | 2017-05-22 | 3 | -8/+8 |
| | | |||||
| * | Fix many issues with libxfconf. | Ali Abdallah | 2016-05-27 | 2 | -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 floating | Ali Abdallah | 2016-04-25 | 1 | -24/+29 |
| | | | | | | | | references. | ||||
| * | Remove XFCONF_TYPE_G_VALUE_ARRAY collection dbus-glib type as | Ali Abdallah | 2016-04-25 | 1 | -5/+5 |
| | | | | | | | | it is no longer required. | ||||
| * | Avoid crash on get_all properties when error occurs. | Ali Abdallah | 2016-04-25 | 1 | -4/+6 |
| | | |||||
| * | Use gvalue<->gvariant conversion functions from the common | Ali Abdallah | 2016-04-24 | 2 | -114/+17 |
| | | | | | | | | | | | | xfconf-gvaluefuncs.c code. Change XfconfClient to XfconfExported according to the dbus xml file. | ||||
| * | Move the gdbus generated code to the common directory | Ali Abdallah | 2016-04-21 | 3 | -23/+3 |
| | | |||||
| * | Port xfconf_channel_get_properties to gdbus and | Ali Abdallah | 2016-04-21 | 5 | -109/+36 |
| | | | | | | | | Get rid of the last dbus-glib code in libxfconf. | ||||
| * | Port the call 'set_property' to gdbus. | Ali Abdallah | 2016-04-21 | 1 | -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 works | Ali Abdallah | 2016-02-15 | 2 | -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 Abdallah | 2016-02-04 | 1 | -19/+14 |
| | | |||||
| * | Cast proxy to XfconfClient to get rid of the compiler warning | Ali Abdallah | 2016-02-04 | 1 | -3/+4 |
| | | |||||
| * | Generate the gdbus binding code and test the binding on | Ali Abdallah | 2016-01-28 | 2 | -5/+17 |
| | | | | | | | | xfconf_client_call_is_property_locked_sync. | ||||
| * | Replace the DBusGProxy signals handler with their | Ali Abdallah | 2015-11-02 | 4 | -68/+134 |
| | | | | | | | | GDBusProxy equivalents. All the rest is still based on DBusGProxy. | ||||
* | | Add support for binding to GdkRGBAs | Eric Koegel | 2016-10-21 | 3 | -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 Schermer | 2013-07-11 | 1 | -1/+1 |
| | |||||
* | Drop deprecated function. | Nick Schermer | 2013-07-11 | 1 | -0/+2 |
| | |||||
* | Autotools updates. | Nick Schermer | 2013-01-06 | 1 | -1/+1 |
| | |||||
* | Use new glib 2.32 mutex api. | Nick Schermer | 2012-11-07 | 1 | -27/+43 |
| | |||||
* | Updates for release.xfconf-4.10.0 | Nick Schermer | 2012-04-28 | 1 | -4/+2 |
| | |||||
* | Don't emit property-changed on cancelled calls. | Nick Schermer | 2012-04-22 | 1 | -0/+7 |
| | |||||
* | Accept NULL as a string value (bug #8726). | Nick Schermer | 2012-04-19 | 1 | -1/+2 |
| | | | | | The new utf8 checks were aborting, while null is a valid value for strings. | ||||
* | Filter out dups in abicheck.sh. | Nick Schermer | 2012-04-19 | 1 | -1/+1 |
| | |||||
* | Check abicheck.sh to be more portable (bug #8702). | Landry Breuil | 2012-04-18 | 1 | -1/+1 |
| | |||||
* | Two other g_value_get_char's. | Nick Schermer | 2012-04-18 | 1 | -0/+8 |
| | |||||
* | Don't use deprecated function. | Nick Schermer | 2012-04-17 | 1 | -0/+5 |
| | |||||
* | Explicitly link against gthread (bug #8713). | Nick Schermer | 2012-04-17 | 1 | -0/+2 |
| | |||||
* | Don't use deprecated g_value_set_char (bug #8690). | Nick Schermer | 2012-04-13 | 1 | -0/+5 |
| | |||||
* | UTF-8 check xfconf strings. | Nick Schermer | 2012-04-01 | 1 | -2/+7 |
| | | | | | DBus messages need to be utf-8 valid, resulting in strange aborts when this is not the case. Better break early. |