Commit graph

28 commits

Author SHA1 Message Date
John McNamara
925a147fc1 Add support for using MD5 functions from OpenSSL.
Feature request #335
2021-05-27 23:35:59 +01:00
Evan Miller
b62653f382 Add image buffers without a temporary file
Use fmemopen to create an in-memory FILE for reading in image
attributes. This avoids creating a separate temporary file for every
image added to the worksheet.

Passing NULL as the first argument creates a buffer managed by fmemopen.
According to the system documentation, fclose will free the buffer, so
no further changes are needed.

fmemopen is defined by POSIX.1-2008, and on some platforms requires
_POSIX_C_SOURCE set to 200809L or greater. This is conditionally set in
the file (src/worksheet.c) where fmemopen is used.

This change includes a new USE_FMEMOPEN option for both CMake and make,
following the tradition set by USE_STANDARD_TMPFILE etc. This new option
is enabled on Travis.

See #287 #288
2020-05-08 13:48:12 +01:00
Evan Miller
cc83549bbb Modernize the Travis configuration
Require Xenial and simplify the package configuration
2020-05-08 12:57:04 +01:00
John McNamara
0f41361397 Move cmake test to end of travis build. 2020-01-19 13:11:08 +00:00
John McNamara
10cd43179b Added cmake test to Travis CI build. 2019-12-26 17:13:43 +00:00
John McNamara
a4f9e5bad0 Initial image duplicate removal. Same worksheet only. 2019-12-24 19:17:17 +00:00
John McNamara
14421b6629 Add user defined function for formatting doubles. 2018-04-24 23:34:38 +01:00
John McNamara
fe5be10800 Fix for broken apt-get install. 2017-10-18 21:55:08 +01:00
John McNamara
1ac2a1e804 Improve "make install". 2017-08-20 11:48:11 +01:00
John McNamara
18103a811f Test example files build. 2017-08-14 23:39:30 +01:00
John McNamara
6ab722d9df Fix travis minizip build. 2017-08-14 21:15:48 +01:00
John McNamara
2891d7f2c1 Fix travis minizip build. 2017-08-14 21:13:11 +01:00
John McNamara
2a98593585 Fix travis minizip build. 2017-08-14 20:43:34 +01:00
John McNamara
856a45a292 Added option to use system minizip in make build.
Added option to use system minizip in the Makefile make system.

Issue #119.
2017-08-14 20:08:57 +01:00
John McNamara
ff0424ed65 Fix 32bit travis build. 2016-07-14 00:31:06 +01:00
John McNamara
a6cf4c3237 Made the tmpfileplus lib optional. 2016-07-14 00:21:45 +01:00
John McNamara
c1c5c643cb Made the tmpfileplus lib optional. 2016-07-14 00:02:50 +01:00
John McNamara
d7a3e2ae5f Added 32bit build to test matrix. 2016-06-26 04:05:47 +01:00
John McNamara
12afebc6d0 TravisCI config file. 2015-04-16 23:55:17 +01:00
John McNamara
f7cf644968 TravisCI config file. 2014-08-08 00:45:56 +01:00
John McNamara
4ab2621fb7 TravisCI config file. 2014-08-08 00:38:01 +01:00
John McNamara
f332038f50 TravisCI config file. 2014-06-08 20:36:40 +01:00
John McNamara
605fb3a0c8 TravisCI config file. 2014-06-08 20:31:01 +01:00
John McNamara
752fa426cd TravisCI config file. 2014-06-08 20:28:26 +01:00
John McNamara
788ccf148d TravisCI config file. 2014-06-08 20:27:39 +01:00
John McNamara
d60f8ae709 TravisCI config file. 2014-06-08 19:44:23 +01:00
John McNamara
30bb452b7e TravisCI config file. 2014-06-08 19:42:15 +01:00
John McNamara
0b0a38c1d1 TravisCI config file. 2014-06-08 19:40:06 +01:00