Hi Dscho,<div><br></div><div>Thanks for the update; that is great news. Barry & I did some testing, and found a few issues, but given the time constraints we are going to go ahead with the beta6 release this week.</div>
<div><br></div><div>One big issue I found is that ImageDisplays that originate in IJ2 land (e.g., from File > Open) do not get translated to IJ1 mode unless you execute a legacy command on them first. That is, more generally, the command for switching to legacy mode apparently does not explicitly invoke any IJ2<->IJ1 synchronization, meaning they can be out of sync with ImageJ1.</div>
<div><br></div><div>I took a look at adding some sort of legacyService.sync() call, but the LegacyService API still needs work. Currently there is a lot of logic taking place in LegacyCommand.LegacyCommandThread.run(), which should ultimately get factored out to be more accessible from the LegacyService itself. But that work will have to wait until after the holidays.</div>
<div><br></div><div>So anyway, we will note this limitation in the release announcement, for now.</div><div><br></div><div>Another problem which I would like to see fixed before release is that on OS X, when starting up ImageJ2 now, there is a VerifyError with class MacAdapter that was not previously present. I hope to track this down tomorrow morning and fix before cutting the release.</div>
<div><br></div><div>Thanks again for your efforts on this, safe travels, and happy holidays!</div><div><br></div><div>Regards,</div><div>Curtis</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 18, 2012 at 11:31 PM, Johannes Schindelin <span dir="ltr"><<a href="mailto:Johannes.Schindelin@gmx.de" target="_blank">Johannes.Schindelin@gmx.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Barry & Curtis,<br>
<br>
with great satisfaction I report that the Legacy Mode branch has reached a<br>
beta stage. That is, I consider this functionality to be at a stage where<br>
we can include it in a beta version.<br>
<br>
Sadly, I did not manage to think of a way to test this functionality<br>
automatically yet, mainly because most of it is purely in the GUI: images<br>
shown in IJ2 will be hidden and the IJ1 ImageWindows displayed when<br>
switching to the legacy mode, and vice versa when switching back.<br>
<br>
It is all in the 'legacy' branch, and I would appreciate a good look-over<br>
by both of you.<br>
<br>
The menu item it adds is in Help>Start ImageJ 1.x Legacy Mode, and when<br>
you switch to that mode, you will get a Help>Stop ImageJ 1.x Legacy Mode<br>
in the ImageJ 1.x GUI.<br>
<br>
There is one commit that is reverted right away, this is the change I<br>
intended originally to make it possible to have multiple legacy services<br>
running in parallel. Alas, it interferes with normal operation; you would<br>
not be able to instantiate an ImagePlus and pass it to the legacy service,<br>
since your class loader and the legacy service's class loader would have<br>
incompatible versions of the ImagePlus *class*. The reason why I left it<br>
in was for education and to remember what did not work, so that I would<br>
keep thinking of better ways.<br>
<br>
Once that legacy mode is in, and robust, I plan to integrate it into Fiji<br>
by adding the "Stop Legacy Mode" as a Help>Try ImageJ2 or some such.<br>
<br>
Ciao & merry Christmas,<br>
Dscho<br>
</blockquote></div><br></div>