38 Commits

Author SHA1 Message Date
Guenter Obiltschnig
86333d9103 one more fix for #1597: check for empty streams in Compress::addEntry() so this also works with non-seekable output streams 2017-02-17 20:18:57 +01:00
Guenter Obiltschnig
158db947cb fixed GH #1597: adding empty file to zip leads to archive that can't be unzipped by windows 2017-02-17 15:39:36 +01:00
Guenter Obiltschnig
820a4ed13d fixed GH #1599: readFromDevice( ) in AutoDetectStream.cpp in Poco Zip cannot detect signature 2017-02-17 09:58:02 +01:00
Guenter Obiltschnig
2daefbff30 fixes for GH #1566, #1567, #1580 based on 1.7.8 branch fixes 2017-02-12 13:01:14 +01:00
Guenter Obiltschnig
a1657d5e1b fixed GH #1465: Assertion violation in DateTime.cpp using ZipArchive 2016-10-22 16:23:11 +02:00
Guenter Obiltschnig
f86dfa8239 integrated fixes for #1416 from poco-1.7.6 branch 2016-09-29 20:10:10 +02:00
Guenter Obiltschnig
dd30db6ca9 fixed Klocwork issues 2016-09-26 19:29:55 +02:00
Günter Obiltschnig
289b05c8b3 Revert "GH #1050 Zip: fix gcc -Wshadow warnings" 2016-09-05 08:29:59 +02:00
Guenter Obiltschnig
4d7f2426f1 fixed GH #993: Invalid zip format when opening a docx in word [host system type is now always set to 0, as this is the correct thing to do] 2016-04-23 09:21:40 +02:00
Guenter Obiltschnig
d11b69ca00 style fixes 2016-04-16 09:57:54 +02:00
Guenter Obiltschnig
8fd1065804 fixed GH #1239: Poco::Zip::Compress with non-seekable stream fails for CM_STORE
Conflicts:
	Zip/src/ZipLocalFileHeader.cpp
2016-04-14 18:28:08 +02:00
Aleksandar Fabijanic
5cc3ef7086 style fixes 2016-03-29 22:02:40 -07:00
stracol
1cd3dfe1d2 Fixes crashed on streamed unzip
Fixes a crash if the incoming stream has less than the header size available.
2016-03-29 12:50:40 +02:00
Miklos Vajna
714dc6ddd2 GH #1050 Zip: fix gcc -Wshadow warnings 2016-03-25 08:42:58 +01:00
Günter Obiltschnig
7354f29bf5 Merge pull request #970 from MrHacky/fix-335
Fix zip files made with non-seekable output. (issue #335)
2015-10-08 14:59:16 +02:00
Simon Sasburg
ca1af32ecc Fix zip files made with non-seekable output. (issue #335) 2015-10-07 20:30:34 +01:00
Guenter Obiltschnig
37aebb57b1 fixed GH #966: Possible crash when processing a corrupted Zip file 2015-10-05 12:13:10 +02:00
Rangel Reale
035943c4e0 * Fix for Zip file loading not setting containing file offsets 2015-06-25 13:24:45 -03:00
Guenter Obiltschnig
a00710cf56 style fix 2015-04-23 11:52:15 +02:00
Guenter Obiltschnig
a47e82a4c0 style fixes 2015-04-23 11:44:00 +02:00
bobstabler
5080f1aafa Zip64 support added to Poco Zip. I added unit tests CompressTest::testZip64 and ZipTest::testDecompressZip64, but so far I have only run them on Windows. We have built the code on MAC and Linux and will attempt to run the tests there. 2015-04-22 11:40:34 -05:00
Guenter Obiltschnig
f09ed71a47 fixed #331: Poco::Zip does not support files with .. in the name. 2014-11-21 10:08:52 +01:00
Guenter Obiltschnig
544229302e #538 prevent destructors from throwing exceptions 2014-09-19 09:46:49 +02:00
Guenter Obiltschnig
c9590ff7d4 Added CM_AUTO, which automatically selects CM_STORE or CM_DEFLATE based on file extension. Used to avoid double-compression of already compressed file formats such as images. 2014-09-08 11:06:57 +02:00
Guenter Obiltschnig
4dfcaf9220 fixed GH #317: Poco::Zip does not support newer Zip file versions. 2014-05-23 09:13:53 +02:00
Roger Meier
b0581433a7 LICENSE: add info about SPDX-License-Identifier usage and use it
fix: remove executable flag and change back to 100644 (was 100755)

Signed-off-by: Roger Meier <r.meier@siemens.com>
2014-05-14 08:38:09 +02:00
Roger Meier
628a06f718 LICENSE: add info about SPDX-License-Identifier usage and use it
Signed-off-by: Roger Meier <roger@bufferoverflow.ch>
2014-05-04 21:02:42 +02:00
Guenter Obiltschnig
3c9bc10042 Zip: fixed a crash caused by an I/O error (e.g., full disk) while creating a Zip archive 2014-04-18 12:57:44 +02:00
Aleksandar Fabijanic
fe5c4098e5 more indentation fixes 2013-04-21 21:39:37 -05:00
Aleksandar Fabijanic
a221b14522 porting rev.1998 from 1.4.4 (except ODBC, which will be done later, and SQLite, which was ported in rev.1999) 2012-09-05 02:43:06 +00:00
Aleksandar Fabijanic
d75e68c027 new trunk (base for 1.5)
windows build only
2012-04-23 01:14:34 +00:00
Aleksandar Fabijanic
f9b60296f7 removing old trunk files 2012-04-23 00:43:14 +00:00
Marian Krivos
6268aa3865 backport changes from 1.4.3 branch 2012-01-07 11:06:14 +00:00
Marian Krivos
9b3117e6c5 Zip: complete merge to 1.4.2 2011-09-14 15:41:51 +00:00
Guenter Obiltschnig
f2ca58ff73 Zip changes from 1.3.5 2009-06-16 17:11:24 +00:00
Marian Krivos
b99f4b6d1f OpenSolaris + SunPro C++ compile fix 2009-02-24 22:00:36 +00:00
Guenter Obiltschnig
12c1ae5823 fixed SF# 2583934: Zip: No Unix permissions set 2009-02-18 16:04:14 +00:00
Peter Schojer
ba13c39636 added Zip to trunk 2008-10-31 09:18:26 +00:00