Commit graph

23634 commits

Author SHA1 Message Date
Sven Neumann 8f2c6c0df5 fixed comment.
2008-08-07  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcurvestool.h: fixed comment.


svn path=/trunk/; revision=26412
2008-08-07 08:37:58 +00:00
Tor Lillqvist 8af046ad76 Define WIN32_LARGE_ADDRESS_AWARE as -Wl,--large-address-aware on 32-bit
2008-08-07  Tor Lillqvist  <tml@novell.com>

	* configure.in: Define WIN32_LARGE_ADDRESS_AWARE as
	-Wl,--large-address-aware on 32-bit Windows, empty
	otherwise. AC_SUBST() it.

	* app/Makefile.am (win32_ldflags): Use WIN32_LARGE_ADDRESS_AWARE
	instead of hardcoding the switch, as it isn't valid, and would be
	pointless, when building a 64-bit GIMP.


svn path=/trunk/; revision=26411
2008-08-07 00:36:47 +00:00
Sven Neumann 6d9a5394cc removed unused include.
2008-08-06  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-shadow.c: removed unused include.


svn path=/trunk/; revision=26406
2008-08-06 19:42:52 +00:00
Martin Nordholts c4f7677c1b The operation of centering the image in the display shell has by itself
2008-08-06  Martin Nordholts  <martinn@svn.gnome.org>

	* app/display/gimpdisplayshell-scale.c
	(gimp_display_shell_center_image): The operation of centering the
	image in the display shell has by itself nothing to do with
	resizing the display shell window.

svn path=/trunk/; revision=26404
2008-08-06 19:29:04 +00:00
Sven Neumann f67012e016 fixed gtk-doc comment syntax.
2008-08-06  Sven Neumann  <sven@gimp.org>

	* libgimp/gimppixelrgn.c (gimp_pixel_rgn_configure): fixed 
gtk-doc
	comment syntax.


svn path=/trunk/; revision=26403
2008-08-06 18:45:44 +00:00
Sven Neumann 597dc249cf minor cleanups.
2008-08-06  Sven Neumann  <sven@gimp.org>

	* app/gui/gimpdbusservice.c: minor cleanups.


svn path=/trunk/; revision=26398
2008-08-06 08:15:36 +00:00
Martin Nordholts 115598c276 Put my most recent ChangeLog entry in the right place.'
svn path=/trunk/; revision=26397
2008-08-05 18:09:14 +00:00
Martin Nordholts 57f2ffd161 Only center on the mouse pointer when zooming if it is within the canvas.
2008-08-05  Martin Nordholts  <martinn@svn.gnome.org>

	* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale):
	Only center on the mouse pointer when zooming if it is within the
	canvas.

svn path=/trunk/; revision=26396
2008-08-05 18:02:36 +00:00
Michael Natterer 612778c885 app/display/gimpdisplayshell-scroll.[ch]
2008-08-05  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-scroll.[ch]
	* app/display/gimpdisplayshell-draw.c
	* app/display/gimpdisplayshell-scale.c
	* app/display/gimpdisplayshell-transform.c: get rid of the "image"
	part in all instances of "scaled_image_viewport_offset", we call
	it simply "viewport" in all other places and it makes the code
	more readable.


svn path=/trunk/; revision=26395
2008-08-05 17:50:32 +00:00
Sven Neumann c12b5e932b changed refcounting and fixed a bug that I had introduced with the latest
2008-08-05  Sven Neumann  <sven@gimp.org>

	* app/gui/gimpdbusservice.[ch]: changed refcounting and fixed a
	bug that I had introduced with the latest changes.


svn path=/trunk/; revision=26391
2008-08-05 17:29:19 +00:00
Martin Nordholts 5a856e9d45 Don't setup scrollbar step increment here.
2008-08-05  Martin Nordholts  <martinn@svn.gnome.org>

	* app/display/gimpdisplayshell-scale.c
	(gimp_display_shell_scale_setup): Don't setup scrollbar step
	increment here.

	* app/display/gimpdisplayshell-scroll.c
	(gimp_display_shell_setup_hscrollbar_with_value)
	(gimp_display_shell_setup_vscrollbar_with_value): Setup scrollbar
	step increment here and make sure that a step always scrolls at
	least a display shell pixel.

svn path=/trunk/; revision=26390
2008-08-05 17:17:27 +00:00
Martin Nordholts f9d43a527f Clarify the design with a comment.
2008-08-05  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimpimage.c (gimp_image_real_size_changed_detailed):
	Clarify the design with a comment.

svn path=/trunk/; revision=26388
2008-08-05 17:01:51 +00:00
Sven Neumann 38df72dcbd keep a queue of D-Bus requests and work on them one after another instead
2008-08-05  Sven Neumann  <sven@gimp.org>

	* app/gui/gimpdbusservice.[ch]: keep a queue of D-Bus requests 
and
	work on them one after another instead of handling them all in
	parallel. Complements the fix for bug #546426.


svn path=/trunk/; revision=26386
2008-08-05 16:09:29 +00:00
Sven Neumann b726c54a7a reduced number of progress updates.
2008-08-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/value-propagate.c (value_propagate_body):
	reduced number of progress updates.


svn path=/trunk/; revision=26384
2008-08-05 15:34:44 +00:00
Sven Neumann 605701a29f don't waste CPU cycles scaling an empty channel.
2008-08-05  Sven Neumann  <sven@gimp.org>

	* app/core/gimpchannel.c (gimp_channel_scale): don't waste CPU
	cycles scaling an empty channel.


svn path=/trunk/; revision=26383
2008-08-05 15:27:18 +00:00
Sven Neumann ae07d6218c app/base/tile-manager.h moved a misplaced comment to the right place.
2008-08-05  Sven Neumann  <sven@gimp.org>

	* app/base/tile-manager.h
	* app/base/tile-pyramid.h: moved a misplaced comment to the 
right
	place.


svn path=/trunk/; revision=26382
2008-08-05 15:10:47 +00:00
Michael Natterer d5e80803ef move update_range callbacks where they belong and make them static.
2008-08-05  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c: move update_range
	callbacks where they belong and make them static.


svn path=/trunk/; revision=26379
2008-08-05 11:05:56 +00:00
Sven Neumann 9e2e07c948 actually commit the right change
svn path=/trunk/; revision=26378
2008-08-05 10:44:05 +00:00
Sven Neumann a2914ff2a1 added a translator comment for the "Learn more" button.
2008-08-05  Sven Neumann  <sven@gimp.org>

	* app/dialogs/tips-dialog.c (tips_dialog_create): added a
	translator comment for the "Learn more" button.

2008-08-05  Sven Neumann  <sven@gimp.org>

	* de.po: Updated German translation.


svn path=/trunk/; revision=26377
2008-08-05 10:43:38 +00:00
Sven Neumann 387431f357 Updated German translation.
2008-08-05  Sven Neumann  <sven@gimp.org>

	* de.po: Updated German translation.


svn path=/trunk/; revision=26376
2008-08-05 10:30:29 +00:00
Sven Neumann b8ce815e54 draw the guide all across the canvas, not limiting it to the image.
2008-08-05  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-draw.c 
(gimp_display_shell_draw_guide):
	draw the guide all across the canvas, not limiting it to the 
image.

	* app/tools/gimpdrawtool.[ch]: added new function
	gimp_draw_tool_draw_guide_line().

	* app/tools/gimpmovetool.c (gimp_move_tool_draw): use it.


svn path=/trunk/; revision=26375
2008-08-05 10:11:07 +00:00
Ignacio Casal Quinteiro 350190c683 Updated Galician translation
svn path=/trunk/; revision=26374
2008-08-05 09:32:14 +00:00
Ignacio Casal Quinteiro 657f5a113f Updated Galician translation
svn path=/trunk/; revision=26373
2008-08-05 09:31:43 +00:00
Sven Neumann e482d86521 moved the Windows menu next to the Help menu.
2008-08-05  Sven Neumann  <sven@gimp.org>

	* menus/image-menu.xml.in: moved the Windows menu next to the 
Help
	menu.


svn path=/trunk/; revision=26372
2008-08-05 09:26:19 +00:00
Sven Neumann 8cf6197552 open the files from an idle handler. Opening a file may take a while (in
2008-08-05  Sven Neumann  <sven@gimp.org>

	* app/gui/gimpdbusservice.c: open the files from an idle 
handler.
	Opening a file may take a while (in particular if it involves
	asking the user for input) and we need to respond to the D-Bus
	call before it times out.


svn path=/trunk/; revision=26370
2008-08-05 09:02:04 +00:00
Sven Neumann 93627c517b trivial coding style fix
svn path=/trunk/; revision=26369
2008-08-04 21:47:25 +00:00
Sven Neumann 85a6313ecb applied patch from Geert Jordaens as attached to bug #464466. Improves
2008-08-04  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/scale-region.c: applied patch from Geert
	Jordaens as attached to bug #464466. Improves quality of 
scaling,
	in particular down-scaling.


svn path=/trunk/; revision=26368
2008-08-04 20:58:41 +00:00
Michael Natterer 26c2c6afda :size-changed-detailed): change double to int in signal parameters.
2008-08-04  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage.[ch] (GimpImage::size-changed-detailed):
	change double to int in signal parameters.

	Remove gimp_image_emit_size_changed_signals() and call
	gimp_viewable_size_changed() in size-changed-detailed's default
	handler.

	* app/core/gimpimageundo.[ch]
	* app/core/gimpimage-undo-push.[ch]: change double to int in
	previous-origin related code.

	* app/core/gimpimage-undo.c
	* app/core/gimpimage-scale.c
	* app/core/gimpimage-crop.c
	* app/core/gimpimage-rotate.c
	* app/core/gimpimage-resize.c: call gimp_image_size_changed_detailed()
	instead of the removed gimp_image_emit_size_changed_signals()

	* app/display/gimpdisplayshell-scroll.[ch]: remove
	gimp_display_shell_handle_size_changed_detailed() because it
	handles both scrolling and scaling and doesn't belong here.

	* app/display/gimpdisplayshell-handlers.c: moved its code back to
	gimp_display_shell_size_changed_detailed_handler() and follow the
	double -> int change above.


svn path=/trunk/; revision=26367
2008-08-04 20:11:35 +00:00
Michael Natterer 21754282ef clarify if() condition.
2008-08-04  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimagemapconfig.c (gimp_image_map_config_compare):
	clarify if() condition.


svn path=/trunk/; revision=26366
2008-08-04 19:59:31 +00:00
Martin Nordholts 99be15829c The parameters should be named previous_origin_[xy].
2008-08-04  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimpimage.c (gimp_image_emit_size_changed_signals): The
	parameters should be named previous_origin_[xy].

svn path=/trunk/; revision=26365
2008-08-04 18:50:45 +00:00
Sven Neumann 6b262e6adb added translation context to blur-type menu (bug #546204).
2008-08-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/blur-motion.c (mblur_dialog): added 
translation
	context to blur-type menu (bug #546204).


svn path=/trunk/; revision=26363
2008-08-04 14:34:42 +00:00
Sven Neumann a94191e0db applied patch from Liam Quin as attached to bug #546159. Fixes bad data
2008-08-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/value-propagate.c: applied patch from Liam 
Quin
	as attached to bug #546159. Fixes bad data access for black and
	white propagation and removes unneeded calls to sqrt().


svn path=/trunk/; revision=26362
2008-08-04 14:27:38 +00:00
Sven Neumann 083c48d2d2 Applied a slightly modified patch from Róman Joost as attached to bug
2008-08-04  Sven Neumann  <sven@gimp.org>

	Applied a slightly modified patch from Róman Joost as attached 
to
	bug #545963. This add links to the user manual to the tips 
dialog:

	* data/tips/gimp-tips.dtd
	* data/tips/gimp-tips.xml.in: add optional help IDs to the tips.

	* app/dialogs/tips-dialog.c

	* app/dialogs/tips-parser.[ch]: parse the help IDs from the tips
	file and show a "Learn more" link in the tips dialog.


svn path=/trunk/; revision=26361
2008-08-04 13:56:07 +00:00
Martin Nordholts 6f8f412fd4 Center the image after connecting to it. This is required if the image we
2008-08-03  Martin Nordholts  <martinn@svn.gnome.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_new): Center
	the image after connecting to it. This is required if the image we
	connect to is smaller than the initial canvas size.

svn path=/trunk/; revision=26356
2008-08-03 17:57:13 +00:00
Martin Nordholts 6c48f2b601 Further work for completing bug #362915 that makes changes to the image
2008-08-03  Martin Nordholts  <martinn@svn.gnome.org>

	Further work for completing bug #362915 that makes changes to the
	image size (e.g when cropping) be much more nicely handled by
	display shell.

	* app/core/gimpimage.[ch]: Add new signal
	GimpImage::size-changed-detailed that is emited whenever
	GimpViewable::size-changed is. The new signal provides additional
	information, namely the previous origin relative to the current
	origin. Cliens choose what specific signal to listen to depending
	on how much info they need.

	* app/display/gimpdisplayshell-handlers.c: Connect to
	GimpImage::size-changed-detailed instead of
	GimpViewable::size-changed since the shell wants information about
	the previous image origin.
	(gimp_display_shell_resolution_changed_handler): Use
	gimp_display_shell_scale_resize() instead to avoid display
	garbage.

	* app/display/gimpdisplayshell-scale.[ch]: Add new utility
	function gimp_display_shell_center_image_on_next_size_allocate().

	* app/display/gimpdisplayshell-scroll.[ch]
	(gimp_display_shell_handle_size_changed_detailed): New function
	that replaces logic in gimp_display_shell_handle_size_changed and
	that takes previous-origin of the image into account and adjusts
	the offset so that the image content that remains doesn't move. If
	the window is resized on image resize, just center the image
	afterwards.

	* app/core/gimpimage-undo-push.[ch]
	(gimp_image_undo_push_image_size): Add previous-origin paremeters.

	* app/core/gimpimageundo.[ch]: Add and manage previous-origin
	properties so that the display shell offset can be appropriately
	adjusted also when undoing.

	* app/core/gimpundo.h
	* app/core/gimpimage-undo.c: Add previous_origin members to the
	undo accumulator and emit that information when the size of the
	image changes due to the undo.

	* app/core/gimpimage-crop.c (gimp_image_crop)
	* app/core/gimpimage-scale.c (gimp_image_scale)
	* app/core/gimpimage-rotate.c (gimp_image_rotate)
	* app/core/gimpimage-resize.c (gimp_image_resize_with_layers):
	Supply information about the previous-origin of the image to the
	size-changed signals and the undo system.

svn path=/trunk/; revision=26354
2008-08-03 11:35:53 +00:00
Djihed Afifi 900eedb5e5 Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=26351
2008-08-02 08:48:36 +00:00
Djihed Afifi 04610e7e1e Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=26347
2008-07-31 10:28:42 +00:00
Djihed Afifi 92299b97ef Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=26346
2008-07-31 08:36:25 +00:00
Sven Neumann 5a0df95acf formatting.
2008-07-31  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-scale.c (gimp_image_scale): formatting.


svn path=/trunk/; revision=26345
2008-07-31 06:41:38 +00:00
Jakub Steiner 9973e56a80 new devel splash from Aurore Derriennic <aurore.d@gmail.com>
2008-07-30  Jakub Steiner <jimmac@ximian.com>

* data/images/gimp-splash.png: new devel splash from 
Aurore Derriennic <aurore.d@gmail.com>

svn path=/trunk/; revision=26342
2008-07-30 20:58:40 +00:00
Sven Neumann f4090ee7a2 attach the URI of the last opened image to the Gimp object.
2008-07-30  Sven Neumann  <sven@gimp.org>

	* app/dialogs/file-open-dialog.c (file_open_dialog_response):
	attach the URI of the last opened image to the Gimp object.

	* app/actions/file-commands.c (file_open_dialog_show): use the
	last opened URI as a fallback for initializing the dialog.


svn path=/trunk/; revision=26339
2008-07-30 14:53:09 +00:00
Sven Neumann da4e7fd43e plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl removed
2008-07-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/psd-save.c: removed psd-save source here ...

	* plug-ins/psd/Makefile.am
	* plug-ins/psd/psd-save.c: ... and added it back here.


svn path=/trunk/; revision=26335
2008-07-29 17:37:38 +00:00
Sven Neumann c0ed0699a1 added the real name of the author of the new PDB function.
2008-07-29  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/vectors.pdb: added the real name of the 
author
	of the new PDB function.

	* app/pdb/vectors-cmds.c: regenerated.


svn path=/trunk/; revision=26333
2008-07-29 07:27:40 +00:00
Djihed Afifi 083fb249d3 Updated Arabic Translation by .
svn path=/trunk/; revision=26332
2008-07-29 01:12:00 +00:00
Sven Neumann 48964f632e added gimp_vectors_copy().
2008-07-28  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt: added gimp_vectors_copy().

	* libgimp/tmpl/gimpvectors.sgml: regenerated.


svn path=/trunk/; revision=26330
2008-07-28 14:37:53 +00:00
Sven Neumann 77402aae6b check that the passed vectors item is attached.
2008-07-28  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/edit.pdb (edit_stroke_vectors_invoker): check
	that the passed vectors item is attached.

	* app/pdb/edit-cmds.c: regenerated.


svn path=/trunk/; revision=26329
2008-07-28 14:17:49 +00:00
Sven Neumann bef9ba2945 applied patch from LightningIsMyName adding the new PDB function
2008-07-28  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/vectors.pdb: applied patch from 
LightningIsMyName
	adding the new PDB function gimp-vectors-copy (bug #544212).

	* app/pdb/internal-procs.c
	* app/pdb/vectors-cmds.c
	* libgimp/gimpvectors_pdb.[ch]: regenerated.

	* libgimp/gimp.def: updated.


svn path=/trunk/; revision=26328
2008-07-28 14:13:18 +00:00
Sven Neumann c23c546df4 applied the same workaround for a memory leak in PangoFT2 (bug #143542) as
2008-07-27  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext-compat.c (text_get_extents): applied the 
same
	workaround for a memory leak in PangoFT2 (bug #143542) as was
	applied long ago in gimptextlayout.c.


svn path=/trunk/; revision=26324
2008-07-27 20:51:16 +00:00
Sven Neumann 7a78da0e55 app/text/gimptext-compat.c (text_get_extents) use the readonly variant of
2008-07-27  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext-compat.c (text_get_extents)
	* app/text/gimptextlayout-render.c (gimp_text_layout_render):
	use the readonly variant of pango_layout_iter_get_line().


svn path=/trunk/; revision=26323
2008-07-27 20:45:14 +00:00
Martin Nordholts 0a40def09c Bail out if there is no pending rectangle to synthesize a motion on. Fixes
2008-07-27  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_synthesize_motion): Bail out if there is no
	pending rectangle to synthesize a motion on. Fixes bug #544181.

svn path=/trunk/; revision=26322
2008-07-27 19:06:10 +00:00