Commit Graph

10264 Commits

Author SHA1 Message Date
Michael Natterer da3c78d5e6 use the orininal string if plug_in_actions_check_translation() fails
2004-12-31  Michael Natterer  <mitch@gimp.org>

	* app/actions/plug-in-actions.c: use the orininal string if
	plug_in_actions_check_translation() fails instead of bailing out.
	Fixes bug #162590.
2004-12-31 18:17:57 +00:00
Michael Natterer e5feab6519 removed the just added gimp_palette_insert_entry() and added a "gint
2004-12-31  Michael Natterer  <mitch@gimp.org>

	* app/core/gimppalette.[ch]: removed the just added
	gimp_palette_insert_entry() and added a "gint position" parameter
	to gimp_palette_add_entry() instead (no need to have two almost
	identical functions).

	* app/actions/palette-editor-commands.c
	* app/core/gimppalette-import.c
	* app/widgets/gimppaletteeditor.c
	* tools/pdbgen/pdb/palette.pdb: changed accordingly.

	* app/pdb/palette_cmds.c: regenerated.
2004-12-31 17:27:57 +00:00
Michael Natterer c1ddf3ea45 use the coordinates passed in the color drop callback instead of
2004-12-31  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpfgbgeditor.[ch]: use the coordinates passed in
	the color drop callback instead of remembering them in the
	drag_motion handler.
2004-12-31 16:53:22 +00:00
Sven Neumann 515482fc20 fixed rounding so that all brush kernels are created with a constant sum
2004-12-31  Sven Neumann  <sven@gimp.org>

	* tools/kernelgen.c: fixed rounding so that all brush kernels are
	created with a constant sum of 256.

	* app/paint/gimpbrushcore-kernels.h: regenerated.

	* app/paint/gimpbrushcore.c (gimp_brush_core_subsample_mask): use
	the constant defined un app/paint/gimpbrushcore-kernels.h. Should
	give a tiny speedup.
2004-12-31 16:20:51 +00:00
William Skaggs b650df0c8e Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/paint/gimpbrushcore.c: invert dependence of brush size on pressure,
	using formula from Dave Ahlswede in bug #149576.
2004-12-31 15:43:58 +00:00
Michael Natterer e0f25134ca Applied modified patch from Ben Campbell which adds drop coordinates to
2004-12-31  Michael Natterer  <mitch@gimp.org>

	Applied modified patch from Ben Campbell which adds drop
	coordinates to the color drop callback and uses it to insert
	colors in the palette editor. Extended the patch to add drop
	coordinates to all drop callbacks.

	* app/core/gimppalette.[ch]: added gimp_palette_insert_entry().

	* app/display/gimpdisplayshell-dnd.[ch]: added drop coordinates
	to all drop callbacks.

	* app/dialogs/palette-import-dialog.c
	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpcontainerview.c
	* app/widgets/gimpdnd.[ch]
	* app/widgets/gimpdrawabletreeview.c
	* app/widgets/gimpfgbgeditor.c
	* app/widgets/gimpgradienteditor.c
	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimppaletteeditor.c
	* app/widgets/gimppropwidgets.c
	* app/widgets/gimpselectioneditor.c
	* app/widgets/gimptoolbox-dnd.c
	* app/widgets/gimptoolbox-image-area.c
	* app/widgets/gimptoolbox-indicator-area.c
	* app/widgets/gimptooloptionseditor.c
	* libgimpwidgets/gimpcolorselect.c: changed accordingly. The passed
	drop coordiantes are so far unused.

	* app/widgets/gimppaletteeditor.c: use the drop coordinates to
	insert the new color into the palette at the right place instead
	of always appending. Fixes bug #150030.
2004-12-31 14:36:30 +00:00
Michael Natterer 8439ecb6da app/actions/tools-actions.c app/actions/tools-commands.[ch] applied a
2004-12-31  Michael Natterer  <mitch@gimp.org>

	* app/actions/tools-actions.c
	* app/actions/tools-commands.[ch]
	* app/widgets/gimptoolview.[ch]: applied a (modified) patch from
	Joao S. O. Bueno which adds "raise" and "lower" actions and
	their buttons in the tool dialog. Fixes bug #158666.
	Cleaned up the tool action callbacks.
2004-12-31 13:29:39 +00:00
Sven Neumann 4df339c091 use the proper image type and rowstride. Fixes bug #162592.
2004-12-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_preview.c (render_rgb_image): use the proper
	image type and rowstride. Fixes bug #162592.
2004-12-31 02:42:10 +00:00
Manish Singh 03cef22080 Oop, forgot changelog 2004-12-31 00:39:35 +00:00
William Skaggs 129c953b6f Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimpsizebox.c: give correct arguments to
	gimp_coordinates_new().  Fixes problem described in
	comment 6 of bug #162387.
2004-12-31 00:27:35 +00:00
Sven Neumann c30a919b68 bumped gimp_app_version and gimp_user_version to 2.3.
2004-12-31  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped gimp_app_version and gimp_user_version to 2.3.
2004-12-31 00:22:34 +00:00
William Skaggs 610b26c2f4 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* tools/pdbgen/pdb/brush.pdb: added api for changing properties
	of generated brushes.

	* tools/pdbgen/pdb/palette.pdb: added palette_is_editable().

	* app/pdb/brush_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/palette_cmds.c
	* libgimp/gimpbrush_pdb.c
	* libgimp/gimpbrush_pdb.h
	* libgimp/gimppalette_pdb.c
	* libgimp/gimppalette_pdb.h: autogenerated.
2004-12-30 23:28:38 +00:00
Sven Neumann 610ea3091a bumped version to 2.3.0.
2004-12-29  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version to 2.3.0.
2004-12-29 14:56:43 +00:00
Sven Neumann b5f0facec3 handle a NULL return value from gtk_file_chooser_get_uri(). Fixes bug
2004-12-29  Sven Neumann  <sven@gimp.org>

	* app/dialogs/file-save-dialog.c (file_save_dialog_response):
	handle a NULL return value from gtk_file_chooser_get_uri(). Fixes
	bug #162443.
2004-12-29 14:17:43 +00:00
Maurits Rijk 0358e3814b replace home-brewn color selection by GimpColorButton.
2004-12-29  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_preferences.[ch]: replace home-brewn color
	selection by GimpColorButton.
2004-12-29 13:04:42 +00:00
David Odin ed4dbde140 plug-ins/gfig/gfig-rectangle.[ch] news files to implement a rectangle tool
* plug-ins/gfig/gfig-rectangle.[ch]
* plug-ins/gfig/images/stock-rectangle.png: news files to implement a
  rectangle tool to gfig.

* plug-ins/gfig/gfig-stock.c
* plug-ins/gfig/gfig-stock.h
* plug-ins/gfig/Makefile.am: modified accordingly.

* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-ellipse.c
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig-types.h
* plug-ins/gfig/gfig.c
* plug-ins/gfig/gfig.h: modified to support the new shape and
  implement two new filling types: vertical and horizontal gradients.
  These gradients are imho much more useful than the shapeburst one.
2004-12-29 01:16:20 +00:00
William Skaggs bc9bc06510 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/compose.c: Recompose did not properly
	handle case where layer with alpha is decomposed into
	something that does not encode alpha -- now does.
2004-12-29 01:05:14 +00:00
Michael Natterer a46c649956 new utility function instead of code duplication.
2004-12-28  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-edit.c (gimp_edit_set_buffer): new utility
	function instead of code duplication.
2004-12-28 22:42:04 +00:00
Michael Natterer ab79fa6059 added translatable strings to the GimpLayerModeEffects enum because they
2004-12-28  Michael Natterer  <mitch@gimp.org>

	* app/base/base-enums.[ch]: added translatable strings to the
	GimpLayerModeEffects enum because they will soon disappear from
	widgets/gimpwidgets-constructors.c
2004-12-28 22:07:29 +00:00
William Skaggs 1472c92a05 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/compose.c: add "Recompose" (plug_in_recompose)
	as described on dev mailing list.

	* plug-ins/common/decompose.c: add "decompose-data" parasite
	when decoposing, to support Recompose.  Also add missing
	alpha channels to newly produced layers
2004-12-28 21:15:45 +00:00
Sven Neumann 70d570d000 Made 2.2.1 release.
2004-12-28  Sven Neumann  <sven@gimp.org>

        * Made 2.2.1 release.
2004-12-28 16:10:38 +00:00
Sven Neumann 4d27239a9c renamed menu_path parameter to menu_label and added a pointer to
2004-12-28  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.[ch] (gimp_install_procedure, gimp_install_temp_proc):
	renamed menu_path parameter to menu_label and added a pointer to
	gimp_plugin_menu_register()

	* app/widgets/gimpsizebox.c (gimp_size_box_constructor): removed
	unused variables.
2004-12-28 15:21:16 +00:00
Sven Neumann 7544ed7605 reverted Bill's change since it is obviously not the right fix. Allocate
2004-12-28  Sven Neumann  <sven@gimp.org>

	* app/paint/gimpbrushcore.c (gimp_brush_core_subsample_mask):
	reverted Bill's change since it is obviously not the right fix.
	Allocate the array larger to avoid the crash. We need to
	investigate bug #161323 further.
2004-12-28 14:20:26 +00:00
Sven Neumann 19a39a1234 fixed spelling of Robert's name 2004-12-28 13:10:20 +00:00
William Skaggs 201e23cf7f Change spelling of name from 'Robert Ogren' to 'Robert Egren' in ChangeLog :-). 2004-12-27 19:56:52 +00:00
William Skaggs 5c80016c50 Forgot to give proper credit in ChangeLog entry in previous commit. 2004-12-27 19:50:59 +00:00
William Skaggs 551b11f9b2 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/paint/gimpbrushcore.c (gimp_brush_core_subsample_mask):
	don't set array outside its bounds.  Should fix bug #161323.
2004-12-27 19:46:17 +00:00
Sven Neumann 965b4ff0bb if possible, use gimp_preview_draw_buffer() so that the selection mask is
2004-12-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colortoalpha.c: if possible, use
	gimp_preview_draw_buffer() so that the selection mask is correctly
	previewed. Minor cleanups.
2004-12-27 10:43:38 +00:00
Sven Neumann 59b87864f4 added some checks to avoid division by zero.
2004-12-27  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpregioniterator.c: added some checks to avoid
	division by zero.

	* libgimpwidgets/gimppreviewarea.[ch]: minor cleanups, improved
	API documentation.
2004-12-27 10:24:16 +00:00
David Odin 5a1a005074 plug-ins/gfig/gfig-arc.c plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-arc.c
* plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-ellipse.c
* plug-ins/gfig/gfig-line.c
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-spiral.c
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig-style.h
* plug-ins/gfig/gfig.h: plugged some memory-leaks, and done some cleanups.
2004-12-26 21:09:48 +00:00
William Skaggs 15fb7b6f18 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpbrush.c: don't ask for preview with
	zero width or height, fixes bug #162232.

	* app/base/brush-scale.c: remove tabs and trailing
	whitespace.
2004-12-26 18:18:17 +00:00
William Skaggs 286ed38772 Bill Skaggs Forget to save updated ChangeLog before previous commit.
Bill Skaggs
Forget to save updated ChangeLog before previous commit.
2004-12-26 17:56:21 +00:00
Michael Natterer 80074a4af2 limit the "Thread intensity" parameter to [0..100] because it's used as
2004-12-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/weave.scm: limit the "Thread
	intensity" parameter to [0..100] because it's used as layer
	opacity. Fixes bug #162182.
2004-12-25 19:27:18 +00:00
William Skaggs 59e86d02fb Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/actions/documents-commands.c
	* app/actions/file-commands.c
	* app/dialogs/file-open-dialog.c
	* app/dialogs/file-open-location-dialog.c
	* app/display/gimpdisplayshell-dnd.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimptoolbox-dnd.c: replace % with space
	in file name before showing error message,
	fixes bug #162147.

	* app/core/gimp-gui.c
	* app/widgets/gimpmessagebox.c: be a bit more paranoid
	about validating utf8 for messages.
2004-12-24 19:11:30 +00:00
William Skaggs 1380e5ea0b Bill Skaggs <weskaggs@primate.ucdavis.edu>
* gimp/app/widgets/gimpsizebox.c: fix incorrect Update
	Policy for size entry as pointed out by mitch.
2004-12-24 00:19:41 +00:00
Sven Neumann 6e1ff6f29d don't call gimp_progress_update() for each and every pixel. Every few rows
2004-12-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/despeckle.c (despeckle_median): don't call
	gimp_progress_update() for each and every pixel. Every few rows
	should be enough. Fixes bug #162129.

	* plug-ins/common/blur.c: set progress to 1.0 when done, not to 100.
2004-12-23 23:19:43 +00:00
William Skaggs aebc133432 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/mblur.c: set up tile cache before
	creating dialog -- major speedup in preview.
2004-12-23 21:49:28 +00:00
William Skaggs 09951fcf99 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* gimp/app/widgets/gimpsizebox.c: use gimp_coordinates_new()
	instead of duplicating a lot of code.  Fixes bug #161756.

	* gimp/app/widgets/gimppropwidgets.c: small change in
	chainbutton handling to make above work.
2004-12-23 18:12:23 +00:00
Sven Neumann 7d11f4ddbc made plug_in_proc_frame_free() a static function.
2004-12-23  Sven Neumann  <sven@gimp.org>

	* app/plug-in/plug-in-proc-frame.[ch]: made plug_in_proc_frame_free()
	a static function.
2004-12-23 15:13:51 +00:00
Michael Natterer 0527989edf Item conversion depends on the old *and* the new item type, so it can't
2004-12-23  Michael Natterer  <mitch@gimp.org>

	Item conversion depends on the old *and* the new item type, so
	it can't live in the old item's vtable only:

	* app/core/gimpitem.[ch]: split GimpItem::convert() into
	GimpItem::convert_from() (which is called on the old item and
	creates the new item) and GimpItem::convert_to() (which is called
	on the new item). This way functions from the old *and* new items'
	vtables are called and it's possible to convert between item types
	which live on different branches of the class hierarchy or to item
	types which live further down the class tree than the old item.

	(gimp_item_convert): call ::convert_to() on the new item created
	by ::convert_from().

	* app/vectors/gimpvectors.c: changed ::convert() implementation
	to ::convert_from().

	* app/core/gimplayer.c: changed ::convert() to ::convert_to().
	Fixes bug #161877.
2004-12-23 11:53:14 +00:00
Sven Neumann 02d2a673c9 plug-ins/script-fu/scripts/Makefile.am removed this script as it is broken
2004-12-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/asc2img.scm: removed this script as it
	is broken beyond repair and the functionality is provided by the
	text tool itself.
2004-12-22 16:21:17 +00:00
Sven Neumann 360e067709 added NEWS for the stable branch (no, we haven't branched yet).
2004-12-22  Sven Neumann  <sven@gimp.org>

	* NEWS: added NEWS for the stable branch (no, we haven't branched
	yet).

	* Makefile.am
	* NEWS.pre-2.2: moved old NEWS here.
2004-12-22 01:07:11 +00:00
Sven Neumann e59cc07dcd fixed the degenerate case where the source image is smaller than the
2004-12-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp.c (blur_line): fixed the degenerate case
	where the source image is smaller than the blurred area. This used
	to give artefacts at the borders.
2004-12-21 22:47:58 +00:00
Sven Neumann d02f17319d more code cleanup and micro optimizations.
2004-12-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp.c: more code cleanup and micro
	optimizations.
2004-12-21 22:04:55 +00:00
Sven Neumann b1e4859aa5 fixed ChangeLog entry 2004-12-21 18:03:54 +00:00
Sven Neumann a4c622468c reverted the last change since it introduced artefacts. Even had to
2004-12-21  Sven Neumann  <neumann@jpk.com>

	* plug-ins/common/unsharp.c: reverted the last change since it
	introduced artefacts. Even had to increase the border around the
	previewed area. Fixed a bug in the unsharp_region where it was
	using the wrong source region for blurring.
2004-12-21 13:01:01 +00:00
Sven Neumann b8e0037222 compute preview for the displayed area only, some more code cleanup.
2004-12-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp.c: compute preview for the displayed area
	only, some more code cleanup.
2004-12-21 10:48:32 +00:00
Sven Neumann f81299c1ac fixed bug #157910. More code cleanup and some trivial optimizations.
2004-12-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp.c (preview_update): fixed bug #157910.
	More code cleanup and some trivial optimizations.
2004-12-21 00:04:34 +00:00
Michael Natterer 30aa9051d3 if the dialog is insensitive, disable all actions which modify the
2004-12-21  Michael Natterer  <mitch@gimp.org>

	* app/actions/gradient-editor-actions.c
	(gradient_editor_actions_update): if the dialog is insensitive,
	disable all actions which modify the gradient. Fixes bug #161411.

	* app/actions/gradient-editor-commands.c: update the UI manager
	after setting the dialog sensitive/insensitive so te above works.
2004-12-21 00:01:47 +00:00
Sven Neumann ff4b4eaf35 more code cleanup.
2004-12-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp.c: more code cleanup.
2004-12-20 22:27:05 +00:00
Sven Neumann c783f3f2d1 unset the dirty flag on the GimpPixelRgn used to iterate the region.
2004-12-20  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawablepreview.c (gimp_drawable_preview_draw_region):
	unset the dirty flag on the GimpPixelRgn used to iterate the region.

	* libgimp/gimppixelrgn.c (gimp_pixel_rgn_init): improved docs.
2004-12-20 21:39:48 +00:00
Sven Neumann 3d6e33e361 code cleanup, no real changes.
2004-12-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp.c: code cleanup, no real changes.
2004-12-20 20:45:42 +00:00
Sven Neumann ca6dfc6426 bumped version to 2.2.1.
2004-12-20  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version to 2.2.1.

	* plug-ins/FractalExplorer/FractalExplorer.c: applied patch from
	Yeti that fixes a memory corruption (bug #161729).
2004-12-20 00:28:51 +00:00
Michael Natterer cf8c82f8f2 Copied current ChangeLog away and truncated it. 2004-12-19 02:55:34 +00:00
Sven Neumann ef08d8f0ce Made 2.2.0 release.
2004-12-19  Sven Neumann  <sven@gimp.org>

        * Made 2.2.0 release.
2004-12-19 02:37:28 +00:00
Sven Neumann cbb9ba9860 fixed label.
2004-12-18  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprotatetool.c (gimp_rotate_tool_dialog): fixed label.
2004-12-18 17:05:32 +00:00
Sven Neumann 0ac7b4b1fc free the dialog's private data struct using a weak reference, not in a
2004-12-18  Sven Neumann  <sven@gimp.org>

	* app/dialogs/resize-dialog.c: free the dialog's private data
	struct using a weak reference, not in a "destroy" handler.  Should
	fix bug #161472.

	* app/dialogs/print-size-dialog.c
	* app/dialogs/scale-dialog.c: same change here.
2004-12-18 11:58:39 +00:00
Sven Neumann 4682e37d1d marked a message for translation that had been forgotten. Fixes bug
2004-12-18  Sven Neumann  <sven@gimp.org>

	* app/dialogs/quit-dialog.c: marked a message for translation that
	had been forgotten. Fixes bug #161596.
2004-12-18 10:35:35 +00:00
Sven Neumann c9ee12aeec check for gtk-doc.m4, depend on intltool > 0.31.
2004-12-17  Sven Neumann  <sven@gimp.org>

	* autogen.sh: check for gtk-doc.m4, depend on intltool > 0.31.
2004-12-17 16:29:27 +00:00
Sven Neumann a493f0dea2 don't use the rect-select cursor if the tool is in move-layer mode.
2004-12-17  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpmovetool.c (gimp_move_tool_cursor_update): don't
	use the rect-select cursor if the tool is in move-layer mode.
	Spotted by Joao S. O. Bueno, bug #161465.
2004-12-17 15:16:36 +00:00
Simon Budig 7228441256 Minor fix: Update the Graph after adding a control point
(merged into the last Changelog entry)
2004-12-17 13:47:29 +00:00
Simon Budig 306fa33a01 Kill some nonsensical code that tried to set control points in a free form
2004-12-17  Simon Budig  <simon@gimp.org>

	* app/tools/gimpcurvestool.c: Kill some nonsensical code that
	tried to set control points in a free form curve based on the
	image coordinates (huh?). Untabbified.
2004-12-17 13:11:29 +00:00
Sven Neumann da12388bd2 take drawable offsets into account. Fixes bug #161508.
2004-12-17  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_pick_color):
	take drawable offsets into account. Fixes bug #161508.
2004-12-17 12:31:11 +00:00
Sven Neumann 25957deb24 docs/gimp-remote.1.in docs/gimp.1.in minor tweaks.
2004-12-17  Sven Neumann  <sven@gimp.org>

	* docs/gimp-remote.1.in
	* docs/gimp.1.in
	* docs/gimptool.1.in: minor tweaks.
2004-12-17 09:04:24 +00:00
Simon Budig c075dab29e Added new splash by Bill Luhtala <bluhtala@telus.net>.
2004-12-17  Simon Budig  <simon@gimp.org>

	* data/images/gimp-splash.png: Added new splash by
	Bill Luhtala <bluhtala@telus.net>.

	* data/images/gimp-logo.png: Added new Image for the about dialog
	by Philip Lafleur <deathpudding@gmail.com>.

	* app/dialogs/about-dialog.c: Adjusted text colors and placement
	to the new image.

	* data/images/gimp2_0_logo.png
	* data/images/gimp2_0_splash.png: Added for historical reasons.

	* data/images/gimp_logo.png: Removed (renamed to gimp-logo.png)
	* data/images/Makefile.am: changed accordingly.
2004-12-17 00:06:10 +00:00
William Skaggs 372be1f83a Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpgradient-load.c: reject .ggr files whose
	segments don't properly span the range 0-1.
	Fixes bug #161430.
2004-12-16 22:59:27 +00:00
Sven Neumann 3929204f58 updated location of fontconfig sources.
2004-12-16  Sven Neumann  <sven@gimp.org>

	* INSTALL: updated location of fontconfig sources.
2004-12-16 22:55:52 +00:00
Manish Singh 608efddb91 Cast result of g_value_dup_object() to GIMP_CONTEXT().
2004-12-16  Manish Singh  <yosh@gimp.org>

        * app/widgets/gimppdbdialog.c (gimp_pdb_dialog_set_property): Cast
        result of g_value_dup_object() to GIMP_CONTEXT().
2004-12-16 22:52:32 +00:00
William Skaggs 0dd3e4a721 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/script-fu/scripts/circuit.scm: don't try to
	desaturate a grayscale layer, fixes bug #161470.
2004-12-16 22:51:43 +00:00
Sven Neumann 96145d3623 app/config/gimpconfig-dump.c docs/gimp-remote.1.in docs/gimp.1.in hyphens
2004-12-16  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-dump.c
	* docs/gimp-remote.1.in
	* docs/gimp.1.in
	* docs/gimprc.5.in: hyphens revisited.
2004-12-16 21:47:48 +00:00
Sven Neumann aa1f77e816 escape hyphens.
2004-12-16  Sven Neumann  <neumann@jpk.com>

	* app/config/gimpconfig-dump.c (dump_gimprc_manpage): escape hyphens.

	* docs/gimp.1.in: documented the way that splash images are choosen.

	* docs/gimprc.5.in: regenerated.
2004-12-16 19:11:13 +00:00
Michael Natterer 8a5a4bd626 get gimp, display or image from a context only if it isn't NULL. Fixes
2004-12-16  Michael Natterer  <mitch@gimp.org>

	* app/actions/actions.c (action_data_get_*): get gimp, display or
	image from a context only if it isn't NULL. Fixes warnings and
	crashes when dragging around some dockables (the dockables'
	context temporarily becomes NULL while dragging).

	Reordered checks for the passed "data" to be consistent across the
	various functions.

	Removed assertions which said "#warning: remove me before 2.2"
2004-12-16 13:26:35 +00:00
Sven Neumann 8c82c50b4a added a note on how to use the dialog, copied from the GNOME keyboard
2004-12-16  Sven Neumann  <neumann@jpk.com>

	* app/dialogs/preferences-dialog.c (prefs_keyboard_shortcuts_dialog):
	added a note on how to use the dialog, copied from the GNOME keyboard
	shortcuts editor.
2004-12-16 10:57:03 +00:00
Sven Neumann 53cfed36a1 let gimp_text() and gimp_text_fontname() succeed but return -1 if no layer
2004-12-15  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/text_tool.pdb: let gimp_text() and
	gimp_text_fontname() succeed but return -1 if no layer was created.
	Fixes bug #161272.

	* app/pdb/text_tool_cmds.c
	* libgimp/gimptexttool_pdb.c: regenerated.
2004-12-15 20:37:54 +00:00
Michael Natterer 37226e50d6 added utility function gimp_drawable_preview_bytes() and use it. Some
2004-12-15  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-preview.[ch]: added utility function
	gimp_drawable_preview_bytes() and use it. Some cleanup,
	untabified.

	* app/widgets/gimpviewrendererdrawable.c: use
	gimp_drawable_preview_bytes() instead of duplicating its code.
2004-12-15 14:40:52 +00:00
Michael Natterer 1a752a6d54 Sven Neumann <sven@gimp.org>
2004-12-15  Michael Natterer  <mitch@gimp.org>
	    Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-preview.c (gimp_drawable_preview_scale):
	fixed RGBA resampling by using premultiplied values for the
	intermediate accumulation buffer. Fixes bugs #72880 and #72881.
2004-12-15 01:36:22 +00:00
Sven Neumann 4d908e46c6 moved ChangeLog entries around 2004-12-15 00:12:27 +00:00
Michael Natterer 0449deee27 added "gint ref_count" to the PlugInProcFrame struct. Added new functions
2004-12-14  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-in-proc-frame.[ch]: added "gint ref_count" to
	the PlugInProcFrame struct. Added new functions
	plug_in_proc_frame_ref/unref().

	(plug_in_proc_frame_new): set the ref_count to 1.

	* app/plug-in/plug-in.[ch] (plug_in_proc_frame_push): return the
	new proc_frame.

	(plug_in_proc_frame_pop): use unref() instead of free().

	* app/plug-in/plug-in-run.c (plug_in_temp_run): ref the proc_frame
	while running its main loop. Removed the call to
	plug_in_proc_frame_pop().

	* app/plug-in/plug-in-message.c (plug_in_handle_temp_proc_return):
	call plug_in_proc_frame_pop() immediately after
	plug_in_main_loop_quit() so the proc_frame goes away from the
	stack and can't be used accidentially if the core is too busy to
	return to the main loop before the next command arrives on the
	wire. Really fixes bug #161114 this time.
2004-12-14 22:42:00 +00:00
Simon Budig 7323c5a07d Changed the "gradient" parameter to "slope" to make it more clear what the
2004-12-14  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpstroke.[ch]: Changed the "gradient" parameter
	to "slope" to make it more clear what the returned result is (which
	was wrong earlier).
	* tools/pdbgen/pdb/paths.pdb: changed accordingly

	* app/pdb/paths_cmds.c
	* libgimp/gimppaths_pdb.[ch]
	* devel-docs/libgimp/tmpl/gimppaths.sgml: regenerated.

	Fixes bug #161274.
2004-12-14 22:36:40 +00:00
Maurits Rijk 9dda832758 don't use gtk_tree_selection_get_selected with GTK_SELECTION_MULTIPLE.
2004-12-14  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_selection.c: don't use
	gtk_tree_selection_get_selected with GTK_SELECTION_MULTIPLE. Should
	finally fix bug #149157.
2004-12-14 21:22:28 +00:00
Sven Neumann 10d550f788 documented.
2004-12-14  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpstock.c (gimp_stock_init): documented.
2004-12-14 01:42:08 +00:00
Sven Neumann 0e62110271 don't call gtk_radio_tool_button_new_with_stock_from_widget() with a NULL
2004-12-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_misc.c (make_toolbar_radio_icon): don't
	call gtk_radio_tool_button_new_with_stock_from_widget() with a
	NULL widget. Fixes bug #161210.
2004-12-14 01:03:14 +00:00
Sven Neumann f428c0ed08 added GIMP_API_VERSION to the generated gimpversion.h.
2004-12-14  Sven Neumann  <sven@gimp.org>

	* configure.in: added GIMP_API_VERSION to the generated gimpversion.h.

	* libgimpbase/gimpenv.c (gimp_toplevel_directory): use
	GIMP_API_VERSION instead of GIMP_MACRO_VERSION.GIMP_MINOR_VERSION
	when building a path to test the plug-in executable path against.
2004-12-13 23:41:47 +00:00
Michael Natterer 5e75f585d6 added gimp_drawable_sub_thumbnail() to enable plug-ins avoiding
2004-12-14  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/drawable.pdb: added gimp_drawable_sub_thumbnail()
	to enable plug-ins avoiding #142074-alike bugs if they need to.

	* app/pdb/drawable_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpdrawable_pdb.[ch]: regenerated.

	* libgimp/gimpdrawable.[ch]
	* libgimp/gimppixbuf.[ch]: wrap it with the same convenience
	APIs as gimp_drawable_thumbnail().

	* libgimp/gimp.def
	* libgimp/gimpui.def: changed accordingly.
2004-12-13 23:36:17 +00:00
Sven Neumann 3d7364b658 HACKING autogen.sh switched to using gtkdocize for the build of the API
2004-12-13  Sven Neumann  <sven@gimp.org>

	* HACKING
	* autogen.sh
	* configure.in: switched to using gtkdocize for the build of the
	API docs.
2004-12-13 22:51:55 +00:00
Sven Neumann b997c75b8c fixed ChangeLog 2004-12-13 22:05:48 +00:00
Maurits Rijk f96bd96237 don't try do to anything when selection is empty. Fixes bug #149157.
2004-12-13  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_selection.c: don't try do to anything when
	selection is empty. Fixes bug #149157.
2004-12-13 21:58:51 +00:00
Maurits Rijk eadf6f3cbb plug-ins/imagemap/imap_misc.[ch] plug-ins/imagemap/imap_selection.[ch]
2004-12-13  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_misc.[ch]
	* plug-ins/imagemap/imap_selection.[ch]
	* plug-ins/imagemap/imap_toolbar.[ch]
	* plug-ins/imagemap/imap_tools.[ch]: removed need for
	GTK_DISABLE_DEPRECATED. Looking at #149157 next...
2004-12-13 21:41:35 +00:00
Sven Neumann f21cde69a0 don't show the Crop tool window if Shift is being pressed on the initial
2004-12-13  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcroptool.c: don't show the Crop tool window if
	Shift is being pressed on the initial button_press event.
2004-12-13 21:09:43 +00:00
Sven Neumann 5e92462789 Moved "gfig" description to the end (out of the gimp namespace) and
also moved the ChangeLog entry.
2004-12-13 20:46:32 +00:00
William Skaggs 9b82d030cd Bill Skaggs <weskaggs@primate.ucdavis.edu>
* devel-docs/parasites.txt: add info about "gfig" layer parasite.
2004-12-13 20:11:19 +00:00
William Skaggs 3bfe3cf98d Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/pygimp/gimpfu.py: display PF_RADIO options vertically
	instead of horizontally, as suggested by Joao S. O. Bueno Calligaris.
	Fixes bug #160546.
2004-12-13 19:40:52 +00:00
William Skaggs c778ac3c96 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/gfig/gfig.c: make the "gfig" layer parasites persistent,
	so that they will be saved in xcf files.  Stop printing "GFig
	parasite found" message.
2004-12-13 19:21:48 +00:00
Michael Natterer 91d0794771 don't forget the context we were created with but rmember it as
2004-12-13  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppdbdialog.[ch]: don't forget the context we
	were created with but rmember it as pdb_dialog->caller_context.

	* app/widgets/gimpbrushselect.c
	* app/widgets/gimpfontselect.c
	* app/widgets/gimpgradientselect.c
	* app/widgets/gimppaletteselect.c
	* app/widgets/gimppatternselect.c: use the caller_context when
	calling the temp_proc so the temp_proc's stack frame doesn't
	contain the dialog's private context (which is just a scratch
	model for the container views) but the plug-in's real context
	which is fully initialized. Fixes bug #161114.
2004-12-13 14:45:55 +00:00
Sven Neumann d9363898a1 fixed gtk-doc comment.
2004-12-13  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawablecombobox.c: fixed gtk-doc comment.
2004-12-13 12:38:26 +00:00
David Odin b73e628cab plug-ins/gfig/gfig-dialog.c let objects keep their own fill_style context.
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-style.c: let objects keep their own fill_style
  context.
2004-12-13 10:12:05 +00:00
Sven Neumann 677fc5cc7e applied patch from Adam D. Moss with more fixed dither improvements (bug
2004-12-13  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-convert.c: applied patch from Adam D. Moss with
	more fixed dither improvements (bug #161123).
2004-12-13 00:30:15 +00:00
Sven Neumann 4f76089e26 restrict splash image to screen size to guard us from insanely large
2004-12-13  Sven Neumann  <sven@gimp.org>

	* app/gui/splash.c: restrict splash image to screen size to guard us
	from insanely large splash images.
2004-12-12 23:20:09 +00:00
Michael Natterer 44a7132848 invert logic so everything except GTK_RESPONSE_OK keeps the dock open
2004-12-13  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdock.c (gimp_dock_delete_event): invert logic so
	everything except GTK_RESPONSE_OK keeps the dock open
	(e.g. hitting escape).
2004-12-12 23:13:19 +00:00
Michael Natterer 31d4c01db9 should save before comitting. 2004-12-12 23:11:17 +00:00
Michael Natterer 2e263a8cc0 added precondition check for the coords of the src area. Some cleanup and
2004-12-12  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-preview.c (gimp_drawable_get_sub_preview):
	added precondition check for the coords of the src area. Some
	cleanup and simplification.

	* app/widgets/gimpviewrendererdrawable.c
	(gimp_view_renderer_drawable_render): don't request sub-previews
	of areas outside the drawable and don't reuqest previews of zero
	width or height. Fixes crashes with the new preview code.
2004-12-12 22:52:00 +00:00
Sven Neumann a6e1e72fe4 Applied patch from Adam D. Moss (bug #161113):
2004-12-12  Sven Neumann  <sven@gimp.org>

	Applied patch from Adam D. Moss (bug #161113):

	* app/core/gimpimage-convert.c: Use a slower but much nicer
	technique for finding the two best colours to dither between when
	using fixed/positional dither methods.  Makes positional dither
	much less lame.
2004-12-12 22:09:22 +00:00
Sven Neumann 609c84c26f push a context around code that changes the foreground color.
2004-12-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/film.c (film): push a context around code that
	changes the foreground color.
2004-12-12 22:00:31 +00:00
Sven Neumann e247a2875f changed handling of the 'gimp -b -' command-line. It used to spawn three
2004-12-12  Sven Neumann  <sven@gimp.org>

	* app/batch.c (batch_run): changed handling of the 'gimp -b -'
	command-line. It used to spawn three instances of Script-Fu, two
	should be more than enough.
2004-12-12 18:41:52 +00:00
William Skaggs 578c0c4f0a Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimpdataeditor.c: make Revert button insensitive
	because revert is not yet implemented (bug #152259).
2004-12-12 18:26:16 +00:00
Sven Neumann 734265ee59 show a confirmation dialog if a dock with multiple tabs is being closed.
2004-12-12  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdock.c: show a confirmation dialog if a dock
	with multiple tabs is being closed. Sorry for the new strings,
	they were carefully copied from gnome-terminal.
2004-12-12 18:02:00 +00:00
William Skaggs 8b414f212f Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/pnm.c: make export do the right thing when
	saving as .pgm or .ppm.  Fixes bug #160045.
2004-12-12 17:18:03 +00:00
Sven Neumann 0e7423477c added gimp_edit_copy_visible.
2004-12-12  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.def: added gimp_edit_copy_visible.

	* plug-ins/script-fu/scripts/copy-visible.scm: decprecated.
2004-12-12 14:59:53 +00:00
Sven Neumann 75c5adf3bb applied patch from Brion Vibber that adds an alpha channel to the pasted
2004-12-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/winclipboard.c: applied patch from Brion Vibber
	that adds an alpha channel to the pasted layer. Fixes bug #148601.
2004-12-12 14:43:22 +00:00
Sven Neumann 5b45188c57 removed trailing whitespace.
2004-12-12  Sven Neumann  <sven@gimp.org>

	* app/base/tile-manager-crop.c: removed trailing whitespace.

	* plug-ins/imagemap/imap_selection.c: need to define
	GTK_DISABLE_DEPRECATED for gtk_toolbar_append_space().
2004-12-12 14:25:48 +00:00
Michael Natterer 53c3ff1821 added new function copy_region_nocow() as a workaround for the fact that
2004-12-12  Michael Natterer  <mitch@gimp.org>

	* app/paint-funcs/paint-funcs.[ch]: added new function
	copy_region_nocow() as a workaround for the fact that sharing
	tiles with the projection is heavily broken.

	* app/base/tile-manager.c (tile_invalidate): added a warning when
	entering the code path that breaks badly.

	* app/core/gimp-edit.[ch]: added gimp_edit_copy_visible(), using
	the non-COW copying function above.

	* app/widgets/gimphelp-ids.h: added GIMP_HELP_COPY_VISIBLE.

	* app/actions/edit-actions.c
	* app/actions/edit-commands.[ch]: added action & callback for
	"edit-copy-visible".

	* menus/image-menu.xml.in: added "edit-copy-visible" to the image
	menu.

	* tools/pdbgen/pdb/edit.pdb: added gimp_edit_copy_visible()
	PDB wrapper.

	* app/pdb/edit_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpedit_pdb.[ch]: regenerated.

	* plug-ins/script-fu/scripts/copy-visible.scm: removed all code
	and made it a backward compat wrapper around gimp-edit-copy-visible.
	Fixes bug #138662.
2004-12-12 14:01:08 +00:00
Michael Natterer 4bdedaf105 implement it using gimp_drawable_get_sub_preview(). Removes massive code
2004-12-11  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-preview.c (gimp_drawable_preview_private):
	implement it using gimp_drawable_get_sub_preview(). Removes
	massive code duplication introduced by yesterday's fix.
2004-12-11 21:03:52 +00:00
Kevin Cozens a0a7919f3e Apply the layer mask when copying a single layer with a layer mask. Fixes
2004-12-11  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/copy-visible.scm: Apply the layer mask
	when copying a single layer with a layer mask. Fixes bug #138662.

	* plug-ins/script-fu/scripts/t-o-p-logo.scm: Removed ' character.
2004-12-11 20:16:04 +00:00
Sven Neumann 2db008400f INSTALL NEWS updates for the GIMP 2.2.0 release.
2004-12-11  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* NEWS
	* README: updates for the GIMP 2.2.0 release.
2004-12-11 16:55:13 +00:00
Sven Neumann ef3c2d48da got rid of a global variable.
2004-12-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp.c: got rid of a global variable.
2004-12-11 13:45:06 +00:00
Sven Neumann 9cd408dd8f more changes to restore the gimp-2.0 behaviour.
2004-12-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/bumpmap.c (dialog_bumpmap_callback): more changes
	to restore the gimp-2.0 behaviour.
2004-12-11 11:01:26 +00:00
Michael Natterer 4714802aff added new function gimp_drawable_get_sub_preview() which returns a scaled
2004-12-11  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-preview.[ch]: added new function
	gimp_drawable_get_sub_preview() which returns a scaled preview of
	a part of a drawable.

	(gimp_drawable_preview_scale): made it work with srcPR.x and
	srcPR.y being != 0.

	* app/core/gimpimage-preview.c (gimp_image_get_new_preview)
	* app/widgets/gimpviewrendererdrawable.c
	(gimp_view_renderer_drawable_render): if the area of the drawable
	preview is more than 4 times larger than the drawable itself (evil
	heuristic, but seems to work fine), use above function to get a
	sub-preview of the drawable instead of getting an insanely large
	preview of the whole drawable just to use a small part of it.
	Fixes bug #142074.

	* app/core/gimpimage-preview.c (gimp_image_get_new_preview):
	optimized by skipping layers which do not intersect with the
	canvas.
2004-12-11 01:22:58 +00:00
Sven Neumann af558db63f do actually change the bumpmap drawable. Fixes bug #160985, hopefully
2004-12-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/bumpmap.c (dialog_bumpmap_callback): do actually
	change the bumpmap drawable. Fixes bug #160985, hopefully without
	reopening bug #158494.
2004-12-11 00:11:56 +00:00
Sven Neumann 8b64c2a1a9 set version to 2.2.0.
2004-12-11  Sven Neumann  <sven@gimp.org>

	* configure.in: set version to 2.2.0.

	* tools/Makefile.am
	* tools/authorsgen/Makefile.am
	* tools/authorsgen/authorsgen.pl
	* tools/authorsgen/contributors: removed authorsgen, a perl script
	that used to be used to create AUTHORS and authors.h.

	* Makefile.am
	* authors.dtd
	* authors.xml: added a simple XML file that lists authors and
	contributors and a DTD to validate it.

	* authors.xsl: a stylesheet to generate AUTHORS from authors.xml.

	* app/dialogs/Makefile.am
	* app/dialogs/authors.xsl: a stylesheet to generate authors.h from
	authors.xml.

	* app/dialogs/authors.h: regenerated.

	* app/dialogs/about-dialog.c: added a const modifier.
2004-12-10 23:30:37 +00:00
William Skaggs 791dc60f8f Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimphistogrameditor.c: make histogram editor,
	and therefore histogram dialog, use the selection.  Should
	resolve bug #72959.

	* app/core/gimpdrawable-histogram.h: remove trailing
	whitespace.
2004-12-10 23:07:21 +00:00
Manish Singh e7a82297ab app/widgets/gimpdatafactoryview.c #include <string.h> for strcmp()
2004-12-10  Manish Singh  <yosh@gimp.org>

        * app/widgets/gimpdatafactoryview.c
        * app/widgets/gimpitemtreeview.c: #include <string.h> for strcmp()
2004-12-10 22:11:29 +00:00
Michael Natterer 8c95eb1ae3 app/widgets/gimpdatafactoryview.c
2004-12-10  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdatafactoryview.c
	(gimp_data_factory_view_tree_name_edited)
	* app/widgets/gimpitemtreeview.c
	(gimp_item_tree_view_name_edited)
	* app/widgets/gimptemplateview.c
	(gimp_template_view_tree_name_edited): call gimp_object_set_name()
	or gimp_item_rename() only if the item's name has actually changed
	and restore the old text otherwise. Fixes one instance of "name is
	not updated correctly after editing" for which I blamed GTK+ in
	bug #145463 :-) The other instances should be fixed in GTK+ HEAD
	and are imho unfixable with GTK+ 2.4.
2004-12-10 21:07:28 +00:00
Michael Natterer 4ee9b210b5 clear all viewable cell renderers so they don't keep pointers to
2004-12-10  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_clear_items): clear all viewable cell
	renderers so they don't keep pointers to layers/masks which don't
	exist any more. Fixes the additional problem in bug #148852 but
	not the bug itself.
2004-12-10 17:56:13 +00:00
William Skaggs 60655d8e7a Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpbrushpipe.c (gimp_brush_pipe_select_brush):
	Don't initialize a new random number generator every time a brush
	is selected from a pipe.  Fixes bug #148205).
2004-12-09 21:34:48 +00:00
David Odin 1e77f9d4a7 marked the menu entry for translation (reported by Zigomar)
* plug-ins/common/cartoon.c: marked the menu entry for translation
  (reported by Zigomar)
2004-12-09 20:02:49 +00:00
Michael Natterer 01e94fcb19 app/dialogs/print-size-dialog.c set a focus_chain on the size_entries so
2004-12-09  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/print-size-dialog.c
	* app/widgets/gimpsizebox.c: set a focus_chain on the size_entries
	so the focus order is width->height->chain->unitmenu and not
	width->chain->height->unitmenu.

	* app/widgets/gimptemplateeditor.c: changed focus_chain code to
	work like above (cosmetics).
2004-12-09 16:22:25 +00:00
Sven Neumann 9af2a5d2b1 only expose the area of the window that actually changed.
2004-12-09  Sven Neumann  <sven@gimp.org>

	* app/gui/splash.c (splash_update): only expose the area of the
	window that actually changed.

	* app/plug-in/plug-in-rc.c (plug_in_rc_write): changed the header
	and footer to be more in line with the other rc files.
2004-12-09 10:11:43 +00:00
Sven Neumann f6ec544895 fixed bugzilla reference 2004-12-09 09:03:28 +00:00
William Skaggs cc9a5670b5 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/dialogs/print-size-dialog.c (print_size_dialog_size_changed):
	Previous fix only worked if units were inches -- now seems to
	work for all units.  (Fixes #72852?)
2004-12-09 00:04:37 +00:00
William Skaggs 3e772fae0e Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/randomize.c:  Changed algorithm for Pick and
	Slur to treat all channels within a pixel in the same way;
	intended to fix bug #72852.
2004-12-08 23:16:56 +00:00
William Skaggs c999ad25d8 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/dialogs/print-size-dialog.c (print_size_dialog_size_changed):
	fixed kludgy use of size entry, seems to fix bug #159273.
2004-12-08 20:30:05 +00:00
Michael Natterer cf4a649f38 renamed gimp_ui_manager_get_action() to gimp_ui_manager_find_action().
2004-12-08  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpuimanager.[ch]: renamed
	gimp_ui_manager_get_action() to gimp_ui_manager_find_action().

	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimppaletteeditor.c
	* app/widgets/gimptoolbox.c
	* app/widgets/gimptooloptionseditor.c
	* app/display/gimpdisplayshell-close.c: changed accordingly.

	(this change is quite useless as it stands, but will help keeping
	the diff between 2.2 and 2.3 small as soon as we're branched).

	* app/widgets/gimpcolormapeditor.c
	(gimp_colormap_preview_button_press): invoke the "edit-color", not
	"new-color" action upon double click.

	(palette_editor_select_entry): update the ui manager after
	selecting the entry so the entry-specific actions become sensitive
	if there was no entry selected before.
2004-12-08 13:52:28 +00:00
Michael Natterer d90360e29f added new prop_widget gimp_prop_int_combo_box_new() which takes a
2004-12-08  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppropwidgets.[ch]: added new prop_widget
	gimp_prop_int_combo_box_new() which takes a pre-built GimpIntStore
	and allows to create views on int properties with arbitrary sets
	of values (not just enums).

	* app/widgets/gimpcontrollereditor.c
	(gimp_controller_editor_constructor): added support for generic
	combo boxes controlled exclusively by controller properties: if an
	int property "foo" is followed by an object property "foo-values"
	and the contained object is a GimpIntStore, use that store as
	model for selecting "foo"'s values using
	gimp_prop_int_combo_box_new().

	(Allows for more flexible controller configuration, the actual use
	case in the midi controller is still work in progress).
2004-12-08 12:46:21 +00:00
Sven Neumann 6584f14d73 removed duplicate entry for Roman.
2004-12-06  Sven Neumann  <sven@gimp.org>

	* tools/authorsgen/contributors: removed duplicate entry for Roman.

	* AUTHORS
	* app/dialogs/authors.h: regenerated.
2004-12-06 15:21:00 +00:00
Roman Joost 95c2aae9ba added Róman Joost to contributors
2004-12-06  Roman Joost	<romanofski@gimp.org>

	* tools/authorsgen/contributors: added Róman Joost to
	contributors
2004-12-06 15:13:19 +00:00
Michael Natterer 13a32c91cc applied patch from Sven Neumann which removes code that prevents layers
2004-12-06  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptransformtool.c: applied patch from Sven Neumann
	which removes code that prevents layers with mask from being
	transformed.

	* app/tools/gimptransformtool.[ch]: added "gboolean mask_empty"
	parameter to GimpTransformTool::transform(). Needed because the
	selection gets cleared by cutting from the drawable and we need
	the selection's state before that cutting.

	(gimp_transform_tool_doit): pass "mask_empty" to
	GimpTransformTool::transform():

	* app/tools/gimptransformtool.c (gimp_transform_tool_real_transform)
	* app/tools/gimpfliptool.c (gimp_flip_tool_transform): when
	transforming a layer with mask and there is no selection,
	transform the mask just as if it was a linked item.
	Fixes bug #143837 and bug #159697.
2004-12-06 14:37:00 +00:00
Sven Neumann 6f73b3e58c applied patch from Joao S. O. Bueno that fixes bug #160339.
2004-12-05  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-transform-utils.c (gimp_transform_matrix_flip_free):
	applied patch from Joao S. O. Bueno that fixes bug #160339.
2004-12-05 19:59:01 +00:00
Sven Neumann 1fe2636a8b plug-ins/help/domain.c plug-ins/help/gimp-help-lookup.c if the help files
2004-12-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/help/domain.c
	* plug-ins/help/gimp-help-lookup.c
	* plug-ins/help/help.[ch]: if the help files are not installed,
	uninstall the temporary procedure and quit. Fixes bug #160258.
2004-12-05 19:50:37 +00:00
Sven Neumann 92b0e87fed applied patch from Joao S. O. Bueno that sets a lower limit for the filter
2004-12-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lic.c: applied patch from Joao S. O. Bueno that
	sets a lower limit for the filter length (bug #160121). The patch
	also makes the plug-in work on drawables with alpha channel.
2004-12-05 18:37:44 +00:00
Sven Neumann 6cb3f105dd applied patch from Karine Proot that limits the size of the preview in the
2004-12-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c: applied patch from Karine Proot that
	limits the size of the preview in the WMF loader (bug #133521).
2004-12-05 03:25:40 +00:00
David Odin db46d94222 plug-ins/gfig/gfig-arc.c plug-ins/gfig/gfig-arc.h
* plug-ins/gfig/gfig-arc.c
* plug-ins/gfig/gfig-arc.h
* plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-bezier.h
* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-circle.h
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-dobject.h
* plug-ins/gfig/gfig-ellipse.c
* plug-ins/gfig/gfig-ellipse.h
* plug-ins/gfig/gfig-line.c
* plug-ins/gfig/gfig-line.h
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-poly.h
* plug-ins/gfig/gfig-preview.c
* plug-ins/gfig/gfig-spiral.c
* plug-ins/gfig/gfig-spiral.h
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig-star.h: updating a object is now a virtual
  function.
2004-12-04 17:33:54 +00:00
Michael Natterer a708b85b8b when removing the floating selection, call
2004-12-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-undo-push.c (undo_pop_layer): when removing
	the floating selection, call gimp_drawable_invalidate_boundary()
	*before* setting gimage->floating_sel to NULL because otherwise
	gimp_display_shell_selection_invis() won't clear the correct
	selection bounds and leave garbage on screen. Fixes bug #160247.
2004-12-03 13:39:50 +00:00
Michael Natterer c62967b8f3 don't forget to initialize the "value_variable" boolean of
2004-12-02  Michael Natterer  <mitch@gimp.org>

	* app/actions/tool-options-actions.c
	(tool_options_actions_update_presets): don't forget to initialize
	the "value_variable" boolean of GimpEnumActionEntry. Fixes myriads
	of warnings about wrong values for boolean properties.

	* app/actions/file-actions.c (file_actions_setup): same
	here. Fixes nothing but is cleaner.
2004-12-02 18:29:56 +00:00
Simon Budig a02853409e Fixed stupid typo that caused distorted vectors on scaling after resizing.
2004-12-02  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpvectors.c: Fixed stupid typo that caused
	distorted vectors on scaling after resizing. Spotted by
	Joao S. O. Bueno.

	Fixes bug #157852.
2004-12-02 09:22:12 +00:00
Sven Neumann afe3d4d7b2 rephrased the warning that is shown when the intltool check fails.
2004-12-01  Sven Neumann  <sven@gimp.org>

        * autogen.sh: rephrased the warning that is shown when the
        intltool check fails.
2004-12-01 14:19:26 +00:00
Michael Natterer d8337d6f24 improved error message about missing XML files.
2004-12-01  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpuimanager.c (gimp_ui_manager_ui_get): improved
	error message about missing XML files.
2004-12-01 13:27:03 +00:00
Michael Natterer 841efd0e2e app/display/gimpdisplayshell-appearance.c app/display/gimpdisplayshell.c
2004-12-01  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-appearance.c
	* app/display/gimpdisplayshell.c
	* app/widgets/gimpdockable.c
	* app/widgets/gimptexteditor.c
	* app/widgets/gimptoolbox.c: check if gimp_ui_manager_ui_get()
	actually returns something. Prevents crashes caused by missing
	ui manager xml files. Fixes bug #159346.
2004-12-01 00:13:48 +00:00
Michael Natterer 495963276a no need to update the ui manager here, the parent class already does it.
2004-12-01  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptoolview.c (gimp_tool_view_select_item): no need
	to update the ui manager here, the parent class already does it.
2004-12-01 00:06:23 +00:00
David Odin 22d870646d removed some very obsolete stuff.
* plug-ins/gfig/README: removed some very obsolete stuff.

* plug-ins/gfig/gfig-arc.c
* plug-ins/gfig/gfig-arc.h
* plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-bezier.h
* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-circle.h
* plug-ins/gfig/gfig-dobject.c: small cleanups
2004-11-30 20:42:51 +00:00
Michael Natterer ee9b4b83c1 use gtk_rc_parse() instead of gtk_rc_add_default_file() to add
2004-11-30  Michael Natterer  <mitch@gimp.org>

	* app/gui/themes.c (themes_init): use gtk_rc_parse() instead of
	gtk_rc_add_default_file() to add ~/.gimp-2.2/themerc to the list
	of files parsed by GTK+ because the latter works only before
	gtk_init(). Fixes bug #155963.
2004-11-30 16:10:16 +00:00