Commit Graph
26739 Commits
Author SHA1 Message Date
Andreas Dangel b015bda6ce [apex] Use current languageVersion for ApexVersion property 2023-09-21 17:05:52 +02:00
Andreas Dangel 55ee8b3461 [apex] Improve handling of <clinit> and such... 2023-09-21 16:47:58 +02:00
Andreas Dangel 22f5a09715 Fix pmd issues - LooseCoupling 2023-09-14 11:03:28 +02:00
Andreas Dangel 82bc73c825 Merge branch 'master' into pr-4479 2023-09-14 09:56:38 +02:00
Andreas Dangel 30416aee1a [apex] ASTMethod#getImage - Use BaseApexClass
Refs #4479
2023-09-14 09:34:14 +02:00
Andreas Dangel 17601960a3 [core][apex] Support TextDocument#offsetAtLineColumn
- not for FragmentedTextDocuments

Refs #4479
2023-09-14 09:33:31 +02:00
Andreas Dangel 347d5992d1 Merge pull request #4649 from rcorfieldffdc:defect/4646-apex-soql-injection-sobjecttype-token-variables
[apex] Add SObjectType and SObjectField to list of injectable SOQL variable types #4649
2023-09-09 12:19:10 +02:00
Andreas Dangel a3644479e6 Add @m0rjc as a contributor
Closes #4648
2023-09-09 12:14:22 +02:00
Andreas Dangel 007decabe4 Add @rcorfieldffdc as a contributor
Closes #4647
2023-09-09 12:13:52 +02:00
Andreas Dangel 7d0e1f00cc [doc] Update release notes (#4649, #4646) 2023-09-09 12:11:19 +02:00
Andreas Dangel a2a64a7577 Merge pull request #4651 from cyw3:master (rebased)
[doc] Add "Tencent Cloud Code Analysis" in Tools / Integrations #4651

Closes #4651
2023-09-09 11:30:46 +02:00
Andreas Dangel c6a10db72b Update @cyw3 as a contributor 2023-09-09 11:25:27 +02:00
Andreas Dangel ecb6b39294 [doc] Update release notes (#4651) 2023-09-09 11:24:59 +02:00
Andreas Dangel deb60b1521 [doc] Sort tools for automatic code review alphabetically 2023-09-09 11:23:46 +02:00
yale 71e622f789 📝 update integrations md 2023-09-09 11:20:44 +02:00
Andreas Dangel 19f14e906e Merge pull request #4664 from wener-tiobe:patch-1
[cli] CPD: Fix NPE when only --file-list is specified #4664
2023-09-09 11:17:00 +02:00
Andreas Dangel 7076f162d7 [doc] Update release notes (#4423, #4664) 2023-09-09 10:55:41 +02:00
Andreas Dangel 8db5e83a37 [cli] Add test case for CPD --file-list 2023-09-09 10:55:00 +02:00
Andreas Dangel ca53c60ea8 Merge pull request #4665 from AndreyBozhko:autocloseable
[java] Doc: Fix references AutoClosable -> AutoCloseable #4665
2023-09-08 21:17:54 +02:00
Andreas Dangel dc1d4f9096 Add @AndreyBozhko as a contributor 2023-09-08 21:17:31 +02:00
Andreas Dangel b4150afcd5 [doc] Update release notes (#4665) 2023-09-08 21:15:55 +02:00
Andrey Bozhko ba35bdc6bc [doc] AutoClosable -> AutoCloseable 2023-09-06 16:50:16 +00:00
Wener d79df96b7d Update CpdCommand.java 2023-09-06 18:01:19 +02:00
Andreas Dangel 512d6cbb8d Merge pull request #4590 from adangel:issue-4294-migration-guide
[doc] Add migration guide for PMD 7 #4590
2023-08-31 16:20:57 +02:00
Andreas Dangel 61b603798c [doc] Update release notes (#4294, #4590) 2023-08-31 16:20:07 +02:00
Andreas Dangel a0b700dd95 [doc] Use unicode left arrow ➡️ instead of -> 2023-08-31 15:09:06 +02:00
Andreas Dangel aeba5f4fe6 [doc] Add "Migrating custom CPD language modules"
#4397
2023-08-31 15:06:07 +02:00
Andreas Dangel 55c65faa06 [doc] Update version of maven-pmd-plugin 2023-08-31 14:59:12 +02:00
Andreas Dangel 859a06a7e6 [doc] List rules which use now a different delimiter for multi-valued properties
#4380
2023-08-31 14:54:52 +02:00
Andreas Dangel 55eefcac03 Merge branch 'master' into issue-4294-migration-guide 2023-08-31 14:47:13 +02:00
Andreas Dangel 056b339eb4 Merge pull request #4397 from oowekyala:clem.pmd7-refactor-cpd
[core] Refactor CPD #4397
2023-08-29 19:23:23 +02:00
Andreas Dangel fc0b3ad145 [doc] Release notes (#4397) 2023-08-27 18:41:20 +02:00
Andreas Dangel f65a7cb450 [doc] Release notes and API changes (#3919, #4204, #4323, #4397) 2023-08-27 17:35:52 +02:00
Andreas Dangel ad4a19fbe2 [doc] CPD Language Properties 2023-08-27 17:33:56 +02:00
Andreas Dangel a2765a17f0 [doc] Update CPD supported languages 2023-08-27 16:09:58 +02:00
Andreas Dangel 1aefe472c3 Add correct tokenizers for vm, pom, wsdl and xsl 2023-08-26 18:49:08 +02:00
Andreas Dangel c1109b48fa [core] Fix potential NPE in SourceManager
when SoftReferences have been freed.
2023-08-26 18:49:03 +02:00
Andreas Dangel 908f480702 [core] CPD GUI - fix empty SourceManager
- Introduce ExitAction
- Sort languages by name
2023-08-26 18:48:57 +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 80856732cc Fix checkstyle 2023-08-24 14:19:36 +02:00
Andreas Dangel 41ff4beb2b [php] Recognize "//" as eol comment 2023-08-24 11:58:16 +02:00
Andreas Dangel 8511c7b0e1 [core] Move PmdCapableLanguage to n.sf.pmd.lang 2023-08-24 11:42:50 +02:00
Andreas Dangel 6298d87e71 [core] Add minimal javadoc for CpdAnalysis 2023-08-24 11:39:59 +02:00
Andreas Dangel 681c52836c [core] Create CpdLanguageProperties 2023-08-24 11:14:08 +02:00
Andreas Dangel 932ac33d15 Merge branch 'master' into pr-4397 2023-08-24 09:48:28 +02:00
Andreas Dangel 3984dc2493 [core] Configurations - keep fields private 2023-08-24 09:46:09 +02:00
Andreas Dangel 5200cc9e8a [cli] Fix javadoc 2023-08-24 09:32:01 +02:00
Andreas Dangel c6a63da887 [cli] Remove todo about slf4j 2023-08-24 09:28:49 +02:00
Andreas Dangel 67cbb947ef [cli] Move option "--relativize-paths-with" up to AbstractAnalysisPmdSubcommand
It applies to both PMD and CPD
2023-08-24 09:25:29 +02:00
Andreas Dangel df08d08608 [apex] Remove cpd property CASE_SENSITIVE 2023-08-24 09:10:06 +02:00