Commit Graph

5321 Commits

Author SHA1 Message Date
Alex Fabijanic
3ca26804e2 chore(README): Add vcpkg installation instructions #2940 2022-06-21 18:07:58 +02:00
Romain Geissler @ Amadeus
3e563492ef
Fix some clang 10 -Wsign-compare warnings (#2960)
In file included from /data/mwrep/res/osp/Poco/JSON/20-0-0-0/include/Poco/JSON/Object.h:22:
In file included from /data/mwrep/res/osp/Poco/JSON/20-0-0-0/include/Poco/JSON/Array.h:23:
In file included from /data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/Dynamic/Var.h:26:
In file included from /data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/Dynamic/VarHolder.h:22:
In file included from /data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/NumberFormatter.h:22:
/data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/NumericString.h:220:31: error: comparison of integers of different signs: 'unsigned long' and 'char' [-Werror,-Wsign-compare]
                                if ((limitCheck - result) < add) return false;
                                     ~~~~~~~~~~~~~~~~~~~  ^ ~~~
/data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/NumericString.h:229:31: error: comparison of integers of different signs: 'unsigned long' and 'char' [-Werror,-Wsign-compare]
                                if ((limitCheck - result) < add) return false;
                                     ~~~~~~~~~~~~~~~~~~~  ^ ~~~
/data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/NumericString.h:240:31: error: comparison of integers of different signs: 'unsigned long' and 'char' [-Werror,-Wsign-compare]
                                if ((limitCheck - result) < add) return false;
                                     ~~~~~~~~~~~~~~~~~~~  ^ ~~~
/data/mwrep/res/osp/Poco/Foundation/20-0-0-0/include/Poco/NumericString.h:249:31: error: comparison of integers of different signs: 'unsigned long' and 'char' [-Werror,-Wsign-compare]
                                if ((limitCheck - result) < add) return false;
                                     ~~~~~~~~~~~~~~~~~~~  ^ ~~~
4 errors generated.
2022-06-21 11:01:05 -05:00
Alex Fabijanic
15e242b4bc fix(Platform): MinGW also defines __GNUC__. #3195 2022-06-21 17:57:09 +02:00
Alex Fabijanic
c77f558d0e chore(JSON): add test for #2612 2022-06-21 10:55:20 +02:00
Alex Fabijanic
aa71874f2c fix(NTPClient): NTPClient ignores second fractions #2614 2022-06-21 07:32:14 +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
JackyWoo
4938185ff0
FifoBuffer.advance method not throw exception when length==0 (#3641)
* fifobuffer not throw error when length = 0

* Update FIFOBuffer.h

fix indentation

Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
2022-06-20 15:09:40 -05:00
Alex Fabijanic
37cb890e58 fix(ConfigurationView): ConfigurationView and JSON is broken for array access #3635 2022-06-20 20:59:10 +02:00
Alex Fabijanic
41f11b02bc chore(LocalConfigurationView): fix style #3529 2022-06-20 17:48:53 +02:00
Alex Fabijanic
a843c63bf2 fix(Crypto): libPocoCrypto.so: undefined reference to pthread_atfork when linking statically with OpenSSL 1.1 #3073 2022-06-19 21:03:49 +02:00
Alex Fabijanic
dc201ade08 fix(format): scope 2022-06-19 18:54:24 +02:00
junwufan
283321a11d
fix warning C4717: 'format<std::vector<std::any,std::allocatorstd::an… (#3640)
* fix warning C4717: 'format<std::vector<std::any,std::allocatorstd::any > >': recursive on all control paths, function will cause runtime stack overflow

* keep origin format.
2022-06-19 11:45:38 -05:00
Guillermo Frontera
5cc73c6223
indicate compiler that functions will never return (#3639) 2022-06-18 14:45:23 -05:00
Alex Fabijanic
1d32b9b393 json format PrintHandler #2678 2022-06-18 06:52:30 +02:00
Alex Fabijanic
c97d57017c Makefile: space(s) following target name will break build (during link) #3062 2022-06-18 05:46:39 +02:00
Alex Fabijanic
34c4d7c4a2 Poco::Data::SessionPool change connection timeout #3241 2022-06-17 23:21:56 +02:00
Alex Fabijanic
24b99e7762 MinGW: fatal error: kernelspecs.h: No such file #2691 2022-06-17 22:43:40 +02:00
Alex Fabijanic
7f4bdca6e0 Static code analyzer warnings #2688 2022-06-17 22:36:16 +02:00
Günter Obiltschnig
ae00d05006 PocoDoc: fix handling of font-style tags if tag is immediately followed by punctuation 2022-06-14 10:22:05 +02:00
Aleksandar Fabijanic
08fe7fd200
fix(Zip): Zip 64-bit extensions not set #2590 (tentative) (#3604) 2022-06-13 14:48:34 -05:00
Günter Obiltschnig
191cbdc97e Merge branch 'poco-1.11.3' 2022-06-12 08:03:45 +02:00
Günter Obiltschnig
0bab41e1bf updated changelog 2022-06-12 07:57:57 +02:00
Günter Obiltschnig
d15755daa6 #3632: add overloads to ctor and connect() to allow passing a Poco::Net::StreamSocket/Poco::Net::SecureStreamSocket to enable TLS connections without introduding a direct dependency to NetSSL. 2022-06-12 07:52:57 +02:00
Günter Obiltschnig
7cf1342d29 update CI link in README.md 2022-06-12 07:37:06 +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
db0e012f3f doc(Crypto): Fix error in find_package example #3088 2022-06-02 08:24:21 -05:00
Alex Fabijanic
91c7392ec6 fix(cmake): add WebNotifier to samples #3184 2022-06-02 08:21:02 -05:00
Alex Fabijanic
420664ea99 fix(cmake): TestLibrary debug postfix 2022-06-02 08:18: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
Matej Kenda
eaf88cca34
Windows embedded OpenSSL: Fixed bogus warning during compilation (External OpenSSL defined but internal headers used - possible mismatch!) (#3627) 2022-06-02 08:00:14 -05:00
Azat Khuzhin
8939866ecb
TCPServerDispatcher.h: missing <atomic> (#2961)
Fixes: b8af168151fe0147fb06557029002ae226dcc549
Fixes: #1965
2022-06-02 00:24:52 -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
Hernan Martinez
4051f85139
Use tx_isolation when connected to MariaDB regardless of version (#3622)
* Use `tx_isolation` when connected to MariaDB regardless of version

* Rename variable

* Handle MariaDB server info in the middle of the string
2022-05-31 08:46:49 -05:00
Hernan Martinez
573dcca72a
Handle MariaDB JSON columns since they are stored as longtext (#3621)
* Also extract BLOBs when reading longtext columns as std::string

* Fix error message in unit test

* Added unit test to read longtext columns as std::string
2022-05-31 07:53:15 -05:00
Alex Fabijanic
bc8e192c2b chore(Net): regenerate VS 140,150,160 projects #3614 2022-05-30 08:33:44 -05:00
Hernan Martinez
38593bee1c
Added missing SocketProactor class to ProGen source (#3616)
* Added missing SocketProactor class to ProGen source

* ProGen'd VS2022 Net project
2022-05-30 08:03:44 -05:00
Alex Fabijanic
d93a1885a1 fix(SQLite): windows build (global var does not link) #3018 2022-05-29 23:36:07 -05:00
Alex Fabijanic
1a662a113c fix(HTTPResponse): Add 425 / HTTP_TOO_EARLY to HTTPResponse::HTTPStatus #3592 2022-05-29 23:09:06 -05:00
Alex Fabijanic
e25a8b3ec7 chore(SQLite): fix enum names case for #3018 2022-05-29 22:18:38 -05:00
Maksim Kita
5c29df0860
Added support for SQLite transaction types using Session property (#3018) 2022-05-29 22:06:48 -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
Tavi Cacina
ea03d882f2
Net: make MessageHeader limits configurable (#3404) 2022-05-29 21:29:16 -05:00