| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Say the application recursively preloads /foo which contains /foo/a/a and
/foo/b/b, which are fetched and cached. The application then asks for /foo/c/c.
Because we recursively preloaded we should know that this key doesn't exist, but
because it isn't stored in the caches we have to make a DBus call.
This change lets the caching layer know that we recursively loaded /foo and
therefore if the key isn't in the cache, it doesn't exist.
|
| |
|
|
|
|
|
| |
This is used to do negative-hit caching, as well as listing all entries
from the client cache.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-05-05 Kjartan Maraas <kmaraas@gnome.org>
* gconf/gconf-changeset.h:
* gconf/gconf-client.h:
* gconf/gconf-database.h:
* gconf/gconf-engine.h:
* gconf/gconf-error.h:
* gconf/gconf-listeners.h:
* gconf/gconf-locale.h:
* gconf/gconf-schema.h:
* gconf/gconf-value.h:
* gconf/gconf.h:
* gconf/gconfd.h: Use G_BEGIN/END_DECLS instead
of a lot of #ifdef __cplusplus stuff. Closes bug 306313.
Patch from Fabrício Barros Cebral.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-21 Mark McLoughlin <mark@skynet.ie>
* configure.in: require glib 2.7.0
2005-06-21 Mark McLoughlin <mark@skynet.ie>
Patch from Marcus Meissner <meissner@suse.de> in
bug #308448
* gconf/gconf-changeset.h,
gconf/gconf-client.h: use G_GNUC_NULL_TERMINATED for
gconf_(client|engine)_change_set_from_current()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-07-09 Mark McLoughlin <mark@skynet.ie>
Patch from Kai Willadsen <kaiw@itee.uq.edu.au> in
bug #120349.
* doc/gconf/gconf.sgml,
doc/gconf/tmpl/gconf-client.sgml,
doc/gconf/tmpl/gconf.sgml,
doc/intro-article.sgml,
gconf/gconf-client.h,
gconf/gconf-listeners.h: bring the docs up to
date with the patch that we're using GObject instead
of GtkObject.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-18 Rodrigo Moya <rodrigo@ximian.com>
Fixes #73323
* gconf/gconf-sources.h: moved GConfUnsetFlags enum...
* gconf/gconf-value.h: ...to here.
* gconf/gconf-client.[ch] (gconf_client_recursive_unset):
implemented new function for calling the unrecursive_unset
method on the engine.
|
| |
|
|
|
|
| |
wrapped headers for C++, make gcong_entry_copy, _ref and _unref public
|
|
|
|
|
|
|
|
|
|
| |
2002-01-20 Havoc Pennington <hp@pobox.com>
* gconf/Makefile.am: add gconf-enum-types.h/gconf-enum-types.c
files, thanks to Johan Dahlin
* gconf-2.0.pc.in (Libs): oops, we had Requires: bonobo-activation
still
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-01-12 Havoc Pennington <hp@pobox.com>
* examples/basic-gconf-app.c (main): remove unused variable,
fix from Markus Bertheau
* gconf/gconf-client.c (get): fix to always store the same
semantic thing in the cache, regardless of whether
user wanted the schema default (always pass use_default = TRUE
to GConfEngine)
(gconf_client_key_is_writable): avoid pointless copies if
possible, to make this fast
* gconf/gconf-schema.h: add padding to GConfSchema
* gconf/gconf-value.h: add padding to GConfEntry
* gconf/gconf-value.c (gconf_entry_equal): new internal function
* gconf/gconf-client.c: queue notifies to an idle handler, replace
CacheEntry with GConfEntry
* gconf/gconf-client.h (struct _GConfClientClass): add padding
(struct _GConfClient): add padding
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-08 Havoc Pennington <hp@pobox.com>
* gconf/gconf-value.c (gconf_value_validate): take const arg
* gconf/gconf.c: add internal API to check that GConfEngine isn't
being used "underneath" its owning GConfClient, thus causing
cache inconsistencies. Bad hack, yay.
* gconf/gconf-client.c: Use new internal GConfEngine "exclusive
owner" API
(gconf_client_real_unreturned_error):
silently ignore GCONF_ERROR_OVERRIDDEN, because if the system
is "locked down" most apps will probably call gconf_client_set
anyway.
* gconf/gconf-client.h: fix comment to be accurate about how
overlaps are handled
|
|
|
|
|
|
|
|
|
| |
2001-11-18 Miles Lane <miles@megapathdsl.net>
* gconf/gconf-client.h: replace include of gobject/gobject.h
with glib-object.h, due to a change in gobject/gobject.h
that forces an #error for all direct includes.
This checkin was approved by Havoc.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-18 Martin Baulig <baulig@suse.de>
* gconf/gthreadpool.[ch]: Removed.
* gconf/gconf-glib-private.h: Removed.
* gconf/gconf-glib-public.h: Removed.
* gconf/gconf-client.[ch]: Moved here from wrappers/gtk/
and migrated to use GObject.
* gconf/testgconfclient.c: Moved here from wrappers/gtk/.
* gconf/gconf-internals.h
(gconf_CORBA_Object_hash, gconf_CORBA_Object_equal):
New static inline functions.
* gconf/gconfmarshal.list: New file.
* gconf/gconftool.c: Use libxml 2.
* backends/xml-backend.c, backends/xml-cache.h,
backends/xml-dir.c, backends/xml-dir.h,
backends/xml-entry.c, backends/xml-entry.h: Use libxml 2.
* wrappers/gtk/*: Moved to gconf/.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-16 Havoc Pennington <hp@pobox.com>
* wrappers/gtk/gconf-client.c
(gconf_client_real_unreturned_error): implement default error
handler that prints to stderr
(gconf_client_key_is_writable): hmm, this function didn't compile
very cleanly
* wrappers/gtk/gconf-client.h: Remove the ParentWindowFunc
concept. Two reasons: a) it was really hard for users to implement
such a thing, and if they did then implementing an error dialog
function was pretty trivial also b) decided to make the default
error handler use fprintf(stderr) since GConfClient is going to
move into the main GConf library and thus not depend on GTK.
So, this is mild API breakage (but hopefully no one was using the
feature anyway).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-16 Havoc Pennington <hp@pobox.com>
* doc/gconf/tmpl/gconf-value.sgml: Update some docs
* wrappers/gtk/gconf-client.c (notify_listeners_callback): Update
to reflect new callback signature for GConfClientNotifyFunc
* gconf/gconf-sources.c (gconf_sources_set_value): Make it an
error to if we try to write a value for a non-writable source.
This is new; it used to silently fail.
* gconf/gconf-database.c (gconf_database_notify_listeners): Add
is_writable here
* gconf/GConf.idl: Add writable flag to notification
* gconf/gconf.h: Update GConfNotifyFunc to have fewer args, and
a GConfEntry is just passed in (since I was going to have
to add an is_writable arg, and passing in a GConfEntry
gives us future extensibility against this sort of thing)
BREAKS USER CODE, many apologies.
* wrappers/gtk/gconf-client.c (gconf_client_get_entry): Update
to reflect GConfEngine changes
* gconf/gconf.c (gconf_engine_all_entries): Get the writability
stuff
(gconf_engine_get_full): rename to gconf_value_get_entry
and return an entry; drop the is_default argument.
* gconf/gconf-sources.c (gconf_sources_query_value): Implement
finding out if a value is writable
(gconf_sources_all_entries): Implement setting is_writable
flag on the entries
* gconf/gconf-value.c (gconf_entry_new_nocopy): Default to
the entry being writable
* gconf/gconf-database.c: Change to match IDL changes
* gconf/GConf.idl (lookup_with_locale): Add out param for
writability
(all_entries): Add out param for writability
* gconf/gconf-value.h: Add is_writable field to GConfEntry
(gconf_entry_get_is_writable): Add this
* wrappers/gtk/gconf-client.c (gconf_client_key_is_writable): Add
the matching stub here
* gconf/gconf.c (gconf_engine_key_is_writable): Go ahead and add
this function so we can implement it later, but it always returns
TRUE at the moment.
* gconf/gconf-changeset.c (gconf_change_set_set_user_data,
gconf_change_set_get_user_data): Add user data for language
bindings
* gconf/gconf.c (gconf_engine_set_user_data,
gconf_engine_get_user_data): Add user data for language
bindings
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-09 Havoc Pennington <hp@pobox.com>
* gconf/Makefile.am (libgconf_1_la_SOURCES): Move gconf-backend.h
here, I don't see why it was in the public headers
Throughout, rename a bunch of stuff:
#!/usr/bin/perl -pi.bak
s/gconf_notify_add/gconf_engine_notify_add/g;
s/gconf_notify_remove/gconf_engine_notify_remove/g;
s/gconf_get_without_default/gconf_engine_get_without_default/g;
s/gconf_get_full/gconf_engine_get_full/g;
s/gconf_get_with_locale/gconf_engine_get_with_locale/g;
s/gconf_get_default_from_schema/gconf_engine_get_default_from_schema/g;
s/gconf_unset/gconf_engine_unset/g;
s/gconf_associate_schema/gconf_engine_associate_schema/g;
s/gconf_all_entries/gconf_engine_all_entries/g;
s/gconf_all_dirs/gconf_engine_all_dirs/g;
s/gconf_suggest_sync/gconf_engine_suggest_sync/g;
s/gconf_dir_exists/gconf_engine_dir_exists/g;
s/gconf_get_float/gconf_engine_get_float/g;
s/gconf_get_int/gconf_engine_get_int/g;
s/gconf_get_bool/gconf_engine_get_bool/g;
s/gconf_get_schema/gconf_engine_get_schema/g;
s/gconf_get_list/gconf_engine_get_list/g;
s/gconf_get_pair/gconf_engine_get_pair/g;
s/gconf_set_float/gconf_engine_set_float/g;
s/gconf_set_int/gconf_engine_set_int/g;
s/gconf_set_string/gconf_engine_set_string/g;
s/gconf_set_bool/gconf_engine_set_bool/g;
s/gconf_set_schema/gconf_engine_set_schema/g;
s/gconf_set_list/gconf_engine_set_list/g;
s/gconf_set_pair/gconf_engine_set_pair/g;
s/gconf_commit_change_set/gconf_engine_commit_change_set/g;
s/gconf_create_reverse_change_set/gconf_engine_reverse_change_set/g;
s/gconf_create_change_set_from_currentv/gconf_engine_change_set_from_currentv/g;
s/gconf_create_change_set_from_current/gconf_engine_change_set_from_current/g;
s/gconf_schema_destroy/gconf_schema_free/g;
s/gconf_value_destroy/gconf_value_free/g;
s/gconf_listeners_destroy/gconf_listeners_free/g;
s/gconf_entry_destroy/gconf_entry_free/g;
s/gconf_client_create_change_set_from_current/gconf_client_change_set_from_current/g;
s/gconf_client_create_change_set_from_currentv/gconf_client_change_set_from_currentv/g;
s/gconf_client_create_reverse_change_set/gconf_client_reverse_change_set/g;
## These require some care, since they can be the prefix for unrelated stuff.
s/gconf_get /gconf_engine_get /g;
s/gconf_set /gconf_engine_set /g;
s/gconf_get\(/gconf_engine_get (/g;
s/gconf_set\(/gconf_engine_set (/g;
|
|
|
|
|
|
|
|
|
|
| |
2000-08-31 Havoc Pennington <hp@redhat.com>
* Massive rename from GConfError to GError
* gconf/gconf-error.h, gconf/gconf-error.c: Remove
redundant-with-GError stuff; add GCONF_ERROR domain
macro
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mon Jul 24 16:39:01 2000 George Lebl <jirka@5z.com>
* wrappers/gtk/gconf-client.[ch]: Allow adding overlapping
subdirectories. What happens is that the real gconf notify
is not added for subdirectories. When directories are added
or removed the hash is traversed and fixed up. This is
done in a simple and incredibly inefficent manner and needs
to be fixed. Also this change adds an "err" argument to
the _remove_dir call as errors can now happen. Also
fix a minor warning by casting.
* wrappers/gtk/testgconfclient.c: Add some testing of overlapping
directories. Add buttons to add/remove the main directory and
the subdirectory. This way you can see if things get proper
notifications.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-12 Havoc Pennington <hp@pobox.com>
* configure.in: Bump library versions, bump to 0.6
* gconf/gconf.c (gconf_engine_get_local): Rename from
gconf_engine_new_local
(gconf_engine_get_default): rename from gconf_engine_new
(gconf_engine_get_for_address): rename from
gconf_engine_new_from_address
* wrappers/gtk/gconf-client.c (gconf_client_get_default): rename
from gconf_client_new. Always sink the client, so we are strictly
refcounted, no floating state (for future GObject compatibility)
(gconf_client_get_for_engine): rename from
gconf_client_new_with_engine
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-31 Havoc Pennington <hp@redhat.com>
* wrappers/gtk/gconf-client.c
(gconf_client_real_unreturned_error): only handle the error if the
mode is GCONF_CLIENT_HANDLE_UNRETURNED
(gconf_client_real_error): only handle if GCONF_CLIENT_HANDLE_ALL
(gconf_client_init): change default error handling to
GCONF_CLIENT_HANDLE_UNRETURNED
* wrappers/gtk/gconf-client.h: don't pass error handling mode to
the error handler function
|
|
|
|
|
|
|
|
| |
2000-01-28 Havoc Pennington <hp@redhat.com>
* wrappers/gtk/gconf-client.c
(gconf_client_set_global_default_error_handler): New function so
gnome-libs can install a Gnomized error dialog
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-13 Havoc Pennington <hp@redhat.com>
* backends/xml-dir.c (dir_load): arguments to this were backward
* wrappers/gtk/gconf-client.c: keep a count of the number of times
a directory has been added/removed from the dir list, so we only
remove it from the list after that number of removals.
Perhaps somewhat unintuitive, but we'll document it, and it's
really necessary if multiple code sections are going to share the
same GConfClient.
(gconf_client_destroy): move a bunch of stuff to finalize
so we remain "safe" before last unref
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-12-02 Havoc Pennington <hp@pobox.com>
* examples/basic-gconf-app.c (create_configurable_widget): use
gconf_client_get_string() instead of gconf_client_get()
(update_entry): Check for the default value if we have an unset
value in the change set.
* wrappers/gtk/gconf-client.c
(gconf_client_create_change_set_from_currentv): use without_default
(revert_foreach): use without_default
* gconf/gconf-changeset.c (gconf_create_change_set_from_currentv):
use gconf_get_without_default()
(revert_foreach): use gconf_get_without_default()
* wrappers/gtk/testgconfclient.c (entry_notify_func): fix to compile
* examples/basic-gconf-app.c (configurable_widget_config_notify):
fix to compile
* wrappers/gtk/gconf-client.c
(gconf_client_get_default_from_schema): New function
* gconf/gconf.c (gconf_get_without_default): renamed from
gconf_get_no_default(), so that gconf_get_default_from_schema()
won't be as confusing maybe.
(gconf_get_default_from_schema): new function to read the default
setting in the schema
* backends/xml-backend.c (xentry_extract_value): remove ignore_subsequent
(xentry_set_value): ditto
* gconf/gconf-sources.c (gconf_sources_query_value): Remove ignore
subsequent
* gconf/gconf-value.c (gconf_value_new_from_string): remove
ignore_subsequent
(gconf_value_to_string): remove ignore_subsequent
(gconf_value_copy): Remove ignore_subsequent
* gconf/gconfd.c (context_unset): add is_default to notification
(context_set): add is_default to notification
* gconf/gconf-internals.c (gconf_value_type_to_string): Remove
ignore_subsequent.
* gconf/gconf.c (gconf_cnxn_notify): add is_default
(notify) add is_default
* gconf/gconf-value.h: Remove GCONF_VALUE_IGNORE_SUBSEQUENT
* gconf/gconf-sources.c (gconf_sources_unset_value): don't do that
weird IGNORE_SUBSEQUENT goo
* wrappers/gtk/Makefile.am (INCLUDES): add top_builddir to include
search to get the built sources
* gconf/gconf-engine.h: fix includes
* gconf/gconf-changeset.h: fix includes
* gconf/Makefile.am (gconfd_SOURCES): add gconf-sources.h here
instead of installing it.
* wrappers/gtk/Makefile.am (INCLUDES): remove -I$(top_builddir)/gconf
* wrappers/gtk/gconf-client.c (gconf_client_get_full): Add this,
etc.
* gconf/gconf-sources.c (gconf_sources_query_value): Set a flag
indicating whether the retrieved value was the default or not.
* gconf/GConf.idl: add value_is_default out flag to
lookup_with_locale()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-12-01 Havoc Pennington <hp@pobox.com>
* doc/gconf/gconf-sections.txt: Add new create_change_set
functions for GConfClient and GConfEngine
* doc/gconf/Makefile.am (LDFLAGS): Use proper cflags/ldflags
for gtk and OAF when doing 'make scan'
* wrappers/gtk/testgconfclient.c (entry_attached_to): change for
new get_string() thing
* gconf/gconf-changeset.h: fix the "" vs. <> issue on an #include
* wrappers/gtk/gconf-client.c (gconf_client_get_bool): remove
"default" argument
(gconf_client_get_string): ditto
(gconf_client_get_int): ditto
(gconf_client_get_float): ditto
* gconf/gconf.c (gconf_get_bool): Remove "default" argument.
(gconf_get_string): ditto
(gconf_get_int): ditto
(gconf_get_float): ditto
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-11-29 Havoc Pennington <hp@pobox.com>
* wrappers/gtk/gconf-client.c (gconf_client_get): sheesh, this
stupid function didn't work at all. fix it
(get): properly check whther val is NULL before copying it.
* gconf/gconf-internals.c (gconf_set_daemon_mode): Function to set
daemon mode, for now changes gconf_log behavior
(gconf_log): handle daemon vs. non-daemon mode, and with syslog do
syslog(pri, "%s", msg) instead of syslog(pri, msg) to avoid
unwanted printf magic.
(gconf_value_from_corba_value): more robust for list types, add an assertion
* gconf/gconfd.c (gconfd_set): return if the conversion from
GConfValue doesn't fly
* gconf/gconf-value.c (gconf_value_new): add a check for valid type
* gconf/gconf-value.h (GCONF_VALUE_TYPE_VALID): Add macro to check the
a value type is valid
* gconf/gconf-changeset.c (change_set): return if the value being
set is the same as the existing value.
* examples/Makefile.am (EFENCE): add EFENCE var
* wrappers/gtk/gconf-client.c (gconf_client_commit_change_set):
add checks
* gconf/gconf-changeset.c (gconf_commit_change_set): add checks
* gconf/gconf-listeners.c (gconf_listeners_remove): Robust against
bad notify_id
* gconf/gconf-changeset.c (gconf_create_change_set_from_current):
New function to create a change set which will restore the current
values of a list of keys.
(gconf_create_change_set_from_currentv): Vector version of the
same function.
(gconf_change_set_check_value): new function to check for and get
the value of a key in a change set.
* wrappers/gtk/gconf-client.h: Add client analogues for the above
two set-creation functions.
1999-11-28 Havoc Pennington <hp@pobox.com>
* gconf.m4: add the "" around the $4, seems to work - the problem
here seems to have something to do with aclocal or autoconf
doing the wrong thing, rather than a shell issue. I don't
understand it yet.
1999-11-23 Havoc Pennington <hp@pobox.com>
* backends/xml-backend.c (query_value): Don't return errors here;
this is somewhat wrong, we actually need to discriminate between
errors and report the "abnormal" ones, but for now I think all of
them are ignorable.
* gconf/gconf-internals.c (gconf_log): If the log string contains
a % escape it with another percent so we don't get printf()
effects (was causing a segfault) - however it's still broken if
unintentional percents exist in the initial format string. Will
fix later by adding a "printf()-formatting" arg I think
* wrappers/gtk/gconf-client.c (gconf_client_commit_change_set):
put some casts in to chill warnings
* gconf/gconf-changeset.c (gconf_change_set_size): new function
* wrappers/gtk/gconf-client.c (gconf_client_destroy): Destroy the
directory list.
* Makefile.am (SUBDIRS): add "examples" directory
* examples/Makefile.am, examples/basic-gconf-app.c: Examples;
write nice example program.
* gconf/gconfd.c (notify_listeners_cb): error message improvement
(set_default_context): Set the "context" field of the default
context, I don't get how that was working before.
|
|
|
|
|
|
|
|
| |
1999-11-20 Havoc Pennington <hp@pobox.com>
* wrappers/gtk/gconf-client.c
(gconf_client_create_reverse_change_set): new function
(gconf_client_commit_change_set): new function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-11-15 Havoc Pennington <hp@pobox.com>
* doc/gconf/tmpl/gconf-client.sgml: write GConfClient docs.
* wrappers/gtk/gconf-client.c (gconf_client_new_with_engine):
change this to increment the #GConfEngine reference count.
* doc/gconf/gconf.sgml: Add GConfClient entity
* doc/gconf/gconf-sections.txt: Add GConfClient stuff, add
set_list and set_pair for GConfChangeSet
* doc/gconf/gconf.types: New file gtk-doc requires
* doc/gconf/Makefile.am (scan): Scan GConfClient as well.
Uses a bad, probably nonportable hack, but this stuff isn't
built by default anyway.
* wrappers/Makefile.am: Build GConfClient if we have GNOME
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-11-15 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (gconf_get): Fix it to use the current
locale as documented.
* gconf/gconf-internals.c
(gconf_value_list_to_primitive_list_destructive): new function
takes most code from gconf_get_list()
(gconf_value_pair_to_primitive_pair_destructive): new function
* wrappers/gtk/gconf-client.c (get): Return a copy of the cached
value, should save us some segfaults.
(gconf_client_get_list): new function
(gconf_client_get_pair): new function
(gconf_client_set_list): new function
(gconf_client_set_pair): new function
* gconf/gconf-internals.c (gconf_value_pair_from_primitive_pair):
new function removes guts of gconf_set_pair()
* gconf/gconf.c (gconf_set_list): change to use
gconf_value_list_from_primitive_list()
* gconf/gconf-changeset.c (gconf_change_set_set_list): new
convenience function
(gconf_change_set_set_pair): new function
* gconf/gconf-internals.c (gconf_value_list_from_primitive_list):
new function, takes most of the code from gconf_set_list() to
share with other list-set wrappers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-10-27 Havoc Pennington <hp@pobox.com>
* configure.in: Add --enable-debug option to G_DISABLE_CHECKS as needed
* gconf/wrappers/gtk/testgconfclient.c: Test program for the GTK+
client wrapper.
* gconf/gconf-sources.c (gconf_sources_query_value):
Wasn't handling errors; now we report errors. The bad thing is,
it might be better to go ahead and do our best despite the error.
* gconf/gconf.c (gconf_init): Actually set the have_initted variable.
* wrappers/gtk/Makefile.am (libgconf_gtk_la_LIBADD): Don't try to
link with libgconf;
Add testgconfclient target.
* wrappers/gtk/gconf-client.h, wrappers/gtk/gconf-client.c: Make
it compile
* configure.in: Generate Makefile for GtkObject wrapper
|
|
|
|
|
| |
attempting to compile it). API should be final and working though.
Fixed indentation/comments in a couple other files.
|
|
|
|
|
|
|
| |
1999-10-21 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (gconf_key_is_below): New function, tells you if a
key is below another key in the directory hierarchy.
|
| |
|
|
|
|
|
|
| |
1999-10-11 Havoc Pennington <hp@pobox.com>
* For all files, s/g_conf/gconf
|
| |
|
|
1999-09-01 Havoc Pennington <hp@pobox.com>
* configure.in: add gmodule check to AM_PATH_GLIB, add an error if
glib isn't found, use detected $XML_CONFIG to instead of
xml-config, AC_PATH_PROG orbit-config, check for C++ compiler
(since we'll have a C++ wrapper soon)
* gconf/Makefile.am: Assume GMODULE_CFLAGS are now included in
GLIB_CFLAGS since we fixed configure.in
* gconf/gconf.c, gconf/gconf.h: Reference count the GConf object,
add extern "C" when using C++
* gconf/gconftool.c: unref instead of destroying the GConf object
|