Commit Graph

9666 Commits

Author SHA1 Message Date
Sven Neumann 2213ac1868 Merged from trunk:
2008-09-23  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/widgets/gimpdbusservice.c: include "gimpuimanager.h", not
	"gimpuimanager.c".


svn path=/branches/gimp-2-4/; revision=27034
2008-09-23 06:13:10 +00:00
Sven Neumann a29a349fec Merged from trunk:
2008-09-01  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/core/gimpprojection-construct.c 
(gimp_projection_initialize):
	also need to initialize the projection if the layer mask could
	introduce transparency. Fixes bug #550024.


svn path=/branches/gimp-2-4/; revision=26825
2008-09-01 20:26:31 +00:00
Lars-Peter Clausen 882cf588e5 Merged from trunk:
2008-08-23  Lars-Peter Clausen  <lars@metafoo.de>

	Merged from trunk:
		
	* app/core/gimpgradient.c (gimp_gradient_segment_range_delete):
	Don't dereference final_start_seg and final_end_seg if NULL.


svn path=/branches/gimp-2-4/; revision=26727
2008-08-23 13:35:54 +00:00
Lars-Peter Clausen 52294e79da Merged from trunk:
2008-08-23  Lars-Peter Clausen  <lars@metafoo.de>

	Merged from trunk:
	
	* tools/pdbgen/pdb/gradient.pdb
	(gimp_gradient_segment_range_blend_(colors|opacity)): Don't crash 
	if the index of the last segment is out of range.

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


svn path=/branches/gimp-2-4/; revision=26726
2008-08-23 13:33:39 +00:00
Sven Neumann e16567b7ce Merged from trunk:
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=/branches/gimp-2-4/; revision=26392
2008-08-05 17:34:03 +00:00
Sven Neumann fad05066b6 Merged from trunk:
2008-08-05  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* 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=/branches/gimp-2-4/; revision=26387
2008-08-05 16:12:23 +00:00
Sven Neumann 111a733932 Merged from trunk:
2008-08-05  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/widgets/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=/branches/gimp-2-4/; revision=26371
2008-08-05 09:06:21 +00:00
Sven Neumann bf8716ae22 Merged from trunk:
2008-07-27  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* 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=/branches/gimp-2-4/; revision=26325
2008-07-27 20:52:29 +00:00
Sven Neumann 0b1beafe95 Merged from trunk:
2008-06-04  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/tools/gimpcropoptions.c
	* app/tools/gimprectangleoptions.c
	* app/tools/gimprectangleselectoptions.c: fixed handling of the
	"highlight" property that needs different default values for the
	Crop and Rectangle Select tools (bug #536582).

svn path=/branches/gimp-2-4/; revision=25891
2008-06-04 13:58:02 +00:00
Sven Neumann 3c98b9d50f Merged from trunk:
2008-05-24  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_canvas_tool_events): fixed use of
	gdk_device_get_history(). Fixes airbrush tool with tablets on
	newer X.org releases.


svn path=/branches/gimp-2-4/; revision=25786
2008-05-24 12:52:15 +00:00
Sven Neumann 2c3777a7d1 Merged from trunk:
2008-05-14  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/core/gimpbrushclipboard.c
	(gimp_brush_clipboard_buffer_changed): for an opaque buffer,
	initialize the brush mask with 255 instead of 0.  Fixes bug 
#532886.


svn path=/branches/gimp-2-4/; revision=25660
2008-05-14 07:04:13 +00:00
Martin Nordholts fe46f295c0 Fix emission of rectangle-changed signal.
2008-05-10  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c: Fix emission of rectangle-changed
	signal.

	* app/tools/gimpcroptool.c
	* app/tools/gimprectangleselecttool.c: Use the rectangle-changed
	signal to update the default aspect ratio. Fixes bug #530519.

svn path=/branches/gimp-2-4/; revision=25632
2008-05-10 19:55:21 +00:00
Martin Nordholts 3929119934 Merged from trunk:
2008-05-10  Martin Nordholts  <martinn@svn.gnome.org>

	Merged from trunk:

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_button_press): Active the tool control
	earlier.
	(gimp_rectangle_tool_synthesize_motion): Bail out if the tool
	control is active, we don't want to synthesize a motion in this
	case as it emits unwanted rectangle-changed signals.

svn path=/branches/gimp-2-4/; revision=25631
2008-05-10 19:23:54 +00:00
Martin Nordholts afeee03ac0 Merged from trunk:
2008-05-10  Martin Nordholts  <martinn@svn.gnome.org>

	Merged from trunk:

	* app/tools/gimprectangleselecttool.c
	(gimp_rectangle_select_tool_cancel): Don't forget updating the
	default aspect ratio when cancelling a rectangle select.

svn path=/branches/gimp-2-4/; revision=25621
2008-05-10 12:50:31 +00:00
Martin Nordholts 80f1beef3b Merged from trunk:
2008-05-10  Martin Nordholts  <martinn@svn.gnome.org>

	Merged from trunk:

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_button_release): Update the tool options
	after a release; the rectangle might change if a rubber-banding is
	cancelled.

svn path=/branches/gimp-2-4/; revision=25609
2008-05-10 10:28:00 +00:00
Martin Nordholts 5e595700eb Merged from trunk:
2008-05-10  Martin Nordholts  <martinn@svn.gnome.org>

	Merged from trunk:

	* app/tools/gimpcroptool.c: Add a GimpRectangleTool::cancel()
	implementation that updates default aspect ratio when cancelling a
	crop.

svn path=/branches/gimp-2-4/; revision=25602
2008-05-10 07:45:12 +00:00
Martin Nordholts 0d0d3d4ec9 Merged from trunk:
2008-05-10  Martin Nordholts  <martinn@svn.gnome.org>

	Merged from trunk:

	* app/tools/gimpcroptool.[ch]: Keep track of the current image and
	manage a subscription to "size-changed" so that default aspect
	ratio is properly updated. (Bug #532057.)
	(gimp_crop_tool_execute): No need to explicitly call
	gimp_crop_tool_update_option_defaults() any longer.

svn path=/branches/gimp-2-4/; revision=25600
2008-05-10 07:11:51 +00:00
Sven Neumann e0c41d88be Merged from trunk:
2008-04-28  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/base/hue-saturation.c (hue_saturation): applied patch from
	Michael Deal that fixes use of the overlap option (bug #527085).


svn path=/branches/gimp-2-4/; revision=25540
2008-04-28 14:48:20 +00:00
Sven Neumann 087db12299 Merged from trunk:
2008-04-16  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/config/test-config.c: initialize the units vtable in
	libgimpbase instead of trying to override symbols from it.
	Fixes bug #528160.

svn path=/branches/gimp-2-4/; revision=25492
2008-04-16 10:36:58 +00:00
Michael Natterer b698d10d7d Merged from trunk:
2008-04-03  Michael Natterer  <mitch@gimp.org>

	Merged from trunk:

	* app/core/gimpimage-convert.c (gimp_image_convert): don't accept
	palettes with more than 256 colors.

	* tools/pdbgen/pdb/convert.pdb: fail here too for palettes
	with > 256 colors. Fixes bug #525471.

	* app/pdb/convert_cmds.c: regenerated.


svn path=/branches/gimp-2-4/; revision=25349
2008-04-03 08:57:12 +00:00
Martin Nordholts bc50abe200 Merged from trunk:
2008-03-30  Martin Nordholts  <martinn@svn.gnome.org>

	Merged from trunk:

	* app/widgets/gimpcontainertreeview-dnd.c
	(gimp_container_tree_view_drag_drop): Make all code paths result
	in a call to gtk_drag_finish() if we return TRUE. Fixes bug
	#317992.

svn path=/branches/gimp-2-4/; revision=25321
2008-03-30 18:38:52 +00:00
Sven Neumann 40ed446a12 Merged from trunk:
2008-03-30  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/core/gimparea.c (gimp_area_list_free): don't leak the 
memory
	allocated for the GSList.


svn path=/branches/gimp-2-4/; revision=25318
2008-03-30 17:28:00 +00:00
Sven Neumann d5b0e0037a Merged from trunk:
2008-03-30  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/xcf/xcf-load.c (xcf_load_image): don't leak the grid.


svn path=/branches/gimp-2-4/; revision=25315
2008-03-30 17:03:50 +00:00
Sven Neumann 3eac800632 Merged Bill's changes for bug #521433 from trunk with some minor cleanups:
2008-03-30  Sven Neumann  <sven@gimp.org>

	Merged Bill's changes for bug #521433 from trunk with some minor
	cleanups:

	* app/paint/gimpbrushcore.[ch]: made
	gimp_brush_core_get_brush_mask() public.

	* app/paint/gimpheal.c: respect the brush mask.


svn path=/branches/gimp-2-4/; revision=25308
2008-03-30 13:36:30 +00:00
Sven Neumann 32efad9682 set the curve type to the type of the initial curve, which is SMOOTH.
2008-03-22  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcurvestool.c (gimp_curves_tool_initialize): set
	the curve type to the type of the initial curve, which is 
SMOOTH.
	Fixes bug #523873.


svn path=/branches/gimp-2-4/; revision=25171
2008-03-22 18:13:24 +00:00
Michael Natterer d085100a05 Merged from trunk (slightly modified):
2008-03-09  Michael Natterer  <mitch@gimp.org>

	Merged from trunk (slightly modified):

	Fix mishandling of the "antialias" GParamSpec. Fixes bug #521069:

	* app/tools/gimpselectionoptions.c (gimp_selection_options_reset):
	don't set the default for "antialias" depending on the tool
	type (which is impossible since the antialias GParamSpec only
	exists once, and not once for each subclass).

	* app/tools/gimpforegroundselectoptions.c: override the antialias
	property here and default to FALSE.


svn path=/branches/gimp-2-4/; revision=25078
2008-03-09 18:43:48 +00:00
Sven Neumann be0d20f8ac reverted the last change, it breaks the string freeze.
2008-03-08  Sven Neumann  <sven@gimp.org>

	* app/about.h: reverted the last change, it breaks the string 
freeze.


svn path=/branches/gimp-2-4/; revision=25067
2008-03-08 18:54:09 +00:00
Martin Nordholts 6e780cec49 It's 2008 now (bug #521202).
2008-03-08  Martin Nordholts  <martinn@svn.gnome.org>

	* app/about.h: It's 2008 now (bug #521202).

svn path=/branches/gimp-2-4/; revision=25066
2008-03-08 15:49:02 +00:00
Sven Neumann 2e045dedd8 Merged from trunk:
2008-02-27  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/core/gimpdrawable-transform.c (gimp_drawable_transform_affine):
	pass the direction parameter down to
	gimp_drawable_transform_tiles_affine() instead of hardcoding it to
	GIMP_TRANSFORM_FORWARD. Fixes bug #518910.

svn path=/branches/gimp-2-4/; revision=24991
2008-02-27 15:25:20 +00:00
Sven Neumann 3fa36fa2a7 Merged from trunk:
2008-02-27  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/gui/gui-vtable.c (gui_display_create): added a sanity 
check
	which might help to catch the problem reported in bug #518905.


svn path=/branches/gimp-2-4/; revision=24988
2008-02-27 07:39:26 +00:00
Sven Neumann ccaf6d3f9b in the button-press handler for smooth curves, recalculate the curve
2008-02-25  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcurvestool.c (curves_graph_events): in the
	button-press handler for smooth curves, recalculate the curve
	before updating the preview. Fixes bug #518012.

svn path=/branches/gimp-2-4/; revision=24957
2008-02-25 14:05:42 +00:00
Sven Neumann c52f9ad383 Merged from trunk:
2008-02-24  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/actions/edit-actions.c: removed default keyboard shortcuts
	from actions that work with named buffers. Use Ctrl-Shift-V as 
the
	default keyboard shortcut for "Paste As New Image" and
	Ctrl-Shift-C for "Copy Visible".


svn path=/branches/gimp-2-4/; revision=24955
2008-02-24 15:50:05 +00:00
Michael Natterer 52346ac1e4 Merged from trunk:
2008-02-21  Michael Natterer  <mitch@gimp.org>

	Merged from trunk:

	* app/actions/plug-in-actions.c (plug_in_actions_history_changed):
	don't call plug_in_actions_update() because that updated the
	sensitivity of *all* plug-in actions according to the properties
	of the *current* image. Instead, look up the original GtkAction of
	the history items of *this* action group and copy the sensitivity
	from that action. Fixes bug #517683.


svn path=/branches/gimp-2-4/; revision=24935
2008-02-21 16:42:48 +00:00
Michael Natterer ed6292756b Merged from trunk:
2008-02-16  Michael Natterer  <mitch@gimp.org>

	Merged from trunk:

	* app/display/gimpdisplayshell-callbacks.c
	* app/tools/gimpforegroundselecttool.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimprectangletool.c
	* app/tools/gimptransformtool.c
	* app/tools/gimpvectortool.c
	* app/widgets/gimpcontainerpopup.c
	* app/widgets/gimppaletteview.c
	* libgimpwidgets/gimpcolorhexentry.c
	* libgimpwidgets/gimpnumberpairentry.c
	* plug-ins/script-fu/script-fu-console.c: Unify the handling of
	various "Enter" and "Space" keysyms all over the place. Fixes bug
	#516544 (also see gtk bug #515047).


svn path=/branches/gimp-2-4/; revision=24895
2008-02-16 17:53:44 +00:00
Sven Neumann 60fc91e1ad Merged from trunk:
2008-02-14  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/text/gimpfont.c (gimp_font_get_sample_string): check if the
	font has the glyphs from the sample string. Fixes bug #514021.

svn path=/branches/gimp-2-4/; revision=24885
2008-02-14 13:14:55 +00:00
Sven Neumann 9becee4c0a Merged from trunk:
2008-02-05  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/dialogs/image-new-dialog.c (image_new_create_image):
	use the user context when creating the new image. Fixes bug #514082.

svn path=/branches/gimp-2-4/; revision=24807
2008-02-05 10:33:49 +00:00
Sven Neumann a2bd646e99 Merged from trunk:
2008-02-04  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/display/gimpdisplayshell-preview.c
	(gimp_display_shell_trace_tri_edge): use a gint for direction, 
not
	a gchar which might be unsigned. Patch from Giuliano Pochini;
	fixes bug #340965.


svn path=/branches/gimp-2-4/; revision=24796
2008-02-04 22:45:18 +00:00
Sven Neumann a17e88f50a Merged from trunk:
2008-02-04  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/paint/gimpbrushcore.c (gimp_brush_core_create_bound_segs):
	changed workaround to look at the brush size instead (bug #514309).

svn path=/branches/gimp-2-4/; revision=24787
2008-02-04 15:39:00 +00:00
Sven Neumann 627420c00b only smooth the inner area of the mask so that we don't enlarge the
2008-02-04  Sven Neumann  <sven@gimp.org>

	* app/paint/gimpbrushcore.c (gimp_brush_core_create_bound_segs):
	only smooth the inner area of the mask so that we don't enlarge
	the boundary for hard brushes (bug #304798).

svn path=/branches/gimp-2-4/; revision=24781
2008-02-04 09:38:15 +00:00
Sven Neumann 9c3ed2f245 Merged from trunk:
2008-01-24  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/core/gimpimage.c
	* app/core/gimpimage-undo.c: fixed handling of the image undo
	counter for the case where the user has undone the image to a
	state before the last save and then pushes a new undo. Fixes
	bug #509822.

svn path=/branches/gimp-2-4/; revision=24700
2008-01-24 09:39:02 +00:00
Martin Nordholts 078501b4e8 Merged from trunk:
2008-01-23  Martin Nordholts  <martinn@svn.gnome.org>

	Merged from trunk:

	* app/tools/gimprectangleselecttool.c
	(gimp_rect_select_tool_execute): Reset the automatic undo/redo
	mechanism so that commiting pending rectangles with Return
	works (bug #511599).

svn path=/branches/gimp-2-4/; revision=24697
2008-01-23 20:45:35 +00:00
Sven Neumann fa485cd13c Merged from trunk:
2008-01-23  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/display/gimpdisplayshell-selection.c: show the selection,
	even if the window is flagged as invisible, but don't start the
	animation. Addresses bug #505758.


svn path=/branches/gimp-2-4/; revision=24695
2008-01-23 18:12:30 +00:00
Sven Neumann ceffa0dd2a use a run-time check for the GTK+ version instead of a compile time one.
2008-01-23  Sven Neumann  <sven@gimp.org>

	* app/dialogs/about-dialog.c (about_dialog_create): use a 
run-time
	check for the GTK+ version instead of a compile time one.


svn path=/branches/gimp-2-4/; revision=24689
2008-01-23 12:15:21 +00:00
Sven Neumann b8c0a0a500 Merged from trunk:
2008-01-22  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/core/gimpprojection.c (gimp_projection_idle_render_init):
	decreased the priority of the projection idle renderer to 150,
	halfway between G_PRIORITY_HIGH_IDLE and 
G_PRIORITY_DEFAULT_IDLE.
	Fixes bug #511214.


svn path=/branches/gimp-2-4/; revision=24681
2008-01-22 20:28:12 +00:00
Sven Neumann 4ea944cff4 smooth the mask instead of dilating.
2008-01-22  Sven Neumann  <sven@gimp.org>

	* app/paint/gimpbrushcore.c (gimp_brush_core_create_bound_segs):
	smooth the mask instead of dilating.


svn path=/branches/gimp-2-4/; revision=24679
2008-01-22 20:20:59 +00:00
Sven Neumann 481d5e9d16 Merged from trunk:
2008-01-22  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/paint/gimpbrushcore.c (gimp_brush_core_create_bound_segs):
	dilate the brush mask in order to obtain a simpler boundary.
	Addresses bug #304798.


svn path=/branches/gimp-2-4/; revision=24677
2008-01-22 20:07:06 +00:00
Michael Natterer cb5fb360b2 Merged from trunk:
2008-01-21  Michael Natterer  <mitch@gimp.org>

	Merged from trunk:

	* app/widgets/gimpcolorbar.c (gimp_color_bar_class_init): fix the
	ID of the "histogram-channel" property.


svn path=/branches/gimp-2-4/; revision=24661
2008-01-21 16:20:12 +00:00
William Skaggs 3d087deb2e Bill Skaggs <weskaggs@primate.ucdavis.edu>
Merged from trunk:

	* app/base/lut-funcs.c (equalize_lut_fuct): Don't 
	equalize the alpha channel.  Fixes bug #510210.

svn path=/branches/gimp-2-4/; revision=24649
2008-01-18 18:16:59 +00:00
Michael Natterer 9cffaaa8e1 Merged from trunk:
2008-01-15  Michael Natterer  <mitch@gimp.org>

	Merged from trunk:

	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_notify_preview):
	check for image_map_tool->image_map also when the preview is
	switched on, not only when it's switched off.


svn path=/branches/gimp-2-4/; revision=24619
2008-01-15 14:46:11 +00:00
Sven Neumann 5c58d3db18 Merged from trunk:
2008-01-04  Sven Neumann  <sven@gimp.org>

	Merged from trunk:

	* app/config/gimpdisplayconfig.c: changed the default marching 
ants
	speed to 200.


svn path=/branches/gimp-2-4/; revision=24535
2008-01-04 19:03:53 +00:00