tuduongquyet
af69d61ff5
Adding API Poco::XML insertAfterNP() ( #4061 )
2023-11-26 19:49:50 +01:00
chrisbednarski
388a3b4010
fix openssl session resumption, add quiet shutdown option, support FTPS with hostname ( #4103 )
2023-11-26 18:12:11 +01:00
Aleksandar Fabijanic
11de40399c
fix(sharedMemory): x64 size error #2976 ( #4295 )
...
* fix(sharedMemory): x64 size error #2976
* chore: add Util dependency to Prometheus samples
* fix(HTTPClientSession): not working with UNIX_LOCAL SocketAddress #2578
* fix(WebSocketTest): supress connection reset exception assertion
* fix(PollSet): wait on premature epoll_wait return; reinforce tests for windows
* fix(build): add DataTest dependency to Makefile
* fix(Task): intermittently hanging test and some other improvements
* fix(Net): PollSet loop; suppress test WebSocket handler shutdown IOExeption
2023-11-26 04:57:39 +01:00
Pavle Dragisic
70bb3a40de
Add ProcessRunner and PIDFile ( #4225 )
...
* feat(Foundation): PIDFile and ProcessRunner #4064
* feat(Thread): optional signal blocking on POSIX #2978
* fix(ProcessRunner):remove logger, code enhancement #4225
* feat(Foundation): add PIDFile and ProcessRunner Tests #4064
* fix(Foundation): failing ProcessRunner Test #4064
* fix(PIDFile): remove append argument #4064
* remove Windows TODO from ProcessRunner #4064
* feat(ProcessRunnerTest): add line to checkTimeout #4064
* fix(ProcessRunner): add done flag to run() #4064
* fix(ProcessRunnerTest): add missing pidFile argument #4064
* chore(ProcessRunner): remove comments #4064
* fix(ProcessRunner): add runCount flag #4064
* fix(test): SharedLibrary and Class tests paths
* fix(ProcessRunner): thread sanitizer reported data races #4064
* fix(build): pass env var to testrunner #4064
* chore(PIDFile): remove ; in comments #4064
* feat(ProcessRunner): add Win argument format #4064
* fix(Tests): add ProcessRunnerTest to vcxproj #4064
* fix(Tests): change path to TestApp #4064
* feat(Tests): windows processrunner tests #4064
* fix(Tests): duplicate ProcessRunnerTest in TestSuite vcxproj #4064
* fix(CodeQL): sw declaration hides variable #4064
* fix test binaries path for cmake
* fix(Build): missing include/PIDFile.h buildWin #4064
* fix(Build): add PocoFoundation depend in buildWin #4064
* feat(ProcessRunner): test process launching multiple threads #2976
---------
Co-authored-by: Pavle <pavle@debian-gnu-linux-11.localdomain>
Co-authored-by: Alex Fabijanic <alex@pocoproject.org>
2023-11-24 20:22:01 +01:00
Sokolov Yura
904075e1f1
AutoPtr: do 'duplicate' before 'release' ( #4068 )
...
Common knowledge in reference counting is "on assignment increment first
then decrement", because "just to be deleted" object could hold last
reference to "just to be assigned" one.
Fixes #3979
2023-11-23 04:49:10 +01:00
Tavi Cacina
b34801f4ba
fix(NetSSL_Win): Error during handshake: failed to read data ( #4275 )
...
Closes #3944
2023-11-23 02:57:01 +01:00
Alexander B
4a9285c997
Improve FifoEvent, ActiveMethod, ActiveResult ( #4211 )
...
Co-authored-by: Alexander B <bas524@ya.ru>
2023-11-22 00:59:24 +01:00
Pavle Dragisic
f30d759c08
Virtualize ServerApplication::handlePidFile() ( #4223 )
...
* feat(OptionSet): Add replaceOption() #4181
* revert changes #4181
* feat: make ServerApplication::handlePidFile virtual #4181
* move handlePidFile() out of ifdef #4181
* fix(ServerApplication): move handlePidFile() out of all ifdefs #4181
---------
Co-authored-by: Pavle <pavle@debian-gnu-linux-11.localdomain>
Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
2023-11-21 06:36:36 +01:00
Andrew Auclair
39e35c316d
SplitterChannel::addChannel() should only add a channel once
...
SplitterChannel::addChannel() should only add a channel once to the internal vector. This prevents issues where the channel is accidentally added twice but only removed once because removeChannel stops at the first result. (#4270 )
2023-11-21 04:17:19 +01:00
tyler92
2e608624c8
fix(build): Install cmake files with resolved ENABLE_JSON and ENABLE_XML ( #4227 )
2023-11-21 03:07:24 +01:00
Pavle Dragisic
5e88502b7f
Fix Poco::Process::launch (UNIX) - memory leak when launching invalid command ( #4267 )
...
* fix: memory leak in ProcessImpl #2366
* fix(Process): variable masking and spelling #2366
* feat(ProcessTest): invalid command launch test #2366
* fix(ProcessTest): handle failed launch on win #2366
* fix(ProcessTest): undefined exception #2366
---------
Co-authored-by: Pavle <pavle@debian-gnu-linux-11.localdomain>
2023-11-21 03:04:02 +01:00
Nino Belušić
b8d9eab0b8
4248 additional progen script feature ( #4265 )
...
* feat: add components argument to progen.ps1 #4248
* feat: add components argument to buildwin.ps1 #4248
* fix: fix buildwin output #4248
* fix: fix buildwin components argument check #4248
* feat: add calling buildwin to progen.ps1 #4248
* fix: fix progen build output #4248
* fix: call buildwin with static_mt linkmode #4248
* feat: run progen for Data/testsuite/DataTest #4248
* fix(progen.ps1): default poco_base; fix buildwin path; use Start-Process (to get exit code); rename non-name-compliant cmdlets
* fix(PS scripts): rename functions to comply with cmdlets names; add platform to progen
---------
Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
2023-11-13 22:34:45 +01:00
Matej Kenda
daeb9d7301
4254 net message header optional decoding ( #4263 )
...
* GH #4254 : Net::MessageHeader: automatic decoding of header values is made optional (enabled by default).
* GH #4254 : Net::MessageHeader: test for optional automatic decoding of header values
2023-11-13 10:32:12 +01:00
Aleksandar Fabijanic
54d3c7b351
SessionPool idle connections should behave as a FIFO queue ( #3951 ) ( #4264 )
...
Co-authored-by: Friedrich Wilckens <friedrich.wilckens@ingramcontent.com>
2023-11-13 10:28:08 +01:00
Alex Fabijanic
23463b2e55
chore: add issue template
2023-11-11 23:20:27 +01:00
Aleksandar Fabijanic
18eea1bb70
temporarily comment failing mysql ci until fixed
2023-11-11 19:42:52 +01:00
Alexander B
6a5387ec21
add visitor pattern implementation for Poco::Dynamic::Var ( #4144 )
...
* add visitor pattern implementation for Poco::Dynamic::Var
* add changes to Makefile and vcxproj for VarVisitor
* resolve review comments Poco::Dynamic::Var
---------
Co-authored-by: Alexander B <bas524@ya.ru>
2023-11-11 19:18:12 +01:00
Aleksandar Fabijanic
a9f889f5cf
fix: misspelled define
2023-11-11 19:12:48 +01:00
Aleksandar Fabijanic
10ad89594a
Win build fix ( #4260 )
...
* fix(SQLParser): use Data_API if available
* fix(ProGen): wrong AdditionalOptions separator #4259
* fix(SQLParser): add default export define when embedded
2023-11-11 11:08:18 +01:00
Aleksandar Fabijanic
5fa1779f22
Merge pull request #4257 from pocoproject/4244-postgres-setAutoCommit-should-not-call-startTransaction
...
4244 postgres set auto commit should not call start transaction
2023-11-10 12:52:32 +01:00
Aleksandar Fabijanic
940c9b48ff
Merge pull request #4256 from pocoproject/4247-mysql-startTransaction
...
Implement MySQL::SessionHandle::startTransaction as submitting the SQL statement 'BEGIN'
2023-11-10 12:52:06 +01:00
Aleksandar Fabijanic
9e90fcbcea
Merge pull request #4239 from pocoproject/4231-PostgreSQL-leaks-memory-for-failed-connections
...
4231 postgre sql leaks memory for failed connections
2023-11-10 12:51:36 +01:00
Aleksandar Fabijanic
f7a085676a
Merge pull request #4242 from pocoproject/4230-data-fixes-improvements
...
#4230 SQLParser, transaction and other data fixes/improvements
* fix(Data::SQLChannel): remove SQLChannel::close() parameter (hides virtual from parent)
* feat(Data::ODBC) add MARS support #4230
* fix(Data): transactions are not handled properly #4230
* fix(LinearHashTable): fix std::iterator deprecated warnings; test war…
* feat(SQLParser): add POCO::Data::SQLParser #4230
* fix(Data):
* make bool Session::isTransaction() return Poco::Optional
* move parsing to Statement
* SQLParser make build
* other fixes and improvements #4230
* fix(dev): prevent set environment vars accumulation over multiple runs
* enh(poco): std::string literals #4216
* feat(Data/testsuite): move SQLExecutor to a library in Poco::Data testsuite #4230
* fix(ODBC): mac build and run #4230
* fix(build): CppUnit depends on Foundation, swap build order
* enh(ProGen): consolidate/unify pdb names (not consistent) #4207
* fix(build): align Foundation and CppUnit #4207
* feat(ProGen): default to c++17
* chore(build): add missing platform to buildwin #4230
* fix(build): bad value #4230
* feat: add progen ps script #4248
2023-11-10 12:42:05 +01:00
Aleksandar Fabijanic
dfe701f6d4
Merge pull request #4255 from pocoproject/4248-add-progen-powershell-script
...
4248 add progen powershell script
2023-11-10 12:31:25 +01:00
Aleksandar Fabijanic
bda0cd1a07
Merge branch 'devel' into 4230-data-fixes-improvements
2023-11-10 12:18:25 +01:00
Aleksandar Fabijanic
c711979017
chore(ci): re-enable
2023-11-10 12:06:21 +01:00
Aleksandar Fabijanic
f4ae6f66a6
fix(build): SQLite VS2019 projects
2023-11-10 10:54:56 +01:00
Aleksandar Fabijanic
1022d495b4
fix(build): regenerate vs160 Data-dependent projects; temporarily disable all CI jobs except VS2019 buildwin
2023-11-10 10:12:41 +01:00
Aleksandar Fabijanic
5e3ee72f1c
Merge pull request #4258 from pocoproject/fix-build-in-4230
...
Fix build in 4230
2023-11-10 02:23:52 +01:00
Aleksandar Fabijanic
30006b4e20
enh(Data): regenerate VS projects; add DataTest VS projects
2023-11-10 02:19:29 +01:00
Aleksandar Fabijanic
71f475745a
fix(buildwin.ps1): skip TestLibrary for static build (DLL only); build DataTest library
2023-11-10 02:17:41 +01:00
Aleksandar Fabijanic
be52ced34a
fix(SQLParser): static linking error on windows
2023-11-10 02:15:34 +01:00
Pavle
56f6caf8cf
fix(Data): Automatically link Data lib WIN
2023-11-09 17:02:35 +01:00
Nino Belusic
7446252dca
feat: add running progen for tests and samples #4248
2023-11-09 09:10:34 +01:00
Nino Belusic
4416fc3c75
fix: fix default arg values #4248
2023-11-08 15:35:11 +01:00
Nino Belusic
856782f1b8
feat: dynamically choose progen.exe location #4248
2023-11-08 15:34:35 +01:00
Nino Belusic
02861debee
feat: add progen ps script #4248
2023-11-08 15:12:16 +01:00
Nino Belušić
83d50284e0
4249 separate ci odbc tests into separate job ( #4251 )
...
* feat(CI): separate odbc tests into separate job #4249
* fix(CI): fix ODBC test server address #4249
* fix(CI): disable MySQL ODBC tests #4249
* chore(ci): remove unneeded sql server and oracle jobs #4249
* fix(CI): disable Oracle ODBC tests #4249
* fix(CI): disable Postgres ODBC tests #4249
* Update ci.yml (add newline)
---------
Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
2023-11-07 20:58:41 +01:00
Pavle
1d6421045a
fix(build): bad value #4230
2023-11-07 17:38:48 +01:00
Pavle
1c60325242
chore(build): add missing platform to buildwin #4230
2023-11-07 16:37:49 +01:00
Aleksandar Fabijanic
264eead095
fix(Net): failing testPollNoServer test on windows
2023-11-06 17:08:29 +01:00
Aleksandar Fabijanic
442be3fe57
fix(ProGen): regen CppUnit and Net VS projects
2023-11-06 17:07:32 +01:00
Aleksandar Fabijanic
fb1fb41466
fix(ProGen): unify output name (eliminate discrepancies)
2023-11-06 17:05:44 +01:00
Aleksandar Fabijanic
5301671175
fix(buildwin.ps1): make install path global
2023-11-06 14:15:38 +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
Aleksandar Fabijanic
6317398162
fix(buildwin): add ARM64 and fix formatting and code style
2023-11-06 11:01:18 +01:00
Aleksandar Fabijanic
05645bff15
fix(cmake): add missing Data define
2023-11-06 11:00:07 +01:00
Aleksandar Fabijanic
78234857bf
feat(ProGen): default to c++17
2023-11-05 23:40:47 +01:00
Aleksandar Fabijanic
324424b7a7
fix(build): align Foundation and CppUnit #4207
2023-11-05 22:19:25 +01:00
Aleksandar Fabijanic
2f6dc18c0b
enh(ProGen): consolidate/unify pdb names (not consistent) #4207
2023-11-05 22:11:36 +01:00