Summer of Code report
Here is a report I should have done weeks ago :)
Yesterday, I commited a first "preview" of Presentoire. It's my Summer of Code
project : a presentation tool for Looking Glass.
Currently it has some quite rough edges, but it's going to evolve quickly (ok,
as quickly as possible).
Ok, currently it's not even going to work on your computers, that's worse than
rough edges. There's a problem with the LG AWT toolkit making the following
code unusable :
JFileChooser chooser = new JFileChooser();
int retVal = chooser.showOpenDialog(null);
So there is a path to the presentation file hardcoded in the application, and
that's bad :/
That's why I didn't commit anything, I expected a fix. I'll try a true
workaround this night since the bug seems extremely hard to fix, but anyway
it'll have to be fixed. If it's not fixed yet, it'll have to be fixed perhaps
in a few months, but we'll probably face it in other apps.
Presentoire is relying on Java6 for its *wonderful* scripting engine. It just
rocks, a big "bravo" to the Java developers for this nice piece of code (ok,
engine used in Java6, even if I'm not relying on it specifically : you could
for instance use Jython if it's installed).
So the scripting is currently usable for slides transition. That way, the user
is the master of the presentation, he's not choosing transitions in a limited
panel of choices... (Ok, the true reason is that I'm lacking ideas for
transitions, but the official reason is better)
For better performances, transitions can be written and compiled in Java, but
they currently have to be compiled in Presentoire. Next step : have .class
files in the zip file.
Something really lacking is a presentation designer/editor. It's too boring to
write the XML file manually. That's why I'll (I hope) try to hack an editor
quickly this weekend. It'll be as simple as possible.
So, last big todo things :
- Transitions in .class files in the Zip file
- Refactor the slide parsing, to have something more reliable and easier to
extend (I'll then add support for events like onclick, using either
come in the next days.
- Document the XML file format, the sourcecode
- An editor
If you have any suggestion, comment...
Â Â Â Â Â Â Â Â Pierre
P.S : the build.xml is lacking in lg3d-incubator, I'll commit it.. Sorry, I
just don't like CVS (and it doesn't like me neither)