1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-03 00:52:12 +00:00
serenity/Meta/Lagom/Tools/CodeGenerators
Ali Mohammad Pur db886fe18b Userland+AK: Stop using getopt() for ArgsParser
This commit moves the implementation of getopt into AK, and converts its
API to understand and use StringView instead of char*.
Everything else is caught in the crossfire of making
Option::accept_value() take a StringView instead of a char const*.

With this, we must now pass a Span<StringView> to ArgsParser::parse(),
applications using LibMain are unaffected, but anything not using that
or taking its own argc/argv has to construct a Vector<StringView> for
this method.
2023-02-28 15:52:24 +03:30
..
IPCCompiler Everywhere: Remove the AK:: qualifier from Stream usages 2023-02-13 00:50:07 +00:00
LibEDID Userland+AK: Stop using getopt() for ArgsParser 2023-02-28 15:52:24 +03:30
LibGL LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
LibLocale Everywhere: Use _{short_,}string to create Strings from literals 2023-02-25 20:51:49 +01:00
LibTimeZone LibTimeZone: Propagate try_append() errors while building timezone data 2023-02-24 22:18:25 +01:00
LibUnicode LibUnicode: Propagate try_append() errors when building emoji data 2023-02-24 22:18:25 +01:00
LibWeb Userland+AK: Stop using getopt() for ArgsParser 2023-02-28 15:52:24 +03:30
StateMachineGenerator LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
CMakeLists.txt LibGL: Generate the API wrappers 2022-12-20 10:42:31 +01:00