1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-08 13:04:21 +00:00
Commit Graph

41 Commits

Author SHA1 Message Date
Jeremy Ruston
588bc550c0 Added plain text parser
Now we display plain text tiddlers properly
2012-03-03 18:07:09 +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
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
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
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
Jeremy Ruston
1d007ce6d5 Removing the info macro 2012-02-21 21:56:38 +00:00
Jeremy Ruston
5ca478d106 Get rid of the Renderer() wrapper and use the MacroNode directly 2012-02-20 20:52:54 +00:00
Jeremy Ruston
56eb3dc1dc Added support for rendering and refreshing the window title 2012-02-17 12:34:28 +00:00
Jeremy Ruston
0439f259b4 Switched over to using new Renderer class 2012-02-16 20:38:10 +00:00
Jeremy Ruston
b05e7e82da Now passing store to the other parser constructors 2012-02-11 20:11:26 +00:00
Jeremy Ruston
c100b434f9 Revert "Passed "store" to the other parser constructors"
This reverts commit 017be8f4ff.
2012-02-11 20:02:35 +00:00
Jeremy Ruston
017be8f4ff Passed "store" to the other parser constructors 2012-02-11 20:01:58 +00:00
Jeremy Ruston
d2c6248efd Renamed the moving clock tiddler 2012-02-11 17:10:28 +00:00
Jeremy Ruston
58ab36ef51 Refactored navigation to use new macro event mechanism
Phew. This gets rid of a lot of hacks
2012-02-02 18:00:42 +00:00
Jeremy Ruston
f576c86b41 Refactored macro event handling
Updated the slider macro to use the new mechanism to start with
2012-02-02 17:48:09 +00:00
Jeremy Ruston
121907fd36 Added a video embed macro
Playing videos makes it easier to verify that a particular tiddler
hasn't been inadvertently refreshed (which would cause the video to
reload)
2012-02-01 12:36:40 +00:00
Jeremy Ruston
6066b5cf89 Removed extraneous parameters to JSONParser constructor 2012-01-30 18:25:26 +00:00
Jeremy Ruston
f29f06f3e9 Cleanups 2012-01-27 16:35:55 +00:00
Jeremy Ruston
3e62698efb Added parsing and rendering for JSON tiddlers 2012-01-25 22:35:52 +00:00
Jeremy Ruston
fdbb46afb8 Missing return value if slider click event not handled 2012-01-25 19:14:01 +00:00
Jeremy Ruston
a4600c6c16 Put the tiddler info stuff into sliders 2012-01-25 15:35:52 +00:00
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
b32826f110 Revise startup display handling
And adjust the image parser registration
2012-01-24 18:09:38 +00:00
Jeremy Ruston
ed87061897 Added the slider macro 2012-01-23 18:31:17 +00:00
Jeremy Ruston
606374e563 Added the image macro 2012-01-15 14:37:49 +00:00
Jeremy Ruston
ca6e32bd5a Refactor link handling to use a link macro
Instead of the special case handling for <a> tags
2012-01-15 13:29:16 +00:00
Jeremy Ruston
b7d0942625 Added support for store events and basic refreshing
1s after loading you'll see the link to TiddlyWiki5 flip from italic to
normal text as that tiddler is created on a timer
2012-01-14 15:49:12 +00:00
Jeremy Ruston
e046fd7cbf Avoided using jQuery when bootstrapping the page 2012-01-13 18:51:39 +00:00
Jeremy Ruston
510006d67d Added story macro
And the PageTemplate for it to go into
2012-01-13 16:50:11 +00:00
Jeremy Ruston
f5c56c066e Added support for binary ingredients over HTTP 2012-01-13 15:37:58 +00:00
Jeremy Ruston
ecfbaaa564 Added support for JPEG and PNG bitmap tiddlers 2012-01-12 21:48:24 +00:00
Jeremy Ruston
ecabcd676b Added support for SVG tiddlers
Which means adding a parser for SVG, even though it doesn't actually do
any parsing at the moment
2012-01-12 19:17:32 +00:00
Jeremy Ruston
9a73b0a6aa Rejigged macro implementation
Now each macro is in a separate file, and is implemented as a function,
rather than being inlined into the compiled tiddler rendering function
2012-01-07 17:33:42 +00:00
Jeremy Ruston
57e3143d69 Refactoring the wikitext parser
To match the structure of the JavaScript parser, and make it less
complicated
2012-01-05 11:08:05 +00:00
Jeremy Ruston
3ff1d9a76c Cleaned up JavaScript processing
I'm slowly trying to make the JavaScript processing and the WikiText
processing use the same conventions
2012-01-04 18:31:19 +00:00
Jeremy Ruston
cc59a1b91d Refactored wikitest.js and tiddlywiki.js to use App.js 2012-01-03 12:23:02 +00:00
Jeremy Ruston
75e6bdef2b Changed App.js to be a proper object class 2012-01-03 11:57:30 +00:00
Jeremy Ruston
883956e855 Renamed Main.js to App.js
Because now we're going to use the same logic for the client and server
2012-01-03 11:38:15 +00:00