Commit Graph

19154 Commits

Author SHA1 Message Date
Sven Neumann 21556b83e6 changed range for Smoothness value as suggested in bug #363381. Also fixed
2006-10-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/distress-selection.scm: changed
range
	for Smoothness value as suggested in bug #363381. Also fixed a
typo
	in the menu label.
2006-10-19 12:09:52 +00:00
Sven Neumann 22fb09b338 fixed calculation of display area in preparation of fixing bug #362915.
2006-10-19  Sven Neumann  <sven@gimp.org>

        * app/display/gimpdisplayshell-draw.c (gimp_display_shell_draw_area):
        fixed calculation of display area in preparation of fixing bug #362915.

        * plug-ins/common/whirlpinch.c: removed unused define.
2006-10-19 08:25:04 +00:00
Josep Puigdemont i Casamajó 3c982bef3f Updated Catalan translation by Quim Perez. 2006-10-18 22:22:53 +00:00
Michael Natterer 287c98466d added gimp_prop_expanding_frame_new() which creates a frame with a toggle
2006-10-18  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppropwidgets.[ch]: added
	gimp_prop_expanding_frame_new() which creates a frame with a
	toggle button in the title.

	* app/tools/gimpblendoptions.c
	* app/tools/gimppaintoptions-gui.c
	* app/tools/gimprectangleoptions.c
	* app/tools/gimprectangleselectoptions.c
	* app/tools/gimpselectionoptions.c: use it instead of duplicating
	this code all over the place.
2006-10-18 19:54:18 +00:00
Michael Natterer 1ee6516d52 Applied modified patch from Martin Nordholts which adds a "Rounded
2006-10-18  Michael Natterer  <mitch@gimp.org>

	Applied modified patch from Martin Nordholts which adds a "Rounded
	Corners" option to the rectangle select tool. Fixes bug #86279.

	* app/core/gimpchannel-combine.[ch]: added
	gimp_channel_combine_ellipse_rect(). Use it from
	gimp_channel_combine_ellipse().

	* app/core/gimpchannel-select.[ch]: added
	gimp_channel_select_round_rect()

	* app/tools/gimprectangleselectoptions.[ch]: added properties
	"round-corners" and "corner-radius" and GUI for the new propeties.

	* app/tools/gimprectangleselecttool.h: added macro
	GIMP_RECT_SELECT_TOOL_GET_OPTIONS().

	* app/tools/gimprectangleselecttool.c (gimp_rect_select_tool_draw):
	draw round corners if enabled.

	(gimp_rect_select_tool_real_select): use
	gimp_channel_select_round_rect() if enabled.

	* app/tools/gimpselectionoptions.[ch]: added "antialias_toggle"
	to the GimpSelectionOptions struct so the rect select options
	can set its sensitivity.

	Unrelated:

	* app/tools/gimpellipseselecttool.c (gimp_ellipse_select_tool_draw):
	use 360 * 64 instead of 23040.
2006-10-18 18:54:28 +00:00
Sven Neumann 64e893e62f there's no need to make GTypeInfo and GInterfaceInfo structs static.
2006-10-18  Sven Neumann  <sven@gimp.org>

        * [lots of files]: there's no need to make GTypeInfo and
        GInterfaceInfo structs static.
2006-10-18 13:17:50 +00:00
Sven Neumann 9699f30d62 this script should not register in the menus. Also unmarked strings for
2006-10-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/unsharp-mask.scm: this script should
	not register in the menus. Also unmarked strings for translation.
2006-10-18 12:34:52 +00:00
Jakub Friedl 1e4aea0b3f Updated Czech Translation
2006-10-18  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech Translation
2006-10-18 11:17:37 +00:00
Jakub Friedl 194525d4d5 Updated Czech translation.
2006-10-18  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.
2006-10-18 11:02:33 +00:00
Sven Neumann dec954cc2a special case GimpSizeEntry and use the last entry.
2006-10-18  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.c (find_mnemonic_widget): special
	case GimpSizeEntry and use the last entry.

	* app/tools/gimprotatetool.c
	* app/tools/gimpsheartool.c: added mnemonics (bug #162541).
2006-10-18 10:29:16 +00:00
Jakub Friedl 783a75d3db Updated Czech Translation
2006-10-18  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech Translation
2006-10-18 09:16:12 +00:00
Jakub Friedl 4eba428960 Updated Czech translation
2006-10-18  Jakub Friedl <jfriedl@suse.cz>

  * cs.po: Updated Czech translation
2006-10-18 09:07:17 +00:00
Jakub Friedl ea1a5fe74c Updated Czech translation
2006-09-18  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation
2006-10-18 08:55:23 +00:00
Jakub Friedl e78e3ecf99 Updated Czech translation.
2006-10-18  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.
2006-10-18 08:43:14 +00:00
Michael Natterer 91c3d6ee7a Separate selection tool function (select, move, cut, ...) from selection
2006-10-18  Michael Natterer  <mitch@gimp.org>

	Separate selection tool function (select, move, cut, ...) from
	selection mode (replace, add, ...). Fixes bug #313634 (that bug
	wasn't triggered any more in HEAD, but was still there).

	* app/tools/tools-enums.h: renamed enum SelectOp to SelectFunction
	and replaced the values REPLACE, ADD, SUBTRACT and INTERSECT by a
	single value SELECT.

	* app/tools/gimpselectiontool.h (struct GimpSelectionTool):
	renamed member "op" to "function". Changed "SelectOps saved_op" to
	"GimpChannelOps saved_operation".

	* app/tools/gimpselectiontool.c: we always have the right
	GimpChannelOps in the tool options, so simply use it instead of
	mixing up unrelated stuff in one enum. Results is some medium-ugly
	nested switches, but is generally much cleaner than before.

	* app/tools/gimpforegroundselecttool.c
	* app/tools/gimpfreeselecttool.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimpregionselecttool.c: changed accordingly. Use the
	operation from the tool options instead of selection_tool->op when
	making the actual selection.
2006-10-18 08:04:55 +00:00
Sven Neumann f4abaf167d added -lXext (bug #362877).
2006-10-18  Sven Neumann  <sven@gimp.org>

	* tools/Makefile.am (doc_shooter_LDADD): added -lXext (bug #362877).
2006-10-18 07:08:16 +00:00
Michael Natterer 068b6b09c4 app/tools/gimprectangleselecttool.[ch] use enum GimpChannelOps instead of
2006-10-17  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangleselecttool.[ch]
	* app/tools/gimpellipseselecttool.c: use enum GimpChannelOps
	instead of SelectOps.
2006-10-17 21:53:22 +00:00
Michael Natterer fd37247a55 use enum GimpChannelOps instead of SelectOps (which is a tool state).
2006-10-17  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpselectioneditor.c: use enum GimpChannelOps
	instead of SelectOps (which is a tool state).
2006-10-17 19:18:34 +00:00
Sven Neumann 035f087e48 include the procedure name in the output on stderr.
2006-10-17  Sven Neumann  <sven@gimp.org>

	* app/plug-in/gimppluginprocedure.c
	(gimp_plug_in_procedure_set_image_types): include the procedure
	name in the output on stderr.
2006-10-17 15:21:20 +00:00
Sven Neumann 3054a3a2b8 reviewed blurbs and marked them for translation.
2006-10-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/web-browser.scm: reviewed blurbs and
	marked them for translation.
2006-10-17 15:13:25 +00:00
Sven Neumann 3ad673121c removed null character (bug #362832).
2006-10-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c (explorer_dialog): removed
	null character (bug #362832).
2006-10-17 12:17:53 +00:00
Pema Geyleg b773d2ac92 *** empty log message *** 2006-10-17 10:51:23 +00:00
Sven Neumann 98cab0ff06 app/tools/gimpfliptool.c app/tools/gimpperspectivetool.c
2006-10-17  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpfliptool.c
	* app/tools/gimpperspectivetool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c: mention paths in the tooltips.
2006-10-17 09:38:51 +00:00
Sven Neumann 8d6b5e158e added a length parameter to avoid needless string duplication.
2006-10-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.[ch]
	(script_fu_output_to_console): added a length parameter to avoid
	needless string duplication.

	* plug-ins/script-fu/scheme-wrapper.c (ts_output_string): changed
	accordingly.
	(my_err): in console mode, send error messages to the console.
2006-10-17 09:22:48 +00:00
Kevin Cozens 6bad3b042a Eliminated compiler warnings.
2006-10-16  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Eliminated compiler warnings.

	* plug-ins/script-fu/scripts/script-fu-compat.init: Added 'nil'.
2006-10-16 23:28:38 +00:00
Kevin Cozens 51d54e2333 Trivial format change (moved a closing }). 2006-10-16 23:24:43 +00:00
Marco Ciampa b6b57c3438 Updated italian translation. 2006-10-16 17:18:34 +00:00
Michael Natterer b72ffb8b49 removed the "floating" flag and the floating/sink API.
2006-10-16  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpitem.[ch]: removed the "floating" flag and the
	floating/sink API.

	(gimp_item_init): call g_object_force_floating() instead.

	* app/core/gimpimage.c
	* app/core/gimplayer.c
	* app/xcf/xcf-load.c
	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/image.pdb: use combinations of
	g_object_ref_sink() and g_object_unref() instead of
	gimp_item_sink(). Use g_object_is_floating() instead of
	gimp_item_is_floating().

	* app/pdb/drawable_cmds.c
	* app/pdb/image_cmds.c: regenerated.
2006-10-16 17:09:17 +00:00
Kevin Cozens 349a0d7094 Set enable_python to yes if it wasn't set to no. Fixes display of Python
2006-10-16  Kevin Cozens  <kcozens@cvs.gnome.org>

	* configure.in: Set enable_python to yes if it wasn't set to no.
	Fixes display of Python status in "Optional Plug-Ins" section.

	* plug-ins/script-fu/scripts/script-fu-compat.init: Added
	'the-environment'.
2006-10-16 15:56:50 +00:00
Michael Natterer ee8039a062 #include "core/gimp.h" for gimp_message().
2006-10-16  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimplayertreeview.c: #include "core/gimp.h" for
	gimp_message().
2006-10-16 13:46:28 +00:00
Sven Neumann 82bb56042c plug-ins/winicon/Makefile.am plug-ins/winicon/icodialog.c
2006-10-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/Makefile.am
	* plug-ins/winicon/icodialog.c
	* plug-ins/winicon/icoload.c
	* plug-ins/winicon/icosave.c
	* plug-ins/winicon/main.h: applied patch from Aurimas Juška that
	adds support for the loading and saving Vista 256x256 PNG
	Compressed Icons (bug #352899).

	* configure.in
	* plug-ins/Makefile.am: don't build the winicon plug-in if PNG
	support has been explicitely disabled.
2006-10-16 13:37:34 +00:00
Tor Lillqvist eac61e1e12 libgimp/gimpui.c (gimp_window_set_transient_for) These functions are used
2006-10-16  Tor Lillqvist  <tml@novell.com>

	* libgimp/gimpui.c (gimp_window_set_transient_for)
	* app/widgets/gimpwidgets-utils.c (gimp_window_set_transient_for):
	These functions are used for cross-process transient-for, which
	causes hangs on Win32. Bypass on Win32 for now. (#359538)
2006-10-16 11:55:50 +00:00
Sven Neumann 091a12bcc2 plug-ins/winicon/icodialog.c plug-ins/winicon/icoload.c applied patches
2006-10-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icodialog.c
	* plug-ins/winicon/icoload.c
	* plug-ins/winicon/icosave.c: applied patches from Aurimas Juška
	that add support for saving 24 bit files and fix a bug in the
	load routines for this format (bug #352899).
2006-10-16 11:23:15 +00:00
Sven Neumann 2fd52b690e fixed some minor user interface and coding style issues.
2006-10-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c: fixed some minor user
	interface and coding style issues.
2006-10-16 09:24:59 +00:00
Ilkka Tuohela 85cdfd672a Updated Finnish translation 2006-10-16 04:51:36 +00:00
Pema Geyleg 1ddb7d0936 *** empty log message *** 2006-10-16 04:34:23 +00:00
Kevin Cozens 6239dddda3 With this commit we finally say goodbye to SIOD. This large set of changes
2006-10-15  Kevin Cozens  <kcozens@cvs.gnome.org>

	With this commit we finally say goodbye to SIOD. This large set of
	changes updates the Script-Fu plug-in to use the TinyScheme Scheme
	interpreter. These changes originated with changes originally made
	to Script-Fu which created Tiny-Fu (aka. the gimp-tiny-fu module).

	* plug-ins/script-fu/Makefile.am
	* plug-ins/script-fu/script-fu-console.c
	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-scripts.h
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/script-fu/script-fu-text-console.c
	* plug-ins/script-fu/script-fu.c: Updated with the changes made to
	these files as part of the work on the Tiny-Fu project.

	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/scheme-wrapper.h: Renamed from siod-wrapper.[ch]
	and updated based on differences to ts-wrapper.[ch] from gimp-tiny-fu.

	* plug-ins/script-fu/ftx/*
	* plug-ins/script-fu/re/*
	* plug-ins/script-fu/tinyscheme/*
	* plug-ins/script-fu/scripts/script-fu.init
	* plug-ins/script-fu/scripts/script-fu-compat.init
	* plug-ins/script-fu/scripts/contactsheet.scm
	* plug-ins/script-fu/scripts/script-fu-set-cmap.scm
	* plug-ins/script-fu/scripts/script-fu-util-setpt.scm
	* plug-ins/script-fu/scripts/ts-helloworld.scm: Added all of these
	files and directories from Tiny-Fu. Updated the Makefile.am files
	of ftx, re, and tinyscheme now they are in the GIMP source tree.

	* plug-ins/script-fu/scripts/*.scm: All scripts have been updated as
	needed to ensure they will work with the TinyScheme interpreter. Most
	of the files have been reformatted making it easier to see the syntax
	of Scheme and making them easier to read.

	* plug-ins/script-fu/scripts/Makefile.am: Updated script file lists.

	* plug-ins/script-fu/siod-wrapper.c
	* plug-ins/script-fu/siod-wrapper.h
	* plug-ins/script-fu/siod/*: Removed obsolete files.

	* configure.in: Updated list of files in AC_CONFIG_FILES. Changed
	--disable-script-fu to --without-script-fu which it should have
	been when originally added.

	* INSTALL: Updated to show change to --without-script-fu.
2006-10-16 01:08:54 +00:00
Kevin Cozens 9314c3ea8e Files to ignore during CVS operations. 2006-10-15 23:44:51 +00:00
Michael Natterer a99f968775 if the passed filename starts with a valid, but unhandled uri scheme, fail
2006-10-15  Michael Natterer  <mitch@gimp.org>

	* app/file/file-utils.c (file_utils_filename_to_uri): if the
	passed filename starts with a valid, but unhandled uri scheme,
	fail with an error saying "URI scheme 'foo:' is not supported"
	instead of treating it as relative file path. Fixes bug #358203.

	* app/dialogs/file-open-location-dialog.c
	(file_open_location_response): don't close the dialog on errors
	that are related to the entered URI because these errors are
	failed user input validation, not failed open.
2006-10-15 20:04:51 +00:00
Michael Natterer 33720907ef close the popup when a drag starts.
2006-10-15  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpview-popup.c: close the popup when a drag starts.
2006-10-15 17:35:38 +00:00
Ilkka Tuohela 28ab5de527 Updated Finnish translation 2006-10-15 17:32:10 +00:00
Michael Natterer 8354a78177 Applied slightly modified patch from Martin Nordholts which implements
2006-10-15  Michael Natterer  <mitch@gimp.org>

	Applied slightly modified patch from Martin Nordholts which
	implements more fine-grained steps for actions. Fixes bug #165612.

	* app/actions/actions-types.h: add additional values to
	enum GimpActionSelectType.

	* app/actions/actions.[ch] (action_select_value)
	(action_select_property): handle them here and added "small_inc"
	and "delta_factor" parameters.

	* app/actions/context-actions.c: added small and percent actions
	for the brush radius.

	* app/actions/context-commands.c
	* app/actions/layers-commands.c
	* app/actions/tools-commands.c
	* app/actions/view-commands.c: pass small and percent increase
	values to the action_select_foo() functions.

	* app/actions/context-commands.c (context_brush_radius_cmd_callback):
	make sure we don't end up with 1.1, 2.1 etc brush radius values.
2006-10-15 16:51:30 +00:00
Ilkka Tuohela 634a00e917 Updated Finnish translation 2006-10-15 11:49:31 +00:00
Yair Hershkovitz a6d97a5a5a updated hebrew translation 2006-10-14 22:06:01 +00:00
Michael Natterer a02ac93ee4 use GDK_INVERT instead of GDK_XOR with white foreground color.
2006-10-14  Michael Natterer  <mitch@gimp.org>

	* plug-ins/rcm/rcm_callback.c: use GDK_INVERT instead of GDK_XOR
	with white foreground color.
2006-10-14 20:41:32 +00:00
Michael Natterer 750c0cdbce plug-ins/imagemap/imap_cmd_move.c plug-ins/imagemap/imap_cmd_move_sash.c
2006-10-14  Michael Natterer  <mitch@gimp.org>

	* plug-ins/imagemap/imap_cmd_move.c
	* plug-ins/imagemap/imap_cmd_move_sash.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_object.c: use GDK_XOR instead of
	GDK_EQUIV. Fixes bug #311621.
2006-10-14 19:15:40 +00:00
Michael Natterer ece8647df2 app/dialogs/convert-dialog.c app/dialogs/desaturate-dialog.c
2006-10-14  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/convert-dialog.c
	* app/dialogs/desaturate-dialog.c
	* app/dialogs/grid-dialog.c
	* app/dialogs/image-properties-dialog.c
	* app/dialogs/layer-add-mask-dialog.c
	* app/dialogs/layer-options-dialog.c
	* app/dialogs/print-size-dialog.c
	* app/dialogs/resize-dialog.c
	* app/dialogs/scale-dialog.c
	* app/dialogs/vectors-options-dialog.c: don't allow "context" to
	be NULL in any dialog constructor.
2006-10-14 18:15:41 +00:00
Michael Natterer 76ba5de16a Remember the settings in the scale and resize dialogs for images and
2006-10-14  Michael Natterer  <mitch@gimp.org>

	Remember the settings in the scale and resize dialogs for images
	and layers. Fixes bug #164995, bug #316392, and bug #357424.

	* app/dialogs/scale-dialog.h: removed GimpScaleCallback typedef.

	* app/dialogs/dialogs-types.h: added it here.

	* app/dialogs/image-scale-dialog.[ch]: made the ImageScaleDialog
	struct private, return a GtkWidget* from image_scale_dialog_new()
	and use a GimpScaleCallback in the public API.

	* app/actions/actions-types.h: #include "dialogs/dialogs-types.h"

	* app/actions/image-commands.c: changed according to image scale
	dialog changes. Remember the scale dialog's unit (if it is
	"percent") and interpolation type across dialog invocations. Also
	remember the resize dialog's unit (if it is "percent").

	* app/actions/layers-commands.c: remember scale and resize dialog
	stuff as in image-commands.c
2006-10-14 16:51:30 +00:00
Michael Natterer 1e5f8625a4 don't include "libgimpbase/gimplimits.h"
2006-10-14  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpgrid.c: don't include "libgimpbase/gimplimits.h"

	* app/core/gimpimage-undo-push.c: one more g_message() converted
	to gimp_message().
2006-10-14 16:20:46 +00:00
Michael Natterer a21bb4ac8f flush the image after clearing the selection and after anchoring a
2006-10-14  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangleselecttool.c (gimp_rect_select_tool_execute):
	flush the image after clearing the selection and after anchoring
	a floating layer. Fixes bug #362096.
2006-10-14 08:59:25 +00:00