2007-07-25 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-draw-page.c (draw_page_cairo): push a group
around the image surface fills. This seems to get rid of the white
stripes in the output.
svn path=/trunk/; revision=22997
2007-07-25 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c (run): always call gimp_ui_init(), we need
funtionality from GTK+, even if called non-interactively.
svn path=/trunk/; revision=22996
2007-07-25 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/progress.pdb: added new procedure gimp-progress-end.
* app/pdb/progress_cmds.c
* app/pdb/internal_procs.c
* libgimp/gimpprogress_pdb.[ch]: regenerated.
* plug-ins/print/print.[ch]
* plug-ins/print/print-settings.[ch]: end the progress and save
the settings from the "end-print" handler. The plug-in then
appears finished but keeps running in the background until it has
finished the print operation.
svn path=/trunk/; revision=22994
2007-07-25 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c: delete the export image from the
"end-print" handler.
svn path=/trunk/; revision=22993
2007-07-24 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-page-layout.c: applied patch from Stefan
Röllin to restore image offsets (bug #387604).
svn path=/trunk/; revision=22986
2007-07-24 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-draw-page.c (create_surface_from_rgba):
use integer arithmetic to do the compositing.
svn path=/trunk/; revision=22985
2007-07-24 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_main.c (main_set_title): use
g_filename_display_basename() instead of g_path_get_basename().
svn path=/trunk/; revision=22983
2007-07-24 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c: if we created an export image, delete
it as soon as possible so it isn't left behind if the user kills
the plug-in later because of printer problems.
svn path=/trunk/; revision=22980
2007-07-23 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.[ch]
* plug-ins/print/print-page-layout.c
* plug-ins/print/print-settings.[ch]: removed image_ID from the
PrintData struct and made sure that the parasites are read from
and attached to the original image, not the export image.
svn path=/trunk/; revision=22978
2007-07-23 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c (print_image): only delete the image if
gimp_export_image() actually created a new one.
svn path=/trunk/; revision=22975
2007-07-20 Raphael Quinet <raphael@gimp.org>
* plug-ins/common/tga.c (ReadImage): added support for reading
indexed TGA images with transparency information in the colormap.
These images are now promoted to RGBA. Fixes bug #445559.
(save_image): save INDEXEDA images correctly instead of saving
uninitialized tile data to the file.
svn path=/trunk/; revision=22971
2007-07-20 Sven Neumann <sven@gimp.org>
Applied another patch from Stefan Röllin:
* plug-ins/print/print-page-layout.c: align buttons.
svn path=/trunk/; revision=22970
2007-07-20 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpoffsetarea.c
* plug-ins/print/print-preview.c: set a cursor to indicate that
the area is interactive.
* plug-ins/print/print-page-layout.c: minor dialog tweaks.
svn path=/trunk/; revision=22963
2007-07-20 Sven Neumann <sven@gimp.org>
Applied patch from Stefan Röllin attached to bug #387604:
* plug-ins/print/print-draw-page.c: take offsets into account.
svn path=/trunk/; revision=22962
2007-07-20 Raphael Quinet <raphael@gimp.org>
* plug-ins/faxg3/faxg3.c (query): changed the magic string to
"Research" starting at offset 4 (this also matches the longer
string "PC Research, Inc" starting at offset 1). Addresses a part
of bug #445559.
svn path=/trunk/; revision=22960
2007-07-19 Sven Neumann <sven@gimp.org>
Applied patch from Stefan attached to bug #387604:
* plug-ins/print/Makefile.am
* plug-ins/print/print-preview.[ch]: new files implementing a
print preview similar to GimpOffsetArea.
* plug-ins/print/print.[ch]
* plug-ins/print/print-page-layout.c
* plug-ins/print/print-settings.c: adds GUI to adjust the
offsets.
svn path=/trunk/; revision=22959
2007-07-17 Raphael Quinet <raphael@gimp.org>
Reorganized the way JPEG comments and metadata are loaded.
* plug-ins/jpeg/jpeg-load.c (load_image): sanitize comments
containing invalid UTF-8 instead of discarding them. If there is
more than one EXIF block in a file, merge all of them instead of
keeping only the block that contains a thumbnail image (see also
bug #446809 and bug #358117). Process XMP after EXIF.
* plug-ins/jpeg/jpeg.h: include two null characters as part of the
EXIF header.
* plug-ins/jpeg/jpeg-exif.c: added jpeg_exif_get_orientation(),
removed jpeg_apply_exif_data_to_image() because this is now done
directly in jpeg-load.c.
* plug-ins/jpeg/jpeg-icc.c
* plug-ins/jpeg/jpeg-icc.h: removed jpeg_icc_setup_read_profile()
svn path=/trunk/; revision=22949
2007-07-17 Raphael Quinet <raphael@gimp.org>
* plug-ins/jpeg/jpeg-exif.c (jpeg_setup_exif_for_save): include
GIMP version number in the EXIF "software" tag. This makes it
easier to debug issues related to metadata.
svn path=/trunk/; revision=22945
2007-07-16 Sven Neumann <sven@gimp.org>
* plug-ins/uri/uri.c
* plug-ins/uri/uri-backend.h: get the procedure help strings from
the backend abstraction.
* plug-ins/uri/uri-backend-gnomevfs.c
* plug-ins/uri/uri-backend-libcurl.c
* plug-ins/uri/uri-backend-wget.c: provide help strings.
svn path=/trunk/; revision=22937
2007-07-16 Sven Neumann <sven@gimp.org>
* plug-ins/common/png.c: only register one save MIME handler.
Fixes bug #457045.
svn path=/trunk/; revision=22936
2007-07-12 Sven Neumann <sven@gimp.org>
* plug-ins/common/psd-load.c: don't divide by zero when loading
a
layer or mask with zero width or height. Fixes bug #456042.
svn path=/trunk/; revision=22915
2007-07-11 Sven Neumann <sven@gimp.org>
* plug-ins/common/lcms.c: clarify which procedures work with RGB
profiles and which accept profiles for other colorspaces.
Calculate MD5 checksums of the profile data excluding the header
and skip attempts to convert between identical profiles (bug #456017).
svn path=/trunk/; revision=22912
2007-07-10 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/3dTruchet.scm: TinyScheme doesn't like
inexact numbers to start with a decimal point. Added leading '0' to
two instances of '.2'.
svn path=/trunk/; revision=22908
2007-07-10 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg.c
* plug-ins/jpeg/jpeg-save.[ch]: fixed an issue with the latest
changes. Now "Load Defaults" does also work if "Save Defaults"
wasn't used before.
svn path=/trunk/; revision=22907
2007-07-09 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg.c (run): when the save procedure is being
called with GIMP_RUN_WITH_LAST_VALS and the image doesn't have
the
"jpeg-save-options" parasite set, show the dialog to give the
user
control over the JPEG encoding parameters.
svn path=/trunk/; revision=22905
2007-07-08 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg.c
* plug-ins/jpeg/jpeg-save.[ch]: applied patch from Etienne which
adds configurable default parameters similar to the PNG save
plug-in.
Addresses bug #63610.
svn path=/trunk/; revision=22895
2007-07-06 Sven Neumann <sven@gimp.org>
* plug-ins/common/channel_mixer.c: minor layout tweak.
* libgimpwidgets/gimppreviewarea.c
(gimp_preview_area_set_colormap):
clear the colormap to all zeros before setting the new colors.
svn path=/trunk/; revision=22893
2007-07-06 Sven Neumann <sven@gimp.org>
* plug-ins/common/psd-load.c (do_layer_record): applied part of a
patch from John Marshall that fixes handling of the short layer
name (bug #445316).
svn path=/trunk/; revision=22888
2007-07-06 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/sunras.c: validate size values read from files
before using them to allocate memory.
svn path=/trunk/; revision=22885
2007-07-06 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/psd-load.c: validate size values read from files
before using them to allocate memory.
svn path=/trunk/; revision=22883
2007-07-05 Raphael Quinet <raphael@gimp.org>
* plug-ins/common/psd-load.c (do_layer_record): check for invalid
number of channels in a layer.
* plug-ins/common/pcx.c (load_image): check for invalid image
width or height.
* plug-ins/bmp/bmpread.c: check for invalid image width or height,
return if the image could not be read instead of trying to set the
resolution or to flip a non-existing image.
svn path=/trunk/; revision=22877
2007-07-04 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/psd-load.c: validate size values read from files
before using them to allocate memory.
svn path=/trunk/; revision=22863