Commit graph

18493 commits

Author SHA1 Message Date
Kevin Sookocheff 02156f9a74 Partially implemented sample-merged healing. 2006-08-15 21:15:59 +00:00
Michael Natterer 2a97cb07c1 added check for GIMP_TRANSLATE_MODE_MASK_COPY_TO_LAYER which was forgotten
2006-08-15  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpeditselectiontool.c (gimp_edit_selection_tool_start):
	added check for GIMP_TRANSLATE_MODE_MASK_COPY_TO_LAYER which was
	forgotten when this mode was introduced.
2006-08-15 21:15:49 +00:00
Sven Neumann 1f63110d52 the return value isn't const.
2006-08-15  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.[ch] (gimp_shm_addr): the return value isn't
const.
2006-08-15 20:29:01 +00:00
Sven Neumann cbce9d135f fixed cursor handling on button press and release events.
2006-08-15  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcurvestool.c (curves_graph_events): fixed cursor
	handling on button press and release events.
2006-08-15 20:10:49 +00:00
Sven Neumann c8f28b2dbe do not add a toggle for "transient-docks" in stable releases (bug
2006-08-15  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c: do not add a toggle for
	"transient-docks" in stable releases (bug #322577).
2006-08-15 18:03:53 +00:00
Sven Neumann ed15385125 plug-ins/bmp/bmp.[ch] plug-ins/bmp/bmpread.c applied patch from Piotr
2006-08-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmp.[ch]
	* plug-ins/bmp/bmpread.c
	* plug-ins/bmp/bmpwrite.c: applied patch from Piotr Filiciak that
	merges the save dialogs and completes the changes in bug #342355.
2006-08-15 17:35:00 +00:00
William Skaggs 33d41964a9 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/paint/gimpbrushcore.c (gimp_brush_core_color_area_with_pixmap):
	kludge to adjust offset for even-dimensioned brushes;
	fixes bug #166622.
2006-08-15 17:21:18 +00:00
Sven Neumann 9f57869393 increased GIMP_VIEWABLE_MAX_PREVIEW_SIZE to 2048 to workaround bug
2006-08-15  Sven Neumann  <sven@gimp.org>

	* app/core/gimpviewable.h: increased GIMP_VIEWABLE_MAX_PREVIEW_SIZE
	to 2048 to workaround bug #307314.
2006-08-15 17:10:41 +00:00
Sven Neumann 0b5a30d13c app/core/core-enums.h tools/pdbgen/pdb/edit.pdb applied patch from David
2006-08-15  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.h
	* tools/pdbgen/pdb/edit.pdb
	* tools/pdbgen/pdb/selection_tools.pdb: applied patch from David
	Gowers that adds extended PDB interface for gimp-edit-bucket-fill,
	gimp-by-color-select and gimp-fuzzy-select. Fixes bugs #348291 and
	#347499.

	* app/pdb/edit_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/selection_tools_cmds.c
	* libgimp/gimpedit_pdb.[ch]
	* libgimp/gimpenums.c.tail
	* libgimp/gimpenums.h
	* libgimp/gimpselectiontools_pdb.[ch]
	* tools/pdbgen/enums.pl: regenerated.

	* libgimp/gimp.def: updated.
2006-08-15 16:20:46 +00:00
Sven Neumann 684aa29ccb coding style.
2006-08-15  Sven Neumann  <sven@gimp.org>

	* app/xcf/xcf-save.c (xcf_save_tile_rle): coding style.

	* plug-ins/winicon/icodialog.c: removed leftover debug output.
2006-08-15 15:59:09 +00:00
Hans Breuer 37e4b80204 updated
2006-08-15  Hans Breuer  <hans@breuer.org>

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

	* app/xcf/xcf-save.c(1464) : error C2036: 'void *' : unknown size
	pointer arithmetics on void a pointer looks like a GCC extension
	* app/tools/gimpbrightnesscontrasttool.c
	  app/tools/gimpcolorbalancetool.c
	  app/tools/gimphuesaturationtool.c
	  app/tools/gimpcolorizetool.c : #include "core/gimp.h" for gimp_message
	* app/tools/gimpiscissorstool.c : use RINT() rather than rint()
	* app/widgets/gimpcontrollerlist.c : #include "gimpwidgets-utils.h"
	for gimp_show_message_dialog
	* app/core/gimpprogress.c(229) : 'gimp_progress_message' must
	return a value
2006-08-15 15:13:08 +00:00
Ilkka Tuohela 5668421d1a Updated Finnish translation 2006-08-15 11:43:49 +00:00
Sven Neumann d47fb429bb moved whirlpinch.py to the test_scripts category to prevent it from being
2006-08-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/Makefile.am: moved whirlpinch.py to the
	test_scripts category to prevent it from being installed in stable
	releases (bug #46001).
2006-08-15 10:43:55 +00:00
Marco Ciampa 9c32aa3b43 small fix in italian translation 2006-08-15 08:32:15 +00:00
Sven Neumann 307f75f42c has only one return value if called as recompose. Fixes the trigger for
2006-08-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/compose.c: has only one return value if called
	as recompose. Fixes the trigger for bug #350226.
2006-08-15 06:26:27 +00:00
Michael Natterer 2c47055043 Fixed rounding and double vs. integer inconsistency when dealing with
2006-08-14  Michael Natterer  <mitch@gimp.org>

	Fixed rounding and double vs. integer inconsistency when dealing
	with mouse coordinates. Fixes bug #350694.

	* app/tools/gimpiscissorstool.c
	(clicked_on_vertex)
	(clicked_on_curve): added double x and y parameters and use them
	instead of the integer iscissors->x and ->y. Cleaned up the
	functions a bit.

	(gimp_iscissors_tool_button_press)
	(gimp_iscissors_tool_motion): changed accordingly, also rint() the
	passed mouse coords when assigning them to iscissors->x and ->y.

	Unrelated cleanup:

	(iscissors_free_buffers): removed, folded into reset()
	(precalculate_arrays): removed, folded into class_init()
2006-08-14 20:32:42 +00:00
Sven Neumann 179f0cc4f4 tools/gimp-remote.c applied patch from Michael Klein that adds an option
2006-08-14  Sven Neumann  <sven@gimp.org>

	* tools/gimp-remote.c
	* docs/gimp-remote.1.in: applied patch from Michael Klein that
adds
	an option to print out the XID of the toolbox window (bug
#351205).
2006-08-14 19:11:15 +00:00
Sven Neumann 682bf81548 open the file in binary mode. Pointed out by Aurimas Juska; fixes bug
2006-08-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icoload.c: open the file in binary mode.
	Pointed out by Aurimas Juska; fixes bug #172503.
2006-08-14 17:53:35 +00:00
Marco Ciampa 287859cc52 Updated italian translation 2006-08-14 16:04:15 +00:00
Sven Neumann 36b4860e6d simplified code for statusbar display.
2006-08-14  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c (gimp_rectangle_tool_motion):
	simplified code for statusbar display.
2006-08-14 14:17:18 +00:00
Sven Neumann f47007d897 changed the limits for "pressx" and "pressy". It's wrong to disallow
2006-08-14  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c: changed the limits for "pressx"
	and "pressy". It's wrong to disallow negative values here.
2006-08-14 14:06:38 +00:00
Sven Neumann 086d1b8bff app/actions/context-commands.c (context_brush_radius_cmd_callback)
2006-08-14  Sven Neumann  <sven@gimp.org>

	* app/actions/context-commands.c (context_brush_radius_cmd_callback)
	(context_actions_update)
	* app/core/gimpbrushgenerated.c (gimp_brush_generated_class_init):
	set upper brush size limit to 4000 pixels. Fixes bug #351175.
2006-08-14 12:45:33 +00:00
Sven Neumann df30e50fc2 do not select ISCISSORS_OP_MOVE_POINT for terminal points. Fixes bug
2006-08-14  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpiscissorstool.c (gimp_iscissors_tool_oper_update):
	do not select ISCISSORS_OP_MOVE_POINT for terminal points. Fixes
	bug #132352.
2006-08-14 12:34:42 +00:00
Michael Natterer 24d9af3702 draw only within the intersection of the the passed coordinates and the
2006-08-14  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpdrawablepreview.c (gimp_drawable_preview_draw_area):
	draw only within the intersection of the the passed coordinates
	and the selection to avoid access to non-existant (out-of-image)
	selction tiles. Fixes bug #350760.
2006-08-14 12:17:34 +00:00
Sven Neumann 740f56c6b9 do not autocrop the buffer contents, always keep the selection size (bug
2006-08-14  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-edit.c (gimp_edit_make_buffer): do not autocrop
	the buffer contents, always keep the selection size (bug #350897).
2006-08-14 08:21:26 +00:00
Marco Ciampa ab9da134a5 Updated italian translation 2006-08-13 23:05:56 +00:00
Marco Ciampa f4b4cd3e09 Updated italian translation 2006-08-13 21:44:17 +00:00
Karine Delvare b8920f4869 restore rectangle settings. Fixes bug #346683.
2006-08-13  Karine Delvare  <edhel@gimp.org>

	* app/tools/gimprectangleoptions.c: restore rectangle settings.
	Fixes bug #346683.
2006-08-13 15:59:18 +00:00
Hendrik Boom e186917af9 file gimpvectorlayeroptions.c was initially added on branch soc-2006-vector-layers. 2006-08-12 21:19:15 +00:00
Hendrik Boom a456ed0a40 file gimpvectorlayeroptions.h was initially added on branch soc-2006-vector-layers. 2006-08-12 21:19:15 +00:00
Hendrik Boom 92fe6b375f file gimpvectorlayer-xcf.c was initially added on branch soc-2006-vector-layers. 2006-08-11 20:23:17 +00:00
Hendrik Boom fd3b3f28b5 file gimpvectorlayer-xcf.h was initially added on branch soc-2006-vector-layers. 2006-08-11 20:23:17 +00:00
Hendrik Boom 55b3149ba2 file gimpvectorlayeroptions-parasite.c was initially added on branch soc-2006-vector-layers. 2006-08-11 20:23:17 +00:00
Hendrik Boom 1e3b841b6f file gimpvectorlayeroptions-parasite.h was initially added on branch soc-2006-vector-layers. 2006-08-11 20:23:17 +00:00
Jakub Steiner 4994894d31 few opacity problems fixed 2006-08-11 16:57:29 +00:00
Jakub Steiner bdd54ed3b0 additional preference icons at 22x22 2006-08-11 14:51:08 +00:00
Sven Neumann cf7f1e6c89 app/actions/error-console-commands.c use gimp_show_message_dialog().
2006-08-11  Sven Neumann  <sven@gimp.org>

	* app/actions/error-console-commands.c
	* app/actions/text-editor-commands.c: use gimp_show_message_dialog().
2006-08-11 13:17:23 +00:00
Sven Neumann c2fb42003a introduced a simple message dialog to use when there's no progress but a
2006-08-11  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpwidgets-utils.[ch]: introduced a simple message
	dialog to use when there's no progress but a parent widget.

	* app/dialogs/convert-dialog.c
	* app/dialogs/palette-import-dialog.c
	* app/dialogs/preferences-dialog.c
	* app/dialogs/stroke-dialog.c
	* app/tools/gimpimagemaptool.c
	* app/widgets/gimpactionview.c
	* app/widgets/gimpcontrollerlist.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimppdbdialog.c
	* app/widgets/gimpvectorstreeview.c: use the new utility function
	instead of g_message().
2006-08-11 12:56:26 +00:00
Sven Neumann a2959ab151 use the global error dialog if the progress is a GimpProgressDialog.
2006-08-11  Sven Neumann  <sven@gimp.org>

	* app/gui/gui-message.c (gui_message_error_dialog): use the global
	error dialog if the progress is a GimpProgressDialog.
2006-08-11 11:50:23 +00:00
Marco Ciampa ff1560ff48 updated it translation 2006-08-11 10:43:28 +00:00
Sven Neumann a994fb3471 wrap gimp_window_set_transient() into a method of GimpDialog.
2006-08-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpui.defs: wrap gimp_window_set_transient()
	into a method of GimpDialog.

	* plug-ins/pygimp/gimpfu.py: call dialog.set_transient().
2006-08-11 09:00:24 +00:00
Sven Neumann 0b74a671fc pack the main vbox expanding so that the progress bar sticks to the bottom
2006-08-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c: pack the main vbox
	expanding so that the progress bar sticks to the bottom of the
	dialog.

	* plug-ins/pygimp/gimpfu.py: moved blurb label to the top, use
	italic style for it. Add a progress bar unconditionally and use a
	GimpProgressBar for it. Commented out the progress label until it
	is actually used.
2006-08-11 08:36:45 +00:00
Sven Neumann 3fbf7436c9 added a GError parameter to file_utils_find_proc().
2006-08-10  Sven Neumann  <sven@gimp.org>

	* app/file/file-utils.[ch]: added a GError parameter to
	file_utils_find_proc().

	* app/actions/file-commands.c
	* app/dialogs/file-save-dialog.c
	* app/file/file-open.c
	* app/widgets/gimpdnd-xds.c
	* tools/pdbgen/pdb/fileops.pdb: changed accordingly.

	* app/pdb/fileops_cmds.c: regenerated.
2006-08-10 21:22:05 +00:00
William Skaggs 55d716e258 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpwidgets/gimpwidgets.c (gimp_coordinate_callback):
	Don't stop emission of "value-changed" signal.  Fixes
	bug #346088.  Let's see if it breaks anything else...
2006-08-10 19:17:44 +00:00
William Skaggs d5cfa53e83 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangleselecttool.[ch]: if the user is
	modifying a rectangle and the mode is REPLACE, don't
	show the marching ants for the previous selection, because
	it confuses users.  Should fix bug #347945.
2006-08-10 19:03:46 +00:00
Sven Neumann 2c4f513d52 fixed the check for an empty image.
2006-08-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/autocrop.c: fixed the check for an empty
image.
2006-08-10 17:50:09 +00:00
William Skaggs 8e67a0649f Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/xcf/xcf-private.h
	* app/xcf/xcf-load.c
	* app/xcf/xcf-save.c: save sample points in xcf files,
	and load them.  Fixes bug #342480.
2006-08-10 17:10:12 +00:00
Sven Neumann 92a323256c added a copy of g_unescape_uri_string() from glib/gconvert.c and use it to
2006-08-10  Sven Neumann  <sven@gimp.org>

	* app/file/file-utils.c: added a copy of g_unescape_uri_string()
	from glib/gconvert.c and use it to improve the results of
	file_utils_uri_display_name() and file_utils_uri_display_basename().
2006-08-10 14:03:09 +00:00
Sven Neumann 9c638c85c0 use gimp_message().
2006-08-10  Sven Neumann  <sven@gimp.org>

	* app/dialogs/file-save-dialog.c: use gimp_message().

	* app/dialogs/preferences-dialog.c: use a GtkMessageDialog and
	make it transient for the preferences dialog.

	* libgimpwidgets/gimppropwidgets.c
	(gimp_prop_file_chooser_button_notify): use
	gtk_file_chooser_unselect_all() to unset the filename.
2006-08-10 13:12:17 +00:00
Sven Neumann 6f6bb9051d for load and save errors, use a GtkMessageDialog and make it transient for
2006-08-10  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpimagemaptool.c: for load and save errors, use a
	GtkMessageDialog and make it transient for the tool dialog.

	* app/tools/gimpvectortool.c: use gimp_message().
2006-08-10 12:46:01 +00:00