Commit Graph

5679 Commits

Author SHA1 Message Date
Günter Obiltschnig
4624aa00bc fix: make headers parseable by CppParser/PocoDoc 2024-02-06 09:59:38 +01:00
Günter Obiltschnig
d3e37153c6 fix(CppParser): parsing of function template parameters and namespace imports 2024-02-06 09:58:30 +01:00
Günter Obiltschnig
98c14750d1 chore(doc): Changelog and release notes formatting 2024-02-05 21:09:08 +01:00
Günter Obiltschnig
8993d4beb3 feat(PocoDoc): C++11 attributes support 2024-02-05 21:05:30 +01:00
Günter Obiltschnig
163f9ed66e feat(CppParser): C++11 attributes support 2024-02-05 21:05:12 +01:00
Alex Fabijanic
f2accd3b0a fix(CppParser): Documentation generation (some minor fixes, WiP) #4441 2024-02-05 19:04:21 +01:00
Aleksandar Fabijanic
0f3e60f408
Update CONTRIBUTORS 2024-02-05 17:35:01 +01:00
Matej Kenda
cc9fe4c741 Release 1.13.1: Update release notes, changelog, contributors, version files. (#4440) 2024-02-05 13:44:09 +01:00
Aleksandar Fabijanic
a07ce79883 enh(SQLite): SQLite FTS5 #4367 2024-02-01 09:54:06 +01:00
Aleksandar Fabijanic
28e7278651 chore(buildwin): remove leftover closing curly 2024-01-31 16:46:32 +01:00
Aleksandar Fabijanic
9c5753d94d chore(buildwin): remove old vs versions from build and progen scripts; update documentation 2024-01-31 16:26:37 +01:00
Matej Kenda
b89bd8dbfb fix(LogFile): Unify flushing behaviour of WIN32 and STD implementation (#2443) 2024-01-31 14:38:31 +01:00
Matej Kenda
99906d5d7a fix(SSLManager): Fixed regression introduced in PR #4103, fixes #4421 2024-01-31 14:38:31 +01:00
Matej Kenda
47951f507e enh(tests): Ability to enable/disable testing of deprecated functionality. (#4425) 2024-01-30 21:59:01 +01:00
Matej Kenda
49497dfea0 enh(File): Linux, macOS: microsecond precision for file times (create and modification time). 2024-01-30 10:29:24 +01:00
Günter Obiltschnig
fbbe640885 enh: #3890: Get rid of SingletonHolder 2024-01-30 09:57:09 +01:00
Günter Obiltschnig
f83aea4596 enh: #4216: use std::string literals 2024-01-30 09:37:49 +01:00
Matej Kenda
24b6af2bd3 test(ThreadPool): unit test for thread pool shutdown when no worker is running. (#2450) 2024-01-29 14:09:52 +01:00
Andrew Auclair
727db08000 Implement GetAdaptersAddresses API (#4419)
* Upgrade from GetAdaptersInfo to GetAdaptersAddresses API. The code has been swapped back to a buffer of bytes because the data structure built by GetAdaptersAddresses is a linked list and the returned size is not a multiple of the IP_ADAPTERS_ADDRESSES struct.

* Adding back Poco/UnWindows.h

* Undoing indents.
2024-01-29 09:50:25 +01:00
Aleksandar Fabijanic
c2ee0ebd0d fix(progen): add LanguageStandard (stdcpp17, stdc11); regenerate vs170 projects 2024-01-28 22:52:29 +01:00
Aron Budea
fe08b68c2a fix: NULL pointer strategy when setting rotation never #4411
Regression from 66e93f98cc.
2024-01-24 15:35:42 +01:00
Aleksandar Fabijanic
6dcafc8989 fix(Thread_POSIX): qnx build error: 'prctl' was not declared in this scope #4404 2024-01-20 00:42:54 +01:00
Jesse Hoogervorst
696ddac0d8 Implemented automated network library initialization for Windows MinGW targets (#4402)
* Implemented automated network library initialization for Windows MinGW/GCC targets

* Using POCO_COMPILER_MINGW instead of __GNUC__

---------

Co-authored-by: Jesse Hoogervorst <jesse@deltaxlab.com>
2024-01-17 14:53:55 +01:00
Matej Kenda
b5745033a7 gcc/clang (-fvisibility=hidden): corrections to compile and work properly (#4394)
* fix(ActiveRecord): missing ActiveRecordLib_API definitions for clang/gcc.

* fix(FPEnvironment): export FPEnvironmentImpl classes (#4393, #3331)

* fix(Crypto): export *Impl classes used from inlines (#4393, #3331)

* fix(Dynamic): explicitly instantiate and export Dynamic::Struct for string and int (-fvisibility=hidden) (#4393, #3331)

* fix(JSON): explicitly instantiate and export SharedPtr for JSON::Array and JSON::Object (-fvisibility=hidden) (#4393, #3331)

* enh(CMake): Set symbol visibility to hidden (#4393, #3331)

* enh(configure): user c++17 standard for iphone, Darwin and ARM-Linux.

* fix(UTF): explicitly instantiate and export 16 and 32-bit strings (-fvisibility=hidden) (#4393, #3331)

* fix(RecordSet): make Extraction.h internal and instantiate RecordsSet::column template functions only for supported types. (-fvisibility=hidden) (#4393, #3331)

* fix(UTF): fix explicitly instantiation on Windows (-fvisibility=hidden) (#4393, #3331)

* enh(CMake): Add github jobs for macOS with visibility set to hidden (#4393, #3331)

* fix(CppParser): Add missing declarations for CppParser_API (#4393, #3331)

* enh(CMake): Enable more options in github jobs for macOS with visibility set to hidden (#4393, #3331)

* fix(MongoDB): Add missing MongoDB_API (#4393, #3331)
2024-01-17 14:27:06 +01:00
Aleksandar Fabijanic
8b29c360d9 fix(SocketReactorTest): deadlock test intermittently hangs #4400 2024-01-17 09:21:07 +01:00
Aleksandar Fabijanic
f13d492e0f chore(cmake): CppUnit Foundation dependency documentation; fix indentation 2024-01-16 10:42:54 +01:00
Matej Kenda
a3ffe6e2f5 fix(MailMessage): Compare lowercase content disposition headers when reading parts (#3650). 2024-01-16 08:05:00 +01:00
Aleksandar Fabijanic
a1b756b94e chore(SingleSocketPoller): spelling 2024-01-16 00:12:20 +01:00
Aleksandar Fabijanic
237f4cdf10 fix(DataTest): do not install #4398 2024-01-16 00:12:20 +01:00
Aleksandar Fabijanic
7b7505ca87 fix(CppUnit): do not install #4398 2024-01-16 00:12:20 +01:00
Matej Kenda
b606f7acd2 enh(DateTimeParser): option to cleanup input string before parsing (#569). 2024-01-15 08:30:03 +01:00
Matej Kenda
cb431353e9 mingw compile and link improvements (#4019) (#4391)
* fix(platform): MinGW Compile and link errors: undefined reference to `WinMain'

* fix(platform): MinGW compile UUID tests (conflicting UUID defined as GUID in rpcdce.h via windows.h)
2024-01-15 08:30:03 +01:00
Matej Kenda
b33e02d253 fix(test): Use 96-bit IV with aes-256-gcm to fix (#4347):
I/O error: error:1C800066:Provider routines::cipher operation failed
2024-01-07 17:18:47 +01:00
Matej Kenda
db63550ce9 fix(test): lock std:cerr to prevent data race in TCP server tests (reported by clang thread sanitizer) #4313 2024-01-07 17:18:47 +01:00
Matej Kenda
c84992e5e8 enh(ci): macOS sanitize jobs for undefined and address. 2024-01-07 17:18:47 +01:00
Matej Kenda
35075dae8c enh(ci): macOS thread sanitizer 2024-01-07 17:18:47 +01:00
Matej Kenda
446741666f enh(ci): Add macos sanitizers job (#4313) 2024-01-07 17:18:47 +01:00
Matej Kenda
5b9a405989 fix(Crypto): EVP_CIPHER_CTX_init is incorrectly defined in Envelope.cpp if it is not defined already by OpenSSL. Fixed to properly use EVP_CIPHER_CTX_reset. 2024-01-05 18:26:38 +01:00
Aleksandar Fabijanic
67c1a8a3bc fix(UUID): UUID parser silently ignores too long strings #4375 (#4384) 2024-01-05 12:59:50 +01:00
Matej Kenda
a9d098990e
Incorporated Debian patches (#4380)
* Debian: Use null as device file as console might not be there

* Debian: Add GNU Hurd support

* Debian: Includes not available on Hurd

* Debian: Disable SHA2 test on platforms where it's broken

* Debian: Set POCO_NO_FPENVIRONMENT for armel

---------

Co-authored-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
2024-01-04 20:34:13 +01:00
Günter Obiltschnig
678bf4cb16 doc(ReleaseNotes): fix formatting, add PR links 2023-12-26 12:52:48 +01:00
Alex Fabijanic
9c7cba6d6c backport leftover 1.12 changes 2023-12-22 20:22:33 +01:00
Aleksandar Fabijanic
bdf38b5bac
Release 1.13 misc (#4371)
* Add changes from 1.11.x and 1.12.x

* Updated changelogs and contributors.

* Update CONTRIBUTORS

* Update CHANGELOG

add SQLParser note

* Update 99100-ReleaseNotes.page

SQLParser note

---------

Co-authored-by: Matej Kenda <matejken@gmail.com>
2023-12-22 16:55:29 +01:00
Aleksandar Fabijanic
86084cb7b2
feat(Data::AbstractSessionImpl): add autoCommit property and tests #4261 (#4262)
* fix(Data::AbstracSessionImpl): protect autocommit feature handlers #4261

* chore(CI): re-enable mysql

* MySQL SessionImpl: make sure autocommit mode is on when session is openend or reset.

* PostgreSQL SessionImpl: reuse autocommit flag of AbstractSessionImpl.

* Github workflow: re-activated linux-gcc-make-postgres

* Fixed indentation in ci.yml

* Fix for DataTest SQLExecutor: use connector

* Data::Session: when parser is not used and autocommit mode is off, assume any SQL statement begins a transaction.

* PostgreSQL: don't use SQL parser (it currently cannot handle placeholders).

* PostgreSQL: added test sessionTransactionNoAutoCommit

* PostgreSQL test suite: removed reference to generic SQLExecutor

* PostgreSQL: fixes for sessionTransactionNoAutoCommit.

* MySQL: added test sessionPoolAndUnicode (from #2801)

* Fixed #define in sql-parser

* Data generic testsuite: support numbered placeholders

* PostgreSQL test suite: added missing include directory to Makefile.

* Attempt to fix PostgreSQL Makefiles

* PostgreSQL testsuite: added include path to Makefile

* PostgreSQL testsuite: added PocoDataTest library to Makefile

* DataTest SQLExecutor::formatSQL: don't use string_view

* PostgreSQL test suite: delegated most tests to Poco::Data::Test

* Makefile: added dependencies on Data-Tests

* Weaken assumptions about async in generic transaction tests

* Makefile: added dependency for Prometheus samples

* Fix deadlock in DataTest SQLExecutor

* PostgreSQL tests SQLExecutor: cleanup

* feat(Data::AbstractSessionImpl): add autoCommit property and tests #4261

* Brought MySQL backend in line with _autoCommit flag of AbstractSessionImpl.

---------

Co-authored-by: Friedrich Wilckens <frwilckens@gmail.com>
Co-authored-by: Friedrich Wilckens <friedrich.wilckens@ingramcontent.com>
2023-12-22 09:27:34 +01:00
Kari Argillander
80cde9e3e6 Use vs160 & vs170 in rebuild all scripts
I'm not actually sure how much these scripts are even used but let's
just update these as well to support 160 and 170.
2023-12-18 17:26:13 +01:00
Kari Argillander
4e352c8dbd Add old Visual Studio files to gitignore
As it is plan to continue support generating old Visual Studio files a
little wile it makes sense to ignore these files so they are not anymore
popping peoples eyes if they use those.
2023-12-18 17:26:13 +01:00
Kari Argillander
d1d557a4f7 Remove vs140 and vs150 project files
As we now only support C++17 these does not make much sense to keep.
2023-12-18 17:26:13 +01:00
Kari Argillander
bf3c519183
Fix some issues found with clang-tidy (#4353)
* directoryiterator: Fix missing inline

Add missing inline to inline function.

This was found with clang-tidy check:  misc-definitions-in-headers

* Convert deprecated throw() to noexcept

throw() has been deprecated in standar in C++17. It has been removed in
C++20. Code still compiles but let's just define these at those should
be.

These where found with clang-tidy check: modernize-use-noexcept

* Fix unnecessary copy initializations

Clang-tidy did find these with check:

  performance-unnecessary-copy-initialization

* Fix some strings not references

Looks like these are just missing reference marks.

---------

Co-authored-by: Kari Argillander <kari.argillander@fidelix.com>
2023-12-17 16:55:30 +01:00
Matej Kenda
111fe90dd9
enh(NumberFormatter): Introduce backward compatible options for formatHex functions (#4333)
* enh(NumberFormatter): Introduce backward compatible options for formatHex functions.

* enh(NumberFormatter): Corrections and improvements suggested in code review.

* fix(ci): disable testEncryptDecryptGCM on macOS which often fails.

* enh(NumberFormatter): Improved naming.
2023-12-15 18:30:55 +01:00
Alexander B
a464a4eabf
fic(ci): Properly include openssl 1.1 on macOS (#4345)
* set opessl@1.1 path for macos build

* fix command-line problem
2023-12-15 16:00:26 +01:00