Jeremy Ruston
d338a54370
Introduce refactored wiki parser and renderer
...
This is a half-way through a big refactoring of the parsing and
rendering infrastructure. The main change is to separate the parse and
render trees, which makes the code a lot cleaner. The new parser isn't
yet functional enough to replace the existing parser so for the moment
you have to manually invoke it with `$tw.testNewParser()` in your
browser console. I really ought to use branches for this kind of
thing...
2012-12-13 21:34:31 +00:00
Jeremy Ruston
580bd6438e
Fixed issues with blank tiddler text
...
The empty string is falsy in JavaScript, to keep us on our toes.
2012-11-23 13:08:10 +00:00
Jeremy Ruston
3d38d4add3
Use text/x-tiddlywiki for old format TiddlyWiki text for compatibility
2012-11-19 16:58:16 +00:00
Jeremy Ruston
84650b9a54
Swap over to the new mime type conventions
...
Discussed in
https://groups.google.com/forum/#!topic/tiddlywikidev/re8xfLqZNCE
2012-11-18 15:22:13 +00:00
Jeremy Ruston
5c87b437ee
Support for lazy loaded tiddlers
2012-11-18 13:14:28 +00:00
Jeremy Ruston
4742ab14fc
Start using the server connection tiddler to store host details
2012-11-17 21:15:19 +00:00
Jeremy Ruston
e194aed449
Introduce syncer mechanism
2012-11-17 20:18:36 +00:00
Jeremy Ruston
0dbe4c0291
Get rid of more vestiges of the old empty generation mechanism
2012-11-16 22:40:25 +00:00
Jeremy Ruston
539b64b626
Refactoring module mechanism
...
Changed the data structure $tw.modules.types to make it possible to
detect repeated registrations
2012-11-14 11:23:43 +00:00
Jeremy Ruston
9612aac296
New implementation for shadow tiddlers
...
Now shadow tiddlers are any tiddler whose title starts with "$:/"
2012-11-11 14:31:45 +00:00
Jeremy Ruston
9f6909ddc4
Appeasing the gods of JSHint
2012-11-06 17:21:56 +00:00
Jeremy Ruston
b81b2c0c63
Fixed problem with tiddler hashmap handling
...
We need to check hasOwnProperty to avoid problems with tiddlers called
eg "__proto__". There are more changes like this to come
2012-11-06 14:10:55 +00:00
Jeremy Ruston
ba4e140147
Fixed problem with retrieving non-existent list tiddlers
2012-10-25 22:44:00 +01:00
Jeremy Ruston
e063ec6b1a
Added new getTiddlerList() method to wiki
2012-10-25 14:57:33 +01:00
Jeremy Ruston
c087228b33
Starting to introduce list views
...
These are custom modules for visualising list manipulations and
navigations
2012-10-23 17:13:47 +01:00
Jeremy Ruston
5ced636abf
Rename "viewer" modules to "fieldviewer"
2012-10-23 16:40:22 +01:00
Jeremy Ruston
3a710ad9ce
Fix problem with sortTiddlers
2012-10-23 16:28:38 +01:00
Jeremy Ruston
092e495e90
Fixes the text reference parsing
2012-10-18 23:20:27 +01:00
Jeremy Ruston
971bc68163
Fixed search bug
2012-10-18 18:27:58 +01:00
Jeremy Ruston
cd04fa22c6
Introduce extensible viewer modules for the view macro
2012-10-18 18:27:27 +01:00
Jeremy Ruston
10ed746209
Seach titles as well as bodies
2012-10-18 10:51:52 +01:00
Jeremy Ruston
caaa798ced
Support search terms vs. literal search
...
Search terms like "one two" are searched like Google, returning
tiddlers with both terms
2012-10-17 20:38:36 +01:00
Jeremy Ruston
915caf2a18
Improvements and fixes to search
2012-10-17 14:57:13 +01:00
Jeremy Ruston
0982bcbf45
Added function to search a wiki
...
Crude at the moment
2012-10-17 14:34:59 +01:00
Jeremy Ruston
343a2c2340
Fixed problem with sorting by missing fields
2012-10-16 21:41:12 +01:00
Jeremy Ruston
3070357d70
Refactor serialisers to work on an array of tiddlers
2012-09-02 20:28:32 +01:00
Jeremy Ruston
389b6513b6
Fixed wiki.saveWiki to pass the correct parameters to the template
2012-08-25 17:32:43 +01:00
Jeremy Ruston
175d7c67fd
Moved support for parameter substitution into wiki.parseText()
...
We'll later refactor the same logic out of the tiddler macro
2012-08-25 12:05:57 +01:00
Jeremy Ruston
daff9c10f3
Tighten terminology for plugins vs. modules
...
"Plugins" are bundles of tiddlers managed as one, "modules" are
JavaScript tiddlers with a module type identifying when and how they
should be executed.
2012-08-03 15:09:48 +01:00
Jeremy Ruston
a2caf46b1e
Added new wiki methods for reading and writing a toddler as data
2012-07-22 22:03:06 +01:00
Jeremy Ruston
c74d608418
Removed parser switch
2012-07-14 18:08:00 +01:00
Jeremy Ruston
5e11de719c
Added HTTP upload saver
...
Now we can save changes to TiddlySpot
2012-07-13 13:03:38 +01:00
Jeremy Ruston
05d9cb60fc
Passed host wiki to saver constructors
2012-07-12 16:58:49 +01:00
Jeremy Ruston
c340082653
Added primitive save changes mechanism
...
Works in Firefox for now
2012-07-10 23:18:44 +01:00
Jeremy Ruston
2282a825ec
Extraneous var
2012-06-19 16:56:40 +01:00
Jeremy Ruston
08d7a12d04
Finishing off the text reference support
2012-06-19 16:47:25 +01:00
Jeremy Ruston
ec3f16f50f
Enabled sorting by title of tiddlers that don't exist
2012-06-19 10:40:05 +01:00
Jeremy Ruston
381d0715e9
The beginnings of support for text references
2012-06-19 08:56:15 +01:00
Jeremy Ruston
3584d854aa
Add case sensitive sorting
2012-06-14 11:36:26 +01:00
Jeremy Ruston
a160fb07e4
Sort tagged tiddlers
2012-06-13 13:19:32 +01:00
Jeremy Ruston
84a352b804
Added wiki.getTiddlersWithTag()
...
We should probably use the filter mechanism for this...
2012-06-13 09:10:03 +01:00
Jeremy Ruston
45cf175b8b
Made sorting be case insensitive
2012-06-10 22:53:29 +01:00
Jeremy Ruston
b5f8f97ccc
Refactored loading of tiddlywiki.plugin
files
...
Now we read the files raw, rather than through the deserialiser
2012-06-08 11:47:05 +01:00
Jeremy Ruston
e8c69ae7dc
Comment updates
2012-06-07 11:31:44 +01:00
Jeremy Ruston
3da70b925f
Saving a shadow tiddler preserves its shadow status
2012-06-06 22:19:34 +01:00
Jeremy Ruston
22b836e4ac
Added 'isShadow' flag for system tiddlers
...
Shadow tiddlers are omitted from lists by default
2012-06-06 13:21:20 +01:00
Jeremy Ruston
e2ea8ff436
Refactored shadow tiddlers to not be in a separate store
...
Shortly there will be a flag to mark them
2012-06-06 12:07:33 +01:00
Jeremy Ruston
7a62e6f1a4
Add quick switch for replacing old wikitext parser with the new
2012-06-02 13:19:46 +01:00
Jeremy Ruston
3da810b2b3
Extended wiki.serializeTiddler to take a Tiddler() object as well as a title
2012-05-29 22:01:35 +01:00
Jeremy Ruston
506519b49a
Switch to using the 'wikitextrule' moduletype for the new wiki text parser
2012-05-27 09:19:37 +01:00