Download
You can get the source code for Swush using SVN from http://svn.firefang.net/swush/trunk/swush
Download swush 0.9.3 Jar file (~180k)
Download swush 0.9.3 zip file, including source and build tools (~3.6MB)
Swush is released under the BSD license.
Changelog
Released 0.93 (04/08/2009)
- This is the first actually usable release, I have been using it in production for some time now. Swush is still in beta though.
- Changed arrays syntax and relevant API. arrays are now in the form : name {a b c}, and can have both string elements and normal swush nodes : name {a b c:d d{1:2}}
- Improved Swush api:
- Added various selector API calls to the Swush class, for example:
- long selectLongProperty(String selector) : Select a long property (Int, Boolean, Float etc are also available)
- float selectFloatProperty(String selector, float _default)Â : Select a Float property, and return default_ if it’s not found (same api available for other types)
- Added various manipulator methods, for example:
- Swush addPair(String name, String value) : Adds a new Pair (key value pair) to a node and return the new key-value node.
- Swush addNode(String name) : Adds a new node and returns it.
- Swush addArray(String name, String … array) : Adds a new array node and returns it.
- Added various selector API calls to the Swush class, for example:
- General bug fixes.
Released 0.92 (08/05/2009)
- Created a test suite that can test any implementation (see test/TestDriver.java)
- Added file header (@swush [encoding])
- Added preliminary support for arrays, for example : name[a b c]
Released 0.91
- Fixed comments to be properly ignored.
- Fixed escaped quotes \” to be passed to the client unescaped.