Commit graph

18600 commits

Author SHA1 Message Date
William Skaggs 55d716e258 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpwidgets/gimpwidgets.c (gimp_coordinate_callback):
	Don't stop emission of "value-changed" signal.  Fixes
	bug #346088.  Let's see if it breaks anything else...
2006-08-10 19:17:44 +00:00
William Skaggs d5cfa53e83 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangleselecttool.[ch]: if the user is
	modifying a rectangle and the mode is REPLACE, don't
	show the marching ants for the previous selection, because
	it confuses users.  Should fix bug #347945.
2006-08-10 19:03:46 +00:00
Sven Neumann 2c4f513d52 fixed the check for an empty image.
2006-08-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/autocrop.c: fixed the check for an empty
image.
2006-08-10 17:50:09 +00:00
William Skaggs 8e67a0649f Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/xcf/xcf-private.h
	* app/xcf/xcf-load.c
	* app/xcf/xcf-save.c: save sample points in xcf files,
	and load them.  Fixes bug #342480.
2006-08-10 17:10:12 +00:00
Sven Neumann 92a323256c added a copy of g_unescape_uri_string() from glib/gconvert.c and use it to
2006-08-10  Sven Neumann  <sven@gimp.org>

	* app/file/file-utils.c: added a copy of g_unescape_uri_string()
	from glib/gconvert.c and use it to improve the results of
	file_utils_uri_display_name() and file_utils_uri_display_basename().
2006-08-10 14:03:09 +00:00
Sven Neumann 9c638c85c0 use gimp_message().
2006-08-10  Sven Neumann  <sven@gimp.org>

	* app/dialogs/file-save-dialog.c: use gimp_message().

	* app/dialogs/preferences-dialog.c: use a GtkMessageDialog and
	make it transient for the preferences dialog.

	* libgimpwidgets/gimppropwidgets.c
	(gimp_prop_file_chooser_button_notify): use
	gtk_file_chooser_unselect_all() to unset the filename.
2006-08-10 13:12:17 +00:00
Sven Neumann 6f6bb9051d for load and save errors, use a GtkMessageDialog and make it transient for
2006-08-10  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpimagemaptool.c: for load and save errors, use a
	GtkMessageDialog and make it transient for the tool dialog.

	* app/tools/gimpvectortool.c: use gimp_message().
2006-08-10 12:46:01 +00:00
Sven Neumann 056c8f77f5 app/tools/gimpimagemaptool.[ch] app/tools/gimpcurvestool.c improved error
2006-08-10  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpimagemaptool.[ch]
	* app/tools/gimpcurvestool.c
	* app/tools/gimplevelstool.c: improved error handling for
	gimp_image_map_tool_settings_load().

	* app/tools/gimpposterizetool.c: added missing include.

	* app/config/gimpconfig-file.c: rephrased error messages.
2006-08-10 12:04:35 +00:00
Sven Neumann f4b0133050 set a border width of 12 on the toplevel container.
2006-08-10  Sven Neumann  <sven@gimp.org>

        * plug-ins/metadata/interface.c (metadata_dialog): set a border
        width of 12 on the toplevel container.
2006-08-10 11:16:33 +00:00
Sven Neumann 4066d80deb updated NEWS, cleaned up ChangeLog 2006-08-10 10:09:35 +00:00
Michael Natterer 0ec9784bbc the plug-in has one return value, not two (the trigger of the crasher in
2006-08-10  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/oilify.c (run): the plug-in has one return
	value, not two (the trigger of the crasher in bug #350555).
2006-08-10 08:58:25 +00:00
Michael Natterer 262fce4dc2 it's a bad idea to access an array before checking if it's long enough.
2006-08-09  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-in-params.c (plug_in_params_to_args): it's a
	bad idea to access an array before checking if it's long enough.
	Fixes bug #350555. Also added some comments, the logic here is
	really weird.
2006-08-09 21:22:50 +00:00
Sven Neumann 9d76a1734f removed unused variables 2006-08-09 17:41:26 +00:00
Sven Neumann 5d45aed020 minor update for the API reference 2006-08-09 15:44:40 +00:00
Sven Neumann 2b8ea21f36 added new function gimp_display_shell_transform_segments().
2006-08-09  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-transform.[ch]: added new function
	gimp_display_shell_transform_segments().

	* app/display/gimpdisplayshell-selection.c (selection_transform_segs)
	* app/tools/gimpregionselecttool.c
	(gimp_region_select_tool_calculate): use the new function instead
	of looping over the segments.
2006-08-09 14:05:00 +00:00
Sven Neumann f29b6c5027 use the new transform functions.
2006-08-09  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-draw.c (gimp_display_shell_draw_pen)
	(gimp_display_shell_draw_vector): use the new transform functions.

	* app/tools/gimpdrawtool.c  (gimp_draw_tool_draw_lines)
	(gimp_draw_tool_draw_strokes): bail out early if num_points == 0.
2006-08-09 13:40:21 +00:00
Sven Neumann 1c33f14bcf renamed transform_coords() to transform_coordinate(); same for the
2006-08-09  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-transform.[ch]: renamed
	transform_coords() to transform_coordinate(); same for the
	untransform variant. Added new functions transform_points() and
	transform_coords() that work on arrays.

	* app/display/gimpdisplayshell-autoscroll.c
	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.

	* app/tools/gimpdrawtool.c (gimp_draw_tool_draw_lines)
	(gimp_draw_tool_draw_strokes): use the new transform functions.
2006-08-09 13:15:49 +00:00
Sven Neumann 99f44594bd implement using gimp_draw_tool_draw_lines().
2006-08-09  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpiscissorstool.c (iscissors_draw_curve):
	implement using gimp_draw_tool_draw_lines().
2006-08-09 11:15:15 +00:00
Sven Neumann be3e38cdf4 fixed wrong translation.
2006-08-09  Sven Neumann  <sven@gimp.org>

	* de.po: fixed wrong translation.
2006-08-09 10:45:52 +00:00
Sven Neumann 20b4f56b83 chain up.
2006-08-09  Sven Neumann  <sven@gimp.org>

	* app/plug-in/gimppluginmanager.c (gimp_plug_in_manager_dispose):
	chain up.

	* libgimp/gimpzoompreview.[ch]: added API to get a pointer to the
	GimpZoomModel used by the preview and added a constructor that
	allows to pass a model.

	* libgimp/gimpui.def: updated.
2006-08-09 10:30:01 +00:00
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