* 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>
* 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>
Activity _running flag is now set to false when the activity finishes or throws, previously it was only set if wait had been called. Added test for this scenario
* fix(Data::ODBC): use connection and login timeouts in ODBC session implementation (#4366)
* fix(Data::ODBC): use only connection timeout in ODBC session implementation (#4366)
* fix(ODBC): consolidate login timeout; create temp directory if it doesn't exist #4366
---------
Co-authored-by: Alex Fabijanic <alex@pocoproject.org>
* fix(NamedEvent): Release semaphore ID in dtor when created with semget (#2971)
* Temporary: trying to solve for non-Linux semaphores.
* chore(NamedEvent): Cleanup of Posix NamedEvent and fixes of unit test.
* add RWLock implementation for file [posix]
* add implementation FileStreamRWLock for windows
replace FileStreamRWLock to the Process package
* add files FileStreamRWLock* into makefile and vcproj
* remove unnecessary file from makefile
* use absolute path to the TesApp with ProcessRunner
* fix vc*.proj
* add new test files into vc.proj.filters
* fix comments
* fix spelling fo PR #4723
add atomic_bool _locked and check if FileStreamRWLock is locked on
destruction for force unlock
* add atomic header
* File lock (#4740)
* throw error on any errno not only on EDEADLK
* fix function naming
* fix windows build
* fix windows build
---------
Co-authored-by: Alexander B <ale.bychuk@gmail.com>
Co-authored-by: bas524 <bas524@ya.ru>
* fix#4536
I've add transaction isolation support for SQLite
Warning! SQLite transactions are [serializable by design](https://
www.sqlite.org/isolation.html) but my implementation retuns false in
function hasTransactionIsolation and throw an exception in
setTransactionIsolation
* disable shared cache in TearDown()
* chore(doc): reword documentation
* we should waitresult of select before rollback (#4718)
---------
Co-authored-by: Alexander B <ale.bychuk@gmail.com>