Commit Graph

5958 Commits

Author SHA1 Message Date
Günter Obiltschnig
4892d97f51 fix(BinaryWriter): warning due to implicit cast 2024-04-03 07:12:03 +02:00
Günter Obiltschnig
a25cdac549 fix(Process): CloseHandle() on an null/invalid handle will throw an exception in the debugger 2024-04-03 07:09:37 +02:00
Günter Obiltschnig
e428c4b46c fix(ActiveRecord): Error between Poco::ActiveRecord and Poco::Data::PostgreSQL #4450 2024-04-03 07:01:34 +02:00
Aleksandar Fabijanic
0818febed3
3857 os tid (#4519)
* fix(Thread_POSIX): Thread_POSIX.cpp shouldn't convert thread IDs to long #3857;
FreeBSD build errors fixes

* chore(StreamTokenizerTest): fix warnings

* fix(build): FreeBSD config

* fix(ThreadTest): some tests checking nothing; temporatily comment FreeBSD threadStackSize test (segfaults on pthread_join)

* fix(Thread_POSIX): handle emscripten in currentOsTidImpl

* chore: fix emscripten define

* chore: fix some clang warnings; add sanitizer flag to FreeBSD linux compat build config
2024-04-02 23:36:06 +02:00
zhuzeitou
3496e47475
Optimize Net module for Android (#4517)
* epoll is available on Android

* <ifaddrs.h> is introduced in android-24
2024-04-02 19:03:41 +02:00
Aleksandar Fabijanic
ece360393f
4435 secure sock thread (#4512)
* fix(SecureSocket): Refactor detection of timeout when reading, writing or handshaking. (#3725)

* enh(SecureSocket): some trivial C++17 modernisation changes.

* chore: indentation and compiler warning

* fix(SecureSocketImpl): not thread-safe (1st attempt) #4435

* fix(SecureSocketImpl): silence CodeQL cpp/certificate-not-checked

---------

Co-authored-by: Matej Kenda <matejken@gmail.com>
2024-04-02 18:53:42 +02:00
Matej Kenda
8d3de8a5ed fix(SecureSocket): Reset does not close socket, it is closed in dtor. (#4415) 2024-03-29 19:09:28 +01:00
Matej Kenda
47a4db37e5 fix(CI): cmake: add simple client and server only when source files exist. 2024-03-29 15:34:17 +01:00
Alex Fabijanic
78c9dd1879 fix(CI): cmake can't find files 2024-03-29 08:54:28 -05:00
Günter Obiltschnig
8a00e2ce91 Merge branch 'devel' of github.com:pocoproject/poco into devel 2024-03-29 11:36:55 +01:00
Günter Obiltschnig
a4c7fc6d03 fix(Data/MySQL): preserve backwards-compatibility with pre 8.3 2024-03-29 11:36:42 +01:00
Matej Kenda
7efa7b7edc fix(NetSSL test): add missing includes. 2024-03-29 11:23:21 +01:00
Günter Obiltschnig
3d7fbbf314 fix(cmake): typo in CMakeLists.txt 2024-03-29 10:24:30 +01:00
Günter Obiltschnig
24cd658021 chore(Data/SQLite): Upgrade bundled SQLite to 3.45.2 #4515 2024-03-29 09:18:22 +01:00
Günter Obiltschnig
fa8dd55c8c fix(Data/MySQL): replace deprecated mysql_stmt_bind_param() with mysql_stmt_bind_named_param() 2024-03-29 08:26:38 +01:00
Andrew Auclair
47c4f073e6
Moving operator<< and operator>> overloads into the Poco::Net namespace. (#4491) 2024-03-28 19:43:14 +01:00
Andrew Auclair
aabe113c8e
CMake CACHE PATH (#4490)
Use CACHE PATH for CMAKE_LIBRARY_OUTPUT_DIRECTORY, CMAKE_ARCHIVE_OUTPUT_DIRECTORY and CMAKE_RUNTIME_OUTPUT_DIRECTORY.
2024-03-28 19:38:10 +01:00
Matej Kenda
6bff0307d3 test(WebSocket): simple ping/pong WebSocket client and server. (#2631) 2024-03-28 16:04:29 +01:00
Matej Kenda
482c066307
fix(SecureSocket): Refactor detection of timeout when reading, writing and handshaking (#4510)
* fix(SecureSocket): Refactor detection of timeout when reading, writing or handshaking. (#3725)

* enh(SecureSocket): some trivial C++17 modernisation changes.

* chore: indentation and compiler warning

---------

Co-authored-by: Alex Fabijanic <alex@pocoproject.org>
2024-03-27 00:29:58 +01:00
Günter Obiltschnig
5fec3deeb9 fix(Foundation): Poco::BasicMemoryStreamBuf is missing seekpos() #4492 2024-03-22 08:53:14 +01:00
Günter Obiltschnig
77eb14eebd fix(XML): Upgrade bundled libexpat to 2.6.2 #4496 2024-03-22 08:34:55 +01:00
Aleksandar Fabijanic
480f992aa4 fix(ODBC): Unicode wrappers do not check for null length pointers #4505 2024-03-21 14:03:23 -05:00
Matej Kenda
03c2fa3eea
Tune Linux ASLR when running sanitizer, use macOS 14 with some jobs (#4504)
* ci(github): Use newer macOS versions (latest and macos-14 on M1)

* Tune address space layout randomization when running thread/address sanitizer
2024-03-20 22:03:29 +01:00
Alex Fabijanic
e078dbb84e fix(URI): don't lowercase host part if it's a Unix domain socket #4468 2024-03-20 12:33:31 -05:00
Nicolau Leal Werneck
a5b3c84874
Documentation fixes on DatagramSocket.h and Socket.h (#4489)
* Update DatagramSocket.h

`connect cannot()` -> `connect() cannot`

* Update Socket.h

typo on `setReceiveTiemout`
2024-03-11 10:27:28 +01:00
Aleksandar Fabijanic
0c333cbe88
DateTimeFormat RFC1036 Sunday name is short (should be long) #4486 (#4487) 2024-03-11 10:26:51 +01:00
Günter Obiltschnig
072ee8ff9e enh(Poco::Util::Timer): Add idle() method to check if timer has any tasks scheduled #4488 2024-03-11 10:06:23 +08:00
Matej Kenda
bf164a85a4
LogFile uses FileOutputStream instead of custom platform implementations (#4431) (#4484) 2024-03-09 12:00:15 +01:00
Nino Belušić
562600aae3
chore(ci): bump action versions #4480 (#4481) 2024-03-05 16:31:56 +01:00
Günter Obiltschnig
4ab7194e75 chore(XML): #4477: Upgrade bundled libexpat to 2.6.1 2024-03-05 16:09:15 +01:00
Matej Kenda
c624b27878 fix(HostEntry): preserve order of addresses and aliases (fixes #3807) 2024-02-28 16:49:26 +01:00
Pavle Dragisic
8119259c89
Add copyStreamRange to StreamCopier (#4474)
* feat(Foundation): StreamCopier copyStreamRange #4413

* chore(ci): disable instalation of unused databases in odbc job

---------

Co-authored-by: Pavle <pavle@debian-gnu-linux-11.localdomain>
Co-authored-by: Alex Fabijanic <alex@pocoproject.org>
2024-02-28 12:23:42 +01:00
Aleksandar Fabijanic
6b3aab0624 chore(tcpclient): create sample 2024-02-27 12:16:10 +01:00
Aleksandar Fabijanic
3235068545 chore(tcpserver): regenerate vs170 project and add to solution 2024-02-27 11:55:38 +01:00
Matej Kenda
98b32b27ae Update CHANGELOG, CONTRIBUTORS, release notes 2024-02-19 22:29:48 +01:00
Günter Obiltschnig
37e17092ff chore: fix vs project files 2024-02-19 22:29:26 +01:00
Günter Obiltschnig
58b370bec0 chore(ProGen): remove support for VS versions < 160 2024-02-19 22:24:21 +01:00
Günter Obiltschnig
a772b26fae chore(ProGen): remove vs140 and vs150 support 2024-02-19 22:24:01 +01:00
Günter Obiltschnig
8f1a9d2588 fix(ProGen): vs160 templates 2024-02-19 22:23:44 +01:00
Aleksandar Fabijanic
56e340c0d8 Update CONTRIBUTORS 2024-02-19 17:58:35 +01:00
Günter Obiltschnig
009d91fe23 ci: packages-qa Windows cmake 2024-02-19 15:15:48 +01:00
Günter Obiltschnig
15f637a8ce ci: packages-qa Windows cmake 2024-02-19 15:15:48 +01:00
Günter Obiltschnig
c0fb438d92 ci: packages-qa Windows tests 2024-02-19 15:15:48 +01:00
Günter Obiltschnig
c2b41ef657 ci: packages-qa Windows tests 2024-02-19 15:15:48 +01:00
Günter Obiltschnig
369c0fc23d fix(Data): dependencies 2024-02-19 15:15:48 +01:00
Günter Obiltschnig
4b782b0958 chore(Data): add dependencies to DataTest 2024-02-19 15:15:48 +01:00
Aleksandar Fabijanic
a7020dc0e7 fix(DataTest): fix paths and regenerate VS projects 2024-02-19 15:15:48 +01:00
Alex Fabijanic
640600c147 fix(DataTest): move to Data directory 2024-02-19 15:15:48 +01:00
Günter Obiltschnig
3f1b1c8ee8 dependencies, DataTest 2024-02-19 15:15:48 +01:00
Günter Obiltschnig
ddfd4c10ee fix packages-qa.yml 2024-02-19 15:15:48 +01:00