| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
svn path=/trunk/; revision=2704
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-28 Christian Persch <chpe@gnome.org>
* gconf/gconf-internals.c: (gconf_value_from_corba_value),
(gconf_fill_corba_value_from_gconf_value), (gconf_value_decode):
* gconf/gconf.c: (gconf_engine_all_entries):
* wrappers/guile/scm-gconf.c: (gconf_value_to_scm): Use G_STRFUNC
instead of the deprecated G_GNUC_FUNCTION.
svn path=/trunk/; revision=2535
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-07-04 Mark McLoughlin <mark@skynet.ie>
Patch from Julio M. Merino Vidal <jmmv@menta.net> 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* backends/Makefile.am:
* examples/Makefile.am:
* gconf-editor/Makefile.am:
* tests/Makefile.am:
* wrappers/guile/Makefile.am:
Got rid of extra unneeded -I directives.
* examples/basic-gconf-app.c:
* examples/simple-controller.c:
* examples/simple-view.c:
Changed includes to use the normal <gconf/*> format, because
that is both better for examples, and works fine when building
gconf too, without any special -I trickery.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-25 Havoc Pennington <hp@pobox.com>
* wrappers/gtk/gconf-client.c: remove get_nocopy, since it can't
be implemented since we don't cache everything. Oops.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-10-06 Havoc Pennington <hp@pobox.com>
* wrappers/gtk/gconf-client.c: indentation/formatting
* gconf/gconfd.c (parse_listener_entry): extra paranoia error
check. Also, make log messages level DEBUG, not WARNING.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-25 Havoc Pennington <hp@pobox.com>
Bug fixes and portability issues reported by Colm Smyth
* gconf/gconf-sources.c (gconf_sources_query_value): fix NULL
pointer dereference
* s/__FUNCTION__/G_GNUC_FUNCTION/g;
* configure.in: Add check for GCC before using -Wall (can't
believe no one has _ever_ tried building GConf without gcc,
but it appears so...)
* gconf/gconftool.c: use N_ not _ with static strings.
* tests/testschemas.c: Don't include locale.h
* gconf/gconf-internals.h: Remove some of the #defines from
the non-ENABLE_NLS case.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-16 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (gconf_engine_key_is_writable): And actually
implement it here. Doh.
* wrappers/gtk/gconf-client.c (gconf_client_key_is_writable): Gee,
forgot to actually implement this function after implementing all
the backend work for it...
* gconf/gconf.c (corba_errno_to_gconf_errno): add
NO_WRITABLE_DATABASE handling here also
* gconf/gconfd.c (gconf_set_exception): handle
NO_WRITABLE_DATABASE error
* gconf/GConf.idl: Add NoWritableDatabase to error type enum
* wrappers/gtk/testgconfclient.c (entry_attached_to): Update
to properly handle writability
* examples/simple-controller.c (main): set entry sensitivity
properly
* examples/basic-gconf-app.c (main): Remove ref/sink and destroy,
just use plain refcounting
(create_config_entry): Set entry sensitivity according to key
writability
* wrappers/gtk/gconf-client.c (gconf_client_finalize): Move all
cleanup to finalize, remove destroy handler
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-15 Havoc Pennington <hp@redhat.com>
* s/gconf_concat_key_and_dir/gconf_concat_dir_and_key/g
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-13 Havoc Pennington <hp@redhat.com>
* More renaming:
s/gconf_meta_info_schema/gconf_meta_info_get_schema/g;
s/gconf_meta_info_mod_user/gconf_meta_info_get_mod_user/g;
s/gconf_meta_info_mod_time/gconf_meta_info_mod_time/g;
s/gconf_entry_key/gconf_entry_get_key/g;
s/gconf_entry_value/gconf_entry_get_value/g;
s/gconf_entry_schema_name/gconf_entry_get_schema_name/g;
s/gconf_entry_is_default/gconf_entry_get_is_default/g;
s/gconf_value_string/gconf_value_get_string/g;
s/gconf_value_int/gconf_value_get_int/g;
s/gconf_value_float/gconf_value_get_float/g;
s/gconf_value_list_type/gconf_value_get_list_type/g;
s/gconf_value_list/gconf_value_get_list/g;
s/gconf_value_car/gconf_value_get_car/g;
s/gconf_value_cdr/gconf_value_get_cdr/g;
s/gconf_value_bool/gconf_value_get_bool/g;
s/gconf_value_schema/gconf_value_get_schema/g;
s/gconf_schema_type/gconf_schema_get_type/g;
s/gconf_schema_list_type/gconf_schema_get_list_type/g;
s/gconf_schema_car_type/gconf_schema_get_car_type/g;
s/gconf_schema_cdr_type/gconf_schema_get_cdr_type/g;
s/gconf_schema_locale/gconf_schema_get_locale/g;
s/gconf_schema_short_desc/gconf_schema_get_short_desc/g;
s/gconf_schema_long_desc/gconf_schema_get_long_desc/g;
s/gconf_schema_owner/gconf_schema_get_owner/g;
s/gconf_schema_default_value/gconf_schema_get_default_value/g;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-09-13 Havoc Pennington <hp@redhat.com>
* gconf/gconf.c (gconf_engine_all_entries): Put full key in
GConfEntry (but we only get the relative key over the
CORBA wire)
* wrappers/gtk/gconf-client.c (cache_pairs_in_dir): Change to
reflect fact that GConfEntry now contains full key
* gconf/gconftool.c (list_pairs_in_dir): Change to reflect full
key in GConfEntry
* doc/gconf/tmpl/gconf-value.sgml: updated GConfEntry docs on this
matter.
|
|
|
|
|
|
|
|
|
|
| |
2000-09-11 Havoc Pennington <hp@redhat.com>
* Actually use gettext. Involves checking in configure.in, linking
to it in Makefile.am, making _() do the right thing.
I have gettext in libc instead of -lintl though, so I'm not going
to see Makefile bugs - maybe someone can check on it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
Tue Jul 25 23:48:24 2000 George Lebl <jirka@5z.com>
* wrappers/gtk/gconf-client.c: || doesn't mean && :). It would
consider as an above directory every directory that had a notify_id
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-14 Havoc Pennington <hp@pobox.com>
* gconf/gconf-sources.c (gconf_sources_query_value): Fix memleak
of schema_name in case where we return a value
(hash_lookup_defaults_func): Fix bug where we returned the schema
instead of the default value stored in the schema, when returning
default values for a directory listing, which GConfClient did in
order to preload its cache. (Upshot: GConfClient with preloading
was broken if you had schemas.)
2000-07-13 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c (shutdown_contexts): fix cheesy race condition
(context_list may not exist at this point)
2000-07-12 Havoc Pennington <hp@pobox.com>
* gconf.spec.in: Change spec file to reflect my fooling with
names of things
* configure.in: Some files converted to .in files, so we can
do versioning
* gconf-config.in: output versioned names for libs and includes
* gconf/Makefile.am: version all installed files
* wrappers/gtk/Makefile.am: put version in the name of
everything
* wrappers/gtk/testgconfclient.c (main): remove ref/sink to
reflect change to GConfClient
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
* wrappers/gtk/gconf-client.c (gconf_client_set_pair): Pass both
car and cdr to gconf_set_pair rather than passing car twice. Oops.
|
|
|
|
|
|
|
|
|
| |
2000-06-07 Pavel Cisler <pavel@eazel.com>
* wrappers/gtk/gconf-client.c: (gconf_client_get_string):
Fix a storage leak -- a g_strdup and an string ownership
swapping optimization were working against each other.
Removed the g_strdup that is not needed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-06-01 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (gconf_engine_new): If there's an existing engine
for a given context, return that engine instead of creating a new
one.
(gconf_engine_new_from_address): ditto
* wrappers/gtk/gconf-client.c (gconf_client_finalize): remove
client from client registration table
(gconf_client_new): register newly-created client in hash from
engines to clients; return an existing client if there's already
a client for the default engine
(gconf_client_new_with_engine): register newly-created client,
and try to return existing client.
|
|
|
|
|
|
| |
* tests/Makefile.am: srcdir != builddir fix.
* wrappers/gtk/Makefile.am: Add libgconf-gtk.la to testgconfclient
deps so that 'make -j' builds will work correctly.
|
|
|
|
|
|
|
| |
2000-01-31 Havoc Pennington <hp@redhat.com>
* wrappers/gtk/gconf-client.c (check_type): include name of the
key with the wrong type in the error message
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-27 Havoc Pennington <hp@pobox.com>
* wrappers/gtk/gconf-client.c (check_overlap): fix the no-debug
case
|
| |
|
|
|
|
|
|
|
|
|
|
| |
2000-01-19 Havoc Pennington <hp@redhat.com>
* gconf/gconfd.c (gconf_set_exception): warn if the error is set
to GCONF_ERROR_SUCCESS
* gconf/gconf-error.h: Prefix all errno values with GCONF_ERROR as
Owen suggested
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
2000-01-12 Jonathan Blandford <jrb@redhat.com>
* wrappers/gtk/gconf-client.c: added <stdio.h>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-01-02 Timur Bakeyev <mc@bat.ru>
* po/uk.po: Add missed "\n" in 2 strings. Things sholud be checked
before commit :)
* backends/Makefile.am, wrappers/gtk/Makefile.am: Add $(top_builddir)/gconf
to INCLUDES to make GConf.h visiable.
* gconf/gconf-internals.c: If LC_MESSAGE doesn't exist, use value of
LC_CTYPE (is this correct?)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-12-20 Havoc Pennington <hp@redhat.com>
* gconf/gconf-sources.c (gconf_sources_new_from_addresses): const
correctness
* gconf/gconfd.c: Massive const-correctness changes
to match
latest ORBit
* gconf/gconf.c (notify): "in string" seems to be const again now.
* wrappers/gtk/gconf-client.c (cache_pairs_in_dir):
store the
is_default parameter when preloading
* gconf/gconf.c (gconf_all_entries): receive the is_default
parameter
* gconf/gconfd.c (gconfd_all_entries): pass
the is_default
parameter over the CORBA link
* backends/xml-backend.c (listify_foreach): Add the schema
name to
the entry if appropriate (if value is unset)
* gconf/gconf-sources.c (gconf_sources_all_entries): Change to
match new semantics of all_entries in the backend;
get all entries
that have a schema set on them, and the corresponding default
value if appropriate.
* gconf/gconf-value.c (gconf_entry_set_is_default):
new function
(gconf_entry_set_schema_name): new function
* backends/xml-backend.c (listify_foreach): Include keys that
exist but have no value set in the list of returned entries.
|
|
|
|
|
|
|
|
|
|
| |
1999-12-20 Havoc Pennington <hp@redhat.com>
* tests/testlisteners.c: fix include
* wrappers/gtk/gconf-client.c (gconf_client_preload): Actually
implement preloading. We have some "issues" here to resolve I
think, because of the defaults stuff and schemas.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-12-14 Havoc Pennington <hp@redhat.com>
* doc/gconf/tmpl/gconf-client.sgml: fix a typo, add additional
explanation to the introduction.
* doc/gconf/tmpl/gconf.sgml: Document the string-to-enum functions.
Update some other docs too.
* doc/gconf/gconf-sections.txt: add new functions
* gconf/gconf.c (gconf_string_to_enum): new function
(gconf_enum_to_string): new function
* gconf/gconf-engine.h: Put gconf_engine_new_local() here instead
of gconf-internals.h
* gconf/gconf-internals.h: added a new GCONF_ENABLE_INTERNALS
define, to allow us to have internal stuff in headers other than
gconf-internals.h
* gconf/gconf.c (gconf_unset): local version
(gconf_associate_schema): local version
(gconf_all_entries): local version
(gconf_all_dirs): local version
(gconf_suggest_sync): local version
(gconf_dir_exists): local version
* gconf/gconf-internals.h (gconf_engine_new_local): Declare this
function here, though it's defined in gconf.c
* gconf/gconf.c (gconf_set): local version
* gconf/gconfd.c (context_query_default_value): use
gconf_sources_query_default_value()
* gconf/gconf-sources.c (gconf_sources_query_default_value): New
function
* gconf/gconf-sources.h: egtk-format-protos the function
prototypes.
* gconf/Makefile.am (libgconf_la_SOURCES): move gconf-locale.[hc]
into the library, bah
* gconf/gconf.c (gconf_get_full): Add local (no gconfd) version
* gconf/gconf-locale.c (gconf_split_locale): locale splitter
function.
* gconf/gconf-sources.c (gconf_sources_new_from_source): new function
* examples/basic-gconf-app.c (create_prefs_dialog): Move keys from
/apps/gnome to plain /apps
* doc/gconf/gconf.sgml: Add an initial stab at namespace
splitting.
1999-12-09 Havoc Pennington <hp@redhat.com>
* gconf/gconf.c (gconf_init): Safety check to ensure we don't
initialize OAF a second time.
1999-12-06 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (gconf_notify_add): Backward assertion
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-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-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-23 Havoc Pennington <hp@pobox.com>
* wrappers/gtk/testgconfclient.c: remove GNOME dependency
* configure.in: don't build gconf-editor makefile.
* Makefile.am (SUBDIRS): never build gconf-editor, it will have to
go in a separate module (somewhat inconveniently, since I'll
probably end up installing gconf-internals.h for its use, blah)
* configure.in (GCONF_AGE): Check for plain GTK not GNOME
* wrappers/Makefile.am (SUBDIRS): change GNOME conditional to GTK
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-11-23 Havoc Pennington <hp@pobox.com>
* gconf/Makefile.am (libgconf_la_LDFLAGS): split off LIBADD
* wrappers/gtk/Makefile.am (libgconf_gtk_la_LIBADD): set shared
lib version
(libgconf_gtk_la_LDFLAGS): split LIBADD and
LDFLAGS maybe properly.
* configure.in: remove gnorba cflags/libs
* gconf/Makefile.am (install-data-local): Create the
$(sysconfdir)/gconf directory.
* wrappers/Makefile.am: For now, always
disable Guile wrapper
build.
|
|
|
|
| |
Build with srcdir != builddir.
|
|
|
|
|
|
|
|
| |
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
|