669 Commits

Author SHA1 Message Date
Andreas Dangel
60a29f08a5 Merge branch 'master' into pr-5125 2024-08-29 10:10:35 +02:00
Andreas Dangel
44d25c41e1 [plsql] Fix TomKytesDespair for more complex exception handlers
Fixes #5132
2024-07-26 12:01:21 +02:00
Andreas Dangel
6a242f019d [plsql] Fix CollectionTypeName parsing 2024-07-25 11:42:22 +02:00
Andreas Dangel
87b0c4f851 [plsql] Fix ScalarDataTypeName parsing
Fixes #5133
2024-07-25 11:17:49 +02:00
Arjen Duursma
f6ad0d4b9b Make order of merge insert/update flexible. Allow prfixes in merge insert column names. 2024-07-22 15:01:54 +02:00
Arjen Duursma
0d6bb74756 Redo fix for merge without alias in table specification 2024-07-18 18:53:25 +02:00
Andreas Dangel
d59de6c550 [plsql] DEFAULT for Argument - fixups from #5088 2024-07-11 10:32:29 +02:00
Andreas Dangel
d3daf5e90e Merge branch 'master' into pr-5088 2024-07-11 10:22:26 +02:00
Andreas Dangel
7b172acc7c [plsql] SQL_MACRO - fixups from #5087 2024-07-11 10:15:58 +02:00
Andreas Dangel
3579f3f079 Merge branch 'master' into pr-5087 2024-07-11 09:49:04 +02:00
Andreas Dangel
8208e20844 Merge branch 'master' into pr-5086 2024-07-11 09:13:34 +02:00
Andreas Dangel
70296aeef6 [plsql] Fix unit tests after KEYWORD_UNRESERVED is removed 2024-06-27 21:17:11 +02:00
Andreas Dangel
f90093c923 Merge branch 'master' into pr-4943 2024-06-27 20:38:19 +02:00
Arjen Duursma
c4ef2d9d44 Added missing newline at end of file 2024-06-27 15:37:35 +02:00
Arjen Duursma
45b75c5ca0 Add support for DEFAULT_ARGUMENT as extension to arguments (eg. TO_NUMBER) 2024-06-27 15:28:38 +02:00
Arjen Duursma
7955d635f3 Revert non relevant chagne 2024-06-27 14:25:18 +02:00
Arjen Duursma
44ecb87c43 Add support for SQL_MACRO 2024-06-27 14:18:30 +02:00
Arjen Duursma
f994ae0e6f Fixed issue with missing optional table alias in MERGE usage 2024-06-27 13:33:00 +02:00
Andreas Dangel
3c34431cb8 [plsql] Allow error logging for multi-inserts
Refs #2779
2024-06-13 10:36:53 +02:00
Andreas Dangel
e0d465a81b [plsql] Fix tests, restore exception handler, implicit cursor attribute 2024-06-13 09:50:44 +02:00
Andreas Dangel
7a57aeb4db [plsql] Support exception handlers in compound triggers
- allow multiple exception handlers
- parse declarative section correctly in
  compound triggers
- CASE, CURSOR, DECLARE, EXECUTE, IF, PUBLIC, SQL are reserved words
  and cannot be used as an identifiers

Fixes #4270
2024-06-13 09:29:22 +02:00
Juan Martín Sotuyo Dodero
0afe6aec78 Merge branch 'master' into plsql-1934-merge-into 2024-06-07 23:12:57 -03:00
Andreas Dangel
d47ca10029 [plsql] Support Error Logging in INSERT, UPDATE, DELETE
Fixes #2779
2024-06-07 12:16:43 +02:00
Andreas Dangel
72bf5d07b4 [plsql] Support MERGE statement
Fixes #1934
2024-06-07 11:20:50 +02:00
Clément Fournier
ffc71e83a2 Don"t add publicly supported API 2024-05-11 23:15:31 +02:00
Clément Fournier
7484186771 Merge branch 'master' into issue4396-cpd-case-sensitive 2024-05-11 23:07:52 +02:00
Clément Fournier
75e50df94a Make @Image have old behavior, remove KEYWORD_UNRESERVED from tree 2024-04-21 22:55:09 +02:00
Clément Fournier
838df27a19 Normalize token images also in PMD parser 2024-04-21 19:11:04 +02:00
Clément Fournier
95721effd4 Trick javacc into giving string literal a non-literal image 2024-04-21 15:46:18 +02:00
Clément Fournier
75e284075b Fix violations of UnnecessaryVarargsArrayCreation 2024-04-21 13:31:27 +02:00
Clément Fournier
b931c2f1e0 Fix name of String literal token 2024-04-21 13:13:00 +02:00
Clément Fournier
f4e75410f8 Treat unquotable identifiers as unquoted in PLSQL 2024-04-21 12:53:50 +02:00
Clément Fournier
d45aef826a Apply suggestions from code review
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
2024-04-21 12:17:08 +02:00
Clément Fournier
10dfb45dc2 Replace numbers with names 2024-04-09 17:24:35 +02:00
Clément Fournier
f484c75c52 Add test for PLSQL ignore literals 2024-04-09 11:39:13 +02:00
Clément Fournier
41c01356fc Fix things 2024-04-09 11:35:14 +02:00
Clément Fournier
0cb2e37ce9 Update reference files 2024-04-08 21:05:52 +02:00
Clément Fournier
72408ca679 Normalize image of PLSQL tokens to uppercase, reuse strings 2024-04-08 20:56:08 +02:00
Clément Fournier
44f29c3983 Fix #4396 - Fix PLSQL CPD being case-sensitive 2024-04-08 20:55:41 +02:00
Andreas Dangel
d88a3c50fe Fix checkstyle config and checkstyle issues 2024-04-04 10:46:05 +02:00
Andreas Dangel
80b1436277 [plsql] Consolidate test packages 2024-02-23 17:46:31 +01:00
Andreas Dangel
845154716c [test] Consolidate packages, move PmdRuleTst, SimpleAggregatorTst 2024-02-23 17:46:29 +01:00
Andreas Dangel
3a7460de29 [lang-test] Move classes into n.s.p.lang.test 2024-02-23 17:46:23 +01:00
Andreas Dangel
9e71e36ab1 Merge pull request #4811 from adangel:issue-4349-cleanup-deprecations
Cleanup remaining experimental and deprecated API #4811
2024-02-22 17:08:51 +01:00
Andreas Dangel
609e364861 Merge pull request #4809 from adangel:issue-4348-internal-api
[core] Consolidate @InternalApi classes #4809
2024-02-22 17:03:03 +01:00
Laurent Bovet
4509b6b966 [plsql] Fix support of WITH clause 2024-02-15 13:38:04 +01:00
Andreas Dangel
1b4acab7c4 Merge branch 'master' into issue-4349-cleanup-deprecations 2024-02-10 12:36:58 +01:00
Andreas Dangel
bc5be45566 Merge branch 'master' into issue-4348-internal-api 2024-02-09 21:31:05 +01:00
Andreas Dangel
5931461ca9 Merge pull request #4804 from adangel:issue-4309-xpath-cleanups
[core] XPath cleanups #4804
2024-02-09 16:23:58 +01:00
Andreas Dangel
6a328d6cd0 Merge pull request #4803 from adangel:issue-3903-reporting-package
[core] Consolidate n.s.pmd.reporting package #4803
2024-02-09 15:32:55 +01:00