summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-16extension: Clean up routes.html formatting a bit.Omar Rizwan
2021-08-16extension: Add source code view to routes.html. Del unused stuff --Omar Rizwan
background.js and background.js.html -- for now.
2021-08-16extension: Add some descriptions.Omar Rizwan
2021-07-26extension: more doc improvementsOmar Rizwan
2021-07-26extension: routeWithContents -> makeRouteWithContentsOmar Rizwan
2021-07-26extension: improve naming/docs for utility fnsOmar Rizwan
2021-07-22extension: factor out routeDirectoryForChildren and createWritableDirectoryOmar Rizwan
sort routes by specificity (__matchVarCount) makes evals & watches much simpler; is prep work for writable tab directory stuff
2021-04-22extension: reorder by-title routes to top, add more usage docsOmar Rizwan
2021-04-22test: fix JS test so window worksOmar Rizwan
2021-04-22extension: fix ChromeOmar Rizwan
2021-04-22extension: add runtime/routes.htmlOmar Rizwan
2021-04-22extension: allow hot patching of Routes; keep backgroundJS aliveOmar Rizwan
(across hot reloads)
2021-04-22extension: fix hot patching of backgroundJSOmar Rizwan
(to the point where you can log and it shows up; it doesn't seem able to replace routes yet)
2021-04-22extension: share cached backgroundJS between .js and .js.html fileOmar Rizwan
delete anim stuff for now
2021-04-20extension: defineFile -> routeWithContents. hot reload stuff.Omar Rizwan
add runtime/background.js route.
2021-04-19extension: start adding some `usage`s; rename withTab and fromScriptOmar Rizwan
to routeForTab and routeFromScript
2021-04-06fs,extension: Make truncate work on cached file content.Omar Rizwan
We now remember the path of each cached file, so when someone truncates that path, we can truncate all open instances of it in cache. Important when someone pipes to stomp a file / opens with O_TRUNC (which FUSE disaggregates into an open() and then a truncate() call). Gets rid of the need for FUSE_CAP_ATOMIC_O_TRUNC, which never worked on macOS anyway. Fixes #40.
2021-03-26extension: fix truncate in defineFile; refactor/encap defineFileOmar Rizwan
truncate was still assuming fixed path instead of passing whole req object on to setData/getData.
2021-03-22extension,test: Move Router down, Router -> Routes.Omar Rizwan
2021-03-22md: Clean up a bit, update file figure.Omar Rizwan
2021-03-22fix resources/ suffix misuse bug, tweak READMEOmar Rizwan
2021-03-22extension: Remove html for now.Omar Rizwan
2021-03-22extension: Compress/expand lines in html view.Omar Rizwan
2021-03-22extension: red highlights for routes.Omar Rizwan
2021-03-21extension,test: router -> Router.Omar Rizwan
2021-03-21extension: Eliminate pathComponent entirely.Omar Rizwan
2021-03-21extension: Big refactor to use named variables in routes.Omar Rizwan
Also move debugger-specific stuff into the debugger block.
2021-03-21extension,test: Start on simplifying routing.Omar Rizwan
Introduces a 'named variable' syntax so we can remove all the manual indexing into path components / converting to int in individual fs ops. Also rewrites the route finding to use regex: all routes are compiled to regexes, then the route finder just walks through them all until it hits a match. Doesn't fully work yet; JS test passes.
2021-03-21extension: first cut at background.js.htmlOmar Rizwan
2021-03-14test: separate tests from background.js, clean up and document a bitOmar Rizwan
also makes the test more lenient (subset instead of equality for tab entries)
2021-03-14extension: some cleanup, get rid of ToSafari thing we weren't usingOmar Rizwan
2021-03-14extension: source.html -> body.htmlOmar Rizwan
2021-03-14extension: also remove spaces; spaces in filenames are annoying, imoOmar Rizwan
2021-03-14extension: use node-sanitize-filename sanitizeOmar Rizwan
2021-03-14Merge commit 'refs/pullreqs/59'Omar Rizwan
2021-02-25md: evals -> watchesOmar Rizwan
2021-02-25rename old TAB/evals to TAB/watches; add new TAB/evalsOmar Rizwan
2021-02-25create -> mknodOmar Rizwan
(our create was broken, we weren't opening files as required)
2021-02-23md: link demo separate from headlineOmar Rizwan
2021-02-23test: temporarily disable execute-script and console testsOmar Rizwan
2021-02-22remove TAB/console and TAB/execute-script which are uglyOmar Rizwan
(and not really necessary now that we have evals, I think? like, as long as you have some way to run JS on the content script, you can build other functionality out of that)
2021-02-22extension: allow deletion of TAB/evals/*Omar Rizwan
2021-02-22extension: add TAB/evals!Omar Rizwan
2021-02-22fs: fix create call (it was sending mkdir to extension)Omar Rizwan
2021-02-21hack to handle reading TAB/inputs/INVALIDID. also reorder some codeOmar Rizwan
2021-02-21update test to use inputs instead of textareasOmar Rizwan
2021-02-19change TAB/textareas to TAB/inputs, add support for text inputsOmar Rizwan
2021-02-19add WINDOW/focusedOmar Rizwan
2021-02-19active: refactor / simplify to use withTabOmar Rizwan
2021-02-19fix bug with write permission for files with autogen getattrOmar Rizwan
(fixes bug with writing to `TAB/active` from Emacs Lisp, which checks permission instead of just trying to write)