tamasmeszaros
94843bb6bf
Removing search for upstream miniz as its no longer compatible.
...
Due to 729298c408
fixes #7080
2021-10-12 09:59:59 +02:00
tamasmeszaros
883f46662d
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
Lukáš Hejl
02a0955a5f
Fixed possible wrongly filled ZIP headers in case that pState->m_zip64 is sets to true.
2021-05-29 19:56:20 +02:00
Lukáš Hejl
671c2ace17
Fixed a modification time for files appended using the streaming interface in the miniz library.
2021-05-25 10:38:29 +02:00
Lukáš Hejl
f50046b31b
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
Vojtech Bubnik
7a6c038480
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
Vojtech Bubnik
ef424ad101
miniz: mz_zip_writer_add_staged_data() writes in a single shot
2021-01-27 09:18:17 +01:00
Vojtech Bubnik
e82c502a47
miniz: Improved the streaming write interface.
2021-01-27 09:18:17 +01:00
Vojtech Bubnik
729298c408
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
Vojtech Bubnik
500c667d7a
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
tamasmeszaros
f275cdafa9
Revert "Patch miniz bundled version to support unicode on Windows."
...
This reverts commit 8fc1eba652
.
2019-06-02 19:06:29 +02:00
tamasmeszaros
34663a3514
Merge branch 'tm_minz_update'
2019-05-31 18:34:59 +02:00
tamasmeszaros
8fc1eba652
Patch miniz bundled version to support unicode on Windows.
2019-05-31 16:54:42 +02:00
tamasmeszaros
d5d6af1361
Using system miniz in Linuxes.
...
Also enabling miniz large file support on gnu compilers.
2019-05-31 12:33:35 +02:00
tamasmeszaros
96380180f4
Build system tweaks to get rid of cmake and boost warnings.
2019-05-30 17:48:32 +02:00
tamasmeszaros
025a889f88
Update miniz cmake
2019-05-27 14:46:04 +02:00
tamasmeszaros
902bf682c0
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
bubnikv
0558b53493
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