Omar Rizwan
34c16fec0d
extension: improve debug attach reliability
...
(by forcing detach first for tabs that already have an attached
debugger -- this crops up a lot if I reload the extension, the old
extension ver stays hanging -- and by attaching before we open/getattr
files too, not just when we open the dir)
(it seems pretty solid now)
2020-12-04 17:40:03 -08:00
Omar Rizwan
e4c92ac4e9
trying to fix resource read. fix releasedir call.
2020-12-04 13:44:35 -08:00
Omar Rizwan
50c9f62890
screenshot.png works! (when focused, when you kill old debugger)
2020-12-04 11:39:26 -08:00
Omar Rizwan
d34ed5b28c
fix text bug
2020-12-04 11:31:26 -08:00
Omar Rizwan
c826e20365
extension: move toward unified base64-encoded utf8 bufs
...
title and url work, but not text?
2020-12-04 09:58:09 -08:00
Omar Rizwan
22aaeaa9e1
base64 reads. start working on screenshot stuff.
2020-12-02 20:24:20 -08:00
Omar Rizwan
506751b3d5
fix write (base64-encoding)
2020-12-02 16:57:06 -08:00
Omar Rizwan
71df7d3729
introduce default ops. it still (mostly) works!
...
control is broken tho
2020-12-02 13:45:20 -08:00
Omar Rizwan
45518bce56
fix bugs with error handling (Unix vs other Errors). add open stubs
...
now I actually will have to implement all the ops properly for every
route...
2020-12-02 11:58:37 -08:00
Omar Rizwan
a7af875a65
fix readlink bug
2020-12-02 11:10:53 -08:00
Omar Rizwan
648d595807
fs: more cleanup
2020-12-01 22:32:53 -08:00
Omar Rizwan
a45e9ae97a
cut base64 and cJSON modules out. fix read!
...
this wasn't too bad
2020-12-01 22:31:03 -08:00
Omar Rizwan
adf4330f54
start refactor to use frozen instead of cJSON; I can list dirs, but can't read file yet
...
also (... at the same time ...) more work on refactoring background.js
to eliminate middle layer, I guess
2020-12-01 21:47:05 -08:00
Omar Rizwan
976c5ef20a
start on refactor to eliminate layer of fs op handling
2020-11-30 16:01:56 -08:00
Omar Rizwan
a7e38dc258
read/write loops in case payload > 65536 (pipe buffer size)
2020-11-22 20:52:26 -08:00
Omar Rizwan
03219b64d7
fix base64-encoded reads!
2020-11-22 15:36:21 -08:00
Omar Rizwan
3a623f17c4
track last-focused window by hand
2020-11-22 13:38:25 -08:00
Omar Rizwan
374d794f73
add last-focused to make testing easier
2020-11-22 11:52:08 -08:00
Omar Rizwan
6b54c8ec6b
re-add (buggy) resource file support
2020-11-22 04:42:16 -08:00
Omar Rizwan
9517494cd5
bring back debugging, resources dir
2020-11-22 04:30:57 -08:00
Omar Rizwan
2befcb8db6
close
should be remove
. Make control allow arbitrary commands.
2020-11-05 19:09:44 -08:00
Omar Rizwan
746cf02bd5
fs: remove out-of-date ws.c reference from comment
2020-11-03 18:47:27 -08:00
Omar Rizwan
a21b1923af
Add Finder stuff + more motivation to README.md.
2020-10-30 01:00:37 -07:00
Omar Rizwan
c4245fdf7b
check for 0 arguments in install.sh.
2020-10-30 00:50:07 -07:00
Omar Rizwan
52484f6e0a
more improvement to README.md and install.sh.
2020-10-30 00:39:21 -07:00
Omar Rizwan
f378df12ae
More README improvements.
2020-10-30 00:06:12 -07:00
Omar Rizwan
140bd127df
Specify extension id in install.sh & check usage. Improve README.
2020-10-29 23:54:40 -07:00
Omar Rizwan
f576b4c324
Manually set getattr op. Fixes text file.
2020-10-29 23:16:06 -07:00
Omar Rizwan
76efd118e0
fix file reads! (substr by offset/size). remove browser action
2020-10-29 15:56:57 -07:00
Omar Rizwan
5ed6379687
Fix async bug on handler init. Can read url and title now! (kinda)
...
(they don't terminate properly, will fix that next)
2020-10-29 15:24:27 -07:00
Omar Rizwan
c85bb26264
ancestor-building kind of works.
2020-10-28 14:14:57 -07:00
Omar Rizwan
a9cb8e14af
working on refactor of fs spec. also Linux port and README stuff.
2020-10-27 20:53:39 -07:00
Omar Rizwan
2426e9f7a5
Tweak README and Makefile for new deps, Linux support.
2020-10-23 22:50:59 -07:00
Omar Rizwan
281e0a3d8c
Works in Chrome again! (had to make TabFS name lowercase)
...
Add install script to cover all the native messaging install cases.
2020-10-23 22:03:13 -07:00
Omar Rizwan
eee57547ac
text file works!
2020-10-23 12:03:38 -07:00
Omar Rizwan
44d5a7ed3c
Switch to browser namespace so we can use Promises.
2020-10-23 12:00:25 -07:00
Omar Rizwan
543dc7d4b2
works on FF!! key thing was... to add indexedDB permission...
...
(I guess FF uses the DB in the backend? it makes async errors work...)
2020-10-22 19:54:37 -07:00
Omar Rizwan
8bbcaf9343
postMessage back from browser. Kill other instances of fs.
...
Currently stuck not getting response to a getattr...
2020-10-22 06:47:00 -07:00
Omar Rizwan
64bd1f3948
fs: Attempt to switch to native messaging. It relays 1 message ok!
2020-10-21 15:53:27 -07:00
Omar Rizwan
09291ea6bc
Comment out websocket stuff so tabfs builds.
2020-10-21 15:14:06 -07:00
Omar Rizwan
69c167a134
native messaging test file.
2020-10-21 15:14:00 -07:00
Omar Rizwan
c78377d464
Bring back base64.
2020-10-17 03:00:57 -07:00
Omar Rizwan
74b1b0f789
Starting to move to native messaging.
...
Why? The WebSocket stuff is broken right now, and I want to get rid of
the dep...
2020-10-16 21:56:49 -07:00
Omar Rizwan
53de6736fe
write works to close tabs!
2019-03-02 12:16:08 -08:00
Omar Rizwan
a81c021204
extension: Truncate long tab titles. Move Apple Double logic.
2019-03-02 01:48:56 -08:00
Omar Rizwan
aa3ac637ee
extension: Naming, factor out debugTab, add snapshot+screenshot.
2019-02-28 01:38:22 -08:00
Omar Rizwan
bc3b35487d
extension: Change some names.
2019-02-28 01:22:33 -08:00
Omar Rizwan
840526a17e
extension: Add /text route.
2019-02-28 01:19:37 -08:00
Omar Rizwan
a3f25d346f
Add tabs/by-title. Fix symlink stuff to make it work?
...
FUSE readlink needing to return 0 + getattr needing to return correct
st_size was _not_ obvious, lol.
2019-02-28 01:05:28 -08:00
Omar Rizwan
b18fc10e14
Report ENOTSUP for Mac xattr files.
...
Lets me open png files (in Preview) in tree/, at least!
2019-02-27 23:38:12 -08:00