692 Commits

Author SHA1 Message Date
Clément Fournier
26bdab4da4 WIP: Merge branch 'abort-on-semantic-errors' into text-utils-simple 2022-04-22 20:24:54 +02:00
Andreas Dangel
5e9402bfe1 Merge branch 'master' into pmd/7.0.x 2022-04-21 18:42:08 +02:00
Clément Fournier
367c6cf54a Update JS module 2022-04-15 19:54:31 +02:00
Clément Fournier
715442b66b Update java/PMDTaskTest to use mocked rules 2022-04-15 19:31:56 +02:00
Clément Fournier
271b8ab062 Fix tests 2022-04-13 20:48:38 +02:00
Clément Fournier
9f163ed9a1 WIP needs xml messages PR 2022-04-10 09:10:53 +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
40824e4fc9 Remove RuleViolationFactory 2022-04-09 17:09:24 +02:00
Clément Fournier
15d98409db Add TextRange2d 2022-04-02 22:54:15 +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
819e6236c4 Fix tests and compile errors 2022-03-24 15:52:16 +01:00
Andreas Dangel
644bd3ab39 Merge branch 'master' into pmd/7.0.x 2022-03-24 15:15:55 +01:00
Andreas Dangel
5f9e9d1066 Merge pull request #3818 from adangel:fix-abstract-ruleset-factory-test
[core] Fix abstract ruleset factory test #3818
2022-03-24 14:34:43 +01:00
Clément Fournier
df0508610e Merge branch 'pmd/7.0.x' into cannot-resolve-ambiguous-dollar 2022-03-10 13:52:54 +02:00
Clément Fournier
99425d53ff Fix OutOfMemory in tests
This did not show up earlier because
we used soft class references, which
reduces the memory footprint of unused
TypeSystems. However, they still remain
in old gen and are a large memory hog.

Since e97e2cd we don't use SoftReference
anymore as parsing the same class several
times may have unintended side-effects.
This revealed the out of memory error.

This will be fixed when we have proper
language lifecycle and resources like the
classloader can be reclaimed later.
2022-03-06 19:00:13 +01:00
Clément Fournier
dee330293f Fix pmd-core compil 2022-03-05 19:16:13 +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
Andreas Dangel
e63858269b [test] Fix AbstractRuleSetFactoryTest - check category/.../ as well 2022-03-03 21:55:56 +01:00
Clément Fournier
9d1c1860cb Merge branch 'master' into 7.0.x 2022-03-03 19:55:10 +01:00
Andreas Dangel
2aebcbd1de Fix PMD CloseResource - BaseCLITest has actually setup/tearDown
which deals with restoring System.out/err already
2022-03-03 11:11:57 +01:00
Clément Fournier
af576dbf78 PR review 2022-02-27 19:00:50 +01:00
Clément Fournier
b46dcb48aa Remove source incompatibility 2022-02-27 18:22:08 +01:00
Clément Fournier
532c81ce7e Merge branch 'master' into pmd6-file-collector 2022-02-27 18:15:30 +01:00
Andreas Dangel
6719156669 Add simplelogger.properties in pmd-test
This provides a default configuration that will be used
when resetting the logger configuration in CLITests or
PMDTaskTest. Without this, slf4j-simple will keep
the last configured default level. Now it will use the
default level configured in simplelogger.

Since pmd-test is not part of the distribution, this
configuration file has no effect for the binaries.
2022-02-26 20:34:58 +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
Andreas Dangel
a7e2a8eb52 Merge branch 'master' into pr-3785 2022-02-20 16:34:07 +01:00
Andreas Dangel
d1cc05e4d5 [test] Supress JavaUtilLoggingRule for now 2022-02-18 16:12:07 +01:00
Andreas Dangel
f6378d17ea Merge branch 'pmd/7.0.x' into pmd7-896-slf4j 2022-02-18 14:22:10 +01:00
Andreas Dangel
116cb766aa Merge branch 'master' into pmd/7.0.x 2022-02-18 12:45:04 +01:00
Andreas Dangel
7733be75ff [core] More deprecations around PMD/Report/RuleContext (#3762) 2022-02-18 11:33:05 +01:00
Andreas Dangel
e1d66e2f42 [core] Use slf4j-api and slf4j-simple
Support "--debug" flag for slf4j-simple
2022-02-17 18:54:36 +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
8cc7c7bbea Merge branch '7.0.x' into analysis-listener 2022-02-07 00:54:47 +01:00
Clément Fournier
1f8497fc55 Merge branch 'analysis-listener' into text-utils-simple 2022-02-06 16:57:51 +01:00
Clément Fournier
2a89d9a115 fix test 2022-02-05 12:06:36 +01:00
Clément Fournier
734bf91a3e Comments from PR review 2022-02-04 20:51:33 +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
77f01f683d Fix PMD issues in core and test 2022-01-28 11:44:54 +01:00
Clément Fournier
5f0a5daa41 Fix force lang 2021-12-16 18:24:37 +01:00