1
0
mirror of https://github.com/pocoproject/poco.git synced 2025-03-01 20:02:12 +01:00

279 Commits

Author SHA1 Message Date
Matej Kenda
54f0feb282 fix(ci): Partially revert "add sendfile method for streamsocket ()"
This reverts commit 24b7122f432631458719ef757c79f198f3c705a8.
2023-12-12 22:13:00 +01:00
Alexander B
24b7122f43
add sendfile method for streamsocket ()
* add sendfile method for streamsocket

* add mswsock.lib to the project files and templates

* remove /DPOCO_NO_AUTOMATIC_LIBS for cmake windows build

* merge from upstream

* merge from upstream

* fix code stile
add NotImplemented exception for unsupported platforms
exculude <sys/sendfile.h> for POCO_EMSCRIPTEN, because https://
github.com/emscripten-core/emscripten/pull/16234

* add iostream include for std::cout

* fix compilation for emscripten (wrap sendfile)
2023-12-11 10:47:03 +01:00
Aleksandar Fabijanic
10ad89594a
Win build fix ()
* fix(SQLParser): use Data_API if available

* fix(ProGen): wrong AdditionalOptions separator 

* fix(SQLParser): add default export define when embedded
2023-11-11 11:08:18 +01:00
Aleksandar Fabijanic
f4ae6f66a6 fix(build): SQLite VS2019 projects 2023-11-10 10:54:56 +01:00
Aleksandar Fabijanic
90f64af087 fix(build): update buildwin.ps1 script for ARM64; regenerate Data dependent VS2022 projects 2023-11-06 12:32:17 +01:00
Alex Fabijanic
81d7307fa7 fix(Data):
adjust make and CMake for SQLParser and DataTest lib
separate samples from tests in CMake
remove unused StatementImpl from Data testsuite
2023-11-04 23:11:38 +01:00
Alex Fabijanic
6dad8502d3 fix(Data):
* make bool Session::isTransaction() return Poco::Optional
* move parsing to Statement
* SQLParser make build
* other fixes and improvemets 
2023-11-01 00:25:46 +01:00
Aleksandar Fabijanic
5131fe1c15
fix(Poco::Data): fixes and improvements ()
* fix(Poco::Data): fixes and improvements 

* chore: remove inadvertently commited garbage file

* fix(SQLite): SQLChannel tests 

* fix(Data::SessionPool): Improve Data::SessionPool thread safety 
2023-10-22 12:53:54 +02:00
Günter Obiltschnig
c209148ba7 : Upgrade bundled sqlite to 3.43.1 2023-09-30 12:27:20 +02:00
Alex Fabijanic
9a734674ed fix(Data::Binder: Skip reset for null Binder 2023-08-15 21:23:54 +02:00
Aleksandar Fabijanic
b90316f949 add test for 2023-08-15 18:29:59 +02:00
Günter Obiltschnig
15c6631352 : Upgrade bundled SQLite to 3.42 2023-07-10 21:28:24 +02:00
Günter Obiltschnig
1ea6eea406 : Upgrade bundled SQLite to 3.39.4 2022-10-24 09:30:01 +02:00
John Vandenberg
0e6e16645c
Remove trailing whitespace () 2022-07-07 04:18:20 -05:00
Alex Fabijanic
4b4be21816 fix(SQLite): SQLite::Connector::open() crashes on db file with non existing directory 2022-06-21 19:07:19 +02:00
Alex Fabijanic
d93a1885a1 fix(SQLite): windows build (global var does not link) 2022-05-29 23:36:07 -05:00
Alex Fabijanic
e25a8b3ec7 chore(SQLite): fix enum names case for 2022-05-29 22:18:38 -05:00
Maksim Kita
5c29df0860
Added support for SQLite transaction types using Session property () 2022-05-29 22:06:48 -05:00
Hernan Martinez
fcaab80a65
ProGen vs170 projects with Win32,x64,ARM64 () 2022-05-27 21:58:46 -05:00
Günter Obiltschnig
fd75336a98 upgrade bundled sqlite to 3.38.5; fixed a warning in SQLiteTest.cpp 2022-05-17 13:46:27 +02:00
Aleksandar Fabijanic
7852153db5
Devel ()
* Enable unit test in cmake build

* add BLOB SQLite test

* accept notifications by name (if they have one)

* catch std::exception on parsing

* fix a leak, add some table features

* few PostgreSQL fixes

* GH : WebSocket docs

* Rename pcre internal symbols used by Poco to avoid symbol collision
https://github.com/pocoproject/poco/issues/2916
This patch was backported from https://github.com/pld-linux/poco/blob/master/pcre.patch

* Fix warning in clang

* Fix MSVC clang build fail

* Zip and SevenZip do not depend on Util, XML, JSON

* Added Test and new Pattern 'O' to only log the Filename not the full Path.

* Updated Comment

* Configuration to receive OCSP stapling response for client connections and  callback implementation to verify the response if the server returns any response

* removed SDK version from project files

* run Application::initialize() in try-catch block

* fix Invalid condition [ICMPv4PacketImpl.cpp:234] 

* style fixes for ; check OpenSSL version

* Fixed issue 2945 ()

* Fixed 

* Added unit tests for 

* Dissalow iterator on empty Var ()

* Updated unit tests for 

* More concise unit tests for 

* Removed some more clutter ()

* NetSSL_Win: fix potential endless loop due to wrong error handling

* fixed GH : Poco::Data::TypeHandler<Poco::Nullable<T>>::prepare() must prepare with underlying type, not Poco::Data::Keywords::null

* Fixed linking with Data ODBC error on some platforms

* Fix set padding call for new versions of OpenSSL

* PatternFormatter priorityNames fix

* PKCS12Container: fix memory leaks on exceptions

* Fix constness of URI::getPathSegments

* Fix typo in the ThreadPool's docs

* cmake: use GNUInstallDirs

* Changed EventHandlerMap key ()

* Changed EventHandlerMap key

Changed EventHandlerMap key from Socket to poco_socket_t to avoid errors in removing/access EventHandlerMap when for example we make an SSL handshake

* Changed EventHandlerMap key

Changed EventHandlerMap key from Socket to poco_socket_t to avoid errors in removing/access EventHandlerMap when for example we make an SSL handshake

* avoid too much call to sockfd() and impl()

* Fix configuration error while cross compiling ()

During the configuration phase in a cross compilation scenario,
`include(InstallRequiredSystemLibraries)` fails even if
`MSVC_REDIST_DIR` is provided.

This should not be an hard error, in case someone wants to
compile/use the library, and not package it.

As explained on https://reviews.llvm.org/D41220, the most sensible fix
is to include `InstallRequiredSystemLibraries` only on a Windows host.

* crash when remove key from JSON::Object(JSON_PRESERVE_KEY_ORDER). ()

* : Poco::Data::ODBC [N]VARCHAR(MAX) wrong maxDataSize() result

* [SharedPtr] Poco::makeSharedArray 

* : JWT: ESxxx signature must include padding for ECDSA R and S values

* feat(HashRange): port HashRange from boost

* chore(cmake): spelling typo fix

* fix(hashRange): change function names casing

* merge changes from 1.10.2

* formatting

* merge JSON formatting changes from 1.10.2

* added Application::windowSize()

* RemoteSyslogChannel/RemoteSyslogListener: make UDP buffer size configurable

* merge fix from 1.10.2

* merge Postgres fixes from 1.10.2

* : The Sec-WebSocket-Key of WebSocket is always the same one

* formatting

* 

* remove HowToGetHelp page due to outdated information

* formatting

* : Upgrade PCRE to 8.44

* : Use POCO_IOS_INIT_HACK for Linux in combination with libc++

* : Digest proxy authentication does not work in 1.10.1

* : Fixed null character issue when parsing a JSON

* : Added JSON Array::empty() method

* : ECDSADigestEngine: include missing header

* fix include order

* include order

* fix(PollSet):  

* chore(UDPServer): fix spelling

* feat(SocketReactor): extract and expose poll() as a member function

* feat(Endpoint): add Endpoint (socket address directly wrapping native structures)

* fix(Endpoint): osx build, align family enum with patform, some other adjustments

* fix(EndpointTest): add missing include

* feat(Endpoint): add some low-level accessors

* feat(IPAddress): add functions returning addres as raw bytes

* feat(DatagramSocket): DatagramSocket does not allow IPV6_V6ONLY 

* feat(SocketReactor): Add completion handling to SocketReactor 

* feat(SocketReactor): Add completion handling to SocketReactor  (add scheduled handlers and runOne())

* chore(Net-testsuite): fix some tests warnings

* feat: move semantics for sockets and addresses

* fix(NetworkInterface): Unterminated string possible in NetworkInterfaceImpl::setPhyParams() 

* feat(Net): Add move semantics to Net (sockets and addresses) 

* fix(HostEntry): DNS HostEntry returns multiple entries 

* fix(SocketReactor): completion handling fixes and tests, separation of i/o and completion mutexes

* feat(SocketReactor): execute permanent completion handlers on when there are I/O handlers and the expired ones whenever they expire

* feat(Socket): expose lastError()

* fix(SocketReactor): windows compile

* windows fixes, remove Endnpoint

* feat(Socket): expose error()

* feat(PollSet): Use select() on windows for PollSet 

* add ci.yml

* fix compile errors

* revert(SocketReactor): back to devel branch

* feat(SocketProactor): initial version w/ completion handler and executor

* chore(SocketProactor): Sockets package

* chore(ci): add dir and run script

* feat(SocketProactor): add socket error handling 

* modify(SocketProactor): wait for completion handlers availability 

* feat(PollSet): Make PollSet::poll() interruptible 

* modify(SocketProactor): make addSend() public 

* modify(SocketProactor): platform non-interrupt sleep without Poco thread 

* modify(SocketProactor): allow restart 

* fix(SocketProactor): windows fixes and VS build

* fix(SocketProactor): race when stop() is called before run()

* fix(Socket): Windows SO_REUSEADDR is neither reliable nor safe 

* fix(SocketProactor): rvalue refs should not be const

* fix(DNS): DNS::hostByAddress not thread-safe 

* chore(SocketProactor): remove unnecessary this capture

* fix(IPAddress): IPAddress::tryParse does not work for :: 

* fix(SoccketProactor): add some try/catch safety nets; broaden the work list mutex coverage to protect all function access

* fix(SocketProactor): use Poco::Mutex only

* fix(SocketProactor): scheduled work skipped in the absence of socket events

* fix(SocketProactor): test

* chore (SocketProactor): add some state members

* Fix clang linker problem by defining POCO_NO_AUTOMATIC_LIBS ()

* Dev/devel 1.12.0 ()

* fix(PollSet):  

* bump version to 1.11.0

* updated changelog|

* : NetSSL: Allow per-Context InvalidCertificateHandler

* : Process::isRunning(PID pid) causes handle leak on Windows

* : fix for WinCE

* upgrade bundled pdjson to latest master

* update build configs - add support for Apple Silicon

* , : Support environments without hardware floating point

* : fix error handling: report original error before close()

* : remove unused variable

* : SMTPClientSession: invalid SMTP command if empty recipients list in MailMessage

* Poco::trim*() code cleanup - use ptrdiff_t instead of int; additional test cases

*  Poco::Process:launch on MacOS BigSur: limit maximum number of file descriptors to close before exec() to 100000

* : Fixing no hardware floating point support - Part II

* : Do not initialize value with undefined behavior

* : Correct Var::parse null value

* : std::forward for Poco::Optional ctor with rvalue

* : Documented ENABLE_JWT option

* : PostgreSQL and TEXT column type

* : Fixed Postgres extraction into Dynamic::Var

* : Add support of arch riscv32

* : riscv: Enable double operations when using double float abi

* : Fix PostgresSQL BLOB extractor

* : An error in the documentation for Poco/JSON/Parser.h

* : ServerApplication::registerService() unquoted path security vulnerability

* : Order of Util::Application::uninitialize() is not in reverse as documented

* : XML parser returns item from different element in a array

* : Update constant in setContentType documentation

* : HTTPSessionFactory does not support HTTPClientSession::ProxyConfig

* : SecureServerSocket doesn't work with IpV6

* fix warnings

* : ObjectPool wait on borrow condition fix

* : Remove SSL23 support from Poco/Crypto

* : Fixing a bug in the NetSSL_Win module (Host name verification failed error)

* disallow SSLv3

* : Poco::Net::Context initialization with empty certificateFile

* : Poco::Crypto::X509Certificate: obtain certificate fingerprint

* : Memory leak in EVPPKey::loadKey used with files & wrong password

* : fix(openssl): add missing dependency to OpenSSL components

* : CMake warning about MYSQL casing

* : Poco::Data::SQLite::Utility::fileToMemory unsuccessful if journal exists

* : CMake: warning message with -DPOCO_STATIC confusing

* : Fix localtime_r for VxWorks 6.9 and later

* , : Fix race condition on TCPServerDispatcher stop

* : add more detailed error description when LoadLibrary fails|

* : Fix sessions may not return back to the pool

* : optimize parsing from stream (no copying of entire JSON to memory); limit maximum depth to avoid stack overflow with malicious documents (fuzzing - ); code cleanup

* JSON Parser performance improvements

* : Upgrade bundled SQLite to 3.35.5

* fix UB/bad cast in TCPServerTest.cpp

* add comment regarding potential UB in AnyTest::testCastToReference()

* support sanitizers in build configs

* bump version

* fix 'catching polymorphic type by value' warnings

* fix 'catching polymorphic type by value' warnings

* fix 'catching polymorphic type by value' warnings

* remove failing Android build; add sanitizer builds

* update postgres version

* fix warning

* fix warning

* add GitHub workflow

* fix ci.yml

* fix ci.yml

* additional ci builds

* fix ci.yml for macos and windows

* fix(double-conversion): Upgrade bundled double-conversion 

* ci fixes

* : NetSSL_OpenSSL: any.pem certificate error: ca md too weak

* testReuseSession: remove bad checks for session reuse

* investigate failing test

* investigate failing test

* investigate failing test

* investigate failing test

* ci

* remove travis and appveyor

* ci, readme

* ci fixes

* fix ci

* fix ci

* fix ci

* fix memory leak when ignoring test error/failure

* fix ci

* don't define UNREACHABLE as poco_bugcheck as it triggers 'control reaches end of non-void function' warning

* add Linux cross build, build Data libs on macos

* fix ci

* add MySQL include/lib search paths for Homebrew

* ci fixes

* ci fixes

* ci fixes

* ci fixes

* fix indluce paths for brew mysql

* : Data::MySQL MySQL headers and library search paths

* fix ARM-Linux build config

* fix MySQL.make

* update FindMySQL.cmake

* fix(SocketReactor): fix dataCollection test

* chore: remove troubleshooting help leftovers

* : MSVC: Poco hides warnings (C4996) for the C++14 attribute [[deprecated]]

* fix potential crash in testAsyncNotify: don't delete event object while async notification is still in progress

* fix(PollSetTest): change connect to blocking

* added ActiveRecord library and compiler

* added dependencies file

* update copyright dates

* ActiveRecord: project files and fixes for MSVC

* ci: enable ActiveRecord on Windows

* fix(PollSetTest): remove poll timing check (fails on msvc ci)

* fix ActiveRecord CMake build and configuration

* feat(build): add gen directory (for generated sources) and macchina lib link dirs (if needed)

* : Data: Support Poco::UUID for data binding

* ODBC tests for UUID, updated ActiveRecord projects

* ActiveRecord user guide

* update ActiveRecord documentation

* documentation fixes

* : manually merge ODBC text encoding support

* CppParser: merge changes from internal repository

* updated Makefile

* AbstractObserver::accepts() - add optional name parameter

* fix SharedPtr::makeSharedArray() [merge from devel]

* remove blank line

* , : support OCSP stapling

* style

* clang support (merge from devel)

* : remove useless struct

* link libmariadb instead of libmysql if headers indicate MariaDB

* fix nullptr passed to memcmp/memcpy reported by ubsan

* fix nullptr passed to memcmp/memcpy reported by ubsan

* fix PageCompiler cross-compile; fix Content-Security-Policy header

* remove Data release notes page

* style, remove unused var

* update docs

* improve BLOB handling, clean-up code

* fix(ICMPv4Packet): [asan] Undefined behavior in ICMPv4PacketImpl.cpp 

* fix(NumericString): Bug in NumericString with decSep != '.' 

* fix(HostEntry): DNS HostEntry returns multiple entries 

* fix(PollSet):  

* fix(NetworkInterface): Unterminated string possible in NetworkInterfaceImpl::setPhyParams() 

* style/whitespace

* fix warnings

* add version resources to executables

* style

* whitespace

* update changelog

* cpproj: also copy testsuite/include if it's there

* branch off 1.11.1

* : XML error when build 1.11.0

* : add POCO_NO_FORK_EXEC CMake option

* : DNS::hostByAddress not thread-safe

* : fix std::localtime not thread safe

* : Crash reported on Windows in X509Certificate verification

* : [bug] MacOS bundle destination path is not set

* : Add POCO_PGSQL_{INCLUDE,LIB} variables

* : Fixed compilation error with MongoDB::Connection and Util::Application

* : Correct Poco::Path::configHome() and dataHome() documentation for Windows

* : error: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648

* : Fixed suspend/resumeEvents pair in DirectoryWatcher

* : SocketReactor loads one core of CPU up to 100%

* : Poco::Data::ODBC::ODBCStatementImpl causes crash

* use OpenSSL 1.1.1 on macOS

* add missing include search path

* upgrade bundled PCRE to 8.45

* upgrade bundled SQLite to 3.36.0

* updated changelog

* fix brew OpenSSL version

* branch off poco-1.11.2

* : Upgrade bundled expat to 2.4.4

* manually merge , part 1 (Crypto)

* manually merge , part 1 (NetSSL)

* : NetSSL_OpenSSL Testsuite: testInterop() and testProxy() fail due to changed certificate

* : fix version check

* : NetSSL_Win: bad error handling when decodeMessage() fails

* : encryptString() crash on redhat/centos 8 with FIPS enabled using md5 default digest

* : JSON::PrintHandler.value(bool) prints incorrect value

* : Upgrade bundled expat to 2.4.5

* : bug in JSON ParseHandler.cpp (RFC 7159 should be valid)

* : Reference counting for bound configuration in Util::Option is broken

* : Expat version check in #defines incorrect

* : NamedMutex does not work on Linux distributions where fs.protected_regular=1

* CI: don't build PageCompiler in ARM cross build

* detect ARM64 on Windows

* updated README.md

* ProGen: support generation of VS 2022 project files

* ci: add windows 2022

* fix library name

* remove unused CppUnit headers

* added VS2022 project files

* : Upgrade bundled expat to 2.4.6

* : Upgrade bundled expat to 2.4.7

* Add back NIOS2 double conversion detection to fix compile errors

The commit
558324f672

removed the nios2 support, which was originally added in
e7b91e8125

This commit add it back.

Signed-off-by: Julien Olivain <ju.o@free.fr>

* : DefinePlatformSpecific.cmake: handle RelWithDebInfo and MinSizeRel configurations

* : remove XML and Util dependencies in Zip/SevenZip

* : Adds Windows 11 and Server 2022 to Environment::osDisplayName()

* : Array::operator[] should not throw

* : Poco redis command set have a bug when you want to set nx ex or expireTime

* : fix dst and utcOffset handling for Dublin time zone

* : another attempt at fixing it that should also work on other platforms

* remove unused method in Timezone_WIN32.cpp

* use tm_gmtoff on Linux

* Basic support for OpenSSL 3.0.0 ()

* updated README.md

* Create close-inactive-issues.yml

* check return codes of EVP_CIPHER_CTX_new and EVP_CipherInit

Especially with OpenSSL 3, it is possible that EVP_CipherInit may fail even when
passed a non-null cipher[1]. Without the checking, it will finally get to a
segfault.

[1] https://github.com/openssl/openssl/issues/16864

* Automatically load default and legacy providers with OpenSSL 3

Without the legacy provider [1], some ciphers are not available. For example,
the 'des-ecb' one used by test sutie is missed and the test will fail.

[1] OSSL_PROVIDER-LEGACY(7ossl)

* Make p12 ca order the same as pem

OpenSSL < 3 returns p12 ca order in reversed order. This is fixed
in OpenSSL 3. We work around it with old OpenSSL.

See:
https://github.com/openssl/openssl/issues/16421
https://github.com/openssl/openssl/pull/12641
f5eb85eb0f

* Implement SSL abort handling on OpenSSL 3

On an unexpected EOF, versions before OpenSSL 3.0 returned SSL_ERROR_SYSCALL,
nothing was added to the error stack, and errno was 0. Since OpenSSL 3.0 the
returned error is SSL_ERROR_SSL with a meaningful error on the error stack.[1]

[1] SSL_GET_ERROR(3ossl)

Co-authored-by: Günter Obiltschnig <guenter.obiltschnig@appinf.com>
Co-authored-by: Robin Lee <cheeselee@fedoraproject.org>
Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>

* fix(Socket): shutdown fixes from pull 

* : Sandbox all iFrames in PocoDoc

* ; replace assert with assertTrue

* : Upgrade bundled zlib to 1.2.12

* : Bad management of file in case of OpenSSLException in X509Certificate::readPEM and X509Certificate::writePEM

* disable OpenSSL deprecation warnings

* chore: cleanup

* fix(X509Certificate): add missing string format

* : Poco::Data::PostgreSQL - DateTime extraction truncates fractional seconds

* feat(EVP): 3.0 support

- add EVPCipher
- additional EVPPKey constructors
- tests
- fix and improve openssl-related exceptions

Transition towards 3.0 support;
deprecating direct EC and RSA interface portions.

* fix(openssl): pre 3.0 compile

* feat(Envelope): Add envelope to crypto 

* fix(Envelope): mac/clang compile

* fix(Any):  

* : fixed OpenSSL setup/shutdown

* fix exception text

* : Remove support for OpenSSL < 1.0

* ci jobs for OpenSSL 1.1 and 3

* updated CHANGELOG

* updated .vscode

* Refactor/any soo ()

* refactor(Any): SOO

- encapsulate data holders
- add missing gets and ops
- eliminate g++ warnings with enable_if's
- default enable SOO

* refactor(Placeholder): encapsulate SOO memory management and fix leaks; cf.  

* fix(Placeholder): asan errors and add tests

cf.  

* fix(SSLManager): Race condition in SSLManager 

* remove unused include

* updated copyright date

* PocoDoc: fix iframe sandboxing

* fix(SHA2Engine): cannot use HMACEngine with SHA2Engine 

* refactor(Placeholder): ifdef POCO_NO_SOO only in Placeholder and remove it anywhere else ()

* refactor(Placeholder): more SOO consolidation and optimization

* fix(FPEnvironment): Visual Studio Warning C4244 

* fix(Extractor): move extraction decoding to AbstractExtractor 

* Netssl/openssl3 ()

* feat(Context): DH init openssl3 port (1/2 hardcoded params)

* create poco-1.11.3 branch, bump version

* update copyright date

* : check legacy provider existence for legacy exception 

* fix(Placeholder): comparison for zero value

* feat(Context): DH init openssl3 port (2/2 params from file)

* test(HTTPSClientSession): try/catch to understand CI failure

* chore(cmake): copy the DH parameters file

* fix(OpenSSLInitializer): unload provider on uninitialize

* chore(HTTPSClientSessionTest): remove try/catch

* fix(OpenSSLInitializer): fix provider unloading

* feat(CppUnit): make tests exceptions more descriptive

* chore(CppUnit): a more descriptive name for callback

Co-authored-by: Günter Obiltschnig <guenter.obiltschnig@appinf.com>

* fix(Foundation): update VS 2019 platform version

* chore(Data): update VS project files (add Transcoder )

* fix(Data): Poco::Data::ODBC-dbEncoding property not used for insert/update 

* fix(Data): add transcoder to Makefile 

* fix(JWT): remove duplicate test functions after merge

Co-authored-by: Günter Obiltschnig <guenter.obiltschnig@appinf.com>
Co-authored-by: Julien Olivain <ju.o@free.fr>
Co-authored-by: Robin Lee <robinlee.sysu@gmail.com>
Co-authored-by: Robin Lee <cheeselee@fedoraproject.org>

* : Fix MySQL's LONGBLOB/LONGTEXT not allocating enough space ()

* Unit test for bug .

* Removed condition to set buffer length to 0.

* Fixes to unit tests for LONGBLOB/TEXT data type.

* Adjusted buffer sizes to accommodate LONGBLOBs.

Co-authored-by: Hector Toledo Soto <hsoto@transperfect.com>

* fix(Data): MySQL UUID binding temporary string 

* feat(CI): add MySQL tests to CI 

* fix(CI): remove mysql client dev (using mariadb) 

* fix(CI): another shot at mysql

* fix(Net/testsuite): add missing include

* fix(DatagramSocket): Socket::available does not always return correct value for UDP 

* fix(SocketProactor): few improvements ()

* fix(ICMPsocketTest): change appinf (doesn't respond to ping) to github

* fix(PollSet): windows fixes

* fix(PollSet): windows implementation fixes (multi-fd_set select); minor reactor fixes

* Extract JSON type as string ()

* Declared JSON as string data

# Conflicts:
#	Data/include/Poco/Data/MetaColumn.h
#	Data/src/RecordSet.cpp
#	Data/src/StatementImpl.cpp

* Added JSON extractor as string

* Added unit test

* Update comment

Co-authored-by: Joerg-Christian Boehme <joerg@chaosdorf.de>
Co-authored-by: Günter Obiltschnig <guenter.obiltschnig@appinf.com>
Co-authored-by: tbarbier <thomas.barbier@amadeus.com>
Co-authored-by: Linquize <linquize@yahoo.com.hk>
Co-authored-by: Jan Kevin Dick <fixed-term.jan.dick@de.bosch.com>
Co-authored-by: Neelima Patil <neelima.patil@honeywell.com>
Co-authored-by: akete <akete@users.noreply.github.com>
Co-authored-by: YuriAzathoth <iamkiller@mail.com>
Co-authored-by: Jonathan Horvath <byteme@bytedreamer.com>
Co-authored-by: Maksim Kita <kitaetoya@gmail.com>
Co-authored-by: Alexander Galanin <al@galanin.nnov.ru>
Co-authored-by: Thomas Sablik <thomas.sablik@wombytes.de>
Co-authored-by: Nikita Migunov <nmigunov@iponweb.net>
Co-authored-by: Ben Wolsieffer <benwolsieffer@gmail.com>
Co-authored-by: micheleselea <michele.pradella@selea.com>
Co-authored-by: Federico Kircheis <federico.kircheis@gmail.com>
Co-authored-by: fenghao119 <fenghao119@gmail.com>
Co-authored-by: Alex Fabijanic <alex@pocoprojecct.org>
Co-authored-by: linquize <linquize2@yahoo.com>
Co-authored-by: Julien Olivain <ju.o@free.fr>
Co-authored-by: Robin Lee <robinlee.sysu@gmail.com>
Co-authored-by: Robin Lee <cheeselee@fedoraproject.org>
Co-authored-by: hectots <monkey.instinct@gmail.com>
Co-authored-by: Hector Toledo Soto <hsoto@transperfect.com>
Co-authored-by: Hernan Martinez <hernan.c.martinez@gmail.com>
2022-05-15 11:05:56 -05:00
Günter Obiltschnig
2b3662c854 added VS2022 project files 2022-02-19 21:06:24 +01:00
Günter Obiltschnig
6e38dd4db3 upgrade bundled SQLite to 3.36.0 2021-11-05 19:31:03 +01:00
Günter Obiltschnig
7569ccf82b : Data: Support Poco::UUID for data binding 2021-06-19 08:40:49 +02:00
Günter Obiltschnig
cdf0919411 : Upgrade bundled SQLite to 3.35.5 2021-06-15 20:44:09 +02:00
Günter Obiltschnig
bfb03fe765 : Poco::Data::SQLite::Utility::fileToMemory unsuccessful if journal exists 2021-06-15 15:02:45 +02:00
Günter Obiltschnig
4de9a21187 make CMake files style (more) consistent 2020-02-14 11:07:32 +01:00
Günter Obiltschnig
75a86ad868 remove POCO_STATIC 2020-02-12 22:10:01 +01:00
Scott Talbert
a84744326f Set SQLite thread safe mode when building unbundled 2020-02-06 15:15:30 -05:00
Günter Obiltschnig
07be1a328b upgrade bundled SQLite to 3.31.1 2020-02-04 11:59:09 +01:00
Günter Obiltschnig
c427c58b69 upgrade bundled sqlite to 3.31.0 2020-01-24 09:41:08 +01:00
Günter Obiltschnig
d1f3a29da3 fixed a memory leak when opening a SQLite database fails 2020-01-23 08:41:44 +01:00
Günter Obiltschnig
eb26a95682 fixed testsuite crash due to wrong logger setup 2020-01-22 11:08:24 +01:00
Joerg-Christian Boehme
885c5cbc55 Ignore tests in cmake from cppignore and set POCO_BASE environment. 2020-01-14 21:45:56 +01:00
Günter Obiltschnig
4920df18ce re-generated project files 2020-01-12 23:04:09 +01:00
Günter Obiltschnig
8113e0c574 upgrade bundled SQLite to 3.30.1 2020-01-12 16:34:17 +01:00
Günter Obiltschnig
165f5cfd20 re-generated project files 2020-01-11 22:33:28 +01:00
Günter Obiltschnig
4c1e357e4a project file fixes 2020-01-11 12:45:39 +01:00
Günter Obiltschnig
fea390fe6a remove gradle files 2020-01-11 10:04:22 +01:00
Günter Obiltschnig
e84ab92ee0 removed x64 project files 2020-01-11 09:52:49 +01:00
Günter Obiltschnig
fe3f6405b6 updated progen files 2020-01-11 09:34:54 +01:00
Günter Obiltschnig
59898cd3c2 remove old VS project files 2020-01-10 14:26:36 +01:00
Günter Obiltschnig
aa46e9b6e4 fixed type overloads 2020-01-09 18:02:29 +01:00
Günter Obiltschnig
03d1dd9822 fixes for macos/clang 2020-01-09 11:53:03 +01:00
Francis ANDRE
e59f37318e Add /MP option and remove /Gm as it is ignored and will be removed 2019-12-07 19:11:24 +01:00
Brice Gros
990f7825b5 Fix path to DLLVersion.rc and enable to skip Foundation; Fix Foundation samples referencing useless libs 2019-10-18 15:35:02 +02:00
Günter Obiltschnig
d7019cf5f2 upgrade bundled SQLite to 3.29.0 2019-08-18 17:32:18 +02:00
Günter Obiltschnig
9a8ab0858f include version resource in DLLs built with CMake 2019-06-24 15:39:06 +02:00
Günter Obiltschnig
f09c17830f Upgraded bundled SQLite to version 3.28.0 2019-06-22 18:35:44 +02:00
Joerg-Christian Boehme
e1435a6620
Fix cross-compilation against Poco pre-built () ()
* Use ZLIB and PCRE imported target to improve portability
* Set EXPAT and SQLite3 library for XML and SQL if POCO_UNBUNDLED is true in cmake build
2019-04-22 23:47:11 +02:00