Fix main() in Jonah & Sugarcane to support macros in Start passage

Change-Id: I89830ae274f6f40364a4a32b98288f0948007d7d
Signed-off-by: Stormrose <eturnerx@gmail.com>
First public commit of the Responsive StoryFormat

Change-Id: If00e05c0c2a91487ff5a52eb6de9ba69249f0c24
Signed-off-by: Stormrose <eturnerx@gmail.com>
Include Responsive story format in the Win32 distribution.

Change-Id: I304ec7158dcb7260abb4ecaaf6a91c8d543aab5b
Signed-off-by: Stormrose <eturnerx@gmail.com>
Better sanity checking for obfuscation feature

Change-Id: I6833ca0b7d06495727a89b9cc83551b995e62199
Signed-off-by: Stormrose <eturnerx@gmail.com>
BUG: blank passage titles and links causing exceptions

Notified by Philip Sutton

Change-Id: Ia8f5e41ef29c7dc3729f9fddce772aca316b1436
Signed-off-by: Stormrose <eturnerx@gmail.com>
Tidy up of some files.
Fix print macro: prints out $vars with value of 0 as "0" not blank.

Change-Id: I31ea9cfa0e39f66c518550db2bb440e28553c719
Signed-off-by: Stormrose <eturnerx@gmail.com>
FIX <<remember>> works on local files (localStorage & cookie fallback)


Change-Id: Ia627e8813ace58cf483d6b7f0791dbdbb4d1cb44
Signed-off-by: Stormrose <eturnerx@gmail.com>
Passages tags added into data-tags html attribute

Implements the idea from: http://www.glorioustrainwrecks.com/node/5013
suggested by Leon Arnott

Enables passage/tag specific CSS2 selectors: e.g.
[data-tags~=sometag] { color:#f00; }

Change-Id: I138c64ee90fb745727b1482bc4fba50eb4bb7882
Signed-off-by: Stormrose <eturnerx@gmail.com>
data-tags attribute only created if passage tags exist

Change-Id: Ic2a76f49ed246583912612ab01f9a2544f8307b5
Signed-off-by: Stormrose <eturnerx@gmail.com>
Re-enabled tooltips at request of Philip Sutton

Change-Id: Id5816670e18e3c54788e08a12694476d1ee9948c
Signed-off-by: Stormrose <eturnerx@gmail.com>
Fix for Rewine menu feature.

Change-Id: Ife4d6ef8c88bca55df066ad737bd0769b0ee84c6
Signed-off-by: Stormrose <eturnerx@gmail.com>
s/wx.Color/wx.Colour/g
Update header.html
Minor Jonah and Sugarcane fixes.

* Added missing String.unDash() function used by
Wikifier.formatHelpers.inlineCssHelper
* Altered the "macro" formatter lookahead regex so that single
greater-than signs are permitted inside macros. (Double greater-than
signs still terminate).
* Added <noscript> messages to alert the reader that Javascript is off.
* Removed Furl link from Sugarcane.
zoom fit

Fixed wonky fit behavior reported
https://github.com/tweecode/twine/issues/28

added line 676
self.zoom(1.0)
Jonah, Sugarcane and Responsive fixes.

* Fixed a bug in my fix of the "macro" formatter lookahead regex -
sorry, it's good now.

* Unminified all the engine JavaScript in the header HTML files using
jsbeautify.com, primarily to make subsequent source diffs more readable,
and secondarily to make development less confusing.

* Moved previous fixes into Responsive:

-- Missing String.unDash

-- Greater-than signs in macros

-- Passage.prototype.render: data-tags attribute only added if tags
exist.

-- Passage.prototype.excerpt fix

* Added fixes to Sugarcane and Responsive:

-- Revised the Rewind menu so that it backtracks through state.history
instead of recalculating the game state using the URL hash.

-- Revised <<back>> and <<return>> so that they backtrack through
state.history instead of recalculating the game state using the URL
hash. This means, among other things, that random numbers used earlier
in the story won't be rerolled by <<back>> or <<return>> usage.

-- Also, <<return>>'s code has been merged with <<back>>'s, since their
only difference is that <<back>> rewinds the game state (and has a
different name).

-- The Responsive syntax for <<back>> has been merged into Sugarcane as
well - "label" and "labeldefault" parameters are valid. Moreover, they
can now be used alongside "steps" and "passage name" parameters, in
either order.

-- Updated Responsive's Passage.prototype.render to match recent
Sugarcane fixes.

* Fixes specific to Responsive:

-- Fixed the broken Rewind menu (missing "snapbackMenu" div and CSS
styles).

-- Fixed the Modernizr credits link.
Fixing Exponential newWidget distance issue

line 263,  passing Pixel coordinates to newWidget() instead of logical to get the correct starting position.
Syntax highlighting improvements and other fixes

Back macro:

* Now it accepts variables for the steps parameter and the

tweelexer.py:

* Now recognises mixed-case and uppercase <html> tags

* /% %/ comments, {{{ }}} monospacing, @@ @@ errors, and

* bold, italic and underline now apply these styles to the text, instead
of just greening it.

* Now handles nested syntax correctly.

* Now handles inline external links correctly.

* Now colours the link and image parts of inline images separately.

* Now colours text inside <<silently>> macros correctly.

Wikifier.formatHelpers:

* Tidied up the regexes for html and image.

* The < and > options for inline images now use CSS float attributes
instead of the deprecated HTML align attributes.

* The title text option for inline images now alters the alt attribute
as well.
PassageFrame: fix keyboard shortcuts for Mac OS X

This remaps opt-left/right, cmd-left/right, opt-delete, cmd-delete and
cmd-shift-z on Mac OS X to use the standard OS text input shortcuts.

Fixes #71.