Commit Graph

5484 Commits

Author SHA1 Message Date
Aleksandar Fabijanic
5e1904b5f8 fix: Sync 1.11.-1.12-devel(1.13) #4187 2023-10-16 00:16:06 +02:00
Aleksandar Fabijanic
5103d46e9e chore(build): add missing distclean 2023-10-15 17:56:48 +02:00
Günter Obiltschnig
53b57c36eb fix sending trailer: HTTPOutputStream actually shuts down socket, so final \r\n would not be sent. May be related to #4180 2023-10-15 11:20:47 +02:00
Günter Obiltschnig
6385a3c86e UDPHandler: don't use SpinlockMutex, due to poor performance on single-core systems; make Mutex class a template param instead 2023-10-15 10:19:00 +02:00
Günter Obiltschnig
06a03d1ada Poco::TemporaryFile: fix possible naming collisions due to random zero increment 2023-10-14 11:35:43 +02:00
Günter Obiltschnig
ed43543113 #4184: Poco::TemporaryFile: make filenames less predictable 2023-10-13 14:31:01 +02:00
Günter Obiltschnig
9248d4195f updated changelog 2023-10-12 12:21:33 +02:00
Günter Obiltschnig
33d5d9c083 #4182: Util: Make load()/save()/clear() operations on configurations thread-safe 2023-10-12 10:38:41 +02:00
Günter Obiltschnig
cb58e09304 #4177: Upgrade bundled pcre2 to 10.42 2023-10-07 09:22:47 +02:00
Günter Obiltschnig
d79c8e4a2f fix FindMySQL.cmake 2023-10-04 10:09:55 +02:00
Günter Obiltschnig
24e48e001e merge Data/MySQL changes from 1.12.5 2023-10-04 08:42:11 +02:00
Günter Obiltschnig
1a4c6e10a6 fix MySQL.make 2023-10-04 06:30:58 +02:00
Günter Obiltschnig
64ccf120f8 clean-up ci.yml 2023-10-04 06:30:41 +02:00
Günter Obiltschnig
27da6a0a99 fix test name 2023-10-03 22:33:41 +02:00
Günter Obiltschnig
4999c2258b merge more changes from 1.12.5 2023-10-03 21:33:21 +02:00
Günter Obiltschnig
fdb7ffc1a7 merge fixes from 1.12.5 2023-10-03 21:31:27 +02:00
Günter Obiltschnig
419433cf39 fix ignored test names 2023-10-02 23:11:54 +02:00
Günter Obiltschnig
f7d28bec77 ignore one more time-based test result 2023-10-02 14:27:42 +02:00
Günter Obiltschnig
444b66ea95 updated cppignore.lnx 2023-10-02 12:15:06 +02:00
Günter Obiltschnig
1b95d53804 #4147: missing \r\n when setting trailer header in chunked response 2023-10-02 09:55:40 +02:00
Günter Obiltschnig
58af2ebc46 merge changes from 1.11.8 2023-10-02 08:20:04 +02:00
Günter Obiltschnig
ee7e8dc29f fix include order 2023-10-02 07:50:29 +02:00
Günter Obiltschnig
ca3029a20c #4162: [Bug] class KeylessActiveRecord is missing export macro 2023-10-02 07:49:47 +02:00
Günter Obiltschnig
573e01806b don't depend on POCO_HAVE_CXXABI_H 2023-10-02 07:41:18 +02:00
Günter Obiltschnig
70bb8f13f9 CppUnit: demangle class names 2023-10-02 07:16:48 +02:00
Günter Obiltschnig
3a93e32def #1372: Possible deadlock in SessionPool 2023-10-01 19:18:29 +02:00
Günter Obiltschnig
fd4fcda99e upgrade action runners 2023-10-01 18:08:51 +02:00
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