1. 25 Apr, 2012 2 commits
  2. 21 Feb, 2012 2 commits
  3. 23 Oct, 2011 2 commits
  4. 28 Jun, 2011 5 commits
  5. 14 Mar, 2011 1 commit
  6. 28 May, 2010 1 commit
  7. 22 Apr, 2010 1 commit
  8. 01 Feb, 2010 1 commit
  9. 21 Apr, 2009 1 commit
  10. 27 Jan, 2009 1 commit
    • Tor Lillqvist's avatar
      Use the -mwindows flag when linking on Windows, so that we build a "GUI" · 47626b28
      Tor Lillqvist authored
      2009-01-27  Tor Lillqvist  <tml@novell.com>
      
      	* gconf/Makefile.am (gconfd_2_LDFLAGS): Use the -mwindows flag
      	when linking on Windows, so that we build a "GUI" executable.
      
      	* gconf/gconfd.c (main): On Windows, with GCONF_DEBUG_OUTPUT set,
      	make sure stdout and stderr go somewhere. Use the parent's console
      	window if possible, otherwise open an own console window. If we
      	had to open an own console window, give the user a chance to read
      	the output when exiting. Same idea that has been successfully used
      	in GIMP for a while.
      
      
      svn path=/trunk/; revision=2746
      47626b28
  11. 08 Dec, 2008 1 commit
    • Ray Strode's avatar
      Use fsync instead of fdatasync for portability (bug 563401). Also flush · 40250d82
      Ray Strode authored
      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
      40250d82
  12. 02 Dec, 2008 1 commit
  13. 19 Aug, 2008 1 commit
    • Kjartan Maraas's avatar
      Add distclean rule. · 7000d95a
      Kjartan Maraas authored
      2008-08-19  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* defaults/Makefile.am: Add distclean rule.
      	* gconf/gconfd.c: (get_on_system_bus):
      	* gconf/gconfd.h: Fix some warnings.
      
      svn path=/trunk/; revision=2654
      7000d95a
  14. 11 Jul, 2008 1 commit
    • Matthias Clasen's avatar
      Bug 531169 – A mechanism for setting defaults · 7d4caf65
      Matthias Clasen authored
      2008-07-11  Matthias Clasen  <mclasen@redhat.com>
      
              Bug 531169 – A mechanism for setting defaults
      
              The cache-clearing part of this patch is thanks
              to Behdad Esfahbod.
      
              * defaults/*: A DBus system bus service that can copy a
              subtree of GConf values from the callers db to a system-wide
              db, using PolicyKit to control access.
      
              * configure.in: Add --enable-defaults-service to optionally
              build the defaults service.
      
              * gconf/gconf-database.[hc]: Add
              gconf_database_clear_cache_for_sources.
      
              * gconf/gconf-sources.[hc]: Add gconf_sources_clear_cache_for_sources.
      
              * gconf/gconfd.c: Listen for changes in the system-wide
              databases by the defaults service, and clear the cache.
      
              * po/POTFILES.in: Glue
              * Makefile.am: Glue
      
      
      
      svn path=/trunk/; revision=2628
      7d4caf65
  15. 04 Jul, 2008 1 commit
  16. 09 May, 2008 1 commit
    • Ray Strode's avatar
      Tie gconf daemon to session bus and drop use daemon GetIOR() method · 1196f4aa
      Ray Strode authored
      2008-05-09  Ray Strode  <rstrode@redhat.com>
      
      	Tie gconf daemon to session bus and drop use daemon
      	GetIOR() method instead of /tmp/something/ior to
      	tell clients about ior (bugs 141138 and 507310)
      
      	* configure.in: depend on dbus
      	* gconf/gconfd.c (get_introspection_xml),
      	(bus_message_handler), (get_on_d_bus), (main):
      	Connect to message bus, take org.gnome.GConf name,
      	and export GetIOR() method.  Quit, when session quits.
      	* Makefile.am:
      	* gconf/org.gnome.GConf.server.in: new service file to
      	support session bus activation
      	* gconf/gconf-sanity-check.c (offer_delete_locks):
      	Daemon doesn't have a lock anymore, so need to try to
      	blow it away.
      	* gconf/gcon-internals.c (read_current_server_and_set_warning),
      	(read_current_server), (gconf_get_current_lock_holder),
      	(gconf_daemon_blow_away_locks), (set_cloexec),
      	(close_fd_func): dropped functions dealing with files in /tmp
      	(get_ior), (gconf_get_server), (gconf_get_lock_or_current_holder),
      	(gconf_activate_server: call GetIOR method instead of of reading
      	 /tmp/gconf-$USER/ior
      
      svn path=/trunk/; revision=2589
      1196f4aa
  17. 07 May, 2008 2 commits
    • Kjartan Maraas's avatar
      Use new glib api to batch timeouts. Patch from Matthias Clasen. Closes bug · 24bae604
      Kjartan Maraas authored
      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
      24bae604
    • Kjartan Maraas's avatar
      Merge the desyslogification patch from Debian. Also used in Fedora now. · dfd642d2
      Kjartan Maraas authored
      2008-05-07  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* gconf/gconf-internals.c: (gconf_log):
      	* gconf/gconf-sources.c: (gconf_sources_new_from_addresses):
      	* gconf/gconfd.c: (main): Merge the desyslogification patch
      	from Debian. Also used in Fedora now. Closes bug #126468.
      
      svn path=/trunk/; revision=2584
      dfd642d2
  18. 19 Mar, 2008 1 commit
  19. 08 Jan, 2008 2 commits
    • Kjartan Maraas's avatar
      More string reviews from Christian Rose and Adam Weinberger. Closes bug · 1cbe171e
      Kjartan Maraas authored
      2008-01-08  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* gconf/gconf-database.c: (gconf_database_sync):
      	* gconf/gconf-internals.c:
      	* gconf/gconf-listeners.c:
      	* gconf/gconf-sources.c: (gconf_sources_new_from_addresses):
      	* gconf/gconf.c: (gconf_engine_unref), (gconf_shutdown_daemon):
      	* gconf/gconfd.c: (gconf_server_load_sources),
      	(gconfd_check_in_shutdown), (parse_listener_entry):
      	* gconf/gconftool.c: (main), (do_spawn_daemon), (do_sync):
      	More string reviews from Christian Rose and Adam Weinberger.
      	Closes bug #318600.
      
      svn path=/trunk/; revision=2503
      1cbe171e
    • Kjartan Maraas's avatar
      String review by Clytie Siddall. Closes bug #315212 · 14fa1b04
      Kjartan Maraas authored
      2008-01-08  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* gconf/gconf-backend.c: (gconf_backend_verify_vtable):
      	* gconf/gconf-database.c: (gconf_database_add_listener):
      	* gconf/gconfd.c: (logfile_save), (restore_client):
      	* gconf/gconftool.c: (hash_install_foreach):
      	String review by Clytie Siddall. Closes bug #315212
      
      	configure.in: Bump version to 2.21.1 because of the string changes
      	above.
      
      svn path=/trunk/; revision=2502
      14fa1b04
  20. 08 Nov, 2007 1 commit
    • Brian Cameron's avatar
      Remove calls to gconf_log from signal_handler function since it is not · 3df5b435
      Brian Cameron authored
      2007-11-08  Brian Cameron  <brian.cameron@sun.com>
      
              * gconf/gconfd.c: Remove calls to gconf_log from signal_handler
                function since it is not safe to print debug messages in
                non-reentrant signal handler functions.  This fixes problems we
                were seeing on Solaris where GConf would hang on exit.  Reviewed
                by Havoc Pennington and Ray Strode.  Refer to bug #466745.
      
      svn path=/trunk/; revision=2493
      3df5b435
  21. 02 Mar, 2007 1 commit
    • Ray Strode's avatar
      Patch from Paolo Borelli <pborelli@katamail.com> · 3163512b
      Ray Strode authored
      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
      3163512b
  22. 27 Jan, 2006 1 commit
  23. 01 Nov, 2005 1 commit
    • Kjartan Maraas's avatar
      Use G_MODULE_BIND_LAZY in g_module_open(). Remove unused and unreachable · 9abe6f6a
      Kjartan Maraas authored
      2005-11-01  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* gconf/gconf-backend.c: (gconf_get_backend): Use
      	G_MODULE_BIND_LAZY in g_module_open().
      	* gconf/gconf-internals.c: (gconf_value_from_corba_value),
      	(gconf_value_type_to_string), (gconf_unquote_string_inplace),
      	(type_byte), (byte_type), (gconf_value_encode),
      	(gconf_get_lock_or_current_holder): Remove unused and
      	unreachable code.
      	* gconf/gconf-listeners.c: (ltable_insert): Warning fix.
      	* gconf/gconf-value.c: (gconf_value_compare): Same here.
      	* gconf/gconf.c: (gconf_unescape_key),
      	(corba_errno_to_gconf_errno), (gconf_server_broken),
      	(gconf_handle_corba_exception): And here.
      	* gconf/gconfd.c: (main): Missing closelog() call.
      9abe6f6a
  24. 14 Jul, 2005 1 commit
    • Aivars Kalvans's avatar
      Reduce number g_string_append_c() calls (bug#309760) · 2b4c1887
      Aivars Kalvans authored
      2005-07-14  Aivars Kalvans <aivars.kalvans@inbox.lv>
      
      	Reduce number g_string_append_c() calls (bug#309760)
      
      	* configure.in: flockfile is not used anymore
      	* gconf/gconf.c (gconf_escape_key): join two
      	g_string_append_c() and g_string_append_printf() call
      	* gconf/gconfd.c (read_line): use fgets() instead of getc_unlocked()
      	to read a line
      2b4c1887
  25. 13 Jun, 2005 1 commit
  26. 09 Jun, 2005 1 commit
    • Tor Lillqvist's avatar
      Require GLib 2.6.0 so we can use the "gstdio wrappers". · 0aa1de43
      Tor Lillqvist authored
      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.
      0aa1de43
  27. 06 May, 2005 2 commits
  28. 23 Mar, 2005 1 commit
  29. 18 Mar, 2005 1 commit
    • Tor Lillqvist's avatar
      Port to Windows: · f61e560a
      Tor Lillqvist authored
      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.
      f61e560a
  30. 28 Sep, 2004 1 commit