Commit Graph

18430 Commits

Author SHA1 Message Date
Sven Neumann fc47eb5cbd implement using gimp_draw_tool_draw_lines().
2006-08-09  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpfreeselecttool.c (gimp_free_select_tool_draw):
	implement using gimp_draw_tool_draw_lines().
2006-08-08 23:25:44 +00:00
Sven Neumann fa7427487f allow to configure the ellipsize property of the text renderer.
2006-08-09  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainercombobox.[ch]: allow to configure the
	ellipsize property of the text renderer.

	* app/dialogs/image-new-dialog.c: don't pack the template
combo-box
	expanding, unset the ellipsize property.
2006-08-08 22:15:46 +00:00
Sven Neumann 48d054e8d4 added new function gimp_message() as a replacement for g_message(). Part
2006-08-08  Sven Neumann  <sven@gimp.org>

	* app/core/gimp.[ch]: added new function gimp_message() as a
	replacement for g_message(). Part of the fix for bug #347214.

	* app/actions/data-commands.c
	* app/actions/documents-commands.c
	* app/actions/file-commands.c
	* app/actions/layers-commands.c
	* app/core/gimpimage-convert.c
	* app/core/gimpimagefile.c
	* app/core/gimpitem.c
	* app/core/gimplayer.c
	* app/dialogs/file-open-dialog.c
	* app/dialogs/file-open-location-dialog.c
	* app/dialogs/file-save-dialog.c
	* app/display/gimpdisplayshell-dnd.c
	* app/pdb/gimppdb.c
	* app/tools/gimpblendtool.c
	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcolorizetool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpposterizetool.c
	* app/tools/gimpthresholdtool.c
	* app/widgets/gimpwidgets-utils.c
	* app/xcf/xcf-load.c
	* app/xcf/xcf-private.h
	* app/xcf/xcf-save.c
	* app/xcf/xcf.c
	* tools/pdbgen/pdb/brush.pdb
	* tools/pdbgen/pdb/gradient.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/palette.pdb: use gimp_message() instead of
	gimp_message() whenever we have a GimpProgress.

	* app/pdb/brush_cmds.c
	* app/pdb/gradient_cmds.c
	* app/pdb/image_cmds.c
	* app/pdb/palette_cmds.c: regenerated.
2006-08-08 21:06:36 +00:00
Sven Neumann 504fe2ccac app/core/gimp-gui.[ch] renamed gimp_message() to gimp_show_message()
2006-08-08  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-gui.[ch]
	* app/gui/gui-vtable.c: renamed gimp_message() to
gimp_show_message()

	* app/errors.c
	* tools/pdbgen/pdb/message.pdb: changed accordingly.

	* app/pdb/message_cmds.c: regenerated.
2006-08-08 18:18:40 +00:00
Sven Neumann 9f1b9a81a0 applied patch from Robert Ögren to fix a segfault on 64bit architectures
2006-08-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/warp.c (diff_prepare_row): applied patch from
	Robert Ögren to fix a segfault on 64bit architectures (bug
#327479).
2006-08-08 17:40:43 +00:00
Inaki Larranaga 94748b3a34 Updated Basque translation.
2006-08-08  Inaki Larranaga  <dooteo@euskalgnu.org>

	* eu.po: Updated Basque translation.
2006-08-08 17:01:36 +00:00
Inaki Larranaga c4a8fff808 Fixed some typos.
2006-08-08  Inaki Larranaga  <dooteo@euskalgnu.org>

	* eu.po: Fixed some typos.
2006-08-08 16:59:48 +00:00
Sven Neumann 09fe7e5f38 fixed gtk-doc comments.
2006-08-08  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpzoompreview.c: fixed gtk-doc comments.
2006-08-08 16:46:12 +00:00
Sven Neumann e31e58335b remove the procedure from the history.
* app/plug-in/gimppluginmanager.c
	(gimp_plug_in_manager_remove_temp_proc): remove the procedure
from
	the history.
2006-08-08 16:34:22 +00:00
Sven Neumann e1c13c0bc5 added API to remove a procedure from the history.
2006-08-08  Sven Neumann  <sven@gimp.org>

	* app/plug-in/gimppluginmanager-history.[ch]: added API to
remove
	a procedure from the history.

	* app/plug-in/gimppluginmanager.c
	(gimp_plug_in_manager_remove_temp_proc): remove the procedure
from
	the history.
2006-08-08 16:32:54 +00:00
Sven Neumann a67657d84f app/plug-in/Makefile.am new files that deal with the history of plug-in
2006-08-08  Sven Neumann  <sven@gimp.org>

	* app/plug-in/Makefile.am
	* app/plug-in/gimppluginmanager-history.[ch]: new files that
deal
	with the history of plug-in procedures.

	* app/actions/plug-in-actions.[ch]
	* app/plug-in/gimppluginmanager.[ch]: changed accordingly.
2006-08-08 16:14:13 +00:00
Sven Neumann b65fa0215d add all procedures that take an image paramter to the history of last-used
2006-08-08  Sven Neumann  <sven@gimp.org>

	* app/actions/plug-in-commands.c (plug_in_run_cmd_callback): add
	all procedures that take an image paramter to the history of
	last-used procedures. Fixes bug #348243.
	(plug_in_repeat_cmd_callback): use
plug_in_collect_drawable_args()
	to construct the procedure arguments.

	* app/actions/plug-in-actions.c
	* app/plug-in/gimppluginmanager.[ch]: renamed "last_plug_ins" to
	"history"; it's actually a list of procedures.
2006-08-08 15:36:16 +00:00
Sven Neumann 75c54265ae typos 2006-08-08 14:47:38 +00:00
Sven Neumann a5f3a42b11 changed limits in gimp_drawable_thumbnail()in gimp_drawable_sub_thumbnail
2006-08-08  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/drawable.pdb: changed limits in
	gimp_drawable_thumbnail()in gimp_drawable_sub_thumbnail to 1024
	(GIMP_VIEWABLE_MAX_PREVIEW_SIZE) and added an assertion like the
	one we have in image.pdb.

	* app/pdb/drawable_cmds.c
	* libgimp/gimpdrawable_pdb.c: regenerated.

	* libgimp/gimppixbuf.c: increased the limit to 1024 here as
well.
2006-08-08 14:45:40 +00:00
Sven Neumann 44594ae2e0 libgimpconfig/gimpconfig-deserialize.c (gimp_config_deserialize_property)
2006-08-08  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpconfig-deserialize.c
	(gimp_config_deserialize_property)
	* libgimpconfig/gimpconfig-serialize.c
	(gimp_config_serialize_property): check if the properties
	owner_type is an object type before calling g_type_class_peek().
2006-08-08 12:29:48 +00:00
Sven Neumann 29a494d146 made GimpToolOptions a prerequisite of the GimpRectangleOptions interface.
2006-08-08  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangleoptions.c
	(gimp_rectangle_options_interface_get_type): made
GimpToolOptions a
	prerequisite of the GimpRectangleOptions interface.

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_interface_get_type): made GimpDrawTool a
	prerequisite of the GimpRectangleTool interface.
2006-08-08 11:51:04 +00:00
Jakub Friedl e20544ca8a Updated Czech translation
2006-08-08  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation
2006-08-08 09:49:01 +00:00
Sven Neumann acca8d2008 removed workaround for a GtkFileChooser bug that doesn't seem to be needed
2006-08-08  Sven Neumann  <sven@gimp.org>

	* app/dialogs/file-save-dialog.c
	(file_save_dialog_new): removed workaround for a GtkFileChooser
	bug that doesn't seem to be needed any longer.
	(file_save_dialog_check_uri): commented out debug spew.
2006-08-08 07:51:35 +00:00
Sven Neumann 7e502f580b updated 2006-08-08 06:46:27 +00:00
Raphael Quinet c1530eb134 Mention that the mailing list is a good place to discuss patches (if they
2006-08-07  Raphael Quinet  <raphael@gimp.org>

	* HACKING: Mention that the mailing list is a good place to
	discuss patches (if they need to be discussed).
2006-08-07 15:15:27 +00:00
Sven Neumann 442c66484f added missing call to gimp_window_set_transient(). Fixes bug #348249.
2006-08-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	added missing call to gimp_window_set_transient(). Fixes bug #348249.
2006-08-07 12:02:45 +00:00
Sven Neumann 14b9553a2c added missing cast.
2006-08-07  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpactiongroup.c
	(gimp_action_group_add_string_actions): added missing cast.
2006-08-07 08:31:50 +00:00
Michael Natterer efc66870f5 restore unescaping of "__"-escaped underlines which was broken since the
2006-08-06  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimputils.c (gimp_strip_uline): restore unescaping
	of "__"-escaped underlines which was broken since the addition of
	"(_X)"-stripping.
2006-08-06 13:12:43 +00:00
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