44 Commits (9d67adfc45f18f501f6363b552d96734ad76f1b9)

Author SHA1 Message Date
Drake 9d67adfc45 `ls`: remove debug printf.
2 years ago
Drake 177e7648c4 `ls`: fix memory leak.
2 years ago
Drake 182090801f `ls`: unbreak things heavily.
2 years ago
Drake 9921ad5cff
all: change main funcs to respectively named ones
3 years ago
Drake ecb700d401
`chroot`/Makefile: add chroot
3 years ago
Drake 810dec9808 `ls`/file.h/ansi-colour.h: add colouring for executables.
3 years ago
Drake ad598c70f9 `ls`: fix memory leak from not freeing the directory.
3 years ago
Drake 5e09a79105 `ls`: massive refactor to support passing multiple paths.
3 years ago
Drake 6476b90e9b `ls`: update help message.
3 years ago
Drake e05c4f8d22 `ls`: add proper short option handling.
3 years ago
Drake 19d0be3cf0 `ls`: move width checking to before filename printing.
3 years ago
Drake e8412ff491 `ls`/file.h: run `clang-format`.
3 years ago
Drake 42e3204429 `ls`/checks.h: move `startsWith*` functions to header.
3 years ago
Drake 2f14fffd5c All: add license comment.
3 years ago
Drake 4a2bc64ca5 `ls`: update help message.
3 years ago
Drake 48745708cc `ls`: add error checking when expanding `..`s.
3 years ago
Drake f42b88fad5 `ls`: add --width.
3 years ago
Drake 136b84d019 `ls`: run `clang-format`.
3 years ago
Drake 1bc13fb62c `ls`: fix segfault when being ran in a directory without any files.
3 years ago
Drake fba399a85e `ls`: remove uneeded comment.
3 years ago
Drake 11d32b9dfb All: add newline to version output.
3 years ago
Drake 1ee035fe27 All: run `clang-format` on code and makefile.
3 years ago
Drake d97207065f All: remove uneeded imports, according to include-what-you-use.
3 years ago
Drake a839c81518 `ls` and file.h: massive ls function cleanup.
3 years ago
Drake 9eb02a4954 `ls`: fix output on prompts without newline at beginning.
3 years ago
Drake 4813fd8c0c `ls`: make -C directly modify maxLen instead of an intermediary boolean.
3 years ago
Drake 0a059278c7
All: switch version declaration using header to makefile.
3 years ago
Drake 5bc4b66dd0
`ls`: add green highlighting for symlinks
3 years ago
Drake d3182b059e
`ls`: change spacing, fix too many newlines.
3 years ago
Drake 87a07a5dc2
all (but `yes`): re-add `\n`s to new `printf()`s
3 years ago
Drake 01f7d53d15
all (but `yes`): use printf formatting
3 years ago
Drake 72ab287432
`ansi-colour.h`: switch define source for more flexibility
3 years ago
Drake d48a31d8c4
`ls`: fix compiler warning
3 years ago
Drake 2bd11f8548
all: update help messages
3 years ago
Drake f3f2e772df
all: add universal version
3 years ago
Drake 6b6742dc21
`ls`: assorted code cleanup
3 years ago
Drake d81516027c
`ls`: update help message
3 years ago
Drake ce8c9f52ff
`ls`: add --columns, max length (owo i can only take so much daddy) of printing
3 years ago
Drake 2e91a4cab5
`ls`: fix memory leak in specified paths
3 years ago
Drake 998a92840f
Fix problem with specified paths in `ls`
3 years ago
Drake 5f8f10bb04
More cool improvements to `ls`
3 years ago
Drake 909000e44b
various large improvements to ls
3 years ago
Drake 989bced475
add colour to ls
3 years ago
Drake ca52b040a6
add ls n do a bunch more shit
3 years ago