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

152 Commits

Author SHA1 Message Date
Jeremy Ruston
74de12f4d6 Updated docs 2012-03-05 12:22:51 +00:00
Jeremy Ruston
4649a0bd88 Refactored slider macro to lazily render it's content 2012-03-04 21:58:33 +00:00
Jeremy Ruston
26b5fc4a6d Fixed default type for unknown typed text blocks 2012-03-03 18:07:47 +00:00
Jeremy Ruston
5124de8d25 Docs updates 2012-03-03 18:06:24 +00:00
Jeremy Ruston
193365c450 Added examples of JSON text blocks 2012-03-03 13:52:22 +00:00
Jeremy Ruston
505c332123 Fix for identifying SVG images by file extension 2012-03-03 13:39:35 +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
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
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
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
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
106380b98a Fixed slider to refresh child nodes correctly 2012-02-22 22:47:42 +00:00
Jeremy Ruston
52c3e7a146 Extended slider macro to accept a "content" parameter
It specifies wikitext to directly include within the slider, overriding
any specified targetTiddler
2012-02-22 21:39:59 +00:00
Jeremy Ruston
e4dd63d089 Updated slider macro to have a refresh method 2012-02-19 17:24:01 +00:00
Jeremy Ruston
103a9a4d7f Introduced new Dependency() class to encapsulate dependency handling logic
Note that the format is now slightly different; see js/Dependencies.js
for details
2012-02-17 14:11:25 +00:00
Jeremy Ruston
c23014dca4 Docs updates 2012-02-17 12:33:46 +00:00
Jeremy Ruston
56913bf061 Docs updates
Actually, the docs are now rather out of date… more updates to come
2012-02-16 20:39:24 +00:00
Jeremy Ruston
e1fc4f106b Remove info macro from template
It's not implemented yet
2012-02-16 20:39:07 +00:00
Jeremy Ruston
664ce709ab JSON sample data update 2012-02-13 13:47:00 +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
45663f6f16 Docs update 2012-02-11 18:19:58 +00:00
Jeremy Ruston
be44fb4ad2 Docs Updates 2012-02-11 17:11:23 +00:00
Jeremy Ruston
63da7ec980 Docs update 2012-02-10 11:12:20 +00:00
Jeremy Ruston
8d9b83484f Doc updates 2012-02-09 13:15:50 +00:00
Jeremy Ruston
95ab295fbb Refactored dependency handling
Now each class of dependency can be tracked individually
2012-02-07 19:03:59 +00:00
Jeremy Ruston
e66a12c165 Fixed styles for the parser dump 2012-02-06 10:58:25 +00:00
Jeremy Ruston
58ad43945a Adjusting colours again 2012-02-04 15:56:49 +00:00
Jeremy Ruston
094323c7a7 Docs update 2012-02-04 15:56:34 +00:00
Jeremy Ruston
15cfed83f4 Restored operation of sliders in info macro
Accidentally clobbered in the last refactoring
2012-02-02 18:15:59 +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
9206894e9a Tweaked plain text background colour 2012-02-02 12:49:58 +00:00
Jeremy Ruston
8a22ba2e7b Demo videos 2012-02-01 12:36:54 +00:00
Jeremy Ruston
3e62698efb Added parsing and rendering for JSON tiddlers 2012-01-25 22:35:52 +00:00
Jeremy Ruston
b7fd566148 Fixed external link CSS 2012-01-25 22:35:28 +00:00
Jeremy Ruston
b1bfe22168 A bigger kitten 2012-01-25 22:35:15 +00:00
Jeremy Ruston
a4600c6c16 Put the tiddler info stuff into sliders 2012-01-25 15:35:52 +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
dda7ab7069 Added the dump of the compiled tiddler code 2012-01-23 19:04: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
12cf19e70a Docs update 2012-01-23 16:42:23 +00:00
Jeremy Ruston
5d1cf97134 Docs update 2012-01-21 17:08:14 +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
b96f0c1bd6 Improvements to tree dumping 2012-01-21 14:00:09 +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
c413cbc22d Updated macro docs 2012-01-17 15:05:22 +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
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
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
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
4d380c60da New content 2012-01-15 11:46:20 +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
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
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
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
3412580af3 Fixed problem with double dot references to modules 2012-01-07 17:31:57 +00:00
Jeremy Ruston
b92183a3a7 Take links into account when accumulating dependencies 2012-01-07 10:30:50 +00:00
Jeremy Ruston
14243acec9 Adding caching for tiddler parse trees, render functions, and renditions 2012-01-06 17:40:22 +00:00
Jeremy Ruston
f155c150e2 Improved handling of HTML links
And updates to tests and comments
2012-01-05 20:10:25 +00:00
Jeremy Ruston
037e083007 Corrected and simplified readme 2012-01-05 11:31:40 +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
91b94e5d1a Keeping JSHint happy
Because it's a fastidious master, etc….
2012-01-03 17:42:33 +00:00
Jeremy Ruston
ebc127b2cb We don't need jQuery for this 2012-01-03 17:41:54 +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
Jeremy Ruston
0552da7810 TW5 content updates 2012-01-03 11:10:50 +00:00
Jeremy Ruston
ed2e2ab14c Complete switch over to pegjs 2011-12-28 22:07:17 +00:00
Jeremy Ruston
e02a484591 Removed TextProcessors() and TiddlerConverters() classes 2011-12-28 17:16:56 +00:00
Jeremy Ruston
92a1ddf2e1 Content updates for TW5 2011-12-28 16:10:57 +00:00
Jeremy Ruston
d3ea92ff4e Style sheet adjustments for TW5 2011-12-28 16:10:40 +00:00
Jeremy Ruston
4c11503bae Added skeleton support for evaluated macro parameters 2011-12-21 16:54:51 +00:00
Jeremy Ruston
0d1a2ef21c Added uglify.js 2011-12-21 13:03:37 +00:00
Jeremy Ruston
4217ee3ccc Fixed timeline macro to exclude tiddlers that lack the target field 2011-12-17 10:55:53 +00:00
Jeremy Ruston
0823beb85d Added template support to list macro 2011-12-16 10:48:36 +00:00
Jeremy Ruston
50e11a0da8 Added support for list all macro 2011-12-14 18:25:40 +00:00
Jeremy Ruston
a1a9de8ec1 Added some content tiddlers and styles for TW5 2011-12-14 15:45:09 +00:00
Jeremy Ruston
5d16050e24 Added an elementary stylesheet to TW5 2011-12-14 14:10:16 +00:00
Jeremy Ruston
a8099114b5 Refactored browser module boot loader to improve error messages 2011-12-14 10:42:19 +00:00
Jeremy Ruston
364d891ca6 Added skeleton browser support for navigating between tiddlers 2011-12-13 16:20:56 +00:00