Commit Graph

114 Commits

Author SHA1 Message Date
Paul Beckingham
216d4d63bc Copyright 2018 2018-05-13 23:30:21 -04:00
Paul Beckingham
4c53da5be1 DOM: Implemented DOM::Node object 2018-05-13 23:19:59 -04:00
Paul Beckingham
eba68ac2ff DOM: Added dtor that delegate to DOM::Node 2018-05-13 23:19:20 -04:00
Paul Beckingham
8bbc35560f DOM: New reference tw.version. 2018-05-13 23:18:49 -04:00
Paul Beckingham
0ea3215e7a DOM: Fixed ::count bug 2018-05-13 23:18:30 -04:00
Paul Beckingham
f6566838f6 DOM: Added framework 2018-05-13 23:17:50 -04:00
Paul Beckingham
ee3e8c46dc DOM: Stubbed DOM tree 2018-05-13 23:17:26 -04:00
Paul Beckingham
60e5c488ac DOM: tw.syncneeded should be 0/1, not false/true 2018-05-13 22:45:18 -04:00
Paul Beckingham
146a72b331 DOM: Partial DOM match is no longer an error 2018-05-13 22:45:07 -04:00
Paul Beckingham
3a69609ffd DOM: New references: tw.syncneeded, tw.program, tw.args, tw.width, tw.height
- And deprecating context.program, context.args, context.width, context.height
2018-05-13 22:41:19 -04:00
Paul Beckingham
6641ca13a1 DOM: Typo 2018-05-13 22:40:10 -04:00
Paul Beckingham
ce97fd5901 TW-1827: Extract annotations from a task
- Thanks to Ryan.
2018-05-13 22:22:04 -04:00
Paul Beckingham
7e629ef30a Task: Improved method signature 2018-05-13 22:20:50 -04:00
Paul Beckingham
88516acdaa Copyright update 2018-05-13 20:50:26 -04:00
Paul Beckingham
c0c476e53d DOM: Converted from ISO8601 to Datetime/Duration
- In addition fixed the week number of 2011-09-01 to 35, therefore the
  tests change also.
2018-05-13 20:34:39 -04:00
Paul Beckingham
6bfb3fab3c DOM: Migrated from Nibbler to Lexer 2018-05-13 20:33:08 -04:00
Paul Beckingham
8a43f4902d libhsared: migrating from local to libshared 2018-05-13 20:26:34 -04:00
Paul Beckingham
35e518cbc2 Cleanup: Don't use string literals when character literals are needed 2018-05-13 20:11:49 -04:00
Paul Beckingham
b6ef010595 DOM: Eiminated Nibbler 2018-05-13 20:03:17 -04:00
Paul Beckingham
abefdd506c Cleanup: Removed redundant processing of OS name 2018-05-13 19:10:06 -04:00
Paul Beckingham
820cc4b2e5 DOM: Demoted from class to functions
- The DOM object contains no members, and only two (effectively) const methods.
  Demoting DOM to function calls reduces coupling with Context.
2016-02-03 21:54:37 -05:00
Paul Beckingham
83701168a4 DOM: Remove obsolete methods 2016-01-09 22:24:55 -05:00
Paul Beckingham
641d232dea Copyright: Updated to 2016 2015-12-31 15:06:43 -05:00
Wilhelm Schuermann
8f8ad813cd Task: Remove std::map inheritance, clean up interface
- Make the Task object's interface more explicit by removing the
  std::map inheritance.
- Using this more explicit interface, remove unneeded ctors in order to
  allow the compiler to "Do The Right Thing"(tm).
  This leads to a performance improvement of 12% in the "add"
  performance test, and 7% for "import".
2015-11-04 20:33:52 +01:00
Paul Beckingham
7d4ccb652e Revert "DOM: Concerted from strtol to std::stoul/stoi"
This reverts commit c903185481.
2015-11-02 18:41:08 -05:00
Paul Beckingham
508559f766 Revert "DOM: Converted from strtol to std::stoi"
This reverts commit 7c5055de7a.
2015-11-02 18:36:19 -05:00
Paul Beckingham
7c5055de7a DOM: Converted from strtol to std::stoi 2015-11-01 22:55:14 -05:00
Paul Beckingham
c903185481 DOM: Concerted from strtol to std::stoul/stoi 2015-11-01 21:42:53 -05:00
Paul Beckingham
5c8b7148b4 Task: Moved include to top of list, per flint++ recommendation 2015-11-01 19:59:10 -05:00
Paul Beckingham
b5c4bf0a6d Performance: Removed unnecessary std::string::substr in high-traffic code 2015-11-01 16:10:49 -05:00
Paul Beckingham
6bb58286dc DOM: Migrated from Date to ISO8601d 2015-10-03 15:14:39 -04:00
Paul Beckingham
bb53ae17ae ISO8601p: Renamed ::_value to ::_period 2015-09-26 12:17:57 -04:00
Wilhelm Schuermann
e478396a04 DOM: Prevent use-after-free in CLI2::canonicalize 2015-09-15 12:57:18 +02:00
Paul Beckingham
c59afe34c4 TW-1656: Implicitly parenthesize argv filter
- Thanks to Daniel Shahaf.
2015-09-12 08:57:38 -04:00
Paul Beckingham
1f47e8c99f TW-1692: 42//' segfaults
- Thanks to Daniel Shahaf.
2015-09-12 07:34:56 -04:00
Paul Beckingham
2854304e60 DOM: Refactored the contextual ::get 2015-09-07 16:12:54 -04:00
Paul Beckingham
992cb6369a DOM: Factored out element size 2015-09-07 15:13:12 -04:00
Paul Beckingham
88eb355e3b DOM: Duration replaced by ISO8601p 2015-08-12 07:54:12 -04:00
Paul Beckingham
2a621a4367 TW-1636: UUID with numeric-only first segment is not parsed properly
- Switched Nibbler::getUUID to Nibbler::getPartialUUID, which caused partial
  UUID mathcing to fail sometimes.
- Changed precedence to search for UUID before ID, which solves the numeric
  UUID problem.
2015-08-08 00:49:54 -04:00
Paul Beckingham
8adb6ae889 DOM: Missing value UDAs now return "", not "''". 2015-07-28 00:07:51 -04:00
Paul Beckingham
58edbb9630 DOM: Aligned comments with Lexer 2015-07-26 12:08:40 -04:00
Paul Beckingham
0f72d3d502 TW-1640: '_get <id>.start' for an inactive tasks returns a date formatted from epoch 0. 2015-07-24 22:47:50 -04:00
Paul Beckingham
83057293a9 DOM: Dead code removal 2015-07-17 15:16:18 -04:00
Paul Beckingham
3a9505f56c DOM: Durations may now be ISO8601p or Duration 2015-07-16 16:12:31 -04:00
Paul Beckingham
75028f6ad9 DOM: Converted to CLI2::canonicalize 2015-06-14 20:51:21 -04:00
Paul Beckingham
ee03261573 DOM: Converted DOM 'context.args' to use CLI2 2015-06-14 20:50:24 -04:00
Paul Beckingham
ddf44de23d DOM: Converted to use CLI2 2015-06-14 20:45:25 -04:00
Paul Beckingham
7bbc794d3a C++11: N2672 Initializer lists
- Modified code to use the more compact and readable initializer lists.
2015-05-24 13:03:02 -04:00
Paul Beckingham
e74c6963a9 C++11: Cleaned up program framework with range-based for 2015-05-11 17:50:53 -04:00
Paul Beckingham
1371b6595e Build: Disambiguated Variant instantiation that causes 32-bit problems 2015-04-16 22:53:38 -04:00