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
6617f684b8
Makefile: fix make debug.
2 years ago
Drake
e11c85017a
`yes`: use strcat.
2 years ago
Drake
01a5d6d9c0
`yes`: fix some errors.
2 years ago
Drake
7b00206264
compile_flags.txt: add compile_flags.
...
yknow, for clangd and shit
2 years ago
Drake
eddbac9c48
`dbox`: use macro to match functions.
2 years ago
Drake
15dd71baec
Fix up readme
2 years ago
Drake
29754c7563
Makefile: avoid race condition if building in parallel.
2 years ago
Drake
35e0d2c66e
`dbox`/Makefile/funcs.h: fix remaining compiler warnings.
...
specifically, the ones where I implicitly declared functions in dbox (because I manually linked with them later on)
2 years ago
Drake
acdec7305f
README: rework building, other various updates.
3 years ago
Drake
4377a6c5cf
Makefile: add comment.
3 years ago
Drake
353fc8565a
workflows: add github graphql analysis.
3 years ago
Drake
7837b072ee
git meta: merge branch 'singleBinary'. :D
3 years ago
Drake
f4054dde94
README.md: add todo for multibin.
3 years ago
Drake
90627d1428
`src/main.c`: rename to `src/dbox.c`.
...
it should hereby be refered to in commit messages as `dbox`, because it
is now a fully incorporated program.
3 years ago
Drake
4dacf439da
`src/main.c`: remove debug messages.
3 years ago
Drake
b2765e063a
Makefile: rework install target.
3 years ago
Drake
8dcabbbc5e
Makefile: build main.c in all target.
3 years ago
Drake
d395b0ae28
`src/main.c`/Makefile: inital single bin support.
...
get fucked sigsegvs, I won this time.
very early, probably very broken, havent really had time to test too
muj
3 years ago
Drake
ccc3c2304f
Makefile: compile to object files.
3 years ago
Drake
c42912e9ad
TODO.md: remove old file.
3 years ago
Drake
9921ad5cff
all: change main funcs to respectively named ones
...
first big change to help with moving to a single binary :)
3 years ago
Drake
0debe66178
Makefile: fix building release.
3 years ago
Drake
2d787448fb
Makefile: fix compile blocking issues.
...
- mkdir bin properly now before calling ${PROGS}
- specify $VERSION in top of file instead of inline in the compiler
3 years ago
Drake
9a92991bf1
Makefile: make targets phony.
3 years ago
Drake
38d1b0bbc4
Makefile: initial rewrite.
3 years ago
Drake
97f3207d5f
add readme, finally
3 years ago
Drake
ecb700d401
`chroot`/Makefile: add chroot
3 years ago
Drake
7a801dbe8e
`cp`/Makefile: add `cp`.
3 years ago
Drake
810dec9808
`ls`/file.h/ansi-colour.h: add colouring for executables.
...
also switched symlink colour from green to purple (so I can use green for executables).
3 years ago
Drake
ad598c70f9
`ls`: fix memory leak from not freeing the directory.
3 years ago
Drake
e67b7064d7
compilers.md: remove `tcc` as supported compiler.
3 years ago
Drake
5e09a79105
`ls`: massive refactor to support passing multiple paths.
...
moved printing files into function
can now parse multiple paths when passed
reworked printing to directly add paths to a char** and sort them, as opposed to the jank simoleon delimiter thing i was doing previously with strtok
3 years ago
Drake
93b1d9219d
`yes`: run clang-format.
...
dammit, where is my precommit hook
3 years ago
Drake
13108d72dd
compilers.md: add tested compilers.
3 years ago
Drake
c43fec2f70
TODO.md/`yes`: resolve todo.
3 years ago
Drake
6476b90e9b
`ls`: update help message.
3 years ago
Drake
e99e656838
Makefile: add strip target.
3 years ago
Drake
e05c4f8d22
`ls`: add proper short option handling.
...
Now a command such as `ls -caC` is valid, and will be interpreted the same as `ls --color --all --columns`
3 years ago
Drake
39f3cc2ec2
move copyright attribution back to me
3 years ago
Drake
18a60f9b70
LICENSE: move copyright to "drakecoreutils contributors".
3 years ago
Drake
e78aa64bb1
`yes`: rework printing and use a buffer.
3 years ago
Drake
38705fa09b
`cat`: close file descriptor in `concatFileToStdoutWithOptions`.
...
otherwise, it was causing memory leaks.
3 years ago
Drake
0ab66c2a27
`uname`: read hostname at the beginning, instead of on-demand.
3 years ago
Drake
389dbcda7c
`cat`: add `--show-line-ends`.
3 years ago
Drake
98e6ace84d
Makefile: add EXCLUDE_PROGS option for make install.
...
rm is nowhere near proper completion (that i'd trust, anyways) so i'm adding this so i dont have to install it.
in fact, its not installed by default (you'll have to manually specify the variable.)
3 years ago
Drake
84ca84611f
`rm`: add `--follow-symlinks`.
...
now i have a feature that gnu doesn't even have!
admittedly a pointless one... but still a substantial feature none-the-less.
3 years ago
Drake
e16bee31d5
`rm`/Makefile: add `rm`.
...
another gamer added to the ranks of the esports team.
supports recursive deletion of directories.
3 years ago