6282 Commits

Author SHA1 Message Date
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
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
4fc136dd9b Refined action enablement for showRule menu option
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7088 51baf565-9d33-0410-a72c-fc3788e3496d
2010-03-04 19:22:52 +00:00
c5cf47854a Refactored error handling, disable actions when no violations are selected
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7087 51baf565-9d33-0410-a72c-fc3788e3496d
2010-03-04 18:52:30 +00:00
a7d9d9297e Bugfix
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7086 51baf565-9d33-0410-a72c-fc3788e3496d
2010-03-03 20:58:33 +00:00
ae0e87daa1 + missing utility class for repository access
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7085 51baf565-9d33-0410-a72c-fc3788e3496d
2010-03-03 16:03:02 +00:00
c60d6c931c Rule table now shows sort column indicators
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7084 51baf565-9d33-0410-a72c-fc3788e3496d
2010-03-03 15:59:50 +00:00
99f1cfff8b new tab icons, updated changelog & plugin.xml
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7083 51baf565-9d33-0410-a72c-fc3788e3496d
2010-03-03 15:53:56 +00:00
5b0a32df4e Refactorings: new packages for CPD & dataflow views, new abstract superclasses for actions, commands, views. For-loop conversions, ArrayList -> List reference changes.
Rearranged context menu icons - still need some unique ones for three other entries
Dataflow: NPE fix post view closing, view always shows first method by default, labeled method list, new tab icon, outlined & positioned nodes.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7082 51baf565-9d33-0410-a72c-fc3788e3496d
2010-03-03 15:51:45 +00:00
293f908f25 Centralized marker deletion & sourcing.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7081 51baf565-9d33-0410-a72c-fc3788e3496d
2010-03-03 15:37:07 +00:00
1b75a0519b Misc typos, no semantic changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7080 51baf565-9d33-0410-a72c-fc3788e3496d
2010-03-03 06:07:17 +00:00
167e73fdc8 A better empty string check
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7079 51baf565-9d33-0410-a72c-fc3788e3496d
2010-03-03 04:39:55 +00:00
480dda3e32 Updated text-numeric fields to use spinner widgets instead.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7078 51baf565-9d33-0410-a72c-fc3788e3496d
2010-03-03 04:38:29 +00:00
231a163f28 Updated dialog with modern spinner widget
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7077 51baf565-9d33-0410-a72c-fc3788e3496d
2010-03-02 02:33:00 +00:00
776c05d1f9 Now using native column sort indicators. Go Team Canada!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7076 51baf565-9d33-0410-a72c-fc3788e3496d
2010-02-28 21:35:12 +00:00
8751881f86 Bugfix & typos
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7075 51baf565-9d33-0410-a72c-fc3788e3496d
2010-02-27 23:12:57 +00:00
a2a2c3c321 Minor: replaced icon file names with existing constants
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7074 51baf565-9d33-0410-a72c-fc3788e3496d
2010-02-16 16:23:20 +00:00
9b15b5e391 Refactored the descriptor factories onto the property descriptors themselves.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7073 51baf565-9d33-0410-a72c-fc3788e3496d
2010-02-16 16:16:45 +00:00
b069ec1098 Performance optimization for ends-with type include/exclude patterns. Assuming one has N patterns, and M files to check, one starts to see noticeable improvements once N*M is greater than 100,000.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7072 51baf565-9d33-0410-a72c-fc3788e3496d
2010-02-13 05:35:55 +00:00
7e3739d463 Initial revisions updating the creation of PropertyDescriptors to/from XML via factories & more reflective descriptors. Will probably break some tests until we settle on a consistent XML schema.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7070 51baf565-9d33-0410-a72c-fc3788e3496d
2010-02-07 00:22:31 +00:00
d31715dc34 Initial revisions updating the creation of PropertyDescriptors to/from XML via factories & more reflective descriptors. Will probably break some tests until we settle on a consistent XML schema.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7069 51baf565-9d33-0410-a72c-fc3788e3496d
2010-02-07 00:18:43 +00:00
5ebf102fe7 Add reference to QAPlug for Intellaj IDEA.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7068 51baf565-9d33-0410-a72c-fc3788e3496d
2010-02-02 15:59:13 +00:00
53199b618a Add reference to SolidSDD, similar to CPD.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7066 51baf565-9d33-0410-a72c-fc3788e3496d
2010-01-26 00:53:01 +00:00
9bce16bde0 bugfix
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7065 51baf565-9d33-0410-a72c-fc3788e3496d
2010-01-16 14:41:36 +00:00
673e614a38 +Javadoc
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7064 51baf565-9d33-0410-a72c-fc3788e3496d
2010-01-12 01:04:04 +00:00
0bf768abb3 minor optimizations
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7063 51baf565-9d33-0410-a72c-fc3788e3496d
2010-01-12 01:00:10 +00:00
3d3f4d98eb update ToDo list
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7062 51baf565-9d33-0410-a72c-fc3788e3496d
2010-01-09 16:35:31 +00:00
a21b1b320b Priority column now uses compact icons, new property editor tester
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7061 51baf565-9d33-0410-a72c-fc3788e3496d
2010-01-09 16:10:44 +00:00
32fe36028d fixed bug False+ on CloseResource - ID: 2920057 by applying Nicolas Dordet patch.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7060 51baf565-9d33-0410-a72c-fc3788e3496d
2010-01-08 17:16:35 +00:00
c114e27594 property editor improvements, i18l updates
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7059 51baf565-9d33-0410-a72c-fc3788e3496d
2010-01-07 05:16:57 +00:00
193d5bde5e updated for generic signature in util method
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7058 51baf565-9d33-0410-a72c-fc3788e3496d
2010-01-07 02:27:14 +00:00
456d612252 Added some missing types, expanded comments, formatting.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7057 51baf565-9d33-0410-a72c-fc3788e3496d
2010-01-07 02:24:41 +00:00
449d70262f Added new XPath filter column that renders coloured circle values.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7056 51baf565-9d33-0410-a72c-fc3788e3496d
2010-01-04 07:59:57 +00:00
b4e12e4886 Bugfix for tardy redraw/updates in filter column for regex exclusion filter changes, nice & pronto now :)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7055 51baf565-9d33-0410-a72c-fc3788e3496d
2010-01-04 06:44:34 +00:00
4b12f4c30e Updated ToDo list
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7054 51baf565-9d33-0410-a72c-fc3788e3496d
2010-01-04 04:57:21 +00:00
afa078ca82 Removed redundant Edit rule button, Since field from the Add rule dialog. New tooltips over table cells provide greater detail: hover over a coloured box in the filter column to bring up the filter expression. Rule table now remembers visible/hidden columns between sessions (need to park the prefs file in a std location though).
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7053 51baf565-9d33-0410-a72c-fc3788e3496d
2010-01-04 04:24:13 +00:00
2cafbf9243 I18L updates, UI tweaks, additional displayable rule columns available via popup menu
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7052 51baf565-9d33-0410-a72c-fc3788e3496d
2010-01-03 18:07:05 +00:00
eb50e46f89 I18L updates, better explanatory tooltips for rule aspect column headings, initial MultiEnumerationEditor (read-only for now), bugfixes for spinner widget updates
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7051 51baf565-9d33-0410-a72c-fc3788e3496d
2010-01-03 04:32:29 +00:00
5d06e3bdae Added language column & grouping capability to rule table, revised console output
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7050 51baf565-9d33-0410-a72c-fc3788e3496d
2010-01-02 20:25:50 +00:00
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
e67a7ca91d bugfix for previous commit
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7047 51baf565-9d33-0410-a72c-fc3788e3496d
2009-12-20 07:42:39 +00:00
391805fc1e Additional constructors for packaged property types (Class/Type/Method)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7046 51baf565-9d33-0410-a72c-fc3788e3496d
2009-12-20 07:03:15 +00:00
3c6f2d27ff Update to latest PMD core. And Rhino jar update.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7045 51baf565-9d33-0410-a72c-fc3788e3496d
2009-12-19 07:32:11 +00:00
5012b2b129 Renamed the XML Schema and DTD to follow a version naming scheme. Remove the clearly redundant _xml_schema from the XSD. Perhaps ruleset_extensible_markup_language_schema_definition.xsd was too long. ;)
A public version will be found at: http://pmd.sourceforge.net/ruleset_2_0_0.xsd|dtd

Unclear to me what makes that happen, but we'll figure it out.  Need to make sure we don't clobber the pre-5.0 versions when we publish.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7044 51baf565-9d33-0410-a72c-fc3788e3496d
2009-12-19 01:35:10 +00:00
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
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
3d439fadf2 adapting docs generation to new rulesets directory layout
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7041 51baf565-9d33-0410-a72c-fc3788e3496d
2009-12-18 16:24:56 +00:00
23dbb71036 Add Eclipse plugin as a TODO.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7040 51baf565-9d33-0410-a72c-fc3788e3496d
2009-12-18 04:06:58 +00:00
e1ef462778 Remove items from changelog.txt into TODO.txt that are not release critical for 5.0. Organized the remaining items into code/doc categories.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7039 51baf565-9d33-0410-a72c-fc3788e3496d
2009-12-18 04:02:27 +00:00
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