Riyyi
4457a711cd
Util: Remove debugging printf() statements
pirms 3 gadiem
Riyyi
925fdd474a
Util: Optimize m_index variable usage
pirms 3 gadiem
Riyyi
d65f56bf03
Util: Break Lexer strings on quote and new lines
pirms 3 gadiem
Riyyi
4501061060
Util: Add string validation to Parser
pirms 3 gadiem
Riyyi
0aef4ee2c0
Util: Only break Lexer string tokenization on unescaped "
pirms 3 gadiem
Riyyi
c1c9429a9d
Util: Improve Lexer string tokenization
pirms 3 gadiem
Riyyi
356cdaf051
Util: Add increment() and decrement() to Lexer
pirms 3 gadiem
Riyyi
b41bba72c9
Util: Rename Object key -> name
pirms 3 gadiem
Riyyi
a818c4489c
Util: Add missing getter to Object
pirms 3 gadiem
Riyyi
8800ff4f7a
Util: Move literal validation logic to Parser
pirms 3 gadiem
Riyyi
6161d577c6
Util: Change Object map unused value to uint8_t
pirms 3 gadiem
Riyyi
ddf0a2858b
Util: Move number validation logic to Parser
pirms 3 gadiem
Riyyi
8c08b8a594
Util: Add error report to Lexer default case
pirms 3 gadiem
Riyyi
4a7ed92519
Util: Add constructor Value(Type)
pirms 3 gadiem
Riyyi
95e0ddf49a
Util: Fix return Value when an error has occurred
pirms 3 gadiem
Riyyi
fdeba07fd4
Util: Improve JSON parsing and add error messages
pirms 3 gadiem
Riyyi
a14cd1e0a5
Util: Change Parser switch cases to if-else
pirms 3 gadiem
Riyyi
061ed74d4f
Util: Check strings for double quotes in Lexer
pirms 3 gadiem
Riyyi
8fb1a1a8e9
Util: Move vector<Token> ownership to Job class
pirms 3 gadiem
Riyyi
bc01b34e58
Util: Calculate JSON line number before lexing
pirms 3 gadiem
Riyyi
68bc95fdf1
Util: Implement new JSON Job class
pirms 3 gadiem
Riyyi
13d020a351
Util: Add JSON Job class
...
This class holds the to parse string and has a helper for printing error
messages.
pirms 3 gadiem
Riyyi
af678374bc
Util: Add emplace() to Json::Value
pirms 3 gadiem
Riyyi
e5978310bf
Util: Fix Parser Json::Value construction
pirms 3 gadiem
Riyyi
8bfae9b483
Util: Add more ways of accessing and creating Json::Value objects
pirms 3 gadiem
Riyyi
9f7fe81ef6
Util: Add parse() and dump() to Json::Value
pirms 3 gadiem
Riyyi
aad95de5fd
Util: Add a JSON stringifier
pirms 3 gadiem
Riyyi
c385432bb0
Util: Add JSON accessors
pirms 3 gadiem
Riyyi
5188d57d19
Util: Add JSON parser
pirms 3 gadiem
Riyyi
0880d98fe0
Util: Add JSON Array/Object/Value types
pirms 3 gadiem
Riyyi
1c676f9548
Util: Add JSON lexical analyzer
pirms 3 gadiem
Riyyi
592ee124cb
Manager: Do not print debugging output on release mode
pirms 3 gadiem
Riyyi
54dc515def
Util: Make file append const reference
pirms 3 gadiem
Riyyi
a8e73063ee
Util: Add file create function
pirms 3 gadiem
Riyyi
abbf764a3e
Manager: Add feature to selectively comment and uncomment
pirms 3 gadiem
Riyyi
a04b5232f4
Util: Add delimiter support to the cut function
pirms 4 gadiem
Riyyi
22082a515b
Util: Add convenience functions to save external process creation
pirms 4 gadiem
Riyyi
418b453507
Util: Add file class
pirms 4 gadiem
Riyyi
ee451671cd
Util: Fix reading of file descriptors longer than 4096 bytes
pirms 4 gadiem
Riyyi
12dd000f0b
Util: Pass string by const reference
pirms 4 gadiem
Riyyi
cc7252f94d
Util: Change operators to the evaluated order
pirms 4 gadiem
Riyyi
26ceceeba5
Util: Change System to direct-list-initialization
pirms 4 gadiem
Riyyi
9926849640
Util: Add class Shell for executing more basic OS shell commands
pirms 4 gadiem
Riyyi
496e3e4c88
Util: Do not modify the output result
pirms 4 gadiem
Riyyi
06367a05b8
Util: Add additional System operator support
pirms 4 gadiem
Riyyi
2fca315557
Util: Add support for stdin and | piping
...
In order to accomplish this, the arguments have to be stored in the
object. Because () evaluation order is not defined in the spec.
Because arguments have to be stored now, char pointers no longer work
and std::strings are stored instead. Systems object also cant be
returned as a reference anymore because you need to be able to know
which is the lhs and which is the rhs in the operator overloads.
pirms 4 gadiem
Riyyi
70ccdee8c2
Util: Add class System for executing OS shell commands
pirms 4 gadiem
Riyyi
3efe74582f
Util: Add ArgParser missing argument error message
pirms 4 gadiem
Riyyi
bb29919f02
Util: Simplify the logic of the long option parsing function
pirms 4 gadiem
Riyyi
2ac6d24520
Util: Add type error messages to ArgParser option arguments
pirms 4 gadiem