Commit Graph

18872 Commits

Author SHA1 Message Date
Theppitak Karoonboonyanan 80cbb2f83e Added Thai translation by Arnon Namsanit <arnon.namsanit@nectec.or.th>,
2006-09-29  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* th.po: Added Thai translation by
	Arnon Namsanit <arnon.namsanit@nectec.or.th>,
	Supranee Thirawatthanasuk <supranee@opentle.org>,
	Kamthorn Krairaksa <kamthorn@gmail.com>.
2006-09-29 04:38:09 +00:00
Sven Neumann ad669d27a3 added more procedures that need to be implemented.
2006-09-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c: added more procedures that need to be
	implemented.
2006-09-28 19:43:12 +00:00
Sven Neumann 05c1cb7f66 configure.in plug-ins/common/Makefile.am plug-ins/common/mkgen.pl
2006-09-28  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/common/Makefile.am
	* plug-ins/common/mkgen.pl
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/lcms.c: build framework for ICC color
conversion
	plug-in using littleCMS.
2006-09-28 18:29:23 +00:00
Sven Neumann e6d34e4f68 added gimp_display_shell_message() and a valist variant and decide here
2006-09-28  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.[ch]: added
	gimp_display_shell_message() and a valist variant and decide here
	where the message is shown.

	* app/actions/edit-commands.c (edit_paste)
	* app/tools/gimptool.c (gimp_tool_message): use the new message API.
2006-09-28 11:16:42 +00:00
Michael Natterer 10f9181e64 added _valist() variants of all printf-style functions.
2006-09-28  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpstatusbar.[ch]: added _valist() variants
	of all printf-style functions.

	* app/tools/gimptool.[ch] (gimp_tool_push_status)
	(gimp_tool_replace_status)
	(gimp_tool_message): take printf-style ... arguments and use the
	new valist() variants of the statusbar API to avoid additional
	strdups. Revert previous commit from Sven, he will add back that
	feature differently right away :)

	* app/tools/gimpmeasuretool.c
	* app/tools/gimppainttool.c: use the new printf-style status API
	where possible.

	* app/tools/gimptransformtool.c: accidentially removed
	"core/gimp.h", added it back.
2006-09-28 11:07:55 +00:00
Sven Neumann afd2ab683f added gimp_message_valist().
2006-09-28  Sven Neumann  <sven@gimp.org>

	* app/core/gimp.[ch]: added gimp_message_valist().
2006-09-28 10:47:44 +00:00
Sven Neumann 947fa0fa8c formatting.
2006-09-28  Sven Neumann  <sven@gimp.org>

	* app/core/gimp.h: formatting.

	* app/tools/gimptool.c (gimp_tool_message): use gimp_message() if
	the statusbar is not visible.
2006-09-28 10:11:17 +00:00
Michael Natterer e19c0977b0 added gimp_tool_message() which uses the new statusbar messages.
2006-09-28  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptool.[ch]: added gimp_tool_message() which uses
	the new statusbar messages.

	* app/tools/gimptool.c
	* app/tools/gimppainttool.c: use it instead of accessing the
	statusbar directly.

	* app/tools/gimptransformtool.c: use it instead of gimp_message().
2006-09-28 08:32:09 +00:00
Sven Neumann 5124acf183 some more cleanup.
2006-09-28  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs.c: some more cleanup.
2006-09-28 07:57:33 +00:00
Sven Neumann 53ececa514 app/composite/gimp-composite.h app/composite/gimp-composite-generic.c
2006-09-28  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite.h
	* app/composite/gimp-composite-generic.c
	* app/paint-funcs/paint-funcs-generic.h
	* app/paint-funcs/paint-funcs.c: added lots of const qualifiers,
	moved variables to local scopes.

	* app/base/pixel-processor.c: formatting.
2006-09-27 23:29:05 +00:00
Sven Neumann 81a5ae7d83 reverted previous change; copy_region() is needed here.
2006-09-28  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagemap.c (gimp_image_map_do): reverted previous
	change; copy_region() is needed here.
2006-09-27 22:24:56 +00:00
Sven Neumann f8ac7e7876 removed a redundant call to copy_region().
2006-09-27  Sven Neumann  <sven@gimp.org>

        * app/core/gimpimagemap.c (gimp_image_map_do): removed a
redundant
        call to copy_region().
2006-09-27 21:27:27 +00:00
Hendrik Brandt b239cea3c4 Updated German translation.
2006-09-27  Hendrik Brandt  <heb@gnome-de.org>

        * de.po: Updated German translation.
2006-09-27 16:03:45 +00:00
Michael Natterer 272acb25dc changed menu label to "Bl_ur / Sharpen" and shortcut to Shift+U. Fixes bug
2006-09-27  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpconvolvetool.c (gimp_convolve_tool_register):
	changed menu label to "Bl_ur / Sharpen" and shortcut to Shift+U.
	Fixes bug #356137. Use "Blur / Sharpen" for all strings.

	* app/tools/gimpdodgeburntool.c (gimp_dodge_burn_tool_register):
	changed strings from "Dodge/Burn" to "Dodge / Burn".
2006-09-26 22:58:10 +00:00
Michael Natterer f939f120d5 app/paint/gimpclone.c app/paint/gimpheal.c
2006-09-26  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimpclone.c
	* app/paint/gimpheal.c
	* app/paint/gimpperspectiveclone.c
	* app/tools/gimpblendtool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimplevelstool.c: message review. Thanks to Bill.
2006-09-26 21:53:43 +00:00
Michael Natterer 1b1299aff3 added GError** parameter to GimpPaintCore::start().
2006-09-26  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppaintcore.[ch]: added GError** parameter to
	GimpPaintCore::start().

	* app/tools/gimppainttool.c (button_press): display the error in
	the statusbar.

	* app/paint/gimppaintcore-stroke.c: pass a NULL error, effectively
	swallowing mssages. Will fix that later.

	* app/paint/gimpbrushcore.c
	* app/paint/gimpclone.c
	* app/paint/gimpsourcecore.c: changed accordingly. Set the error
	instead of calling g_message().

	* app/paint/gimpheal.c
	* app/paint/gimpperspectiveclone.c: implement start() and bail out
	early on indexed drawables instead of showing a g_message() in
	other functions that are called later.

	* app/tools/gimptool.[ch]: added GError** to GimpTool::initialize().

	* app/tools/gimptool.c (gimp_tool_initialize): display the error
	in the statusbar. Keep the external API GError-free.

	* app/tools/gimprectangletool.[ch]: added GError** to
	gimp_rectangle_tool_initialize().

	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcolorizetool.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpperspectiveclonetool.c
	* app/tools/gimpposterizetool.c
	* app/tools/gimpthresholdtool.c
	* app/tools/gimptransformtool.c: changed accordingly. Set the
	errors in initialize() instead of using gimp_message().

	* app/tools/gimpblendtool.c: implement initialize() and bail out
	early on indexed images instead of showing a gimp_message() in
	button_press().
2006-09-26 20:55:40 +00:00
Michael Natterer c598fe6566 added some missing g_return_if_fail() and moved variables to local scopes.
2006-09-26  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppaintcore.c: added some missing g_return_if_fail()
	and moved variables to local scopes.
2006-09-26 09:59:13 +00:00
Sven Neumann 7db31c30db transfer the pixels tile-by-tile instead of doing it row-by-row.
2006-09-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c (load_image): transfer the pixels
	tile-by-tile instead of doing it row-by-row.
2006-09-26 09:06:07 +00:00
Sven Neumann ba9efb3433 modules/Makefile.am new CMYK color-selector that uses littleCMS for the
2006-09-26  Sven Neumann  <sven@gimp.org>

	* modules/Makefile.am
	* modules/colorsel_cmyk_lcms.c: new CMYK color-selector that
uses
	littleCMS for the RGB <-> CMYK conversion. This is built instead
	of the standard CMYK color-selector if lcms is available.

	* libgimpwidgets/gimpcolornotebook.c
	* libgimpwidgets/gimpcolorselection.[ch]
	* libgimpwidgets/gimpcolorselector.[ch]
	* libgimpwidgets/gimpwidgets.def: added API to set the color
	management configuration on color selectors.

	* libgimpwidgets/gimpwidgetstypes.h: include
	libgimpconfig/gimpconfigtypes.h.

	* app/dialogs/grid-dialog.c
	* app/dialogs/preferences-dialog.c
	* app/widgets/gimpcolordialog.c
	* app/widgets/gimpcoloreditor.c
	* app/widgets/gimpcolorpanel.c
	* app/widgets/gimpgrideditor.[ch]
	* app/widgets/gimppropwidgets.c
	* app/widgets/gimptoolbox-color-area.c: set the color management
	configuration on (hopefully) all color selectors.

	* modules/cdisplay_lcms.c: use a GimpHintBox widget.
2006-09-26 08:55:41 +00:00
Michael Natterer 03251e6b6a while downloading, use the same progress messages as the gnomevfs backend.
2006-09-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/uri/uri-backend-libcurl.c: while downloading, use the
	same progress messages as the gnomevfs backend. Minor whitespace
	and indentation cleanup.
2006-09-25 21:26:01 +00:00
Ilkka Tuohela 3e6b65884e Updated Finnish translation 2006-09-25 19:06:15 +00:00
Pawan Chitrakar 45bc799011 Updated Nepali Translation 2006-09-25 07:57:52 +00:00
Pawan Chitrakar 8d8cb1856f Updated Nepali Translation 2006-09-25 06:20:37 +00:00
Mukund Sivaraman 54c480c971 plug-ins/uri/uri-backend-libcurl.c plug-ins/uri/Makefile.am
2006-09-24  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/uri/uri-backend-libcurl.c
        * plug-ins/uri/Makefile.am
	* po-plug-ins/POTFILES.in
        * configure.in: added a URI backed which uses the libcurl library
2006-09-24 20:10:06 +00:00
William Skaggs 364e1ba227 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpdrawable-transform.c: apply patch from
	Geert Jordaens to improve Lanczos performance;
	probably fixes bug #355178.
2006-09-24 16:45:12 +00:00
William Skaggs 94de5be39c Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/ripple.c: set min for "period" scale entry
	to 1 instead of 0, and add error check for noninteractive.
	Fixes bug #357431.
2006-09-24 16:05:30 +00:00
Michael Natterer 004da2a537 don't allow editing of read-only generated brushes. Addresses bug #357436.
2006-09-24  Michael Natterer  <mitch@gimp.org>

	* app/actions/context-commands.c: don't allow editing of read-only
	generated brushes. Addresses bug #357436.
2006-09-24 15:56:54 +00:00
William Skaggs 29b9f61217 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/script-fu/scripts/line-nova.scm: Change min for randomness
	from 0 to 1, should fix bug #357433.
2006-09-24 15:46:54 +00:00
Pawan Chitrakar 3dae732bd0 Updated Nepali Translation 2006-09-24 13:15:55 +00:00
Michael Natterer 8e04fb1b82 Some more proper typing instead of using pointers:
2006-09-24  Michael Natterer  <mitch@gimp.org>

	Some more proper typing instead of using pointers:

	* libgimpconfig/gimpconfig-params.h: added macro
	GIMP_CONFIG_INSTALL_PROP_BOXED().

	* app/core/gimpcontainer.c: made "children-type" a GParamSpecGType.

	* app/widgets/gimpcontrollerinfo.c: made "mapping" a
	GParamSpecBoxed and use g_hash_table_unref() instead of destroy().

	* app/widgets/gimppdbdialog.c: made "select-type" a GParamSpecGType.

	* app/dialogs/module-dialog.c
	* app/widgets/gimpcolordisplayeditor.c
	* app/widgets/gimpcontrollerlist.c
	* app/widgets/gimpfileprocview.c
	* app/widgets/gimppluginaction.c: use proper object types, boxed
	types and G_TYPE_GTYPE instead of G_TYPE_POINTER for various list
	stores and signal signatues.
2006-09-24 12:20:22 +00:00
Michael Natterer 4f415c13e4 don't restore the entire affected area of the drawable here (it can take
2006-09-24  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimagemap.c (gimp_image_map_apply): don't restore
	the entire affected area of the drawable here (it can take *long*
	on large selections).

	(gimp_image_map_do): do it here instead, as we idle-process the
	chunks. Slightly reduces overall speed but improves responsiveness
	*massively*

	(gimp_image_map_get_color_at): fixed to honor undo tiles offset
	and be readable.

	(gimp_image_map_commit)
	(gimp_image_map_clear)
	(gimp_image_map_clear): don't unref the image_map here. Objects
	don't memory manage themselves.

	Cleaned up the entire file and got rid of all sorts of uglyness.

	* app/tools/gimpimagemaptool.c: unref the image_map here.

	* app/tools/gimpcurvestool.c (curves_graph_events): update the
	preview on button_press when we are dragging a free curve.
2006-09-24 10:29:21 +00:00
Michael Natterer 14ea7265ff jikes, update the preview only if we actually drag the curve, not on any
2006-09-24  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpcurvestool.c (curves_graph_events): jikes, update
	the preview only if we actually drag the curve, not on any mouse
	movement.
2006-09-23 22:43:13 +00:00
William Skaggs 0b005ffe99 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpcroptool.c
	* app/tools/gimprectangleselecttool.c
	* app/tools/gimprectangletool.[ch]: put back code for responding
	to modifiers pressed after mouse1-down, at mitch's request.
2006-09-23 22:32:35 +00:00
William Skaggs c2c8c8805b Bill Skaggs <weskaggs@primate.ucdavis.edu>
* vbr.txt: fix an error concerning version numbers.
2006-09-23 22:12:30 +00:00
William Skaggs 977952caff Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangleselecttool.c
	* app/tools/gimprectangletool.[ch]:simplify code by
	removing unneeded properties and getters/setters.
2006-09-23 21:22:33 +00:00
William Skaggs 60611ebb54 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangleoptions.[ch]
	* app/tools/gimprectangleselecttool.c
	* app/tools/gimprectangletool.c
	* app/tools/gimpselectionoptions.c: move "auto-shrink"
	and "shrink-merged" from selection options to
	rectangle options where they belong; now shown
	for crop tool as well as rect select.
2006-09-23 20:45:06 +00:00
William Skaggs bc355f4f45 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimppropwidgets.c
	* app/tools/gimprectangleoptions.c: add functionality
	for aspect ratio control.
2006-09-23 19:40:40 +00:00
William Skaggs 2c07e922a2 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/actions/tools-actions.c
	* app/actions/tools-commands.[ch]: add new actions for
	toggling "fixed-aspect" and "fixed-center" options of
	rectangle tools.

	* app/tools/gimprectangletool.[ch]
	* app/tools/gimprectangleselecttool.c
	* app/tools/gimpcroptool.c: rely on new actions for
	keyboard control, not on modifiers pressed after
	mouse1-down.
2006-09-23 19:38:26 +00:00
William Skaggs 7b8d12e0b6 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimppropwidgets.[ch]
	* app/tools/gimprectangleoptions.c
	* app/tools/gimprectangletool.c: more work on option
	layout and handling.
2006-09-22 18:27:21 +00:00
William Skaggs 93d3fd43ca Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpwidgets/gimppropwidgets.[ch]: revert previous
	change; was not necessary.
2006-09-22 18:22:53 +00:00
Michael Natterer d271c7387c terminate the spaces string correctly. Spotted by bill.
2006-09-22  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpstatusbar.c (gimp_statusbar_progress_style_set):
	terminate the spaces string correctly. Spotted by bill.
2006-09-22 17:57:11 +00:00
Michael Natterer 1419751614 changed all message setting functions to use printf-style argument lists.
2006-09-22  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpstatusbar.[ch]: changed all message setting
	functions to use printf-style argument lists. Added new API to
	show a temporary message that stays on top regardless of any other
	message activity and disappears after 3 seconds.

	* app/actions/edit-commands.c: show a statusbar message when
	pasting fails because the clipboard contains no image data. Pop a
	dialog when "Paste as New" fails. Addresses bug #357059 for
	internal functions.

	* app/display/gimpdisplayshell-title.c
	* app/gui/gui.c
	* app/tools/gimptool.c: changed accordingly.
2006-09-22 16:44:47 +00:00
Sven Neumann 9789d18b94 always recalculate the selection when restarting it.
2006-09-22  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-selection.c: always recalculate the
	selection when restarting it.
2006-09-22 14:27:07 +00:00
Michael Natterer 59a3dd1405 also look at shell->space_release_pending when deciding whether to return
2006-09-22  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_space_released): also look at
	shell->space_release_pending when deciding whether to return early.
2006-09-22 14:17:33 +00:00
Sven Neumann d79ec4556a create output that at least vaguely resembles XHTML.
2006-09-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/colorxhtml.py: create output that at
	least vaguely resembles XHTML.
2006-09-22 11:48:58 +00:00
Sven Neumann 7275f398ed pass the correct function name to inspect.getsourcefile().
2006-09-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/colorxhtml.py: pass the correct function
	name to inspect.getsourcefile().
2006-09-22 11:21:57 +00:00
Jakub Friedl 1949c859f1 Updated Czech translation.
2006-09-22  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.
2006-09-22 10:03:51 +00:00
Sven Neumann a69c1ff174 app/gui/gui-message.c moved utility function to gimpwidgets-utils.
2006-09-22  Sven Neumann  <sven@gimp.org>

	* app/gui/gui-message.c
	* app/widgets/gimpwidgets-utils.[ch]: moved utility function to
	gimpwidgets-utils.

	* app/core/gimp-gui.[ch]
	* app/gui/gui-vtable.c: added a progress parameter to
	gimp_pdb_dialog_new() and make the dialog transient to the progress
	window.

	* tools/pdbgen/pdb/brush_select.pdb
	* tools/pdbgen/pdb/font_select.pdb
	* tools/pdbgen/pdb/gradient_select.pdb
	* tools/pdbgen/pdb/palette_select.pdb
	* tools/pdbgen/pdb/pattern_select.pdb: pass progress to
	gimp_pdb_dialog_new().

	* app/pdb/brush_select_cmds.c
	* app/pdb/font_select_cmds.c
	* app/pdb/gradient_select_cmds.c
	* app/pdb/palette_select_cmds.c
	* app/pdb/pattern_select_cmds.c: regenerated.

	* libgimp/gimpselectbutton.c: cosmetics.
2006-09-22 09:24:41 +00:00
David Lodge e57e424488 Updated English (British) translation
2006-09-22  David Lodge <dave@cirt.net>

	* en_GB.po: Updated English (British) translation
2006-09-22 06:12:16 +00:00
William Skaggs 24546bc818 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimppropwidgets.c (gimp_prop_aspect_ratio_new):
	some small bug-fixes.

	* app/tools/gimprectangleoptions.[ch]: major revision.  Got
	rid of lots of unneeded getter/setter-clutter, simplified
	set of options and appearance of gui.  Still work in progress.

	* app/tools/gimprectangleselectoptions.c
	* app/tools/gimprectangletool.c: corresponding changes.
2006-09-21 20:16:25 +00:00