Commit Graph

5457 Commits

Author SHA1 Message Date
Günter Obiltschnig
7f5c7d1ab2 fix test by ignoring exception due to invalid path name on Windows 2023-10-01 17:30:27 +02:00
Günter Obiltschnig
a66a298bf6 fix test on Windows 2023-09-30 21:13:26 +02:00
Günter Obiltschnig
d5966acdb5 fix FileStream test 2023-09-30 18:07:54 +02:00
Günter Obiltschnig
22213f1111 #4173: AbstractConfiguration: when expanding property references, allow specifying a default value; #4174: AbstractConfiguration: support Int16/UInt16 and Int32/UInt32 2023-09-30 14:18:10 +02:00
Günter Obiltschnig
c209148ba7 #4171: Upgrade bundled sqlite to 3.43.1 2023-09-30 12:27:20 +02:00
Günter Obiltschnig
4244c3251f #4170: Poco::FileStream is always opened with std::ios::in | std::ios::out 2023-09-30 12:26:11 +02:00
Günter Obiltschnig
1db6fb9a2e bump version 2023-09-30 12:23:31 +02:00
Günter Obiltschnig
2fb5e60e79 #4169: Upgrade bundled zlib to 1.3 2023-09-30 12:20:35 +02:00
David Roman
b61d63da94
add missing check when activerecord is enabled (#4138) 2023-09-24 02:19:40 +02:00
Philip Ye
43bcc553fe
Fix typo in document of TaskManager::start() (#4155) 2023-09-21 13:30:52 +02:00
Alessandro Di Nepi
3eb18502e7
Fix platform when building for iPhoneSimulator (#4137)
When building for iPhoneSimulator the parameter to specify the minimum
OS version should be matched.
2023-09-11 13:55:51 +02:00
Zhu Asan
1c6e5aa614
Typo fix in UDPHandler.h (#4111) 2023-08-17 20:27:32 +02:00
Alex Fabijanic
9a734674ed fix(Data::Binder: Skip reset for null Binder #4109 2023-08-15 21:23:54 +02:00
Aleksandar Fabijanic
b90316f949 add test for #4108 2023-08-15 18:29:59 +02:00
Günter Obiltschnig
aabc8907b6
Merge pull request #4088 from Romain-Geissler-1A/fix-typos
Fix typos in #4086 and #4087.
2023-07-18 10:33:44 +02:00
Romain Geissler
5fb67c452a
Fix typos in #4086 and #4087. 2023-07-18 07:30:29 +00:00
Günter Obiltschnig
346ec77dbd
Merge pull request #4087 from Romain-Geissler-1A/remove-different-signedness-comparison-warning
Silence gcc -Wsign-compare warning when instantiating Poco::Dynamic::VarHolder::convertSignedToUnsigned.
2023-07-18 09:21:15 +02:00
Günter Obiltschnig
951ebbf82e
Merge pull request #4086 from Romain-Geissler-1A/remove-aligned-storage
Remove std::aligned_storage as it is deprecated in C++23.
2023-07-18 09:21:04 +02:00
Romain Geissler
615e7773b8
Silence gcc -Wsign-compare warning when instantiating Poco::Dynamic::VarHolder::convertSignedToUnsigned.
/data/mwrep/res/osp/Poco/Foundation/23-0-0-0/include/Poco/Dynamic/VarHolder.h: In instantiation of 'void Poco::Dynamic::VarHolder::checkUpperLimit(const F&) const [with F = signed char; T = unsigned int; typename std::enable_if<std::is_integral<_Tp>::value, bool>::type <anonymous> = true]':
/data/mwrep/res/osp/Poco/Foundation/23-0-0-0/include/Poco/Dynamic/VarHolder.h:361:23:   required from 'void Poco::Dynamic::VarHolder::convertSignedToUnsigned(const F&, T&) const [with F = signed char; T = unsigned int]'
/data/mwrep/res/osp/Poco/Foundation/23-0-0-0/include/Poco/Dynamic/VarHolder.h:799:26:   required from here
/data/mwrep/res/osp/Poco/Foundation/23-0-0-0/include/Poco/Dynamic/VarHolder.h:405:26: error: comparison of integer expressions of different signedness: 'const signed char' and 'unsigned int' [-Werror=sign-compare]
  405 |                 if (from > std::numeric_limits<T>::max())
      |                     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-07-18 07:16:24 +00:00
Romain Geissler
d28129cbc4
Remove std::aligned_storage as it is deprecated in C++23.
Instead, replace it with std::max_align_t in the Any implementation, as
really we would like to be able to store any object with any alignment
in the small object optimization case. Typically the size and alignment
of std::max_align_t is 8 or 16 on most platforms. Added a static assert
to ensure that this change doesn't result in wasting more unused memory
in case the size of the storage buffer is smaller than this maximum
alignment (which is right now 64, so shall be ok on all platforms).
2023-07-18 07:05:32 +00:00
Alexander B
bce5f961dd
optimize checkUpperLimit and checkLowerLimit in VarHolder.h avoid (#4072)
compile-time warnings when argument type is float and condition always
true

Co-authored-by: Alexander B <bas524@ya.ru>
2023-07-11 08:08:35 -05:00
haorui wang
1065c6f9ca
chore(Net) : correct spelling, remove some unused codes fix(SocketProactor) : missing adding sock to read pollset fix(DialogServer) : _lastCommands data race (#3821)
* chore(CppUnit) : style format and revise comment

fix(CppUint) : RepeatedTest compile error

* chore(CppUnit) : remove TestResult forward declare in RepeatedTest.h

* chore(Net) : correct spelling, remove some unused codes
fix(SocketProactor) : missing adding sock to read pollset
fix(DialogServer) : _lastCommands data race
2023-07-11 08:00:17 -05:00
Aleksandar Fabijanic
641d29f4ad fix(SecureSocketImpl.cpp): Shutdown TLS1.3 connection #2776 2023-07-11 14:54:44 +02:00
Daniel G
180f9eb9a8
Update ICMPv4PacketImpl.h (#4059)
Fix mingw64 build

#2967
2023-07-11 07:24:31 -05:00
Günter Obiltschnig
da39e3ce70 base class lookup 2023-07-11 08:54:34 +02:00
Günter Obiltschnig
0bf69ab832 fix haveLegacyProvider for OpenSSL < 3 2023-07-11 07:00:35 +02:00
Günter Obiltschnig
b0d7f9bd79 style 2023-07-11 06:47:40 +02:00
Günter Obiltschnig
6356cd22ad
Merge pull request #4027 from Crafty-Codes/fix/function-parameter
CppParser: fix for std::function<void()> parameter
2023-07-11 06:42:56 +02:00
Günter Obiltschnig
a467fb382d #4031: Classes with virtual functions missing virtual destructors (compilation issues) 2023-07-10 22:08:59 +02:00
Günter Obiltschnig
5f17a02548 #3935: The extractor in postgresql drops milliseconds 2023-07-10 21:52:36 +02:00
Günter Obiltschnig
00e157da43 #4014: wrong string offset in HTTPCredentials::isNTLMCredentials 2023-07-10 21:37:45 +02:00
Günter Obiltschnig
15c6631352 #4078: Upgrade bundled SQLite to 3.42 2023-07-10 21:28:24 +02:00
Günter Obiltschnig
64b5a91ca1 #4071: PageCompiler: add referrerPolicy to page directive 2023-07-10 21:27:24 +02:00
Günter Obiltschnig
4c1e83b8e8 Don't throw if OpenSSL legacy provider is not available. Add OpenSSLInitializer::haveLegacyProvider() to check for legacy provider. 2023-07-10 17:02:49 +02:00
Fabio Oberhofer
f6e2524db6 CppParser: fix for std::function<void()> parameter
The parameter was previously seen as a function because of it's
brackets.
2023-07-03 14:16:22 +02:00
micheleselea
ead93baadf
EVPPKey constructor for modulus/exponent (#4025)
* Create EVPPkey from modulus and exponent

Add constructor for creating EVPPkey (RSA) using modulus and exponent

* Add EVPPKey constructor for modulus/exponent

* Add testEVPKeyByModulus

* fix test for mudulus

* Update EVPTest.cpp
2023-06-20 22:46:43 -05:00
Günter Obiltschnig
ade5f83973 recreated project files 2023-06-12 17:42:57 +02:00
Günter Obiltschnig
67d0c05370
Merge pull request #4050 from stkw0/devel
rename arc -> poco_arc
2023-06-12 16:36:48 +02:00
David Roman
922fb39787 rename arc -> poco_arc
Fix #3349
2023-06-12 16:28:20 +02:00
Günter Obiltschnig
a00bfbe89f #4057: ODBC: SQL Anywhere Support (fix) 2023-06-11 09:59:49 +02:00
Stefan Csomor
b391d86502
switching to 64 bit arch for simulator as well (#3009) 2023-06-10 18:13:01 -05:00
Alexander Kernozhitsky
c6fd0db4b6
Fix thread counter leak (#3992)
Cherry-picked from https://github.com/ClickHouse/poco/pull/28, see the
mentioned PR for more details.

Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2023-06-09 22:05:19 -05:00
Günter Obiltschnig
2a6434a86d Merge branch 'devel' of github.com:pocoproject/poco into devel 2023-06-06 13:13:11 +02:00
Günter Obiltschnig
0a4f64c8d2 #3876, also for SystemConfiguration 2023-06-06 13:12:35 +02:00
Günter Obiltschnig
525e91cb90
Merge pull request #4030 from bas524/socketaddress-by-const
fix #3968
2023-06-06 13:08:15 +02:00
Günter Obiltschnig
8f764e3505 #3880: NetSSL_OpenSSL: Support session resumption with TLSv1.3 2023-06-06 13:06:02 +02:00
Günter Obiltschnig
a9ad113742
Merge pull request #4038 from sersoftin/fix/win-shared-library-error-text
Fixed Poco::format specifier for error code
2023-05-21 09:43:52 +02:00
Sergey Detsina
ed2613dfc5 Fixed Poco::format specifier for error code 2023-05-21 10:40:20 +03:00
Alexander B
69a6ddbd90 fix #3968 Poco::Net::SocketConnector constructor should take SocketAddress by const reference 2023-05-11 14:39:32 +03:00
Alexander B
75b378e540
fix #4005 Poco::Path::getExtension() returns name of the hidden file if no extension is present (#4011) 2023-05-05 11:49:56 -05:00