1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-28 08:13:14 +00:00
Commit Graph

72 Commits

Author SHA1 Message Date
Jeremy Ruston
3f151ba70e Add support for macro modules
Now JavaScript macros can be defined in "macro" modules
2013-10-17 16:57:07 +01:00
Jeremy Ruston
ed35d91be6 Initial Commit
Carried over from the abortive pull request #169
2013-10-12 17:05:13 +01:00
Jeremy Ruston
2be9e82f84 Get rid of the modal popup for empty wikis
Ugly and clumsy.
2013-09-01 22:33:23 +01:00
Jeremy Ruston
83ea953a1d Switch the story list over to using the new list field 2013-08-07 17:54:27 +01:00
Jeremy Ruston
86e73ee323 Set modified field and other metadata for newly created and modified tiddlers
Right now we're setting the created/modified time, and only setting the
creator/modifier if the tiddler `$:/status/UserName` is defined.
2013-08-04 14:02:07 +01:00
Jeremy Ruston
1f21bd36d6 Fix problem with displaying modals before the page container is initialised 2013-06-04 16:22:37 +01:00
Jeremy Ruston
854a9d6d1c Toggle a style on the page container when a modal is displayed 2013-06-04 16:19:47 +01:00
Jeremy Ruston
28b0b58a11 Make a distinction between templates and UI
Templates are the low-level bits and pieces that allow TW5 to generate
HTML and CSS renderings of tiddlers. The UI folder contains the
user-visible UI of TW5
2013-05-31 15:38:27 +01:00
Jeremy Ruston
227cadd326 Add a barebones animation framework
The idea is to allow us to package animations/transitions into plugins
2013-05-28 16:28:16 +01:00
Jeremy Ruston
6e1cd46bc7 Fix document references 2013-05-17 17:29:43 +01:00
Jeremy Ruston
8564602256 Refactor rendertree to simplify context handling
Get rid of the separate renderContext stack and instead have a parent
pointer on renderer nodes. This lets us walk back up the render tree to
resolve context references
2013-05-15 17:32:17 +01:00
Jeremy Ruston
24db38c06b Add simple notification mechanism 2013-05-07 18:08:44 +01:00
Jeremy Ruston
c373fea350 Ensure themes get initialised on the server as well as the browser
To make sure that static site generation has access to the theme shadow
tiddlers
2013-04-30 23:04:15 +01:00
Jeremy Ruston
152fb798eb Start responding to dynamic stylesheet changes
This mechanism will only be triggered by changes to the stylesheet
tiddlers themselves, and not to any dependencies that they might have.
It'll stay that way for a while.

The next thing is making the theme manager actually switch themes,
forcing the right wiki change events to make the stylesheet manager
update itself
2013-04-29 12:07:39 +01:00
Jeremy Ruston
17cfd57390 Start making themes switchable
Separately switch in ordinary plugins and themes. Change the convention
for plugin information to use dashes rather than camel case.
2013-04-28 22:52:26 +01:00
Jeremy Ruston
996a7279ed Switch to using tags to identify stylesheets
Using module-type was confusing, because we weren't actually using the
module infrastructure for stylesheet processing.
2013-04-28 18:13:57 +01:00
Jeremy Ruston
cd36f594c5 Make the core into a plugin 2013-03-28 17:07:30 +00:00
Jeremy Ruston
4848a21c6b Add GettingStarted tiddler for empty TiddlyWikis 2013-03-21 22:21:34 +00:00
Jeremy Ruston
2624fed4f1 Get rid of the support for old-style syncers 2013-03-17 18:45:22 +00:00
Jeremy Ruston
dbde2bf23b Started refactoring TiddlyWeb syncer into generic syncer + TiddlyWeb adaptor
The refactored plugin is `tiddlyweb2` for the moment. The idea is to be
able to use the same syncer with a different adaptor for syncing
changes to the local file system.
2013-03-17 15:28:49 +00:00
Jeremy Ruston
17a9cdd1e3 Remove initSyncers() from wiki.js 2013-03-16 11:06:44 +00:00
Jeremy Ruston
71aa79013d Remove invokeSyncers() method from wiki.js 2013-03-16 10:58:47 +00:00
Jeremy Ruston
c3b57507b0 Refactored wiki event mechanism to support multiple event types 2013-03-16 10:42:46 +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
7d589b4b27 Removed extraneous debugging code 2013-03-08 17:50:40 +00:00
Jeremy Ruston
c76d038b8e Update command line processing to allow a wiki path to be specified 2013-02-09 17:07:18 +00:00
Jeremy Ruston
5fd73a2b8d Remove obsolete modules
ArgParser was used by the old tw2 parser, and the Sprite animator was
never actually used
2013-02-08 09:22:02 +00:00
Jeremy Ruston
30d0dec1fa Replacement styles
Smaller simpler styles (including CSS reset from
https://github.com/necolas/normalize.css/)
2013-02-03 23:02:23 +00:00
Jeremy Ruston
5028da3953 Better wording and button colours for password UI 2013-02-02 12:06:59 +00:00
Jeremy Ruston
a9de17bd55 Restore encrypted TiddlyWiki support 2013-01-31 10:20:13 +00:00
Jeremy Ruston
32331a8764 Process DefaultTiddlers on the server as well as the browser
Thus fixing the baking of static.html
2013-01-23 12:36:42 +00:00
Jeremy Ruston
b19a0ac948 Add dynamic processing of stylesheets with transclusions and macros 2013-01-06 21:39:39 +00:00
Jeremy Ruston
8fdeefd7d1 Added reveal macro 2012-12-31 18:36:39 +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
0154b2a54e Revised implementation of scrolling behaviour
Now we use a "tw-scroll" event to request scrolling
2012-11-26 16:08:52 +00:00
Jeremy Ruston
e194aed449 Introduce syncer mechanism 2012-11-17 20:18:36 +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
481b58eec9 Fixed crash when no browser-startup modules 2012-11-12 22:15:22 +00:00
Jeremy Ruston
9f6909ddc4 Appeasing the gods of JSHint 2012-11-06 17:21:56 +00:00
Jeremy Ruston
4bff67007d Introduce sprite handler mechanism
For flying things around the page
2012-11-03 12:33:21 +00:00
Jeremy Ruston
416ab0c060 Removed startup history list processing
Not needed anymore
2012-10-26 22:51:54 +01:00
Jeremy Ruston
5a58639131 Get rid of the old story macro, and tidy up 2012-10-25 22:44:41 +01:00
Jeremy Ruston
7c76ec02c2 Better programmatic CSS handling 2012-10-25 22:20:27 +01:00
Jeremy Ruston
950b46276e Start updating the browser prefix stuff
The old way led to code that was too long and unreadable.
2012-10-25 14:58:32 +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
cd04fa22c6 Introduce extensible viewer modules for the view macro 2012-10-18 18:27:27 +01:00
Jeremy Ruston
c39654917f Added support for browser startup modules 2012-09-12 10:46:28 +01:00