Commit Graph
24 Commits
Author SHA1 Message Date
ChaosMaker d825299e26 - Cleaned up old tests
- Changed `node:buffer` and `node:streams` imports to native `WebWorkers` imports;
- Fixed tests that used old `toPtr` and `fromPtr` functions to use the new NodePointer class methods
- Exposed pointer resolution helper functions to the consumer
2026-11-20 12:22:23 +01:00
ChaosMaker 2f25e44681 - Fixed output formatting error in ls.ts
- Added an exported `Termos` object entry point
- Defined a basic config for the entry point
- Wrote a self contained initialization function for parsin the config into a returned `Shell` instance
- Adjusted `dev.ts` to use the said entry point
2026-11-16 12:16:49 +01:00
ChaosMaker de1ce64226 - Fixed cat command
- Moved device config initialization to `serializer.ts`
- Minor bugfixes
- Added `read()` to `filesystem.ts`
2026-11-13 04:15:28 +01:00
ChaosMaker b161e42b3f - Fixed ls (mostly)
- Fixed sorting
- Many minor changes

(need to fix the json serializer to include size in its results *the C++ one*)
2026-11-10 16:19:10 +01:00
ChaosMaker 4fa284de13 - Fixed resolvePath
- Added symlink resolution
- Added mount resolution
- Fixed filesystem not awaiting for disks to be mounted
(now `FileSystem.init()` needs to be called with `await`)
- Removed old test fixture files
- Added a feature-full `resolvePath`test suite

*all tests passing green*
2026-11-10 08:04:57 +01:00
ChaosMaker dd804f6f14 Virtual FileSystem fixed - (Needs unit testing)! 2026-11-09 05:10:44 +01:00
ChaosMaker 832fc6c759 - filesystem move node method fixed
- upTraversalTree fixed

- who tf knows what else
2026-10-30 06:13:34 +01:00
ChaosMaker 2a6e6c57c3 - filesystem fixes
- tree traversal up fixes
2026-09-21 04:44:10 +02:00
ChaosMaker f2b5f86a6c Try initializing FileSystem now
- vdisk finished
- vdiskmanager finished
- devices can properly initialize and hold aswell as retireve data
- added mock synchronous store classes for testing
2026-09-20 12:40:38 +02:00
ChaosMaker 849e0e61f5 a lot of mess, keep working on VDisk for now. 2026-09-17 10:32:31 +02:00
ChaosMaker 9c5bd71a5c - moved index code to dev.ts
- some work i dont know about or dont remember ¯\_(ツ)_/¯
2026-09-11 22:50:08 +02:00
ChaosMaker ec13299e95 some bs work, not finished (reference notes board on email for info) 2026-09-09 10:43:37 +02:00
ChaosMaker 7348d3723e small tweaks to the file structure, and reorganization of the codebase.
preparations for session manager function implementations
2026-07-28 17:54:02 +02:00
ChaosMaker cd08a4bf32 resolvePath function implemented and tested, all green. 2026-07-26 16:43:39 +02:00
ChaosMaker cab18b74cf phase 3 2026-07-22 21:31:55 +02:00
ChaosMaker 0a477855c7 - Added a FileSystemInitializationError.
- Changed the static init method to check basic schema (root format and existence) before returning.

- Added getRoot method that throws generic Error if inode 0 doesnt resolve.
2026-07-22 14:28:50 +02:00
ChaosMaker 2affb3ceb2 fixed bug in moveNode where when renaming, the old record about the renamed node would still be present in the children record of the parent 2026-07-21 17:06:02 +02:00
ChaosMaker 7cf60208e0 moveNode tests written, 1 fails, need to check for bugs 2026-07-21 04:26:19 +02:00
ChaosMaker e89cec47d9 upTraverseTree algo implementation start, doesnt work currently. basic test of the function written 2026-07-20 15:21:50 +02:00
ChaosMaker 9bf481cc33 modifyNode tests wiritten, all passing 2026-07-20 00:31:41 +02:00
ChaosMaker 9f23e5a86a small fixes to filesystem and modifyNode method implemented (untested) 2026-07-19 12:30:57 +02:00
ChaosMaker 04b66fa62a Phase 1 Recursive DFS pre-order algorithm, tree print helper for visualizing tree structures, filesystem test fixture builder helper function.
deleteNode fully implemented,

test suite implemented
2026-07-19 09:30:08 +02:00
ChaosMaker b6365d6221 some small work on the filesystem class 2026-07-16 13:19:27 +02:00
ChaosMaker ea82327ee8 createNode method implemented, canRead,
canWrite,
canExecute methods implemented

common FileSystem error types implemented,

unit tests written and passing for filesystem initialization, createNode cases and permission methods
2026-07-15 16:28:41 +02:00