1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-06 20:46:57 +00:00
Commit Graph

726 Commits

Author SHA1 Message Date
Jeremy Ruston
b64e44d1af Refactored macro implementation
Now setting event handlers to the macro object, the browser invokes the
handleEvent method. Gets rid of a closure, which is good
2012-03-07 17:42:10 +00:00
Jeremy Ruston
e17772c830 Added domContains()
Lots of event handlers need this
2012-03-07 17:40:59 +00:00
Jeremy Ruston
b1b893c692 Fix and a script for serving wikis over http
Makes it easier to test on the iPad
2012-03-07 17:40:37 +00:00
Jeremy Ruston
00822a43ec Made Jack smaller 2012-03-05 15:16:11 +00:00
Jeremy Ruston
313cac38ba Doc updates 2012-03-05 15:16:01 +00:00
Jeremy Ruston
a1e246026a Style revisions 2012-03-05 15:15:47 +00:00
Jeremy Ruston
7456ecbcbb Fixed test for table class 2012-03-05 15:15:31 +00:00
Jeremy Ruston
0f2883b75a Adjust the slider macro to the new Bootstrap styles
And fixed some indentation issues
2012-03-05 15:14:24 +00:00
Jeremy Ruston
bfc1f1aaa5 Fixed custom classes containing a dash 2012-03-05 15:13:52 +00:00
Jeremy Ruston
ed6cc0b7e3 Added Twitter Bootstrap styles
And started converting everything to using the new classes
2012-03-05 15:13:25 +00:00
Jeremy Ruston
cb97295fdb Further refactorings to simplify macro development 2012-03-05 13:36:53 +00:00
Jeremy Ruston
8abf0049cf Refactored slider macro 2012-03-05 12:23:27 +00:00
Jeremy Ruston
74de12f4d6 Updated docs 2012-03-05 12:22:51 +00:00
Jeremy Ruston
8847551bd9 Removed unnecessary type declaration from macros 2012-03-05 12:04:06 +00:00
Jeremy Ruston
3633a40986 Improved slider macro docs 2012-03-05 10:18:22 +00:00
Jeremy Ruston
4649a0bd88 Refactored slider macro to lazily render it's content 2012-03-04 21:58:33 +00:00
Jeremy Ruston
60670509e0 Improved documentation for the slider macro 2012-03-04 13:20:38 +00:00
Jeremy Ruston
86e119dbf2 Replace tabs in JavaScript with spaces
Browsers will render tabs, but most don't let us override their default
of 8 character tab stops
2012-03-04 12:01:44 +00:00
Jeremy Ruston
4a73317193 Refactoring renderer "tree" array to "nodes" 2012-03-03 18:39:13 +00:00
Jeremy Ruston
2ecb1f670c Better error messages in the view and tiddler macros 2012-03-03 18:35:52 +00:00
Jeremy Ruston
7f136dd898 Get rid of the old WikiTextParseTree class
And replace it with a new root Renderer() class
2012-03-03 18:33:16 +00:00
Jeremy Ruston
26b5fc4a6d Fixed default type for unknown typed text blocks 2012-03-03 18:07:47 +00:00
Jeremy Ruston
4999a3b729 Added an option to specify default mime type in parseText() 2012-03-03 18:07:33 +00:00
Jeremy Ruston
588bc550c0 Added plain text parser
Now we display plain text tiddlers properly
2012-03-03 18:07:09 +00:00
Jeremy Ruston
2ce77b3839 Comment update 2012-03-03 18:06:33 +00:00
Jeremy Ruston
5124de8d25 Docs updates 2012-03-03 18:06:24 +00:00
Jeremy Ruston
d6397e9d84 New command line switch to save wiki as a folder of static HTML files 2012-03-03 16:50:11 +00:00
Jeremy Ruston
193365c450 Added examples of JSON text blocks 2012-03-03 13:52:22 +00:00
Jeremy Ruston
9de3bb6f59 Fixed problem with SVG images identified by file extension 2012-03-03 13:52:10 +00:00
Jeremy Ruston
505c332123 Fix for identifying SVG images by file extension 2012-03-03 13:39:35 +00:00
Jeremy Ruston
9b8795856b Docs update 2012-03-03 13:35:58 +00:00
Jeremy Ruston
128c94804a Fixed type block bug 2012-03-03 13:35:51 +00:00
Jeremy Ruston
81129629de Mo' styling 2012-03-03 13:35:34 +00:00
Jeremy Ruston
3bfab9f9da Added support for typed blocks in wikitext
This allows embedded blocks of another mime type to appear in a
tiddler, useful for syntax highlighting fragments of javascript
2012-03-03 12:29:13 +00:00
Jeremy Ruston
12c6239bf5 Keeping JSHint happy 2012-03-02 18:00:40 +00:00
Jeremy Ruston
d87d180841 Further CSS tweaks 2012-03-02 16:35:18 +00:00
Jeremy Ruston
5eab89d1f0 Improved styles for JavaScript comments
Because we all want skeuomorphic post-it note comments on our code
2012-03-02 15:54:05 +00:00
Jeremy Ruston
5f3c89e2bb Added an SVG demo image 2012-03-02 14:38:29 +00:00
Jeremy Ruston
d3ca939863 Improved rendering of JavaScript comments 2012-03-02 14:21:02 +00:00
Jeremy Ruston
865a0ad7cc Improved rendering of JavaScript that has parse errors 2012-03-02 12:09:06 +00:00
Jeremy Ruston
488562bd95 Restored the JSONParser as a separate entity
It doesn't really have much in common with the JavaScript parser
2012-03-02 11:31:39 +00:00
Jeremy Ruston
1102c9babb Set a more reasonable tab size for browsers tat support it 2012-03-02 11:24:52 +00:00
Jeremy Ruston
8adfcbdc69 Added syntax highlighting for JavaScript tiddlers 2012-03-02 00:48:05 +00:00
Jeremy Ruston
542561a0fa Trim javascript module tiddlers to exclude the standard header and footer 2012-03-02 00:10:39 +00:00
Jeremy Ruston
8552f2f894 Use the new esprima parser to display javascript modules as parse trees 2012-03-01 23:59:46 +00:00
Jeremy Ruston
a274bad1a2 Tying up the ability to load javascript modules as tiddlers 2012-03-01 23:24:25 +00:00
Jeremy Ruston
96d8c15f72 Added ability to load javascript modules into the tiddler store
When running in the browser
2012-03-01 23:23:37 +00:00
Jeremy Ruston
2221efdee5 Recipe line for pegjs parser 2012-03-01 23:22:50 +00:00
Jeremy Ruston
c6aba28b71 Removed old pegjs javascript parser 2012-03-01 23:22:33 +00:00
Jeremy Ruston
f6338d9109 Replace pegs parser with Esprima
It preserves comments and text positions, enabling us to do syntax
highlighting. Hopefully.
2012-03-01 22:47:31 +00:00