Commit Graph

3477 Commits

Author SHA1 Message Date
David Odin c44f008737 cleaned it up, fixed a (documented) memory leak and the weird behaviour of
* plug-ins/common/newsprint.c: cleaned it up, fixed a (documented) memory
  leak and the weird behaviour of the resolution scales.
2004-10-23 21:29:56 +00:00
David Odin e4202235f0 added a preview.
* plug-ins/common/newsprint.c: added a preview.
2004-10-23 20:01:45 +00:00
Sven Neumann 0b43e493dd fixed non-interactive call with default values.
2004-10-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c: fixed non-interactive call with default
	values.
2004-10-22 15:26:50 +00:00
Sven Neumann 9fdf9b4a59 applied a patch by Karine Proot that adds a preview to the load dialog and
2004-10-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c: applied a patch by Karine Proot that adds
	a preview to the load dialog and a similar UI as the SVG loader.
	Fixes bug #133519 and bug #133521.
2004-10-22 13:41:15 +00:00
Kevin Cozens b21c41f80b Removed _() tag from two strings that should not have been marked for
2004-10-21 Kevin Cozens <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/script-fu.c: Removed _() tag from two strings
	that should not have been marked for translation.
2004-10-21 15:42:05 +00:00
Kevin Cozens c0ecc3c6ca Fixed spelling error.
2004-10-21  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts-fu.c: Fixed spelling error.
2004-10-21 15:07:26 +00:00
Michael Natterer 560c82156a ported to GimpPreviewArea.
2004-10-20  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/raw.c: ported to GimpPreviewArea.
2004-10-20 19:25:08 +00:00
Michael Natterer f469155dcb new plug-in from Tim Copperfield, made work with the GIMP 2.1 API by
2004-10-20  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/raw.c: new plug-in from Tim Copperfield, made
	work with the GIMP 2.1 API by Philipp Gühring, then heavily
	cleaned up and undeprecated by myself. Fixes bug #144943.

	(still uses GtkPreview, but i wanted a sane state in cvs to diff
	 against before replacing it)

	* plug-ins/common/plugin-defs.pl: changed accordingly.

	* plug-ins/common/Makefile.am: regenerated.
2004-10-20 18:18:26 +00:00
Michael Natterer c6094affa5 don't forget to set the mnemonic widgets for the labels. Fixes bug
2004-10-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/screenshot.c (shoot_dialog): don't forget to set
	the mnemonic widgets for the labels. Fixes bug #155811.
2004-10-19 12:34:30 +00:00
jaycox 165cf42ed9 don't try to save psd files that are larger than 30000 pixels in either
* plug-ins/common/psd_save.c: don't try to save psd files that are
        larger than 30000 pixels in either direction.  Fixed the rle code
        to compress more compactly.  Fixed a memmory leak in
        save_channel_data.
2004-10-19 08:22:33 +00:00
David Odin 79ae8509c4 Added a preview.
* plug-ins/common/colortoalpha.c: Added a preview.
2004-10-17 16:03:56 +00:00
David Odin 56b19e74e4 use a GimpDrawablePreview.
* plug-ins/common/glasstile.c: use a GimpDrawablePreview.
2004-10-17 14:37:45 +00:00
David Odin 41c1c53caf smallish cleanups.
* plug-ins/common/borderaverage.c: smallish cleanups.
2004-10-16 23:42:02 +00:00
David Odin 48d2f01f22 Added a preview and minor cleanups. Can someone provide useful testcases
* plug-ins/common/displace.c: Added a preview and minor cleanups.
  Can someone provide useful testcases for this plug-in?
2004-10-16 22:43:56 +00:00
Kevin Cozens 0e15d4f689 Added 'pow' used in hsv-graph.sct
2004-10-16  Kevin Cozens  <kcozens@cvs.gimp.org>

	* scripts/script-fu-compat.init: Added 'pow' used in hsv-graph.sct
2004-10-16 06:00:00 +00:00
David Odin 6f1d8b6be6 ported to GimpDrawablePreview, and removed many lines of codes.
* plug-ins/common/scatter_hsv.c: ported to GimpDrawablePreview, and
  removed many lines of codes.
2004-10-14 22:07:52 +00:00
Kevin Cozens b36de3b8c9 Fixed minor error in script. (Related to bug #153900 and compatability
2004-10-14  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/neon.scm: Fixed minor error in script.
	(Related to bug #153900 and compatability with Tiny-Fu)
2004-10-14 21:09:11 +00:00
David Odin 917bc93b7d fixed the handling of drawable with alpha.
* plug-ins/common/neon.c: fixed the handling of drawable with alpha.
2004-10-14 20:55:08 +00:00
David Odin a9fb47a132 Ported to GimpDrawablePreview, the previous preview was absolutely
* plug-ins/common/nlfilt.c: Ported to GimpDrawablePreview, the
  previous preview was absolutely useless. Done some cleanups, too.

* plug-ins/common/spread.c: remember the preview state between
  invocations.
2004-10-14 20:37:04 +00:00
David Odin 68547148e3 use a GimpDrawablePreview instead of a GimpAspectPreview, since this
* plug-ins/common/emboss.c: use a GimpDrawablePreview instead of a
  GimpAspectPreview, since this plug-in is somewhat edge-oriented and
  this makes the code simpler ;)
2004-10-14 18:11:43 +00:00
Manish Singh 95b4758bc5 Make sure we have a bpp value we can handle, and fail gracefully if not.
2004-10-14  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/bmpread.c: Make sure we have a bpp value we can
        handle, and fail gracefully if not. Fixes bug #155401.
2004-10-14 17:16:38 +00:00
Sven Neumann ca5ccbd235 changed "Home" button to "Index". "Home" is misleading and leads to
2004-10-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: changed "Home" button to "Index".
	"Home" is misleading and leads to problems in some locales (see
	bug #148120).
2004-10-14 13:40:37 +00:00
Kevin Cozens 5307a10af7 Fixed to allow use of script on original layer. (bug #155358) Fixed
2004-10-14  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/circuit.scm: Fixed to allow use of
	script on original layer.  (bug #155358)  Fixed spelling error.
2004-10-14 06:22:31 +00:00
Kevin Cozens ff38758d5a two variables were not defined before first use (bug #153900).
2004-10-13  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/add-bevel.scm: two variables were
	not defined before first use (bug #153900).
2004-10-13 22:02:26 +00:00
David Odin fe6045b9e5 Added a preview.
* plug-ins/common/colorify.c: Added a preview.
2004-10-13 21:21:48 +00:00
David Odin 3eb00e0350 added a new function to set the default cursor on preview:
* libgimpwidgets/gimppreview.[ch]: added a new function to set the
  default cursor on preview: gimp_preview_set_default_cursor().

* libgimpwidgets/gimpscrolledpreview.c: changed accordlingly.

* plug-ins/common/flarefx.c:
* plug-ins/common/nova.c: use this function.

This addresses bug #90519.
2004-10-13 18:56:28 +00:00
David Odin e31b8f6a41 Added a preview and done some cleanups.
* plug-ins/common/cubism.c: Added a preview and done some cleanups.
2004-10-13 16:58:43 +00:00
Michael Natterer c85906af87 app/actions/image-actions.c added menu branch "<Image>/Image/Guides".
2004-10-13  Michael Natterer  <mitch@gimp.org>

	* app/actions/image-actions.c
	* menus/image-menu.xml.in: added menu branch "<Image>/Image/Guides".

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/guides-from-selection.scm
	* plug-ins/script-fu/scripts/guides-new-percent.scm
	* plug-ins/script-fu/scripts/guides-new.scm
	* plug-ins/script-fu/scripts/guides-remove-all.scm: added new
	scripts from Alan Horkan. Fixes bug #119667.
2004-10-13 12:58:51 +00:00
Michael Natterer c94147a16c cleaned up and simplified the FlareCenter code even more.
2004-10-13  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/flarefx.c: cleaned up and simplified the
	FlareCenter code even more.

	* plug-ins/common/nova.c: did the same changes for the NovaCenter
	stuff.

	Also added code which sets an appropriate cursor on "realize" to
	fix bug #90519, but GimpPreview currently prevents this from
	working correctly...
2004-10-13 12:52:09 +00:00
Kevin Cozens ef19aeb3ec Fixed error in name of script used in second register line.
2004-10-12  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/asc2img.scm: Fixed error in name of
	script used in second register line.
2004-10-13 02:01:23 +00:00
Michael Natterer b921c14b33 forgot to remove N_() from gimp_plugin_menu_register().
2004-10-13  Michael Natterer  <mitch@gimp.org>

	* plug-ins/pagecurl/pagecurl.c: forgot to remove N_() from
	gimp_plugin_menu_register().
2004-10-12 23:17:49 +00:00
Sven Neumann 6076ecb234 moved out of the "Modify" placeholder. Using placeholders from Script-Fu
2004-10-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/selection-round.scm: moved out of the
	"Modify" placeholder. Using placeholders from Script-Fu breaks
	i18n.  We will need to change menu registration for scripts but
	this will have to wait..
2004-10-12 21:53:53 +00:00
Michael Natterer 8e15676423 all plug-ins except script-fu: removed the translation marks from the menu
2004-10-12  Michael Natterer  <mitch@gimp.org>

	* plug-ins/*/*.c: all plug-ins except script-fu: removed the
	translation marks from the menu paths passed to
	gimp_plugin_menu_register(). All default menu branches used by
	included plug-ins are created and translated by the core now.
2004-10-12 21:48:39 +00:00
Sven Neumann 1fca86a66d set "layers-crop" insensitive if the selection is empty.
2004-10-12  Sven Neumann  <sven@gimp.org>

	* app/actions/layers-actions.c (layers_actions_update): set
	"layers-crop" insensitive if the selection is empty.

	* plug-ins/script-fu/scripts/alien-glow-button.scm
	* plug-ins/script-fu/scripts/alien-glow-logo.scm
	* plug-ins/script-fu/scripts/basic2-logo.scm
	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm: use "Sans
	Bold" instead of "Futura_Poster". The underscore in the font name
	used to confuse intltool (bug #137029) and the freefont package
	isn't that widely used any longer anyway.
2004-10-12 15:51:43 +00:00
Sven Neumann 69d11635c4 shut up CVS 2004-10-12 08:37:32 +00:00
Manish Singh c8ca369b47 Moved from here...
2004-10-11  Manish Singh  <yosh@gimp.org>

        * plug-ins/fp/fp.c: Moved from here...

        * plug-ins/common/fp.c: ... to here.

        * plug-ins/common/plugin-defs.pl: changed accordingly.

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

        * configure.in
        * plug-ins/Makefile.am
        * plug-ins/fp: Removed directory.
2004-10-11 21:34:43 +00:00
David Odin 88a7bf6391 ported to GimpAspectPreview.
* plug-ins/common/jigsaw.c: ported to GimpAspectPreview.
2004-10-11 20:39:20 +00:00
Michael Natterer 0fa8317ed5 use a GimpSizeEntry for specifying the flare center. Fixed flare center
2004-10-11  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/flarefx.c: use a GimpSizeEntry for specifying
	the flare center. Fixed flare center dragging. Lots of cleanup.
2004-10-11 19:27:23 +00:00
Sven Neumann 9203906065 libgimpthumb/gimpthumb-utils.[ch] added an API to delete thumbnails.
2004-10-11  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumb.def: added an API to delete thumbnails.

	* app/widgets/gimpthumbbox.c (gimp_thumb_box_create_thumbnail):
	when recreating a thumbnail on user request, delete all existing
	thumbnails for it.

	* plug-ins/common/AlienMap2.c: removed unused variable.
2004-10-10 23:02:34 +00:00
David Odin cbfc867db0 ported to GimpAspectPreview, and some minor cleanups.
* plug-ins/common/AlienMap2.c: ported to GimpAspectPreview, and some minor
  cleanups.
2004-10-10 21:32:31 +00:00
David Odin e4e6bc4944 added a preview.
* plug-ins/common/vpropagate.c: added a preview.
2004-10-10 20:46:16 +00:00
David Odin f9ae0b1fa8 plug-ins/common/flarefx.c cleanups and ported to GimpDrawablePreview.
* plug-ins/common/flarefx.c
* plug-ins/common/waves.c: cleanups and ported to GimpDrawablePreview.
2004-10-10 18:15:46 +00:00
Kevin Cozens 7086d9dfa8 Added more files missing from the distribution. re/debug.c re/main.c
2004-10-09 Kevin Cozens <kcozens@cvs.gimp.org>

    * re/Makefile.am: Added more files missing from the distribution.
    * re/debug.c
    * re/main.c
    * re/regcomp.c
    * re/regerror.c
    * re/regexec.c: Changed <regex.h> to "regex.h" to emphasize local
    header is being used rather than standard libc header file.
2004-10-09 15:21:04 +00:00
Kevin Cozens af2eb68c70 ftx/Makefile.am re/Makefile.am scripts/Makefile.am
2004-10-08 Kevin Cozens <kcozens@cvs.gimp.org>

    * ftx/Makefile.am
    * re/Makefile.am
    * scripts/Makefile.am
    * scripts/images/Makefile.am
    * tiny-fu/Makefile.am
    * tinyscheme/Makefile.am: Cleaned up files, added EXTRA_DIST with
    list of files to include in a distribution. Fixed typo in filename
    in the re/Makefile.am file.
2004-10-09 04:23:59 +00:00
Sven Neumann cc87c4c2f3 handle the tile parameter identically for preview and final result. Set
2004-10-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/ripple.c: handle the tile parameter identically
	for preview and final result. Set Edges options insensitive when
	"Retain tileability" is checked. Reported by Olivier.
2004-10-08 18:29:42 +00:00
Sven Neumann 299dad1de3 invalidate the preview when the toggle buttons are used. Reported by
2004-10-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/apply_lens.c (lens_dialog): invalidate the
	preview when the toggle buttons are used. Reported by Olivier.

	* app/widgets/gimpview.c: minor cleanup.
2004-10-08 18:09:41 +00:00
Kevin Cozens cb8cb6e4f8 Changed deprecated constant ADD to CHANNEL-OP-ADD.
2004-10-07  Kevin Cozens  <kcozens@cvs.gimp.org>

    * plug-ins/script-fu/scripts/selection-round.scm: Changed deprecated
    constant ADD to CHANNEL-OP-ADD.
2004-10-07 20:03:23 +00:00
Michael Natterer 270c033695 Merged the gz and bz2 plug-ins into one generic compression handler that
2004-10-07  Michael Natterer  <mitch@gimp.org>

	Merged the gz and bz2 plug-ins into one generic compression
	handler that can be extended by adding entries to a table of
	compressor definitions:

	* configure.in: removed bz2 special casing for win32.

	* plug-ins/common/bz2.c
	* plug-ins/common/gz.c: removed.

	* plug-ins/common/compressor.c: new plug-in.

	* plug-ins/common/plugin-defs.pl: changed accordingly.

	* plug-ins/common/.cvsignore
	* plug-ins/common/Makefile.am: regenerated.
2004-10-07 16:51:06 +00:00
Kevin Cozens 7fa8c1519e Added directory name for location of scheme-private.h in include statement. 2004-10-07 05:54:42 +00:00
Kevin Cozens fcf69f02d6 Added extra files temporarily lost during the autoconf process. 2004-10-07 05:45:51 +00:00