Omar Rizwan
636a975818
extension: use node-sanitize-filename sanitize
2021-03-14 15:50:49 -07:00
Omar Rizwan
49fea2b7e8
Merge commit 'refs/pullreqs/59'
2021-03-14 15:39:01 -07:00
Omar Rizwan
b5113fb2d1
rename old TAB/evals to TAB/watches; add new TAB/evals
2021-02-25 15:41:47 -08:00
Omar Rizwan
063051d80b
remove TAB/console and TAB/execute-script which are ugly
...
(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-22 16:31:49 -08:00
Omar Rizwan
ad80383242
extension: allow deletion of TAB/evals/*
2021-02-22 16:18:07 -08:00
Omar Rizwan
dffc41a3e1
extension: add TAB/evals!
2021-02-22 15:33:31 -08:00
Omar Rizwan
bcf077ab06
hack to handle reading TAB/inputs/INVALIDID. also reorder some code
2021-02-21 20:43:31 -08:00
Omar Rizwan
9827b089c1
change TAB/textareas to TAB/inputs, add support for text inputs
2021-02-19 11:26:33 -08:00
Omar Rizwan
07da85e36b
add WINDOW/focused
2021-02-19 10:32:28 -08:00
Omar Rizwan
e24f0f8afa
active: refactor / simplify to use withTab
2021-02-19 10:02:39 -08:00
Omar Rizwan
2215ba8e41
fix bug with write permission for files with autogen getattr
...
(fixes bug with writing to `TAB/active` from Emacs Lisp, which checks
permission instead of just trying to write)
2021-02-19 09:26:20 -08:00
Omar Rizwan
0f2ab4b4de
safari: fix some races when you reload Web inspector, make ws connection retry
2021-02-08 13:45:26 -08:00
Omar Rizwan
7211a5fdea
safari: start migration to using out-of-band WebSocket to do extension<=>fs comm
2021-02-08 02:32:21 -08:00
Omar Rizwan
33e5911cb2
trying to just run straight from sandbox instead of xpc -- kinda works! blocked on libfuse
2021-02-07 02:46:07 -08:00
Omar Rizwan
a465ad6a8f
safari: checkpoint as I try to get the terrible wiring right
2021-02-02 23:07:24 -08:00
K1-K1
d918d93bbc
Allow all characters (except /) when sanitazing
2021-01-14 13:42:08 +00:00
Omar Rizwan
c8f6827e76
Merge pull request #51 from joshuahhh/master
...
read/write textareas
2021-01-13 00:12:12 -08:00
Omar Rizwan
9e1a145d23
Merge branch 'huglovefan-truncate'
2021-01-12 00:16:29 -08:00
human
a7ab34ebbc
fix truncating in defineFile()
...
- in the C part: enable FUSE_CAP_ATOMIC_O_TRUNC so that open() will get called with O_TRUNC in flags instead of truncate() being called separately
- this also prevents truncate() from calling setData() with an empty string when a file is opened with O_TRUNC
- in defineFile()->open(): if O_TRUNC is used, don't call getData() but start with an empty file as if it had just been truncated
- in defineFile()->write()/truncate(): correct buffer resizing/copying
2021-01-11 10:25:57 +02:00
Joshua Horowitz
08885dc990
read/write textareas
2021-01-10 22:55:34 -08:00
cdf1982
dc9ab003ee
Save tab HTML source to file
2021-01-10 20:59:42 +01:00
Omar Rizwan
6e829c1f17
Merge pull request #29 from huglovefan/master
...
multi-threaded tabfs.c
2021-01-04 03:35:17 -08:00
tv
8946ca34b8
background.js: add /tabs/by-id/*/active
2021-01-04 05:06:34 +01:00
human
3c8570ac52
multi-threaded tabfs.c
2021-01-03 12:52:38 +02:00
Omar Rizwan
d588283fb2
Firefox fixes, md update
2020-12-31 18:00:25 -08:00
Omar Rizwan
86cf0a0ae8
update md, add some stubs, move console inside scope
2020-12-31 17:33:11 -08:00
Omar Rizwan
957ea5a3d4
console and execute-script work. with test
2020-12-30 22:44:25 -08:00
Omar Rizwan
b09951ebc2
continuing work on console. it can print stuff in tail -f
!
2020-12-30 18:57:01 -08:00
Omar Rizwan
77c79a8f83
eval works. start on console
2020-12-30 17:19:22 -08:00
Omar Rizwan
1185e6885c
ability to read scripts/file with path filtering
2020-12-29 14:16:25 -08:00
Omar Rizwan
8315efcb60
improve scripts dir -- checking scriptId more reliably. add tests
2020-12-29 04:27:12 -08:00
Omar Rizwan
705b245be5
prevent explosion of scriptsForTab!
2020-12-29 03:52:17 -08:00
Omar Rizwan
5f15ab1c37
improve test reliability; try clear scriptsForTab (doesn't work yet)
2020-12-29 02:35:03 -08:00
Omar Rizwan
b8181bd6f5
cleanup refcount stuff that wasn't being used anyway, update md
2020-12-28 10:41:15 -08:00
Omar Rizwan
fb6ed2b2f4
add tabfs.md (hard linked into website)
2020-12-27 18:04:15 -08:00
Omar Rizwan
ab34a525dc
add window symlink in tab folder
2020-12-25 15:54:53 -08:00
Omar Rizwan
f3ea7349c0
add some comments, do some cleanup
2020-12-25 15:42:38 -08:00
Omar Rizwan
c4d9cb7b54
make windows/*/visible-tab.png. seems to work?
2020-12-25 15:13:04 -08:00
Omar Rizwan
2d8bedcc4b
start working on windows/ (so i can have cleaner screenshot API)
2020-12-25 14:55:35 -08:00
Omar Rizwan
58d5e819ae
fix bug with new debugger/ route path matching
2020-12-25 13:59:35 -08:00
Omar Rizwan
cc53bdd98d
make debugger/ subfolder. remove lastFocused storage (didn't need?)
...
make test reload on start. test seems to work
2020-12-25 13:40:18 -08:00
Omar Rizwan
b64c0f7016
add .txt extensions (it screenshots better)
2020-12-25 00:38:55 -08:00
Omar Rizwan
462a657bfd
remove doc/README. fix truncate on extensions/*/enabled. add timeout
2020-12-24 23:46:48 -08:00
Omar Rizwan
2a67a62e21
better router infill logic; start work on /runtime/reload
2020-12-24 13:49:38 -08:00
Omar Rizwan
760de1ac77
fix truncate & write (incl resizing). fix extensions/*/enabled ?
2020-12-23 04:18:26 -08:00
Omar Rizwan
35214c9698
extensions/*/enabled is readable (+ test that works)
2020-12-22 20:34:01 -08:00
Omar Rizwan
e6f9ce7437
fixup ancestor algorithm so extensions/ appears
2020-12-22 18:32:08 -08:00
Omar Rizwan
de9a792a21
start adding extensions/ folder. fix up js tests
...
some hacks to start working on clearing old scriptParsed entries
2020-12-22 16:36:09 -08:00
Omar Rizwan
9e23fc59fc
remove tab at end of test
2020-12-19 17:11:59 -08:00
Omar Rizwan
e1e47173b6
make test.c. clean up utf8/string stuff a bit, start write patching
2020-12-19 15:22:44 -08:00