Commit Graph
80 Commits
Author SHA1 Message Date
ChaosMaker 6bbaaf60e6 minor import fixes - all tests pass 2026-07-28 17:58:13 +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 8c0a7e7a6c cd tested - all green 2026-07-28 16:23:51 +02:00
ChaosMaker f87aa4eb85 implemented the cd command - not tested properly 2026-07-28 05:44:17 +02:00
ChaosMaker 3b50214041 finished up the shell error formats and result objects along with their corresponding helper factories 2026-07-28 05:43:19 +02:00
ChaosMaker b9a27cea2a added an inode resolver to convert inodes to absolute path strings 2026-07-28 05:32:27 +02:00
ChaosMaker cd08a4bf32 resolvePath function implemented and tested, all green. 2026-07-26 16:43:39 +02:00
ChaosMaker 994b93ae47 ShellState, SessionState implemented, all tested, and passing 2026-07-25 03:37:13 +02:00
ChaosMaker 0fce10895f implementing the shellState sessionState, historyState implemented with helpers - no tests 2026-07-24 17:46:09 +02:00
ChaosMaker b63bae54aa Parser fully finished and functional, posix compliant and tested - all green 2026-07-24 15:11:44 +02:00
ChaosMaker 355a8a4707 parser test suite done, all green 2026-07-24 04:45:19 +02:00
ChaosMaker 4cd70eda33 ... 2026-07-23 18:19:29 +02:00
ChaosMaker a67d060fc6 more work on the parser, still misbehaving, needs more testing and refactoring later 2026-07-23 16:29:59 +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 f2d2186086 added a helper to tests for one-liner error matching in unit tests. fixed bugs in tests after the tree fixture changed 2026-07-21 15:48:07 +02:00
ChaosMaker 7cf60208e0 moveNode tests written, 1 fails, need to check for bugs 2026-07-21 04:26:19 +02:00
ChaosMaker 46f9e05d63 upTreeTraversal finished, fixed a bug in fixture parser where every node had parent set to 0
unfinished test that checks agains that error
2026-07-20 18:15:50 +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 c7dc8f6c37 timestamps accounted for in modifyNode tests. All green 2026-07-20 12:58:46 +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 15bd160254 no trash in this codebase 2026-07-19 09:30:56 +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
ChaosMaker 134d989f6e minor changes, launch.json for IDE with Test and Debug 2026-07-14 14:17:47 +02:00
ChaosMaker 3d96ad3c6d Phase 0 - basic shell data shapes, simple test suite, workspace configuration 2026-07-07 04:47:13 +02:00
ChaosMaker bae24e53ca Initial commit 2026-07-06 23:51:50 +02:00