Thursday, September 22, 2011

Lightspark 0.5.1 released

After over two months of work since 0.5.0 by a handful of developers, there's finally a new release of Lightspark, the (other) open source Flash player. Unlike Gnash, Lightspark supports the AVM2 virtual machine and the newest versions of SWF files, while falling back to Gnash when it encounters SWF8 or earlier content.

News for users

For users, the most visible change is that YouTube is working again - their player keeps getting updated and sometimes it introduces Flash APIs or VM opcodes which are not fully implemented in Lightspark, resulting in breakage.

Flowplayer had been made to work in this cycle.

EGL/GLES2 based rendering has been added so it can run at reasonable speeds on ARM hardware where there is generally no support for hardware accelerated desktop OpenGL.

Less crashes due to the many small and large fixes added.

Changelog for 0.5.1

* Misc fixes to better support YouTube, Vimeo, Flowplayer
* VM correctness improvements
* Support for AS templates
* Dropped half-finished AVM1 support
* Support for EGL/GLES2 rendering
* Support for loading external JPEGs
* Better text handling(e.g. coloring)
* Improved test runner, support for the Tamarin testsuite
* Various API fixes for bugs uncovered by the testsuite
* Dropped mozilla dependency, use internal NPAPI headers
* Added LIGHTSPARK_PLUGIN_LOGLEVEL environment variable to control the log level of the browser

News for the project

Alessandro, the main author and original maintainer of the project is taking a break for a few months, so most development and project management in this cycle has been done by the existing contributors.

The Lightspark team is planning to release new versions monthly from now on, to get the fixes out sooner.

We also plan to move away from the sourceforge.net homepage and wiki, and manage the project using only two instead of three hosting services :)

* github for code, wiki and developer related issues

* launchpad for user bugtracker, mailing list, release tarballs and Ubuntu PPAs

Download

The release is already available in Debian Sid and Ubuntu Oneiric and there are daily builds available in the team's PPA for Ubuntu Natty and Oneiric. The upstream code is progressing rapidly and does not really add regressions so using these daily packages is pretty safe and also helps a lot with testing.

The release tarball is on Launchpad for other distro packagers or people building from source...

https://launchpad.net/lightspark/0.5.1

...although for the latter category I'd suggest to follow the project on github :)

https://github.com/lightspark/lightspark

4 comments:

Anonymous said...

What percentages of the Flash API and VM opcodes does Lightspark cover?

janimo said...

There's a script in the source tree that produces such an output from the sources and Adobe's offline version of the API reference docs.

Looks like about 5% of the API. Not a good metric probably, as many of those are rarely needed, but there is still a lot to cover until major sites work.
http://startx.ro/~jani/lightspark_coverage.txt

We should probably have such an output linked from the main website - once it is decided which the main website is :)

AVM2 Opcodes are mostly implemented with a few exceptions which too are rarely used - I only saw instanceof missing today.

skoruppa said...

Year ago someone asked about vdpau support and it has been said that this isn't difficult to achieve so maybe in future. Now I'm asking about vdpau one more time ;) Is there going to be a vdpau support in lightspark in near future?
Adobe Flash support it, but it is so unstable that it sometimes crashes even Xorg

janimo said...

@skoruppa, good sir, please file a bug on the project in Launchpad as it seems something to at least look into in the future. Thanks