Commit Graph

19854 Commits

Author SHA1 Message Date
Michael Natterer e172a72c63 set the gradient-type and gradient-repeat combo boxes to ELLIPSIZE_END so
2007-02-27  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpblendoptions.c (gimp_blend_options_gui): set the
	gradient-type and gradient-repeat combo boxes to ELLIPSIZE_END so
	the blend options can be one tool icon size smaller without
	scrolling horizontally.


svn path=/trunk/; revision=22014
2007-02-27 18:44:55 +00:00
Sven Neumann 4a6b039f88 update the progress less often.
2007-02-27  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/scale-funcs.c: update the progress less often.

svn path=/trunk/; revision=22013
2007-02-27 16:59:24 +00:00
Marco Ciampa f0a4136953 Very small fix
svn path=/trunk/; revision=22012
2007-02-27 12:33:39 +00:00
Sven Neumann 776f7973b2 follow the internal API change
svn path=/trunk/; revision=22011
2007-02-27 11:10:17 +00:00
Sven Neumann 6852fc8068 allow the parent progress to be NULL. Documented the API.
2007-02-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimpsubprogress.[ch]: allow the parent progress to be NULL.
	Documented the API.

	* app/core/gimpimage-scale.c: use the sub-progress unconditionally.


svn path=/trunk/; revision=22010
2007-02-27 11:03:18 +00:00
Sven Neumann 5b5082a433 app/core/Makefile.am app/core/core-types.h added GimpSubProgress, an
2007-02-27  Sven Neumann  <sven@gimp.org>

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpsubprogress.[ch]: added GimpSubProgress, an 
object
	that implements the GimpProgress interface and maps progress
	information to a sub-range of the parent progress.

	* app/core/gimpimage-scale.c (gimp_image_scale): use the new 
object.


svn path=/trunk/; revision=22009
2007-02-27 09:39:31 +00:00
Sven Neumann 99e507de58 removed a redundant condition and marked another one as unlikely.
2007-02-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-transform-region.c (normalize_coords): removed a
	redundant condition and marked another one as unlikely.


svn path=/trunk/; revision=22008
2007-02-26 19:43:14 +00:00
Sven Neumann b3ec8a219d app/core/gimpimage-scale.c cosmetics.
2007-02-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-scale.c
	* app/actions/image-commands.c: cosmetics.


svn path=/trunk/; revision=22007
2007-02-26 18:53:07 +00:00
Sven Neumann f267e26644 just redraw the canvas
svn path=/trunk/; revision=22006
2007-02-26 16:03:14 +00:00
Sven Neumann 352d64ab5e cosmetics
svn path=/trunk/; revision=22005
2007-02-26 15:32:54 +00:00
Sven Neumann e644c56ce0 queue a redraw of the display shell instead of exposing the transform
2007-02-26  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptransformtool.c (gimp_transform_tool_doit): queue
	a redraw of the display shell instead of exposing the transform
	preview. Removes annoying flicker when the tool is finished.


svn path=/trunk/; revision=22004
2007-02-26 15:12:26 +00:00
Jakub Friedl bdbef8af9f Updated Czech translation.
2007-02-26  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.


svn path=/trunk/; revision=22003
2007-02-26 14:55:45 +00:00
Jakub Friedl 1f15c999a2 updated Czech translation
2007-02-26  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: updated Czech translation


svn path=/trunk/; revision=22002
2007-02-26 14:52:30 +00:00
Jakub Friedl 9ec6799790 Updated Czech translation.
2007-02-26  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.


svn path=/trunk/; revision=22001
2007-02-26 14:46:31 +00:00
Jakub Friedl 223acb0212 Updated Czech translation
2007-02-26 Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation


svn path=/trunk/; revision=22000
2007-02-26 14:40:46 +00:00
Sven Neumann e2ae556117 moved common code to an inlined function. gimp_transform_region_lanczos()
2007-02-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-transform-region.c: moved common code to an
	inlined function. gimp_transform_region_lanczos() now also does
	supersampling.  Removed boundary checks and clamping as
	PixelSurround and read_pixel_data_1() already deal with this for
	us. Gives another small speedup.


svn path=/trunk/; revision=21999
2007-02-26 14:16:31 +00:00
Sven Neumann 6b7996a3e7 use PixelSurround instead of read_pixel_data_1(). This yields a dramatic
2007-02-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-transform-region.c (gimp_transform_region_lanczos):
	use PixelSurround instead of read_pixel_data_1(). This yields a
	dramatic speedup.


svn path=/trunk/; revision=21998
2007-02-26 13:36:50 +00:00
Sven Neumann ca30a115b3 iterate over tiles instead of rows in the destination buffer.
2007-02-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-transform-region.c (gimp_transform_region_lanczos):
	iterate	over tiles instead of rows in the destination buffer.


svn path=/trunk/; revision=21997
2007-02-26 13:03:51 +00:00
Sven Neumann 43d2cde05f moved linear and cubic code to their own functions and let them iterate
2007-02-24  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-transform-region.c (gimp_transform_region): moved
	linear and cubic code to their own functions and let them iterate
	over tiles instead of rows in the destination buffer.


svn path=/trunk/; revision=21996
2007-02-26 11:50:02 +00:00
Sven Neumann 7e3559035f restored alphabetical order.
2007-02-26  Sven Neumann  <sven@gimp.org>

	* authors.xml: restored alphabetical order.


svn path=/trunk/; revision=21995
2007-02-26 10:51:33 +00:00
Sven Neumann dac0f127f2 added a dependency for AUTHORS on authors.xsl.
2007-02-26  Sven Neumann  <sven@gimp.org>

	* Makefile.am: added a dependency for AUTHORS on authors.xsl.

	* authors.xsl: changed to list contributors with their role.

	* AUTHORS: regenerated.


svn path=/trunk/; revision=21994
2007-02-26 10:47:22 +00:00
Sven Neumann d197451496 configure.in added checks for X11 Shape Extension and build the shaped
2007-02-26  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/common/screenshot.c: added checks for X11 Shape
	Extension and build the shaped window feature conditionally.

svn path=/trunk/; revision=21993
2007-02-26 10:20:22 +00:00
Sven Neumann cc6a517f5b added more const qualifiers.
2007-02-26  Sven Neumann  <sven@gimp.org>

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


svn path=/trunk/; revision=21992
2007-02-26 09:33:13 +00:00
Ole Laursen 1bf9cad2bb Updated Danish translation.
2007-02-25  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.


svn path=/trunk/; revision=21991
2007-02-25 17:04:14 +00:00
Marco Ciampa 8fe732665a Added italian contributor
svn path=/trunk/; revision=21990
2007-02-25 08:27:08 +00:00
Marco Ciampa 1b78693b86 Small fix
svn path=/trunk/; revision=21989
2007-02-24 18:02:49 +00:00
Sven Neumann 4232b8fa4e operate on tiles instead of iterating row by row.
2007-02-24  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-transform-region.c 
(gimp_transform_region_nearest):
	operate on tiles instead of iterating row by row.


svn path=/trunk/; revision=21988
2007-02-24 16:40:56 +00:00
Sven Neumann ef28e94e7f moved nearest-neighbor code to it's own function to improve performance
2007-02-24  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-transform-region.c (gimp_transform_region):
	moved nearest-neighbor code to it's own function to improve
	performance and readability.


svn path=/trunk/; revision=21987
2007-02-24 15:49:25 +00:00
Sven Neumann db72bf1358 moved lanczos code into it's own function to improve readability.
2007-02-23  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-transform-region.c (gimp_transform_region): 
moved
	lanczos code into it's own function to improve readability.


svn path=/trunk/; revision=21986
2007-02-23 19:04:19 +00:00
Sven Neumann 74776dd44e cosmetics
svn path=/trunk/; revision=21985
2007-02-23 16:35:38 +00:00
Sven Neumann 6788bffb5c do less tile lock and release operations by reusing the last locked tile
2007-02-23  Sven Neumann  <sven@gimp.org>

	* app/base/pixel-surround.[ch]: do less tile lock and release
	operations by reusing the last locked tile if possible. Allow to
	call pixel_surround_lock() several times without unlocking.

	* app/core/gimp-transform-region.c: don't unlock the PixelSurround
	so that the locked tile can be reused. Yields about 30% speedup
	for transformations.


svn path=/trunk/; revision=21984
2007-02-23 16:19:42 +00:00
Tor Lillqvist d0cf5a026d Remove space after the -L in what we add to LDFLAGS for DirectInput.
2007-02-23  Tor Lillqvist  <tml@novell.com>

	* configure.in: Remove space after the -L in what we add to
	LDFLAGS for DirectInput.


svn path=/trunk/; revision=21983
2007-02-23 12:41:01 +00:00
Tor Lillqvist 35a0647fec Inspired by mail from a user, improve some error messages to be more
2007-02-23  Tor Lillqvist  <tml@novell.com>

	* plug-ins/common/psd.c: Inspired by mail from a user, improve
	some error messages to be more informative. Use g_message()
	instead of plain printf() in a couple of places in situations that
	probably are commonly encountered. (There are probably still more
	of such printf() calls in the code.) gimp_quit() doesn't return,
	not need to do anything else after calling it.


svn path=/trunk/; revision=21982
2007-02-23 12:32:03 +00:00
Sven Neumann 9a30c767a2 code cleanup.
2007-02-23  Sven Neumann  <sven@gimp.org>

	* app/base/pixel-surround.c (pixel_surround_lock): code cleanup.


svn path=/trunk/; revision=21981
2007-02-23 10:59:02 +00:00
Sven Neumann c0c273f9ce allocate the PixelSurround struct and its buffer in one chunk.
2007-02-22  Sven Neumann  <sven@gimp.org>

	* app/base/pixel-surround.c: allocate the PixelSurround struct and
	its buffer in one chunk.


svn path=/trunk/; revision=21980
2007-02-23 10:10:44 +00:00
Marco Ciampa 973ba1cb9a Updated italian translation
svn path=/trunk/; revision=21979
2007-02-23 10:05:45 +00:00
Sven Neumann 9d32b72c6f app/base/base-types.h hide PixelSurround struct and cleaned up the
2007-02-22  Sven Neumann  <sven@gimp.org>

	* app/base/base-types.h
	* app/base/pixel-surround.[ch]: hide PixelSurround struct and
	cleaned up the PixelSurround API.

	* app/core/gimp-transform-region.c: changed accordingly. Also
	sprinkled some const qualifiers.

svn path=/trunk/; revision=21978
2007-02-23 09:50:42 +00:00
Marco Ciampa 02982f7a59 Updated italian translation
svn path=/trunk/; revision=21977
2007-02-23 09:49:17 +00:00
Marco Ciampa 9c8a4a0cbb Updated italian translation
svn path=/trunk/; revision=21976
2007-02-23 09:36:53 +00:00
Sven Neumann 3f7c188f59 made tile_ref_count a static variable and added a function to access it.
2007-02-22  Sven Neumann  <sven@gimp.org>

	* app/base/tile.[ch]: made tile_ref_count a static variable and
	added a function to access it.  Declared other (unused) global
	counters as static variables and moved them into #ifdefs.

	* app/base/tile-swap.c: use the function instead of declaring
	tile_ref_count as extern.

	* app/base/tile-manager.c
	* app/base/pixel-surround.c: cosmetics.


svn path=/trunk/; revision=21975
2007-02-22 22:28:24 +00:00
Tor Lillqvist cc3879beca Fix logic error in saving and restoring CPPFLAGS for the DirectInput
2007-02-23  Tor Lillqvist  <tml@novell.com>

	* configure.in: Fix logic error in saving and restoring CPPFLAGS
	for the DirectInput checks.


svn path=/trunk/; revision=21974
2007-02-22 22:16:10 +00:00
Sven Neumann acdabd3923 plug-ins/pygimp/plug-ins/Makefile.am stop installing any test scripts.
2007-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/Makefile.am
	* plug-ins/script-fu/scripts/Makefile.am: stop installing any test
	scripts.


svn path=/trunk/; revision=21973
2007-02-22 08:08:09 +00:00
Sven Neumann fbdafbb7cd use a named template to avoid code duplication.
2007-02-22  Sven Neumann  <sven@gimp.org>

	* app/dialogs/authors.xsl: use a named template to avoid code
	duplication.


svn path=/trunk/; revision=21972
2007-02-22 08:04:16 +00:00
Tor Lillqvist b4605065fb Define GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS if necessary.
2007-02-22  Tor Lillqvist  <tml@novell.com>

	* modules/gimpinputdevicestore.c: Define
	GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS if necessary.


svn path=/trunk/; revision=21971
2007-02-21 23:16:27 +00:00
Tor Lillqvist 035f463887 Add --with-directx-sdk switch instead of relying on CPPFLAGS and LDFLAGS.
2007-02-22  Tor Lillqvist  <tml@novell.com>

	* configure.in: Add --with-directx-sdk switch instead of relying
	on CPPFLAGS and LDFLAGS. Drop the --without-directinput switch.


svn path=/trunk/; revision=21970
2007-02-21 23:09:25 +00:00
Sven Neumann d9b5f03230 added an explicit dependency on authors.h.
2007-02-21  Sven Neumann  <sven@gimp.org>

	* app/dialogs/Makefile.am: added an explicit dependency on authors.h.


svn path=/trunk/; revision=21969
2007-02-21 16:47:36 +00:00
Tor Lillqvist 268fbd51a5 It's pointless to build libcontroller_midi.la on Windows, even if it
2007-02-21  Tor Lillqvist  <tml@novell.com>

	* modules/Makefile.am: It's pointless to build
	libcontroller_midi.la on Windows, even if it happens to compile
	and build. There are no MIDI "device files" on Windows. A totally
	specific MIDI API would have to be used.


svn path=/trunk/; revision=21968
2007-02-20 23:08:12 +00:00
David Odin f56e698a77 use our indentation and spacing way.
* plug-ins/common/gee.c: use our indentation and spacing way.

svn path=/trunk/; revision=21967
2007-02-20 21:54:36 +00:00
Tor Lillqvist d57d22835c Add modules/controller_dx_dinput.c.
2007-02-20  Tor Lillqvist  <tml@novell.com>

	* POTFILES.in: Add modules/controller_dx_dinput.c.


svn path=/trunk/; revision=21966
2007-02-20 21:01:37 +00:00
Tor Lillqvist 052be623f8 Mention a patch needed to dinput.h.
svn path=/trunk/; revision=21965
2007-02-20 20:02:40 +00:00