natecain
951019eacc
Make require() compliant with CommonJS Modules/1.1
2013-10-12 13:44:09 -04:00
natecain
539915d300
Provide an exports object in the evalSandboxed context of jasmine-plugin
2013-10-12 13:42:02 -04:00
Jeremy Ruston
6ea264f3bc
Merge branch 'fs_watch' of https://github.com/natecain/TiddlyWiki5 into natecain-fs_watch
2013-10-12 16:41:33 +01: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
Jeremy Ruston
661621c3f7
Merge pull request #160 from natecain/commonjs
...
CommonJS Modules/1.1 Conformance
2013-10-12 07:42:26 -07:00
natecain
2c02b6d6bc
Remove watcher while saving, and use AddTiddler instead of modifying tiddlers directly
2013-10-11 18:43:51 -04:00
natecain
4849bd43c8
More graceful handling of tiddler delete in filesystemadaptor watch code
2013-10-11 17:54:47 -04:00
natecain
ee236060c7
Rudimentary fs.watch usage in filesystemadaptor
...
Will only watch for changes on wiki files loaded during startup or created by runtime
(Does not yet track renames/deletes)
(Will not notice new files)
May become confused by directory structure changes on some platforms
(see node docs on fs.watch for caveats!)
2013-10-11 17:10:10 -04: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
d3d72eff1b
Search over tags as well as the title and text fields
2013-10-11 08:46:09 +01:00
Jeremy Ruston
27f724d0ed
Docs updates
2013-10-09 22:57:20 +01:00
Jeremy Ruston
1c2696614e
Add a read only theme that hides editing controls
2013-10-09 22:10:02 +01:00
Jeremy Ruston
f2b598ef13
Correct example
2013-10-05 16:01:07 +01:00
Jeremy Ruston
b9deecb0d8
New deployment script
2013-10-03 14:44:48 +01:00
Jeremy Ruston
c784217009
Missing semi
2013-10-03 14:43:58 +01:00
Jeremy Ruston
d7347c8674
Docs updates
2013-10-03 14:26:26 +01:00
natecain
fbc80e379d
Some quick style cleanup to commonjs patches
2013-10-01 17:56:05 -04:00
Jeremy Ruston
9616b5586f
Merge pull request #173 from natecain/BlobAPI
...
Blob api
2013-10-01 14:41:43 -07:00
natecain
c45f4d1c62
Small revision to previous commit, avoids double encoding.
...
We don't need to encodeURIComponent at all when using blob links.
The data never goes into the dom directly, just a guid reference.
This makes saving with blobs very fast!
2013-10-01 17:35:58 -04:00
natecain
aef8e63cf8
Use Blob api to generate data links in download saver
...
This should fix crashing on large wikis under chrome
see chrome bug: https://code.google.com/p/chromium/issues/detail?id=103234
This should also speed up generating the download html by a couple of seconds
it avoids repeatedly marshalling the base64 encoded href string across the sandbox boundary
it avoids some time and memory consumed by "large" dom manipulation
major remaining delay is in encodeURIComponent
TODO: consider using iconv on the server
TODO: consider async invocation of regular expressions to avoid client "lockup"
Conflicts:
core/modules/savers/download.js
2013-10-01 17:35:47 -04:00
Jeremy Ruston
becd0f8739
Merge pull request #171 from natecain/cla2
...
sign cla
2013-10-01 13:57:20 -07:00
Jeremy Ruston
e57148b034
Merge pull request #172 from Brennall/FilterLimitBug
...
Filter limit bug
2013-10-01 13:57:04 -07:00
David Johnston
154d5f316b
Added test for !limit (not limit)
...
Added test for !limit (not limit) to ensure bug change works
2013-10-01 11:27:26 +01:00
David Johnston
d321508437
Remove incorrect slice parameter.
...
Remove incorrect slice parameter, which made the ! (not) prefix fail to return any results.
2013-10-01 10:50:13 +01:00
natecain
867c728de6
sign cla
2013-10-01 01:12:41 -04:00
Jeremy Ruston
ae3ed86e6f
Correct typos
...
Fixing a problem with the responsive layout at narrow widths (thanks
@pmario)
2013-09-27 16:16:37 +01:00
Jeremy Ruston
3ecd3c8e71
Revise contributors documentation
2013-09-27 16:15:55 +01:00
Jeremy Ruston
1a6c7c6e20
Fix problem with whitespace being collapsed with single backtick <code>
blocks
2013-09-27 08:53:32 +01:00
Jeremy Ruston
cd12a60fcd
Roadmap update
2013-09-23 22:08:49 +01:00
Jeremy Ruston
6642a6f087
Merge pull request #165 from Brennall/nextprev
...
Next and Previous filters plus tests and documentation
2013-09-22 13:37:48 -07:00
Jeremy Ruston
54ffb9e6cc
Replace separate 'untagged' tab with new entry at the bottom of the 'tags' tab
...
An excellent idea by @tobibeer
2013-09-22 21:34:28 +01:00
David Johnston
904a079432
Variable name corrected.
2013-09-22 21:17:46 +01:00
Jeremy Ruston
d1e1806845
Merge pull request #167 from tobibeer/fix-pre-word-break
...
changed word-break break-all to normal for pre / signed CLA
2013-09-22 12:16:19 -07:00
Jeremy Ruston
0c04bb38a3
Add jurisdiction to the CLAs
2013-09-22 20:12:27 +01:00
Tobias Beer
aee462e78e
changed word-break break-all to normal for pre
...
was breaking words arbitrarily in code blocks arbitrarily — really ugly
now on a branch, instead of master ;-)
2013-09-22 21:00:05 +02:00
David Johnston
afa5156db9
Added Next and Previous to filters concept tiddler.
2013-09-22 10:09:22 +01:00
David Johnston
8127662f77
Tests added for the Next and Previous Filters.
2013-09-22 10:02:40 +01:00
David Johnston
f0b6790ae1
Previous in list filter.
2013-09-22 09:58:18 +01:00
Jeremy Ruston
a5600c2a00
Typo
2013-09-22 09:58:16 +01:00
David Johnston
b72afda7a2
Next in List filter
2013-09-22 09:57:23 +01:00
Jeremy Ruston
8abd2fb89b
Put links in a list for readability
2013-09-22 09:54:52 +01:00
Jeremy Ruston
55f90a57b8
A bit more explanation of why CLAs are required
2013-09-22 09:51:16 +01:00
Jeremy Ruston
e77168eac1
Merge pull request #164 from Brennall/license
...
Updated cla-individual.md with Signature
2013-09-22 01:38:27 -07:00
David Johnston
b9ddc563da
Update cla-individual.md
2013-09-21 20:45:57 +01:00
Jeremy Ruston
776ee9b349
Use @
signs for GitHub usernames in the CLAs
2013-09-21 18:05:40 +01:00
Jeremy Ruston
7070313cd2
Minor rewording of contributing tiddler
2013-09-21 18:04:22 +01:00
Jeremy Ruston
b04c7bbd3a
Rebuilt contributing.md
2013-09-21 17:49:20 +01:00
Jeremy Ruston
1183682a4b
Merge pull request #161 from pmario/activate-clas
...
First pass at a Contributors License Agreement (thanks to @pmario)
2013-09-21 09:32:18 -07:00
Mario Pietsch
343dc2963b
added Unamesa Association as (We or Us). Got OK from Jermolene to use CC-BY for media content.
2013-09-21 16:42:31 +02:00
Jeremy Ruston
f51d0c55fe
Fix eachday and sameday filter operators
...
There was some inconsistency of UTC vs. timezone handling
2013-09-21 10:08:16 +01:00