Commit graph

2879 commits

Author SHA1 Message Date
Michael Natterer 61ac7167d6 Reworked random seed handling once more:
2004-02-01  Michael Natterer  <mitch@gimp.org>

	Reworked random seed handling once more:

	* libgimpwidgets/gimpwidgets.c (gimp_random_seed_new): make sure
	the displayed random seed value is always the one which will be
	used, whether "Randomize" is checked or not.

	* plug-ins/common/blur.c
	* plug-ins/common/plasma.c
	* plug-ins/common/randomize.c
	* plug-ins/common/sinus.c
	* plug-ins/common/snoise.c
	* plug-ins/maze/algorithms.c
	* plug-ins/maze/maze.c: if running interactively, always take
	the seed value produced by the gimp_random_seed widget and don't
	touch it because the widgets honors the "randomize" toggle
	correctly now.

	For noninteractive and last_vals runs, look at the "randomize"
	boolean and generate a seed if it is TRUE.

	Initialize the random number generators from the seed determined
	by either of the above ways and don't fiddle with it in the inner
	algorithms itself.

	* plug-ins/gflare/gflare.c (plugin_run): initialize the GRand
	from the seed unconditionally.

	(ed_make_page_sflare): no need to get the entry from the random
	seed widget to get its adjustment. Instead get the adjustment
	directly.

	(The random handling code of gflare looks somewhat broken, but
	that applies to the whole plug-in).
2004-02-01 13:22:09 +00:00
Manish Singh 5f87334f0c use G_VA_COPY for copying va_lists.
2004-01-31  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/tiff.c (tiff_warning): use G_VA_COPY for copying
        va_lists.
2004-02-01 00:45:49 +00:00
Dave Neary 95ed7031f4 libgimpwidgets/gimpwidgets.c Modify random seed widget to allow the user
2004-02-01  Dave Neary  <bolsh@gimp.org>

        * libgimpwidgets/gimpwidgets.c
        * libgimpwidgets/gimpwidgets.h: Modify random seed widget to
        allow the user to specify that a seed should be chosen
        randomly for them (useful to allow re-running random plug-ins
        several times to get several different results).

        * plug-ins/common/blur.c
        * plug-ins/common/plasma.c
        * plug-ins/common/randomize.c
        * plug-ins/common/sinus.c
        * plug-ins/common/snoise.c
        * plug-ins/gflare/gflare.c
        * plug-ins/maze/algorithms.c
        * plug-ins/maze/maze.c
        * plug-ins/maze/maze.h
        * plug-ins/maze/maze_face.c: Changed appropriately.

        This fixes bug #129529.
2004-01-31 23:34:56 +00:00
Raphaël Quinet 576226c2df Do not display the warning message about unknown tags for unregistered
2004-01-31  Raphaël Quinet  <quinet@gamers.org>

	* plug-ins/common/tiff.c (tiff_warning, tiff_error): Do not
	display the warning message about unknown tags for unregistered
	private tags (>= 32768).  Fixes bug #131975.  Do not display the
	error message about random access not supported for images using
	JPEG compression.  Fixes bug #132297.  It would be better to allow
	the user to customize which messages should be displayed or not,
	but this can be done in a future release.
2004-01-31 22:01:34 +00:00
Sven Neumann 6293dee279 map the Home button to "index.html" and removed the Index button for now.
2004-01-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: map the Home button to
	"index.html" and removed the Index button for now.
2004-01-30 14:24:21 +00:00
Michael Natterer a6a21841a1 fixed help ID.
2004-01-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/rcm/rcm_dialog.c (rcm_dialog): fixed help ID.

	* plug-ins/rcm/rcm.[ch]
	* plug-ins/rcm/rcm_callback.[ch]
	* plug-ins/rcm/rcm_dialog.[ch]
	* plug-ins/rcm/rcm_gdk.[ch]
	* plug-ins/rcm/rcm_misc.[ch]: completely reindented, removed
	overly long /*---...---*/ comment lines, fixed spacing.
2004-01-30 11:53:28 +00:00
Dave Neary 87e1ea554c Removed duplicate TIFF entry from save dialog, and made the save handler
2004-01-28  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/tiff.c: Removed duplicate TIFF entry from save
        dialog, and made the save handler point to the one that doesn't
        pre-multiply by alpha. Reported on gimp-user by misfit-x. Also
        changed default value to not destroy data on save.
2004-01-28 12:30:00 +00:00
Pedro Gimeno a0b7d6d569 Fix typo that prevented using the inverse of the golden ratio (1/g) as a
2004-01-28  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/script-fu/scripts/grid-system.scm: Fix typo that prevented
	using the inverse of the golden ratio (1/g) as a weight in the list.
2004-01-28 11:27:44 +00:00
Manish Singh 86a2462143 validate the types of the individual list members when passing parasites.
2004-01-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call): validate
        the types of the individual list members when passing parasites.
        Fixes #93806.
2004-01-28 08:35:10 +00:00
Manish Singh 1a8bbe30e3 removed unused variable.
2004-01-27  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/plugindetails.c: removed unused variable.

        * plug-ins/common/nlfilt.c: declare nlfiltRow as inline in the
        function definition as well.
2004-01-28 03:11:49 +00:00
Manish Singh 21c0369105 use AM_PATH_GIMPPRINT to get some additional sanity checks.
2004-01-27  Manish Singh  <yosh@gimp.org>

        * configure.in: use AM_PATH_GIMPPRINT to get some additional
        sanity checks.

        * acinclude.m4: define AM_PATH_GIMPPRINT here, so we don't have
        add a new autogen dependency.

        * plug-ins/print/Makefile.am: Use GIMPPRINT_{CFLAGS,LIBS}
2004-01-28 02:35:08 +00:00
Dave Neary e498c09743 Apply patch from Andrey Kiselev to improve defaults when there is no
2004-01-27  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/tiff.c: Apply patch from Andrey Kiselev to
        improve defaults when there is no photometric specified for
	CCITT encoded tiffs. Closes bug #131902.
2004-01-27 19:19:54 +00:00
Sven Neumann eb7f89b909 applied a patch from Pedro Gimeno to make the logo behave more like it
2004-01-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/comic-logo.scm: applied a patch from
	Pedro Gimeno to make the logo behave more like it used to in 1.2
	(bug #132493).
2004-01-27 13:38:19 +00:00
Sven Neumann e753735a3a plug-ins/gimpressionist/brush.c plug-ins/gimpressionist/gimp.c
2004-01-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/brush.c
	* plug-ins/gimpressionist/gimp.c
	* plug-ins/gimpressionist/gimpressionist.[ch]
	* plug-ins/gimpressionist/paper.c
	* plug-ins/gimpressionist/presets.c: fixed a crash (bug #132027),
	got rid of some possible buffer overflows and fixed platform issues
	like hardcoding '/' as the path separator.
2004-01-27 01:44:55 +00:00
Michael Natterer dc3ac41965 add the layer to the image before pasting to it. Fixes bug #132504.
2004-01-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/unsharp-mask.scm: add the layer to
	the image before pasting to it. Fixes bug #132504.

	Fixed the underlying problem: make it impossible to attach
	floating selections to drawables which are not currently part of
	the image's layer or channel stacks.
	Also cleaned up image <-> floating_sel interaction:

	* app/core/gimplayer-floating-sel.[ch] (floating_sel_attach):
	added assertion that the drawable is part of the image (see below).
	Don't call gimp_image_floating_selection_changed(), it's emitted
	by gimp_image_add_layer() now.

	(floating_sel_remove)
	(floating_sel_anchor): don't emit "floating_selection_changed",
	it's emitted by gimp_image_remove_layer() now.

	(floating_sel_anchor): removed the fix for bug #132162 because
	gimp_image_remove_layer() behaves correctly now (see below).

	Renamed floating_sel_reset() to floating_sel_activate_drawable().
	Added g_return_if_fail() all over the place.

	* app/core/gimpimage.[ch]: added new function gimp_image_owns_item()
	which return TRUE if the passed item is part of the image.

	(gimp_image_add_layer): emit "floating_selection_changed" here if
	needed.

	(gimp_image_remove_layer): emit "floating_selection_changed" if
	needed, don't try to activate a layer if we called
	floating_sel_activate_drawable().
	This is the real fix for bug #132162.

	* app/core/gimpimage-undo-push.c (undo_pop_layer): apply the same
	fixes as to gimp_image_add,remove_layer(). Don't call
	gimp_drawable_invalidate_preview() on the previously active layer
	because that's done by gimp_image_set_active_layer() now.

	* app/xcf/xcf-load.c: remember the "floating_sel_drawable" in the
	XcfInfo struct and attach it *after* all layers and channels are
	loaded to avoid attaching the floating selection to an
	out-of-image drawable.

	* app/core/gimp-edit.c (gimp_edit_paste)
	* app/core/gimpdrawable-transform.c (gimp_drawable_transform_affine,
	gimp_drawable_transform_flip, gimp_drawable_transform_rotate)
	* app/core/gimpselection.c (gimp_selection_float)
	* app/text/gimptext-compat.c (text_render): added checks for
	gimp_image_owns_item() in all functions which can produce
	floating selections.

	* tools/pdbgen/pdb/edit.pdb
	* tools/pdbgen/pdb/floating_sel.pdb
	* tools/pdbgen/pdb/selection.pdb
	* tools/pdbgen/pdb/text_tool.pdb
	* tools/pdbgen/pdb/transform_tools.pdb: added checks for
	gimp_item_owns_image() and return an execution error if invoked
	with a drawable which is not part of the image.

	* app/pdb/edit_cmds.c
	* app/pdb/floating_sel_cmds.c
	* app/pdb/selection_cmds.c
	* app/pdb/text_tool_cmds.c
	* app/pdb/transform_tools_cmds.c: regenerated.
2004-01-26 15:34:47 +00:00
Manish Singh d403e02315 use GSpawn instead of popen, -dBATCH, fixes #108659 for this plugin.
2004-01-25  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/postscript.c: use GSpawn instead of popen, -dBATCH,
        fixes #108659 for this plugin. Thanks to Peter Kirchgessner for the
        patch.
2004-01-25 23:46:24 +00:00
Simon Budig 40f40c8570 properly use src_rgn.rowstride when initializing the target region. Fixes
2004-01-23  Simon Budig  <simon@gimp.org>

	* plug-ins/common/mosaic.c: properly use src_rgn.rowstride when
	initializing the target region. Fixes bug #132271.
2004-01-23 22:42:28 +00:00
Henrik Brix Andersen 4b4e3338ab s/ps/postscript/ to shut up cvs.
2004-01-23 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/common/.cvsignore: s/ps/postscript/ to shut up cvs.
2004-01-23 10:30:58 +00:00
Manish Singh e095443053 plug-ins/common/plugin-defs.pl renamed ps to postscript, so automake
2004-01-22  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/plugin-defs.pl
        * plug-ins/common/Makefile.am: renamed ps to postscript, so automake
        doesn't get confused.
2004-01-22 23:04:53 +00:00
Michael Natterer 7d93951d3b plug-ins/common/gbr.c store the brush/pattern's name in a parasite
2004-01-22  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/gbr.c
	* plug-ins/common/pat.c: store the brush/pattern's name in a
	parasite attached to the image. The parasite overrides the
	RUN_WITH_LAST_VALS logic if it exists. Consistently set the
	description as the layer's name, but ignore the layer's name
	when saving because it may have been modified by exporting.
	Fixes bug #131450.

	Misc. cleanup/fixes: Don't assume that strncpy() nul-terminates
	the buffer, use sizeof() instead of magic numbers, sanitize
	descriptions using gimp_any_to_utf8(), always use strncpy()
	instead of strcpy().

	* devel-docs/parasites.txt: document the "gimp-brush-name" and
	"gimp-pattern-name" parasites.
2004-01-22 14:04:45 +00:00
Manish Singh a8a6ecf9cf configure.in renamed obnoxiously long fractalexplorer-examples directory
2004-01-21  Manish Singh  <yosh@gimp.org>

        * configure.in
        * plug-ins/FractalExplorer/Makefile.am: renamed obnoxiously long
        fractalexplorer-examples directory to simply examples.
2004-01-22 04:09:12 +00:00
Manish Singh 9db6153f09 modernized, made a lot of things m4 macros, and made versioning a lot more
2004-01-21  Manish Singh  <yosh@gimp.org>

        * configure.in: modernized, made a lot of things m4 macros, and made
        versioning a lot more finegrained, in anticipation for post-2.0.

        * autogen.sh: bumped up libtool and glib minimum requirements to match
        reality.

        * gimp-2.0.pc.in
        * gimpthumb-2.0.pc.in
        * gimpui-2.0.pc.in: adapted to new versioning variables, and bring
        in RT_LIBS when needed.

        * */*/Makefile.am: adapted to new versioning variables.
2004-01-22 03:51:46 +00:00
David Odin 32bb528d0e correctly resize both panels of the GTK_PANED. This fixes bugs #132032.
* plug-ins/common/plugindetails.c: correctly resize both panels of the
	GTK_PANED. This fixes bugs #132032.

	This plug-ins still needs work.
2004-01-21 15:27:48 +00:00
Michael Natterer 0418750367 added help IDs for the libgimp export and unit dialogs.
2004-01-20  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphelp-ids.h: added help IDs for the libgimp
	export and unit dialogs.

	* libgimp/gimpexport.c
	* libgimpwidgets/gimpunitmenu.c: replaced html links by the new
	help IDs.

	* plug-ins/*/*.c: replaced all html help links by help IDs. A
	plug-in's help ID is its procedure name with '_' relaced by '-'.

	(e.g. file_tiff_save's help ID is file-tiff-save)

	Did some random indentation and whitespace cleanup.
2004-01-20 17:10:16 +00:00
Michael Natterer 8096cef139 plug-ins/common/mail.c use more already translated standard file error
2004-01-20  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/mail.c
	* plug-ins/common/mng.c: use more already translated standard file
	error messages. Some cleanup.
2004-01-20 11:24:14 +00:00
Pedro Gimeno 5ad621348b Call gimp_drawable_detach() after gimp_drawable_get() to plug a leak.
2004-01-19  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/common/ccanalyze.c (analyze): Call gimp_drawable_detach()
	after gimp_drawable_get() to plug a leak.
2004-01-19 22:47:58 +00:00
Michael Natterer 7f6dd5bf7a plug-ins/common/bz2.c plug-ins/common/gz.c plug-ins/common/hrz.c
2004-01-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/bz2.c
	* plug-ins/common/gz.c
	* plug-ins/common/hrz.c
	* plug-ins/common/pnm.c
	* plug-ins/sgi/sgi.c: marked some forgotten strings for
	translation and use translated standard file error messages (no
	new strings introduced), some indentation and cleanup.
2004-01-19 13:29:25 +00:00
Michael Natterer 4baf36127a plug-ins/bmp/bmpread.c plug-ins/common/gif.c plug-ins/common/jpeg.c
2004-01-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/bmp/bmpread.c
	* plug-ins/common/gif.c
	* plug-ins/common/jpeg.c
	* plug-ins/common/pcx.c
	* plug-ins/common/pix.c
	* plug-ins/common/pnm.c
	* plug-ins/common/sunras.c
	* plug-ins/common/xpm.c
	* plug-ins/xjt/xjt.c: some more gimp_filename_to_utf8().
2004-01-19 11:13:35 +00:00
Michael Natterer fba87654d6 plug-ins/FractalExplorer/Dialogs.c
2004-01-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/bmp/bmpread.c
	* plug-ins/bmp/bmpwrite.c
	* plug-ins/common/CEL.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/bz2.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/dicom.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gif.c
	* plug-ins/common/gifload.c
	* plug-ins/common/gih.c
	* plug-ins/common/gtm.c
	* plug-ins/common/gz.c
	* plug-ins/common/hrz.c
	* plug-ins/common/jpeg.c
	* plug-ins/common/mail.c
	* plug-ins/common/pat.c
	* plug-ins/common/pcx.c
	* plug-ins/common/png.c
	* plug-ins/common/pnm.c
	* plug-ins/common/ps.c
	* plug-ins/common/psd.c
	* plug-ins/common/psd_save.c
	* plug-ins/common/psp.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/common/sunras.c
	* plug-ins/common/svg.c
	* plug-ins/common/tga.c
	* plug-ins/common/tiff.c
	* plug-ins/common/wmf.c
	* plug-ins/common/xbm.c
	* plug-ins/common/xpm.c
	* plug-ins/common/xwd.c
	* plug-ins/faxg3/faxg3.c
	* plug-ins/fits/fits.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gfli/gfli.c
	* plug-ins/gimpressionist/ppmtool.c
	* plug-ins/helpbrowser/domain.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/sgi/sgi.c
	* plug-ins/xjt/xjt.c: use gimp_filename_to_utf8() for filenames
	passed to g_message() and gimp_progress_init(). Definitely missed
	lots of other places but it's a start...
2004-01-19 03:06:04 +00:00
Pedro Gimeno e4467c1d5a plug-ins/common/compose.c (compose) fixed a lack of refresh in the layer
2004-01-19  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/common/compose.c (compose)
	* plug-ins/common/decompose.c (decompose): fixed a lack of refresh
	in the layer previews by adding calls to gimp_drawable_update()
	where appropriate. Removed redundant gimp_drawable_flush() calls.
2004-01-19 00:16:14 +00:00
David Odin a6be2ef0a1 fixed a stupid bug which could crashes with non square images. Done some
* plug-ins/common/nova.c: fixed a stupid bug which could crashes with
non square images. Done some cleanup also.
2004-01-18 23:02:55 +00:00
David Odin 31c507c288 Show the description of params in dialog boxes, rather than the internal
* plug-ins/pygimp/gimpfu.py: Show the description of params in dialog
	boxes, rather than the internal variable name.  This is more
	consistent with script-fu.  (reported by Florian Traverse)
2004-01-17 14:05:40 +00:00
Manish Singh 1f943fecb0 some cleanup, restore old internal names.
2004-01-16  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/plugindetails.c: some cleanup, restore old internal         names.
2004-01-17 00:26:49 +00:00
Dave Neary c40b7bb0de Apply a (modified) patch from Pablo d'Angelo to enable saving of a
2004-01-16  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/tiff.c: Apply a (modified) patch from Pablo
        d'Angelo to enable saving of a non-premultiplied alpha channel
        and provide an UI to use it (a checkbox and extra PDB
        procedure). Fixes bug #131030.
2004-01-16 21:28:31 +00:00
David Odin 32ee5e7cb2 Do not display the color button or the "Random Hue" range when applying to
* plug-ins/common/nova.c: Do not display the color button or the
	"Random Hue" range when applying to a grayscale image.
2004-01-15 21:53:19 +00:00
David Odin 15234e8923 Re-write some parts of the algorithm. This should fix #82464, #71922 and #121966. 2004-01-15 21:08:21 +00:00
Michael Natterer c7fbda3453 removed GIMP_HELP_DEFAULT_DOMAIN #define...
2004-01-15  Michael Natterer  <mitch@gimp.org>

	* plug-ins/helpbrowser/helpbrowser.c: removed
	GIMP_HELP_DEFAULT_DOMAIN #define...

	* plug-ins/helpbrowser/domain.h: ...and added it here.

	* plug-ins/helpbrowser/domain.c: fixed the fix for bug #128112:
	don't compare the help domain's base uri (which is variable) but
	the help domain's name (which is constant). Re-added removed
	information to the error message while keeping its user
	readability. Marked g_message() strings for translation.
2004-01-15 20:07:51 +00:00
David Odin 2f49ddd717 Somewhat resurrected the SuperNova plugin. Still very buggy, though. 2004-01-15 16:21:17 +00:00
Dave Neary 955de22e46 Modify error messages shown when help files cannot be opened. For the main
2004-01-15  Dave Neary  <bolsh@gimp.org>

        * plug-ins/helpbrowser/domain.c: Modify error messages shown when
	help files cannot be opened. For the main GIMP help domain, the
        error message is now "Failed to open help files:\nTheGIMP help files
        are not installed." and in the general case "Failed to open help
        files:\nThe requested help file %s could not be opened.\nPlease check
        your installation." This fixes bug #128112.
2004-01-15 12:51:28 +00:00
David Odin 7ec4987e35 clean up the code (use gimp_table_attach_aligned() where needed).
* plug-ins/common/plugindetails.c: clean up the code (use
	gimp_table_attach_aligned() where needed).

	* plug-ins/dbbrowser/dbbrowser.c:
	* plug-ins/dbbrowser/dbbrowser_utils.c: changed tabs to spaces.
2004-01-14 23:10:45 +00:00
David Odin 82e0e39dbf Callbacks attached to the "changed" signal for of GtkTreeSelection should return void.
Small cosmetics fixes also.
2004-01-14 10:50:58 +00:00
Michael Natterer 8394e9e0f1 removed GimpChannelLutType enum and export GimpHistogramChannel to the
2004-01-13  Michael Natterer  <mitch@gimp.org>

	* app/base/base-enums.h: removed GimpChannelLutType enum and
	export GimpHistogramChannel to the PDB. The removed enum was just
	there for libgimp compatibility.

	* tools/pdbgen/pdb/color.pdb: changed accordingly.

	* libgimp/gimpcompat.h
	* plug-ins/script-fu/siod-wrapper.c: added compat cruft.

	* app/pdb/color_cmds.c
	* libgimp/gimpcolor_pdb.[ch]
	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2004-01-13 16:19:50 +00:00
Sven Neumann bcfea54c59 use g_ascii_strtod() instead of the locale-dependant atof().
2004-01-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/CML_explorer.c (parse_line_to_gdouble): use
	g_ascii_strtod() instead of the locale-dependant atof().
2004-01-12 09:19:49 +00:00
Sven Neumann e001af7673 render a grayscale preview when the plug-in is run on a grayscale drawable
2004-01-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/CML_explorer.c: render a grayscale preview when
	the plug-in is run on a grayscale drawable (fixes bug #82465).
2004-01-12 08:15:03 +00:00
Sven Neumann 4a8f3f7257 libgimpbase/gimpsignal.h removed remaining EMX ifdefs spotted by David
2004-01-11  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpsignal.h
	* plug-ins/gfig/gfig-preview.c: removed remaining EMX ifdefs spotted
	by David Odin.
2004-01-11 22:44:52 +00:00
David Odin 0f0ecb0f9b Converted GtkCList and GTKCTree to GtkTreeModels/Views.
Fixed some memory leaks while I was at it.
Please note that this is a work in progress.
This plug-in was very broken, and still needs some work to be useful and less ugly.
2004-01-11 22:00:06 +00:00
Tor Lillqvist 6ee79a7530 Convert to native encoding (if requested) only after expanding completely.
2004-01-11  Tor Lillqvist  <tml@iki.fi>

	* app/config/gimpconfig-path.c: Convert to native encoding (if
	requested) only after expanding completely. (Mentioned in #130118,
	patch by Sven.)

	* app/base/tile-swap.c
	* app/pdb/image_cmds.c
	* app/plug-in/plug-in.c
	* libgimp/gimp.c
	* libgimpbase/gimpdatafiles.c
	* libgimpbase/gimpenv.c
	* libgimpmodule/gimpmoduledb.c
	* plug-ins/common/bz2.c
	* plug-ins/common/gz.c
	* plug-ins/common/mail.c
	* plug-ins/common/ps.c
	* plug-ins/common/url.c
	* plug-ins/gfig/gfig-preview.c
	* plug-ins/helpbrowser/helpbrowser.c
	* plug-ins/print/print.c
	* plug-ins/script-fu/script-fu-scripts.c
	* tools/pdbgen/pdb/image.pdb: Remove __EMX__ ifdefs. EMX port is
	unmaintained, presumed dead. (#131109)
2004-01-11 21:25:24 +00:00
Dov Grobgeld a9ed4eb605 fixed bug in registration of supported image types.
* plug-ins/common/CEL.c: fixed bug in registration of supported image
types.
2004-01-11 20:10:14 +00:00
Pedro Gimeno 672f27dde9 Apply threshold to alpha in the same way as it is applied to the image in
2004-01-11  Pedro Gimeno  <pggimeno@wanadoo.es>

	* app/core/gimpdrawable-preview.c (gimp_drawable_preview_scale):
	Apply threshold to alpha in the same way as it is applied to the
	image in indexed mode. Fixes bug #115793, at least until the
	alpha thresholds in indexed images are removed.

	* plug-ins/FractalExplorer/Display.c: Fix zoom undo handling
	issues. Closes bug #82478.
2004-01-11 17:39:28 +00:00
Michael Natterer 5a85f09261 changed (mostly rewritten) to correctly create patterns from drawables
2004-01-10  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/select-to-pattern.scm: changed
	(mostly rewritten) to correctly create patterns from drawables
	with or without alpha. Also work correctly with or without a
	currently active selection. Fixes bug #131088.
2004-01-10 15:16:58 +00:00