Commit Graph
334 Commits
Author SHA1 Message Date
Riyyi 3d42a82003 Test: Switch from Util to the ruc library 2022-09-13 11:08:47 +02:00
Riyyi 4927e35bfc Manager: Switch from Util to the ruc library 2022-09-13 11:08:47 +02:00
Riyyi 2b3acd5d51 CMake: Build ruc library 2022-09-13 11:08:47 +02:00
Riyyi 6f2af1a40d Meta: Add submodule for ruc library 2022-09-13 01:34:09 +02:00
Riyyi 6f0e3d6063 Util: Add Container parser checks 2022-08-09 11:11:19 +02:00
Riyyi 3e2819cf93 Util: Use char literals instead of numbers in enums 2022-08-09 10:56:48 +02:00
Riyyi 5e6ec1eff3 Test: Make formatting tests more complete 2022-08-08 21:45:55 +02:00
Riyyi 14e57acfd8 Util: Add format specifier logic to container types 2022-08-08 21:44:24 +02:00
Riyyi 5cf8d18742 Util: Add container type to Parser 2022-08-08 21:42:50 +02:00
Riyyi 086da50a57 Util: Fix Builder::putU64() when printing unaligned zero-padded hexes 2022-08-08 21:19:47 +02:00
Riyyi 36a18f65c1 Util: Add default formatting type to floating points checks 2022-08-06 19:53:45 +02:00
Riyyi ea853c1ace Util: Fix alternative form for octal types 2022-08-06 16:45:36 +02:00
Riyyi 448ad42005 Util: Add integral formatting to char and bool types 2022-08-06 00:39:03 +02:00
Riyyi 80c37496e8 Util: Implement specifier option checks 2022-08-05 23:38:08 +02:00
Riyyi a75bb863ff Util: Fix brace checks in Parser 2022-08-05 22:01:54 +02:00
Riyyi dc8d2a49cd Util: Call integral formatter from pointer type 2022-08-05 21:59:40 +02:00
Riyyi 8b4a748c9d Util: Add specifier options checks for pointer types 2022-08-05 20:27:49 +02:00
Riyyi 175251496f Util: Use putU64 when formatting pointer types 2022-08-05 02:08:40 +02:00
Riyyi 1fda63ae78 Util: Use C++20 designated initializer lists on structs 2022-08-05 00:48:21 +02:00
Riyyi 6c6ddf936a Util: Add alternative form specifier option to integral types 2022-08-05 00:13:09 +02:00
Riyyi bd8367db0e Util: Add newlines to long parameter list 2022-08-05 00:01:33 +02:00
Riyyi b07b9d92d4 Util: Add char to integral presentation types 2022-08-04 23:44:55 +02:00
Riyyi 7a98f8e79f Util: Add integral types and capitalization specifier options 2022-08-04 22:52:06 +02:00
Riyyi 25287bc370 Util: Add zero padding specifier to putU64() 2022-08-04 19:31:30 +02:00
Riyyi 5eb5e2d51e Util: Reorder specifier arguments to match parsing order 2022-08-04 19:30:44 +02:00
Riyyi c40650ab67 Util: Implement some integral specifiers 2022-08-04 17:06:44 +02:00
Riyyi 9758c3e425 Util: Use C++20 concepts for integral and floating-point types 2022-08-04 16:05:49 +02:00
Riyyi 7cff165f08 Util: Add specifier type checking 2022-08-04 01:35:10 +02:00
Riyyi 7825e87c19 Util: Rename Parser SpecifierType -> ParameterType 2022-08-04 01:25:23 +02:00
Riyyi 04250a8605 Util: Add default alignment to string types 2022-08-03 16:05:01 +02:00
Riyyi 5e419f501d Util: Change nullptr stringification 2022-08-03 15:49:43 +02:00
Riyyi 1b7a736be2 Util: Pass string width,align,fill option to Format::Builder 2022-08-03 14:05:34 +02:00
Riyyi 6209251ca6 Util: Pass floating-point precision to Format::Builder 2022-08-03 12:53:28 +02:00
Riyyi a118f3da3c Util: Add format string parsing 2022-08-03 12:51:33 +02:00
Riyyi 8049477795 Util: Update Format::Builder floating-point precision 2022-08-03 12:06:35 +02:00
Riyyi f08225136f Util: Fix stringToNumber in Format::Parser 2022-08-03 11:47:54 +02:00
Riyyi bbb8691c90 Util: Fix parsing index in automatic mode 2022-08-03 11:00:58 +02:00
Riyyi da0954ffcc Util: Add map formatting to new struct Formatter 2022-08-03 01:51:21 +02:00
Riyyi f3344a0fb9 Util: Switch from format() to struct Formatter 2022-08-03 01:02:33 +02:00
Riyyi eb25e98f79 Util: Rename logging type enum, Type -> LogType 2022-08-03 00:27:37 +02:00
Riyyi 5b85feec19 Util: Forward declare where possible in format.h 2022-08-03 00:27:27 +02:00
Riyyi c4e7fa3375 Util: Improve check on formatting recursion for asserts 2022-08-01 00:11:11 +02:00
Riyyi b574a79dfe Manager+Util: Change enum class type from int to uint8_t (4 -> 1 byte) 2022-07-28 10:57:41 +02:00
Riyyi f58113e257 Util: Add ability to print log messages 2022-07-28 01:41:00 +02:00
Riyyi c90369181f Util: Split formatting print into print and colored print 2022-07-28 01:32:27 +02:00
Riyyi 187e082018 Util: Rename FormatAngleBracket -> FormatOperatorStyle 2022-07-28 01:19:09 +02:00
Riyyi 3837ebef06 Util: Print to provided file stream 2022-07-27 01:17:44 +02:00
Riyyi 94906028fc Util: Remove template non-type parameter default arg, it cant be empty 2022-07-27 01:06:29 +02:00
Riyyi c59bfc20f7 Manager+Util: Switch to custom assert macro 2022-07-27 00:10:11 +02:00
Riyyi 04f5f42bb5 Util: Add extra safety check for custom asserts 2022-07-26 23:47:47 +02:00