16750 Commits

Author SHA1 Message Date
Clément Fournier
368573e7c7 Start removing TokenManager wrappers 2020-03-20 18:07:56 +01:00
Clément Fournier
e9b65823bf Cleanup TokenMgrError 2020-03-20 18:07:56 +01:00
Clément Fournier
3cdcba2299 Fix file name for token manager error 2020-03-20 18:07:56 +01:00
Clément Fournier
2b36ef5e39 Merge branch 'deprecate-token-mgr-stuff' into tmp 2020-03-20 18:07:42 +01:00
Clément Fournier
0ef6dd144d Merge branch 'master' into 7.0.x 2020-03-20 18:04:17 +01:00
Clément Fournier
30886544c5 Deprecations to clean up CPD 2020-03-20 18:00:16 +01:00
Clément Fournier
9ff522c0f5 [plsql] Add token description 2020-03-20 14:53:35 +01:00
Clément Fournier
ec884bc216 Merge branch 'plsql-javacc' into 7.0.x 2020-03-20 14:52:33 +01:00
Clément Fournier
0763ccd384 Merge branch '7.0.x' into plsql-javacc 2020-03-20 14:49:06 +01:00
Clément Fournier
3269b48add Merge branch 'saxon-rulechain' 2020-03-20 14:47:31 +01:00
Clément Fournier
f927a561b5 Update release notes, refs #2354 2020-03-20 14:46:21 +01:00
Andreas Dangel
31bf08af54 Merge branch 'issue-628' #628
[swift][cpd]Running CPD throw StackOverflowError
2020-03-20 13:55:16 +01:00
Andreas Dangel
56d5a6afa3 [swift] Add unit test for #628
Closes #628
2020-03-20 13:55:04 +01:00
Andreas Dangel
08f9a3956e Merge branch 'pr-2363' #2363
[core] Add more bindings for the designer
2020-03-20 12:18:21 +01:00
Andreas Dangel
c0b70bdbc7 [core] Rename DesignerBindings.AdditionalInfo::getSortKey 2020-03-20 12:14:34 +01:00
Andreas Dangel
db6d57cd1d [plsql] grammar: set TRACK_TOKENS=false 2020-03-20 10:53:03 +01:00
Andreas Dangel
3399cfe0d4 [plsql] Fix CodeFormatRule
Node::getEndColumn() is exclusive now with javacc based parsers
See JavaccToken
2020-03-20 10:52:42 +01:00
Andreas Dangel
2f93795609 [plsql] remove BOM token, skip BOM in parser 2020-03-20 10:49:13 +01:00
Clément Fournier
9aeefdb817 Dont delete jjtSetLastToken
JJT grammars should mention TRACK_TOKENS=false;
On the java-grammar branch some tokens are adjusted
manually with calls to jjtSetLastToken and deleting
these calls messes that up
2020-03-20 05:37:23 +01:00
Clément Fournier
fa39505f5a Checkstyle 2020-03-20 03:00:43 +01:00
Clément Fournier
ee4257d8fc Fix JSP CPD tests
CPD "normalizes" line separators to the
platform-specific separator. This should
be fixed later when we move to TextDocument
2020-03-20 02:58:43 +01:00
Clément Fournier
e577169862 Cleanup some usages of CollectionUtil 2020-03-20 01:32:55 +01:00
Clément Fournier
170360b309 Add a firstChild axis method
Fix bug with filter on children stream
2020-03-20 01:21:50 +01:00
Andreas Dangel
f6d27c6c61 [plsql] Adapt PLSQL to new javacc wrapper 2020-03-19 20:33:17 +01:00
Clément Fournier
ea3085e560 Normalize line endings
Tries to fix build failure on windows...
2020-03-19 19:34:16 +01:00
Clément Fournier
a899a25350 Fix expr normalization when ids are negative 2020-03-19 19:29:13 +01:00
Clément Fournier
514a524e6f Checkstyle 2020-03-19 19:22:35 +01:00
Clément Fournier
20a3c39b4d Make SplitUnions package private 2020-03-19 19:11:30 +01:00
Clément Fournier
45d4fc5f56 Make documentSorter singleton 2020-03-19 19:08:19 +01:00
Clément Fournier
9a62a662c1 Remove track-tokens for vf, jsp 2020-03-19 17:57:30 +01:00
Clément Fournier
b530d3e5a4 Don't duplicate setLastToken for jjtree nodes
This is handled by the closeNodeScope routine
of the JjtreeBuilder, the parser shouldn't call
this itself
2020-03-19 17:37:25 +01:00
Clément Fournier
33eb1501db Use base JJTree class for the VF parser 2020-03-19 16:53:22 +01:00
Clément Fournier
242432237c Use base JJTree class for the JSP parser 2020-03-19 16:45:24 +01:00
Andreas Dangel
40a262cfae Merge branch 'pr-2362' into pmd/7.0.x
[js] Use new javacc wrapper in JS module
2020-03-19 15:41:35 +01:00
Andreas Dangel
75c4377b14 [js] Ecmascript5TokenManager is internalapi 2020-03-19 15:41:25 +01:00
Andreas Dangel
0a31e15193 [js] License headers 2020-03-19 15:41:13 +01:00
Andreas Dangel
2620fc60be [cpp] License headers 2020-03-19 15:38:39 +01:00
Andreas Dangel
0556719648 Merge branch 'pr-2361' into pmd/7.0.x
[objectivec] Use new javacc wrapper script in Objective C module
2020-03-19 15:37:40 +01:00
Andreas Dangel
356be6393e [objectivec] License headers 2020-03-19 15:37:33 +01:00
Andreas Dangel
319769ac30 Merge branch 'pr-2360' into pmd/7.0.x
[cpp] Use new javacc wrapper script in C++ module
2020-03-19 15:35:48 +01:00
Andreas Dangel
007b05f610 Merge branch 'pr-2359' into pmd/7.0.x
[matlab] Use new javacc wrapper script in Matlab module
2020-03-19 15:35:05 +01:00
Andreas Dangel
47a06fbc6a Merge branch 'pr-2294' into pmd/7.0.x
[vf, jsp] Adapt JSP & VF modules to new javacc wrapper
2020-03-19 15:24:33 +01:00
Andreas Dangel
ff39a5503a [vf] Make remaining setters package-private, remove deprecated 2020-03-19 15:24:06 +01:00
Andreas Dangel
3b5c08a095 [vf] License headers 2020-03-19 15:23:12 +01:00
Andreas Dangel
02595f846a [jsp] OpenTagRegister is package-private 2020-03-19 15:22:40 +01:00
Andreas Dangel
8268e479dd [jsp] Remove deprecated annotation 2020-03-19 15:16:48 +01:00
Andreas Dangel
8baaef915b [jsp] License headers 2020-03-19 15:16:32 +01:00
Andreas Dangel
55915fe5ab Fix build (java: ASTRecord::getDeclarations()) 2020-03-19 12:41:27 +01:00
Andreas Dangel
235e5f4160 Fix build (Apex Metrics) 2020-03-19 12:37:53 +01:00
Andreas Dangel
e2229b2d84 [core] Saxon XPath 2.0 and rule chain with visitors
This is an enhanced implementation of rule chain
support for XPath 2.0 expressions. It uses a own
visitor to analyze and modify the original
saxon xpath expressions.
2020-03-19 11:28:26 +01:00