summaryrefslogtreecommitdiff
path: root/AK/ScopeLogger.h
AgeCommit message (Collapse)Author
2022-12-06Everywhere: Rename to_{string => deprecated_string}() where applicableLinus Groh
This will make it easier to support both string types at the same time while we convert code, and tracking down remaining uses. One big exception is Value::to_string() in LibJS, where the name is dictated by the ToString AO.
2022-12-06AK+Everywhere: Rename String to DeprecatedStringLinus Groh
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
2022-11-26AK: Make it possible to not `using` AK classes into the global namespaceAndreas Kling
This patch adds the `USING_AK_GLOBALLY` macro which is enabled by default, but can be overridden by build flags. This is a step towards integrating Jakt and AK types.
2022-04-01Everywhere: Run clang-formatIdan Horowitz
2021-06-29AK: Store the 'extra' field of ScopeLogger as StringItamar
It was previously stored as a StringView, which prevented us from using temporary strings in the 'extra' argument. The performance hit doesn't really matter because ScopeLogger is used exclusively for debugging.
2021-06-29AK: Don't colorize the 'extra' field of ScopeLogger in dbgln()Itamar
It's easier to spot it in the debug logs this way :)
2021-05-17AK: Include String.h in ScopeLoggerAli Mohammad Pur
2021-05-08AK+LibCpp: Remove DEBUG_SPAM in favour of per-application definesAli Mohammad Pur
What happens if one file defines DEBUG_SPAM, and another doesn't, then we link them together and get ODR violations? -- @ADKaster
2021-05-08AK: Add an optional 'extra' descriptive field to ScopeLoggerAli Mohammad Pur
Often it's easier to know what the functions are doing with a unique name next to the function's name :)
2021-04-25LibCpp: Convert ScopeLogger to use AK:SourceLocationBrian Gianforcaro
Utilize AK::SourceLocation to get function information into the scope logger, instead of relying on pre-processor macros.
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-01-27LibCpp: Add the beginning of a C++ parserItamar
This parser will be used by the C++ langauge server to provide better auto-complete (& maybe also other things in the future). It is designed to be error tolerant, and keeps track of the position spans of the AST nodes, which should be useful later for incremental parsing.