registry: use binary format instead of XML for cache
authorDaiki Ueno <ueno@unixuser.org>
Fri, 12 Jul 2013 09:39:54 +0000 (18:39 +0900)
committerDaiki Ueno <ueno@unixuser.org>
Fri, 12 Jul 2013 09:39:54 +0000 (18:39 +0900)
commit632a5c13072312015226c408ddb3d4eb478abe6f
tree32bb1fc3c040b9e75d2e07b06fc2bd1182ab2d63
parent9037ffe0f3ab419554903de6f12d00ee74f2f3ff
registry: use binary format instead of XML for cache

Currently the registry cache is in the XML format, that may cause
unnecessary parsing overhead on ibus-daemon startup.  This patch
changes the format to GVariant based binary representation.

BUG=
R=takao.fujiwara1@gmail.com

Review URL: https://codereview.appspot.com/9963043
src/ibusregistry.c
src/ibusregistry.h
src/ibusshare.c
tools/main.vala