Commit Graph

57 Commits

Author SHA1 Message Date
8d381daeb3 Merge branch 'pr-669' 2017-11-04 19:40:14 -03:00
5d6a03612e Rename builder method 2017-11-04 19:19:39 -03:00
5459636fbe [plsql] Move rules and tests to new packages 2017-11-03 16:24:51 +01:00
d05ca8ade4 [plsql] Reorganize rules into categories 2017-11-03 16:17:14 +01:00
fc0cb45f49 Merge branch 'master' into properties-builder 2017-11-01 18:21:54 +01:00
6b50104cb5 Corrections for PR #669 2017-11-01 18:17:57 +01:00
91b8a22b42 Update GenericToken specialToken method to obtain only comment tokens 2017-10-28 14:42:44 -03:00
e8fdbdbca4 Update GenericToken interface to expose directly region methods 2017-10-28 14:42:44 -03:00
1c0d762a37 Change ant tasks over (PL/SQL) Token class 2017-10-28 14:42:44 -03:00
a47471f742 Replace IntegerProperty 2017-10-15 22:22:36 +02:00
6a162c238c Moved properties to n.s.pmd.properties 2017-09-14 00:05:55 +02:00
5266436b69 Apply schema for plsql rules tests 2017-09-11 21:56:05 +02:00
9eb3aef9d6 [doc] [plsql] Adjust externalInfoUrl properties to new site - Part 8
Note: I also took the chance to fix tab damage
2017-08-15 14:31:03 +02:00
3d9511a0e5 [doc] Remove old maven site 2017-08-15 14:31:03 +02:00
5880a85bb1 Autofix line ending issues
These files didn't have the expected line ending according to
the .gitattributes rule: `*       text=auto`.

Don't know why this could have happened, but all these files
where created before the mentioned rule
2017-07-27 17:28:29 -03:00
d92688a07d Introduce end-of-line normalization
References pmd/build-tools#2
2017-02-02 20:52:08 +01:00
7dd7dd3512 [plsql] Javadoc doclint fixes
References #1516 [build] doclint error during build
2017-01-05 22:37:18 +01:00
c9ada390db Merge branch 'pr-161'
Closes #161 (rebased onto pmd/5.5.x)
2017-01-03 11:33:24 +01:00
b950929b7c Improve symboltable codebase
- Move shared code to pmd-core
 - Allow search methods to stop searching when they want to
 - If we are looking for a variable declaration, just search among those and not all name declarations
 - This is roughtly another 10% improvement on symbol table performance
2017-01-03 11:22:42 +01:00
3cb9a423c9 pmd-apex, pmd-javascript, pmd-plsql, pmd-vm: Checkstyle fixes 2016-12-16 16:10:04 +01:00
eb2d942ed4 pmd-core: checkstyle fixes 2016-12-16 12:32:18 +01:00
d2bc0f3739 Checkstyle fixes 2016-12-03 11:31:01 +01:00
617c6c622c Merge remote-tracking branch 'origin/master' into codestyle
# Conflicts:
#	pmd-core/src/main/java/net/sourceforge/pmd/RuleContext.java
#	pmd-core/src/main/java/net/sourceforge/pmd/RuleSetFactory.java
#	pmd-core/src/main/java/net/sourceforge/pmd/RuleSets.java
#	pmd-core/src/main/java/net/sourceforge/pmd/RulesetsFactoryUtils.java
#	pmd-core/src/main/java/net/sourceforge/pmd/SourceCodeProcessor.java
#	pmd-core/src/main/java/net/sourceforge/pmd/lang/ast/SourceCodePositioner.java
#	pmd-core/src/main/java/net/sourceforge/pmd/lang/ast/xpath/AttributeAxisIterator.java
#	pmd-core/src/main/java/net/sourceforge/pmd/lang/symboltable/AbstractScope.java
#	pmd-core/src/main/java/net/sourceforge/pmd/processor/MonoThreadProcessor.java
#	pmd-core/src/main/java/net/sourceforge/pmd/processor/MultiThreadProcessor.java
#	pmd-core/src/test/java/net/sourceforge/pmd/ConfigurationTest.java
#	pmd-core/src/test/java/net/sourceforge/pmd/RuleSetFactoryTest.java
#	pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/imports/UnnecessaryFullyQualifiedNameRule.java
#	pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symboltable/TypeSet.java
#	pmd-java/src/test/java/net/sourceforge/pmd/lang/java/symboltable/ClassScopeTest.java
#	pmd-java/src/test/java/net/sourceforge/pmd/lang/java/symboltable/STBBaseTst.java
#	pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/rule/AbstractPLSQLRule.java
#	pmd-xml/src/test/java/net/sourceforge/pmd/lang/xml/XmlParserTest.java
2016-12-02 15:42:31 +01:00
735330be9d pmd-plsql: checkstyle fixes 2016-12-02 14:27:47 +01:00
2682bf18b8 pmd-plsql: checkstyle / formatting 2016-12-02 14:13:59 +01:00
a280d00cce Merge branch 'pr-129' 2016-11-22 14:12:11 -03:00
9348d86eeb Merge branch 'pr-129' into pmd/5.5.x 2016-11-22 14:05:03 -03:00
5cf9a4d665 [plsql] fixed multiline SELECT parse
fixed multiline SELECT parse. Parsing skips SELECT statements to the ';'
delimiter or end of line. If statement terminated by the end of line,
next line starting from the middle of SELECT statement will fail to
parse. For example,
SELECT 1
INTO V
FROM DUAL;
will fail.
2016-11-22 13:49:35 -03:00
ec13ff1662 missing change in PLSQLParserVisitorAdapter
missing change in PLSQLParserVisitorAdapter
2016-11-22 13:49:22 -03:00
90862cc993 Added correct parse of IS [NOT] NULL
fixed crash of parsing following code (from unittest):
IF V_BUF IS NULL THEN
null;
end if;
2016-11-22 13:49:16 -03:00
92153696d8 Merge branch 'bug-1520' 2016-11-04 16:28:44 +01:00
33e1850d6b Merge branch 'bug-1520' into pmd/5.4.x 2016-11-04 16:24:55 +01:00
d7b8bae1c9 plsql: adjust code samples, since "ONLY" is now a keyword 2016-11-04 16:21:25 +01:00
4ab1d0cbee Fixes #1520 [plsql] Missing PL/SQL language constructs in parser: Is Of Type, Using 2016-11-04 16:10:07 +01:00
cec3e1a2ad plsql: add new rule "MisplacedPragma"
#1539 [plsql] Create new rule for strict syntax checking: MisplacedPragma
2016-11-04 11:19:52 +01:00
176eda21fe Merge branch 'bug-1527' 2016-11-04 10:34:39 +01:00
276cff02f8 Merge branch 'bug-1527' into pmd/5.4.x 2016-11-04 10:30:46 +01:00
495dcb5ea9 Fixes #1527 [plsql] PRAGMA AUTONOMOUS_TRANSACTION gives processing errors 2016-11-04 10:19:24 +01:00
db26052236 Merge branch 'pr-119' 2016-10-30 19:22:53 +01:00
5827acb93e Merge branch 'pr-119' into pmd/5.4.x 2016-10-30 19:17:26 +01:00
575a5b6547 Add unit test for #1531 [plsql] OOM/Endless loop while parsing (PL)SQL 2016-10-30 19:08:00 +01:00
511c7778c5 Small code enhancements, basically reordering variable declarations, constructors and variable modifiers 2016-05-15 22:41:26 +02:00
b78c7f2aa7 Merge branch 'java-7' 2015-11-29 22:11:44 +01:00
d563eb30fc Java 7 changes and some compiler warnings fixed 2015-11-29 19:55:13 +01:00
8bfe2682e9 Merge branch 'typos' of https://github.com/mkordas/pmd into mkordas-typos 2015-10-28 21:10:20 +01:00
31cef1474a Fix various typos 2015-10-17 20:33:42 +02:00
8e6ef4c2d9 #1412 UnusedPrivateMethod false positive: Issue #1403 not completely solved
Fix plsql code
2015-09-22 21:55:25 +02:00
2fdb51fcb6 dogfood, whitespaces 2015-03-23 20:16:03 +01:00
fbe6742666 Set beginColumn for the test nodes, so that no RuntimeException is thrown. 2014-11-16 12:00:29 +01:00
4345f04fb0 Fix PMD dogfood issues in pmd-plsql and pmd-xml 2014-11-16 11:11:56 +01:00