2008-08-29 Lars-Peter Clausen <lars@metafoo.de>
* plug-ins/pygimp/gimpui.defs
* plug-ins/pygimp/gimpui.override:
Removed wrappers for GimpRuler, GimpHRuler, GimpVRuler, as those
are going to be removed from libgimpwidgets.
svn path=/trunk/; revision=26809
2008-08-27 Lars-Peter Clausen <lars@metafoo.de>
* plug-ins/pygimp/pygimp-tile.c
(pr_subscript): Removed some unnecessary g_new/g_free and improved
range checking.
(pr_ass_sub): Improved range checking.
(pygimp_pixel_rgn_new): Clamp pixel region size to the drawable's size.
svn path=/trunk/; revision=26791
2008-08-26 Lars-Peter Clausen <lars@metafoo.de>
* plug-ins/pygimp/gimpmodule.c:
Don't set tp_new for PyGimpTile_Type and PyGimpPixelRgn_Type as both
don't have init functions.
svn path=/trunk/; revision=26785
2008-08-26 Lars-Peter Clausen <lars@metafoo.de>
* plug-ins/pygimp/pygimp-tile.c
(pf_init): Ensure that the python drawables gimp drawable is set.
(pf_dealloc): Don't crash if the pixel fetchers init function failed.
svn path=/trunk/; revision=26784
2008-08-24 Lars-Peter Clausen <lars@metafoo.de>
* plug-ins/pygimp/pygimp-drawable.c (drw_transform_rotate,
drw_transform_flip_simple): Fix method format string, so the
method is actual callable in a script.
svn path=/trunk/; revision=26744
2008-08-23 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c: return with a proper PDB status type
depending on the result of gtk_print_operation_run(). When run
non-interactively, pass the error message with the return
values.
svn path=/trunk/; revision=26729
2008-08-23 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/coolmetal-logo.scm: applied patch
from LightningIsMyName. Changes the script to not break if
called
on a floating selection (bug #327681).
svn path=/trunk/; revision=26728
2008-08-23 Sven Neumann <sven@gimp.org>
* plug-ins/twain/Makefile.am: dropped use of AM_LDFLAGS
completely
and use target-specific LDFLAGS instead.
svn path=/trunk/; revision=26721
2008-08-21 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/script-fu-interface.[ch]: changed to
actually
return a meaningful return status when a script-fu procedure is
run.
svn path=/trunk/; revision=26702
2008-08-20 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c (page_setup): use the new API to set
the
PDB error handler in order to suppress a warning if the
temporary
procedure does not exist (see bug #513291).
svn path=/trunk/; revision=26683
2008-08-20 Sven Neumann <sven@gimp.org>
* plug-ins/file-xjt/xjt.c: pass error messages with the return
values instead of calling g_message().
svn path=/trunk/; revision=26675
2008-08-19 Sven Neumann <sven@gimp.org>
* plug-ins/file-bmp/bmp.[ch]
* plug-ins/file-bmp/bmp-read.c
* plug-ins/file-bmp/bmp-write.c: for most errors, pass the error
message with the return values instead of calling g_message().
svn path=/trunk/; revision=26657
2008-08-19 Sven Neumann <sven@gimp.org>
Complements the fix for bug #344818:
* libgimpbase/gimpbaseenums.[ch]: added new enum
GimpPDBErrorHandler.
* tools/pdbgen/enums.pl: regenerated.
* app/plug-in/gimpplugin.[ch]: added error_handler to
GimpPlugIn.
* app/plug-in/gimpplugin-message.c
(gimp_plug_in_handle_proc_run):
only display an error message for a failed procedure call if the
plug-in's error-handler is set to
GIMP_PDB_ERROR_HANDLER_INTERNAL.
* tools/pdbgen/pdb/plug_in.pdb: added PDB getter and setter for
the plug-in's error-handler.
* app/pdb/plug-in-cmds.c
* app/pdb/internal-procs.c
* libgimp/gimpenums.c.tail
* libgimp/gimpplugin_pdb.[ch]: regenerated.
* plug-ins/common/file-compressor.c
* plug-ins/file-uri/uri.c: set the error-handler to
GIMP_PDB_ERROR_HANDLER_PLUGIN as these plug-ins are forwarding
the
error with their return values.
svn path=/trunk/; revision=26656
2008-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/file-uri/uri.c: pass error messages with the return
values instead of calling g_message().
* plug-ins/file-uri/uri-backend-libcurl.c
* plug-ins/file-uri/uri-backend-gnomevfs.c
* plug-ins/file-uri/uri-backend-gvfs.c
* plug-ins/file-uri/uri-backend-wget.c: set errors in the
G_FILE_ERROR domain and other minor cleanups.
svn path=/trunk/; revision=26655
2008-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-compressor.c: open the temporary file
before forking. This allows us to return an error message if the
file can't be opened. Also changed the code to not use
g_message()
from the child process.
svn path=/trunk/; revision=26653
2008-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-compressor.c: pass some error message
with
the return values instead of calling g_message().
svn path=/trunk/; revision=26652
2008-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-gbr.c
* plug-ins/common/file-gih.c
* plug-ins/common/file-pat.c
* plug-ins/common/file-pix.c
* plug-ins/common/file-sunras.c: for the most common errors,
pass
the error message with the return values instead of calling
g_message().
svn path=/trunk/; revision=26650
2008-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-xbm.c
* plug-ins/common/file-xpm.c
* plug-ins/common/file-xwd.c: for the most common errors, pass
the
error message with the return values instead of calling
g_message().
svn path=/trunk/; revision=26646
2008-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-wmf.c: pass error message with the return
values instead of calling g_message().
svn path=/trunk/; revision=26642
2008-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-pnm.c
* plug-ins/common/file-ps.c
* plug-ins/common/file-psp.c: for the most common errors, pass
the
error message with the return values instead of calling
gimp_message().
svn path=/trunk/; revision=26639
2008-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-mng.c
* plug-ins/common/file-pcx.c: for the most common errors,
pass the error message with the return values instead of calling
gimp_message().
* plug-ins/common/file-gif-save.c
* plug-ins/common/file-pdf.c
* plug-ins/common/file-png.c: minor cleanup.
svn path=/trunk/; revision=26638
2008-08-17 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-pdf.c: in case of an error, pass the
error
message with the return values.
svn path=/trunk/; revision=26637
2008-08-17 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-gif-load.c
* plug-ins/common/file-gif-save.c: for the most common errors,
pass the error message with the return values instead of calling
gimp_message().
* plug-ins/common/file-png.c: unmarked a string for translation.
This error condition can't possibly happen.
* plug-ins/common/file-svg.c: also return an error message when
the thumbnail can't be loaded.
svn path=/trunk/; revision=26636
2008-08-17 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-dicom.c: for the most common errors, pass
the error message with the return values instead of calling
gimp_message().
svn path=/trunk/; revision=26634
2008-08-17 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-csource.c (save_image): in case of an
error, pass the error message with the return values.
svn path=/trunk/; revision=26633
2008-08-17 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-desktop-link.c
* plug-ins/common/file-svg.c: changed to pass error messages
with
the return values instead of calling g_message().
svn path=/trunk/; revision=26626