465 Commits

Author SHA1 Message Date
Andreas Dangel
95d8e80c1b [maven-release-plugin] prepare for next development iteration 2020-06-27 11:31:27 +02:00
Andreas Dangel
a219b2e1be [maven-release-plugin] prepare release pmd_releases/6.25.0 2020-06-27 11:31:16 +02:00
Andreas Dangel
d45612dde0 [plsql] Deprecate overly specific base rule classes
Refs #971
2020-06-20 12:05:15 +02:00
Clément Fournier
2c563436e4 Convert plsql tests 2020-06-13 23:48:21 +02:00
Andreas Dangel
8defb2fde2 Add missing relativePath configuration in all pom modules 2020-06-07 12:36:58 +02:00
Andreas Dangel
ab04bdacdd [maven-release-plugin] prepare for next development iteration 2020-05-24 17:34:34 +02:00
Andreas Dangel
229cb2bdca [maven-release-plugin] prepare release pmd_releases/6.24.0 2020-05-24 17:34:25 +02:00
Andreas Dangel
a3a292d591 Remove unnecessary source-type tags in rule tests
source-type is actually only needed if
* the language supports more than one version
* the parser behaves differently with different versions
  (this has to do with compatibility, e.g. assert/enum keywords
  in java)
* the test needs a newer version than the default version
  (e.g. to test new language features)
* the test needs an older version than the default version
  (e.g. the rule has a maximumLanguageVersion specified)
* the rule behaves differently for different versions
  (e.g. BigIntegerInstantiation)
2020-05-23 14:16:13 +02:00
Andreas Dangel
7334738a97 [plsql] Cleanup rule test xml files
Avoid unnecessary CDATA for description
Use 4 space indentation instead of tabs
Remove trailing whitespace
End file with a newline
2020-05-16 18:56:05 +02:00
Andreas Dangel
ad8662ccc4 [plsql] Add more tests 2020-04-30 18:52:21 +02:00
Andreas Dangel
ef9d5fd89d [plsql] Small improvements, see #2449 2020-04-30 18:24:59 +02:00
zgrzyt93
5b8a9fabe1 Update ASTFormalParameter.java
Code style refactoring
2020-04-27 16:26:40 +02:00
zgrzyt93
944752da3f Update ASTFetchStatement.java
InternalApi annotation added.
2020-04-27 15:38:19 +02:00
zgrzyt93
08a430ed3f Update ASTSqlStatement.java
InternalApi annotation added
2020-04-27 15:32:31 +02:00
zgrzyt93
ffd573e1b5 Merge branch 'master' into additional_info 2020-04-27 15:05:22 +02:00
Grzegorz Sudolski
15b0bda348 [plsql] added some additional info in userData 2020-04-27 11:24:03 +02:00
Andreas Dangel
4308c545e5 [maven-release-plugin] prepare for next development iteration 2020-04-24 10:53:12 +02:00
Andreas Dangel
921c65f5ab [maven-release-plugin] prepare release pmd_releases/6.23.0 2020-04-24 10:53:00 +02:00
Andreas Dangel
08d31c62a9 Merge branch 'master' into pr-2377 2020-04-16 17:52:03 +02:00
Clément Fournier
5067c79eb2 Cleanup a test 2020-04-08 21:38:10 +02:00
Clément Fournier
bcf90ceb8a Externalize creator for XPath rule 2020-04-08 21:35:34 +02:00
Clément Fournier
0d65c2e6e6 Add relevant property tag 2020-03-20 18:47:40 +01:00
Clément Fournier
eaceefc39e Update XPath rules to 2.0 2020-03-20 18:47:40 +01:00
Clément Fournier
941bb10d1c Internalise PLSQL token manager 2020-03-17 14:48:37 +01:00
Clément Fournier
77112d2b9f Merge branch 'master' into deprecate-plsql-ast 2020-03-17 14:48:03 +01:00
Clément Fournier
e1069b4a33 Fix *ParserVisitor itf being deprecated
refs #2239
2020-03-17 14:42:29 +01:00
Andreas Dangel
3570796384 [plsql] Enhance test for XMLFOREST 2020-03-14 17:46:20 +01:00
Piotr Szymanski
ee9f82166a fixed grammar 2020-03-13 13:50:24 +01:00
Piotr Szymanski
a355f06b90 xmlforest with optional AS 2020-03-13 12:19:25 +01:00
Andreas Dangel
4c020bfbf7 [maven-release-plugin] prepare for next development iteration 2020-03-12 15:15:18 +01:00
Andreas Dangel
eb93aaeca7 [maven-release-plugin] prepare release pmd_releases/6.22.0 2020-03-12 15:15:09 +01:00
Andreas Dangel
76e1ff5da3 Merge branch 'pr-2336'
[core] Call SymbolFacade without classloader by default
2020-03-12 10:28:19 +01:00
Piotr Szymanski
d50ccd1767 extended test case 2020-03-06 12:50:00 +01:00
Piotr Szymanski
7d9322734e fixed parsing front slash 2020-03-06 12:29:49 +01:00
Andreas Dangel
6f78d54ba8 [plsql] Fix unit tests with duplicated symbol names 2020-03-06 11:11:16 +01:00
Andreas Dangel
4468db2428 [core] Call SymbolFacade without classloader by default
This allows languages, that don't need a classloader while creating
symbol table to just override the one method.
In the test, we call always the overloaded method with class loader
with made the symbol table processing not being run for tests
in plsql.

Fixes #2325
2020-03-06 10:59:02 +01:00
Andreas Dangel
38ce869b12 Merge branch 'pr-2332'
[plsql] Fixed Execute Immediate statement parsing
2020-03-06 10:24:26 +01:00
Andreas Dangel
7bf8493307 Merge branch 'pr-2331'
[plsql] Fix in Comment statement
2020-03-06 10:19:48 +01:00
Andreas Dangel
a682d36745 [plsql] Remove CursorBody and keep CursorSpecification 2020-03-06 10:18:27 +01:00
Andreas Dangel
d8afacd6a3 Formatting 2020-03-06 09:47:17 +01:00
Andreas Dangel
53a94b3844 [plsql] Deprecate AST constructors and setters
Also remove useless javadoc comments and fix license header
2020-03-06 09:15:25 +01:00
Piotr Szymanski
8ae59231a2 fixed and turned on Execute Immediate 2020-03-05 17:47:45 +01:00
Piotr Szymanski
72587706b3 small fix in Comment statement, removed not needed cursorSpecification, code formatting 2020-03-05 16:50:46 +01:00
Andreas Dangel
d759f8126b Merge branch 'pr-2327'
[plsql] Parsing of WHERE CURRENT OF added
2020-03-05 12:22:05 +01:00
Andreas Dangel
cc19671c5d Add missing override 2020-03-05 12:14:30 +01:00
Andreas Dangel
2c68e13598 [plsql] Refactor XMLROOT and XMLFOREST
* Undo changes for XMLFOREST - <AS> is not optional alone
* Remove token for keyword "VALUE"
2020-03-05 12:04:07 +01:00
Andreas Dangel
3329374214 [plsql] Refactor ExtractExpression
* Separate helper productions for datetime/xml
* Use StringLiteral for xpath and namespace
2020-03-05 12:02:56 +01:00
Piotr Szymanski
b83a4c3112 fixed test case 2020-03-05 11:22:47 +01:00
Piotr Szymanski
97043a75c5 parsing where_current_of added 2020-03-04 17:22:15 +01:00
Piotr Szymanski
69025d7522 extract(xml), xml_root, xml_forest fix 2020-03-04 15:10:24 +01:00