Commit Graph

18032 Commits

Author SHA1 Message Date
Sven Neumann d42a30e0ec do not use gtk_menu_attach_to_widget() but gtk_menu_set_screen(). Menus
2006-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c (menu_popup): do not use
	gtk_menu_attach_to_widget() but gtk_menu_set_screen(). Menus don't
	like to be attached multiple times.
2006-06-08 12:51:16 +00:00
Jakub Friedl 11cdcf7285 Czech terminology fix (unsharp mask).
2006-06-08  Jakub Friedl <jfriedl@suse.cz>

  * cs.po: Czech terminology fix (unsharp mask).
2006-06-08 11:34:54 +00:00
Sven Neumann 9f9324d15b *** empty log message *** 2006-06-08 09:51:37 +00:00
Jakub Friedl 28ddf1a801 Updated Czech translation.
2006-06-08  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.
2006-06-08 08:46:18 +00:00
William Skaggs 40db64f48c Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpimage-arrange.[ch]: added, utility function for
	aligning and arranging things in an image.

	* app/core/gimpitem-align.[ch}: removed, no longer needed.

	* app/core/gimpimage-item-list.[ch] (gimp_image_item_list_align):
	removed this function, no longer used.

	* app/core/Makefile.am: changes described above.

	* app/core/gimpguide.c: remove bit of cruft left accidentally.

	* app/tools/gimpalignoptions.[ch]: remove "alignment type"
	option, not needed at this point.

	* app/tools/gimpaligntool.[ch]: numerous changes, most
	importantly ability to align guides, and use them for
	alignment.  More work coming on this tool.
2006-06-07 21:29:54 +00:00
William Skaggs 4a60cf418b Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpguide.[ch]: add "removed" signal and associated
	paraphernalia.

	* app/core/gimpimage-guides.c (gimp_image_remove_guide): call
	gimp_guide_removed() to cause signal emission.
2006-06-07 20:13:51 +00:00
Sven Neumann 8ad41a0f1a removed extra semicolon to fix build on Solaris (bug #344203).
2006-06-07  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpnewrectselecttool.c: removed extra semicolon to
	fix build on Solaris (bug #344203).
2006-06-07 20:07:54 +00:00
William Skaggs 323f3cb921 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/display/gimpdisplayshell.c (gimp_display_shell_expose_guide):
	fix typo, s/get_position/get_orientation/.
2006-06-07 19:51:33 +00:00
Sven Neumann 402d57a40d added missing files.
2006-06-07  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added missing files.
2006-06-07 19:45:12 +00:00
Sven Neumann e1457fa5ca removed unused includes and property blurbs; fixed registration of the
2006-06-07  Sven Neumann  <sven@gimp.org>

	* app/core/gimpguide.c: removed unused includes and property
blurbs;
	fixed registration of the "id" property, it is not a GIMP_CONFIG
	property.
2006-06-07 18:41:38 +00:00
Sven Neumann f55b151430 removed unused includes and property blurbs.
2006-06-07  Sven Neumann  <sven@gimp.org>

	* app/core/gimpguide.c: removed unused includes and property
blurbs.
2006-06-07 18:32:25 +00:00
Michael Natterer 7499fc89ff added gimp_guide_get_ID().
2006-06-07  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpguide.[ch]: added gimp_guide_get_ID().

	* app/core/gimpimage-crop.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-flip.c
	* app/core/gimpimage-guides.c
	* app/core/gimpimage-resize.c
	* app/core/gimpimage-rotate.c
	* app/core/gimpimage-scale.c
	* app/core/gimpimage-snap.c
	* app/core/gimpimage-undo-push.c
	* app/display/gimpdisplayshell-draw.c
	* app/display/gimpdisplayshell.c
	* app/tools/gimpmovetool.c
	* app/xcf/xcf-save.c
	* tools/pdbgen/pdb/guides.pdb: use accessors instead of accessing
	GimpGuide's struct members directly.

	* app/pdb/guides_cmds.c: regenerated.
2006-06-07 15:49:59 +00:00
Michael Natterer bb2d9cbbdd added gimp_guide_get_ID().
2006-06-07  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpguide.[ch]: added gimp_guide_get_ID().

	* app/core/gimpimage-crop.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-flip.c
	* app/core/gimpimage-guides.c
	* app/core/gimpimage-resize.c
	* app/core/gimpimage-rotate.c
	* app/core/gimpimage-scale.c
	* app/core/gimpimage-snap.c
	* app/core/gimpimage-undo-push.c
	* app/display/gimpdisplayshell-draw.c
	* app/display/gimpdisplayshell.c
	* app/tools/gimpmovetool.c
	* app/xcf/xcf-save.c
	* tools/pdbgen/pdb/guides.pdb: use accessors instead of accessing
	GimpGuide's struct members directly.

	* app/pdb/guides_cmds.c: regenerated.
2006-06-07 15:47:30 +00:00
Sven Neumann 75815e3a23 app/actions/error-console-commands.[ch] app/widgets/gimphelp-ids.h added
2006-06-07  Sven Neumann  <sven@gimp.org>

	* app/actions/error-console-actions.c:
	* app/actions/error-console-commands.[ch]
	* app/widgets/gimphelp-ids.h
	* menus/error-console-menu.xml: added "select-all" action as
	suggested in bug #328838.
2006-06-07 13:47:55 +00:00
Jakub Friedl 7c7b6a3896 Fixed a bad string.
2006-06-07  Jakub Friedl <jfriedl@centrum.cz>

  * cs.po: Fixed a bad string.
2006-06-07 12:45:59 +00:00
Jakub Friedl 996fb1e89a cs update.
2006-06-07  Jakub Friedl <jfriedl@centrum.cz>

  * cs.po: cs update.
2006-06-07 12:30:28 +00:00
Jakub Friedl fa825242e4 updated Czech translation.
2006-06-06  Jakub Friedl <jfriedl@suse.cz>

  * cs.po: updated Czech translation.
2006-06-07 09:45:27 +00:00
Sven Neumann 23e8715285 added a setter for "orientation".
2006-06-07  Sven Neumann  <sven@gimp.org>

	* app/core/gimpguide.[ch]: added a setter for "orientation".

	* app/core/gimpimage-resize.c (gimp_image_resize_with_layers):
	removed unused variable; use for() loops to iterate over guides
	and sample points.
2006-06-07 07:57:24 +00:00
Sven Neumann 04e1fe94f1 derive from GObject, we don't need any GimpObject functionality here.
2006-06-07  Sven Neumann  <sven@gimp.org>

	* app/core/gimpguide.[ch]: derive from GObject, we don't need any
	GimpObject functionality here.  Declare "orientation" and "id"
	properties CONSTRUCT_ONLY, added a gimp_guide_new() function and
	emit notify on position changes.

	* app/core/gimpimage-guides.c: use gimp_guide_new() to instantiate
	guides.

	* app/core/gimpimage.c (gimp_image_get_memsize): formatting.
2006-06-07 07:45:16 +00:00
Michael Natterer 1cb89bf43f cosmetic cleanup.
2006-06-07  Michael Natterer  <mitch@gimp.org>

	* app/actions/context-commands.c: cosmetic cleanup.

	* app/core/core-types.h: move the GimpGuide typedef to the
	"misc objects" section.

	* app/tools/gimpforegroundselecttool.c: cosmetic cleanup.

	* app/tools/gimpmeasuretool.c (gimp_measure_tool_cursor_update):
	use the new corner and side cursors instead of using X cursors.

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_canvas_tool_events): renamed local variable
	"update_cursor" to "update_sw_cursor", it has confused me too
	often...
2006-06-07 07:30:40 +00:00
Sven Neumann 2234b2f029 fixed Bill's ChangeLog entry 2006-06-07 06:13:33 +00:00
William Skaggs a49cc445b8 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpguide.c
	* app/core/gimpguide.h: new files, implementing GuideGimp as a GimpObject

	* app/core/Makefile.am: add new files as sources

	* app/core/gimpimage-guides.h
	* app/core/gimpimage-guides.c: use the new object instead of defining
	GimpGuide here as a struct.

	* app/core/gimpimage-crop.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-flip.c
	* app/core/gimpimage-resize.c
	* app/core/gimpimage-rotate.c
	* app/core/gimpimage-scale.c
	* app/core/gimpimage-snap.c
	* app/core/gimpimage-undo-push.c
	* app/core/gimpimage.c
	* app/display/gimpdisplayshell-draw.c
	* app/display/gimpdisplayshell.c
	* app/pdb/guides_cmds.c
	* app/tools/gimpmovetool.c
	* app/xcf/xcf-save.c
	* tools/pdbgen/pdb/guides.pdb: include "core/gimpguide.h", and use
	g_object_ref/unref instead of gimp_image_guide_ref/unref.
2006-06-06 22:48:57 +00:00
Sven Neumann 09c605e28f initialize guide with the option's guide value.
2006-06-07  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c
(gimp_rectangle_tool_initialize):
	initialize guide with the option's guide value.
	(gimp_rectangle_tool_notify_guide): always sync with the
option's
	guide value, even when tool->display is NULL.
2006-06-06 22:24:36 +00:00
Karine Delvare 5113488f94 added guide notification.
2006-06-06  Karine Delvare  <edhel@gimp.org>

	* app/tools/gimprectangle.c: added guide notification.
2006-06-06 21:06:06 +00:00
Sven Neumann 73bdbfb43a removed unused variable; other cleanups.
2006-06-06  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c (gimp_rectangle_tool_draw):
removed
	unused variable; other cleanups.
2006-06-06 19:25:53 +00:00
Karine Delvare 0dc6775637 cleanup, moved the guide drawing to a utility function.
2006-06-06  Karine Delvare  <edhel@gimp.org>

	* app/tools/gimprectangletool.c: cleanup, moved the guide drawing
	to a utility function.
2006-06-06 19:14:25 +00:00
Sven Neumann 789d18863c minor cleanup, plugged a tiny memleak in script_fu_find_scripts().
2006-06-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c: minor cleanup, plugged
a
	tiny memleak in script_fu_find_scripts().
2006-06-06 18:50:21 +00:00
Sven Neumann 563af4aea9 minor cleanup.
2006-06-06  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_notify_highlight): minor cleanup.
2006-06-06 18:07:04 +00:00
Sven Neumann aafaa7def1 plug-ins/script-fu/script-fu-interface.[ch] applied a modified patch from
2006-06-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.[ch]
	* plug-ins/script-fu/script-fu.c (script_fu_refresh_proc):
applied
	a modified patch from Kevin Cozens.  Fixes bug #330981.
2006-06-06 17:49:56 +00:00
Jakub Friedl 540eee2e12 cs update.
2006-06-06  Jakub Friedl <jfriedl@centrum.cz>

  * cs.po: cs update.
2006-06-06 17:22:20 +00:00
Jakub Friedl a07ef16998 Updated Czech translation.
2006-06-06  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.
2006-06-06 13:54:48 +00:00
Jakub Friedl e3f0354ffa Minor cs update and terminology fix.
2006-06-06  Jakub Friedl <jfriedl@centrum.cz>

  * cs.po: Minor cs update and terminology fix.
2006-06-06 13:31:01 +00:00
Sven Neumann bbfabca254 applied a modified patch from Clarence Risher that adds support for a
2006-06-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/decompose.c: applied a modified patch from
	Clarence Risher that adds support for a registration color
	(bug #338049).
2006-06-06 08:39:02 +00:00
Sven Neumann b163dd9579 added a const qualifier.
2006-06-06  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimpcolorspace.[ch] (gimp_rgb_to_hsv4): added a
	const qualifier.
2006-06-06 08:35:55 +00:00
Michael Natterer b18a520b3f flush the image after changing it.
2006-06-06  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpnewrectselecttool.c
	(gimp_new_rect_select_tool_cancel)
	(gimp_new_rect_select_tool_rectangle_changed): flush the image
	after changing it.

	* app/tools/gimprectangletool.c (gimp_rectangle_tool_halt): don't
	flush it here.
2006-06-06 08:04:49 +00:00
Sven Neumann f50b532494 minor cleanup.
2006-06-06  Sven Neumann  <sven@gimp.org>

	* app/actions/select-commands.c: minor cleanup.
2006-06-06 06:39:40 +00:00
William Skaggs d342691580 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/paint-funcs/scale-funcs.c (scale_region_lanczos):
	fix variable declarations accidentally changed from gdouble
	to gint in revision 1.7; fixes bug #343804.
2006-06-05 22:45:09 +00:00
Sven Neumann d4c00b7b5c bumped version to 2.3.10.
2006-06-06  Sven Neumann  <sven@gimp.org>

        * configure.in: bumped version to 2.3.10.
2006-06-05 22:04:51 +00:00
Sven Neumann 20014cb752 Made 2.3.9 development release.
2006-06-05  Sven Neumann  <sven@gimp.org>

        * Made 2.3.9 development release.
2006-06-05 21:58:22 +00:00
Michael Natterer 64032cbaca subtract 1 from outlined width/height instead of adding 1 to filled.
2006-06-05  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpdrawtool.c
	(gimp_draw_tool_draw_rectangle_by_anchor)
	(gimp_draw_tool_draw_arc_by_anchor): subtract 1 from outlined
	width/height instead of adding 1 to filled.
2006-06-05 21:39:23 +00:00
Sven Neumann e0d2542469 news for the 2.3.9 release 2006-06-05 21:21:18 +00:00
Michael Natterer 5e30f2f1d6 use GimpDrawTool API, not GimpCanvas one. Some cleanup.
2006-06-05  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangletool.c (gimp_rectangle_tool_draw): use
	GimpDrawTool API, not GimpCanvas one. Some cleanup.
2006-06-05 20:48:58 +00:00
Sven Neumann fa4427f83a fixed documentation of gimp-selection-sharpen (bug #343911).
2006-06-05  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/selection.pdb: fixed documentation of
	gimp-selection-sharpen (bug #343911).

	* libgimp/gimpselection_pdb.c: regenerated.
2006-06-05 20:36:21 +00:00
Sven Neumann 528a5a3691 app/paint-funcs/paint-funcs.[ch] app/core/gimpchannel.[ch]
2006-06-05  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs.[ch]
	* app/core/gimpchannel.[ch]
	* app/core/gimpselection.c:
	* app/actions/select-commands.c: further cleaned up the patch
from
	bug #88633.
2006-06-05 20:19:12 +00:00
Karine Delvare 23f86e93b8 added GimpRectangleGuide enum.
2006-06-05  Karine Delvare  <edhel@gimp.org>

	* app/tools/tools-enums.[ch]: added GimpRectangleGuide enum.

	* app/tools/gimpcropoptions.c
	* app/tools/gimprectangleoptions.[ch]
	* app/tools/gimprectangletool.c: added GimpRectangleGuide option to
	draw guides inside the rectangle. Fixes bug #323669.
2006-06-05 18:50:13 +00:00
Michael Natterer b37478550d Applied slightly modified patch from saulgoode which allows to border a
2006-06-05  Michael Natterer  <mitch@gimp.org>

	Applied slightly modified patch from saulgoode which allows to
	border a selection without feathering. Fixes bug #88633.

	* app/paint-funcs/paint-funcs.[ch] (border_region): added boolean
	"feather_border" parameter.

	* app/core/gimpchannel.[ch]: GimpChannel::border(): ditto.

	* app/core/gimpselection.c: changed accordingly.

	* app/actions/select-commands.c: added a toggle to the border
	dialog and pass it to gimp_channel_border().

	* tools/pdbgen/pdb/selection.pdb: pass TRUE here.

	* app/pdb/selection_cmds.c: regenerated.
2006-06-05 18:33:49 +00:00
Michael Natterer d2911f6aee removed enum GimpRectangleMode.
2006-06-05  Michael Natterer  <mitch@gimp.org>

	* app/tools/tools-enums.[ch]: removed enum GimpRectangleMode.

	* app/tools/gimprectangletool.[ch]: added virtual function
	GimpRectangleTool::cancel(). Added public wrapper for it. Removed
	coordinates paramaters from gimp_rectangle_tool_execute(). Removed
	gimp_rectangle_tool_response(), need to call either execute() or
	cancel() now. Added gimp_rectangle_tool_halt() which disconnects
	the tool from the display without canceling it.

	* app/tools/gimpcroptool.c: changed accordingly.

	* app/tools/gimpnewrectselecttool.c: moved the rectangle creating
	code from the execute() implementation to the new function
	gimp_new_rect_select_tool_rect_select(). Added cancel()
	implementation which pops the remembered undo step if
	appropriate. Call the new rect_select() wrapper from
	rectangle_changed() so we don't create the rectangle on both
	button_release *and* execute(), breaking modifiers and stuff.
2006-06-05 17:14:16 +00:00
Sven Neumann 5cb9278d07 connect to "expose-event" with G_SIGNAL_CONNECT_AFTER so that the text is
2006-06-05  Sven Neumann  <sven@gimp.org>

	* app/gui/splash.c (splash_create): connect to "expose-event"
with
	G_SIGNAL_CONNECT_AFTER so that the text is rendered on the
image.
2006-06-05 15:10:05 +00:00
Sven Neumann 4df1b1a5dd added back support for animated splashes but continue to use the optimized
2006-06-05  Sven Neumann  <sven@gimp.org>

	* app/gui/splash.c: added back support for animated splashes but
	continue to use the optimized code for static splash images.
2006-06-05 14:31:28 +00:00
Sven Neumann d74375fd42 simplified further 2006-06-05 13:51:34 +00:00