Commit Graph

24145 Commits

Author SHA1 Message Date
Sven Neumann 0490cd0a75 made the font scale factor for the docks configurable in gtkrc.
2008-09-18  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdock.c: made the font scale factor for the 
docks
	configurable in gtkrc.

	* themes/Default/gtkrc
	* themes/Small/gtkrc: for documentation purposes, added the
	default value for GimpDock::font-scale here. Changed all style
	property names to use the canonical names.


svn path=/trunk/; revision=26988
2008-09-18 09:33:20 +00:00
Amanpreet Singh Alam b69f603f33 updating Punjabi Language for package
svn path=/trunk/; revision=26987
2008-09-18 03:15:40 +00:00
Sven Neumann d9a2d8242e no need to check if the drawable is attached as shadow tiles are per
2008-09-18  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-shadow.c 
(gimp_drawable_get_shadow_tiles):
	no need to check if the drawable is attached as shadow tiles are
	per drawable now.


svn path=/trunk/; revision=26986
2008-09-17 23:26:02 +00:00
Simon Budig 17129f3db0 quickfix: avoid last-minute-code-cleanup before checkin...
2008-09-18  Simon Budig  <simon@gimp.org>

	* app/gegl/gimpbrightnesscontrastconfig.c: quickfix:
	avoid last-minute-code-cleanup before checkin...


svn path=/trunk/; revision=26985
2008-09-17 23:09:29 +00:00
Simon Budig 53385418fb fix the brightness/contrast --> levels step by doing proper math (TM).
2008-09-18  Simon Budig  <simon@gimp.org>

	* app/gegl/gimpbrightnesscontrastconfig.c: fix the
	brightness/contrast --> levels step by doing proper math (TM).


svn path=/trunk/; revision=26984
2008-09-17 22:55:55 +00:00
Sven Neumann cd4dd6c5b6 gimp_drawable_mask_intersect() and gimp_drawable_mask_bounds() may only be
2008-09-18  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/drawable.pdb: gimp_drawable_mask_intersect()
	and gimp_drawable_mask_bounds() may only be used on attached
	drawables. Added missing checks.

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


svn path=/trunk/; revision=26983
2008-09-17 22:52:06 +00:00
Sven Neumann 61ae0c5fc6 flush the displays for all run modes but GIMP_RUN_NONINTERACTIVE
svn path=/trunk/; revision=26982
2008-09-17 22:41:51 +00:00
Sven Neumann 3121a0f9d0 removed G*_DISABLE_SINGLE_INCLUDES until we depend on newer versions of
2008-09-18  Sven Neumann  <sven@gimp.org>

	* configure.in (CPPFLAGS): removed G*_DISABLE_SINGLE_INCLUDES 
until
	we depend on newer versions of GLib and GTK+. Fixes bug #552669.


svn path=/trunk/; revision=26981
2008-09-17 22:15:29 +00:00
Sven Neumann 891115e689 call gimp_displays_flush() at the end of all interactive uses. Fixes bug
2008-09-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c (run): call gimp_displays_flush() at 
the
	end of all interactive uses. Fixes bug #552104.


svn path=/trunk/; revision=26980
2008-09-17 22:11:31 +00:00
Sven Neumann bc75eec6fc formatting.
2008-09-17  Sven Neumann  <sven@gimp.org>

	* app/actions/edit-actions.c (edit_actions_update): formatting.


svn path=/trunk/; revision=26979
2008-09-17 21:54:53 +00:00
Michael Natterer 03f0901de1 add struct SFArg which keeps all a script argument's type, label, value
2008-09-17  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-types.h: add struct SFArg which
	keeps all a script argument's type, label, value and default
	value.

	(struct SFScript): replace separate arrays of type, label etc. by
	one array of SFArg. Remove array of GimpParamDef because they are
	only needed while registering the temp proc.

	* plug-ins/script-fu/Makefile.am
	* plug-ins/script-fu/script-fu-script.[ch]: new files implementing
	script_fu_script_new(), script_fu_script_free(),
	script_fu_script_register_proc() and
	script_fu_script_unregister_proc().

	* plug-ins/script-fu/script-fu-scripts.c: remove lots of code now
	implemented in script-fu-script.c. Changed stuff according to the
	introduction of SFArg. Moved variables to local scopes. Most
	changes are in script_fu_add_script(), almost every line changed
	and it's hopefully more readable now. Lots of cleanup all over the
	place.

	* plug-ins/script-fu/script-fu-interface.c: changed stuff
	according to the introduction of SFArg


svn path=/trunk/; revision=26978
2008-09-17 21:39:44 +00:00
Sven Neumann b282820836 removed she-bang as this file is not a plug-in. Addresses bug #552601.
2008-09-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/pyconsole.py: removed she-bang as 
this
	file is not a plug-in. Addresses bug #552601.


svn path=/trunk/; revision=26977
2008-09-17 21:07:23 +00:00
Kjartan Maraas 8533175434 Fix a typo
svn path=/trunk/; revision=26976
2008-09-17 17:38:02 +00:00
Kjartan Maraas 0513755f12 Fix splash screen
svn path=/trunk/; revision=26975
2008-09-17 16:01:43 +00:00
Sven Neumann db99239b76 somewhat safer use of the colormap
svn path=/trunk/; revision=26974
2008-09-17 15:03:36 +00:00
Sven Neumann 78c71c9d9d allow to pass NULL for "num_colors".
2008-09-17  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpimage.c (gimp_image_get_colormap): allow to pass
	NULL for "num_colors".

	* plug-ins/print/print-draw-page.c: added missing conversion
	routines for indexed images. Fixes bug #552609.


svn path=/trunk/; revision=26973
2008-09-17 14:45:56 +00:00
Sven Neumann 464348be61 updated German translation
svn path=/trunk/; revision=26972
2008-09-17 13:41:57 +00:00
Michael Natterer 2f13a57002 cosmetic paranoia.
2008-09-17  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdockable.c: cosmetic paranoia.


svn path=/trunk/; revision=26971
2008-09-17 11:44:17 +00:00
Michael Natterer 68c21b49e9 Revert the change which adds GError parameters to
2008-09-17  Michael Natterer  <mitch@gimp.org>

	Revert the change which adds GError parameters to
	gimp_image_add_{channel,layer,vectors}():

	* app/actions/channels-commands.c
	* app/actions/edit-commands.c
	* app/actions/layers-commands.c
	* app/actions/vectors-commands.c
	* app/core/gimp-edit.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-merge.c
	* app/core/gimpimage-quick-mask.c
	* app/core/gimpimage.[ch]
	* app/core/gimplayer-floating-sel.c
	* app/core/gimpselection.c
	* app/core/gimptemplate.c
	* app/display/gimpdisplayshell-dnd.c
	* app/text/gimptext-compat.c
	* app/tools/gimptexttool.c
	* app/tools/gimpvectortool.c
	* app/vectors/gimpvectors-import.c
	* app/widgets/gimpchanneltreeview.c
	* app/widgets/gimpitemtreeview.[ch]
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimptoolbox-dnd.c
	* app/widgets/gimpvectorstreeview.c
	* app/xcf/xcf-load.c: revert.

	Instead, fix it at the PDB level:

	* app/core/gimpimage.c: turn the "added to wrong image" warning
	into a g_return_val_if_fail() assertion.

	* app/pdb/gimppdb-utils.[ch] (gimp_pdb_item_is_floating): add a
	"dest_image" parameter and fail if the passed item is not for this
	image.

	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/layer.pdb
	* tools/pdbgen/pdb/paths.pdb: pass the dest image to
	gimp_pdb_item_is_floating().

	* app/pdb/image-cmds.c
	* app/pdb/layer-cmds.c
	* app/pdb/paths-cmds.c: regenerated.


svn path=/trunk/; revision=26970
2008-09-17 11:41:54 +00:00
Sven Neumann ed0d0a1986 updated German translation.
2008-09-17  Sven Neumann  <sven@gimp.org>

	* de.po: updated German translation.


svn path=/trunk/; revision=26969
2008-09-17 11:19:57 +00:00
Sven Neumann f00a167d2f tweaked error message.
2008-09-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c 
(script_fu_load_script):
	tweaked error message.


svn path=/trunk/; revision=26968
2008-09-17 11:18:53 +00:00
Sven Neumann 3fe2b1cb5a set the PDB error handler to GIMP_PDB_ERROR_HANDLER_PLUGIN while
2008-09-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_ok): set 
the
	PDB error handler to GIMP_PDB_ERROR_HANDLER_PLUGIN while
	interpreting the script.


svn path=/trunk/; revision=26967
2008-09-17 11:15:34 +00:00
Michael Natterer 23c141c8f9 fix indentation.
2008-09-17  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	fix indentation.


svn path=/trunk/; revision=26966
2008-09-17 08:46:25 +00:00
Michael Natterer 251c11aad3 plug-ins/common/file-header.c plug-ins/common/file-psp.c
2008-09-17  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/file-header.c
	* plug-ins/common/file-psp.c
	* plug-ins/common/file-xbm.c
	* plug-ins/common/file-xpm.c
	* plug-ins/common/hot.c
	* plug-ins/common/mail.c: add const plus misc. cleanups.


svn path=/trunk/; revision=26965
2008-09-17 08:37:24 +00:00
Michael Natterer 343b694195 plug-ins/file-fits/fits.c plug-ins/gimpressionist/gimpressionist.h
2008-09-17  Michael Natterer  <mitch@gimp.org>

	* plug-ins/file-fits/fits.c
	* plug-ins/gimpressionist/gimpressionist.h
	* plug-ins/gimpressionist/presets.c
	* plug-ins/gimpressionist/utils.c
	* plug-ins/gradient-flare/gradient-flare.c
	* plug-ins/ifs-compose/ifs-compose-storage.c
	* plug-ins/imagemap/imap_default_dialog.[ch]
	* plug-ins/imagemap/imap_object.h
	* plug-ins/map-object/map-object-ui.c: add const plus some minor
	unrelated cleanups.


svn path=/trunk/; revision=26964
2008-09-17 08:34:46 +00:00
Michael Natterer b0dab70de8 add GError parameter to gimp_image_add_{channel,layer,vectors}() and
2008-09-17  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage.[ch]: add GError parameter to
	gimp_image_add_{channel,layer,vectors}() and remove calls to
	g_warning(). Changed checks to be possible failures at all.

	* app/widgets/gimpitemtreeview.h (GimpAddItemFunc): add the GError
	here too.

	* app/actions/channels-commands.c
	* app/actions/edit-commands.c
	* app/actions/layers-commands.c
	* app/actions/vectors-commands.c
	* app/core/gimp-edit.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-merge.c
	* app/core/gimpimage-quick-mask.c
	* app/core/gimplayer-floating-sel.c
	* app/core/gimpselection.c
	* app/core/gimptemplate.c
	* app/display/gimpdisplayshell-dnd.c
	* app/text/gimptext-compat.c
	* app/tools/gimptexttool.c
	* app/tools/gimpvectortool.c
	* app/vectors/gimpvectors-import.c
	* app/widgets/gimpchanneltreeview.c
	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimptoolbox-dnd.c
	* app/widgets/gimpvectorstreeview.c
	* app/xcf/xcf-load.c: pass a NULL error.

	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/paths.pdb: pass the error.

	* app/pdb/image-cmds.c
	* app/pdb/paths-cmds.c: regenerated.


svn path=/trunk/; revision=26963
2008-09-17 08:27:35 +00:00
Sven Neumann 086a067673 updated German translation
svn path=/trunk/; revision=26962
2008-09-17 06:01:28 +00:00
Kjartan Maraas f59e9ec4dc Updated Norwegian bokmål translation.
2008-09-17  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=26961
2008-09-16 23:52:52 +00:00
Kjartan Maraas f624b04c20 Updated Norwegian bokmål translation.
2008-09-17  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=26960
2008-09-16 23:51:44 +00:00
Kjartan Maraas 3e0ac06fba Updated Norwegian bokmål translation.
2008-09-17  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=26959
2008-09-16 23:49:31 +00:00
Kjartan Maraas 50e408c30a Updated Norwegian bokmål translation.
2008-09-17  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=26958
2008-09-16 23:05:56 +00:00
Kjartan Maraas 7e31d44dbb Updated Norwegian bokmål translation.
2008-09-17  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=26957
2008-09-16 23:03:51 +00:00
Sven Neumann ab203d1fcc bumped version to 2.5.5.
2008-09-16  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version to 2.5.5.


svn path=/trunk/; revision=26956
2008-09-16 21:45:56 +00:00
Sven Neumann fbd66ac9e0 Made 2.5.4 development release.
2008-09-16  Sven Neumann  <sven@gimp.org>

        * Made 2.5.4 development release.


svn path=/trunk/; revision=26954
2008-09-16 21:39:39 +00:00
Sven Neumann b2ad06a19f added GError parameter to gimp_image_{raise,lower}_{channel,layer,vectors}
2008-09-16  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage.[ch]: added GError parameter to
	gimp_image_{raise,lower}_{channel,layer,vectors} functions and
	removed calls to g_message().

	* app/actions/channels-commands.c
	* app/actions/layers-commands.c
	* app/actions/vectors-commands.c: pass NULL for the GError
	parameter as these actions are insensitive if they would fail.

	* tools/pdbgen/pdb/image.pdb: changed accordingly. Corrected the
	documentation.

	* app/pdb/image-cmds.c
	* libgimp/gimpimage_pdb.c: regenerated.


svn path=/trunk/; revision=26953
2008-09-16 20:56:41 +00:00
Sven Neumann db7c35373d unified error messages.
2008-09-16  Sven Neumann  <sven@gimp.org>

	* app/core/gimppalette-load.c (gimp_palette_load): unified error
	messages.


svn path=/trunk/; revision=26952
2008-09-16 20:25:15 +00:00
Gil Forcada Codinachs 9943d4b934 Minor fix to Catalan translation
svn path=/trunk/; revision=26951
2008-09-16 11:17:00 +00:00
Gil Forcada Codinachs 1f9ba6bff2 Minor fix to Catalan translation
svn path=/trunk/; revision=26950
2008-09-16 11:15:24 +00:00
Michael Natterer 5e6b0345d1 use the "tool options" icon for the "context" action group since that's
2008-09-16  Michael Natterer  <mitch@gimp.org>

	* app/actions/actions.c: use the "tool options" icon for the
	"context" action group since that's what its actions mostly
	control.

	* app/actions/dialogs-actions.c: use the "brush", "gradient" and
	"palette" icons also for their resp. editors since that's also the
	icons they use in their dockable tabs.


svn path=/trunk/; revision=26949
2008-09-16 08:38:09 +00:00
Michael Natterer d2307c1bf6 add GError parameter and replace g_message() by g_set_error().
2008-09-15  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer.[ch] (gimp_layer_add_mask): add GError
	parameter and replace g_message() by g_set_error().

	* app/core/gimplayermaskundo.c
	* app/xcf/xcf-load.c
	* app/actions/layers-commands.c: pass NULL errors since these
	places know what they are doing. Ha ha...

	* tools/pdbgen/pdb/layer.pdb
	* tools/pdbgen/pdb/image.pdb: pass the error so we get more real
	error messages for failed PDB calls.

	* app/pdb/image-cmds.c
	* app/pdb/layer-cmds.c: regenerated.


svn path=/trunk/; revision=26948
2008-09-15 21:05:01 +00:00
Michael Natterer c7a92cddc2 Bug 552413 – Script triggers Gimp-Core-CRITICAL
2008-09-15  Michael Natterer  <mitch@gimp.org>

	Bug 552413 – Script triggers Gimp-Core-CRITICAL

	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/layer.pdb: add some more checks that produce
	proper PDB error messages when adding and removing layer masks
	instead of having the code run into assertions in the called core
	functions. Also add some more checks when removing layers,
	channels or vectors.

	* app/pdb/image-cmds.c
	* app/pdb/layer-cmds.c: regenerated.


svn path=/trunk/; revision=26947
2008-09-15 20:45:42 +00:00
Alexandre Prokoudine 4ecffa67f3 updated Russian translation
svn path=/trunk/; revision=26946
2008-09-15 14:44:28 +00:00
Sven Neumann c997af5816 news update for 2.5.4
svn path=/trunk/; revision=26945
2008-09-15 13:06:15 +00:00
Sven Neumann 9fa3af8d3f updated German translation.
2008-09-15  Sven Neumann  <sven@gimp.org>

	* de.po: updated German translation.


svn path=/trunk/; revision=26944
2008-09-15 10:02:20 +00:00
Kevin Cozens 600274e85d Applied changes from official version of TinyScheme which adds tests for
2008-09-14  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c (mk_vector), (opexe_2):
	Applied changes from official version of TinyScheme which adds
	tests for when mk_vector is out of memory. Can't rely on sc->sink.

svn path=/trunk/; revision=26943
2008-09-14 22:59:06 +00:00
Goran Rakic 460b0ffbfd Updated Serbian translation
svn path=/trunk/; revision=26942
2008-09-14 15:19:48 +00:00
Michael Schumacher 97b36969a1 removed double "the" from translatable string. Fixes bug #552127.
2008-09-13  Michael Schumacher  <schumaml@cvs.gnome.org>

	* app/actions/edit-actions.c (edit_actions): removed double "the"
	from translatable string. Fixes bug #552127.

svn path=/trunk/; revision=26941
2008-09-13 20:03:29 +00:00
Claude Paroz 3e51c2307a Updated French translation.
2008-09-13  Claude Paroz  <claude@2xlibre.net>

	* fr.po: Updated French translation.

svn path=/trunk/; revision=26940
2008-09-13 15:34:50 +00:00
Claude Paroz e8ff7b2bad Updated French translation by Yannick Tailliez and Robert-André Mauchin.
2008-09-13  Claude Paroz  <claude@2xlibre.net>

	* fr.po: Updated French translation by Yannick Tailliez and Robert-André
	Mauchin.

svn path=/trunk/; revision=26939
2008-09-13 15:25:12 +00:00
Sven Neumann d1f00eb6a0 flush the displays after closing the undo group. Should fix bug #552104.
2008-09-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c (lcms_image_apply_profile): flush the
	displays after closing the undo group. Should fix bug #552104.


svn path=/trunk/; revision=26938
2008-09-13 12:09:53 +00:00