35 Commits

Author SHA1 Message Date
nyashbox
a8bac051c3
feat(Poco::Zip): Check archive consistency before extracting (#4807)
* feat(Zip): add checkConsistency() method for checking archive's consistency

* refactor(Zip): check archive consistency when decompressing all files

* test(Zip): add archive consistency tests

* refactor(Zip): make archive consistency check optional

* test(Zip): test optional consistency check
2024-12-27 12:46:05 +01:00
nyashbox
3d7c030c1e
fix(Zip): implement ZipArchiveInfo64::getVersionMadeBy() and ZipArchiveInfo64::getRequiredVersion() methods 2024-12-01 00:39:58 +02:00
tbeu
4099780f0a Fix const-correctness 2024-08-14 12:25:35 +02:00
Matej Kenda
f24547cdcf enh(Poco): Mark deprecated functionality with C++ attributes and resolve internal usage of deprecated functions (#4551)
* enh(poco): Replace deprecated comments with C++ deprecated attribute.

* enh(Poco): Replace some deprecated functionality in Poco sources. (#4426)

* enh(Poco): Replace more deprecated functionality in Poco sources. (#4426)

* fix(CMake): Variable BUILD_SHARED_LIBS must be defined properly to create valid binaries.

* enh: Code improvements done while resolving deprecated functionality (#4426)

* Un-deprecate LocalDateTme (#4426)

* enh(Poco): Replace usage of deprecated functionality with other functions/classes (#4426)

* chore(SSL): temporarily un-deprecate SSL-related functionality (#4426)

* chore(SSL): temporarily un-deprecate old MongoDB protocol functionality (#4426)

* enh(Poco): Minor Hash improvements (#4426)

* enh(Foundation): Compile deprecated hash tests only when POCO_TEST_DEPRECATED is enabled (#4426)

* enh(Net): Compile deprecated Socket::select functionality only when POCO_TEST_DEPRECATED is enabled (#4426)

* enh(Bonjour): Replace deprecated Socket::select with PollSet (#4426)

* enh(Poco): Introduce POCO_DEPRECATED macro to have the ability to disable deprecation warnings in applications (#4426)

* test(ODBC): add few asserts to testStoredProcedureDynamicVar

* fix(ODBC): rename DynamicAny -> DynamicVar in tests

* fix(ODBC): make Dignostics static members inline to prevent explicit instantiation warnings on windows

---------

Co-authored-by: Alex Fabijanic <alex@pocoproject.org>
2024-07-29 08:37:35 +02: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
472684e13c fixed GH #2723: Access violation when trying to decompress .zip file with unsupported compression method. 2019-06-23 12:42:34 +02:00
Feng Hao
9faebd9c52 fix: Cannot open certain zip files, #2467 2018-09-20 10:17:46 +08:00
Günter Obiltschnig
27dc684d77 fixed GH #2188: handle directory entries stored with DEFLATE compression method 2018-03-06 12:44:40 +01:00
Guenter Obiltschnig
6ab7e11c16 fixed a warning 2017-11-10 08:51:22 +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
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
06f420d42d fixed class doc 2017-02-12 12:51:01 +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
c351f65957 const correctness fix 2016-04-23 09:20:37 +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
f09ed71a47 fixed #331: Poco::Zip does not support files with .. in the name. 2014-11-21 10:08:52 +01: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
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
Aleksandar Fabijanic
fe5c4098e5 more indentation fixes 2013-04-21 21:39:37 -05:00
aleks-f
76a7e2e716 GH56: Need a way to disable *_API macros with GCC
GH #56: Need a way to disable *_API macros with GCC
2013-01-13 10:31:21 -06:00
aleks-f
ef9cda6666 GH #26: Cannot compile on gcc
GH #26: Cannot compile on gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 using
compiler flag pedantic
2012-12-12 23:02:20 -06: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
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