265 Commits

Author SHA1 Message Date
Romain Pelisse
843baf888d pmd: Applied patch 3427563 - Deprecated class (android.util.config), kindly provided by Lukas Reschke
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7551 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-08 12:45:46 +00:00
Dale Anson
17caae8a73 Fixed the progress bar so it uses the EVT correctly.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7204 51baf565-9d33-0410-a72c-fc3788e3496d
2011-06-30 19:58:37 +00:00
Dale Anson
ef780e5430 New build of pmd.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7203 51baf565-9d33-0410-a72c-fc3788e3496d
2011-06-30 19:22:56 +00:00
Dale Anson
171599bc39 Made checking of jsp files actually work.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7202 51baf565-9d33-0410-a72c-fc3788e3496d
2011-06-30 19:22:20 +00:00
Dale Anson
f5461a958d Added "inclusions" regex.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7201 51baf565-9d33-0410-a72c-fc3788e3496d
2011-06-28 22:10:25 +00:00
Dale Anson
71ce8591e2 Replaced with asm-3.2.jar.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7200 51baf565-9d33-0410-a72c-fc3788e3496d
2011-06-28 22:08:51 +00:00
Dale Anson
b80c8a05e7 Mostly updates for better CPD integration with jEdit.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7199 51baf565-9d33-0410-a72c-fc3788e3496d
2011-06-28 18:04:11 +00:00
Dale Anson
93d0cf4d3e Removed some annoying message boxes, sending error messages to ErrorList now.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7169 51baf565-9d33-0410-a72c-fc3788e3496d
2010-11-05 22:30:22 +00:00
Dale Anson
c5bf008330 Some code clean up, updated docs in prep for release.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7097 51baf565-9d33-0410-a72c-fc3788e3496d
2010-06-15 17:08:19 +00:00
Dale Anson
5da1cf0139 Cleaned up the option panes and added in ability to use jsp rules.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7096 51baf565-9d33-0410-a72c-fc3788e3496d
2010-05-26 15:44:19 +00:00
Dale Anson
57029a4bc9 @Deprecated
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7091 51baf565-9d33-0410-a72c-fc3788e3496d
2010-03-09 18:30:54 +00:00
Dale Anson
cea38fd0f4 Better display of rule priority, added a method to better format the example area.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7090 51baf565-9d33-0410-a72c-fc3788e3496d
2010-03-09 18:30:16 +00:00
Dale Anson
aabbdad14d Check buffer mode rather than file name extension.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7089 51baf565-9d33-0410-a72c-fc3788e3496d
2010-03-09 17:21:40 +00:00
Dale Anson
c478bbc7bf Set parent of custom rules dialog to PMD option pane so it can be centered properly.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7048 51baf565-9d33-0410-a72c-fc3788e3496d
2009-12-22 16:35:21 +00:00
Dale Anson
12cb178838 Added dialog to select custom rule files. Removed the option pane to select custom rules. This makes it possible to update the rules tree immediately and allows the user to select/unselect custom rules right away.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7043 51baf565-9d33-0410-a72c-fc3788e3496d
2009-12-19 00:11:58 +00:00
Dale Anson
4257d8b670 Deleting KappaLayout and am using the one in the CommonControls plugin.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7042 51baf565-9d33-0410-a72c-fc3788e3496d
2009-12-18 17:45:46 +00:00
Dale Anson
6dc8da52f8 Oops! Forgot to add this file with last commit. This is the new option pane to let the user choose custom rulesets.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7038 51baf565-9d33-0410-a72c-fc3788e3496d
2009-12-17 23:55:11 +00:00
Dale Anson
31e4d5e15e Added new option pane to allow the user to select custom rulesets.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7037 51baf565-9d33-0410-a72c-fc3788e3496d
2009-12-17 23:52:53 +00:00
Dale Anson
987850f9aa Added ability to export the current ruleset.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7036 51baf565-9d33-0410-a72c-fc3788e3496d
2009-12-17 21:10:22 +00:00
Dale Anson
56e0c32334 Documentation update.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7032 51baf565-9d33-0410-a72c-fc3788e3496d
2009-12-14 00:33:58 +00:00
Dale Anson
b936c21fae Update to pmd 4.2.6, added code to let CPD parse files for all jEdit modes. Note this relies on a modification to AnyLanguage in CPD that is not yet in subversion but is in the pmd-4.2.6.jar included with this plugin.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7026 51baf565-9d33-0410-a72c-fc3788e3496d
2009-12-10 05:11:13 +00:00
Dale Anson
1a5e730cbb Put hard-coded strings in properties file so they can be localized.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7014 51baf565-9d33-0410-a72c-fc3788e3496d
2009-12-05 17:25:18 +00:00
Dale Anson
acd9383c56 Added dialog to let the user choose the types of files to run CPD against from the VFSBrowser.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7013 51baf565-9d33-0410-a72c-fc3788e3496d
2009-12-05 17:03:29 +00:00
Dale Anson
1a560840be Code clean up.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7012 51baf565-9d33-0410-a72c-fc3788e3496d
2009-12-04 17:13:12 +00:00
Dale Anson
0c6f1b04f5 Updates so CPD can check all supported files, not just Java files. CPD support JSP, PHP, Ruby, C/C++, and Fortran. This is not quite complete, still need to fix the CPD access from the File System Browser. CPD from the Plugins menu works now.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7006 51baf565-9d33-0410-a72c-fc3788e3496d
2009-12-03 06:19:27 +00:00
Dale Anson
3dddbb2a54 Display rule description along with example.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6973 51baf565-9d33-0410-a72c-fc3788e3496d
2009-07-25 05:22:48 +00:00
Dale Anson
8f1c06c5a6 Better messaging to user on parse errors.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6953 51baf565-9d33-0410-a72c-fc3788e3496d
2009-06-09 17:45:28 +00:00
Dale Anson
bc6b0339a0 renamed to PMDPlugin.props
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6952 51baf565-9d33-0410-a72c-fc3788e3496d
2009-05-11 00:46:43 +00:00
Dale Anson
09376270a4 Renamed from pmd.props to PMDPlugin.props to comply with plugin standards.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6951 51baf565-9d33-0410-a72c-fc3788e3496d
2009-05-11 00:16:34 +00:00
Dale Anson
1db87472c2 Clean up, removed old, unused files, adjustments to build file and docs.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6948 51baf565-9d33-0410-a72c-fc3788e3496d
2009-05-07 17:47:44 +00:00
Dale Anson
6baa784af8 Adjustments for docs, jars.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6947 51baf565-9d33-0410-a72c-fc3788e3496d
2009-05-07 15:41:23 +00:00
Dale Anson
3fe5ea750f Putting these jars back. I deleted them earlier, thinking they weren't required, but I was obviously wrong.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6946 51baf565-9d33-0410-a72c-fc3788e3496d
2009-05-07 15:39:37 +00:00
Dale Anson
80b5bc5480 Moved jedit.html to doc directory, added doc images.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6945 51baf565-9d33-0410-a72c-fc3788e3496d
2009-05-07 14:57:18 +00:00
Dale Anson
e1148d87dc Doc updates.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6944 51baf565-9d33-0410-a72c-fc3788e3496d
2009-05-07 14:53:46 +00:00
Dale Anson
5d3918e0ad Clean up of build and props file to remove unused jars, put docs in right place, etc.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6938 51baf565-9d33-0410-a72c-fc3788e3496d
2009-05-07 03:01:05 +00:00
Dale Anson
6109cbd1c4 Made the rules option pane narrower so it would fit on smaller screens without scrolling.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6937 51baf565-9d33-0410-a72c-fc3788e3496d
2009-05-07 02:59:10 +00:00
Dale Anson
8e16865ab7 Deleted unused jar files.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6936 51baf565-9d33-0410-a72c-fc3788e3496d
2009-05-07 02:58:06 +00:00
Dale Anson
9f9e9856a0 work on option panes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6917 51baf565-9d33-0410-a72c-fc3788e3496d
2009-04-21 05:46:16 +00:00
Dale Anson
a66aff112e Update library files, new PMD 2.4.5 jar, removed oro, pmd 4.1, and pmd-swinggui jars since they are no longer used.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6916 51baf565-9d33-0410-a72c-fc3788e3496d
2009-04-20 18:19:23 +00:00
Dale Anson
0615f0a57c General updates -- upgrade to PMD 2.4.5, updates to option panes, action for designer.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6915 51baf565-9d33-0410-a72c-fc3788e3496d
2009-04-20 05:05:51 +00:00
Xavier Le Vourch
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
Dale Anson
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
Dale Anson
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
Dale Anson
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
Dale Anson
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
Dale Anson
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
Dale Anson
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
Alan Ezust
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
Alan Ezust
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
Alan Ezust
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