2004-07-05 Mark McLoughlin * configure.in: Version 2.7.3. 2004-07-05 Mark McLoughlin Patch from Josselin Mouette to handle SIGHUP by reloading all databases. Intended to be used in package's postinst scripts to get all running gconfds to reload schemas. * gconf/gconfd.c: (signal_handler): handle SIGHUP by setting flag. (periodic_cleanup_timeout): reload all databases when the reload flag is set. 2004-07-04 Mark McLoughlin Patch from Julio M. Merino Vidal in bug #134517 to add a --sysconfsubdir configure argument which allows the sub-directory GConf uses under $sysconfdir to be change. * configure.in: add --sysconfsubdir argument and subst $sysgconfdir which contains the full sysconf path GConf uses. * Makefile.am, examples/Makefile.am, gconf/Makefile.am, gconf/default.path.in, gconf/gconftool.c, standard-schemas/Makefile.am, wrappers/cxx/Makefile.am: use $sysgconfdir. 2004-07-02 Mark McLoughlin Fixup some bugs with the merge files support which was causing unset entries not to be completely wiped out. * backends/markup-tree.c: (clean_old_local_schemas): rename. (clean_old_local_schemas_recurse): if we're saving as a subtree, recurse down the tree. (delete_useless_subdirs): ignore the some_subdir_needs_sync and entries_need_save flags on the subdir - they're irrelevant if there's no entries or subdirs. Also, check whether the subdir is in a subtree file rather than current dir. (delete_useless_subdirs_recurse): correctly recurse over subdirs. (delete_useless_entries_recurse): implement recursively deleting entries too. (recursively_load_subtree): set the not_in_filesytem flag if we're going to be saving as a subtree. (markup_dir_sync): recusively clean schemas and delete entries if we're saving as a subtree. 2004-07-02 Mark McLoughlin Based on a patch to add --unload option from Julio M. Merino Vidal in bug #130129. * gconf/gconftool.c: (main): add --unload option. (do_load_file): add an 'unload' flag. (set_values), (process_entry), (process_key_list), (hash_install_foreach), (process_schema), (process_list): pass the flag about and unset/unassociate things as appropriate. (do_makefile_uninstall): pass the unload flag to do_load_file(). 2004-07-02 Mark McLoughlin Fix for bug #145141. * backends/markup-tree.c: (load_subdirs): recognise subdirs which don't contain a %gconf.xml file but do contain a %gconf-tree.xml file. 2004-07-01 Pawan Chitrakar * configure.in: Added "ne" Nepali in ALL_LINGUAS 2004-06-27 Ross Burton * doc/Makefile.am: Distribute the incredibly useful FAQ and DTD. 2004-06-22 Mark McLoughlin * backends/markup-tree.c: fix tiny typo which was causing /schemas/apps to be saved as one gigantic file. 2004-06-21 Mark McLoughlin Fix for bug #138498 - turn on "subtree-in-a-file" for the subdirectories of the following directories: /apps/evolution", /apps/panel/profiles", /apps /desktop/gnome /system /schemas/apps /schemas/desktop/gnome /schemas/system /schemas / You can turn this of by passing the "nomerge" flag to the backend - e.g. xml:readwrite,nomerge:$(HOME)/.gconf * backends/markup-tree.[ch]: (markup_tree_get): pass in the nomerge path. (markup_dir_build_file_path), (markup_dir_build_dir_path): simple wrappers for build_path(). (load_subtree), (load_entries), (load_subdirs), (delete_useless_subdirs): upd. for above change. (recursively_load_subtree): impl. recursively loading the tree below a given dir. (should_save_as_subtree): logic to figure out which dirs should be saved as merged files. (markup_dir_sync): save the dir in a merged file if neccessary. (markup_dir_build_path): allow building a non-filesystem path. (parse_tree), (save_tree): upd. (write_dir): set the "not_in_filesystem" flag. * backends/markup-backend.c: (resolve_address), (ms_new): parse and use the "nomerge" flag. * backends/gconf-merge-tree.c: (merge_tree): upd. 2004-06-21 Mark McLoughlin * gconf/gconfd.c: (shutdown_databases): don't free the default database twice. Its on the databases list now so it doesn't need to freed explicitly. 2004-06-21 Mark McLoughlin Patch from Leonardo Quijano Vincenzi in bug #144502. * doc/gconf/tmpl/gconf-client.sgml: warn the g_type_init() must be called before using GConfClient. 2004-06-12 Mark McLoughlin Patch from Daniel Elstner in bug #143679. * gconf.m4.in (AM_GCONF_SOURCE_2): Use $(sysconfdir)/gconf/schemas as the default value of GCONF_SCHEMA_FILE_DIR, without the trailing slash. Also get rid of the pointless else branch. 2004-06-12 Mark McLoughlin Patch from Julio M. Merino Vidal in bug #134247. * doc/gconf/Makefile.am: don't create a directory if its not needed. 2004-06-12 Mark McLoughlin Patch from Mariano Suárez-Alvarez in bug #122958 to change the encoding logic so as to produce shorter encoded keys when encoding non-ascii characters. Does not require changes to the decoder. * gconf/gconf.c: (gconf_escape_key): use a shorter encoding for non-ascii characters. 2004-06-12 Mark McLoughlin 64-bit fix from Joe Marcus Clarke * backends/markup-tree.c: (parse_tree): the length returned from g_file_get_contents() is a gsize not an int. 2004-06-09 Kjartan Maraas * gconf/gconf-internals.c: (gconf_activate_server): Plug a small leak. Fixes bug #143941. 2004-05-31 Mark McLoughlin * configure.in: post-release bump to 2.7.2. ==================== 2.7.1 ====================