Commit Graph

106 Commits

Author SHA1 Message Date
Günter Obiltschnig
289b05c8b3 Revert "GH #1050 Zip: fix gcc -Wshadow warnings" 2016-09-05 08:29:59 +02:00
Guenter Obiltschnig
a5d7e994f5 const-correctness fix 2016-04-23 09:21:55 +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
Alex Fabijanic
2a80322ecb merge dev and resolve conflicts 2016-03-11 20:57:28 -08:00
Mathäus Mendel
8895045fb5 Made all testsuite link with pthreads on Unix systems
This fixes the linker errors due to missing pthreads library on AIX.
2016-03-11 10:30:15 -03:00
Alex Fabijanic
92225086a4 generated CppUnit and testsuites VS projects 2016-03-06 20:54:26 -08:00
FrancisANDRE
ce797f7700 Make CppUnit a component of Poco
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-01-08 00:17:13 +01:00
FrancisANDRE
6e97a9f11b Split tests into samples & tests.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-19 17:15:55 +01:00
FrancisANDRE
ce0f7af060 Remove GB. cleanup ().
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-17 09:14:51 +01:00
FrancisANDRE
5928a19546 Use KB instead of MB to avoid cloging AppVeyor & Travis
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-17 08:11:38 +01:00
FrancisANDRE
a18479857f Use KB instead of MB. With MB, the zip file is 8 GB which clogs AppVeyor/Travis
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-17 06:49:23 +01:00
FrancisANDRE
9547517979 Workaround to avoid Travis timeout: display progress messages on cout.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-10 18:36:07 +01:00
Francis ANDRE
e5d569cc62 Use environment variable POCO_BASE for searching Zip test files. 2015-11-19 15:35:10 +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
Csaba Keszegh
61305c01ee fix: set public compiler flags on library targets
POCO_STATIC: has to be set when using poco as static library
POCO_NO_ATUMATIC_LIBS: CMake config module will find the correct libraries.
  Don't need to guess in headers.
2015-09-15 10:02:38 +02:00
Günter Obiltschnig
b6ae5128ce added Visual Studio 2015 project files 2015-07-30 15:48:45 +02:00
Rangel Reale
035943c4e0 * Fix for Zip file loading not setting containing file offsets 2015-06-25 13:24:45 -03:00
Günter Obiltschnig
c6cf535dd5 fix for VC++ 2015-04-23 17:47:37 +02:00
Guenter Obiltschnig
860186fa52 fix for pre-c++11 compilers 2015-04-21 19:38:21 +02:00
Guenter Obiltschnig
20f63701a5 fix testsuite 2015-04-23 14:30:15 +02: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
a5874a32ad Reordered TestSuite so that CompressTest::testZip64 runs before ZipTest::testDecompressZip64. 2015-04-22 15:57:21 -05: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
martin-osborne
12c0594db6 Corrected misspelt 'b' and 'c' words. 2015-04-06 17:56:13 +01:00
Sascha Zelzer
10425a9556 Do not overwrite CMAKE_PREFIX_PATH in component config files.
This fixes problems when a project adds a directory to
CMAKE_PREFIX_PATH, then calls find_package(Poco ...) and afterwards
calls find_package() for another project located in one of the
directories of the original CMAKE_PREFIX_PATH variable.
2015-02-04 04:35:23 +01:00
Pascal Bach
f778e67430 CMake: Improve installation and package generation
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2015-01-27 15:52:18 +01:00
Pascal Bach
97ea3ef483 CMake, WinCE: Make samples and tests compile under Windows CE 2014-12-21 16:23:35 +01:00
Pascal Bach
10ef2b2335 CMake: Remove WinDriver usage in tests
Add WinCEDriver to packages supporting it
2014-12-21 16:23:35 +01:00
Guenter Obiltschnig
931a5a5252 Removing support for Visual Studio.NET 2003 and Visual Studio 2005 - it's time to say goodbye to the past 2014-12-15 11:05:13 +01:00
Guenter Obiltschnig
d5d048e689 Poco::BasicEvent improvements and preparations for future support of lambdas/std::function 2014-11-24 11:17:27 +01:00
Guenter Obiltschnig
f09ed71a47 fixed #331: Poco::Zip does not support files with .. in the name. 2014-11-21 10:08:52 +01:00
Günter Obiltschnig
bc0978d01e fixed GH #471: vs2010 release builds have optimization disabled
fixed GH #616: Visual Studio warning C4244
2014-11-20 21:22:52 +01:00
Pascal Bach
b69fafb84c CMake: Create PocoConfig.cmake to make importable from other CMake projects
The generated PocoConfig.cmake can be used by other CMake projects using find_package.
2014-10-14 17:58:46 +02:00
Pascal Bach
c5ffa2629d CMake: Rename binary name of some samples to avoid naming conflicts on windows 2014-10-14 17:58:46 +02:00
Günter Obiltschnig
6fe2e4fb11 VS project files: do not share intermediate directory between projects in same folder 2014-10-06 13:51:49 +02: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
Pascal Bach
7950001803 cmake: Cleanup CMakeLists.txt for all components
- Add missing CMakeLists.txt
- Use POCO_ macros to improve code structure in XCode/VisualStudio
- Better ODBC detection
- Remove unnecessary commented out code

The CMake documentation recommends explicitly listing source files, but because CMake is not the primary build system GLOB patterns are used for the moment.
2014-08-22 17:11:03 +02:00
Günter Obiltschnig
30bb18f394 added VS2013 project/solution files for Windows Embedded Compact 2013 2014-08-09 10:49:04 +02:00
Pascal Bach
a06edac870 cmake: Zip cleanup
- explicitly list files

Reviewed-by: Roger Meier <r.meier@siemens.com>
2014-07-10 09:15:07 +02:00
Pascal Bach
975c30faf0 Add CTests for all components 2014-06-17 11:30:03 +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