Commit Graph

3463 Commits

Author SHA1 Message Date
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
Kevin Cozens 8431d5f219 Forgot to change the caddr to car after the API call was changed. 2004-10-06 22:09:23 +00:00
Kevin Cozens 5a420188ad Initial revision 2004-10-06 21:47:36 +00:00
Michael Natterer dc3e9ec8e4 use a scale_entry instead of a spinbutton, changed mnemonic from "R" to
2004-10-06  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/selection-round.scm: use a
	scale_entry instead of a spinbutton, changed mnemonic from "R" to
	"E", indentation.

	* plug-ins/script-fu/scripts/test-sphere.scm: s/SF_BRUSH/SF-BRUSH/
	in a comment.
2004-10-06 15:20:29 +00:00
Sven Neumann bd218b2582 applied patch by Alan Horkan that improves usability and usefulness of
2004-10-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/selection-round.scm: applied patch by
	Alan Horkan that improves usability and usefulness of this script.
	Did some code cleanup and added the old procedure for backward
	compatibility. Fixes bug #145147.

	* menus/image-menu.xml.in: renamed placeholder in Image->Select
	from "Outline" to "Modify".
2004-10-06 14:03:30 +00:00
Sven Neumann aed634d0c5 tweaed error message.
2004-10-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/postscript.c (ps_open): tweaed error message.
2004-10-06 13:18:37 +00:00
Michael Natterer 7ed9a2885c return the mask's bpp and the brush's pixmap data if it has one.
2004-10-06  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/brush.pdb: return the mask's bpp and the
	brush's pixmap data if it has one.

	* tools/pdbgen/pdb/pattern.pdb: cleaned up.

	* tools/pdbgen/pdb/image.pdb: added $deprecated = 1 to deprecated
	functions even if they are not exported to libgimp any more.

	* app/pdb/procedural_db.h (struct ProcRecord): added member
	"gboolean deprecated".

	* tools/pdbgen/app.pl
	* app/xcf/xcf.c: fill it accordingly.

	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): warn
	not only for deprecated procedured which are in the compat hach
	table, but also for procedures with deprecated flag set to TRUE.

	* app/pdb/*_cmds.c
	* libgimp/gimpbrush_pdb.[ch]
	* libgimp/gimppattern_pdb.[ch]: regenerated.

	* libgimp/gimpbrushmenu.c
	* plug-ins/gfig/gfig-style.c: changed accordingly.
2004-10-06 03:23:09 +00:00
Michael Natterer caf4786993 tools/pdbgen/pdb/brushes.pdb (brushes_get_brush_data)
2004-10-06  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/brushes.pdb (brushes_get_brush_data)
	* tools/pdbgen/pdb/gradients.pdb (gradients_sample_uniform)
	(gradients_sample_custom) (gradients_get_gradient_data)
	* tools/pdbgen/pdb/patterns.pdb (patterns_get_pattern_data):
	deprecated.

	* tools/pdbgen/pdb/brush.pdb
	* tools/pdbgen/pdb/gradient.pdb
	* tools/pdbgen/pdb/palette.pdb
	* tools/pdbgen/pdb/pattern.pdb: added replacements for the
	deprecated functions. Removed the silly feature that passing NULL
	as name operates on the current brush, pattern etc.

	* app/pdb/brush_cmds.c
	* app/pdb/brushes_cmds.c
	* app/pdb/gradient_cmds.c
	* app/pdb/gradients_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/palette_cmds.c
	* app/pdb/pattern_cmds.c
	* app/pdb/patterns_cmds.c
	* libgimp/gimpbrush_pdb.[ch]
	* libgimp/gimpbrushes_pdb.[ch]
	* libgimp/gimpgradient_pdb.[ch]
	* libgimp/gimpgradients_pdb.[ch]
	* libgimp/gimppalette_pdb.c
	* libgimp/gimppattern_pdb.[ch]
	* libgimp/gimppatterns_pdb.[ch]: regenerated.

	* libgimp/gimpbrushmenu.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimppatternmenu.c
	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/common/gradmap.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig-style.c
	* plug-ins/gflare/gflare.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/script-fu/scripts/spyrogimp.scm: changed accordingly.
2004-10-05 23:28:17 +00:00
Sven Neumann c7e1f32a29 improved the dialog a bit, needs more work.
2004-10-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/spheredesigner.c: improved the dialog a bit,
	needs more work.
2004-10-05 22:35:28 +00:00
Sven Neumann 045aeed7b9 simple change to make the script work on all image types, not only RGB.
2004-10-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/addborder.scm: simple change to make
	the script work on all image types, not only RGB.
2004-10-05 20:47:15 +00:00
Sven Neumann de178a211f added a close button. Launch the browser with the HTML focused.
2004-10-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: added a close button. Launch the
	browser with the HTML focused.
2004-10-04 23:25:38 +00:00
Sven Neumann 2284ab06cc left-justify the label.
2004-10-05  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.c (gimp_table_attach_aligned):
	left-justify the label.

	* libgimpwidgets/gimpdialog.c: if a button with GTK_RESPONSE_HELP
	is being added, hide the automatically added help button.

	* plug-ins/script-fu/script-fu-interface.c: five buttons are too
	much for the action area. Renamed the About button to Help and
	resurrected the help button in the about dialog as a way to get to
	the actual help pages (pressing F1 will get you there as well).
2004-10-04 22:59:13 +00:00
Michael Natterer 59766a4e14 - check the number of elements of array parameters against the actually
2004-10-05  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
	- check the number of elements of array parameters against
	  the actually passed array and spit a proper error message
	  instead of trashing the wire. Fixes bug #154266.
	- g_strdup()/g_free() the proc_name so it doesn't get mungled
	  by convert_string().
	- added missing implementation of INT16ARRAY return values.
	- cleaned up STRINGARRAY value implementations to work like
	  all other array values.
2004-10-04 22:00:16 +00:00
Sven Neumann 779473f292 fixed reset for SF_TEXT values.
2004-10-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_reset):
	fixed reset for SF_TEXT values.
2004-10-04 21:53:04 +00:00
Sven Neumann b42b519a54 oops, didn't meant to remove that line.
2004-10-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	oops, didn't meant to remove that line.
2004-10-04 21:35:27 +00:00