578 Commits

Author SHA1 Message Date
Clément Fournier
32d95a46e8
Merge branch '7.0.x' into pmd7-language-lifecycle 2023-01-27 13:55:39 +01:00
Andreas Dangel
0d2acf6000
Merge branch 'pmd/7.0.x' into pmd7-junit5-part3 2023-01-27 10:02:58 +01:00
Clément Fournier
2078692d39
Merge branch '7.0.x' into pmd7-language-lifecycle 2023-01-25 00:48:36 +01:00
Clément Fournier
403fcdae82
[core] Move utility classes around 2023-01-23 18:47:52 +01:00
Andreas Dangel
8fb578866c
Merge branch 'pmd/7.0.x' into pmd7-junit5-part3 2023-01-17 11:54:18 +01:00
Andreas Dangel
234f9fe679
Migrate remaining ant tests to JUnit5 2023-01-17 11:51:28 +01:00
Andreas Dangel
c5a9e785ff
Merge branch 'pmd/7.0.x' into pmd7-junit5-part3 2023-01-10 12:58:51 +01:00
Clément Fournier
98f515b92c
Merge branch '7.0.x' into port-properties 2022-11-26 18:12:38 +01:00
Juan Martín Sotuyo Dodero
b836a35c8c [cli] Move CLI progressbar rendering to pmd-cli
- Took the chance to improve how we render it
 - Added support for interactive terminals
 - Improved the overall performance / thread-safety of report rendering to STDOUT
2022-11-25 15:24:57 -03:00
Clément Fournier
20eb129dfe
Move cli tests from lang modules to cli 2022-11-25 12:19:24 +01:00
Clément Fournier
cef4c30af6
Merge branch '7.0.x' into pmd7-language-lifecycle 2022-11-24 22:39:59 +01:00
Clément Fournier
d3ffc1d212
Merge branch '7.0.x' into pmd7-language-lifecycle 2022-11-24 20:22:58 +01:00
Clément Fournier
251fa45020
Merge branch '7.0.x' into pr/4028 2022-11-23 21:52:18 +01:00
Andreas Dangel
d6b0068f7b
Merge branch 'master' into pmd/7.0.x 2022-10-28 11:26:12 +02:00
Andreas Dangel
88b8209958
Migrate RuleSetFactoryTests to JUnit 5 2022-10-13 17:18:13 +02:00
Andreas Dangel
00924bea75
Migrate LanguageVersionTests to JUnit5
Also move LanguageVersionTests into their language packages
and add missing tests
2022-10-13 17:17:59 +02:00
Andreas Dangel
9c182974e7
[doc] Fix ruledoc for POM: ProjectVersionAsDependencyVersion 2022-10-06 17:40:35 +02:00
Andreas Dangel
a934c5f12d
[xml] Migrate tests to JUnit5 2022-10-03 16:30:02 +02:00
Andreas Dangel
13d9a9457f
[maven-release-plugin] prepare for next development iteration 2022-09-30 15:39:14 +02:00
Andreas Dangel
37f6d8254c
[maven-release-plugin] prepare release pmd_releases/6.50.0 2022-09-30 15:39:08 +02:00
Andreas Dangel
90663d746b
[maven-release-plugin] prepare for next development iteration 2022-08-31 19:19:27 +02:00
Andreas Dangel
4b4ebabc2d
[maven-release-plugin] prepare release pmd_releases/6.49.0 2022-08-31 19:19:22 +02:00
Andreas Dangel
995d00fde3
[maven-release-plugin] prepare for next development iteration 2022-07-30 11:35:57 +02:00
Andreas Dangel
6aa2b47f2e
[maven-release-plugin] prepare release pmd_releases/6.48.0 2022-07-30 11:35:53 +02:00
Clément Fournier
2ec6b6c648
Merge branch 'pmd7-lang-registry-non-static' into pmd7-language-lifecycle 2022-07-22 17:39:39 +02:00
Clément Fournier
29d31ec8d2
Disable progress bar in some tests 2022-07-22 17:39:15 +02:00
Clément Fournier
3cecfaf38b
convert most lang mods to new base class 2022-07-21 02:10:21 +02:00
Clément Fournier
ec081ed2e5
wip 2022-07-21 01:18:02 +02:00
Clément Fournier
2952df371e
try to adapt tests
we need to remove usages of LanguageVersion::getLanguageVersionHandler
2022-07-20 20:59:40 +02:00
Clément Fournier
29a711335f
Reintroduce separate default delimiter
Let's change that later
2022-07-18 14:41:38 +02:00
Clément Fournier
3cf2eb0a07
Merge branch 'text-utils-simple' into port-properties 2022-07-17 15:45:48 +02:00
Clément Fournier
ba105a646c
progress, remove ContextualizedTest 2022-07-17 14:49:48 +02:00
Clément Fournier
495dbb750f
Merge branch 'text-utils-simple' into pmd7-lang-registry-non-static 2022-07-16 18:48:57 +02:00
Clément Fournier
59d931cd91
Merge remote-tracking branch 'upstream/pmd/7.0.x' into text-utils-simple 2022-07-10 13:50:03 +02:00
Andreas Dangel
a5006f6383
[maven-release-plugin] prepare for next development iteration 2022-06-25 09:30:43 +02:00
Andreas Dangel
07eb3d2d80
[maven-release-plugin] prepare release pmd_releases/6.47.0 2022-06-25 09:30:37 +02:00
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
a4ebb66769
Replace IOUtils with IOUtil
plsql, xml, apex, html, javascript, scala
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
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
Clément Fournier
f2708f4b4e
Make Node#getTextRegion non-default
Now implementors of Node need an implementation.
Implementation of #getReportLocation can be shared
2022-04-24 12:28:05 +02:00
Clément Fournier
9a5eed54ad
Merge branch '7.0.x' into port-properties 2022-04-09 22:42:20 +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
407ffeaf74
Merge branch '7.0.x' into lang-registry-non-static 2022-04-09 20:11:52 +02:00
Clément Fournier
fa635e226e
Merge branch '7.0.x' into text-utils-simple 2022-04-01 23:36:14 +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
Andreas Dangel
2c80e34e92
Merge remote-tracking branch 'origin/master' into pmd/7.0.x 2022-03-25 08:26:55 +01:00
Clément Fournier
6549c585a0
Update release notes 2022-03-24 22:20:20 +01:00
Clément Fournier
a26a42f623
Fix xml module 2022-03-24 19:45:43 +01:00
Clément Fournier
495918f001
Merge branch 'xml-new-xpath-rule' into pmd7-merge-xml-rule 2022-03-24 19:25:42 +01:00
Clément Fournier
9a43a09a37
Pr review 2022-03-24 19:16:59 +01:00
Clément Fournier
291be974c1
Fix header for pmd: funs 2022-03-22 19:58:22 +01:00
Clément Fournier
f7442094a4
Test namespace fn 2022-03-20 17:23:40 +01:00
Clément Fournier
6b2effb5e7
More doc 2022-03-20 14:12:00 +01:00
Clément Fournier
01b6aab95a
Test PIs and comments 2022-03-20 14:05:37 +01:00
Clément Fournier
104397fde8
More doc 2022-03-20 13:52:03 +01:00
Clément Fournier
da775bfb9b
Cleanups 2022-03-20 13:01:35 +01:00
Clément Fournier
3385809abd
Add functions to replace xpath rule 2022-03-19 21:24:52 +01:00
Clément Fournier
0011865cf9
Add a property for the default namespace 2022-03-19 21:03:23 +01:00
Clément Fournier
00d391261d
More tests, handle namespaces
We have to reparse the expression with
the correct URI if the input document has
an unnamed URI.
2022-03-19 16:54:22 +01:00
Clément Fournier
656ec30c88
Add new DOM xpath rule for xml 2022-03-19 15:57:57 +01:00
Clément Fournier
f3454949d7
Fix build 2022-03-07 21:24:35 +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
e414e2119c
Merge branch 'pmd6-improve-pmd-analysis' into pmd7-merge-master 2022-03-05 15:34:50 +01:00
Clément Fournier
b806954d88
Add deprecations 2022-03-05 14:28:25 +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
9d1c1860cb
Merge branch 'master' into 7.0.x 2022-03-03 19:55:10 +01:00
Clément Fournier
532c81ce7e
Merge branch 'master' into pmd6-file-collector 2022-02-27 18:15:30 +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
c3aa845a6a
Fix js & xml tests 2022-02-14 00:15:51 +01:00
Clément Fournier
cc834b175e
Fix java cli tests 2022-02-13 23:31:30 +01:00
Clément Fournier
9f110e9099
Merge branch '7.0.x' into port-properties 2022-01-30 16:39:07 +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
Andreas Dangel
afc8a11020
Merge branch 'master' into pmd/7.0.x 2022-01-20 12:36:44 +01:00
Andreas Dangel
922ef7cbd4
More code style changes for varargs (#3744) 2022-01-17 18:51:18 +01:00
Clément Fournier
853278345f
merge 2021-12-16 17:53:25 +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
55c005a39e
Revert some changes 2021-08-08 14:47:36 +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
Andreas Dangel
aa75b2b5bf
Merge branch 'master' into pmd/7.0.x 2021-07-31 17:33:53 +02:00
Andreas Dangel
fea395cfa9
[xml] Add simple test case for -force-language 2021-07-31 15:26:14 +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
50c00f4f9a Merge branch 'analysis-listener' into text-utils-simple 2021-03-30 02:38:13 +02: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
Clément Fournier
c9a463bd4f Suppressions for CompareObjectsWithEquals - refs #2980 2021-03-01 16:28:14 +01:00
Clément Fournier
a2d1976db9 Merge branch 'master' into pr/2980 2021-03-01 15:42:08 +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
Andreas Dangel
7384a69d31 Merge branch 'master' into dogfood-6.30.0 2021-02-26 19:26:36 +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
0c5bd89033 Also deprecate useless visit methods 2021-01-17 17:40:26 +01:00
Clément Fournier
87f8ca8e9d Deprecate xml base rule classes
Refs #2971
2021-01-17 17:36:29 +01:00
Andreas Dangel
62a052e97b (dogfood) Further CompareObjectsWithEquals fixes 2020-12-17 16:44:32 +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
d877bdb779 Readd some deleted tests 2020-12-14 13:37:34 +01:00
Clément Fournier
ca4b96ef13 Fix reference files 2020-12-14 13:18:46 +01:00
Clément Fournier
f6b1acbdd5 Remove xml parser options 2020-12-14 13:18:46 +01:00
Clément Fournier
2ac5a4907e Remove XML dom rule 2020-12-14 13:18:46 +01:00
Clément Fournier
56fc980e22 Cleanup tests
Replace a duplicated function
2020-12-14 12:58:48 +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
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
70079f0842 Remove XML dom rule 2020-12-12 23:01:06 +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
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
823f78c425 Merge branch 'master' into 7.0.x
Refs #2864
2020-12-11 10:11:40 +01:00
Clément Fournier
91fb58355b More tests for Chars 2020-11-16 00:21:26 +01:00
Clément Fournier
4d018f5a2a Fix wrong check for location at EOF 2020-11-15 22:58:43 +01:00
Clément Fournier
4cd1fa0a1d Fix build 2020-11-15 22:24:48 +01:00
Clément Fournier
9826ff241b Merge branch 'analysis-listener' into text-utils-simple 2020-11-15 19:04:14 +01:00
Clément Fournier
d4ad2f5011 Fix compil 2020-11-15 18:47:23 +01:00
Clément Fournier
7c45eb0ca9 Use a wrapper 'AstInfo' 2020-11-15 17:35:10 +01:00
Clément Fournier
d79ba5620d Changes to pmd-xml 2020-11-15 17:00:01 +01:00
Jeff Bartolotta
e1c42a10ec
Move visitor to VfParser#parse
LanguageVersionHandler#getTypeResolutionFacade is deprecated. Moved the VfExpressionTypeVisitor creation and execution to VfParser#parse instead.

ParsingOptionsTest located in pmd-test wasn't running previously because it was in the src/main hierarchy. Moved this test into the src/test hierarchy and consolidated the methods from the
similarly named class from pmd-core.
2020-11-12 20:13:19 -08: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
Clément Fournier
b19eff5eee Checkstyle 2020-10-27 01:20:02 +01:00
Clément Fournier
8213596591 Merge branch 'ruleset-f-builder-merger' into analysis-listener 2020-10-27 00:48:47 +01:00
Clément Fournier
4ef725764a [core,xml] Remove CompoundIterator 2020-10-26 19:17:54 +01:00