Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-19 | ls: Fix alignment of device files in long mode (ls -l) | Andreas Kling | |
2019-10-19 | ls: Add -t and -r flags | Andreas Kling | |
-t: Sort by modification time (default is to sort by name) -r: Reverse sort order Note that these only apply when used together with -l (long mode.) | |||
2019-09-11 | ls: Add -h (human readable) output switch | Andreas Kling | |
Fixes #543. | |||
2019-09-06 | AK: Rename <AK/AKString.h> to <AK/String.h> | Andreas Kling | |
This was a workaround to be able to build on case-insensitive file systems where it might get confused about <string.h> vs <String.h>. Let's just not support building that way, so String.h can have an objectively nicer name. :^) | |||
2019-08-20 | ls: Sort the output alphabetically | Andreas Kling | |
Also use StringBuilder to construct the full relative paths, to get rid of an unnecessary and suspicious-looking buffer. | |||
2019-08-20 | ls: Don't layout or colorize output if stdout is not a TTY | Andreas Kling | |
2019-08-20 | Userland: ls division by zero. | marprok | |
When the terminal app window became smaller than the longest filename, a division by zero occured while calculating the offset. | |||
2019-08-19 | Userland: Improved the printing of the ls command. (#468) | Marios Prokopakis | |
The ls command takes into consideration the length of the largest filename when it prints a line. Fixes #432. | |||
2019-07-21 | ls: Don't print an empty line if there were no files to show. | Andreas Kling | |
Fixes #352. | |||
2019-06-22 | Userland: Fix more compiler warnings. | Andreas Kling | |
2019-06-07 | Userland: Run clang-format on everything. | Andreas Kling | |
2019-06-01 | ls: Show user name and group name if available. (#151) | Mustafa | |
Fixes #150 | |||
2019-05-27 | LibCore: Add CDirIterator, and use it in everything rather than readdir | Robin Burchell | |
2019-05-27 | ls: Fix build and tidy up coding style. | Andreas Kling | |
2019-05-27 | Ls: Cleanup | faissaloo | |
2019-05-27 | Ls: Support multiple files | faissaloo | |
2019-05-27 | Ls: Support single files in long mode | faissaloo | |
2019-05-27 | Ls: Refactor long directory listings | faissaloo | |
2019-05-27 | Ls: Add single file support in short mode | faissaloo | |
2019-04-20 | Sprinkle use of AK::Vector in various places. | Andreas Kling | |
Some of these are less helpful than others. Avoiding a bunch of mallocs in the event loop wakeup code is definitely nice. | |||
2019-02-27 | Userland: /bin/ls should show major,minor for block devices. | Andreas Kling | |
2019-02-25 | More moving towards using signed types. | Andreas Kling | |
I'm still feeling this out, but I am starting to like the general idea. | |||
2019-02-22 | Userland: Fix two compiler warnings. | Andreas Kling | |
2019-02-21 | Kernel+Userland: Implement setuid() and setgid() and add /bin/su | Andreas Kling | |
Also show setuid and setgid bits in "ls -l" output. :^) | |||
2019-02-14 | Userland: /bin/ls should display socket files nicely. | Andreas Kling | |
2019-02-08 | LibC: Implement enough missing stuff to get bash-5.0 running. :^) | Andreas Kling | |
2019-02-03 | Kernel: Oops, I mixed up st_dev and st_rdev in struct stat. | Andreas Kling | |
2019-02-03 | Userland: Pretty-print modification times in /bin/ls. | Andreas Kling | |
2019-01-31 | Userland: /bin/ls shouldn't display inode numbers by default. | Andreas Kling | |
Added the -i option to ls which turns on inode number display. | |||
2019-01-31 | Make stat() work on device files again. | Andreas Kling | |
FileDescriptor will now keep a pointer to the original inode even after opening it resolves to a character device. Fixed up /bin/ls to display major and minor device numbers instead of size for device files. | |||
2018-12-19 | Implement utime() along with a naive /bin/touch. | Andreas Kling | |
This synchronous approach to inodes is silly, obviously. I need to rework it so that the in-memory CoreInode object is the canonical inode, and then we just need a sync() that flushes pending changes to disk. | |||
2018-12-07 | Fix /bin/ls usage string. | Andreas Kling | |
2018-12-04 | Import a simple text editor I started working on. | Andreas Kling | |
2018-11-29 | Add TIOCGWINSZ ioctl so userland can determine terminal geometry. | Andreas Kling | |
(Don't) use this to implement short-form output in ls. I'm too tired to make a nice column formatting algorithm. I just wanted something concise when I type "ls". | |||
2018-11-17 | Support "ls <path>" rather than just "ls" :^) | Andreas Kling | |
2018-11-09 | Fix all current build warnings in the userland. | Andreas Kling | |
2018-10-31 | Fix ls build. | Andreas Kling | |
2018-10-28 | Add basic symlink support. | Andreas Kling | |
- sys$readlink + readlink() - Add a /proc/PID/exe symlink to the process's executable. - Print symlink contents in ls output. - Some work on plumbing options into VFS::open(). | |||
2018-10-28 | Colorize ls output. | Andreas Kling | |
2018-10-27 | Add some basic field width support to printf(). | Andreas Kling | |
Use it to make "ls" output a bit better. Also sys$spawn now fails with EACCES if the path is not a file that's executable by the current uid/gid. | |||
2018-10-27 | Implement loading of linked ELF executables. | Andreas Kling | |
This took me a couple hours. :^) The ELF loading code now allocates a single region for the entire file and creates virtual memory mappings for the sections as needed. Very nice! | |||
2018-10-26 | Implement sys$chdir() and teach sh+ls to cd around and browse different dirs. | Andreas Kling | |
2018-10-24 | Add an lstat() syscall and use it to make "ls" nicer. | Andreas Kling | |
2018-10-24 | Lots of hacking to make a very simple "ls" utility. | Andreas Kling | |
I added a dead-simple malloc that only allows allocations < 4096 bytes. It just forwards the request to mmap() every time. I also added simplified versions of opendir() and readdir(). | |||
2018-10-24 | Add simplified mmap() and munmap() syscalls. | Andreas Kling | |