80 Commits

Author SHA1 Message Date
131932596b plugin compilation needs java 1.5
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6108 51baf565-9d33-0410-a72c-fc3788e3496d
2008-05-07 18:23:33 +00:00
7df495aaa9 doc update, fixed annoying anonymous messages
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6049 51baf565-9d33-0410-a72c-fc3788e3496d
2008-04-22 18:53:58 +00:00
a8d15c98ac Better fix for 1937876. Previously, any problem with loading a custom ruleset would cause the option pane to not show any rulesets. This fix traps any exception when loading custom rulesets and allows the checkbox tree model to be build with the standard PMD rulesets. Any problem with loading the standard PMD rulesets still throws an exception, which is handled by my previous fix.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5989 51baf565-9d33-0410-a72c-fc3788e3496d
2008-04-08 21:57:00 +00:00
99e26a696e fix for jEdit bug 1937876, PMD plugin crashes when using certain custom rule sets.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5988 51baf565-9d33-0410-a72c-fc3788e3496d
2008-04-08 15:36:49 +00:00
b94f79e961 If the user has checked "Run PMD on save", set the plugin to load on jEdit start up so that the "run on save" feature works right away. Unchecking "Run PMD on save" sets the "activate" property back to "defer", which is the default.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5948 51baf565-9d33-0410-a72c-fc3788e3496d
2008-04-01 13:54:43 +00:00
e9c4f2c110 bumped version number to 2.9
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5947 51baf565-9d33-0410-a72c-fc3788e3496d
2008-04-01 13:46:43 +00:00
27e59dee18 1. fixed a bug in 'check all files in a directory' where the plugin always defaulted to Java 1.4 rather than the Java version selected in the option pane.
2. Revised the option pane to use a checkbox tree rather than a list of checkboxes.  The list was long (just under 200 rules), and didn't have any grouping by ruleset.  The checkbox tree groups the rules by ruleset, and clicking the checkbox on the ruleset checks all rules contained by that ruleset.  This is way easier than looking through the long list to pick out the rules.

3. Revised the option pane so the layout is more compact and fits on the screen better. 

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5944 51baf565-9d33-0410-a72c-fc3788e3496d
2008-03-29 17:52:25 +00:00
2a5c025bd2 Updated doing the next jedit release
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5671 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-21 03:24:04 +00:00
f0a9d41983 Added description.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5670 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-21 02:54:49 +00:00
31e6a04d9d Updated to PMD-4.1
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5668 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-21 01:44:43 +00:00
8c0ce71a35 updated changelog
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5646 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-13 20:11:24 +00:00
52a51bf67c fixes to make it work with 4.1rc1 (4.0+ in fact):
JEditPMDRule removed to resolve typecast problems with XPath rules

handling of selected rules modified


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5642 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-11 03:37:27 +00:00
77c91cc83c code cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5641 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-11 03:34:16 +00:00
9750a48742 java 1.5 constructs
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5640 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-11 03:32:41 +00:00
3f209b932b update to pmd 4.1rc1
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5639 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-11 03:31:34 +00:00
aa6a927e76 First pass through the pmd plugin, to update it to pmd-4.0
Replaced jaxen 1.1-beta with 1.1
reformatted PMDOptionPane
removed some deprecated member usage
updated some collections with generics
Added new option for setting java version

does not quite work yet - I am getting 
java.lang.ClassCastException: net.sourceforge.pmd.jedit.JEditPMDRule cannot be cast to net.sourceforge.pmd.rules.XPathRule at net.sourceforge.pmd.ast.JavaRuleChainVisitor.visit(JavaRuleChainVisitor.java:28)



git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@5632 51baf565-9d33-0410-a72c-fc3788e3496d
2007-11-06 22:23:22 +00:00
49d5dccc4d Fixed changes in JEditPMDRule as per new methods in Rule interface
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4775 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-02 07:11:26 +00:00
557ac03fd3 Updated to PMD 3.8
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4562 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-04 09:45:44 +00:00
08c5a3c830 Initial Checkin. Represents on PMD Rule.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4501 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-11 05:42:09 +00:00
4af46645f7 1. Added new option "Print Rulename in ErrorList" which is helpful to trace down what rule is generating this error.
2. Lots of code cleanup using PMD!


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4493 51baf565-9d33-0410-a72c-fc3788e3496d
2006-08-16 09:42:52 +00:00
6b6ef1e31b Removed SOP
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4491 51baf565-9d33-0410-a72c-fc3788e3496d
2006-08-09 09:41:39 +00:00
1cc144ac10 Changed the way Rules are managed and given for execution to PMD due to addition of new languages to PMD and was giving error due to language mismatch.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4490 51baf565-9d33-0410-a72c-fc3788e3496d
2006-08-09 09:25:08 +00:00
e8e04d79b6 Fixed UI Layout issues in PMD Options
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4484 51baf565-9d33-0410-a72c-fc3788e3496d
2006-08-08 11:58:44 +00:00
441bcb635e Fixed Bug [1501422] PMD Plugin: example box is not updated when new items hover filed in jEdit Plugins Bug tracker. Also updated pmd.props to reflect new version
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4445 51baf565-9d33-0410-a72c-fc3788e3496d
2006-07-03 12:49:28 +00:00
de7f9c07c3 Updated to PMD 3.7
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4433 51baf565-9d33-0410-a72c-fc3788e3496d
2006-06-22 05:59:54 +00:00
73d638b45d Removed getNode usage
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4431 51baf565-9d33-0410-a72c-fc3788e3496d
2006-06-21 07:24:48 +00:00
3e01ec0f64 Updated jdk requirement to jdk 1.4
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4283 51baf565-9d33-0410-a72c-fc3788e3496d
2006-03-08 19:09:53 +00:00
15c1affaa6 Removed since not used in PMD 3.5 and hence.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4242 51baf565-9d33-0410-a72c-fc3788e3496d
2006-02-15 07:20:15 +00:00
447cc3c39a New libraries as required by PMD 3.5
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4241 51baf565-9d33-0410-a72c-fc3788e3496d
2006-02-15 07:18:27 +00:00
b324020c0d Updated to PMD 3.5 and fixed API changes in 3.5
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4240 51baf565-9d33-0410-a72c-fc3788e3496d
2006-02-15 07:15:14 +00:00
6d8730b935 added some useful tips when releasing the plugin!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4133 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-10 10:50:30 +00:00
3870aeabcc Changed jEdit's version
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4131 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-10 10:02:31 +00:00
aeb7ceaa58 Releasing PMD jEdit plugin 2.6
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4130 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-10 09:24:26 +00:00
0d45295471 Releasing PMD jEdit plugin 2.6
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4129 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-10 09:16:29 +00:00
a1af2b6e78 Updated to PMD 3.4
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4034 51baf565-9d33-0410-a72c-fc3788e3496d
2005-12-05 06:58:32 +00:00
c90da88d2c Updated to PMD 3.3
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3887 51baf565-9d33-0410-a72c-fc3788e3496d
2005-10-04 07:26:29 +00:00
25eb6c0512 Updated to PMD 3.1
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3495 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-16 10:07:48 +00:00
26b9593c53 Updated to PMD 3.0
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3431 51baf565-9d33-0410-a72c-fc3788e3496d
2005-04-13 06:56:45 +00:00
efb1eb56c7 Updated pmd jedit to PMD 2.3 and jEdit 4.3 pre versions
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3238 51baf565-9d33-0410-a72c-fc3788e3496d
2005-02-14 07:01:47 +00:00
b8b5aacb8c Added Ignore Literals and Identifiers option for CPD
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3106 51baf565-9d33-0410-a72c-fc3788e3496d
2004-12-27 11:26:25 +00:00
f7e51f5ab4 Updated to PMD 2.1 release
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3095 51baf565-9d33-0410-a72c-fc3788e3496d
2004-12-21 13:25:51 +00:00
77c9a7ff59 Upgraded to PMD 2.0 and removed inconsistencies pointed out by running PMD!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3008 51baf565-9d33-0410-a72c-fc3788e3496d
2004-10-25 06:31:10 +00:00
9b49ec6f6c Re-Added libraries as Binary
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2974 51baf565-9d33-0410-a72c-fc3788e3496d
2004-10-08 13:51:01 +00:00
5de7c5666d Removed jars wrongly checked-in in Text mode instead of Binary
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2973 51baf565-9d33-0410-a72c-fc3788e3496d
2004-10-08 13:46:04 +00:00
1714d019b0 Preparing for release
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2886 51baf565-9d33-0410-a72c-fc3788e3496d
2004-08-16 09:35:33 +00:00
485b80b350 Preparing for release
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2885 51baf565-9d33-0410-a72c-fc3788e3496d
2004-08-16 09:24:37 +00:00
cd33a7e69f Usability enhancement of remembering recursive flag in File Browser
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2830 51baf565-9d33-0410-a72c-fc3788e3496d
2004-07-23 09:46:11 +00:00
3e37ecb639 Minor optimization to store report references of only Errorneous files and not all as in previous commit
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2807 51baf565-9d33-0410-a72c-fc3788e3496d
2004-07-16 10:58:41 +00:00
fde890726e Updated to PMD 1.9, Fixed improper highlighting of Rule Violations. Because of this bug, any open file in jEdit was showing errors of other files too.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2806 51baf565-9d33-0410-a72c-fc3788e3496d
2004-07-16 10:33:28 +00:00
482045e2fb Removed Recursive Directory options and integrated them into FileChooser itself.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2747 51baf565-9d33-0410-a72c-fc3788e3496d
2004-06-16 12:24:10 +00:00