Commit Graph

11670 Commits

Author SHA1 Message Date
Tor Lillqvist 1e295cb070 Make GIMP work on Win32 even if installed in a path containing random
2005-08-24  Tor Lillqvist  <tml@novell.com>

	Make GIMP work on Win32 even if installed in a path containing
	random non-ASCII characters.

	* libgimpbase/gimpenv.c (gimp_toplevel_directory): [Win32] Use
	wide-char API on NT-based Windowses. Keep the toplevel directory
	name in UTF-8. The rest of GIMP assumes it is UTF-8 anyway, and
	for instance passes file names constructed from it to g_open().

	* app/plug-in/plug-in.c (plug_in_open): On Win32, if compiled
	against GLib < 2.8.2, convert the pathname arguments passed to
	g_spawn_async() to locale charset (system codepage). The
	g_spawn*() functions in GLib < 2.8.2 take system codepage
	arguments and not UTF-8.
2005-08-24 22:02:02 +00:00
William Skaggs 4ba616a300 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/paint-funcs/paint-funcs-generic.h (blend_pixels):
	Change blending algorithm to fix misbehavior of smudge
	tool, should fix bug #163721.
2005-08-24 17:55:52 +00:00
Sven Neumann dff3e7584e plug-ins/script-fu/scripts/i26-gunya2.scm reverted the last change...
2005-08-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/i26-gunya2.scm
	* plug-ins/script-fu/scripts/ripply-anim.scm: reverted the last
	change...

	* plug-ins/common/displace.c: ... and fixed the plug-in instead.
	The number of parameters must not change. Provide a new procedure
	for polar mode instead.
2005-08-24 09:51:17 +00:00
Tor Lillqvist d3277fca66 plug-ins/script-fu/scripts/i26-gunya2.scm Add the new last parameter to
2005-08-24  Tor Lillqvist  <tml@novell.com>

	* plug-ins/script-fu/scripts/i26-gunya2.scm
	* plug-ins/script-fu/scripts/ripply-anim.scm: Add the new last
	parameter to plug-in-displace calls. (See entry for displace.c
	from 2005-02-10 below.)
2005-08-24 09:01:38 +00:00
Sven Neumann b77b7ff3d1 fixed quotes in AC_DEFINE() macros.
2005-08-24  Sven Neumann  <sven@gimp.org>

	* configure.in: fixed quotes in AC_DEFINE() macros.
2005-08-23 22:12:17 +00:00
Sven Neumann 447c95b301 added a hint on how to use this plug-in.
2005-08-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/iwarp.c (iwarp_dialog): added a hint on how to
	use this plug-in.
2005-08-23 14:45:42 +00:00
Sven Neumann e7a14aaa71 applied capitalization patches contributed by Stephan Binner. Fixes bug
2005-08-23  Sven Neumann  <sven@gimp.org>

	* [lots of files]: applied capitalization patches contributed by
	Stephan Binner. Fixes bug #309657.
2005-08-23 00:18:08 +00:00
Sven Neumann 1a94b2be20 app/actions/channels-commands.c app/actions/qmask-commands.c
2005-08-23  Sven Neumann  <sven@gimp.org>

	* app/actions/channels-commands.c
	* app/actions/qmask-commands.c
	* app/dialogs/channel-options-dialog.c
	* app/dialogs/layer-options-dialog.c
	* app/dialogs/module-dialog.c
	* app/dialogs/palette-import-dialog.c
	* app/dialogs/preferences-dialog.c
	* app/dialogs/resize-dialog.c
	* app/dialogs/stroke-dialog.c
	* app/dialogs/vectors-options-dialog.c
	* app/display/gimpdisplayshell-scale.c
	* app/tools/gimpaligntool.c
	* app/tools/gimpblendoptions.c
	* app/widgets/gimphistogrameditor.c
	* app/widgets/gimpstrokeeditor.c
	* libgimpwidgets/gimpcolorselection.c
	* modules/cdisplay_colorblind.c
	* modules/cdisplay_highcontrast.c
	* modules/colorsel_cmyk.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/common/colorify.c
	* plug-ins/common/film.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/lic.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/sinus.c
	* plug-ins/common/sparkle.c
	* plug-ins/gflare/gflare.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_cmd_guides.c
	* plug-ins/imagemap/imap_preferences.c
	* plug-ins/metadata/interface.c
	* plug-ins/print/gimp_color_window.c
	* plug-ins/print/gimp_main_window.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/script-fu/script-fu-server.c: applied patch from
	Stephan Binner that fixes capitalization issues (bug #309657).
2005-08-22 23:39:12 +00:00
Sven Neumann 5ea47e3126 minor optimizations.
2005-08-23  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c: minor optimizations.

	* app/actions/gradients-actions.c
	* app/actions/patterns-actions.c
	* plug-ins/metadata/interface.c: applied patch from Stephan Binner
	that fixes wrong use of ellipsis (bug #309657).
2005-08-22 23:30:23 +00:00
Sven Neumann b6af2173d1 use GTK_STOCK_APPLY and fixed capitalization in button label.
2005-08-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sample_colorize.c: use GTK_STOCK_APPLY and fixed
	capitalization in button label.
2005-08-22 23:21:43 +00:00
Michael Natterer e04ba53950 Mention bug 2005-08-22 23:14:07 +00:00
Michael Natterer 194a71e305 added loading of pages as images.
2005-08-23  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/poppler.c: added loading of pages as images.
2005-08-22 23:05:12 +00:00
Michael Natterer d593dbbf83 applied patch from David Gowers that adds mnemonics to all action area
2005-08-22  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/sample_colorize.c (smp_dialog): applied patch
	from David Gowers that adds mnemonics to all action area
	buttons. Fixes bug #314191.
2005-08-22 21:13:43 +00:00
Sven Neumann eab00f1d80 converted comments to gtk-doc inline API docs.
2005-08-22  Sven Neumann  <sven@gimp.org>

	* app/core/gimpscanconvert.[ch]: converted comments to gtk-doc
	inline API docs.
2005-08-22 16:08:08 +00:00
Sven Neumann 750a668125 added --version command-line option.
2005-08-22  Sven Neumann  <sven@gimp.org>

	* tools/test-clipboard.c: added --version command-line option.
2005-08-22 14:08:49 +00:00
Michael Natterer baa9da87a8 the "Antialias" toggle got lost, resurrect it.
2005-08-21  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpselectionoptions.c (gimp_selection_options_gui):
	the "Antialias" toggle got lost, resurrect it.
2005-08-21 21:43:34 +00:00
Michael Natterer 10d9af1c76 Added missing files in last ChangeLog entry. 2005-08-21 20:36:00 +00:00
Jens Seidel d08ae844d3 fixed a typo: s/occured/occurred/g 2005-08-21 20:28:05 +00:00
Michael Natterer 6c7027a640 app/paint/gimppencil.h app/paint/gimppenciloptions.[ch]
2005-08-21  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppencil.h
	* app/paint/gimppenciloptions.[ch]
	* app/widgets/widgets-types.h
	* app/widgets/gimptooldialog.h: don't simply typedef object
	instance structs which add no members as their parent instance
	structs. Give them their own instance structs.  Fixes gtk-doc
	confusion.
2005-08-21 17:31:32 +00:00
Michael Natterer 6dbac4fae1 app/paint/gimppencil.h app/paint/gimppenciloptions.h
2005-08-21  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppencil.h
	* app/paint/gimppenciloptions.h
	* app/widgets/widgets-types.h
	* app/widgets/gimptooldialog.h: don't simply typedef object
	instance structs which add no members as their parent instance
	structs. Give them their own instance structs.  Fixes gtk-doc
	confusion.
2005-08-21 17:28:18 +00:00
Michael Natterer cb39aa66a0 removed HALF_WAY define, it's BOUNDARY_HALF_WAY now.
2005-08-21  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpchannel.h: removed HALF_WAY define, it's
	BOUNDARY_HALF_WAY now.
2005-08-21 12:57:54 +00:00
Sven Neumann 2cbf6ca5f4 when looking for the file extension, only look at the part after the last
2005-08-20  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpfiledialog.c (gimp_file_dialog_proc_changed):
	when looking for the file extension, only look at the part after
	the last directory separator.
2005-08-20 20:34:25 +00:00
Michael Natterer eb69eb49dc even more cleanup, replaced informal comments by API docs.
2005-08-20  Michael Natterer  <mitch@gimp.org>

	* app/base/boundary.[ch]: even more cleanup, replaced informal
	comments by API docs.
2005-08-20 17:25:19 +00:00
Michael Natterer 4fb1743f55 renamed puclic functions, defines and enums to live in a proper "boundary"
2005-08-20  Michael Natterer  <mitch@gimp.org>

	* app/base/boundary.[ch]: renamed puclic functions, defines and
	enums to live in a proper "boundary" namespace. Cleaned up and
	simplified internal code even more.

	* app/core/gimpchannel.c
	* app/core/gimpdrawable-stroke.c
	* app/core/gimplayer-floating-sel.c
	* app/paint/gimppaintcore-stroke.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpfuzzyselecttool.c
	* app/tools/gimppainttool.c: changed accordingly.
2005-08-20 15:46:37 +00:00
Michael Natterer e923e0a595 rename local "ns" variables to "num_segs" now that the global "num_segs"
2005-08-20  Michael Natterer  <mitch@gimp.org>

	* app/base/boundary.c: rename local "ns" variables to "num_segs"
	now that the global "num_segs" is gone.
2005-08-20 12:44:01 +00:00
Michael Natterer d78fa5482d moved the entire internal state of boundary creation and simplification
2005-08-20  Michael Natterer  <mitch@gimp.org>

	* app/base/boundary.c: moved the entire internal state of boundary
	creation and simplification from <eek>global variables</eek> to a
	new "Boundary" struct that needs to be newly allocated for each
	boundary. Yes this allocates and frees memory more often than
	before but the old code was simply one big eek.
2005-08-20 12:35:54 +00:00
Michael Natterer d0309947f8 look at the passed "ns" variable instead of at the global "num_segs" one
2005-08-20  Michael Natterer  <mitch@gimp.org>

	* app/base/boundary.c (sort_boundary): look at the passed "ns"
	variable instead of at the global "num_segs" one to figure if the
	passed array of BoundSegs is empty. Fixes bug #313922 at its root.
2005-08-20 12:22:31 +00:00
Akkana Peck c938072948 Fix the parameter check at the beginning of gimp_draw_tool_draw_boundary,
* app/tools/gimpdrawtool.c: Fix the parameter check at the
beginning of gimp_draw_tool_draw_boundary, to fix the crash
described in bug 313922.
2005-08-20 04:01:13 +00:00
Sven Neumann dd0f6068dc fixed typo 2005-08-20 02:38:21 +00:00
Sven Neumann 48c407c4b8 expemplary added artist and documenter roles to some contributors.
2005-08-20  Sven Neumann  <sven@gimp.org>

	* authors.xml: expemplary added artist and documenter roles to
	some contributors.

	* app/dialogs/authors.xsl: generate arrays for the new roles.

	* app/dialogs/authors.h: regenerated.

	* app/dialogs/about-dialog.c: pass the new arrays to the
	GtkAboutDialog constructor.
2005-08-20 02:28:29 +00:00
Sven Neumann 354649eec9 authors.dtd simplified by making dc: the default namespace.
2005-08-20  Sven Neumann  <sven@gimp.org>

	* authors.dtd
	* authors.xml: simplified by making dc: the default namespace.

	* authors.xsl
	* app/dialogs/authors.xsl: match the toplevel element in the dc:
	namespace.
2005-08-20 01:52:26 +00:00
Sven Neumann 1c6c159d5f authors.dtd use elements and attributes from Dublin Core.
2005-08-19  Sven Neumann  <sven@gimp.org>

	* authors.dtd
	* authors.xml: use elements and attributes from Dublin Core.

	* authors.xsl
	* app/dialogs/authors.xsl: changed accordingly.

	* app/dialogs/authors.h: regenerated.

	* app/dialogs/about-dialog.c: Peter and Spencer are now part of
	the list of authors (but listed before everyone else).
2005-08-20 01:16:41 +00:00
Sven Neumann ce6959e138 set the role and window position.
2005-08-19  Sven Neumann  <sven@gimp.org>

	* app/dialogs/about-dialog.c: set the role and window position.
2005-08-19 17:15:28 +00:00
Michael Natterer e3bedf3fad changed to "mozilla-firefox %s" (was "mozilla %s").
2005-08-19  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpguiconfig.c (DEFAULT_WEB_BROWSER): changed to
	"mozilla-firefox %s" (was "mozilla %s").
2005-08-19 17:11:02 +00:00
Sven Neumann f64b986b48 plug-ins/common/curve_bend.c plug-ins/common/plugin-browser.c
2005-08-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c
	* plug-ins/common/plugin-browser.c
	* plug-ins/helpbrowser/dialog.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/jpeg/jpeg-load.c: use canonical procedure names with
	gimp_run_procedure().

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

	* gimpmodule.c
	* gimp-drawable.c: use canonical procedure names with
	gimp_run_procedure().
2005-08-19 16:35:48 +00:00
Sven Neumann fd7ed3dfd1 generate a NULL terminated array.
2005-08-19  Sven Neumann  <sven@gimp.org>

	* app/dialogs/authors.xsl: generate a NULL terminated array.

	* app/dialogs/authors.h: regenerated.

	* app/dialogs/about-dialog.[ch]: embedded the about box into a
	GtkAboutDialog.

	* app/dialogs/dialogs-constructors.c: pass a GimpContext to
	about_dialog_create().
2005-08-19 16:32:01 +00:00
Nate Summers 74ce3871fd removed some extraneous commas
* plugins/poppler.c: removed some extraneous commas
2005-08-19 00:35:11 +00:00
Michael Natterer fff14f6385 Poppler 0.4 changes the API of poppler_page_render_to_pixbuf():
2005-08-19  Michael Natterer  <mitch@gimp.org>

	Poppler 0.4 changes the API of poppler_page_render_to_pixbuf():

	* configure.in: define HAVE_POPPLER_0_4 if it is available.

	* plug-ins/common/poppler.c: added some #ifdefs to compile with
	both the new and old version. Can be removed in some weeks
	propably.
2005-08-18 22:41:07 +00:00
Michael Natterer c0b1fcb92c cursors/Makefile.am cursors/gimp-tool-cursors.xcf
2005-08-18  Michael Natterer  <mitch@gimp.org>

	* cursors/Makefile.am
	* cursors/gimp-tool-cursors.xcf
	* cursors/modifier-join.png
	* cursors/xbm/modifier-join-mask.xbm
	* cursors/xbm/modifier-join.xbm: images for a "join" cursor modifier.

	* app/widgets/widgets-enums.h
	* app/widgets/gimpcursor.c: add the cursor.

	* app/tools/gimpvectortool.c: use it for connecting strokes.
	Fixes bug #313252.
2005-08-18 21:35:06 +00:00
Sven Neumann b55111bf6e removed reference to SIOX algorithm from tooltip, it's an implementation
2005-08-18  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpforegroundselecttool.c: removed reference to SIOX
	algorithm from tooltip, it's an implementation detail.
2005-08-18 21:09:16 +00:00
Sven Neumann 031f10b41d updated year in copyright.
2005-08-18  Sven Neumann  <sven@gimp.org>

	* app/dialogs/user-install-dialog.c: updated year in copyright.

	* libgimpwidgets/gimpwidgets-private.c (gimp_widgets_init):
	register the default window icons in descending sizes.
2005-08-18 17:39:27 +00:00
Sven Neumann 2ebf0647c5 go back to using dpi as the default resolution unit.
2005-08-18  Sven Neumann  <sven@gimp.org>

	* app/core/gimptemplate.c: go back to using dpi as the default
	resolution unit.

	* app/core/gimp-utils.[ch]: moved the code to determine the unit
	from the locale settings here as gimp_get_default_unit().

	* app/dialogs/print-size-dialog.c
	* app/widgets/gimpimagepropview.c: use the unit returned by the
	new function to display the print size (bug #107497).
2005-08-18 15:08:49 +00:00
Sven Neumann 6265478d0b reverted last change.
2005-08-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/procedure-browser.c (run): reverted last change.

	* libgimp/gimpprocbrowserdialog.[ch]: emit new signal "row-activated"
	instead of emitting "response" with GTK_RESPONSE_APPLY.

	* plug-ins/pygimp/procbrowser.c
	* plug-ins/script-fu/script-fu-console.c: connect to "row-activated"
	and call gtk_dialog_response() with GTK_RESPONSE_APPLY.
2005-08-18 13:55:14 +00:00
Sven Neumann b80a584f9a only close the dialog on GTK_RESPONSE_CLOSE.
2005-08-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/procedure-browser.c (run): only close the dialog
	on GTK_RESPONSE_CLOSE.
2005-08-18 12:05:26 +00:00
Michael Natterer f81fca5395 plug-ins/common/animoptimize.c plug-ins/common/pnm.c
2005-08-18  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/animoptimize.c
	* plug-ins/common/pnm.c
	* plug-ins/metadata/interface.c
	* plug-ins/metadata/metadata.c: some forgotten canonical names.

	* plug-ins/metadata/Makefile.am
	* plug-ins/metadata/metadata.h: new header containing the
	procedure name #defines for metadata.
2005-08-18 08:57:43 +00:00
Sven Neumann f8dff379bf check for langinfo.h and _NL_MEASUREMENT_MEASUREMENT.
2005-08-17  Sven Neumann  <sven@gimp.org>

	* configure.in: check for langinfo.h and _NL_MEASUREMENT_MEASUREMENT.

	* app/core/gimptemplate.c: try to determine the default unit from
	the locale settings. Supposed to fix bug #107497.
2005-08-17 17:01:58 +00:00
Sven Neumann 465aa7a7c5 fixed initialization of row array.
2005-08-17  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs.c (smooth_region): fixed
	initialization of row array.

	* app/base/siox.c: minor cleanups.
2005-08-17 15:38:43 +00:00
Tor Lillqvist 6f6e1c21f8 Use $(WINDRES) to handle cross-compilation.
2005-08-17  Tor Lillqvist  <tml@novell.com>

	* plug-ins/winsnap/Makefile.am (LDADD): Use $(WINDRES) to handle
	cross-compilation.

	* plug-ins/winsnap/winsnap.rc: Refer to the .ico files in
	lowercase, in case cross-compiling.
2005-08-17 12:07:31 +00:00
Sven Neumann e91e1ad5d8 applied patch by Kristian Jantz. Reimplements find_max_blob() so that it
2005-08-17  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c: applied patch by Kristian Jantz. Reimplements
	find_max_blob() so that it needs less memory. Slows things down a
	bit, but that can be improved later.
2005-08-17 11:05:34 +00:00
Sven Neumann 9795fdebbc update the progress less frequently.
2005-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/grid.c: update the progress less frequently.
2005-08-17 01:31:37 +00:00
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