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
|
a1bb1b93c9
|
Test: Hide JSON stderr output
|
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
|
aa283f8c75
|
Test: Add Json test cases
|
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 |
Riyyi
|
8797f695e0
|
Util: Fix type check
|
2 years ago |
Riyyi
|
74dd24a516
|
Util: Add flexible constructor toJson() to Json::Value
|
2 years ago |
Riyyi
|
5c95288874
|
Util: Move staticConst<T> to separate header
|
2 years ago |
Riyyi
|
0c972f420c
|
Util: Add get<T>() functionality with customization points to Value
|
2 years ago |
Riyyi
|
c5bbd7befd
|
Util: Add exists() to Json::Value
|
2 years ago |
Riyyi
|
a209452a68
|
Util: Add Json::Value at() functions
|
2 years ago |
Riyyi
|
4487c800df
|
Util: Change Array constructor
std::vector supports both vector and initializer_list for construction.
|
2 years ago |
Riyyi
|
d9cfd3f7c1
|
Util: Forward declare Json::Value in Array and Object class
|
2 years ago |
Riyyi
|
0465d5802a
|
Util: Add size() getter to Json::Value
|
2 years ago |
Riyyi
|
66774364fd
|
Util: Forward declare Value in the Parser class
|
2 years ago |
Riyyi
|
3078f62162
|
Util: Remove unneeded std::prev() use
|
2 years ago |
Riyyi
|
8e92317f9e
|
Util: Fix parsing solidus '/'
|
2 years ago |
Riyyi
|
c3d6af85ba
|
Util: Rename Stringify -> Serializer
|
2 years ago |
Riyyi
|
5d844554f5
|
Util: Fix Parser number error detection
|
2 years ago |