0.9 Released
Now with easier installation and Windows support
Installing¶
Proudly announcing v0.9 of flusspferd, with lots of under the hood changes, a new subprocess and re-introduced curl and xml modules, and easy installation methods.
- OSX via homebrew:
brew install flusspferd
Until the formula is in master, make sure you are using the fork linked above.
- Ubuntu via the CommonJS PPA:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 74EE6429 sudo /bin/sh -c 'echo deb http://ppa.launchpad.net/ashb/ppa/ubuntu karmic main | cat >> /etc/apt/sources.list' sudo aptitude install flusspferd-all
- Windows:
Grab the binaries zip and uncompress it where ever you like. If you also want to compile modules for flusspferd, grab the dev zip and extract it over the top. It gives you a working make/gcc and related tools to compile on windows. \o/
- binaries (9.9Mb); and
- MinGW development environment (50Mb)
Building modules¶
Building native plugins/modules for Flusspferd using cmake is now a doddle. Create a CMakeLists.txt like this one:
cmake_minimum_required(VERSION 2.6.4)
execute_process( COMMAND flusspferd --cmake OUTPUT_VARIABLE hippo_cmake)
include("${hippo_cmake}")
FILE(GLOB_RECURSE sources
"${CMAKE_SOURCE_DIR}/src/*.cpp"
"${CMAKE_SOURCE_DIR}/src/*.hpp")
add_definitions("-Wall")
flusspferd_plugin("myplugin" SOURCES ${sources})
Then so long as flusspferd is in your path you can build and install it with a simple cmake . && make install. Wonderful!
Getting the source¶
Changes¶
This version has changed the C++ API in a backwards incompatbile fashion - sorry about that, but it's worth it. Check out the wiki page for details.
Major features:
- JIT is now enabled by default. use the --no-jit option to disable it.
- API for creating objects/values massively overhauled to be much more expresive. This is an API breaking change. See the wiki for details.
- cURL module re-introduced after being improved to provide more of the functionality of libcurl.
- Improved GMP module to be more JavaScript like.
- Removed support for older spidermonkeys. We now require a recent version of spidermonkey. We define recent as no older than the version from Firefox 3.5! See the Spidermonkey wiki page
- Boost 1.40 or newer required.
- Added subprocess module for communicating with sub-processes. This module doesn't work on Windows in this release.
- Re-introduces XML module using different XML backend.
- Building plugins with cmake got a whole lot easier; See mailing list post for more info.
Comments