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
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
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
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
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
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
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
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
Clément Fournier
1187b9e4e1
Add tests for logging behavior
2021-04-09 16:19:57 +02:00
Clément Fournier
9b51be7b21
Don't check for deprecations when loading a ruleset in tests
...
This happens when we have a deprecated rule in a category.
Every time a rule of the same category was being loaded for
a test, the deprecation warning would be output.
pmd-apex was barfing a wall of deprecation warnings during
its tests because of this.
2021-04-07 01:18:52 +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
d6beac9e9c
Merge branch '7.0.x' into core-parser-tasks
2021-01-27 16:08:48 +01:00
Andreas Dangel
3fcf339656
Rename local variable rsf -> rulesetLoader
2021-01-24 18:39:43 +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
d60b780e73
Merge branch 'core-parser-tasks' into analysis-listener
2020-12-13 03:35:20 +01:00
Clément Fournier
2623efbc8a
Delete ParserOptions
2020-12-13 00:39:05 +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
789e4aa730
Fix tests
2020-12-12 20:17:38 +01:00
Clément Fournier
14df02e3cf
Cleanup more tests
2020-12-12 18:55:38 +01:00
Andreas Dangel
384d32ddd0
Merge branch 'master' into pmd/7.0.x
2020-12-11 19:48:54 +01:00
Andreas Dangel
1a4ca95f6c
Merge pull request #2635 from oowekyala:ruleset-factory-builder
...
[core] New RuleSet API and deprecations for PMD's entry point APIs #2635
2020-12-11 19:03:41 +01:00
Clément Fournier
a8d40342f7
Fix compil, remove dependency on xpath
2020-12-11 10:57:39 +01:00
Clément Fournier
823f78c425
Merge branch 'master' into 7.0.x
...
Refs #2864
2020-12-11 10:11:40 +01:00