Andreas Dangel
720b9a328b
[release] prepare release pmd_releases/7.0.0-rc4
2023-09-30 17:15:54 +02:00
Andreas Dangel
8511c7b0e1
[core] Move PmdCapableLanguage to n.sf.pmd.lang
2023-08-24 11:42:50 +02:00
Clément Fournier
f2cd5abbab
Merge branch 'master' into clem.pmd7-refactor-cpd
2023-05-26 12:21:08 +02:00
Andreas Dangel
bc9c43fb42
Fix tests
2023-05-05 13:19:18 +02:00
Andreas Dangel
b79e6bd92b
[release] prepare for next development iteration
2023-04-29 23:39:34 +02:00
Andreas Dangel
a97e108269
[release] prepare release pmd_releases/7.0.0-rc2
2023-04-29 23:39:28 +02:00
Clément Fournier
b89970d5fe
Merge branch 'pmd7-textfile-display-name' into clem.pmd7-refactor-cpd
2023-04-29 19:20:38 +02:00
Clément Fournier
090ffa1a58
Merge remote-tracking branch 'origin/pmd7-textfile-display-name' into pmd7-textfile-display-name
2023-04-29 19:15:23 +02:00
Clément Fournier
4834aca95c
Tests and doc
2023-04-29 18:59:23 +02:00
Clément Fournier
68a4e84b5e
Merge branch 'master' into pmd7-textfile-display-name
2023-04-29 18:21:30 +02:00
Clément Fournier
d6b02d18b4
Fix compil
2023-04-20 17:31:12 +02:00
Clément Fournier
913a621f83
Merge branch 'master' into pmd7-textfile-display-name
2023-04-20 16:42:58 +02:00
Andreas Dangel
af74964fcd
[core] Fix FileCollector#addSourceFile parameter order
...
In PMD 6.55.0 the first parameter is sourceContents and the second is pathId (see ef34553486/pmd-core/src/main/java/net/sourceforge/pmd/lang/document/FileCollector.java (L192)
).
This restores that argument order in PMD 7.
2023-04-11 18:57:53 +02:00
Andreas Dangel
d9b2444d7e
[release] prepare for next development iteration
2023-03-25 12:47:33 +01:00
Andreas Dangel
356af8b636
[release] prepare release pmd_releases/7.0.0-rc1
2023-03-25 12:30:51 +01:00
Clément Fournier
344b2cc17b
Merge branch 'pmd7-textfile-display-name' into clem.pmd7-refactor-cpd
2023-03-20 14:41:17 +01:00
Clément Fournier
a8c481e2ac
Move getFileNameRenderer from FileCollector
2023-03-19 23:29:45 +01:00
Clément Fournier
129b111ee6
Rename PathId -> FileId
2023-03-19 23:20:49 +01:00
Clément Fournier
a4024c0021
Fix more things
2023-03-19 21:55:05 +01:00
Clément Fournier
f7ec779f94
Fix renderers
2023-03-19 19:52:49 +01:00
Clément Fournier
2d7e200db1
add PathId class
2023-03-19 13:08:14 +01:00
Clément Fournier
5db8be42a3
Merge remote-tracking branch 'upstream/master' into clem.pmd7-refactor-cpd
2023-03-17 15:39:01 +01:00
Clément Fournier
0b2f1517ba
Merge branch '7.0.x' into clem.pmd7-refactor-cpd
2023-02-27 00:41:11 +01:00
Clément Fournier
4ebc48c2a2
Remove more deprecated stuff from PMD.java
2023-02-20 15:19:09 +01:00
Clément Fournier
9c3434a07b
Split cpd/pmd specific methods into...
...
subinterfaces of Language
2023-02-13 15:16:48 +01:00
Clément Fournier
51b5016163
Cleanups
2023-02-12 20:47:09 +01:00
Clément Fournier
9f35966ec6
Refactor EOF handling
...
Mandate that no coordinate is missing in a TokenEntry.
2023-02-12 15:59:14 +01:00
Clément Fournier
add597026c
Don't forget EOF token
2023-02-12 15:28:34 +01:00
Clément Fournier
1828faeadc
Fix some modules
2023-02-11 19:27:46 +01:00
Clément Fournier
0cab976fc5
Remove SourceCode
2023-02-11 18:22:30 +01:00
Clément Fournier
cf81809990
Change a ton of stuff in CPD
2023-02-10 18:21:23 +01:00
Clément Fournier
ef365cd9aa
Merge branch '7.0.x' into pmd7-language-lifecycle
2023-02-02 01:04:53 +01:00
Clément Fournier
a7cf226dae
Merge branch '7.0.x' into pmd7-language-lifecycle
2023-01-30 16:28:19 +01:00
Andreas Dangel
014c28bb1e
Merge branch 'pmd/7.0.x' into pmd7-junit5-part3
2023-01-30 13:36:15 +01:00
Andreas Dangel
3d530458bb
Remove junit and related dependencies
2023-01-27 11:49:03 +01:00
Clément Fournier
403fcdae82
[core] Move utility classes around
2023-01-23 18:47:52 +01:00
Clément Fournier
1187a9a977
Merge branch '7.0.x' into pmd7-language-lifecycle
2022-09-11 13:37:28 +02:00
Andreas Dangel
8387cd6409
Merge branch 'pmd/7.0.x' into pr-4049
2022-09-10 20:08:30 +02:00
Clément Fournier
c17513b138
fix more bugs
2022-07-21 16:18:48 +02:00
Clément Fournier
2cb54ff1bc
fix pmd-vf
...
needs a dependency mechanism
to prevent apex from being pruned
2022-07-21 15:13:16 +02:00
Clément Fournier
5c2260bd0f
fix more modules
2022-07-21 05:24:33 +02:00
Clément Fournier
0732739280
remove usages of lv::getLvh
2022-07-21 00:59:28 +02:00
Clément Fournier
7c9244d631
make lprocessor available on nodes
2022-07-21 00:25:18 +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
10ff8f6f0e
Wire in existing langs
2022-07-20 18:18:40 +02:00
Clément Fournier
63c01f0f5b
Merge branch '7.0.x' into text-utils-javacc
2022-07-17 17:06:37 +02:00
Clément Fournier
ba105a646c
progress, remove ContextualizedTest
2022-07-17 14:49:48 +02:00
Clément Fournier
8587844c1c
Fix build
...
Refs #2716 - langs aren't declared in java anymore
2022-07-17 14:03:23 +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
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