Commit Graph

6583 Commits

Author SHA1 Message Date
Kleis Auke Wolthuizen
c8230195ba Do not link against libgthread when GLib >= 2.32
libglib is always thread-enabled since v2.32.
2020-03-24 11:05:19 +01:00
Kleis Auke Wolthuizen
a6d19e5c4c Prefer to find expat with pkg-config
Fall back to AM_WITH_EXPAT if it could not be found.
2020-03-24 11:03:36 +01:00
John Cupitt
834234c23c add all smartcrop mode
So you can crop to fill as well as crop to fit.

see https://github.com/libvips/libvips/issues/1583
2020-03-19 18:57:40 +00:00
John Cupitt
3b57e13452 move heifsave to new target API
and add heifsave_target
2020-03-15 18:17:08 +00:00
John Cupitt
0badb7c603 add heifload_source 2020-03-15 11:45:56 +00:00
John Cupitt
1deada5aad Merge branch 'master' into revise-heifload 2020-03-14 13:06:23 +00:00
John Cupitt
7710fab06c add gio to libs and cflags
should fix fuzz build
2020-03-14 12:09:47 +00:00
John Cupitt
e4f9025cde missing ABSTRACT for matrixsave 2020-03-13 17:07:54 +00:00
John Cupitt
2b78a00cfb hist_local was missing a seq hint 2020-03-13 16:44:57 +00:00
John Cupitt
b0f3f687f2 fix up suffs on all savers
we were not checking that suffs was always defined
2020-03-13 13:01:15 +00:00
John Cupitt
c5c0690588 fix --without-rsvg
We need to add gio to packages-used if it's available.

See https://github.com/libvips/libvips/issues/1575
2020-03-13 10:04:02 +00:00
John Cupitt
44a16b90d3 csvsave_target was missings suffs
This now works:

	vips gaussmat .csv 2 0.2
2020-03-13 08:54:15 +00:00
John Cupitt
764b196d50 move pdfload on top of source API
and add pdfload_source

see https://github.com/libvips/libvips/issues/1541
2020-03-11 18:15:15 +00:00
John Cupitt
d4f12a9999 move VipsGInputStream to public API
Since we will need it for pdfload as well.
2020-03-11 17:17:45 +00:00
John Cupitt
b689235f57 missing include in test_connections
Thanks brcarp.

See https://github.com/libvips/libvips/issues/1571
2020-03-11 09:11:29 +00:00
John Cupitt
73c1331439 swap abs() for fabs() in composite
The non-vector fallback path had abs(double). Thanks brcarp.

See https://github.com/libvips/libvips/issues/1572
2020-03-11 09:08:39 +00:00
John Cupitt
03399b4d7e tiff write sets page number
tiffsave sets `PAGENUMBER` and `FILETYPE_PAGE`, thanks jclavoie-jive

see https://github.com/libvips/libvips/issues/1565
2020-03-08 11:06:19 +00:00
John Cupitt
a592d99bb2 add dir detector
useful for blocking open for read of directories
2020-03-06 18:05:16 +00:00
John Cupitt
d13c0a69fd Merge branch 'master' of github.com:libvips/libvips 2020-03-06 13:05:38 +00:00
John Cupitt
6117310c18 improve file open error handling
better behaviour if you try to open a directory as an image
2020-03-05 15:30:37 +00:00
John Cupitt
68f766b482 Merge branch '8.9' 2020-03-05 15:03:00 +00:00
John Cupitt
b3a7929247 detect read errors in sniff correctly
we has a signed/unsigned mixup :(
2020-03-05 15:02:16 +00:00
John Cupitt
7b26bd1fdf add more "const" decls 2020-03-05 13:41:41 +00:00
John Cupitt
6a2fbbaed7 Revert "add more "const" decls"
This reverts commit 3dc2757330.
2020-03-05 13:40:07 +00:00
John Cupitt
3dc2757330 add more "const" decls 2020-03-05 13:09:28 +00:00
John Cupitt
9ef8b55218 better handling of short files in vips7 compat
the sniffer could read beyond the end of the file sometimes
2020-03-04 17:38:41 +00:00
John Cupitt
9070b6d71b
Merge pull request #1566 from jtojnar/patch-1
autogen.sh: Honor NOCONFIGURE
2020-03-04 03:00:07 +00:00
Jan Tojnar
97a92e0e6a
autogen.sh: Honor NOCONFIGURE
Linux distros will usually want to run configure separately so the script should respect their wishes. See also https://people.gnome.org/~walters/docs/build-api.txt
2020-03-04 01:22:35 +01:00
Uwe Ohse
433e35ebbb deprecate unused option --delete 2020-02-29 15:50:01 +00:00
John Cupitt
7d3a7e9c29 Merge branch '8.9' 2020-02-28 15:23:31 +00:00
John Cupitt
ab5d511123 add fuzz corpus 2020-02-28 15:22:10 +00:00
John Cupitt
59669be592 remove some stray files 2020-02-28 14:51:21 +00:00
John Cupitt
7ea34382a3 start revising heifload
not quite working
2020-02-28 14:41:00 +00:00
John Cupitt
b1e1d4b4f6 better line/col numbering in csvload 2020-02-24 14:14:27 +00:00
John Cupitt
175408733f fix use-after-free
see https://oss-fuzz.com/testcase-detail/5663684670259200
2020-02-23 11:09:44 +00:00
John Cupitt
1a0e61510b rewrite matrixsave
uses new target API
2020-02-22 17:55:04 +00:00
John Cupitt
ce240b1ca2 revise matrixload for source API 2020-02-22 15:02:12 +00:00
John Cupitt
d68e02a3c4 Merge branch 'revise-csvload' 2020-02-21 18:23:13 +00:00
John Cupitt
bab3486aca fix lines param to csvload
we had lines and skip mixed up
2020-02-21 18:22:39 +00:00
John Cupitt
fe47ce12e9 move csvsave to the new target API 2020-02-21 17:57:28 +00:00
John Cupitt
726895b3d1 add vips_csvload_source() 2020-02-21 16:39:40 +00:00
John Cupitt
71c15958ed new csvload seems to work 2020-02-21 16:04:29 +00:00
John Cupitt
0986ad647e Merge branch 'master' of github.com:libvips/libvips 2020-02-21 11:54:53 +00:00
John Cupitt
44fb4044b6 revise docs for percent
the greater than was backwards, thanks gil-c

see https://github.com/libvips/libvips/issues/1560
2020-02-21 11:53:55 +00:00
John Cupitt
0a23bf3578 revise formatting, add docs
fix up some formatting from https://github.com/libvips/libvips/pull/1552

plus some other small changes
2020-02-18 17:37:56 +00:00
John Cupitt
fefefdf3e2
Merge pull request #1552 from wix-playground/master
Add force subsample argument to JPEG save
2020-02-18 16:57:15 +00:00
elad laufer
1db2f4731c - fix comment 2020-02-18 18:21:21 +02:00
elad laufer
8749871c71 - remove no_subsample from inner calls 2020-02-18 18:04:29 +02:00
elad laufer
22b3a0d161 - use enum string 2020-02-18 13:43:02 +02:00
elad laufer
41d79415b9 - argument deprecation flag
- styling
2020-02-18 13:31:58 +02:00