Commit Graph

2647 Commits

Author SHA1 Message Date
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
mar-na
368fff1c05 Supported little endian for MIPS 2014-10-13 15:12:07 +02:00
Guenter Obiltschnig
50f1f12cab Poco::URI: added new constructor to create URI from Path 2014-10-12 11:19:52 +02:00
Alex Fabijanic
102413aed5 clang build fixes 2014-10-11 18:48:00 -05:00
Alex Fabijanic
09c7fc0fa0 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-10-11 18:26:14 -05:00
Alex Fabijanic
ff07ee1c6e an attempt to reproduce GH #491 2014-10-11 18:25:32 -05:00
Guenter Obiltschnig
e8f7c6e666 updated changelog 2014-10-11 07:39:59 +02:00
Alex Fabijanic
63a9c7cd2a GH #512: Poco:Data:ODBC:Binder.h causes a crash 2014-10-10 21:12:44 -05:00
Günter Obiltschnig
e719228861 certificate fixes 2014-10-10 12:26:54 +02:00
Günter Obiltschnig
5459d41540 updated README 2014-10-10 10:14:53 +02:00
Günter Obiltschnig
7312306ad8 fixed client handshake issue 2014-10-10 09:28:40 +02:00
Günter Obiltschnig
b72641d20b fixed misplaced #endif 2014-10-10 08:21:08 +02:00
Guenter Obiltschnig
af38d47df2 Merge branch 'develop' of https://github.com/pocoproject/poco into develop 2014-10-10 08:13:24 +02:00
Guenter Obiltschnig
d74afb9492 doc fix 2014-10-10 08:12:56 +02:00
Günter Obiltschnig
2d5827d332 fixed certificate name verification 2014-10-10 08:12:04 +02:00
Günter Obiltschnig
f65d98f9c1 fixed cert chain verification and samples 2014-10-09 23:56:00 +02:00
Guenter Obiltschnig
e271b1a970 updated CHANGELOG 2014-10-09 21:25:31 +02:00
Günter Obiltschnig
80952e11d1 optimizations, certificate verification, code cleanup 2014-10-09 20:54:07 +02:00
Guenter Obiltschnig
5b0fa2e06a Poco::Buffer properly handles zero-sized buffers 2014-10-09 10:34:46 +02:00
Günter Obiltschnig
1d7d57a321 NetSSL_Win: various bugfixes and improvements 2014-10-08 21:35:50 +02:00
Guenter Obiltschnig
ef34c21e91 added Clock::raw(); style fixes 2014-10-08 07:59:48 +02:00
Günter Obiltschnig
9ee4d0a36b Merge pull request #558 from ivannp/develop
Adding Timestamp::raw
2014-10-08 07:56:04 +02:00
Ivan Popivanov
cab8224cc3 Adding Timestamp::raw
Returns the raw value, (the internal representation) of the timestamp.
Useful when storing to a database for instance.
2014-10-08 01:51:06 -04:00
Alex Fabijanic
c8563c86bf Bug in doubleToStr #557 2014-10-07 23:40:36 -05:00
Günter Obiltschnig
5aa996aa64 updated README 2014-10-07 23:25:31 +02:00
Günter Obiltschnig
8bf66bb3f9 Added support for loading certificates and private key pairs from PKCS #12 files, as well as loading certificates (without private key) from PEM or DER files. Some code restructuring and cleanup. 2014-10-07 23:16:58 +02:00
Günter Obiltschnig
75919178fb fixed a warning 2014-10-07 12:04:03 +02:00
Guenter Obiltschnig
c1976b8fd4 minor cleanup for consistency with 1.4.7 2014-10-06 14:39:54 +02:00
Guenter Obiltschnig
eafecb2b22 updated libversion to 24 2014-10-06 14:17:04 +02:00