Gimp/plug-ins
Sven Neumann f84608d539 If a procedure call fails, pass a string describing the error as the
2008-08-16  Sven Neumann  <sven@gimp.org>

	If a procedure call fails, pass a string describing the error as
	the second return value. First step towars fixing bug #344818.

	* app/pdb/gimpprocedure.[ch] (gimp_procedure_get_return_values):
	added a GError parameter. If it is set, pass the error message 
to
	the return values.

	* app/pdb/gimppdberror.h: added some more error codes.

	* app/pdb/gimppdb.c
	* app/xcf/xcf.c: pass errors to 
gimp_procedure_get_return_values().

	* app/plug-in/gimpplugin-message.c 
(gimp_plug_in_handle_proc_run):
	show a different error message for execution vs. calling errors.

	* app/plug-in/gimpplugin-progress.c
	(gimp_plug_in_progress_cancel_callback): pass the error
	GIMP_PDB_CANCELLED to gimp_procedure_get_return_values().

	* app/plug-in/gimppluginmanager-call.[ch]
	(gimp_plug_in_manager_call_run): removed the 
'destroy_return_vals'
	parameter.

	* app/plug-in/gimppluginprocedure.c: destroy the return values 
here.

	* app/plug-in/gimppluginprocframe.c: pass an error to
	gimp_procedure_get_return_values().

	* tools/pdbgen/app.pl
	* tools/pdbgen/pdb/fileops.pdb: generate code that passes the
	error to gimp_procedure_get_return_values().

	* app/pdb/*-cmds.c: regenerated.
	
	* plug-ins/pygimp/pygimp-pdb.c: extract the error message from 
the
	return values and pass it to the exception that is thrown.


svn path=/trunk/; revision=26593
2008-08-16 13:57:57 +00:00
..
color-rotate plug-ins/color-rotate/color-rotate-callbacks.c plug-ins/gfig/gfig-grid.c 2008-06-29 13:34:05 +00:00
common formatting. 2008-08-15 21:46:09 +00:00
file-bmp plug-ins/common/cml-explorer.c plug-ins/common/depth-merge.c 2008-08-11 19:42:08 +00:00
file-faxg3 plug-ins/bmp/* plug-ins/faxg3/* plug-ins/fits/* plug-ins/fli/* 2008-08-11 10:06:13 +00:00
file-fits plug-ins/bmp/* plug-ins/faxg3/* plug-ins/fits/* plug-ins/fli/* 2008-08-11 10:06:13 +00:00
file-fli plug-ins/bmp/* plug-ins/faxg3/* plug-ins/fits/* plug-ins/fli/* 2008-08-11 10:06:13 +00:00
file-ico applied patch from Aurimas Juška that fixes an endianness issue (bug 2008-08-15 17:50:15 +00:00
file-jpeg check for lcms with PKG_CHECK_MODULES(). Remove check for <lcms.h> vs. 2008-08-11 17:28:41 +00:00
file-psd change all LIBFOO variables to FOO_LIBS for consistency, could get rid of 2008-08-11 14:40:48 +00:00
file-sgi plug-ins/bmp/* plug-ins/faxg3/* plug-ins/fits/* plug-ins/fli/* 2008-08-11 10:06:13 +00:00
file-uri plug-ins/bmp/* plug-ins/faxg3/* plug-ins/fits/* plug-ins/fli/* 2008-08-11 10:06:13 +00:00
file-xjt change all LIBFOO variables to FOO_LIBS for consistency, could get rid of 2008-08-11 14:40:48 +00:00
flame plug-ins/common/cml-explorer.c plug-ins/common/depth-merge.c 2008-08-11 19:42:08 +00:00
fractal-explorer app/core/gimpitem.c app/core/gimpobject.c app/dialogs/preferences-dialog.c 2008-08-12 14:45:59 +00:00
gfig plug-ins/color-rotate/color-rotate-callbacks.c plug-ins/gfig/gfig-grid.c 2008-06-29 13:34:05 +00:00
gimpressionist plug-ins/common/cml-explorer.c plug-ins/common/depth-merge.c 2008-08-11 19:42:08 +00:00
gradient-flare app/core/gimpimagefile.c app/tools/gimpaligntool.c 2008-05-17 13:08:19 +00:00
help reverted the last change as g_file_query_info() is now also implemented on 2008-08-13 20:42:34 +00:00
help-browser search the next match when return or enter is pressed in the search entry. 2008-08-14 20:38:07 +00:00
ifs-compose plug-ins/common/cml-explorer.c plug-ins/common/depth-merge.c 2008-08-11 19:42:08 +00:00
imagemap app/core/gimpitem.c app/core/gimpobject.c app/dialogs/preferences-dialog.c 2008-08-12 14:45:59 +00:00
lighting plug-ins/common/cml-explorer.c plug-ins/common/depth-merge.c 2008-08-11 19:42:08 +00:00
map-object plug-ins/common/cml-explorer.c plug-ins/common/depth-merge.c 2008-08-11 19:42:08 +00:00
maze renamed most files and added proper headers instead of duplicating the 2008-03-31 18:38:29 +00:00
metadata plug-ins/imagemap/imap_cmd_move.c plug-ins/imagemap/imap_cmd_object_up.c 2008-03-29 09:25:34 +00:00
pagecurl Changed "The GIMP" to "GIMP" everywhere, where it's used as a name. 2007-06-06 08:44:52 +00:00
print get rid of the gimp_export_image() hack and use the new procedure 2008-08-07 19:22:19 +00:00
pygimp If a procedure call fails, pass a string describing the error as the 2008-08-16 13:57:57 +00:00
script-fu instead of calling gimp-displays-flush twice a second, call it after each 2008-08-13 21:54:27 +00:00
selection-to-path plug-ins/common/cml-explorer.c plug-ins/common/depth-merge.c 2008-08-11 19:42:08 +00:00
twain add -framework options to twain_LDFLAGS instead of AM_LDFLAGS to make 2008-05-17 02:58:21 +00:00
win-snap follow the executable name change. 2008-08-12 17:18:43 +00:00
Makefile.am plug-ins/bmp/* plug-ins/faxg3/* plug-ins/fits/* plug-ins/fli/* 2008-08-11 10:06:13 +00:00
makefile.msc updated and removed -GD to let msvc9 complain less 2007-12-09 14:11:09 +00:00