Commit Graph

23976 Commits

Author SHA1 Message Date
Lars-Peter Clausen ee9d10f70a plug-ins/pygimp/gimpui.defs Removed wrappers for GimpRuler, GimpHRuler,
2008-08-29  Lars-Peter Clausen  <lars@metafoo.de>

	* plug-ins/pygimp/gimpui.defs
	* plug-ins/pygimp/gimpui.override:
	Removed wrappers for GimpRuler, GimpHRuler, GimpVRuler, as those
	are going to be removed from libgimpwidgets.


svn path=/trunk/; revision=26809
2008-08-29 09:41:16 +00:00
Michael Natterer a2bf2da39b #include "gimpwidgets-utils.h", not "gimpwidgets-utils.c" (eek).
2008-08-29  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphelp.c: #include "gimpwidgets-utils.h", not
	"gimpwidgets-utils.c" (eek).


svn path=/trunk/; revision=26808
2008-08-29 09:05:49 +00:00
Lars-Peter Clausen 0d97703b65 plug-ins/pygimp/gimpui.defs Wrapped GimpRuler, GimpHRuler and GimpVRuler
2008-08-28  Lars-Peter Clausen  <lars@metafoo.de>

	* plug-ins/pygimp/gimpui.defs
	* plug-ins/pygimp/gimpui.override:
	Wrapped GimpRuler, GimpHRuler and GimpVRuler widgets.


svn path=/trunk/; revision=26807
2008-08-28 20:49:07 +00:00
Lars-Peter Clausen 3de0fab74a plug-ins/pygimp/gimpui.defs Merged gimpui.{defs,override} from pygimp GSoC
2008-08-28  Lars-Peter Clausen  <lars@metafoo.de>

	* plug-ins/pygimp/gimpui.defs
	* plug-ins/pygimp/gimpui.override:
	Merged gimpui.{defs,override} from pygimp GSoC project.
	Updates gimpui module to have bindings for most widgets functions.


svn path=/trunk/; revision=26806
2008-08-28 19:51:02 +00:00
Martin Nordholts 3cfd2a33c0 Canonically calculate scale to use for zoom-focus calculations so that it
2008-08-28  Martin Nordholts  <martinn@svn.gnome.org>

	* app/display/gimpdisplayshell-scale.c
	(gimp_display_shell_scale_to): Canonically calculate scale to use
	for zoom-focus calculations so that it also works when not in Dot
	by dot-mode.

svn path=/trunk/; revision=26805
2008-08-28 19:35:14 +00:00
Martin Nordholts 2975f815a8 Make the size-changed-detailed signal also contain previous image size.
2008-08-28  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimpimage.[ch]: Make the size-changed-detailed signal
	also contain previous image size.

	* app/display/gimpdisplayshell-handlers.c
	(gimp_display_shell_size_changed_detailed_handler): Take the
	previous image size into account and center the image if it starts
	to fit (axis indepentently) in the viewport due to the resize.

	* app/core/gimpundo.h
	* app/core/gimpimage-undo.c
	* app/core/gimpimageundo.[ch]
	* app/core/gimpimage-undo-push.[ch]: Manage the
	previous-size-information.

	* app/core/gimpimage-crop.c
	* app/core/gimpimage-scale.c
	* app/core/gimpimage-rotate.c
	* app/core/gimpimage-resize.c: Propagate previous size to the
	size-changed-detailed signal emission and the undo-system.

svn path=/trunk/; revision=26804
2008-08-28 19:12:03 +00:00
Priit Laes 2bffcadf11 Translation updated by Priit Laes
2008-08-28  Priit Laes  <plaes at svn dot gnome dot org>

	* et.po: Translation updated by Priit Laes

svn path=/trunk/; revision=26803
2008-08-28 18:21:16 +00:00
Martin Nordholts 5722ea9557 Fix 'Foreground' and 'Background' being swapped in the French translation.
2008-08-28  Martin Nordholts  <martinn@svn.gnome.org>

	* fr.po: Fix 'Foreground' and 'Background' being swapped in the
	French translation.

svn path=/trunk/; revision=26801
2008-08-28 16:58:11 +00:00
Sven Neumann 176fb24579 allow to disable the Wilber image shown at the top of the toolbox.
2008-08-28  Sven Neumann  <sven@gimp.org>

        * app/config/gimpguiconfig.[ch]: allow to disable the Wilber 
image
        shown at the top of the toolbox.

        * app/widgets/gimptoolbox.c: honor the new gimprc option.

        * app/config/gimprc-blurbs.h: document the old and new toolbox
        preferences.


svn path=/trunk/; revision=26800
2008-08-28 14:30:47 +00:00
Michael Natterer b19d4b85c3 some tiny formatting fixes.
2008-08-28  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangletool.c: some tiny formatting fixes.


svn path=/trunk/; revision=26799
2008-08-28 12:54:14 +00:00
Sven Neumann a75532cb48 use echo, not $echo in the Win32-specific code that sets up the Python
2008-08-28  Sven Neumann  <sven@gimp.org>

	* configure.in: use echo, not $echo in the Win32-specific code
	that sets up the Python build variables.


svn path=/trunk/; revision=26798
2008-08-28 12:32:48 +00:00
Sven Neumann c9c3329441 fixed shift direction.
2008-08-28  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/scale-region.c (scale_determine_progress):
	(scale_region_tile): fixed shift direction.


svn path=/trunk/; revision=26797
2008-08-28 08:46:08 +00:00
Michael Natterer 808ddd311b try the find_widget_under_pointer() hack only if the menu item's parent is
2008-08-27  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpuimanager.c (gimp_ui_manager_item_key_press):
	try the find_widget_under_pointer() hack only if the menu item's
	parent is really a GtkMenu (not a GtkMenuBar). Fixes crash spotted
	by rubikcube.


svn path=/trunk/; revision=26796
2008-08-27 19:36:41 +00:00
Inaki Larranaga Murgoitio 4e26c54f5a Updated Basque translation.
2008-08-27  Inaki Larranaga Murgoitio  <dooteo@euskalgnu.org>

	* eu.po: Updated Basque translation.


svn path=/trunk/; revision=26795
2008-08-27 18:51:38 +00:00
Inaki Larranaga Murgoitio 427edaa93e Updated Basque translation.
2008-08-27  Inaki Larranaga Murgoitio  <dooteo@euskalgnu.org>

	* eu.po: Updated Basque translation.


svn path=/trunk/; revision=26794
2008-08-27 17:27:45 +00:00
Inaki Larranaga Murgoitio 0e6cff81a8 Updated Basque translation.
2008-08-27  Inaki Larranaga Murgoitio  <dooteo@euskalgnu.org>

	* eu.po: Updated Basque translation.


svn path=/trunk/; revision=26793
2008-08-27 17:26:27 +00:00
Inaki Larranaga Murgoitio efc9d073e6 Updated Basque translation.
2008-08-27  Inaki Larranaga Murgoitio  <dooteo@euskalgnu.org>

	* eu.po: Updated Basque translation.


svn path=/trunk/; revision=26792
2008-08-27 17:20:38 +00:00
Lars-Peter Clausen 8ff73b4c2d Removed some unnecessary g_new/g_free and improved range checking.
2008-08-27  Lars-Peter Clausen  <lars@metafoo.de>

	* plug-ins/pygimp/pygimp-tile.c
	(pr_subscript): Removed some unnecessary g_new/g_free and improved 
	range checking.
	(pr_ass_sub): Improved range checking.
	(pygimp_pixel_rgn_new): Clamp pixel region size to the drawable's size.


svn path=/trunk/; revision=26791
2008-08-27 15:46:28 +00:00
Sven Neumann 6a3e8b4cca sprinkled more const qualifiers.
2008-08-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-transform-region.c: sprinkled more const 
qualifiers.

	* app/paint-funcs/scale-region.c: call the progress callback 
less
	often.


svn path=/trunk/; revision=26790
2008-08-27 10:19:15 +00:00
Sven Neumann 26645c5549 moved hiding the dialog from gimp_transform_tool_real_transform() to
2008-08-27  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptransformtool.c: moved hiding the dialog from 
	gimp_transform_tool_real_transform() to 
gimp_transform_tool_doit().
	Delay undrawing the preview in doit() until the transformation 
is
	done. This removes the annoying flicker at the end.


svn path=/trunk/; revision=26789
2008-08-27 09:56:46 +00:00
Sven Neumann 915803cfa9 fixed compilation
svn path=/trunk/; revision=26788
2008-08-27 08:21:34 +00:00
Sven Neumann 28cdc4d9a0 hide the tool dialog before starting to perform the transformation.
2008-08-27  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptransformtool.c 
(gimp_transform_tool_real_transform):
	hide the tool dialog before starting to perform the 
transformation.


svn path=/trunk/; revision=26787
2008-08-27 07:42:28 +00:00
Sven Neumann a8fd690b17 also use PixelSurround for the linear interpolation. Sprinkled some const
2008-08-27  Sven Neumann  <sven@gimp.org>

        * app/core/gimp-transform-region.c: also use PixelSurround for 
the
        linear interpolation. Sprinkled some const qualifiers.


svn path=/trunk/; revision=26786
2008-08-27 06:52:08 +00:00
Lars-Peter Clausen 22d7a536c2 Don't set tp_new for PyGimpTile_Type and PyGimpPixelRgn_Type as both don't
2008-08-26  Lars-Peter Clausen  <lars@metafoo.de>

	* plug-ins/pygimp/gimpmodule.c:
	Don't set tp_new for PyGimpTile_Type and PyGimpPixelRgn_Type as both
	don't have init functions.


svn path=/trunk/; revision=26785
2008-08-26 22:06:00 +00:00
Lars-Peter Clausen 4d4ef1a8cf Ensure that the python drawables gimp drawable is set. (pf_dealloc): Don't
2008-08-26  Lars-Peter Clausen  <lars@metafoo.de>

	* plug-ins/pygimp/pygimp-tile.c
	(pf_init): Ensure that the python drawables gimp drawable is set.
	(pf_dealloc): Don't crash if the pixel fetchers init function failed.


svn path=/trunk/; revision=26784
2008-08-26 21:59:21 +00:00
Sven Neumann 6e764915d5 updated documentation.
2008-08-26  Sven Neumann  <sven@gimp.org>

	* app/base/pixel-surround.c: updated documentation.


svn path=/trunk/; revision=26783
2008-08-26 21:06:09 +00:00
Sven Neumann 7a0dd79621 removed another unneeded cast that I missed earlier
svn path=/trunk/; revision=26782
2008-08-26 20:32:24 +00:00
Sven Neumann 58160691c2 removed unneeded casts
svn path=/trunk/; revision=26781
2008-08-26 19:55:12 +00:00
Sven Neumann ad4eb2f528 further simplified the code path that is executed when a brush is scaled
2008-08-26  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/scale-region.c: further simplified the code 
path
	that is executed when a brush is scaled up. We don't need to 
scale
	in several steps here.


svn path=/trunk/; revision=26780
2008-08-26 19:52:35 +00:00
Sven Neumann 8499f5e247 removed some unused parameters from the code that is used for brush
2008-08-26  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/scale-region.c: removed some unused parameters
	from the code that is used for brush scaling. Added sanity 
checks.


svn path=/trunk/; revision=26779
2008-08-26 19:43:00 +00:00
Martin Nordholts b5b51b475f libgimpwidgets/gimpwidgets.c
2008-08-26  Martin Nordholts  <martinn@svn.gnome.org>

	* libgimpwidgets/gimpwidgets.c

	* plug-ins/common/file-xbm.c
	* plug-ins/common/file-wmf.c
	* plug-ins/common/file-svg.c
	* plug-ins/common/file-gih.c
	* plug-ins/common/blur-motion.c
	* plug-ins/file-jpeg/jpeg-save.c
	* plug-ins/lighting/lighting-ui.c
	* plug-ins/map-object/map-object-ui.c

	* app/tools/gimpsheartool.c
	* app/tools/gimpaligntool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimplevelstool.c
	* app/dialogs/resize-dialog.c
	* app/dialogs/offset-dialog.c
	* app/widgets/gimppaletteeditor.c
	* app/widgets/gimpcolormapeditor.c
	* app/dialogs/layer-options-dialog.c
	* app/display/gimpdisplayshell-scale-dialog.c: Pass page_size = 0
	to gimp_spin_button_new() to adapt to new and correct value
	clamping in GTK+.

svn path=/trunk/; revision=26778
2008-08-26 19:32:14 +00:00
Martin Nordholts d9e5942ec6 Fix stupid slip-up in my last commit
svn path=/trunk/; revision=26777
2008-08-26 18:59:23 +00:00
Sven Neumann 3792d638a2 added missing call to colorize_init().
2008-08-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-colorize.c (gimp_drawable_colorize): 
	added missing call to colorize_init().


svn path=/trunk/; revision=26776
2008-08-26 18:58:23 +00:00
Martin Nordholts dd672dde70 New function.
2008-08-26  Martin Nordholts  <martinn@svn.gnome.org>

	* app/display/gimpdisplayshell-scroll.c
	(gimp_display_shell_scroll_unoverscrollify): New function.

	* app/display/gimpdisplayshell-autoscroll.c
	(gimp_display_shell_autoscroll_timeout): Make sure the autoscroll
	does not result in overscroll. This more or less finalizes the
	implementation of the enhancement request in bug #362915.

svn path=/trunk/; revision=26775
2008-08-26 18:50:54 +00:00
Martin Nordholts ad693bbf9e If no scroll should be applied we can return early.
2008-08-26  Martin Nordholts  <martinn@svn.gnome.org>

	* app/display/gimpdisplayshell-scroll.c
	(gimp_display_shell_scroll): If no scroll should be applied we can
	return early.

svn path=/trunk/; revision=26774
2008-08-26 17:53:54 +00:00
Martin Nordholts fb56170667 Pass the scroll amount in variables that we can modify as we please before
2008-08-26  Martin Nordholts  <martinn@svn.gnome.org>

	* app/display/gimpdisplayshell-autoscroll.c
	(gimp_display_shell_autoscroll_timeout): Pass the scroll amount in
	variables that we can modify as we please before they actually
	reach gimp_display_shell_scroll().

svn path=/trunk/; revision=26773
2008-08-26 17:47:30 +00:00
Michael Natterer c986dd66c8 is gimp20-std-plug-ins, not gimp20-plug-ins. Fixes bug #549441.
2008-08-26  Michael Natterer  <mitch@gimp.org>

	* Makefile.in.in (GETTEXT_PACKAGE): is gimp20-std-plug-ins, not
	gimp20-plug-ins. Fixes bug #549441.


svn path=/trunk/; revision=26772
2008-08-26 15:42:04 +00:00
Michael Natterer 92cbcd03b2 don't hardcode the attach coords for the fixed containing the dynamics
2008-08-26  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimppaintoptions-gui.c (gimp_paint_options_gui): don't
	hardcode the attach coords for the fixed containing the dynamics
	labels but use the table's real width instead. Fixes broken table
	layout in the airbrush options.


svn path=/trunk/; revision=26771
2008-08-26 14:50:05 +00:00
Sven Neumann 55db28831c more fiddling with the edges
svn path=/trunk/; revision=26770
2008-08-26 07:41:53 +00:00
Sven Neumann 281cefc12d attempt to fix the newly introduced smear edge mode.
2008-08-26  Sven Neumann  <sven@gimp.org>

	* app/base/pixel-surround.c: attempt to fix the newly introduced
	smear edge mode.


svn path=/trunk/; revision=26769
2008-08-26 07:24:55 +00:00
Sven Neumann 4fe29ba110 use PixelSurround to access the source pixels in a more efficient way.
2008-08-25  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/scale-region.c: use PixelSurround to access 
the
	source pixels in a more efficient way.


svn path=/trunk/; revision=26768
2008-08-25 23:12:14 +00:00
Sven Neumann 972309fe48 changed to silently return in case of out-of-bounds access. There's code
2008-08-25  Sven Neumann  <sven@gimp.org>

	* app/base/tile-manager.c (read_pixel_data_1): changed to 
silently
	return in case of out-of-bounds access. There's code that relies
	on this.

	* app/base/pixel-surround.[ch]: added SMEAR as another edge
	strategy for the PixelSurround helper.

	* core/gimp-transform-region.c: changed accordingly.


svn path=/trunk/; revision=26767
2008-08-25 20:38:52 +00:00
Sven Neumann 106072e3b8 moved scale_region() to the top of the file
svn path=/trunk/; revision=26766
2008-08-25 18:43:24 +00:00
Daniel Nylander 0f73a0052c sv.po: Updated Swedish translation
svn path=/trunk/; revision=26765
2008-08-25 18:21:36 +00:00
Daniel Nylander d832811404 sv.po: Updated Swedish translation
svn path=/trunk/; revision=26764
2008-08-25 18:19:34 +00:00
Daniel Nylander f9a06ad71d sv.po: Updated Swedish translation
svn path=/trunk/; revision=26763
2008-08-25 18:17:44 +00:00
Sven Neumann 184c85e985 minor cleanup
svn path=/trunk/; revision=26762
2008-08-25 17:34:28 +00:00
Sven Neumann 9584208543 reverted last change; it was bogus.
2008-08-25  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/scale-region.c: reverted last change; it was 
bogus.


svn path=/trunk/; revision=26761
2008-08-25 17:26:32 +00:00
Sven Neumann df292234f2 don't scale in several steps if interpolation is GIMP_INTERPOLATION_NONE.
2008-08-25  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/scale-region.c: don't scale in several steps 
if
	interpolation is GIMP_INTERPOLATION_NONE.


svn path=/trunk/; revision=26760
2008-08-25 16:30:37 +00:00
Sven Neumann 6fb1940834 implemented uses integer arithmetic. (pixel_average): reduced rounding
2008-08-25  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/scale-region.c (gaussian_decimate)
	(gaussian_lanczos2): implemented uses integer arithmetic.
	(pixel_average): reduced rounding errors.


svn path=/trunk/; revision=26759
2008-08-25 16:20:59 +00:00