Brian Remedios
46263cb479
upgraded jface dependency to v3.5
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7094 51baf565-9d33-0410-a72c-fc3788e3496d
2010-03-27 13:14:27 +00:00
Brian Remedios
92eea22e4a
updated manifest for new Eclipse dependency
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7093 51baf565-9d33-0410-a72c-fc3788e3496d
2010-03-26 00:52:08 +00:00
Brian Remedios
b767617542
Preferences
...
* Rule activation checkboxes now operational - only the checked rules are used to evaluate code. No longer need to physically remove rules from the ruleset to bypass them. Settings are stored in preferences and the number of active rules is shown in the dialog when PMD runs a scan. Minor UI bug in group-by mode doesn't render parent node checks initially.
* New SelectAll/None buttons and a SortByChecked items button. Replaced several text buttons with icon versions
* Selected rules & property tabs retained by UI preferences between sessions
Fixes
* New column in rule table showing number of available fixes per rule (just two for now). The new 'Fixes' tab in the properties folders needs additional work to complete it. The Fix menu option in the violations context menu works now for the two rules that have them. Need to provide better storage for rule-fix associations - current approach only stores fix classnames - should support classname + static instance var.
CPD
* Added launch button for the Swing version of the CPD UI to the preference page. Need to migrate its better functionality to the SWT version.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7092 51baf565-9d33-0410-a72c-fc3788e3496d
2010-03-26 00:16:57 +00:00
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Brian Remedios
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
Ryan Gustafson
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
Ryan Gustafson
d04c4ba159
Duplicate changes made to 4.2.x.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6975 51baf565-9d33-0410-a72c-fc3788e3496d
2009-07-25 05:40:48 +00:00
Xavier Le Vourch
9f1edb9ce3
asm jar updated to 3.2
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6956 51baf565-9d33-0410-a72c-fc3788e3496d
2009-06-13 00:21:19 +00:00
Xavier Le Vourch
5a4ee14831
code cleanup
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6904 51baf565-9d33-0410-a72c-fc3788e3496d
2009-03-28 23:15:12 +00:00
Xavier Le Vourch
139871ffb5
merge of the violationsAsErrors config option from the 4.2.x branch
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6902 51baf565-9d33-0410-a72c-fc3788e3496d
2009-03-28 20:31:36 +00:00
Xavier Le Vourch
fc3347d73a
added 2009 in copyright
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6901 51baf565-9d33-0410-a72c-fc3788e3496d
2009-03-28 20:13:21 +00:00
Xavier Le Vourch
53776fc201
incorrect extension point in documentation
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6895 51baf565-9d33-0410-a72c-fc3788e3496d
2009-03-23 18:02:58 +00:00
Brian Remedios
ef36aee425
Misc for-loop conversions
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6886 51baf565-9d33-0410-a72c-fc3788e3496d
2009-03-09 22:46:03 +00:00
Brian Remedios
53dd793369
Restored ability add new variables for XPath rules, the dialog is raw but will be tweaked. Need to modify the Rule interface in PMD property to be able to drop them...upcoming.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6885 51baf565-9d33-0410-a72c-fc3788e3496d
2009-03-09 22:43:12 +00:00
Brian Remedios
1254933e74
misc loop conversion
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6878 51baf565-9d33-0410-a72c-fc3788e3496d
2009-02-27 16:17:05 +00:00
Brian Remedios
5c98ea43c1
Adjust field colouring to reflect overridden property values, added missing XPath version field.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6877 51baf565-9d33-0410-a72c-fc3788e3496d
2009-02-27 16:11:56 +00:00
Brian Remedios
491a6e34e8
Bugfix for disappearing rule after adding new one.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6876 51baf565-9d33-0410-a72c-fc3788e3496d
2009-02-25 02:25:12 +00:00
Brian Remedios
837c81cfb4
Added new panel to the preference page for XPath settings. Relevant tabs show "-----" when disabled now.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6875 51baf565-9d33-0410-a72c-fc3788e3496d
2009-02-24 00:17:17 +00:00
Brian Remedios
beb9f12d23
Loop conversions, extURL validation, minor ui cleanup
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6871 51baf565-9d33-0410-a72c-fc3788e3496d
2009-02-23 15:41:58 +00:00
Brian Remedios
37b2f9a3ab
typos
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6870 51baf565-9d33-0410-a72c-fc3788e3496d
2009-02-23 15:28:59 +00:00
Brian Remedios
ba9ee69e86
Deprecation tags, for-loop and StringBuffer conversions
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6869 51baf565-9d33-0410-a72c-fc3788e3496d
2009-02-23 15:22:59 +00:00
Brian Remedios
b9ded04e51
For loop and StringBuffer->StringBuilder conversions
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6868 51baf565-9d33-0410-a72c-fc3788e3496d
2009-02-23 15:07:21 +00:00
Xavier Le Vourch
461cf80bfd
pmd.jar updated to snapshot version 6861
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6867 51baf565-9d33-0410-a72c-fc3788e3496d
2009-02-22 19:29:25 +00:00
Brian Remedios
c560315d0a
Refactored packages, additional fields & panels, numerous bugfixes & improvements. Almost ready for prime time. Requires latest PMD 5.0 jar.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6866 51baf565-9d33-0410-a72c-fc3788e3496d
2009-02-22 09:28:09 +00:00
Brian Remedios
1884a2621e
+ support for multi-method properties and various bugfixes.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6796 51baf565-9d33-0410-a72c-fc3788e3496d
2009-01-18 22:42:51 +00:00