Commit Graph

11720 Commits

Author SHA1 Message Date
Michael Natterer 047a01e24f when focussing the widget, select the palette's first entry if none is
2005-08-17  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppaletteview.c (gimp_palette_view_focus): when
	focussing the widget, select the palette's first entry if none is
	selected. Enables cursor navigation after tabbing in.
2005-08-17 01:25:20 +00:00
Sven Neumann 95e014f514 fixed boundary conditions.
2005-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/deinterlace.c: fixed boundary conditions.
2005-08-17 01:22:36 +00:00
Akkana Peck f518fbf0ec Rename "Grid" to "Divisions" to avoid confusion with the existing grid
* plug-ins/script-fu/scripts/grid-system.scm: Rename "Grid" to
"Divisions" to avoid confusion with the existing grid plug-in;
move into Render->Pattern along with the other Grid plug-in.
2005-08-17 01:16:14 +00:00
Michael Natterer 1e483fcb10 return FALSE on TAB_FORWARD and TAB_BACKWARD. Enables tabbing out of the
2005-08-17  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppaletteview.c (gimp_palette_view_focus): return
	FALSE on TAB_FORWARD and TAB_BACKWARD. Enables tabbing out of the
	widget.
2005-08-17 00:39:44 +00:00
Michael Natterer f330b768bb app/actions/layers-actions.c app/actions/plug-in-actions.c moved all color
2005-08-17  Michael Natterer  <mitch@gimp.org>

	* app/actions/layers-actions.c
	* app/actions/plug-in-actions.c
	* app/actions/image-actions.c: moved all color menu actions to
	image-actions.c because that's the place where we collect menu
	actions of menus that don't have its own foo-actions.c file.
	Renamed them all to "colors-foo-menu".

	* menus/image-menu.xml.in: changed accordingly.
2005-08-16 22:56:16 +00:00
Akkana Peck 48a5711ed4 app/actions/image-actions.c Fix formatting.
* app/actions/image-actions.c
* app/actions/plug-in-actions.c: Fix formatting.
2005-08-16 22:30:54 +00:00
Akkana Peck 3cff59d7ef menus/image-menu.xml.in app/actions/image-actions.c
* menus/image-menu.xml.in
* app/actions/image-actions.c
* app/actions/plug-in-actions.c
* plug-ins/common/compose.c
* plug-ins/common/decompose.c
* plug-ins/common/vinvert.c:
Remove erroneous extra *compose entries, and move *compose into
a Components submenu (re IRC discussion); move Value Invert to
near Invert (suggested by mitch)
2005-08-16 22:16:37 +00:00
Sven Neumann 19e7e076dc added utility function gimp_container_view_install_properties() to reduce
2005-08-16  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainerview.[ch]: added utility function
	gimp_container_view_install_properties() to reduce code duplication
	in classes implementing this interface.

	* app/widgets/gimpcontainerbox.c
	* app/widgets/gimpcontainercombobox.c
	* app/widgets/gimpcontainerentry.c: changed accordingly.
2005-08-16 11:40:04 +00:00
Sven Neumann f2a786ec99 configure.in redid the libgnomeui and gnome-vfs checks so that pkg-config
2005-08-16  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/uri/Makefile.am: redid the libgnomeui and gnome-vfs
	checks so that pkg-config combines the compiler and linker flags
	instead of concatenating them in the Makefile.
2005-08-16 10:40:53 +00:00
Akkana Peck c911a1a354 app/actions/image-actions.c app/tools/gimpaligntool.c
* app/actions/image-actions.c
	* app/tools/gimpaligntool.c
	* menus/image-menu.xml.in
	* plug-ins/common/AlienMap2.c
	* plug-ins/common/autostretch_hsv.c
	* plug-ins/common/borderaverage.c
	* plug-ins/common/c_astretch.c
	* plug-ins/common/ccanalyze.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/color_enhance.c
	* plug-ins/common/colorify.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/compose.c
	* plug-ins/common/decompose.c
	* plug-ins/common/exchange.c
	* plug-ins/common/fp.c
	* plug-ins/common/gradmap.c
	* plug-ins/common/hot.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/max_rgb.c
	* plug-ins/common/normalize.c
	* plug-ins/common/retinex.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/semiflatten.c
	* plug-ins/common/smooth_palette.c
	* plug-ins/common/vinvert.c
	* plug-ins/rcm/rcm.c
	* plug-ins/script-fu/scripts/hsv-graph.scm: Move all color-related
	functions from the Image and Filters menus to a new toplevel
	Colors menu (as discussed in bug 116145).
2005-08-16 01:08:06 +00:00
Sven Neumann da9eb037c7 define G_DISABLE_DEPRECATED unless glib >= 2.9.0.
2005-08-16  Sven Neumann  <sven@gimp.org>

	* configure.in: define G_DISABLE_DEPRECATED unless glib >= 2.9.0.

	* app/core/gimpscanconvert.c: added missing include.

	* app/text/gimp-fonts.c
	* libgimp/gimp.c
	* libgimpwidgets/gimpcolornotebook.c
	* plug-ins/helpbrowser/dialog.c: fixed signedness warnings.

	* plug-ins/bmp/bmpread.c (ReadBMP): initialize variable.
2005-08-16 00:48:20 +00:00
Manish Singh 7ac320d745 fix reversed libgnomeui conditional test for the AC_DEFINE.
2005-08-15  Manish Singh  <yosh@gimp.org>

        * configure.in: fix reversed libgnomeui conditional test for
        the AC_DEFINE.
2005-08-15 22:51:43 +00:00
Michael Natterer 56f255ad3d plug-ins/common/tga.c plug-ins/common/threshold_alpha.c
2005-08-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/tga.c
	* plug-ins/common/threshold_alpha.c
	* plug-ins/common/tiff.c
	* plug-ins/common/tile.c
	* plug-ins/common/tileit.c
	* plug-ins/common/tiler.c
	* plug-ins/common/uniteditor.c
	* plug-ins/common/unsharp.c
	* plug-ins/common/video.c
	* plug-ins/common/vinvert.c
	* plug-ins/common/vpropagate.c
	* plug-ins/common/warp.c
	* plug-ins/common/waves.c
	* plug-ins/common/webbrowser.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/common/wind.c
	* plug-ins/common/winprint.c
	* plug-ins/common/wmf.c
	* plug-ins/common/xbm.c
	* plug-ins/common/xpm.c
	* plug-ins/common/xwd.c
	* plug-ins/common/zealouscrop.c: canonicalize procedure and
	parameter names. Misc cleanups.
2005-08-15 22:42:34 +00:00
Michael Natterer 1778b39f12 check for libgnomeui-2.0. Added version requirements (>= 2.10.0) for
2005-08-15  Michael Natterer  <mitch@gimp.org>

	* configure.in: check for libgnomeui-2.0. Added version
	requirements (>= 2.10.0) for libgnomeui and gnome-vfs.

	* plug-ins/uri/Makefile.am
	* plug-ins/uri/uri-backend-gnomevfs.c: if libgnomeui is available,
	call gnome_authentication_manager_init() so the URI plug-in can
	access sites that require authentication.

	(this needs more hacking so packagers can build both versions of
	the uri plug-in at the same time, since they will want to make the
	libgnomeui dependency optional)
2005-08-15 21:13:24 +00:00
Michael Natterer ebb21be0e9 plug-ins/common/randomize.c plug-ins/common/raw.c
2005-08-15  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/randomize.c
	* plug-ins/common/raw.c
	* plug-ins/common/retinex.c
	* plug-ins/common/ripple.c
	* plug-ins/common/rotate.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/scatter_hsv.c
	* plug-ins/common/screenshot.c
	* plug-ins/common/sel_gauss.c
	* plug-ins/common/semiflatten.c
	* plug-ins/common/sharpen.c
	* plug-ins/common/shift.c
	* plug-ins/common/sinus.c
	* plug-ins/common/smooth_palette.c
	* plug-ins/common/snoise.c
	* plug-ins/common/sobel.c
	* plug-ins/common/softglow.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/common/spread.c
	* plug-ins/common/struc.c
	* plug-ins/common/sunras.c
	* plug-ins/common/svg.c: canonicalize procedure and parameter
	names. Misc cleanups.
2005-08-15 19:39:02 +00:00
Manish Singh 52d9aa15c4 add an extra user data arg, so we fit the GimpDrawableConstraintFunc type.
2005-08-15  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/sample_colorize.c (smp_constrain): add an extra
        user data arg, so we fit the GimpDrawableConstraintFunc type.
2005-08-15 18:51:49 +00:00
Karine Delvare 5a9f83bd46 app/tools/gimprectangletool.[ch] transform into an interface.
2005-08-15  Karine Delvare  <kdelvare@nerim.net>

        * app/tools/gimprectangletool.[ch]
        * app/tools/gimprectangleoptions.[ch]: transform into an interface.

        * app/tools/gimpcroptool.[ch]
        * app/tools/gimpnewrectselecttool.[ch]: use the rectangletool interface.

        * app/tools/gimpcropoptions.[ch]
        * app/tools/gimpnewrectselectoptions.[ch]: use the rectangleoptions
        interface.

        * app/tools/Makefile.am: added gimpnewrectselectionoptions.[ch]
2005-08-15 14:23:28 +00:00
Sven Neumann 47f84a8b1f plug-ins/rcm/rcm_callback.c plug-ins/rcm/rcm_dialog.c redraw the previews
2005-08-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/rcm/rcm_callback.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/rcm/rcm_misc.[ch]: redraw the previews if their size
	changes. Fixes bug #172284.
2005-08-15 11:33:32 +00:00
Michael Natterer d0a5930f21 plug-ins/common/CML_explorer.c plug-ins/common/cartoon.c
2005-08-15  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/CML_explorer.c
	* plug-ins/common/cartoon.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/colorify.c
	* plug-ins/common/compose.c
	* plug-ins/common/csource.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfli/gfli.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/sgi/sgi.c: fix indentation.
2005-08-15 11:09:18 +00:00
Michael Natterer 310e8c6782 plug-ins/common/papertile.c plug-ins/common/pat.c plug-ins/common/pcx.c
2005-08-15  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/papertile.c
	* plug-ins/common/pat.c
	* plug-ins/common/pcx.c
	* plug-ins/common/photocopy.c
	* plug-ins/common/pix.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/plasma.c
	* plug-ins/common/plugin-browser.c
	* plug-ins/common/png.c
	* plug-ins/common/polar.c
	* plug-ins/common/procedure-browser.c
	* plug-ins/common/psd.c
	* plug-ins/common/psd_save.c
	* plug-ins/common/psp.c: canonicalize procedure and
	parameter names. Misc cleanups.
2005-08-15 11:07:27 +00:00
Michael Natterer 31d6857d9b make sure the opened image has a filename that cannot be saved (ok, we
2005-08-15  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/poppler.c: make sure the opened image has a
	filename that cannot be saved (ok, we don't have a PDF save
	plug-in, but PS does the same and this way it's consistent).

	* plug-ins/common/poppler.c
	* plug-ins/common/postscript.c: canonicalize procedure and
	parameter names.
2005-08-15 10:30:39 +00:00
Michael Natterer 2367234dbc applied patch from Felix Riemann that adds page counting and a page
2005-08-15  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/postscript.c: applied patch from Felix Riemann
	that adds page counting and a page selector widget to the load
	dialog.  Fixed some minor issues in the patch and added code that
	names layers and images after the document's pages. Disable undo
	on all created images and set them clean before returning them.
	Addresses bug #138495.
2005-08-15 08:48:45 +00:00
Sven Neumann c61dc13630 fixed signedness issue.
2005-08-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd_save.c: fixed signedness issue.
2005-08-15 07:52:07 +00:00
Michael Natterer 7ccfebab70 plug-ins/common/jigsaw.c plug-ins/common/laplace.c plug-ins/common/lic.c
2005-08-14  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/jigsaw.c
	* plug-ins/common/laplace.c
	* plug-ins/common/lic.c
	* plug-ins/common/mail.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/max_rgb.c
	* plug-ins/common/mblur.c
	* plug-ins/common/mng.c
	* plug-ins/common/mosaic.c
	* plug-ins/common/neon.c
	* plug-ins/common/newsprint.c
	* plug-ins/common/nlfilt.c
	* plug-ins/common/noisify.c
	* plug-ins/common/normalize.c
	* plug-ins/common/nova.c
	* plug-ins/common/oilify.c: canonicalize procedure and
	parameter names. Misc cleanups.
2005-08-14 00:41:26 +00:00
Manish Singh f9014dd585 Mention bug fixed 2005-08-13 23:57:23 +00:00
Manish Singh 41ed6b280f if the offsets of the layer are such that they are just on the border of
2005-08-13  Manish Singh  <yosh@gimp.org>

        * app/core/gimpimage-preview.c (gimp_image_get_new_preview): if the
        offsets of the layer are such that they are just on the border of
        the image, detect that and bail instead of trying to make a
        sub-preview with a 0 dimension.
2005-08-13 23:55:52 +00:00
Michael Natterer 04e116837d plug-ins/common/gauss.c plug-ins/common/gbr.c plug-ins/common/gee.c
2005-08-14  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/gauss.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gee.c
	* plug-ins/common/gee_zoom.c
	* plug-ins/common/gif.c
	* plug-ins/common/gifload.c
	* plug-ins/common/gih.c
	* plug-ins/common/glasstile.c
	* plug-ins/common/glob.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/gradmap.c
	* plug-ins/common/grid.c
	* plug-ins/common/gtm.c
	* plug-ins/common/guillotine.c
	* plug-ins/common/header.c
	* plug-ins/common/hot.c
	* plug-ins/common/illusion.c
	* plug-ins/common/iwarp.c: canonicalize procedure and
	parameter names. Misc cleanups.
2005-08-13 22:52:41 +00:00
Michael Natterer 9b75bd64ba plug-ins/common/decompose.c plug-ins/common/deinterlace.c
2005-08-13  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/decompose.c
	* plug-ins/common/deinterlace.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/destripe.c
	* plug-ins/common/dicom.c
	* plug-ins/common/diffraction.c
	* plug-ins/common/displace.c
	* plug-ins/common/dog.c
	* plug-ins/common/edge.c
	* plug-ins/common/emboss.c
	* plug-ins/common/engrave.c
	* plug-ins/common/exchange.c
	* plug-ins/common/film.c
	* plug-ins/common/flarefx.c
	* plug-ins/common/fp.c
	* plug-ins/common/fractaltrace.c: canonicalize procedure and
	parameter names. Misc cleanups.
2005-08-13 21:39:56 +00:00
David Odin 415e5dfab4 added a preview, and some minor cleanups.
* plug-ins/common/threshold_alpha.c: added a preview, and some minor
  cleanups.
2005-08-13 19:34:37 +00:00
Michael Natterer ee4eb1b0b7 plug-ins/common/AlienMap2.c plug-ins/common/CEL.c
2005-08-13  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/AlienMap2.c
	* plug-ins/common/CEL.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/aa.c
	* plug-ins/common/align_layers.c
	* plug-ins/common/animationplay.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/autocrop.c
	* plug-ins/common/autostretch_hsv.c
	* plug-ins/common/blinds.c
	* plug-ins/common/blur.c
	* plug-ins/common/borderaverage.c
	* plug-ins/common/bumpmap.c
	* plug-ins/common/c_astretch.c
	* plug-ins/common/cartoon.c
	* plug-ins/common/ccanalyze.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/checkerboard.c
	* plug-ins/common/color_enhance.c
	* plug-ins/common/colorify.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/compose.c
	* plug-ins/common/compressor.c
	* plug-ins/common/convmatrix.c
	* plug-ins/common/csource.c
	* plug-ins/common/cubism.c
	* plug-ins/common/curve_bend.c: canonicalize procedure and
	parameter names. Misc cleanups.
2005-08-13 18:29:14 +00:00
David Odin b9bc01462b added a preview, and some minor cleanups.
* plug-ins/common/checkerboard.c: added a preview, and some minor
  cleanups.
2005-08-13 16:17:43 +00:00
David Odin c62fb7beb1 shut up a Gtk-Critical Warning that happened after reopening the filter,
* plug-ins/common/sample_colorize.c: shut up a Gtk-Critical Warning
  that happened after reopening the filter, but only when a gradient had
  been selected on the previous invocation.
2005-08-12 21:45:01 +00:00
David Odin 9048b1be7c preliminary clean-ups.
* plug-ins/common/sample_colorize.c: preliminary clean-ups.
2005-08-12 20:45:27 +00:00
Michael Natterer b6b126903d plug-ins/bmp/bmp.c plug-ins/faxg3/faxg3.c plug-ins/fits/fits.c
2005-08-12  Michael Natterer  <mitch@gimp.org>

	* plug-ins/bmp/bmp.c
	* plug-ins/faxg3/faxg3.c
	* plug-ins/fits/fits.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig.[ch]
	* plug-ins/gflare/gflare.c
	* plug-ins/gfli/gfli.c
	* plug-ins/help/help.c
	* plug-ins/helpbrowser/helpbrowser.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/jpeg/jpeg.[ch]
	* plug-ins/maze/maze.[ch]
	* plug-ins/maze/maze_face.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/rcm/rcm.[ch]
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/sel2path/sel2path.c
	* plug-ins/sgi/sgi.c
	* plug-ins/uri/uri.c
	* plug-ins/xjt/xjt.c: canonicalize procedure and parameter names.
	#define them instead of repeating the same string several times.
	Minor cleanups.
2005-08-12 15:46:46 +00:00
Michael Natterer 7ed8c44389 removed s/_/-/, proc names are already canonicalized.
2005-08-12  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-in-proc-def.c (plug_in_proc_def_get_help_id):
	removed s/_/-/, proc names are already canonicalized.
2005-08-12 00:51:43 +00:00
Sven Neumann abfb68a72a bumped version to 2.3.4.
2005-08-10  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version to 2.3.4.
2005-08-10 13:36:34 +00:00
Michael Natterer e080a31adb cursors/tool-paths-anchor.png cursors/tool-paths-control.png
2005-08-10  Michael Natterer  <mitch@gimp.org>

	* cursors/tool-paths-anchor.png
	* cursors/tool-paths-control.png
	* cursors/tool-paths-segment.png
	* cursors/tool-paths.png
	* cursors/xbm/tool-paths-control-mask.xbm
	* cursors/xbm/tool-paths-control.xbm: applied Jimmac's changes.
2005-08-10 10:32:57 +00:00
Michael Natterer ef4f87ff11 fixed copy'n'paste bug that was clearing the identifier prefix when
2005-08-10  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/xbm.c (mask_ext_entry_callback): fixed
	copy'n'paste bug that was clearing the identifier prefix when
	editing the mask extension.
2005-08-10 10:22:34 +00:00
Jakub Steiner ba1922c35d for controls change to squares 2005-08-10 10:06:22 +00:00
Jakub Steiner fc9b0d4059 add color 2005-08-10 10:00:15 +00:00
Jakub Steiner aa36039493 touched up RGBA versions
2005-08-10  Jakub Steiner <jimmac@ximian.com>

* cursors/gimp-tool-cursors.xcf: touched up RGBA versions
2005-08-10 09:36:41 +00:00
Simon Budig b2b61dd3c9 small fixes to the cursors - now the handles have their respective cursor
2005-08-10  Simon Budig  <simon@gimp.org>

	* app/tools/gimpvectortool.c: small fixes to the cursors - now
	the handles have their respective cursor as well.
2005-08-10 09:00:58 +00:00
Sven Neumann 13dcc471cd Made 2.3.3, the "What The Hack" release.
2005-08-10  Sven Neumann  <sven@gimp.org>

        * Made 2.3.3, the "What The Hack" release.

        * data/images/gimp-splash.png: What The Splash, photo by antenne.
2005-08-10 00:55:52 +00:00
Sven Neumann 6151bd2d48 What The Splash, photo by antenne.
2005-08-10  Sven Neumann  <sven@gimp.org>

	* data/images/gimp-splash.png: What The Splash, photo by antenne.
2005-08-10 00:37:32 +00:00
Michael Natterer 1cc6514f23 don't have widgets from different pages in the same size group. Fixes
2005-08-10  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/preferences-dialog.c (prefs_dialog_new): don't have
	widgets from different pages in the same size group. Fixes spacing
	on the "Display" page.
2005-08-10 00:24:59 +00:00
Sven Neumann 0975d357c7 fixed dist-dump-gimprc rule.
2005-08-10  Sven Neumann  <sven@gimp.org>

	* app/Makefile.am: fixed dist-dump-gimprc rule.
2005-08-09 23:58:32 +00:00
Michael Natterer fa74cbcd15 pass src_bytes and dest_bytes to these functions instead of just the
2005-08-09  Michael Natterer  <mitch@gimp.org>

	* app/paint-funcs/paint-funcs.[ch] (extract_from_inten_pixels)
	(extract_from_indexed_pixels): pass src_bytes and dest_bytes to
	these functions instead of just the source's bytes and whether it
	has an alpha. Honor dest_bytes when extracting instead of crashing
	by always asuming that the destination has alpha.
	Fixes bug #312392.

	(extract_from_region): removed has_alpha paramater. pass
	src->bytes and dest->bytes to above functions.

	* app/core/gimpselection.c (gimp_selection_extract): changed
	accordingly.
2005-08-09 21:57:08 +00:00
Michael Natterer 499a986235 Mention fixed bug. 2005-08-09 21:23:38 +00:00
Michael Natterer 6c88e46d72 changed path tool cursor to actually show a path and added 3 new cursors
2005-08-09  Michael Natterer  <mitch@gimp.org>

	* cursors/gimp-tool-cursors.xcf: changed path tool cursor to
	actually show a path and added 3 new cursors which are supposed
	to show a path's anchor, handle and segments. Someone really
	needs to beautify these...

	* cursors/tool-paths.png
	* cursors/xbm/tool-paths-mask.xbm
	* cursors/xbm/tool-paths.xbm: changed accordingly.

	* cursors/Makefile.am
	* cursors/tool-paths-anchor.png
	* cursors/tool-paths-control.png
	* cursors/tool-paths-segment.png
	* cursors/xbm/tool-paths-anchor-mask.xbm
	* cursors/xbm/tool-paths-anchor.xbm
	* cursors/xbm/tool-paths-control-mask.xbm
	* cursors/xbm/tool-paths-control.xbm
	* cursors/xbm/tool-paths-segment-mask.xbm
	* cursors/xbm/tool-paths-segment.xbm: new files.

	* app/widgets/widgets-enums.h (enum GimpToolCursorType): added
	PATH_ANCHOR, PATH_CONTROL and PATH_SEGMENTS.

	* app/widgets/gimpcursor.c: added the new cursors.

	* app/tools/gimpvectortool.c (gimp_vector_tool_cursor_update):
	use them.
2005-08-09 21:22:11 +00:00
Michael Natterer 4dbd7db323 make sure the mask file has valid C identifiers, too.
2005-08-09  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/xbm.c: make sure the mask file has valid C
	identifiers, too.
2005-08-09 20:49:55 +00:00
Sven Neumann ce8dcfb497 app/base/siox.[ch] app/core/gimpdrawable-foreground-extract.[ch]
2005-08-09  Sven Neumann  <sven@gimp.org>

	* app/base/siox.[ch]
	* app/core/gimpdrawable-foreground-extract.[ch]
	* app/tools/gimpforegroundselectoptions.[ch]
	* app/tools/gimpforegroundselecttool.c: renamed Granularity to
	Color Sensitivity, both in the GUI and in the APIs.
2005-08-09 20:43:44 +00:00
Sven Neumann c2dc887fee use an empty field instead of "?" for the unknown value (bug #313008).
2005-08-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/dicom.c: use an empty field instead of "?" for
	the unknown value (bug #313008).
2005-08-09 15:10:26 +00:00
Sven Neumann 6226deec71 reduced default brush size a little.
2005-08-09  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpforegroundselectoptions.c: reduced default brush
	size a little.
2005-08-09 12:36:40 +00:00
Sven Neumann 43b9555929 fixed signedness warnings.
2005-08-09  Sven Neumann  <sven@gimp.org>

	* app/config/gimpxmlparser.c: fixed signedness warnings.

	* plug-ins/imagemap/imap_browse.c (handle_drop): UTF-8 validate
	the dropped text before setting it on the entry.
2005-08-09 11:36:06 +00:00
Manish Singh 509b65a559 Generate valid names for aux channels that do not have names defined.
2005-08-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/psd.c: Generate valid names for aux channels that
        do not have names defined. Fixes bug #312963.
2005-08-09 05:26:57 +00:00
Sven Neumann 21829c4431 take image type instead of basetype of the source drawable. Handle
2005-08-09  Sven Neumann  <sven@gimp.org>

	* app/core/gimplayer.c (gimp_layer_transform_color): take image
	type instead of basetype of the source drawable. Handle conversion
	from drawables without alpha channel.
	(gimp_layer_new_from_region): handle source regions without alpha.
2005-08-09 00:07:21 +00:00
Jakub Steiner aa52469826 themes/Default/images/tools/stock-tool-foreground-select-16.png icon for
2005-08-08  Jakub Steiner <jimmac@ximian.com>

* themes/Default/images/tools/stock-tool-foreground-select-16.png
* themes/Default/images/tools/stock-tool-foreground-select-22.png:
  icon for the new tool. Hopefully gets the message across.
2005-08-08 20:30:26 +00:00
Sven Neumann 6f386794b7 optimized further.
2005-08-08  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c (find_max_blob): optimized further.
2005-08-08 18:31:28 +00:00
Sven Neumann 651aca218a added another call to gimp_progress_update().
2005-08-08  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c: added another call to gimp_progress_update().

	* app/core/gimp.c (gimp_init): fixed harmless cut-n-paste error.
2005-08-08 17:38:25 +00:00
Sven Neumann 5c6b8e9f79 added the possibility to specify a clip rectangle.
2005-08-08  Sven Neumann  <sven@gimp.org>

	* app/core/gimpscanconvert.[ch]: added the possibility to specify
	a clip rectangle.

	* app/base/siox.c (find_max_blob): use g_try_malloc().
2005-08-08 12:05:54 +00:00
Sven Neumann 64614aa4fd optimizations.
2005-08-08  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c (find_max_blob): optimizations.
2005-08-08 04:49:44 +00:00
Sven Neumann 3f9144e534 fixed for offsetted regions. Do thresholding as part of find_max_blob().
2005-08-08  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c (find_max_blob): fixed for offsetted regions.
	Do thresholding as part of find_max_blob().
2005-08-08 04:17:41 +00:00
Sven Neumann eb6268e53b fixed for offsetted regions.
2005-08-08  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c (find_max_blob): fixed for offsetted regions.
2005-08-08 03:41:02 +00:00
Michael Natterer 0e662a56c8 resized all layers to image size.
2005-08-08  Michael Natterer  <mitch@gimp.org>

	* cursors/gimp-tool-cursors.xcf: resized all layers to image size.
2005-08-08 01:50:16 +00:00
Sven Neumann a72b704ebf check boundary conditions before pushing a pixel to the queue.
2005-08-08  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c (find_max_blob): check boundary conditions
	before pushing a pixel to the queue.
2005-08-08 01:27:11 +00:00
Michael Natterer a8257d8ded made hitting Escape in the name entry restore the data's original name.
2005-08-08  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdataeditor.c: made hitting Escape in the name
	entry restore the data's original name. Enables undoing of
	accidential editing. Addresses bug #169257.
2005-08-08 01:04:26 +00:00
Sven Neumann 3a83e09fa8 app/display/gimpdisplayshell-draw.c (gimp_display_shell_get_pen_gc) use
2005-08-08  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-draw.c (gimp_display_shell_get_pen_gc)
	* app/tools/gimpforegroundselecttool.c: use round joins for the
	brush strokes.
2005-08-08 00:33:51 +00:00
Sven Neumann d4385d6016 do not attempt foreground extraction until the user has specificied a
2005-08-08  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpforegroundselecttool.c: do not attempt foreground
	extraction until the user has specificied a foreground area.
2005-08-07 23:59:33 +00:00
Sven Neumann 61d103fc18 do not use drawable offsets. Disabled the rectangle indicating the working
2005-08-08  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpforegroundselecttool.c
	(gimp_foreground_select_tool_draw): do not use drawable offsets.
	Disabled the rectangle indicating the working area.
2005-08-07 23:13:53 +00:00
Michael Natterer e8658ec7f9 take care of sample points. Addresses bug #137776.
2005-08-07  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-resize.c (gimp_image_resize_with_layers):
	take care of sample points. Addresses bug #137776.
2005-08-07 21:05:09 +00:00
Sven Neumann e17b69fe43 made variables more local to make the code easier to read and to optimize.
2005-08-07  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c: made variables more local to make the code
	easier to read and to optimize.
2005-08-07 20:20:53 +00:00
Michael Natterer 4c6d9ddd78 new function.
2005-08-07  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer.[ch] (gimp_layer_flatten): new function.

	* app/actions/layers-actions.c
	* app/actions/layers-commands.[ch]
	* app/widgets/gimphelp-ids.h
	* menus/image-menu.xml.in
	* menus/layers-menu.xml: added "Remove Alpha Channel" action,
	action callback, help ID and menu items. Fixes bug #309762.
2005-08-07 16:38:35 +00:00
Sven Neumann f4893406ef micro optimizations.
2005-08-07  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c (siox_foreground_extract): micro optimizations.
2005-08-07 16:07:32 +00:00
Sven Neumann fcbf399fb2 do not restart draw tool unless shell->proximity.
2005-08-07  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpforegroundselecttool.c: do not restart draw tool
	unless shell->proximity.
2005-08-07 03:34:23 +00:00
Sven Neumann 992bf99d43 show the extents of the working area if the user moves the mouse out of
2005-08-07  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpforegroundselecttool.c
	(gimp_foreground_select_tool_draw): show the extents of the working
	area if the user moves the mouse out of it. Is this useful?

	* app/tools/gimpforegroundselectoptions.c: removed colons from labels.
2005-08-06 23:04:23 +00:00
Sven Neumann d46fa426ce increased default brush size and upper limit.
2005-08-06  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpforegroundselectoptions.c: increased default brush
	size and upper limit.

	* app/tools/gimpforegroundselecttool.c: draw a brush outline.
2005-08-06 21:39:43 +00:00
Manish Singh f7691baeaf remove dbbrowser from SUBDIRS.
2005-08-06  Manish Singh  <yosh@gimp.org>

        * plug-ins/Makefile.am: remove dbbrowser from SUBDIRS.
2005-08-06 20:52:21 +00:00
Manish Singh e8bc4d3f0a plug-ins/dbbrowser/plugin-browser.c removed these files...
2005-08-06  Manish Singh  <yosh@gimp.org>

        * plug-ins/dbbrowser/plugin-browser.c
        * plug-ins/dbbrowser/procedure-browser.c: removed these files...

        * plug-ins/common/plugin-browser.c
        * plug-ins/common/procedure-browser.c: ...and added them here.

        * plug-ins/common/mkgen.pl: transform - to _ in makefile variable
        names, and attach optional CFLAGS to only the plugins that need
        them.

        * plug-ins/common/plugin-defs.pl: added plugin-browser and
        procedure-browser, and changed poppler, svg, and wmf to use the new
        CFLAGS stuff.

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

        * configure.in: remove plug-ins/dbbrowser reference.
2005-08-06 20:07:19 +00:00
Sven Neumann 46bc22c7ff reordered parameters to match the order of parameters in
2005-08-06  Sven Neumann  <sven@gimp.org>

	* app/base/siox.[ch]: reordered parameters to match the order of
	parameters in gimp_drawable_foreground_extract_siox().

	* app/core/gimpdrawable-foreground-extract.c: changed accordingly.

	* app/tools/gimpforegroundselectoptions.[ch]: draw slider value to
	the right.

	* app/tools/gimpfreeselecttool.[ch]: added
	gimp_free_select_tool_select() to calls the virtual select() method.

	* app/tools/gimpforegroundselecttool.[ch]: queue an idle select if
	the smoothness or granularity values change in the tool options.
2005-08-06 20:01:22 +00:00
Sven Neumann d670b0e11e app/base/siox.[ch] expose all parameters of the SIOX algorithm. Provide
2005-08-06  Sven Neumann  <sven@gimp.org>

	* app/base/siox.[ch]
	* app/core/gimpdrawable-foreground-extract.[ch]: expose all
	parameters of the SIOX algorithm. Provide default values.

	* app/tools/gimpforegroundselectoptions.[ch]: added properties and
	user interface for all SIOX parameters.

	* app/tools/gimpforegroundselecttool.c: changed accordingly.

2005-08-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/benchmark-foreground-extract.py: pass run-mode to PDB
	calls.
2005-08-06 19:08:43 +00:00
Sven Neumann ee530652b4 added a statusbar message to encourage the user to draw on the object.
2005-08-06  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpforegroundselecttool.c: added a statusbar message
	to encourage the user to draw on the object.
2005-08-06 15:42:46 +00:00
Sven Neumann 3c8a10e925 app/base/siox.c moved rectangle intersection into
2005-08-06  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c
	* app/core/gimpdrawable-foreground-extract.c: moved rectangle
	intersection into gimp_drawable_foreground_extract().
2005-08-06 15:09:31 +00:00
Sven Neumann 68f09c7cb6 added gimp_scan_convert_compose(), an alternative to
2005-08-06  Sven Neumann  <sven@gimp.org>

	* app/core/gimpscanconvert.[ch]: added gimp_scan_convert_compose(),
	an alternative to gimp_scan_convert_render() that allows to compose
	strokes on a drawable.

	* app/tools/gimpforegroundselecttool.c: use the new function to
	get rid of temporary channels for applying the strokes. Also fixed
	calculation of stroke width from display scale.
2005-08-06 14:54:13 +00:00
Michael Natterer 39f4e7bdb3 applied patch from Robert Ögren that frees the event returned by
2005-08-06  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpuimanager.c (gimp_ui_manager_ui_popup): applied
	patch from Robert Ögren that frees the event returned by
	gtk_get_current_event(). Fixes bug #312017.
2005-08-06 14:37:53 +00:00
Sven Neumann 13b25cfbed ccorrectly handle a stroke consisting of just a single point.
2005-08-06  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-draw.c (gimp_display_shell_draw_pen):
	* app/tools/gimpforegroundselecttool.c: ccorrectly handle a stroke
	consisting of just a single point.
2005-08-06 13:50:02 +00:00
Sven Neumann d60faca9a1 libgimpwidgets/gimppropwidgets.[ch] added gimp_prop_hscale_new().
2005-08-06  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppropwidgets.[ch]
	* libgimpwidgets/gimpwidgets.def: added gimp_prop_hscale_new().

	* app/tools/gimpforegroundselectoptions.c: added a control for the
	stroke width.

	* app/tools/gimpforegroundselecttool.c: cancel the tool if the
	active drawable or the image size changes.

	* app/widgets/gimpcontrollerlist.c: fixed signedness warning.
2005-08-06 13:03:59 +00:00
Sven Neumann d89f04d500 app/display/gimpcanvas.c (gimp_canvas_set_custom_gc) do not drop the
2005-08-06  Sven Neumann  <sven@gimp.org>

	* app/display/gimpcanvas.c (gimp_canvas_set_custom_gc) do not
	drop the reference if the same custom GC is being set again.

	* app/display/gimpdisplayshell-draw.[ch]
	* app/display/gimpdisplayshell-handlers.c
	* app/display/gimpdisplayshell.[ch]: added GC and methods to draw
	on the canvas with a solid pen.

	* app/tools/gimpforegroundselectoptions.[ch]
	* app/tools/gimpforegroundselecttool.c: draw using the new pen
	functions. Scale the stroke width with the display scale.
2005-08-06 11:18:26 +00:00
Sven Neumann 90d861bec2 app/paint-funcs/paint-funcs-generic.h fixed signedness warnings.
2005-08-06  Sven Neumann  <sven@gimp.org>

	* app/core/gimppalette-import.c:
	* app/paint-funcs/paint-funcs-generic.h
	* app/paint-funcs/paint-funcs.c: fixed signedness warnings.
2005-08-06 11:08:43 +00:00
Kevin Cozens 2167be4d20 Added missing argument in define statement. Fixed spelling errors.
2005-08-05  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/test-sphere.scm: Added missing argument
	in define statement. Fixed spelling errors.

	* ChangeLog: Corrected my e-mail address.
2005-08-06 03:03:12 +00:00
Sven Neumann 71785ac8cd canonicalize hardcoded procedure names.
2005-08-06  Sven Neumann  <sven@gimp.org>

	* app/batch.c: canonicalize hardcoded procedure names.

	* app/base/siox.[ch]
	* app/core/gimpdrawable-foreground-extract.[ch]
	* app/tools/gimpforegroundselecttool.c: restrict the working area
	to the double of the bounding box of the initial selection.
2005-08-06 00:51:22 +00:00
Michael Natterer 264fed156c canonicalize proc args registered by plug-ins.
2005-08-05  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-in-message.c (plug_in_handle_proc_install):
	canonicalize proc args registered by plug-ins.

	* plug-ins/script-fu/siod-wrapper.c: removed s/_/-/ for proc args.
2005-08-05 20:23:37 +00:00
Manish Singh bc36159ab1 store canonical names of proc names and args in the proc structure.
2005-08-05  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/pdbgen.pl: store canonical names of proc names and
        args in the proc structure.

        * tools/pdbgen/app.pl
        * tools/pdbgen/lib.pl: use the above.

        * app/pdb/*_cmds.c: regenerated.
2005-08-05 18:19:09 +00:00
Michael Natterer 1755b50bd8 revert previous change. Instead, don't push undos if the item is not
2005-08-05  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpitem.c (gimp_item_parasite_attach): revert previous
	change. Instead, don't push undos if the item is not attached.
2005-08-05 17:36:24 +00:00
Sven Neumann f2ecfca131 disable undo while the image is being loaded.
2005-08-05  Sven Neumann  <sven@gimp.org>

	* app/xcf/xcf-load.c (xcf_load_image): disable undo while the
	image is being loaded.

	* app/core/gimpitem.c (gimp_item_parasite_attach): don't try to
	push an undo step if undo is disabled. Gets rid of warnings while
	loading an XCF file with undoable drawable parasites.
2005-08-05 14:13:10 +00:00
Manish Singh 04a9e34f54 don't wrap deprecated function gimp_rgb_intensity().
2005-08-04  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-rgb.c: don't wrap deprecated function
        gimp_rgb_intensity().
2005-08-05 00:58:16 +00:00
Michael Natterer 2b588cdec1 increased spacing between property groups to 12 pixels.
2005-08-04  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpimagepropview.c: increased spacing between
	property groups to 12 pixels.
2005-08-04 19:42:24 +00:00
Sven Neumann a5809c4142 canonicalize PDB parameter names.
2005-08-04  Sven Neumann  <sven@gimp.org>

	* app/xcf/xcf.c: canonicalize PDB parameter names.
2005-08-04 13:36:40 +00:00
Michael Natterer 2754328fc8 added cursor navigation.
2005-08-04  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppaletteview.c: added cursor navigation.
2005-08-04 00:09:33 +00:00
Sven Neumann b9e77caa44 app/vectors/gimpvectors-compat.[ch] app/xcf/xcf-load.c fixed signedness
2005-08-03  Sven Neumann  <sven@gimp.org>

	* app/vectors/gimpvectors-compat.[ch]
	* app/xcf/xcf-load.c
	* app/xcf/xcf-save.c: fixed signedness warnings.
2005-08-03 13:48:40 +00:00
Michael Natterer ce9332790c typo: FOEEGROUND -> FOREGROUND.
2005-08-03  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpbaseenums.h: typo: FOEEGROUND -> FOREGROUND.
2005-08-03 10:02:01 +00:00
Michael Natterer 4e9fd4f69f canonicalize hardcoded procedure names.
2005-08-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpfiledialog.c (gimp_file_dialog_new):
	canonicalize hardcoded procedure names.
2005-08-03 09:38:01 +00:00
Michael Natterer 32d875d070 app/dialogs/module-dialog.c app/dialogs/palette-import-dialog.c
2005-08-03  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/module-dialog.c
	* app/dialogs/palette-import-dialog.c
	* app/gui/gui.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpvectortool.c
	* app/widgets/gimpaction.c
	* app/widgets/gimpcoloreditor.c
	* app/widgets/gimpcontainerbox.c
	* app/widgets/gimpcontainertreeview.c
	* app/widgets/gimpcursorview.c
	* app/widgets/gimpdnd.c
	* app/widgets/gimpdock.c
	* app/widgets/gimpdockbook.c
	* app/widgets/gimpdrawabletreeview.c
	* app/widgets/gimpeditor.c
	* app/widgets/gimpenumaction.c
	* app/widgets/gimperrordialog.c
	* app/widgets/gimpfileprocview.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimpmenudock.c
	* app/widgets/gimpmessagebox.c
	* app/widgets/gimpmessagedialog.c
	* app/widgets/gimppluginaction.c
	* app/widgets/gimpprogressdialog.c
	* app/widgets/gimpsamplepointeditor.c
	* app/widgets/gimpstringaction.c
	* app/widgets/gimptemplateeditor.c
	* app/widgets/gimptoolbox-image-area.c
	* app/widgets/gimptoolbox.c: use canonical names for signals and
	properties.
2005-08-03 09:34:55 +00:00
Michael Natterer 9d982c6ba8 link against libgimpcolor. WhyTheHack did this work before?
2005-08-03  Michael Natterer  <mitch@gimp.org>

	* plug-ins/help/Makefile.am: link against libgimpcolor. WhyTheHack
	did this work before?
2005-08-03 08:19:07 +00:00
Sven Neumann 94bef475d2 added GIMP_UNDO_FOREGROUND_SELECT.
2005-08-03  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.[ch]: added GIMP_UNDO_FOREGROUND_SELECT.

	* app/tools/Makefile.am
	* app/tools/gimpforegroundselecttool-undo.[ch]: added stubs for
	undo in the new foreground selection tool.

	* tools/pdbgen/pdb/procedural_db.pdb: include gimpbase.h for
	gimp_canonicalize_identifier().

	* app/pdb/procedural_db_cmds.c: regenerated.

	* app/file/file-utils.c: fixed signedness warning.
2005-08-03 01:54:27 +00:00
Sven Neumann a40f35b7e2 libgimpmath/gimpmd5.c libgimpmath/test-md5.c plug-ins/common/CEL.c
2005-08-03  Sven Neumann  <sven@gimp.org>

	* libgimpmath/gimpmd5.c
	* libgimpmath/test-md5.c
	* plug-ins/common/CEL.c
	* plug-ins/common/cartoon.c
	* plug-ins/common/emboss.c
	* plug-ins/common/exchange.c
	* plug-ins/common/gifload.c
	* plug-ins/common/poppler.c
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/jpeg/jpeg-save.h
	* plug-ins/metadata/interface.c
	* plug-ins/metadata/metadata.c
	* plug-ins/metadata/xmp-model.c
	* plug-ins/script-fu/siod/sliba.c: fixed signedness warnings.
2005-08-03 01:15:36 +00:00
Sven Neumann 4f870bc132 deprecated RGB intensity functions and definitions. These coefficients do
2005-08-03  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb.[ch]: deprecated RGB intensity functions
	and definitions. These coefficients do not accurately compute
	luminance for contemporary monitors. Instead the coefficients from
	the sRGB spec should be used which have now been added.

	* libgimpcolor/gimpcolor.def: updated.

	* libgimp/gimpdrawable.c
	* libgimp/gimppixelfetcher.c
	* app/base/colorize.c
	* app/base/levels.c
	* app/base/temp-buf.c
	* app/core/gimpdrawable-blend.c
	* app/core/gimpdrawable-convert.c
	* app/core/gimpdrawable-desaturate.c
	* app/core/gimpimage-convert.c
	* app/core/gimpimage.c
	* app/gui/splash.c
	* app/widgets/gimpgradienteditor.c
	* modules/colorsel_triangle.c
	* plug-ins/common/aa.c
	* plug-ins/common/bumpmap.c
	* plug-ins/common/colorify.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/displace.c
	* plug-ins/common/engrave.c
	* plug-ins/common/gradmap.c
	* plug-ins/common/grid.c
	* plug-ins/common/mng.c
	* plug-ins/common/newsprint.c
	* plug-ins/common/png.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gfli/gfli.c
	* plug-ins/maze/handy.c
	* plug-ins/pagecurl/pagecurl.c: use gimp_rgb_luminance() and
	friends instead of the deprecated intensity functions.
2005-08-03 00:36:41 +00:00
Michael Natterer 79d2bb6a1e removed all parameters from gimp_proc_browser_dialog_new() and removed the
2005-08-03  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpprocbrowserdialog.[ch]: removed all parameters from
	gimp_proc_browser_dialog_new() and removed the "scheme_names"
	stuff.

	* plug-ins/dbbrowser/procedure-browser.c
	* plug-ins/pygimp/procbrowser.c
	* plug-ins/script-fu/script-fu-console.c: changed accordingly.

	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-types.h
	* plug-ins/script-fu/siod-wrapper.c: removed all sorts of
	conversions between '-' and '_' for procedure names.

	* plug-ins/script-fu/script-fu.c: use canonical names for
	script-fu's procedures.
2005-08-02 23:45:24 +00:00
Michael Natterer 335ba07644 app/actions/vectors-commands.c canonicalized some hardcoded procedure
2005-08-03  Michael Natterer  <mitch@gimp.org>

	* app/actions/vectors-commands.c
	* app/widgets/gimphelp.c: canonicalized some hardcoded procedure
	names because internal functions accept only canonical names now.
2005-08-02 23:02:56 +00:00
Michael Natterer 853f04d5a6 Changed naming scheme for PDB procedure names from
2005-08-03  Michael Natterer  <mitch@gimp.org>

	Changed naming scheme for PDB procedure names from
	random_crap_that_traditionally_has_underscores to
	enforced-canonical-identifiers. I'm pretty sure some things are
	broken after this commit. More changes to come...

	* libgimpbase/gimpbase.def
	* libgimpbase/gimputils.[ch]: added gimp_canonicalize_identifier().

	* app/pdb/procedural_db.[ch] (struct ProcRecord): added
	"gchar *original_name" to keep a procedure's original name as
	reigstered by plug-ins (compat cruft).

	(procedural_db_init_procs): canonicalized list of deprecated
	procedures.

	* app/plug-in/plug-in-proc-def.c (plug_in_proc_def_free): free
	original_name.

	* app/plug-in/plug-in-message.c: canonicalize procedure names
	which are received over the wire.

	* app/plug-in/plug-in-rc.c: serialize the original_name and create
	the canonicalized name on-the-fly when deserializing.

	* app/plug-in/plug-in-run.c: pass the original_name to plug-ins
	when running them because they strcmp() the passed procedure name.

	* app/plug-in/plug-ins.c (plug_ins_add_to_db): pass
	canonical procedure names to procedural_db_execute().

	(plug_ins_file_proc_compare): special-case "gimp-xcf", not "gimp_xcf".

	* app/xcf/xcf.c: changed static XCF procedures accordingly.

	* tools/pdbgen/app.pl
	* tools/pdbgen/lib.pl: do some trivial substitutions to generate
	canonicalized names in app/, and C identifiers with underscores in
	libgimp/.

	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/fileops.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/palettes.pdb
	* tools/pdbgen/pdb/patterns.pdb
	* tools/pdbgen/pdb/plug_in.pdb
	* tools/pdbgen/pdb/procedural_db.pdb
	* tools/pdbgen/pdb/text_tool.pdb
	* tools/pdbgen/pdb/transform_tools.pdb: canonicaloized procedure
	names in calls to std_pdb_deprecated() and in procedure names in
	generated C code.

	* app/pdb/*_cmds.c
	* libgimp/*_pdb.c: regenerated.
2005-08-02 22:52:23 +00:00
Sven Neumann 990ee2074a libgimp/gimpbrushmenu.c libgimp/gimpdrawablecombobox.c
2005-08-03  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpbrushmenu.c
	* libgimp/gimpdrawablecombobox.c
	* libgimp/gimpfontselectbutton.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimpimagecombobox.c
	* libgimp/gimppalettemenu.c
	* libgimp/gimppatternmenu.c: fixed signedness warnings.
2005-08-02 22:15:33 +00:00
Manish Singh 00d1d29902 Quick and dirty restore of browser functionality.
2005-08-02  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/procbrowser.c: Quick and dirty restore of browser
        functionality.
2005-08-02 18:00:10 +00:00
Michael Natterer 40dd411be3 added GimpProcBrowserDialog typedef here.
2005-08-02  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpuitypes.h: added GimpProcBrowserDialog typedef here.

	* libgimp/gimpprocbrowserdialog.[ch]
	* libgimp/gimpprocview.[ch]: fixed copyright headers, added
	G_BEGIN_DECLS / G_END_DECLS.
2005-08-02 17:06:49 +00:00
Michael Natterer 4d369ec2c0 plug-ins/dbbrowser/Makefile.am plug-ins/dbbrowser/gimpprocbrowser.[ch]
2005-08-02  Michael Natterer  <mitch@gimp.org>

	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/dbbrowser/gimpprocbrowser.[ch]
	* plug-ins/dbbrowser/gimpprocview.[ch]: removed these files...

	* libgimp/Makefile.am
	* libgimp/gimpui.h
	* libgimp/gimpui.def
	* libgimp/gimpprocbrowserdialog.[ch]
	* libgimp/gimpprocview.[ch]: ...and added them here. Turned the
	procedure browser into a widget called GimpProcBrowserDialog and
	changed its API completely. Fixes bug #165009.

	* plug-ins/dbbrowser/plugin-browser.c
	* plug-ins/dbbrowser/procedure-browser.c
	* plug-ins/script-fu/Makefile.am
	* plug-ins/script-fu/script-fu-console.c: changed accordingly.

	* plug-ins/pygimp/Makefile.am
	* plug-ins/pygimp/procbrowser.c: ditto (#if 0'ed stuff so it compiles).
2005-08-02 16:49:42 +00:00
Sven Neumann 2162eb6691 app/tools/gimpforegroundselectoptions.[ch] some code cleanup; moved stroke
2005-08-02  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpforegroundselectoptions.[ch]
	* app/tools/gimpforegroundselecttool.[ch]: some code cleanup; moved
	stroke width to the tool options.
2005-08-02 16:07:16 +00:00
Manish Singh f7b14365aa app/composite/Makefile.am fix code generation filenames.
2005-07-31  Manish Singh  <yosh@gimp.org>

        * app/composite/Makefile.am
        * app/composite/make-installer.py: fix code generation filenames.
2005-08-01 05:16:44 +00:00
Manish Singh b55753bb21 acinclude.m4 m4macros/Makefile.am new macro: GIMP_DETECT_CFLAGS; used to
2005-07-31  Manish Singh  <yosh@gimp.org>

        * acinclude.m4
        * m4macros/Makefile.am
        * m4macros/detectcflags.m4: new macro: GIMP_DETECT_CFLAGS; used
        to detect which of a set of compiler options a compiler supports.

        * configure.in: use the above for the altivec and -fno-strict-aliasing
        flags. Also, use it to detect the presence of -mmmx and -msse, since
        those are needed to compile even MMX/SSE assembly with gcc 4.0. Define
        MMX/SSE_EXTRA_CFLAGS.

        * app/composite/Makefile.am: compile each of the composite flavors
        into their own library, so we can use automake's per-target CFLAGS.
        Use MMX/SSE/ALTIVEC_EXTRA_CFLAGS in the appropriate places. Build
        libappcomposite.a out of the resulting objects.

        * app/composite/gimp-composite-3dnow.c
        * app/composite/gimp-composite-altivec.c
        * app/composite/gimp-composite-mmx.c
        * app/composite/gimp-composite-sse.c
        * app/composite/gimp-composite-sse2.c
        * app/composite/gimp-composite-vis.c
        * app/composite/make-installer.py: move the _init functions into
        the installers, so only actually mmx/sse/etc. code gets compiled
        under the appropriate CFLAGS.

        * app/composite/gimp-composite-3dnow-installer.c
        * app/composite/gimp-composite-altivec-installer.c
        * app/composite/gimp-composite-mmx-installer.c
        * app/composite/gimp-composite-sse-installer.c
        * app/composite/gimp-composite-sse2-installer.c
        * app/composite/gimp-composite-vis-installer.c: regenerated.

        * app/composite/gimp-composite.c: remove useless cpu-accel.h include.
2005-08-01 04:45:34 +00:00
David Odin ae1d7503cc when the notebook page is changed with the mouse wheel, update the title
* app/dialogs/preferences-dialog.c: when the notebook page is changed
  with the mouse wheel, update the title and the selection in the
  treeview.
2005-07-31 20:07:14 +00:00
Sven Neumann 52d1c1ef95 app/tools/Makefile.am added options for GimpForegroundSelectionTool.
2005-07-31  Sven Neumann  <sven@gimp.org>

	* app/tools/Makefile.am
	* app/tools/gimpforegroundselectoptions.[ch]: added options for
	GimpForegroundSelectionTool.

	* app/tools/gimpforegroundselecttool.c: also allow to classify
	background pixels.

	* app/tools/gimpfreeselecttool.c: implement GimpTool::control and
	reset the points array if the tool is HALTed.
2005-07-31 18:29:10 +00:00
Sven Neumann 0357e6489d give some visual feedback when the user is drawing. Should use a different
2005-07-31  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpforegroundselecttool.c: give some visual feedback
	when the user is drawing. Should use a different GC though.
2005-07-31 16:39:55 +00:00
Sven Neumann 97075bf406 added some const qualifiers.
2005-07-31  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpdrawtool.[ch]: added some const qualifiers.
2005-07-31 16:05:06 +00:00
Sven Neumann 7e3d7ede18 pass 255 as value to gimp_scan_convert_render_internal().
2005-07-31  Sven Neumann  <sven@gimp.org>

	* app/core/gimpscanconvert.c (gimp_scan_convert_render): pass 255
	as value to gimp_scan_convert_render_internal().

	* app/tools/gimpforegroundselecttool.[ch]: add paint strokes as
	foreground color; draw function is missing.
2005-07-31 14:27:46 +00:00
Sven Neumann e96a77ecb3 fixed some minor coding style issues.
2005-07-31  Sven Neumann  <sven@gimp.org>

	* app/core/gimpscanconvert.c: fixed some minor coding style issues.
2005-07-31 11:53:32 +00:00
Sven Neumann 11b6874947 app/display/gimpdisplayshell-render.c
2005-07-31  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-render.c

	* app/display/gimpdisplayshell.[ch]: removed the overlay again.
	This needs to be done differently.

	* app/tools/gimpforegroundselecttool.c: changed accordingly.
2005-07-31 10:40:54 +00:00
Sven Neumann d53a10c004 app/display/gimpdisplayshell-render.c renamed overlay to mask and added a
2005-07-30  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-render.c
	* app/display/gimpdisplayshell.[ch]: renamed overlay to mask and
	added a different overlay implementation that will be needed to
	finish the new foreground-select tool.

	* app/tools/gimpforegroundselecttool.c: changed accordingly.
2005-07-30 22:29:02 +00:00
Sven Neumann 7e92212593 transparently handle cursor vs. toggle cursor in the cursor accessor
2005-07-30  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptoolcontrol.[ch]: transparently handle cursor
	vs. toggle cursor in the cursor accessor functions.

	* app/tools/gimpconvolvetool.c
	* app/tools/gimperasertool.c
	* app/tools/gimpmagnifytool.c
	* app/tools/gimptool.c: simplifies things here.

	* app/tools/gimpforegroundselecttool.c: set a toggle cursor and
	toggle the tool if a mask is set.
2005-07-30 20:46:05 +00:00
Sven Neumann 029fbdae02 implement cursor_update(). Suppress standard selection tool functionality
2005-07-30  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpforegroundselecttool.c: implement cursor_update().
	Suppress standard selection tool functionality if a mask exists.
2005-07-30 19:48:49 +00:00
Sven Neumann 98c40b9ae0 implement oper_update() and give some hints in the statusbar.
2005-07-30  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpforegroundselecttool.c: implement oper_update()
	and give some hints in the statusbar.
2005-07-30 19:21:47 +00:00
Sven Neumann 1016a3dc14 app/display/gimpdisplayshell-render.c added
2005-07-30  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-render.c
	* app/display/gimpdisplayshell.[ch]: added
	gimp_display_shell_set_overlay(); allows to overlay a mask over the
	display to visualize a selection.

	* app/tools/gimpforegroundselecttool.[ch]: use the new functionality
	to display the selection. Escape cancels the tool, Enter applies the
	selection.
2005-07-30 18:19:54 +00:00
Sven Neumann 335bd846fb added missing symbol.
2005-07-30  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpbase.def: added missing symbol.
2005-07-30 15:24:15 +00:00
Sven Neumann c0484b468f Reverted inadvertent commit of changes to screenshot.c and only fixed the
signedness issue instead.
2005-07-30 14:10:52 +00:00
Sven Neumann 26eecddbdc loop unrolling.
2005-07-30  Sven Neumann  <sven@gimp.org>

	* app/base/gimphistogram.c (gimp_histogram_calculate_sub_region):
	loop unrolling.

	* app/dialogs/about-dialog.c
	* app/widgets/gimpselectiondata.c
	* plug-ins/bmp/bmpread.c (ReadBMP)
	* plug-ins/gfig/gfig.c (gfig_load)
	* plug-ins/imagemap/imap_preview.c
	* plug-ins/imagemap/imap_selection.c
	* plug-ins/jpeg/jpeg-exif.c
	* plug-ins/common/dicom.c: fixed signedness warnings.
2005-07-30 14:05:57 +00:00
Sven Neumann 8ca802b3c2 plug-ins/script-fu/scripts/Makefile.am removed this script (see bug
2005-07-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/image-structure.scm: removed this
	script (see bug #307016).
2005-07-30 00:45:53 +00:00
Sven Neumann 2300e2b743 increase the size of the swap file in chunks of 16MB instead of only
2005-07-30  Sven Neumann  <sven@gimp.org>

	* app/base/tile-swap.c: increase the size of the swap file in
	chunks of 16MB instead of only 256KB. Check the return value of
	ftruncate().
2005-07-30 00:33:57 +00:00
Sven Neumann 5071edb1a6 increased spacing.
2005-07-29  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppageselector.c: increased spacing.
2005-07-29 21:02:19 +00:00
Sven Neumann f4adf361db added "tools-foreground-select" to the Selection Tools menu.
2005-07-29  Sven Neumann  <sven@gimp.org>

	* menus/image-menu.xml.in: added "tools-foreground-select" to the
	Selection Tools menu.

	* app/tools/gimpforegroundselecttool.c: resolved clashing mnemonic.
2005-07-29 20:26:29 +00:00
Sven Neumann b8fc8e6050 themes/Default/images/Makefile.am
2005-07-29  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/tools/stock-tool-foreground-select-16.png
	* themes/Default/images/tools/stock-tool-foreground-select-22.png:
	added placeholder for yet-to-be-drawn tool icon.

	* libgimpwidgets/gimpstock.[ch]: register it.

	* app/tools/gimpforegroundselecttool.c: use it.

	* app/widgets/gimpclipboard.[ch] (gimp_clipboard_get_svg): return
	a signed char pointer.

	* app/actions/edit-commands.c
	* app/tools/gimpinkoptions-gui.c: fixed signedness issues.
2005-07-29 18:04:59 +00:00
Sven Neumann a026524412 app/base/siox.[ch] pass progress_callback and progress_data to
2005-07-29  Sven Neumann  <sven@gimp.org>

	* app/base/siox.[ch]
	* app/core/gimpdrawable-foreground-extract.c: pass progress_callback
	and progress_data to siox_foreground_extract().
2005-07-29 16:09:16 +00:00
Sven Neumann 2580f0c04e added a progress parameter.
2005-07-29  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-foreground-extract.[ch]: added a progress
	parameter.

	* app/tools/gimpforegroundselecttool.[ch]: changed the "select"
	method to take a GimpDisplay instead of a GimpImage.

	* tools/pdbgen/pdb/drawable.pdb
	* app/tools/gimpforegroundselecttool.c: changed accordingly.

	* app/pdb/drawable_cmds.c: regenerated.
2005-07-29 03:28:27 +00:00
Sven Neumann 5ce9b4ecd5 fixed signedness warnings.
2005-07-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c: fixed signedness warnings.
2005-07-29 02:55:18 +00:00
Sven Neumann 23666d8f19 added GimpForegroundExtractMode in preparation for other implementations
2005-07-29  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpbaseenums.[ch]: added GimpForegroundExtractMode
	in preparation for other implementations to be added in the future.

	* libgimp/gimpenums.c.tail
	* tools/pdbgen/enums.pl: regenerated.

	* app/core/gimpdrawable-foreground-extract.[ch]
	* app/tools/gimpforegroundselecttool.c
	* tools/pdbgen/pdb/drawable.pdb: added the mode parameter.

	* app/pdb/drawable_cmds.c
	* libgimp/gimpdrawable_pdb.[ch]: regenerated.
2005-07-29 02:35:12 +00:00
Sven Neumann 26b69166c7 added casts to silent signedness warnings.
2005-07-29  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpconfig-utils.c (gimp_config_string_append_escaped):
	added casts to silent signedness warnings.
2005-07-29 02:22:00 +00:00
Sven Neumann 74345379e9 no antialiasing for the foreground selection tool (yet).
2005-07-29  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpselectionoptions.c (gimp_selection_options_gui): no
	antialiasing for the foreground selection tool (yet).
2005-07-29 02:07:49 +00:00
Sven Neumann a5abd45337 added gimp_scan_convert_render_value(), a variant of
2005-07-29  Sven Neumann  <sven@gimp.org>

	* app/core/gimpscanconvert.[ch]: added
	gimp_scan_convert_render_value(), a variant of
	gimp_scan_convert_render() that allows to pass the foreground value.

	* app/tools/gimpfreeselecttool.[ch]: added a virtual "select" method.

	* app/tools/Makefile.am
	* app/tools/gimp-tools.c
	* app/tools/gimpforegroundselecttool.[ch]: added a rough first
	version of foreground selection tool based on the SIOX algorithm.
	Work in progress...

	* app/widgets/gimphelp-ids.h: added help-id for the new tool.
2005-07-29 01:48:56 +00:00
Sven Neumann 81b81e3318 minor cleanup.
2005-07-29  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpfreeselecttool.c: minor cleanup.
2005-07-29 00:16:45 +00:00
Sven Neumann fde49937b3 minor cleanup.
2005-07-29  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c (siox_foreground_extract): minor cleanup.
2005-07-28 23:40:00 +00:00
Sven Neumann 0728f76b35 added gimp_undo_stack_get_depth().
2005-07-29  Sven Neumann  <sven@gimp.org>

	* app/core/gimpundostack.[ch]: added gimp_undo_stack_get_depth().

	* app/widgets/gimpimagepropview.[ch]: display number and memory
	usage of undo/redo steps.

	* app/core/gimpimage-merge.c: fixed signedness issue.
2005-07-28 22:40:32 +00:00
Sven Neumann b82d4c46c7 accept an offset between pixels and mask, work only on the intersection
2005-07-28  Sven Neumann  <sven@gimp.org>

	* app/base/siox.[ch]: accept an offset between pixels and mask,
	work only on the intersection rectangle.

	* app/core/gimpdrawable-foreground-extract.c: pass the drawable
	offsets to siox_foreground_extract().
2005-07-28 20:12:16 +00:00
Sven Neumann 55f7b68c23 allow to enable some debug output.
2005-07-28  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c: allow to enable some debug output.
2005-07-28 00:18:39 +00:00
Manish Singh bd5d41062d #include gimpimage-colormap.h
2005-07-27  Manish Singh  <yosh@gimp.org>

        * app/core/gimpdrawable-foreground-extract.c: #include
        gimpimage-colormap.h
2005-07-27 23:01:48 +00:00
Sven Neumann d429a944db app/core/Makefile.am moved cpercep from here ...
2005-07-28  Sven Neumann  <sven@gimp.org>

	* app/core/Makefile.am
	* app/core/cpercep.[ch]: moved cpercep from here ...

	* app/base/Makefile.am
	* app/base/cpercep.[ch]: ... to here.

	* app/base/siox.[ch]: use the cpercep routines for RGB->LAB
	conversion, gives a 20% speedup. Removed normalization which seems
	redundant. Make it work for grayscale and indexed, not only RGB.

	* app/core/gimpdrawable-foreground-extract.c
	* app/core/gimpimage-convert.c: changed accordingly.
2005-07-27 22:52:34 +00:00
Sven Neumann 5ef2b855ca change the cursor with the tool (bug #90519).
2005-07-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: change the cursor with the tool
	(bug #90519).
2005-07-26 13:38:48 +00:00
Sven Neumann 18943eba39 fixed signedness warnings.
2005-07-26  Sven Neumann  <sven@gimp.org>

	* tools/gimp-remote.c: fixed signedness warnings.
2005-07-26 01:21:17 +00:00
Maurits Rijk 4c28829dc5 make buffer large enough to hold all polygon data.
2005-07-25  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_csim.y: make buffer large enough to hold
	all polygon data.

	* plug-ins/imagemap/imap_csim_parse.[ch]: regenerated. Fixes #169698
2005-07-25 20:07:14 +00:00
Michael Natterer c1c876a963 Some DND fixes / cleanup:
2005-07-25  Michael Natterer  <mitch@gimp.org>

	Some DND fixes / cleanup:

	* app/widgets/widgets-enums.h: renamed GIMP_DND_TYPE_TOOL to
	GIMP_DND_TYPE_TOOL_INFO.

	* app/widgets/gimpselectiondata.[ch]: s/tool/tool_info/g. Moved
	private functions to the end of the file. Include GIMP's PID in
	all GtkSelectionData strings which are used to pass around stuff
	by reference. For things which are referenced by name, also encode
	the object's address in the GtkSelectionData so having a brush
	called "Standard" or a named buffer called "Global Buffer" will
	work together with DND.

	* app/widgets/gimpdnd.[ch]: s/tool/tool_info/g. Renamed
	gimp_dnd_get_data_data() to gimp_dnd_get_object_data() since it's
	not limited to GimpData objects. Follow above selection data API
	changes. Cleanup.

	* libgimp/gimpbrushmenu.c
	* libgimp/gimpdrawablecombobox.c
	* libgimp/gimpfontselectbutton.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimpimagecombobox.c
	* libgimp/gimppalettemenu.c
	* libgimp/gimppatternmenu.c: follow GtkSelectionData format change
	and check the dropped things' PID against the return value of
	gimp_getpid().
2005-07-25 13:53:00 +00:00
Sven Neumann 1999d56ef9 on Win32, include <process.h> for getpid().
2005-07-25  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/misc.pdb: on Win32, include <process.h> for
	getpid().

	* app/pdb/misc_cmds.c: regenerated.
2005-07-25 12:59:53 +00:00
Michael Natterer 52329c5799 added gimp_getpid().
2005-07-25  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/misc.pdb: added gimp_getpid().

	* libgimp/gimp.def: changed accordingly.

	* app/pdb/internal_procs.c
	* app/pdb/misc_cmds.c
	* libgimp/gimpmisc_pdb.[ch]: regenerated.
2005-07-24 23:34:25 +00:00
Michael Natterer 43d691daef don't call gtk_widget_hide() on a NULL help button.
2005-07-25  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpdialog.c (gimp_dialog_add_buttons_valist):
	don't call gtk_widget_hide() on a NULL help button.
2005-07-24 23:02:33 +00:00
Michael Natterer b7b799c041 libgimp/gimpbrushmenu.c put the previews into sunken instead of etched-in
2005-07-24  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpbrushmenu.c
	* libgimp/gimppatternmenu.c: put the previews into sunken instead
	of etched-in frames.
2005-07-24 14:40:10 +00:00
Michael Natterer 07ff13c754 untabify, minor cleanup.
2005-07-24  Michael Natterer  <mitch@gimp.org>

	* app/core/gimppattern.c: untabify, minor cleanup.
2005-07-23 22:22:45 +00:00
Michael Natterer b886b0179b special case the global buffer so it can be dropped, not only dragged
2005-07-23  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpselectiondata.c
	(gimp_selection_data_get_buffer): special case the global buffer
	so it can be dropped, not only dragged around.
2005-07-23 19:42:20 +00:00
Michael Natterer 53ac1f4f01 added a label showing the number of selected pages. Allow to enter ranges
2005-07-23  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppageselector.c: added a label showing the
	number of selected pages. Allow to enter ranges like "5-" or "-7"
	(treat them as if the user had entered "5-n_pages" or "1-7").
	Minor UI spacing and code cleanup.
2005-07-23 16:37:33 +00:00
Michael Schumacher 456d74d8e8 added missing gimp_page_selector_[get|set]_target
2005-07-22  Michael Schumacher  <schumaml@cvs.gnome.org>

	* libgimpwidgets/gimpwidgets.def: added missing
	gimp_page_selector_[get|set]_target
2005-07-22 16:37:30 +00:00
Michael Natterer 93e282b5b5 Forgot to commit ChangeLog. 2005-07-22 10:36:01 +00:00
Sven Neumann afc7754c9e fixed the GIMP_ZOOM_TO case for palettes with a number of colors that is
2005-07-22  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppaletteeditor.c (gimp_palette_editor_zoom):
	fixed the GIMP_ZOOM_TO case for palettes with a number of colors
	that is not a multiple of the number of columns.
2005-07-22 08:19:05 +00:00
Sven Neumann 222d5a8935 reverted my last change here and replaced it with a better fix.
2005-07-22  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpviewrendererpalette.c
	(gimp_view_renderer_palette_render): reverted my last change here
	and replaced it with a better fix.
2005-07-22 08:09:40 +00:00
Michael Natterer 2a48c63e90 setup the dnd stuff in GimpView::set_viewable() and remove GimpView's
2005-07-22  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppaletteview.c: setup the dnd stuff in
	GimpView::set_viewable() and remove GimpView's automatically added
	GimpPalette drag source. Fixes color dragging (bug #113237).
2005-07-21 22:36:14 +00:00
Sven Neumann 6a4b454431 added gimp_preview_get_area() for the rare case when one needs access to
2005-07-21  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.[ch]: added gimp_preview_get_area()
	for the rare case when one needs access to the GimpPreviewArea
	used in the preview.

	* libgimpwidgets/gimpwidgets.def: updated.
2005-07-21 14:02:29 +00:00
Pawan Chitrakar 6a06988737 Nepali Translation Added 2005-07-21 07:51:29 +00:00
Michael Natterer 20725453b4 don't return an execution error if the user cancelled the dialog.
2005-07-20  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/poppler.c (run): don't return an execution error
	if the user cancelled the dialog.
2005-07-20 19:39:46 +00:00
Sven Neumann 09f4e32828 fixed typo (Debian bug #310018).
2005-07-20  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-dump.c: fixed typo (Debian bug #310018).
2005-07-20 14:56:39 +00:00
Sven Neumann 0a29b4b509 declare variables at the start of the scope. Apply GIMP coding style to
2005-07-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-grid.c: declare variables at the start of the
	scope. Apply GIMP coding style to the new polar grid code.
2005-07-20 09:40:32 +00:00
Sven Neumann 3e74368a3b return FALSE if the keypress event isn't handled because of a display
2005-07-19  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpvectortool.c (gimp_vector_tool_key_press): return
	FALSE if the keypress event isn't handled because of a display
	mismatch.
2005-07-19 21:26:12 +00:00
Sven Neumann f56ab4b823 fixed signedness warnings.
2005-07-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mng.c (mng_save_image): fixed signedness warnings.
2005-07-19 20:52:12 +00:00
Michael Natterer 19ea2a9db4 app/widgets/Makefile.am new files keeping the render acceleration check
2005-07-19  Michael Natterer  <mitch@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/gimprender.[ch]: new files keeping the render
	acceleration check buffers.

	* app/display/gimpdisplayshell-render.[ch]: removed them here.

	* app/gui/gui.c: initialize/shutdown the new buffers.

	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpviewrenderer.c
	* app/widgets/gimpviewrenderergradient.c
	* app/actions/view-actions.c
	* app/display/gimpdisplayshell-appearance.c
	* app/display/gimpdisplayshell-draw.c
	* app/display/gimpdisplayshell.c: use the new stuff. Removes
	lots of broken widgets -> display dependencies.
2005-07-19 20:42:14 +00:00
Michael Natterer 7e11ba99b8 renamed member "palette" to "preview", cleanup.
2005-07-19  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolormapeditor.[ch]: renamed member "palette"
	to "preview", cleanup.
2005-07-19 19:37:07 +00:00
Sven Neumann 7e4f880849 app/actions/edit-actions.c changed the default keybinding for Edit->Clear
2005-07-19  Sven Neumann  <sven@gimp.org>

	* app/actions/edit-actions.c
	* etc/ps-menurc: changed the default keybinding for Edit->Clear
	from Ctrl-K to Delete (bug #118115).
2005-07-19 12:02:53 +00:00
Sven Neumann 1e76f341f9 try a different style for the info labels below the histogram; mainly to
2005-07-19  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphistogrameditor.c: try a different style for the
	info labels below the histogram; mainly to avoid repositioning.
2005-07-19 09:44:46 +00:00
David Odin f0e58a1c63 don't try to free unallocated space (happened when vert or horz were 0.0)
* plug-ins/common/gauss.c: don't try to free unallocated space
  (happened when vert or horz were 0.0)
2005-07-18 18:10:55 +00:00
Sven Neumann 3dcf54db08 added libgimpwidgets/gimpresolutionentry.c.
2005-07-18  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added libgimpwidgets/gimpresolutionentry.c.

	* de.po: updated.
2005-07-18 16:58:35 +00:00
Sven Neumann 6466e3b82d need to sort the boundary here since gimp_draw_tool_draw_boundary()
2005-07-18  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpeditselectiontool.c (gimp_edit_selection_tool_start):
	need to sort the boundary here since gimp_draw_tool_draw_boundary()
	expects a sorted boundary now. Fixes bug #310432.

	* app/tools/gimppainttool.c: formatting.
2005-07-18 15:54:49 +00:00
Sven Neumann dca11f2ef4 tweaked spacing and alignments to make it look more like our other
2005-07-18  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpresolutionentry.c: tweaked spacing and
	alignments to make it look more like our other widgets.

	* plug-ins/common/poppler.c: put the resolution entry into a hbox
	so that it doesn't expand horizontally; removed unused table.
2005-07-18 10:16:45 +00:00
Sven Neumann 712ce5c8f9 plug-ins/common/nlfilt.c plug-ins/common/pat.c plug-ins/common/svg.c
2005-07-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/nlfilt.c
	* plug-ins/common/pat.c
	* plug-ins/common/svg.c
	* plug-ins/common/tiff.c
	* plug-ins/common/tile.c
	* plug-ins/common/uniteditor.c
	* plug-ins/common/wmf.c: fixed signedness warnings.
2005-07-17 20:35:32 +00:00
Sven Neumann 2c544f73bd added missing casts.
2005-07-17  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd-xds.c: added missing casts.
2005-07-17 20:01:59 +00:00
Manish Singh 1612db6507 plug-ins/pygimp/gimpmodule.c revert to old behavior of parasite_find
2005-07-17  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp-drawable.c: revert to old behavior of
        parasite_find functions returning None when there isn't a parasite
        found. Fixed bug #310666.
2005-07-17 19:49:01 +00:00
Nate Summers d3ca47f99a spiffy new widget that given a physical size, displays that size in an
* libgimpwidgets/gimpresolutionentry.[ch]: spiffy new widget that given
	a physical size, displays that size in an arbitrary unit, and lets
	you select a resolution via changing either the corresponding width
	and height or specifying it directly in pixels per your chosen unit.

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.def
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetstypes.h: added appropriate files, function,
	headers, and types, respectively

	* devel-docs/libgimpwidgets/libgimpwidgets.types: added
	gimp_resolution_entry_get_type.  A section still needs to be created
	for it.

	* plug-ins/common/poppler.c (run): bugfix that accidentally wasn't
	merged in previous commit.

	* plug-ins/common/poppler.c (load_dialog): replaced resolution
	spinbutton with a GimpResolutionEntry.
2005-07-17 08:30:41 +00:00
Sven Neumann b8725f4878 added comments about possible improvements.
2005-07-16  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c: added comments about possible improvements.
2005-07-16 00:00:11 +00:00
Nate Summers bf865b3e41 bah evil epiphany error messages 2005-07-15 23:54:58 +00:00
Nate Summers b1d0b2c13a merged in all the changes in my current gimp-poppler tree that don't need
* plug-ins/common/poppler.c: merged in all the changes in my
	current gimp-poppler tree that don't need c++ or cause regressions.
	Insignificant code cleanups.

	* plug-ins/common/poppler.c (load_dialog): display title of pdf
	at the top of the dialog, and show the page labels in the page
	selector.  The loop for the page labels might be profitably moved
	into another thread, but I haven't actually timed how long it takes
	to be sure.
2005-07-15 23:49:21 +00:00
Nathan Summers addd96b0ce add poppler's CFLAGS, and make the comment about how
2005-07-16  Nathan Summers  <rock@gimp.org>

        * plug-ins/common/mkgen.pl: add poppler's CFLAGS, and make the
        comment about how plug-ins/common/Makefile.am is autogenerated
        more prominent

        * plug-ins/common/.cvsignore
        * plug-ins/common/Makefile.am:
2005-07-15 23:27:48 +00:00
Nate Summers bf8cae8f81 initial import into CVS. There was much rejoicing.
* plug-ins/common/poppler.c: initial import into CVS.  There was much
	rejoicing.

 	* configure.in: check for gthread-2.0 in the poppler check, because
	it is not necessarily checked for elsewhere.  Once other threaded
	plugins become available, this probably should be moved.

	Also removed the HAVE_POPPLER am conditional; it wasn't needed.

	* plug-ins/common/Makefile.am: added poppler to the build process
2005-07-15 22:57:26 +00:00
Sven Neumann e28327299a also show the number of pixels.
2005-07-16  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpimagepropview.[ch]: also show the number of pixels.
2005-07-15 22:51:48 +00:00
Sven Neumann 3b99ced260 Makefile.am added a rough implementation of the foreground extraxtion
2005-07-16  Sven Neumann  <sven@gimp.org>

	* Makefile.am
	* plug-ins/benchmark-foreground-extract.py: added a rough
	implementation of the foreground extraxtion benchmark as proposed
	in the GrabCut paper. See comments in the file for details.
2005-07-15 22:48:46 +00:00
Carol Spears cc3ac4a9ca corrected the spelling of the word tassel.
* docs/Wilber_Construction_Kit.xcf.gz:  corrected the spelling of the word
  tassel.
2005-07-15 21:46:44 +00:00
Carol Spears d788471608 added a tassle and a fez.
* docs/Wilber_Construction_Kit.xcf.gz:  added a tassle and a fez.
2005-07-15 20:51:54 +00:00
Sven Neumann 395c6dbf70 fixed implementations.
2005-07-15  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs.c (erode_region) (dilate_region):
	fixed implementations.
2005-07-15 19:07:38 +00:00
Sven Neumann 873dec37d7 don't crash on empty palettes.
2005-07-15  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpviewrendererpalette.c
	(gimp_view_renderer_palette_render): don't crash on empty palettes.
2005-07-15 08:30:39 +00:00
Michael Natterer 8d856ef5de app/widgets/gimphistogramview.c cleanup.
2005-07-14  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphistogramview.c
	* app/widgets/gimpnavigationview.c: cleanup.
2005-07-14 18:51:32 +00:00
Michael Natterer d280c77f3f added "entry-clicked" and "color-dropped" signals. Completely handle color
2005-07-14  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppaletteview.[ch]: added "entry-clicked" and
	"color-dropped" signals. Completely handle color DND. Cleanup.

	* app/core/gimpmarshal.list: marshallers for above signals.

	* app/widgets/gimppaletteeditor.[ch]: chopped and reassembled.
	Remove tons of code and use a GimpPaletteView instead of the
	deprecated GtkPreview. Addresses bug #102204.
2005-07-14 18:37:33 +00:00
Sven Neumann 2566531777 added erode_region() and dilate_region() 2005-07-14 15:40:19 +00:00
Michael Natterer c0a10c8303 app/widgets/Makefile.am app/widgets/widgets-types.h new widget which
2005-07-14  Michael Natterer  <mitch@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimppaletteview.[ch]: new widget which manages the
	selected palette entry itself and emits "selected", "activated"
	and "context" signals. Not used yet.

	* app/widgets/gimpviewrendererpalette.[ch]: reimplemented palette
	drawing: added optional grid drawing and APIs to configure the
	renderer. Should be ready for the palette editor now.
2005-07-14 14:41:29 +00:00
Michael Natterer e9c1b3d207 implement it the same way as gimp_palette_get_preview(). Can't be used for
2005-07-13  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpviewrendererpalette.c
	(gimp_view_renderer_palette_render): implement it the same way as
	gimp_palette_get_preview(). Can't be used for the palette editor
	yet.
2005-07-13 20:47:08 +00:00
Michael Natterer 98dc0a67b7 app/widgets/Makefile.am app/widgets/widgets-types.h new view renderer,
2005-07-13  Michael Natterer  <mitch@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpviewrendererpalette.[ch]: new view renderer,
	does nothing yet except chaining up in ::render().

	* app/widgets/gimpviewrenderer-utils.c
	(gimp_view_renderer_type_by_viewable_type): use it for palettes.
2005-07-13 20:11:24 +00:00
Michael Schumacher 845fa0cbd3 plug-ins/gfig/gfig-dialog.c plug-ins/gfig/gfig-grid.c applied a patch by
2005-07-13  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig-grid.c
	* plug-ins/gfig/gfig.h: applied a patch by Ted Shaneyfelt that
	addresses parts of bug 151092: less sectors on inner, more sectors
	on outer tracks.
2005-07-13 20:05:41 +00:00
Sven Neumann 70aa10cef7 app/base/Makefile.am renamed to siox.[ch].
2005-07-13  Sven Neumann  <sven@gimp.org>

	* app/base/Makefile.am
	* app/base/segmentator.[ch]: renamed to siox.[ch].

	* app/base/siox.[ch]: added API docs and a link to the algorithm's
	new homepage. Removed unused code.

	* app/core/gimpdrawable-foreground-extract.c: changed accordingly.
2005-07-13 19:30:25 +00:00
Michael Natterer 8938834a72 actually return the added entry, and not always the palette's last entry
2005-07-13  Michael Natterer  <mitch@gimp.org>

	* app/core/gimppalette.c (gimp_palette_add_entry): actually return
	the added entry, and not always the palette's last entry (argh!).

	* app/widgets/gimppaletteeditor.c: make sure the cursor is always
	on the newly added color. Really fixes #15060 this time.
2005-07-13 17:46:12 +00:00
Sven Neumann fbd53c511b added smooth_region(), a simple convolution filter to smooth a mask.
2005-07-13  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs.[ch]: added smooth_region(), a
	simple convolution filter to smooth a mask.

	* app/base/segmentator.c (smooth_mask): use the new function.
2005-07-13 17:27:37 +00:00
Michael Natterer 153748330a added new public function gimp_dockable_blink_cancel() which stops title
2005-07-13  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdockable.[ch]: added new public function
	gimp_dockable_blink_cancel() which stops title blinking.

	* app/tools/gimpcolorpickertool.c (gimp_color_picker_tool_picked):
	cancel blinking when updating a picked color so the dockable
	doesn't flicker for each cursor movement.
2005-07-13 17:03:44 +00:00
Michael Natterer 736c547bd8 add colors after the cursor. Fixes bug #150608.
2005-07-13  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppaletteeditor.c (gimp_palette_editor_pick_color):
	add colors after the cursor. Fixes bug #150608.
2005-07-13 16:23:54 +00:00
Michael Natterer 02abc41cdf sorted list of deprecated procedures so deprecations since 2.0 and 2.2 are
2005-07-13  Michael Natterer  <mitch@gimp.org>

	* app/pdb/procedural_db.c (procedural_db_init_procs): sorted list
	of deprecated procedures so deprecations since 2.0 and 2.2 are
	grouped together.
2005-07-13 15:52:18 +00:00
Sven Neumann a01b2d6466 formatting.
2005-07-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu.c: formatting.
2005-07-12 17:21:33 +00:00
Michael Natterer 893c9b9872 pass opacity and paint_mode to gimp_edit_fill_internal() instead of
2005-07-12  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-edit.c: pass opacity and paint_mode to
	gimp_edit_fill_internal() instead of figuring them in the
	function.
2005-07-12 15:11:40 +00:00
Michael Natterer c9c9640a22 removed "context" parameter from GimpItem::stroke(), it's not needed any
2005-07-12  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpitem.[ch]: removed "context" parameter from
	GimpItem::stroke(), it's not needed any longer.

	* app/core/gimpchannel.c
	* app/core/gimpselection.c
	* app/vectors/gimpvectors.c: changed accordingly.
2005-07-12 14:44:17 +00:00
Michael Natterer 470c11a8f0 swapped the opacity scale and the paint mode menu to be consistent with
2005-07-12  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimppaintoptions-gui.c (gimp_paint_options_gui):
	swapped the opacity scale and the paint mode menu to be consistent
	with the layers dialog. Also makes the paint options look more
	balanced.
2005-07-11 22:03:22 +00:00
Sven Neumann 1aae154af7 for now, implement smooth_mask() by means of gaussian_blur_region().
2005-07-11  Sven Neumann  <sven@gimp.org>

	* app/base/segmentator.c: for now, implement smooth_mask() by
	means of gaussian_blur_region().
2005-07-11 21:03:10 +00:00
Sven Neumann 5d7b80c776 minor fixes to the API docs.
2005-07-11  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppropwidgets.c: minor fixes to the API docs.
2005-07-11 20:26:51 +00:00
Michael Natterer d64bf3564f added GimpPickable::get_opacity_at()
2005-07-11  Michael Natterer  <mitch@gimp.org>

	* app/core/gimppickable.[ch]: added GimpPickable::get_opacity_at()

	* app/core/gimpchannel.[ch]: removed gimp_channel_value() and
	implement ::get_opacity_at() instead.

	* app/core/gimplayer.[ch]: removed gimp_layer_pick_correlate()
	and implement ::get_opacity_at() instead.

	* app/core/gimpselection.c: GimpChannel::value() doesn't exist
	any more.

	* app/core/gimpprojection.c: implement ::get_opacity_at(), always
	returns OPAQUE.

	* app/core/gimpimage.c
	* app/tools/gimpbucketfilltool.c
	* app/tools/gimpclonetool.c
	* app/tools/gimpfliptool.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimpnewrectselecttool.c
	* app/tools/gimprectangletool.c
	* app/tools/gimpselectiontool.c
	* app/tools/gimptransformtool.c
	* tools/pdbgen/pdb/selection.pdb: changed accordingly.

	* app/pdb/selection_cmds.c: regenerated.
2005-07-11 19:21:52 +00:00
Michael Natterer d420a5bf58 simplify check for "inside selected region".
2005-07-11  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpclonetool.c (gimp_clone_tool_cursor_update):
	simplify check for "inside selected region".
2005-07-11 17:59:08 +00:00
Michael Natterer fea229090f added read-only properties "opacity", "mode" and "lock-alpha".
2005-07-11  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer.c: added read-only properties "opacity",
	"mode" and "lock-alpha".
2005-07-11 16:46:28 +00:00
Sven Neumann ecb99a7296 plugged memory leaks (bug #309967). Invalidate the preview when the
2005-07-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gauss.c: plugged memory leaks (bug #309967).
	Invalidate the preview when the algorithm is changed; default to
	RLE since it appears to be faster for the cases I tried.
2005-07-11 11:14:31 +00:00
Carol Spears e31653d9a1 docs/Wilber_Construction_Kit.xcf.gz
2005-07-10  Carol Spears  <carol@gimp.org>

	* docs/Wilber_Construction_Kit.xcf.gz
2005-07-11 06:04:44 +00:00
Manish Singh e68206f09f actually return a value.
2005-07-10  Manish Singh  <yosh@gimp.org>

        * libgimp/gimplayer.c (gimp_layer_set_preserve_trans): actually
        return a value.

        * plug-ins/pygimp/pygimp-drawable.c: create new lock_alpha attribute,
        and deprecate old preserve_trans attribute.

        * plug-ins/pygimp/plug-ins/shadow_bevel.py: use new lock_alpha API.
2005-07-10 22:05:11 +00:00
Michael Natterer e1be822e3d moved the lock alpha toggle to a separate "Lock:" line.
2005-07-10  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimplayertreeview.c (gimp_layer_tree_view_init):
	moved the lock alpha toggle to a separate "Lock:" line.
2005-07-10 21:24:21 +00:00
Michael Natterer 20b4769cf5 app/actions/layers-actions.c app/actions/layers-commands.[ch]
2005-07-10  Michael Natterer  <mitch@gimp.org>

	* app/actions/layers-actions.c
	* app/actions/layers-commands.[ch]
	* app/core/core-enums.[ch]
	* app/core/gimpimage-undo-push.[ch]
	* app/core/gimplayer-floating-sel.c
	* app/core/gimplayer.[ch]
	* app/text/gimptextlayer-xcf.c
	* app/widgets/gimphelp-ids.h
	* app/widgets/gimplayertreeview.[ch]
	* app/xcf/xcf-load.c
	* app/xcf/xcf-private.h
	* app/xcf/xcf-save.c
	* tools/pdbgen/pdb/layer.pdb
	* menus/image-menu.xml.in
	* libgimp/gimp.def: did a global s/preserve_trans/lock_alpha/ in
	preparation for more layer locking flags.

	* app/pdb/procedural_db.c
	* libgimp/gimplayer.[ch]: added compat stuff for preserve_trans.

	* app/pdb/layer_cmds.c
	* libgimp/gimplayer_pdb.[ch]: regenerated.

	* plug-ins/common/colortoalpha.c
	* 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/script-fu/scripts/3d-outline.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-logo.scm
	* plug-ins/script-fu/scripts/basic1-logo.scm
	* plug-ins/script-fu/scripts/basic2-logo.scm
	* plug-ins/script-fu/scripts/beveled-pattern-button.scm
	* plug-ins/script-fu/scripts/blend-anim.scm
	* plug-ins/script-fu/scripts/blended-logo.scm
	* plug-ins/script-fu/scripts/bovinated-logo.scm
	* plug-ins/script-fu/scripts/burn-in-anim.scm
	* plug-ins/script-fu/scripts/carved-logo.scm
	* plug-ins/script-fu/scripts/chalk.scm
	* plug-ins/script-fu/scripts/chip-away.scm
	* plug-ins/script-fu/scripts/comic-logo.scm
	* plug-ins/script-fu/scripts/coolmetal-logo.scm
	* plug-ins/script-fu/scripts/crystal-logo.scm
	* plug-ins/script-fu/scripts/drop-shadow.scm
	* plug-ins/script-fu/scripts/gimp-headers.scm
	* plug-ins/script-fu/scripts/gimp-labels.scm
	* plug-ins/script-fu/scripts/glowing-logo.scm
	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
	* plug-ins/script-fu/scripts/image-structure.scm
	* plug-ins/script-fu/scripts/neon-logo.scm
	* plug-ins/script-fu/scripts/perspective-shadow.scm
	* plug-ins/script-fu/scripts/starburst-logo.scm
	* plug-ins/script-fu/scripts/starscape-logo.scm
	* plug-ins/script-fu/scripts/textured-logo.scm
	* plug-ins/script-fu/scripts/title-header.scm
	* plug-ins/script-fu/scripts/waves-anim.scm
	* plug-ins/xjt/xjt.c: changed accordingly.
2005-07-10 21:17:22 +00:00
Sven Neumann da0adc4f65 unified strings.
2005-07-10  Sven Neumann  <sven@gimp.org>

	* app/batch.c (batch_run): unified strings.
2005-07-10 18:53:45 +00:00
Hans Breuer d9ac028c50 updated dont include "gimpmessagedialog.c" to avoid redefinitions. Instead
2005-07-10  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc app/gimpcore.def : updated
	* app/widgets/gimpcontrollerlist.c : dont include
	"gimpmessagedialog.c" to avoid redefinitions.
	Instead include gimpmessagebox.h and gimpmessagedialog.h

	* plug-ins/common/raw.c : include <io.h>
	* plug-ins/common/screenshot.c : make it compile. It
	still has no code to actually work on win32.
2005-07-10 16:24:57 +00:00
Sven Neumann f2382a6ef6 ported to GIMP data structures. There are still some TODOs, smooth_mask()
2005-07-10  Sven Neumann  <sven@gimp.org>

	* app/base/segmentator.[ch]: ported to GIMP data structures. There
	are still some TODOs, smooth_mask() isn't implemented yet.

	* app/core/Makefile.am
	* app/core/gimpdrawable-foreground-extract.[ch]: thin wrapper around
	the new segmentation algorithm.

	* tools/pdbgen/pdb/drawable.pdb: added a first draft of a PDB API
	for foreground extraction.

	* app/pdb/drawable_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpdrawable_pdb.[ch]: regenerated.
2005-07-09 22:44:26 +00:00
Michael Natterer 9b9052b866 removed if(image) checks where the image can't be NULL.
2005-07-09  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer.c: removed if(image) checks where the image
	can't be NULL.
2005-07-09 21:47:54 +00:00
Sven Neumann 841144efbd formatting.
2005-07-09  Sven Neumann  <sven@gimp.org>

	* app/base/pixel-surround.[ch]: formatting.
2005-07-09 12:04:23 +00:00
Sven Neumann 4b29677d16 gaussian_blur_region() writes to the pixel data, need to initialize the
2005-07-09  Sven Neumann  <sven@gimp.org>

	* app/core/gimpchannel.c (gimp_channel_real_feather):
	gaussian_blur_region() writes to the pixel data, need to initialize
	the pixel region with dirty == TRUE;

	* app/paint-funcs/paint-funcs-generic.h: formatting.
2005-07-09 11:48:02 +00:00
Michael Natterer df4aa0715a added "sample-merged" property and API. Pass it to
2005-07-09  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpsamplepointeditor.[ch]: added "sample-merged"
	property and API. Pass it to gimp_image_pick_color().

	* app/actions/Makefile.am
	* app/actions/actions.c
	* app/actions/sample-point-editor-actions.[ch]
	* app/actions/sample-point-editor-commands.[ch]: actions and
	callbacks for the sample point editor's menu.

	* app/widgets/gimphelp-ids.h: its help IDs.

	* app/menus/menus.c
	* menus/Makefile.am
	* menus/sample-point-editor-menu.xml: the sample point editor menu.
2005-07-09 11:23:15 +00:00
Michael Natterer 2a71ce5e59 if sample_merged is FALSE and drawable is NULL, just get the image's
2005-07-09  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-pick-color.c (gimp_image_pick_color): if
	sample_merged is FALSE and drawable is NULL, just get the image's
	active drawable instead of bailing out.

	* app/widgets/gimpcursorview.c (gimp_cursor_view_update_cursor):
	use gimp_image_pick_color() insted of duplicating its code.
2005-07-09 11:07:36 +00:00
Sven Neumann 184895d9fb ellipsize the name label.
2005-07-09  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpviewabledialog.c: ellipsize the name label.
2005-07-08 23:57:47 +00:00
Michael Natterer d928e7699a added boolean "sample-merged" property, API and GUI. Pick from the active
2005-07-09  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcursorview.[ch]: added boolean "sample-merged"
	property, API and GUI. Pick from the active drawable if it's
	FALSE.

	* app/actions/Makefile.am
	* app/actions/actions.c
	* app/actions/cursor-info-actions.[ch]
	* app/actions/cursor-info-commands.[ch]: new files with actions
	and callbacks for the cursor info dialog's menu.

	* app/widgets/gimphelp-ids.h: help IDs for above actions.

	* app/actions/dialogs-actions.c
	* app/dialogs/dialogs.c: follow help ID change.

	* app/menus/menus.c
	* menus/Makefile.am
	* menus/cursor-info-menu.xml: add the cursor-info menu.

	* app/dialogs/dialogs-constructors.c: pass the menu factory to
	gimp_cursor_view_new().
2005-07-08 23:06:35 +00:00
Michael Natterer 2f7388db6f added boolean "sample-merged" property, API and GUI. Pick from the active
2005-07-09  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcursorview.[ch]: added boolean "sample-merged"
	property, API and GUI. Pick from the active drawable if it's
	FALSE.

	* app/actions/Makefile.am
	* app/actions/actions.c
	* app/actions/cursor-info-actions.[ch]
	* app/actions/cursor-info-commands.[ch]: new files with actions
	and callbacks for the cursor info dialog's menu.

	* app/widgets/gimphelp-ids.h: help IDs for above actions.

	* app/dialogs/dialogs.c: follow help ID change.

	* app/menus/menus.c
	* menus/Makefile.am
	* menus/cursor-info-menu.xml: add the cursor-info menu.

	* app/dialogs/dialogs-constructors.c: pass the menu factory to
	gimp_cursor_view_new().
2005-07-08 22:54:46 +00:00
Sven Neumann 6248b954db plugged memory leaks.
2005-07-09  Sven Neumann  <sven@gimp.org>

	* app/base/segmentator.c: plugged memory leaks.
2005-07-08 22:33:18 +00:00
Sven Neumann edc6dc95e6 minor cleanup, use a GQueue instead of a custom queue implementation.
2005-07-08  Sven Neumann  <sven@gimp.org>

	* app/base/segmentator.c: minor cleanup, use a GQueue instead of a
	custom queue implementation.
2005-07-08 21:24:55 +00:00
Sven Neumann 447ee79608 minor cleanup.
2005-07-08  Sven Neumann  <sven@gimp.org>

	* app/base/segmentator.c: minor cleanup.
2005-07-08 19:42:29 +00:00
Michael Natterer 7a883afa3a pass the color index value to gimp_color_frame_set_color() so it would
2005-07-08  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcursorview.c (gimp_cursor_view_update_cursor):
	pass the color index value to gimp_color_frame_set_color() so it
	would show up in the frame if we actually picked from indexed
	things.
2005-07-08 18:53:09 +00:00
Michael Natterer ddfcad7703 initialize the parent_class pointer with NULL.
2005-07-08  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpclonetool.c: initialize the parent_class pointer
	with NULL.
2005-07-08 18:44:59 +00:00
Michael Natterer c6ca1a8419 enable remote files: set local_only to FALSE if the PDB has
2005-07-08  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpfiledialog.c (gimp_file_dialog_new): enable
	remote files: set local_only to FALSE if the PDB has
	"file_uri_load/save" procedures (yes, this is questionable).
2005-07-08 18:27:24 +00:00
Michael Natterer 48729e774c libgimpcolor/gimpbilinear.c fix some uninitialized stuff gcc 4.0 was
2005-07-08  Michael Natterer  <mitch@gimp.org>

	* libgimpcolor/gimpbilinear.c
	* libgimpwidgets/gimppreviewarea.c: fix some uninitialized stuff
	gcc 4.0 was choking about.
2005-07-08 18:18:00 +00:00
Michael Natterer a3371b1f0f added and fixed some API docs.
2005-07-08  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppageselector.c (gimp_page_selector_class_init):
	added and fixed some API docs.
2005-07-08 18:16:20 +00:00
Sven Neumann 80dd4bff6c fixed spelling of Fractal.
2005-07-08  Sven Neumann  <sven@gimp.org>

        * plug-ins/ifscompose/ifscompose.c: fixed spelling of Fractal.
2005-07-08 16:57:38 +00:00
Michael Natterer 35cd24bea0 include gimpscrolledpreview.h
2005-07-08  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpwidgets.h: include gimpscrolledpreview.h
2005-07-08 16:07:16 +00:00
Michael Natterer 2c6d7892fc app/actions/edit-commands.c made the "Reset all tool options" and "Clear
2005-07-08  Michael Natterer  <mitch@gimp.org>

	* app/actions/edit-commands.c
	* app/actions/tool-options-commands.c: made the "Reset all tool
	options" and "Clear undo history" dialogs modal and simplified the
	code to use gimp_dialog_run() instead of a separate callback
	function.
2005-07-08 15:27:38 +00:00
Michael Natterer 0cf2783cc4 moved all instance members to a private struct.
2005-07-08  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppageselector.[ch]: moved all instance members
	to a private struct.
2005-07-08 13:25:57 +00:00
Michael Natterer 2813bcd8b7 fixed horizontal layout to not always use multiples of the default item
2005-07-08  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppageselector.[ch]: fixed horizontal layout to
	not always use multiples of the default item width. Use the
	maximum thumbnail icon width instead. Also fixes keynav since it
	doesn't trigger a GTK+ bug any more.
2005-07-07 23:54:32 +00:00
Sven Neumann bc170c2e2c applied GIMP coding style, switch to glib functions for memory allocation.
2005-07-08  Sven Neumann  <sven@gimp.org>

	* app/base/segmentator.[ch]: applied GIMP coding style, switch to
	glib functions for memory allocation.
2005-07-07 23:48:58 +00:00
Sven Neumann 3b8751e5c9 app/base/Makefile.am added foreground extraction algorithm. This code is
2005-07-08  Sven Neumann  <sven@gimp.org>

	* app/base/Makefile.am
	* app/base/segmentator.[ch]: added foreground extraction
	algorithm.  This code is contributed by Gerald Friedland. Please
	see the comments in the code for links to further information.
	This is work in progress. Don't expect it to do anything yet.
2005-07-07 23:45:38 +00:00
Michael Natterer 8611bb4c4c app/actions/documents-actions.c app/actions/documents-commands.[ch]
2005-07-07  Michael Natterer  <mitch@gimp.org>

	* app/actions/documents-actions.c
	* app/actions/documents-commands.[ch]
	* app/widgets/gimphelp-ids.h
	* menus/documents-menu.xml: added "Copy Image Location" to the
	document history popup menu which copies the image's URI to
	clipbpard and primary.
2005-07-07 21:49:35 +00:00