Commit graph

7467 commits

Author SHA1 Message Date
Sven Neumann 6041392138 gimp-1.3.pc.in don't use $VERSION because pkg-config and the like don't
2004-01-07  Sven Neumann  <sven@gimp.org>

	* gimp-1.3.pc.in
	* gimpui-1.3.pc.in: don't use $VERSION because pkg-config and the
	like don't like the 2.0pre version numbers. Instead create a
	parseable version number from major, minor and micro version.

	* m4macros/gimp-2.0.m4: check for 1.3.24 or newer.
2004-01-07 19:52:46 +00:00
Sven Neumann 79b919ae8e fixed wrong function name.
2004-01-07  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumb.def: fixed wrong function name.
2004-01-07 14:55:01 +00:00
Henrik Brix Andersen 9db50bc7cf plug-ins/script-fu/scripts/beveled-pattern-heading.scm
2004-01-07 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/script-fu/scripts/beveled-pattern-heading.scm
* plug-ins/script-fu/scripts/image-structure.scm
* plug-ins/script-fu/scripts/beveled-pattern-bullet.scm
* plug-ins/script-fu/scripts/beveled-pattern-hrule.scm
* plug-ins/script-fu/scripts/3d-outline.scm
* plug-ins/script-fu/scripts/add-bevel.scm
* plug-ins/script-fu/scripts/line-nova.scm
* plug-ins/script-fu/scripts/starburst-logo.scm
* plug-ins/script-fu/scripts/chip-away.scm
* plug-ins/script-fu/scripts/sphere.scm
* plug-ins/script-fu/scripts/hsv-graph.scm
* plug-ins/script-fu/scripts/beveled-pattern-arrow.scm
* plug-ins/script-fu/scripts/glossy.scm
* plug-ins/script-fu/scripts/burn-in-anim.scm
* plug-ins/script-fu/scripts/starscape-logo.scm
* plug-ins/script-fu/scripts/sota-chrome-logo.scm
* plug-ins/script-fu/scripts/chrome-it.scm
* plug-ins/script-fu/scripts/test-sphere.scm
* plug-ins/script-fu/scripts/textured-logo.scm
* plug-ins/script-fu/scripts/beveled-pattern-button.scm:
s/gimp-bucket-fill/gimp-edit-bucket-fill/ + whitespace clean-up.
2004-01-07 13:25:00 +00:00
Michael Natterer 2ddfcf8510 removed redundant "success = TRUE" assignments which simplifies the
2004-01-07  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/gimprc.pdb: removed redundant "success = TRUE"
	assignments which simplifies the generated code quite a bit.
	(most of the changed functions always succeed and don't need a
	"success" variable at all)

	* app/pdb/gimprc_cmds.c: regenerated.
2004-01-07 13:13:42 +00:00
Sven Neumann 8179ef7ef2 Made 2.0pre1 release.
2004-01-07  Sven Neumann  <sven@gimp.org>

        * Made 2.0pre1 release.
2004-01-07 03:53:28 +00:00
Sven Neumann c6f42dda80 set GIMP_VERSION to 2.0pre1.
2004-01-07  Sven Neumann  <sven@gimp.org>

        * configure.in: set GIMP_VERSION to 2.0pre1.

        * HACKING
        * INSTALL
        * NEWS
        * README: updated and changed accordingly.
2004-01-07 00:43:53 +00:00
Simon Budig 6d33e7750a Changed the string that is intended to be translated to the translators
2004-01-07  Simon Budig  <simon@gimp.org>

	* app/gui/about-dialog.c: Changed the string that is intended
	to be translated to the translators names, to be the same as
	in Gnome. Sorry for the string change.
2004-01-06 23:09:43 +00:00
Sven Neumann 9d77a4fd89 libgimp/gimp.def updated. Patch from Michael Schumacher.
2004-01-06  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.def
	* libgimpthumb/gimpthumb.def: updated. Patch from Michael Schumacher.
2004-01-06 17:44:58 +00:00
Sven Neumann 4db53911a0 fixed inline docs.
2004-01-06  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-scale.c (gimp_image_scale_check): fixed inline
	docs.

2004-01-06  Sven Neumann  <sven@gimp.org>

	* app/app-sections.txt: updated.

	* libgimpthumb/libgimpthumb-sections.txt
	* libgimpthumb/tmpl/gimpthumbnail.sgml: updated.
2004-01-06 16:46:03 +00:00
Henrik Brix Andersen c633a419ea use gimp_edit_bucket_fill() and gimp_edit_blend() instead of deprecated
2004-01-06 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/pygimp/plug-ins/sphere.py (python_sphere): use
gimp_edit_bucket_fill() and gimp_edit_blend() instead of
deprecated functions.
2004-01-06 16:16:30 +00:00
Sven Neumann 8099e69264 added new function gimp_thumbnail_set_from_thumb() which will be useful
2004-01-06  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumbnail.[ch]: added new function
	gimp_thumbnail_set_from_thumb() which will be useful when writing
	a thumbnail manager based on libgimpthumb.
2004-01-06 15:53:32 +00:00
Sven Neumann f831818a1a invalidate the description string before emitting "info_changed".
2004-01-06  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c: invalidate the description string
	before emitting "info_changed".
	(gimp_imagefile_save_thumb): use the enum value's name. not it's
	nick.
2004-01-06 14:29:35 +00:00
Michael Natterer dec20d8214 Enabled skipping enum values for either the PDB or GType registration
2004-01-06  Michael Natterer  <mitch@gimp.org>

	Enabled skipping enum values for either the PDB or GType
	registration (don't always skip both targets):

	* tools/gimp-mkenums: skip enum values only if there is a literal
	"skip" (don't match "pdb-skip").

	* tools/pdbgen/enumgen.pl: skip only "pdb-skip" values, not "skip"
	ones.

	* app/base/base-enums.h
	* app/core/core-enums.h
	* app/paint/paint-enums.h
	* libgimpbase/gimpbaseenums.h: use the right "pdb-skip"/"skip"
	combination to skip enum values. Changed comments accordingly.

	Cleaned up the fill functions:

	* app/core/core-enums.[ch]: added GIMP_PATTERN_FILL enum value to
	the GimpFillType enum. Don't export GIMP_NO_FILL to the PDB
	because it's completely useless to export a NOP.

	* app/core/gimp-edit.c (gimp_edit_fill, gimp_edit_fill_internal):
	handle pattern fill requests.

	* app/core/gimpdrawable.[ch] (gimp_drawable_fill): added GimpPattern
	parameter and fill with it if it's non-NULL.

	(gimp_drawable_fill_by_type): handle pattern fill and pass the
	current pattern to gimp_drawable_fill().

	* app/text/gimptextlayer.c: changed accordingly.

	* app/gui/edit-commands.c
	* app/gui/image-menu.c: use gimp_edit_fill() instead of
	gimp_drawable_bucket_fill() for FG, BG and pattern filling.

	* libgimp/gimpcompat.h
	* plug-ins/script-fu/siod-wrapper.c: removed NO_IMAGE_FILL compat
	enum value. It should have never been exported to the PDB.

	* app/pdb/drawable_cmds.c
	* app/pdb/edit_cmds.c
	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2004-01-06 14:02:08 +00:00
Sven Neumann 53a6199c8e use gimp->config; edit_config is just for the prefs dialog. This should
2004-01-06  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/gimprc.pdb: use gimp->config; edit_config is
	just for the prefs dialog. This should fix gimp_gimprc_set().

	* app/pdb/gimprc_cmds.c: regenerated.
2004-01-06 13:06:56 +00:00
Sven Neumann 4667eac9a8 use a global parasite to store the default values. Such uglyness doesn't
2004-01-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: use a global parasite to store the default
	values. Such uglyness doesn't belong into gimprc.

	* devel-docs/parasites.txt: document the parasite used by the PNG
	plug-in.
2004-01-06 12:58:31 +00:00
Michael Natterer 2a713ed85d cosmetic.
2004-01-06  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptemplateeditor.c: cosmetic.
2004-01-06 11:37:00 +00:00
Sven Neumann 429cf13df9 added thumb_size variable to the GimpThumbnail struct. Fixed handling of
2004-01-06  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumbnail.[ch]: added thumb_size variable to
	the GimpThumbnail struct. Fixed handling of failed thumbnails.
2004-01-06 11:29:10 +00:00
Sven Neumann bf65beb5c8 added missing casts to gint64.
2004-01-06  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumbnail.c (gimp_thumbnail_set_uri): added
	missing casts to gint64.
2004-01-06 10:09:02 +00:00
Manish Singh ba92cb3ea3 remove unnecessary GTK_WIDGET() cast.
2004-01-06  Manish Singh  <yosh@gimp.org>

        * app/widgets/gimpdasheditor.c (gimp_dash_editor_new): remove
        unnecessary GTK_WIDGET() cast.

        * app/widgets/gimpstrokeeditor.c (gimp_stroke_editor_constructor):
        remove unnecessary G_OBJECT() casts.

        * libgimpbase/gimplimits.h: cosmetic cleanup.

        * libgimpbase/gimpenv.c (gimp_toplevel_directory): add (void)
        to prototype.

        * plug-ins/script-fu/script-fu-console.c (script_fu_cc_key_function):
        set cursor to end of line after history navigation.

        * plug-ins/common/struc.c (strucpi): use CLAMP0255.
2004-01-06 10:04:31 +00:00
Manish Singh ba35af08b2 Implemented default settings, for both the UI and the PDB. Settings are
2004-01-06  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/png.c: Implemented default settings, for both
        the UI and the PDB. Settings are stored in gimprc, but right now
        saving is broken since gimp_gimprc_set is broken right now.

        There are 3 new PDB entry points: file_png_save_defaults, which is
        a save function that only takes drawable and filename info, and
        uses the stored gimprc settings for the rest of the parameters.
        This is hooked up to the save magic, so using gimp_file_save to
        save as png now won't make big files anymore. The other two are
        file_png_get_defaults and file_png_set_defaults, which query
        and set the gimprc setting respectively.

        I also did some cleanup, and added a comment boolean to the
        file_png_save2 interface. The string serialization to the gimprc
        is sort of dumb, but it works.

        Next step is to do similar for jpeg and gif.
2004-01-06 09:53:35 +00:00
Sven Neumann 672a56b2db Fixes to the new thumbnail code. Will need more changes...
2004-01-06  Sven Neumann  <sven@gimp.org>

	Fixes to the new thumbnail code. Will need more changes...

	* app/core/gimpimagefile.c: set image information before calling
	gimp_thumbnail_save_thumb(). Emit the "info_changed" signal when
	the thumbnail states change.

	* libgimpthumb/gimpthumbnail.c: redone gimp_thumbnail_load_thumb().
	Added some debugging code that is by default disabled.
2004-01-06 02:33:08 +00:00
Manish Singh f6d50d1ba7 on second thought, just make everything signed. There is no reason for any
2004-01-05  Manish Singh  <yosh@gimp.org>

        * app/paint-funcs/paint-funcs.c (expand_line): on second thought, just
        make everything signed. There is no reason for any of it to be
        unsigned.
2004-01-05 23:42:28 +00:00
Manish Singh 37e133a0e5 cast usage of unsigned bytes variable in array subscripting to signed, so
2004-01-05  Manish Singh  <yosh@gimp.org>

        * app/paint-funcs/paint-funcs.c (expand_line): cast usage of unsigned
        bytes variable in array subscripting to signed, so we really do get
        a negative value when we need it. Fixes #130398.
2004-01-05 23:22:48 +00:00
Sven Neumann ca0b8b046e check the return value of fopen() before using it.
2004-01-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/CEL.c (need_palette): check the return value of
        fopen() before using it.
2004-01-05 19:01:33 +00:00
Sven Neumann 66ed5ca98d fixed coding style issues, removed trailing whitespace, use gsize instead
2004-01-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/CEL.c: fixed coding style issues, removed
	trailing whitespace, use gsize instead of size_t.
2004-01-05 18:54:30 +00:00
Dov Grobgeld 1d0c9c9561 Added read and write support for 32-bit CEL files.
* Added read and write support for 32-bit CEL files.
2004-01-05 17:37:42 +00:00
Michael Natterer 4974f7a5e5 app/pdb/Makefile.am forgot to remove this file.
2004-01-05  Michael Natterer  <mitch@gimp.org>

	* app/pdb/Makefile.am
	* app/pdb/misc_tools_cmds.c: forgot to remove this file.
2004-01-05 17:22:26 +00:00
Michael Natterer b2e3434d38 tools/pdbgen/Makefile.am tools/pdbgen/groups.pl removed the "misc tools"
2004-01-05  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/Makefile.am
	* tools/pdbgen/groups.pl
	* tools/pdbgen/pdb/misc_tools.pdb: removed the "misc tools" PDB group.

	* tools/pdbgen/pdb/edit.pdb: added gimp_edit_bucket_fill() and
	gimp_edit_blend().

	* tools/pdbgen/pdb/image.pdb: added gimp_image_pick_color().

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

	* app/pdb/edit_cmds.c
	* app/pdb/image_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/misc_tools_cmds.c
	* libgimp/gimp_pdb.h
	* libgimp/gimpedit_pdb.[ch]
	* libgimp/gimpimage_pdb.[ch]: regenerated.

	* libgimp/Makefile.am
	* libgimp/gimpmisctools_pdb.[ch]: removed.

	* plug-ins/gfig/gfig.c
	* plug-ins/script-fu/scripts/3dTruchet.scm
	* plug-ins/script-fu/scripts/alien-glow-arrow.scm
	* plug-ins/script-fu/scripts/alien-glow-bar.scm
	* plug-ins/script-fu/scripts/alien-glow-bullet.scm
	* plug-ins/script-fu/scripts/alien-glow-button.scm
	* plug-ins/script-fu/scripts/alien-glow-logo.scm
	* plug-ins/script-fu/scripts/basic1-logo.scm
	* plug-ins/script-fu/scripts/basic2-logo.scm
	* plug-ins/script-fu/scripts/beveled-button.scm
	* plug-ins/script-fu/scripts/blended-logo.scm
	* plug-ins/script-fu/scripts/burn-in-anim.scm
	* plug-ins/script-fu/scripts/coffee.scm
	* plug-ins/script-fu/scripts/comic-logo.scm
	* plug-ins/script-fu/scripts/coolmetal-logo.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
	* plug-ins/script-fu/scripts/gradient-example.scm
	* plug-ins/script-fu/scripts/hsv-graph.scm
	* plug-ins/script-fu/scripts/pupi-button.scm
	* plug-ins/script-fu/scripts/rendermap.scm
	* plug-ins/script-fu/scripts/sphere.scm
	* plug-ins/script-fu/scripts/starscape-logo.scm
	* plug-ins/script-fu/scripts/test-sphere.scm
	* plug-ins/script-fu/scripts/textured-logo.scm
	* plug-ins/script-fu/scripts/title-header.scm
	* plug-ins/script-fu/scripts/weave.scm: follow "blend" and "color
	picker" changes. Leave "bucket fill" users unchanged because fill
	and bucket_fill need another cleanup (will follow next...)

2004-01-05  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt: moved color_picker, blend and
	bucket_fill to their new places.

	* libgimp/tmpl/gimpedit.sgml
	* libgimp/tmpl/gimpimage.sgml
	* libgimp/tmpl/gimptools.sgml: regenerated.
2004-01-05 14:35:19 +00:00
Dave Neary 424d1ce65e Update news.
2004-01-05  Dave Neary  <bolsh@gimp.org>

        * NEWS: Update news.
2004-01-05 13:08:42 +00:00
Sven Neumann 69ac8e1a26 applied a modified patch provided by Joao S. O. Bueno and Dave Neary. The
2004-01-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: applied a modified patch provided by
	Joao S. O. Bueno and Dave Neary. The user can now specify whether
	color values for transparent pixels should be saved or nullified
	(bug #129472).
2004-01-05 00:57:43 +00:00
Sven Neumann 3451c82f4f added GIMP_UNDO_TEXT_LAYER to GimpUndoType enum.
2004-01-05  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.[ch]: added GIMP_UNDO_TEXT_LAYER to
	GimpUndoType enum.

	* app/core/gimpimage-undo-push.[ch]: added new undo function
	gimp_image_undo_push_text_layer().

	* app/text/gimptextlayer.[ch]: renamed gimp_text_layer_render() to
	gimp_layer_text_layer_flush().
	Added new function gimp_text_layer_discard().

	* app/text/gimptextlayer-transform.c: changed accordingly.

	* app/gui/image-menu.c
	* app/gui/layers-commands.[ch]
	* app/gui/layers-menu.c: added menu entries that allow to discard
	the text information of a text layer (bug #118547).

	* app/widgets/gimppreviewrendererlayer.c
	(gimp_preview_renderer_layer_render): treat text layers without a
	text object like ordinary layers.

	* app/widgets/gimppreviewrenderer-utils.c: include gimplayer.h
	instead of gimptextlayer.h.
2004-01-05 00:28:12 +00:00
Ville Pätsi 985583f1c9 Remove last hardcoded -1.3's.
2004-01-04  Ville Pätsi  <drc@gimp.org>

        * gimp.spec.in: Remove last hardcoded -1.3's.
2004-01-04 21:42:26 +00:00
Michael Natterer 61a1d21c71 pass around GimpImage and GimpImageType parameters. For indexed images,
2004-01-04  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-contiguous-region.c
	(gimp_image_contiguous_region_by_seed)
	(find_contiguous_region_helper)
	(find_contiguous_segment): pass around GimpImage and GimpImageType
	parameters. For indexed images, convert the tile data to RGB using
	gimp_image_get_color(). Still use the raw tile data for RGB and
	GRAY images so the slowdown for these image types should be
	minimal. Fixes bug #128991.
2004-01-04 17:00:59 +00:00
Manish Singh bc56fc5325 plug-ins/twain/Makefile.am minor tweaks, to match changes that were made
2004-01-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/twain/Makefile.am
        * plug-ins/winsnap/Makefile.am: minor tweaks, to match changes that
        were made in the other Makefiles long ago.
2004-01-03 23:23:59 +00:00
Manish Singh 2ef383c499 fix setting of RT_LIBS.
2004-01-03  Manish Singh  <yosh@gimp.org>

        * configure.in: fix setting of RT_LIBS.
2004-01-03 22:50:00 +00:00
Manish Singh e211f6f73b check for shm_open in libc too, and define RT_LIBS accordingly.
2004-01-03  Manish Singh  <yosh@gimp.org>

        * configure.in: check for shm_open in libc too, and define RT_LIBS
        accordingly.

        * gimptool-1.3.in
        * app/Makefile.am
        * libgimp/Makefile.am
        * plug-ins/*/Makefile.am
        * plug-ins/common/mkgen.pl: use RT_LIBS.
2004-01-03 22:41:09 +00:00
Michael Natterer dfe0d687d7 some cosmetics while reviewing the code.
2004-01-03  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.c: some cosmetics while reviewing
	the code.
2004-01-03 20:51:36 +00:00
Michael Natterer 3b38718296 updated. Patch from Michael Schumacher.
2004-01-03  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimp.def: updated. Patch from Michael Schumacher.
2004-01-03 18:19:49 +00:00
Michael Natterer 9fe65d9765 NULL-terminate the list of strings passed to g_strconcat().
2004-01-02  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/animationplay.c (build_dialog): NULL-terminate
	the list of strings passed to g_strconcat().
2004-01-02 19:31:32 +00:00
Michael Natterer 84458f5b95 removed GimpTool::cursor_update() implementation (which was there only to
2004-01-02  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimppainttool.c: removed GimpTool::cursor_update()
	implementation (which was there only to stop drawing the brush
	preview when the mouse leaves the canvas). Instead, look at
	shell->proximity in GimpTool::oper_update() and just don't start
	drawing the preview if proximity is FALSE.

	* app/display/gimpdisplay.c (gimp_display_delete): set
	gdisp->shell to NULL *before* gtk_widget_destroy()ing the shell so
	our tool callbacks don't dispatch stuff while the shell is in the
	middle of being destroyed.

	Both changes fix bug #129374, though the latter is the fix for the
	real problem.
2004-01-02 17:36:45 +00:00
Simon Budig 910c506e4a app/core/gimpdrawable-stroke.c Don't simplify the border of the selection.
2003-12-31  Simon Budig  <simon@gimp.org>

	* app/core/gimpdrawable-stroke.c
	* app/paint/gimppaintcore-stroke.c: Don't simplify the border
	of the selection. Quite some people were confused by the
	polygonal look of a stroked ellipse. The old behaviour doesn't
	look good, but the new one isn't really better. Since the
	old behaviour is more predictable, I am reverting this for now
	(Please note that the function to simplify the boundary still
	is available, it just is unused).

	Hopefully at some point it will be possible to have non-integer
	boundary coordinates or even a more sophisticated set of
	"vector-selection" tools.
2003-12-31 02:26:32 +00:00
Simon Budig c1350d177a Fixed missing undo step when moving (components of) the path. Don't add an
2003-12-31  Simon Budig  <simon@gimp.org>

	* app/tools/gimpvectortool.[ch]: Fixed missing undo step when
	moving (components of) the path. Don't add an undo step when
	nothing changes.

	Also rephrased the help strings in the statusbar to be shorter
	and encourage the user to try shift. Fixes bug #124025.
2003-12-31 02:10:09 +00:00
Sven Neumann d9ee8e8c30 fixed table packing.
2003-12-31  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptextoptions.c (gimp_text_options_gui): fixed
	table packing.
2003-12-31 00:42:35 +00:00
Simon Budig e95b38e66c Do not move anchors in edit mode.
2003-12-30  Simon Budig  <simon@gimp.org>

	* app/tools/gimpvectortool.c: Do not move anchors in edit mode.

	Fixes bug #124973.
2003-12-30 22:22:54 +00:00
Simon Budig e6b08da721 Made it possible to have multiple lines of translators in the about
2003-12-30  Simon Budig  <simon@gimp.org>

	* app/gui/about-dialog.c: Made it possible to have multiple
	lines of translators in the about dialog. Simply translate
	"<Translators: insert your names here, separated by newline>".

	Fixes bug #58507.
2003-12-30 20:10:36 +00:00
Simon Budig 618467b8e1 When there is a visible path, it cannot be stored in the XCF in a portable
2003-12-30  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpvectors-compat.c: When there is a visible
	path, it cannot be stored in the XCF in a portable manner.

	* app/xcf/xcf-save.c: Removed Debug output
2003-12-30 18:00:07 +00:00
Simon Budig 50d7db9d75 Save the stroking type (libart / paint-tool) so that it can be remembered
2003-12-30  Simon Budig  <simon@gimp.org>

	* app/gui/stroke-dialog.c: Save the stroking type (libart /
	paint-tool) so that it can be remembered when the dialog
	gets opened a second time. Fixes Bug #128156.
2003-12-30 16:32:07 +00:00
Simon Budig 4343af4c10 reshuffle the authors array and restart the animation when the dialog gets
2003-12-29  Simon Budig  <simon@gimp.org>

	* app/gui/about-dialog.c: reshuffle the authors array and
	restart the animation when the dialog gets shown a second
	time. Also render the current version number to the image
	permanently.
2003-12-29 17:52:46 +00:00
Raphaël Quinet a5c4c459fa Applied patch by David Gowers (neota@softhome.net) improving the mnemonics
2003-12-29  Raphaël Quinet  <quinet@gamers.org>

	* app/gui/palette-editor-menu.c: Applied patch by David Gowers
	(neota@softhome.net) improving the mnemonics of the palette editor
	commands 'New from FG/BG'.  Fixes bug #130121.
2003-12-29 13:09:01 +00:00
Simon Budig 3901945207 Redone to have a fancy graphical effect. Will be tweaked further.
2003-12-29  Simon Budig  <simon@gimp.org>

	* app/gui/about-dialog.c: Redone to have a fancy graphical
	effect. Will be tweaked further.
2003-12-29 02:57:07 +00:00
Simon Budig 411b54d149 Some default dash pattern enum. regenerated.
2003-12-28  Simon Budig  <simon@gimp.org>

	* app/core/core-enums.h: Some default dash pattern enum.
	* app/core/core-enums.c: regenerated.

	* app/core/gimpstrokeoptions.[ch]: Implement default dash
	patterns, add a signal when the dash pattern changes.

	* app/widgets/gimpstrokeeditor.c: Add an option menu for
	the dash pattern and connect it to the signal mentioned above.
2003-12-28 17:09:41 +00:00
Simon Budig 5058627932 Fixed packing of the widgets.
2003-12-28  Simon Budig  <simon@gimp.org>

	* app/widgets/gimpstrokeeditor.c: Fixed packing of the widgets.
2003-12-28 13:48:52 +00:00
Simon Budig 3955690e31 Added functions to shift the dash pattern to the left or right.
2003-12-28  Simon Budig  <simon@gimp.org>

	* app/widgets/gimpdasheditor.[ch]: Added functions to shift the
	dash pattern to the left or right.

	* app/widgets/gimpstrokeeditor.c: Improve the appearance of the
	widget and add left/right buttons.
2003-12-28 02:18:25 +00:00
Sven Neumann 266934dcdf some minor cleanups.
2003-12-27  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdasheditor.c: some minor cleanups.
2003-12-27 22:04:51 +00:00
Simon Budig 33102089ee Added the relevant bug number to the Changelog entry 2003-12-27 19:47:37 +00:00
Simon Budig c95bca30e9 Dashed stroking is here... :-)
2003-12-27  Simon Budig  <simon@gimp.org>

	Dashed stroking is here...  :-)

	* app/core/gimpdrawable-stroke.c: actually use the dash pattern
	from the options

	* app/core/gimpscanconvert.c: Normalize the dash pattern, so
	that libart does the right thing.

	* app/core/gimpstrokeoptions.c: Fix default value for dash
	offset, handle the property_get for PROP_DASH_INFO correct.

	* app/widgets/gimpdasheditor.[ch]
	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h: New widget to edit a dash
	pattern.

	* app/widgets/gimpstrokeeditor.c: Use it.
2003-12-27 19:25:19 +00:00
Manish Singh 6bf0f76be8 app/main.c app/plug-in/plug-in-shm.c POSIX shared memory tile transport
2003-12-27  Manish Singh  <yosh@gimp.org>

        * app/main.c
        * app/plug-in/plug-in-shm.c
        * libgimp/gimp.c: POSIX shared memory tile transport implementation,
        and a little code cleanup of the SysV and Win32 implementations.

        * configure.in: checks for shm_open, default to POSIX shared memory
        transport on OS X.
2003-12-27 08:07:15 +00:00
Pedro Gimeno 913cdc1aed actually don't crash when layer previews are disabled. Fixes the crash
2003-12-27  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/common/jigsaw.c (jigsaw): actually don't crash when
	layer previews are disabled. Fixes the crash reported in bug
	#112012, but not the bug itself.
2003-12-27 00:57:05 +00:00
Sven Neumann 17591ea2b7 don't crash when layer previews are disabled.
2003-12-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c (gimp_imagefile_save_thumb): don't crash
	when layer previews are disabled.
2003-12-26 22:09:09 +00:00
Dave Neary ffdd5ee026 Modify behaviour of levels tool to conserve lightness when using the
2003-12-26  Dave Neary  <bolsh@gimp.org>

        * app/base/levels.c: Modify behaviour of levels tool to
        conserve lightness when using the grey-point color-picker.
2003-12-26 21:28:30 +00:00
Sven Neumann 18e559c173 forgot to change gimp_pixel_fetcher_set_edgemode to
2003-12-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/edge.c: forgot to change
	gimp_pixel_fetcher_set_edgemode to gimp_pixel_fetcher_set_edge_mode
	here.
2003-12-26 20:46:30 +00:00
Sven Neumann eac0e23ede plug-ins/imagemap/imap_cern.y plug-ins/imagemap/imap_cern_lex.c
2003-12-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_cern.y
	* plug-ins/imagemap/imap_cern_lex.c
	* plug-ins/imagemap/imap_cern_parse.[ch]
	* plug-ins/imagemap/imap_csim.[ly]
	* plug-ins/imagemap/imap_csim_lex.c
	* plug-ins/imagemap/imap_csim_parse.[ch]
	* plug-ins/imagemap/imap_ncsa.[ly]
	* plug-ins/imagemap/imap_ncsa_lex.c
	* plug-ins/imagemap/imap_ncsa_parse.[ch]: Yosh informed me that
	regenerating the files using recent versions of flex/bison is a
	bad idea. Reverted my changes and redid the most important parts
	manually.
2003-12-26 20:30:36 +00:00
Sven Neumann a89ed154be set the default value for "activate-on-focus" to TRUE. The discussion on
2003-12-26  Sven Neumann  <sven@gimp.org>

	* app/config/gimpdisplayconfig.c: set the default value for
	"activate-on-focus" to TRUE. The discussion on this has been
	controversial and I am doing this change now in order to get more
	feedback.
2003-12-26 18:40:19 +00:00
Sven Neumann 565cf9f4af applied a modified version of a patch from Maurits Rijk that cleans up the
2003-12-26  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpmisc.[ch]: applied a modified version of a patch
	from Maurits Rijk that cleans up the remaining API (bug #125141).

	* plug-ins/common/curve_bend.c
	* plug-ins/common/displace.c
	* plug-ins/common/edge.c
	* plug-ins/common/illusion.c
	* plug-ins/common/shift.c
	* plug-ins/gflare/gflare.c: changed accordingly.
2003-12-26 17:26:36 +00:00
Sven Neumann b867017bc7 removed an unused variable.
2003-12-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_edit_area_info.c (create_info_tab):
	removed an unused variable.

	* plug-ins/imagemap/imap_cern.l: include <string.h> for strcpy().

	* plug-ins/imagemap/imap_csim.l: include <unistd.h> for isatty().

	* plug-ins/imagemap/imap_cern_lex.c
	* plug-ins/imagemap/imap_csim_lex.c: regenerated.
2003-12-26 16:51:19 +00:00
Sven Neumann ed8b3bcb52 plug-ins/imagemap/imap_cern.y plug-ins/imagemap/imap_csim.y
2003-12-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_cern.y
	* plug-ins/imagemap/imap_csim.y
	* plug-ins/imagemap/imap_ncsa.y
	* plug-ins/script-fu/script-fu-console.c
	* plug-ins/script-fu/script-fu-server.c: include gtk.h with angle
	brackets, not quotes.

	* plug-ins/imagemap/imap_cern_parse.[ch]
	* plug-ins/imagemap/imap_csim_parse.[ch]
	* plug-ins/imagemap/imap_ncsa_parse.[ch]: regenerated.

	* plug-ins/imagemap/Makefile.am: added y.tab.h (created by bison)
	to CLEANFILES.
2003-12-26 02:27:13 +00:00
Sven Neumann 77a1e3c2a9 return TRUE if thumbnails are disabled. Fixes bug #129921.
2003-12-25  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c (gimp_imagefile_save_thumb): return
	TRUE if thumbnails are disabled. Fixes bug #129921.
2003-12-25 12:10:26 +00:00
Manish Singh 270c8d9c33 add undo_group_{start,end} methods.
2003-12-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-image.c: add undo_group_{start,end} methods.

        * plug-ins/pygimp/foggify.py
        * plug-ins/pygimp/shadow_bevel.py: and use them here, instead of
        deprecated PDB functions.
2003-12-25 06:14:15 +00:00
Manish Singh 9fe4d3bbc3 remove add/remove_layer_mask methods...
2003-12-23  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-image.c: remove add/remove_layer_mask
        methods...

        * plug-ins/pygimp/pygimp-drawable.c: ... and put them here, as methods
        of the layer object.

        * plug-ins/pygimp/plug-ins/foggify.py: update for the above new API.
2003-12-24 00:41:12 +00:00
David Odin 39bf72558c small cosmetic changes, such as removing tabs. 2003-12-23 22:07:06 +00:00
David Odin 0632251cff added a scrolled window in page 2, since the list of directories is too
* app/gui/user-install-dialog.c (user_install_dialog_run): added a
	scrolled window in page 2, since the list of directories is too long
	to fit in a 1024x768 screen.  The user install dialog should now fit
	into a 800x600 screen.  This should close #122211
2003-12-22 19:47:05 +00:00
Michael Natterer c0e8e2474b indentation & whitespace cleanup.
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/convmatrix.c: indentation & whitespace cleanup.
2003-12-21 22:13:14 +00:00
Michael Natterer 92a3a65e8e added gimp_display_shell_drop_svg() (untested because there is no place to
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-dnd.[ch]: added
	gimp_display_shell_drop_svg() (untested because there is no place
	to drag an SVG from yet...).

	* app/display/gimpdisplayshell.c (gimp_display_shell_init):
	connect SVG drops to the new callback.
2003-12-21 22:09:03 +00:00
Michael Natterer dfba90fe46 changed "svg_data" from guchar* to gchar*, cleaned up debugging output.
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdnd.[ch]: changed "svg_data" from guchar* to
	gchar*, cleaned up debugging output.
2003-12-21 21:57:46 +00:00
Michael Natterer 6614f8a940 some cleanup while hunting window positioning bugs.
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdialogfactory.c: some cleanup while hunting
	window positioning bugs.
2003-12-21 21:51:58 +00:00
Michael Natterer e62ae26c90 render the selection in "light" histograms correctly (unused and
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphistogramview.c (gimp_histogram_view_expose):
	render the selection in "light" histograms correctly (unused and
	untested).
2003-12-21 21:43:46 +00:00
Michael Natterer e12b44f26c reset container_view->dnd_widget in gimp_item_tree_view_constructor()
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpitemtreeview.c: reset container_view->dnd_widget
	in gimp_item_tree_view_constructor() instead of
	gimp_item_tree_view_new().
2003-12-21 16:15:34 +00:00
Michael Natterer c5af9ea7d2 this was starting to bit-rot on my disk: added "container" and "context"
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainerview.c: this was starting to bit-rot on
	my disk: added "container" and "context" properties.

	(gimp_container_view_set_size_request): fixed scrollbar_width
	calculation for deprecated uses of the widget (should never happen
	but the code should be correct anyway).
2003-12-21 16:11:06 +00:00
Michael Natterer b7dbaacc1f fixed cut'n'paste bug: always use offset_x, not offset_y for x coordinates
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-stroke.c (gimp_drawable_stroke_boundary):
	fixed cut'n'paste bug: always use offset_x, not offset_y for x
	coordinates (spotted by Olivier Gondouin).
2003-12-21 15:57:43 +00:00
Dave Neary bff447f05a Updated NEWS.
2003-12-21  Dave Neary  <bolsh@gimp.org>

        * NEWS: Updated NEWS.
2003-12-21 13:48:29 +00:00
Michael Natterer 1b8cdc037b made "item-type" and "signal-name" CONSTRUCT_ONLY properties. Configure
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpitemtreeview.c: made "item-type" and
	"signal-name" CONSTRUCT_ONLY properties. Configure the DND dests
	in gimp_item_tree_view_constructor(), not in
	gimp_item_tree_view_new().
2003-12-21 12:11:44 +00:00
Sven Neumann 9630d40834 removed the GError parameter from gimp_vectors_export_string() and
2003-12-21  Sven Neumann  <sven@gimp.org>

	* app/vectors/gimpvectors-export.[ch]: removed the GError parameter
	from gimp_vectors_export_string() and implemented this function.
2003-12-21 11:52:20 +00:00
Michael Natterer fc47cbc059 removed trailing whitespace and #if 0'ed cruft. Cosmetics.
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppreviewrendererbrush.c: removed trailing
	whitespace and #if 0'ed cruft. Cosmetics.
2003-12-21 11:07:40 +00:00
Michael Natterer 11534c9ffe doc fixes.
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptooldialog.c (gimp_tool_dialog_new): doc fixes.
2003-12-21 10:59:32 +00:00
Michael Natterer 1246aa0804 return a boolean indicating success from all drop handlers.
2003-12-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdnd.c: return a boolean indicating success from
	all drop handlers.

	(gimp_dnd_data_drop_handle): finish the drop correctly by calling
	gtk_drag_finish() with the above success value.
2003-12-21 10:53:56 +00:00
Sven Neumann 3e1b93cce0 added gimp_xml_parser_parse_buffer().
2003-12-20  Sven Neumann  <sven@gimp.org>

	* app/config/gimpxmlparser.[ch]: added gimp_xml_parser_parse_buffer().

	* app/vectors/gimpvectors-export.[ch]: renamed gimp_vectors_export()
	to gimp_vectors_export_file() and added a stub called
	gimp_vectors_export_string().

	* app/vectors/gimpvectors-import.[ch]: renamed gimp_vectors_import()
	to gimp_vectors_import_file() and added gimp_vectors_import_buffer().

	* app/gui/vectors-commands.c
	* tools/pdbgen/pdb/paths.pdb: changed accordingly.

	* app/pdb/paths_cmds.c: regenerated.
2003-12-21 00:23:36 +00:00
Michael Natterer e5dd444762 changed unused SVG dnd API to speak in terms of "guchar *data", "gint
2003-12-20  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdnd.[ch]: changed unused SVG dnd API to speak in
	terms of "guchar *data", "gint data_len" instead of GimpVectors.
2003-12-20 21:59:52 +00:00
Michael Natterer 3fb7d2b325 sanitized DND identifiers (e.g. GIMP_BRUSH ->
2003-12-20  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdnd.h: sanitized DND identifiers
	(e.g. GIMP_BRUSH -> application/x-gimp-brush-name).

	* app/widgets/gimpdnd.[ch]: added stubs for SVG DND with
	on-the-fly conversion from/to GimpVectors. Someone needs to add
	the conversion functions...
2003-12-20 19:51:21 +00:00
Sven Neumann 9ea3fb58be fixed Jimmac's ChangeLog entry 2003-12-20 18:00:41 +00:00
Sven Neumann ec056d57a8 applied patch from Shlomi Fish that fixes an obvious cut'n'paste bug in
2003-12-20  Sven Neumann  <sven@gimp.org>

	* app/gui/gradient-editor-commands.c
	(gradient_editor_replicate_response): applied patch from Shlomi Fish
	that fixes an obvious cut'n'paste bug in the code that replicates a
	gradient segment (bug #129738).
2003-12-20 17:49:50 +00:00
Jakub Steiner fcf5d8484f it's here! soon!
2003-12-19  Jakub Steiner <jimmac@ximian.com>

* data/images/gimp_logo.png: it's here! soon!
2003-12-19 21:43:16 +00:00
Michael Natterer 2bfb425ce1 update the crop dialog in crop_recalc(), not in gimp_crop_tool_draw().
2003-12-19  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpcroptool.c: update the crop dialog in
	crop_recalc(), not in gimp_crop_tool_draw().
2003-12-19 21:03:22 +00:00
Simon Budig 7914b59223 Removed private statusbar gdisplay pointer. Now help texts are only shown
2003-12-19  Simon Budig  <simon@gimp.org>

	* app/tools/gimpvectortool.[ch]: Removed private statusbar
	gdisplay pointer. Now help texts are only shown on the gdisp
	of the tool. Fixes bug #128209
2003-12-19 19:23:37 +00:00
Michael Natterer 14c75713a6 renamed gimp_temp_PDB_name() to gimp_procedurab_db_temp_name()
2003-12-19  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/plug_in.pdb: renamed gimp_temp_PDB_name()
	* tools/pdbgen/pdb/procedural_db.pdb: to gimp_procedurab_db_temp_name()

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

	* app/pdb/internal_procs.c
	* app/pdb/plug_in_cmds.c
	* app/pdb/procedural_db_cmds.c
	* libgimp/gimpplugin_pdb.[ch]
	* libgimp/gimpproceduraldb_pdb.[ch]: regenerated.

	* libgimp/gimpbrushselect.c
	* libgimp/gimpfontselect.c
	* libgimp/gimpgradientselect.c
	* libgimp/gimppatternselect.c: changed accordingly.
2003-12-19 00:00:49 +00:00
Michael Natterer eb496dec99 added some missing #defines.
2003-12-19  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpcompat.h: added some missing #defines.
2003-12-18 23:07:45 +00:00
Michael Natterer a3ccdb827d libgimpwidgets/gimpfileentry.c libgimpwidgets/gimppatheditor.c moved
2003-12-18  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpfileentry.c
	* libgimpwidgets/gimppatheditor.c
	* libgimpwidgets/gimpunitmenu.c (*_class_init): moved signal
	documentation from the gtk-doc templates to comments.

	* libgimpwidgets/gimppatheditor.c (gimp_path_editor_set_path):
	emit the "path-changed" signal.

	* libgimpwidgets/gimppatheditor.[ch]: s/gpe/editor/g.

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

	* libgimpwidgets/tmpl/gimppatheditor.sgml
	* libgimpwidgets/tmpl/gimpunitmenu.sgml: removed signal
	documentation, it lives in the .c files now.

	* libgimpwidgets/tmpl/gimpwidgets.sgml: updated.
2003-12-18 13:29:16 +00:00
Dave Neary cfb6640e24 Change randomize boolean to boolean *.
2003-12-17  Dave Neary  <bolsh@gimp.org>

        * libgimpwidgets/gimpwidgets.[ch]: Change randomize boolean to
        boolean *.

        * plug-ins/gflare/gflare.c
        * plug-ins/maze/maze_face.c
        * plug-ins/common/plasma.c
        * plug-ins/common/sinus.c
        * plug-ins/common/snoise.c:
        * plug-ins/common/blur.c
        * plug-ins/common/randomize.c: Modify appropriately.
2003-12-17 14:49:56 +00:00
Dave Neary 5907708efa Change signature of gimp_random_seed_new() to allow caller to specify that
2003-12-17  Dave Neary  <bolsh@gimp.org>

        * libgimpwidgets/gimpwidgets.[ch]: Change signature of
        gimp_random_seed_new() to allow caller to specify that he wants to
        use a random seed rather than the specified seed. Previously it was
        up to the caller to initialise the seed.

        * plug-ins/gflare/gflare.c
        * plug-ins/maze/maze_face.c
        * plug-ins/common/
        * plug-ins/common/plasma.c
        * plug-ins/common/sinus.c
        * plug-ins/common/snoise.c: Trivial modifications of call to
        gimp_random_seed_new() with FALSE.

        * plug-ins/common/blur.c
        * plug-ins/common/randomize.c: Modify PDB routines and tool options
        to allow a random seed to be specified. Useful for scripts. Reverts
        PDB to 1.2 state. Fixes bug #129529.
2003-12-17 14:39:38 +00:00
Dave Neary 74f546d714 Destroy widget, not data.
2003-12-17  Dave Neary  <bolsh@gimp.org>

        * plug-ins/script-fu/script-fu-server.c: Destroy widget, not data.
2003-12-17 14:20:09 +00:00
Michael Natterer 2435a2c858 removed trailing whitspace.
2003-12-17  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-contiguous-region.c: removed trailing
	whitspace.
2003-12-17 13:16:23 +00:00
Michael Natterer 37a9a0838d restore the cap_style and join_style properties for the XOR GdkGC to the
2003-12-17  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpcanvas.c (gimp_canvas_gc_new): restore the
	cap_style and join_style properties for the XOR GdkGC to the
	values GimpDrawTool's GC used to have. Fixes the result of
	gdk_draw_segments().

	* app/tools/gimpfuzzyselecttool.c (gimp_fuzzy_select_tool_motion):
	CLAMP the threshold to its possible values when setting it in the
	selection options.

	(gimp_fuzzy_select_tool_button_release): restore the original
	threshold after selecting.
2003-12-17 12:59:06 +00:00
Michael Natterer e36c2a96c7 free GimpSessionInfoAux structs using gimp_session_info_aux_free() instead
2003-12-16  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpsessioninfo.c (gimp_session_info_restore): free
	GimpSessionInfoAux structs using gimp_session_info_aux_free()
	instead of g_free() so we don't leak its members.
2003-12-16 18:06:41 +00:00
Michael Natterer 25bf860a8a multiply the layout's offsets with PANGO_SCALE, not -PANGO_SCALE. Fixes
2003-12-16  Michael Natterer  <mitch@gimp.org>

	* app/text/gimptextlayout-render.c (gimp_text_layout_render):
	multiply the layout's offsets with PANGO_SCALE, not -PANGO_SCALE.
	Fixes bug #129405.
2003-12-16 13:33:02 +00:00
Sven Neumann 085f7ebb19 fixed gtk-doc comment.
2003-12-16  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite.c (gimp_composite_init): fixed
	gtk-doc comment.

	* plug-ins/script-fu/scripts/3d-outline.scm: use enums.

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

	* app/Makefile.am: link against libgimpthumb.

	* app/app-sections.txt: updated.

	* app/app-docs.sgml
	* libgimpbase/libgimpbase-docs.sgml
	* libgimpcolor/libgimpcolor-docs.sgml
	* libgimpmath/libgimpmath-docs.sgml
	* libgimpmodule/libgimpmodule-docs.sgml
	* libgimpthumb/libgimpthumb-docs.sgml
	* libgimpwidgets/libgimpwidgets-docs.sgml: updated XInclude
	namespace URL.
2003-12-16 13:12:32 +00:00
Michael Natterer aee083e248 added more precondition checks, minor cleanup.
2003-12-16  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-edit.c: added more precondition checks, minor
	cleanup.
2003-12-16 12:41:17 +00:00
Michael Natterer 8237301016 tools/pdbgen/pdb/image.pdb (image_add_layer_mask) don't unref the mask
2003-12-16  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/image.pdb (image_add_layer_mask)
	* tools/pdbgen/pdb/layer.pdb (layer_add_mask): don't unref the
	mask after adding it because the layer now takes ownership using
	g_object_ref()/gimp_item_sink().

	* app/pdb/image_cmds.c
	* app/pdb/layer_cmds.c: regenerated.
2003-12-16 12:39:47 +00:00
Sven Neumann 0bd63ee306 added API documentation.
2003-12-16  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumbnail.c: added API documentation.

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

	* libgimpthumb/libgimpthumb-docs.sgml
	* libgimpthumb/libgimpthumb-sections.txt
	* libgimpthumb/tmpl/gimpthumb-enums.sgml
	* libgimpthumb/tmpl/gimpthumb-error.sgml
	* libgimpthumb/tmpl/gimpthumb-utils.sgml
	* libgimpthumb/tmpl/gimpthumbnail.sgml: completed API docs for
	libgimpthumb.
2003-12-15 23:22:50 +00:00
Michael Natterer 1ff739a28c draw the selection in GTK_STATE_SELECTED's colors, not inverted. Fixed
2003-12-15  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphistogramview.[ch]: draw the selection in
	GTK_STATE_SELECTED's colors, not inverted. Fixed selection
	rendering to snap to value boundaries.
2003-12-15 17:40:31 +00:00
Michael Natterer c0c163a788 destroy "widget", not "data". Fixes bug #129364.
2003-12-15  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/convmatrix.c (response_callback): destroy "widget",
	not "data". Fixes bug #129364.
2003-12-15 11:36:43 +00:00
Manish Singh 2f78ef6d1f use get_name for the repr instead of get_filename, to be more consistent.
2003-12-14  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-image.c: use get_name for the repr instead
        of get_filename, to be more consistent.
2003-12-14 22:29:03 +00:00
Sven Neumann 7df0e1d462 plug-ins/Lighting/Makefile.am plug-ins/Lighting/lighting_apply.c
2003-12-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/Lighting/Makefile.am
	* plug-ins/Lighting/lighting_apply.c
	* plug-ins/Lighting/lighting_image.[ch]
	* plug-ins/Lighting/lighting_main.c
	* plug-ins/Lighting/lighting_preview.c
	* plug-ins/Lighting/lighting_shade.c
	* plug-ins/Lighting/lighting_ui.[ch]
	* plug-ins/MapObject/Makefile.am
	* plug-ins/MapObject/mapobject_apply.c
	* plug-ins/MapObject/mapobject_image.[ch]
	* plug-ins/MapObject/mapobject_main.c
	* plug-ins/MapObject/mapobject_preview.c
	* plug-ins/MapObject/mapobject_shade.c
	* plug-ins/MapObject/mapobject_ui.[ch]: removed remaining
	references to libgck. Use GdkRGB functionality instead.

	* configure.in
	* plug-ins/Makefile.am
	* plug-ins/makefile.msc
	* plug-ins/libgck: removed libgck.
2003-12-14 17:17:56 +00:00
Sven Neumann 23ddba32ce removed gimp_plug_in_get_path.
2003-12-14  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpui.def: removed gimp_plug_in_get_path.

	* plug-ins/Lighting/lighting_apply.c
	* plug-ins/Lighting/lighting_preview.[ch]: minor cleanup.
2003-12-14 15:41:37 +00:00
Sven Neumann aa4c77b6ad libgimpthumb/gimpthumb-error.c libgimpthumb/gimpthumb-utils.[ch] some code
2003-12-14  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumb-error.c
	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumbnail.c: some code review and addition of
	API documentation. Not finished yet...
2003-12-14 13:21:44 +00:00
Raphaël Quinet 841e90d84f Removed inclusion of libgimp/gimpmiscui.h, which is gone now. Looks like
2003-12-14  Raphaël Quinet  <quinet@gamers.org>

	* libgimp/gimpui.h: Removed inclusion of libgimp/gimpmiscui.h,
	which is gone now.  Looks like another forgotten commit.  It was
	breaking the build (ouch! bad DindinX!).  ;-)
2003-12-14 10:46:12 +00:00
David Odin b792d4ad18 Don't call gimp_plug_in_get_path(), since it doesn't really help, call
* plug-ins/FractalExplorer/Dialogs.c:
	* plug-ins/gfig/gfig.c:
	* plug-ins/gflare/gflare.c: Don't call gimp_plug_in_get_path(), since
	it doesn't really help, call gimp_gimprc_query() instead and display
	an error message in case of problem. Aka move the code from
	gimpmiscui back to these plug-ins.

	* libgimp/gimpmiscui.[ch]: removed these file.
	* libgimp/Makefile.am: changed accordlingly.

	* plug-ins/libgimpoldpreview/gimpoldpreview.c: removed
	gimp_plug_in_get_path() from here also, since I forgot to do this in
	my previous commits (ouch! bad DindinX!).

  All this partly close #125141.
2003-12-13 23:58:33 +00:00
Michael Natterer 0c8d8e13d9 added a hack that allows to dynamically allocate the strings returned by a
2003-12-13  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/procedural_db.pdb: added a hack that allows to
	dynamically allocate the strings returned by a PDB query. Construct
	more useful "blurb" and "help" strings for deprecated procedures.

	* tools/pdbgen/pdb/image.pdb: did the same change manually for
	gimp_image_add,remove_layer_mask.

	* app/pdb/procedural_db_cmds.c
	* app/pdb/image_cmds.c: regenerated.
2003-12-13 18:37:59 +00:00
Sven Neumann 57b67a92ed fixed a typo in the ChangeLog 2003-12-13 15:44:54 +00:00
David Odin 0fb0b9db83 Fixed the header part to reflect the new name of these files. 2003-12-13 15:09:39 +00:00
Manish Singh a2bf099117 Makefile.am app/composite/Makefile.am comestics.
2003-12-12  Manish Singh  <yosh@gimp.org>

        * Makefile.am
        * app/composite/Makefile.am
        * themes/Default/images/Makefile.am: comestics.

        * app/gui/color-notebook.c (color_notebook_new): no need to cast to		G_OBJECT for g_signal_connect.

        * plug-ins/common/mkgen.pl
        * plug-ins/common/plugin-defs.pl: properly handle the libgimpoldpreview
        stuff.

        * plug-ins/common/Makefile.am: regenerated.

        * plug-ins/common/decompose.c: cbrt() is in C99, so check for that
        in addition to GNU libc.
2003-12-13 03:59:41 +00:00
Hans Breuer 1baa2d4581 [ I've postponed my reservations against pangoft2/fontconfig/freetype2
2003-12-12  Hans Breuer  <hans@breuer.org>

	[
	 I've postponed my reservations against pangoft2/fontconfig/freetype2
	 usage, so The Gimp should now build with msvc without patching it.
	]

	* app/makefile.msc app/text/makefile.msc : use $(PANGOFT2_CFLAGS) etc.

	* libgimpthumb/makefile.msc : (new file)
	* makefile.msc : added libgimpthumb

	* libgimpthumb/gimpthumbnail.c : include gimpwin32-io.h
	* libgimpthumb/gimpthumb-utils.c : don't compare size pointer
	with GIMP_THUMB_SIZE_FAIL but *size

	* plug-ins/makefile.msc : handle libgimpoldpreview

	* plug-ins/common/decompose.c : define cbrt() if not __GLIBC__

	* plug-ins/common/winclipboard.c : make it compile without gimpcompat.h

	* plug-ins/imagemap/imagemap_csim_lex.c : its a generated file
	but still win32/msvc has no unistd.h

	* plug-ins/pygimp/makefile.msc : (new file) to use the binary you
	need to patch glib, see bug #98737

	* plug-ins/libgimpoldpreview.c : use <libgimp/gimp.h> instead of "gimp.h"

	* **/Makefile.am : added makefile.msc to EXTRA_DIST
2003-12-13 01:35:19 +00:00
Michael Natterer 180150ca03 removed preserve_transparency #defines. This is the last of the #defines
2003-12-12  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimplayer.h: removed preserve_transparency #defines.
	This is the last of the #defines we added before 1.2 to create a
	saner libgimp API (this time, removed the function names that were
	planned to be the new ones, because this one is just nitpicky and
	overly long).

	* libgimp/gimpcompat.h: added them here.

	* plug-ins/common/iwarp.c
	* plug-ins/common/psd.c
	* plug-ins/common/psd_save.c
	* plug-ins/common/psp.c
	* plug-ins/common/rotate.c
	* plug-ins/common/threshold_alpha.c
	* plug-ins/common/vpropagate.c
	* plug-ins/xjt/xjt.c: changed accordingly.

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

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimplayer.sgml: follow preserve_transparency removal.
2003-12-12 15:49:51 +00:00
Michael Natterer 7964ec2d3c plug-ins/FractalExplorer/Dialogs.c plug-ins/fp/fp_gtk.c
2003-12-12  Michael Natterer  <mitch@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/fp/fp_gtk.c
	* plug-ins/gfig/gfig-preview.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/maze/maze_face.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/winsnap/winsnap.c
	* plug-ins/xjt/xjt.c
	* plug-ins/common/*.c: don't set GTK_SHADOW_ETCHED_IN on
	GtkFrames, it's the default and just clutters the code.
2003-12-12 12:13:51 +00:00
Michael Natterer 2d8df2555f app/tools/gimpblendoptions.c (gimp_blend_options_gui)
2003-12-12  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpblendoptions.c (gimp_blend_options_gui)
	* app/tools/gimpcoloroptions.c (gimp_color_options_gui)
	* app/tools/gimpinkoptions.c (gimp_ink_options_gui): removed calls
	to gtk_frame_set_shadow_type (frame, GTK_SHADOW_ETCHED_IN) because
	that's the default anyway.
2003-12-12 11:41:08 +00:00
Sven Neumann 31ff0cc36c remember the size of the color picker dialog.
2003-12-12  Sven Neumann  <sven@gimp.org>

	* app/gui/dialogs.c: remember the size of the color picker dialog.
2003-12-12 11:34:53 +00:00
Michael Natterer b59f5e9057 call gimp_color_options_new, not gimp_histogram_options_new.
2003-12-12  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpcurvestool.c (gimp_curves_tool_register): call
	gimp_color_options_new, not gimp_histogram_options_new.
2003-12-12 10:53:41 +00:00
Manish Singh 8f5e1018b1 use the GtkDialog vbox instead of an uninitialized one.
2003-12-11  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/destripe.c (destripe_dialog): use the GtkDialog
        vbox instead of an uninitialized one.
2003-12-12 03:33:25 +00:00
Sven Neumann 7478a4d12a use GimpHistogramOptions instead of GimpColorOptions and connect the
2003-12-12  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcurvestool.c: use GimpHistogramOptions instead of
	GimpColorOptions and connect the options to the histogram view.
2003-12-12 00:17:04 +00:00
Michael Natterer a1c3265e09 added a hack that allows to render the histogram in a brighter color.
2003-12-12  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphistogramview.[ch]: added a hack that allows to
	render the histogram in a brighter color. Fixed initial range for
	views that are not selectable.

	* app/tools/gimpcurvestool.[ch]: replaced the GtkDrawingArea by a
	bright GimpHistogramView and render the curves tool controls on
	top of the histogram. Fixes bug #71633.
2003-12-11 23:35:17 +00:00
Sven Neumann 7f7440f03a suppress button_press events that reach the dockable widget but don't
2003-12-11  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockable.c (gimp_dockable_init): suppress
	button_press events that reach the dockable widget but don't
	originate from the title area.
2003-12-11 19:34:37 +00:00
David Odin 8be2e2dd7d Moved GimpOldPreview from libgimp/gimpmiscui to its own not installed library. 2003-12-11 18:16:47 +00:00
Michael Natterer 73cf6a00bc added properties "border-width" and "subdivisions". Fixed rendering (it
2003-12-11  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphistogramview.[ch]: added properties "border-width"
	and "subdivisions". Fixed rendering (it off-by-one worked just
	accidentially because border-width was hardcoded to 1).

	* app/widgets/gimphistogrambox.c: use the histogram view's border
	width for the color area below the histogram. Conect to the right
	signal to update the area. Added (#ifdef DEBUG_VIEW) debugging
	spinbuttons to change the histogram view's new properties on the
	fly.
2003-12-11 17:24:18 +00:00
Michael Natterer e72b406a5f applied (modified) patch from Ed Halley which adds "quintile marks". Fixes
2003-12-11  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphistogramview.[ch]: applied (modified) patch
	from Ed Halley which adds "quintile marks". Fixes bug #129050.
	Render the histogram on a base_gc background and use text_gc and
	text_aa_gc for rendering the histogram and the helper lines.
	Fixed rendering of the 1px border around the histogram. Removed
	separate drawing of baseline, left and right helper lines and draw
	a rectangle which marks the entire area of possible values. Fixed
	size_request calculation. Added missing getters. Cleanup.

	* app/tools/gimpcurvestool.c: use the same color scheme as the
	histogram.

	* app/tools/gimpcurvestool.c (curves_load,save_callback)
	* app/tools/gimplevelstool.c (levels_load,save_callback):
	gtk_window_present() the file dialog if it is already visible.
2003-12-11 13:57:03 +00:00
Sven Neumann 1bc30847cc switch off fullscreen mode on Escape key press events only. The shell
2003-12-11  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c (gimp_display_shell_events):
	switch off fullscreen mode on Escape key press events only. The shell
	should not react on the key release event it gets when a dialog is
	closed using the Escape key.
2003-12-11 12:43:48 +00:00
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