Riyyi
|
9390f4fd31
|
Util: Add custom assert
|
2 years ago |
Riyyi
|
7d2c2c52e2
|
Util: Add compiler detection using preprocessor directives
|
2 years ago |
Riyyi
|
bcea91a2c0
|
Util: Add newline to string line formatting function
|
2 years ago |
Riyyi
|
9857f11798
|
Util: Remove comparison of unsigned expression, it is always true
|
2 years ago |
Riyyi
|
8345f67c50
|
Everywhere: Switch to #pragma once, add missing copyright headers
|
2 years ago |
Riyyi
|
bba2b30cbb
|
Util: Add helper Util::Json to Util::JSON::Value
|
2 years ago |
Riyyi
|
deb9f29b47
|
Util+Test: Change namespace of JSON classes: Json -> Util::JSON
|
2 years ago |
Riyyi
|
75034a2c5a
|
Util: Implement Json::Value type customization for print formatting
|
2 years ago |
Riyyi
|
835481f4a5
|
Util: Add formatting and type printing capability
Extending the type compatibility is done with an easy to use API.
|
2 years ago |
Riyyi
|
9b3489676e
|
Util: Add two functions to GenericLexer
- tellRemaining
- consumeSpecific
|
2 years ago |
Riyyi
|
dd209a2609
|
Util: Move json/conversion.h -> meta/odr.h
|
2 years ago |
Riyyi
|
2408be335d
|
Util: Rename two functions to be more in line with GenericLexer
|
2 years ago |
Riyyi
|
42143fed71
|
Util: Rename Lexer/Parser get functions to consume
|
2 years ago |
Riyyi
|
8dd3f11d7b
|
Util: Run clang-format on Json::Lexer
|
2 years ago |
Riyyi
|
e3041bfdc7
|
Util: Implement GenericLexer in Json::Lexer
|
2 years ago |
Riyyi
|
4ce026ec78
|
Util: Add GenericLexer class
|
2 years ago |
Riyyi
|
4e6c5ca341
|
Util: Change Job m_input string -> string_view
|
2 years ago |
Riyyi
|
b4100113fe
|
Util: Add missing include
|
2 years ago |
Riyyi
|
11fdc64447
|
Util: Add pause() and resume() to Timer
|
2 years ago |
Riyyi
|
a92ac29d19
|
Util: Add parse(std::ifstream) function
|
2 years ago |
Riyyi
|
07df4054da
|
Util: Massively speedup serialization, remove all ifs from loop
|
2 years ago |
Riyyi
|
2915c1c1ec
|
Util: Reorder Array/Object functions, add empty()
|
2 years ago |
Riyyi
|
161be80fd6
|
Util: Make second to last element detection more compatible
std::prev doesn't work on std::unordered_map, this patch makes it work.
|
2 years ago |
Riyyi
|
c3f5df7a29
|
Util: Optimize away returning strings
|
2 years ago |
Riyyi
|
93eb2f4f6a
|
Util: Optimize Value member away
|
2 years ago |
Riyyi
|
99759b82b7
|
Util: Optimize more string creating and string.find() away
|
2 years ago |
Riyyi
|
827286a0b2
|
Util: Optimize string creation and string.find() away
|
2 years ago |
Riyyi
|
9f31a04909
|
Util: Optimize Lexer::getNumberOrLiteral() to one string append
|
2 years ago |
Riyyi
|
3e69abdfa0
|
Util: Implement copy-and-swap idiom and the Rule of Five in Value
|
2 years ago |
Riyyi
|
7c1f95e850
|
Util: Prevent unnecessary copy assignment calls
|
2 years ago |
Riyyi
|
0841e49b46
|
Util: Add user-defined string literal for Json::Value
|
2 years ago |
Riyyi
|
3ea87a1d28
|
Util: Print Json error messages to stderr
|
2 years ago |
Riyyi
|
4ea1242247
|
Manager: Switch to own JSON parser, remove nlohmann/json
|
2 years ago |
Riyyi
|
d6cd90ae4a
|
Util: Rename Json::Value m_value union variables
|
2 years ago |
Riyyi
|
b76223693b
|
Util: Add Parser and Serializer to Value friends
|
2 years ago |
Riyyi
|
ad137576a8
|
Util: Make character breaks in Lexer more clear syntactically
|
2 years ago |
Riyyi
|
5835c63bda
|
Util: Rename Array m_values -> m_elements
|
2 years ago |
Riyyi
|
39329caf22
|
Util: Fix empty Object {} parsing
|
2 years ago |
Riyyi
|
a33f35faab
|
Util: Rearrange Parser functions
|
2 years ago |
Riyyi
|
aa5b5117ad
|
Util: Change seekForward() to go 1 step after the match
|
2 years ago |
Riyyi
|
51e788a5ad
|
Util: Change Token element access to use at()
|
2 years ago |
Riyyi
|
c7e4eb2575
|
Util: Add EOF detection in Parser getArray() getObject()
|
2 years ago |
Riyyi
|
55ed70353a
|
Util: Fix trailing comma in Object error message
|
2 years ago |
Riyyi
|
abb075939f
|
Util: Properly detect empty Tokens and multiple root elements
|
2 years ago |
Riyyi
|
a3ab6aecfa
|
Util: Fix comma placement in error message
|
2 years ago |
Riyyi
|
097be4c012
|
Util: Fix Serializer trailing commas in Object dumping
The .end() returns an iterator one past the last pair, so it would
always add a comma after the last member.
|
2 years ago |
Riyyi
|
ea7049306e
|
Util: Fix empty Array parsing
|
2 years ago |
Riyyi
|
fc3dc936fa
|
Util: Fix line count detection for non-trailing newline in Job
|
2 years ago |
Riyyi
|
f2ea84be0f
|
Util: Fix to break at the end of the file in Lexer
|
2 years ago |
Riyyi
|
003db7332d
|
Util: Add fromJson() functions for Object Value types
|
2 years ago |