Commit Graph

206 Commits

Author SHA1 Message Date
39f87ca5f3 Update schema location in rulesets 2018-10-27 21:02:16 +02:00
dc6b4e90a9 Merge branch 'pr-1382' 2018-10-17 08:46:47 +02:00
a0be9712dd Merge pull request #1364 from adangel/plsql-select-cursorforloop2
[plsql] Fully parse select statement inside cursor for loops
2018-10-15 03:56:24 -03:00
cba4e87acd Replacing deprecated IO methods with ones that specify a charset
Standardizing with StandardCharsets.UTF_8, given that it was used in
several places of code already, and it provides compile-time checking
(as opposed to "UTF-8")
2018-10-12 17:25:08 -05:00
1f7c827323 Merge branch 'master' into unit-test-split 2018-10-05 20:39:22 +02:00
6d00e74142 Use new base class PmdRuleTst for rule tests 2018-10-05 20:33:38 +02:00
d8586382f6 [maven-release-plugin] prepare for next development iteration 2018-09-30 10:10:21 +02:00
161d9cd6d6 [maven-release-plugin] prepare release pmd_releases/6.8.0 2018-09-30 10:10:12 +02:00
6253370426 Restore images of names and aliases
Special handling of TableAlias in Joins
ON is a reserved word
2018-09-27 11:31:54 +02:00
4a1a12db29 ORDER is a reserved word as well 2018-09-27 11:31:54 +02:00
11adc28a7e Allow keywords as identifiers for various names
Increase lookaheads in Condition2
2018-09-27 11:31:54 +02:00
71e74dba8d Allow keywords as table alias
Note: BY and GROUP are reserved words
2018-09-27 11:31:54 +02:00
3454804b49 Fully parse select statement in CursorForLoop.
Note: ALL and DISTINCT are reserved words
2018-09-27 11:31:54 +02:00
a29fc094f9 Support DeleteStatement 2018-09-26 10:28:10 +02:00
a3a48e2cb9 Merge pull request #1360 from adangel/plsql-select-function
[plsql] Support Function Calls in Select
2018-09-25 16:53:41 -03:00
616746c004 Support UpdateStatement 2018-09-13 11:03:27 +02:00
5bbbaeac1e Support FunctionCall in SelectList 2018-09-12 20:06:02 +02:00
3498cde1f9 Add CodingStyleExample.pls for parsing tests 2018-09-11 13:12:12 +02:00
c5fdf94b03 Support simple FunctionCall 2018-09-11 13:07:32 +02:00
dea38d44c9 Own AST node for FloatingPointCondition 2018-09-11 11:49:40 +02:00
38d97c72a9 Reuse IsNullCondition 2018-09-11 11:46:54 +02:00
d47b130a89 Fix unit tests 2018-09-10 20:42:35 +02:00
db767317e1 Support IsTypeOfCondition 2018-09-10 20:42:35 +02:00
849e3ada8d Support Between Condition, add test case for In Condition 2018-09-10 20:42:35 +02:00
3760f53ab1 Support NullCondition 2018-09-10 20:42:31 +02:00
78c5ce4636 Support LikeCondition 2018-09-10 19:31:34 +02:00
7f2a052d00 Merge branch 'origin/master' into plsql-sql-statements 2018-09-10 19:11:13 +02:00
52be023f80 Simplify rule tests, directly inherit from SimpleAggregatorTst
for apex, javascript, jsp, plsql, visualforce, vm, xml
2018-09-09 13:10:44 +02:00
a5ded9d517 [plsql] Split the rule tests 2018-09-09 12:01:36 +02:00
291d36d841 [maven-release-plugin] prepare for next development iteration 2018-09-02 14:27:42 +02:00
b98bd0bb96 [maven-release-plugin] prepare release pmd_releases/6.7.0 2018-09-02 14:27:33 +02:00
ec011cc885 Add additional test cases for expressions in where clauses 2018-08-16 17:19:22 +02:00
ec665de1a2 [plsql] Add support for GroupByClause
* Restructure FromClause to have one node with multiple table references
2018-08-16 16:14:57 +02:00
319c6cd073 Update grammar comment 2018-08-10 15:22:40 +02:00
414e4a13fb Add JoinClause tests, fix outer join with using,
add support for query partition clause
2018-08-09 17:44:49 +02:00
e3dfda3cca Simplify grammar 2018-08-09 16:34:22 +02:00
7192663c1a [plsql] Improvements on the AST for SELECT
* SubqueryOperation is now available
* FromClause is a node on its own
* OuterJoinType is available
2018-08-03 16:50:48 +02:00
b9344ef6f6 [plsql] Add support for OrderBy and RowLimiting clauses for SELECT 2018-08-03 15:48:23 +02:00
3820bdc36c Merge branch 'pr-1236' 2018-07-30 02:01:49 -03:00
20f52700b4 [maven-release-plugin] prepare for next development iteration 2018-07-29 12:07:05 +02:00
868f262c21 [maven-release-plugin] prepare release pmd_releases/6.6.0 2018-07-29 12:06:56 +02:00
580c92c550 [plsql] Add initial support for SELECT INTO - still WIP 2018-07-27 15:54:45 +02:00
be76e2809f [plsql] Extend CursorForLoopNaming and rename to ForLoopNaming
It covers now both cursor for loops and index for loops.
2018-07-20 15:26:50 +02:00
b088c20a96 [plsql] CursorForLoopNaming: Add parameters "allowSimpleLoops" and "pattern" 2018-07-20 15:26:50 +02:00
387a8abca9 [plsql] Verify issue #681: it's fixed 2018-07-20 15:26:11 +02:00
ecb1ddb451 [plsql] SELECT INTO with parentheses
This fixes partially #1047
2018-07-20 15:26:11 +02:00
58268812f6 [plsql] New Rule: CursorForLoopNaming 2018-07-20 15:26:09 +02:00
0b264d5feb Fix encoding (from cp1252 -> utf-8) 2018-07-20 15:24:24 +02:00
9c4486f2fb [plsql] Add basic support for CursorForLoop statement 2018-07-20 15:23:27 +02:00
bb3426f584 Merge branch 'pr-1238' 2018-07-15 17:39:03 -03:00