Commit Graph

6806 Commits

Author SHA1 Message Date
Massimo Valentini ef5cd8d80a Bug 686379: In the JPEG save dialog, checking/unchecking XMP...
saving, don't update JPEG size
2012-10-22 18:26:05 +02:00
Michael Natterer 890ae48330 Bug 686602 - missing EXIF_CFLAGS when building plug-ins/file-psd
Apply patch from John Hein which adds EXIF_CFLAGS to INCLUDES.
2012-10-22 14:59:51 +02:00
Michael Natterer bc87bf5fe9 plug-ins: fix #ifdefs to fix build error and warnings in screenshot.c 2012-10-17 11:53:45 +02:00
Michael Natterer e8eaeb606f Bug 686103 - Incorrect gimpfu documentation
Add missing "None" default values to PF_IMAGE and PF_DRAWABLE
parameters in the procedure registration example.
2012-10-14 21:31:07 +02:00
Simone Karin Lehmann 85445c88c3 Bug 683617 - Can't take screenshots (Mac OS)
Use the standard Mac OS X screenshot utulity, it supports
everything: delay, capture decoration, capture region, even
the mouse pointer.
2012-10-14 17:07:42 +02:00
Mukund Sivaraman 610aac1dac file-bmp: Don't use alpha channel with BI_RGB compression type
Don't use alpha channel with BI_RGB compression type in
BITMAPINFOHEADER images (bug #573090, bug #674398).
2012-10-08 09:12:25 +05:30
Mukund Sivaraman a19bbee5cb file-bmp: Reject compression type BI_ALPHABITFIELDS as unsupported
These were erroneously parsed before. Now we reject them.  It is
trivial to implement support for them, but we can't test it unless
someone comes up with a sample BMP file.  They don't seem to be
available in the wild.
2012-10-08 09:09:04 +05:30
Mukund Sivaraman 9818c4706a file-bmp: Change order of bytes (and the masks correspondingly) to please Firefox 2012-10-08 08:03:57 +05:30
Michael Natterer 8e5beb6d83 Bug 575830 - script-fu-refresh crashes Script-Fu when called from a script
Did the most stupid fix of simply not calling the procedure if it is
"script-fu-refresh-scripts". This is really not a use case that
warrants complicating lots of code.
2012-10-07 17:04:54 +02:00
Michael Natterer fe5366c455 Bug 565268 - unlocalizable string in script-fu-carve-it
Simplify blurb and mark it for translation.
2012-10-07 16:40:40 +02:00
Michael Natterer a2c8759fbf Bug 684923 - Fix script-fu build on OpenBSD/NetBSD
Apply patch from Brad Smith which defines AI_ADDRCONFIG
if it doesn't exist.
2012-10-02 22:11:27 +02:00
Michael Natterer 2a30a2bb74 Bug 684698 - Preferences-Folders: only 15 folder items accepted
Raise "max_paths" from 16 to 256 in all calls to gimp_path_parse().
2012-09-26 23:29:51 +02:00
Richard Allen b88f1b04dd Bug 673315 - raw RGB565 bitmap loader is endian-specific
Split raw RGB565 into RGB565LE/RGB565BE/BGR565LE/BGR565BE

This change splits the raw file importing to handle the two different
endiannesses natively. This fixes a bug where the same image would
import different on different CPUs or even on different operating
systems on the same CPU. This also adds the ability to directly open
BRG565 files from the raw file import dialog.
2012-09-26 23:10:30 +02:00
Michael Natterer aa0a24164c plug-ins: port file-gif-save to GEGL 2012-09-22 23:19:32 +02:00
Michael Natterer 6452a95125 Remove plug-in crop-auto and add compat PDB wrappers to replace it 2012-09-22 20:59:17 +02:00
Michael Natterer 784a98d170 plug-ins: port file-sgi to GEGL 2012-09-22 20:14:58 +02:00
Michael Natterer 07107fe214 plug-ins: port animation-play to GEGL 2012-09-22 00:46:05 +02:00
Michael Natterer cc817670ed plug-ins: port print to GEGL 2012-09-21 23:33:01 +02:00
Michael Natterer 244b3766bd plug-ins: port file-bmp to GEGL 2012-09-21 19:19:03 +02:00
Mukund Sivaraman 800f967930 file-bmp: Fix order of data in RGBA_8888 images
See #678250, #678252, etc. for example bug reports.

This fix should be sufficient in fixing BMP output, but it looks
like some apps like Firefox have broken BMP loaders which do not
care for the masks. We would have to change the masks for them.
2012-09-21 20:11:31 +05:30
Mukund Sivaraman b100b14111 file-bmp: All 16 and 32-bpp files need the masks to be written
See #678250, #678252, etc. for example bug reports.
2012-09-21 20:09:51 +05:30
Michael Natterer fd53a33de9 plug-ins: port file-faxg3 to GEGL 2012-09-17 23:31:02 +02:00
Michael Natterer 809521557a plug-ins: formatting and untabify in file-faxg3 2012-09-17 22:27:15 +02:00
Michael Natterer 59418b8a21 plug-ins: port file-gif-load to GEGL 2012-09-15 22:08:20 +02:00
Michael Natterer 654af22c0f plug-ins: undeprecate align-layers: no need to use gimp_drawable_get() 2012-09-15 21:56:05 +02:00
Michael Natterer e84d04d229 plug-ins: port file-aa to GEGL, and support indexed images 2012-09-15 09:34:25 +02:00
Michael Natterer 16f46dd0d4 plug-ins: port file-gbr to GEGL
This is only undeprecation and doesn't add high bitdepth brush support
or anything, not even for loaded half-float CinePaint brushes.
2012-09-13 22:36:31 +02:00
Kevin Cozens a2e037fb00 Corrected spelling errors spotted by Ari Pollak (Mostly fixes bug #683694)
Still need to address the "allows to" grammatical error.
2012-09-10 12:22:12 -04:00
Michael Natterer aecef113ab Bug 655684 - After saving an image with geotags you cannot...
Apply patch from Hartmut Kuhse which fixes encoding of
XMP_TYPE_GPS_COORDINATE.
2012-09-09 00:54:49 +02:00
Nils Philippsen 96ce2c936d file-cel: make generating thumbnails more robust
Ran non-interactively, file-cel could crash e.g. if loading an image to
generate a thumbnail, because there is no way to specify a palette file
in that case.
2012-09-06 12:42:48 +02:00
Mukund Sivaraman 1981cb9a82 value-propogate: Rearrange operands 2012-09-06 07:29:54 +05:30
Mukund Sivaraman 24139cf453 value-propogate: Fix condition (cppcheck report) 2012-09-06 07:29:16 +05:30
Mukund Sivaraman b3d0ec400e gfig: Remove redundant code (cppcheck report) 2012-09-06 07:25:50 +05:30
Mukund Sivaraman dde1ed4d3c file-save-pdf: Remove redundant code (cppcheck report) 2012-09-06 07:23:05 +05:30
Michael Natterer a366fd76e5 Revert "Bug 683381 - Inverted alpha behavior of 16-bit Targa files"
This reverts commit dc00fb57a0.
2012-09-05 23:34:11 +02:00
Mike Gran dc00fb57a0 Bug 683381 - Inverted alpha behavior of 16-bit Targa files
file-tga.c (upsample): swap alpha behavior
2012-09-05 22:47:35 +02:00
Massimo Valentini c59ab4d817 lcms: oversight 2012-09-04 17:53:06 +02:00
Michael Natterer 8bbfc9e5cf Bug 675558 - switch from lcms-1 to lcms-2
Applied modified patch from Hartmut Kuhse which ports to lcms-2.
2012-09-03 20:03:53 +02:00
Michael Natterer ed94e55be9 plig-ins: build file-compressor only if all compressions libs are there 2012-09-02 22:25:04 +02:00
Michael Natterer e49a5db5b4 plug-ins: formatting in file-compressor.c 2012-09-02 19:18:56 +02:00
Mukund Sivaraman 310e07465b file-compressor: Fix compiler warning 2012-09-02 05:05:24 +05:30
Mukund Sivaraman fc4a192f23 file-compressor: Add support for xz compressed files (bug #683159)
This commit causes a compiler warning because string literals are of
type signed char, and we use a character out of the signed range in the
mimetype for xz.  It can be fixed by changing the data type of the mime
string to (unsigned char *), and not using string literals, but that's
a bit too much for this commit.
2012-09-02 04:43:06 +05:30
Simon Budig 3d739b0cd2 assume gamma-data in tiffs. 2012-08-29 19:04:13 +02:00
Simon Budig da992cd62b small bugfix for planar, removal of dead code. 2012-08-29 18:20:34 +02:00
Massimo Valentini c09414b8b7 Bug 682454: Plug-in crashed
plug-in-metadata-decode-exif makes use of the exif parasite
attached to the image few lines above.

and exif_data->size is the size of the thumbnail buffer that
starts at exif_data->data and not at exif_data.

==4677== Invalid read of size 1
==4677==    at 0x4A0A130: memcpy@@GLIBC_2.14 (/builddir/build/BUILD/valgrind-3.7.0/memcheck/mc_replace_strmem.c:837)
==4677==    by 0x4E440F8: gimp_write (gimp-2-8/libgimp/gimp.c:1726)
==4677==    by 0x5BDD27E: gimp_wire_write (gimp-2-8/libgimpbase/gimpwire.c:174)
==4677==    by 0x5BD9D41: _gp_params_write (gimp-2-8/libgimpbase/gimpprotocol.c:1748)
==4677==    by 0x5BDDA46: gimp_wire_write_msg (gimp-2-8/libgimpbase/gimpwire.c:296)
==4677==    by 0x5BDAE17: gp_proc_run_write (gimp-2-8/libgimpbase/gimpprotocol.c:305)
==4677==    by 0x4E4513E: gimp_run_procedure2 (gimp-2-8/libgimp/gimp.c:993)
==4677==    by 0x4E4544B: gimp_run_procedure (gimp-2-8/libgimp/gimp.c:926)
==4677==    by 0x40BD36: gimp_metadata_store_exif (gimp-2-8/plug-ins/file-jpeg/gimpexif.c:69)
==4677==    by 0x406EA4: load_image (gimp-2-8/plug-ins/file-jpeg/jpeg-load.c:343)
==4677==    by 0x405A2E: run (gimp-2-8/plug-ins/file-jpeg/jpeg.c:235)
==4677==    by 0x4E44AD8: gimp_main (gimp-2-8/libgimp/gimp.c:1992)
==4677==    by 0x30A0421734: (below main) (in /usr/lib64/libc-2.15.so)
==4677==  Address 0x8f75e01 is 1 bytes after a block of size 64 alloc'd
==4677==    at 0x4A06F18: calloc (/builddir/build/BUILD/valgrind-3.7.0/coregrind/m_replacemalloc/vg_replace_malloc.c:566)
==4677==    by 0x8AC304B: exif_data_new_mem (/home/massimo/libexif/libexif/exif-data.c:111)
==4677==    by 0x8AC312D: exif_data_new (/home/massimo/libexif/libexif/exif-data.c:95)
==4677==    by 0x407224: load_image (gimp-2-8/plug-ins/file-jpeg/jpeg-load.c:311)
2012-08-26 17:41:25 +02:00
Alexandre Prokoudine 6f3cbcbbd9 Adjusted default values in the Drop Shadow script to help people produce less ugly artwork 2012-08-25 20:14:02 +04:00
Mikael Magnusson f6f22ed431 Remove stray semicolons 2012-08-20 15:22:20 +02:00
Nils Philippsen 43fc9dbd8e file-gif-load: fix type overflow (CVE-2012-3481)
Cast variables properly to avoid overflowing when computing how much
memory to allocate.
2012-08-16 12:07:40 +02:00
Jan Lieskovsky d95c2f0bcb file-gif-load: limit len and height (CVE-2012-3481)
Ensure values of len and height can't overflow g_malloc() argument type.
2012-08-16 12:06:31 +02:00
Nils Philippsen 86f4cd39bd file-cel: use g_set_error() for errors instead of g_message() 2012-08-14 12:03:59 +02:00