2007-03-16 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu.c: remove N_() from calls to
gimp_plugin_menu_register().
svn path=/trunk/; revision=22133
2007-03-16 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scripts/spyrogimp.scm: update the progress
to avoid looking like the script hangs. Fixes bug #356677.
* plug-ins/script-fu/script-fu-interface.c
(script_fu_interface_report_cc): if the command starts with
"gimp-progress-", the script is obviously showing a progress bar
for itself, so clear the text instead of showing an endless number
of "gimp-progress-update" messages. Also fixed manual main loop
iteration.
svn path=/trunk/; revision=22132
2007-03-16 Michael Natterer <mitch@gimp.org>
Fix stuck progress bars (bug #393832):
* app/plug-in/gimpplugin-progress.[ch] (gimp_plug_in_progress_end):
added PlugInProcFrame parameter instead of blindly using the topmost
in the procedure stack...
* app/plug-in/gimppluginprocframe.c
(gimp_plug_in_proc_frame_dispose): ...because we call it from here,
when the proc_frame is already removed from the procedure stack.
Unrelated:
* plug-ins/script-fu/scripts/difference-clouds.scm: use
RUN-INTERACTVE instead of 0, added (gimp-displays-flush)
* plug-ins/common/snoise.c (solid_noide): update the progress to
1.0 after rendering.
svn path=/trunk/; revision=22131
2007-03-13 Raphael Quinet <raphael@gimp.org>
* plug-ins/script-fu/script-fu-console.c: Fix for bug #417467
based on modified patch by Eric Lamarque and suggested by Mitch.
Allows build without warnings and correct localization for Solaris
and other platforms.
svn path=/trunk/; revision=22109
2007-03-09 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/script-fu-util-setpt.scm: Removed
erroneous comment block.
* plug-ins/script-fu/scripts/script-fu-set-cmap.scm: Use only
American (USA) spelling in translatable strings.
svn path=/trunk/; revision=22085
2007-03-08 Raphael Quinet <raphael@gimp.org>
* plug-ins/winicon/main.c (run): fixed the incorrect declaration
of the values[] array. Thanks to Petr Gajdos <pgajdos@suze.cz>
for reporting this problem and for supplying a patch.
svn path=/trunk/; revision=22070
2007-03-04 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/common/psd.c: De-tabified. Fixed limit checks on resource
ID's used for path data. Added comments showing decimal value of image
resource ID's
* plug-ins/common/psd_save.c: De-tabified. Added support for layer
modes HARDLIGHT_MODE and SOFTLIGHT_MODE. Added comments showing
decimal value of image resource ID's
svn path=/trunk/; revision=22043
2007-03-01 João S. O. Bueno Calligaris <gwidon@mpc.com.br>
* plug-ins/common/postscript.c: add callback to resolution
changes in the postscipt load dialog to update the image size
in pixels.
svn path=/trunk/; revision=22035
2007-02-23 Tor Lillqvist <tml@novell.com>
* plug-ins/common/psd.c: Inspired by mail from a user, improve
some error messages to be more informative. Use g_message()
instead of plain printf() in a couple of places in situations that
probably are commonly encountered. (There are probably still more
of such printf() calls in the code.) gimp_quit() doesn't return,
not need to do anything else after calling it.
svn path=/trunk/; revision=21982
2007-02-20 Sven Neumann <sven@gimp.org>
* plug-ins/common/screenshot.c: reworked shape support. Instead of
fiddling with pixbuf pixels, do most of the work in the core.
svn path=/trunk/; revision=21960
2007-02-19 Sven Neumann <sven@gimp.org>
* plug-ins/common/psd_save.c: check the return value of
gimp_image_flatten(). Fixes the crash reported in bug #395385.
svn path=/trunk/; revision=21950
2007-02-19 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/tinyscheme/scheme.c (atom2str): use
locale-independent function to convert a float value to a
string.
svn path=/trunk/; revision=21948
2007-02-18 Michael Natterer <mitch@gimp.org>
* app/text/gimptext-parasite.c
* plug-ins/flame/libifs.c: use g_strtod() instead of atof()
because these files have to parse strings that never had a clearly
specified format.
* plug-ins/script-fu/tinyscheme/scheme.c
* plug-ins/imagemap/imap_cern.l
* plug-ins/imagemap/imap_csim.l
* plug-ins/imagemap/imap_csim.y
* plug-ins/imagemap/imap_ncsa.l: use g_ascii_strtod() instead of
atof() because scheme code and imagemap files with wrong decimal
separators are clearly broken and should be rejected.
* plug-ins/imagemap/imap_cern_lex.c
* plug-ins/imagemap/imap_csim_lex.c
* plug-ins/imagemap/imap_csim_parse.c
* plug-ins/imagemap/imap_ncsa_lex.c: regenerated.
* plug-ins/common/sample_colorize.c: round numbers using sane code
instead of sprintf() and atod().
* plug-ins/Lighting/lighting_ui.c: removed some dead code.
svn path=/trunk/; revision=21942
2007-02-18 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/png.c: Moved an invariant (in the last
changeset to this file) out of the loop.
svn path=/trunk/; revision=21935
2007-02-17 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme-private.h: Add define for
symkey() to quiet the compiler.
* plug-ins/script-fu/tinyscheme/scheme.c (basic_inchar): Return
blank when invalid UTF-8 character is encountered while reading
from memory. Point to start of next valid character on error.
svn path=/trunk/; revision=21934
2007-02-16 Sven Neumann <sven@gimp.org>
* libgimp/gimp.c: let gimp_gamma() return 2.2 and document the
fact that this is a fixed value and that all pixel data is in the
sRGB colorspace.
* plug-ins/common/mng.c: removed check for gimp_gamma() returning 1.0.
svn path=/trunk/; revision=21927
2007-02-16 Sven Neumann <sven@gimp.org>
* plug-ins/common/lcms.c: added a button icon and fixed use of
gtk_vbox_new().
svn path=/trunk/; revision=21926
2007-02-15 Sven Neumann <sven@gimp.org>
* plug-ins/common/screenshot.c: for shaped windows, add an alpha
channel and erase pixels outside the shape.
svn path=/trunk/; revision=21922
2007-02-14 Sven Neumann <sven@gimp.org>
* plug-ins/common/tiff.c: added CCITT Group 3 and 4 compression
schemes to TIFF save plug-in. These modes are selectable for
indexed image with a b/w colormap only. Fixes bug #162119 with
the
help of Manfred Joerg.
svn path=/trunk/; revision=21915
2007-02-12 Mukund Sivaraman <muks@mukund.org>
* plug-ins/imagemap/imap_cmd_guides.c
* plug-ins/imagemap/imap_main.c
* plug-ins/imagemap/imap_main.h
* plug-ins/imagemap/imap_menu.c
* plug-ins/imagemap/imap_object.c
* plug-ins/imagemap/imap_preferences.h
* plug-ins/imagemap/imap_object.h: Cleaned up some warnings in
the imagemap plug-in; also fixed many function declarations.
svn path=/trunk/; revision=21904
2007-02-03 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/psd.c
* plug-ins/common/psd_save.c: Made fseek() and ftell() use glong
for offsets instead of gint32
svn path=/trunk/; revision=21840
2007-02-02 Sven Neumann <sven@gimp.org>
* plug-ins/common/mosaic.c (find_gradients): fixed problem pointed
out in bug #403580.
svn path=/trunk/; revision=21837
2007-01-31 Sven Neumann <sven@gimp.org>
* plug-ins/common/screenshot.c (select_window_x11): if we can't
grab the pointer, use the window under the pointer instead of
bailing out with an error message.
svn path=/trunk/; revision=21821
2007-01-22 Michael Schumacher <schumaml@cvs.gnome.org>
* plug-ins/script-fu/scripts/guides-new-percent.scm: replaced
license statement according to bug #119667.
svn path=/trunk/; revision=21750
2007-01-17 Sven Neumann <sven@gimp.org>
* plug-ins/common/curve_bend.c (bender_type_callback): check data
before accessing it to avoid crashing while the dialog is being
constructed. Fixes bug #395798.
svn path=/trunk/; revision=21729
2007-01-15 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg-exif.c (jpeg_exif_rotate_query): ellipsize
the image name displayed below the thumbnail.
svn path=/trunk/; revision=21717
2007-01-14 Hans Breuer <hans@breuer.org>
* plug-ins/script-fu/tinyscheme/scheme.[ch] : to make it compile with
msvc redefine stricmp after including <string.h> and protect gccism
#warning with #ifdef __GNUC__, also some more exports
* plug-ins/script-fu/scheme-wrapper.c : simple 'extern' does not work
to get variables across modules boundaries for msvc, use SCHEME_EXPORT
Together fixes bug #396268
svn path=/trunk/; revision=21707