Jeremy Ruston
9cd2d970e0
Deleted eroneous files
2011-12-07 12:27:39 +00:00
Jeremy Ruston
22fa89ed69
Updated readme
2011-12-07 12:20:44 +00:00
Jeremy Ruston
414fee9981
Readme update
2011-12-06 18:42:23 +00:00
Jeremy Ruston
dd9537cd88
Renamed the store class from TiddlyWiki to WikiStore
...
Much less confusing.
2011-12-06 18:29:53 +00:00
Jeremy Ruston
391b1be3dc
More tests, more fixes
2011-12-06 18:04:40 +00:00
Jeremy Ruston
6c06ef316d
Removed unnecessary require()
2011-12-06 17:50:13 +00:00
Jeremy Ruston
fa7669bcd5
Improved wikification test rig
...
Now it checks the HTML and plain text representations too.
2011-12-06 17:26:29 +00:00
Jeremy Ruston
e1e510cea2
Added proper HTML rendering of style attributes
2011-12-06 16:54:13 +00:00
Jeremy Ruston
ad26dd6be3
Test improvements and associated bug fixes
2011-12-06 10:40:49 +00:00
Jeremy Ruston
5297fa690d
Fixed HTML encoding of rendered output
2011-12-06 09:53:21 +00:00
Jeremy Ruston
87aa8667ec
Added plain text rendering of tiddlers
2011-12-06 09:27:39 +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
Jeremy Ruston
fa7b3f7305
Noted plans for refactoring the command line interface
2011-12-05 13:46:51 +00:00
Jeremy Ruston
b829b1d28f
Stopped formatters generating empty attributes
2011-12-05 13:15:06 +00:00
Jeremy Ruston
9d37633f15
Experimenting with test rigs for the wikifier
...
This approach seems to be a bit too verbose for comfort
2011-12-05 12:26:34 +00:00
Jeremy Ruston
e43237e282
First pass at transliterating the wikifier to avoid DOM usage
...
Instead, the parse tree is built up as a JavaScript object tree
2011-12-05 10:34:43 +00:00
Jeremy Ruston
fc423ba336
Brought in the textPrimitives from TiddlyWiki's global config variable
2011-12-03 18:19:13 +00:00
Jeremy Ruston
8ac4a8bf87
Removed references to global store object
2011-12-03 17:43:21 +00:00
Jeremy Ruston
7521207e45
Refactored the interface to the wikifier class
2011-12-03 17:39:13 +00:00
Jeremy Ruston
2a36261f33
Removed support for highlighting
...
This is better done as post processing after wikification
2011-12-03 17:12:26 +00:00
Jeremy Ruston
f5665b47f3
Added ability to read shadow tiddlers
2011-12-03 17:02:34 +00:00
Jeremy Ruston
a896ac0d56
Get rid of the annoying //# style comments
...
They are used by the TiddlyWiki build tools to mark comments that
should be stripped. In fact I think we should strip all comments
2011-12-03 16:36:11 +00:00
Jeremy Ruston
f33880f506
Refactored formatters out of global config object
2011-12-03 16:32:29 +00:00
Jeremy Ruston
e1f26eb07b
Refactored config.formatterHelpers
2011-12-03 16:18:17 +00:00
Jeremy Ruston
28cce8b269
Brought in the TiddlyWiki wikifier code
...
This is pretty much the raw TiddlyWiki code. Formatter.js incorporates
FormatterHelper.js, too.
2011-12-03 16:13:35 +00:00
Jeremy Ruston
9d4bfc1dec
Improved readme and example recipe
2011-12-03 14:05:39 +00:00
Jeremy Ruston
c2eab87c4e
Improved readme
2011-12-03 13:43:49 +00:00
Jeremy Ruston
066da7f2a9
Manual tweak to the test data
...
To cover a bug whereby the old build tools merge tags of overwritten
tiddlers
2011-12-03 13:05:14 +00:00
Jeremy Ruston
6ef4fbf0ed
Fixed ordering of attributes in tiddler <DIV>s
...
To match the ordering produced by TiddlyWiki
2011-12-03 13:01:24 +00:00
Jeremy Ruston
b07d518425
Alphabetically sort tiddlers
...
TiddlyWiki does this to make life easier for SCC systems
2011-12-03 12:01:43 +00:00
Jeremy Ruston
cfa448f712
Removed extra newline required for cook.rb compatibility
...
We're now trying to be compatible with TiddlyWiki itself
2011-12-03 12:01:08 +00:00
Jeremy Ruston
ffe31fbb11
Restoring test data
2011-12-03 11:53:29 +00:00
Jeremy Ruston
2323b15728
Cleaning up git
...
Aaargh, it seems that github tried to be smart when I copied files from
another repo
2011-12-03 11:50:11 +00:00
Jeremy Ruston
07df513140
Revised test data
...
Testing against the output of cook.rb isn't satisfactory because of the
bugs in it; instead we're now going to test against the tiddlywiki.com
build products
2011-12-03 11:41:25 +00:00
Jeremy Ruston
db2fafb0ab
Fixed problem with non-standard tiddler types (e.g. .jar)
2011-12-03 11:38:57 +00:00
Jeremy Ruston
2c3f96557f
Fixed handling of shadow tiddlers
2011-12-02 16:13:17 +00:00
Jeremy Ruston
351e5b3e1f
Restored async.js module
...
Got lost in a spate of Git confusion on my part
2011-12-02 16:12:31 +00:00
Jeremy Ruston
efd194141c
Major refactoring of async code
...
The result is correct handling of tiddlers being overwritten within
recipes.
2011-12-02 14:40:18 +00:00
Jeremy Ruston
afa1f77dc6
Brought in caolan's async library
...
See https://github.com/caolan/async/
2011-12-01 15:35:17 +00:00
Jeremy Ruston
69422a7023
Refactored TiddlyWiki methods
2011-12-01 15:07:10 +00:00
Jeremy Ruston
12665ce3a0
Added comment in readme about bugs in cook.rb
...
Turns out that cook.rb is really horrible: eg if two tiddlers with the
same title are referenced in a recipe then both tiddlers will get baked
into the TiddlyWiki files
2011-12-01 15:06:04 +00:00
Jeremy Ruston
f10cdecb3d
A bunch of changes to keep JSHint happy
2011-12-01 10:30:17 +00:00
Jeremy Ruston
3f5912949f
Refactorings to keep JSHint happy
2011-12-01 10:19:21 +00:00
Jeremy Ruston
d43efc5e18
More refactoring
2011-11-30 19:42:05 +00:00
Jeremy Ruston
4b3548e7bb
Minor corrections and refactorings
2011-11-30 19:35:01 +00:00
Jeremy Ruston
6202e64eaa
Refactored TiddlerInput.js to take advantage of recent refactoring of Tiddler.js
2011-11-30 18:53:43 +00:00
Jeremy Ruston
02137055ec
Refactored the Tiddler class
...
Specifically, made the constructor more flexible
2011-11-30 18:39:39 +00:00
Jeremy Ruston
13230fd34a
Corrected mistaken comment
2011-11-30 18:39:09 +00:00