1. 14 Dec, 2001 1 commit
    • Michael Natterer's avatar
      added GIMP_IMAGE_TYPE_IS_[RGB|GRAY|INDEXED]() and · 37269769
      Michael Natterer authored
      2001-12-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch]: added
      	GIMP_IMAGE_TYPE_IS_[RGB|GRAY|INDEXED]() and
      	GIMP_IMAGE_TYPE_BASE_TYPE() macros.
      
      	* app/plug-in/plug-in.[ch]: new enum PlugInImageType instead of
      	multiple #defines.
      
      	* app/gui/file-dialog-utils.[ch]: file_dialog_update_menus(): take
      	a GimpImageType instead of the PlugInImageType.
      
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-contiguous-region.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimplayermask.c
      	* app/core/gimppalette-import.c
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/file-save-dialog.c
      	* app/gui/toolbox.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickertool.c
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/image.pdb: use the new macros, cleanups like
      	storing GimpImageType in GimpImageType variables, not just gint.
      
      	* app/pdb/convert_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      
      	* app/widgets/gimpdialogfactory.c: save the state of the "Auto"
      	button in sessionrc.
      37269769
  2. 13 Dec, 2001 6 commits
  3. 12 Dec, 2001 3 commits
    • Michael Natterer's avatar
      made gimp->global_buffer a GimpBuffer, not TileManager. · 9b8bf8de
      Michael Natterer authored
      2001-12-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.[ch]: made gimp->global_buffer a GimpBuffer,
      	not TileManager.
      
      	* app/core/gimpbuffer.[ch]: added a "gboolean copy_pixels" to
      	gimp_buffer_new().
      
      	* app/core/gimpimage-new.c
      	* app/core/gimpedit.[ch]
      	* app/core/gimpimage-qmask.c
      	* app/widgets/gimpbufferpreview.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpcontainerview-utils.c: chaned accordingly, don't
      	include "base/tile-manager.h".
      
      	* app/core/gimpdrawable.[ch]: added gimp_drawable_copy().
      
      	* app/core/gimpchannel.[ch]
      	* app/core/gimplayer.[ch]
      	* app/core/gimplayermask.[ch]: use it in
      	gimp_[channel|layer|layer_mask]_copy(), added "GType new_type" as
      	paramater to all of them.
      
      	* app/core/gimpimage-duplicate.c
      	* app/gui/channels-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/layers-commands.c
      	* app/widgets/gimpchannellistview.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/selection_cmds.c: regenerated.
      
      	* app/core/gimplayer.[ch]: removed the "layer_type" parameter from
      	gimp_layer_new_from_tiles() because it always needed to be equal
      	to gimp_image_base_type_with_alpha() of the passed image.
      
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-mask.c: cahanged accordingly.
      
      	* app/core/gimpimage.[ch]: added some new GIMP_IMAGE_TYPE_FOO()
      	marcos to get rid of magic values like "pixels = 3" all over the
      	place.
      
      	* app/core/gimplayer.[ch]: added gimp_layer_new_from_drawable()
      	which creates a layer from an other image's drawable.
      
      	* app/core/gimpimage-convert.[ch]: made the RGB and GRAY converters
      	public to use them above, use the new GIMP_IMAGE_TYPE() macros.
      
      	* app/display/gimpdisplayshell-dnd.c
      	* app/gui/toolbox.c: removed tile manager stuff and use the new
      	functions.
      
      	* app/widgets/gimpdrawablelistview.[ch]: added a
      	"convert_drawable_func" which is used to handle drops from other
      	images.
      
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplistitem.[ch]: implemented DND of layers between
      	images using gimp_layer_new_from_drawable().
      
      	* app/gui/dialogs-constructors.c: changed accordingly.
      9b8bf8de
    • Michael Natterer's avatar
      Added ".thumbnails" to .cvsignore · 6b21e2a7
      Michael Natterer authored
      6b21e2a7
    • Michael Natterer's avatar
      app/core/Makefile.am new files. · 1bc1419e
      Michael Natterer authored
      2001-12-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-pick-color.[ch]: new files.
      
      	gimp_image_pick_color() doesn't set the FG or BG color and doesn't
      	touch the current palettte.
      
      	* app/tools/gimpcolorpickertool.[ch]: removed the actual picking
      	code, set the user_context's FG or BG color here.
      
      	* app/gui/palette-editor.[ch]:
      	s/palette_set_active_color/palette_editor_update_color/, don't set
      	the FG and BG color here. The function is still #if 0'ed.
      
      	* app/gui/toolbox.c: fixed WM resize hints in toolbox_style_set(),
      	code cleanup.
      
      	* app/tools/gimppainttool.[ch]: some cleanup before chopping.
      
      	* app/tools/gimpsmudgetool.c: changed accordingly.
      
      	* tools/pdbgen/pdb/misc_tools.pdb: removed the possibility to set
      	the FG or BG color or add the picked color to the active palette
      	bacause it doesn't belong here. Palette PDB wrappers are on the
      	TODO anyway.
      
      	* app/pdb/misc_tools_cmds.c
      	* libgimp/gimpmisctools_pdb.[ch]: regenerated.
      
      	* plug-ins/perl/examples/image_tile
      	* plug-ins/perl/examples/logulator
      	* plug-ins/script-fu/scripts/hsv-graph.scm
      	* plug-ins/script-fu/scripts/title-header.scm: changed accordingly.
      1bc1419e
  4. 11 Dec, 2001 5 commits
    • Michael Natterer's avatar
      new version with additional layers by Ville Ptsi (drc). · 30804a2d
      Michael Natterer authored
      2001-12-12  Michael Natterer  <mitch@gimp.org>
      
      	* docs/Wilber_Construction_Kit.xcf.gz: new version with additional
      	layers by Ville Ptsi (drc).
      30804a2d
    • Sven Neumann's avatar
      app/config/gimpconfig-deserialize.c app/config/gimpconfig-serialize.c · 0709bfe8
      Sven Neumann authored
      2001-12-12  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfig-substitute.c: plugged a memleak and applied
      	some optimizations.
      0709bfe8
    • Sven Neumann's avatar
      app/core/core-enums.h moved gradient enums to core-enums.h and · c44fe725
      Sven Neumann authored
      2001-12-11  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.h
      	* app/core/core-types.h: moved gradient enums to core-enums.h and
      	namespaceified them.
      
      	* app/core/gimpdrawable-blend.[ch]
      	* app/core/gimpgradient.c
      	* app/gui/gradient-editor-commands.c
      	* app/pdb/misc_tools_cmds.c
      	* app/tools/gimpblendtool.c
      	* tools/pdbgen/pdb/misc_tools.pdb: changed accordingly.
      
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      c44fe725
    • Sven Neumann's avatar
      app/base/base-enums.h moved all remaining enums to base-enums.h · 03a6c044
      Sven Neumann authored
      2001-12-11  Sven Neumann  <sven@gimp.org>
      
      	* app/base/base-enums.h
      	* app/base/base-types.h: moved all remaining enums to base-enums.h
      
      	* app/core/core-enums.h
      	* app/core/core-types.h: moved GimpImageType to core-enums.h and
      	changed the values from RGB_GIMAGE to GIMP_RGB_IMAGE and the like.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-contiguous-region.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimppalette-import.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/file-save-dialog.c
      	* app/gui/toolbox.c
      	* app/plug-in/plug-in.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpdodgeburntool.c: changed accordingly.
      
      	* tools/pdbgen/Makefile.am: no need to parse app/base/base-types.h
      	any longer.
      
      	* app/pdb/color_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/paint_tools_cmds.c
      	* tools/pdbgen/enums.pl: regenerated.
      03a6c044
    • Sven Neumann's avatar
      removed GimpImageBaseType enum ... · a611f063
      Sven Neumann authored
      2001-12-11  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-types.h: removed GimpImageBaseType enum ...
      
      	* app/core/core-enums.h: and added it here with proper namespace
      	(enum values prefixed with GIMP_).
      
      	* app/gimprc.c
      	* app/core/gimpcoreconfig.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/core/gimppalette-import.c
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell.c
      	* app/file/file-utils.c
      	* app/gui/colormap-dialog.c
      	* app/gui/convert-dialog.c
      	* app/gui/info-window.c
      	* app/gui/layers-commands.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/gui/toolbox.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimppainttool.c
      	* app/widgets/gimpchannellistview.c
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/image.pdb: changed accordingly.
      
      	* tools/pdbgen/enums.pl
      	* app/pdb/convert_cmds.c
      	* app/pdb/image_cmds.c
      	* libgimp/gimpconvert_pdb.c
      	* libgimp/gimpimage_pdb.c: regenerated.
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-params.h
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpcoreconfig.[ch]: added more stuff to GimpCoreConfig.
      a611f063
  5. 10 Dec, 2001 8 commits
    • Sven Neumann's avatar
      libgimpbase/Makefile.am added new function gimp_plug_in_directory() to · 3bd3300d
      Sven Neumann authored
      2001-12-10  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpenv.[ch]: added new function gimp_plug_in_directory()
      	to retrieve the compile_time defined plug_in directory. Declared some
      	functions G_GNUC_CONST and simplified code by introducing a helper
      	function.
      
      	* app/config/Makefile.am
      	* app/config/gimpcoreconfig.[ch]: started to implement GimpCoreConfig
      	derived from GimpBaseConfig.
      
      	* app/config/gimpbaseconfig.[ch]: misc small changes.
      
      	* app/config/gimpconfig-deserialize.c
      	(gimp_config_deserialize_properties): return quietly if there are no
      	properties.
      
      	* app/config/gimpconfig-substitute.c: more special cases.
      
      	* app/config/test-config.c: test GimpCoreConfig.
      3bd3300d
    • Sven Neumann's avatar
      renamed some variables · 49e4062e
      Sven Neumann authored
      49e4062e
    • Sven Neumann's avatar
      app/config/Makefile.am new files with code to do substitution magic on · ad6d670b
      Sven Neumann authored
      2001-12-10  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-substitute.[ch]: new files with code to do
      	substitution magic on path strings. Similar to the code in gimprc.c
      	but UTF8 safe.
      
      	* app/config/gimpconfig-params.h
      	* app/config/gimpbaseconfig.c: added a bunch of convenience macros
      	to register config properties and use them for GimpBaseConfig.
      
      	* app/config/gimpconfig-types.h: added missing GIMP_VALUE_HOLDS_FOO()
      	macros.
      
      	* app/config/gimpconfig-deserialize.c: UTF8-validate all strings.
      
      	* app/config/gimpconfig-serialize.c: some code reorganisation.
      ad6d670b
    • Michael Natterer's avatar
      removed deprecated use of "user_data" together with libgimpwidgets · 14902336
      Michael Natterer authored
      2001-12-10  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/screenshot.c: removed deprecated use of
      	"user_data" together with libgimpwidgets standard
      	callbacks. Reported by Carambide on #gimp.
      14902336
    • People doing a 16 bpc version of gimp's avatar
    • Michael Natterer's avatar
      removed, chopped... · 29ae6957
      Michael Natterer authored
      2001-12-10  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/tools.pdb: removed, chopped...
      
      	* tools/pdbgen/pdb/misc_tools.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb: ...and added here.
      
      	* app/pdb/tools_cmds.c
      	* libgimp/gimptools_pdb.[ch]: removed.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/misc_tools_cmds.c
      	* app/pdb/paint_tools_cmds.c
      	* libgimp/gimpmisctools_pdb.[ch]
      	* libgimp/gimppainttools_pdb.[ch]: generated files.
      
      	* app/pdb/Makefile.am
      	* libgimp/Makefile.am
      	* libgimp/gimp_pdb.h
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl: changed accordingly.
      
      	* tools/pdbgen/pdb/selection_tools.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: cosmetic comment changes.
      29ae6957
    • Sven Neumann's avatar
      app/base/Makefile.am use GLIB_GENMARSHAL and GLIB_MKENUMS variables · 3a84f99d
      Sven Neumann authored
      2001-12-10  Sven Neumann  <sven@gimp.org>
      
      	* app/base/Makefile.am
      	* app/core/Makefile.am: use GLIB_GENMARSHAL and GLIB_MKENUMS variables
      	declared by AM_PATH_GLIB_2_0 instead of calling the binaries directly.
      3a84f99d
    • Sven Neumann's avatar
      app/config/gimpconfig-deserialize.c stricter parsing. · 69ec8e3b
      Sven Neumann authored
      2001-12-10  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig.c: stricter parsing.
      
      	* app/config/test-config.c: more output.
      69ec8e3b
  6. 09 Dec, 2001 4 commits
    • Sven Neumann's avatar
      ooops, forgot to add this one · b6461c99
      Sven Neumann authored
      b6461c99
    • Sven Neumann's avatar
      check for pkg.m4. · 2cb8ffbe
      Sven Neumann authored
      2001-12-09  Sven Neumann  <sven@gimp.org>
      
      	* autogen.sh: check for pkg.m4.
      
      	* configure.in: removed logic to extract GLIB CFLAGS and LDFLAGS
      	from the GTK CFLAGS and LDFLAGS. Use AM_PATH_GLIB_2_0() instead.
      	This change will break things on awfully misconfigured systems.
      	Simplified the checks and moved version numbers to the top to ease
      	maintainance. Check if gtk-doc is suffiently new.
      
      	* app/main.c: removed the GimpConfig test code.
      
      	* app/config/Makefile.am
      	* app/config/test-config.c: added a (yet very small) standalone test
      	suite for GimpConfig.
      
      	* app/config/gimpconfig.[ch]
      	* app/config/gimpconfig-deserialize.[ch]: allow to specify if
      	unknown tokens should be stored or should cause a parser error.
      	Changed code to store unknown tokens to use a list since a hash
      	table seems to be overkill here.
      2cb8ffbe
    • Sven Neumann's avatar
      app/config/gimpconfig-params.[ch] added new param_spec GIMP_PARAM_PATH · 85783edf
      Sven Neumann authored
      2001-12-09  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-params.[ch]
      	* app/config/gimpconfig-types.[ch]: added new param_spec
      	GIMP_PARAM_PATH with value_type GIMP_PATH_TYPE.
      
      	* app/config/gimpconfig.[ch]: added code to store and lookup unknown
      	tokens.
      
      	* app/config/gimpconfig-deserialize.c: improved logic, prepared for
      	special handling of GIMP_PATH_TYPE; still work in progress...
      
      	* app/config/gimpbaseconfig.c: register temp-path and swap-path as
      	GIMP_PARAM_PATH properties.
      85783edf
    • Sven Neumann's avatar
      introduced new trigraph keyword /*< pdb-skip >*/ used to skip enums for · 002ac38a
      Sven Neumann authored
      2001-12-08  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/enumgen.pl: introduced new trigraph keyword
      	/*< pdb-skip >*/ used to skip enums for inclusion in libgimp when
      	parsing headers. The keyword /*< skip >*/ is still used to skip
      	enum values. This change is necessary since glib-mkenums also uses
      	/*< skip >*/.
      
      	* app/base/base-types.h * app/base/base-enums.h: moved
      	GimpCheckType and GimpCheckSize to base-enums.h so they get
      	registered with the type system, marked them as /*< pdb-skip >*/.
      
      	* app/core/core-types.h * app/display/display-types.h *
      	app/paint-funcs/paint-funcs-types.h * app/tools/gimppainttool.h *
      	app/tools/tools-types.h: changed /*< skip >*/ to /*< pdb-skip >*/.
      002ac38a
  7. 08 Dec, 2001 6 commits
    • Sven Neumann's avatar
      app/core/Makefile.am new file that holds enums that are registered with · a65e1a39
      Sven Neumann authored
      2001-12-08  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-enums.h: new file that holds enums that are registered
      	with the type system and is used to generate core-enums.c.
      
      	* app/core/core-types.h: include core-enums.h
      
      	* app/base/base-types.h: namespace cleanup. Prefix all enumeration
      	types with Gimp and their values with GIMP. Moved GimpLayerModeEffects
      	enum ...
      
      	* app/base/base-enums.h: ... here.
      
      	* app/image_map.c
      	* app/base/temp-buf.c
      	* app/core/gimpcontext.[ch]
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.[ch]
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/brush-select.c
      	* app/gui/layers-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/toolbox.c
      	* app/paint-funcs/paint-funcs.[ch]
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimppainttool.[ch]
      	* app/tools/gimptexttool.c
      	* app/tools/paint_options.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimpwidgets-constructors.[ch]
      	* app/xcf/xcf-load.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/tools.pdb: changed accordingly.
      
      	* libgimpbase/gimpbasetypes.h: no need to chop GIMP prefix off the
      	enums any longer.
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/color_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/procedural_db_cmds.c
      	* app/pdb/tools_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/gimprc.c: removed code to parse for "plug_in" keyword which was
      	left over from some very early gimp days.
      
      	* app/plug-in/plug-in.[ch]: removed now unused function plug_in_add().
      a65e1a39
    • Sven Neumann's avatar
      fixed build rules for gimpmarshal.[ch]. · 00011779
      Sven Neumann authored
      2001-12-08  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am: fixed build rules for gimpmarshal.[ch].
      00011779
    • Sven Neumann's avatar
      improved code readability by splitting deserialize_property into smaller · a2c16284
      Sven Neumann authored
      2001-12-08  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-deserialize.c: improved code readability by
      	splitting deserialize_property into smaller functions.
      
      	* app/config/gimpconfig.[ch]: added gimp_config_debug_notify_callback()
      	for debugging purposes.
      
      	* app/main.c: use gimp_config_debug_notify_callback().
      a2c16284
    • Sven Neumann's avatar
      app/config/Makefile.am app/config/gimpconfig-params.[ch] new files · 78841f1f
      Sven Neumann authored
      2001-12-08  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-params.[ch]
      	* app/config/gimpconfig-types.[ch]: new files implementing special
      	GParamSpecs and GValueTypes needed for GimpConfig.
      
      	* app/config/gimpbaseconfig.c: register tile-cache-size property
      	with GimpParamSpecMemsize.
      
      	* app/config/gimpconfig-deserialize.[ch]
      	* app/config/gimpconfig-serialize.[ch]: enable serialization and
      	deserialization of non-fundamental types.
      78841f1f
    • People doing a 16 bpc version of gimp's avatar
    • People doing a 16 bpc version of gimp's avatar
  8. 07 Dec, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am removed, chopped... · bcd208d9
      Michael Natterer authored
      2001-12-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/devices.[ch]: removed, chopped...
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/gui/Makefile.am
      
      	* app/widgets/gimpdeviceinfo.[ch]
      	* app/widgets/gimpdevices.[ch]
      	* app/gui/device-status-dialog.[ch]
      	* app/gui/input-dialog.[ch]: ...and added here.
      
      	Made GimpToolInfo a GimpContext subclass. Create a GimpDeviceManager
      	struct in gimpdevices.c and attach it to the Gimp instance.
      
      	* app/core/gimp.[ch]: removed gimp_create_context(). It was a bad
      	idea in the first place beause it prevented GimpContext subclasses
      	from being be properly registered with their Gimp instance.
      
      	* app/core/gimpcontext.c: moved the stuff which used to be in
      	gimp_create_context() back here. Added a "gimp" property which
      	must be set on construction. Added a "dispose" implementation
      	which removes the context from it's Gimp's context_list.
      
      	* app/gimprc.c
      	* app/core/gimptoolinfo.[ch]
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/gui/brush-select.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradient-select.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/gui/toolbox.c
      	* app/tools/gimppainttool.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimpimagedock.c: changed accordingly.
      
      	* app/gui/tools-commands.[ch]: made all callback signatures
      	the same.
      
      	* app/gui/preferences-dialog.c: cleaned up the
      	display_format_string GtkCombo code.
      bcd208d9
    • Sven Neumann's avatar
      removed from CVS, they are generated. · d4829df4
      Sven Neumann authored
      2001-12-07  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpmarshal.[ch]: removed from CVS, they are generated.
      
      	* app/base/Makefile.am
      	* app/base/base-enums.h: new file defining enums that are to be
      	registered. Used to build app/base/base-enums.c.
      
      	* app/base/base-types.h: include base-enums.h.
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/enumcode.pl
      	* tools/pdbgen/enums.pl: parse the new base-enums.h file and modified
      	the perl voodoo so it doesn't prefix enums with GIMP_ that are already
      	properly namespaced.
      
      	* app/core/core-types.h: don't need to chop GIMP from enum.
      
      	* app/pdb/color_cmds.c
      	* app/pdb/tools_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c: regenerated.
      
      	* app/config/gimpconfig-deserialize.[ch]
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig.[ch]: made GimpConfig an interface including
      	a reasonable default implementation that works on object properties.
      
      	* app/config/Makefile.am
      	* app/config/gimpbaseconfig.[ch]: new GimpBaseConfig using the
      	GimpConfig interface. Yet only used for testing from app/main.c.
      
      	* app/main.c: test the new GimpBaseConfig object.
      
      	* app/gimprc.c
      	* app/base/base-config.h
      	* app/base/*.c
      	* app/core/gimpdatafiles.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimppreviewcache.c
      	* app/gui/preferences-dialog.c
      	* app/paint-funcs/paint-funcs.c
      	* app/xcf/xcf-seek.c: need to include glib-object.h since base-config
      	contains registered enums now. Follow name change of InterpolationType
      	to GimpInterpolationType.
      d4829df4
  9. 06 Dec, 2001 5 commits