Andreas Dangel
fcba29a3b7
[plsql] ParseException when using hierarchical query clause
...
Fixes #1590
* Moves function calls down to primary expression so that functions
can be used in a select expression
* Restrict FunctionCall to built-in functions. User defined functions
are parsed as primary expressions.
* Parse function name of built-in function as general ID.
* The Tokens _DEFAULT, ELSE and EXCEPTION are reserved words and not
available for identifiers.
2019-02-10 10:24:40 +01:00
Andreas Dangel
3bfa33ab0d
Merge remote-tracking branch 'origin/master' into pmd/7.0.x
2019-01-27 19:50:28 +01:00
Andreas Dangel
63cd6d0f5c
[maven-release-plugin] prepare for next development iteration
2019-01-27 13:25:00 +01:00
Andreas Dangel
ea2776f70c
[maven-release-plugin] prepare release pmd_releases/6.11.0
2019-01-27 13:24:51 +01:00
Andreas Dangel
df169f7027
[plsql] Fix build: table is a reserved word so can't be used as a table name
2019-01-27 11:34:01 +01:00
Juan Martín Sotuyo Dodero
76f6ceab79
Merge pull request #1594 from adangel/issue-1526
...
[plsql] ParseException when using TableCollectionExpression
2019-01-26 19:31:44 -03:00
Andreas Dangel
89c8f47b2b
Move JavaCCTokenizer to internal package
2019-01-26 19:19:46 +01:00
Andreas Dangel
57d6ff9e30
Merge remote-tracking branch 'origin/master' into issue-1559
2019-01-26 11:28:36 +01:00
Andreas Dangel
08b7dd49dd
[core] Add a generic JavaCCTokenizer for CPD
2019-01-26 11:24:32 +01:00
Andreas Dangel
2def07b542
Fixes from PR review
2019-01-23 21:31:34 +01:00
Andreas Dangel
46ddd7d1f6
[plsql] ParseException when using TableCollectionExpression
...
Fixes #1526
Also adding InsertStatement
2019-01-23 21:31:34 +01:00
Andreas Dangel
b173d11508
[plsql] Parse Exception with function calls in WHERE clause
...
Fixes #1588
2019-01-23 20:56:44 +01:00
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
b745f331b8
CPD: Fix error handling for lexical errors
...
* TokenMgrError must not be caught by the tokenizer. This is handled
by CPD itself
* The token managers need to know the filename for proper error messages
2019-01-20 10:18:56 +01:00
Andreas Dangel
b521126130
Merge branch 'pr-1550'
2019-01-14 18:50:17 +01:00
Clément Fournier
a5d23116e5
Merge branch 'master' into 7.0.x
2019-01-08 23:36:45 +01:00
Clément Fournier
a0109aeef9
Merge branch 'pr-1523'
2019-01-07 22:23:42 +01:00
Clément Fournier
17d6ab31dd
Merge branch 'master' into 7.0.x
2019-01-05 23:07:17 +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
Clément Fournier
12b647c548
Merge branch 'master' into 7.0.x
...
Conflicts:
pmd-apex-jorje/pom.xml
pmd-apex/pom.xml
pmd-core/pom.xml
pmd-core/src/main/java/net/sourceforge/pmd/lang/LanguageVersionHandler.java
pmd-core/src/main/java/net/sourceforge/pmd/util/designer/Designer.java
pmd-cpp/pom.xml
pmd-cpp/src/main/java/net/sourceforge/pmd/lang/cpp/CppHandler.java
pmd-cs/pom.xml
pmd-dist/pom.xml
pmd-doc/pom.xml
pmd-fortran/pom.xml
pmd-go/pom.xml
pmd-groovy/pom.xml
pmd-java/pom.xml
pmd-java8/pom.xml
pmd-javascript/pom.xml
pmd-jsp/pom.xml
pmd-kotlin/pom.xml
pmd-lang-test/pom.xml
pmd-matlab/pom.xml
pmd-matlab/src/main/java/net/sourceforge/pmd/lang/matlab/MatlabHandler.java
pmd-objectivec/pom.xml
pmd-objectivec/src/main/java/net/sourceforge/pmd/lang/objectivec/ObjectiveCHandler.java
pmd-perl/pom.xml
pmd-php/pom.xml
pmd-plsql/pom.xml
pmd-python/pom.xml
pmd-python/src/main/java/net/sourceforge/pmd/lang/python/PythonHandler.java
pmd-ruby/pom.xml
pmd-scala/pom.xml
pmd-swift/pom.xml
pmd-test/pom.xml
pmd-ui/pom.xml
pmd-visualforce/pom.xml
pmd-vm/pom.xml
pmd-xml/pom.xml
pom.xml
2018-12-13 18:53:10 +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
Clément Fournier
938efd1e00
fix message
2018-11-10 10:07:31 +01:00
Clément Fournier
dd2783760a
Add method to Rule interface
2018-11-09 15:50:20 +01:00
Clément Fournier
847f2944c0
Checkstyle
2018-11-02 08:40:14 +01:00
Clément Fournier
5eb1d23a38
Create system to declare processing stages in an extensible fashion
2018-11-02 07:39:16 +01:00
Andreas Dangel
38ab2abc46
Merge branch 'master' into pmd/7.0.x
2018-10-28 19:39:32 +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