| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-11-19 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (gconf_server_broken): don't need to set the
server to NIL here, it gets set in gconf_detach_config_server()
* doc/gconf/gconf-sections.txt: Add preinit, postinit
* doc/gconf/gconf.sgml: Remove gconf-orbit entity
* doc/gconf/gconf-sections.txt: Remove gconf-orbit stuff
* tests/*.c: Fix to not include gconf-orbit.h, call gconf_init()
properly
* gconf-editor/gconf-editor.c: don't include gconf-orbit.h
* wrappers/gtk/testgconfclient.c (main): remove "orb" variable
* gconf/gconftool.c: don't include gconf-orbit.h
* gconf/gconfd.c: don't include gconf-orbit.h
* gconf/gconf.c: don't include gconf-orbit.h
* gconf/gconf.h: don't include gconf-orbit.h
* gconf/Makefile.am (gconfinclude_HEADERS): remove gconf-orbit.h
(libgconf_la_SOURCES): remove gconf-orbit.c
* gconf/gconfd.c (main): fix error message if oaf_init() returns FALSE
* gconf/gconf.c (try_to_contact_server): Use the IID macro
(gconf_postinit): Change all the error checks to assertions; if
these errors can really happen they need to be reported as before
(not sure how to do this with the pre/post init setup), if they
can't happen then they should be asserted, not error-checked.
* gconf/gconfd.c (fast_cleanup): Unregister with OAF in order to
clean up.
* gconf/Makefile.am: add -DIID to INCLUDES
* gconf/gconfd.c (main): Use a macro for the IID
* gconf/gconf-internals.c: Remove gconf_read_server_ior(),
gconf_info_dir(), gconf_info_file(), etc. since we use OAF instead.
* gconf/gconfd.c (main): Remove "nodaemon" flag since we don't run
as a daemon anymore.
(main): After oaf_init(), don't try to use "err" since oaf_init()
won't set it.
* gconf/gconf-orbit.h, gconf/gconf-orbit.c: Delete these, we
are using OAF now.
* gconf/gconf.c (gconf_get_config_server): Change this to only
call try_to_contact_server() if start_if_not_found is TRUE,
since with OAF any attempt to contact the server will
automatically restart it. Now we keep the server variable
up-to-date locally (set it to NULL on any system exception).
|
|
|
|
|
| |
* Make it all use OAF, and redo the initialization routine(s) to fit better into the
GnomeModuleInfo system.
|
|
|
|
| |
Shut up CVS and let me tag.
|
|
|
|
|
|
| |
* gconf.m4: AM_PATH_GCONF macro.
* wrappers/gtk/Makefile.am, autogen.sh, backends/Makefile.am: Work with builddir != srcdir
* Makefile.am: Distribute gconf.m4 & gconf-config.in, install gconf.m4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-11-15 Havoc Pennington <hp@pobox.com>
* backends/xml-backend.c (entry_fill): handle locale by syncing
cached value if necessary
* wrappers/gtk/gconf-client.c (gconf_client_get_string):
g_strdup() the retval if necessary
(gconf_client_get_pair): fix one of the checks
* backends/xml-backend.c (xentry_extract_value): use "C" locale if
none is given.
* gconf/gconftool.c (do_load_schema_file): check type of nodes
(process_key_list): check node type
(process_schema): check node type
(process_locale_info): check node type
(extract_global_info): check node type
* backends/xml-backend.c (entry_unset): deal with locales
(entry_set): deal with locales
(entry_value): locales
(schema_node_extract_value): handle locales
* gconf/gconf-internals.c (gconf_log): move the check for debug
messages to the top of the function, before g_strdup_vprintf(),
and if GCONF_ENABLE_DEBUG isn't defined return immediately (ignore
the GCL_DEBUG messages).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-10-27 Havoc Pennington <hp@pobox.com>
* gconf-editor/Makefile.am (gconf_editor_LDADD):
link to libgconf.la
* gconf/Makefile.am: Renamed the shared lib to libgconf instead of
libgconf-client.
* wrappers/gtk/Makefile.am: Renamed gconf-gtk.[hc] to
gconf-client.[hc] via CVS surgery, then updated Makefile.
|
|
|
|
|
|
|
| |
1999-10-27 Havoc Pennington <hp@pobox.com>
* wrappers/gtk/Makefile.am: Renamed gconf-gtk.[hc] to
gconf-client.[hc] via CVS surgery, then updated Makefile.
|
|
|
|
|
| |
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-17 Havoc Pennington <hp@pobox.com>
* For all files, s/G_CONF/GCONF
|
|
|
|
|
|
| |
1999-10-11 Havoc Pennington <hp@pobox.com>
* For all files, s/g_conf/gconf
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-29 Havoc Pennington <hp@pobox.com>
* gconf/gconf-conf.h: Replaced with gconf-engine.h
* gconf/Makefile.am: use gconf-engine.h
* gconf/gconf.c, gconf/gconf.h, gconf/gconftool.c,
gconf-editor/app.c, wrappers/guile/scm-gconf.c:
Use GConfEngine name instead of GConf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-29 Havoc Pennington <hp@pobox.com>
* backends/xml-backend.c: include gconfd-error.h and gconf.h,
change error checking to new system as needed
* gconf/Makefile.am: Put more stuff in gconfd_SOURCES instead of
client lib, add new files
* gconf/gconf-backend.h: include gconf-sources.h
* gconf/gconf-conf.h: add error arg to g_conf_new_from_address
* gconf/gconf-error.c: move strerror in here, fixups,
preconditions
* gconf/gconf-internals.c, gconf/gconf-sources.c: move all sources
stuff to new gconf-sources file
* gconf/gconf-orbit.c: Check for failure to get lock
* All the rest of this giant diff: Move to new error-handling
scheme
|
| |
|
|
|
|
|
|
|
|
|
| |
1999-09-08 Havoc Pennington <hp@pobox.com>
* scm-gconf.c (gconf-get): implemented
* gconf-guile.c (real_main): Call g_conf_init_orb() and
g_conf_init()
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-03 Havoc Pennington <hp@pobox.com>
* configure.in: Set library version info variables, and locate
Guile libraries, etc.
* wrappers/Makefile.am: conditionally build Guile subdir if we
found guile.
* wrappers/guile: new subdir with the basic files/build for Guile
bindings, will add the actual bindings later.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|