221 Commits

Author SHA1 Message Date
Brian Remedios
a9d4f72d91 * New violation outline view with additional (optional) columns, uses new symbols
* Column sorting for AST view and Violation Outline
* Rule table shows dysfunctional rules in italics with warning symbols
* Bugfix for rule selection in grouping mode
* Refactored rule column descriptors
* Initial support for custom formats for column data
* Support for new File property type
* Property panel now disables property controls deemed non-functional by the rule
* Refactored cell painter builders

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7188 51baf565-9d33-0410-a72c-fc3788e3496d
2011-03-07 06:19:45 +00:00
Brian Remedios
26ff635b88 revert version #
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7185 51baf565-9d33-0410-a72c-fc3788e3496d
2011-01-30 07:32:23 +00:00
Brian Remedios
7a29437e3d refactoring, adaptations for new comment ruleset
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7184 51baf565-9d33-0410-a72c-fc3788e3496d
2011-01-29 10:47:01 +00:00
Brian Remedios
65b64ce07a better control enable/disablement
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7181 51baf565-9d33-0410-a72c-fc3788e3496d
2011-01-22 22:16:43 +00:00
Brian Remedios
5083fa091e rm non-functional menu item
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7179 51baf565-9d33-0410-a72c-fc3788e3496d
2011-01-21 05:56:29 +00:00
Brian Remedios
e8dd8cacce +new option to control full builds per project (checkbox in project preference page).
Thanks to Joe Freeman for the contribution.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7168 51baf565-9d33-0410-a72c-fc3788e3496d
2010-11-05 07:00:35 +00:00
Brian Remedios
2d0720b749 cleaned up CRs
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7157 51baf565-9d33-0410-a72c-fc3788e3496d
2010-10-05 04:07:48 +00:00
Brian Remedios
1f7b0c361a !!!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7156 51baf565-9d33-0410-a72c-fc3788e3496d
2010-10-05 03:54:59 +00:00
Brian Remedios
25093cb56c !!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7155 51baf565-9d33-0410-a72c-fc3788e3496d
2010-10-05 03:54:40 +00:00
Brian Remedios
b00759052e !!!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7154 51baf565-9d33-0410-a72c-fc3788e3496d
2010-10-05 03:54:15 +00:00
Brian Remedios
cbe2577d02 !!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7153 51baf565-9d33-0410-a72c-fc3788e3496d
2010-10-05 03:53:29 +00:00
Brian Remedios
8a860ff05c !!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7152 51baf565-9d33-0410-a72c-fc3788e3496d
2010-10-05 03:50:08 +00:00
Brian Remedios
2f5a834dab !!!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7151 51baf565-9d33-0410-a72c-fc3788e3496d
2010-10-05 03:49:35 +00:00
Brian Remedios
285a3a85d4 smaller chunks at a time maybe?
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7150 51baf565-9d33-0410-a72c-fc3788e3496d
2010-10-05 03:48:26 +00:00
Brian Remedios
da1040366d !!
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7149 51baf565-9d33-0410-a72c-fc3788e3496d
2010-10-05 03:46:43 +00:00
Brian Remedios
8b5812d6e9 work-in-progress
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7148 51baf565-9d33-0410-a72c-fc3788e3496d
2010-10-01 02:58:54 +00:00
Brian Remedios
9d6643696f +horizontal sash in ASTView, general refactoring
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7146 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-29 15:59:18 +00:00
Brian Remedios
12b79c1fff updated Project prefs table, rm unnecessary this. prefixes, rm dead code
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7145 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-29 02:52:48 +00:00
Brian Remedios
b1847bbfc8 Syntax colouring in summary examples, externalized strings, minor optimizations
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7144 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-28 14:35:09 +00:00
Brian Remedios
de83352988 updated
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7143 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-25 12:40:26 +00:00
Brian Remedios
753eaef123 Cleaned up preferences, new Summary tab/page
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7142 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-25 12:34:54 +00:00
Brian Remedios
dad9d14885 rm unnecessary 'this.' prefixes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7141 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-22 05:09:55 +00:00
Brian Remedios
16b75b1736 rm unnecessary .this references
cleaned up poor stream/reader/writer resource closures

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7140 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-17 08:00:54 +00:00
Brian Remedios
0a176090ca Various code cleanup:
unrequired imports, modifier ordering, etc.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7139 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-16 19:20:30 +00:00
Brian Remedios
3ce7058772 new preference item: useCustomPriorityNames - not enabled yet
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7138 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-16 04:58:03 +00:00
Brian Remedios
5e6bc27747 Numerous bugfixes, improved XPath rule creation validation
Specified default 'user-specified' priority names
Renamed remaining MSGKEY-prefixed String keys
New reset-to-default-values in rule properties menu (single item for now)
New PMD Name column in marker prefs table & new column tooltips for same
Commented-out original PMD preferences view from main preference tree
Repositioned Language min/max & priority fields
Updated to latest PMD core

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7137 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-15 08:43:46 +00:00
Brian Remedios
e29823112f updated PMD jar
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7135 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-12 07:09:52 +00:00
Brian Remedios
18f544c28e updated PMD jar with latest changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7134 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-12 07:07:57 +00:00
Brian Remedios
2c28d1aac1 misc
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7131 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-11 03:32:35 +00:00
Brian Remedios
37d5ee01f4 RulePriority preferred name fixes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7130 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-11 03:19:28 +00:00
Brian Remedios
cc3fda5fe5 +minor enhancements
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7129 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-11 01:03:43 +00:00
Brian Remedios
b9f22db286 misc
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7128 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-10 09:37:13 +00:00
Brian Remedios
39453cd5be bugfix
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7127 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-10 09:27:29 +00:00
Brian Remedios
bc4305a73f refactoring priority-related items into new package
XPath rule handling
new bug list

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7126 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-10 08:51:18 +00:00
Brian Remedios
af91a0f339 minor bugfixes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7124 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-09 07:30:56 +00:00
Brian Remedios
a06668b06a minor misc..
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7123 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-07 16:10:49 +00:00
Brian Remedios
f90e41283f Refactored ASTView & DataflowView with new superclass, improved NewPropertyDialog error handling
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7122 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-07 08:39:18 +00:00
Brian Remedios
7c8c154316 Decorator-related bugfixes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7121 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-02 09:02:55 +00:00
Brian Remedios
37a510861e reworked column hiding approach
+CollapseAll controls for more views
+Derivative labeling for AST nodes

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7120 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-02 07:28:18 +00:00
Brian Remedios
dcb32eb683 misc
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7119 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-02 02:16:55 +00:00
Brian Remedios
b36928b173 property change handlers for views, string updates
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7118 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-02 02:00:49 +00:00
Brian Remedios
9f3712c728 refactoring, removing redundant MSGKEY_ prefixes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7117 51baf565-9d33-0410-a72c-fc3788e3496d
2010-09-01 04:57:16 +00:00
Brian Remedios
6dd9058c7f Better details in method lists, separate header/body menus in rule table, proper hide/show behaviour in Exclusion panel
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7116 51baf565-9d33-0410-a72c-fc3788e3496d
2010-08-31 09:46:56 +00:00
Brian Remedios
289d1dce9d Lots of nice updates:
* Colour syntax highlighting for all relevant editors & example viewers.
* User-selectable marker shapes and colours, violation decorators in the navigator tree
* New AST view and related XPath test editor
* Rule search (page form only, non-functional)

Disabled Quickfix views until its ready
Zapped several nevarious bugs in previous functionality

Note: for the time being, violation errors will not appear in the Problems
      page. There is a conflict between having unique markers and 'standard'
      error markers that denote inclusion in the error page. Will check out
      the use of annotations to deal with this...

For evaluation:
   The size and scope of the rule editor is (I believe) outgrowing its
   placement within its preference page and it needs to be parked within
   it own view. Besides, tracking all the edits being made to the rules
   goes beyond what the pref pages can handle (i.e. apply/cancel...
   which never worked properly for the rules in any case)

   To that end, I've copied the rule table into its own view for now and
   left the one in the preference page as is so we can compare & contrast.
   Only one will remain by the time the best approach is chosen.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7115 51baf565-9d33-0410-a72c-fc3788e3496d
2010-08-31 05:31:48 +00:00
Brian Remedios
90a97847ec test commit, bugfix
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7114 51baf565-9d33-0410-a72c-fc3788e3496d
2010-08-31 02:55:25 +00:00
Brian Remedios
c1f54d7444 +missing additional changes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7113 51baf565-9d33-0410-a72c-fc3788e3496d
2010-08-03 03:48:48 +00:00
Brian Remedios
e9ba34b45a New ability to use different shapes & colours to denote the various rule priorities (new UISettings class).
Will eventually allow these to be user-specified and part of the markup in the vertical rulers.
Revised ViolationView priority filter buttons to match.

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7112 51baf565-9d33-0410-a72c-fc3788e3496d
2010-08-03 03:46:13 +00:00
Brian Remedios
c316c4363a + class missing from previous update
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7111 51baf565-9d33-0410-a72c-fc3788e3496d
2010-07-30 22:22:14 +00:00
Brian Remedios
088f9ad32c Updated priority displays, bugfix for enum property editor, revised labeling for group column header, separate column (&sorting) for checkboxes, revised own TODO list
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7110 51baf565-9d33-0410-a72c-fc3788e3496d
2010-07-30 22:20:48 +00:00
Brian Remedios
3e52bf6b27 +properties column now highlights non-default values (still a bit buggy)
+internals: new visitor pattern for manipulating all selections
+able to disable rules from the violation list
+grouped rules show all unique priority values
+revised filter column icons
+revised plugin.xml to export code for other plugins
+new opening Rule panel for Rule creation wizard

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7109 51baf565-9d33-0410-a72c-fc3788e3496d
2010-07-26 05:23:43 +00:00