Kari Argillander
bf3c519183
Fix some issues found with clang-tidy ( #4353 )
...
* directoryiterator: Fix missing inline
Add missing inline to inline function.
This was found with clang-tidy check: misc-definitions-in-headers
* Convert deprecated throw() to noexcept
throw() has been deprecated in standar in C++17. It has been removed in
C++20. Code still compiles but let's just define these at those should
be.
These where found with clang-tidy check: modernize-use-noexcept
* Fix unnecessary copy initializations
Clang-tidy did find these with check:
performance-unnecessary-copy-initialization
* Fix some strings not references
Looks like these are just missing reference marks.
---------
Co-authored-by: Kari Argillander <kari.argillander@fidelix.com>
2023-12-17 16:55:30 +01:00
John Vandenberg
0e6e16645c
Remove trailing whitespace ( #3668 )
2022-07-07 04:18:20 -05:00
Aleksandar Fabijanic
08fe7fd200
fix(Zip): Zip 64-bit extensions not set #2590 (tentative) ( #3604 )
2022-06-13 14:48:34 -05:00
Günter Obiltschnig
54089b4523
modernization
2020-01-10 12:50:28 +01:00
Günter Obiltschnig
d25b665194
fixed GH #2661 : Poco::Zip::ZipArchive cannot load new tomcat.zip file
2019-07-24 07:47:01 +02:00
Günter Obiltschnig
472684e13c
fixed GH #2723 : Access violation when trying to decompress .zip file with unsupported compression method.
2019-06-23 12:42:34 +02:00
Günter Obiltschnig
623f31a62b
fixed GH #2661 : Poco::Zip::ZipArchive cannot load new tomcat.zip file
2019-05-14 09:37:58 +02:00
Günter Obiltschnig
d292d65ca8
minor style fix
2018-09-20 09:57:21 +02:00
Feng Hao
9faebd9c52
fix: Cannot open certain zip files, #2467
2018-09-20 10:17:46 +08:00
Günter Obiltschnig
19b168516c
fix for #2199 : try to resync when encountering extra data after local file header
2018-03-06 16:13:01 +01:00
Günter Obiltschnig
27dc684d77
fixed GH #2188 : handle directory entries stored with DEFLATE compression method
2018-03-06 12:44:40 +01:00
Günter Obiltschnig
bb7e5feece
merge zip entry absolute path vulnerability fix ( #1968 ) from develop
2017-11-02 09:30:27 +01:00
Guenter Obiltschnig
5b4c803e5d
Zip: merge Zip64 support from develop
2017-11-01 17:01:34 +01:00
Günter Obiltschnig
04e7e04d4d
Remove \$Id`$ headers
2017-09-09 11:14:06 +02:00
Guenter Obiltschnig
0debc7c571
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:15:27 +01:00
Guenter Obiltschnig
4ddce11dc0
fixed GH #1597 : adding empty file to zip leads to archive that can't be unzipped by windows
2017-02-17 15:32:01 +01:00
Guenter Obiltschnig
cab98f4895
fixed GH #1599 : readFromDevice( ) in AutoDetectStream.cpp in Poco Zip cannot detect signature
2017-02-17 09:56:35 +01:00
Guenter Obiltschnig
925cc65d43
fixed GH #1580 : Unable to unzip zip file created using non-seeking stream
2017-02-12 10:41:41 +01:00
Guenter Obiltschnig
03ddc4e20f
removed ostream support from AutoDetectStream
2017-02-11 23:59:26 +01:00
Günter Obiltschnig
38b7e33b48
fixed GH #1566 and GH #1567 : detection of end of compressed data via data descriptor is now more reliable
2017-02-11 23:50:25 +01:00
Guenter Obiltschnig
aa9987e0bc
fixed GH #1465 : Assertion violation in DateTime.cpp using ZipArchive
2016-10-22 14:27:49 +02:00
Guenter Obiltschnig
12fc175b5a
fixed warnings reported by GCC 6.2
2016-10-14 10:27:44 +02:00
Günter Obiltschnig
0e0fac80b6
improved Zip error handling (getting rid of poco_assert)
2016-09-29 19:13:21 +02:00
Günter Obiltschnig
ed0284c7c6
fix for GH #1416 : use seekg() instead of multiple putback() operations, which may not work in all cases. Note that this requires the stream passed to Poco::Zip::Decompress to be seekable.
2016-09-29 11:25:03 +02:00
Guenter Obiltschnig
caed8507f4
fixed issues reported by Klocwork
2016-09-26 18:20:32 +02:00
Guenter Obiltschnig
1df5f56449
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:20:04 +02:00
Guenter Obiltschnig
839b2def04
fixed GH #1239 : Poco::Zip::Compress with non-seekable stream fails for CM_STORE
2016-04-14 18:25:30 +02:00
Guenter Obiltschnig
26e3dd273b
Fix zip files made with non-seekable output. (issue #335 )
2015-10-08 15:33:24 +02:00
Guenter Obiltschnig
1582787868
fixed GH# 966: Possible crash when processing a corrupted Zip file
2015-10-05 11:49:43 +02:00
Guenter Obiltschnig
db5378a3f5
fixed #779
2015-04-23 11:55:14 +02: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