summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorBrian Tarricone <brian@tarricone.org>2009-07-29 21:42:58 +0000
committerBrian Tarricone <brian@tarricone.org>2009-07-29 21:42:58 +0000
commit027ec10dedf28ed52476a405494986697d6344db (patch)
treee8a2d8f01cc5e2b6fdfca256fd36af23dc64fea1 /NEWS
parent99836266fd6717cbb17c65f285e2e066f5091c69 (diff)
downloadxfconf-027ec10dedf28ed52476a405494986697d6344db.tar.gz
add transparent property prefetching and caching
XfconfCache is a transparent cache that sits behind XfconfChannel, and, so far, involves no new API. this moves most of the dbus code from XfconfChannel to XfconfCache. on creation, XfconfChannel gets an XfconfCache object for that channel (the cache objects are per-channel-name singletons, regardless of property_base or whether or not the XfconfChannel is a singleton). on creation, XfconfChannel prefetches all properties in the channel. this might turn out to be a bad idea for large channels. property setting does not block if the setting is already in the cache. i may change this in the future to not block at all ever, but that might make reporting certain kinds of errors impossible. property resets are completely non-blocking. lookups are non-blocking if the setting is already in the cache. the cache automatically updates itself if another application modifies a property. the cache has hooks to set the maximum age of entries (in seconds) and the max number of entries to store in the cache. currently these two are unimplemented, and i'm not sure if there's value to exposing these in the public API. (Old svn revision: 30417)
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index aa6d51a..6335e8d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,11 @@
+Xfce 4.7.0
+==========
+
+ * Add prefetching and caching support to XfconfChannel. Should speed
+ things up a bit on app startup, and avoid blocking waiting on DBus
+ in other cases.
+
+
Xfce 4.6.2
==========