1. 07 Jul, 2003 1 commit
    • Sven Neumann's avatar
      include <libgimpmath/gimpmathtypes.h>. · 6f83a525
      Sven Neumann authored
      2003-07-07  Sven Neumann  <sven@gimp.org>
      	* libgimpbase/gimpbasetypes.h: include <libgimpmath/gimpmathtypes.h>.
      	* libgimpmath/gimpmathtypes.h
      	* libgimpmath/gimpmatrix.[ch]: added GimpMatrix2 struct definition
      	and new function gimp_matrix2_identity().
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-params.[ch]
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfig-types.[ch]
      	* app/config/gimpconfig.c
      	* app/config/gimpscanner.[ch]: added a boxed type around GimpMatrix2.
      	* app/text/gimptext.[ch]: added new property "transformation".
  2. 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
      	* 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.
  3. 10 Mar, 2003 1 commit
    • Sven Neumann's avatar
      removed gimp_scanner_parse_string_list() since the format it read wasn't · 3ab2e648
      Sven Neumann authored
      2003-03-10  Sven Neumann  <sven@gimp.org>
      	* app/config/gimpscanner.[ch]: removed gimp_scanner_parse_string_list()
      	since the format it read wasn't proper s-expressions syntax.
      	* app/config/gimpconfigwriter.c: a couple of minor cleanups.
      	* app/gui/color-history.[ch]
      	* app/gui/session.c
      	* app/widgets/gimpdialogfactory.[ch]: use GimpConfigWriter to
      	write the sessionrc. Had to do some minor changes to the file
  4. 02 Jun, 2002 1 commit
    • Michael Natterer's avatar
      parse sessionrc using GScanner. · 110efe52
      Michael Natterer authored
      2002-06-02  Michael Natterer  <mitch@gimp.org>
      	* app/gui/session.c: parse sessionrc using GScanner.
      	* app/config/gimpscanner.[ch]: added utility function
      	gimp_scanner_parse_string_list(). Fixed the color parser's parse
      	error detection.
      	* app/gimprc.c: removed the sessionrc parsing stuff.
      	* app/config/gimpconfig-params.c (gimp_param_spec_color): no need
      	to set the param_spec's value_type, it already gets set by it's
      	base class' instance_init() function.
  5. 31 May, 2002 1 commit
    • Michael Natterer's avatar
      configure the scanner the same way GimpConfig did (scanner->user_data is, · c6948e6e
      Michael Natterer authored
      2002-05-31  Michael Natterer  <mitch@gimp.org>
      	* app/config/gimpscanner.[ch]: configure the scanner the same
      	way GimpConfig did (scanner->user_data is, if set, a GError).
      	Added gimp_scanner_parse_color(). Added "GError **error" to
      	* app/config/gimpconfig.c: use gimp_scanner_new().
      	* app/config/gimpconfig-deserialize.c: use gimp_scanner_parse_color().
      	* app/core/gimpunits.c
      	* app/plug-in/plug-in-rc.c: changed accordingly.
      	* app/plug-in/plug-in-rc.c: made the main parse loops consistent
      	with the other places using GScanner.
  6. 24 May, 2002 1 commit
    • Michael Natterer's avatar
      app/config/gimpconfig.[ch] added "gint indent_level" to all serialization · b10ade1a
      Michael Natterer authored
      2002-05-24  Michael Natterer  <mitch@gimp.org>
      	* app/config/gimpconfig.[ch]
      	* app/config/gimpconfig-serialize.[ch]: added "gint indent_level"
      	to all serialization functions. Added gimp_config_string_indent()
      	which indents a GString.
      	* app/config/gimprc.c
      	* app/core/gimpdocumentlist.c
      	* app/core/gimpparasitelist.c: changed accordingly.
      	* app/core/gimpcontext.c: don't crash when serializing NULL object
      	* app/config/gimpscanner.[ch]: added gimp_scanner_parse_identifier().
      	* app/core/gimpcontainer.c: implement GimpConfigInterface.
      	Container serialization works, deserialization is not implemented yet.
      	* app/widgets/gimpdevices.[ch]: made
      	GimpDeviceManager->device_info_list a GimpList, not GList, added
      	testing functions for (de)serializing it.
      	* app/gui/menus.c
      	* app/gui/test-commands.[ch]: call the new test functions from
      	the <Toolbox>/File/Debug menu.
  7. 27 Mar, 2002 1 commit
    • Michael Natterer's avatar
      app/config/Makefile.am new files containing a convenience constructor for · 75c63ee3
      Michael Natterer authored
      2002-03-28  Michael Natterer  <mitch@gimp.org>
      	* app/config/Makefile.am
      	* app/config/gimpscanner.[ch]: new files containing a convenience
      	constructor for GScanner and some parse utility functions, mostly
      	cut out of app/plug-in/plug-in-rc.c
      	* app/plug-in/plug-in-rc.c: removed the stuff here, added scopes
      	to the scanner symbols.
      	* app/core/Makefile.am
      	* app/core/gimpunits.[ch]: moved the user_unit list handling and
      	unitrc stuff to this file. Parse unitrc here, using the new
      	utility functions instead of using gimprc.
      	* app/core/gimpunit.[ch]: removed here.
      	* app/core/gimpdocuments.c: same here: added a scanner for the
      	document history instead of using gimprc.
      	* app/gimprc.c: removed unitrc and document history parsing stuff
      	along with some old unused cruft.
      	* app/app_procs.c
      	* app/core/gimp.c
      	* app/gui/user-install-dialog.c: #include "core/gimpunits.h".
      	* app/core/gimpdrawable-bucket-fill.c: don't include "gimprc.h".