Commit Graph

19923 Commits

Author SHA1 Message Date
Michael Natterer 974a74004f remove useless includes. Some minor cleanup.
2007-03-09  Michael Natterer  <mitch@gimp.org>

	* app/tools/*.c: remove useless includes. Some minor cleanup.


svn path=/trunk/; revision=22083
2007-03-09 11:10:40 +00:00
Sven Neumann 101d1b6512 replaced inner loop by a call to memcpy.
2007-03-09  Sven Neumann  <sven@gimp.org>

	* app/base/pixel-surround.c: replaced inner loop by a call to memcpy.


svn path=/trunk/; revision=22082
2007-03-09 10:18:25 +00:00
Sven Neumann 7758757d89 Much better fix which doesn't slow down handling of out-of-bounds requests
and also covers a corner case that the previous fix didn't handle. 

svn path=/trunk/; revision=22081
2007-03-09 09:53:21 +00:00
Sven Neumann 3760f9ec49 fixed handling of uncovered regions.
2007-03-09  Sven Neumann  <sven@gimp.org>

	* app/base/pixel-surround.c: fixed handling of uncovered 
regions.


svn path=/trunk/; revision=22080
2007-03-09 09:19:57 +00:00
Sven Neumann e62825eecc added missing call to gimp_rectangle_tool_update_options (). Fixes bug
2007-03-09  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c (gimp_rectangle_tool_key_press):
	added missing call to gimp_rectangle_tool_update_options (). 
Fixes
	bug #416268.


svn path=/trunk/; revision=22079
2007-03-09 07:16:18 +00:00
Raphael Quinet 2c1e06c107 make the new feature visible in the status bar (alas, this implies a new
2007-03-09  Raphael Quinet  <raphael@gimp.org>

	* app/tools/gimpblendtool.c (gimp_blend_tool_push_status): make
	the new feature visible in the status bar (alas, this implies a
	new translatable string).

svn path=/trunk/; revision=22078
2007-03-08 23:33:55 +00:00
Michael Natterer e9029e04e0 renamed members and added last_x and last_y to remember the last mouse
2007-03-08  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpblendtool.h (struct GimpBlendTool): renamed
	members and added last_x and last_y to remember the last mouse
	coords.

	* app/tools/gimpblendtool.c: changed accordingly. Take drawable
	offset into account in button_release() and remove offset
	calculations from all other places. Enabled using ALT for moving
	the entire line.


svn path=/trunk/; revision=22077
2007-03-08 18:07:38 +00:00
Sven Neumann 012ecd81f5 do one less call to tile_manager_get_tile().
2007-03-08  Sven Neumann  <sven@gimp.org>

	* app/base/pixel-surround.c (pixel_surround_get_data): do one less
	call to tile_manager_get_tile().


svn path=/trunk/; revision=22076
2007-03-08 16:38:53 +00:00
Michael Natterer 8fcb05e6e7 request click events, removed target_x,y struct members and button_press()
2007-03-08  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpbucketfilltool.[ch]: request click events, removed
	target_x,y struct members and button_press() implementation and
	use the coords passed in button_release(). Also make sure that
	a click has no effect in areas where we show the bad corsor.


svn path=/trunk/; revision=22075
2007-03-08 15:32:58 +00:00
Sven Neumann 4af6da98e1 support mnemonics in parameter labels.
2007-03-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: support mnemonics in parameter labels.

	* plug-ins/pygimp/plug-ins/foggify.py
	* plug-ins/pygimp/plug-ins/colorxhtml.py
	* plug-ins/pygimp/plug-ins/shadow_bevel.py
	* plug-ins/pygimp/plug-ins/palette-offset.py
	* plug-ins/pygimp/plug-ins/palette-sort.py: added mnemonics.


svn path=/trunk/; revision=22074
2007-03-08 15:17:54 +00:00
Sven Neumann a092677a4d fixed boundary case.
2007-03-08  Sven Neumann  <sven@gimp.org>

	* app/base/pixel-surround.c: fixed boundary case.

svn path=/trunk/; revision=22073
2007-03-08 14:50:19 +00:00
Jakub Friedl 5a0b766c2b updated Czech translation
2007-03-08  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: updated Czech translation


svn path=/trunk/; revision=22072
2007-03-08 10:16:00 +00:00
Sven Neumann 31565ecb6e gimp_prop_string_combo_box_new() takes a GtkTreeModel, not a GtkTreeStore.
2007-03-08  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppropwidgets.[ch]: gimp_prop_string_combo_box_new()
	takes a GtkTreeModel, not a GtkTreeStore.


svn path=/trunk/; revision=22071
2007-03-08 10:06:31 +00:00
Raphael Quinet 2c072384cf fixed the incorrect declaration of the values[] array. Thanks to Petr
2007-03-08  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/winicon/main.c (run): fixed the incorrect declaration
	of the values[] array.  Thanks to Petr Gajdos <pgajdos@suze.cz>
	for reporting this problem and for supplying a patch.

svn path=/trunk/; revision=22070
2007-03-08 09:59:38 +00:00
Jakub Friedl 5ab8a26fca Updated Czech translation.
2007-03-08  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.


svn path=/trunk/; revision=22069
2007-03-08 09:43:08 +00:00
Jakub Friedl 6711a309dd Updated Czech translation
2007-03-08 Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation



svn path=/trunk/; revision=22068
2007-03-08 09:40:04 +00:00
Sven Neumann f663cb8bc4 app/tools/gimpperspectivetool.c app/tools/gimpscaletool.c
2007-03-08  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpperspectivetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpfliptool.c
	* app/tools/gimpsheartool.c
	* app/tools/gimptransformtool.[ch]: removed shell_desc member 
from
	GimpTransformToolClass and just use the tool blurb instead.


svn path=/trunk/; revision=22067
2007-03-08 08:21:39 +00:00
Sven Neumann 18efb16d5e added missing call to gimp_rectangle_tool_rectangle_changed(). Fixes bug
2007-03-08  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c (gimp_rectangle_tool_key_press):
	added missing call to gimp_rectangle_tool_rectangle_changed().
	Fixes bug #415833.


svn path=/trunk/; revision=22066
2007-03-08 06:52:41 +00:00
Sven Neumann 1bdb26be15 describe usage of modifiers as suggested in bug #415796.
2007-03-07  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpvectoroptions.c (gimp_vector_options_gui): 
describe
	usage of modifiers as suggested in bug #415796.


svn path=/trunk/; revision=22065
2007-03-07 19:48:38 +00:00
Sven Neumann c9073a2449 reduced number of calls to tile_manager_get_tile().
2007-03-07  Sven Neumann  <sven@gimp.org>

	* app/base/pixel-surround.c (pixel_surround_lock): reduced number
	of calls to tile_manager_get_tile().


svn path=/trunk/; revision=22064
2007-03-07 17:57:10 +00:00
Michael Natterer c2c21a30f2 Clean up fix for bug #328001:
2007-03-07  Michael Natterer  <mitch@gimp.org>

	Clean up fix for bug #328001:

	* app/tools/gimpeditselectiontool.[ch] (process_event_queue_keys):
	made private again.

	(gimp_edit_selection_tool_translate): new function which has an
	additional GimpTransformType parameter to determine what transform
	to perform. Do all the work here, ignoring the key event's
	modifier state.

	(gimp_edit_selection_tool_key_press): just determine the transform
	type from the key event's modifier state and call
	gimp_edit_selection_tool_translate().

	* app/tools/gimpmovetool.c (gimp_move_tool_key_press): removed all
	code and call gimp_edit_selection_tool_translate() with
	options->move_type. Moved the function to its proper place in the
	file.


svn path=/trunk/; revision=22063
2007-03-07 09:34:47 +00:00
Sven Neumann 4d76165127 keep an internal buffer filled with the background color and use it for
2007-03-07  Sven Neumann  <sven@gimp.org>

	* app/base/pixel-surround.c: keep an internal buffer filled with
	the background color and use it for out of bounds requests. 
Speed
	up filling the internal buffer by copying data row-by-row.


svn path=/trunk/; revision=22062
2007-03-06 23:32:25 +00:00
Žygimantas Beručka c5c17d737d Updated Lithuanian translation.
svn path=/trunk/; revision=22061
2007-03-06 21:30:20 +00:00
Žygimantas Beručka 34b1b20ec4 Updated Lithuanian translation.
svn path=/trunk/; revision=22060
2007-03-06 21:18:44 +00:00
Žygimantas Beručka f73a24e937 Updated Lithuanian translation.
svn path=/trunk/; revision=22059
2007-03-06 20:18:21 +00:00
Sven Neumann f878258e5d Patch by Martin Nordholts. Fixes bug #328001.
2007-03-06  Sven Neumann  <sven@gimp.org>

	Patch by Martin Nordholts. Fixes bug #328001.

	* app/tools/gimpeditselectiontool.[ch] 
(process_event_queue_keys):
	Made process_event_queue_keys public for use of gimpmovetool.c.
	Still needs to be renamed and moved to another place.

	* app/tools/gimpmovetool.c (gimp_move_tool_key_press): Created
	gimp_move_tool_key_press() which takes care of events that
	gimp_edit_selection_tool_key_press() is not is able to
	handle. Otherwise just pass key events on to that method.


svn path=/trunk/; revision=22058
2007-03-06 19:56:08 +00:00
Žygimantas Beručka 0f7ff68e63 Updated Lithuanian translation.
svn path=/trunk/; revision=22057
2007-03-06 17:30:12 +00:00
Sven Neumann 385fac6b72 added GimpSubProgress.
2007-03-06  Sven Neumann  <sven@gimp.org>

	* app/app.types: added GimpSubProgress.


svn path=/trunk/; revision=22056
2007-03-06 11:18:59 +00:00
Manish Singh d0dc28e2bf Make --without-script-fu work. Also make the spacing line up again in the
2007-03-05  Manish Singh  <yosh@gimp.org>

        * configure.in: Make --without-script-fu work. Also make the spacing
        line up again in the post configure option summary.


svn path=/trunk/; revision=22055
2007-03-06 07:03:26 +00:00
Nickolay V. Shmyrev d0e5b698b9 Updated Russian translation by Alexandre Prokoudine
2007-03-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

	* ru.po: Updated Russian translation by
	Alexandre Prokoudine <alexandre.prokoudine@gmail.com>



svn path=/trunk/; revision=22054
2007-03-06 00:45:12 +00:00
Nickolay V. Shmyrev 54ff474ace Updated Russian translation by Alexandre Prokoudine
2007-03-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

	* ru.po: Updated Russian translation by
	Alexandre Prokoudine <alexandre.prokoudine@gmail.com>


svn path=/trunk/; revision=22053
2007-03-06 00:43:00 +00:00
Nickolay V. Shmyrev e70dbfb45f Updated Russian translation by Alexandre Prokoudine
2007-03-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

	* ru.po: Updated Russian translation by
	Alexandre Prokoudine <alexandre.prokoudine@gmail.com>


svn path=/trunk/; revision=22052
2007-03-06 00:31:13 +00:00
Sven Neumann 03f3b2402e news flash
svn path=/trunk/; revision=22051
2007-03-05 21:38:12 +00:00
Sven Neumann baada48f0e changed strings as suggested in bug #304148).
2007-03-05  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpexport.c: changed strings as suggested in bug 
#304148).


svn path=/trunk/; revision=22050
2007-03-05 21:31:04 +00:00
Michael Natterer d741af2656 if the user clicks inside an existing selection, initialize the rectangle
2007-03-05  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangleselecttool.c
	(gimp_rect_select_tool_execute): if the user clicks inside an
	existing selection, initialize the rectangle tool to the entire
	selection, not just to the part of it that is within the active
	drawable. Also removed some dead code.


svn path=/trunk/; revision=22049
2007-03-05 21:03:02 +00:00
Sven Neumann 7044701112 added missing cast.
2007-03-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpstrokeeditor.c: added missing cast.


svn path=/trunk/; revision=22048
2007-03-05 20:28:31 +00:00
Michael Natterer e6fb62d4ac Makes default Select -> Border behaviour consistent, and makes 'sticky
2007-03-05  Michael Natterer  <mitch@gimp.org>

	Makes default Select -> Border behaviour consistent, and makes
	'sticky image edges' optional by adding a checkbox in the Border
	Selection dialog. Patch by Martin Nordholts. Fixes bug #350009.

	* app/actions/select-commands.c (select_border_cmd_callback)
	(select_border_callback): Added edge-lock checkbox to dialog and
	modified calls accordingly.

	* app/paint-funcs/paint-funcs.c (border_region)
	(compute_transition): Fixed algorithm. (compute_transition is a
	helper function to the algorithm). Also clarified many parts of
	the algorithm with comments.

	* app/paint-funcs/paint-funcs.h
	* app/core/gimpchannel.[ch]
	* app/core/gimpselection.c: Added gboolean edge_lock to function
	calls/signatures.

	* app/pdb/selection_cmds.c: Regenerated. 


svn path=/trunk/; revision=22047
2007-03-05 20:21:23 +00:00
Michael Natterer 395b06ad8b added typdef GimpMemsizeFunc.
2007-03-05  Michael Natterer  <mitch@gimp.org>

	* app/core/core-types.h: added typdef GimpMemsizeFunc.

	* app/core/gimp-utils.[ch]: added _foreach() variants of
	GHashTable, GList and GSList functions which take GimpMemsizeFunc
	callbacks. Added gimp_parasite_get_memsize(). Added "data_size"
	parameter to gimp_g_hash_table_get_memsize().

	* app/core/gimp.c
	* app/core/gimppalette.c
	* app/core/gimpparasitelist.c
	* app/pdb/gimppdb.c
	* app/plug-in/gimppluginmanager.c: use the new functions instead
	of itering manually or ignoring the containers' elements. Changed
	callers of gimp_g_hash_table_get_memsize().


svn path=/trunk/; revision=22046
2007-03-05 20:09:46 +00:00
Sven Neumann c4c9dbc038 plug-ins/common/colorify.c plug-ins/common/max_rgb.c resolved clashing
2007-03-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colorify.c
	* plug-ins/common/max_rgb.c
	* plug-ins/common/retinex.c: resolved clashing mnemonics (bug #414656).


svn path=/trunk/; revision=22045
2007-03-05 17:10:30 +00:00
Marco Ciampa e812044cdb Updated italian translation
svn path=/trunk/; revision=22044
2007-03-05 10:16:06 +00:00
Kevin Cozens a144b79cb5 De-tabified. Fixed limit checks on resource ID's used for path data. Added
2007-03-04  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/common/psd.c: De-tabified. Fixed limit checks on resource
	ID's used for path data. Added comments showing decimal value of image
	resource ID's 

	* plug-ins/common/psd_save.c: De-tabified. Added support for layer
	modes HARDLIGHT_MODE and SOFTLIGHT_MODE. Added comments showing
	decimal value of image resource ID's 

svn path=/trunk/; revision=22043
2007-03-05 04:52:42 +00:00
Michael Natterer 1bfc742f03 don't pass random strings to g_print() without running them through %s.
2007-03-04  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpobject.c (gimp_object_get_memsize): don't pass
	random strings to g_print() without running them through %s.
	Fixes crash/warning when the string contains '%'.


svn path=/trunk/; revision=22042
2007-03-04 21:38:50 +00:00
Hans Breuer f8b13080e4 updated
2007-03-04  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc app/gimpcore.def : updated


svn path=/trunk/; revision=22041
2007-03-04 19:04:42 +00:00
Sven Neumann f1692ea6fc app/display/gimpdisplayshell.[ch] only change the remembered last scale
2007-03-04  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.[ch]
	* app/display/gimpdisplayshell-scale.c: only change the 
remembered
	last scale value if the last change occured more than a second 
ago.

	* app/tools/gimprectangletool.c: fixed compiler warnings.


svn path=/trunk/; revision=22040
2007-03-04 10:27:17 +00:00
Roman Joost 5987f0f4f1 added missing, active documentation authors.
2007-03-03  Roman Joost  <romanofski@gimp.org>

	* authors.xml: added missing, active documentation authors.

svn path=/trunk/; revision=22039
2007-03-03 14:56:47 +00:00
Sven Neumann 0d2c3957c3 libgimpconfig/gimpconfig-serialize.c libgimpconfig/gimpconfig-error.c
2007-03-02  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpconfig-serialize.c
	* libgimpconfig/gimpconfig-error.c
	* libgimpconfig/gimpconfig-path.c
	* libgimpconfig/gimpconfig-deserialize.c
	* libgimpconfig/gimpconfig-utils.c
	* libgimpconfig/gimpconfig-iface.c: corrected copyright notice
	(bug #413731).


svn path=/trunk/; revision=22038
2007-03-02 08:38:13 +00:00
Michael Natterer 4dd7d18b06 use gimp_drawable_bytes_with_alpha() instead of manually adding alpha to
2007-03-01  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-blend.c (gimp_drawable_blend): use
	gimp_drawable_bytes_with_alpha() instead of manually adding
	alpha to the value returned by gimp_drawable_bytes()


svn path=/trunk/; revision=22037
2007-03-01 17:53:56 +00:00
João S. O. Bueno Calligaris 7bb5a24740 Add bug number to the ChangeLog
2007-03-01 João S. O. Bueno Calligaris <gwidon@mpc.com.br>
       Add bug number to the ChangeLog

svn path=/trunk/; revision=22036
2007-03-01 15:30:53 +00:00
João S. O. Bueno Calligaris 4fb0b2a5bf add callback to resolution changes in the postscipt load dialog to update
2007-03-01 João S. O. Bueno Calligaris <gwidon@mpc.com.br>

        * plug-ins/common/postscript.c: add callback to resolution
        changes in the postscipt load dialog to update the image size
        in pixels.

svn path=/trunk/; revision=22035
2007-03-01 12:48:00 +00:00
Jakub Friedl 39c3a4e80b updated Czech translation
2007-03-01  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: updated Czech translation


svn path=/trunk/; revision=22034
2007-03-01 10:21:38 +00:00