1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 18:47:20 +00:00
Commit Graph

46 Commits

Author SHA1 Message Date
Jeremy Ruston
bfc1f1aaa5 Fixed custom classes containing a dash 2012-03-05 15:13:52 +00:00
Jeremy Ruston
4a73317193 Refactoring renderer "tree" array to "nodes" 2012-03-03 18:39:13 +00:00
Jeremy Ruston
26b5fc4a6d Fixed default type for unknown typed text blocks 2012-03-03 18:07:47 +00:00
Jeremy Ruston
128c94804a Fixed type block bug 2012-03-03 13:35:51 +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
46f019ea83 Refactored where we do macro parameter string parsing 2012-02-22 23:27:38 +00:00
Jeremy Ruston
525fd3631e Handle cascadeDefaults in macro parameters 2012-02-22 22:24:51 +00:00
Jeremy Ruston
c918bb6b35 Removed obsolete parameter from internal method 2012-02-22 21:58:48 +00:00
Jeremy Ruston
6a0f2006bf Fixed problem with specifying positional parameters by name 2012-02-22 21:39:08 +00:00
Jeremy Ruston
53f652bf2a Refactored evaluation of macro dependencies
Now the dependencies are evaluated in the constructor for the
Renderer.MacroNode
2012-02-20 19:27:37 +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
0439f259b4 Switched over to using new Renderer class 2012-02-16 20:38:10 +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
10774a724f Refactored macro parsing
So that we can more easily improve the way that dependencies are tracked
2012-02-06 17:16:45 +00:00
Jeremy Ruston
9dfa0f4edd Added support for macros to HTML.js 2012-02-06 12:55:38 +00:00
Jeremy Ruston
5814e29416 More HTML.js changes 2012-02-06 12:43:05 +00:00
Jeremy Ruston
4376e26d53 Switched over to HTML.js 2012-02-06 12:15:16 +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
4bed00220e Cleaning up WikiTextRules 2012-01-17 16:44:59 +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
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
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
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
c865fabd3c Added support for macro parameters that trigger all dependencies 2012-01-07 20:08:46 +00:00
Jeremy Ruston
3560703078 Fixed handling of "dependentAll" macros
Like <<list>>
2012-01-07 18:34:20 +00:00
Jeremy Ruston
b92183a3a7 Take links into account when accumulating dependencies 2012-01-07 10:30:50 +00:00
Jeremy Ruston
c716cdce20 Added support for macros that are dependent on all other tiddlers 2012-01-06 21:08:15 +00:00
Jeremy Ruston
82a83bd714 Added tracking of dependencies between tiddlers 2012-01-06 19:41:42 +00:00
Jeremy Ruston
3d507c3bab Refactored macro parameter parsing
So that it happens during parsing, not compilation. This will enable us
to do the dependency tracking during parsing, and not wait until
compilation time
2012-01-06 18:43:36 +00:00
Jeremy Ruston
d96053192b Added support for the view macro, and client side wikitext tiddler templates 2011-12-14 15:45:42 +00:00
Jeremy Ruston
8ed8772b82 Experimental support for client-side builds
These changes allow tiddlywiki.js to cook it's own components into a
skeletal new-school client-side TiddlyWiki.
2011-12-13 12:30:09 +00:00
Jeremy Ruston
f112048682 Added a function wrapper around all source files to keep JSHint happy 2011-12-12 10:52:04 +00:00
Jeremy Ruston
80d71d7bf4 Major refactoring of how wiki text parsing and rendering is packaged 2011-12-11 18:28:09 +00:00
Jeremy Ruston
b526f8bfaf Refactored helper methods to be module private 2011-12-09 19:39:19 +00:00
Jeremy Ruston
7184bc5fa5 Lots of JSHint induced tweaks
Still not spotless
2011-12-09 16:34:02 +00:00
Jeremy Ruston
318381a21b Fixed problem with tiddler context within macros 2011-12-09 12:26:36 +00:00
Jeremy Ruston
6d727437e7 Fixed problem with list wiki rule 2011-12-08 16:19:02 +00:00
Jeremy Ruston
3bef25194c Removed detection of external vs. internal links
This should be deferred until at least rendering, and possibly until
the runtime navigation handler
2011-12-08 13:16:07 +00:00
Jeremy Ruston
be52fbb5d1 Fixed problem with custom CSS classes 2011-12-08 13:04:12 +00:00
Jeremy Ruston
ef60c9018e Fixed problems with HTML entity handling 2011-12-08 12:38:08 +00:00
Jeremy Ruston
391b1be3dc More tests, more fixes 2011-12-06 18:04:40 +00:00
Jeremy Ruston
ad26dd6be3 Test improvements and associated bug fixes 2011-12-06 10:40:49 +00:00
Jeremy Ruston
e3b1def010 Changed link code to generate ordinary <A> tags 2011-12-06 09:21:45 +00:00
Jeremy Ruston
e7cda202fb Added basic support for HTML rendering 2011-12-05 18:21:52 +00:00
Jeremy Ruston
620add5579 Integrated the TiddlyWiki wikifier
A large refactoring to tidy up the interface of the TiddlyWiki wikifier
code, and package it as a wiki text parser.
2011-12-05 16:50:25 +00:00