1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 13:29:56 +00:00
Commit Graph

10809 Commits

Author SHA1 Message Date
Jeremy Ruston
0297de3648 Cleaning up 2012-01-17 14:36:27 +00:00
Jeremy Ruston
102724b3e8 Changed the SVG parser to use IMG tags
Embed the SVG image in an IMG tag rather than directly, to ensure that
it has it's own DOM state (otherwise things like IDs in SVG images are
visible to the hosting page)
2012-01-17 13:53:04 +00:00
Jeremy Ruston
bd17a389cb Move the cache from the Tiddler object to the WikiStore
It's not really a concern of the Tiddler object
2012-01-17 13:31:06 +00:00
Jeremy Ruston
b898afe3e5 Refactor the Tiddler object to enforce immutability
And in the process move the fields out of the fields member
2012-01-17 13:01:55 +00:00
Jeremy Ruston
2ff603da0e Added support for wildcard references in recipes 2012-01-16 19:22:10 +00:00
Jeremy Ruston
9075b8a020 Mapped wiki image markup to image macro 2012-01-16 08:58:51 +00:00
Jeremy Ruston
ac61e2d251 Rejigged the link macro to accept child elements 2012-01-15 18:39:14 +00:00
Jeremy Ruston
606374e563 Added the image macro 2012-01-15 14:37:49 +00:00
Jeremy Ruston
4df13a3e24 Refactored link classes allocation
Don't need the classesForLink() method anymore. Also avoid modifying
the argument to adjustClassesForLink().
2012-01-15 13:48:13 +00:00
Jeremy Ruston
4681d14f39 Fixed the view macro to reuse the link macro 2012-01-15 13:37:50 +00:00
Jeremy Ruston
1e05d673b1 Documentation update 2012-01-15 13:29:24 +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
c4f9efd894 Get rid of the obsolete link refreshing circuitry
We're going to redo links as macros and take advantage of that circuitry
2012-01-15 13:27:59 +00:00
Jeremy Ruston
2c20ef6aef Beefed up the stitchElement helper 2012-01-15 13:27:30 +00:00
Jeremy Ruston
c26f197462 Fixed problem with external links 2012-01-15 13:27:15 +00:00
Jeremy Ruston
e2a0955ced Renamed 'handler' member of macros
Used to be called "code". And associated documentation changes
2012-01-15 12:16:28 +00:00
Jeremy Ruston
58bd8744e9 Fixes to new readme generation 2012-01-15 11:57:28 +00:00
Jeremy Ruston
8895787197 But maybe we can foot it that an HTML file is a markdown file? 2012-01-15 11:54:49 +00:00
Jeremy Ruston
ab39190707 Nope
It doesn't
2012-01-15 11:52:51 +00:00
Jeremy Ruston
43ceb040d0 Maybe github likes html readme files without the extension? 2012-01-15 11:51:46 +00:00
Jeremy Ruston
de81a83617 New readme 2012-01-15 11:46:31 +00:00
Jeremy Ruston
4d380c60da New content 2012-01-15 11:46:20 +00:00
Jeremy Ruston
6ec259ca38 Automatically build the readme file 2012-01-15 11:45:58 +00:00
Jeremy Ruston
1cf8efbdcf Get rid of the old markdown readme file
We're going to generate an html readme file automatically instead
2012-01-15 11:45:32 +00:00
Jeremy Ruston
550060466d Added new command line option to save an individual tiddler 2012-01-15 11:44:50 +00:00
Jeremy Ruston
c3c5334795 Fixed minor problem with backtick formatting
It's confusing if it behaves differently that the existing
tripe-curly-brace format
2012-01-15 11:41:54 +00:00
Jeremy Ruston
a3d653e152 An upload script
Very basic, just uploads to tiddlywiki.com/tiddlywiki5
2012-01-14 18:34:34 +00:00
Jeremy Ruston
73a724ea39 Test updates 2012-01-14 17:24:43 +00:00
Jeremy Ruston
ed88f1246c Readme updates 2012-01-14 17:24:36 +00:00
Jeremy Ruston
b671ecdedd Refactored story macro to use renderTiddler instead of renderText 2012-01-14 17:24:25 +00:00
Jeremy Ruston
7c4d5b76ef Refactored parameter names for renderTiddler() 2012-01-14 17:24:07 +00:00
Jeremy Ruston
b26bf8e278 Keeping JSHint happy 2012-01-14 17:23:43 +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
054977c912 Add markup to capture macro details 2012-01-14 15:48:17 +00:00
Jeremy Ruston
adf4a3bae1 New utilities stitchElement and nextTick 2012-01-14 15:47:41 +00:00
Jeremy Ruston
e046fd7cbf Avoided using jQuery when bootstrapping the page 2012-01-13 18:51:39 +00:00
Jeremy Ruston
53562aa506 Don't get ingredients over HTTP
For performance
2012-01-13 18:51:00 +00:00
Jeremy Ruston
8561fb979c Added support for # comment lines in recipe files 2012-01-13 18:50:37 +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
6f247640c6 Re-enabled RSS feed generation
It was temporarily turned off while all that refactoring was going on
2012-01-08 14:07:01 +00:00
Jeremy Ruston
d01ba66305 Added backtick notation for inline code blocks
Getting bored of typing {{{ and }}}, given that  my keyboard already
devotes a key to backtick
2012-01-08 11:33:24 +00:00
Jeremy Ruston
14e252590c Minor optimisation to the list macro
By moving the compiling of the template outside of the main loop
2012-01-08 11:03:20 +00:00
Jeremy Ruston
bc16400ef2 Cleared some temporary variables after use
To reduce memory consumption
2012-01-08 10:24:09 +00:00
Jeremy Ruston
89cac4c054 Updated tests
And now all the wikification tests pass again. Phew.
2012-01-07 21:54:34 +00:00
Jeremy Ruston
cd0ecf6e1c Implemented <<list>> macro 2012-01-07 21:54:14 +00:00
Jeremy Ruston
b959c6ea22 Removed obsolete context handling in wikitext parse trees 2012-01-07 21:54:00 +00:00
Jeremy Ruston
44ef159243 Update parameterised transclusion test 2012-01-07 20:09:24 +00:00