I got GRacket2 running under Ubuntu. In general, things work as expected. It is my animations that I'm most concerned about and some work and some don't. I've only tried the ones that are available on PLaneT - I haven't even checked any of the others yet.<br>
<br>The animated-canvas library that I have on PLaneT has two examples. The histogram-test.rkt example works as expected. The lines.rkt example draws a few lines and then locks up. Adding a (yield) after (send canvas swap-bitmaps) in line 55 gets it to run - sort of. The animation is fairly smooth for 10 sets of lines, but is really strange at 50 (for example) - with this machine on the old GRacket it would be smooth at 100. And, my stop button implementation doesn't work will - it just sets a global and the graphics routines exit when they see it set - it eventually stops, but may require 10 to 15 seconds or so. I suspect that the animated-canvas functionality for double-buffering may not be needed anymore and the 'flush' operations are what I need to look at.<br>
<br>The interactions.ss file in the simulation package on PLaneT also required a (yield) after line 107 to give the animation effect - there is no double buffering or anything here. But, with that added, it seems to run fine.<br>
<br>I guess I need a better understanding of how the new canvas is working in order to deprecate the animated-canvas capability for my animations. Any thoughts, Matthew?<br><br>Doug<br><br><div class="gmail_quote">On Thu, Oct 28, 2010 at 12:25 AM, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu">mflatt@cs.utah.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">The git repository now includes a "gr2" branch for the new<br>
implementation of `racket/gui', which we've been informally calling<br>
"GRacket2".<br>
<br>
...<br>
_________________________________________________<br>
For list-related administrative tasks:<br>
<a href="http://lists.racket-lang.org/listinfo/dev" target="_blank">http://lists.racket-lang.org/listinfo/dev</a><br>
</blockquote></div><br>