ladybird/Userland/Utilities
RasmusNylander 4e65c4dae4 LibKeyboard: Change some Optional<T> returns to ErrorOr<T>
Makes CharacterMapFile::load_from_file and CharacterMap::load_from_file
return ErrorOr instead of Optional. This makes them a little nicer to
use and a little easier to read, as they seem to have been approximating
this.
2022-01-06 17:54:03 +01:00
..
abench.cpp Utilites: Add abench utility 2021-11-28 13:33:51 -08:00
adjtime.cpp adjtime: Drop unnecessary privileges unconditionally 2021-10-21 15:41:22 +01:00
allocate.cpp allocate: Port to LibMain :^) 2021-11-27 11:14:16 +01:00
aplay.cpp LibAudio: New error propagation API in Loader and Buffer 2021-11-28 13:33:51 -08:00
arp.cpp Utilities/arp: Propagate errors in JSON decoding 2021-12-30 14:37:02 +01:00
asctl.cpp Everywhere: Refactor 'muted' to 'main_mix_muted' in all AudioConnections 2021-12-24 00:19:01 -08:00
base64.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
basename.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
beep.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
blockdev.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
bt.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
cal.cpp cal: Port to LibMain :^) 2021-12-11 15:10:42 -08:00
cat.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
checksum.cpp LibCrypto: Make Digests able to return bytes 2022-01-05 01:07:21 +03:30
chgrp.cpp chown+chgrp: Add --no-dereference option 2022-01-01 15:08:49 +01:00
chmod.cpp chmod: Use FilePermissionsMask to handle mode argument 2022-01-01 17:33:43 +00:00
chown.cpp chown+chgrp: Add --no-dereference option 2022-01-01 15:08:49 +01:00
chres.cpp chres: Port to LibMain :^) 2021-12-11 15:10:42 -08:00
cksum.cpp cksum: Port to LibMain :^) 2021-12-11 15:10:42 -08:00
clear.cpp clear: Port to LibMain :^) 2021-12-11 15:10:42 -08:00
CMakeLists.txt Utilities/ln: Port to LibMain 2022-01-06 13:32:22 +01:00
comm.cpp comm: Port to LibMain :^) 2021-12-11 15:10:42 -08:00
config.cpp config: Port to LibMain :^) 2021-12-11 15:10:42 -08:00
copy.cpp copy: Port to LibMain :^) 2021-11-25 21:41:02 +01:00
cp.cpp cp: Print proper error message with strerror 2021-12-20 10:40:02 -08:00
cpp-lexer.cpp cpp-lexer: Port to LibMain :^) 2021-12-11 15:10:42 -08:00
cpp-parser.cpp cpp-parser: Port to LibMain :^) 2021-12-11 15:10:42 -08:00
cpp-preprocessor.cpp cpp-processor: Port to LibMain :^) 2021-12-11 15:10:42 -08:00
cut.cpp cut: Port to LibMain :^) 2021-12-11 15:10:42 -08:00
date.cpp date: Port to LibMain :^) 2021-12-11 15:10:42 -08:00
dd.cpp dd: Port to LibMain :^) 2021-12-11 15:10:42 -08:00
ddate.cpp ddate: Port to LibMain 2021-12-16 02:10:47 -08:00
df.cpp df: Port to LibMain 2021-12-16 02:10:47 -08:00
diff.cpp diff: Port to LibMain 2021-12-16 02:10:47 -08:00
dirname.cpp dirname: Port to LibMain 2021-12-16 02:10:47 -08:00
disasm.cpp LibCore+AK: Move MappedFile from AK to LibCore 2021-11-23 11:33:36 +01:00
disk_benchmark.cpp Userland: Resolve unused-but-set-varaible warnings 2022-01-04 07:51:31 +00:00
dmesg.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
du.cpp du: Port to LibMain 2022-01-01 14:40:41 +01:00
echo.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
env.cpp env: Convert to serenity_main(..) 2021-12-24 14:29:52 -08:00
errno.cpp errno: Port to LibMain 2022-01-01 14:40:41 +01:00
expr.cpp expr: Use StringView literals more (instead of raw C strings) 2021-12-16 02:10:47 -08:00
false.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
fdtdump.cpp fdtdump: Port to LibMain 2021-12-16 02:10:47 -08:00
fgrep.cpp fgrep: Port fgrep to LibMain 2022-01-01 14:40:41 +01:00
file.cpp file: Add description & image details for image/x-qoi 2021-12-21 13:27:27 +01:00
find.cpp find: Implement support for multiple directories 2021-12-03 15:39:00 +01:00
flock.cpp flock: Port to LibMain 2021-12-16 02:10:47 -08:00
fortune.cpp fortune: Port to LibMain :^) 2021-11-30 23:34:40 +01:00
functrace.cpp functrace: Port to LibMain and move away from raw C strings 2021-12-16 02:10:47 -08:00
gml-format.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
grep.cpp Utilities/grep: Implement using multiple patterns 2021-11-13 11:42:26 +01:00
gron.cpp gron: Use StringView literals more (instead of raw C strings) 2021-12-04 14:24:04 +01:00
groupadd.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
groupdel.cpp Utilities: Fix null deref in groupdel when given a nonexistent group 2021-10-10 03:10:05 -07:00
groups.cpp groups: Port to LibMain :^) 2021-12-04 14:24:04 +01:00
gunzip.cpp Userland: Use Core::ArgsParser's Vector<StringView> API everywhere 2021-11-26 23:27:57 +01:00
gzip.cpp Userland: Use Core::ArgsParser's Vector<StringView> API everywhere 2021-11-26 23:27:57 +01:00
head.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
hexdump.cpp Hexdump: Add verbose option 2021-11-19 12:17:57 +03:30
host.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
hostname.cpp hostname: Handle 'sethostname' errors 2021-06-04 19:11:27 +02:00
id.cpp LibCore+id: Make more use of Core::System wrappers in Core::Account 2022-01-02 18:08:02 +01:00
ifconfig.cpp Utilities/ifconfig: Propagate errors in JSON decoding 2021-12-30 14:37:02 +01:00
ini.cpp ini: Convert to serenity_main(..) 2021-12-24 14:29:52 -08:00
jp.cpp jp: Port to LibMain :^) 2021-12-04 14:24:04 +01:00
js.cpp LibJS: Replace the custom unwind mechanism with completions :^) 2022-01-06 12:36:23 +01:00
kcov-example.cpp kcov-example: Print helpful error if kcov feature is missing 2021-11-21 13:52:25 +01:00
keymap.cpp LibKeyboard: Change some Optional<T> returns to ErrorOr<T> 2022-01-06 17:54:03 +01:00
kill.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
killall.cpp Everywhere: Improve CPU usage calculation 2021-07-18 22:08:26 +02:00
less.cpp less: Handle tabs in line wrapping 2021-12-29 00:00:02 +01:00
ln.cpp Utilities/ln: Port to LibMain 2022-01-06 13:32:22 +01:00
logout.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
ls.cpp ls: Fix duplicated error message when opening a directory fails 2022-01-04 22:47:57 +01:00
lsirq.cpp Utilities/lsirq: Propagate errors in JSON decoding 2021-12-30 14:37:02 +01:00
lsof.cpp Utilities/lsof: Propagate errors in JSON decoding 2021-12-30 14:37:02 +01:00
lspci.cpp lspci: Port to LibMain :^) 2021-11-30 23:34:40 +01:00
lsusb.cpp Utilities/lsusb: Propagate errors in JSON decoding 2021-12-30 14:37:02 +01:00
man.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
markdown-check.cpp man.serenityos.org: Use pandoc for listings and landing page 2021-10-22 19:49:28 +03:00
matroska.cpp LibVideo: Migrate to east-const style & apply other minor fixes 2021-06-30 11:03:51 +02:00
md.cpp md: Improve document parsing error message 2021-06-01 21:30:16 +01:00
mkdir.cpp mkdir: Use FilePermissionsMask to handle mode option 2022-01-01 17:33:43 +00:00
mkfifo.cpp Everywhere: Use my cool new @serenityos.org email address 2021-09-01 11:37:25 +04:30
mknod.cpp Userland: Return 1 when help text is shown for insufficient args 2021-06-01 21:30:16 +01:00
mktemp.cpp Everywhere: Fix format-vulnerabilities 2021-09-11 15:16:26 +01:00
mount.cpp Utilities/mount: Propagate errors in JSON decoding 2021-12-30 14:37:02 +01:00
mv.cpp LibCore: Use ErrorOr<T> for Core::File::open() 2021-11-08 00:35:27 +01:00
nc.cpp Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe 2021-09-06 01:53:26 +02:00
netstat.cpp Utilities/netstat: Propagate errors in JSON decoding 2021-12-30 14:37:02 +01:00
nl.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
notify.cpp Utilities/notify: Propagate errors in Gfx::Bitmap loading 2021-12-30 14:37:02 +01:00
nproc.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
ntpquery.cpp Userland: Switch static_assert of type sizes to AK::AssertSize 2021-09-05 20:08:57 +02:00
open.cpp Utilities: Add support for relative paths in open command 2021-06-02 17:34:27 +04:30
pape.cpp pape: Add set-random option 2021-11-08 16:36:02 -08:00
passwd.cpp LibCore+passwd+usermod: Make Core::Account::sync() return ErrorOr<void> 2021-12-16 22:48:17 +01:00
paste.cpp LibGUI+Everywhere: Make sync requests to Clipboard server more obvious 2021-11-21 11:49:06 +00:00
pathchk.cpp Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
pgrep.cpp LibRegex: Don't push LibRegex's "Error" into the global namespace 2021-11-08 00:35:27 +01:00
pidof.cpp Everywhere: Improve CPU usage calculation 2021-07-18 22:08:26 +02:00
ping.cpp Utilities: Fix -Wunreachable-code warnings from clang 2021-10-08 23:33:46 +02:00
pls.cpp pls: Stop on first non option when parsing arguments 2021-12-28 22:03:33 +02:00
pmap.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
printf.cpp LibC+AK: Implement all sorts of wprintf variants 2021-12-21 21:24:36 +03:30
pro.cpp pro: Convert to serenity_main(..) 2021-12-24 14:29:52 -08:00
profile.cpp profile: Specify the /proc/profile path in the help message 2022-01-04 07:56:54 +00:00
ps.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
purge.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
pwd.cpp pwd: Convert to serenity_main(..) 2021-12-24 14:29:52 -08:00
readelf.cpp LibCore+AK: Move MappedFile from AK to LibCore 2021-11-23 11:33:36 +01:00
readlink.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
realpath.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
reboot.cpp Kernel+Userland: Introduce a new way to reboot and poweroff the machine 2021-09-12 11:52:16 +02:00
rev.cpp Userland: Use Core::ArgsParser's Vector<StringView> API everywhere 2021-11-26 23:27:57 +01:00
rm.cpp rm: Check before removing '/' 2022-01-02 17:37:35 +01:00
rmdir.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
run-tests.cpp LibRegex: Don't push LibRegex's "Error" into the global namespace 2021-11-08 00:35:27 +01:00
seq.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
shot.cpp shot: Fix hanging due to zero sized Rect 2021-11-05 00:10:23 +01:00
shuf.cpp shuf: Fix division by zero when no lines are read 2021-10-17 12:07:09 -07:00
shutdown.cpp Kernel+Userland: Introduce a new way to reboot and poweroff the machine 2021-09-12 11:52:16 +02:00
sleep.cpp LibC: Do not include errno.h inside unistd.h 2021-05-14 22:24:02 +02:00
sort.cpp Utilities: Modernize output and comparison in the sort utility 2021-09-05 00:15:26 +02:00
sql.cpp LibCore: Use ErrorOr<T> for Core::File::open() 2021-11-08 00:35:27 +01:00
stat.cpp stat: Print an error if 'stat' fails 2022-01-04 22:47:57 +01:00
strace.cpp strace: Port to LibMain :^) 2021-12-25 11:12:03 +01:00
stty.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
su.cpp su: Port to LibMain :^) 2021-12-16 22:48:17 +01:00
sync.cpp Utilities: Remove unused header includes 2021-08-01 08:10:16 +02:00
syscall.cpp Kernel+LibC: Move errno definitions to Kernel/API/POSIX 2021-12-16 22:21:35 +03:30
sysctl.cpp Userland: Use Core::ArgsParser's Vector<StringView> API everywhere 2021-11-26 23:27:57 +01:00
tac.cpp Userland: Use Core::ArgsParser's Vector<StringView> API everywhere 2021-11-26 23:27:57 +01:00
tail.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
tar.cpp tar: Implement -C option 2022-01-04 06:22:34 +00:00
tee.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
telws.cpp AK+Everywhere: Make Base64 decoding fallible 2021-10-23 19:16:40 +01:00
test_env.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
test-bindtodevice.cpp Userland: Rename e1k0 to ep0s7 2021-05-22 15:42:54 +01:00
test-crypto.cpp test-crypto: Avoid implicitly copying ByteBuffer 2021-12-08 09:46:13 -08:00
test-fuzz.cpp Meta: Add a fuzzer for the QOILoader 2021-12-21 13:27:27 +01:00
test-imap.cpp LibCore: Use ErrorOr<T> for Core::get_password() 2021-11-08 00:35:27 +01:00
test-pthread.cpp test-pthread: Add a mutex test 2021-07-07 17:08:40 +02:00
test-unveil.cpp Utilities: Fix test-unveil INT_MAX include 2021-05-23 18:10:29 +02:00
test.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
top.cpp top: Use Core::System::ioctl() 2021-11-30 23:34:40 +01:00
touch.cpp touch: Port to LibMain :^) 2021-12-20 22:16:05 +01:00
tr.cpp Utilities/tr: Rework squeezing to be supported during more operations 2021-11-13 23:34:49 +01:00
traceroute.cpp Utilities: Fix incorrect error handling in traceroute 2021-09-12 16:36:52 +02:00
tree.cpp AK+Everywhere: Add and use static APIs for LexicalPath 2021-06-30 11:13:54 +02:00
true.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
truncate.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
tt.cpp Utilities: Fix -Wunreachable-code warnings from clang 2021-10-08 23:33:46 +02:00
tty.cpp Userland: Replace most printf-style APIs with AK::Format APIs :^) 2021-06-01 21:30:16 +01:00
umount.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
uname.cpp uname: Port to LibMain 2022-01-04 07:33:23 +00:00
uniq.cpp uniq: Port to LibMain 2022-01-04 07:33:23 +00:00
unzip.cpp unzip: Remove useless .characters() calls 2022-01-04 23:53:46 -08:00
uptime.cpp uptime: Port to LibMain :^) 2022-01-02 09:42:56 +00:00
useradd.cpp Utilities: Do not allow creating users with existing usernames 2021-06-09 09:00:31 +02:00
userdel.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
usermod.cpp LibCore+passwd+usermod: Make Core::Account::sync() return ErrorOr<void> 2021-12-16 22:48:17 +01:00
utmpupdate.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
w.cpp Everywhere: Use default execpromises argument for Core::System::pledge 2021-11-28 08:04:57 +01:00
wasm.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
watch.cpp watch: Port to LibMain 2021-12-19 18:26:57 -08:00
wc.cpp wc: Port to LibMain 2022-01-04 07:33:23 +00:00
which.cpp Userland: Fail Core::find_executable_in_path on empty inputs 2022-01-04 07:38:42 +00:00
whoami.cpp whoami: Port to LibMain :^) 2021-11-30 23:34:40 +01:00
wsctl.cpp wsctl: Port to LibMain 2022-01-04 07:33:23 +00:00
xargs.cpp xargs: Port to LibMain 2022-01-04 07:33:23 +00:00
yes.cpp yes: Port to LibMain 2022-01-04 07:33:23 +00:00
zip.cpp zip: Port to LibMain :^) 2022-01-04 10:59:42 +00:00