| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
2002-03-20 Havoc Pennington <hp@pobox.com>
* tests/testpersistence.c: remove the -G_MAXFLOAT test, since
it didn't work and probably shouldn't
* gconf/gconf-internals.c (gconf_double_to_string): use
g_ascii_dtostr()
(gconf_string_to_double): use g_ascii_strtod()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-10 Havoc Pennington <hp@pobox.com>
* gconf/gconf-sources.c (gconf_sources_query_metainfo): fix
obnoxious typo (s/mi/this_mi/), also needed to fix bug
reported by Kristian.
* backends/xml-backend.c (query_metainfo): make key relative prior
to looking up metainfo. Fixes bug where schema defaults would
mysteriously get lost in some cases, reported by Kristian
Rietveld.
2002-03-07 Havoc Pennington <hp@pobox.com>
* backends/xml-test.c: test program for XML backend code
* configure.in: add a "minimum" debug mode and compile with it
by default.
* gconf/gconftool.c (main): call setlocale()
* tests/runtests.sh: run tests in various locales
* gconf/gconf-value.h: add more padding to GConfEntry
* gconf/gconf-internals.c (gconf_CORBA_Object_equal):
(gconf_CORBA_Object_hash): remove stupid inlining of these
functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-01-28 Michael Meeks <michael@ximian.com>
* gconf/gconf-database.c: warning cleans.
(impl_ConfigDatabase3_add_listener_with_properties):
init name.
(gconf_database_add_listener): right args for format.
* gconf/gconf-client.c: warning cleans.
* gconf/gconf-internals.c (gconf_orb_release):
return shutdown status.
* gconf/gconf.c (gconf_detach_config_server):
privatize again, and split out ORB shutdown into
(gconf_debug_shutdown): here.
2002-01-25 Michael Meeks <michael@ximian.com>
* gconf/gconf.c (try_to_contact_server): release the
server reference, if it's to a duff object.
(gconf_get_config_listener): strip local 'listener',
since we have a static module global for that.
(gconf_detach_config_server): release the listener.
(gconf_get_config_listener): release the poa & manager
references.
* tests/testgconf.c (main): add
gconf_detach_config_server
* gconf/gconf-internals.c
(gconf_orb_get): remove bonobo activation
worries, kill bogus fiddling with the default
context.
(gconf_orb_release): impl.
* gconf/gconf.c (gconf_detach_config_server):
publicise & destroy engines_by_cb.
(database_rec_release): impl.
(gconf_engine_set_database): use g_hash_table_new_full
(gconf_engine_detach): just remove from the hash.
(try_to_contact_server): release the server reference,
if it's to a duff object.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-11 Havoc Pennington <hp@redhat.com>
* gconf/gconf.c (gconf_engine_get_default): change to not start
gconfd immediately, so we can avoid starting it if
we're just going to shut it down, and just generally do
things lazily.
(gconf_shutdown_daemon): ignore NO_SERVER error code
* backends/xml-dir.c (dir_get_value): always get schema name, not
just if value is unset
* gconf/gconfd.c (main): don't free logname since there are atexit
handlers for now
* gconf/gconf-sources.c (gconf_sources_query_value): don't look
for a default value for the schema. Useless and adds a bit of
inefficiency.
* gconf/gconfd.c (main): set log handler for GLib
(log_handler): mask extra flags out of log level
* gconf/gconf-sources.c (gconf_sources_query_value): Fix this so
Gergo's bug doesn't happen; hope no other semantic gets broken.
* tests/testschemas.c: do some unbreaking, and put in a test that
exposes Gergo's bug (failure to read schema name if a key is set)
* tests/*: put in a big comment saying don't use these as example
code since they are ugly-ass and broken.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-12 Havoc Pennington <hp@redhat.com>
Merge from stable.
* tests/testschemas.c (check_schema_storage): add some UTF-8
* tests/testpersistence.c: UTF-8 test
* tests/testgconf.c: add a UTF-8 test
* gconf/gconf.c: UTF-8 checks, and some indentation
* gconf/gconf-schema.c: UTF-8 checks
* gconf/gconf-value.c: add some UTF-8 robustness
|
|
|
|
|
| |
* commit of BerkeleyDB backend
* changes to bring source into compliance with ISO C
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-21 Havoc Pennington <hp@pobox.com>
* gconf/gconf-value.c (gconf_value_new_from_string): use new
double conversion
(gconf_value_to_string): use new conversion
* gconf/gconf-internals.c
(gconf_double_to_string)
(gconf_string_to_double): new functions to go from string
to double, we had precision problems with this and maybe
still do, these functions encapsulate it. For now
copied code from gnumeric/src/xml-io.c
* gconf/gconftool.c (main): improve
gconfd-is-running error
message
* gconf/gconf.c (gconf_synchronous_sync): internal-only API
for the synchronous sync
* gconf/gconfd.c (gconfd_synchronous_sync):
implement a way to
force _immediate_ sync for testing purposes
|
|
2000-01-21 Havoc Pennington <hp@pobox.com>
* tests/Makefile.am (testpersistence_SOURCES): add new test
* tests/testpersistence.c: New test, clears the cache after every
set, to see if the get() function can properly load
stuff off of
disk. Right now we fail this test. Blah.
|