flatiron/director — pull request #72 by vesse (2012-01-18 07:05:44+00:00)
Title: Client side HTML5 History API support 

Enable using HTML5 History API and the clean URLs it brings instead of the hash fragment URIs on browsers that support it. In practice a new configure option `html5history` was added and the required changes implemented to `browser.js`.

These changes have been manually tested with:
- Chrome 16.0.912.75 (Windows)
- Chromium 15.0.874.106 (Linux)
- Firefox 9.0.1 (Linux & Windows)
- Safari 5 (Windows)
- Navigation from the UI works with Safari as well, but browser back button skips pages. This does happen with e.g. Spine.js as well, and also on http://html5demos.com/history so I would assume it's just a browser "feature".
- Internet Explorer 9.0.8.8112.16421 (64-bit)
- rekonq 0.8.0 (location bar URI does not change but navigation works)

No tests were added due to not being able to test with just a HTML page and QUnit. Implementing tests would require adding a server implementation that serves the test page and related JS components.

Documentation is updated as well. Unfortunately the diff contains a lot of irrelevant changes as my editor stripped trailing whitespaces.

#20