summaryrefslogtreecommitdiff
path: root/Userland/Utilities/gron.cpp
AgeCommit message (Collapse)Author
2021-12-04gron: Use StringView literals more (instead of raw C strings)Andreas Kling
2021-12-04gron: Port to LibMain :^)Andreas Kling
2021-11-17AK: Make JSON parser return ErrorOr<JsonValue> (instead of Optional)Andreas Kling
Also add slightly richer parse errors now that we can include a string literal with returned errors. This will allow us to use TRY() when working with JSON data.
2021-08-01Utilities: Remove unused header includesBrian Gianforcaro
2021-06-29AK+Everywhere: Change int to size_t in JsonObject and JsonArrayMax Wipfli
2021-06-08gron: Handle invalid input gracefullySam Atkins
Print an error and return 1, instead of asserting.
2021-06-08gron: Make gron read from stdin if no file is providedSam Atkins
2021-06-01Userland: Return 1 when help text is shown for insufficient argsLinus Groh
ArgsParser also does this, but we don't use that (yet) in a couple of places. Fix the behaviour manually for consistency.
2021-06-01Userland: Replace most printf-style APIs with AK::Format APIs :^)Linus Groh
2021-05-17Utilities: Correct non-standard assert macros includesJean-Baptiste Boric
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-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
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-21gron: Convert String::format() => String::formatted()Andreas Kling
2021-03-12Everywhere: Remove klog(), dbg() and purge all LogStream usage :^)Andreas Kling
Good-bye LogStream. Long live AK::Format!
2021-02-23Everywhere: Rename ASSERT => VERIFYAndreas Kling
(...and ASSERT_NOT_REACHED => VERIFY_NOT_REACHED) Since all of these checks are done in release builds as well, let's rename them to VERIFY to prevent confusion, as everyone is used to assertions being compiled out in release. We can introduce a new ASSERT macro that is specifically for debug checks, but I'm doing this wholesale conversion first since we've accumulated thousands of these already, and it's not immediately obvious which ones are suitable for ASSERT.
2021-01-12Userland: Move command-line utilities to Userland/Utilities/Andreas Kling