Paul Beckingham
641d232dea
Copyright: Updated to 2016
2015-12-31 15:06:43 -05:00
Wilhelm Schuermann
77283241a9
Nibbler: Improve getQuoted() performance
...
Improves "load" time for all performance tests that load data by ~20%.
- "next" down 15% total
- "list" down 7% total
- "all" down 3% total
- "add" down 15% total
- "export" down 8% total
- "import" down 6% total
2015-11-12 16:24:22 +01:00
Wilhelm Schuermann
96ca7eb5f2
Nibbler: Remove unused function argument
2015-11-12 13:36:23 +01:00
Paul Beckingham
ee40f89804
Revert "C++11: Converted from strtoimax to std::stoi"
...
This reverts commit 36ad7ead41
.
2015-11-02 18:42:35 -05:00
Paul Beckingham
284330ea1d
Nibbler: Reverted std::stoi change
2015-11-02 18:37:50 -05:00
Paul Beckingham
7158942d03
Nibbler: Converted from strtof to std::stod
2015-11-01 22:10:13 -05:00
Paul Beckingham
36ad7ead41
C++11: Converted from strtoimax to std::stoi
2015-11-01 20:03:51 -05:00
Paul Beckingham
dd82835ac4
Nibbler: Removed unused ::backN method
2015-10-29 23:55:43 -04:00
Paul Beckingham
297f2b6e99
Nibbler: Removed unused ::skipAll method
2015-10-29 23:53:17 -04:00
Paul Beckingham
119827e4e1
Nibbler: Removed unused ::getDigit6 method
2015-10-29 23:46:48 -04:00
Paul Beckingham
88469fc5f9
Nibbler: Removed unused ::getUntilEOL method
2015-10-29 23:41:01 -04:00
Paul Beckingham
0c5984c517
Nibbler: Removed unused ::getWord method
2015-10-29 23:34:46 -04:00
Paul Beckingham
78da4ffb90
Nibbler: Removed unused ::getName method
2015-10-29 23:32:07 -04:00
Paul Beckingham
38b9e54955
Nibbler: Removed unused ::getUUID method
2015-10-29 23:28:42 -04:00
Paul Beckingham
4098e54238
Nibbler: Removed duplicate includes
2015-10-29 23:26:05 -04:00
Paul Beckingham
1e8eac0e3d
Nibbler: Removed unused ::getRx method
2015-10-29 23:23:41 -04:00
Paul Beckingham
de66200028
Nibbler: Removed unused ::getUntilRx method
2015-10-29 23:19:41 -04:00
Paul Beckingham
180d3e75ff
Nibbler: Removed unused ::skipRx method
2015-10-29 23:19:01 -04:00
Paul Beckingham
7693245c1d
Nibbler: Removed unused ::parseDigits method
2015-10-28 22:08:50 -04:00
Paul Beckingham
741afd2240
Nibbler: Removed unused ::getDateISO method
2015-10-28 20:13:55 -04:00
Paul Beckingham
51afff2e6e
Nibbler: Removed unused ::getDate and tests
2015-10-28 20:09:55 -04:00
Paul Beckingham
5110a83efa
Cleanup: Corrected object initialization using {}
2015-10-16 08:22:03 -04:00
Paul Beckingham
79886e03ce
Merge branch 'isodate' into 2.5.0
2015-10-07 07:40:28 -04:00
Paul Beckingham
8136a59572
Nibbler: Migrated from Date to ISO8601d
2015-10-03 18:02:55 -04:00
robin92
5ab0a920cc
Using own version of timegm when applicable.
...
Some systems come without timegm function in standard library. Taskwarrior
already has its own implementation defined in util.c. However, this has
never been used as util.h has not been included.
2015-10-03 10:57:19 -04:00
Paul Beckingham
d11b5de3b4
Nibbler: Code formatting
2015-09-27 02:03:00 -04:00
Paul Beckingham
68c6afbdd4
ISO8601d: Conversion from Date to ISO8601d
2015-09-26 23:08:29 -04:00
Wilhelm Schuermann
605f8020b7
Nibbler: Improve import performance
...
Takes the "import" performance test from 5m5s on a test machine to 13s
total.
A huge part of the previously morbid performance were memory allocation
and release for very little benefit in the JSON parser. With this new
approach the copying is kept to a minimum. There is still room for
improvements.
2015-09-15 18:14:18 +02:00
Paul Beckingham
dfee4b485f
Nibbler: Added missing util.h
2015-08-09 16:53:50 -04:00
Paul Beckingham
a89c996334
Nibbler: Dead code removal
2015-07-17 14:51:27 -04:00
Paul Beckingham
9177c5b697
Nibbler: Dead code removal
2015-07-17 14:50:20 -04:00
Paul Beckingham
e8d04bdce6
C++11: N1984 auto
2015-05-24 13:36:26 -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
39fb45447b
Lexer: Migrated ispunct to Lexer::isPunctuation
2015-04-16 23:52:43 -04:00
Paul Beckingham
3cbb2bb20f
Lexer: Migrated isdigit to Lexer::isDigit
2015-04-16 23:33:25 -04:00
Paul Beckingham
745aad0d27
Lexer
...
- Renamed Lexer2 to Lexer, it looks good enough to assume control.
2015-02-22 18:23:03 -05:00
Paul Beckingham
be80bc4ea3
Converted to Lexer2.
2015-02-19 21:36:04 -08:00
Paul Beckingham
c11601e30e
Cleanup
...
- Removed unused Nibbler::getHex.
2015-02-17 10:58:45 -05:00
Paul Beckingham
b7ad091d00
Updated copyright to 2015
2015-01-01 00:00:41 -05:00
Paul Beckingham
5413d3172b
TW-230, TW-1329
...
- TW-230 Filter tasks on partial UUIDs (thanks to Paul Kishimoto).
- TW-1329 Short UUIDs (thanks to Benjamin Weber).
2014-07-01 23:56:53 -04:00
Paul Beckingham
6514bdfc4d
TW-28, TW-271, TW-277, TW-752, TW-1265
...
- TW-1265 cannot add UDA with underscore (thanks to Jakub Wilk).
- Added unit tests for TW-1265.
- Added ChangeLog and AUTHOR entries for other fixed issues.
2014-05-31 11:11:53 -04:00
Paul Beckingham
74cfc972fc
Code Cleanup
...
- Converted use of isspace (which doesn't know Unicode) to Lexer::is_ws.
2014-04-24 17:06:05 -04:00
Paul Beckingham
4cf0763845
Nibbler
...
- Merged libexpr changes.
2014-01-02 00:34:51 -05:00
Paul Beckingham
efae57d56b
Merge from libexpr
...
- Incorporated Nibbler changes from libexpr.
2013-12-08 16:19:38 -05:00
Paul Beckingham
6f85dac5b8
Build Warning
...
- Eliminated a sign warning.
2013-09-01 15:02:31 -04:00
Paul Beckingham
663c82837c
Nibbler::backN
...
- Added a method to support multi-byte backstep through a string.
- Added unit tests.
2013-08-31 16:02:51 -04:00
Paul Beckingham
1dccd29643
Copyright 2013
...
- Updated copyright notices.
2013-03-04 17:47:12 -05:00
Louis-Claude Canon
ec330921de
Code Cleanup
...
- Factorize code for parsing date elements.
- Better order of blocks for parsing date elements.
- Add corresponding minimal-digit date parsing method for reading seconds,
minutes and week.
- Update documentation and test.
2012-08-02 00:11:12 -04:00
Louis-Claude Canon
384be4b249
Code Cleanup
...
- Remove the code related to the format "day of year" (number of day starting
from the January 1) as mktime does not allow to specify it with the field
tm_yday.
- Cleaner check of the date (everything is done by Date::valid).
- Correct hour, minute and second is also checked.
2012-08-02 00:04:07 -04:00
Louis-Claude Canon
ee0a16f663
Enhancement
...
- Undefined variables are put to today in dates (if year and month is not
specified, the current ones are considered). But if a global ones is
specified, lower one are put to their default values (0 or 1).
2012-08-01 23:41:28 -04:00