Commit Graph

19 Commits

Author SHA1 Message Date
7fbf3593fb ls command now prints output in short format aswell (no flags support yet) 2026-02-13 07:34:42 +01:00
8830b130ad fixed small error 2026-02-12 10:24:59 +01:00
aaecba5642 Added custom Posix class that holds the custom character weight table with a public GetCharWeight method to retrieve the weight from the table. Fixed spacing of the ls -l output and slowly working with the binary search in the ls.ts file 2026-02-12 10:24:46 +01:00
05c3dcd5b5 Start of binary search for ls command 2026-02-12 06:21:30 +01:00
f678c0fa54 Code duplication cleanup after last commit 2026-02-08 10:42:58 +01:00
ef09b642d6 Newest Commit - code same as last commit 2026-02-08 10:42:58 +01:00
7852a77a7c added getWidth method to bash and terminal + callbackf unction on the end for width rertival and calculations in the ls command 2026-02-08 10:42:58 +01:00
582eb68139 ls command almost finished, needed cleanup and rework of the code 2026-02-08 10:42:58 +01:00
d0ff245582 path formatting fixed, long flag support, command execution path now gets passed with the command result to not make it dependant on dynamic bash variable unlike previously implemented with pwd (prev. working dir) 2026-02-08 10:42:58 +01:00
a109c7115e progress, dont really know what to put in here... 2026-02-08 10:42:58 +01:00
8a06d7cb93 ls command working, need to debug sort, and figure out how to prevent sorting on flag (will need further debugging probs) 2026-02-08 10:42:58 +01:00
60eb56da56 LS technically fixed (still debugging pos interpreter errors). Sort class added, witht he ability to sort nodes by inode and the object through a common method. Added an enum SortBy that contains sorting types for the node. Backend for sorting implemented, modification of the ls command still required (will need long flag support for other sorting methods, and timestamp display). 2026-02-08 10:42:58 +01:00
0877993b41 some work, i dont really know what and how much i did 2026-02-08 10:42:58 +01:00
d404f5daab Fixed FS class logic, with full support for table fs structure. Terminal sucressfully initializes (havent checked the commands) ls broken. 2026-02-08 10:42:58 +01:00
8e0ae3dd83 Partially fixed logic in the file system class with changes to support fs table structure instead of a tree 2026-02-08 10:42:58 +01:00
85d98a41c1 new fs.json in the form of a table. support for symlinks and hardlinks (data) support for other times (data - mtime, ctime, atime) inode support (data)
!!PRE `fs` class refactoring. Everything still on the old string array based system.
2026-02-08 10:42:58 +01:00
e1fe000608 Changelog:
- Added `getGroupByName() getGroupByGid() getUserByName getUserByUid()` methods to the `Bash` class.

- Fixed a bug inside the `localStorage` caching logic that saved only 32 characters out of 36 in the signature UUID.

- Added support for reverse order sorting in the quick sort implementation.

**Commands:**

- ls
	-l
	-a
	-A
	-U
	-g
	-G
	-h
	-f
	-n
	-N
	-r
	-Q
	-p
	-o
- cd
2026-02-08 10:42:58 +01:00
e853268e52 Bash and IO working, basic error setup. Changelog:
Commands:
    - ls (only with -l)
    - cd (basic, probably unfinished)
2026-02-08 10:42:58 +01:00
4428cc7e8a Init rebase to Svelte and TS 2026-02-08 10:42:58 +01:00