6104 Commits

Author SHA1 Message Date
Günter Obiltschnig
2fb28fac49 chore: add clean target to trace Makefile 2025-03-25 08:46:56 +01:00
Günter Obiltschnig
4df0c9c5d7 chore: add clean target to trace Makefile 2025-03-25 08:46:37 +01:00
Günter Obiltschnig
0e5f2113c4 chore(Data/SQLite): Upgrade bundled SQLite to 3.49.1 #4907 2025-03-24 06:49:06 +01:00
Günter Obiltschnig
9ca3cf74ef chore(Data/SQLite): Upgrade bundled SQLite to 3.49.1 #4907 2025-03-24 06:48:33 +01:00
Matej Kenda
01943c75d5 enh(expat): Upgrade to version 2.7.0 2025-03-23 11:05:55 +01:00
Matej Kenda
1bdc41329b enh(expat): Upgrade to version 2.7.0 2025-03-23 11:00:07 +01:00
Günter Obiltschnig
5a7143309a fix(NetSSL): NetSSL_OpenSSL: non-blocking functions return value #4906 2025-03-22 18:59:30 +01:00
Günter Obiltschnig
057a5294a3 fix(NetSSL): NetSSL_OpenSSL: non-blocking functions return value #4906 2025-03-22 18:58:08 +01:00
Miracle-1996
e758e7e2a6
add_subdirectory(tcpclient) (#4904) 2025-03-20 19:03:40 +01:00
Aleksandar Fabijanic
4b093d8f89 fix(VarHolder): MSVC warning #4886 (#4903)
* fix(VarHolder): MSVC warning #4886

* fix(VarHolder): do not convert unsigned #4886

* chore(SocketImpl): eliminate MSVC warning

* fix(VarHolder): do not convert unsigned (extract unpreserveSign()) #4886

* chore(testsuite): eliminate MSVC warnings

* chore(VarHolder): simplify unpreserveSign using constexpr.

---------

Co-authored-by: Matej Kenda <matejken@gmail.com>
2025-03-20 12:35:48 +01:00
Aleksandar Fabijanic
8fb80fd76e
fix(VarHolder): MSVC warning #4886 (#4903)
* fix(VarHolder): MSVC warning #4886

* fix(VarHolder): do not convert unsigned #4886

* chore(SocketImpl): eliminate MSVC warning

* fix(VarHolder): do not convert unsigned (extract unpreserveSign()) #4886

* chore(testsuite): eliminate MSVC warnings

* chore(VarHolder): simplify unpreserveSign using constexpr.

---------

Co-authored-by: Matej Kenda <matejken@gmail.com>
2025-03-20 12:34:55 +01:00
Aleksandar Fabijanic
1371c960e7 fix(TCPServer): continues to accept connections after stop() #4892 (#4896)
* fix(TCPServer): continues to accept connections after stop() #4892

* fix(TCPServer): first attempt to silence TSAN #4892

* fix(TCPServer): check stopped status after poll; add TCPServerFactory::stop() and allow factory to return nullptr on connection creation request #4892

* fix(TCPServer): initialize factory stopped flag #4892

* revert(SocketImpl): atomic sock fd
2025-03-13 08:14:19 +01:00
Aleksandar Fabijanic
eb94de03a6
fix(TCPServer): continues to accept connections after stop() #4892 (#4896)
* fix(TCPServer): continues to accept connections after stop() #4892

* fix(TCPServer): first attempt to silence TSAN #4892

* fix(TCPServer): check stopped status after poll; add TCPServerFactory::stop() and allow factory to return nullptr on connection creation request #4892

* fix(TCPServer): initialize factory stopped flag #4892

* revert(SocketImpl): atomic sock fd
2025-03-12 22:15:19 +01:00
Matej Kenda
66399faafc Fix dynamic var conversion precision check (#4886) (#4894)
* Take the absolute value of the value in numValDigits to fix the precision loss check for negative values.

* fix(VarHolder): Correct numValDigits to properly convert to signed integer.

* Potential fix for code scanning alert no. 1075: Declaration hides variable

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

---------

Co-authored-by: Mias <mias@innoventix.co.za>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-03-11 13:30:50 +01:00
Matej Kenda
91244ac9d9
Fix dynamic var conversion precision check (#4886) (#4894)
* Take the absolute value of the value in numValDigits to fix the precision loss check for negative values.

* fix(VarHolder): Correct numValDigits to properly convert to signed integer.

* Potential fix for code scanning alert no. 1075: Declaration hides variable

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

---------

Co-authored-by: Mias <mias@innoventix.co.za>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-03-11 13:29:38 +01:00
Matej Kenda
6f1b4f5670 Merge pull request #4893 from pocoproject/4875-prebuild-does-not-work-as-intended
Prebuild does not work as intended
2025-03-11 10:53:03 +01:00
Matej Kenda
adb96480d3
Merge pull request #4893 from pocoproject/4875-prebuild-does-not-work-as-intended
Prebuild does not work as intended
2025-03-11 10:43:59 +01:00
Lara Dzivdzanovic
4c70cfca68 Fix testSocketAddress for updated pocoproject.org IP 2025-03-11 09:41:37 +01:00
Lara Dzivdzanovic
6cfe1bcd4b fix(build): prebuild does not work as intended 2025-03-10 15:25:53 +01:00
Günter Obiltschnig
29f0a3afd7 fix(NetSSL): SecureSocketImpl::currentSession() regression since 1.12.4 #4882 2025-02-27 20:59:50 +01:00
Günter Obiltschnig
fd8322e771 fix(NetSSL): SecureSocketImpl::currentSession() regression since 1.12.4 #4882 2025-02-27 20:59:29 +01:00
Günter Obiltschnig
ebed75c9fd fix(Net): WebSocket receiveFrame() keeps returning the same frame when no payload (flags/header only) #4884 2025-02-27 20:52:22 +01:00
Günter Obiltschnig
7dd2024c9e fix(Net): WebSocket receiveFrame() keeps returning the same frame when no payload (flags/header only) #4884 2025-02-27 20:52:02 +01:00
Günter Obiltschnig
4b52cc6b25 chore: branch for 1.14.2 2025-02-27 14:06:26 +01:00
Rajendra Singh
1facbebb62
Fixes crashes for openssl 1.0.x (#4878)
Fixes crash for openssl 1.0.x

#fixes #4877
2025-02-22 17:44:19 +01:00
Matej Kenda
337f13414d
CMake: Include pcre2 source files to unbundled build based on pcre2 library type (#4879) 2025-02-21 11:55:59 +01:00
Günter Obiltschnig
4c2128ccdb doc: workaround for PocoDoc failure to parse Any.h 2025-02-14 17:16:04 +01:00
Günter Obiltschnig
726a9b6349 doc: workaround for PocoDoc failure to parse Any.h 2025-02-14 17:15:29 +01:00
Matej Kenda
e7687d4bba enh(Foundation): modernised header files (override, using, nullptr, ...) 2025-02-12 19:47:52 +01:00
Matej Kenda
9e4e039c04 Merge remote-tracking branch 'origin/poco-1.14.1' 2025-02-12 19:45:42 +01:00
Günter Obiltschnig
fee4dccb44 doc: relnotes poco-1.14.1-release 2025-02-12 14:06:35 +01:00
Günter Obiltschnig
43dd3134a3 doc: release notes 2025-02-12 13:57:23 +01:00
Günter Obiltschnig
7643391c5a fix(doc): missing NetSSL documentation 2025-02-12 13:01:33 +01:00
Günter Obiltschnig
5c559a771f fix(doc): missing NetSSL documentation 2025-02-12 13:01:03 +01:00
Matej Kenda
12d78aa68f chore(release): Update release and version files. 2025-02-11 15:39:04 +01:00
Günter Obiltschnig
529783952e enh(Foundation): Windows Eventviewer not able to find PocoFoundation DLL #3304 2025-02-11 12:34:19 +01:00
Günter Obiltschnig
948fbcd858 fix(cmake): Windows Eventviewer not able to find PocoFoundation DLL #3304 2025-02-11 12:34:14 +01:00
Günter Obiltschnig
f23e2eb1c8 enh(Foundation): Windows Eventviewer not able to find PocoFoundation DLL #3304 2025-02-10 22:26:09 +01:00
Günter Obiltschnig
ff26c8e164 fix(cmake): Windows Eventviewer not able to find PocoFoundation DLL #3304 2025-02-10 22:04:57 +01:00
Matej Kenda
f155ba3957 fix(cmake): Add back missing compiler definitions for static_build in the generated CMake files 2025-02-10 08:32:54 +01:00
Günter Obiltschnig
b9af97ceb3 enh(Net): SocketImpl::sendFile() sends entire contents by repeatedly calling sendfile() if necessary 2025-02-10 08:32:47 +01:00
Günter Obiltschnig
356124a3f6 enh(Net): SocketImpl::sendFile() - remove signal handling (not thread safe and already done elsewhere); fix wrong signed/unsigned types; cleanup 2025-02-10 08:32:41 +01:00
Günter Obiltschnig
72345bd423 Merge pull request #4863 from pocoproject/fix-sendFile
Fix StreamSocket::sendFile()
2025-02-10 08:32:35 +01:00
Günter Obiltschnig
0ec643a0a8 fix(Foundation): Poco::icompare(str, pos, ptr) out of bounds error if pos > str.size() #4866 2025-02-10 08:32:26 +01:00
Günter Obiltschnig
1c5ab2adf3 Merge pull request #4865 from pocoproject/fix-openssl-cmake-applink
Fix openssl cmake applink
2025-02-10 08:32:19 +01:00
Matej Kenda
0434c41ad5 fix(cmake): Add back missing compiler definitions for static_build in the generated CMake files 2025-02-10 08:28:11 +01:00
Günter Obiltschnig
f32e3d0b90 enh(Net): SocketImpl::sendFile() sends entire contents by repeatedly calling sendfile() if necessary 2025-02-09 16:03:51 +01:00
Günter Obiltschnig
a70fe2b045 enh(Net): SocketImpl::sendFile() - remove signal handling (not thread safe and already done elsewhere); fix wrong signed/unsigned types; cleanup 2025-02-09 14:00:16 +01:00
Günter Obiltschnig
8d1aab0d27
Merge pull request #4863 from pocoproject/fix-sendFile
Fix StreamSocket::sendFile()
2025-02-08 19:05:46 +01:00
Günter Obiltschnig
47a77751fb fix(tests): another attempt at fixing the flaky testSendFile*() 2025-02-08 18:04:36 +01:00