summaryrefslogtreecommitdiff
path: root/Userland/Utilities/cksum.cpp
AgeCommit message (Collapse)Author
2022-12-06AK+Everywhere: Rename String to DeprecatedStringLinus Groh
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
2022-11-19cksum: Manually count file size instead of using stat()Sam Atkins
`stat()` doesn't work for stdin, but this does.
2022-11-19cksum: Port to Core::StreamSam Atkins
2022-04-11Utilities: Read positional arguments as Strings not char*sSam Atkins
This is a pretty trivial change so they're all batched together.
2022-04-01Everywhere: Run clang-formatIdan Horowitz
2021-12-11cksum: Port to LibMain :^)Kenneth Myhra
2021-11-08LibCore: Use ErrorOr<T> for Core::File::open()Andreas Kling
2021-08-01cksum: Print argv[0] on failed readLuK1337
Forgot to do it in c5df5e5.
2021-08-01cksum: Display adler32/crc32 sums as hex numbersLuK1337
This basically follows what `crc32` and `xrdadler32` does on Linux distros.
2021-08-01cksum: Don't read the entire input file in memoryLuK1337
Same as `checksum`, in some cases we just can't load whole file into memory.
2021-05-12LibCore+Everywhere: Move OpenMode out of IODeviceAli Mohammad Pur
...and make it an enum class so people don't omit "OpenMode".
2021-04-24Utilities: Add cksumBrendan Coles