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

82 Commits

Author SHA1 Message Date
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
Jeremy Ruston
318381a21b Fixed problem with tiddler context within macros 2011-12-09 12:26:36 +00:00
Jeremy Ruston
ad5356f2f3 Added support for parameterised transclusions
Still no protection against infinite transclusion loops
2011-12-09 10:17:41 +00:00
Jeremy Ruston
a5a0567fe9 Added support for transclusion macro 2011-12-09 08:59:49 +00:00
Jeremy Ruston
ff73987457 Removed skeletons for macros that are not immediately planned for implementation 2011-12-08 18:09:22 +00:00
Jeremy Ruston
9d258eca88 Added skeletons for the other macros
And filled out the 'today' macro, including a bunch of date related
bits and bobs
2011-12-08 18:05:21 +00:00
Jeremy Ruston
172d4cdcf2 Added support for macros
And added a dummy version macro to get started
2011-12-08 17:18:03 +00:00
Jeremy Ruston
5b5bc2f756 Removed accidental debugging logging 2011-12-08 16:56:12 +00:00
Jeremy Ruston
c3331cb090 Added preliminary support for generating RSS feeds
Which also included adding the shadow shadow tiddlers that are built
into TiddlyWiki's source code, and are not handled by cook.rb and
ginsu.rb
2011-12-08 16:20:11 +00:00
Jeremy Ruston
e9d3a878c1 Added hasTag() method to wiki store 2011-12-08 16:19:19 +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
a09c43d456 Added support for hexadecimal HTML entities 2011-12-08 12:45:26 +00:00
Jeremy Ruston
ef60c9018e Fixed problems with HTML entity handling 2011-12-08 12:38:08 +00:00
Jeremy Ruston
eb9e8891cb Refactored TiddlyWikiInput to be a type of tiddlerFileInput 2011-12-07 17:39:55 +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
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
b829b1d28f Stopped formatters generating empty attributes 2011-12-05 13:15:06 +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
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
db2fafb0ab Fixed problem with non-standard tiddler types (e.g. .jar) 2011-12-03 11:38:57 +00:00