Commit graph

17325 commits

Author SHA1 Message Date
Sven Neumann f6545ee128 removed custom error message from checks for babl and GEGL. The default
2008-10-03  Sven Neumann  <sven@gimp.org>

	* configure.in: removed custom error message from checks for 
babl
	and GEGL. The default error message is a lot more helpful.


svn path=/trunk/; revision=27115
2008-10-03 12:09:38 +00:00
Sven Neumann d5be34058c add "text" to the list of blacklisted operations.
2008-10-02  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpgegltool.c 
(gimp_gegl_tool_operation_blacklisted):
	add "text" to the list of blacklisted operations.


svn path=/trunk/; revision=27114
2008-10-02 19:08:16 +00:00
Michael Natterer 68acc6598c Bug 554646 – Opening Help crashes GIMP with lqr-plugin installed
2008-10-02  Michael Natterer  <mitch@gimp.org>

	Bug 554646 – Opening Help crashes GIMP with lqr-plugin installed

	* app/widgets/gimphelp.c (gimp_help_get_help_domains): need to
	assign (*foo)[i] and not *foo[i] of a gchar** returned via return
	value location.


svn path=/trunk/; revision=27113
2008-10-02 17:16:14 +00:00
Michael Natterer 184fe0a30b keep a reference to the proc_frame's procedure. We can't asume it's always
2008-10-02  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/gimppluginprocframe.c: keep a reference to the
	proc_frame's procedure. We can't asume it's always there since it
	could be a temporary one and its plug-in might die during
	procedure execution, taking the temp_proc with it.


svn path=/trunk/; revision=27112
2008-10-02 17:13:58 +00:00
Martin Nordholts 259801e34e Bug 553534 – centering issues after image scaling and setting zoom
to 100%

* app/display/display-enums.h: Added a GimpZoomFocus enum with
'best guess', 'pointer' or 'image center' values.

* app/display/gimpdisplayshell-scale.[ch]
(gimp_display_shell_scale): Take a GimpZoomFocus parameter and
pass it on to

(gimp_display_shell_scale_get_zoom_focus): which returns the
requested zoom focus point if one was given, else makes a best
guess.

* app/actions/view-commands.c
* app/display/gimpstatusbar.c
* app/display/gimpnavigationeditor.c
* app/display/gimpdisplayshell-callbacks.c
* app/display/gimpdisplayshell-scale-dialog.c: For explicit-zoom
commands like "zoom to 100%", always use the image center as the
zoom focus point. For all other zooming, continue to use the
best-guess method.

* app/display/display-enums.c: Regenerated.

svn path=/trunk/; revision=27104
2008-10-02 14:53:35 +00:00
Sven Neumann e94e09f935 removed spurious commas that broke the build.
2008-10-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/file-uri/uri-backend-wget.c: removed spurious commas
	that broke the build.


svn path=/trunk/; revision=27103
2008-10-02 06:38:44 +00:00
Sven Neumann c8a2f395b7 added ChangeLog.pre-2-6 and NEWS.pre-2-6.
2008-10-01  Sven Neumann  <sven@gimp.org>

	* Makefile.am (EXTRA_DIST): added ChangeLog.pre-2-6 and 
NEWS.pre-2-6.


svn path=/trunk/; revision=27102
2008-10-01 19:29:46 +00:00
Sven Neumann 78defb4726 create the target directory and intermediate parent directories as needed.
2008-10-01  Sven Neumann  <sven@gimp.org>

	* tools/gimptool.c: create the target directory and intermediate
	parent directories as needed. Restores the behavior of the
	gimptool shell script.


svn path=/trunk/; revision=27101
2008-10-01 19:13:16 +00:00
Sven Neumann ff460e34a4 added a dependency on configure.in to make sure that the image-menu.xml
2008-10-01  Sven Neumann  <sven@gimp.org>

	* menus/Makefile.am (%.xml): added a dependency on configure.in 
to
	make sure that the image-menu.xml file is rebuilt when the 
version
	number is changed.


svn path=/trunk/; revision=27100
2008-10-01 17:34:36 +00:00
Tor Lillqvist 8d024f303d : Don't #define _GNU_SOURCE on Windows as it confuses newest mingw
2008-10-01  Tor Lillqvist  <tml@novell.com>

	* app/widgets/gtkscalebutton.c: : Don't #define _GNU_SOURCE on
	Windows as it confuses newest mingw headers.


svn path=/trunk/; revision=27097
2008-10-01 12:32:31 +00:00
Tor Lillqvist 0eb68211f3 Don't #define _GNU_SOURCE on Windows as it confuses newest mingw headers.
2008-10-01  Tor Lillqvist  <tml@novell.com>

	* app/plug-in/gimpplugin.c: Don't #define _GNU_SOURCE on Windows
	as it confuses newest mingw headers.


svn path=/trunk/; revision=27096
2008-10-01 12:27:32 +00:00
Sven Neumann c8c5ea21c8 bumped version to 2.6.1 (interface age 1).
2008-10-01  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version to 2.6.1 (interface age 1).

Rotated ChangeLog and NEWs.


svn path=/trunk/; revision=27095
2008-09-30 22:10:17 +00:00
Sven Neumann 7245870c90 Made 2.6.0 release.
2008-09-30  Sven Neumann  <sven@gimp.org>

        * Made 2.6.0 release.


svn path=/trunk/; revision=27092
2008-09-30 21:56:42 +00:00
Michael Natterer 6865bb9e2b Bug 546924 – "New Image" misscalculating dimensions for non-pixel sized
2008-09-30  Michael Natterer  <mitch@gimp.org>

	Bug 546924 – "New Image" misscalculating dimensions for non-pixel
	sized templates

	* app/core/gimptemplate.h: added private param flag
	GIMP_TEMPLATE_PARAM_COPY_FIRST.

	* app/core/gimptemplate.c (gimp_template_class_init): set the flag
	on the resolution properties.

	* app/dialogs/image-new-dialog.c (image_new_template_changed):
	make sure the resolution properties are copied first.

	* libgimpconfig/gimpconfig-utils.c (gimp_config_sync): remove
	comment about fixing the template editor. That's not true any
	more.


svn path=/trunk/; revision=27091
2008-09-30 16:06:24 +00:00
Michael Natterer 52c61f6b5f keep a "default_config" object around and use it to reset the tool if it
2008-09-30  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpimagemaptool.[ch]: keep a "default_config" object
	around and use it to reset the tool if it exists.

	(gimp_image_map_tool_edit_as): set the default_config on the new
	tool so "reset" goes back to the values the tool was started with.

	* app/tools/gimpcolorbalencetool.c (gimp_color_balance_tool_reset)
	* app/tools/gimpcurvestool.c (gimp_curves_tool_reset)
	* app/tools/gimphuesaturationtool.c (gimp_hue_saturation_tool_reset)
	* app/tools/gimplevelstool.c (gimp_levels_tool_reset): use the
	default config to reset the tool here too if it exists.


svn path=/trunk/; revision=27090
2008-09-30 13:46:08 +00:00
Sven Neumann baea3223f1 don't make the upper label bold. This change compensates for the smaller
2008-09-30  Sven Neumann  <sven@gimp.org>

	* app/gui/splash.c: don't make the upper label bold. This change
	compensates for the smaller width of the new splash screen.


svn path=/trunk/; revision=27089
2008-09-30 11:27:00 +00:00
Sven Neumann ca0b070852 added gimp_pango_layout_set_scale().
2008-09-30  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpwidgets-utils.[ch]: added
	gimp_pango_layout_set_scale().

	* app/gui/splash.c: set a smaller font size on the lower label.


svn path=/trunk/; revision=27088
2008-09-30 11:16:28 +00:00
Sven Neumann 945fdb7cc0 actually use the passed weight.
2008-09-30  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpwidgets-utils.c 
(gimp_pango_layout_set_weight):
	actually use the passed weight.


svn path=/trunk/; revision=27087
2008-09-30 11:09:06 +00:00
Sven Neumann f666fe0f0b app/config/gimpbaseconfig.c reverted parts of commit 25812. Restores
2008-09-30  Sven Neumann  <sven@gimp.org>

	* app/config/gimpbaseconfig.c
	* app/config/gimpguiconfig.c: reverted parts of commit 25812.
	Restores compatibility with old gimprc files.


svn path=/trunk/; revision=27086
2008-09-30 09:41:55 +00:00
Sven Neumann 24b2c1c977 formatting.
2008-09-30  Sven Neumann  <sven@gimp.org>

	* app/config/gimprc-deserialize.c (gimp_rc_deserialize): 
formatting.


svn path=/trunk/; revision=27085
2008-09-30 09:34:20 +00:00
Sven Neumann e4e6f64e6b prepared for the upcoming 2.6 release.
2008-09-29  Sven Neumann  <sven@gimp.org>

	* README: prepared for the upcoming 2.6 release.


svn path=/trunk/; revision=27082
2008-09-29 20:40:53 +00:00
Sven Neumann 6a6d2f789b bumped version to 2.6.0.
2008-09-29  Sven Neumann  <sven@gimp.org>

        * configure.in: bumped version to 2.6.0.

        * app/Makefile.am
        * tools/Makefile.am: changed accordingly.

        * docs/gimprc.5.in
        * etc/gimprc: regenerated.


svn path=/trunk/; revision=27081
2008-09-29 20:33:13 +00:00
Sven Neumann a0c7b8ef3d splash screen for GIMP 2.6. Created by Alexia Death and edited together
2008-09-29  Sven Neumann  <sven@gimp.org>

	* data/images/gimp-splash.png: splash screen for GIMP 2.6. 
Created
	by Alexia Death and edited together with Ville Pätsi.

	* authors.xml: added the two splash screen artists.

	* AUTHORS: regenerated.


svn path=/trunk/; revision=27080
2008-09-29 20:29:55 +00:00
Sven Neumann f89627ba8e prepared for the upcoming 2.6 release.
2008-09-29  Sven Neumann  <sven@gimp.org>

	* INSTALL: prepared for the upcoming 2.6 release.


svn path=/trunk/; revision=27079
2008-09-29 20:25:41 +00:00
Martin Nordholts 958de4c297 Bug 554125 – Tab key doesn't hide utility windows when there is no
image open.
	
* app/widgets/gimpdialogfactory.[ch]: Add 'toggle_visibility' to
GimpDialogFactory and as a parameter to gimp_dialog_factory_new(),
and set it there.

(gimp_dialog_factories_hide_foreach): Don't hide dialogs belonging
to factories with toggle_visibility FALSE.

* app/display/gimpdisplayshell-callbacks.c
(gimp_display_shell_canvas_tool_events): Move no-image event
handling to a new helper function, and make pressing Tab hide
windows.

* app/dialogs/dialogs.c (dialogs_init): Allow toggling visibility
for all factories except the display-factory.

svn path=/trunk/; revision=27077
2008-09-29 15:42:56 +00:00
Michael Natterer 8938cca43f no need to memcpy() the arrays, they are properly copied by
2008-09-29  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpcurve.c (gimp_curve_copy): no need to memcpy() the
	arrays, they are properly copied by gimp_config_sync() now. Add
	call to gimp_data_dirty() so GimpCurvesConfig gets notified.

	* app/gegl/gimpcurvesconfig.c (gimp_curves_config_set_property):
	use gimp_config_copy() instead of copying the curve menually.


svn path=/trunk/; revision=27076
2008-09-29 12:33:58 +00:00
Michael Natterer a4ff76a5ac remove some casts that were always useless and are even more useless now
2008-09-29  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdialogfactory.c
	(gimp_dialog_factories_show_foreach)
	(gimp_dialog_factories_hide_foreach): remove some casts that were
	always useless and are even more useless now after the recent
	readability improvement.


svn path=/trunk/; revision=27075
2008-09-29 11:08:42 +00:00
Sven Neumann bb4450f311 forgot to commit ChangeLog with my last commit
svn path=/trunk/; revision=27073
2008-09-29 09:51:33 +00:00
Martin Nordholts abc09ec57a Bug 472403 – Add bevel script fu does not work if there is no
selection

* plug-ins/script-fu/scripts/add-bevel.scm (script-fu-add-bevel):
Applied modified patch from Barak Itkin that when there is no
selection makes the bevel be performed on the whole layer instead
of the whole image (which was broken in the first place). It also
fixes some bugs with setting the selection when there is no
initial selection.

svn path=/trunk/; revision=27070
2008-09-28 11:02:27 +00:00
Martin Nordholts fece66338e Rename 'select' to 'selection' since that is what it holds.
* plug-ins/script-fu/scripts/add-bevel.scm (script-fu-add-bevel):
Rename 'select' to 'selection' since that is what it holds.

svn path=/trunk/; revision=27069
2008-09-28 10:03:48 +00:00
Martin Nordholts 6e876e8f7c Increase readability with widget = list->data.
* app/widgets/gimpdialogfactory.c
(gimp_dialog_factories_show_foreach)
(gimp_dialog_factories_hide_foreach): Increase readability with
widget = list->data.

svn path=/trunk/; revision=27068
2008-09-28 07:46:48 +00:00
Martin Nordholts b8e83c9449 Bug 551864 – plugin Flame fails for some settings on 64bit
machines

* plug-ins/flame/rect.c (render_rectangle): To handle p[0] and
p[1] being NaN, make sure that they are "within bounds" instead of
"not outside bounds".

svn path=/trunk/; revision=27067
2008-09-27 16:03:38 +00:00
Michael Natterer e9958b1bc7 reorder functions and add static prototypes.
2008-09-26  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpnavigationview.c: reorder functions and add
	static prototypes.


svn path=/trunk/; revision=27065
2008-09-26 18:21:36 +00:00
Michael Natterer a3d0c68a70 fix calculation of final lookup table to not darken the image.
2008-09-25  Michael Natterer  <mitch@gimp.org>

	* app/base/colorize.c (colorize_calculate): fix calculation of
	final lookup table to not darken the image.


svn path=/trunk/; revision=27062
2008-09-25 18:14:05 +00:00
Michael Natterer 4a91523321 use the new helper function here too.
2008-09-25  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-dnd.c
	(gimp_display_shell_drop_pixbuf): use the new helper function here
	too.


svn path=/trunk/; revision=27060
2008-09-25 16:59:02 +00:00
Sven Neumann 518c8f9a72 fix
svn path=/trunk/; revision=27059
2008-09-25 15:42:38 +00:00
Sven Neumann 92a5eec265 moved duplicate code to a helper function.
2008-09-25  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-dnd.c
	(gimp_display_shell_drop_component)
	(gimp_display_shell_drop_drawable): moved duplicate code to a
	helper function.


svn path=/trunk/; revision=27058
2008-09-25 15:41:57 +00:00
Michael Natterer a16f672caa free the right array.
2008-09-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/print-draw-page.c
	(print_cairo_surface_from_drawable): free the right array.


svn path=/trunk/; revision=27057
2008-09-25 15:09:28 +00:00
Sven Neumann dae9f75a17 plug-ins/file-jpeg/jpeg.[ch] plug-ins/file-jpeg/jpeg-save.[ch] introduced
2008-09-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/file-jpeg/jpeg.[ch]
	* plug-ins/file-jpeg/jpeg-save.[ch]
	* plug-ins/file-jpeg/jpeg-settings.[ch]: introduced an enum for
	the subsampling factor.


svn path=/trunk/; revision=27056
2008-09-25 14:30:02 +00:00
Sven Neumann 9665fee425 Bug 553412 – JPEG sampling factors not set to 1x1 on grayscale images:
2008-09-25  Sven Neumann  <sven@gimp.org>

	Bug 553412 – JPEG sampling factors not set to 1x1 on grayscale
	images:

	* plug-ins/file-jpeg/jpeg-save.c: always set subsampling to 1x1
	for grayscale images and indicate this properly in the UI.


svn path=/trunk/; revision=27055
2008-09-25 14:24:27 +00:00
Michael Natterer e29f73f2a3 Bug 553530 – fatal error: Segmentation fault - when attempting to bring
2008-09-25  Michael Natterer  <mitch@gimp.org>

	Bug 553530 – fatal error: Segmentation fault - when attempting to
	bring up color-picker:

	* modules/color-selector-wheel.c: declare gtk_hsv_get_type() if
	not already done by GTK+. Fixes confusion about its return value
	being 32 or 64 bit on 64 bit machines.


svn path=/trunk/; revision=27054
2008-09-25 12:50:33 +00:00
Michael Natterer 78479cd418 Bug 549195 – Color Wheel not working (GtkHSV):
2008-09-25  Michael Natterer  <mitch@gimp.org>

	Bug 549195 – Color Wheel not working (GtkHSV):

	* modules/color-selector-wheel.c: change packing and size requests
	of the GtkHSV and its optional GtkAligmnent depending on the GTK+
	version used to make it work with both the old and the new version
	of the widget. Evil hacks, better don't look :)


svn path=/trunk/; revision=27053
2008-09-25 12:11:02 +00:00
Sven Neumann 123170e099 minor fix
svn path=/trunk/; revision=27052
2008-09-25 10:19:33 +00:00
Sven Neumann 95cd081d13 added a 'restored' flag to the Gimp object and set it in
2008-09-25  Sven Neumann  <sven@gimp.org>

	* app/core/gimp.[ch]: added a 'restored' flag to the Gimp object
	and set it in gimp_real_restore(). Added method 
gimp_is_restored().

	* app/gui/gui.c: call gui_unique_init() in gui_init() instead of
	that later in gui_restore_after_callback(). By doing so we start
	our DBus service (or message proxy window on Win32) much earlier
	in the start process, thus reducing the time frame where two
	instances of gimp can be launched.

	* app/gui/gui-unique.c
	* app/gui/gimpdbusservice.c: wait handling the queued file-open
	requests until gimp is fully restored.

	* app/gui/splash.c (splash_update): only run one iteration of 
the
	main loop. Doing it in a while loop can cause us to get stuck if
	the gimp-unique service already added an idle handler.


svn path=/trunk/; revision=27049
2008-09-25 08:56:58 +00:00
Martin Nordholts 63ca4578b9 Bug 549925 – incorrect math: adding/substracting empty selection
deselects selection

* app/tools/gimprectangleselecttool.c
(gimp_rectangle_select_tool_execute): Be more intuitive when
clicking outside the current selection for the selection modes Add
and Subtract. More specifically, don't alter the selection mask at
all.

svn path=/trunk/; revision=27048
2008-09-24 21:15:54 +00:00
Martin Nordholts f08e322809 Added new utility function gimp_rectangle_select_tool_get_operation(), and
* app/tools/gimprectangleselecttool.c: Added new utility function
gimp_rectangle_select_tool_get_operation(), and started using it.

svn path=/trunk/; revision=27047
2008-09-24 20:55:55 +00:00
Sven Neumann 4bdf294b94 undef GIMP_DISABLE_DEPRECATED as we need the deprecated
2008-09-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/pygimp-image.c: undef GIMP_DISABLE_DEPRECATED
	as we need the deprecated gimp_image_free_shadow() here.

	* plug-ins/pygimp/pygimp-drawable.c: added 
Drawable.free_shadow().


svn path=/trunk/; revision=27043
2008-09-24 11:17:12 +00:00
Sven Neumann 7414d0bc16 plug-ins/pygimp/pygimp-drawable.c added optional interpolation parameters
2008-09-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/pygimp-drawable.c
	* plug-ins/pygimp/pygimp-image.c: added optional interpolation
	parameters to the image.scale() and layer.scale() methods.


svn path=/trunk/; revision=27042
2008-09-24 09:48:44 +00:00
Michael Natterer 8fb79f1439 call gimp_controller_editor_sel_changed() with the right GtkTreeSelection
2008-09-24  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontrollereditor.c
	(gimp_controller_editor_edit_response): call
	gimp_controller_editor_sel_changed() with the right
	GtkTreeSelection object (the editor's, not the action
	list's). Fixes crash upon selecting an action for a controller
	event. Spotted by Alexander Rabtchevich.


svn path=/trunk/; revision=27041
2008-09-24 09:12:36 +00:00
Martin Nordholts 7bb585132d Update documentation, the layer does not need to have an alpha channel. A
* tools/pdbgen/pdb/selection.pdb (selection_layer_alpha): Update
documentation, the layer does not need to have an alpha channel. A
layer without an alpha channel is considered opaque.

* app/pdb/selection-cmds.c 
* libgimp/gimpselection_pdb.c: Regenerated.

svn path=/trunk/; revision=27040
2008-09-24 09:09:27 +00:00