Commit Graph

5935 Commits

Author SHA1 Message Date
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
Günter Obiltschnig
d8a423c832
Merge pull request #4787 from pocoproject/fix-ssl-shutdown
NetSSL_OpenSSL and NetSSL_Win: non-blocking support, shutdown behavior fix
2024-11-29 08:45:17 +01:00
Matej Kenda
0f71e6c9e9
Version 1.14: Updated release files (#4747)
* Version 1.14: Updated list of contributors

* chore(doc): Update required CMake version.

* chore(changelog): Updates for release 1.14.0

---------

Co-authored-by: Günter Obiltschnig <guenter.obiltschnig@appinf.com>
2024-11-28 15:11:42 +01:00
Matej Kenda
fc8a4fd702 upgrade(sqlite): bundled SQLite version 3.47.1 (released 2024-11-25) 2024-11-28 13:17:20 +01:00
Günter Obiltschnig
0930a0db3b fix(CppUnit): TestCase::run(): check if callback is non-empty before calling it 2024-11-28 08:39:23 +01:00
Günter Obiltschnig
e732c50f96 enh: added Poco::ResourceLimitException 2024-11-28 08:32:22 +01:00
Günter Obiltschnig
e83119b115 Merge branch 'fix-ssl-shutdown' of github.com:pocoproject/poco into fix-ssl-shutdown 2024-11-28 08:20:31 +01:00
Günter Obiltschnig
663232b8b8 chore(NetSSL_Win): rewrite handshake logic to support non-blocking sockets 2024-11-28 08:19:46 +01:00
Günter Obiltschnig
0eb2e1b3b3 fix(NetSSL): handle EWOULDBLOCK when calling SSL_shutdown() 2024-11-28 08:19:45 +01:00
Günter Obiltschnig
28a08434c6 chore(NetSSL_Win): use state machine also for blocking connections; fix non-blocking renegotiation 2024-11-28 08:19:45 +01:00
Günter Obiltschnig
0bf3c15655 chore(NetSSL_Win): remove select() calls from state machine 2024-11-28 08:19:45 +01:00
Günter Obiltschnig
f1bb63a1f2 chore(NetSSL_Win): refactored state machine (wip) 2024-11-28 08:19:45 +01:00
Günter Obiltschnig
5402032249 fix(NetSSL_Win): shutdown behavior 2024-11-28 08:19:45 +01:00
Günter Obiltschnig
1811f2f35c fix(NetSSL): shutdown behavior 2024-11-28 08:19:45 +01:00
Günter Obiltschnig
44ffffb6f7 chore(NetSSL_Win): rewrite handshake logic to support non-blocking sockets 2024-11-26 19:20:03 +01:00
Matej Kenda
29b2c3a7b7
chore(MongoDB): Mark some old wire protocol functions as deprecated. (#4782) 2024-11-25 14:27:46 +01:00
Günter Obiltschnig
bc6ca8603e fix(NetSSL): handle EWOULDBLOCK when calling SSL_shutdown() 2024-11-24 21:04:37 +01:00
Günter Obiltschnig
34852d1c62 chore(NetSSL_Win): use state machine also for blocking connections; fix non-blocking renegotiation 2024-11-24 16:59:40 +01:00
Günter Obiltschnig
3c1c92ce50 chore(NetSSL_Win): remove select() calls from state machine 2024-11-24 16:22:57 +01:00
Günter Obiltschnig
a48633b567 chore(NetSSL_Win): refactored state machine (wip) 2024-11-24 15:22:17 +01:00
Günter Obiltschnig
e911884753 fix(NetSSL_Win): shutdown behavior 2024-11-23 15:38:13 +01:00
Günter Obiltschnig
25ce194273 fix(NetSSL): shutdown behavior 2024-11-23 11:10:53 +01:00
Günter Obiltschnig
cecccf7b74 enh(Foundation): add Poco::Process::timesMicroseconds() 2024-11-21 08:50:49 +01:00
Aleksandar Fabijanic
21f93e3e6a
enh(ODBC): ODBC: DataFormatException getting Time value from SQL Server #3801 (#4777) 2024-11-20 16:22:53 +01:00
Matej Kenda
1215b217b5 chore(version): Update version numbers for release 1.14.0 2024-11-20 13:36:36 +01:00
Matej Kenda
76ea8c74c8 enh(C++17): Net: Modernisation of socket class declarations. 2024-11-19 21:45:40 +01:00
Matej Kenda
efb0745efc enh(SocketReactor): Introduce protected accessors to private members to be used in derived classes. 2024-11-19 21:45:40 +01:00
Milan Tepic
64d8777a0e feat(WindowsBuild): customizable path to include for pocoNetworkInitializer #4769 2024-11-19 16:40:51 +01:00
Matej Kenda
52959b91da
DB logger sample (#4759)
* sample(DBLogger): New sample to demonstrate DB logging to a file. (#4750)

* sample(DBLogger): Create messages via SQL logger in a thread (#4750)

* sample(DBLogger): Save messages from SQL files to an SQL database (works with SQLite) (#4750)

* chore(Makefile): Data samples depend on PocoUtil (#4750)

* sample(DBLogger): Refactored DBLogger with std::filesystem::directory_iterator and std::thread.

* sample(DBLogger): Add missing include <condition_variable>

* sample(DBLogger): Extracted log scanning and inserting functionality to class SQLLogInserter.

* sample(DBLogger): Create new logging table only when using demo messages option.

* feat(DBLogger): VS projects

* sample(DBLogger): Acquire options from configuration file.

* feat(DBLogger): regenerate VS projects (progen file change)

* sample(DBLogger): Add example DBLogger.properties file.

* sample(DBLogger): Process as much as possible when stopping processing.

* sample(DBLogger): Meaningful defaults in properties file.

* sample(DBLogger): Verify validity of database session on startup.

* sample(DBLogger): Configure demo SQL channel in properties file.

* chore(DBLogger): style and warnings

---------

Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
Co-authored-by: Alex Fabijanic <alex@pocoproject.org>
2024-11-18 17:06:20 +01:00
Günter Obiltschnig
2815ea45a9 enh(Net): add PollSet::size(); mark PollSet::count() as deprecated 2024-11-17 22:16:52 +01:00
Günter Obiltschnig
c386bba27c
Merge pull request #4774 from pocoproject/feat/nonblocking
Non-blocking sockets support (TLS, WebSocket)
2024-11-16 23:26:10 +01:00
Günter Obiltschnig
ea4b07a77d fix(tests): CodeQL issues 2024-11-16 21:54:16 +01:00
Günter Obiltschnig
a106ebd1f1 fix(tests): CodeQL warnings 2024-11-16 20:06:59 +01:00
Günter Obiltschnig
c95ac60a6e fix: data race in test 2024-11-16 20:00:48 +01:00
Günter Obiltschnig
163509eb57 fix(WebSocket): re-add assignment operators 2024-11-16 18:56:03 +01:00
Günter Obiltschnig
63b4bfd8ba chore(WebSocket): docs 2024-11-16 18:42:38 +01:00
Günter Obiltschnig
6b2a8abd96 chore: fix tests 2024-11-16 18:05:10 +01:00
Günter Obiltschnig
a4159b1723 chore(NetSSL): msvc project files 2024-11-16 17:23:44 +01:00
Günter Obiltschnig
7780f379ea fix(NetSSL_Win): Non-blocking sockets support #4773 2024-11-16 16:50:52 +01:00
Günter Obiltschnig
bf09be3f33 fix(NetSSL): Non-blocking sockets support #4773 2024-11-16 16:50:38 +01:00
Günter Obiltschnig
cedd086362 feat(Net): Non-blocking WebSocket #4773 2024-11-16 16:49:50 +01:00
Günter Obiltschnig
5d69308bfd fix(Net): Non-blocking sockets support #4773 2024-11-16 16:48:48 +01:00
Matej Kenda
cb91880bfb fix(cmake): properly define POCO_DLL and POCO_STATIC based on BUILD_SHARED_LIBS. 2024-11-14 08:14:08 +01:00
Alex Fabijanic
db9ba69f7d fix(Data): warning: 'isNull' overrides a member function but is not marked 'override' #4768 2024-11-13 18:35:00 -06:00
Matej Kenda
fe27933a12
update(expat): version 2.6.4 (#4760) (#4767) 2024-11-13 18:59:32 +01:00
Aleksandar Fabijanic
c4f66d5188
fix(OpenSSL) Openssl DH key size (#4753)
* Fixed incorrect SSL_CTX_set0_tmp_dh_pkey() usage

* fix(OpenSSL): use DH group enum

* fix(IPAddress): windows scoped test, part II #4644

* fix(OpenSSL): fuzz errors #4663

* chore: remove misplaced comment

---------

Co-authored-by: Peter Klotz <peter.klotz99@gmail.com>
2024-11-11 19:01:00 +01:00
Aleksandar Fabijanic
9530a77347
Insert NULL using BULK #4001 (#4755)
* fix(ODBC): Insert NULL using BULK #4001
resolve bound types and sizes at compile time

* fix: remove string suffix for static_assert

* Insert NULL using BULK #4001

* fix: typo

* fix(SQLite): missing functions; consolidate extract calls

* chore(SQLite): remove unnecessary typedef

* fix(SQLite): remove duplicate functions

* fix(SQLite): compile errors and warnings

* fix(SQLite): extract implementation signatures

* fix(SQLite): long64 platforms compile errors

* fix(SQLite): long64 platforms compile errors, part ii

* fix(ODBC): windows build

* fix(ODBC): MSSQL big string on windows

* fix(Data): psql and mysql compile errors

* fix(PostgreSQL): add missing functions

* fix(ODBC): revert column size discovery (breaks Oracle)

* fix(PostgreSQL): Nullable extraction #4001

* fix(MySQL): Nullable extraction #4001

* chore(Data): code tidy up

* fix(ODBC): add missing changes
2024-11-11 18:23:21 +01:00
Lara Dzivdzanovic
fe9c13102d
feat(PocoDoc): search support (#4494)
* feat(PocoDoc): search support

* feat(PocoDoc): enable FTS5 for search support

* feat(PocoDoc): enable FTS5

* chore(pocodoc): edit comment

* fix(StreamCopier): add argument to seekg

* enable searchIndex through the command line

* Add minor updates for search support

* Update of vs90 and regeneration of vs160 and vs170 projects

* Enhance configure script:FTS5 support for SQLite in --sqlite-fts flag

* Add tests for FTS3 and FTS5

* regeneration of vs160 and vs170 projects

* added missing lib data in CMake

* Update vs90 project and regenerate vs160 and vs170 projects with added Data include paths

* Revrting ProGen_vs170.vcxproj

* Revert ProGen in vs170 and regenerate PocoDoc vs160/vs170 projects to include updated Data path

* added missing includes

---------

Co-authored-by: Lara <lara@debian-gnu-linux-12.localdomain>
2024-11-11 16:53:05 +01:00