summaryrefslogtreecommitdiff
path: root/Userland
AgeCommit message (Collapse)Author
2020-02-23Userland: Delete redundant code in truncateShannon Booth
Fixes #1262
2020-02-22head: Use pledge()Brian Gianforcaro
2020-02-22profile: Allow launching a command with profiling enabledAndreas Kling
You can now profile a program from start to finish by doing: $ profile -c "cat /etc/passwd" The old "enable or disable profiling for a PID" mode is accessible via: $ profile -p <PID> -e # Enable profiling for PID $ profile -p <PID> -d # Disable profiling for PID The generated profile is available via /proc/profile like before. This is far from perfect, but it at least makes profiling a lot nicer to use since you don't have to hurry and attach to something when you want to profile the whole thing anyway.
2020-02-21mv: Use ArgsParser, and check lstat for failurehowar6hill
2020-02-20Userland: Fix nullptr dereference if we fail to open the PCIDBhowar6hill
In the code below, db could be null, and would cause UB. Instead of crashing, let's simply skip symbolicating names. Fixes #1247
2020-02-20host: Use ArgsParser to parse arguments, and add man page (#1252)howar6hill
Fixes #1246.
2020-02-20AK: Use size_t for ByteBuffer sizesAndreas Kling
This matches what we already do for string types.
2020-02-19Userland: Add userdel program (#1217)howar6hill
2020-02-18realpath: Use pledge()Andreas Kling
2020-02-18uname: Use pledge()Andreas Kling
2020-02-18touch: Use pledge()Andreas Kling
2020-02-18rm: Use pledge()Andreas Kling
2020-02-18ln: Use pledge()Andreas Kling
2020-02-18date: Use pledge()Andreas Kling
2020-02-18env: Use pledge()Andreas Kling
2020-02-18uptime: Use pledge()Andreas Kling
2020-02-18hostname: Use pledge()Andreas Kling
2020-02-18kill: Use pledge()Andreas Kling
2020-02-18basename: Use pledge()Andreas Kling
2020-02-18Man: Use ArgsParser to parse argumentshowar6hill
2020-02-18wc: Use pledge()Andreas Kling
2020-02-18sort: Use pledge()Andreas Kling
2020-02-18whoami: Use pledge() and unveil()Andreas Kling
2020-02-18which: Use pledge()Andreas Kling
2020-02-18clear: Use pledge()Andreas Kling
2020-02-18echo: Use pledge()Andreas Kling
2020-02-18yes: Use pledge()Andreas Kling
2020-02-18rmdir: Use pledge()Andreas Kling
2020-02-18mkdir: Use pledge()Andreas Kling
2020-02-18stat: Use pledge()Andreas Kling
2020-02-18ps: Use pledge() and unveil()Andreas Kling
2020-02-18top: Use pledge() and unveil()Andreas Kling
2020-02-16NotificationServer: Add a system service for desktop notificationsAndreas Kling
This patch adds NotificationServer, which runs as the "notify" user and provides an IPC API for desktop notifications. LibGUI gains the GUI::Notification class for showing notifications. NotificationServer is spawned on demand and will unspawn after dimissing all visible notifications. :^) Finally, this also comes with a small /bin/notify utility.
2020-02-16chmod: Tweak usage stringAndreas Kling
Fixes #1223.
2020-02-16LibGUI: Add forwarding headerAndreas Kling
This patch adds <LibGUI/Forward.h> and uses it a bunch. It also dragged various header dependency reduction changes into it.
2020-02-16Userland: Use DirIterator in rmShannon Booth
2020-02-15LibCore: Move LogStream::operator<< overloads into cpp filesAndreas Kling
2020-02-14LibCore: Add a forward declaration headerAndreas Kling
This patch adds <LibCore/Forward.h> and uses it in various places to shrink the header dependency graph.
2020-02-14AK: Add a forward declaration headerAndreas Kling
You can now #include <AK/Forward.h> to get most of the AK types as forward declarations. Header dependency explosion is one of the main contributors to compile times at the moment, so this is a step towards smaller include graphs.
2020-02-14Userland: Fix typos in setting user idShannon Booth
Fixes: #1219
2020-02-14Userland: Fix error handling in rm programShannon Booth
Fixes: #1218
2020-02-11Userland: Use Core::DateTimeAndreas Kling
2020-02-11gron: Use pledge()Andreas Kling
2020-02-11jp: Use pledge()Andreas Kling
2020-02-10LibAudio/aplay: Handle WAV header errors properlyWilliam McPherson
We shouldn't just ASSERT() if the header parse fails. This was crashing Piano completely.
2020-02-10Userland: Fix segfault in chownWilliam McPherson
chown takes 2 arguments, not 1.
2020-02-09Userland: Use IO helpers from LibBareMetalLiav A
2020-02-08more: Read keystrokes from stdout instead of trying to re-open itAndreas Kling
If we're running more on a TTY that we don't have filesystem access to, we can't rely on open(ttyname(STDOUT_FILENO)). Since all the stdio fd's are opened read/write anyway, we can just read from stdout, even if it feels a bit weird. :^)
2020-02-06LibGUI: Remove leading G from filenamesAndreas Kling
2020-02-06LibAudio: Remove leading A from filenamesAndreas Kling