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

1059 Commits

Author SHA1 Message Date
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
Jeremy Ruston
b143194c91 Cleaned up the date functions 2011-11-30 18:05:20 +00:00
Jeremy Ruston
b907d846f3 Minor refactoring, including switching to strict mode 2011-11-30 17:27:00 +00:00
Jeremy Ruston
2e9f334eca Added support for reading JSON files from TiddlySpace/TiddlyWeb 2011-11-30 16:29:49 +00:00
Jeremy Ruston
80f4250a62 Preparing to add support for JSON files loaded from TiddlySpace/TiddlyWeb 2011-11-30 16:06:34 +00:00
Jeremy Ruston
769b28b548 Added a test recipe retrieving tiddlers in JSON from TiddlySpace/TiddlyWeb 2011-11-30 11:42:17 +00:00
Jeremy Ruston
d4d377aed4 Trapped unknown tiddler type error 2011-11-30 11:41:45 +00:00
Jeremy Ruston
82f4f34059 Refactored return value of retrieveFile() 2011-11-30 11:41:26 +00:00
Jeremy Ruston
0ae98bcd88 Improved readme.md 2011-11-29 19:25:51 +00:00
Jeremy Ruston
44b7b93410 Minor refactoring 2011-11-29 19:25:29 +00:00
Jeremy Ruston
6eba3c3c07 Switched from deprecated "sys" to "until" 2011-11-29 18:27:26 +00:00
Jeremy Ruston
6bbc6c0dac Added support for retrieving ingredients over HTTP
This makes it possible to directly reference recipes and tiddlers
stored on GitHub, for example.
2011-11-29 18:27:03 +00:00
Jeremy Ruston
dc3546380a Cleaning up
Mostly murging adjacent var statements.
2011-11-28 17:04:39 +00:00
Jeremy Ruston
8bdafd521e Further refactoring of the new async design 2011-11-28 15:15:35 +00:00
Jeremy Ruston
0005c57669 Added ginsu to readme 2011-11-28 13:49:36 +00:00
Jeremy Ruston
5314fda2ca Converted recipe handling to use async IO
Part of the preparation for supporting reading recipes and ingredients
over HTTP
2011-11-28 13:47:38 +00:00
Jeremy Ruston
a2831eb203 Adopted a saner convention for handling modules that export a single class 2011-11-27 09:46:02 +00:00
Jeremy Ruston
c4ab9ec218 Improved test script
Now it recooks the ginsud tiddlers
2011-11-26 13:23:26 +00:00
Jeremy Ruston
36927cf0e5 Fixed problem with recipe file generation in ginsu 2011-11-26 13:22:50 +00:00
Jeremy Ruston
74363b104a Improved legibility of converted filenames 2011-11-26 12:52:09 +00:00
Jeremy Ruston
a52fd57e88 Improved testing of ginsu 2011-11-26 12:51:56 +00:00
Jeremy Ruston
54ad1984b2 Added encoding of tiddler filenames 2011-11-26 11:43:32 +00:00
Jeremy Ruston
7e5309d2dd Added HTML decode of tiddler text fields when reading TiddlyWiki files 2011-11-26 11:43:14 +00:00
Jeremy Ruston
bc07764e40 Used stout.write() instead of console.log()
Because console.log() processes C/C++ printf() style markers such as
"%d", which happens to appear in the jQuery source code.
2011-11-26 11:18:39 +00:00
Jeremy Ruston
b45c3249df Added ginsu.js for splitting TiddlyWiki files into separate tiddlers 2011-11-25 19:20:35 +00:00