237 Commits

Author SHA1 Message Date
Andreas Dangel
872f4e90e2 [plsql] Parse Exception when functions are used with LIKE
Fixes #1586
2019-01-20 11:01:17 +01:00
Andreas Dangel
4665509c44 Merge branch 'pr-1554' 2019-01-20 10:30:29 +01:00
Andreas Dangel
b4d545b0c1 Multiple columns are not possible with ROW update 2019-01-20 10:28:14 +01:00
Andreas Dangel
b521126130 Merge branch 'pr-1550' 2019-01-14 18:50:17 +01:00
Clément Fournier
a0109aeef9 Merge branch 'pr-1523' 2019-01-07 22:23:42 +01:00
Tashdid Khan
f6c62ef71d updates should allow for multiple statements 2019-01-02 22:29:04 -05:00
Clément Fournier
ad078fad59 Deprecate StatisticalRule 2018-12-30 16:34:57 +01:00
Clément Fournier
e079d0c2e9 Merge branch 'pr-1525' 2018-12-17 16:08:39 +01:00
Clément Fournier
e56d97aac3 Merge branch 'pr-1524' 2018-12-17 16:05:54 +01:00
Andreas Dangel
69878f3562 [plsql] Parse Exception with IS NOT NULL
Fixes #1511
2018-12-13 17:25:48 +01:00
Andreas Dangel
351d04568f [plsql] Parse Exception with OUTER/INNER Joins
Fixes #1509
2018-12-13 17:03:13 +01:00
Andreas Dangel
43a96d92f0 [plsql] Parse Exception when using '||' operator in where clause
Fixes #1507
2018-12-13 15:47:42 +01:00
Andreas Dangel
7a8ef70e95 [plsql] Parse Exception when using SELECT COUNT(*)
Fixes #1508
2018-12-12 09:44:35 +01:00
Andreas Dangel
dcb8bb42a2 [maven-release-plugin] prepare for next development iteration 2018-12-09 10:42:20 +01:00
Andreas Dangel
27374d8592 [maven-release-plugin] prepare release pmd_releases/6.10.0 2018-12-09 10:42:09 +01:00
Clément Fournier
3b988866a3 Merge branch 'pr-1493' 2018-12-04 12:29:27 +01:00
Andreas Dangel
d7f5b0b536 Remove clean configuration from (very) old site generation 2018-12-02 10:30:36 +01:00
Andreas Dangel
1cf1dfc96b [plsql] ParseException for IF/CASE statement with >=, <=, !=
Fixes #1454
2018-12-01 21:50:07 +01:00
Clément Fournier
71713026ce Deprecate integer property 2018-11-26 23:32:50 +01:00
Andreas Dangel
3c50db2439 [maven-release-plugin] prepare for next development iteration 2018-10-28 16:49:09 +01:00
Andreas Dangel
7e4e859c5f [maven-release-plugin] prepare release pmd_releases/6.9.0 2018-10-28 16:48:57 +01:00
Andreas Dangel
658eb13864 Merge branch 'pr-1381' 2018-10-28 14:54:46 +01:00
Clément Fournier
39f87ca5f3 Update schema location in rulesets 2018-10-27 21:02:16 +02:00
Andreas Dangel
dc6b4e90a9 Merge branch 'pr-1382' 2018-10-17 08:46:47 +02:00
Andreas Dangel
dc3ccc990b Merge branch 'master' into plsql-codeformat 2018-10-15 16:24:01 +02:00
Juan Martín Sotuyo Dodero
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
Will Herrmann
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
Andreas Dangel
a7bb7c67bf [plsql] CodeFormat Rule
* Add property for indentation
* Add proper rule description and example
2018-10-12 14:08:49 +02:00
Andreas Dangel
3497a076bc [plsql] CodeFormat Rule
Add complete Coding Style example
2018-10-12 13:46:53 +02:00
Andreas Dangel
3e309ba1e1 [plsql] CodeFormat Rule
Add check for procedure calls without named parameters
2018-10-12 13:44:47 +02:00
Andreas Dangel
8e879bddba [plsql] CodeFormat Rule
Add check for function calls with named parameters
2018-10-12 13:33:24 +02:00
Andreas Dangel
09dbabff2b [plsql] CodeFormat Rule
Add check for variables
2018-10-11 17:00:25 +02:00
Andreas Dangel
c005141847 [plsql] CodeFormat Rule
Add checks for parameters
2018-10-10 17:31:42 +02:00
Andreas Dangel
fdbc448a5b [plsql] CodeFormat Rule
Add checks for Join clauses
Add checks for UNION
2018-10-10 17:10:31 +02:00
Andreas Dangel
84def12794 [plsql] CodeFormat Rule
Basic checks for SQL Queries alignment
2018-10-09 17:18:15 +02:00
Andreas Dangel
1f7c827323 Merge branch 'master' into unit-test-split 2018-10-05 20:39:22 +02:00
Andreas Dangel
6d00e74142 Use new base class PmdRuleTst for rule tests 2018-10-05 20:33:38 +02:00
Andreas Dangel
d8586382f6 [maven-release-plugin] prepare for next development iteration 2018-09-30 10:10:21 +02:00
Andreas Dangel
161d9cd6d6 [maven-release-plugin] prepare release pmd_releases/6.8.0 2018-09-30 10:10:12 +02:00
Andreas Dangel
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
Andreas Dangel
4a1a12db29 ORDER is a reserved word as well 2018-09-27 11:31:54 +02:00
Andreas Dangel
11adc28a7e Allow keywords as identifiers for various names
Increase lookaheads in Condition2
2018-09-27 11:31:54 +02:00
Andreas Dangel
71e74dba8d Allow keywords as table alias
Note: BY and GROUP are reserved words
2018-09-27 11:31:54 +02:00
Andreas Dangel
3454804b49 Fully parse select statement in CursorForLoop.
Note: ALL and DISTINCT are reserved words
2018-09-27 11:31:54 +02:00
Andreas Dangel
a29fc094f9 Support DeleteStatement 2018-09-26 10:28:10 +02:00
Juan Martín Sotuyo Dodero
a3a48e2cb9 Merge pull request #1360 from adangel/plsql-select-function
[plsql] Support Function Calls in Select
2018-09-25 16:53:41 -03:00
Andreas Dangel
616746c004 Support UpdateStatement 2018-09-13 11:03:27 +02:00
Andreas Dangel
5bbbaeac1e Support FunctionCall in SelectList 2018-09-12 20:06:02 +02:00
Andreas Dangel
3498cde1f9 Add CodingStyleExample.pls for parsing tests 2018-09-11 13:12:12 +02:00
Andreas Dangel
c5fdf94b03 Support simple FunctionCall 2018-09-11 13:07:32 +02:00