1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00
Commit Graph

166 Commits

Author SHA1 Message Date
Jeremy Ruston
6864251962 Cleaning up content types
Dealt with some inconsistencies
2013-05-13 17:42:07 +01:00
Jeremy Ruston
6b6dbb97a8 Fix typo
Fixes #96
2013-05-07 15:52:21 +01:00
Jeremy Ruston
408fcd8aa3 Add a parser for woff fonts
It's a bit of a hack to have a parser dedicated to fonts. We'll replace
it with a mechanism that handles generic binary data
2013-05-01 13:04:27 +01:00
Jeremy Ruston
cb675732b2 More fields hoisted up from plugin.info file into plugin tiddler 2013-05-01 12:01:43 +01:00
Jeremy Ruston
6d455d77cd Update plugin loading mechanism to allow plugins to be unregistered
We still have to explicitly unpack them after registering or
unregistering
2013-04-30 22:56:17 +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
40ac461ca1 Give plugins a pluginType field
Ordinary plugins have the type "plugin", we'll also have "theme" and
"language"
2013-04-28 18:16:22 +01:00
Jeremy Ruston
31a378b64c Start support for themes
To start with, we move the current stylesheets into a theme plugin
called "Snow White". Wikis have to specify at least one theme in their
`tiddlywiki.info` file. Next we'll add a mechanism for switching
between loaded themes
2013-04-28 09:42:48 +01:00
Jeremy Ruston
7aeeaf81eb Refactor boot.js module execution code
The aim is to expose the underlying cross-platform evalGlobal and
evalSandboxed.

Also adding the capability for a tiddlywiki.files file to specify a
prefix to be added to the text of a file.
2013-04-25 09:05:02 +01:00
Jeremy Ruston
0a37f6bf5b Correct module definition in the browser
The previous logic was preventing modules being executed that weren't
baked into a script tag.
2013-04-10 16:56:17 +01:00
Jeremy Ruston
df59269b0d Fixed problem with plugin precedence
We were unpacking plugin tiddlers in arbitrary order, and ensuring that
later plugins didn't overwrite shadow tiddlers from earlier plugins.

Now we'll allow plugins to specify a "pluginPriority" that determines
the load ordering. We also explicitly allow shadow tiddlers from later
plugins to overwrite shadow tiddlers from earlier plugins.

We're setting a base priority on the core plugin, since many plugins
will want to control their loading relative to it.
2013-04-08 18:37:49 +01:00
Jeremy Ruston
c0b6be9a13 Correct pesky missing brackets 2013-04-03 21:10:57 +01:00
Jeremy Ruston
0d247cb752 Update shadow tiddler handling to record source plugin tiddler 2013-04-03 13:23:26 +01:00
Jeremy Ruston
a75fd3df34 When we deserialize an unknown type as "text/plain" we should mark it with the original type 2013-04-01 18:55:49 +01:00
Jeremy Ruston
63fd149ea9 Relaxed restrictions on the names of constituent tiddlers within plugins
Thus allowing us to give a more sensible title to the core plugin
2013-03-28 17:15:52 +00:00
Jeremy Ruston
cd36f594c5 Make the core into a plugin 2013-03-28 17:07:30 +00:00