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
Paul Beckingham
651ac3f174
Tw-1551
...
- TW-1551 Unable to get a UDA value from DOM (thanks to Tomas Babej).
2015-02-24 22:35:18 -05:00
Paul Beckingham
cdde747733
TW-1498
...
- TW-1498 Filtering for presence of UDA matches all tasks (thanks to Ralph Bean).
2015-01-10 14:36:21 -05:00
Paul Beckingham
b7ad091d00
Updated copyright to 2015
2015-01-01 00:00:41 -05:00
Paul Beckingham
d5c937ba8c
Filter
...
- Diagnostics for filter eval were not enabled properly. Now rc.debug.parser=2
will show all filter eval diagnostics.
2014-11-22 13:48:28 -05:00
Paul Beckingham
083b0cb0de
CLI
...
- Implemented ::getBinary.
- Removed Context::program, and converted DOM and dom.t to call ::getBinary.
2014-11-02 21:49:42 -05:00
Paul Beckingham
283a1aa8ef
DOM
...
- Converted DOM and unit test from Parser to CLI.
2014-10-25 22:55:31 -04:00
Paul Beckingham
5987594596
RX
...
- Removed mystery define that has been commented out for three years.
- Added explanatory comments.
2014-09-14 22:15:36 -04:00
Paul Beckingham
db6cecd2f3
DOM
...
- When attributes are accessed via DOM references, the value extracted is now
imbued with the attribute type.
2014-06-24 22:16:57 -04:00
Paul Beckingham
4bf3364bb7
DOM
...
- Preserves more original types.
2014-06-11 23:13:37 -04:00
Paul Beckingham
456b982ced
DOM
...
- Updated DOM to use Variant ovjects, which carry a type which improves
expression evaluation.
2014-06-11 21:53:00 -04:00
Paul Beckingham
f969bcbe59
DOM
...
- Extended DOM support:
<id|uuid>.<date>.year
<id|uuid>.<date>.month
<id|uuid>.<date>.day
<id|uuid>.<date>.week
<id|uuid>.<date>.weekday
<id|uuid>.<date>.julian
<id|uuid>.<date>.hour
<id|uuid>.<date>.minute
<id|uuid>.<date>.second
<id|uuid>.tags.<literal>
<id|uuid>.annotations.<N>.entry
<id|uuid>.annotations.<N>.entry.year
<id|uuid>.annotations.<N>.entry.month
<id|uuid>.annotations.<N>.entry.day
<id|uuid>.annotations.<N>.entry.week
<id|uuid>.annotations.<N>.entry.weekday
<id|uuid>.annotations.<N>.entry.julian
<id|uuid>.annotations.<N>.entry.hour
<id|uuid>.annotations.<N>.entry.minute
<id|uuid>.annotations.<N>.entry.second
<id|uuid>.annotations.<N>.description
2014-06-06 19:43:20 -04:00
Paul Beckingham
61dab3eeb9
DOM
...
- Extended DOM.
2014-06-05 17:55:24 -04:00
Paul Beckingham
e6df1b38e2
DOM
...
- Standardized DOM interface to return success/failure, with the possibility
of blank values. This matches the Eval::source callback interface‥
- Added more unit tests.
2014-06-04 18:57:36 -04:00
Paul Beckingham
f59109cfab
DOM
...
- Converted A3::is_attribute to Parser::canonicalize.
2014-05-25 21:33:05 -04:00
Paul Beckingham
4661cdf0b2
Build
...
- When A3.h is removed from Command.h, other include files need to be
added elsewhere. That means the dependencies were wrong. Hmm.
2014-05-25 21:25:49 -04:00
Paul Beckingham
79abddd03d
Parser
...
- Renamed A3t to Parser.
2014-05-25 09:44:22 -04:00
Paul Beckingham
b7d7646c28
Performance
...
- Moved DOM stack variable instantiation to immediately before first use, which
is after more common use cases.
2014-05-24 13:01:53 -04:00
Paul Beckingham
6f611d07f1
DOM
...
- Converted from A3::is_attribute to A3t::canonicalize.
2014-04-27 12:51:02 -07:00
Paul Beckingham
0dc73d759b
DOM
...
- Migrated DOM off A3, onto A3t. First live use of new parser.
2014-04-24 11:48:43 -04:00
Paul Beckingham
501194abfa
TW-1300
...
- TW-1300 _get could use return codes (thanks to Scott Kostyshak).
2014-04-12 13:32:35 -04:00
Paul Beckingham
523dce8f32
Code Cleanup
...
- Standardized headers.
2014-02-01 14:33:37 -05:00