I didn't manage to catch up wiith anyone on irc yet, and i only managed to catch up with the scribes team tonight as my irc client was buggy. short of a programming task I';ve been working on my psychology project.
hopefully, any day soon, I will begin implementing the PDF import routines in Inkscape internal with Scribus, this is my first mini project to do and after growing through the code it doesn't appear it should take too long unless there's major issues implementing multipage/full document import.
after this, I'm free to spend the majority of the considerable amount of free time i have on Inkscape..
sorry I repeat the same thing a couple of times in a couple of places because I added a couple of paragraphs that added background that the reader may not be familiar with or remembered.
I've been thinking some more about the best way to implement SVG animation and I would also include +UI as in makes sense to implement some interactive features that would allow the SVG files to be used too create user interfaces for games and apps, though actually creating games and apps insider Inkscape is out of scope so a full flash feature set won't be available without third-party apps.
my current proposal to implement SVG animation is as follows (i expect this list isn't exhaustive but I feel I have the majority of the critical components listed)
as I went through the list of possible ways of implementing animation before SIDL isn't possible due to lack of support from Microsoft and plans to drop support by google.
css seems a bit limiting, especially for those hardcore flash fanboy animators that have been begging for animation to be implemented.
leaving us with javascript which is feature rich and if animations readonly and the feature set reduced should be no more difficult to pull the element numbers from than CSS would as both would need custom parsers as they are not xml.
a javascript implementation allows the animation to be implemented in two phases, the first phase is to implement the javascript engine and ensure all the relevant hooks are in place and an inkscape API for javascript has been created. it makes sense at this time to slightly extend the feature set so as to support javascript macros, I make various arguments bellow including cost-effectiveness.
aside from hooking up a javascript engine within Inkscape an API for Inkscape's functionality is also required to allow javascript and Inkscape to interact. My current plan goes along the lines of hickaking inkscapes undo/redo features and extending and generalizing them so that when a macro is set to be recorded a call to add something onto the undo stack writes the equivalent of a redo to the macro file buffer.
why bother implementing javascript powered macros?
a javascript engine would have to be integrated into inkscape for it to efficiently support anyway
trigers on updates would have to be extended so as to write values to keyframes anyway, it is fairly trivial to write out a line in a macro file at the same time.
a macro engine allows for relatively easy testing that hooks are in place, the API is correct, the javascript engine is properly integrated etc...
it also makes it possible to test that animation features are working correctly even if the UI hasn't been fully implemented.
it's not a major job so why not most of the functionality would be needed for animation anyway and it allows for the implementation and testing to be done in two phases.
it makes testing and debugging much easier and will probably save more time and headaches than it cost to create.
a simple code editor also needs to be implemented, but I wouldn't go beyond the basics otherwise people may be tempted to write apps in inkscsape.
at the same time as doing this I intended to write a guide to implementing macro engines in computer software with undo redo support. maybe with a nicely packaged up javascript engine and API starter kit. it makes sense to do this so that others are encouraged to add this kind of functionality to applications once they realize that it's relatively straight forward and not as complicated as one may think.
undo redo hooks need to be extended again but this time to write javascript for animation not for macros, calls to append to the undo buffer should now additionally update the values at keyframes
Inkscapes user interface needs to be extended to add any animation-related data, this should update undo which will then populate the relative animation setting in the animation script.
a timeline navigator with support for keyframes and layers needs to be created
the ability to go to any frame, step through and preview play SVG files and their animation needs to be added.
javascript used for animation should have a restricted set of javascript functionality. it should be viewable but read-only. I would allow it to be extended using scripts with a predefined interface, these scripts should be editable but only allow for a reduced set of javascript functionality. they are there to make script extendable and customizable and to implement features that inkscape doesn't implement for whatever reason.
a parser needs to be created to scrape the relevant bits of javascript so as to import the animation values into the gui where they can then be edited and updated.