1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 01:20:30 +00:00
Commit Graph

122 Commits

Author SHA1 Message Date
Jeremy Ruston
91b94e5d1a Keeping JSHint happy
Because it's a fastidious master, etc….
2012-01-03 17:42:33 +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
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
a865c05be7 Switched the parser to use the compiler rather than the renderer
The renderer will be going away shortly
2012-01-03 11:10:25 +00:00
Jeremy Ruston
b8e7681342 Added macro helpers and macro definitions
The macro definitions will go out into their own tiddlers shortly
2012-01-03 11:09:59 +00:00
Jeremy Ruston
0de633d28b Additional utilities for stringifying and escaping strings
Needed for JavaScript compilation
2012-01-03 11:09:26 +00:00
Jeremy Ruston
2b5676e187 Refactored use of ArgParser 2012-01-03 11:08:56 +00:00
Jeremy Ruston
3515016a7e Hacked the sandbox to expose a parse() method
The sandbox will be going shortly, it's convenient at the moment though
2012-01-03 11:08:41 +00:00
Jeremy Ruston
06f9887d59 Temporarily suppress RSS generation
It's going to be broken for a few days
2012-01-03 11:08:16 +00:00
Jeremy Ruston
304d54f8ca Terrible hack to add the new school macro definitions 2012-01-03 11:08:00 +00:00
Jeremy Ruston
b7137a7ab8 Changed ArgParser to defer evaluated parameters
In a compiled environment we evaluate the parameters at run time, not
parse time.
2012-01-03 11:07:45 +00:00
Jeremy Ruston
762985a846 Refactoring tiddler rendering
The new approach is to compile each tiddler into a JavaScript function
that renders it at run time. Lots of changes over the next few days,
and not all the tests are going to survive at all times...
2012-01-03 11:07:09 +00:00
Jeremy Ruston
04dc396f2a Added a temporary hack to get pegs working serverside 2011-12-28 22:21:31 +00:00
Jeremy Ruston
ed2e2ab14c Complete switch over to pegjs 2011-12-28 22:07:17 +00:00
Jeremy Ruston
e27d5392a1 Some mixups missed from previous commit 2011-12-28 17:45:58 +00:00
Jeremy Ruston
e02a484591 Removed TextProcessors() and TiddlerConverters() classes 2011-12-28 17:16:56 +00:00
Jeremy Ruston
32ff9e46b1 Added dummy support for missing tiddlers and orphans
And also proper support for getShadowTitles()
2011-12-28 16:10:30 +00:00
Jeremy Ruston
ed28773178 Added scrollTo animation for navigation in TW5 2011-12-28 16:10:03 +00:00
Jeremy Ruston
f381e95452 Note about JavaScript sanitisation 2011-12-28 16:09:49 +00:00
Jeremy Ruston
143454f784 Just open the HelloThere tiddler at startup 2011-12-28 16:09:33 +00:00
Jeremy Ruston
629a5b12da Added error checking and tests for evaluated parameters 2011-12-21 17:21:28 +00:00
Jeremy Ruston
4c11503bae Added skeleton support for evaluated macro parameters 2011-12-21 16:54:51 +00:00
Jeremy Ruston
02a2630dd6 Fixed problem with recipe files containing carriage returns 2011-12-21 14:03:39 +00:00
Jeremy Ruston
0d1a2ef21c Added uglify.js 2011-12-21 13:03:37 +00:00
Jeremy Ruston
f096b19e4a Simplified subrendering 2011-12-17 13:50:20 +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
f0e9c4e7ff Added support for the timeline macro 2011-12-16 17:45:33 +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
d96053192b Added support for the view macro, and client side wikitext tiddler templates 2011-12-14 15:45:42 +00:00
Jeremy Ruston
00f8021749 JSHint makes a hard task master... 2011-12-14 14:11:11 +00:00
Jeremy Ruston
364d891ca6 Added skeleton browser support for navigating between tiddlers 2011-12-13 16:20:56 +00:00
Jeremy Ruston
5383368b51 Improved browser module implementation 2011-12-13 12:48:11 +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
53d77edd01 Updated comments and documentation 2011-12-12 09:39:43 +00:00
Jeremy Ruston
820bd02f8f Added sortField and excludeTag to WikiStore.forEachTiddler 2011-12-12 08:59:28 +00:00
Jeremy Ruston
dc94b7a002 Improved comments 2011-12-11 19:00:21 +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
afb80d5fa8 Updated comments 2011-12-11 16:00:01 +00:00
Jeremy Ruston
4eb464548b Refactored tiddler serialization and deserialization
Introduced TiddlerConverters, a sort of factory for them
2011-12-11 14:51:48 +00:00
Jeremy Ruston
d748d04d92 Added support for generating the <title> tag from wikifying WindowTitle 2011-12-10 11:46:37 +00:00
Jeremy Ruston
b526f8bfaf Refactored helper methods to be module private 2011-12-09 19:39:19 +00:00
Jeremy Ruston
32514df9f3 Refactored wiki text rendering 2011-12-09 18:29:29 +00:00
Jeremy Ruston
7184bc5fa5 Lots of JSHint induced tweaks
Still not spotless
2011-12-09 16:34:02 +00:00
Jeremy Ruston
91c183480c Fixed cascading for with: parameters to tiddler macro 2011-12-09 14:51:47 +00:00
Jeremy Ruston
1e015c72dd Removed extraneous debugging call 2011-12-09 12:27:00 +00:00