Commit graph

32 commits

Author SHA1 Message Date
John McNamara
4acea2fcf8 minizip: remove c++ comment style from include files
Closes #448
2024-06-23 11:20:41 +01:00
James Addison
786a68ac1a Apply diff-patch of zlib-distributed minizip code (v1.3 to v1.3.1) to vendored minizip 2024-02-03 20:13:39 +00:00
Hans Wennborg
1dfd55bf17 Reject overflows of zip header fields in minizip.
This checks the lengths of the file name, extra field, and comment
that would be put in the zip headers, and rejects them if they are
too long. They are each limited to 65535 bytes in length by the zip
format. This also avoids possible buffer overflows if the provided
fields are too long.

(cherry picked from commit 73331a6a0481067628f065ffe87bb1d8f787d10c)
2023-12-24 23:27:09 +00:00
John McNamara
db5c0a6705 minizip: update include files for v1.3 2023-11-18 14:22:18 +00:00
James Addison
7e8e9c0b4c Manually re-apply libxlsxwriter customizations to minizip 2023-11-18 13:54:37 +00:00
James Addison
957ed5ca74 Raw copy of minizip source files from zlib v1.3 release 2023-11-18 13:54:37 +00:00
John McNamara
bbd46fff22 Fix minizip compile warnings.
Closes #381
2022-12-29 21:19:42 +00:00
John McNamara
bda599d033 Added optional third party dtoa library.
Added the optional Milo Yip DTOA library (emyg_dtoa) to avoid
issues where the standard sprintf() dtoa function changes output
based on locale settings. It is also 40-50% faster than the
standard dtoa for raw numeric data.

If you wish to use this third party library you can compile
libxlsxwriter with it by passing `USE_DTOA_LIBRARY=1` to
make. The USE_DOUBLE_FUNCTION build variable is no longer used.

Imported source from https://github.com/miloyip/dtoa-benchmark

Feature request #272
2021-07-12 23:09:52 +01:00
John McNamara
925a147fc1 Add support for using MD5 functions from OpenSSL.
Feature request #335
2021-05-27 23:35:59 +01:00
John McNamara
b9a98af00d Another fix for modified zconf.h on Gentoo.
Issue #116
2021-04-17 14:10:44 +01:00
John McNamara
ff35a56934 Add make target for macOS universal binary.
Issue #315
2020-11-14 21:32:00 +00:00
John McNamara
18252b714e Renamed MD5 functions and struct to avoid conflict with openssl.
Issue #260
2020-01-07 23:45:34 +00:00
John McNamara
b0738e2ba9 Addition of Openwall MD5 library.
Imported from:
https://openwall.info/wiki/people/solar/software/public-domain-source-code/md5
2019-12-24 00:27:41 +00:00
John McNamara
2fd7a4f814 Prep for release 0.7.8. 2018-08-30 23:52:45 +01:00
John McNamara
588891146e Fix warnings in minizip. 2018-08-22 20:53:58 +01:00
John McNamara
4310da6075 Fix for gcc 8.2 warnings.
Replace strncat with memcpy to placate gcc 8.2.
Also fix issue in tempfileplus.

Issue #192.
2018-08-22 20:52:12 +01:00
John McNamara
32be6b90f5 Fix for modified zconf.h on Gentoo.
Issue #116
2017-08-12 02:23:00 +01:00
John McNamara
1e50f8378a Fix for OpenBSD compile. 2016-07-12 21:57:52 +01:00
John McNamara
605bcec87b Added tmpfileplus to build system. 2016-07-10 15:40:41 +01:00
John McNamara
1c33af68ce Fix warnings 2016-07-10 15:39:23 +01:00
John McNamara
37656389c8 Added tmpfileplus v 2.0.0 files. 2016-07-10 15:34:32 +01:00
John McNamara
d7a3e2ae5f Added 32bit build to test matrix. 2016-06-26 04:05:47 +01:00
John McNamara
8c37848647 Fix makefiles for msys2/mingw64. 2016-06-25 02:47:45 +01:00
John McNamara
2eec85c4b3 Fixe for makefile CC on mingw. 2016-06-24 01:00:52 +01:00
John McNamara
6aaf95c1ab Fixes for mingw and cygwin. 2016-06-23 23:03:51 +01:00
John McNamara
be0097b717 Fixes for mingw and cygwin. 2016-06-23 21:35:23 +01:00
John McNamara
c8c3cc3b8b Remove define causing warning on MSVC. 2016-05-25 22:43:54 +01:00
John McNamara
12443dc3c6 Backport zlib iowin32.c to avoid oversized files on Windows.
https://github.com/madler/zlib/issues/128
2016-05-24 20:53:59 +01:00
John McNamara
cd3b3d2f9c Fixes for MSVC warnings. 2016-05-24 20:24:09 +01:00
John McNamara
c2d2ae7f90 Turned off unused minizip encrypt option.
Turned off unused minizip encryption option to make it backward
compatible with older zlib versions.

Closes #5
Closes #11
2015-11-07 23:27:19 +00:00
John McNamara
b21d5a7632 Fixed cocoa pod lint warnings. 2015-09-27 21:02:03 +01:00
John McNamara
a27b6de38e Initial commit 2014-06-08 17:40:59 +01:00