ChaosMaker
4776232377
- refactored resolvePath to have parity with resolveInode and take in ShellState instead of FileSystem and cwd
...
- reverted change "removed inode 0 from tree traversal results"
2026-08-30 09:58:23 +02:00
ChaosMaker
d0f8376244
- moved uint8array concat and split functions to their own files
...
- fixed an error in the cd command as a result of a previous improvement
2026-08-30 08:38:05 +02:00
ChaosMaker
1ee2a2fe7a
- Old tests fixed
...
- Added a static Fixuture class for test mockups
2026-08-28 16:52:59 +02:00
ChaosMaker
310218663d
- fixed a bug in *sort.ts* where passed number arrays wouldnt get properly parsed into TreeNode arrays
...
- excluded inode 0 from tree traversal results
2026-08-25 06:54:42 +02:00
ChaosMaker
20718604e4
- fixed a bug in dnTaverseTree where children would get pushed into the result in reverse order
...
- added an inode display to the `printTree` algorithm
- removed a redundant type in *`signal.ts`*
- improved `resolveInode` to now take `ShellState` instead of `FileSystem` and added an optional `abs` *`boolean`* argument to determine if the retuned path should be normalized or absolute
- implemented a builtin `TreeNode` quicksort function
- changed the `TreeNodeType` to a numeric enum
- added a standalone `Posix` class that holds a const with character weights compliant with posix
2026-08-25 06:34:23 +02:00
ChaosMaker
dad18cd4cc
bigass changes
...
- ls beginnings,
- added groups to shellstate
- made buffers optional in result factory functions,
- made an enum signal map,
- fixed a minor bug in path resolver that didnt output the '/' if the inode was at root (inode 0) from the moment it was called
- added code that attaches the shell to the built-in IDE terminal
--
tests need fixing, new code needs testing
2026-08-24 10:30:04 +02:00
ChaosMaker
48aac3c883
testing headless-mode user input
2026-08-23 10:19:54 +02:00
ChaosMaker
268729bb62
WRITE UNIT TESTS!!!
...
first async command working, no unit tests done AGAING
2026-08-23 06:39:37 +02:00
ChaosMaker
e313aa5b9d
.
2026-08-20 09:44:19 +02:00
ChaosMaker
16a1805f25
fixed naming convention and text casing to use CamelCase on class fields. Process manager implemented, not tested, needs integration with current shell implementation
2026-08-20 09:44:03 +02:00
ChaosMaker
075c999435
Process class implemented, not tested, all green for now, need to reevaluate the test-suite and write tests for new code and changed one
2026-08-19 09:51:33 +02:00
ChaosMaker
dfa393b4d9
some dog-tier work i dont remember (too sleepy)
2026-08-19 03:15:51 +02:00
ChaosMaker
c39bbae091
initial async processes implementation - not finished
2026-08-16 15:30:04 +02:00
ChaosMaker
a7798436d2
some useless bs work on the indexed db and json fetching functions, shell done, can successfully call commands via the main Shell singleton
2026-08-12 16:02:49 +02:00
ChaosMaker
3ec3de71f4
shell work, json deserializer working, not fully tested but should produce a correct base map
2026-08-12 11:01:07 +02:00
ChaosMaker
0149937526
cd fixed and cleaned up. Shell started, needs data fetching code to initialize properly, added the approperiate db_manager file to implement that.
2026-08-08 08:11:19 +02:00
ChaosMaker
5d197b4513
session manager login and logout implemented - untested, may contain bugs
2026-07-29 14:42:07 +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
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
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
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
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
ChaosMaker
3d96ad3c6d
Phase 0 - basic shell data shapes, simple test suite, workspace configuration
2026-07-07 04:47:13 +02:00