Re: SVG Salamander vs. org.apache.pivot.wtk.media.drawing

2010-09-30 Thread Superstring Media
Thanks for reminding me about retained versus immediate rendering modes, its been an exciting day :-) To have immediate mode is a given then and SVGSalamander does indeed have a great retained structure with its SVGDiagram. What I was thinking about was the ability to add, remove and edit the e

Re: SVG Salamander vs. org.apache.pivot.wtk.media.drawing

2010-09-30 Thread Greg Brown
> There should still be a drawing facility in Pivot. There will be. Pivot will still support immediate mode rendering - just not retained mode, since there are other technologies that are better suited to that. > I'd certainly like > to confirm that SVGSalamander can be used for defining a new

Re: SVG Salamander vs. org.apache.pivot.wtk.media.drawing

2010-09-30 Thread Superstring
There think should still be a drawing facility in Pivot. SVGSalamander renders SVG which can be created in vector graphic editors however, the drawing functions Pivot has are good for many other uses. I'd certainly like to confirm that SVGSalamander can be used for defining a new drawing from Pivo

Re: Pivot 1.5.2

2010-09-30 Thread Greg Brown
The changes were minor and specific to SuggestionPopup, so feel free to perform some additional testing on that class if you like. I think we should still plan to call for a release vote some time next week. On Sep 30, 2010, at 6:34 PM, Sandro Martini wrote: > Hi Greg, > I've seen some commits

Re: Pivot 1.5.2

2010-09-30 Thread Sandro Martini
Hi Greg, I've seen some commits into the 1.5.x branch, so I think it' better to wait and for example try next week to vote the final 1.5.2 (re-testing all the stuff) ? Bye

Re: SVG Salamander vs. org.apache.pivot.wtk.media.drawing

2010-09-30 Thread Greg Brown
> Yes, you have been clear ... and for me the idea is the same :-) Any other comments on this? Any arguments in favor of keeping the drawing API?

Re: SVG Salamander vs. org.apache.pivot.wtk.media.drawing

2010-09-30 Thread Greg Brown
> But just a question, if someone would try to use Batik instead ? It is certainly possible to use Batik - I imagine a similar approach could be applied. However, Batik is pretty large, whereas SVG Salamander is tiny - ideal for the kinds of use cases we might expect in a Pivot app.

Re: SVG Salamander vs. org.apache.pivot.wtk.media.drawing

2010-09-30 Thread Sandro Martini
Yes, you have been clear ... and for me the idea is the same :-) But just a question, if someone would try to use Batik instead ? There is some part that could be shared between the two implementations of the Pivot adapter (so could make sense to move in a dedicated project somewhere) ? For exam

Re: SVG Salamander vs. org.apache.pivot.wtk.media.drawing

2010-09-30 Thread Greg Brown
> for me it's ok to drop it and move in SVG Salamander (it's a part of > Pivot that I haven't used, and as you said maybe also others ...). Just to be clear - in this scenario, we wouldn't be adding the SVG Salamander code to the Pivot platform itself. My hope is that Mark is willing to include

Re: SVG Salamander vs. org.apache.pivot.wtk.media.drawing

2010-09-30 Thread Sandro Martini
Hi, for me it's ok to drop it and move in SVG Salamander (it's a part of Pivot that I haven't used, and as you said maybe also others ...). And of course the same for JFreeChart ... in the hope that it will be accepted. Bye, Sandro

SVG Salamander vs. org.apache.pivot.wtk.media.drawing

2010-09-30 Thread Greg Brown
Hi all, I'm quite impressed with what can be done with SVG Salamander within a Pivot app. If Mark (SVG Salamander's creator) is willing to include the Pivot adapter code I wrote in his project, I'm actually thinking that we might want to simply drop support for Pivot's own "shape DOM" in favor

Re: Pivot/SVG Salamander

2010-09-30 Thread Greg Brown
Sorry, I forgot to include an easy way to launch the demo if you aren't using Eclipse with the Pivot plugin. Add this to the SVGImageDemo class to launch it as a standard Java app: public static void main(String[] args) { DesktopApplicationContext.main(SVGImageDemo.class, args); } On Sep 30

Re: Pivot/SVG Salamander

2010-09-30 Thread Greg Brown
Did the attachments come through OK? I got an error message from the mail server that the attachments were too large, but it didn't actually seem to reject the message. On Sep 30, 2010, at 1:23 PM, Greg Brown wrote: > Earlier today, I took a stab at wrapping SVG Salamander in a Pivot Image. It

Re: Warnings in "trunk" from Component.java

2010-09-30 Thread Chris Bartlett
I saw these, or similar warnings a few days ago but didn't have time to look into them. Yesterday I noticed that I was using an older JDK and upgraded to 1.6.0_21. Now when I try a build, I don't see any warnings. (Still using Ant 1.7.1, so that points to the JDK in my case at least) Chris On 30

Re: Warnings in "trunk" from Component.java

2010-09-30 Thread Greg Brown
If you look closely at the warnings, they don't actually appear to be redundant casts. I have redundant cast warnings enabled in Eclipse, and the warnings don't appear there either. So it seems like it could be a JDK issue. I'm hoping that upgrading to J6u20+ resolves the issue. On Sep 30, 201

Re: Warnings in "trunk" from Component.java

2010-09-30 Thread Sandro Martini
Uh sorry, just read better the first post here, so it's not an eclipse settings, but probably it's something related to ant-1.8.0 ... I suggest to try also with ant 1.8.1 (much better), and remove the old 1.8.0. At the moment I can't do this test, but tell me if I have to do it ... Sandro -- V

Re: Warnings in "trunk" from Component.java

2010-09-30 Thread Sandro Martini
Hi to all, if I remember well, there are some Compiler flags for enabling this type (and many others) of warnings from the Compiler, under Eclipse Preferences. But I think it's right to have many additional (non default) warnings enabled. Note: I've just tried the latest eclipse-3.6.1 and there

Maine JUG presentation

2010-09-30 Thread Greg Brown
Hi all, I presented Pivot to the Maine Java User Group in Portland, ME last night. Slides are here, in case you are interested (FYI - they are very similar to the slides from the CT Java presentation I posted a couple of weeks ago): http://svn.apache.org/repos/asf/pivot/project/presentations/In

[jira] Commented: (PIVOT-534) Expose transtion durations & rates in Terra theme skins as styles to allow them to be configured

2010-09-30 Thread Greg Brown (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916467#action_12916467 ] Greg Brown commented on PIVOT-534: -- I don't think this is an unreasonable suggestion, but t

Re: Warnings in "trunk" from Component.java

2010-09-30 Thread Greg Brown
Hm, I don't see those warnings (and those casts don't seem redundant to me). Maybe it is a compiler issue? I'm using Ant 1.8 and J6u20. Can you try updating your JDK? G On Sep 29, 2010, at 5:36 PM, Roger L. Whitcomb wrote: > Just pulled head revs from SVN and am getting build warnings in > Co