129 Commits

Author SHA1 Message Date
Andreas Dangel
345bb24a25
[release] prepare for next development iteration 2023-09-30 17:15:59 +02:00
Andreas Dangel
720b9a328b
[release] prepare release pmd_releases/7.0.0-rc4 2023-09-30 17:15:54 +02:00
Andreas Dangel
32afa53f8e
All language modules: getInstance()
Use a consistent implementation of getInstance().
Now all modules resolve against the LanguageRegistry.
2023-08-24 16:01:27 +02:00
Andreas Dangel
681c52836c
[core] Create CpdLanguageProperties 2023-08-24 11:14:08 +02:00
Clément Fournier
629e3b415c
Consolidate CPD packages 2023-06-10 14:30:07 +02:00
Clément Fournier
c572cb88d7
Rename package cpd.internal to cpd.impl 2023-02-13 15:18:37 +01:00
Clément Fournier
ddbfc90c14
Fix build 2023-02-12 20:06:28 +01:00
Clément Fournier
fb9f49624d
Delete old CPD Language interface
reorganize cpd modules
2023-02-12 18:03:58 +01:00
Clément Fournier
cf81809990
Change a ton of stuff in CPD 2023-02-10 18:21:23 +01:00
Andreas Dangel
c23ecab2c6
Make test classes and methods package-private 2023-01-17 15:41:31 +01:00
Andreas Dangel
a4422cf2e6
Merge branch 'pmd/7.0.x' into pmd7-junit5-part2 2022-10-03 09:08:59 +02:00
Andreas Dangel
ad7ac9be5f
[lua] Fix compile errors 2022-09-30 12:40:24 +02:00
Andreas Dangel
c0dff0d75a
Merge branch 'master' into pmd/7.0.x 2022-09-30 12:17:45 +02:00
Andreas Dangel
4d630031c4
Add missing test files 2022-09-24 17:29:00 +02:00
Andreas Dangel
746fcbf086
[lua] Fixups from #4066 2022-09-24 17:18:32 +02:00
Andreas Dangel
dcd8ff0ac0
[lua] Fix parsing of short/long comments 2022-09-24 17:13:29 +02:00
Matt Hargett
f7a5f9cad9 fix incorrect comments 2022-09-13 22:17:43 -07:00
Matt Hargett
936cbafd36 remove unused param 2022-09-13 21:58:02 -07:00
Matt Hargett
7d9a84fdde Format to have more consistent style with itself. Most other files appear to have mixed formatting. 2022-09-09 16:51:33 -07:00
Matt Hargett
b8b4e513ac Support multi-line 'normal' strings. Support skipping literal sequences. More minor adjustments to make the testing corpus tokenize without errors. 2022-09-09 16:42:18 -07:00
Matt Hargett
7747b75091 Cleanups and minor tweaks for issues found in testing across 500KLOC of open source Lua code. 2022-09-08 12:46:43 -07:00
Matt Hargett
7cf9c6571e add an if-expression twist 2022-09-07 19:37:13 -07:00
Matt Hargett
026015954a Move rules from lexer to parser. Fix some bugs found in manual testing. Add bugs found via manual testing to new lua test file. 2022-09-07 19:29:55 -07:00
Matt Hargett
c59ee1d55d Merge branch 'master' of github.com:pmd/pmd into lua-types 2022-09-07 17:00:14 -07: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
Matt Hargett
ba77fa19e5 Merge branch 'master' of github.com:pmd/pmd into lua-types 2022-08-14 09:35:20 -07: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
Andreas Dangel
394c0cbf3b
[lua] Migrate tests to Junit5 2022-07-29 17:23:17 +02:00
Matt Hargett
3d6fab0782 rename new snapshot artifact to better express intent 2022-07-26 13:29:19 -07:00
Matt Hargett
cfb8374611 Capture more syntax scenarios in the regression test, update the snapshot. 2022-07-26 13:25:14 -07:00
Matt Hargett
8aaa1302cc Support all Luau type extension syntax available in all test corpus sources. Add a regression test for a few of the things that required tweaks. 2022-07-26 00:13:35 -07:00
Matt Hargett
65fef39a4c Initial Lua type grammar 2022-07-25 21:43:54 -07:00
Andreas Dangel
41eb096dbd
Merge branch 'master' into pmd/7.0.x 2022-07-25 20:07:11 +02:00
Matt Hargett
b189d07a15 Fix another superflous ws 2022-07-24 13:41:37 -07:00
Matt Hargett
5dc75e720b Remove superfluous whitespace' 2022-07-24 13:31:24 -07:00
Matt Hargett
8fa558e754 Add explaining comment, cleanup inconsistent fragment formatting 2022-07-24 13:26:37 -07:00
Matt Hargett
54918a7097 Comments have to go to HIDDEN channel so that suppression comments will work. 2022-07-24 13:19:21 -07:00
Matt Hargett
f7f449ca2b Luau benchmarks and conformance suite all analyze fine, update test suite comment. 2022-07-24 13:09:30 -07:00
Matt Hargett
08cc6a1c5c World of Warcraft Lua uses a few non-standard escape patterns, which are easy enough to add and shouldn't introduce any confusions with errors messages on other dialects. 2022-07-24 13:04:14 -07:00
Matt Hargett
50b06f37bc Fortify the Lua parser to fix parse error in several OSS Lua codebases when trying to use CPD. 2022-07-24 12:58:49 -07: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
ec64315ad7
[maven-release-plugin] prepare for next development iteration 2022-04-30 09:38:24 +02:00