Commit Graph

5735 Commits

Author SHA1 Message Date
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
Alex Fabijanic
b4144dea46 fix(build): Makefile dependency 2023-11-04 23:50:21 +01:00
Alex Fabijanic
8adef65e52 fix(build): CppUnit depends on Foundation, swap build order 2023-11-04 23:18:15 +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
Friedrich Wilckens
8baa2f9c34 Implement MySQL::SessionHandle::startTransaction as submitting the SQL statement 'BEGIN' 2023-11-03 20:15:12 -07:00
Friedrich Wilckens
8740816c78 PostgreSQL SessionHandle: const fixes. 2023-11-03 19:48:52 -07:00
Alex Fabijanic
a7a6f869c1 feat: C++17 #4235 2023-11-03 14:53:15 +01:00
Nino Belušić
90dd3821ed
CI improvements (#4236)
* feat(ci): run pull request runs only on pull request open #4205

* feat(ci): add retry action for tsan #4205

* feat(ci): use local action for retrying tsan #4205

* fix(ci): use correct version of retry action #4205

* fix: make POSIX event thread safe

* feat(ci): add info on retry action to ci.yml header #4205

* feat(ci): add linux mysql test #4205

* feat(ci): remove unused mysql containers from tests#4205

* feat(ci): add linux postgre test #4205

* feat(ci): add linux redis test #4205

* feat(ci): add linux mongodb tests #4205

* feat(ci): add mysql odbc test #4205

* chore(ci): rename tests #4205

* chore(ci): pin postgres and mysql versions #4205

* feat(ci): add odbc postgres tests #4205

* chore(ci): mysql odbc comment #4205

* chore(ci): disable windows 2019 job #4205

* feat(ci): add linux oracle tests #4205

* chore(ci): disable oracle tests #4205

* feat(ci): add sql server tests #4205

* chore(ci): disable postgres tests #4205

* chore(ci): add logging for task test #4205

* feat(ci): add local retry action #4205

* feat(ci): ignore process kill failure in action #4205

* feat(ci): send SIGKILL instead of SIGTERM in action #4205

* chore(ci): add updated action #4205

* chore(ci): reduce tsan timeout #4205

* feat(ci): kill process without children #4205

* feat(ci): send SIGTERM to child in action #4205

* feat(ci): prolong tsan timeout #4205

* chore(ci): add missing newlines #4205

* fix(ci): revert sql server test FreeTDS version #4205

* feat(ci): add retry to all jobs #4205

* feat(ci): setup python for codeQL #4205

* chore(ci): disable throwing on codeql error #4205
2023-11-03 14:34:31 +01:00
Friedrich Wilckens
6eec8adfcb PostgreSQL SessionHandle: don't call startTransaction in setAutoCommit 2023-11-02 19:45:28 -07:00
Aleksandar Fabijanic
5e6bb8e396 fix(ODBC): mac build and run #4230 2023-11-03 00:10:01 +01:00
Alex Fabijanic
73e191f185 chore: add missing header path, revert inadvertent db server address dev change 2023-11-02 22:29:27 +01:00
Alex Fabijanic
596bd0ef23 enh(Data): move SQLExecutor to a library in Poco::Data testsuite #4230 2023-11-02 22:27:17 +01:00
Alex Fabijanic
46728024f7 chore(CppUnit): fix comment 2023-11-02 22:13:23 +01:00
Alex Fabijanic
8b620e7476 enh(poco): std::string literals #4216 2023-11-02 22:12:23 +01:00
Günter Obiltschnig
743da564eb #4241: Poco::FileInputStream broken in 1.12.5 and 1.11.8. 2023-11-02 12:10:21 +01:00
Alex Fabijanic
4f0315aeb0 feat(Data::Statement): make statementsCount() Optional 230 2023-11-02 00:28:18 +01:00
Alex Fabijanic
afd9c8c408 feat(Data::Session): add 'sqlParse' feature #4230 2023-11-02 00:04:10 +01:00
Alex Fabijanic
79e54d88ba chore: fix local test run script 2023-11-01 19:21:20 +01:00