Commit Graph

2880 Commits

Author SHA1 Message Date
Guenter Obiltschnig
6741e90bba style and consistency fixes 2014-11-06 12:04:28 +01:00
Günter Obiltschnig
5b74121119 Merge pull request #573 from ivannp/assertmsg
Added Timestamp::Min/Max. Added poco_assert_msg and poco_assert_msg_dbg.
2014-11-06 11:40:17 +01:00
Günter Obiltschnig
5f380f0b80 Merge pull request #574 from siemens/cmake
Cmake updates
2014-11-06 11:17:45 +01:00
Guenter Obiltschnig
865943438b fixed #596: For OpenSSL 1.0.1, include openssl/crypto.h not openssl/fips.h 2014-11-06 11:16:33 +01:00
Guenter Obiltschnig
22f3ee8bee style fixes 2014-11-06 11:12:14 +01:00
Günter Obiltschnig
e3a9f61bec Merge pull request #577 from gevpa/bug_ipv6_scopeId
Fix several issues of Poco::IPAddress with supporting for IPv6 format.
2014-11-06 10:56:33 +01:00
Martin Osborne
6ec9784743 Added simple benchmark of mutex performance. 2014-11-05 17:08:36 +00:00
Aleksandar Fabijanic
268d40b127 Merge pull request #594 from ivannp/bug01
Can't cash str.begin when "insert" is involved.
2014-11-03 19:51:25 -06:00
Ivan Popivanov
bc87b2841b Can't cash str.begin when "insert" is involved. 2014-11-03 19:31:42 -05:00
zosrothko
1143a68518 Add up to 10 arguments to variables arguments list for all level formatting methods 2014-11-03 14:22:08 +01:00
martin-osborne
b3ed2d94b5 Supress VS compiler warning C4512:
assignment operator could not be generated
2014-11-01 12:29:49 +00:00
martin-osborne
1e1822f6c6 Updated FastMutex documentation. 2014-11-01 09:38:56 +00:00
Günter Obiltschnig
279370c5cb Merge pull request #591 from karlr42/develop
Fix for issue #588
2014-10-31 19:56:11 +01:00
karlr42
5b646e5b9f Fix description of stopAll's abortCurrent argument. 2014-10-31 17:35:50 +00:00
Guenter Obiltschnig
656643e225 set version numbers for 1.6 2014-10-30 14:09:51 +01:00
Guenter Obiltschnig
f9ab6b349c Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-10-30 14:06:28 +01:00
Guenter Obiltschnig
721405d1fc #318: Logger local time doesn't automatically account for DST (PatternFormatter) 2014-10-30 14:06:13 +01:00
martin-osborne
569102c18c Updated tests to reflect implementation changes. 2014-10-30 11:40:20 +00:00
martin-osborne
db586617e9 Merge branch 'issue_532' into issue_532-3 with edits 2014-10-30 11:10:39 +00:00
Günter Obiltschnig
33119f606d added macro to identify NetSSL_Win 2014-10-28 08:51:05 +01:00
martin-osborne
728e71116c Updated CMakeLists files so test suites will build with wdexpress2012.
Possibly requiring update are:
  Data/MySQL/testsuite/CMakeLists.txt
  NetSSL_OpenSSL/testsuite/CMakeLists.txt
2014-10-27 09:36:08 +00:00
Guenter Obiltschnig
38607a4fe7 Merge branch 'develop' 2014-10-22 07:23:26 +02:00
Guenter Obiltschnig
abfb96877d updated doc index page 2014-10-22 07:23:08 +02:00
Guenter Obiltschnig
44a2a2b61e updated index page title 2014-10-22 07:15:27 +02:00
Guenter Obiltschnig
1c145978da PocoDoc update: new frame-less design, style changes, cleanup 2014-10-21 20:23:29 +02:00
martin-osborne
120fd4433c Simplified the timed try lock implementation. 2014-10-19 18:11:43 +01:00
martin-osborne
2a90e7de92 Moved work for isue 532 into it's own branch. 2014-10-19 10:59:08 +01:00
Guenter Obiltschnig
558091d53f fixed a memory leak if the CA file was not found while creating the Context (the OpenSSL context would leak) 2014-10-18 17:22:07 +02:00
Paruyr Gevorgyan
cc86efe070 Fix several issues of Poco::IPAddress with supporting for IPv6 format. In current implementation "scope" part of IPv6 is not taken into consideration in several parts of code. 2014-10-17 15:15:07 +02:00
Günter Obiltschnig
d74bd7bfa6 Merge pull request #576 from gevpa/bug_ipv6_scopeId
Fix parsing issue with IPv6 format in Poco::Net::IPAddress
2014-10-17 06:45:58 +02:00
Paruyr Gevorgyan
49e856aa89 Fix parsing issue with IPv6 format: propogating scopeId from IPv6AddressImpl to IPAddress. 2014-10-17 00:59:55 +02:00
Günter Obiltschnig
a6fcc477bd regenerated sample project files, fixed a potential compile error in NetworkInterface when targetting older Windows releases 2014-10-16 14:16:40 +02:00
Günter Obiltschnig
1db210e8b9 GH #575: fixed compile error if POCO_WIN32_UTF8 is not defined 2014-10-16 12:57:55 +02:00
Ivan Popivanov
3247d07bd0 Removed the NOMINMAX compiler option, using undefs to avoid the conflict between std::numeric_limits and Windows headers. 2014-10-15 05:13:25 -04:00
Ivan Popivanov
4707a6df83 Added Timestamp::Min/Max which help define extreme timestamps, useful to initialize variables, especially for comparison.
Added NOMINMAX as a preprocessor define for Windows. Otherwise some Windows headers define min/max as macros which interferes with std::numeric_limits::min/max

Added poco_assert_msg and poco_assert_msg_dbg, which are equivalent to poco_assert and poco_assert_dbg, respectively, but support an extra text parameter.
2014-10-14 22:41:49 -04:00
Pascal Bach
e239c9de2a CMake: DLL tests should not run if compiled static 2014-10-14 17:58:46 +02: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
Pascal Bach
c8a96c9247 CMake: Add macro to help generate Packages from Poco 2014-10-14 17:58:46 +02:00
Günter Obiltschnig
d864a9b7ea Merge pull request #572 from micheleselea/patch-1
BugFix Missing parenthesis
2014-10-14 15:42:16 +02:00
micheleselea
b7fff590f7 BugFix Missing parenthesis 2014-10-14 13:45:14 +02:00
Günter Obiltschnig
cdc9f48a6e Merge pull request #566 from mar-na/patch-3
Supported little endian for MIPS
2014-10-14 11:24:24 +02:00
Günter Obiltschnig
351f0a30f0 Merge pull request #570 from micheleselea/develop
make NetworkInterface working under XP
2014-10-14 11:23:54 +02:00
Günter Obiltschnig
88c20084e9 Merge pull request #568 from johnboy2/develop
Don't require RSA key passphrases on save
2014-10-14 11:22:51 +02:00
micheleselea
f861a6467c RESERVER_QUERY update
in function setQuery, or when you have to use encode internally, is used RESERVED_QUERY that is only # if you have a query with / the character is encoded, and I think you don't want
2014-10-14 09:49:11 +02:00
micheleselea
63b74d4f93 make NetworkInterface working under XP
on >= Vista NetworkInterface works, but if you try under XP you have ifIndex always not setted: if you compile with XP SP1 defines you get code working on >=XP
2014-10-14 09:42:58 +02:00
Aleksandar Fabijanic
9bf743d4ac Update README.md 2014-10-13 20:26:52 -05:00
Aleksandar Fabijanic
0d78c34f0a Update README.md 2014-10-13 20:26:02 -05:00
John Nelson
8a51be2a0d Fix RSAKey constructor documentation.
The two RSAKey constructors which take existing keys (one from a
stream, the other from a string) have incomplete and ambiguous
documentation.

This change improves the header documentation to reflect that:
 1. Decryption is supported using a private key (existing doc says you
    can "only" sign if a private key is present),
 2. Clarify that public key not needed when private key is present.
2014-10-13 13:48:29 -06:00
John Nelson
18ffcdd7c3 Don't DES-encrypt priv keys without a passphrase
Per https://www.openssl.org/docs/crypto/pem.html, specifying to encrypt
a private key with DES *without* providing a passphrase causes OpenSSL
to prompt for the passphrase to use on the console -- which is
problematic for GUI applications which generally lack a console.

This modifies the behavior of RSAKeyImpl::save() so that DES encryption
of private keys will not be attempted unless the passphrase argument is
non-empty. This will also suppress OpenSSL's prompting for that
passphrase on the console.

Also added a case to the test suite.
2014-10-13 13:33:22 -06:00