1. 12 Apr, 2006 1 commit
  2. 23 Mar, 2005 1 commit
  3. 25 Jan, 2005 2 commits
    • Michael Natterer's avatar
      new file holding the opaque typedefs for libgimpconfig. Includes · 3592a58d
      Michael Natterer authored
      2005-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpconfig/gimpconfigtypes.h: new file holding the opaque
      	typedefs for libgimpconfig. Includes "libgimpbase/gimpbasetypes.h"
      
      	* libgimpconfig/Makefile.am: added the new file. Removed stuff
      	that is not needed.
      
      	* libgimpconfig/gimpconfigwriter.h
      	* libgimpconfig/gimpconfig-iface.h: removed typedefs here.
      
      	* libgimpconfig/gimpconfig-deserialize.c
      	* libgimpconfig/gimpconfig-iface.c
      	* libgimpconfig/gimpconfig-serialize.c
      	* libgimpconfig/gimpconfig-utils.c
      	* libgimpconfig/gimpconfig.h
      	* libgimpconfig/gimpconfigwriter.c: include it before including
      	any other libgimpconfig stuff.
      
      	* app/config/config-types.h: #include "libgimpbase/gimpbasetypes.h"
      
      	* app/config/gimpconfig-utils.h: changed include guards to
      	__APP_GIMP_CONFIG_UTILS_H__.
      
      	* app/dialogs/tips-parser.c: include <glib-object.h> instead of
      	just <glib.h>.
      
      	* app/tools/gimphistogramoptions.c
      	* app/tools/gimptextoptions.c: include "config/gimpconfig-utils.h"
      
      	* app/widgets/gimpdialogfactory.h
      	* app/widgets/gimpsessioninfo.h: removed inclusion of
      	"libgimpbase/gimpbasetypes.h".
      3592a58d
    • William Skaggs's avatar
      continuing commit after broken pipe · 1cee9b72
      William Skaggs authored
      1cee9b72
  4. 18 May, 2004 1 commit
    • Michael Natterer's avatar
      Allow plug-ins to register menu icons. Fixes bug #120500. · 3fb934b2
      Michael Natterer authored
      2004-05-18  Michael Natterer  <mitch@gimp.org>
      
      	Allow plug-ins to register menu icons. Fixes bug #120500.
      
      	* app/core/core-enums.[ch]: added enum GimpIconType which can
      	be one of { STOCK_ID, IMAGE_FILE, INLINE_PIXBUF }.
      
      	* app/config/gimpconfigwriter.[ch] (gimp_config_writer_data)
      	* app/config/gimpscanner.[ch] (gimp_scanner_parse_data): new
      	functions which write/parse raw binary data. Needed for storing
      	inline pixbufs in pluginrc.
      
      	* app/config/gimpconfigwriter.[ch] (gimp_config_writer_identifier):
      	new function which writes out an unquoted and unescaped string.
      
      	* app/plug-in/plug-in-proc.[ch] (struct PlugInProcDef): added
      	new members "icon_type", "icon_data_length" and "icon_data".
      	Reordered members so file_proc specific stuff is at the end.
      
      	(plug_in_proc_def_get_stock_id)
      	(plug_in_proc_def_get_pixbuf): new functions to access the
      	procedure's icon.
      
      	* app/plug-in/plug-in-rc.c: save/restore the registered icons.
      
      	* app/actions/file-dialog-actions.c
      	* app/actions/plug-in-actions.c: set the action's stock ID from
      	the procedure's stock ID.
      
      	* app/widgets/gimppluginaction.c
      	(gimp_plug_in_action_connect_proxy): if the procedure provides a
      	pixbuf, set it as icon for the menu item.
      
      	* app/menus/file-dialog-menu.[ch]
      	* app/menus/file-open-menu.c
      	* app/menus/file-save-menu.c
      	* app/xcf/xcf.c: changed accordingly.
      
      	* tools/pdbgen/pdb/plug_in.pdb (plugin_icon_register): new PDB
      	function which can be called during query().
      
      	* tools/pdbgen/enums.pl
      	* app/pdb/internal_procs.c
      	* app/pdb/plug_in_cmds.c
      	* libgimp/gimpenums.h
      	* libgimp/gimpplugin_pdb.c
      	* libgimp/gimpplugin_pdb.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c: regenerated.
      
      	* plug-ins/common/plugindetails.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/print/print.c: register stock_id icons.
      
      	* plug-ins/common/screenshot.c: register an inline_pixbuf icon for
      	testing purposes (used emblem-camera.png from gnome-icon-theme).
      
      	* app/actions/dialogs-actions.c
      	* app/actions/file-actions.c: unrelated: added some more icons
      	to menu items.
      3fb934b2
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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