| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Colin Walters <walters@verbum.org>
|
|
|
|
|
| |
None of these are actual problems, but it's good to keep the
compiler output quiet.
|
|
|
|
|
| |
Change #include "config.h" to #include <config.h> according to
http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_node/autoconf_27.html
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* backends/markup-backend.c (tree_lookup_entry): Free parent
before checking for error. Pointed out by Tommi Rantala.
svn path=/trunk/; revision=2793
|
|
|
|
|
|
|
|
| |
* backends/xml-backend.c: Trivial: Use g_timeout_add_seconds.
Patch by Paul Kishimoto.
svn path=/trunk/; revision=2768
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-02-12 Michael Meeks <michael.meeks@novell.com>
* backends/markup-tree.c (parse_value_element): turn off a
bogus error message for missing types, which we don't use,
saves creating, l10n'ing & destroying 11k bogus messages on
login.
svn path=/trunk/; revision=2765
|
|
|
|
|
|
|
|
|
|
| |
2009-02-10 Michael Meeks <michael.meeks@novell.com>
* backends/markup-tree.c (write_value_element): close empty
value elements immediately to save parsing time.
svn path=/trunk/; revision=2764
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-02-10 Michael Meeks <michael.meeks@novell.com>
* backends/markup-tree.c: instead of indenting with spaces, use
tabs for a 50% size saving in the generated XML, and a nice
parsing speedup. Also accelerate writing by avoiding lots of
un-necessary memory allocation.
svn path=/trunk/; revision=2763
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-23 Vincent Untz <vuntz@gnome.org>
* backends/xml-backend.c: cygwin needs the same stuff as mingw, so use
G_PLATFORM_WIN32
Patch by <yselkowitz@users.sourceforge.net>
Fix bug #563801.
svn path=/trunk/; revision=2740
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-08 Ray Strode <rstrode@redhat.com>
* gconf/gconfd.c: (logfile_save):
Use fsync instead of fdatasync for portability
(bug 563401).
* backends/markup-tree.c (save_tree_with_locale):
Also flush and sync here before closing (Patch
from Richard Hult, bug 562976)
svn path=/trunk/; revision=2718
|
|
|
|
| |
svn path=/trunk/; revision=2704
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-28 Kjartan Maraas <kmaraas@gnome.org>
* backends/evoldap-backend.c:
* backends/gconf-merge-tree.c:
* backends/markup-backend.c:
* backends/markup-tree.c:
* backends/markup-tree.h:
* backends/xml-backend.c:
* backends/xml-cache.c:
* backends/xml-cache.h:
* backends/xml-dir.c:
* backends/xml-dir.h:
* backends/xml-entry.c:
* backends/xml-entry.h:
* backends/xml-test.c:
* gconf/Makefile.am:
* gconf/gconf-backend.c:
* gconf/gconf-backend.h:
* gconf/gconf-changeset.c:
* gconf/gconf-changeset.h:
* gconf/gconf-client.c:
* gconf/gconf-client.h:
* gconf/gconf-database.c:
* gconf/gconf-engine.h:
* gconf/gconf-error.c:
* gconf/gconf-glib.c:
* gconf/gconf-internals.c: (gconf_get_daemon_dir),
(gconf_activate_server):
* gconf/gconf-internals.h:
* gconf/gconf-listeners.c:
* gconf/gconf-locale.c:
* gconf/gconf-sanity-check.c:
* gconf/gconf-schema.c:
* gconf/gconf-schema.h:
* gconf/gconf-sources.c:
* gconf/gconf-value.c:
* gconf/gconf.h:
* gconf/gconftool.c:
* gconf/testclient.c:
* gconf/testgconfclient.c:
Clean up includes and fix a couple compiler warnings.
svn path=/trunk/; revision=2621
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-05-14 Ray Strode <rstrode@redhat.com>
* configure.in: bump glib require to 2.14
* backends/markup-backend.c (cleanup_timeout),
(ms_new), (ms_destroy): remove some if 0'd code,
and drop g_source_remove on non-existant timeout
to prevent warning
svn path=/trunk/; revision=2596
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-05-07 Kjartan Maraas <kmaraas@gnome.org>
* backends/markup-backend.c: (cleanup_timeout), (ms_new):
* gconf/gconf-database.c: (gconf_database_schedule_sync):
* gconf/gconfd.c: (gconf_main), (open_append_handle):
Use new glib api to batch timeouts. Patch from Matthias
Clasen. Closes bug #531063.
svn path=/trunk/; revision=2586
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-19 Josselin Mouette <joss@malsain.org>
reviewed by: Mark McLoughlin.
* backends/evoldap-backend.c: (get_variable),
(get_ldap_connection), (lookup_values_from_ldap): replace
functions that have been deprecated in OpenLDAP 2.4 by
up-to-date ones. Closes bug#516877.
svn path=/trunk/; revision=2550
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-10 Kjartan Maraas <kmaraas@gnome.org>
* backends/evoldap-backend.c: (parse_server_info),
(destroy_source):
* backends/markup-tree.c: (markup_entry_set_value):
* backends/xml-dir.c: (create_fs_dir):
* backends/xml-entry.c: (entry_destroy), (entry_set_schema_name),
(entry_set_mod_user):
* examples/simple-view.c: (main):
* gconf/gconf-schema.c: (gconf_schema_free), (gconf_schema_copy):
* gconf/gconf-sources.c: (gconf_sources_query_value):
* gconf/gconf-value.c: (set_string), (gconf_value_free),
(gconf_entry_unref), (gconf_entry_set_schema_name):
* gconf/gconf.c: (gconf_engine_get_string):
g_free and friends handles NULL just fine.
Closes bug #371087 reported by Morten Welinder.
svn path=/trunk/; revision=2510
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-10 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Bump version
* backends/xml-dir.c:
* examples/basic-gconf-app.schemas:
* examples/simple-controller.c:
* examples/simple-view.c:
* gconf/gconf-changeset.c:
* gconf/gconf.c:
Mark some functions and variables static.
Closes bug #142295.
svn path=/trunk/; revision=2509
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-12-02 Ray Strode <halfline@gnome.org>
Plug a few leaks found and fixed by Matthias Clasen
(bug 475970)
* gconf/gconf-database.c (gconf_database_notify_listeners):
Clean up list of dead listeners
* backends/xml-cache.c (cache_sync): clean up temporary list
of syncs when we're done with it.
* backends/markup-tree.c (markup_dir_free): free markup dir's
list of entries before freeing the markup dir
svn path=/trunk/; revision=2497
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-18 Jaap Haitsma <jaap@haitsma.org>
Reviewed by: Ray Strode
* backends/xml-dir.c: (dir_load_doc), (dir_make_new_entry),
(dir_fill_cache_from_doc):
* backends/xml-entry.c: (node_set_schema_value), (node_set_value),
(find_schema_subnode_by_locale), (schema_subnode_extract_data),
(schema_node_extract_value), (node_extract_value), (my_xmlSetProp),
(my_xmlGetProp):
* gconf/gconftool.c: (get_list_value_from_xml),
(get_car_cdr_value), (get_pair_value_from_xml),
(get_values_from_xml), (process_entry), (extract_global_info),
(process_locale_info), (get_schema_from_xml), (process_list),
(do_load_file): Remove a bunch of compiler warnings by performing casts.
Fixes bug #452372
svn path=/trunk/; revision=2433
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-03-05 Ray Strode <rstrode@redhat.com>
Patch from Loïc Minier to take care of fallout from
bug 314343.
* gconf/backends/markup-tree.c (save_tree):
Rename markup file to its final destination, even if
there wasn't an original file to copy file attributes
from (bug 414916).
svn path=/trunk/; revision=2382
|
|
|
|
|
|
|
|
| |
2007-03-02 Kjartan Maraas <kmaraas@gnome.org>
* backends/xml-dir.c: Don't include xml-entry.h twice.
svn path=/trunk/; revision=2377
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-03-02 Ray Strode <rstrode@redhat.com>
Patch from
Paolo Borelli <pborelli@katamail.com>
* backends/markup-tree.c:
* backends/xml-dir.c:
* doc/gconf/gconf-sections.txt:
* doc/gconf/tmpl/gconf-internals.sgml:
* gconf/gconf-backend.c:
* gconf/gconf-internals.[ch]:
* gconf/gconfd.c:
use g_file_test instead of home brew
gconf_file_test and gconf_file_exists functions
svn path=/trunk/; revision=2371
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-03-02 Ray Strode <rstrode@redhat.com>
Patch from
Narayana Pattipati <narayana.pattipati@wipro.com>
* backends/markup-tree.c (save_tree):
transfer the file permissions and ownership after
rename (bug 314343).
svn path=/trunk/; revision=2369
|
|
|
|
|
|
|
|
|
| |
2007-01-30 Kjartan Maraas <kmaraas@gnome.org>
* backends/evoldap-backend.c: (subst_variables): Fix a couple
compiler warnings.
svn path=/trunk/; revision=2357
|
| |
|
|
|
|
|
|
|
| |
2006-05-06 Kjartan Maraas <kmaraas@gnome.org>
* backends/xml-dir.c: (dir_sync): Fix a potential use after free
reported by the coverity checker - #1239. Closes bug #338196.
|
|
|
|
|
|
|
|
| |
2006-05-05 Kjartan Maraas <kmaraas@gnome.org>
* backends/markup-tree.c: (parse_value_element):
Use the right variable in test. Closes coverity #1238
and GNOME bug #338195.
|
|
|
|
|
|
|
|
| |
2006-03-10 Kjartan Maraas <kmaraas@gnome.org>
* backends/markup-tree.c: (parse_tree): Patch from
Matthias Clasen to fix my leak fix to not crash.
Closes bug #334047.
|
|
|
|
|
|
|
| |
2006-03-06 Kjartan Maraas <kmaraas@gnome.org>
* backends/markup-tree.c: (parse_tree): Free the parse context in
some more cases. Fixes bug #332528.
|
|
|
|
|
|
|
|
| |
2006-01-10 Thomas Vander Stichele <thomas at apestaart dot org>
* backends/Makefile.am:
don't use top_builddir to link in library from current directory;
fixes parallel make
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-01-03 Mark McLoughlin <mark@skynet.ie>
Switch on "subtree merging" by default in the defaults
database.
* gconf/gconftool.c: (do_get_default_source): add the
"merged" flag to the default target for
--makefile-install-rule
* backends/markup-backend.c:
(resolve_address), (ms_new): add a new "merged" flag
signalling that the entire tree should be saved as
a subtree.
* backends/markup-tree.[ch]:
(markup_tree_get): add "merged" param and set flag
on MarkupTree struct
(recursively_load_subtree): copy function from
gconf-merge-tree.c
(markup_dir_sync): when saving the tree, save it as a
merged subtree if the "merged" flag is set
* backends/gconf-merge-tree.c: (recursively_load_subtree):
remove; it's in markup-tree.c now
* configure.in: remove --enable-gconf-source option which
was only used when we installed standard-schemas
* standard-schemas: remove old cruft
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-12-11 Mark McLoughlin <mark@skynet.ie>
* backends/markup-tree.c:
(markup_entry_get_value): re-work the logic for finding
the best schema for the given locales.
2005-12-11 Mark McLoughlin <mark@skynet.ie>
* backends/markup-tree.c:
- Introduce the concept of a "subtree root" - a point
in the tree where we save a subtree in a merged file.
- When loading a subtree (%gconf-tree.xml), take note of
any available translations (%gconf-tree-$(locale).xml)
- When getting/setting/unsetting a schema, ensure that
the appropriate translations are loaded
- When parsing a translations file, allow for missing
attributes and elements and read the translations of
descriptions
- When syncing a subtree, write out all translations
of descriptions which are currently cached in memory
to separate files.
* backends/gconf-merge-tree.c: (merge_tree): update for
markup_dir_build_file_path() change
|
|
|
|
|
|
|
|
|
|
| |
2005-10-09 Mark McLoughlin <mark@skynet.ie>
Based on patch from Lorenzo Colitti <lorenzo@colitti.com>
in bug #316672
* backends/markup-tree.c: (parse_tree): read and process
the xml file incrementally in 4k chunks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-09-10 Tor Lillqvist <tml@novell.com>
* gconf/gconf-backend.c (gconf_address_resource): On Win32, do
_gconf_win32_replace_prefix() on the return value so that we
change configure-time prefix pathnames in the path file into
corresponding end-user installation prefix pathnames.
* gconf/gconf-sanity-check.c: Use gstdio wrappers here, too.
* backends/markup-backend.c (get_dir_from_address): Use
G_IS_DIR_SEPARATOR().
|
|
|
|
|
|
|
| |
2005-08-10 Adam Weinberger <adamw@gnome.org>
* backends/evoldap-backend.c: Spelling and capitalization
fixes (closes bug #301133)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-08 Tor Lillqvist <tml@novell.com>
* configure.in: Require GLib 2.6.0 so we can use the "gstdio
wrappers".
* backends/*.c
* gconf/*.c: Use gstdio wrappers and gdir for better support of
non-ASCII pathnames on Windows. Use g_strerror() consistently in
error messages, as g_printerr() etc want UTF-8.
* gconf/Makefile.am: Append EXEEXT to gconfd's name.
* gconf/gconf-internals.h: Use functions instead of variables to
access the run-time pathnames on Win32. This enables us to have a
cleaner DllMain(). Add underscore prefix to the internal
Win32-only functions.
* gconf/dllmain.c (DllMain): Use minimalistic DllMain() that only
stores the handle to the DLL.
(setup): Do the real work here instead.
(_gconf_win32_get_locale_dir, etc): Functions to return the
run-time pathnames.
* gconf/gconf-internals.c (_gconf_win32_get_home_dir):
As g_get_home_dir() has now been fixed to never return NULL on
Windows, we don't have to bother checking that here.
|
| |
|
|
|
|
|
|
| |
2005-05-17 Mark McLoughlin <mark@skynet.ie>
* backends/README.evoldap: update.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-17 Mark McLoughlin <mark@skynet.ie>
Re-work a bit so it now supports putting the addressbook,
calendar and task sources in LDAP.
* backends/evoldap-backend.c:
(get_evolution_uid), (get_variable): renamed the $(ACCOUNT_UID)
variable to $(EVOLUTION_UID)
(parse_conf_file): upd to lookup the new templates.
(subst_variables_into_template): allow substituing into
any template.
(build_value_from_entries): split out; constructs a list value
by munging the LDAP entries with a template.
(lookup_values_from_ldap): lookup the addressbook, calendar
and tasks sources too.
(query_value), (all_entries), (all_subdirs),
(dir_exists): upd. to handle addressbook, calendar and tasks.
(destroy_source): free new stuff.
* backends/evoldap.conf: change the format slightly to add
templates for addressbook, calendar and tasks.
* backends/evoldap.schema: add new schema.
|
|
|
|
|
|
|
|
|
| |
2005-05-09 Mark McLoughlin <mark@skynet.ie>
Update to use GNOME OIDs as assigned by
Jochen Friedrich <jochen@scram.de>
* backends/evoldap.schema: use GNOME OIDs.
|
|
|
|
|
|
| |
2005-04-27 Mark McLoughlin <mark@skynet.ie>
* backends/Makefile.am: link the evoldap backend with libxml.
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-18 Mark McLoughlin <mark@skynet.ie>
* backends/evoldap-backend.c, backends/evoldap.conf,
backends/evoldap.schema, backends/README.evoldap:
Add Evolution mail account LDAP backend.
* configure.in, backends/Makefile.am: build the backend
if we can find the openldap library and header.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-03-18 Tor Lillqvist <tml@novell.com>
Port to Windows:
* gconf-zip.in: New file, script to build zipfile-based
distribution for Windows.
* Makefile.am
* configure.in: Distribute and expand it.
* configure.in: Check for Win32, Define automake conditional
OS_WIN32. Force shared library (DLL) build on Windows. Check for
some more headers and functions.
* */*.c: Conditionalize on HAVE_SYSLOG_H, HAVE_SYS_WAIT_H,
HAVE_GETUID, HAVE_FSYNC, HAVE_FCHMOD, HAVE_SIGACTION, F_GETFD,
FD_CLOEXEC, F_SETLK, SIGBUS, SIGPIPE, SIGHUP, SIGUSR1, and ELOOP.
* backends/Makefile.am: Explicitly link with INTLLIBS.
* backends/markup-tree.c (save_tree): Can't rename or remove open
files on Win32.
* backends/xml-backend.c: Don't use G_MODULE_EXPORT on Win32. If
we use it, only the functions thus marked will be exported, and
xml-test uses also other ones. Instead rely on the auto-export
feature.
* gconf/Makefile.am: Pass -DPREFIX=$(prefix). Include dllmain.c
on Win32.
* gconf/dllmain.c: New file. Used for installation location
independence.
(DllMain) DLL entry point. Automatically called when the DLL is
attached to a process. Deduce the run-time installation location
and construct run-time pathnames.
(gconf_win32_replace_prefix): New funcion. Replaces a
configure-time prefix in a pathname with the corresponding
end-user run-time installation prefix.
* gconf/gconf-internals.c (gconf_win32_get_home_dir): New
function, returns the home directory with forward
slashes. Guaranteed to return non-NULL, unlike GLib's
g_get_home_dir().
(get_variable, gconf_get_daemon_dir): Use gconf_win32_get_home_dir().
(gconf_load_source_path): Use gconf_win32_replace_prefix().
(create_new_locked_file, open_empty_locked_file,
gconf_release_lock): Use _sopen() to open file with locking on
Win32.
(close_fd_func): Not used on Win32, where there is no FD_CLOEXEC,
and a gspawn child setup function is run in the parent process
anyway.
* gconf/gconf-internals.h: mkdir() takes only one parameter on
Win32. S_IRWX{U,G,O} aren't in mingw's sys/stat.h. Use run-time
installation prefix instead of configure-time. Redefine the
GCONF_*DIR macros to refer to the variables from the dllmain.c
file. Use NUL: on Windows instead of /dev/null.
* gconf/gconf-sanity-check.c
* gconf/gconftool.c: Use POPT_AUTOHELP.
* gconf/gconf.c: Use g_get_current_time() instead of gettimeofday().
* gconf/gconfd.c (gconf_server_load, get_log_names): Use
gconf_win32_get_home_dir().
(signal_handler): If we don't HAVE_SIGACTION, use signal(), and
re-arm the signal handler.
(test_safe_tmp_dir): Can't open() a directory on Win32.
(get_log_names): Use g_build_filename() instead of
gconf_concat_dir_and_key() on all platforms.
|