1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-28 19:10:28 +00:00
Commit Graph

43 Commits

Author SHA1 Message Date
natecain
951019eacc Make require() compliant with CommonJS Modules/1.1 2013-10-12 13:44:09 -04:00
Jeremy Ruston
5ef4123b3d Revert "Merge pull request #160 from natecain/commonjs"
This reverts commit 661621c3f7, reversing
changes made to d3d72eff1b.
2013-10-12 16:29:20 +01:00
natecain
b8c37a26ef Additional improvement to CommonJS Modules support
Now implements (and mostly follows) requirements of Modules/1.1 spec
  implementes only the required "secure sandbox" subset of the spec
  `module` free variable changed from the `moduleInfo` to an id container
  `require` free variable given a "main" property
  boot module scope closed and exported
    this also changes the interface between boot and bootprefix slightly
    (should now be able to create multiple TW instances under node)
 BREAKING CHANGES:
  The tiddlywiki module itself now exports a single constructor function
  Modules which depended on `module` referring to `moduleInfo` will break
  Modules which don't conform to Modules/1.1 will break
    (by attempting to modify require.main or module.id)
2013-10-11 11:32:58 -04:00
Jeremy Ruston
9345078926 Refactor boot process to allow for lack of wiki folder
Previously, the command line interface required a wiki folder to be
specified.

This is part of the work to enable TiddlyWiki5 to be used more easily
as a library in other node.js apps
2013-08-21 09:42:51 +01:00
Jeremy Ruston
644d9f9405 Refactor boot sequence
This is the start of making it possible to use TiddlyWiki5 as a library
from a node.js application
2013-08-20 15:17:57 +01:00
Jeremy Ruston
cd36f594c5 Make the core into a plugin 2013-03-28 17:07:30 +00:00
Jeremy Ruston
e65cb93fa2 Batch file cleanups 2012-11-29 21:30:53 +00:00
Jeremy Ruston
3e42584a07 Rename cli.js to tiddlywiki.js
Use it consistently as the command line entry point, rather than boot.js
2012-07-18 11:50:11 +01:00
Jeremy Ruston
9a69e89465 First step of turning the rabbit hole inside out 2012-05-05 22:49:23 +01:00
Jeremy Ruston
af7b69e778 Refactored linkMassager mechanism
Now the link massager can control the HTML attributes of the link, and
suppress it entirely if necessary. Using this new facility to generate
a cleaner readme file for github
2012-04-07 12:10:46 +01:00
Jeremy Ruston
d34f163dbc Added deletion support to HttpSync and LocalFileSync 2012-04-05 18:25:39 +01:00
Jeremy Ruston
0ac55688c4 Browser now syncs changes with server which syncs with the file system
A bit rough and ready, but this gives us basic support for editting
tiddlers in the browser and updating the original file on the server
2012-04-05 12:21:49 +01:00
Jeremy Ruston
0cfef8affa Added support for a serverside tiddler file store
Preparatory to implementing saving changes to the server
2012-04-03 14:43:13 +01:00
Jeremy Ruston
0c2ba36945 Added ability to save test results
This makes it easy to update the test data
2012-03-29 14:57:36 +01:00
Jeremy Ruston
b1b893c692 Fix and a script for serving wikis over http
Makes it easier to test on the iPad
2012-03-07 17:40:37 +00:00
Jeremy Ruston
d6397e9d84 New command line switch to save wiki as a folder of static HTML files 2012-03-03 16:50:11 +00:00
Jeremy Ruston
138f8d875b Oops
Missed a bit
2012-02-11 18:19:51 +00:00
Jeremy Ruston
43e3b4d837 Repaired outdated function call 2012-02-11 17:11:14 +00:00
Jeremy Ruston
870529f76b Fixed problem with —servewiki option 2012-01-24 16:25:21 +00:00
Jeremy Ruston
ab2a0cd6e3 Fixed call to obsolete parseTiddlerFile() call 2012-01-23 19:04:29 +00:00
Jeremy Ruston
3675958e30 Improvements to recipe error handling 2012-01-22 17:37:21 +00:00
Jeremy Ruston
b898afe3e5 Refactor the Tiddler object to enforce immutability
And in the process move the fields out of the fields member
2012-01-17 13:01:55 +00:00
Jeremy Ruston
58bd8744e9 Fixes to new readme generation 2012-01-15 11:57:28 +00:00
Jeremy Ruston
550060466d Added new command line option to save an individual tiddler 2012-01-15 11:44:50 +00:00
Jeremy Ruston
57e3143d69 Refactoring the wikitext parser
To match the structure of the JavaScript parser, and make it less
complicated
2012-01-05 11:08:05 +00:00
Jeremy Ruston
ffbed4edbd Rolled wikitest.js functionality into tiddlywiki.js 2012-01-03 17:08:32 +00:00
Jeremy Ruston
cc59a1b91d Refactored wikitest.js and tiddlywiki.js to use App.js 2012-01-03 12:23:02 +00:00
Jeremy Ruston
c9101dcb24 More of that terrible hack to load macro definitions 2012-01-03 11:10:37 +00:00
Jeremy Ruston
04dc396f2a Added a temporary hack to get pegs working serverside 2011-12-28 22:21:31 +00:00
Jeremy Ruston
ed2e2ab14c Complete switch over to pegjs 2011-12-28 22:07:17 +00:00
Jeremy Ruston
e02a484591 Removed TextProcessors() and TiddlerConverters() classes 2011-12-28 17:16:56 +00:00
Jeremy Ruston
8ed8772b82 Experimental support for client-side builds
These changes allow tiddlywiki.js to cook it's own components into a
skeletal new-school client-side TiddlyWiki.
2011-12-13 12:30:09 +00:00
Jeremy Ruston
f112048682 Added a function wrapper around all source files to keep JSHint happy 2011-12-12 10:52:04 +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
4eb464548b Refactored tiddler serialization and deserialization
Introduced TiddlerConverters, a sort of factory for them
2011-12-11 14:51:48 +00:00
Jeremy Ruston
d39b9a047f Added --dumprecipe option 2011-12-10 11:46:13 +00:00
Jeremy Ruston
7184bc5fa5 Lots of JSHint induced tweaks
Still not spotless
2011-12-09 16:34:02 +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
25bf2fc330 Fixed problem with serving tiddlers with space in the title 2011-12-07 18:06:25 +00:00
Jeremy Ruston
118e86cbfe Added support for --servetiddlers option 2011-12-07 18:02:09 +00:00
Jeremy Ruston
eb9e8891cb Refactored TiddlyWikiInput to be a type of tiddlerFileInput 2011-12-07 17:39:55 +00:00
Jeremy Ruston
dc8871f9a2 Added command line switch to load tiddlers 2011-12-07 17:26:50 +00:00
Jeremy Ruston
5c97f7a66b First pass at new unified command line interface 2011-12-07 16:44:23 +00:00