5984 Commits

Author SHA1 Message Date
Günter Obiltschnig
47a77751fb fix(tests): another attempt at fixing the flaky testSendFile*() 2025-02-08 18:04:36 +01:00
Günter Obiltschnig
db88e0ec00 fix(test): fix flaky test 2025-02-08 15:20:14 +01:00
Günter Obiltschnig
24ff931071 fix(Net): Issue concerning Net/CMakeLists.txt detection of HAVE_SENDFILE #4852 2025-02-08 13:48:14 +01:00
Günter Obiltschnig
a1abf9659d enh(Net): additional tests for StreamSocket::sendFile() 2025-02-08 13:02:43 +01:00
Günter Obiltschnig
66c1d30bb4 enh(Net): StreamSocket::sendFile() takes additional count parameter 2025-02-08 12:57:24 +01:00
Günter Obiltschnig
3d8040bb17 fix(tests): remove unused variables 2025-02-07 20:43:28 +01:00
Günter Obiltschnig
6fb0debd71 chore: add test for sendFile() 2025-02-07 18:42:17 +01:00
Günter Obiltschnig
13029fb524 fix(Net): fix SocketImpl::sendFile() #4831 2025-02-07 18:06:14 +01:00
Matej Kenda
ca969f9ec3 fix(Foundation): detection of CXXABI is based on presence of the header file, simplify conditions. 2025-02-07 12:17:14 +01:00
Matej Kenda
269b3b4087 fix(github): Use "upload-artifact@v4":
Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
2025-02-04 11:01:10 +01:00
Matej Kenda
5b7fbda0cb fix(NumberParser): tryParseHex shall not throw, but return boolean 2025-02-04 11:01:10 +01:00
Günter Obiltschnig
6b324b83d4 enh(Util): add Timer::taskCount() 2025-02-03 09:34:13 +01:00
Günter Obiltschnig
5cab3be5c4 enh(Net): add HTTPBufferPoolAllocator::pool() to get read-only access to the underlying MemoryPool 2025-02-03 09:33:52 +01:00
Günter Obiltschnig
705403d4f6 fix(Net): WebSocket: non-blocking receiveFrame()/receiveBytes() with TLS connection may get stuck receiving header #4850 2025-01-15 21:36:36 +01:00
Matej Kenda
daf19e5223 fix(templates): Corrected explicit template instantiations to avoid multiple instances. 2025-01-14 15:09:30 +01:00
Günter Obiltschnig
7297033be7
Merge pull request #4845 from tyler92/fix-uninitialized-ntlm
fix(Net) Use of Uninitialized value in NTLMCredentials::parseChallengeMessage
2025-01-11 08:47:28 +01:00
Mikhail Khachayants
16e17b2c33 fix(Net) Use of Uninitialized value in NTLMCredentials::parseChallengeMessage 2025-01-10 22:55:03 +02:00
Günter Obiltschnig
5652837b8f
Merge pull request #4838 from d3matt/odd_nonblocking_receive_incorrect_mask
fix(Net) bad mask with odd number of bytes
2025-01-08 19:14:41 +01:00
Matej Kenda
bd7be38d6f
fix(Any): Modifications to fix OSS Fuzz report (#4818)
Changes triggered by the OSS Fuzz report: https://issues.oss-fuzz.com/issues/42538385?pli=1

* fix(Any): set pHolder to nullptr in destruct()

* enh(Any): modernised source code.

* enh(Any): introduce allocation type (empty, local, external).

* chore(Any): Apply suggestions from code review.
2025-01-08 17:01:27 +01:00
Lara Dzivdzanovic
336e0e802f
enh(SocketReactor): Add start() method #4833 (#4835) 2025-01-08 15:48:58 +01:00
Matej Kenda
7495f0592c enh(Poco::Dynamic): Modernised code to use C++17 features. 2025-01-08 15:14:39 +01:00
Matthew Stoltenberg
0cc3ab4d13 fix(Net) bad mask with odd number of bytes
Receiving an odd number of bytes in non-blocking mode results in using the wrong bytes to unmask the payload. Keep track of the number of payload bytes that have been unmasked.
2025-01-06 16:57:25 -07:00
Lara Dzivdzanovic
4ca735d7d8
fix(Makefile): add missing parameter for enabling FTS5 #4832 (#4834) 2025-01-06 13:07:20 +01:00
peter15914
79888c0e06 fix(SQLParser): typo that leads to the use of freed memory 2025-01-05 12:53:53 +01:00
Matej Kenda
c9dc1f9d3c
fix(CMake): Select MSVC runtime library with variable CMAKE_MSVC_RUNTIME_LIBRARY (fixes #4817) (#4823)
* fix(CMake): Select MSVC runtime library with variable CMAKE_MSVC_RUNTIME_LIBRARY instead of modifying compiler flags.

* enh(CI): Add static and MT MSVC builds.

* fix(CMake): Correct TestLibrary DLL name when building with MSVC
2024-12-27 12:47:23 +01:00
nyashbox
a8bac051c3
feat(Poco::Zip): Check archive consistency before extracting (#4807)
* feat(Zip): add checkConsistency() method for checking archive's consistency

* refactor(Zip): check archive consistency when decompressing all files

* test(Zip): add archive consistency tests

* refactor(Zip): make archive consistency check optional

* test(Zip): test optional consistency check
2024-12-27 12:46:05 +01:00
Günter Obiltschnig
854d8c89d6 enh(Net): Poco::Net::HTTPResponse: add replaceCookie() and removeCookie() #4825 2024-12-19 10:46:06 +01:00
Matej Kenda
3f76ad60c3
fix(MongoDB) use constants instead of typed enum in OpMsgMessage (#4822)
* fix(MongoDB): Use constants for payload types instead of enum to avoid improper binary serialisation with some compilers (int instead of unsigned char).

* enh(MongoDB): Minor code improvements to use string literals.
2024-12-17 09:25:06 +01:00
Matej Kenda
b380b57d5d
CMake: fix for missing utf8proc with unbundled build, resolves #4798 (#4816)
* fix(cmake): Add missing install and find dependency for utf8proc in unbundled build.

* chore(gitignore): Corrected path to Qt creator generated build files.
2024-12-11 16:18:04 +01:00
Aleksandar Fabijanic
e2576ff5ab
fix(cmake): remove libatomic dependency (#4811) 2024-12-07 23:35:39 +01:00
David Roman
d13fac600a
fix(cmake): correct typo AVHAI -> AVAHI (#4805) 2024-12-04 00:26:41 +01:00
Günter Obiltschnig
ed54e86914
Merge pull request #4797 from nyashbox/feat/add_g_specifier_to_format
Make Poco::format() support %g or %G as a format specifier like printf() does
2024-12-02 07:16:09 +01:00
nyashbox
b92c6b22b1
test(Format): test shortest representation format specifiers 2024-12-02 02:10:41 +02:00
nyashbox
42da9b0f1e
feat(Format): add support for %g and %G format specifiers 2024-12-02 02:09:35 +02:00
Günter Obiltschnig
02c86d4cdd chore(build): PocoDoc dependencies poco-1.14.0-release 2024-12-01 21:28:31 +01:00
Günter Obiltschnig
c55fccaf5a chore: bump version 2024-12-01 21:24:20 +01:00
Günter Obiltschnig
b90a7a4f9a chore(PocoDoc): merge changes from 1.13.3 2024-12-01 13:20:46 +01:00
Günter Obiltschnig
1c9dde18d1 enh(PocoDoc): support GitHub pull request links (PR #<id>) 2024-12-01 11:45:25 +01:00
Günter Obiltschnig
809b37545b chore(qa): add PocoDoc to packages-qa.yml 2024-12-01 11:27:54 +01:00
Günter Obiltschnig
e96ad6cc41 doc: changelog 2024-12-01 11:27:23 +01:00
Günter Obiltschnig
ecfa7d1d7b chore: PocoDoc configuration 2024-12-01 11:27:01 +01:00
Günter Obiltschnig
8e023bbd45 chore: hide some declarations from PocoDoc/C++ parser 2024-12-01 11:26:34 +01:00
Günter Obiltschnig
7d12dd8479 chore: updated vscode config 2024-12-01 10:11:20 +01:00
Günter Obiltschnig
24fba7b77c fix(NetSSL): Incorrect setting of ciphersuites for TLSv1.3 #4610 2024-12-01 10:10:06 +01:00
Günter Obiltschnig
2a1f6c246d
Merge pull request #4790 from nyashbox/fix/8bit_integers_in_byteorder_functions
Treat 8-bit integers correctly in Poco::ByteOrder functions
2024-12-01 08:15:38 +01:00
Günter Obiltschnig
3a1bfdd82c
Merge pull request #4792 from nyashbox/fix/zip_cmake_testrunner
Build Zip library tests without linking unnecessary "Poco::Net"
2024-12-01 08:09:05 +01:00
Günter Obiltschnig
250deee751
Merge pull request #4793 from nyashbox/fix/implement_zip_methods
Implement ZipArchiveInfo::getVersionMadeBy() and ZipArchiveInfo::getRequiredVersion() methods
2024-12-01 08:08:14 +01:00
Günter Obiltschnig
b7ea8597e4 fix(build): Poco::Zip - Requires Poco::Net for building, but only in CMake 2024-12-01 08:04:54 +01:00
nyashbox
3d7c030c1e
fix(Zip): implement ZipArchiveInfo64::getVersionMadeBy() and ZipArchiveInfo64::getRequiredVersion() methods 2024-12-01 00:39:58 +02:00
nyashbox
5649a47373
fix(Zip): don't link/find unnecessary components 2024-11-30 23:34:22 +02:00