Commit Graph

286 Commits

Author SHA1 Message Date
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
Aleksandar Fabijanic
d0ebf0bc76 Merge pull request #507 from cristiantm/fix-memleak-rsaimpl
FIx to memleak on RSAImpl (#502)
2014-08-12 23:26:12 -05:00
Günter Obiltschnig
30bb18f394 added VS2013 project/solution files for Windows Embedded Compact 2013 2014-08-09 10:49:04 +02:00
Guenter Obiltschnig
52ba87a6f0 fixed GH #510: Incorrect RSAKey construction from istream 2014-08-01 09:57:41 +02:00
Cristian Thiago Moecke
4fa6e8b423 FIx to memleak on RSAImpl (#502) 2014-07-28 08:32:09 -03:00
Pascal Bach
d5d31055c1 Fix typo in Package name 2014-07-18 16:42:40 +02:00
Pascal Bach
216ecd3ec2 cmake: Crypto cleanup
- explicitly list files
- add OpenSSL include directory to include path
- remove unused code

Reviewed-by: Roger Meier <r.meier@siemens.com>
2014-07-10 09:15:06 +02:00
Pascal Bach
975c30faf0 Add CTests for all components 2014-06-17 11:30:03 +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
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
Pascal Bach
850148f775 Add SHA1 test for Poco::Crypto::DigestEngine 2014-03-12 15:19:36 +01:00
Günter Obiltschnig
e4b9ea32f2 style fix 2014-03-09 15:57:46 +01:00
Cristian Thiago Moecke
ecd771d1e0 Also removing include of rsa.h that is not needed on the header file 2014-02-21 05:10:48 -08:00
Cristian Thiago Moecke
45d6e2789a Fixing #includes. pem.h and evp.h are not needed, only rsa.h 2014-02-21 05:04:28 -08:00
Cristian Thiago Moecke
5af8235b38 Using the same variable name as in DigestEngine 2014-02-21 04:56:39 -08:00
Cristian Thiago Moecke
53e6d9efaa Improve RSADigestEngine, using Poco::Crypto::DigestEngine to calculate
the hash before signing. That way we can then support RSA signatures
with any hash supported by OpenSSL, not only MD5 and SHA1. It was also
required a new method on DigestEngine to obtain the NID (numeric ID) of
the algorithm, to be used on the OpenSSL RSA_sign call.
2014-02-21 04:43:05 -08: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
43df537c49 added openssl doc quote 2013-04-21 13:42:33 -05:00
Aleksandar Fabijanic
0a153046b4 GH #159: Crash in openssl CRYPTO_thread_id()
GH #159: Crash in openssl CRYPTO_thread_id() after library
libPocoCrypto.so has been unloaded.
2013-04-21 13:42:33 -05:00
aleks-f
3bdcef277f GH #61: static_md build configs for Crypto and NetSSL
fixed GH #61: static_md build configs for Crypto and NetSSL
2013-03-17 22:25:07 -05:00
aleks-f
5654749e2b fixed warning in Poco/Crypto/OpenSSLInitializer.h
- fixed a warning in Poco/Crypto/OpenSSLInitializer.h (fix ported from
1.4.6)
2013-02-26 22:43:36 -06:00
Marian Krivos
9349786415 cmake and gcc warning fixes 2013-02-19 06:16:12 +01:00
aleks-f
911f22508e Any SOO 2013-01-31 21:12:13 -06: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
Aleksandar Fabijanic
245f3e7568 VS 2012 mods to proj/sln files
VS 2012 modifications to project/solution files
added WinTestRunner dependency on CppUnit
2012-12-08 21:55:47 -06:00
aleks-f
3ffa2fe781 Added Crypto VS 2012 solutions
SF #600: No Crypto VS110 Solution File in 1.5
2012-12-08 20:52:39 -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
79eab26377 the great line endings cleanup 2012-11-11 09:57:01 +01: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
415921954f set WINVER to 0x501 2012-10-14 07:49:17 +00:00
Aleksandar Fabijanic
bf74a4be8b FreeBSD build and threading 2012-10-01 00:31:28 +00:00
Aleksandar Fabijanic
991fb4a31f FreeBSD modifications 2012-09-26 02:51:43 +00:00
Aleksandar Fabijanic
fb275a9a30 Visual Studio 2012 projects and solutions files 2012-09-25 05:35:44 +00:00
Guenter Obiltschnig
4367c5da7c fixed DigestEngine test in Crypto 2012-09-25 04:42:58 +00:00
Aleksandar Fabijanic
883de9670a Windows/VS2011 build all configs 2012-09-23 06:28:42 +00:00
Aleksandar Fabijanic
b9f4ce3b08 SF#3515284: RSA publickey format(X.509 SubjectPublicKeyInfo) 2012-08-22 02:00:25 +00:00
Aleksandar Fabijanic
662050937e porting rev.1912 from 1.4.4 (fixed SF# 3552597) 2012-08-18 02:19:34 +00:00
Aleksandar Fabijanic
c48b06221a SF 3538786: Use size_t for describing data-blocks in DigestEngine 2012-07-20 02:48:41 +00:00
Aleksandar Fabijanic
95c3e8871e Linux 64-bit and static build fixes (only Ubuntu build tested) 2012-07-07 16:03:21 +00:00
Marian Krivos
114de565ff added cmake support 2012-06-26 12:37:02 +00:00
Aleksandar Fabijanic
9b952a29c7 ported 1.4.4 branch changes (needs build checks and test runs!) 2012-05-19 03:04:51 +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
1421d93684 trunk: Openssl with cmake 2012-02-11 19:37:20 +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
a3a9b10b5e trunk" cmake fix for openssl 2012-02-10 15:37:48 +00:00
Marian Krivos
0a33514f33 cmake : fix for dependencies 2012-02-07 09:10:42 +00:00
Marian Krivos
8b70c37260 trunk: sync from 1.4.3
make & cmake fixes
2012-02-04 17:03:09 +00:00
Marian Krivos
218b06621d trunk: split cmake debug/optimize build 2 2012-01-08 19:10:15 +00:00
Marian Krivos
7cb622a445 trunk: split cmake debug/optimize build 2012-01-07 13:45:03 +00:00
Marian Krivos
eb266f8a57 Set cmake produced shared libraries numbering to standard scheme (trunk = 12)
Sync latest Foundation changes from 1.4.2
2011-09-15 08:31:51 +00:00
Marian Krivos
bcf1d5b6a7 Crypto: complete merge to 1.4.2 2011-09-14 16:41:40 +00:00
Marian Krivos
0ac146cb9e cmake improvements: test and samples are from now disabled by default, you can enable this option with cmdline option to cmake: '-DENABLE_TESTS=1'
minimum required CMAKE version is 2.6 from now
2011-01-22 11:46:03 +00:00
Marian Krivos
c5b2daa36c cmake build system fix - debug version of ther library was striped and vice versa 2009-08-26 12:26:22 +00:00
Aleksandar Fabijanic
4bdeaa7baf SF [2840802] fixes compiling static libraries on Solaris
SF [2841113] Crypto testsuite/sample fails to link on POSIX
2009-08-20 17:13:16 +00:00
Aleksandar Fabijanic
c6ee567a71 linking with DLLs for shared configurations 2009-06-22 19:49:56 +00:00
Aleksandar Fabijanic
eab448d02d VS90 project files fixes for NetSSL (using default C:\OpenSSL directory) 2009-06-19 12:23:08 +00:00
Guenter Obiltschnig
7895040ccf fixed SF# 2795395 2009-06-17 06:58:32 +00:00
Guenter Obiltschnig
99c48cff49 integrated changes from 1.3.5 2009-06-16 16:56:28 +00:00
Marian Krivos
1afd0a8328 bugfix #2781776 - cmake instals .svn directories 2009-04-27 19:22:30 +00:00
Guenter Obiltschnig
37e6fa383a fixes from 1.3.4 2009-03-24 09:23:21 +00:00
Marian Krivos
c2d5c64159 fixed testrunner linking when static linking is used (cmake . -DPOCO_STATIC=1) 2009-03-16 18:02:09 +00:00
Marian Krivos
c41d7fcf91 fix for OpenSolaris + sunstudio 11 - missing include <fstream> 2009-03-15 20:28:42 +00:00
Marian Krivos
92b1067a57 compile fix: doesn't compile after latest NetSSL refactoring 2009-03-07 15:01:22 +00:00
Marian Krivos
ac01609444 cmake scripts for all tests 2009-02-21 20:19:53 +00:00
Marian Krivos
24e706aa2a added Data, Foundation, Net and Util samples + some global cmake fixes - second portion 2009-02-19 20:38:07 +00:00
Marian Krivos
129f21cc79 added Data, Foundation, Net and Util samples + some global cmake fixes 2009-02-19 20:35:03 +00:00
Marian Krivos
16cdb4b127 cmake runtime install support (headers+libs) 2009-02-18 20:47:32 +00:00
Marian Krivos
32642ba9c1 More cmake scripts: ApacheConnector, Crypto, NetSSL, WebWidgets, Zip 2009-02-17 20:02:37 +00:00
Marian Krivos
57bd673b01 missing include <cstring> 2009-02-17 19:59:39 +00:00
Peter Schojer
956f221664 fixed bug 2221757: RSA exp component not used 2008-11-05 06:53:50 +00:00
Peter Schojer
4975ac2c44 copied Crypto from sandbox to trunk 2008-10-31 09:06:54 +00:00