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
674446d44d
Revert "formatHex with lower case ( #3657 )" ( #3670 )
...
This reverts commit b1823b61c0902252d1e15e8a7175f40e31a865b2.
2022-07-07 02:43:52 -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
Alex Fabijanic
dd0aaa984d
fix(PollSet): PollSet::add()/update() semantics #3661
2022-07-06 14:00:02 +02:00
Alex Fabijanic
0a53c6f4a2
chore(vscode): add mac config
2022-07-06 13:59:07 +02:00
Alex Fabijanic
474dbac0c0
fix(cmake): MSVC does not properly recognize std version #3665
2022-07-06 13:40:08 +02:00
Alex Fabijanic
adec31e6a8
fix(PollSet): CMakelists.txt
2022-07-06 12:04:05 +02:00
Alex Fabijanic
dd16ab04e7
fix(PollSet): eventfd call arg; add wepoll to CMakelists.txt
2022-07-06 11:58:29 +02:00
Alex Fabijanic
a1b21d2a0d
chore(ProGen): MSVC does not properly recognize std version #3665
2022-07-06 11:39:47 +02:00
Alex Fabijanic
31a49c0af2
fix(PollSet): Integrate windows epoll #2091 , #3649
2022-07-06 11:36:16 +02:00
Alex Fabijanic
81696487a0
fix(PollSet): #1459 #3628 #3655 #3661
2022-07-05 20:49:46 +02:00
Aleksandar Fabijanic
840044f69b
Fix/poll set race ( #3630 )
...
* fix(PollSet): PollSet data race #3628
* fix(SocketConnector): SocketConnector test #2875
* fix(PollSet): optimize the amount of locked code; fix and simplify wakeUp logic
* fix(SocketConnectorTest): fix test memleak (data not flowing, handlers not deleted) #2875
* fix(PollSet): clear() and tests
2022-07-05 03:43:19 -05:00
Alex Fabijanic
93e58b4468
fix(Socket): Socket::select EPOLL implementation returns socket in exceptList when empty list is given #3655 ; mark select as deprecated #1459
2022-07-04 22:38:51 +02:00
Alex Fabijanic
672d64bfc5
feat(Socket): add lastErrorDesc()
2022-07-04 22:22:05 +02:00
JackyWoo
b1823b61c0
formatHex with lower case ( #3657 )
2022-07-04 14:25:02 -05:00
Günter Obiltschnig
3e4a286c9d
#3658 : Support for chunked transfer encoding trailer
2022-07-04 17:49:52 +02:00
Günter Obiltschnig
13b5605260
#3633 : Redis: Support Authentication
2022-07-03 16:09:49 +02:00
Günter Obiltschnig
9bde3bc634
merge changes from 1.11.3
2022-07-03 16:09:29 +02:00
Günter Obiltschnig
06718f49c1
add note regarding receiveFrame with Poco::Buffer
2022-07-03 16:02:45 +02:00
Günter Obiltschnig
2daf323afc
#2821 : Poco::Buffer: full on creation? - add documentation describing the behavior.
2022-07-03 15:55:36 +02: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
Alex Fabijanic
36d8507a48
fix(CMake): Linking with Foundation on Android gives error #3652 #3653
2022-06-30 05:49:08 +02:00
Alex Fabijanic
076cddb465
Merge branch 'devel' of https://github.com/pocoproject/poco into devel
2022-06-29 19:57:03 +02:00
Alex Fabijanic
b3337ac137
chore(Net/samples): tcpserver missing from Net/samples/CMakeLists.txt #3651
2022-06-29 19:56:48 +02:00
Alex Fabijanic
7a2f2e0ac7
Merge branch 'devel' of https://github.com/pocoproject/poco into devel
2022-06-29 12:43:41 +02:00
Alex Fabijanic
451360e59f
test(MailMesage): MailMessage::read() chokes on Content-disposition #3650
2022-06-29 12:43:24 +02:00
JackyWoo
3f124bd250
better socket reactor wake up ( #3647 )
...
* better socket reactor wake up
* Remove documentation comment from source file
Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
2022-06-29 05:15:09 -05:00
Alex Fabijanic
5d7a1016c2
feat(SecureSocketImpl): how to set the socket of SecureSocketImpl to no-blocking? #2352
2022-06-29 11:41:39 +02:00
JackyWoo
0d539a71f5
Make poll set interruptable ( #3644 )
...
* Make poll set interruptable
* open test for poll set
* fix poll set wake up test
* fix build error
2022-06-28 14:23:10 -05:00
Ben Foster
cc14bcf5f9
add separate accessors and mutators for connect, send and receive tim… ( #3476 )
...
* add separate accessors and mutators for connect, send and receive timeouts
* implement timeout methods outside of class declaration to conform to existing code structure
* Update HTTPSession.h
Co-authored-by: bfoster <bfoster@malwarebytes.com>
Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
2022-06-28 12:15:42 -05: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
c37780726d
fix(VarHolder): limits check
2022-06-27 13:33:10 +02:00
Aleksandar Fabijanic
309aff3579
Revert "avoid clang tidy warning ( #3646 )" ( #3648 )
...
This reverts commit b23488d6feab13645ce306fd02fd50635f54b25f.
2022-06-27 05:44:52 -05:00
JackyWoo
b23488d6fe
avoid clang tidy warning ( #3646 )
2022-06-27 01:57:20 -05:00
Alex Fabijanic
a785705a5c
chore(NumberParserTest): add test for #2441
2022-06-26 20:14:05 +02:00
Alex Fabijanic
3f9b4067d9
Merge branch 'devel' of https://github.com/pocoproject/poco into devel
2022-06-25 20:28:37 +02:00
Alex Fabijanic
5ef96287ee
fix(Redis): Poco::Redis after executing auth command next command always return OK #2457
2022-06-25 20:25:03 +02:00
JackyWoo
cbe738d5e8
Make ParallelSocketReactor thread namable ( #3642 )
...
make ParallelSocketReactor thread namable
2022-06-24 05:37:56 -05:00
Alex Fabijanic
ae00f1c8eb
fix(NumberFormatter): Negative precision in NumberFormatter::format() #2511
2022-06-24 09:59:30 +02:00
Alex Fabijanic
79f7b43dc4
feat(TypeHandler): DB into() does not compile for more than 20 members in a tuple #3342
2022-06-24 05:59:15 +02:00
Alex Fabijanic
0903810e58
feat(Cipher): No access to padding in Cipher #3374
2022-06-24 00:04:28 +02:00
Alex Fabijanic
c8e66028ee
feat(FTPClientSession): activeDataConnection 1.11.0 cannot set specific data port #3372
2022-06-23 23:35:09 +02:00
Alex Fabijanic
391cb63c54
fix(MySQL::Extractor): MySQL Extractor #2521
2022-06-23 11:35:10 +02:00
Alex Fabijanic
b93713087d
fix(strToInt): thousand separator regression #3580
2022-06-23 00:09:55 +02:00
Alex Fabijanic
284a141432
fix(strToInt): overflows #3580
2022-06-22 23:13:39 +02:00
Alex Fabijanic
6a97657df8
feat(Timespan): Add std::chrono support #2576 #2623
2022-06-22 14:25:07 +02:00
Alex Fabijanic
cafd56a947
fix(JSON::Stringifier): JSON Serializing NAN #3251
2022-06-22 13:44:00 +02:00
Alex Fabijanic
5cbe30e199
fix(NumberParser): Rounds very large negative numbers to the incorrect values #3580
2022-06-22 12:12:30 +02:00
Alex Fabijanic
47f2c3573c
fix(MailMessage): read hangs on missing final multipart boundary #2401
2022-06-22 04:33:31 +02:00