Alex Fabijanic
2006327198
fix(Event): Poco EventImpl for Win32 breaks INFINITE wait #3737
2022-08-10 14:10:12 +02:00
Alex Fabijanic
dbb7b5f8e2
fix: g++ C++20 warnings #3734
2022-08-06 22:28:45 +02:00
Alex Fabijanic
10dfe9fe92
fix(SpinlockMutex): VS2022 compilation issues #3693
2022-07-27 16:19:06 -04:00
Aleksandar Fabijanic
86a4f0045e
Fix/posix sleep ( #3705 )
...
* fix(Thread_POSIX): sleep() poor performance #3703
* chore(vscode): add file associations
* fix(TaskManager): waits for all threads in the ThreadPool #3704
* fix(Thread): call std::this_thread::sleep_for() to sleep #3703
* fix(PollSet): wakeup fd is never read #3708
* feat(Thread): Add Thread::set/getAffinity() #3709
* doc(Thread): Thread::trySleep() assertion #3710
* fix(PollSet): wakeup fd is never read (windows portion and some other optimizations) #3708
* feat(SocketReactor): improvements #3713
* chore(ThreadTest): add missing include
* fix(PollSet): wakeup fd is never read #3708
* fix(Any): #3682 #3683 #3692 #3712
* fix(mingw): lowercase winsock2 and iphlpapi to allow cross compile #3711
* feat(Thread): Add Thread::set/getAffinity() #3709
* chore(SocketReactor): one-liners inlined, removed redundant try/catch in dospatch, remove unused onBusy()
* feat(SocketReactor): add socket to ErrorNotification
* fix(SocketReactor): pollTimeout assignment and ConnectorTest leak
2022-07-26 06:54:56 -05:00
JackyWoo
1d28d2d42d
set thread name ( #3664 )
...
* set thread name
* fix dead lock
* fix code style & return fake name
* fix code style
* fix code style
Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
2022-07-18 05:21:33 -05:00
John Vandenberg
0e6e16645c
Remove trailing whitespace ( #3668 )
2022-07-07 04:18:20 -05:00
Arun Chandrasekaran
0af9524e16
Always set thread names on POSIX platforms ( #3384 )
...
* chore: gitignore vim .swp files
* feat(POSIX): Always set thread names.
I'm not sure about the original intent to hide it under a DEBUG macro.
Naming the threads in release mode makes it easier to see runtime
application and know which thread pool uses how many threads and what
their names are. Firefox, Chromium and many other apps do this on Linux.
2022-07-07 04:08:47 -05:00
Aleksandar Fabijanic
bbe09e48d1
Feat/pcre2 ( #3663 )
...
* upgrade to pcre2
* use pcre2_*_8 names
* fix pcre2 lib name for unbundled build
* CMake changes for PCRE2
* add missing macro for unbundled build
* add PCRE2_STATIC
* updated VS project files for pcre2
Co-authored-by: Günter Obiltschnig <guenter.obiltschnig@appinf.com>
2022-07-06 10:46:38 -05:00
Günter Obiltschnig
b6dcb5bbd3
Merge pull request #2959 from dahek/get_raw_fragment
...
Fix percent-encoded fragment modification in Poco::URI
2022-07-03 15:12:23 +02:00
Aleksandar Fabijanic
168f1eb6e2
As of C++11, std::swap is noexcept. #2386 ( #3645 )
...
* As of C++11, std::swap is noexcept. #2386
* fix(Any): remove throw on swap
* fix(Any): As of C++11, std::swap is noexcept. #2386
* fix(Any): make size const #2386
* fix(SimpleRowFormatter): clang won't compile noexcept #2386
* a couple of arm fixes
* fix(Any): As of C++11, std::swap is noexcept. #2386
* fix(AnyTest): local() for POCO_NO_SOO# 2386
* test(RSACipher): RSA encryption without private key #2367
* chore(RSACipherTest): delete ciphers #2367
2022-06-28 12:14:36 -05:00
Alex Fabijanic
c77f558d0e
chore(JSON): add test for #2612
2022-06-21 10:55:20 +02:00
Alex Fabijanic
6dc79c05f9
fix(URI): Decoding URI query parameters ( ::getQueryParameters) incompatible with Spring 5 #2619
2022-06-21 06:04:46 +02:00
Alex Fabijanic
2bd71b4ea4
fix(AsyncChannel): race condition in AsyncChannel close/log #1039
2022-06-10 19:56:29 -05:00
Alex Fabijanic
fbdb6120aa
fix(Event): Event data race #3629
2022-06-02 11:40:40 -05:00
Alex Fabijanic
7035844108
fix(double-conversion): riscv defines
2022-06-02 08:11:53 -05:00
Alex Fabijanic
2967db2778
fix(double-conversion): nios2 and riscv defines
2022-06-02 08:10:04 -05:00
BeBinder
ec41521ca5
added facility to SyslogChannel ( #3453 )
2022-06-02 00:04:27 -05:00
Aleksandar Fabijanic
ff879f5905
Fix/tsan ( #3617 )
...
* fix(Foundation): tsan warnings fixes
* fix(Thread_POSIX): tsan warnings fixes; add tsan.suppress
* fix(Util): tsan fixes
* fix(netSSL_OpenSSL): tsan fixes
* fix(Data): tsan warnings fixes
* feat(ci): add tsan job
* feat(ci): add tsan job, another attempt
* feat(ci): add tsan job, 3rd attempt
* fix(Foundation): tsan warnings fixes
* fix(Thread_POSIX): tsan warnings fixes; add tsan.suppress
* fix(Util): tsan fixes
* fix(netSSL_OpenSSL): tsan fixes
* fix(Data): tsan warnings fixes
* feat(ci): add tsan job
* feat(ci): add tsan job, another attempt
* feat(ci): add tsan job, 3rd attempt
* fix(ResultMetadata): memory leak #3474
* feat(ci): disable ActiveDispatcher tests for tsan runs
* feat(ci): try to fix tsan options file detection (again)
* chore(TestLibrary: correct spelling
* fix(ci): fix tsan run; add -y to apt; disable samples build for some jobs
* fix(ci): add mysql ports
* feat(ci): add VS asan
* feat(double-conversion): Upgrade double-conversion to v3.2.0 #3624
* chore(asan): disable msvc asan build (dll not found)
* chore(double-conversion): move NumericString.h before double-conversion includes to prevent min/max collision; reinstate lost loongarch64
* chore(JSON): sync pdjson with upstream
* fix(Statement): Poco::Data::Statement becomes unusable after exception #2287
2022-06-01 23:47:26 -05:00
Spaky
17fec1b985
Updated to PCRE version 8.45 ( #3623 )
...
* Add missing changes from zlib update
* Updated to PCRE version 8.45
Build on Win32 and Linux, RegularExpressionTest was successful
2022-05-31 13:13:06 -05:00
Alex Fabijanic
2b7b9531f1
chore(SHA2Engine): fix formatting for #3026
2022-05-29 21:54:40 -05:00
Maksim Kita
fe59436763
HTTPDigestCredentials added support for RFC7616 algorithms ( #3026 )
2022-05-29 21:52:39 -05:00
Fritz Elfert
1f587cfd3b
Output to stderr in Poco::WindowsConsoleChannel ( #3058 )
...
- Fixes #3056
2022-05-29 21:48:41 -05:00
Alex Fabijanic
f860c26b3d
chore(Message): fix formatting for #3104
2022-05-29 21:42:33 -05:00
Mathieu Stefani
8fa4d5273d
Add Message::getAll ( #3104 )
2022-05-29 21:37:31 -05:00
Alex Fabijanic
b52ec8cc47
fix(LogFile): LogFile_STD (LogFileImpl) fails to recover from getting out of space #2084
2022-05-28 20:50:29 -05:00
Alex Fabijanic
0df6a6a7d9
feat(Platform): LoongArch support #3460
2022-05-27 09:52:24 -05:00
cesar
3d316bd548
Readded named substring support for regexes ( #3569 )
...
Original merged PR #952 was merged in 2015, but has gone missing. This is adding it back in.
2022-05-26 09:11:05 -05:00
Alex Fabijanic
2aa53f486a
fix(Task): Task::postNotification possible leak #3240
2022-05-19 08:38:43 -07:00
Alex Fabijanic
07bb778799
fix(SharedLibrary): SharedLibrary::isLoaded() not thread safe #3175
2022-05-18 16:03:28 -07:00
Matej Kenda
8a8c23c352
Fixes from develop experimental (on top of 1.11.2) ( #3017 )
...
* MongoDB::PooledConnection: Prevent unwanted release by disabling copy semantics. Enabled move semantics for C++11.
* Construct MongoDB::Cursor from aggragation cursor.
* Added function to get OS-specific numerical thread ID and %J pattern to use numerical OS thread id in pattern formatter.
Co-authored-by: Tomaz Beltram <tomaz.beltram@topit.si>
2022-05-18 17:23:16 -05:00
Alex Fabijanic
a1819107de
refactor(Placeholder): more SOO consolidation and optimization
2022-04-19 09:03:47 +00:00
Aleksandar Fabijanic
45cbee7c0e
refactor(Placeholder): ifdef POCO_NO_SOO only in Placeholder and remove it anywhere else ( #3566 )
2022-04-18 14:28:27 -05:00
Alex Fabijanic
4f5b7c1891
fix(SHA2Engine): cannot use HMACEngine with SHA2Engine #3421
2022-04-18 17:58:31 +02:00
Aleksandar Fabijanic
9c976da830
Refactor/any soo ( #3564 )
...
* refactor(Any): SOO
- encapsulate data holders
- add missing gets and ops
- eliminate g++ warnings with enable_if's
- default enable SOO
* refactor(Placeholder): encapsulate SOO memory management and fix leaks; cf. #3297 #3514
* fix(Placeholder): asan errors and add tests
cf. #3297 #3514
2022-04-16 06:38:55 -05:00
Günter Obiltschnig
9fac40afa5
#3553 : Upgrade bundled zlib to 1.2.12
2022-04-01 21:14:55 +02:00
Günter Obiltschnig
5a0b18246b
use tm_gmtoff on Linux
2022-03-28 13:50:31 +02:00
Günter Obiltschnig
c0ea70c2bf
remove unused method in Timezone_WIN32.cpp
2022-03-28 13:18:50 +02:00
Günter Obiltschnig
2c15b93dee
#2882 : another attempt at fixing it that should also work on other platforms
2022-03-28 12:57:16 +02:00
Günter Obiltschnig
6aa29ade17
#3509 : fix dst and utcOffset handling for Dublin time zone
2022-03-27 21:25:51 +02:00
Günter Obiltschnig
292d137909
#3483 : Adds Windows 11 and Server 2022 to Environment::osDisplayName()
2022-03-27 19:53:13 +02:00
Julien Olivain
13e2199827
Add back NIOS2 double conversion detection to fix compile errors
...
The commit
558324f672
removed the nios2 support, which was originally added in
e7b91e8125
This commit add it back.
Signed-off-by: Julien Olivain <ju.o@free.fr>
2022-03-25 20:08:22 +01:00
Günter Obiltschnig
7099821df8
#3338 : NamedMutex does not work on Linux distributions where fs.protected_regular=1
2022-02-19 11:12:48 +01:00
Günter Obiltschnig
50e39b731a
upgrade bundled PCRE to 8.45
2021-11-05 19:28:23 +01:00
Günter Obiltschnig
58fd4fcd6a
#3425 : Fixed suspend/resumeEvents pair in DirectoryWatcher
2021-11-05 15:05:01 +01:00
Günter Obiltschnig
5902bb1277
#3400 : fix std::localtime not thread safe
2021-11-05 13:37:02 +01:00
Alex Fabijanic
b9b540faff
fix(NumericString): Bug in NumericString with decSep != '.' #3159
2021-06-25 21:03:28 +02:00
Günter Obiltschnig
9017c36884
#3322 : remove useless struct
2021-06-23 08:52:41 +02:00
Günter Obiltschnig
7569ccf82b
#3318 : Data: Support Poco::UUID for data binding
2021-06-19 08:40:49 +02:00
Günter Obiltschnig
22eb76d3ae
#3302 : MSVC: Poco hides warnings (C4996) for the C++14 attribute [[deprecated]]
2021-06-17 18:20:29 +02:00
Günter Obiltschnig
13e62ef2e2
don't define UNREACHABLE as poco_bugcheck as it triggers 'control reaches end of non-void function' warning
2021-06-17 09:49:37 +02:00