Commit Graph

18607 Commits

Author SHA1 Message Date
Karine Delvare f72524032c Applied patch from Karl Günter Wünsch which finishes improving rectangle
2006-08-06  Karine Delvare  <edhel@gimp.org>

	* app/tools/gimprectangletool.c: Applied patch from Karl Günter
	Wünsch which finishes improving rectangle tools behaviour when
	resizing with fixed ratio. Fixes bug #349337.
2006-08-06 09:17:28 +00:00
Michael Natterer ddd26ef1a7 updated after pdb -> plug-in file moving.
2006-08-06  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: updated after pdb -> plug-in file moving.
2006-08-05 23:18:10 +00:00
Michael Natterer 0005f0ff5d app/pdb/Makefile.am app/pdb/gimppluginprocedure.[ch] removed these
2006-08-05  Michael Natterer  <mitch@gimp.org>

	* app/pdb/Makefile.am
	* app/pdb/gimppluginprocedure.[ch]
	* app/pdb/gimptemporaryprocedure.[ch]: removed these files...

	* app/plug-in/Makefile.am
	* app/plug-in/gimppluginprocedure.[ch]
	* app/plug-in/gimptemporaryprocedure.[ch]: ...and added them here.

	* app/Makefile.am
	* app/config/Makefile.am: reordered stuff to make it link again.

	* app/pdb/gimppdb.c: removed gimp_pdb_eek() hack.

	* app/actions/plug-in-actions.c
	* app/dialogs/file-save-dialog.c
	* app/file/file-open.c
	* app/file/file-save.c
	* app/file/file-utils.c
	* app/menus/plug-in-menus.c
	* app/plug-in/gimpplugin-message.c
	* app/plug-in/gimpplugin-progress.c
	* app/plug-in/gimpplugin.c
	* app/plug-in/gimppluginmanager-call.c
	* app/plug-in/gimppluginmanager-file.c
	* app/plug-in/gimppluginmanager-query.c
	* app/plug-in/gimppluginmanager.c
	* app/plug-in/gimppluginprocframe.c
	* app/plug-in/plug-in-def.c
	* app/plug-in/plug-in-rc.c
	* app/widgets/gimpfiledialog.c
	* app/widgets/gimpfileprocview.c
	* app/widgets/gimppluginaction.c
	* app/xcf/xcf.c
	* tools/pdbgen/pdb/plug_in.pdb: changed includes accordingly.

	* app/pdb/plug_in_cmds.c: regenerated.
2006-08-05 21:21:01 +00:00
Michael Natterer 7ccc66347f make test-config build again.
2006-08-05  Michael Natterer  <mitch@gimp.org>

	* app/config/Makefile.am: make test-config build again.
2006-08-05 18:52:48 +00:00
Michael Natterer 886d81dcb4 remove temporary cruft i forgot before.
2006-08-05  Michael Natterer  <mitch@gimp.org>

	* app/pdb/gimppdb.c: remove temporary cruft i forgot before.
2006-08-05 18:38:12 +00:00
Michael Natterer ad019d6093 added gimp_pdb_compat_procs_register().
2006-08-05  Michael Natterer  <mitch@gimp.org>

	* app/pdb/gimp-pdb-compat.[ch]: added
	gimp_pdb_compat_procs_register().

	* app/pdb/gimp-pdb.[ch]: removed these files.

	* app/pdb/gimppdb.c
	* app/core/gimp.c: changed accordingly.

	* app/pdb/Makefile.am: build a separate libappinternal-procs.a

	* app/Makefile.am: link it.
2006-08-05 18:27:56 +00:00
Michael Natterer 3f5c71cd97 don't #include "pdb/gimp-pdb-compat.h".
2006-08-05  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/gimppluginmanager-file.c: don't #include
	"pdb/gimp-pdb-compat.h".
2006-08-05 17:55:37 +00:00
Jakub Friedl 9d1f5cb9ef Updated Czech translation
2006-08-05  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation
2006-08-05 15:19:27 +00:00
Nguyen Thai Ngoc Duy ff753c1f59 Fixed spelling 2006-08-05 13:51:27 +00:00
Michael Natterer 9dabd23e2d Applied (modified and enhanced) patch from Chris Moller which allows tools
2006-08-05  Michael Natterer  <mitch@gimp.org>

	Applied (modified and enhanced) patch from Chris Moller which allows
	tools to distinguish similar colors not only by composite, but also
	by R, G, B, H, S and V. Fixes bug #348291.

	* app/core/core-enums.[ch]: added new enum GimpSelectCriterion
	which can be one of { COMPOSITE, R, G, B, H, S, V }.

	* app/core/gimpimage-contiguous-region.[ch]: added
	select_criterion params and create the region based on difference
	by the selected criterion.

	* app/core/gimpchannel-select.[ch]
	* app/core/gimpdrawable-bucket-fill.[ch]: take criterion params and
	pass them through to the contiguous region functions.

	* app/tools/gimpbucketfilloptions.[ch]
	* app/tools/gimpselectionoptions.[ch]: added criterion properties
	and GUI to select it.

	* app/tools/gimpbucketfilltool.c
	* app/tools/gimpbycolorselecttool.c
	* app/tools/gimpfuzzyselecttool.c: pass the selected criterion to
	the resp. core functions.

	* app/widgets/gimpdrawabletreeview.c
	* app/widgets/gimpselectioneditor.c
	* app/display/gimpdisplayshell-dnd.c
	* tools/pdbgen/pdb/edit.pdb
	* tools/pdbgen/pdb/selection_tools.pdb: changed accordingly
	(simply pass GIMP_SELECT_CRITERION_COMPOSITE in most cases).

	* app/pdb/edit_cmds.c
	* app/pdb/selection_tools_cmds.c: regenerated.
2006-08-05 13:02:47 +00:00
Raphael Quinet 5ce64ce234 Do not crash when loading corrupt gradient files. Ensure that error
2006-08-05  Raphael Quinet  <raphael@gimp.org>

	* app/core/gimpgradient-load.c (gimp_gradient_load): Do not crash
	when loading corrupt gradient files.  Ensure that error messages
	are correctly reported with g_set_error() instead of g_message().
	Fixes bug #349996.
2006-08-04 23:53:28 +00:00
Raphael Quinet 7c245e1654 Do not declare a symbol "link" because this conflicts with the system call
2006-08-05  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/imagemap/imap_ncsa.l: Do not declare a symbol "link"
	because this conflicts with the system call declared in
	<unistd.h>.  Renamed that symbol "imap_link".  Fixes bug #349589.

	* plug-ins/imagemap/imap_ncsa_lex.c: Updated by hand in order to
	avoid large changes introduced by more recent versions of flex.
2006-08-04 22:12:44 +00:00
Raphael Quinet 4ad66b8659 tools/pdbgen/stddefs.pdb Attributed custom dither code to David Gowers and
2006-08-04  Raphael Quinet  <raphael@gimp.org>

	* tools/pdbgen/stddefs.pdb
	* tools/pdbgen/pdb/convert.pdb: Attributed custom dither code to
	David Gowers and updated my e-mail address for the PDB.

	* app/pdb/convert_cmds.c
	* app/pdb/undo_cmds.c
	* libgimp/gimpconvert_pdb.c: Regenerated.
2006-08-04 19:59:39 +00:00
Raphaël Quinet 36dc46fa12 Forgot to commit comment change in app/pdb/internal_procs.c 2006-08-04 17:57:43 +00:00
Raphael Quinet 1999e437d4 app/core/gimpimage-convert-data.h app/core/gimpimage-convert.c
2006-08-04  Raphael Quinet  <raphael@gimp.org>

	* app/core/gimpimage-convert-data.h
	* app/core/gimpimage-convert.c
	* app/core/gimpimage-convert.h
	* tools/pdbgen/pdb/convert.pdb: Applied slightly modified patch
	from David Gowers allowing a custom dither matrix to be used when
	converting images to indexed mode.  Fixes bug #136604.

	* app/pdb/convert_cmds.c
	* libgimp/gimpconvert_pdb.h
	* libgimp/gimpconvert_pdb.c: Regenerated.

	* app/tools/gimpselectiontool.c: N_() should have been _().
2006-08-04 17:54:26 +00:00
Jakub Friedl 438d30f38f Fixed Czech translation.
2006-08-04  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Fixed Czech translation.
2006-08-04 14:52:37 +00:00
Jakub Friedl 1e7316c277 Fixed wrong Czech strings
2006-08-04  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Fixed wrong Czech strings
2006-08-04 09:46:42 +00:00
Michael Natterer 3de105e9c5 some doc fixes.
2006-08-04  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppropwidgets.c: some doc fixes.
2006-08-04 09:41:09 +00:00
Michael Natterer 459778bb76 cosmetics.
2006-08-04  Michael Natterer  <mitch@gimp.org>

	* app/actions/image-actions.c: cosmetics.

	* app/core/gimpimage.c: factor common code out to new utility
	function gimp_image_get_item_by_tattoo(), minor cleanups.
2006-08-04 09:26:45 +00:00
Jakub Friedl d894beaeb8 Updated Czech translation
2006-08-04  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation
2006-08-04 09:07:52 +00:00
Michael Natterer d25406c924 app/core/gimpchannel.c (gimp_channel_bounds) allow to pass in NULL return
2006-08-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpchannel.c (gimp_channel_bounds)
	* app/core/gimpdrawable.c (gimp_drawable_mask_bounds)
	(gimp_drawable_mask_intersect): allow to pass in NULL return
	locations for any of the boundary return values.

	* app/tools/gimpselectiontool.c (gimp_selection_tool_oper_update):
	don't require hovering the selection for moving the selected
	pixels, since this can be distinguished by looking at the
	modifiers now. Check for the presence of any selected pixels
	instead. Fixes bug #349341.
2006-08-03 18:17:42 +00:00
Jakub Friedl 9daf106926 Updated Czech translation
2006-08-03  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation
2006-08-03 16:09:25 +00:00
Raphael Quinet d2adebbc18 use gimp_suggest_modifiers().
2006-08-03  Raphael Quinet  <raphael@gimp.org>

	* app/tools/gimpselectiontool.c (gimp_selection_tool_oper_update):
	use gimp_suggest_modifiers().

	* app/tools/gimpclonetool.c (gimp_clone_tool_oper_update): suggest
	ctrl only when cloning from the image, not from a pattern

	* app/tools/gimpsmudgetool.c (gimp_smudge_tool_init): don't
	suggest Ctrl for that tool, even if it can be used.
2006-08-03 09:06:36 +00:00
Raphael Quinet 8960d6ac5a Allow some paint tools to not suggest using the Ctrl modifier.
2006-08-02  Raphael Quinet  <raphael@gimp.org>

	* app/tools/gimppainttool.c (gimp_paint_tool_oper_update): Allow
	some paint tools to not suggest using the Ctrl modifier.

	* app/tools/gimpvectortool.c (gimp_vector_tool_status_update):
	slightly more elegant way to free the status string.
2006-08-02 14:41:24 +00:00
Michael Natterer b1c35145a2 enable "activates-default" on the name entry. Fixes bug #349614. Removed
2006-08-02  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/pat.c: enable "activates-default" on the name
	entry. Fixes bug #349614. Removed the name entry's callback and
	simply get the string after running the dialog.
2006-08-02 12:32:10 +00:00
Jakub Friedl eaf9ae2952 Updated Czech translation
2006-08-02  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation
2006-08-02 08:57:56 +00:00
Raphael Quinet a54a6b162c app/widgets/gimpwidgets-utils.h New utility function to build status bar
2006-08-02  Raphael Quinet  <raphael@gimp.org>

	* app/widgets/gimpwidgets-utils.h
	* app/widgets/gimpwidgets-utils.c (gimp_suggest_modifiers):
	New utility function to build status bar messages while allowing
	dynamic names for the modifiers.

	* app/tools/gimppainttool.h
	* app/tools/gimppainttool.c: Added new members to the class in
	order to allow paint tools to set different status messages for
	the normal case or when drawing a line.

	* app/tools/gimpclonetool.c
	* app/tools/gimpconvolvetool.c
	* app/tools/gimpdodgeburntool.c
	* app/tools/gimperasertool.c
	* app/tools/gimpsmudgetool.c: Use the new functions to set
	appropriate messages in the status bar.  Still work in progress,
	partial fix for bug #124040.

	* app/tools/gimpvectortool.c: Use gimp_suggest_modifiers().
2006-08-01 23:42:12 +00:00
Jakub Friedl 90c342cc67 Fixes in Czech translation
2006-08-01  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Fixes in Czech translation
2006-08-01 10:52:08 +00:00
Marco Ciampa ed5cf7e167 Updated italian translation 2006-08-01 10:11:26 +00:00
Karine Delvare 58fa28a58d Applied patch from Karl Günter Wünsch which Corrects the asyncronicity
2006-07-31  Karine Delvare  <edhel@gimp.org>

	* app/tools/gimprectangletool.c: Applied patch from Karl Günter
	Wünsch which Corrects the asyncronicity between mouse cursor and
	selected edge on egde resizing. Partial fix for bug #349337.
2006-07-31 20:46:40 +00:00
Jakub Friedl 2070e0695c Fixes in Czech translation
2006-07-31  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Fixes in Czech translation
2006-07-31 14:07:12 +00:00
Jakub Friedl 126b516710 Fixed Czech translation.
2006-07-31  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Fixed Czech translation.
2006-07-31 13:58:50 +00:00
Michael Natterer a5a96a2b00 use g_type_is_a() where possible instead of checking individual tool types
2006-07-31  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpselectionoptions.c (gimp_selection_options_gui):
	use g_type_is_a() where possible instead of checking individual
	tool types separately.
2006-07-31 11:45:50 +00:00
Michael Natterer 2882253fa5 app/tools/Makefile.am new abstract base class which does about the same as
2006-07-31  Michael Natterer  <mitch@gimp.org>

	* app/tools/Makefile.am
	* app/tools/gimpregionselecttool.[ch]: new abstract base class
	which does about the same as GimpFuzyySelectTool did, apart from
	creating the mask of the selected region.

	* app/tools/gimpbycolorselecttool.[ch]
	* app/tools/gimpfuzzyselecttool.[ch]: removed all code and only
	implement GimpRegionSelectTool::get_mask(). Fuzzy and by-color
	select behave exactly the same now. Fixes bug #126748.
2006-07-31 11:42:51 +00:00
Jakub Friedl fee898e47a Updated Czech translation
2006-07-31  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation
2006-07-31 11:10:33 +00:00
Michael Natterer 845cec013a enable "compose_by_drawable" for GIMP_RUN_WITH_LAST_VALS, since these
2006-07-31  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/compose.c (run): enable "compose_by_drawable"
	for GIMP_RUN_WITH_LAST_VALS, since these values are drawable IDs,
	not image IDs. Fixes bug #346859.
2006-07-30 22:40:10 +00:00
Raphael Quinet 3739ee1883 app/tools/gimppainttool.c app/tools/gimpvectortool.c Update the status bar
2006-07-30  Raphael Quinet  <raphael@gimp.org>

	* app/tools/gimppainttool.c
	* app/tools/gimpvectortool.c
	* app/tools/gimpselectiontool.c: Update the status bar messages.
	Work in progress, partial fix for bug #124040.
2006-07-30 20:15:07 +00:00
Marco Ciampa 1811714791 small fix in italian translation 2006-07-30 19:57:05 +00:00
Marco Ciampa 3c29fc1ccf small fix in italian translation 2006-07-30 19:51:35 +00:00
Karine Delvare d16cfa55d7 check zero division in the right place. Fixes bug #348807.
2006-07-30  Karine Delvare  <edhel@gimp.org>

	* app/tools/gimprectangletool.c: check zero division in the right
	place. Fixes bug #348807.
2006-07-30 19:38:50 +00:00
Francisco Javier F. Serrador 05fb296cf6 Updated Spanish translation.
2006-07-29  Francisco Javier F. Serrador  <serrador@openshine.com>

	* es.po: Updated Spanish translation.
2006-07-29 17:33:50 +00:00
David Odin cd2d93f3c1 small cleanups.
* plug-ins/bmp/bmpwrite.c: small cleanups.
2006-07-28 22:18:32 +00:00
Simon Budig 386d400db6 ported to new vectors API, removed some of the cruft (there is plenty
2006-07-28  Simon Budig  <simon@gimp.org>

	* plug-ins/sel2path/sel2path.c: ported to new vectors API,
	removed some of the cruft (there is plenty here...).
2006-07-28 21:58:30 +00:00
Michael Natterer 9426dd3702 removed GObject::dispose() implementation (no need to disconnect from a
2006-07-28  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpbycolorselecttool.c: removed GObject::dispose()
	implementation (no need to disconnect from a signal connected with
	g_signal_connect_object). Code cleanup in some functions.
2006-07-28 20:04:06 +00:00
Simon Budig 8915dcda97 added the new symbol
2006-07-28  Simon Budig  <simon@gimp.org>

	* libgimp/gimp.def: added the new symbol

	* tools/pdbgen/pdb/vectors.pdb: cosmetics.

	* app/pdb/vectors_cmds.c
	* libgimp/gimpvectors_pdb.[ch]: regenerated.

	[oops - forgot to commit the new Changelog]
2006-07-28 17:51:16 +00:00
Simon Budig 990e85e23c added the new symbol
2006-07-28  Simon Budig  <simon@gimp.org>

	* libgimp/gimp.def: added the new symbol

	* tools/pdbgen/pdb/vectors.pdb: cosmetics.

	* app/pdb/vectors_cmds.c
	* libgimp/gimpvectors_pdb.[ch]: regenerated.
2006-07-28 17:34:50 +00:00
Michael Natterer 506d7a56c2 minor code cleanup.
2006-07-28  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptoolcontrol.[ch]: minor code cleanup.
2006-07-28 17:19:23 +00:00
Simon Budig 04c16c08b5 implemented gimp-vectors-to-selection. deprecated gimp-path-to-selection.
2006-07-28  Simon Budig  <simon@gimp.org>

	* tools/pdbgen/pdb/vectors.pdb: implemented gimp-vectors-to-selection.
	* tools/pdbgen/pdb/paths.pdb: deprecated gimp-path-to-selection.

	* app/pdb/internal_procs.c
	* app/pdb/paths_cmds.c
	* app/pdb/vectors_cmds.c
	* libgimp/gimppaths_pdb.[ch]
	* libgimp/gimpvectors_pdb.[ch]: regenerated.
2006-07-28 14:54:31 +00:00
Francisco Javier F. Serrador 226e7e8222 Updated Spanish translation.
2006-07-28  Francisco Javier F. Serrador  <serrador@openshine.com>

	* es.po: Updated Spanish translation.
2006-07-28 09:47:24 +00:00
Raphael Quinet 8576f41ecd Clarify how patches can be submitted.
2006-07-27  Raphael Quinet  <raphael@gimp.org>

	* HACKING: Clarify how patches can be submitted.
2006-07-27 20:39:34 +00:00