Commit Graph
211 Commits
Author SHA1 Message Date
Riyyi 8e92317f9e Util: Fix parsing solidus '/' 2022-07-06 10:23:43 +02:00
Riyyi c3d6af85ba Util: Rename Stringify -> Serializer 2022-07-04 17:04:16 +02:00
Riyyi 5d844554f5 Util: Fix Parser number error detection 2022-07-01 11:49:20 +02:00
Riyyi a3d1cd1d74 Util: Change Lexer line/column to 0-based 2022-07-01 11:43:15 +02:00
Riyyi ed5efdb0d6 Util: Remove unused function 2022-07-01 11:36:11 +02:00
Riyyi 4457a711cd Util: Remove debugging printf() statements 2022-07-01 11:32:26 +02:00
Riyyi 925fdd474a Util: Optimize m_index variable usage 2022-07-01 11:32:26 +02:00
Riyyi d65f56bf03 Util: Break Lexer strings on quote and new lines 2022-07-01 11:32:26 +02:00
Riyyi 4501061060 Util: Add string validation to Parser 2022-07-01 11:14:15 +02:00
Riyyi 0aef4ee2c0 Util: Only break Lexer string tokenization on unescaped " 2022-07-01 11:11:42 +02:00
Riyyi c1c9429a9d Util: Improve Lexer string tokenization 2022-06-30 20:46:11 +02:00
Riyyi 356cdaf051 Util: Add increment() and decrement() to Lexer 2022-06-30 20:46:11 +02:00
Riyyi b41bba72c9 Util: Rename Object key -> name 2022-06-30 20:46:08 +02:00
Riyyi a818c4489c Util: Add missing getter to Object 2022-06-30 20:45:33 +02:00
Riyyi 8800ff4f7a Util: Move literal validation logic to Parser 2022-06-30 20:45:33 +02:00
Riyyi 6161d577c6 Util: Change Object map unused value to uint8_t 2022-06-30 20:45:33 +02:00
Riyyi ddf0a2858b Util: Move number validation logic to Parser 2022-06-30 20:45:26 +02:00
Riyyi 8c08b8a594 Util: Add error report to Lexer default case 2022-06-29 14:14:09 +02:00
Riyyi 4a7ed92519 Util: Add constructor Value(Type) 2022-06-28 16:25:19 +02:00
Riyyi 95e0ddf49a Util: Fix return Value when an error has occurred 2022-06-28 16:24:13 +02:00
Riyyi fdeba07fd4 Util: Improve JSON parsing and add error messages 2022-06-28 16:24:13 +02:00
Riyyi a14cd1e0a5 Util: Change Parser switch cases to if-else 2022-06-28 16:11:33 +02:00
Riyyi 061ed74d4f Util: Check strings for double quotes in Lexer 2022-06-28 16:03:43 +02:00
Riyyi 8fb1a1a8e9 Util: Move vector<Token> ownership to Job class 2022-06-26 23:13:25 +02:00
Riyyi bc01b34e58 Util: Calculate JSON line number before lexing 2022-06-25 14:05:45 +02:00
Riyyi 68bc95fdf1 Util: Implement new JSON Job class 2022-06-24 14:56:37 +02:00
Riyyi 13d020a351 Util: Add JSON Job class
This class holds the to parse string and has a helper for printing error
messages.
2022-06-24 14:46:21 +02:00
Riyyi af678374bc Util: Add emplace() to Json::Value 2022-06-23 14:54:29 +02:00
Riyyi e5978310bf Util: Fix Parser Json::Value construction 2022-06-23 14:19:06 +02:00
Riyyi 8bfae9b483 Util: Add more ways of accessing and creating Json::Value objects 2022-06-23 13:47:07 +02:00
Riyyi 9f7fe81ef6 Util: Add parse() and dump() to Json::Value 2022-06-23 13:45:07 +02:00
Riyyi aad95de5fd Util: Add a JSON stringifier 2022-06-22 14:23:29 +02:00
Riyyi c385432bb0 Util: Add JSON accessors 2022-06-16 11:38:22 +02:00
Riyyi 5188d57d19 Util: Add JSON parser 2022-06-07 12:46:13 +02:00
Riyyi 0880d98fe0 Util: Add JSON Array/Object/Value types 2022-06-07 12:46:13 +02:00
Riyyi 1c676f9548 Util: Add JSON lexical analyzer 2022-06-07 12:46:13 +02:00
Riyyi cfe2987e50 Manager: Do not bail one of the targets requires root privileges 2022-03-23 23:17:50 +01:00
Riyyi 0e966a6408 Manager: Fix error message when copying files unprivileged 2022-03-23 23:16:25 +01:00
Riyyi 50baae0a66 Manager: Do not bail if one of the targets doesn't exist 2022-03-23 23:07:04 +01:00
Riyyi 4cac25b5b3 Manager: Change match() path argument type
Changed the path argument from directory_iterator to string, as nothing
in this function relied on the functionality.
2022-03-08 00:18:04 +01:00
Riyyi f4fe44ad02 Manager: Run clang-format 2022-03-08 00:07:54 +01:00
Riyyi db22cc9f06 Manager: Add new pattern logic to system config files 2022-03-08 00:06:01 +01:00
Riyyi 3b4ea3f42d Manager: Rename filter() -> match()
The function returns true on a pattern match, so reflect this in the
name.
2022-03-08 00:06:01 +01:00
Riyyi 37be9506c8 Manager: Rename pattern and iterator variables
ignorePattern -> pattern
ignoreIterator -> patternIterator
2022-03-08 00:06:01 +01:00
Riyyi ed13b1f6b5 Manager: Add new pattern logic to pulling/pushing targets 2022-03-08 00:05:54 +01:00
Riyyi 4110680cc6 Test: Run clang-format 2022-03-06 17:22:21 +01:00
Riyyi 6f1f1c3fe7 Everywhere: Rename "excludePath" to "ignorePattern" 2022-03-06 17:21:16 +01:00
Riyyi b37a8087e9 Everywhere: Change exclude path configuration formatting 2022-03-06 17:10:08 +01:00
Riyyi 4ff3092b2f Manager: Move the dotfile filter function 2022-03-06 16:38:42 +01:00
Riyyi 832816a87e Test: Add exclude path test cases for the new /.gitignore*/ logic 2022-03-06 16:35:57 +01:00