summaryrefslogtreecommitdiff
path: root/fs
AgeCommit message (Collapse)Author
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-02-25create -> mknodOmar Rizwan
(our create was broken, we weren't opening files as required)
2021-02-22fs: fix create call (it was sending mkdir to extension)Omar Rizwan
2021-01-12fs: missed one %lld fixOmar Rizwan
2021-01-12fs: fix for off_t on 32-bit archOmar Rizwan
(it's actually 64-bit bc of -D_FILE_OFFSET_BITS=64 at build time)
2021-01-12Merge branch 'huglovefan-truncate'Omar Rizwan
2021-01-11fs: fix fh handling on 32-bit archOmar Rizwan
2021-01-11Fix FreeBSD support that broke when multithreading was implementedKonstantin Schukraft
2021-01-11fix truncating in defineFile()human
- 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-05Merge remote-tracking branch 'huglovefan/master'David Buckley
2021-01-05support TABFS_MOUNT_DIRhuman
2021-01-04Merge branch 'master' of github.com:osnr/TabFSDavid Buckley
2021-01-04use -lfuse on Mac. fixes #11. fixes #20Omar Rizwan
2021-01-04restore tabfs.c note; reword mdOmar Rizwan
2021-01-04macfuse fix attempthuman
2021-01-03multi-threaded tabfs.chuman
2021-01-02remove unnecessary mallocDavid Buckley
2021-01-02Merge branch 'master' of github.com:osnr/TabFSDavid Buckley
2021-01-02use environment variable TABFS_MOUNT_DIR instead of hardcoded mntDavid Buckley
2021-01-02Add FreeBSD compatibilityKonstantin Schukraft
2020-12-31Brain no good, made additional fix.🎷🐛 Lee Ball
2020-12-31Remove extra CFLAGS_EXTRA🎷🐛 Lee Ball
2020-12-31Append to environment CFLAGS if they exist.🎷🐛 Lee Ball
2020-12-31Append user-defined CFLAGS🎷🐛 Lee Ball
Allow CFLAGS present in the user's environment be appended to EXTRA_CFLAGS.
2020-12-31delete vestigial test-native.c, improve mdOmar Rizwan
2020-12-31update md, add some stubs, move console inside scopeOmar Rizwan
2020-12-27vendor frozenOmar Rizwan
2020-12-18checkpoint: starting work on truncate. more README stubs.Omar Rizwan
2020-12-13Add unlink support. Make by-title/ writable. Add . and .. entries.Omar Rizwan
Still haven't added the unlink handler to by-title/, though.
2020-12-04trying to fix resource read. fix releasedir call.Omar Rizwan
2020-12-02base64 reads. start working on screenshot stuff.Omar Rizwan
2020-12-02fix write (base64-encoding)Omar Rizwan
2020-12-01fs: more cleanupOmar Rizwan
2020-12-01cut base64 and cJSON modules out. fix read!Omar Rizwan
this wasn't too bad
2020-12-01start refactor to use frozen instead of cJSON; I can list dirs, but can't ↵Omar Rizwan
read file yet also (... at the same time ...) more work on refactoring background.js to eliminate middle layer, I guess
2020-11-30start on refactor to eliminate layer of fs op handlingOmar Rizwan
2020-11-22read/write loops in case payload > 65536 (pipe buffer size)Omar Rizwan
2020-11-03fs: remove out-of-date ws.c reference from commentOmar Rizwan
2020-10-27working on refactor of fs spec. also Linux port and README stuff.Omar Rizwan
2020-10-23Tweak README and Makefile for new deps, Linux support.Omar Rizwan
2020-10-22works on FF!! key thing was... to add indexedDB permission...Omar Rizwan
(I guess FF uses the DB in the backend? it makes async errors work...)
2020-10-22postMessage back from browser. Kill other instances of fs.Omar Rizwan
Currently stuck not getting response to a getattr...
2020-10-21fs: Attempt to switch to native messaging. It relays 1 message ok!Omar Rizwan
2020-10-21Comment out websocket stuff so tabfs builds.Omar Rizwan
2020-10-21native messaging test file.Omar Rizwan
2020-10-16Starting to move to native messaging.Omar Rizwan
Why? The WebSocket stuff is broken right now, and I want to get rid of the dep...
2019-03-02write works to close tabs!Omar Rizwan
2019-02-28Add tabs/by-title. Fix symlink stuff to make it work?Omar Rizwan
FUSE readlink needing to return 0 + getattr needing to return correct st_size was _not_ obvious, lol.
2019-02-27base64 hack to handle binary files.Omar Rizwan
add memory fences because why not.
2019-02-25fs: killall tabfs.Omar Rizwan