6a327e00df
Removing search for upstream miniz as its no longer compatible.
...
Due to 729298c408
fixes #7080
2021-10-12 09:59:59 +02:00
adb7fc5f43
Fix warnings when newer CMake is used.
...
project() call should always come AFTER cmake_minimum_required(). This caused various hard-to-debug issues when searching for packages.
Newer CMake versions complain that compatibility is broken with v2.6
2021-08-20 13:42:10 +02:00
9563822458
Fixed possible wrongly filled ZIP headers in case that pState->m_zip64 is sets to true.
2021-05-29 19:56:20 +02:00
1deeb3aa07
Fixed a modification time for files appended using the streaming interface in the miniz library.
2021-05-25 10:38:29 +02:00
6944107782
Modified streaming interface in miniz library to use ZIP64 extension only for files exciding the limits.
...
The modification is based on a preallocation space in the Extra field using a phony custom block in the Local file header. This space is eventually overwritten by the ZIP64 extension if the file exceeds 4GiB.
Also were fixed differences from PKZip specification in the streaming interface.
2021-05-20 19:44:12 +02:00
cf3020fc97
Refactoring of 3MF file export to use the new homebrewed miniz
...
streaming interface. This shall fix high memory consumption and
crashes when exporting extremely large 3MF files.
2021-01-27 09:18:17 +01:00
cf80490b8e
miniz: mz_zip_writer_add_staged_data() writes in a single shot
2021-01-27 09:18:17 +01:00
5f237d34d9
miniz: Improved the streaming write interface.
2021-01-27 09:18:17 +01:00
9b63b76f7e
PrusaResearch (Vojtech) homebrewed the following:
...
mz_zip_writer_add_staged_open(), mz_zip_writer_add_staged_data() and mz_zip_writer_add_staged_finish()
were derived from mz_zip_writer_add_read_buf_callback() by splitting it and passing a new
mz_zip_writer_staged_context between them.
2021-01-27 09:18:16 +01:00
ffcd87193b
Extended miniz with https://github.com/richgel999/miniz/pull/147
...
to support writing a file from a callback without knowing the file
size up front. See comments in src/miniz/README-Prusa.txt for potential
pitfalls.
2021-01-26 09:29:34 +01:00
f242c7cfcd
Revert "Patch miniz bundled version to support unicode on Windows."
...
This reverts commit 8fc1eba652 .
2019-06-02 19:06:29 +02:00
a907798534
Merge branch 'tm_minz_update'
2019-05-31 18:34:59 +02:00
8b10e0072e
Patch miniz bundled version to support unicode on Windows.
2019-05-31 16:54:42 +02:00
14beafb4be
Using system miniz in Linuxes.
...
Also enabling miniz large file support on gnu compilers.
2019-05-31 12:33:35 +02:00
6815ca85b7
Build system tweaks to get rid of cmake and boost warnings.
2019-05-30 17:48:32 +02:00
836e37b0ca
Update miniz cmake
2019-05-27 14:46:04 +02:00
a1ef85dde6
Replacing old miniz version with new 2.1.0
...
#2333 : The amalgamated library is used from the 'releases' section of the original upstream https://github.com/richgel999/miniz
2019-05-23 11:52:31 +02:00
1260b8deb3
WIP: Moved sources int src/, separated most of the source code from Perl.
...
The XS was left only for the unit / integration tests, and it links
libslic3r only. No wxWidgets are allowed to be used from Perl starting
from now.
2018-09-19 11:02:24 +02:00