Andreas Dangel
2bdc8a8263
Merge branch 'master' into pmd/7.0.x
2022-06-04 15:59:22 +02:00
Andreas Dangel
066b510eef
chore: Fix project.parent.relativePath in pom.xml
...
It must point to a file, pointing to a directory
is not valid.
2022-06-04 11:00:30 +02:00
Andreas Dangel
04c1271d88
[maven-release-plugin] prepare for next development iteration
2022-05-28 11:04:32 +02:00
Andreas Dangel
a75acdeff8
[maven-release-plugin] prepare release pmd_releases/6.46.0
2022-05-28 11:04:27 +02:00
Andreas Dangel
309d1dea28
Merge branch 'replace-commons-io' into pmd7-replace-commons-io
2022-05-13 16:00:19 +02:00
Andreas Dangel
2887fe3ae0
[core] Replace IOUtils with IOUtil
2022-05-13 12:03:15 +02:00
Andreas Dangel
753cb49e40
[all] Remove dependency to commons-io
2022-05-13 12:03:14 +02:00
Clément Fournier
935b7fc4e2
Merge branch 'text-utils-simple' into text-utils-javacc
2022-04-30 15:45:00 +02:00
Clément Fournier
7c536288e8
Cleanup apex tests
2022-04-30 15:29:28 +02:00
Clément Fournier
3ec44f83c1
Merge branch '7.0.x' into text-utils-simple
2022-04-30 14:02:21 +02:00
Andreas Dangel
ec64315ad7
[maven-release-plugin] prepare for next development iteration
2022-04-30 09:38:24 +02:00
Andreas Dangel
1d2b40b3c0
[maven-release-plugin] prepare release pmd_releases/6.45.0
2022-04-30 09:38:19 +02:00
Andreas Dangel
4c45d6125e
Merge branch 'master' into pmd/7.0.x
2022-04-29 13:40:05 +02:00
Andreas Dangel
c224209d7f
[test] Backport NodePrinters.kt from pmd7
2022-04-29 11:38:52 +02:00
Clément Fournier
64b9b25bef
Merge branch 'text-utils-simple' into text-utils-javacc
2022-04-24 10:58:33 +02:00
Clément Fournier
7e8b5e37fc
Merge branch 'text-utils-simple' into lang-registry-non-static
2022-04-09 21:45:22 +02:00
Clément Fournier
b8efedf967
Make lang registry non static
2022-04-09 21:44:01 +02:00
Clément Fournier
27962debc0
Fix build
2022-04-03 00:52:12 +02:00
Clément Fournier
4620453fc8
Rename getStartLine/Column
2022-04-03 00:26:27 +02:00
Andreas Dangel
be3e941a08
[maven-release-plugin] prepare for next development iteration
2022-03-27 17:01:59 +02:00
Andreas Dangel
6859f8db36
[maven-release-plugin] prepare release pmd_releases/6.44.0
2022-03-27 17:01:54 +02:00
Clément Fournier
b0b7f69480
Merge branch 'text-utils-simple' into text-utils-javacc
2022-03-05 19:35:10 +01:00
Clément Fournier
af5aceeff8
Merge branch 'pmd7-merge-master' into text-utils-simple
2022-03-05 18:16:49 +01:00
Clément Fournier
f4f7f4b65d
Move nspmd.util.document -> lang.document
2022-03-05 18:05:04 +01:00
Clément Fournier
d41e0d0f32
Merge branch '7.0.x' into pmd7-merge-master
2022-03-05 11:53:55 +01:00
Clément Fournier
9808c743d2
Fix merge
2022-03-03 20:46:01 +01:00
Andreas Dangel
69fb502883
[maven-release-plugin] prepare for next development iteration
2022-02-26 10:01:08 +01:00
Andreas Dangel
dd0ee6190b
[maven-release-plugin] prepare release pmd_releases/6.43.0
2022-02-26 10:01:03 +01:00
Clément Fournier
bf91e70c9f
Update tests
2022-02-25 19:50:50 +01:00
Clément Fournier
f29b2c1267
Replace test post processing function
2022-02-25 18:52:17 +01:00
Clément Fournier
853942d623
Remove core api
2022-02-25 18:52:17 +01:00
Andreas Dangel
b9542e5219
Merge pull request #3764 from oowekyala:issue3763-ambiguity-error
...
[java] Fixes #3763 - ambiguity error #3764
2022-02-18 19:59:54 +01:00
Clément Fournier
dff3458d61
Fix #3763 - ambiguity error
...
Problem was that the header scopes looked like this:
IMPORTED -> EMPTY -> JAVA_LANG
Where IMPORTED and JAVA_LANG both can resolve the same
name NAME. The empty symtable is administrative, it's
a shadow barrier. With the previous definition of a
shadow barrier, the barriers were positioned this way:
IMPORTED -> EMPTY] -> JAVA_LANG]
IMPORTED asks for NAME and finds something. It's not
a shadow barrier so it asks EMPTY for NAME. EMPTY
does not know NAME so it asks its parent, ignoring that
it itself is a shadow barrier.
Now we don't call `ShadowChain::resolve` to collect
shadowed names to avoid this situation.
2022-02-07 21:15:12 +01:00
Andreas Dangel
dc19597020
[maven-release-plugin] prepare for next development iteration
2022-01-29 09:53:38 +01:00
Andreas Dangel
391c32589f
[maven-release-plugin] prepare release pmd_releases/6.42.0
2022-01-29 09:53:32 +01:00
Clément Fournier
9d1ec11bbd
BAD Merge branch 'text-utils-simple' into text-utils-javacc
2021-12-22 19:24:49 +01:00
Clément Fournier
853278345f
merge
2021-12-16 17:53:25 +01:00
Clément Fournier
55f301cbd7
Fix support for --force-language
2021-12-16 16:38:17 +01:00
Clément Fournier
913d0ab272
Merge branch '7.0.x' into analysis-listener
2021-12-16 16:31:50 +01:00
Andreas Dangel
3a97618d5d
[maven-release-plugin] prepare for next development iteration
2021-11-27 11:21:17 +01:00
Andreas Dangel
ac68de1f51
[maven-release-plugin] prepare release pmd_releases/6.41.0
2021-11-27 11:21:12 +01:00
Andreas Dangel
f12710071f
[maven-release-plugin] prepare for next development iteration
2021-10-30 10:00:20 +02:00
Andreas Dangel
be09a31654
[maven-release-plugin] prepare release pmd_releases/6.40.0
2021-10-30 10:00:15 +02:00
Andreas Dangel
0399bbbfc8
[maven-release-plugin] prepare for next development iteration
2021-09-25 13:46:09 +02:00
Andreas Dangel
90b051bfff
[maven-release-plugin] prepare release pmd_releases/6.39.0
2021-09-25 13:46:04 +02:00
Andreas Dangel
65af1c0675
[maven-release-plugin] prepare for next development iteration
2021-08-28 17:27:18 +02:00
Andreas Dangel
7d11a02052
[maven-release-plugin] prepare release pmd_releases/6.38.0
2021-08-28 17:27:12 +02:00
Andreas Dangel
489f28edd3
Merge branch 'master' into pmd/7.0.x
2021-08-22 16:53:55 +02:00
Clément Fournier
e64d485384
Add xpath function for file name
2021-08-08 14:40:25 +02:00
Clément Fournier
54dc756207
Fix cpp module
2021-08-07 17:06:21 +02:00
Clément Fournier
e3a94a1b04
Port some stuff from pmd 7, add test
2021-08-07 14:34:03 +02:00
Clément Fournier
3734d293e8
Add an attribute to apex nodes to get filename from XPath
...
Fix #3446
2021-08-07 13:58:55 +02:00
Andreas Dangel
821f7a849b
[maven-release-plugin] prepare for next development iteration
2021-07-31 19:02:07 +02:00
Andreas Dangel
18df47ce6e
[maven-release-plugin] prepare release pmd_releases/6.37.0
2021-07-31 19:01:59 +02:00
Clément Fournier
85fd4fa9f4
Merge branch 'text-utils-simple' into text-utils-javacc
2021-07-08 18:45:55 +02:00
Clément Fournier
4d320fdbb9
Merge branch 'analysis-listener' into text-utils-simple
2021-07-08 16:54:40 +02:00
Clément Fournier
62ca0edb2a
Merge branch '7.0.x' into analysis-listener
2021-07-08 15:23:00 +02:00
Andreas Dangel
f68bf5ce05
[maven-release-plugin] prepare for next development iteration
2021-06-26 10:24:15 +02:00
Andreas Dangel
45d1605a03
[maven-release-plugin] prepare release pmd_releases/6.36.0
2021-06-26 10:24:07 +02:00
Andreas Dangel
9fdfecf731
[maven-release-plugin] prepare for next development iteration
2021-05-29 07:24:47 +02:00
Andreas Dangel
b49fb2014d
[maven-release-plugin] prepare release pmd_releases/6.35.0
2021-05-29 07:24:39 +02:00
Andreas Dangel
319900cd43
[maven-release-plugin] prepare for next development iteration
2021-04-24 16:41:17 +02:00
Andreas Dangel
bfeaa1b377
[maven-release-plugin] prepare release pmd_releases/6.34.0
2021-04-24 16:41:10 +02:00
Clément Fournier
173806b687
Fix some compiler warnings
2021-04-03 23:01:54 +02:00
Clément Fournier
7b87d69b85
Fix pmd-lang-test project import
2021-04-03 22:55:39 +02:00
Clément Fournier
5529b4fcac
Merge branch 'analysis-listener' into text-utils-simple
2021-03-30 20:44:59 +02:00
Clément Fournier
25425b1c80
Merge branch '7.0.x' into analysis-listener
2021-03-30 20:44:02 +02:00
Clément Fournier
d9a3ef9691
Merge branch 'text-utils-simple' into text-utils-javacc
2021-03-30 03:04:07 +02:00
Clément Fournier
50c00f4f9a
Merge branch 'analysis-listener' into text-utils-simple
2021-03-30 02:38:13 +02:00
Clément Fournier
0011b64c35
Merge branch '7.0.x' into analysis-listener
2021-03-29 23:14:29 +02:00
Clément Fournier
d4a2f4b417
Move file to java source root
2021-03-27 18:43:23 +01:00
Clément Fournier
0cb6e537f0
Change parameters of Metric#compute to match order in MetricsUtil
2021-03-27 18:12:10 +01:00
Andreas Dangel
37e5525fd5
[maven-release-plugin] prepare for next development iteration
2021-03-27 16:25:18 +01:00
Andreas Dangel
dc1c9d0aed
[maven-release-plugin] prepare release pmd_releases/6.33.0
2021-03-27 16:25:13 +01:00
Andreas Dangel
e0de01ebe9
[maven-release-plugin] prepare for next development iteration
2021-02-27 09:44:05 +01:00
Andreas Dangel
0848e230d0
[maven-release-plugin] prepare release pmd_releases/6.32.0
2021-02-27 09:43:58 +01:00
Clément Fournier
e3db5b76af
Merge branch '7.0.x' into pmd7-update-metrics
2021-02-14 15:25:37 +01:00
Andreas Dangel
2ea0328678
[maven-release-plugin] prepare for next development iteration
2021-01-30 18:04:17 +01:00
Andreas Dangel
7d6e6239c5
[maven-release-plugin] prepare release pmd_releases/6.31.0
2021-01-30 18:04:08 +01:00
Clément Fournier
429a8e2e80
Merge branch '7.0.x' into pmd7-update-metrics
2020-12-14 14:35:57 +01:00
Clément Fournier
dba9ffa49b
Merge branch 'remove-xml-dom-rule' into core-parser-tasks
2020-12-14 13:49:43 +01:00
Clément Fournier
f6b1acbdd5
Remove xml parser options
2020-12-14 13:18:46 +01:00
Clément Fournier
053c439a43
Escape special chars correctly in test output
2020-12-14 13:12:17 +01:00
Clément Fournier
56fc980e22
Cleanup tests
...
Replace a duplicated function
2020-12-14 12:58:48 +01:00
Clément Fournier
c6c81b7eca
Fix tests about comments
2020-12-13 07:22:38 +01:00
Clément Fournier
a80c1c55b8
Use getReportLocation in tests
2020-12-13 05:44:44 +01:00
Clément Fournier
00bee39767
Merge branch 'analysis-listener' into text-utils-simple
2020-12-13 05:38:09 +01:00
Clément Fournier
fe5d1e49f1
Fix tests
2020-12-13 04:17:40 +01:00
Clément Fournier
d60b780e73
Merge branch 'core-parser-tasks' into analysis-listener
2020-12-13 03:35:20 +01:00
Clément Fournier
52d8904a9e
Fix last tests
2020-12-13 01:54:02 +01:00
Clément Fournier
08227f8b18
Fix vf module
2020-12-13 01:13:53 +01:00
Clément Fournier
2623efbc8a
Delete ParserOptions
2020-12-13 00:39:05 +01:00
Clément Fournier
220d7a0d12
Merge branch 'remove-xml-dom-rule' into core-parser-tasks
2020-12-13 00:10:24 +01:00
Clément Fournier
084a81265c
Cleanup tests
2020-12-12 23:34:16 +01:00
Clément Fournier
163d7af6c2
Remove xml parser options
2020-12-12 23:26:41 +01:00
Clément Fournier
79def1b51d
Reduce importance of parser options
2020-12-12 21:19:50 +01:00
Clément Fournier
83edce05c1
Merge branch 'pmd7-ruleset-loader' into core-parser-tasks
2020-12-12 20:53:50 +01:00
Clément Fournier
94028a1ce6
Remove deprecated ctors of RuleSetFactory
2020-12-12 17:38:40 +01:00
Andreas Dangel
d284ea9634
[maven-release-plugin] prepare for next development iteration
2020-12-12 09:42:10 +01:00
Andreas Dangel
d2e4fb4ca3
[maven-release-plugin] prepare release pmd_releases/6.30.0
2020-12-12 09:42:02 +01:00
Clément Fournier
c7b4ec962c
Checkstyle
2020-12-11 08:37:23 +01:00
Clément Fournier
90c123621a
Make NPath return BigInteger
2020-12-11 08:37:23 +01:00
Clément Fournier
83389f7d47
Update tests
2020-12-11 08:37:23 +01:00
Clément Fournier
aee9c1792c
Changes to js
2020-11-15 17:07:08 +01:00
Clément Fournier
95587416cf
Merge branch 'java-new-xpath-functions' into core-parser-tasks
2020-11-15 16:54:08 +01:00
Clément Fournier
2fad9bf507
Changes to DataSource and test modules
2020-11-15 16:42:30 +01:00
Clément Fournier
67d3b8a4f4
Extract changes to lang-test
2020-11-13 14:43:02 +01:00
Clément Fournier
014ba90c88
Merge branch 'analysis-listener' into text-utils-simple
2020-10-30 20:45:57 +01:00
Clément Fournier
9c0ea3a992
Merge branch '7.0.x' into analysis-listener
2020-10-30 20:39:52 +01:00
Andreas Dangel
bc0d26eeb5
Fix tests compilation
2020-10-29 11:38:54 +01:00
Andreas Dangel
1862f4fe05
Merge branch 'master' into pmd/7.0.x
2020-10-29 10:52:38 +01:00
Andreas Dangel
01f1e8dede
Add back pom.parent.relativePath for pmd-lang-test
2020-10-28 16:53:45 +01:00
Clément Fournier
a95c67c31e
Upgrade to kotlin 1.4.1 and kotest 4.3.0
2020-10-26 17:08:08 +01:00
Andreas Dangel
4837c8dbc8
[maven-release-plugin] prepare for next development iteration
2020-10-24 10:17:24 +02:00
Andreas Dangel
81f12d3e5d
[maven-release-plugin] prepare release pmd_releases/6.29.0
2020-10-24 10:17:15 +02:00
Clément Fournier
fb137b6484
Merge branch 'pmd7-test-cleanups' into analysis-listener
2020-10-17 17:56:46 +02:00
Clément Fournier
1089da7da2
Hide most methods of RuleTst
...
The supported API is now just the junit integration
2020-09-30 13:21:02 +02:00
Clément Fournier
5c59de5d52
Checkout changes to test utils
2020-09-28 19:46:34 +02:00
Andreas Dangel
aa245c6e1b
[maven-release-plugin] prepare for next development iteration
2020-09-26 10:25:16 +02:00
Andreas Dangel
722f3ca997
[maven-release-plugin] prepare release pmd_releases/6.28.0
2020-09-26 10:25:05 +02:00
Clément Fournier
d690b50c07
Move text file stuff into the main document package
2020-09-17 22:37:23 +02:00
Clément Fournier
5d436fb7e1
Move factory methods to the interface
2020-09-17 22:37:12 +02:00
Clément Fournier
1254015334
Doc
2020-09-17 22:37:12 +02:00
Clément Fournier
dd4eac1ddb
Doc for FileSystemCloseable
2020-09-17 22:35:06 +02:00
Clément Fournier
266ad0ddb2
Adapt to analysis listeners after rebase
2020-09-17 22:34:48 +02:00
Clément Fournier
9b735e75df
Cleanup kotlin utils
2020-09-17 22:32:37 +02:00
Clément Fournier
81b8fd5e06
Fix text tests
2020-09-17 22:31:11 +02:00
Clément Fournier
1312fb739b
Add line range region
2020-09-17 22:30:00 +02:00
Clément Fournier
dfe5710aee
Fix tests of SCPositioner
2020-09-17 22:30:00 +02:00
Clément Fournier
69a067e9ad
Merge branch 'java-grammar' into analysis-listener
2020-09-14 18:03:50 +02:00
Andreas Dangel
c59af0aee6
[maven-release-plugin] prepare for next development iteration
2020-08-31 18:30:18 +02:00
Andreas Dangel
856950f0d2
[maven-release-plugin] prepare release pmd_releases/6.27.0
2020-08-31 18:30:09 +02:00
Clément Fournier
d3d7495655
Fix tests
2020-08-31 09:21:58 +02:00
Clément Fournier
c331226022
Fix rebase
2020-08-31 08:37:41 +02:00
Clément Fournier
76d81e6979
Identify things to move to reporting package
2020-08-31 08:37:03 +02:00
Clément Fournier
f0f51ab720
Some tests
2020-08-31 08:37:02 +02:00
Clément Fournier
2979754fbd
Cleanup
2020-08-31 08:35:21 +02:00
Clément Fournier
6e36a20dd1
Better error handling
...
Checkstyle + pmd
2020-08-31 08:35:07 +02:00
Clément Fournier
df9f53afa9
Cleanup
2020-08-31 08:34:25 +02:00
Clément Fournier
0a5c0bc015
Doc
2020-08-31 08:34:25 +02:00
Clément Fournier
c7d88ec506
Some sugar
2020-08-31 08:34:25 +02:00
Clément Fournier
e7e6793eb3
Make nodes have access to their language version
2020-08-31 08:34:14 +02:00
Clément Fournier
c66b3e8fa9
Remove report listeners
2020-08-31 08:34:14 +02:00
Clément Fournier
08b19dbcdd
Simplify source code processor, change Parser
...
Remove some stuff with parser options
Get rid of SourceCodeProcessor
Seal processor hierarchy
2020-08-31 08:34:13 +02:00
Clément Fournier
0efba4ce18
Make test file not depend on internal api of core
2020-08-24 03:37:33 +02:00
Clément Fournier
d5445d7ea5
Normalize captures in tree dump
2020-08-23 20:37:53 +02:00
Clément Fournier
77f8c554ad
Merge branch 'java-grammar' into typeres-jtypes
2020-08-23 20:05:43 +02:00
Clément Fournier
30466cd793
Use fillAttributes instead
...
More easily extensible
2020-08-23 20:05:16 +02:00
Clément Fournier
1f7c3373d6
Merge branch 'java-grammar' into typeres-jtypes
2020-08-23 18:48:00 +02:00
Clément Fournier
e5bf0b3f82
Turn ParserCornerTest into a tree dump test
2020-08-23 18:33:17 +02:00