Commit Graph

21762 Commits

Author SHA1 Message Date
Sven Neumann c1ec276567 shift only by 4 bits instead of 8. Should still keep us from overflowing
2007-10-30  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-render.c (box_filter): shift only
	by 4 bits instead of 8. Should still keep us from overflowing 32
	bit integers but reduces the rounding error and seems to really
	fix bug #491503.


svn path=/trunk/; revision=23996
2007-10-30 22:03:32 +00:00
Priit Laes 8f6682a5ee Translation updated by Priit Laes.
2007-10-30  Priit Laes  <plaes@svn.gnome.org>

	* et.po: Translation updated by Priit Laes.

svn path=/trunk/; revision=23995
2007-10-30 21:29:59 +00:00
Priit Laes a875670da8 Translation updated by Olle Niit.
2007-10-30  Priit Laes  <plaes@svn.gnome.org>

	* et.po: Translation updated by Olle Niit.

svn path=/trunk/; revision=23994
2007-10-30 21:17:33 +00:00
Priit Laes d39c5e5794 Translation updated by Olle Niit.
2007-10-30  Priit Laes  <plaes@svn.gnome.org>

	* et.po: Translation updated by Olle Niit.

svn path=/trunk/; revision=23993
2007-10-30 21:17:12 +00:00
Priit Laes 97db72ac34 Translation updated by Olle Niit.
2007-10-30  Priit Laes  <plaes@svn.gnome.org>

	* et.po: Translation updated by Olle Niit.

svn path=/trunk/; revision=23992
2007-10-30 21:16:37 +00:00
Martin Nordholts 1c8d6bb8ce Update the selection when Rounded corners is toggled or the radius is
2007-10-30  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangleselecttool.c
	(gimp_rect_select_tool_round_corners_notify): Update the selection
	when Rounded corners is toggled or the radius is changed as
	discussed in bug #418284.

svn path=/trunk/; revision=23991
2007-10-30 17:13:10 +00:00
Michael Natterer b515881bdd applied patch from Sven Neumann and Marianne Gagnon which adds support for
2007-10-30  Michael Natterer  <mitch@gimp.org>

	* modules/cdisplay_lcms.c: applied patch from Sven Neumann and
	Marianne Gagnon which adds support for getting the system monitor
	profile on OS/X. Fixes bug #488170.


svn path=/trunk/; revision=23990
2007-10-30 15:14:41 +00:00
Sven Neumann c7b4263a85 reverted change that was made for bug #490785.
2007-10-30  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-handlers.c: reverted change that
	was made for bug #490785.

svn path=/trunk/; revision=23989
2007-10-30 12:02:19 +00:00
Sven Neumann 81d38532a2 Fix drawing of straight lines using the Shift key and a tablet (bug
2007-10-30  Sven Neumann  <sven@gimp.org>

	Fix drawing of straight lines using the Shift key and a tablet
	(bug #164240):

	* app/tools/gimppainttool.c (gimp_paint_tool_button_press): set
	use_pressure to FALSE when drawing a straight line.

	* app/paint/gimppaintbrush.c (_gimp_paintbrush_motion): respect
	the use_pressure flag.

svn path=/trunk/; revision=23988
2007-10-30 11:24:08 +00:00
Jovan Naumovski 451cacf706 2007-10-30 Jovan Naumovski <jovanna@svn.gnome.org> *mk.po: Updated Macedonian translation.
svn path=/trunk/; revision=23987
2007-10-30 11:22:57 +00:00
Sven Neumann c6e030dca2 reduce rounding errors. Fixed bug #491503.
2007-10-30  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-render.c (box_filter): reduce
	rounding errors. Fixed bug #491503.

	* app/base/tile-pyramid.c (tile_pyramid_write_quarter): reduce
	rounding errors.


svn path=/trunk/; revision=23986
2007-10-30 08:39:51 +00:00
Sven Neumann 15d25114ca return with a warning if called with NULL render_func or put_pixel_func.
2007-10-29  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimpadaptivesupersample.c
	(gimp_adaptive_supersample_area): return with a warning if 
called
	with NULL render_func or put_pixel_func.


svn path=/trunk/; revision=23985
2007-10-29 20:03:25 +00:00
Sven Neumann 96a46d0d70 Fix bug #491272 (no cursor drawn for small brush sizes):
2007-10-29  Sven Neumann  <sven@gimp.org>

	Fix bug #491272 (no cursor drawn for small brush sizes):

	* app/tools/gimpbrushtool.[ch]
	(gimp_brush_tool_draw_brush): don't draw the brush outline if it
	becomes too small. Instead draw a small cross, but only if
	"draw_fallback" was passed as TRUE.
	(gimp_brush_tool_draw_brush): pass TRUE for "draw_fallback" if
	cursor drawing is disabled for the paint tools.

	* app/tools/gimpsourcetool.c (gimp_source_tool_draw): pass FALSE
	for "draw_fallback".

	* app/tools/gimpdrawtool.c (gimp_draw_tool_draw_cross_by_anchor):
	draw a symmetric cross for odd handle sizes.

svn path=/trunk/; revision=23984
2007-10-29 17:17:14 +00:00
Sven Neumann 3057677e59 initialize variables to suppress a compiler warning.
2007-10-29  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c (gimp_rectangle_tool_coord_on_handle):
	initialize variables to suppress a compiler warning.

svn path=/trunk/; revision=23983
2007-10-29 17:11:17 +00:00
Sven Neumann 537c27f024 also call va_end() in the error cases.
2007-10-28  Sven Neumann  <sven@gimp.org>

	* app/pdb/gimppdb.c (gimp_pdb_execute_procedure_by_name): also
	call va_end() in the error cases.


svn path=/trunk/; revision=23982
2007-10-28 19:17:54 +00:00
Sven Neumann c9c38e5e0d fixed range check.
2007-10-28  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorscales.c 
(gimp_color_scales_set_channel):
	fixed range check.


svn path=/trunk/; revision=23981
2007-10-28 19:15:44 +00:00
Sven Neumann fa3e0fb71a use small-checks for the navigation popup and inherit the check-type from
2007-10-28  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpscrolledpreview.c
	(gimp_scrolled_preview_nav_button_press): use small-checks for 
the
	navigation popup and inherit the check-type from the preview.


svn path=/trunk/; revision=23979
2007-10-27 22:01:25 +00:00
Sven Neumann 58e6c9ad4d close the file handle.
2007-10-27  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpwidgets-utils.c (gimp_text_buffer_load): close
	the file handle.


svn path=/trunk/; revision=23978
2007-10-27 20:34:32 +00:00
Sven Neumann d118a54683 don't just crash right away if the impossible happens.
2007-10-27  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpmemsize.c (string_to_memsize): don't just 
crash
	right away if the impossible happens.


svn path=/trunk/; revision=23977
2007-10-27 20:25:37 +00:00
Sven Neumann 4cf569afad g_object_get_data() should always return a size-entry here. Return with a
2007-10-27  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c 
(prefs_resolution_source_callback):
	g_object_get_data() should always return a size-entry here. 
Return
	with a warning if it doesn't.


svn path=/trunk/; revision=23976
2007-10-27 20:18:53 +00:00
Sven Neumann 91d29f48b2 initialize GimpRGB, just to be sure.
2007-10-27  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpscanner.c (gimp_scanner_parse_color):
	initialize GimpRGB, just to be sure.


svn path=/trunk/; revision=23975
2007-10-27 20:13:17 +00:00
Sven Neumann cca6a3f1bd removed code that syncs the padding color with the default values set in
2007-10-27  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-handlers.c: removed code that 
syncs
	the padding color with the default values set in the 
preferences.
	Fixes bug #490785.


svn path=/trunk/; revision=23974
2007-10-27 19:01:21 +00:00
Daniel Nylander cc0ee911ee sv.po: Updated Swedish translation
svn path=/trunk/; revision=23973
2007-10-27 18:56:34 +00:00
Sven Neumann 114343fe74 skip tools/gimp-remote-x11.c
svn path=/trunk/; revision=23972
2007-10-27 18:23:45 +00:00
Sven Neumann 0655beaa6a added tools/gimp-remote-x11.c
2007-10-27  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added tools/gimp-remote-x11.c


svn path=/trunk/; revision=23971
2007-10-27 18:21:33 +00:00
Sven Neumann 4e213dc6a4 added reference to the bug that was fixed by this commit
svn path=/trunk/; revision=23970
2007-10-27 18:03:08 +00:00
Amanpreet Singh Alam 304958b43f updating for Punjabi
svn path=/trunk/; revision=23969
2007-10-27 17:06:58 +00:00
Sven Neumann 21c8209c52 fixed handling of truncated ascii files.
2007-10-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/pnm.c (pnm_load_ascii): fixed handling of
	truncated ascii files.


svn path=/trunk/; revision=23968
2007-10-27 17:05:55 +00:00
Sven Neumann 3ef1a3cdb4 formatting.
2007-10-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/pnm.c: formatting.


svn path=/trunk/; revision=23967
2007-10-27 16:50:55 +00:00
Sven Neumann dc6c91fd65 set the svn:ignore property instead of writing a .cvsignore file.
2007-10-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mkgen.pl: set the svn:ignore property instead 
of
	writing a .cvsignore file.


svn path=/trunk/; revision=23966
2007-10-27 14:17:47 +00:00
Sven Neumann 5f7bf16e57 declared the fields as public so that they show up in the API
2007-10-27  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpcolorconfig.h (struct _GimpColorConfig):
	declared the fields as public so that they show up in the API
	documentation.


svn path=/trunk/; revision=23965
2007-10-27 14:06:03 +00:00
Hans Breuer c17fbf8c14 updated msvc build add ENABLE_TOOLBOX_MENU, it should only vanish on Mac
2007-10-27  Hans Breuer  <hans@breuer.org>

	* app/base/makefile.msc app/file/makefile.msc app/gimpcore.def
	  app/gui/makefile.msc app/plug-in/makefile.msc
	  libgimpwidgets/makefile.msc : updated msvc build
	* config.h.win32 : add ENABLE_TOOLBOX_MENU, it should only
	vanish on Mac OSX (Quartz build)


svn path=/trunk/; revision=23964
2007-10-27 12:41:43 +00:00
Amanpreet Singh Alam a06b384599 updating for Punjabi
svn path=/trunk/; revision=23963
2007-10-27 04:32:58 +00:00
Tor Lillqvist d9c7e99d4b Drop the Win9x code path here, too.
2007-10-27  Tor Lillqvist  <tml@novell.com>

	* libgimpbase/gimpenv.c (gimp_toplevel_directory): Drop the Win9x
	code path here, too.

	* libgimpbase/gimpenv.c (gimp_locale_directory): On Windows return
	the pathname in system codepage and not UTF-8.


svn path=/trunk/; revision=23962
2007-10-26 22:02:13 +00:00
Sven Neumann eabfb81bb1 increased default font size to 24.
2007-10-26  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext.c: increased default font size to 24.


svn path=/trunk/; revision=23961
2007-10-26 21:13:46 +00:00
Martin Nordholts 7bf0fb645f Renamed handle_[wh] to corner_handle_[wh] since that are the appropriate
2007-10-26  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c (struct GimpRectangleToolPrivate):
	Renamed handle_[wh] to corner_handle_[wh] since that are the
	appropriate names.

svn path=/trunk/; revision=23960
2007-10-26 21:07:45 +00:00
Martin Nordholts 5e2f39b645 Use new helper functions to decide if the cursor is on a handle (or
2007-10-26  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c (gimp_rectangle_tool_oper_update):
	Use new helper functions to decide if the cursor is on a
	handle (or outside of the rectangle + handle bounds) to ease the
	introduction of having handles on the outside of the pending
	rectangle.
	(gimp_rectangle_tool_coord_outside)
	(gimp_rectangle_tool_coord_on_handle): New helper functions.

svn path=/trunk/; revision=23959
2007-10-26 20:58:08 +00:00
Sven Neumann 967b22fed7 don't pass NULL strings to gimp_message(). Fixes bug #490617.
2007-10-26  Sven Neumann  <sven@gimp.org>

	* app/pdb/gimpprocedure.c (gimp_procedure_validate_args): don't 
pass
	NULL strings to gimp_message(). Fixes bug #490617.


svn path=/trunk/; revision=23958
2007-10-26 20:03:07 +00:00
Sven Neumann 50b1e190a6 started to add NEWS for 2.4.1
svn path=/trunk/; revision=23957
2007-10-26 19:24:56 +00:00
Sven Neumann 5ec574ba37 Reenabled update of the histogram while doing color corrections (bug
2007-10-26  Sven Neumann  <sven@gimp.org>

	Reenabled update of the histogram while doing color corrections
	(bug 490182):

	* app/core/gimpviewable.[ch]: added new methods preview_freeze()
	and preview_thaw().

	* app/core/gimpimagemap.c
	(gimp_image_map_new): freeze the drawable preview.
	(gimp_image_map_dispose): thaw the  drawable preview.
	(gimp_image_map_do): update the drawable, not the image.

	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_response): no
	need to invalidate the drawable preview any longer.

svn path=/trunk/; revision=23956
2007-10-26 14:42:58 +00:00
Gil Forcada Codinachs 357c783b22 Translated the remaining strings to Catalan thanks to Joaquim Perez
svn path=/trunk/; revision=23955
2007-10-26 10:43:58 +00:00
Michael Natterer a3dea2cb23 never allocate image->cmap smaller than GIMP_IMAGE_COLORMAP_SIZE. Fixes
2007-10-26  Michael Natterer  <mitch@gimp.org>

	* app/xcf/xcf-load.c (xcf_load_image_props): never allocate
	image->cmap smaller than GIMP_IMAGE_COLORMAP_SIZE.
	Fixes bug #490048.


svn path=/trunk/; revision=23954
2007-10-26 09:48:07 +00:00
Sven Neumann 45361763c9 connect to GimpDrawable::update instead of
2007-10-26  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphistogrameditor.c
	(gimp_histogram_editor_layer_changed): connect to
	GimpDrawable::update instead of GimpViewable::invalidate-preview.

svn path=/trunk/; revision=23953
2007-10-26 08:16:25 +00:00
Kevin Cozens 37b875ccdc plug-ins/script-fu/tinyscheme/scheme-private.h Allow a maximum of two
2007-10-25  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme-private.h
	* plug-ins/script-fu/tinyscheme/scheme.c:
	Allow a maximum of two calls to backchar() needed by the "case '.'"
	part of the switch statement in token(). Fixes bug #490198.

svn path=/trunk/; revision=23952
2007-10-25 20:47:27 +00:00
Martin Nordholts c40518f33a Aligned static function prototypes.
2007-10-25  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c: Aligned static function
	prototypes.

svn path=/trunk/; revision=23951
2007-10-25 20:43:51 +00:00
Martin Nordholts 3f1d817eb6 Tiny cosmetic change on the ClampedSide enum definition.
2007-10-25  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c: Tiny cosmetic change on the
	ClampedSide enum definition.

svn path=/trunk/; revision=23950
2007-10-25 20:28:23 +00:00
Sven Neumann 6850b9043e pass options to gtkdoc-fixref.
2007-10-25  Sven Neumann  <sven@gimp.org>

	* app/Makefile.am: pass options to gtkdoc-fixref.

svn path=/trunk/; revision=23949
2007-10-25 15:57:26 +00:00
Priit Laes 03a76c0657 Translation updated by Olle Niit.
2007-10-25  Priit Laes  <plaes@svn.gnome.org>

	* et.po: Translation updated by Olle Niit.

svn path=/trunk/; revision=23948
2007-10-25 15:26:29 +00:00
Sven Neumann 03235e4b23 tools/Makefile.am tools/gimp-remote.[ch] split gimp-remote into common and
2007-10-25  Sven Neumann  <sven@gimp.org>

	* tools/Makefile.am
	* tools/gimp-remote.[ch]
	* tools/gimp-remote-x11.c: split gimp-remote into common and X11
	specific code.

svn path=/trunk/; revision=23947
2007-10-25 14:46:27 +00:00
Michael Natterer 07533d3dc1 made all tests consistently use 'test "x$foo" = xbar' instead of 5
2007-10-25  Michael Natterer  <mitch@gimp.org>

	* configure.in: made all tests consistently use
	'test "x$foo" = xbar' instead of 5 variants of which some were
	broken. Spotted by Peter Breitenlohner, fixes bug #490068.


svn path=/trunk/; revision=23946
2007-10-25 13:58:54 +00:00