Commit graph

7284 commits

Author SHA1 Message Date
David Odin f5af3d3a66 Rename GimpFixmePreview into GimpOldPreview. This is just a prelimirary
stuff, before moving it into its own, no_inst library.
2003-12-10 22:50:26 +00:00
David Odin 213e90c84d Reverted Maurits' patch, to get rid of gimp_parameter_settings_new (see #125141) 2003-12-10 21:13:29 +00:00
David Odin b2e3715d76 reverted Maurits' patch, to get rid of gimp_parameter_settings_new (see #125141) 2003-12-10 16:14:17 +00:00
David Odin 830517ae2b reverted Maurits' patch, to get rid of gimp_parameter_settings_new (see #125141) 2003-12-10 14:58:00 +00:00
Michael Natterer 6a2c2fea39 renamed variable and added comments to make the calculation clear.
2003-12-09  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-scale.c (gimp_image_scale_check): renamed
	variable and added comments to make the calculation clear.
2003-12-09 21:12:05 +00:00
Michael Natterer 4c7172cedb Removed unused #includes. Copy the colormap using the provided API. Use
2003-12-09  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-duplicate.c: Removed unused #includes. Copy
	the colormap using the provided API. Use gimp_item_convert()
	instead of gimp_item_duplicate() and gimp_item_set_image() to
	create layers, channels and vectors for the new image. Don't leak
	the new image's grid. Cleanup.
2003-12-09 20:20:45 +00:00
Michael Natterer 1cc434fa6e Fixed memory management of layers and channels which were created using
2003-12-09  Michael Natterer  <mitch@gimp.org>

	Fixed memory management of layers and channels which were created
	using the PDB:

	* app/core/gimpitem.[ch]: added "gboolean floating" flag to
	GimpItem. Items are created with floating == TRUE. Added
	gimp_item_sink() which resets the floating flag and unrefs the
	item if it was TRUE.  Added gimp_item_is_floating() accessor.

	* app/core/gimpimage.c (gimp_image_add_layer,channel,vectors):
	g_object_ref()/gimp_item_sink() added items to take ownership of
	them.

	* app/core/gimplayer.c (gimp_layer_add_mask):
	g_object_ref()/gimp_item_sink() the mask.

	* app/gui/layers-commands.c
	* app/xcf/xcf-load.c: don't unref layer masks after adding them to
	the layer.

	* tools/pdbgen/pdb/drawable.pdb (drawable_delete):
	gimp_item_sink() the drawable if it's floating and fail if it's
	not. Fixes bug #128881.

	* tools/pdbgen/pdb/layer.pdb (layer_create_mask): fixed docs.

	* app/pdb/drawable_cmds.c
	* app/pdb/layer_cmds.c
	* libgimp/gimplayer_pdb.c: regenerated.
2003-12-09 18:59:35 +00:00
Michael Natterer 2d56352b48 removed enum value GIMP_UNDO_GROUP_EDIT_COPY (I have no idea why we used
2003-12-09  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch]: removed enum value
	GIMP_UNDO_GROUP_EDIT_COPY (I have no idea why we used to push an
	undo group around "Copy"...).

	* app/core/gimp-edit.c (gimp_edit_extract): new utility function
	which does everything needed for cut and copy and does not push an
	undo group for copy.

	(gimp_edit_cut,copy): removed lots of duplicated code and call
	gimp_edit_extract().

	(gimp_edit_paste,paste_as_new): no need to call
	gimp_item_set_image() on newly created layers.
2003-12-09 16:20:31 +00:00
Michael Natterer 62f48d3e35 changed absolutely unclear comment.
2003-12-09  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer-floating-sel.c (floating_sel_attach): changed
	absolutely unclear comment.
2003-12-09 15:37:46 +00:00
Michael Natterer 1103cd684d use gimp_item_convert() instead of gimp_item_duplicate() to create the
2003-12-09  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptoolbox-dnd.c (gimp_toolbox_drop_drawable): use
	gimp_item_convert() instead of gimp_item_duplicate() to create
	the layer for the new image. Cleanup.
2003-12-09 15:09:57 +00:00
Michael Natterer 68fd1809bd return a more exact result.
2003-12-09  Michael Natterer  <mitch@gimp.org>

	* app/base/tile-manager.c (tile_manager_get_memsize): return a
	more exact result.

	* app/core/gimpimage-scale.[ch] (gimp_image_scale_check): estimate
	the new memsize by separating parts of the image that are constant
	from parts that will scale. Also take undo logic into account.
	Return the estimated new memsize since it's not trivial to
	calculate.

	* app/gui/image-commands.c (image_scale_callback): use the memsize
	returned by gimp_image_scale_check() for the warning message. Free
	allocated strings.
2003-12-09 12:56:22 +00:00
Michael Natterer fc2f99c893 changed GimpImageScaleCheckType enum values to GIMP_IMAGE_SCALE_*.
2003-12-09  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.h: changed GimpImageScaleCheckType enum
	values to GIMP_IMAGE_SCALE_*.

	* app/core/gimpimage-scale.c (gimp_image_scale_check): return
	GIMP_IMAGE_SCALE_TOO_BIG only if we are scaling up.

	* app/gui/image-commands.c: changed accordingly. Whitespace and
	indentation cleanup.
2003-12-09 11:49:47 +00:00
Sven Neumann 9eacb05fda added missing parameter to gimp-gradients-get-gradient-data call.
2003-12-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/spyrogimp.scm: added missing parameter
	to gimp-gradients-get-gradient-data call.
2003-12-09 11:12:46 +00:00
Michael Natterer 9147636ccc iterate gimp->images directly rather than building a (leaked) temp GList
2003-12-09  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/image.pdb (image_list): iterate gimp->images
	directly rather than building a (leaked) temp GList using
	gimp_container_foreach(). Removed gimlist_cb() utility function.

	* app/pdb/image_cmds.c: regenerated.
2003-12-09 11:00:37 +00:00
Michael Natterer e009182a1e export enum GimpRotationType to libgimp.
2003-12-09  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.h: export enum GimpRotationType to libgimp.

	* tools/pdbgen/pdb/image.pdb: added gimp_image_rotate() PDB wrapper.

	* app/pdb/image_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpenums.h
	* libgimp/gimpimage_pdb.[ch]
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.

2003-12-09  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpenums.sgml
	* libgimp/tmpl/gimpimage.sgml: added gimp_image_rotate().
2003-12-09 09:03:52 +00:00
Manish Singh cc5701a42a Makefile.am added --disable-devel-docs, to skip the devel-docs dir
2003-12-08  Manish Singh  <yosh@gimp.org>

        * Makefile.am
        * configure.in: added --disable-devel-docs, to skip the devel-docs
        dir entirely. Also, changed --enable-gimpdir to --with-gimpdir
        since that semantic makes more sense.
2003-12-09 00:05:12 +00:00
Michael Natterer c6de971122 marked gimp_image_add_layer_mask() and gimp_image_remove_layer_mask() as
2003-12-08  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/image.pdb: marked gimp_image_add_layer_mask()
	and gimp_image_remove_layer_mask() as deprecated. Didnn't remove
	them from the PDB because the new functions' signature differs and
	they are used very often in scripts, but removed them from the
	libgimp C wrappers.

	* tools/pdbgen/pdb/layer.pdb: added gimp_layer_add_mask() and
	gimp_layer_remove_mask().

	* libgimp/gimpcompat.h: added compat cruft.

	* app/pdb/image_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/layer_cmds.c
	* libgimp/gimpimage_pdb.[ch]
	* libgimp/gimplayer_pdb.[ch]: regenerated.

	* libgimp/gimpexport.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/psd.c
	* plug-ins/pygimp/pygimp-image.c
	* plug-ins/script-fu/scripts/3d-outline.scm
	* plug-ins/script-fu/scripts/alien-neon-logo.scm
	* plug-ins/script-fu/scripts/blended-logo.scm
	* plug-ins/script-fu/scripts/burn-in-anim.scm
	* plug-ins/script-fu/scripts/carve-it.scm
	* plug-ins/script-fu/scripts/carved-logo.scm
	* plug-ins/script-fu/scripts/chrome-it.scm
	* plug-ins/script-fu/scripts/chrome-logo.scm
	* plug-ins/script-fu/scripts/coolmetal-logo.scm
	* plug-ins/script-fu/scripts/crystal-logo.scm
	* plug-ins/script-fu/scripts/fade-outline.scm
	* plug-ins/script-fu/scripts/frosty-logo.scm
	* plug-ins/script-fu/scripts/image-structure.scm
	* plug-ins/script-fu/scripts/news-text.scm
	* plug-ins/script-fu/scripts/rendermap.scm
	* plug-ins/script-fu/scripts/slide.scm
	* plug-ins/script-fu/scripts/sota-chrome-logo.scm
	* plug-ins/script-fu/scripts/speed-text.scm
	* plug-ins/script-fu/scripts/starburst-logo.scm
	* plug-ins/script-fu/scripts/textured-logo.scm
	* plug-ins/script-fu/scripts/weave.scm
	* plug-ins/script-fu/scripts/xach-effect.scm
	* plug-ins/xjt/xjt.c: changed accordingly.

2003-12-08  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpimage.sgml
	* libgimp/tmpl/gimplayer.sgml: follow layer mask API change.
2003-12-08 22:33:17 +00:00
Dave Neary ca493e0d6c Added the GimpImageScaleCheckType enum and used it in
2003-12-08  Dave Neary  <bolsh@gimp.org>

        * app/core/core-enums.h:
        * app/core/gimpimage-scale.[ch]: Added the GimpImageScaleCheckType
        enum and used it in gimp_image_scale_check() which used to be
        gimp_image_check_scaling().

        * app/gui/image_commands.c: Used the above when checking
        scaling parameters to display a message if the image is too big
        or too small after scaling. Closes bug #21028.
2003-12-08 21:56:22 +00:00
Michael Natterer a046969687 renamed PDB function gimp_image_active_drawable() to
2003-12-08  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/image.pdb: renamed PDB function
	gimp_image_active_drawable() to gimp_image_get_active_drawable()
	so it's consistent with all other drawable getters.

	* app/pdb/procedural_db.c
	* libgimp/gimpcompat.h: added compat stuff.

	* app/pdb/image_cmds.c
	* libgimp/gimpimage_pdb.[ch]: regenerated.

	* plug-ins/pygimp/pygimp-image.c
	* plug-ins/script-fu/scripts/add-bevel.scm
	* plug-ins/script-fu/scripts/carved-logo.scm
	* plug-ins/script-fu/scripts/chrome-it.scm
	* plug-ins/script-fu/scripts/crystal-logo.scm
	* plug-ins/script-fu/scripts/round-corners.scm
	* plug-ins/script-fu/scripts/slide.scm
	* plug-ins/script-fu/scripts/sota-chrome-logo.scm: changed accordingly.

2003-12-08  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpimage.sgml: updated.
2003-12-08 18:30:54 +00:00
Michael Natterer ed6fe48b09 Some PDB fixes/cosmetics before doing real changes again:
2003-12-08  Michael Natterer  <mitch@gimp.org>

	Some PDB fixes/cosmetics before doing real changes again:

	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/layer.pdb: changed order of generated functions
	to make more sense.

	* tools/pdbgen/pdb/misc_tools.pdb: doc cosmetics, removed unused
	subroutines.

	* tools/pdbgen/pdb/image.pdb: reordered generated functions as
	above, fixed resolution and unit accessors to use functions
	instead of setting gimage->foo directly, use &image_accessors()
	for the tattoo_state functions, cleanup.

	* app/pdb/drawable_cmds.c
	* app/pdb/image_cmds.c
	* app/pdb/layer_cmds.c
	* app/pdb/misc_tools_cmds.c
	* libgimp/gimpdrawable_pdb.[ch]
	* libgimp/gimpimage_pdb.[ch]
	* libgimp/gimplayer_pdb.[ch]
	* libgimp/gimpmisctools_pdb.c: regenerated.
2003-12-08 17:26:55 +00:00
Sven Neumann 53be6dae66 don't scale the pixbuf, always return the pixbuf as loaded from disk.
2003-12-08  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumbnail.c (gimp_thumbnail_load_thumb): don't
	scale the pixbuf, always return the pixbuf as loaded from disk.

	* app/core/gimpimagefile.c (gimp_imagefile_get_description):
	return NULL when being asked for a description on a thumbnail
	without an image_uri.
2003-12-08 14:15:25 +00:00
Michael Natterer b2ff28978a code review / cleanup.
2003-12-08  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdatafactory.c: code review / cleanup.

	* app/plug-in/plug-in.c
	* app/plug-in/plug-in-message.c: unified messages about plug-in
	errors. Changed lots of g_warning()s to g_message()s because
	g_warning() is for programming errors and the user should be
	informed that the plug-in was killed and did not simply crash.
2003-12-08 13:29:14 +00:00
Sven Neumann de68ab22bb renamed a function, added another one.
2003-12-08  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumb-utils.[ch]: renamed a function, added
	another one.

	* libgimpthumb/gimpthumb.def
	* libgimpthumb/gimpthumbnail.c: changed accordingly.

2003-12-08  Sven Neumann  <sven@gimp.org>

	* Makefile.am: removed unnecessary stuff.

	* libgimpthumb/libgimpthumb-sections.txt
	* libgimpthumb/tmpl/gimpthumb-utils.sgml: updated.
2003-12-08 13:09:33 +00:00
Michael Natterer ad5e1cd055 tools/pdbgen/pdb/channel.pdb tools/pdbgen/pdb/display.pdb
2003-12-08  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/channel.pdb
	* tools/pdbgen/pdb/display.pdb
	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/image.pdb: don't use "alias"es just to rename
	variables, they just clutter the code and there is no reason why
	e.g. a GimpDisplay variable must be called "gdisp" instead of
	"display". Cleanup.

	* app/pdb/channel_cmds.c
	* app/pdb/display_cmds.c
	* app/pdb/drawable_cmds.c
	* app/pdb/image_cmds.c: regenerated.
2003-12-08 12:28:29 +00:00
Michael Natterer 95c13dad93 tools/pdbgen/pdb/brushes.pdb tools/pdbgen/pdb/fonts.pdb
2003-12-08  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/fonts.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/palettes.pdb
	* tools/pdbgen/pdb/patterns.pdb: removed comments that
	gimp_data_factory_data_init() should return a boolean indicating
	success, since it is highly unclear when to return FALSE. This
	function just always succeeds. Changed docs accordingly. Cleanup.

	* tools/pdbgen/pdb/brush_select.pdb
	* tools/pdbgen/pdb/font_select.pdb
	* tools/pdbgen/pdb/gradient_select.pdb
	* tools/pdbgen/pdb/palette_select.pdb
	* tools/pdbgen/pdb/pattern_select.pdb: minor cleanups.

	* app/pdb/brush_select_cmds.c
	* app/pdb/brushes_cmds.c
	* app/pdb/font_select_cmds.c
	* app/pdb/fonts_cmds.c
	* app/pdb/gradient_select_cmds.c
	* app/pdb/gradients_cmds.c
	* app/pdb/palette_select_cmds.c
	* app/pdb/palettes_cmds.c
	* app/pdb/pattern_select_cmds.c
	* app/pdb/patterns_cmds.c
	* libgimp/gimpbrushes_pdb.c
	* libgimp/gimpfonts_pdb.c
	* libgimp/gimpgradients_pdb.c
	* libgimp/gimppalettes_pdb.c
	* libgimp/gimppatterns_pdb.c: regenerated.
2003-12-08 11:58:45 +00:00
Sven Neumann 9467ee7b59 bumped version number to 1.3.24. (AC_CONFIG_FILES): added files in
2003-12-08  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version number to 1.3.24.
        (AC_CONFIG_FILES): added files in devel-docs/libgimpthumb.

	* gimp.spec.in: added files from libgimpthumb.

2003-12-08  Sven Neumann  <sven@gimp.org>

	* Makefile.am
	* libgimpthumb/Makefile.am
	* libgimpthumb/libgimpthumb-docs.sgml
	* libgimpthumb/libgimpthumb-sections.txt
	* libgimpthumb/libgimpthumb.types
	* libgimpthumb/version.in
	* libgimpthumb/tmpl/gimpthumb-enums.sgml
	* libgimpthumb/tmpl/gimpthumb-error.sgml
	* libgimpthumb/tmpl/gimpthumb-utils.sgml
	* libgimpthumb/tmpl/gimpthumbnail.sgml: added framework for
	libgimpthumb documentation.
2003-12-08 10:28:40 +00:00
Sven Neumann e5f0ed85e2 an XOR line was being drawn twice; spotted by Marco Munari.
2003-12-08  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcroptool.c (gimp_crop_tool_draw): an XOR line was
	being drawn twice; spotted by Marco Munari.
2003-12-08 09:52:58 +00:00
Sven Neumann d8903a2477 added libgimpthumb.
2003-12-08  Sven Neumann  <sven@gimp.org>

	* Makefile.am (SUBDIRS): added libgimpthumb.

	* libgimpthumb/gimpthumb-utils.c
	* libgimpthumb/gimpthumbnail.c: basic functionality is implemented
	and seems to be working.

	* app/Makefile.am: link the application against libgimpthumb.

	* app/core/core-types.h: include libgimpthumb/gimpthumb-types.h.

	* app/core/gimpimagefile.[ch]: removed thumbnail handling routines
	and use libgimpthumb instead. Fixes bug #127914.

	* app/gui/file-open-dialog.c
	* app/widgets/gimpdocumentview.c: changed accordingly.
2003-12-08 09:12:25 +00:00
Dave Neary 29d30f94ea Updated.
2003-12-07  Dave Neary  <bolsh@gimp.org>

        * NEWS: Updated.
2003-12-07 21:59:18 +00:00
Michael Natterer 5e8770b796 fixed "success" return value.
2003-12-06  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/image.pdb (image_delete): fixed "success"
	return value.

	* app/pdb/image_cmds.c: regenerated.
2003-12-06 19:53:07 +00:00
Michael Natterer 2d01d50c4f cleanup.
2003-12-06  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphelp.c (gimp_idle_help): cleanup.
2003-12-06 16:07:49 +00:00
Michael Natterer 26a68a58d9 added "GimpTattoo tattoo_state" to the XcfInfo struct.
2003-12-06  Michael Natterer  <mitch@gimp.org>

	* app/xcf/xcf-private.h: added "GimpTattoo tattoo_state" to the
	XcfInfo struct.

	* app/xcf/xcf.c (xcf_load_invoker): initialize it to 0.

	* app/xcf/xcf-load.c (xcf_load_image_props): remember PROP_TATTOO
	in info->tattoo_state instead of setting it directly in the
	GimpImage struct.

	(xcf_load_image): set the remembered tattoo_state after all items
	are created.

	(Fixes the regression that "open -> don't modify -> save" didn't
	result in 100% identical XCF files).
2003-12-06 15:53:26 +00:00
Manish Singh 0560161fa5 always compare using unsigned chars for 7bit ASCII check.
2003-12-05  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/gif.c: always compare using unsigned chars for 7bit
        ASCII check.
2003-12-05 23:40:09 +00:00
Michael Natterer 2e05f5107c fixed my last ChangeLog entry. 2003-12-05 17:27:07 +00:00
Michael Natterer ca45a5c65a added enum GimpPDBCompatMode which can be one of { OFF, ON, WARN }.
2003-12-05  Michael Natterer  <mitch@gimp.org>

	* app/pdb/pdb-types.h: added enum GimpPDBCompatMode which can
	be one of { OFF, ON, WARN }.

	* app/main.c: added --pdb-compat-mode command line option. Renamed
	--enable-stack-trace to --stack-trace-mode. Made default values of
	stack_trace_mode and pdb_compat_mode depend on GIMP_MINOR_VERSION
	(default to compat ON and stack_trace NEVER).

	* app/app_procs.[ch]: pass pdb_compat_mode to gimp_new().

	* app/core/gimp.[ch]: added pdb_compat_mode to the Gimp struct
	and to gimp_new().

	* app/pdb/procedural_db.c: leave the compat table empty for
	GIMP_PDB_COMPAT_OFF.

	* app/plug-in/plug-in-message.c: warn when a deprecated procedure
	is called for GIMP_PDB_COMPAT_WARN.

	* docs/gimp-1.3.1.in: changed accordingly.
2003-12-05 17:08:35 +00:00
Michael Natterer 3ad199d5b3 Name all PDB procedures which deal with floating selections consistently:
2003-12-05  Michael Natterer  <mitch@gimp.org>

	Name all PDB procedures which deal with floating selections
	consistently:

	* tools/pdbgen/pdb/image.pdb: renamed
	gimp_image_floating_selection() to gimp_image_get_floating_sel().

	* libgimp/gimplayer.h: removed gimp_layer_is_floating_selection #define.

	* libgimp/gimpcompat.h
	* app/pdb/procedural_db.c: added compat stuff.

	* app/pdb/image_cmds.c
	* libgimp/gimpimage_pdb.[ch]: regenerated.

	* plug-ins/common/curve_bend.c
	* plug-ins/common/film.c
	* plug-ins/common/rotate.c
	* plug-ins/pygimp/pygimp-image.c
	* plug-ins/xjt/xjt.c: changed accordingly.

2003-12-05  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpimage.sgml
	* libgimp/tmpl/gimplayer.sgml: follow floating_sel cleanup.
2003-12-05 16:30:01 +00:00
Sven Neumann 380a92ac45 updated.
2003-12-05  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.def: updated.
2003-12-05 16:18:26 +00:00
Michael Natterer 7efa81d1da libgimp/gimp.h libgimp/gimpbrushmenu.h libgimp/gimpbrushselect.[ch]
2003-12-05  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimp.h
	* libgimp/gimpbrushmenu.h
	* libgimp/gimpbrushselect.[ch]
	* libgimp/gimpfontmenu.[ch]
	* libgimp/gimpfontselect.[ch]
	* libgimp/gimpgradientmenu.h
	* libgimp/gimpgradientselect.[ch]
	* libgimp/gimpmenu.h
	* libgimp/gimpmisc.[ch]
	* libgimp/gimpmiscui.[ch]
	* libgimp/gimppatternmenu.h
	* libgimp/gimppatternselect.[ch]
	* libgimp/gimppixelrgn.[ch]
	* libgimp/gimpproceduraldb.c
	* libgimp/gimpselection.c
	* libgimp/gimptile.h
	* libgimp/gimptypes.h
	* libgimp/gimpui.h
	* libgimp/gimpuitypes.h
	* libgimp/libgimp-intl.h
	* libgimp/stdplugins-intl.h
	* libgimpbase/gimpbase.h
	* libgimpbase/gimpdatafiles.c
	* libgimpbase/gimpenv.c
	* libgimpbase/gimpparasite.[ch]
	* libgimpbase/gimpparasiteio.[ch]
	* libgimpbase/gimpsignal.[ch]
	* libgimpbase/gimputils.c
	* libgimpcolor/gimpadaptivesupersample.[ch]
	* libgimpcolor/gimpbilinear.[ch]
	* libgimpmath/gimpmath.h
	* libgimpmath/gimpmathtypes.h
	* libgimpwidgets/gimpbutton.[ch]
	* libgimpwidgets/gimpchainbutton.h
	* libgimpwidgets/gimpcolorarea.[ch]
	* libgimpwidgets/gimpcolornotebook.h
	* libgimpwidgets/gimpcolorscale.[ch]
	* libgimpwidgets/gimpcolorscales.h
	* libgimpwidgets/gimpcolorselect.h
	* libgimpwidgets/gimpoffsetarea.h
	* libgimpwidgets/gimppixmap.[ch]: removed trailing whitespace.
2003-12-05 15:55:15 +00:00
Michael Natterer 2de8decd7e renamed gimp_drawable_bytes() to gimp_drawable_bpp() because all other
2003-12-05  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/drawable.pdb: renamed gimp_drawable_bytes() to
	gimp_drawable_bpp() because all other libgimp API speak in terms
	of "bpp" too.

	* libgimp/gimpdrawable.h: removed gimp_drawable_bpp #define.

	* app/pdb/procedural_db.c
	* libgimp/gimpcompat.h: added compat stuff.

	* app/pdb/drawable_cmds.c
	* libgimp/gimpdrawable_pdb.[ch]: regenerated.

	* plug-ins/common/pix.c
	* plug-ins/common/psd_save.c: changed accordingly.

2003-12-05  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpdrawable.sgml: s/drawable_bytes/drawable_bpp/.
2003-12-05 14:51:11 +00:00
Michael Natterer bc1a085d3b removed gimp_image_undo_*() functions...
2003-12-05  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/image.pdb: removed gimp_image_undo_*() functions...

	* tools/pdbgen/pdb/undo.pdb: ...and added them here. Renamed
	gimp_undo_push_group_start,end() to
	gimp_image_undo_group_start,end().

	* app/pdb/procedural_db.c
	* libgimp/gimpcompat.h: added compat stuff for the old undo group API.

	* app/pdb/image_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/undo_cmds.c
	* libgimp/gimpimage_pdb.[ch]
	* libgimp/gimpundo_pdb.[ch]: regenerated.

	* plug-ins/common/align_layers.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/jpeg.c
	* plug-ins/common/rotate.c
	* plug-ins/common/tile.c
	* plug-ins/common/zealouscrop.c
	* plug-ins/gfig/gfig.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/script-fu/scripts/*.scm: changed accordingly.

2003-12-05  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpimage.sgml
	* libgimp/tmpl/gimpundo.sgml: follow undo API changes.
2003-12-05 14:18:47 +00:00
Michael Natterer 062c2fd4ea Made 3rd party scripts work again after all that PDB function renaming:
2003-12-05  Michael Natterer  <mitch@gimp.org>

	Made 3rd party scripts work again after all that PDB function
	renaming:

	* app/core/gimp.[ch]: added "GHashTable *procedural_compat_ht" to
	the Gimp struct which maps old procedure names to new ones.
	Call new function procedural_db_init_procs() instead of
	internal_procs_init().

	* app/pdb/procedural_db.[ch]: create and destroy the new compat
	hash table. Added new function procedural_db_init_procs() which
	registers the internal procedures and fills the compat hash table.

	(procedural_db_execute): minor fixes.

	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): if
	the requested procedure was not found, try the compat table.

	* tools/pdbgen/pdb/procedural_db.pdb: made all PDB query
	procedures compat aware. For compat procedures, return help
	strings which declare the procedure as deprecated and tell
	the new name of the procedure. Cleanup.

	* app/pdb/procedural_db_cmds.c: regenerated.
2003-12-05 13:02:18 +00:00
Adam D. Moss 8be7d23195 GIMP 1.3/2.0 needs its layer/channel names to be UTF8 or it fails wackily,
* plug-ins/common/psd.c: GIMP 1.3/2.0 needs its layer/channel
	names to be UTF8 or it fails wackily, so convert the strings from
	the PSD file to UTF8 instead of using them raw.
2003-12-04 23:44:38 +00:00
Sven Neumann f918e33e89 added mnemonics.
2003-12-05  Sven Neumann  <sven@gimp.org>

	* app/gui/resize-dialog.c: added mnemonics.
2003-12-04 23:32:13 +00:00
Manish Singh 24ef6784bb made linked an attribute of GimpDrawable.
2003-12-04  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-drawable.c: made linked an attribute of
        GimpDrawable.
2003-12-04 19:12:41 +00:00
Michael Natterer 6af5072c6b renamed gimp_convert_*() functions to gimp_image_convert_*().
2003-12-04  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/convert.pdb: renamed gimp_convert_*() functions
	to gimp_image_convert_*().

	* libgimp/gimpimage.[ch]: removed gimp_image_convert_* #defines.

	* libgimp/gimpcompat.h: added old stuff.

	* app/pdb/convert_cmds.c
	* libgimp/gimpconvert_pdb.[ch]: regenerated.

	* plug-ins/common/gifload.c
	* plug-ins/common/gih.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/winclipboard.c
	* plug-ins/script-fu/scripts/burn-in-anim.scm
	* plug-ins/script-fu/scripts/chrome-it.scm
	* plug-ins/script-fu/scripts/crystal-logo.scm
	* plug-ins/script-fu/scripts/fuzzyborder.scm
	* plug-ins/script-fu/scripts/gimp-headers.scm
	* plug-ins/script-fu/scripts/gimp-labels.scm
	* plug-ins/script-fu/scripts/sota-chrome-logo.scm
	* plug-ins/script-fu/scripts/spinning-globe.scm: changed accordingly.

2003-12-04  Michael Natterer  <mitch@gimp>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpconvert.sgml
	* libgimp/tmpl/gimpimage.sgml: follow gimp_image_convert_*() change.
2003-12-04 14:52:24 +00:00
Michael Natterer a90e63ca9b renamed gimp_layer_mask() to gimp_layer_get_mask().
2003-12-04  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/layer.pdb: renamed gimp_layer_mask() to
	gimp_layer_get_mask().

	* libgimp/gimplayer.h: removed gimp_layer_get_mask_id #define.

	* libgimp/gimpcompat.h: added old stuff.

	* app/pdb/layer_cmds.c
	* libgimp/gimplayer_pdb.[ch]: regenerated.

	* libgimp/gimpexport.c
	* plug-ins/common/curve_bend.c
	* plug-ins/pygimp/pygimp-drawable.c
	* plug-ins/script-fu/scripts/image-structure.scm
	* plug-ins/xjt/xjt.c: changed accordingly.

2003-12-04  Michael Natterer  <mitch@gimp>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimplayer.sgml: fllow gimp_layer_get_mask() change.
2003-12-04 14:05:17 +00:00
Sven Neumann 6c9a134b32 updated.
2003-12-04  Sven Neumann  <sven@gimp.org>

        * libgimp/gimp.def: updated.
2003-12-04 13:39:20 +00:00
Michael Natterer 78def81895 renamed gimp_drawable_image() to gimp_drawable_get_image() for symmetry
2003-12-04  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/drawable.pdb: renamed gimp_drawable_image() to
	gimp_drawable_get_image() for symmetry with
	gimp_drawable_set_image().

	* libgimp/gimpchannel.h: removed gimp_channel_get_image_id #define.
	* libgimp/gimpdrawable.h: removed gimp_drawable_image_id #define.
	* libgimp/gimplayer.h:: removed gimp_layer_get_image_id #define.

	* libgimp/gimpcompat.h: added the old stuff here.

	* app/pdb/drawable_cmds.c
	* libgimp/gimpdrawable_pdb.[ch]: regenerated.

	* libgimp/gimpmiscui.c
	* plug-ins/Lighting/lighting_main.c
	* plug-ins/MapObject/mapobject_main.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/film.c
	* plug-ins/common/newsprint.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/ps.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/smooth_palette.c
	* plug-ins/common/warp.c
	* plug-ins/imagemap/imap_cmd_gimp_guides.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_preview.c
	* plug-ins/maze/maze.c
	* plug-ins/pygimp/pygimp-drawable.c
	* plug-ins/rcm/rcm_misc.c
	* plug-ins/script-fu/scripts/addborder.scm
	* plug-ins/script-fu/scripts/carve-it.scm
	* plug-ins/script-fu/scripts/weave.scm: changed accordingly.

	* plug-ins/maze/maze.c: completely reindented.

	* plug-ins/script-fu/siod/trace.c: removed trailing whitespace.

2003-12-04  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpchannel.sgml
	* libgimp/tmpl/gimpdrawable.sgml
	* libgimp/tmpl/gimplayer.sgml: updated after
	gimp_drawable_get_image() cleanup.
2003-12-04 13:21:27 +00:00
Michael Natterer 797665dee0 optimized to reallocate the projection TileManager only if it does not
2003-12-04  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-projection.c (gimp_image_projection_allocate):
	optimized to reallocate the projection TileManager only if it does
	not match the required width, height and depth.

	* app/core/gimpimage.c (gimp_image_size_changed): call
	gimp_image_projection_allocate().

	* app/core/gimpimage-crop.c
	* app/core/gimpimage-resize.c
	* app/core/gimpimage-rotate.c
	* app/core/gimpimage-scale.c
	* app/core/gimpimage-undo-push.c: removed calls to
	gimp_image_projection_allocate(), since "size_changed" does it
	automatically now.
2003-12-04 12:18:41 +00:00
Michael Natterer 533c533fb0 plug-ins/helpbrowser/dialog.c plug-ins/helpbrowser/domain.[ch] cleanup &
2003-12-04  Michael Natterer  <mitch@gimp.org>

	* plug-ins/helpbrowser/dialog.c
	* plug-ins/helpbrowser/domain.[ch]
	* plug-ins/helpbrowser/uri.[ch]: cleanup & whitespace removal.
2003-12-04 11:56:52 +00:00
Michael Natterer 896b00074a removed unused "gint proj_level" from the GimpImage struct.
2003-12-04  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage.h: removed unused "gint proj_level" from the
	GimpImage struct.
2003-12-04 11:36:58 +00:00
Michael Natterer a62e834b95 made it compile again.
2003-12-04  Michael Natterer  <mitch@gimp.org>

	* plug-ins/pygimp/pygimp-drawable.c (lay_set_linked): made it
	compile again.
2003-12-04 11:13:39 +00:00
Michael Natterer 8589ff4de8 removed "linked" API... ...and added it here.
2003-12-04  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/layer.pdb: removed "linked" API...
	* tools/pdbgen/pdb/drawable.pdb: ...and added it here.

	* app/pdb/drawable_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/layer_cmds.c
	* libgimp/gimpdrawable_pdb.[ch]
	* libgimp/gimplayer_pdb.[ch]: regenerated.

	* libgimp/gimpcompat.h: added gimp_layer_*_linked compat #defines.

	* plug-ins/xjt/xjt.c: changed accordingly.

2003-12-04  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpdrawable.sgml
	* libgimp/tmpl/gimplayer.sgml: "linked" moved from layer to drawable.
2003-12-04 11:10:20 +00:00
Manish Singh 0518761f23 plug-ins/pygimp/gimpmodule.c plug-ins/pygimp/pygimp-drawable.c
2003-12-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp-drawable.c
        * plug-ins/pygimp/pygimp-image.c
        * plug-ins/pygimp/pygimp-pdb.c
        * plug-ins/pygimp/pygimp-tile.c: some cosmetic changes to error
        messages.

        * plug-ins/pygimp/pygimp-drawable.c: accessors for name, tattoo, and
        visible live in the drawable class now, so layer and channel objects
        inherit it.
2003-12-03 21:52:09 +00:00
Sven Neumann e8008b834f updated.
2003-12-03  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.def: updated.
2003-12-03 18:40:22 +00:00
Michael Natterer 04ddf1edc6 follow change below.
2003-12-03  Michael Natterer  <mitch@gimp.org>

	* plug-ins/pygimp/gimpmodule.c (pygimp_delete): follow change below.
2003-12-03 17:53:21 +00:00
Michael Natterer f2e227e211 tools/pdbgen/pdb/channel.pdb removed gimp_layer_delete() and
2003-12-03  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/channel.pdb
	* tools/pdbgen/pdb/layer.pdb: removed gimp_layer_delete() and
	gimp_channel_delete() PDB wrappers...

	* tools/pdbgen/pdb/drawable.pdb: ...added gimp_drawable_delete().

	* libgimp/gimpdrawable.[ch]: removed gimp_drawable_delete()
	(having this function work on the GimpDrawable wrapper and not on
	the drawable_id was more than questionable anyway).

	* libgimp/gimpcompat.h: added gimp_layer_delete and
	gimp_channel_delete cruft #defines.

	* app/pdb/channel_cmds.c
	* app/pdb/drawable_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/layer_cmds.c
	* libgimp/gimpchannel_pdb.[ch]
	* libgimp/gimpdrawable_pdb.[ch]
	* libgimp/gimplayer_pdb.[ch]: regenerated.

	* plug-ins/script-fu/scripts/add-bevel.scm
	* plug-ins/xjt/xjt.c: changed accordingly.

	* plug-ins/imagemap/imap_main.c: just removed the call to
	gimp_channel_delete(), it was wrong anyway.

2003-12-03  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpchannel.sgml
	* libgimp/tmpl/gimpdrawable.sgml
	* libgimp/tmpl/gimplayer.sgml: updated again.
2003-12-03 17:47:15 +00:00
Manish Singh ce07d9eaa4 plug-ins/pygimp/pygimp-drawable.c quick fix to make it build with the
2003-12-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-drawable.c
        * plug-ins/pygimp/pygimp-tile.c: quick fix to make it build with the
        below. Real fix later.
2003-12-03 17:41:36 +00:00
Michael Natterer a1f064c2ea tools/pdbgen/pdb/channel.pdb removed duplicated APIs for "name", "visible"
2003-12-03  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/channel.pdb
	* tools/pdbgen/pdb/layer.pdb: removed duplicated APIs for "name",
	"visible" and "tattoo"...

	* tools/pdbgen/pdb/drawable.pdb: ...and added them as drawable APIs.

	* libgimp/gimpdrawable.[ch]: removed faked layer/channel
	polymorphisms, the functions are real drawable functions now.

	* libgimp/gimpcompat.h: added the old cruft here.

	* app/pdb/channel_cmds.c
	* app/pdb/drawable_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/layer_cmds.c
	* libgimp/gimpchannel_pdb.[ch]
	* libgimp/gimpdrawable_pdb.[ch]
	* libgimp/gimplayer_pdb.[ch]: regenerated.

	* libgimp/gimpexport.c
	* libgimp/gimpmenu.c
	* plug-ins/common/align_layers.c
	* plug-ins/common/animationplay.c
	* plug-ins/common/animoptimize.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gif.c
	* plug-ins/common/gih.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/mng.c
	* plug-ins/common/psd.c
	* plug-ins/common/psd_save.c
	* plug-ins/common/psp.c
	* plug-ins/xjt/xjt.c
	* plug-ins/gfig/gfig.c
	* plug-ins/script-fu/scripts/*.scm: changed accordingly.

2003-12-03  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt: updated.
2003-12-03 16:39:32 +00:00
Jakub Steiner 2899728857 data/patterns/Stripes1px.pat rename to Stripes & Stripes Fine
2003-12-03  Jakub Steiner <jimmac@ximian.com>

* data/patterns/Stripes1px.pat
* data/patterns/Stripes2px.pat: rename to Stripes & Stripes Fine
2003-12-03 16:05:26 +00:00
Sven Neumann 5ce1d693fe use G_MAXINT instead of a custom define.
2003-12-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/nlfilt.c: use G_MAXINT instead of a custom define.
2003-12-03 13:05:19 +00:00
Sven Neumann b003c9cca9 resolved mnemonics conflict, removed warnings and cleaned up the code a
2003-12-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animoptimize.c: resolved mnemonics conflict,
	removed warnings and cleaned up the code a bit.
2003-12-03 12:54:43 +00:00
Michael Natterer 8b145fe14a changed float (de)serialization to use locale independent g_ascii_*
2003-12-03  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/channel_mixer.c: changed float (de)serialization
	to use locale independent g_ascii_* functions (fixes bug #113901).
	Cleaned up the GUI a lot (scale entries and stuff). Some more
	general cleanup.
2003-12-03 12:34:42 +00:00
Sven Neumann 250df23075 use gimp_memsize_to_string() to display the memory and file size of the
2003-12-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/ccanalyze.c: use gimp_memsize_to_string() to
	display the memory and file size of the image. Minor cleanups.
2003-12-03 12:03:35 +00:00
Sven Neumann bad0800933 plug-ins/common/CML_explorer.c use g_file_test() instead of stat().
2003-12-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/CML_explorer.c
	* plug-ins/common/channel_mixer.c: use g_file_test() instead of stat().
2003-12-03 11:29:40 +00:00
Manish Singh dfcde1e27c fix call to gimp_dialog_run.
2003-12-02  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/channel_mixer.c: fix call to gimp_dialog_run.

        * plug-ins/common/newsprint.c: remove GINT_POINTER definition hack,
        we always have it now.
2003-12-03 03:00:54 +00:00
Manish Singh bba54627d5 oops, forgot changelog entry 2003-12-03 02:37:50 +00:00
Manish Singh 870c19523b plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl Added channel
2003-12-02  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/Makefile.am
        * plug-ins/common/plugin-defs.pl
        * plug-ins/common/channel_mixer.c: Added channel mixer plugin.
        Needs some work still, notably the settings load/save handling.
        Addresses bug #113901.
2003-12-03 02:36:04 +00:00
Sven Neumann 51b7911428 applied a modified version of a patch submitted by Andrey Kiselev.
2003-12-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff.c: applied a modified version of a patch
	submitted by Andrey Kiselev. Implements loading of TIFF files with
	multiple pages (bug #66886).
2003-12-02 22:32:42 +00:00
Jakub Steiner b1ad78ad68 data/patterns/Makefile.am data/patterns/Stripes1px.pat simple RGBA stripes
2003-12-02  Jakub Steiner <jimmac@ximian.com>

* data/patterns/Makefile.am
* data/patterns/Stripes1px.pat
* data/patterns/Stripes2px.pat: simple RGBA stripes patterns.
  Very useful for the obligatory 'interlace' effect. can be done
  with the grid plugin currently, but dragging a pattern is by
  far the fastest.
2003-12-02 19:56:20 +00:00
Sven Neumann 4e2d3f61f9 libgimpthumb/Makefile.am added new files that define the GIMP_THUMB_ERROR
2003-12-02  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/Makefile.am
	* libgimpthumb/gimpthumb-error.[ch]: added new files that define the
	GIMP_THUMB_ERROR domain.

	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumb.h
	* libgimpthumb/gimpthumbnail.[ch]: finalizing the API.
2003-12-02 02:06:20 +00:00
Sven Neumann 56cbe6f625 some code cleanup I've done while looking at bug #128146.
2003-12-01  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-blend.c: some code cleanup I've done while
	looking at bug #128146.
2003-12-01 14:32:42 +00:00
Michael Natterer 8842730435 added a default implementation of GimpImage::mode_changed() which
2003-12-01  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage.c: added a default implementation of
	GimpImage::mode_changed() which reallocates the projection.

	* app/core/gimpimage-convert.c (gimp_image_convert)
	* app/core/gimpimage-undo-push.c (undo_pop_image_type): removed
	explicit calls to gimp_image_projection_allocate().
2003-12-01 13:34:43 +00:00
Michael Natterer f74d5de747 no need to reallocate the image's projection (the image size doesn't
2003-12-01  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-flip.c (gimp_image_flip): no need to
	reallocate the image's projection (the image size doesn't change
	when flipping).
2003-12-01 13:09:53 +00:00
Sven Neumann 54720c1735 quick fix for bug #128285. This widget should be redone.
2003-12-01  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcolormapeditor.c (gimp_colormap_adjustment_changed):
	quick fix for bug #128285. This widget should be redone.
2003-12-01 12:58:03 +00:00
Sven Neumann 2bc1d80072 renamed remaining occurences of "use_mmx" to "use_cpu_accel".
2003-11-30  Sven Neumann  <sven@gimp.org>

	* app/main.c: renamed remaining occurences of "use_mmx" to
	"use_cpu_accel".

	* app/paint-funcs/paint-funcs.[ch]: removed unused "use_mmx"
	parameter.

	* app/base/base.c: changed accordingly.

	* docs/gimp-1.3.1.in: documented the changed command-line option.
2003-11-30 17:53:39 +00:00
Helvetix Victorinox 8fa7cb034c Backed out inadvertant changes to configure.in 2003-11-30 17:35:23 +00:00
Helvetix Victorinox 11903e3078 Changed the existing command line option, --no-mmx to --no-cpu-accel and
* app/composite/gimp-composite.c:
* app/composite/gimp-composite.h:
* app/main.c:
* app/base/base.c:

Changed the existing command line option, --no-mmx to
--no-cpu-accel and propogated the changes necessary to use that
flag to turn OFF the use of CPU extensions using only the generic
implementations in app/composite/gimp-composite-generic.c

Nota Bene: All of the previous gimp 1.2 code is still available
and is is enabled by setting the GIMP_COMPOSITE environment
variable to zero (GIMP_COMPOSITE=0x0).  This causes only the 1.2
code to be used and is helpful for regression testing of the newer
gimp-composite code.  Whether using the new code, or the old code
there should be absolutely no visible differences.

The newly renamed option --no-cpu-accel retains its previous
semantic meaning with the old 1.2 code--turning OFF MMX
optimisations.
2003-11-30 17:29:37 +00:00
Sven Neumann 6bffe5ad51 removed the hack that used to call gimp_exit() when the batch command
2003-11-30  Sven Neumann  <sven@gimp.org>

	* app/batch.c: removed the hack that used to call gimp_exit() when
	the batch command matches "(gimp-quit 0)". It shouldn't be needed.

	* tools/pdbgen/pdb/misc.pdb
	* app/core/gimp.[ch]
	* app/gui/gui.c: renamed "kill_it" parameter to "force". We don't
	kill the application any longer; this option is just about whether
	to ask the user for confirmation or not.

	* app/pdb/misc_cmds.c: regenerated.

	* app/app_procs.c: cosmetics.
2003-11-30 16:05:56 +00:00
Sven Neumann 0c99483df4 renamed batch_init() to batch_run(). Install an Gimp::exit handler while
2003-11-30  Sven Neumann  <sven@gimp.org>

	* app/batch.[ch]: renamed batch_init() to batch_run(). Install an
	Gimp::exit handler while batch commands are executed. This handler
	simply calls exit(). Fixes bug #128199.

	* app/app_procs.c: changed accordingly. Removed remaining global
	variables.
2003-11-30 14:44:13 +00:00
Michael Natterer 4bb0464f4d reordered GimpDodgeBurn to the end of the paint info list so the paint
2003-11-30  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimp-paint.c (gimp_paint_init): reordered
	GimpDodgeBurn to the end of the paint info list so the paint tool
	menu in the stroke dialog has same order as the paint tools in the
	toolbox.
2003-11-30 12:59:17 +00:00
Sven Neumann e4ff018ef4 set the default window type hint for dockables to Normal.
2003-11-29  Sven Neumann  <sven@gimp.org>

	* app/config/gimpguiconfig.c: set the default window type hint for
	dockables to Normal.

	* plug-ins/sel2path/sel2path_adv_dialog.c: set the number of
	digits to the same value for all spinbuttons.
2003-11-29 22:38:50 +00:00
Sven Neumann acb5808381 plug-ins/common/AlienMap.c fix it properly. There's really no need to pass
2003-11-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/AlienMap.c
	* plug-ins/common/AlienMap2.c: fix it properly. There's really no
	need to pass the same pointer twice.
2003-11-29 12:59:07 +00:00
Maurits Rijk 161a75002e Fixes #124476 (Remove non-existent URL's and e-mail addresses) 2003-11-29 12:13:49 +00:00
Manish Singh 590204d122 plug-ins/pygimp/plug-ins/Makefile.am Added py-slice, a python version of
2003-11-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/Makefile.am
        * plug-ins/pygimp/plug-ins/py-slice.py: Added py-slice, a python
        version of perlotine.
2003-11-29 02:05:02 +00:00
Sven Neumann fa9ff130de applied a patch from Adam D. Moss that does some minor message cleanups
2003-11-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gifload.c: applied a patch from Adam D. Moss
	that does some minor message cleanups (bug #128061).
2003-11-28 14:14:44 +00:00
Dave Neary 78f98c50cd Return error code to controlling environment if one of the commands we run
2003-11-27  Dave Neary  <bolsh@gimp.org>

        * autogen.sh: Return error code to controlling environment if one of
        the commands we run fails. Makes autogen.sh && make work.
2003-11-27 16:14:07 +00:00
Michael Natterer 78483cfb20 don't add the page number to the filename of the image corresponsing to
2003-11-27  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/ps.c (create_new_image): don't add the page
	number to the filename of the image corresponsing to the
	postscript file's first page. Enables thumbnail generation
	for PS files.

	Indented function prototypes.

	* app/file/file-open.c (file_open_with_proc_and_display): create a
	thumbnail of the opened image only if the image's uri matches the
	passed uri.
2003-11-27 12:28:46 +00:00
Michael Natterer 6f69558b7e more s/toupper/g_ascii_toupper/.
2003-11-27  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/animationplay.c (is_ms_tag): more
	s/toupper/g_ascii_toupper/.

	* plug-ins/common/gee_zoom.c: #include <stdlib.h> for abs().
2003-11-27 10:32:32 +00:00
Dave Neary fb920cd795 Quieten a couple of harmless warnings. See bug #66367.
2003-11-26  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/animoptimize.c: Quieten a couple of harmless
        warnings. See bug #66367.
2003-11-26 20:30:48 +00:00
Sven Neumann f659de8b74 fixed SVG import preview for portrait SVG images.
2003-11-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c (load_set_size_callback): fixed SVG import
	preview for portrait SVG images.
2003-11-26 20:22:18 +00:00
Sven Neumann 26f169670c forgot to use g_ascii_foo() here 2003-11-26 19:30:18 +00:00
Sven Neumann 758220c7e6 plug-ins/common/animationplay.c plug-ins/common/animoptimize.c
2003-11-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c
	* plug-ins/common/animoptimize.c
	* plug-ins/common/gif.c
	* plug-ins/common/gih.c
	* plug-ins/common/pnm.c
	* plug-ins/common/xbm.c
	* plug-ins/flame/libifs.c
	* plug-ins/script-fu/siod/slib.c
	* plug-ins/script-fu/siod/sliba.c: don't include ctype.h, use
	g_ascii_* functions from GLib instead.

	* plug-ins/common/film.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gee.c
	* plug-ins/common/gee_zoom.c
	* plug-ins/common/gicon.c
	* plug-ins/common/gifload.c
	* plug-ins/common/hrz.c
	* plug-ins/common/pat.c
	* plug-ins/print/print.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/twain/twain.c
	* plug-ins/winsnap/winsnap.c: removed unused includes (mainly
	ctype.h).
2003-11-26 19:20:24 +00:00
Michael Natterer ba569cb9a4 gtk_widget_destroy() the dialog, not some NULL data pointer.
2003-11-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/sel2path/sel2path.c (sel2path_response):
	gtk_widget_destroy() the dialog, not some NULL data pointer.
2003-11-26 18:08:43 +00:00
Michael Natterer 282d65bef2 configure.in plug-ins/script-fu/siod/Makefile.am
2003-11-26  Michael Natterer  <mitch@gimp.org>

	* configure.in
	* plug-ins/script-fu/siod/Makefile.am
	* plug-ins/script-fu/siod/.cvsignore
	* plug-ins/script-fu/siod/regex.c
	* plug-ins/script-fu/siod/slib.c
	* plug-ins/script-fu/siod/sliba.c
	* plug-ins/script-fu/siod/trace.c
	* plug-ins/script-fu/siod/siod.h
	* plug-ins/script-fu/siod/siodp.h: added new directory for siod.

	* plug-ins/script-fu/Makefile.am
	* plug-ins/script-fu/interp_regex.c
	* plug-ins/script-fu/interp_slib.c
	* plug-ins/script-fu/interp_sliba.c
	* plug-ins/script-fu/interp_trace.c
	* plug-ins/script-fu/siod.h
	* plug-ins/script-fu/siodp.h: removed siod from here.

	* plug-ins/script-fu/script-fu-scripts.[ch]
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/siod-wrapper.c
	* tools/pdbgen/enumcode.pl: changed #includes accordingly.

	* plug-ins/script-fu/script-fu-constants.c: regenerated.

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_error_msg):
	use siod-wrapper.c siod_get_error_msg() instead of accessing
	siod's global siod_err_msg variable directly.
2003-11-26 17:14:58 +00:00
Sven Neumann e76a587d7e libgimpthumb/Makefile.am libgimpthumb/gimpthumb-enums.h
2003-11-26  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/Makefile.am
	* libgimpthumb/gimpthumb-enums.h
	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumbnail.[ch]: more changes, still unfinished.
2003-11-26 16:49:53 +00:00
Michael Natterer c97d090d13 eek, it should be GIMP_ADD_ALPHA_TRANSFER_MASK, not
2003-11-26  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch]: eek, it should be
	GIMP_ADD_ALPHA_TRANSFER_MASK, not GIMP_ADD_ALPHA_MASK_TRANSFER.

	* app/core/gimplayer.c (gimp_layer_create_mask): changed accordingly.

	* app/pdb/layer_cmds.c
	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2003-11-26 16:00:14 +00:00
Michael Natterer e0e8a34f31 added enum values GIMP_ADD_ALPHA_MASK_TRANSFER and
2003-11-26  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch]: added enum values
	GIMP_ADD_ALPHA_MASK_TRANSFER and GIMP_UNDO_GROUP_LAYER_ADD_MASK.

	* app/core/gimplayer.c (gimp_layer_create_mask): applied patch
	from Pedro Gimeno which implements the new ADD_MASK type and
	added undo. Fixes bug #127930.

	* app/gui/layers-commands.c: push an undo group around layer mask
	creation & adding since the creation may change the layer now.

	* app/pdb/layer_cmds.c
	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2003-11-26 15:48:50 +00:00
Sven Neumann 52afe11139 libgimpthumb/gimpthumb-utils.[ch] added save functionality. Still
2003-11-26  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumbnail.[ch]: added save functionality. Still
	unfinished.
2003-11-26 10:26:37 +00:00
Sven Neumann d3a8ec0c01 configure.in gimpthumb-1.3.pc.in libgimpthumb/Makefile.am
2003-11-26  Sven Neumann  <sven@gimp.org>

	* Makefile.am:
	* configure.in
	* gimpthumb-1.3.pc.in
	* libgimpthumb/Makefile.am
	* libgimpthumb/gimpthumb-enums.h
	* libgimpthumb/gimpthumb-types.h
	* libgimpthumb/gimpthumb.def
	* libgimpthumb/gimpthumb.h
	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumbnail.[ch]: added a first draft of
	libgimpthumb. The API isn't final and the implementation is
	incomplete. It compiles but don't attempt to use it yet.
2003-11-26 01:12:36 +00:00
Sven Neumann 0aec8c079e added GIMP_MAX_MEMSIZE, an arbitrary upper limit for memory sizes. It must
2003-11-25  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimplimits.h: added GIMP_MAX_MEMSIZE, an arbitrary
	upper limit for memory sizes. It must be smaller than G_MAXDOUBLE
	since our memsize entry doesn't handle anything larger.

	* app/widgets/gimppropwidgets.c (gimp_prop_memsize_entry_new):
	check against GIMP_MAX_MEMSIZE, not G_MAXDOUBLE.

	* app/config/gimpbaseconfig.c
	* app/config/gimpcoreconfig.c
	* app/config/gimpguiconfig.c: use GIMP_MAX_MEMSIZE instead of
	G_MAXULONG. The latter is larger than G_MAXDOUBLE on 64bit
	machines and caused bug #127908.

	* libgimpwidgets/gimpmemsizeentry.c: added casts to guint64.
2003-11-25 19:45:01 +00:00
Sven Neumann 348a785e4b removed these unused files from CVS.
2003-11-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/interp_md5.[ch]: removed these unused files
	from CVS.
2003-11-25 18:51:22 +00:00
Sven Neumann 3ca9520cc4 invalidate the solid brush cache as well. Should fix #127681.
2003-11-25  Sven Neumann  <sven@gimp.org>

	* app/paint/gimppaintcore.c (gimp_paint_core_scale_mask):
	invalidate the solid brush cache as well. Should fix #127681.
2003-11-25 16:41:20 +00:00
Michael Natterer 29ddc678d3 added GIMP_UNDO_EVENT_UNDO_FREEZE and GIMP_UNDO_EVENT_UNDO_THAW.
2003-11-25  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch]: added GIMP_UNDO_EVENT_UNDO_FREEZE
	and GIMP_UNDO_EVENT_UNDO_THAW.

	* app/core/gimpimage.c: emit undo events in
	gimp_image_undo_freeze() and gimp_image_undo_thaw().

	* app/widgets/gimpundoeditor.c: made it aware of FREEZE/THAW signals
	and robust against evil stuff like freezing/thawing the undo
	in the middle of an open undo group. Fixes bug #124421.

	* plug-ins/script-fu/scripts/circuit.scm: push and undo group
	instead of disabling/enabling undo.
2003-11-25 16:12:53 +00:00
Sven Neumann e65d666f94 remember the size of the levels tool dialog. Fixes bug #127896.
2003-11-25  Sven Neumann  <sven@gimp.org>

	* app/gui/dialogs.c (toplevel_entries): remember the size of the
	levels tool dialog. Fixes bug #127896.
2003-11-25 15:30:16 +00:00
Sven Neumann 469840f812 applied a patch from Adrian Bunk that changes the function to look for
2003-11-25  Sven Neumann  <sven@gimp.org>

	* configure.in: applied a patch from Adrian Bunk that changes the
	function to look for when checking for lcms (bug #127893). Also
	added a warning when lcms is not found.
2003-11-25 14:38:08 +00:00
Sven Neumann b8e13405ea plug-ins/bmp/bmp.[ch] plug-ins/bmp/bmpread.c some code cleanup (what a
2003-11-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmp.[ch]
	* plug-ins/bmp/bmpread.c
	* plug-ins/bmp/bmpwrite.c: some code cleanup (what a mess...).
2003-11-25 13:49:16 +00:00
Michael Natterer 80fbda0540 removed gimp_g_object_get_memsize()...
2003-11-25  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpobject.[ch]: removed gimp_g_object_get_memsize()...

	* app/core/gimp-utils.[ch]: ...and added it here along with
	some other memsize utilities for GHashTables and G(S)Lists.

	* app/core/gimp.c
	* app/core/gimpimage.c
	* app/core/gimpparasitelist.c
	* app/core/gimpviewable.c
	* app/vectors/gimpstroke.c (GimpObject::get_memsize): use the new
	functions.
2003-11-25 12:53:29 +00:00
Dave Neary afd493a3e6 Applied patch from deaddog@deaddog.org (Abel Cheung) to make sure
2003-11-22  Dave Neary  <bolsh@gimp.org>

	* libgimp/Makefile.am: Applied patch from  deaddog@deaddog.org (Abel
	Cheung) to make sure dependencies are built before we build libgimp and
	libgimpui. Fixes bug #127863.
2003-11-25 11:14:06 +00:00
Maurits Rijk d1b4eed971 Fix for #126366 (bmp - wrong colors loaded) 2003-11-25 09:50:39 +00:00
Raphaël Quinet c4032a9d19 Improved the spelling of my name (missing accents) and added a mention
2003-11-25  Raphaël Quinet  <quinet@gamers.org>

	* NEWS: Improved the spelling of my name (missing accents) and
	added a mention about animoptimize in the last release.
2003-11-25 06:31:14 +00:00
Helvetix Victorinox d4ff99217b Repaired an oversight on the application of hue/color/saturation/value on
* app/composite/gimp-composite-generic.c: Repaired an oversight on
  the application of hue/color/saturation/value on non-rgb images.
  Fixes bug #127669
2003-11-25 04:51:31 +00:00
Sven Neumann c311694ddd fixed the check for the symbol prefix.
2003-11-24  Sven Neumann  <sven@gimp.org>

	* configure.in: (hopefully) fixed the check for the symbol prefix.
2003-11-24 16:37:16 +00:00
Ville Pätsi e465aa06de Fixed path creation typo.
2003-11-24  Ville Pätsi  <drc@gimp.org>

        * gimp.spec.in: Fixed path creation typo.
2003-11-24 13:36:03 +00:00
Sven Neumann 5bfda5661f set filter_idle_id to 0, not NULL.
2003-11-24  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_destroy):
	set filter_idle_id to 0, not NULL.
2003-11-24 12:43:59 +00:00
Michael Natterer 964c83a82f Fixed intra-session position management for file dialogs and newly created
2003-11-24  Michael Natterer  <mitch@gimp.org>

	Fixed intra-session position management for file dialogs and newly
	created docks:

	* app/widgets/gimpdockable.c (gimp_dockable_detach)
	* app/gui/file-dialog-utils.c (file_dialog_new): don't call
	gtk_window_set_position() on session managed dialogs and docks.

	* app/widgets/gimpdialogfactory.c (gimp_dialog_factory_add_dialog):
	make sure new docks get GDK_HINT_USER_POS set so they remember
	their positions across hide/show.

	* app/widgets/gimpdock.c: removed unused disabled code.
2003-11-24 12:07:29 +00:00
Sven Neumann 6ac37445d0 Made 1.3.23 release.
2003-11-24  Sven Neumann  <sven@gimp.org>

        * Made 1.3.23 release.
2003-11-24 02:02:51 +00:00
Michael Natterer c4de1cb2d6 app/display/gimpdisplayshell-layer-select.c use
2003-11-24  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-layer-select.c
	* app/widgets/gimptoolbox-indicator-area.c: use
	gimp_preview_new_by_types() instead of just gimp_preview_new() so
	the new preview code remembers the correct GType.
2003-11-24 01:23:45 +00:00
Ville Pätsi 62061c2aa2 Added depedency for lcms
2003-11-24  Ville Pätsi  <drc@gimp.org>

        * gimp.spec.in: Added depedency for lcms
2003-11-24 00:10:33 +00:00
Sven Neumann 2ec804936c symbols changes by a patch from Michael Schumacher.
2003-11-23  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.def: symbols changes by a patch from
	Michael Schumacher.
2003-11-23 18:51:56 +00:00
Sven Neumann e3e56fe478 libgimpbase/gimpdatafiles.[ch] libgimpbase/gimpenv.[ch]
2003-11-23  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpdatafiles.[ch]
	* libgimpbase/gimpenv.[ch]
	* libgimpbase/gimputils.c
	* libgimpmodule/gimpmodule.[ch]
	* libgimpmodule/gimpmoduledb.[ch]: use proper LibGIMP headers.
2003-11-23 15:35:27 +00:00
Sven Neumann 66c6e4004b libgimpwidgets/gimpcolordisplay.[ch]
2003-11-23  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolordisplay.[ch]
	* libgimpwidgets/gimpcolordisplaystack.[ch]
	* libgimpwidgets/gimpcolorselection.[ch]
	* libgimpwidgets/gimpcolorselector.[ch]: use proper LibGIMP headers.
2003-11-23 13:28:15 +00:00
Sven Neumann c7f6f8c8a1 made "enabled" an object property and removed the "enabled_changed"
2003-11-23  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolordisplay.[ch]: made "enabled" an object
	property and removed the "enabled_changed" signal.

	* libgimpwidgets/gimpcolordisplaystack.c
	* app/widgets/gimpcolordisplayeditor.c: connect to "notify::enabled"
	instead.

	* libgimpwidgets/gimpwidgets.def: added new symbols.
2003-11-23 13:08:56 +00:00
Michael Natterer cea0108806 added new signal "enabled_changed"...
2003-11-23  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolordisplay.[ch]: added new signal
	"enabled_changed"...

	* libgimpwidgets/gimpcolordisplaystack.c: ...which enables optimizing
	away "changed" signals of disabled filters.

	* app/widgets/gimpcolordisplayeditor.c: connect to "enabled_changed"
	instead of "changed" to update the toggle column.
2003-11-23 12:08:21 +00:00
Michael Natterer 7acf8acc1e also clone the "enabled" property.
2003-11-23  Michael Natterer  <mitch@convergence.de>

	* libgimpwidgets/gimpcolordisplay.c (gimp_color_display_clone):
	also clone the "enabled" property.

	* app/widgets/gimpcolordisplayeditor.c
	(gimp_color_display_editor_init): put the "enabled" toggle
	renderer to its own column so selecting a row doesn't always
	toggle "enabled".
2003-11-23 01:56:59 +00:00
Raphaël Quinet e7ebaa90da Allow the plug-in to register itself twice: once for the old mode
2003-11-23  Raphaël Quinet  <quinet@gamers.org>

	* plug-ins/common/animoptimize.c: Allow the plug-in to register
	itself twice: once for the old mode (difference only) and once for
	the new mode that improves the 'combine' frames by trying to
	maximize the number of adjacent pixels of the same color.  This
	gives a better compression for GIF, MNG and other formats that
	work on a line-by-line basis (bug #66367).
2003-11-23 01:13:31 +00:00
Henrik Brix Andersen 630b0ab068 behave correctly for grid spacing of 1px, whitespace clean up. Fixes the
2003-11-22 Henrik Brix Andersen <brix@gimp.org>

* gimp/app/core/gimpimage-snap.c: behave correctly for grid
spacing of 1px, whitespace clean up. Fixes the grid part of bug
#125864.
2003-11-23 00:06:34 +00:00
Michael Natterer ed3f0eb6e4 added API to enable/disable a filter. A disabled filter has no effect.
2003-11-23  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolordisplay.[ch]: added API to
	enable/disable a filter. A disabled filter has no effect.

	* libgimpmodule/gimpmodule.h: incremented GIMP_MODULE_ABI_VERSION.

	* app/widgets/gimpcolordisplayeditor.c: added a check column to
	the "Active Filters" tree view so the effect of all filters can
	quickly be toggled. Cleanup.

	* modules/cdisplay_colorblind.c: removed "none" from the enum and
	from the GUI because disabling a filter is implemented generically
	now.

	* modules/cdisplay_colorblind.c
	* modules/cdisplay_gamma.c
	* modules/cdisplay_highcontrast.c
	* modules/cdisplay_proof.c: added mnemonics, cleanup.
2003-11-22 23:53:48 +00:00
Michael Natterer 06c12d9727 libgimpwidgets/gimpwidgetsmarshal.list added signals ::added(),
2003-11-22  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpwidgetsmarshal.list
	* libgimpwidgets/gimpcolordisplaystack.[ch]: added signals
	::added(), ::removed() and ::reordered() and emit them in the
	resp. functions.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpcolordisplayeditor.[ch]: new widget implementing
	an editable view on a GimpColorDisplayStack. Most code taken from
	below...

	* app/display/gimpdisplayshell-filter-dialog.c: ...and removed
	here. Only creates a GimpDialog around a GimpColorDisplayEditor
	now.
2003-11-22 15:54:12 +00:00
Sven Neumann c105447b42 handle grayscale buffers (bug #127666).
2003-11-22  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs.c (color_erase_inten_pixels): handle
	grayscale buffers (bug #127666).
2003-11-22 15:09:24 +00:00
Sven Neumann 722fb64dbd Fixed some selection editor problems (bug #127644):
2003-11-22  Sven Neumann  <sven@gimp.org>

	Fixed some selection editor problems (bug #127644):

	* plug-ins/sel2path/sel2path.c: use the given image_ID, ignore the
	drawable_ID. This plug-in doesn't operate on a drawable at all.

	* plug-ins/imagemap/imap_main.c: pass a valid image_ID to sel2path.

	* app/gui/vectors-commands.c: don't attempt to create a valid
	drawable_ID for the call to sel2path since it isn't used anyway.

	* app/core/gimpdrawable-stroke.c (gimp_drawable_stroke_boundary):
	just return when being called with an empty boundary.
2003-11-22 13:38:11 +00:00
Sven Neumann c0c1043a6d added symbols for GimpColorDisplayStack.
2003-11-22  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.def: added symbols for
	GimpColorDisplayStack.
2003-11-22 12:31:43 +00:00
Sven Neumann c0ab166122 when constructing an URI list, don't add a newline character after the
2003-11-22  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd.c (gimp_dnd_get_file_data): when constructing
	an URI list, don't add a newline character after the last item.
2003-11-22 00:33:22 +00:00
Sven Neumann fafc492a0e let the templates editor expand.
2003-11-22  Sven Neumann  <sven@gimp.org>

	* app/gui/preferences-dialog.c: let the templates editor expand.
2003-11-22 00:01:49 +00:00
Michael Natterer 32bc599dc3 forgot to declare gimp_color_display_stack_clone().
2003-11-21  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolordisplaystack.h: forgot to declare
	gimp_color_display_stack_clone().

	* app/display/gimpdisplayshell.[ch]: replaced the GList of
	GimpColorDisplays by a single GimpColorDisplayStack.

	* app/display/gimpdisplayshell-render.c
	(gimp_display_shell_render): changed accordingly.

	* app/display/gimpdisplayshell-filter.[ch]: reduced API to a
	single function, gimp_display_shell_filter_set(), which exchanges
	the whole filter stack. Idle update the display on
	GimpColorDisplayStack::update().

	* app/display/gimpdisplayshell-filter-dialog.[ch]: changed
	accordingly.  Return the created dialog instead of assigning
	shell->filters_dialog.

	* app/gui/view-commands.c (view_display_filters_cmd_callback): set
	shell->filters_dialog here and raise it it if already
	exists. Don't use the dialog factory to create it because it's a
	transient dialog for the display which does not need to be session
	managed.

	* app/gui/dialogs-constructors.[ch]
	* app/gui/dialogs.c: removed display filter dialog stuff.
2003-11-21 22:52:36 +00:00
Michael Natterer f5162930ad libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgets.h
2003-11-21  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetstypes.h
	* libgimpwidgets/gimpcolordisplaystack.[ch]: new object
	GimpColorDisplayStack which manages a list of GimpColorDisplays.
	(unfinished, just for others to look at).
2003-11-21 21:27:10 +00:00
Sven Neumann cf3e046fb4 s/gimpfileselection/gimpfileentry/
2003-11-21  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/makefile.msc: s/gimpfileselection/gimpfileentry/
2003-11-21 19:58:55 +00:00
Sven Neumann a7585ec10a use a table to align the widgets.
2003-11-21  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_proof.c: use a table to align the widgets.
2003-11-21 19:27:06 +00:00
Sven Neumann b12c74f955 create the Display Filter dialog transient for the display shell and
2003-11-21  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-filter-dialog.c: create the Display
	Filter dialog transient for the display shell and destroy it with
	its parent.
2003-11-21 18:52:03 +00:00
Henrik Brix Andersen 2df60dacc2 app/widgets/gimphelp-ids.h changed "Window Manager" to "Window Management"
2003-11-21 Henrik Brix Andersen <brix@gimp.org>

* app/widgets/gimphelp-ids.h
* app/gui/preferences-dialog.c: changed "Window Manager" to
"Window Management" and "Decorations" to "Window Type Hints"

* themes/Default/images/preferences/window-manager.png: removed...

* themes/Default/images/preferences/Makefile.am
* themes/Default/images/preferences/window-management.png: ... and
added under a new name.
2003-11-21 18:39:52 +00:00
Sven Neumann de2617d197 if lcms.h cannot be found, try lcms/lcms.h.
2003-11-21  Sven Neumann  <sven@gimp.org>

	* configure.in: if lcms.h cannot be found, try lcms/lcms.h.

	* modules/cdisplay_proof.c: changed accordingly.
2003-11-21 17:08:23 +00:00
Jakub Steiner 00efb6111a use gnome2 icon for WM
2003-11-21  Jakub Steiner <jimmac@ximian.com>

* themes/Default/images/preferences/window-manager.png: use
  gnome2 icon for WM
2003-11-21 16:51:28 +00:00
Sven Neumann a342e8902a minor cleanup.
2003-11-21  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_colorblind.c:
	* modules/cdisplay_gamma.c:
	* modules/cdisplay_high_contrast.c: minor cleanup.
2003-11-21 16:46:17 +00:00
Michael Natterer 7f58649dea GimpFileSelection -> GimpFileEntry, cleanup.
2003-11-21  Michael Natterer  <mitch@gimp.org>

	* modules/cdisplay_proof.c: GimpFileSelection -> GimpFileEntry,
	cleanup.
2003-11-21 16:41:13 +00:00
Michael Natterer a70db0bb44 removed...
2003-11-21  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpfileselection.[ch]: removed...

	* libgimpwidgets/gimpfileentry.[ch]: ...and added under a new name.

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetstypes.h
	* libgimpwidgets/gimppatheditor.[ch]
	* app/widgets/gimppropwidgets.c
	* plug-ins/script-fu/script-fu-scripts.c: changed accordingly.

	* libgimp/gimpcompat.h: added compat #defines.

2003-11-21  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/tmpl/gimpfileselection.sgml: removed.

	* libgimpwidgets/tmpl/gimpfileentry.sgml: added.

	* libgimpwidgets/libgimpwidgets-docs.sgml
	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/libgimpwidgets.types
	* libgimpwidgets/tmpl/gimpdialog.sgml
	* libgimpwidgets/tmpl/gimppatheditor.sgml: updated.
2003-11-21 15:53:57 +00:00
Sven Neumann 5a2600f00d added a check for little cms.
2003-11-21  Sven Neumann  <sven@gimp.org>

	* configure.in: added a check for little cms.

	* modules/Makefile.am
	* modules/cdisplay_proof.c: added a color proof display filter
	module contributed by Banlu Kemiyatorn <id@project-ile.net>.
2003-11-21 14:44:00 +00:00
Michael Natterer 0f6958f771 fix typo. 2003-11-21 14:22:54 +00:00
Michael Natterer f0fe158606 added #defines for the data keys used for g_object_set_data() and
2003-11-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptoolbox.c: added #defines for the data keys used
	for g_object_set_data() and _get_data().
2003-11-21 14:22:22 +00:00
Michael Natterer b3aa7db88e added a "role" property.
2003-11-21  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpdialog.c: added a "role" property.

	* app/widgets/gimptexteditor.c
	* app/widgets/gimpviewabledialog.c: use it instead of calling
	gtk_window_set_role().
2003-11-21 14:19:15 +00:00
Michael Natterer d611d30370 argh, need to assign strings to (*array_retloc[i]), not just
2003-11-21  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-ins.c (plug_ins_help_domains): argh, need to
	assign strings to (*array_retloc[i]), not just *array_retloc[i].
	Fixes passing of the list of help domains to the help browser.
2003-11-21 14:10:52 +00:00