[jira] Commented: (PIVOT-273) Mousing over a different menu item does not close any open menu popup

2009-09-03 Thread Greg Brown (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751062#action_12751062 ] Greg Brown commented on PIVOT-273: -- This happens because the menu item has no way to know t

[jira] Created: (PIVOT-273) Mousing over a different menu item does not close any open menu popup

2009-09-03 Thread Greg Brown (JIRA)
Mousing over a different menu item does not close any open menu popup - Key: PIVOT-273 URL: https://issues.apache.org/jira/browse/PIVOT-273 Project: Pivot Issue Type: Bug

Re: Other small things

2009-09-03 Thread Greg Brown
TerraPanoramaSkin: scrollTop and scrollLeft are not used after Ah, I see - the warning is just saying that the variable is only used once (same as above). This is intentional. I often do this to assist in debugging. You can ignore these. If you want I could change in a way to keep the variabl

Re: Other small things

2009-09-03 Thread Sandro Martini
Hi, >>       if (map != null) { > We'll just drop it. The call to this() has to be the first line in the > constructor. Ok, I'll wait your commit ... > I believe the bounds values were supposed to be used in the call to > regionUpdated(). Fixed. Ok, I'll wait your commit ... > That's odd - it

Re: Other small things

2009-09-03 Thread Greg Brown
- HashMap.java:122 Nullcheck of map at line 124 of value previously dereferenced public HashMap(Map map) { this(Math.max((int)((float)map.getCount() / DEFAULT_LOAD_FACTOR) + 1, DEFAULT_CAPACITY)); if (map != null) { => we can move at the start of the method the check for not nu

Re: Other small things

2009-09-03 Thread Sandro Martini
Ok, bur for the others, what do you think ?

Re: Other small things

2009-09-03 Thread Greg Brown
- and finally, some other Comparator that doesn't implement Serializable: TreeNodeComparator, TableView, and some others (few) You can ignore this one. We have already verified that these comparators do not need to be serializable.

Other small things

2009-09-03 Thread Sandro Martini
Hi, others little things, just seen (this time) with FindBugs: - HashMap.java:122 Nullcheck of map at line 124 of value previously dereferenced public HashMap(Map map) { this(Math.max((int)((float)map.getCount() / DEFAULT_LOAD_FACTOR) + 1, DEFAULT_CAPACITY)); if (map != null)

[jira] Resolved: (PIVOT-263) SVN properties missing for lots of files

2009-09-03 Thread Todd Volkert (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Volkert resolved PIVOT-263. Resolution: Fixed > SVN properties missing for lots of files > -

[jira] Updated: (PIVOT-263) SVN properties missing for lots of files

2009-09-03 Thread Todd Volkert (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Volkert updated PIVOT-263: --- Issue Type: Task (was: Bug) > SVN properties missing for lots of files >

Re: svn commit: r810924 - /incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/TablePanes.java

2009-09-03 Thread Sandro Martini
Ok, don't worry, no problem ...

Re: svn commit: r810924 - /incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/TablePanes.java

2009-09-03 Thread Todd Volkert
> > but I've just seen has been dropped by another fix from > Todd, sigh ... Yeah, your check-in reminded me that I didn't need those any more :)

Re: svn commit: r810924 - /incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/TablePanes.java

2009-09-03 Thread Sandro Martini
Hi Greg, me too ... but I've just seen has been dropped by another fix from Todd, sigh ... but ok, I hope we can remember (and use) this trick other times ... Bye

[jira] Commented: (PIVOT-263) SVN properties missing for lots of files

2009-09-03 Thread Todd Volkert (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751007#action_12751007 ] Todd Volkert commented on PIVOT-263: I just executed the following commands on the v1.3-

[jira] Closed: (PIVOT-262) Add @Override annotations where applicable

2009-09-03 Thread Sandro Martini (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandro Martini closed PIVOT-262. > Add @Override annotations where applicable > -- > >

[jira] Resolved: (PIVOT-262) Add @Override annotations where applicable

2009-09-03 Thread Sandro Martini (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandro Martini resolved PIVOT-262. -- Resolution: Fixed Now fixed some missing sources (warnings not seen before). And fixed also in

[jira] Reopened: (PIVOT-262) Add @Override annotations where applicable

2009-09-03 Thread Sandro Martini (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandro Martini reopened PIVOT-262: -- Some sources not included before (in the fix). > Add @Override annotations where applicable > -

Re: svn commit: r810924 - /incubator/pivot/trunk/tutorials/src/org/apache/pivot/tutorials/layout/TablePanes.java

2009-09-03 Thread Greg Brown
@SuppressWarnings("unused") I was not familiar with that one. Cool.

[jira] Updated: (PIVOT-21) TablePane rows and columns should collapse when vacant

2009-09-03 Thread Todd Volkert (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Volkert updated PIVOT-21: -- Issue Type: Improvement (was: New Feature) > TablePane rows and columns should collapse when vacant > --

[jira] Created: (PIVOT-272) ListButton doesn't automatically scroll the selected item to be visible

2009-09-03 Thread Todd Volkert (JIRA)
ListButton doesn't automatically scroll the selected item to be visible --- Key: PIVOT-272 URL: https://issues.apache.org/jira/browse/PIVOT-272 Project: Pivot Issue Type: Bu

Re: svn commit: r810901 - in /incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/terra: TerraTableViewHeaderSkin.java TerraTreeViewSkin.java

2009-09-03 Thread Sandro Martini
Hi Greg, I haven't modified the logic in the loop to avoid problems ... i can try to make what you say, but to ensure that all works good, what tests con i make after: at least do you remember a class to run and see if all it's good ? Bye

Re: svn commit: r810901 - in /incubator/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/terra: TerraTableViewHeaderSkin.java TerraTreeViewSkin.java

2009-09-03 Thread Greg Brown
for (int n = visibleNodes.getLength(), nodeDepth = youngerSibling.depth; insertIndex < n && visibleNodes.get(insertIndex).depth > nodeDepth; -insertIndex++); +insertIndex++) { +} } This c

[VOTE RESULT] Release Pivot 1.3 RC2

2009-09-03 Thread Todd Volkert
Voting has expired. The final tally of the vote is: +1 votes: 3, all binding 0 votes: 0 -1 votes: 0 Thus, the vote passes and will now be put to the Incubator PMC. Note that Niclas Hedhman abstained due to time constraints, and Chris Brind abstained because he was on holiday. Greg Brown: http:

Re: Some Small things

2009-09-03 Thread Greg Brown
- there are many warnings on "Local variable hides a field" (in many sources), and i know the the code works good also with this, but what do you think on changing a little these variables, to avoid this ? Using Best practices always help ... I actually think it's ok to have local variables hid

Re: Some Small things

2009-09-03 Thread Todd Volkert
> > No, the fields are protected, and the class is private, which is what is > > generating the warning. If the class were protected as well as the > fields, > > all would be well :) > Moving the fields to private solve the warning, without changing the class, > Ok ? > Or do you think it's better

Re: Some Small things

2009-09-03 Thread Sandro Martini
Hi Todd, > Yep.  You want me to make the change or you? I can do it ... > No, the fields are protected, and the class is private, which is what is > generating the warning.  If the class were protected as well as the fields, > all would be well :) Moving the fields to private solve the warning, w

Re: Some Small things

2009-09-03 Thread Todd Volkert
> > In those cases, there are comments right before the loops explaining > what's > > going on, and they're just scanning loops (used to position an int > > variable). Can you suggest a different phrasing so we can see the > options? > Very simple ... instead of the ";", use an empty { } ... ok, m

Re: Some Small things

2009-09-03 Thread Sandro Martini
> Thanks!  Can you resolve the JIRA ticket? Ok, fixed. > In those cases, there are comments right before the loops explaining what's > going on, and they're just scanning loops (used to position an int > variable).  Can you suggest a different phrasing so we can see the options? Very simple ... i

[jira] Closed: (PIVOT-262) Add @Override annotations where applicable

2009-09-03 Thread Sandro Martini (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandro Martini closed PIVOT-262. > Add @Override annotations where applicable > -- > >

[jira] Resolved: (PIVOT-262) Add @Override annotations where applicable

2009-09-03 Thread Sandro Martini (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandro Martini resolved PIVOT-262. -- Resolution: Fixed > Add @Override annotations where applicable > ---

[jira] Commented: (PIVOT-262) Add @Override annotations where applicable

2009-09-03 Thread Sandro Martini (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750970#action_12750970 ] Sandro Martini commented on PIVOT-262: -- Add (many) missing @Override , everywhere (but

Re: Some Small things

2009-09-03 Thread Todd Volkert
> i think to have just finished to add missing @Override in pivot > sources (i hope :-) ). > Thanks! Can you resolve the JIRA ticket? > I've seen some small things: > - in TerraTreeViewSkin, there are a warning on two empty for, in > addVisibleNode() and in removeVisibleNodes() ... as seen befo

Some Small things

2009-09-03 Thread Sandro Martini
Hi to all, i think to have just finished to add missing @Override in pivot sources (i hope :-) ). I've seen some small things: - in TerraTreeViewSkin, there are a warning on two empty for, in addVisibleNode() and in removeVisibleNodes() ... as seen before for other warnings on while empty I think

[jira] Resolved: (PIVOT-271) TablePane padding should not affect grid lines

2009-09-03 Thread Todd Volkert (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Volkert resolved PIVOT-271. Resolution: Fixed > TablePane padding should not affect grid lines > ---