Francis ANDRE
19eecbaafb
Remove WinTestRunner
2018-06-10 19:46:19 +02:00
Joerg-Christian Boehme
612f092235
Cleanup cmake build system to use transitive dependency management from cmake ( #2321 )
...
* Some cleanup in the root CMakeLists.txt
* Cleanup cmake targets
* Add find openssl modul for older cmake version
* Set proper scope
* Change crypto default to off
* Fix openssl default to on
* Remove global setting of C99 standard
* Set from C11 to C99
* Fix for NetSSL win build
* Set C99 compile features
* Fix Windows build
* Fix windows build
* Cleanup poco unbundle definition
* Fix PDF build
* Remove unused set affinity
* Add _CRT_SECURE_NO_WARNINGS as target compile definitions
* Add _AFXDLL as target compile definitions
* Remove commented out line
* Refactor add_definitions to target_compile_definitons in Util
* Refactor add_definitions to target_compile_definitons in XML
* Remove THREADSAFE in data sql cmake build
* Refactor add_definitions to target_compile_definition in cmake mysql
* Refactor add_definitions to target_compile_definition in cmake odbc
* Refactor add_definitions to target_compile_definition in cmake sqlite
* Refactor add_definitions to target_compile_definitions in platform specific cmake
* Add _DEBUG as compile definition
* Add build dependencies between Foundation-testrunner and TestApp, TestLibrary in cmake build
* Use cmake property to build shared libs
* Cleanup POCO_NO_AUTOMATIC_LIBS. Set only for Windows in cmake build system
* cleanup LIB_MODE_DEFINITIONS in cmake buld system
* Add POCO_STATIC for CppUnit
* Cleanup target link libraries and add option dependencies.
* Add dependencies management in cmake
* Update cmake documentation
* Squashed commit of the following:
commit 38c233f93fc8e9ad6e24d686c905eb18c86e19a7
Fix "invalid new-expression of abstract class type ApacheServerRequest" (#2231 )
- abstract method "bool secure() const" defined in HTTPServerRequest was implemented in ApacheServerRequest, one of its derived classes
- a ap_log_error had one of its parameters changed for fixing a warning "passing NULL to non-pointer argument"
- minor indentation problems corrected
commit 4cbdfbe828943871618172f9e042176f115d61d8
Fix build dependencies
* Improve database cmake build dependencies
* Update doc
* Update doc
* Update cmake build commands
* Set public on target link libraries in cmake build system
* Fix PostgreSQL build
* Fix PostgreSQL build in cmake
* Fix PostgreSQL from SQL to Data
* Squashed commit of the following:
commit 1ba7d5dcbfb8d07860dd4efda33b31bedf6184c4
Add missing cmake file
* Set path to PostgresSQL in AppVoyer
* Try to fix AppVeyor build
* show dir in appvoyer
* Disable PostgreSQL build on Appvoyer
* Refactor add_definitions to target_compile_definitions
2018-06-03 11:17:50 -05:00
Francis ANDRE
4c22b871ae
Use CppUnit as a Poco module: regenerate all VS projects
2018-05-28 23:29:12 +02:00
Francis ANDRE
db5d570f33
Add Poco as prefix of CppUnit import libs
2018-05-28 19:58:05 +02:00
Francis ANDRE
be79688077
Use PocoCppUnit instead of CppUnit
2018-05-25 14:05:00 +02:00
zosrothko
960ecb38f0
Poco 1.9.1 assert true ( #2255 )
...
* Rename assert by assertTrue
* Update submodules
* Missing assertTrue
* Rename poco_assertTrue to poco_assert
* Rename poco_assertTrue to poco_assert
2018-03-29 11:12:54 -06: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
Joerg-Christian Boehme
9feabc7723
Add android build on travis ( #1981 )
...
* Add build for android in travis CI.
* Fix review findings. Change from __ANDORID__ to POCO_ANDROID
* Add android test
* Fix compile issue after rebase
* Ignore test big ping when its failing
2018-02-26 18:54:40 -06:00
Guenter Obiltschnig
6ab7e11c16
fixed a warning
2017-11-10 08:51:22 +01:00
zosrothko
1193c174f6
Merge remote-tracking branch 'origin/poco-1.8.0' into poco-1.8.0
2017-11-02 20:14:30 +01:00
Günter Obiltschnig
5a6009d9a2
added missing file
2017-11-02 19:18:02 +01:00
Günter Obiltschnig
6f3aef61d1
make testsuite compile with C++03 compiler
2017-11-02 12:29:45 +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
zosrothko
f2e58c17e8
Add Gradle build scripts.
2017-10-31 09:07:53 +01:00
Günter Obiltschnig
8b52be675b
remove obsolete VMS and VxWorks build system support
2017-09-09 11:15:29 +02:00
Günter Obiltschnig
04e7e04d4d
Remove \$Id`$ headers
2017-09-09 11:14:06 +02:00
Guenter Obiltschnig
f10d3a28f3
added Visual Studio 2017 project files
2017-02-20 16:20:16 +01: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
7c81a551c4
added test for AutoDetectStream
2017-02-17 14:28:53 +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
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
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
c351f65957
const correctness fix
2016-04-23 09:20:37 +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
15d1d0f1a2
build fixes
2016-03-05 14:29:34 +01: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
e25a17030d
integrated CMake improvements from develop (GH #946 )
2015-09-26 11:11:23 +02:00
Günter Obiltschnig
4f0b692d66
added project and solution files for VS2015
2015-08-01 10:29:32 +02:00
Guenter Obiltschnig
db5378a3f5
fixed #779
2015-04-23 11:55:14 +02: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
Josh Blum
f442148670
poco: library install dirs per RUNTIME/LIBRARY/ARCHIVE
...
For a unix system, this commit implies no changes by default. However, the ${LIB_SUFFIX} convention was added so the build can be configured for a red-hat style installation which uses lib64 by specifying cmake -DLIB_SUFFIX=64
For a windows build (msvc), this commit will cause the .dll files to be installed in the bin/ path; import libraries .lib are still installed in the lib/ path. Installing dlls into the bin path is preferable because dlls must be in the executable %PATH% to be found at runtime, as there is not equivalent of a separate library path as there is on unix.
2014-05-21 14:16:34 -07: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
e044d77717
Merge branch 'develop' of https://github.com/pocoproject/poco into develop
2014-04-23 13:30:51 +02:00
Guenter Obiltschnig
f8169eabac
updated SDK in WEC2013 project files
2014-04-23 13:30:27 +02:00
Günter Obiltschnig
85873d02c9
re-generated VS2013 testsuite projects without MFC
2014-04-21 22:10:34 +02:00
Günter Obiltschnig
12c7bb562d
re-generated vs100-vs120 project files
2014-04-21 10:50:51 +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
Günter Obiltschnig
b2ba1dfb74
-added Windows Embedded Compact 2013 support
2014-03-17 14:36:17 +01:00
Linquize
c2ca2ffb58
Build the libraries before their TestSuites
...
Fixes error LINK : fatal error LNK1104: cannot open file 'Poco*.lib'
2014-01-16 08:03:42 +08:00
Alex Fabijanic
1c732e9938
removed MFC dependencies (WinTestRunner) from test VS projects
2013-11-07 23:31:30 -06:00
Alex Fabijanic
4297d78621
VS 2013 projects/solutions
2013-11-05 23:11:28 -06:00
Aleksandar Fabijanic
fe5c4098e5
more indentation fixes
2013-04-21 21:39:37 -05:00
Aleksandar Fabijanic
e7f40197c0
cosmetic (replace space indents with tabs0
2013-04-21 13:42:32 -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
alex
161ea4ec18
unbundled build fixes
2013-01-05 00:04:09 -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
Mathäus Mendel
e3649153b8
Fixed build with CMake
...
Used CMAKE_DEBUG_POSTFIX instead LIB_EXT for library name decoration on debug builds (less intrusive and more flexible)
2012-12-08 15:54:38 -02:00
Guenter Obiltschnig
c867a80520
line ending fixes
2012-11-11 11:28:44 +01:00
Guenter Obiltschnig
514566ecd7
removed .vmsbuild files, which are no longer maintained
2012-11-11 11:08:17 +01:00
Guenter Obiltschnig
87d7739f3d
removed .vcxproj.user files
2012-11-11 10:53:02 +01:00
Guenter Obiltschnig
a1788ac0fc
Merge branch 'master' of https://github.com/pocoproject/poco into develop
2012-11-11 10:28:58 +01:00
Guenter Obiltschnig
79eab26377
the great line endings cleanup
2012-11-11 09:57:01 +01:00
Alex
0aa05873c7
remove *.user files
2012-10-25 21:40:12 -05:00
Alex
d71d02516a
normalize line endings
2012-10-25 21:38:35 -05:00
Guenter Obiltschnig
f5351b2f49
fixed 2012/64 project files
2012-10-14 14:55:49 +00:00
Guenter Obiltschnig
b90307c200
fixed vs2010 testsuite project files
2012-10-14 10:50:44 +00:00
Guenter Obiltschnig
d1e912ed46
fixed project files
2012-10-14 08:58:13 +00:00
Guenter Obiltschnig
bfe4cf2368
set WINVER to 0x501
2012-10-14 07:40:24 +00:00
Aleksandar Fabijanic
fb275a9a30
Visual Studio 2012 projects and solutions files
2012-09-25 05:35:44 +00:00
Aleksandar Fabijanic
02afb3697c
removing temporary files
2012-09-23 15:41:20 +00: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
Marian Krivos
114de565ff
added cmake support
2012-06-26 12:37:02 +00:00
Aleksandar Fabijanic
5a639074d9
change EOL to 'native'
2012-04-29 18:52:25 +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
Guenter Obiltschnig
2ce14cafb5
added progen files
2012-04-20 15:33:17 +00:00
Marian Krivos
a002f13be2
trunk: updated standard VS2010 sln to include x64 support (all in one)
2012-02-11 12:13:15 +00:00
Marian Krivos
218b06621d
trunk: split cmake debug/optimize build 2
2012-01-08 19:10:15 +00:00
Marian Krivos
b59d198396
cmake build system cleanup
2012-01-08 09:37:13 +00:00
Marian Krivos
7cb622a445
trunk: split cmake debug/optimize build
2012-01-07 13:45:03 +00:00