Commit Graph

3087 Commits

Author SHA1 Message Date
Sven Neumann 50d9bf30c6 use G_SQRT2; some coding style cleanups.
2004-06-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose_utils.c (create_brush): use
	G_SQRT2; some coding style cleanups.
2004-06-19 11:06:57 +00:00
Manish Singh b93b92be2d Don't use deprecated gimp_text functions, clean up font name string
2004-06-18  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/film.c: Don't use deprecated gimp_text functions,
        clean up font name string handling a bit, default is now "Monospace"
        instead of "Courier".
2004-06-19 02:17:58 +00:00
William Skaggs ec186b33b4 redid save dialog along lines suggested in bug # 138929
* plug-ins/common/jpeg.c:  redid save dialog along lines suggested
	in bug # 138929

	Only create an exif data parasite on loading file if the file actually
	contains exif data.

	Call exif data parasite "exif-data" instead of "jpeg-exif-data",
	because it should be interchangeable with TIFF exif data.
2004-06-18 22:38:45 +00:00
Sven Neumann d47121fa08 changed dependencies for blur.
2004-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/plugin-defs.pl: changed dependencies for blur.

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

	* plug-ins/common/blur.c: no need to include libgimpui.h any longer.
2004-06-16 16:17:02 +00:00
William Skaggs 4ede02e340 removed randomize and repeat options; made to run without popping a dialog 2004-06-16 15:40:56 +00:00
Sven Neumann 4d3ae147a7 applied the fix for empty colormaps (bug #143009) here as well.
2004-06-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mng.c (respin_cmap): applied the fix for empty
	colormaps (bug #143009) here as well.
2004-06-15 11:22:05 +00:00
Sven Neumann 277d09627e reindented, some minor cleanup.
2004-06-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sample_colorize.c: reindented, some minor cleanup.
2004-06-12 18:23:16 +00:00
Sven Neumann b21932ddd7 the glob() function is not available on Win32 and also isn't necessarily
2004-06-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/glob.c: the glob() function is not available on
	Win32 and also isn't necessarily UTF-8 safe. Started to add an
	alternative implementation. Right now there's just some code taken
	from GTK+ (an UTF-8 save fnmatch() implementation) and the plug-in
	does nothing useful. I will add some stripped-down glob code based
	on the code in glibc later.
2004-06-07 18:47:59 +00:00
Sven Neumann a8c5c25754 fixed a typo.
2004-06-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tileit.c (tileit_dialog): fixed a typo.
2004-06-07 11:24:28 +00:00
Sven Neumann 9a2660551c fixed a stupid cut'n'paste bug I introduced yesterday.
2004-06-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gauss.c (gauss): fixed a stupid cut'n'paste bug
	I introduced yesterday.
2004-06-06 15:42:57 +00:00
Sven Neumann 6c616c35f0 register the menu entry the new way and install a mnemonic for Gaussian
2004-06-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gauss.c (query): register the menu entry the new
	way and install a mnemonic for Gaussian Blur.
2004-06-06 11:07:08 +00:00
Sven Neumann 9a0d74f1cf applied a patch from Henrik Brix Andersen that tells the user that Curve
2004-06-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c: applied a patch from Henrik Brix
	Andersen that tells the user that Curve Bend cannot operate on
	layers with masks instead of silently applying the mask
	(bug #134748).
2004-06-05 19:22:46 +00:00
Sven Neumann d1d565ba83 plug-ins/common/plugin-defs.pl plug-ins/common/Makefile.am
2004-06-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/Makefile.am
	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c: removed the two gaussian blur
	plug-ins...

	* plug-ins/common/gauss.c: and added a merged version done by
	William Skaggs. Fixes bug #134088.
2004-06-05 19:13:36 +00:00
Sven Neumann 41d9014d99 applied a patch from Philip Lafleur that makes the plug-in handle images
2004-06-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/sgi/sgi.c: applied a patch from Philip Lafleur that
	makes the plug-in handle images with more than 4 channels. At the
	moment the extra information is discarded (bug #143673).
2004-06-05 18:46:05 +00:00
Sven Neumann 1165019859 applied a modified patch from Geert Jordaens that adds a preview to the
2004-06-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp.c: applied a modified patch from Geert
	Jordaens that adds a preview to the Unsharp Mask plug-in. Fixes
	bug #140974.
2004-06-05 17:13:21 +00:00
Sven Neumann 94ca613230 plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl added a simple
2004-06-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/glob.c: added a simple glob plug-in based on
	some old code by George Hartz. This plug-in is very useful when
	you need to do batch processing, especially from Script-Fu.
	Fixes bug #143661.
2004-06-05 14:35:43 +00:00
Sven Neumann 6982f75755 applied a modifed patch from Yeti that adds a preview to the Solid Noise
2004-06-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/snoise.c: applied a modifed patch from Yeti that
	adds a preview to the Solid Noise plug-in (bug #142587).
2004-06-05 10:52:47 +00:00
Sven Neumann 7dc1697f96 save the proper value for type of alpha channel. Fixes bug #143522; patch
2004-06-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff.c: save the proper value for type of alpha
	channel. Fixes bug #143522; patch by Philip Lafleur.
2004-06-05 10:27:47 +00:00
Sven Neumann ef2df33f9e left align toggle buttons.
2004-06-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_interface):
	left align toggle buttons.
2004-06-05 01:51:49 +00:00
Michael Natterer c399ae1fe9 renamed the values of the GimpGradientSegment* enums from GIMP_GRAD_* to
2004-06-01  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.h: renamed the values of the
	GimpGradientSegment* enums from GIMP_GRAD_* to
	GIMP_GRADIENT_SEGMENT_* because they are exported now.

	* app/core/gimp-gradients.c
	* app/core/gimpgradient.c
	* app/actions/gradient-editor-actions.c: changed accordingly.

	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2004-06-01 18:49:50 +00:00
Sven Neumann 88da8b10cc don't call gtk_entry_set_text() with a NULL text.
2004-06-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff.c: don't call gtk_entry_set_text() with a
	NULL text.
2004-06-01 17:15:56 +00:00
Sven Neumann 165aaf5f31 register as "Autocrop Image" and "Autocrop Layer".
2004-06-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/autocrop.c (query): register as "Autocrop Image"
	and "Autocrop Layer".
2004-06-01 10:45:15 +00:00
Sven Neumann caf4551bad push pixels outwards not to the center as suggested by Chad Daelhousen
2004-05-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mblur.c (mblur_zoom): push pixels outwards not
	to the center as suggested by Chad Daelhousen (bug #142968).
2004-05-31 11:42:40 +00:00
Sven Neumann d834897a52 applied patch from William Skaggs that adds the possibility to choose the
2004-05-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mblur.c: applied patch from William Skaggs that
	adds the possibility to choose the center of radial and zoom
	motion blurs (bug #113711).
2004-05-31 11:33:09 +00:00
Sven Neumann 379ca5ede8 plug-ins/imagemap/imap_cmd_gimp_guides.c
2004-05-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_cmd_gimp_guides.c
	* plug-ins/imagemap/imap_edit_area_info.c
	* plug-ins/imagemap/imap_preferences.c
	* plug-ins/imagemap/imap_settings.c: need to include gimpwidgets.h.
2004-05-30 22:38:58 +00:00
Michael Natterer 421024cc5c app/core/core-enums.h app/core/gimpgradient.[ch] app/pdb/Makefile.am
2004-05-31  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.h
	* app/core/gimpgradient.[ch]
	* app/pdb/Makefile.am
	* app/widgets/gimpgradienteditor.c
	* tools/pdbgen/Makefile.am
	* tools/pdbgen/groups.pl
	* tools/pdbgen/pdb/gradient_edit.pdb: applied a patch from Shlomi
	Fish that adds lots of gradient edit functions to
	gimpgradient.[ch] and makes them available through the PDB.
	Fixes bug #129675 and bug #129678.

	Did some cleanups / enhancments to the patch:

	* app/core/gimpgradient.[ch]: changed the naming scheme of the new
	functions and changed old functions to match the new scheme.
	Introduce a "freeze_count" and public freeze()/thaw() API which
	enables subsequent gradient changes without "dirty" being emitted
	all the time.  Added GimpGradient parameters to all functions
	which modify the gradient.

	* app/widgets/gimpgradienteditor.c: use the new freeze/thaw
	stuff to keep the gradient from updating when not in
	"Instant Update" mode.

	* app/actions/gradient-editor-commands.c: removed all gradient
	editing code and call the new core functions.

	* libgimp/Makefile.am
	* tools/pdbgen/pdb/gradient_edit.pdb: changed the namespace of all
	added functions. Generate libgimp wrappers for them..

	* app/pdb/gradient_edit_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimp_pdb.h
	* libgimp/gimpenums.h
	* libgimp/gimpgradientedit_pdb.[ch]
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: (re)generated.
2004-05-30 22:04:16 +00:00
Sven Neumann 2626b09043 applied patch from Philip Lafleur that makes Autocrop register a new
2004-05-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/autocrop.c: applied patch from Philip Lafleur
	that makes Autocrop register a new procedure that autocrops a
	single layer as requested in bug #142618.

	* tools/pdbgen/pdb/layer.pdb
	* app/pdb/layer_cmds.c
	* libgimp/gimplayer_pdb.c: fixed documentation for gimp_resize_layer.
	Patch provided by Philip Lafleur (bug #142618).
2004-05-29 11:29:37 +00:00
Sven Neumann 70b6bd6a41 plug-ins/Lighting/lighting_ui.c plug-ins/MapObject/mapobject_ui.c
2004-05-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/MapObject/mapobject_ui.c
	* plug-ins/common/warp.c
	* plug-ins/gfig/gfig.c: tooltips can't be set on a GtkComboBox so
	we need to pack it into a GtkEventBox when a tooltip is needed.
2004-05-28 13:43:11 +00:00
Sven Neumann fa079482d1 plug-ins/common/CML_explorer.c added size groups.
2004-05-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/CML_explorer.c
	* plug-ins/maze/maze_face.c: added size groups.

	* plug-ins/common/sinus.c: HIG-ified.
2004-05-28 01:12:12 +00:00
Sven Neumann 1b58a44481 tuned dialog layout for consistency.
2004-05-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/Lighting/lighting_ui.c: tuned dialog layout for
	consistency.
2004-05-28 00:21:37 +00:00
Sven Neumann 5f9ee2f401 added size groups to nicely align the widgets.
2004-05-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/warp.c: added size groups to nicely align the
	widgets.
2004-05-28 00:12:01 +00:00
Maurits Rijk c18a6a14ab Forgot to commit 2004-05-27 20:37:52 +00:00
Maurits Rijk 156373ac43 code clean-up. Improved speed a lot (500 percent for 1000 x 1000 RGB
2004-05-27  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/common/ccanalyze.c: code clean-up. Improved speed a lot
	(500 percent for 1000 x 1000 RGB image) by replacing O(n^2) algorithm
	with O(n) version.

	* plug-ins/common/gif.c
	* plug-ins/common/gih.c
	* plug-ins/common/glasstile.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/gradmap.c
	* plug-ins/common/gtm.c
	* plug-ins/common/guillotine.c: Use HIG capitalization style plus		minor code clean-up.
2004-05-27 19:00:49 +00:00
Sven Neumann a5269a0d00 handle an empty colormap. Fixes bug #143009.
2004-05-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c (respin_cmap): handle an empty colormap.
	Fixes bug #143009.
2004-05-27 15:23:56 +00:00
Maurits Rijk c679e9d0a1 code clean-up. Twice as fast now.
* plug-ins/common/video.c: code clean-up. Twice as fast now.

	* plug-ins/common/flarefx.c: removed timing stuff.
2004-05-26 18:24:54 +00:00
Maurits Rijk b2bd0545ad Use HIG capitalization style. Added GPL license in a few places.
Minor code clean-up.
2004-05-26 17:29:30 +00:00
Maurits Rijk 013cc9c3b9 Use HIG capitalization style. Added GPL license in a few places.
Minor code clean-up.
2004-05-25 20:16:07 +00:00
Sven Neumann 01ae1bdebc oops 2004-05-25 18:50:08 +00:00
Sven Neumann 3c56b0e63d Sorry, couldn't resist to finish this task...
2004-05-25  Sven Neumann  <sven@gimp.org>

	Sorry, couldn't resist to finish this task...

	* plug-ins/script-fu/script-fu-console.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-server.c: HIG-ified.
2004-05-25 18:36:52 +00:00
Sven Neumann de4a0e9add plug-ins/gimpressionist/brush.c plug-ins/gimpressionist/color.c
2004-05-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/brush.c
	* plug-ins/gimpressionist/color.c
	* plug-ins/gimpressionist/general.c
	* plug-ins/gimpressionist/gimpressionist.[ch]
	* plug-ins/gimpressionist/orientation.c
	* plug-ins/gimpressionist/orientmap.c
	* plug-ins/gimpressionist/paper.c
	* plug-ins/gimpressionist/placement.c
	* plug-ins/gimpressionist/presets.c
	* plug-ins/gimpressionist/preview.c
	* plug-ins/gimpressionist/size.c
	* plug-ins/gimpressionist/sizemap.c: HIG-ified.
2004-05-25 15:27:46 +00:00
Sven Neumann f39cbb8483 plug-ins/common/plugindetails.c plug-ins/dbbrowser/dbbrowser_utils.c
2004-05-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/plugindetails.c
	* plug-ins/dbbrowser/dbbrowser_utils.c
	* plug-ins/pagecurl/pagecurl.c: HIG-ified.
2004-05-25 13:55:42 +00:00
Sven Neumann 12d9a44686 plug-ins/print/gimp_color_window.c HIG-ified and ported to GtkFileChooser.
2004-05-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/gimp_color_window.c
	* plug-ins/print/gimp_main_window.c: HIG-ified and ported to
	GtkFileChooser.

	* plug-ins/ifscompose/ifscompose.c (ifsfile_load_response): ported
	forgotten callback to GtkFileChooser.

	* plug-ins/imagemap/imap_browse.c
	* plug-ins/imagemap/imap_file.c: finished port to GtkFileChooser.
2004-05-25 12:19:22 +00:00
Sven Neumann f70caa9cc5 plug-ins/rcm/rcm.h rearranged and HIG-ified dialog.
2004-05-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/rcm/rcm.h
	* plug-ins/rcm/rcm_dialog.[ch]: rearranged and HIG-ified dialog.
2004-05-24 22:01:56 +00:00
Sven Neumann 673939f21b fixed range check of blur type parameter (bug #142965).
2004-05-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mblur.c: fixed range check of blur type
	parameter (bug #142965).
2004-05-24 13:51:11 +00:00
Sven Neumann 1c860eb121 fixed a compiler warning.
2004-05-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/maze/maze_face.c: fixed a compiler warning.

2004-05-24  Sven Neumann  <sven@gimp.org>

	Applied a patch from Philip Lafleur (bug #142808):

	* app/paint/gimppaintcore.h: define PRESSURE_SCALE to 1.5

	* app/paint/gimpairbrush.c
	* app/paint/gimpclone.c
	* app/paint/gimpconvolve.c
	* app/paint/gimpdodgeburn.c
	* app/paint/gimperaser.c
	* app/paint/gimppaintbrush.c
	* app/paint/gimpsmudge.c: use the PRESSURE_SCALE constant.
2004-05-24 13:11:43 +00:00
Sven Neumann 55ab459dfb More fixes for bug #142996:
2004-05-23  Sven Neumann  <sven@gimp.org>

	More fixes for bug #142996:

	* plug-ins/common/postscript.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/sunras.c
	* plug-ins/common/uniteditor.c
	* plug-ins/fits/fits.c: fixed typos.
2004-05-23 21:12:29 +00:00
Henrik Brix Andersen 58e6a476ab added plug-ins/MapObject/mapobject_apply.c and plug-ins/maze/maze.h. Fixes
2004-05-23 Henrik Brix Andersen <brix@gimp.org>

* po-plugins/POTFILES.in: added plug-ins/MapObject/mapobject_apply.c
and plug-ins/maze/maze.h. Fixes part of bug #142996

* app/config/gimprc-blurbs.h
* plug-ins/gfig/gfig-spiral.c (spiral_button_press)
* plug-ins/gimpressionist/orientation.c (create_orientationpage)
* plug-ins/common/diffraction.c (diffraction_dialog)
* plug-ins/common/bumpmap.c (bumpmap_dialog)
* plug-ins/maze/maze.h
* plug-ins/MapObject/mapobject_apply.c (compute_image)
* app/tools/gimpmeasuretool.c (gimp_measure_tool_dialog_update)
* plug-ins/print/gimp_main_window.c (create_scaling_frame): marked
strings for translation, corrected small typos. Fixes part of bug
#142996
2004-05-23 12:43:13 +00:00
Sven Neumann ebb19b59f1 plug-ins/gflare/gflare.c plug-ins/gfli/gfli.c
2004-05-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/gflare/gflare.c
	* plug-ins/gfli/gfli.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/sel2path/sel2path.c
	* plug-ins/sel2path/sel2path_adv_dialog.c
	* plug-ins/sgi/sgi.c
	* plug-ins/winicon/icodialog.c: HIG-ification.
2004-05-21 11:16:27 +00:00
Maurits Rijk f02a8b618b HIG-ified, replaced deprecated widget GtkCList by GtkTreeModel/View (also
* plug-ins/imagemap/imap_*.[ch]: (partly) HIG-ified, replaced
  deprecated widget GtkCList by GtkTreeModel/View (also fixes #136893),
  use file choosers instead of file selectors, minor clean-up.
2004-05-20 20:50:23 +00:00
Sven Neumann 722d160868 plug-ins/Lighting/lighting_ui.c plug-ins/MapObject/mapobject_ui.c
2004-05-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/MapObject/mapobject_ui.c
	* plug-ins/bmp/bmpwrite.c
	* plug-ins/fits/fits.c
	* plug-ins/flame/flame.c
	* plug-ins/fp/fp.c
	* plug-ins/gfig/gfig-preview.c
	* plug-ins/gfig/gfig.c: HIG-ified.
2004-05-20 16:47:18 +00:00