Commit graph

18764 commits

Author SHA1 Message Date
Sven Neumann 49bbdfa9a2 only store the settings if run interactively. Fixes bug #356044.
2006-09-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp.c (run): only store the settings if run
	interactively. Fixes bug #356044.
2006-09-15 08:01:12 +00:00
William Skaggs 3c2c165b9c Bill Skaggs <weskaggs@primate.ucdavis.edu>
Trying to implement some usability recommendations from
	Peter Sikking: bigger handles, more feedback to user.

	* app/display/gimpcanvas.[ch]: add
	GIMP_CANVAS_STYLE_XOR_STIPPLED to set of styles.

	* app/tools/gimpdrawtool.[ch]
	(gimp_draw_tool_draw_rectangle_stippled): new function.
	Needs a better stipple pattern, though.

	* app/tools/gimprectangletool.c: bigger handles in corners,
	and highlight thing that user is currently moving.
2006-09-15 00:01:59 +00:00
William Skaggs 769fd8c5a3 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimprectangletool.c: even if constraining to boundaries,
	keep updating rectangel when pointer goes outside boundaries.
	Fixes bug #355740.
2006-09-14 21:51:35 +00:00
David Lodge 174023608e Updated English (British) translation
2006-09-14  David Lodge <dave@cirt.net>

	* en_GB.po: Updated English (British) translation
2006-09-14 18:19:46 +00:00
William Skaggs 4ff0ca1c38 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimppropwidgets.[ch]: add prop widget specially
	for controlling aspect ratio.

	* app/tools/gimprectangleoptions.ch]: use "aspect-numerator"
	and "aspect-denominator" properties instead of "aspect",
	and use new prop widget in gui to set and display them.

	* app/tools/gimprectangletool.c: calculate aspect from
	numerator and denominator.
2006-09-14 17:11:24 +00:00
Michael Natterer 1db7c2075a when editing a "smooth" curve, update the image while dragging instead of
2006-09-14  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpcurvestool.c (curves_graph_events): when editing a
	"smooth" curve, update the image while dragging instead of on
	button_release. Suggested by Joel Becker.
2006-09-14 17:05:43 +00:00
Francisco Javier F. Serrador 58b5c49b02 Fixed #355936
2006-09-14  Francisco Javier F. Serrador  <serrador@openshine.com>

	* es.po: Fixed #355936
2006-09-14 11:15:55 +00:00
Sven Neumann 9f9e956cbc use gtk.CLOSE instead of "Close" to clarify why this string doesn't need
2006-09-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/gtkcons.py: use gtk.CLOSE instead of
	"Close" to clarify why this string doesn't need to be marked for
	translation.
2006-09-14 08:53:52 +00:00
Sven Neumann ef68c4c9c2 typos, formatting 2006-09-14 08:47:09 +00:00
Sven Neumann 730e5ab597 app/widgets/gimpcontrollereditor.[ch] pass a GimpContext to
2006-09-14  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontrollereditor.[ch]
	* app/widgets/gimpcontrollerlist.c: pass a GimpContext to
	gimp_viewable_dialog_new().
2006-09-14 08:44:17 +00:00
Sven Neumann 14d80ba157 app/actions/image-actions.c app/dialogs/preferences-dialog.c
2006-09-14  Sven Neumann  <sven@gimp.org>

	* app/actions/image-actions.c
	* app/dialogs/preferences-dialog.c
	* app/tools/gimpvectortool.c
	* app/widgets/gimpcontrollereditor.c:
	* plug-ins/common/autocrop.c
	* plug-ins/common/max_rgb.c: resolved conflicting mnemonics, added
	some new ones (bug #355761).
2006-09-14 08:24:05 +00:00
Jakub Steiner 0a61a1d4e5 help icon in tango styling 2006-09-14 08:15:36 +00:00
Sven Neumann b7e2ab2d2b marged strings for translation.
2006-09-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: marged strings for translation.
2006-09-14 06:59:46 +00:00
David Lodge d761490951 Updated English (British) translation
2006-09-14  David Lodge <dave@cirt.net>

	* en_GB.po: Updated English (British) translation
2006-09-14 06:42:54 +00:00
Michael Natterer c133b39798 set a context on the GimpContainerEntry.
2006-09-14  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/file-open-location-dialog.c: set a context on the
	GimpContainerEntry.
2006-09-13 23:44:20 +00:00
Michael Natterer 70cf90b0c8 Don't popup the completion when there is only a single match because we
2006-09-14  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainerentry.c: Don't popup the completion
	when there is only a single match because we already use inline
	completion.
2006-09-13 22:51:52 +00:00
Michael Natterer 936ee063e1 implement GimpContainerView::set_context() and set the renderers'
2006-09-14  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainerentry.c: implement
	GimpContainerView::set_context() and set the renderers'
	contexts. Fixes more preview rendering warnings.
	Connect to GtkEntryCompletion::match-selected in addition to
	GtkEntry::changed to select the active item. Makes the whole
	thing work a lot better.
2006-09-13 22:40:24 +00:00
Michael Natterer bb0d526498 Need to be more careful with setting a tool's focus_dislay now that tools
2006-09-13  Michael Natterer  <mitch@gimp.org>

	Need to be more careful with setting a tool's focus_dislay now
	that tools can receive modifier events in more circumstances
	(fixes warnings with GimpEditSelectionTool)

	* app/tools/gimptool.c (gimp_tool_button_release): ref the tool
	around the function's body (GimpEditSelectionTool unrefs itself in
	button_release()), don't reset the active_modifier_state if it is 0.

	(gimp_tool_set_focus_display): reset the active_modifier_state if
	it is != 0 and the tool had an old focus_display.

	* app/tools/tool_manager.c (tool_manager_push,pop_tool): set the
	old active_tool's focus_display on the new one.
2006-09-13 21:28:17 +00:00
Marco Ciampa 04f67ea4a3 Updated italian translation 2006-09-13 20:08:20 +00:00
Sven Neumann ac610f0cf3 Makefile.am configure.in added basic infrastructure for a gimp20-python
2006-09-13  Sven Neumann  <sven@gimp.org>

	* Makefile.am
	* configure.in
	* po-python: added basic infrastructure for a gimp20-python
	translation domain.

	* plug-ins/pygimp/plug-ins/gimpcons.py
	* plug-ins/pygimp/plug-ins/gtkcons.py: mark some strings for
	translation, based on a patch from David Gowers (bug #351287).
2006-09-13 19:16:58 +00:00
Michael Natterer ca9825ecc5 added macro GIMP_PERSPECTIVE_CLONE_TOOL_GET_OPTIONS()
2006-09-13  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpperspectiveclonetool.h: added macro
	GIMP_PERSPECTIVE_CLONE_TOOL_GET_OPTIONS()

	* app/tools/gimpperspectiveclonetool.c: use it. Some minor
	cleanups, removed unused includes.
2006-09-13 18:00:30 +00:00
Sven Neumann 1303b872e7 tools/pdbgen/pdb/color.pdb tools/pdbgen/pdb/drawable.pdb
2006-09-13  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/color.pdb
	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/layer.pdb
	* tools/pdbgen/pdb/paint_tools.pdb
	* tools/pdbgen/pdb/selection_tools.pdb: use the canonical form
when
	refering to parameters in the procedure description.
2006-09-13 17:56:40 +00:00
Michael Natterer d607b7da4d cosmetic cleanups, renamed gimp_smudge_nonclipped_painthit_coords() to
2006-09-13  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimpsmudge.c: cosmetic cleanups, renamed
	gimp_smudge_nonclipped_painthit_coords() to
	gimp_smudge_brush_coords ().
2006-09-13 17:32:36 +00:00
Sven Neumann 0fb9104817 removed "Resize" from the tool name and description.
2006-09-13  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcroptool.c (gimp_crop_tool_register): removed
	"Resize" from the tool name and description.
2006-09-13 16:03:24 +00:00
Sven Neumann 56cf1aba38 changed mnemonics (bug #355761).
2006-09-13  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c: changed mnemonics (bug #355761).
2006-09-13 15:50:39 +00:00
Sven Neumann eddb6fd084 plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl added Lens
2006-09-13  Sven Neumann  <sven@gimp.org>

        * plug-ins/common/Makefile.am
        * plug-ins/common/plugin-defs.pl
        * plug-ins/common/lens.c: added Lens Distortion plug-in. Written by
        David Hodson and ported to newer GIMP APIs by Aurimas Juška and me
        (bug #324849).
2006-09-13 14:40:05 +00:00
Sven Neumann 7b53b46ba1 ref the context before destroying the dialog.
2006-09-13  Sven Neumann  <sven@gimp.org>

	* app/dialogs/image-new-dialog.c (image_new_create_image): ref the
	context before destroying the dialog.
2006-09-13 12:13:33 +00:00
Michael Natterer a4edd11b28 simplified by calling gimp_draw_tool_pause/resume() unconditionally (it
2006-09-13  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpbrushtool.c: simplified by calling
	gimp_draw_tool_pause/resume() unconditionally (it does no harm,
	regardless of whether the tool is in color picking mode or not).
	Return early in gimp_brush_tool_draw() if color picking is
	enabled.

	* app/tools/gimpsmudgetool.c (gimp_smudge_tool_init): don't enable
	color picking, the tool doesn't use FG or BG.
2006-09-13 11:04:49 +00:00
Michael Natterer 2e0f6b6b02 chain up before clearing src_drawable and src_display, so the draw tool
2006-09-13  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpsourcetool.c (gimp_source_tool_control): chain
	up before clearing src_drawable and src_display, so the draw
	tool can undraw the source marker. Fixes bug #355746.
2006-09-13 10:56:24 +00:00
Michael Natterer c8800a628b don't access the src_pickable when cloning from a pattern. Fixes runtime
2006-09-13  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimpclone.c (gimp_clone_motion): don't access the
	src_pickable when cloning from a pattern. Fixes runtime warnings.
2006-09-13 10:53:22 +00:00
Michael Natterer 0a341138e2 app/tools/gimpmeasuretool.h fixed _GET_OPTIONS() macros.
2006-09-13  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpmeasuretool.h
	* app/tools/gimppainttool.h: fixed _GET_OPTIONS() macros.
2006-09-13 10:44:40 +00:00
Sven Neumann bd754a97b0 update coordinates in status bar.
2006-09-13  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpblendtool.c (gimp_blend_tool_active_modifier_key):
	update coordinates in status bar.
2006-09-13 10:06:49 +00:00
Sven Neumann a42941ddb9 changed label to not include a "|" which can be easily confused with a
2006-09-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/pix.c (query): changed label to not include a
	"|" which can be easily confused with a translation context.
2006-09-13 08:46:25 +00:00
Sven Neumann 7dc4ad0f8e update status bar and optional dialog window.
2006-09-13  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpmeasuretool.c
(gimp_measure_tool_active_modifier_key):
	update status bar and optional dialog window.
2006-09-13 06:49:20 +00:00
Marco Ciampa 7cd39e7fa0 Updated italian translation 2006-09-13 00:07:34 +00:00
Michael Natterer 3bc9a7af2d added local "gboolean press" variables to improve readability.
2006-09-13  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptool.c (gimp_tool_set_active_modifier_state):
	added local "gboolean press" variables to improve readability.

2
2006-09-12 22:55:03 +00:00
David Lodge a37883664a Updated English (British) translation
2006-09-12  David Lodge <dave@cirt.net>

	* en_GB.po: Updated English (British) translation
2006-09-12 22:22:53 +00:00
Michael Natterer a584c1312d added a parargaph of the original copyright notice that was forgotten when
2006-09-12  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/tiff.c: added a parargaph of the original
	copyright notice that was forgotten when originally pasting it.
2006-09-12 20:45:51 +00:00
Michael Natterer 2ab5d86ae8 implement active_modifier_key() and give immediate feedback when Control
2006-09-12  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpmeasuretool.[ch]: implement active_modifier_key()
	and give immediate feedback when Control (constrain to 15 degrees)
	is toggled. Did a s/mtool/measure/g.
2006-09-12 20:24:50 +00:00
Michael Natterer 8f9864755f reset the active_modifier_state *after* invoking the tool's
2006-09-12  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptool.c (gimp_tool_button_release): reset the
	active_modifier_state *after* invoking the tool's button_release().

	* app/tools/gimpblendtool.[ch]: implement active_modifier_key()
	and give immediate feedback when Control (constrain to 15 degrees)
	is toggled.
2006-09-12 19:36:05 +00:00
Michael Natterer 868b8afbff Added new tool API for modifier key events while the tool is active and
2006-09-12  Michael Natterer  <mitch@gimp.org>

	Added new tool API for modifier key events while the tool
	is active and implement it in the rect select and crop tools.
	Fixes bug #316156 and bug #355302.

	* app/tools/gimptool.[ch]: added GimpTool::active_modifier_key()
	and public function gimp_tool_set_active_motifier_state(). Remember
	the active_state at button_press and reset it on button_release.
	Ignore releases of modifiers that were pressed at button_press (but
	only ignore them once).

	* app/tools/tool_manager.[ch]: added wrapper
	tool_manager_active_modifier_state_active().

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_events): return FALSE for all modifiers even
	when mouse button 1 is pressed.

	(gimp_display_shell_canvas_tool_events): when bouse button 1 is
	pressed *and* the tool is active, dispatch the new active_modifier
	events to tools.

	* app/tools/gimpcroptool.c
	* app/tools/gimprectangleselecttool.c
	* app/tools/gimprectangletool.[ch]: implement active_modifier_key()
	instead of modifier_key().
2006-09-12 18:41:09 +00:00
Sven Neumann 79d3d2915c need to restart the selection here. Should fix bug #355395 and bug
2006-09-12  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-selection.c (selection_undraw):
need
	to restart the selection here. Should fix bug #355395 and bug
#355456.
2006-09-12 18:04:08 +00:00
Sven Neumann 7cbb46b2f0 if the "bad" cursor modifier is set, show the cursor regardless of the
2006-09-12  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpbrushtool.c (gimp_brush_tool_cursor_update): if
	the "bad" cursor modifier is set, show the cursor regardless of
	the gimprc "show-paint-tool-cursor" setting.
2006-09-12 14:24:10 +00:00
Michael Natterer ff45766f9b made gimp_source_core_motion() a public function for the time being,
2006-09-12  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimpsourcecore.[ch]: made gimp_source_core_motion() a
	public function for the time being, pending further refactoring.

	* app/paint/gimpperspectiveclone.[ch]: derive from GimpClone and
	remove everything that is already imeplemented in the parent
	classes. Particullarly, removed motion() implementation in favor
	of a get_source() implementation and simply use GimpClone's
	motion(). Also refuse to work on indexed drawables.

	* app/paint/gimpperspectivecloneoptions.[ch]: derive from
	GimpCloneOptions and remove everything that is already done by the
	parent classes.

	* app/tools/gimpperspectiveclonetool.c: changed
	accordingly. Doesn't derive from GimpSourceTool yet since there is
	some virtual function refactoring in GimpSourceTool missing.
2006-09-12 12:57:55 +00:00
Sven Neumann a03e14af1a app/composite/gimp-composite-generic.c app/core/gimpimage-convert.c
2006-09-12  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite-generic.c
	* app/core/gimpimage-convert.c
	* app/actions/view-actions.c
	* app/dialogs/grid-dialog.c
	* app/dialogs/offset-dialog.c
	* app/dialogs/palette-import-dialog.c
	* app/display/gimpnavigationeditor.c
	* app/tools/gimpiscissorstool.c
	* app/widgets/gimptoolbox-image-area.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/cubism.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/exchange.c
	* plug-ins/common/fp.c
	* plug-ins/common/gif.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/laplace.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/nlfilt.c
	* plug-ins/common/nova.c
	* plug-ins/common/psp.c
	* plug-ins/common/randomize.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/tga.c
	* plug-ins/common/threshold_alpha.c
	* plug-ins/common/unsharp.c
	* plug-ins/common/vpropagate.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gflare/gflare.c
	* plug-ins/ifscompose/ifscompose.c: removed unused macros.
2006-09-12 11:46:10 +00:00
Sven Neumann 541d75a00b removed unused variables.
2006-09-12  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpviewrenderer-frame.c: removed unused variables.
2006-09-12 10:46:07 +00:00
Sven Neumann d19c796234 applied a modified patch from David Gowers that changes the search
2006-09-12  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimppaletteeditor.c (gimp_palette_editor_get_index):
	applied a modified patch from David Gowers that changes the search
	behaviour to favour colors in the neighborhood of the selected color
	(bug #355520).
2006-09-12 10:37:45 +00:00
Sven Neumann 5a4f8ad46e mention the Win32 twain plug-in in the summary.
2006-09-12  Sven Neumann  <sven@gimp.org>

	* configure.in: mention the Win32 twain plug-in in the summary.
2006-09-12 09:17:25 +00:00
Kostas Papadimas 6eb58d5cca el.po: Fixed typos by Dimitris Glezos <dimitris@glezos.com> 2006-09-12 09:16:25 +00:00
Michael Natterer d61e8e49e6 chain up to activate/halt the tool.
2006-09-12  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpcolortool.c (gimp_color_tool_button_press)
	(gimp_color_tool_button_release): chain up to activate/halt the tool.

	* app/tools/gimppainttool.c (gimp_paint_tool_button_press)
	(gimp_paint_tool_button_release)
	(gimp_paint_tool_motion): if the color tool is enabled, chain up
	early and return. Fixes selection PAUSE/RESUME mismatch that was
	hiding this display's selection forever when moving sample points.
2006-09-12 09:05:41 +00:00