kleines Filmröllchen
69218b92a5
LibCore+Userland: Use StringViews when calling Core::System::open
...
For some reason we used raw char pointers sometimes, which caused at
least one heap buffer overflow detected in fuzzing.
2022-07-09 09:25:20 +01:00
Kenneth Myhra
fbe22af86e
Everywhere: Use my fairly new and shiny serenityos.org email :^)
2022-06-30 15:59:42 +01:00
Idan Horowitz
086969277e
Everywhere: Run clang-format
2022-04-01 21:24:45 +01:00
Kenneth Myhra
f38076e596
disk_benchmark: TRY more stuff :^)
2022-03-27 08:33:24 -04:00
Kenneth Myhra
c0f15ebcbb
disk_benchmark: Core::ArgsParser to parse arguments
2022-03-27 08:33:24 -04:00
Nicholas Cellino
1db7c423db
disk_benchmark: Port to LibMain
2022-03-22 11:51:32 +01:00
Sam Atkins
45cf40653a
Everywhere: Convert ByteBuffer factory methods from Optional -> ErrorOr
...
Apologies for the enormous commit, but I don't see a way to split this
up nicely. In the vast majority of cases it's a simple change. A few
extra places can use TRY instead of manual error checking though. :^)
2022-01-24 22:36:09 +01:00
Andrew Kaster
f8ea9cd64e
Userland: Resolve unused-but-set-varaible warnings
...
These are almost always bugs, so enable globally.
Remove unused counter variables in SystemMonitor and disk_benchmark.
2022-01-04 07:51:31 +00:00
Brian Gianforcaro
74ee7cabf2
Utilities: Use ElapsedTimer::start_new() in disk_bechmark
2021-09-12 17:24:44 +00:00
Ali Mohammad Pur
97e97bccab
Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe
2021-09-06 01:53:26 +02:00
Brian Gianforcaro
1682f0b760
Everything: Move to SPDX license identifiers in all files.
...
SPDX License Identifiers are a more compact / standardized
way of representing file license information.
See: https://spdx.dev/resources/use/#identifiers
This was done with the `ambr` search and replace tool.
ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-22 11:22:27 +02:00
Andreas Kling
1318b9391d
disk_benchmark: Modernize this code a little bit
...
Use the new formatting helpers and such.
2021-02-26 14:05:18 +01:00
Andreas Kling
c71807a3fc
Everywhere: Convert a handful of String::format() => formatted()
2021-01-16 14:52:04 +01:00
Andreas Kling
ececac65c2
Userland: Move command-line utilities to Userland/Utilities/
2021-01-12 12:04:09 +01:00