Commit Graph

25165 Commits

Author SHA1 Message Date
Marco Ciampa 99682b434c Updated italian translation.
svn path=/trunk/; revision=28052
2009-02-19 21:41:09 +00:00
Michael Natterer 21540c940a no need to g_strdup_printf() a simple string, use g_strdup() instead.
2009-02-19  Michael Natterer  <mitch@gimp.org>

	* libgimpthumb/gimpthumbnail.c (gimp_thumbnail_save): no need to
	g_strdup_printf() a simple string, use g_strdup() instead.


svn path=/trunk/; revision=28050
2009-02-19 20:15:23 +00:00
Sven Neumann d1684f5424 Bug 99457 – Support for dynamics on tilt
2009-02-18  Sven Neumann  <sven@gimp.org>

	Bug 99457 – Support for dynamics on tilt

	* app/tools/gimppaintoptions-gui.c
	* app/paint/gimppaintoptions.[ch]: applied patch from Alexia 
Death
	that allows to map tilt to the dynamic brush parameters.


svn path=/trunk/; revision=28049
2009-02-18 20:19:47 +00:00
Aurimas Juška 3adee79814 default to empty tag set. changed to allow resources without tags
* data/tags/gimp-tags-default.xml.in: default to empty tag set.
* data/tags/gimp-tags.dtd: changed to allow resources without tags
assigned.

svn path=/trunk/; revision=28047
2009-02-17 21:23:33 +00:00
Aurimas Juška b58f3c7a2b got rid of extra message domain for tags.
svn path=/trunk/; revision=28046
2009-02-17 21:16:12 +00:00
Aurimas Juška 6575913f12 added support for tag translation, user installation and migration procedures for tags.xml.
svn path=/trunk/; revision=28045
2009-02-17 18:43:32 +00:00
Aurimas Juška a31ca23ddb fixed popup list (tag cloud) toggling by querying tags immediately instead
* app/widgets/gimptagentry.c (gimp_tag_entry_set_tag_string):
fixed popup list (tag cloud) toggling by querying tags immediately
instead of adding idle handler.

svn path=/trunk/; revision=28044
2009-02-16 14:44:04 +00:00
Aurimas Juška cf3e18312e don't cause tag query after focus-out. Fixes annoying bug.
* app/widgets/gimptagentry.c (gimp_tag_entry_commit_tags),
(gimp_tag_entry_strip_extra_whitespace): don't cause tag query
after focus-out. Fixes annoying bug.

svn path=/trunk/; revision=28043
2009-02-16 13:59:31 +00:00
Og B. Maciel d2d002dc37 Added myself to the credits section.
svn path=/trunk/; revision=28039
2009-02-15 16:15:16 +00:00
Og B. Maciel 0d381d892d Updated Brazilian Portuguese translation.
svn path=/trunk/; revision=28037
2009-02-15 14:17:42 +00:00
Sven Neumann 306374a851 Bug 99457 – Support for dynamics on tilt
2009-02-14  Sven Neumann  <sven@gimp.org>

	Bug 99457 – Support for dynamics on tilt

	* app/core/gimpbrush.[ch]
	* app/core/gimpbrushgenerated.c
	* app/core/gimpbrush-transform.[ch]
	* app/paint/gimpbrushcore.c
	* app/paint/gimpsmudge.c: applied patch from Alexia Death,
	separates brush scaling for x and y.


svn path=/trunk/; revision=28036
2009-02-14 22:00:48 +00:00
Martin Nordholts 18640f90e5 Remove gimp_drawable_update_tile_source_node()
Remove gimp_drawable_update_tile_source_node(), it was not useful.

svn path=/trunk/; revision=28034
2009-02-14 18:53:50 +00:00
Sven Neumann 8a28c073f1 app/core/gimpcoords-interpolate.c applied patch from Alexia Death that
2009-02-14  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcoords-interpolate.c
	* app/display/gimpdisplayshell-coords.c: applied patch from 
Alexia
	Death that fixes issues with the new stroke direction code
	(bug #520078).


svn path=/trunk/; revision=28030
2009-02-14 13:36:28 +00:00
Sven Neumann be83d34498 Bug 472644 – Rotate with clipping crops the whole layer
2009-02-14  Sven Neumann  <sven@gimp.org>

	Bug 472644 – Rotate with clipping crops the whole layer

	* app/core/gimp-transform-resize.c: applied patch as attached to
	bug #472644. Supposedly fixes the problem of the disappearing
	image.


svn path=/trunk/; revision=28029
2009-02-14 12:48:12 +00:00
Jorge Gonzalez Gonzalez 19e7b2a9e5 Updated Spanish translation by Francisco Vila
svn path=/trunk/; revision=28028
2009-02-14 10:50:15 +00:00
Jorge Gonzalez Gonzalez 4b4ad203fa Updated Spanish translation by Francisco Vila
svn path=/trunk/; revision=28027
2009-02-14 10:11:58 +00:00
Jorge Gonzalez Gonzalez b57ad310ad Updated Spanish translation by Francisco Vila
svn path=/trunk/; revision=28026
2009-02-14 10:07:52 +00:00
Sven Neumann fab84cac88 Bug 571628 – Scaling image to 25% turn background from white to grey
2009-02-13  Sven Neumann  <sven@gimp.org>

	Bug 571628 – Scaling image to 25% turn background from white to 
grey

	* app/paint-funcs/scale-region.c (pixel_average2): fixed 
right-shift
	for GRAYA pixels.


svn path=/trunk/; revision=28025
2009-02-13 20:44:47 +00:00
Michael Natterer 4897f4841c need to rip the floating selection's source node out of its layer's graph
2009-02-13  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable.c (gimp_drawable_sync_source_node): need
	to rip the floating selection's source node out of its layer's
	graph before using it in the floating selection sub-graph, and
	need to plug it back there when it's not a floating selection any
	longer.

	Unrelated:

	Also introduce a "fs_crop_node" that makes sure the floating
	selection stops at the drawable's boundaries.

	(gimp_drawable_visibility_changed): use item->node instead of
	gimp_item_get_node() because the latter creates the node on
	demand.

	* app/core/gimpdrawable-private.h: add fs_crop_node member.


svn path=/trunk/; revision=28022
2009-02-13 15:35:13 +00:00
Marco Ciampa 7a5690df43 Updated italian translation.
svn path=/trunk/; revision=28020
2009-02-13 15:09:08 +00:00
Michael Natterer 9a5afb3a1e plug-ins/file-faxg3/Makefile.am plug-ins/help/Makefile.am add
2009-02-12  Michael Natterer  <mitch@gimp.org>

	* plug-ins/file-faxg3/Makefile.am
	* plug-ins/help/Makefile.am
	* plug-ins/metadata/Makefile.am: add $(libgimpconfig) to LDADD
	where it was missing. Libgimp pulls in libgimpconfig and these
	plug-ins were linking against the installed libgimpconfig under
	some #$&%*#%&%$& .la file circumstances.


svn path=/trunk/; revision=28017
2009-02-12 20:35:21 +00:00
Alexandre Prokoudine 26112c8035 updated and improved Russian translation
svn path=/trunk/; revision=28016
2009-02-12 20:26:56 +00:00
Michael Natterer 712fd0ef5f Bug 567840 – GIMP's GtkScaleButton conflicts with GTK's
2009-02-12  Michael Natterer  <mitch@gimp.org>

	Bug 567840 – GIMP's GtkScaleButton conflicts with GTK's

	* app/widgets/gtkscalebutton.c: rename the type to
	"GimpGtkScaleButton" so we don't crash if the real
	GtkScaleButton type is registered too.


svn path=/trunk/; revision=28015
2009-02-12 18:20:45 +00:00
Sven Neumann 46835a81fb applied patch from Alexia Death that fixes a bug that was introduced by
2009-02-11  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcoords-interpolate.c
	(gimp_coords_interpolate_catmull): applied patch from Alexia 
Death
	that fixes a bug that was introduced by the last commit.


svn path=/trunk/; revision=28013
2009-02-11 18:52:14 +00:00
Priit Laes fd4b59b732 Translation updated by Mattias Põldaru
2009-02-11  Priit Laes  <plaes at svn dot gnome dot org>

	* et.po: Translation updated by Mattias Põldaru

svn path=/trunk/; revision=28011
2009-02-11 11:38:47 +00:00
Sven Neumann f64e2a76bf app/core/gimpcoords-interpolate.c app/core/gimpbrush-transform.c
2009-02-10  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcoords-interpolate.c
	* app/core/gimpbrush-transform.c
	* app/paint/gimppaintoptions.c
	* app/display/gimpdisplayshell-coords.c: applied patch from 
Alexia
	Death that fixes the direction of brush rotation (bug #520078).


svn path=/trunk/; revision=28010
2009-02-10 21:07:35 +00:00
Sven Neumann fd4b557fd7 applied patch from Alexia Death that introduces smoothing for the stroke
2009-02-10  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-coords.c
	(gimp_display_shell_eval_event): applied patch from Alexia Death
	that introduces smoothing for the stroke direction (bug 
#520078).


svn path=/trunk/; revision=28009
2009-02-10 19:45:37 +00:00
Jani Monoses e67cf94ffb Updated Romanian translation from Cristian Secară
svn path=/trunk/; revision=28007
2009-02-09 16:53:01 +00:00
Sven Neumann 385d0b0d6f applied patch from Alexia Death that changes the steppings of the newly
2009-02-09  Sven Neumann  <sven@gimp.org>

	* app/actions/tools-commands.c 
(tools_paint_brush_angle_cmd_callback):
	applied patch from Alexia Death that changes the steppings of 
the
	newly introduced brush rotation actions as suggested in bug 
#520078.


svn path=/trunk/; revision=28006
2009-02-09 12:14:01 +00:00
Sven Neumann b7bf06029c seems pointless to include the GIMP-specific GEGL operations as they can't
2009-02-09  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpgegltool.c (gimp_gegl_tool_dialog): seems
	pointless to include the GIMP-specific GEGL operations as they
	can't be reasonably controlled by the generic GEGL tool user
	interface.


svn path=/trunk/; revision=28005
2009-02-09 10:53:19 +00:00
Michael Natterer 051c051234 Bug 569470 – pls, introduce an option 'how many latest presets for color
2009-02-09  Michael Natterer  <mitch@gimp.org>

	Bug 569470 – pls, introduce an option 'how many latest presets for
	color curves should be saved'

	* app/config/gimprc-blurbs.h
	* app/config/gimpguiconfig.[ch]: add integer property
	"image-map-tool-max-recent" which defaults to ten. Adding a GUI
	for this IMO needs discussion, the value of ten seems appropriate.

	* app/widgets/gimpsettingsbox.[ch]
	(gimp_settings_box_add_current): add "gint max_recent" parameter
	and limit the number of recent settings to this number.

	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_response):
	pass the new settings property to above function.


svn path=/trunk/; revision=28004
2009-02-08 23:19:12 +00:00
Michael Natterer f9c64f092b if the curve view didn't handle the key press, chain up so the normal
2009-02-08  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpcurvestool.c (gimp_curves_tool_key_press): if the
	curve view didn't handle the key press, chain up so the normal
	GimpImageMapTool keys for reset/cancel/ok works.


svn path=/trunk/; revision=28003
2009-02-08 20:28:41 +00:00
Martin Nordholts 45aef9a352 Fix stack overwrites in gimp_paint_options_gui()
svn path=/trunk/; revision=28002
2009-02-08 19:26:25 +00:00
Michael Natterer 9999ccf790 Bug 520078 – Rotate brushes
2009-02-08  Michael Natterer  <mitch@gimp.org>

	Bug 520078 – Rotate brushes

	Applied a slightly modified patch from Alexia Death:

	* app/core/core-types.h (struct GimpCoords): add "direction" member.

	* app/core/gimpcoords.c: take direction into account in mix(),
	scalarprod(), length_squared(), manhattan_dist() and equal().

	* app/core/gimpcoords-interpolate.c
	(gimp_coords_interpolate_catmull): same here.
	* app/display/gimpdisplayshell-coords.c

	(gimp_display_shell_eval_event): same here.

	* app/paint/gimppaintoptions.[ch]: add properties for direction
	dynamics and adapt dynamics mixing accordingly.

	* app/paint/gimpbrushcore.c (gimp_brush_core_interpolate):
	"interpolate" direction too (in fact, just copy it from
	last_coords since it doesn't change along a straight line).

	* app/paint/gimppaintcore-stroke.c
	(gimp_paint_core_stroke_emulate_dynamics): emulate direction too.

	* app/tools/gimppaintoptions-gui.c: add GUI for direction dynamics.


svn path=/trunk/; revision=28001
2009-02-08 12:55:20 +00:00
Michael Natterer cb0f8d8d51 Simplify floating selection handling a bit more:
2009-02-07  Michael Natterer  <mitch@gimp.org>

	Simplify floating selection handling a bit more:

	* app/core/gimpdrawable.c
	(gimp_drawable_attach_floating_sel)
	(gimp_drawable_detach_floating_sel): call
	gimp_image_set_floating_selection() from these functions.

	* app/core/gimpfloatingselundo.c (gimp_floating_sel_undo_pop)
	* app/core/gimpimage.c (gimp_image_add,remove_layer)
	* app/core/gimplayer-floating-sel.c (floating_sel_to_layer): don't
	call it here because we already call above functions.


svn path=/trunk/; revision=28000
2009-02-07 19:23:32 +00:00
Michael Natterer bfb8e1e115 call gimp_drawable_invalidate_boundary(floating_sel). Fixes missing
2009-02-07  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable.c
	(gimp_drawable_attach_floating_sel)
	(gimp_drawable_detach_floating_sel): call
	gimp_drawable_invalidate_boundary(floating_sel). Fixes missing
	selection update after turning a floating selection into a
	layer. It's called redundantly now when adding or deleting a
	floating selection, but that doesn't hurt much.

	* app/core/gimpfloatingselundo.c (gimp_floating_sel_undo_pop):
	don't call it here because we already call above functions.


svn path=/trunk/; revision=27999
2009-02-07 19:09:55 +00:00
Martin Nordholts 7b8a62a2ab Update ChangeLog for the 4 latest commits.
svn path=/trunk/; revision=27998
2009-02-07 09:31:15 +00:00
Martin Nordholts ce697ffb54 Introduce and use gimp_image_map_update_undo_tiles()
Move undo tiles updating into a helper function
gimp_image_map_update_undo_tiles() so the logic of
gimp_image_map_apply() becomes clearer.

svn path=/trunk/; revision=27997
2009-02-07 09:31:10 +00:00
Martin Nordholts 2fa083c720 Introduce and use gimp_image_map_kill_any_idle_processors()
Introduce and use a local helper function
gimp_image_map_kill_any_idle_processors() to get a rid of some code
duplication.

svn path=/trunk/; revision=27996
2009-02-07 09:31:06 +00:00
Martin Nordholts ccaa981b50 Introduce and use gimp_image_map_cancel_any_idle_jobs()
Introduce and use a local helper function
gimp_image_map_cancel_any_idle_jobs() to get a rid of some code
duplication.

svn path=/trunk/; revision=27995
2009-02-07 09:31:01 +00:00
Martin Nordholts 72bb1965f8 Fix misindented return statement in gimpimagemap.c
svn path=/trunk/; revision=27994
2009-02-07 09:30:56 +00:00
Sven Neumann aff0c284ed let the brush angle wrap.
2009-02-06  Sven Neumann  <sven@gimp.org>

	* app/actions/tools-commands.c
	(tools_paint_brush_angle_cmd_callback): let the brush angle 
wrap.


svn path=/trunk/; revision=27993
2009-02-06 14:17:21 +00:00
Sven Neumann 2c3e22e680 mark strings for translation and add translator comments for them.
2009-02-06  Sven Neumann  <sven@gimp.org>

	* app/actions/actions.c (action_select_property): mark strings 
for
	translation and add translator comments for them.


svn path=/trunk/; revision=27992
2009-02-06 10:12:20 +00:00
Sven Neumann 2ca771ec55 prototype action_message() with format function attribute and move it to
2009-02-06  Sven Neumann  <sven@gimp.org>

	* app/actions/actions.c: prototype action_message() with format
	function attribute and move it to the bottom of the file.


svn path=/trunk/; revision=27991
2009-02-06 10:09:33 +00:00
Sven Neumann 2b5df1f1ce fixed parameters passed to action_select_property().
2009-02-06  Sven Neumann  <sven@gimp.org>

	* app/actions/tools-commands.c
	(tools_paint_brush_angle_cmd_callback): fixed parameters passed 
to
	action_select_property().


svn path=/trunk/; revision=27990
2009-02-06 10:03:05 +00:00
Sven Neumann d47b3050f5 mention Stephen in the ChangeLog as he did most of the work
svn path=/trunk/; revision=27989
2009-02-06 09:45:42 +00:00
Michael Natterer 952309a6ea Bug 471681 – Keyboard shortcuts for brush size/params need feedback
2009-02-06  Michael Natterer  <mitch@gimp.org>

	Bug 471681 – Keyboard shortcuts for brush size/params need
	feedback

	Applied patch from Sven Neumann which addresses above bug:

	* app/actions/actions.[ch]: add new function action_message()
	which pushes a temp message to a display's statusbar.

	(action_select_property): add GimpDisplay* parameter and call
	action_message() for int and double property changes.

	* app/actions/tools-commands.c: pass the display to
	action_select_property().

	* app/paint/gimpinkoptions.c: add some blurbs to make it work
	for the ink blob properties.


svn path=/trunk/; revision=27988
2009-02-05 23:44:30 +00:00
Sven Neumann 30c118b53c Bug 520078 – Rotate brushes
2009-02-05  Sven Neumann  <sven@gimp.org>

	Bug 520078 – Rotate brushes

	Applied patch from Alexia Death:

	* app/core/gimpbrush.[ch]
	* app/core/gimpbrushgenerated.c
	* app/core/gimpbrush-transform.[ch]: affine transformations for
	brushes. So far only scaling and rotation is supported. The
	transformation is done using nearest-neighbour. This is a
	regression and we need to add back interpolation before the next
	release.

	* app/paint/gimpsmudge.c
	* app/paint/gimppaintoptions.[ch]
	* app/paint/gimpbrushcore.[ch]: allow to control the brush
	rotation angle.

	* app/tools/gimppaintoptions-gui.c
	* app/tools/gimpbrushtool.c: added UI for controlling the
	brush rotation angle.

	* app/actions/tools-actions.c
	* app/actions/tools-commands.[ch]: add actions for controlling 
the
	brush rotation angle.


svn path=/trunk/; revision=27987
2009-02-05 21:47:57 +00:00
Michael Natterer d2a716d37f app/core/gimpdrawable.h move the preview related members to the private
2009-02-05  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable.h
	* app/core/gimpdrawable-preview.c: move the preview related
	members to the private struct.

	* app/core/gimpdrawable.c
	* app/core/gimpdrawable-private.h
	* app/core/gimpselection.c: changed accordingly.


svn path=/trunk/; revision=27986
2009-02-05 20:27:09 +00:00
Michael Natterer b0f519d591 sort the types by inheritence again, but keep the alphabetic ordering
2009-02-05  Michael Natterer  <mitch@gimp.org>

	* app/core/core-types.h: sort the types by inheritence again, but
	keep the alphabetic ordering within one level.


svn path=/trunk/; revision=27985
2009-02-05 20:24:35 +00:00