Commit Graph

20073 Commits

Author SHA1 Message Date
Sven Neumann 65f2809545 if a plug-in or script registered with a DISPLAY argument after the
2007-04-12  Sven Neumann  <sven@gimp.org>

	* app/actions/plug-in-commands.c: if a plug-in or script
	registered with a DISPLAY argument after the run-mode argument,
	then pass the ID of the active display to the script, optionally
	followed by image and drawable IDs.

	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/script-fu-enums.h
	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-types.h: added SF-DISPLAY parameter.

svn path=/trunk/; revision=22241
2007-04-12 15:56:57 +00:00
Sven Neumann 328181185a updated copyright header.
2007-04-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/sel2path/*.[ch]: updated copyright header.


svn path=/trunk/; revision=22240
2007-04-12 15:17:30 +00:00
Sven Neumann 866514572c plug-ins/common/channel_mixer.c get rid of compiler warnings about
2007-04-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/channel_mixer.c
	* plug-ins/gfig/gfig-style.c: get rid of compiler warnings about
	dereferencing type-punned pointers.

svn path=/trunk/; revision=22239
2007-04-12 15:12:13 +00:00
Sven Neumann c68c91c94d app/tools/gimplevelstool.c app/tools/gimpcurvestool.c app/xcf/xcf-save.c
2007-04-12  Sven Neumann  <sven@gimp.org>

	* app/tools/gimplevelstool.c
	* app/tools/gimpcurvestool.c
	* app/xcf/xcf-save.c
	* app/xcf/xcf-load.c
	* app/widgets/gimppaletteeditor.c
	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpcolorframe.c: get rid of compiler warnings about
	dereferencing type-punned pointers.


svn path=/trunk/; revision=22238
2007-04-12 14:48:04 +00:00
Sven Neumann fb095cf281 don't redefine the GimpParasite struct, just use it.
2007-04-12  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpprotocol.[ch] (struct _GPParam): don't redefine
	the GimpParasite struct, just use it.

	* libgimp/gimp.c: include gimpparasite.h.

	* libgimp/gimpitemcombobox.c (gimp_item_combo_box_new): initialize
	combo_box_type to suppress a compiler warning.

	* libgimpwidgets/gimpmemsizeentry.c (gimp_memsize_entry_new):
	avoid dereferencing a type-punned pointer.


svn path=/trunk/; revision=22237
2007-04-12 14:32:44 +00:00
Jakub Steiner 98af3d8c0e themes/Default/images/stock-display-filter-contrast-24.svg
2007-04-11  Jakub Steiner <jimmac@ximian.com>

* themes/Default/images/stock-display-filter-contrast-24.svg
* themes/Default/images/stock-display-filter-colorblind-24.svg
* themes/Default/images/stock-display-filter-contrast-24.png
* themes/Default/images/stock-display-filter-colorblind-24.png
* themes/Default/images/stock-display-filter-contrast-16.svg
* themes/Default/images/stock-display-filter-colorblind-16.svg
* themes/Default/images/stock-display-filter-lcms-24.svg
* themes/Default/images/stock-display-filter-contrast-16.png
* themes/Default/images/stock-display-filter-colorblind-16.png
* themes/Default/images/stock-display-filter-lcms-24.png
* themes/Default/images/stock-display-filter-lcms-16.svg
* themes/Default/images/stock-display-filter-gamma-24.svg
* themes/Default/images/stock-display-filter-lcms-16.png
* themes/Default/images/stock-display-filter-gamma-24.png
* themes/Default/images/stock-display-filter-gamma-16.svg
* themes/Default/images/stock-display-filter-gamma-16.png: how
I have gone to LGM with a straight face without finishing

svn path=/trunk/; revision=22236
2007-04-11 19:49:31 +00:00
Sven Neumann e765017cb5 document the new options (and some not so new ones).
2007-04-11  Sven Neumann  <sven@gimp.org>

	* INSTALL: document the new options (and some not so new ones).


svn path=/trunk/; revision=22235
2007-04-11 16:01:45 +00:00
Sven Neumann 82bcef803e applied patch from Hanno Boeck that adds more configure options (bug
2007-04-11  Sven Neumann  <sven@gimp.org>

	* configure.in: applied patch from Hanno Boeck that adds more
	configure options (bug #425267).


svn path=/trunk/; revision=22234
2007-04-11 11:36:29 +00:00
Sven Neumann 7fd724e2da applied patch from Aurimas Juška to fix bug #428556.
2007-04-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/ifscompose/ifscompose_utils.c (ifs_render): applied
	patch from Aurimas Juška to fix bug #428556.


svn path=/trunk/; revision=22233
2007-04-11 11:23:39 +00:00
Sven Neumann fdaf1a86c3 applied patch from bug #425532.
2007-04-11  Sven Neumann  <sven@gimp.org>

	* de.po: applied patch from bug #425532.


svn path=/trunk/; revision=22232
2007-04-11 10:05:08 +00:00
Mukund Sivaraman bc5843031b Fixes a bug (#428493) where gimp_statusbar_push_temp() expects vaargs and
2007-04-11  Mukund Sivaraman  <muks@mukund.org>

        * app/display/gimpstatusbar.c: Fixes a bug (#428493) where
          gimp_statusbar_push_temp() expects vaargs and
          gimp_statusbar_progress_message() directly passes a message
          to it as the format string.. in this case the message
          contains % (in the filename) and no arguments.


svn path=/trunk/; revision=22231
2007-04-11 09:42:51 +00:00
Jakub Friedl 20fca4a586 Updated Czech translation.
2007-04-10  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.



svn path=/trunk/; revision=22230
2007-04-10 18:02:00 +00:00
Jakub Friedl b6b1e82e55 Updated the Czech translation
2007-04-10 Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated the Czech translation


svn path=/trunk/; revision=22229
2007-04-10 14:05:03 +00:00
Sven Neumann 6e55bf275e fix for bug #330532.
2007-04-10  Sven Neumann  <sven@gimp.org>

	* sv.po: fix for bug #330532.


svn path=/trunk/; revision=22228
2007-04-10 08:56:58 +00:00
Sven Neumann 7aca269a28 bug #392051.
2007-04-10  Sven Neumann  <sven@gimp.org>

	* de.po: bug #392051.

svn path=/trunk/; revision=22226
2007-04-10 08:50:39 +00:00
Michael Natterer 7cb18110b1 app/paint/gimpperspectiveclone.c #include "libgimpmath/gimpmath.h"
2007-04-09  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimpperspectiveclone.c
	* app/paint/gimppaintoptions.c: #include "libgimpmath/gimpmath.h"


svn path=/trunk/; revision=22225
2007-04-09 11:54:44 +00:00
Jakub Friedl bacf87a3c7 Fixed a Czech string.
2007-04-06  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Fixed a Czech string.


svn path=/trunk/; revision=22224
2007-04-06 14:58:36 +00:00
Jakub Friedl 3b1911d50b Updated Czech translation.
2007-04-06  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.


svn path=/trunk/; revision=22223
2007-04-06 14:15:15 +00:00
Jakub Friedl 959d0afd3a Updated Czech translation.
2007-04-06  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.


svn path=/trunk/; revision=22222
2007-04-06 13:49:09 +00:00
Jakub Friedl 38b5313dd2 Updated Czech translation.
2007-04-05  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.


svn path=/trunk/; revision=22221
2007-04-06 13:41:27 +00:00
Jakub Friedl 6ccf0f8253 Updated Czech translation.
2007-04-05  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.


svn path=/trunk/; revision=22220
2007-04-06 13:21:22 +00:00
Jakub Friedl 9fd0d0ee23 Updated the Czech translation
2007-04-06 Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated the Czech translation


svn path=/trunk/; revision=22219
2007-04-06 13:08:34 +00:00
Djihed Afifi 2170965d9b Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=22218
2007-04-05 18:53:10 +00:00
Jakub Friedl 3cccaffcdc Updated the Czech translation
2007-04-05 Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated the Czech translation


svn path=/trunk/; revision=22217
2007-04-05 12:16:53 +00:00
Jakub Friedl 47778edca7 Updated the Czech translation
2007-04-03 Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated the Czech translation



svn path=/trunk/; revision=22216
2007-04-03 11:00:31 +00:00
Jakub Friedl 7a5acef18f Updated Czech Translation.
2007-04-02  Jakub Friedl <jfriedl@suse.cz>

  * cs.po: Updated Czech Translation.



svn path=/trunk/; revision=22215
2007-04-02 16:26:58 +00:00
Jakub Friedl 5bb1ff130b Updated the Czech translation
2007-04-02 Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated the Czech translation


svn path=/trunk/; revision=22214
2007-04-02 08:46:36 +00:00
Michael Natterer c6733ac891 app/base/Makefile.am removed these files.
2007-04-01  Michael Natterer  <mitch@gimp.org>

	* app/base/Makefile.am
	* app/base/brush-scale.[ch]: removed these files.

	* app/core/Makefile.am
	* app/core/gimpbrush-scale.[ch]: added the functions here as
	static utility functions. Also move the default implementations of
	GimpBrush::scale_size(), ::scale_mask() and ::scale_pixmap() here,
	including their utility functions.

	* app/core/gimpbrush.c: remove all scale stuff and
	include "gimpbrush-scale.h" instead.

	(gimp_brush_get_new_preview): use GimpBrush's scale functions
	instead of the now private ones. Cleanup.

	(gimp_brush_scale_mask)
	(gimp_brush_scale_pixmap): return a copy of the buf for
	scale == 1.0.


svn path=/trunk/; revision=22213
2007-04-01 13:38:22 +00:00
Michael Schumacher a802571303 some file load plug-ins did call gimp_quit() in their load functions. This
2007-03-31  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/common/svg.c: 
	* plug-ins/common/tiff.c: 
	* plug-ins/common/wmf.c: 
	* plug-ins/jpeg/jpeg-load.c: some file load plug-ins did call
	gimp_quit() in their load functions. This aborts the plug-in
	instead of returning a GIMP_PDB_EXECUTION_ERROR. The run()
	function in each plug-in was already prepared to do this on
	errors.

svn path=/trunk/; revision=22212
2007-03-31 21:20:51 +00:00
Michael Natterer 00be2f5f8c use SQR(x) instead of x*x.
2007-03-31  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-blend.c: use SQR(x) instead of x*x.


svn path=/trunk/; revision=22211
2007-03-31 16:45:19 +00:00
Michael Natterer b2ef4856b0 set core->saved_proj_tiles to NULL after unrefing them.
2007-03-31  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppaintcore.c (gimp_paint_core_start): set
	core->saved_proj_tiles to NULL after unrefing them.

	* app/paint/gimppaintcore.h: whitespace fixes.


svn path=/trunk/; revision=22210
2007-03-31 16:43:41 +00:00
Michael Natterer 3adb312e12 made the GimpRectangleOptionsPrivate struct public (ha ha).
2007-03-31  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangleoptions.[ch]: made the
	GimpRectangleOptionsPrivate struct public (ha ha).

	(gimp_rectangle_options_gui): replaced the "Auto shrink selection"
	toggle by a normal button that needs to be clicked explicitely.

	* app/tools/gimprectangletool.c: access members of
	GimpRectangleOptionsPrivate directly instead of reading them into
	local variables using g_object_get(), this makes the code quite
	more readable. Some code cleanup.

	(gimp_rectangle_tool_button_release): get rid of the confusing
	auto-shrink madness on button release...

	(gimp_rectangle_tool_start)
	(gimp_rectangle_tool_halt): ...instead, connect to the option's
	auto shrink button and shrink on "clicked".


svn path=/trunk/; revision=22209
2007-03-31 16:38:55 +00:00
Michael Natterer 0d7ccd8f56 read the "operation" member of GimpSelectionOptions directly.
2007-03-31  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangleselecttool.c: read the "operation" member
	of GimpSelectionOptions directly.

	* app/tools/gimpellipseselecttool.c (gimp_ellipse_select_tool_draw):
	chain up instead of calling gimp_rectangle_tool_draw() directly,
	don't #include "gimprectantletool.h".


svn path=/trunk/; revision=22208
2007-03-31 16:22:57 +00:00
Michael Natterer 58bea5b1b6 access the GimpCropOptions structure directly to read the "layer_only"
2007-03-31  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpcroptool.c: access the GimpCropOptions structure
	directly to read the "layer_only" option (don't use g_object_get),
	some code cleanup.


svn path=/trunk/; revision=22207
2007-03-31 16:07:05 +00:00
Michael Natterer 6e422b5211 Statusbar messages shouldn't depend on the emission of unrelated signals:
2007-03-31  Michael Natterer  <mitch@gimp.org>

	Statusbar messages shouldn't depend on the emission of unrelated
	signals:

	* app/widgets/gimpuimanager.c (gimp_ui_manager_connect_proxy):
	connect to the menu items' "select" and "deselect" signals here...

	(gimp_ui_manager_item_realize): ...instead of here.


svn path=/trunk/; revision=22206
2007-03-31 12:25:03 +00:00
Pema Geyleg 32c15de304 svn path=/trunk/; revision=22205
svn path=/trunk/; revision=22205
2007-03-31 12:06:06 +00:00
Michael Natterer 6fd436f9cb app/actions/dialogs-actions.c app/actions/dock-actions.c
2007-03-31  Michael Natterer  <mitch@gimp.org>

	* app/actions/dialogs-actions.c
	* app/actions/dock-actions.c
	* app/actions/edit-actions.c
	* app/actions/file-actions.c
	* app/actions/help-actions.c
	* app/actions/layers-actions.c
	* app/actions/plug-in-actions.c
	* app/actions/tools-actions.c
	* app/actions/vectors-actions.c
	* app/actions/view-actions.c
	* app/actions/window-actions.c: add many missing action tooltips
	and fixed some broken/inconsistent ones. Sorry for the big string
	change but the inconsistenties were just too big to ship 2.4 like
	that.


svn path=/trunk/; revision=22204
2007-03-31 11:38:47 +00:00
Jakub Friedl 16e7070e3f Fixed a Czech string translation
2007-03-30 Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Fixed a Czech string translation


svn path=/trunk/; revision=22203
2007-03-30 11:17:51 +00:00
Sven Neumann 04b0433c84 cosmetics
svn path=/trunk/; revision=22202
2007-03-30 10:18:05 +00:00
Sven Neumann 05d6439d9d hardcode the result of log (1.0 / 255.0) and avoid a useless call to
2007-03-30  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs.c: hardcode the result of
	log (1.0 / 255.0) and avoid a useless call to sqrt().

svn path=/trunk/; revision=22201
2007-03-30 10:14:30 +00:00
Sven Neumann f51e694972 compare square of errors instead of calculating the square root. Rewritten
2007-03-30  Sven Neumann  <sven@gimp.org>

	* app/paint/gimpheal.c (gimp_heal_laplace_iteration)
	(gimp_heal_laplace_loop): compare square of errors instead of
	calculating the square root. Rewritten loop to avoid code duplication.

svn path=/trunk/; revision=22200
2007-03-30 09:53:43 +00:00
Jakub Friedl ad2b88dd51 Fixed strings in the Czech translation
2007-03-30 Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Fixed strings in the Czech translation


svn path=/trunk/; revision=22199
2007-03-30 09:49:22 +00:00
Sven Neumann e2b83b288c app/tools/gimpdrawtool.[ch] app/tools/gimpperspectiveclonetool.c compare
2007-03-30  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpdrawtool.[ch]
	* app/tools/gimpperspectiveclonetool.c
	* app/tools/gimptransformtool.c: compare squared distances.

svn path=/trunk/; revision=22198
2007-03-30 09:41:18 +00:00
Jakub Friedl 0c62eb296e Fixed strings in the Czech translation
2007-03-30 Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Fixed strings in the Czech translation


svn path=/trunk/; revision=22197
2007-03-30 09:35:13 +00:00
Sven Neumann 4c33327046 hardcode the result of sqrt(5).
2007-03-30  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c (gimp_rectangle_tool_draw_guides):
	hardcode the result of sqrt(5).


svn path=/trunk/; revision=22196
2007-03-30 09:26:48 +00:00
Michael Natterer ca83552cd6 don't compare the result of sqrt() with something, compare the original
2007-03-29  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptool.c (gimp_tool_check_click_distance): don't
	compare the result of sqrt() with something, compare the original
	value with something's square instead.


svn path=/trunk/; revision=22195
2007-03-29 19:00:45 +00:00
Sven Neumann 410d8a5546 cosmetisc
svn path=/trunk/; revision=22194
2007-03-29 14:09:12 +00:00
Sven Neumann ed93588115 moved generation of the lookup table to it's own function. Also changed
2007-03-29  Sven Neumann  <sven@gimp.org>

	* app/core/gimpbrushgenerated.c (gimp_brush_generated_calc): moved
	generation of the lookup table to it's own function. Also changed
	SUPERSAMPLING from 5 to 4. Let's see if someone complains...


svn path=/trunk/; revision=22193
2007-03-29 14:04:54 +00:00
Sven Neumann 658551379a code cleanup. Removed MEMCPY_IS_NICE define and unconditionally use
2007-03-29  Sven Neumann  <sven@gimp.org>

	* libgimp/gimppixelrgn.c: code cleanup. Removed MEMCPY_IS_NICE
	define and unconditionally use memcpy().


svn path=/trunk/; revision=22192
2007-03-29 12:06:45 +00:00
Sven Neumann 49beee20d2 initialize rowstride to zero; it's meaningless as long as data is NULL.
2007-03-29  Sven Neumann  <sven@gimp.org>

	* libgimp/gimppixelrgn.c (gimp_pixel_rgn_init): initialize
	rowstride to zero; it's meaningless as long as data is NULL.


svn path=/trunk/; revision=22191
2007-03-29 12:02:07 +00:00