Commit graph

18081 commits

Author SHA1 Message Date
Michael Natterer f9938561d1 another patch from Mukund that cleans up i18n initialization.
2006-06-14  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/vinvert.c: another patch from Mukund that cleans
	up i18n initialization.
2006-06-14 16:03:09 +00:00
William Skaggs c1d109da12 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpbycolorselect.c: fix crash when changing
	threshold with no display active.
2006-06-14 15:19:32 +00:00
Sven Neumann ab22402033 use radio items for the Image mode as suggested in bug #344871.
2006-06-14  Sven Neumann  <sven@gimp.org>

	* app/actions/image-actions.c: use radio items for the Image mode
	as suggested in bug #344871.

	* app/actions/image-commands.[ch] (image_convert_cmd_callback):
	changed accordingly.
2006-06-14 14:36:34 +00:00
Jakub Friedl 940998a946 Updated Czech translation.
2006-06-14  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.
2006-06-14 11:34:09 +00:00
Michael Natterer e4e581ccc9 in help texts, refer to other procedures using_c_syntax(). This way
2006-06-14  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/[many].pdb: in help texts, refer to other
	procedures using_c_syntax(). This way gtk-doc can cross-reference
	them correctly in libgimp, and app.pl will transform them
	'to-canonical-names' for PDB registering.

	* app/pdb/[many]_cmds.c
	* libgimp/[many]_pdb.c: regenerated.
2006-06-14 08:32:08 +00:00
William Skaggs b01efbffdc Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpbycolorselect.[ch]: allow modifying threshold
	without having to re-click on image each time.  Fixes
	bug #126748.
2006-06-13 23:47:20 +00:00
Tor Lillqvist 4af35085a3 Free the string vector returned by g_listenv().
2006-06-13  Tor Lillqvist  <tml@novell.com>

	* app/plug-in/gimpenvirontable.c (gimp_environ_table_populate):
	Free the string vector returned by g_listenv().

	* libgimpwidgets/gimpwidgets.def: Remove deprecated
	gimp_prop_file_entry_new.
2006-06-13 18:06:07 +00:00
William Skaggs 168644db29 Fix typo in ChangeLog entry. 2006-06-13 14:37:19 +00:00
William Skaggs 48422d0b9f Bill Skaggs <weskaggs@primate.ucdavis.edu>
* menus/image-menu.xml.in: remove strong/weak undo from menu;
	still available using Shift-Ctrl-[ZY].  See bug #144584.
2006-06-13 14:32:01 +00:00
Michael Natterer 3ea06fce8d applied patch from Mukund Sivaraman which speeds up the plug-in
2006-06-13  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/vinvert.c: applied patch from Mukund Sivaraman
	which speeds up the plug-in significantly by using an optimized
	RGB <-> HSV conversion and proper region iterating. Did some more
	cleanups.
2006-06-13 13:32:18 +00:00
Sven Neumann 91aa93cfd7 plug-ins/FractalExplorer/Dialogs.c doubled the size of the preview and
2006-06-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.h: doubled the size of
	the preview and adapted the dialog layout to the larger preview.
2006-06-13 13:25:57 +00:00
William Skaggs 701b7b31d7 Bill Skaggs <weskaggs@primate.ucdavis.edu>
Finally implemented the suggestion in bug #144854, of
	"strong" undo/redo commands that continue undoing so long
	as they only encounter visibility changes.

	* app/actions/edit-actions.c
	* app/actions/edit-commands.c
	* app/actions/edit-commands.h: added "strong undo"
	and "strong redo" commands/actions.

	* app/core/gimpimage-undo.[ch]: added functions
	gimp_image_strong_undo() and gimp_image_strong_redo().

	* app/core/gimpundo.[ch]: added utility function
	gimp_undo_is_weak().

	* app/widgets/gimphelp-ids.h:added id's.

	* menus/image-menu.xml.in: added to edit menu,
	bound to C-S-z and C-S-y.

	This will no doubt need tweaking, but I will consider it
	to fix bug #144854.
2006-06-13 02:03:44 +00:00
William Skaggs cd9811b321 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/gnomeprint.c: try not to distort
	image when printing.  Fixes bug #344547 but this
	plug-in needs a lot more work to be useful.
2006-06-12 23:45:43 +00:00
William Skaggs 354d247c67 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangleselecttool.c: don't autoshrink when
	there is no display; fixes crash reported by Carol.
2006-06-12 22:17:52 +00:00
William Skaggs 131aad120c Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangleselecttool.c
	* app/tools/gimprectangletool.c: fix three issues identified by
	jimmac: (1) when shift or ctrl are pressed, should start a new
	rect regardless of pointer loc; (2) zoom was incorrectly affecting
	width of sensitive areas; (3) must emit "rectangle-changed" after
	keyboard-driven rectangle movement.
2006-06-12 21:15:22 +00:00
Sven Neumann 612705daa5 plug-ins/FractalExplorer/Dialogs.c applied patch from Joao S. O. Bueno
2006-06-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.[ch]: applied patch from
	Joao S. O. Bueno Calligaris that makes the plug-in work on grayscale
	images and makes it override the alpha channel (bug #340771).
2006-06-12 17:00:02 +00:00
Tor Lillqvist 2e0f2b8dfc Use g_listenv() and g_getenv() instead of looking at environ directly.
2006-06-12  Tor Lillqvist  <tml@novell.com>

	* app/plug-in/gimpenvirontable.c (gimp_environ_table_populate):
	Use g_listenv() and g_getenv() instead of looking at environ
	directly. Fixes breakage on Win32 when any (!) environment
	variable has a non-ASCII value, as environ is in system codepage,
	while we want UTF-8.
2006-06-12 16:54:51 +00:00
Sven Neumann 373a3cd27e cleanup, use gimp_drawable_mask_intersect(), reduced number of progress
2006-06-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/redeye.c (remove_redeye): cleanup, use
	gimp_drawable_mask_intersect(), reduced number of progress updates.
2006-06-12 13:24:35 +00:00
Sven Neumann 754f7da4d9 cleanup, use gimp_drawable_mask_intersect(), reduced number of progress
2006-06-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/snoise.c (solid_noise): cleanup, use
	gimp_drawable_mask_intersect(), reduced number of progress updates.
2006-06-12 13:17:21 +00:00
Sven Neumann 4539189160 gimp_drawable_mask_intersect() returns width and height, not x2, y2 2006-06-12 13:04:35 +00:00
Sven Neumann 1868877552 documentation.
2006-06-12  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpzoompreview.c (gimp_zoom_preview_get_source):
	documentation.

	* plug-ins/common/channel_mixer.c: minor cleanup and loop unrolling.
	Introduced an inline function to avoid code duplication.
2006-06-12 13:00:54 +00:00
Sven Neumann 67531dd6b6 removed check for success again; it is being checked in the for() loop
2006-06-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
	removed check for success again; it is being checked in the for()
	loop already.
2006-06-12 10:25:29 +00:00
William Skaggs a442179713 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpellipseselecttool.c (gimp_ellipse_select_tool_draw):
	Call gimp_rectangle_tool_draw.
2006-06-12 00:36:56 +00:00
William Skaggs 77c4b0541e Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangleselecttool.c: handle situations
	where the user "flips" the rectangle while modifying it.
	This solution is not perfect, but better than before.

	* app/tools/gimprectangletool.c: remove unneeded variable.
2006-06-11 23:59:33 +00:00
William Skaggs 990e475d77 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangleselecttool.c
	* app/tools/gimprectangletool.c: make auto-shrink work.  Does
	the wrong thing for ellipse-select, though.
2006-06-11 18:52:42 +00:00
Jakub Friedl 8234078a31 Updated Czech translation.
2006-06-11  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.
2006-06-11 10:02:56 +00:00
William Skaggs 62b0566ff3 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* POTFILES.in: updated to reflect rectangle select
	changes.
2006-06-10 23:44:19 +00:00
William Skaggs ca059c11d6 Bill Skaggs <weskaggs@primate.ucdavis.edu>
Following up on previous commit, with assist from yosh.

	* app/tools/gimpnewrectselectoptions.[ch]
	* app/tools/gimpnewrectselecttool.[ch]: removed

	* app/tools/gimprectangleselectoptions.[ch]: magic-moved
	from gimpnewrectselectoptions.[ch]

	* app/tools/gimprectangleselecttool.[ch]: magic-moved
	from gimpnewrectselecttool.[ch]

	* app/tools/Makefile.am
	* app/tools/gimp-tools.c
	* app/tools/gimpellipseselecttool.c
	* app/tools/gimpellipseselecttool.h
	* app/tools/gimpselectionoptions.c: change file names to
	refer to moved files.
2006-06-10 21:34:12 +00:00
William Skaggs 5535b4ea92 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* mk.po: change erroneous "&qt"s to "&gt".
2006-06-10 21:27:03 +00:00
William Skaggs 36ee184375 Bill Skaggs <weskaggs@primate.ucdavis.edu>
Here is the big change-over, finally.

	* app/tools/gimprectselecttool.[ch]: removed.

	* app/tools/Makefile.am
	* app/tools/gimp-tools.c
	* app/tools/gimpellipseselecttool.c
	* app/tools/gimpellipseselecttool.h
	* app/tools/gimpnewrectselectoptions.c
	* app/tools/gimpnewrectselectoptions.h
	* app/tools/gimpnewrectselecttool.c
	* app/tools/gimpnewrectselecttool.h
	* app/tools/gimpselectionoptions.c
	* app/widgets/gimptoolbox.c
	* menus/image-menu.xml.in: get rid of the "new" in everything
	referring to the new rect select tool, except filenames.  This
	will wait for yosh to perform cvs-magic-foo.

	* app/tools/gimprectangleoptions.[ch]
	* app/tools/gimprectangletool.[ch]: fix a couple of minor
	problems that popped up during testing.
2006-06-10 18:24:58 +00:00
Michael Natterer 10c8c709d3 simply use gimp_button_new() instead of g_object_new(). Don't set the
2006-06-10  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpeditor.c (gimp_editor_add_action_button): simply
	use gimp_button_new() instead of g_object_new(). Don't set the
	"use-stock" property and reordered some code. Keeps GtkButton from
	thinking that is has constructed the button's child itself and
	thus makes the function more rubust against changes in GtkButton.
2006-06-10 17:48:33 +00:00
Jakub Friedl e93c060f40 updated Czech translation.
2006-06-10  Jakub Friedl <jfriedl@suse.cz>

  * cs.po: updated Czech translation.
2006-06-10 17:18:36 +00:00
Jakub Friedl 6c600120e5 Updated Czech translation.
2006-06-10  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.
2006-06-10 17:11:17 +00:00
William Skaggs 4742424b78 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpcroptool.c
	* app/tools/gimpellipseselecttool.c
	* app/tools/gimprectangletool.[ch]: code cleanups

	* app/tools/gimpnewrectselecttool.[ch]: try to do what
	the user intuitively expects when deciding which selection
	operation to perform.  When modifying an existing rectangle,
	always use the operation with which it was created.
2006-06-10 16:49:07 +00:00
Kevin Cozens e2d373d817 Additional simplifications for return values by using the same code for
2006-06-10  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
	Additional simplifications for return values by using the same
	code for all INT32 PDB types. Wrong member name was being used
	for INT16 and INT8 return types. Added back if statement that
	was removed but is needed.
2006-06-10 04:03:55 +00:00
William Skaggs c4ffc27293 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpcropoptions.c: clean up code.

	* app/tools/gimpnewrectselecttool.c: really remove some
	commented-out code.

	* app/tools/gimprectangleoptions.[ch]: add "aspect-square"
	and "controls-expanded" properties.  Show "Make square" and
	"Expand from center" in options so that we don't need modifier
	keys to do this.  Place numerical entries inside an expander
	and hide them by default.
2006-06-10 01:39:10 +00:00
William Skaggs e732c769c9 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/core-enums.[ch]: add GimpAlignReferenceType enum

	* app/core/gimpimage-arrange.c: support using a channel as
	reference for alignment.

	* app/tools/gimpaligntool.[ch]: support aligning with a list item,
	image, selection, active layer, active channel, or active path.
	Now similar in form and function to Inkscape Align/Distribute
	dialog.
2006-06-09 21:52:45 +00:00
Marco Ciampa 583c770ae6 Updated italian 2006-06-09 13:23:54 +00:00
Marco Ciampa 29c0573187 Updated italian 2006-06-09 12:13:45 +00:00
Marco Ciampa 2845ec3cd3 Updated it 2006-06-09 11:58:25 +00:00
Jakub Friedl 12e741709f Updated Czech translation.
2006-06-09  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.
2006-06-09 09:08:54 +00:00
Sven Neumann 99f979e118 deprecate the GimpFileEntry widget, use GtkFileChooserButton instead.
2006-06-09  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpfileentry.[ch]: deprecate the GimpFileEntry
	widget, use GtkFileChooserButton instead.

	* libgimpwidgets/gimppatheditor.c: undef GIMP_DISABLE_DEPRECATED
	as long as we are still using GimpFileEntry here.

	* libgimpwidgets/gimppropwidgets.[ch]: removed
	gimp_prop_file_entry_new(); use gimp_prop_file_chooser_button_new()
	instead.
2006-06-09 07:12:33 +00:00
Sven Neumann 303150eee5 formatting.
2006-06-09  Sven Neumann  <sven@gimp.org>

	* app/batch.c (batch_run_cmd): formatting.
2006-06-09 06:47:03 +00:00
William Skaggs c61eddd5c6 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/png.c
	* po/Makefile.in.in: revert changes inintentionally included
	in previous commit.
2006-06-08 22:24:43 +00:00
William Skaggs 9dbc0ee193 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/core-enums.[ch]: add GIMP_ARRANGE_FOO values
	to GimpAlignmentType, and change CENTER to HCENTER,
	MIDDLE to VCENTER.

	* app/core/gimpimage-arrange.c: extensively rewritten
	to handle arrangement of objects, and to do the
	required sorting of lists by offset.

	* app/tools/gimpaligntool.[ch]: added ability to arrange
	groups of layers etc with constant spacing.  Also try
	to change things so that the tool aligns with the
	object that users expect intuitively.
2006-06-08 22:15:45 +00:00
Simon Budig 16cda2d4cd fix the EXPAND macro to make picky compilers happy. Fixes bug #344326,
2006-06-08  Simon Budig  <simon@gimp.org>

	* plug-ins/common/sel_gauss.c: fix the EXPAND macro to make
	picky compilers happy. Fixes bug #344326, spotted by
	Eric Lamarque.
2006-06-08 21:07:04 +00:00
Sven Neumann 1ef506b77c simplified quite a bit by using the same code for all INT32 PDB types.
2006-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
	simplified quite a bit by using the same code for all INT32 PDB
	types.
2006-06-08 15:14:16 +00:00
Sven Neumann 07e246c6ba in case of an error, output the SIOD error message to stderr.
2006-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c (script_fu_eval_run):
	in case of an error, output the SIOD error message to stderr.

	* plug-ins/script-fu/siod-wrapper.c: minor cleanup.
2006-06-08 14:45:56 +00:00
Sven Neumann 0e42a8161f plug-ins/script-fu/script-fu-scripts.c allow CSS color keywords to be used
2006-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/siod-wrapper.c: allow CSS color keywords to
	be used in place of the '(r g b) color notation.

	* plug-ins/script-fu/scripts/test-sphere.scm: documented this new
	feature.

	* plug-ins/script-fu/scripts/*.scm: replaced some colors with
	color names.
2006-06-08 14:09:44 +00:00
Sven Neumann d42a30e0ec do not use gtk_menu_attach_to_widget() but gtk_menu_set_screen(). Menus
2006-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c (menu_popup): do not use
	gtk_menu_attach_to_widget() but gtk_menu_set_screen(). Menus don't
	like to be attached multiple times.
2006-06-08 12:51:16 +00:00