1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-05 09:36:18 +00:00
Commit Graph

12013 Commits

Author SHA1 Message Date
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
Jeremy Ruston
3f10da9ed4 Keeping JSHint happy 2012-01-07 20:09:09 +00:00
Jeremy Ruston
5bb2a1e1b7 Added support for the "with" parameter to the tiddler macro 2012-01-07 20:09:01 +00:00
Jeremy Ruston
c865fabd3c Added support for macro parameters that trigger all dependencies 2012-01-07 20:08:46 +00:00
Jeremy Ruston
0910ada5fb Added support for compiling and rendering raw text blocks 2012-01-07 20:08:11 +00:00
Jeremy Ruston
4c19c76461 Fixed problem with ArgParser returning non-string argument names 2012-01-07 20:07:54 +00:00
Jeremy Ruston
3560703078 Fixed handling of "dependentAll" macros
Like <<list>>
2012-01-07 18:34:20 +00:00
Jeremy Ruston
3a98cc5389 Added verification of macro type compatibility 2012-01-07 18:33:57 +00:00
Jeremy Ruston
7a0f94343a Converted spaces to tabs
Dang things keep slipping in
2012-01-07 17:37:20 +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
41f33a8639 Comments 2012-01-07 11:43:49 +00:00
Jeremy Ruston
d89ea0abd7 Cleaning up some macro definition wrinkles 2012-01-07 11:43:40 +00:00
Jeremy Ruston
306f305a25 Better comments 2012-01-07 11:43:24 +00:00
Jeremy Ruston
bd617b2483 Adjusted link class detection
The problem is that it's sometimes useful to use URLs as the title of
tiddlers, making it hard to distinguish URLs from tiddler titles...
2012-01-07 10:35:02 +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
86bf495dec Removed some unused requires 2012-01-06 17:53:37 +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
e190cadcca Minor tweaks to link class handling 2012-01-05 21:31:47 +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
9961ddc8b4 Fixed entities decoding in plain text renderings 2012-01-05 11:35:38 +00:00
Jeremy Ruston
037e083007 Corrected and simplified readme 2012-01-05 11:31:40 +00:00
Jeremy Ruston
8b7962c720 Missed off last commit
I hate git
2012-01-05 11:08:32 +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
b1b1b84b3e Cleaning up the JavaScript parser 2012-01-05 10:00:21 +00:00
Jeremy Ruston
1e02389f46 WikiStore cleanups 2012-01-04 19:44:38 +00:00
Jeremy Ruston
733e93de63 Refactored WikiTextCompiler
As promised, to reduce duplication of code
2012-01-04 19:32:38 +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
5eeb45cd79 Test updates
Tests still don't all pass, but will do soon
2012-01-04 11:58:24 +00:00
Jeremy Ruston
e4d2213835 Added plain text support
Temporary hack; lots of code duplication to be resolved shortly
2012-01-04 11:58:08 +00:00
Jeremy Ruston
8a5a9bfa8b Macro fixes 2012-01-04 11:57:45 +00:00
Jeremy Ruston
ff1b0adbf4 It's 2012!
Yay
2012-01-04 11:57:21 +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
04e528c99f Added the TW5 boot loader to the jshint list 2012-01-03 17:42:12 +00:00
Jeremy Ruston
ebc127b2cb We don't need jQuery for this 2012-01-03 17:41:54 +00:00
Jeremy Ruston
ffbed4edbd Rolled wikitest.js functionality into tiddlywiki.js 2012-01-03 17:08:32 +00:00
Jeremy Ruston
8dd7315d3c Changed function ordering to keep jshint happy
It's a fastidious task master
2012-01-03 17:08:16 +00:00
Jeremy Ruston
36ba38d685 Bugfix and removed dead code 2012-01-03 12:42:34 +00:00
Jeremy Ruston
5a8b6afc03 Removed uglify.js
Because we're using peg.js now
2012-01-03 12:30:07 +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
Jeremy Ruston
0552da7810 TW5 content updates 2012-01-03 11:10:50 +00:00
Jeremy Ruston
c9101dcb24 More of that terrible hack to load macro definitions 2012-01-03 11:10:37 +00:00