Kleis Auke Wolthuizen
aac1748615
Explicitly cast to unsigned int before left-shifting
...
To avoid potential signed integer overflow (undefined behavior), as
implicit integer promotion means the operand becomes a (signed) int.
2020-07-19 19:14:48 +02:00
Lovell Fuller
a7357c5757
Perf: improve conversion to LCH by ~30%, avoid costly atan2
2020-07-19 15:29:03 +01:00
Kleis Auke Wolthuizen
3460814b98
Add test case for undefined shift in rad2vips
2020-07-19 13:48:21 +02:00
John Cupitt
72ca38cab0
only rebuild heif exif if we have to
...
and fix write of XMP write in heic
2020-07-19 02:06:36 +01:00
John Cupitt
fcaba0e6ba
add @profile to webpsave
...
small tiffsave fixes too
2020-07-18 14:49:37 +01:00
John Cupitt
a69c998ff0
avoid exif rebuild when stripping jpg
...
don't rebuild the exif data block if we don't need it
see https://github.com/libvips/libvips/issues/394
2020-07-18 14:07:21 +01:00
John Cupitt
63a549a3b2
Ugly hack to hide the GPSVersionID bug
...
see https://github.com/libvips/libvips/issues/394
2020-07-18 11:59:42 +01:00
John Cupitt
43385c928d
fix crash with some openslide images
...
some openslide images seem to have null properties
see https://github.com/libvips/libvips/issues/1723
2020-07-17 10:50:09 +01:00
John Cupitt
0a4d4daf5e
Merge branch 'master' of github.com:libvips/libvips
2020-07-15 12:22:37 +01:00
John Cupitt
6e9d6cc80a
Merge pull request #1718 from Zeranoe/patch-1
...
Update link for vips-gmic
2020-07-15 12:10:50 +01:00
John Cupitt
36ac84ee6f
fix spngload default ppm
2020-07-15 10:56:34 +01:00
Zeranoe
2d7fe6211f
Update link for vips-gmic
...
vips-gmic doesn't appear to be a libvips repo anymore.
2020-07-15 03:30:58 -04:00
John Cupitt
83a7970a7d
Merge pull request #1716 from kleisauke/ubuntu-18.04-travis
...
Travis improvements
2020-07-14 19:06:03 +01:00
Kleis Auke Wolthuizen
102b3730e8
Remove stages from Travis
...
Ensures that the "fast_finish" option is honored and that
"Allowed failures" is still listed as a separate block.
2020-07-14 19:37:39 +02:00
Kleis Auke Wolthuizen
81cf52b6fa
Fix a typo
2020-07-14 19:09:30 +02:00
Kleis Auke Wolthuizen
62ecad6459
Compile with -Wcast-function-type on Travis
...
See:
https://github.com/libvips/libvips/pull/1697#issuecomment-657602404
2020-07-14 19:09:30 +02:00
Kleis Auke Wolthuizen
f2035797f9
Add bash to LSan suppression file
2020-07-14 19:09:30 +02:00
Kleis Auke Wolthuizen
e8dc191795
Upgrade GCC to 10 on Travis
2020-07-14 19:09:27 +02:00
Kleis Auke Wolthuizen
d4fef12284
Use Ubuntu 18.04 (Bionic) on Travis
2020-07-14 19:08:21 +02:00
John Cupitt
f7e8db599d
spngload warns about trucated files
...
it used to silently work
2020-07-14 17:56:36 +01:00
John Cupitt
740be29586
better PNG unit handling on read
2020-07-14 16:32:02 +01:00
John Cupitt
ee4610ce18
fix a compiler warning
2020-07-14 12:56:47 +01:00
John Cupitt
cc3682cb79
Merge branch 'master' of github.com:libvips/libvips
2020-07-14 10:26:46 +01:00
John Cupitt
5739ba12eb
fix a few more function casts
...
see
https://github.com/libvips/libvips/pull/1697#issuecomment-657602404
2020-07-14 10:25:35 +01:00
John Cupitt
8c69493168
Merge pull request #1714 from kleisauke/vips7-compat
...
Add missing vips7 compat wrappers
2020-07-14 09:27:53 +01:00
Kleis Auke Wolthuizen
18f3b2519f
Styling / typo fixes
2020-07-13 15:41:16 +02:00
Kleis Auke Wolthuizen
9226303b1c
Add missing vips7 compat wrappers
...
For im_{lr,tb}mosaic and im_correl.
2020-07-13 15:38:09 +02:00
John Cupitt
ad16b87a75
add LT_INIT
2020-07-10 17:34:40 +01:00
John Cupitt
84d0d5a7a3
Merge pull request #1708 from kleisauke/out-of-source
...
Fix out-of-source build issues
2020-07-10 17:19:03 +01:00
John Cupitt
97eb2e53bd
missing copy-memory during thumbnail rotation
...
see https://github.com/libvips/libvips/issues/1704#issuecomment-655691041
2020-07-09 07:08:49 +01:00
Kleis Auke Wolthuizen
b84e87b6d2
Improve --vips-config output
2020-07-07 13:57:25 +02:00
Kleis Auke Wolthuizen
e91997052b
Out-of-source support for autogen.sh
2020-07-07 12:16:43 +02:00
Kleis Auke Wolthuizen
fb61f0fa44
Define ENABLE_DEPRECATED in config.h
...
Do not check for VIPS_ENABLE_DEPRECATED as it could
come from an earlier version of libvips.
2020-07-07 12:16:43 +02:00
Kleis Auke Wolthuizen
6329d35048
Out-of-source support for configure
...
+ some small cleanups.
2020-07-07 12:16:40 +02:00
John Cupitt
c51dc9cd90
Merge pull request #1706 from sherifabdlnaby/master
...
Add Issue Templates with Auto Labeling
2020-07-06 23:00:46 +01:00
Kleis Auke Wolthuizen
42a7c9736b
Update IGNORE_VIPS_C list
2020-07-06 21:32:41 +02:00
Kleis Auke Wolthuizen
cd948d86f6
Modernise autogen.sh
...
Based on: https://wiki.gnome.org/Projects/GnomeCommon/Migration#autogen.sh
2020-07-06 21:32:41 +02:00
Kleis Auke Wolthuizen
402f8918b7
Do not distribute version.h within the tarball
...
It is automatically generated during the build process.
2020-07-06 21:32:00 +02:00
Sherif Abdel-Naby
d8db91845d
Add Issue Templates with Auto Labeling
2020-07-06 17:45:52 +02:00
John Cupitt
105e56939a
update cplusplus API for 8.10
2020-07-05 22:38:08 +01:00
John Cupitt
5117c1a980
remove mode_t from headers
...
it seems to fail with MSVC.
int works fine, and is what g_open() uses.
2020-07-04 18:28:44 +01:00
John Cupitt
e5bde64b03
revise gifload again
...
final polish, hopefully
2020-07-03 13:31:00 +01:00
John Cupitt
7c2c152a74
note wasm patch in changelog
2020-07-03 02:21:16 +01:00
John Cupitt
e728e5638d
Merge pull request #1697 from kleisauke/wasm-function-pointers
...
Support for use in WASM environments (#192 )
2020-07-03 02:09:39 +01:00
John Cupitt
b27fc73ac7
Merge pull request #1699 from lovell/webp-anim-allow-mixed
...
Further reduce animated WebP image size by ~5% when min_size is set
2020-07-03 00:17:34 +01:00
John Cupitt
5789ac905d
revise DISPOSE_PREVIOUS, again
...
Perhaps it now works :(
See https://github.com/libvips/libvips/issues/1649
2020-07-02 17:41:40 +01:00
John Cupitt
e4d38d1d3e
clip out of bounds GIF images against the canvas
...
Some malformed GIFs have images which lie outside or partly outside the canvas.
With this patch, these frames are clipped and rendered.
Previously, these GIFs were rejected.
See https://github.com/libvips/libvips/issues/1701
2020-07-02 16:41:37 +01:00
John Cupitt
207d40f640
better leak test output
2020-07-02 14:15:58 +01:00
John Cupitt
3c071a8ebb
more the rest of mosaicing into private API
...
chkpair, lr|tbmosaic, etc.
2020-07-02 12:35:37 +01:00
John Cupitt
0803de07e7
move vips__lr|tbmerge to private API
2020-07-01 17:31:25 +01:00