Commit Graph

18937 Commits

Author SHA1 Message Date
Žygimantas Beručka 380e3b68e4 Updated Lithuanian translation.
2006-10-11  Žygimantas Beručka  <zygis@gnome.org>

        * lt.po: Updated Lithuanian translation.
2006-10-11 11:07:56 +00:00
Raphael Quinet e6615a2bf7 workaround for bug #357809: avoid crashing when invalid offsets are read
2006-10-11  Raphael Quinet  <raphael@gimp.org>

	* app/xcf/xcf-load.c (xcf_load_tile_rle): workaround for bug
	#357809: avoid crashing when invalid offsets are read for a
	compressed tile in the XCF file.
2006-10-11 09:19:12 +00:00
Sven Neumann 09eb46429d build the color-managed CMYK color selector with the same filename as the
2006-10-11  Sven Neumann  <sven@gimp.org>

	* modules/Makefile.am: build the color-managed CMYK color selector
	with the same filename as the naive implementation; they are
	mutually exclusive.
2006-10-11 08:57:29 +00:00
Sven Neumann 5207040a0b libgimp/libgimp-sections.txt libgimpconfig/libgimpconfig-sections.txt
2006-10-11  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimpconfig/libgimpconfig-sections.txt
	* libgimpwidgets/libgimpwidgets-sections.txt: added new API.

	* libgimpwidgets/tmpl/gimpstock.sgml: added new icons.

	* libgimp/tmpl/gimpfontselectbutton.sgml
	* libgimp/tmpl/gimptools.sgml
	* libgimpconfig/tmpl/gimpconfig-params.sgml
	* libgimpwidgets/tmpl/gimpcolorselection.sgml
	* libgimpwidgets/tmpl/gimpcolorselector.sgml: regenerated.
2006-10-11 08:39:09 +00:00
Sven Neumann 1bc87a6306 added missing casts.
2006-10-11  Sven Neumann  <sven@gimp.org>

        * app/pdb/gimppdb.c: added missing casts.

Updated NEWS for 2.3.12
2006-10-11 08:13:35 +00:00
Manish Singh 7457b3c46e Add slice support to the colors types. Fixes bug #360423.
2006-10-10  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-colors.c: Add slice support to the colors
        types. Fixes bug #360423.
2006-10-11 06:02:23 +00:00
Žygimantas Beručka c128a44f69 Updated Lithuanian translation.
2006-10-10  Žygimantas Beručka  <zygis@gnome.org>

        * lt.po: Updated Lithuanian translation.
2006-10-10 16:57:19 +00:00
Sven Neumann 374b85fc11 applied patch from Aurimas Juška that adds a missing cast which should
2006-10-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/nova.c: applied patch from Aurimas Juška that
	adds a missing cast which should fix bug #340073.
2006-10-10 10:11:00 +00:00
Kevin Cozens a2f1f3741c Added 'butlast' and 'last'.
2006-06-09  Kevin Cozens  <kcozens@cvs.gnome.org>

	* scripts/script-fu-compat.init: Added 'butlast' and 'last'.
2006-10-10 03:05:51 +00:00
Tor Lillqvist afcdeae30b Suffix LCMS with EXEEXT. Unbreaks build on Win32.
2006-10-09  Tor Lillqvist  <tml@novell.com>

	* configure.in: Suffix LCMS with EXEEXT. Unbreaks build on Win32.
2006-10-09 22:19:35 +00:00
Michael Natterer 1ed8dd4f53 app/actions/data-commands.c app/actions/documents-commands.c
2006-10-09  Michael Natterer  <mitch@gimp.org>

	* app/actions/data-commands.c
	* app/actions/documents-commands.c
	* app/actions/drawable-commands.c
	* app/actions/gradients-commands.c
	* app/actions/image-commands.c
	* app/actions/layers-commands.c
	* app/actions/palettes-commands.c
	* app/actions/select-commands.c
	* app/actions/vectors-commands.c
	* app/core/gimp-contexts.c
	* app/core/gimp-documents.c
	* app/core/gimp-edit.c
	* app/core/gimp-modules.c
	* app/core/gimp-parasites.c
	* app/core/gimp-templates.c
	* app/core/gimp-units.c
	* app/core/gimpchannel.c
	* app/core/gimpdatafactory.[ch]
	* app/core/gimpdrawable-bucket-fill.c
	* app/core/gimpimage-merge.c
	* app/core/gimpimagefile.c
	* app/core/gimplayer-floating-sel.c
	* app/core/gimppdbprogress.c
	* app/core/gimpselection.c
	* app/dialogs/palette-import-dialog.c
	* app/display/gimpdisplayshell-dnd.c
	* app/gui/session.c
	* app/gui/themes.c
	* app/pdb/gimpprocedure.c
	* app/plug-in/gimpplugin-message.c
	* app/plug-in/gimpplugin.c
	* app/plug-in/gimppluginmanager-file.c
	* app/plug-in/gimppluginmanager.c
	* app/text/gimptextlayer-xcf.c
	* app/text/gimptextlayer.c
	* app/widgets/gimpcontrollers.c
	* app/widgets/gimpdataeditor.c
	* app/widgets/gimpdevices.c
	* app/widgets/gimpdnd-xds.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimptoolbox-dnd.c
	* app/widgets/gimptoolbox.c
	* app/widgets/gimpuimanager.c
	* app/widgets/gimpvectorstreeview.c
	* tools/pdbgen/pdb/brush.pdb
	* tools/pdbgen/pdb/gradient.pdb
	* tools/pdbgen/pdb/palette.pdb: convert lots of g_message() to
	gimp_message(). Make sure we never pass unknown strings (like
	error->message) to printf-like functions directly; run them
	thorugh "%s" instead. Don't translate some messages which should
	never happen.

	* app/pdb/brush_cmds.c
	* app/pdb/gradient_cmds.c
	* app/pdb/palette_cmds.c: regenerated.
2006-10-09 18:49:15 +00:00
Sven Neumann 27f5e542d0 accept printf-style format strings.
2006-10-09  Sven Neumann  <sven@gimp.org>

	* app/dialogs/tips-parser.[ch]: accept printf-style format strings.

	* app/dialogs/tips-dialog.c: avoid markup in translatable messages
	(bug #360458).
2006-10-09 13:06:26 +00:00
Michael Natterer f5afb754a5 Added message severities and make sure all messages are routed through a
2006-10-09  Michael Natterer  <mitch@gimp.org>

	Added message severities and make sure all messages are routed
	through a central function, so redirecting to the error console or
	stderr work again:

	* app/core/core-enums.[ch]: added enum GimpMessageSeverity { INFO,
	WARNING, ERROR }.

	* app/core/gimp.[ch] (gimp_message)
	(gimp_message_valist): added severity parameter. Changed
	"GimpProgress *progress" parameter to "GObject *handler", where
	"handler" can be either a GimpProgress, a GtkWidget or NULL.

	* app/core/gimp-gui.[ch] (gimp_show_message): ditto. Honor
	--console-messages again. Always dispatch to the GUI message
	handler first if it exists.

	* app/gui/gui-message.[ch]: pass severity parameters around.

	(gui_message_error_dialog): if "handler" is a progress, dispatch
	the message to it first. If it is a widget (and *not* a progress),
	use a GtkMessageDialog on top of that widget's toplevel. Fall
	back to the usual GimpErrorDialog otherwise.

	* app/core/gimpprogress.[ch] (gimp_progress_message): added
	severity parameter. Also added boolean return value to the virtual
	function so it can decide to fail if it can't handle the message.

	* app/display/gimpdisplay.c: implement GimpProgress::message() and
	redirect the message to GimpDisplayShell.

	* app/display/gimpdisplayshell-progress.c: implement
	GimpProgress::message() and redirect the message to GimpStatusbar
	if it is not an error and if the status bar is visible.

	* app/display/gimpstatusbar.[ch]: implement GimpProgress::message(),
	but fail on messages that contain a newline. Show the right icons
	for the message severities (work in progress).

	* app/display/gimpdisplayshell.[ch]: removed
	gimp_display_shell_message() and its _valist() variant.

	* app/widgets/gimperrorconsole.[ch]: show the right icons for the
	message severities.

	* app/widgets/gimpthumbbox.c (gimp_thumb_box_progress_message):
	return TRUE to swallow all messages.

	* app/widgets/gimpwidgets-utils.[ch]: removed
	gimp_show_message_dialog(). Added gimp_get_message_stock_id().

	* app/errors.c
	* app/actions/edit-commands.c
	* app/actions/error-console-commands.c
	* app/actions/file-commands.c
	* app/actions/select-commands.c
	* app/actions/text-editor-commands.c
	* app/actions/vectors-commands.c
	* app/core/gimpimage-convert.c
	* app/core/gimpimagefile.c
	* app/dialogs/convert-dialog.c
	* app/dialogs/file-open-dialog.c
	* app/dialogs/file-open-location-dialog.c
	* app/dialogs/file-save-dialog.c
	* app/dialogs/palette-import-dialog.c
	* app/dialogs/stroke-dialog.c
	* app/display/gimpdisplayshell-dnd.c
	* app/pdb/gimppdb.c
	* app/plug-in/gimpplugin.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimptool.c
	* app/tools/gimpvectortool.c
	* app/widgets/gimpactionview.c
	* app/widgets/gimpcontrollerlist.c
	* app/widgets/gimppdbdialog.c
	* app/widgets/gimpvectorstreeview.c
	* app/xcf/xcf-load.c
	* app/xcf/xcf-save.c
	* app/xcf/xcf.c
	* tools/pdbgen/pdb/brush.pdb
	* tools/pdbgen/pdb/gradient.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/message.pdb
	* tools/pdbgen/pdb/palette.pdb: added severity parameter to
	gimp_message() calls. Convert all calls to
	gimp_show_message_dialog() and gimp_display_shell_message() to
	gimp_message(). Also converted some more g_message() calls.

	* app/pdb/brush_cmds.c
	* app/pdb/gradient_cmds.c
	* app/pdb/image_cmds.c
	* app/pdb/message_cmds.c
	* app/pdb/palette_cmds.c: regenerated.
2006-10-09 08:17:22 +00:00
Manish Singh a8855ae632 Don't use Python 2.4 specific functions, nor deprecated sys module
2006-10-07  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py: Don't use Python 2.4 specific functions,
        nor deprecated sys module attributes. Fixes bug #360411.
2006-10-07 21:07:04 +00:00
Michael Natterer ba76b9ccee added missing GError** parameter.
2006-10-06  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpaligntool.c (gimp_align_tool_initialize): added
	missing GError** parameter.
2006-10-06 19:44:58 +00:00
William Skaggs 8107d652e7 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/convmatrix.c: commit patch from GG that
	cleans up code and adds (commented out) support for larger
	matrices, with some coding style fixes; see bug #357085.
	This plug-in still needs help, though.
2006-10-06 19:36:39 +00:00
Sven Neumann 3408013740 slightly better error handling; doesn't address bug #358203 yet.
2006-10-06  Sven Neumann  <sven@gimp.org>

	* app/dialogs/file-open-location-dialog.c
	(file_open_location_response): slightly better error handling;
	doesn't address bug #358203 yet.

	* app/file/file-utils.c (file_check_single_magic)
	(file_check_magic_list): code cleanup.
2006-10-06 12:31:15 +00:00
Sven Neumann c603af8f1b changed some labels to be more descriptive instead of explaining the
2006-10-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c: changed some labels to be
	more descriptive instead of explaining the meaning in a tooltip.
	Set slider senitivity according to fractal type.
2006-10-06 10:38:20 +00:00
Sven Neumann a8934e009e don't show fractional values for the ITER parameter; it is being used as
2006-10-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c: don't show fractional values
	for the ITER parameter; it is being used as an integer. Also make
	sure that it never becomes zero as that used to crash the plug-in.
2006-10-06 09:05:52 +00:00
Sven Neumann 191930874a save files using g_ascii_formatd() (fixes bug #360095).
2006-10-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c: save files using
	g_ascii_formatd() (fixes bug #360095).
2006-10-06 08:33:02 +00:00
Sven Neumann f1a49507d1 see bug #352899 2006-10-06 06:42:09 +00:00
Sven Neumann 5b021fc255 applied patch from Saul Goode with review and localisation of Script-Fu
2006-10-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/*.scm: applied patch from Saul
Goode
	with review and localisation of Script-Fu procedure blurbs
	(bug #351283).
2006-10-05 18:09:29 +00:00
Kevin Cozens 815148c2a6 scripts/tiny-fu.init tiny-fu/ts-wrapper.c tinyscheme/Manual.txt Updates to
2006-10-05  Kevin Cozens  <kcozens@cvs.gnome.org>

	* scripts/tiny-fu.init
	* tiny-fu/ts-wrapper.c
	* tinyscheme/Manual.txt
	* tinyscheme/scheme.c: Updates to reflect that TinyScheme interpreter
	is based on the 1.38 version.
2006-10-05 17:39:54 +00:00
Sven Neumann b5fbef8a81 reverted change for bug #356901.
2006-10-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.c: reverted change for bug #356901.

	* plug-ins/script-fu/scripts/test-sphere.scm: removed superfluous
	comment.
2006-10-05 14:25:25 +00:00
Jakub Friedl 452334eb54 Updated Czech translation.
2006-10-05  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.
2006-10-05 09:15:22 +00:00
Manish Singh 521fab9316 plug-ins/pygimp/gimpui.defs new style constructors for GimpColorButton and
2006-10-04  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.defs
        * plug-ins/pygimp/gimpui.override: new style constructors for
        GimpColorButton and GimpColorScale.
2006-10-04 21:14:42 +00:00
Michael Natterer 544d679e55 app/core/gimpbrushgenerated-load.c app/core/gimpgradient-load.c
2006-10-04  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpbrushgenerated-load.c
	* app/core/gimpgradient-load.c
	* app/core/gimppalette-load.c
	* app/core/gimppalette-save.c: read and write all files in binary
	mode. Improved parser error messages (added line numbers). Minor
	changes to simply read DOS files instead of barfing on them.
2006-10-04 17:50:35 +00:00
Marco Ciampa 840053b86d Updated italian translation. 2006-10-04 16:18:44 +00:00
Sven Neumann a6471ff215 app/tools/gimpforegroundselecttool.c unset scroll-lock (bug #359548).
2006-10-04  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpforegroundselecttool.c
	* app/tools/gimpfreeselecttool.c: unset scroll-lock (bug #359548).
2006-10-04 15:42:33 +00:00
Jakub Friedl 084d4e7ef7 Updated Czech translation.
2006-10-04  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.
2006-10-04 13:32:53 +00:00
Jakub Friedl d5e34052e4 Updated Czech translation.
2006-10-04  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.
2006-10-04 11:09:14 +00:00
Sven Neumann 0b440294d4 minor cleanup.
2006-10-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/maze/maze_face.c: minor cleanup.
2006-10-04 08:04:57 +00:00
Manish Singh f7c0e8ce13 a FALSE return from gimp_drawable_mask_bounds doesn't mean failure.
2006-10-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-drawable.c: a FALSE return from
        gimp_drawable_mask_bounds doesn't mean failure. Restore old
        behavior. Fixes bug #357223.
2006-10-04 07:26:12 +00:00
Sven Neumann 9acce12a98 added new files.
2006-10-04  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added new files.
2006-10-04 07:08:42 +00:00
William Skaggs 526db70b04 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/dialogs/offset-dialog.c:  apply patch from David
	Gowers, with minor cleanups, to use item dimensions rather
	than image dimensions; fixes bug #358322.
2006-10-03 19:58:46 +00:00
William Skaggs 13db753398 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/tools-enums.[ch]: change labels for transform
	type enum.

	* app/tools/gimpmoveoptions.c:
	* app/tools/gimptransformoptions.c:  change "Affect:" to
	"Move:" or "Transform:", respectively.  Fixes bug #358824.
2006-10-03 19:32:41 +00:00
William Skaggs 0a17546354 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpimage-convert.c
	(median_cut_pass2_nodestruct_dither_rgb): adjust alpha-dithering
	and make code more readable; fixes bug #358851 as suggested
	by Tor Lillqvist.
2006-10-03 19:07:48 +00:00
Michael Natterer c6ae0a7918 added gimp_palette_load_detect_format().
2006-10-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimppalette-load.[ch]: added
	gimp_palette_load_detect_format().

	* app/core/gimppalette-import.c: removed it here. Also removed all
	file I/O related includes.
2006-10-03 14:54:07 +00:00
Michael Natterer 92f21409b0 added functions to load ACT, RIFF and PSP palette files but don't use them
2006-10-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimppalette-load.[ch]: added functions to load ACT,
	RIFF and PSP palette files but don't use them as data file
	loaders (yet?)

	* app/core/gimppalette-import.c (gimp_palette_import_from_file):
	use the functions instead of implementing all formats inline.
2006-10-03 14:31:31 +00:00
Michael Natterer 75eed97620 app/core/Makefile.am app/core/gimppalette-load.[ch] new files.
2006-10-03  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/gimppalette-load.[ch]
	* app/core/gimppalette-save.[ch]: new files.

	* app/core/gimppalette.[ch]: removed loading and saving code here.

	* app/core/gimp.c
	* app/core/gimppalette-import.c: changed accordingly.
2006-10-03 13:22:12 +00:00
Michael Natterer 843b55537e renamed gimp_gradient_save_as_pov() to gimp_gradient_save_pov().
2006-10-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpgradient-save.[ch]: renamed
	gimp_gradient_save_as_pov() to gimp_gradient_save_pov().

	* app/actions/gradients-commands.c
	(gradients_save_as_pov_ray_response): changed accordingly.
2006-10-03 12:38:36 +00:00
Michael Natterer c42e814794 app/core/Makefile.am app/core/gimpbrushgenerated-load.[ch]
2006-10-03  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/gimpbrushgenerated-load.[ch]
	* app/core/gimpbrushgenerated-save.[ch]
	* app/core/gimpbrushpipe-load.[ch]: new files.

	* app/core/gimpbrushgenerated.[ch]
	* app/core/gimpbrushpipe.[ch]: removed loading and saving code here.

	* app/core/gimp.c: changed accordingly.
2006-10-03 12:29:07 +00:00
Michael Natterer d9cf806b61 app/core/Makefile.am new files.
2006-10-03  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/gimppattern-load.[ch]: new files.

	* app/core/gimppattern.[ch]: removed the loading stuff here.

	* app/core/gimp.c: changed accordingly.
2006-10-03 11:37:37 +00:00
Michael Natterer 3df625b7ff keep the file extension defines here, just as we do it for brushes.
2006-10-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpgradient-load.h: keep the file extension defines
	here, just as we do it for brushes.

	* app/core/gimpgradient.h: removed them here.

	* app/core/gimpgradient.c: changed accordingly.
2006-10-03 11:10:20 +00:00
Sven Neumann bd0ddb5b40 applied patch from David Gowers (bug #359175) and did some further
2006-10-03  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-convert.[ch]
	(gimp_image_convert_set_dither_matrix): applied patch from David
	Gowers (bug #359175) and did some further cleanup.
2006-10-03 09:29:30 +00:00
Jakub Friedl 76365b3781 Updated Czech translation.
2006-10-03  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.
2006-10-03 09:11:05 +00:00
Ilkka Tuohela e93cedaf2c Updated Finnish translation 2006-10-03 07:32:59 +00:00
Sven Neumann fe3c3406c9 use a GimpHintBox.
2006-10-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/iwarp.c (iwarp_dialog): use a GimpHintBox.
2006-10-02 23:34:55 +00:00
Michael Natterer 42dd70e14a changed Gimp parameter to GimpContext and use it instead of getting the
2006-10-02  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptoolbox.[ch] (gimp_toolbox_new): changed Gimp
	parameter to GimpContext and use it instead of getting the user
	context from the Gimp.

	(toolbox_tool_button_toggled): set the tool on the dock's
	context instead of the user context.

	* app/dialogs/dialogs-constructors.c (dialogs_toolbox_get): pass
	the context to gimp_toolbox_new() instead of context->gimp.
2006-10-02 17:41:04 +00:00
Jakub Friedl 6b32123bd1 Updated Czech translation.
2006-10-02  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.
2006-10-02 13:53:12 +00:00