1. 12 Oct, 2003 2 commits
    • Sven Neumann's avatar
      fixed dependencies for test-config. · 350f9882
      Sven Neumann authored
      2003-10-12  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am: fixed dependencies for test-config.
      
      	* app/config/gimpconfigwriter.[ch]: code cleanup and documentation.
      
      	* app/composite/gimp-composite-generic.[ch]: made prototype for
      	gimp_composite_color_any_any_any_generic() match the implementation.
      
      	* app/composite/gimp-composite.c: fixed some issues with the
      	comment templates.
      350f9882
    • Sven Neumann's avatar
      removed function gimp_config_serialize_comment()... · 4ea392ef
      Sven Neumann authored
      2003-10-12  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-serialize.[ch]: removed function
      	gimp_config_serialize_comment()...
      
      	* app/config/gimpconfig-utils.[ch]: removed function
      	gimp_config_string_indent()...
      
      	* app/config/gimpconfigwriter.[ch]: ... and implement both here.
      	Added a comment mode to GimpConfigWriter.
      
      	* app/config/gimpconfig-dump.c: handle GimpConfig properties.
      
      	* doc/gimprc-1.3.5.in
      	* etc/gimprc: regenerated by gimpconfig-dump.
      4ea392ef
  2. 02 Sep, 2003 1 commit
    • Michael Natterer's avatar
      app/config/gimpcoreconfig.[ch] removed "module-load-inhibit" property · 73b1ed03
      Michael Natterer authored
      2003-09-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimprc-blurbs.h: removed "module-load-inhibit"
      	property since the GimpModuleDB stores this value.
      
      	* app/config/gimpconfigwriter.[ch] (gimp_config_writer_new):
      	renamed parameter "gboolean safe" to "gboolean atomic".
      
      	* app/core/gimpmodules.c: ported modulerc parsing/writing to
      	GimpScanner and GimpConfigWriter (apparently it was forgotten
      	during gimprc cleanup). Makes keeping modules from being loaded
      	work again. Reported by Michael Schumacher on #gimp.
      73b1ed03
  3. 23 Jun, 2003 1 commit
    • Sven Neumann's avatar
      app/config/gimpconfig.[ch] app/config/gimpconfigwriter.[ch] added support · f30586d1
      Sven Neumann authored
      2003-06-23  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig.[ch]
      	* app/config/gimpconfigwriter.[ch]
      	* app/config/gimpscanner.[ch]: added support for serializing to
      	and deserializing from strings. Had to do some smaller changes to
      	the GimpConfig API.
      
      	* app/config/test-config.c: added a simple test for the new
      	functions.
      
      	* app/config/gimpconfig-dump.c
      	* app/config/gimprc.c
      	* app/core/gimp-documents.c
      	* app/core/gimp-parasites.c
      	* app/core/gimp-templates.c
      	* app/core/gimpunits.c
      	* app/gui/session.c
      	* app/plug-in/plug-in-rc.c
      	* app/tools/tool_options.c
      	* app/widgets/gimpdevices.c: follow GimpConfig API changes.
      
      	* libgimpbase/gimpparasite.[ch]: declared the return value of
      	gimp_parasite_data() as gconstpointer.
      f30586d1
  4. 10 Mar, 2003 1 commit
    • Sven Neumann's avatar
      fixed creation of config file, added new function · 6f3f9556
      Sven Neumann authored
      2003-03-10  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfigwriter.[ch]: fixed creation of config file,
      	added new function gimp_config_writer_string() and improved
      	gimp_config_writer_linefeed().
      
      	* app/config/gimpconfig-serialize.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdocumentlist.c: use gimp_config_writer_string()
      	instead of escaping the string manually.
      
      	* app/core/gimpunits.c (gimp_unitrc_save): use a GimpConfigWriter.
      
      	* app/plug-in/plug-in-rc.[ch] (plug_in_rc_write)
      	* app/plug-in/plug-ins.c: use a GimpConfigWriter.
      6f3f9556
  5. 05 Mar, 2003 1 commit
    • Sven Neumann's avatar
      app/config/Makefile.am new files featuring a simple config file writer. · d457b9eb
      Sven Neumann authored
      2003-03-05  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/gimpconfigwriter.[ch]: new files featuring a simple
      	config file writer.
      
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig.[ch]: changed the serialize routines to
      	use a GimpConfigWriter instead of passing around a file descriptor
      	and the indentation level.
      
      	* app/config/config-types.h
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-dump.c
      	* app/config/gimpconfig-utils.c
      	* app/config/gimprc.c
      	* app/config/gimpscanner.c
      	* app/config/test-config.c
      	* app/core/gimp-documents.c
      	* app/core/gimp-parasites.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdocumentlist.c
      	* app/core/gimpparasitelist.c
      	* app/gui/test-commands.c
      	* app/tools/tool_options.c
      	* app/widgets/gimpdevices.c: changed accordingly.
      
      	* libgimpwidgets/gimpwidgets.c: documentation updates.
      
      	* app/core/gimpitem.c: removed a redundant type-check.
      d457b9eb