1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-05 19:53:17 +00:00
Commit Graph

73 Commits

Author SHA1 Message Date
Jeremy Ruston
71aa79013d Remove invokeSyncers() method from wiki.js 2013-03-16 10:58:47 +00:00
Jeremy Ruston
854e8d7083 Use the wiki event mechanism to dispatch lazyLoad notifications to syncers
We're trying to get to the point where wiki.js doesn't know about
syncers
2013-03-16 10:50:36 +00:00
Jeremy Ruston
c3b57507b0 Refactored wiki event mechanism to support multiple event types 2013-03-16 10:42:46 +00:00
Jeremy Ruston
623a3ec8f8 Rename "shadow" tiddlers to "system" tiddlers
What we have at the moment isn't really the same as TiddlyWiki
classic's shadow tiddlers, it's a much simpler system for excluding
tiddlers. We'll use the term "shadow" instead to refer to the way that
tiddlers in plugins behave, which is exactly like TiddlyWiki classic's
shadow tiddlers.
2013-03-15 22:00:19 +00:00
Jeremy Ruston
e5443e27cb Minor tweaks to getTiddlers 2013-03-15 20:02:31 +00:00
Jeremy Ruston
00ad0bc7a9 Docs update 2013-03-10 19:27:44 +00:00
Jeremy Ruston
83a141752c Further simplifications to syncer interface
Dropped the idea of exposing separate server connections
2013-03-09 09:54:01 +00:00
Jeremy Ruston
3da508b7c4 Simplify syncer interface 2013-03-08 20:29:13 +00:00
Jeremy Ruston
06c5308c4b More explicit name for "touchTiddler"
Thanks to @boycook for the conversation that triggered this refactoring
2013-03-05 19:59:55 +00:00
Jeremy Ruston
9a71117853 Prettify JSON 2013-01-28 19:27:22 +00:00
Jeremy Ruston
d28ee0b82a Change module type for parsers to "parser" 2013-01-16 13:56:11 +00:00
Jeremy Ruston
baff901685 Added ability to transclude fields of data tiddlers
This allows us to transclude colours into CSS
2013-01-15 17:50:47 +00:00
Jeremy Ruston
12683c7d5f Removed dead code
Left over from the big parser refactoring
2012-12-29 22:27:36 +00:00
Jeremy Ruston
b006cf163f Remove the old parser code
Thus introducing a few functional regressions, but it's going to be
easier to fix things up without the old code knocking around and
getting in the way.
2012-12-28 22:08:32 +00:00
Jeremy Ruston
d6e531e87c Extend new parser mechanism to determine parser based on content type
And add an image parser and a plain text parser
2012-12-27 17:08:29 +00:00
Jeremy Ruston
c703fb1267 Get rid of the wikivocabulary object 2012-12-26 22:02:59 +00:00
Jeremy Ruston
055bdd8d8f Added inline transclusion as well as block transclusion 2012-12-20 15:07:38 +00:00
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