25912 Commits

Author SHA1 Message Date
Andreas Dangel
910d3178db
[doc] Fix urls for documentation
- Don't publish the doc anymore to pmd.github.io - the docs are now hosted at docs.pmd-code.org
- Update sitemap.xml - no extra sitemap generation anymore
2023-03-30 12:35:21 +02:00
Andreas Dangel
1c0d6c6a4f
[doc] Fix base url for documentation 2023-03-30 11:52:18 +02:00
Andreas Dangel
08e7afc252
[doc] Restore release notes for next rc 2023-03-30 11:47:17 +02:00
Andreas Dangel
8f240ba11d
Prepare next development version [skip ci] 2023-03-25 12:51:17 +01: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 pmd_releases/7.0.0-rc1 2023-03-25 12:30:51 +01:00
Andreas Dangel
103beed66d
Prepare pmd release 7.0.0-rc1 2023-03-25 12:30:40 +01:00
Andreas Dangel
b8e1c114b9
[doc] Fix release notes
Can't use jekyll includes outside of jekyll...
Can't use markdown in jekyll inside html...
2023-03-25 10:52:47 +01:00
Andreas Dangel
01617c4c7b
Don't use maven-release-plugin for release candidates
This allows us to use 7.0.0-SNAPSHOT for the designer
2023-03-25 10:46:52 +01:00
Andreas Dangel
0cfa71162c
Bump build-tools from 20 to 21 2023-03-25 09:53:29 +01:00
Andreas Dangel
c3bc33e8a2
Configure propertiesEncoding for maven-resources-plugin 2023-03-23 10:47:10 +01:00
Andreas Dangel
e320048700
Merge pull request #4389 from adangel:pmd7-kotlin-update-grammar-1.8
[kotlin] Update grammar to version 1.8 #4389
2023-03-23 10:30:23 +01:00
Andreas Dangel
40fe60a594
[doc] Update release notes (#4389) 2023-03-23 10:29:54 +01:00
Andreas Dangel
b41a4f9cdd
Merge branch 'master' into pr-4389 2023-03-23 10:28:39 +01:00
Andreas Dangel
545bc0adc5
Merge pull request #4428 from sfdcsteve:master
[apex] ApexBadCrypto bug fix for #4427 - inline detection of hard coded values #4428
2023-03-23 10:27:37 +01:00
Andreas Dangel
638212af72
[doc] Update release notes (#4427, #4428) 2023-03-23 10:27:07 +01:00
Andreas Dangel
ff8d8e1462
Add @sfdcsteve as a contributor 2023-03-23 10:26:36 +01:00
Andreas Dangel
dd9d64a475
Merge branch 'master' into pr-4428 2023-03-23 10:25:00 +01:00
Andreas Dangel
919b1d246a
Merge pull request #4417 from oowekyala:pmd7.micro-opts
[core] [java] More micro opts #4417
2023-03-23 10:24:26 +01:00
Andreas Dangel
6179982002
[doc] Fix dead links 2023-03-23 10:21:10 +01:00
Andreas Dangel
14e29b59c2
Merge pull request #4429 from oowekyala:pmd7-warn-debug
[java] Make missing class warnings debug level #4429
2023-03-23 09:51:10 +01:00
Andreas Dangel
8d9e5553b9
Merge pull request #4422 from adangel:pmd7-warning-without-debug
[core] Log semantic error warnings without debug note #4422
2023-03-23 09:49:32 +01:00
Andreas Dangel
a93a94bce2
Merge pull request #4423 from adangel:pmd7-cli-file-list
[cli] Fix NPE when only --file-list is specified #4423
2023-03-23 09:48:11 +01:00
Andreas Dangel
78a7a5a445
Merge pull request #4373 from adangel:pmd7-update-release-notes
[doc] Update release notes for PMD 7.0.0-rc1 #4373
2023-03-23 09:46:56 +01:00
Andreas Dangel
5f01e8b79f
Update release notes regarding release candidate
[skip ci]

Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
2023-03-23 09:43:04 +01:00
Clément Fournier
8307d8f5fa
make missing class warnings debug level
Ref #3914
2023-03-21 21:22:19 +01:00
Clément Fournier
c222173234
Also add an optimized forEach impl
Benchmark                                   (sourceFname)  Mode  Cnt   Score   Error  Units
StreamBench.foreachOnChildrenStream     /PLSQLParser.java  avgt    4  14,992 ± 0,169  ms/op
StreamBench.foreachOnChildrenStreamOpt  /PLSQLParser.java  avgt    4   8,179 ± 0,141  ms/op
StreamBench.loopOnChildrenStream        /PLSQLParser.java  avgt    4   9,694 ± 0,549  ms/op
StreamBench.optimizedLoop               /PLSQLParser.java  avgt    4   7,631 ± 0,143  ms/op

"foreachOnChildrenStreamOpt" is the new implementation, the old is "foreachOnChildrenStream".
For comparison, this new impl of forEach with a lambda appears slightly faster than using a
for-each loop on the children stream, and using a manually indexed loop (with getChild) is
slightly faster.
2023-03-21 20:06:00 +01:00
Steve Stearns
ba297a2a8e Fine tuning style issues 2023-03-20 09:45:22 -05:00
Steve Stearns
e922278497 Fixing imports for code style issues 2023-03-20 09:28:48 -05:00
Steve Stearns
d181b565b3 Fixing a bug in ApexBadCrypto related to inline detection 2023-03-20 09:09:23 -05:00
Andreas Dangel
013ada5def
[ci] Render release notes also for snapshots
This updates ReadMe.md on sourceforge for snapshots as well:
https://sourceforge.net/projects/pmd/files/pmd/7.0.0-SNAPSHOT/
2023-03-19 11:42:38 +01:00
Clément Fournier
8c448f2fd8
Make children more efficient on AbstractNode 2023-03-18 16:48:34 +01:00
Clément Fournier
386d77fb68
Move invoke=true 2023-03-18 15:20:46 +01:00
Clément Fournier
d1816619c6
Replace 139 with 31 2023-03-18 15:17:54 +01:00
Clément Fournier
6010674e69
Merge branch 'master' into pmd7.micro-opts 2023-03-18 15:17:00 +01:00
Andreas Dangel
6621603908
[cli] Fix NPE when only --file-list is specified 2023-03-18 11:02:08 +01:00
Clément Fournier
24a089bfd3
Remove duplicated dependency declaration
Causing a maven warning
Same dependency is declared 20 lines above.
2023-03-17 14:55:09 +01:00
Andreas Dangel
3eb396b04f
[core] Log semantic error warnings without debug note 2023-03-17 11:25:27 +01:00
Andreas Dangel
11e2a8687e
Update gems
Fixes https://github.com/pmd/pmd/security/dependabot/37
Fixes CVE-2023-28120
Fixes https://github.com/advisories/GHSA-pj73-v5mw-pm9j
2023-03-17 10:40:15 +01:00
Andreas Dangel
4a14cb7ad7
Merge pull request #4420 from oowekyala:clem.pmd7-remove-pmd-eol
[core] Remove PMD.EOL #4420
2023-03-17 10:30:58 +01:00
Andreas Dangel
ee850736f4
Merge branch 'master' into clem.pmd7-remove-pmd-eol 2023-03-17 09:40:54 +01:00
Andreas Dangel
2922221191
[doc] Update release notes (#4420) 2023-03-17 09:37:48 +01:00
Andreas Dangel
710f9cf2b6
Use AbstractRendererTest#EOL 2023-03-17 09:37:35 +01:00
Andreas Dangel
0b6c349db9
Use \R for line breaks 2023-03-17 09:37:01 +01:00
Andreas Dangel
4ab91cb6ea
Merge pull request #4416 from oowekyala:clem.fix-comment-content
[java] Fix reported line number in CommentContentRule #4416
2023-03-17 08:23:16 +01:00
Andreas Dangel
7e3c92193a
[doc] Update release notes (#4416) 2023-03-17 08:22:29 +01:00
Andreas Dangel
5096cab794
[java] CommentSize/CommentContent - update tests 2023-03-17 08:17:53 +01:00
Andreas Dangel
5ab95a3e59
Revert changes to BinaryDistributionIT, only add kotlin-1.8 2023-03-16 11:38:54 +01:00
Andreas Dangel
e5b14532ef
[doc] Fix github logo 2023-03-16 11:24:09 +01:00
Andreas Dangel
06fee00b16
[doc] Restructure release notes, add detailed page
Main release notes are much shorter.
The full details is in a separate page.
Started to migrated Java Clean Changes from wiki.
2023-03-16 11:00:00 +01:00