Commit Graph

11961 Commits

Author SHA1 Message Date
Jeremy Ruston aba830ff8c Refactored story navigator to work by modifying the story tiddlers
Currently hardwiring the name of the tiddler containing the story
2012-01-25 12:48:12 +00:00
Jeremy Ruston 0d45d76af6 Finally, selective refreshing now works
Although it's a bit hard to see which DOM nodes have been refreshed.
2012-01-25 12:05:18 +00:00
Jeremy Ruston dad7756f65 Getting selective refresh working
A bunch of changes, and we're halfway there
2012-01-25 10:51:04 +00:00
Jeremy Ruston 0d9a94e702 Docs update 2012-01-24 18:12:06 +00:00
Jeremy Ruston 81d642dd8b Fix type for transclusions 2012-01-24 18:11:59 +00:00
Jeremy Ruston 04e9376eca Refactored the story macro to invoke the tiddler macro to display tiddlers 2012-01-24 18:11:38 +00:00
Jeremy Ruston 3268c46458 Parsers now take the type parameter 2012-01-24 18:11:09 +00:00
Jeremy Ruston 889bdbc82a Added wrapper around macro invocations 2012-01-24 18:10:51 +00:00
Jeremy Ruston 527b750714 Wrap macro invocations in an information element 2012-01-24 18:10:27 +00:00
Jeremy Ruston b92e011c66 Refactored stringily not to add the double quotes 2012-01-24 18:09:54 +00:00
Jeremy Ruston b32826f110 Revise startup display handling
And adjust the image parser registration
2012-01-24 18:09:38 +00:00
Jeremy Ruston bd5de61156 Replace the bitmap and SVG parsers with a single image parser 2012-01-24 18:08:59 +00:00
Jeremy Ruston 2cd0e681ea Temporarily suppressed rendering of the render step
So that the tests pass, which looks nicer
2012-01-24 16:28:26 +00:00
Jeremy Ruston 398831b0d9 Major reorganisation of wikitext rendering
Getting ready to support selective refresh of DOM elements
2012-01-24 16:26:37 +00:00
Jeremy Ruston 870529f76b Fixed problem with —servewiki option 2012-01-24 16:25:21 +00:00
Jeremy Ruston 7375614849 Test updates 2012-01-23 19:04:56 +00:00
Jeremy Ruston dda7ab7069 Added the dump of the compiled tiddler code 2012-01-23 19:04:50 +00:00
Jeremy Ruston ab2a0cd6e3 Fixed call to obsolete parseTiddlerFile() call 2012-01-23 19:04:29 +00:00
Jeremy Ruston a96df59172 Added dump of the compile tree to info macro 2012-01-23 19:04:11 +00:00
Jeremy Ruston 5030d46e2f Docs updates 2012-01-23 18:50:28 +00:00
Jeremy Ruston 32c8e69949 Use utils.stitchElement in WikiTextParseTree.compileElementHtml 2012-01-23 18:50:18 +00:00
Jeremy Ruston 33ad4461db Removed erroneous HTML encode in plain text generation 2012-01-23 18:45:50 +00:00
Jeremy Ruston 9123c32782 Corrected typos 2012-01-23 18:45:21 +00:00
Jeremy Ruston 19d8216b71 Docs updates 2012-01-23 18:31:24 +00:00
Jeremy Ruston ed87061897 Added the slider macro 2012-01-23 18:31:17 +00:00
Jeremy Ruston 12cf19e70a Docs update 2012-01-23 16:42:23 +00:00
Jeremy Ruston c185989ca5 Fixed view macro to check whether the tiddler exists 2012-01-23 16:42:12 +00:00
Jeremy Ruston 82a37d3ab4 Fixed info macro when invoked in a missing tiddler 2012-01-23 16:41:49 +00:00
Jeremy Ruston fd9d4973e3 Cleaned up last few diffs for building 2.6.5
Now the file is byte-for-byte identical with that produced by
TiddlyWiki itself.
2012-01-23 14:36:12 +00:00
Jeremy Ruston 3675958e30 Improvements to recipe error handling 2012-01-22 17:37:21 +00:00
Jeremy Ruston 5d1cf97134 Docs update 2012-01-21 17:08:14 +00:00
Jeremy Ruston 17826a72fb More fixes for recipe directory handling
Done some variable name refactoring to make things clearer
2012-01-21 17:08:07 +00:00
Jeremy Ruston 33283f71e1 More style tweaks
Could go on with this for weeks
2012-01-21 16:54:45 +00:00
Jeremy Ruston 106f287a94 Fixed problem with recipe directory handling 2012-01-21 16:54:31 +00:00
Jeremy Ruston 61adbbf83a Keeping JSHint on it's toes 2012-01-21 14:03:03 +00:00
Jeremy Ruston b96f0c1bd6 Improvements to tree dumping 2012-01-21 14:00:09 +00:00
Jeremy Ruston 78c21d6ff8 More docs 2012-01-21 13:59:57 +00:00
Jeremy Ruston f40c096443 Updated docs 2012-01-21 13:59:35 +00:00
Jeremy Ruston 693cb67c6b Minor style tweaks 2012-01-20 12:19:13 +00:00
Jeremy Ruston e4a423153f Display the parse tree at the bottom of each tiddler 2012-01-19 11:56:38 +00:00
Jeremy Ruston 9d84afef3e Styles for displaying parse trees
Horrible CSS for the moment
2012-01-19 11:56:23 +00:00
Jeremy Ruston 6fc3d45369 Update the info macro to display parse trees 2012-01-19 11:56:06 +00:00
Jeremy Ruston e72fc6bc80 Added toString() method to WikiTextParseTree
For debugging and seeing what's going on behind the covers
2012-01-19 11:55:51 +00:00
Jeremy Ruston d539286e09 New renderObject() function for displaying trees
So that we can display parse trees nicely
2012-01-19 11:55:18 +00:00
Jeremy Ruston 4bed00220e Cleaning up WikiTextRules 2012-01-17 16:44:59 +00:00
Jeremy Ruston 0f3cf24642 Added comments 2012-01-17 16:30:23 +00:00
Jeremy Ruston ca3778f9fd Better error messages for eval'd code 2012-01-17 15:35:13 +00:00
Jeremy Ruston a6de27b348 We shouldn't use the source of images as their text in text/plain renderings 2012-01-17 15:21:56 +00:00
Jeremy Ruston 8cfff2c2fa Refactored JavaScriptParseTree handling of output array 2012-01-17 15:20:46 +00:00
Jeremy Ruston f10d58ed2b Refactored WikiTextParseTree to handle the output array better 2012-01-17 15:12:59 +00:00