Commit Graph

13750 Commits

Author SHA1 Message Date
Raphael Higino d2aa985298 Updated pt_BR translation 2004-10-20 13:30:33 +00:00
Michael Natterer 62ec8b3556 Fixed bug #155733 for libgimp:
2004-10-20  Michael Natterer  <mitch@gimp.org>

	Fixed bug #155733 for libgimp:

	* tools/pdbgen/pdb/drawable.pdb: export drawable_mask_intersect()
	to the PDB and improved documentation for drawable_mask_bounds().

	* app/pdb/drawable_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpdrawable_pdb.[ch]: regenerated.

	* libgimp/gimp.def: changed accordingly.
2004-10-19 23:32:01 +00:00
Michael Natterer cb48cef8be added gimp_drawable_mask_intersect() which returns the same bounding box
2004-10-20  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable.[ch]: added gimp_drawable_mask_intersect()
	which returns the same bounding box as gimp_drawable_mask_bounds(),
	but returns TRUE only if there is a non-empty intersection between
	the drawable and the selection, or no selection at all. It also
	returns the intersection as x,y,width,height instead of the
	eeky x1,y1,x2,y2.

	* app/core/gimp-edit.c
	* app/core/gimpdrawable-blend.c
	* app/core/gimpdrawable-bucket-fill.c
	* app/core/gimpdrawable-desaturate.c
	* app/core/gimpdrawable-equalize.c
	* app/core/gimpdrawable-histogram.c
	* app/core/gimpdrawable-invert.c
	* app/core/gimpdrawable-stroke.c
	* app/core/gimpimagemap.c
	* app/core/gimpselection.c
	* tools/pdbgen/pdb/color.pdb
	* tools/pdbgen/pdb/transform_tools.pdb: either switch from
	gimp_drawable_mask_bounds() to _intersect() or check the return
	values of _mask_bounds() manually to avoid operations on empty
	areas. Return successfully because it's a nop, not a failure.
	Fixes bug #155733 for the core.

	* app/pdb/color_cmds.c
	* app/pdb/transform_tools_cmds.c: regenerated.
2004-10-19 22:52:04 +00:00
David Lodge 925cb48917 Updated British English translation.
2004-10-19  David Lodge <dave@cirt.net>

        * en_GB.po: Updated British English translation.
2004-10-19 18:58:03 +00:00
Michael Natterer 5507c47c6d removed 3 mnemonics. No other tool options label has a mnemonic. Addresses
2004-10-19  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptextoptions.c (gimp_text_options_gui): removed
	3 mnemonics. No other tool options label has a mnemonic.
	Addresses bug #155861.
2004-10-19 17:37:44 +00:00
Adam Weinberger 75dfd5bbe8 Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
2004-10-19 14:52:54 +00:00
Michael Natterer d85ff32937 added app/dialogs/vectors-options-dialog.c
2004-10-19  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added app/dialogs/vectors-options-dialog.c
2004-10-19 14:09:41 +00:00
Michael Natterer 00401dcfe7 app/dialogs/Makefile.am one more dialog split out of actions/.
2004-10-19  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/Makefile.am
	* app/dialogs/vectors-options-dialog.[ch]: one more dialog split
	out of actions/.

	* app/actions/vectors-commands.c: removed it here. Merged more
	utility functions into their only callers.

	* app/actions/dockable-commands.c
	* app/actions/edit-commands.c
	* app/actions/file-commands.c
	* app/actions/palettes-commands.c
	* app/actions/tool-options-commands.c
	* app/actions/view-commands.c: renamed "qbox" and "query_box"
	variables to "dialog".
2004-10-19 14:08:44 +00:00
Michael Natterer c6094affa5 don't forget to set the mnemonic widgets for the labels. Fixes bug
2004-10-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/screenshot.c (shoot_dialog): don't forget to set
	the mnemonic widgets for the labels. Fixes bug #155811.
2004-10-19 12:34:30 +00:00
Michael Natterer 215ea122bb added app/dialogs/channel-options-dialog.c
2004-10-19  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added app/dialogs/channel-options-dialog.c
2004-10-19 09:18:30 +00:00
Michael Natterer 39294079b7 app/dialogs/Makefile.am new files implementing the channel options dialog
2004-10-19  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/Makefile.am
	* app/dialogs/channel-options-dialog.[ch]: new files implementing
	the channel options dialog with a horrid number of 13 construction
	parameters. Still better than having the same code twice, only
	differing in strings used...

	* app/actions/channels-commands.c
	* app/actions/qmask-commands.c: removed the dialog code here and
	use channel_options_dialog_new().
2004-10-19 09:17:37 +00:00
jaycox 165cf42ed9 don't try to save psd files that are larger than 30000 pixels in either
* plug-ins/common/psd_save.c: don't try to save psd files that are
        larger than 30000 pixels in either direction.  Fixed the rle code
        to compress more compactly.  Fixed a memmory leak in
        save_channel_data.
2004-10-19 08:22:33 +00:00
David Lodge 1c3e730b22 Updated British English translation.
2004-10-18  David Lodge <dave@cirt.net>

        * en_GB.po: Updated British English translation.
2004-10-18 20:15:00 +00:00
Michael Natterer c49df22eef Action code review and pre-release consistency cleanup:
2004-10-18  Michael Natterer  <mitch@gimp.org>

	Action code review and pre-release consistency cleanup:

	* app/actions/*-actions.c: added some missing and resolved
	conflicting mnemonics, added missing help IDs. Cleaned up the
	*_actions_update() functions.

	* app/actions/channels-actions.c
	* app/actions/layers-actions.c
	* app/actions/vectors-actions.c (*_actions_update): simplified
	the code that figures the prev and next channel,layer,vectors.

	* app/actions/qmask-actions.c: use the same accelerator for
	"qmask-active" and "qmask-toggle". Fixed action sensitivity.

	* app/actions/channels-commands.c
	* app/actions/dockable-commands.c
	* app/actions/documents-commands.c
	* app/actions/gradients-commands.c
	* app/actions/layers-commands.c
	* app/actions/palettes-commands.c
	* app/actions/image-commands.c
	* app/actions/select-commands.c
	* app/actions/vectors-commands.c: folded tons of private utility
	functions into their only callers (they used to be public and
	called from outside before the switch to action based menus).
	Renamed functions and variables saying "query" or "qbox" to
	"dialog". Moved static functions to the end of the files. Misc
	minor cleanups.

	* app/actions/drawable-actions.c
	* app/actions/drawable-commands.c: made the "drawable-visible" and
	"drawable-linked" actions affect the layer if the active drawable
	is a layer mask.

	* app/actions/select-commands.c: added action to stroke with the
	last values used in an attempt to address bug #135746 but #if 0'ed
	it because the approach is too ugly.

	* app/tools/gimpiscissorstool.c: changed mnemonic from I to S.

	* menus/image-menu-xml.in: added more stuff to the (commented out)
	"context" menu.
2004-10-18 11:29:58 +00:00
Marco Ciampa c79b64e6c1 Updated italian translation 2004-10-17 20:46:10 +00:00
David Odin 516d66463a some more clues in the documentation (suggested by nomis)
* libgimp/gimppixelrgn.c: some more clues in the documentation
  (suggested by nomis)
2004-10-17 20:05:01 +00:00
Francisco Javier F. Serrador 97f909fc2d Updated Spanish translation.
2004-10-17  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2004-10-17 19:19:06 +00:00
David Odin cbc6650c06 clarify some usecases for gimp_pixel_rgn_init().
* libgimp/gimppixelrgn.c: clarify some usecases for
  gimp_pixel_rgn_init().
2004-10-17 19:17:09 +00:00
Adam Weinberger ed18600818 Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
2004-10-17 18:59:20 +00:00
Marco Ciampa 3c0aa01e3c Updated italian translation 2004-10-17 18:13:53 +00:00
David Odin 79ae8509c4 Added a preview.
* plug-ins/common/colortoalpha.c: Added a preview.
2004-10-17 16:03:56 +00:00
David Odin 56b19e74e4 use a GimpDrawablePreview.
* plug-ins/common/glasstile.c: use a GimpDrawablePreview.
2004-10-17 14:37:45 +00:00
Nikos Charonitakis 9aa66eb2d5 Updated Greek translation 2004-10-17 14:06:06 +00:00
David Lodge 0b76996e00 Updated British English translation.
2004-10-17  David Lodge <dave@cirt.net>

        * en_GB.po: Updated British English translation.
2004-10-17 13:53:25 +00:00
Michael Natterer e6223274f3 removed newline that was breaking the build.
2004-10-17  Michael Natterer  <mitch@gimp.org>

	* it.po: removed newline that was breaking the build.
2004-10-17 13:06:21 +00:00
Vincent van Adrighem 0b3689bbe2 Translation updated by Tino Meinen.
2004-10-17  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2004-10-17 12:40:00 +00:00
Marco Ciampa 554ba1f3b4 Updated italian translation 2004-10-17 10:47:12 +00:00
Francisco Javier F. Serrador 38b6f1b156 Updated Spanish translation.
2004-10-17  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2004-10-17 01:01:54 +00:00
David Odin 41c1c53caf smallish cleanups.
* plug-ins/common/borderaverage.c: smallish cleanups.
2004-10-16 23:42:02 +00:00
David Odin 48d2f01f22 Added a preview and minor cleanups. Can someone provide useful testcases
* plug-ins/common/displace.c: Added a preview and minor cleanups.
  Can someone provide useful testcases for this plug-in?
2004-10-16 22:43:56 +00:00
Michael Natterer 9f6c4515bd should save before comitting... 2004-10-16 20:19:26 +00:00
Michael Natterer c84475c989 moved "item_type" and "signal_name" from GimpItemTreeView to
2004-10-16  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpitemtreeview.[ch]: moved "item_type" and
	"signal_name" from GimpItemTreeView to GimpItemTreeViewClass.
	Removed them from gimp_item_tree_view_new(). Require the view_type
	instead of item_type in gimp_item_tree_view_new().

	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimpdrawabletreeview.c (get_type): made them
	abstract base classes.

	* app/widgets/gimpchanneltreeview.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimpvectorstreeview.c (class_init): set the
	item_type and signal_name members if GimpItemTreeViewClass.

	* app/dialogs/dialogs-constructors.c: changed accordingly.
2004-10-16 20:17:30 +00:00
Manish Singh 7452578ad5 Oops, disable testing code 2004-10-16 18:21:34 +00:00
Manish Singh 12520f8e16 Add support for automake 1.9. Also rm autom4te.cache, since it might
2004-10-16  Manish Singh  <yosh@gimp.org>

        * autogen.sh: Add support for automake 1.9. Also rm autom4te.cache,
        since it might interfere with differing autoconf versions.
2004-10-16 18:20:23 +00:00
Michael Natterer ea1dc9ab9f added utility function gimp_ui_manager_get_action() which takes
2004-10-16  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpuimanager.[ch]: added utility function
	gimp_ui_manager_get_action() which takes "group_name" and
	"action_name".

	* app/display/gimpdisplayshell-close.c
	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimptoolbox.c
	* app/widgets/gimptooloptionseditor.c: use it.
2004-10-16 17:29:42 +00:00
Michael Natterer f4d7260c64 app/actions/channels-actions.c app/actions/colormap-editor-actions.c
2004-10-16  Michael Natterer  <mitch@gimp.org>

	* app/actions/channels-actions.c
	* app/actions/colormap-editor-actions.c
	* app/actions/documents-actions.c
	* app/actions/tool-options-actions.c
	* app/actions/vectors-actions.c: added more tooltips for actions
	which are used as extended dialog button callbacks.

	* app/widgets/gimpeditor.c (gimp_editor_add_action_button): keep
	the list of extended actions in reverse order.

	* app/widgets/gimpchanneltreeview.c
	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpdocumentview.c
	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimpselectioneditor.c
	* app/widgets/gimptooloptionseditor.c
	* app/widgets/gimpvectorstreeview.c: don't set the tooltips
	manually. Removes another bunch of insane translatable multiline
	format strings. Pass the extended actions in the right order
	to gimp_editor_add_action_button().
2004-10-16 17:10:04 +00:00
Vincent van Adrighem e1bfa9fe8d Translation updated.
2004-10-16  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated.
2004-10-16 16:22:27 +00:00
Michael Natterer 56ff88ba1b call gimp_item_set_linked(), not gimp_item_set_visible(). Fixes bug
2004-10-16  Michael Natterer  <mitch@gimp.org>

	* app/actions/vectors-commands.c (vectors_linked_cmd_callback):
	call gimp_item_set_linked(), not gimp_item_set_visible().
	Fixes bug #155578
2004-10-16 15:51:55 +00:00
Michael Natterer 8effb0cfaf Ported the layers, channels and paths dialogs from
2004-10-16  Michael Natterer  <mitch@gimp.org>

	Ported the layers, channels and paths dialogs from
	gimp_editor_add_button() to gimp_editor_add_action_button(),
	removing a massive amount of duplicated code, sensitivity logic
	and confusing utility functions.

	* app/actions/channels-actions.c
	* app/actions/channels-commands.[ch]
	* app/actions/layers-actions.c
	* app/actions/layers-commands.[ch]
	* app/actions/vectors-actions.c
	* app/actions/vectors-commands.[ch]: added "foo-new-default"
	actions and callbacks which create items without a dialog,
	optionally using default values from a passed template. Removed
	all public utility function that were passed as function pointers
	to widget construtors. Added tooltips to all actions which are now
	used for dialog buttons.

	* app/widgets/gimpeditor.c (gimp_editor_add_action_button):
	automatically create multi-line tooltips showing the modifiers for
	extended action buttons. Removes the need for lots of insane
	format strings that need to be translated correctly.

	* app/widgets/gimpitemtreeview.[ch] (struct GimpItemTreeViewClass):
	replaced tooltip and help_id strings by action names.

	(struct GimpItemTreeView)
	(gimp_item_tree_view_new): removed "edit", "new" and "activate"
	function pointers.

	(gimp_item_tree_view_constructor): create all buttons
	with gimp_editor_add_action_button(), using the action names
	from GimpItemTreeViewClass.

	Removed tons of "clicked" callbacks and all code which sets the
	buttons' sensitivity. They are not needed any longer.

	Require all subclasses to implement GimpItemTreeView::new_item(),
	a new virtual function which creates a plain new item without
	showing a dialog.

	* app/widgets/gimpdrawabletreeview.c
	* app/widgets/gimpchanneltreeview.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimpvectorstreeview.c: fill in the action names and
	implement GimpItemTreeView::new_item(). Removed all button
	sensitivity logic.

	* app/dialogs/dialogs-constructors.c: changed accordingly. Doesn't
	include anything from actions/ any more.
2004-10-16 15:48:23 +00:00
Kevin Cozens 0e15d4f689 Added 'pow' used in hsv-graph.sct
2004-10-16  Kevin Cozens  <kcozens@cvs.gimp.org>

	* scripts/script-fu-compat.init: Added 'pow' used in hsv-graph.sct
2004-10-16 06:00:00 +00:00
Michael Natterer a89d595b8e fixed parameter descriptions for layer_add_mask() and layer_remove_mask().
2004-10-15  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/layer.pdb: fixed parameter descriptions for
	layer_add_mask() and layer_remove_mask().

	* app/pdb/layer_cmds.c
	* libgimp/gimplayer_pdb.c: regenerated.
2004-10-15 16:10:16 +00:00
Jan Morén 0895f84a27 Updated Swedish translation.
2004-10-16  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2004-10-15 15:41:44 +00:00
Michael Natterer ee66d409d7 app/actions/images-commands.[ch] made some public functions private or
2004-10-15  Michael Natterer  <mitch@gimp.org>

	* app/actions/images-commands.[ch]
	* app/actions/templates-commands.[ch]: made some public functions
	private or removed them entirely by folding their code into their
	callers. They used to be passed as function pointers to widgets in
	the pre action-based dialog buttons era.
2004-10-15 15:13:53 +00:00
Michael Natterer 1aaa68ee7d raise the image's displays on double-click in the dirty image list.
2004-10-15  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/quit-dialog.c: raise the image's displays on
	double-click in the dirty image list.
2004-10-15 14:34:34 +00:00
Jan Morén de8560de4e Updated Swedish translation.
2004-10-15  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2004-10-15 14:29:00 +00:00
Michael Natterer e2fd8ab534 Fixed bug #155328:
2004-10-15  Michael Natterer  <mitch@gimp.org>

	Fixed bug #155328:

	* app/actions/vectors-actions.c (vectors_actions_update): don't
	set the "selection to path" actions sensitive if there is no
	image.

	* app/widgets/gimpitemtreeview.c: update the UI manager after
	setting the view's image. Connect to GimpImage::flush() and
	update the UI manager in the callback, too.
2004-10-15 12:27:07 +00:00
Michael Natterer a8279417a1 removed duplicate "view-zoom-in" action (cut'n'paste error) and fixed the
2004-10-15  Michael Natterer  <mitch@gimp.org>

	* app/actions/view-actions.c (view_zoom_actions): removed
	duplicate "view-zoom-in" action (cut'n'paste error) and fixed the
	swapped "zoom in/out a lot" actions. Fixes bug #155446.
2004-10-15 11:55:39 +00:00
Sven Neumann 71594d900f Made 2.1.7 release.
2004-10-15  Sven Neumann  <sven@gimp.org>

        * Made 2.1.7 release.
2004-10-14 23:42:20 +00:00
Sven Neumann 428a80a1ee removed the "Density" label. It wasn't helpful and caused the transform
2004-10-15  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptransformoptions.c: removed the "Density" label.
	It wasn't helpful and caused the transform options to be wider than
	necessary.

	* app/tools/gimpblendoptions.c
	* app/tools/gimppaintoptions-gui.c
	* app/tools/gimptransformoptions.c: let combo boxes expand
	horizontally like we do in other (all ?) dialogs.

	* app/widgets/gimptemplateeditor.c
	(gimp_template_editor_aspect_callback): update the pixel size label.
2004-10-14 22:55:18 +00:00
Sven Neumann 550965744d new splash by Jimmac.
2004-10-15  Sven Neumann  <sven@gimp.org>

	* data/images/gimp-splash.png: new splash by Jimmac.
2004-10-14 22:18:25 +00:00