Paul Beckingham
40488808e5
Test: Removed binary output from test
2016-11-06 23:56:55 -05:00
Paul Beckingham
5e3468c1be
Test: Removed binary output from test
2016-11-06 23:50:40 -05:00
Paul Beckingham
f82812ab24
Tests: Fixed unit test that emitted unicode, that 'run_all' dislikes
2016-11-06 17:57:35 -05:00
Paul Beckingham
7efbfe29e4
Tests: Added extractLine tests
2016-02-23 21:11:22 -05:00
Paul Beckingham
641d232dea
Copyright: Updated to 2016
2015-12-31 15:06:43 -05:00
Paul Beckingham
182b5427cd
Lexer: Migrated trim(), trimLeft() and trimRight() from text to Lexer
2015-10-30 11:17:23 -04:00
Paul Beckingham
51def4b12b
Lexer: Migrated commify, ucFirst and lowerCase from text to Lexer
2015-10-30 10:57:14 -04:00
Paul Beckingham
461610aaa6
Test: Cleanup prep for '-Wextra'
2015-10-16 15:55:17 -04:00
Paul Beckingham
58f9dd5eb4
Test: Corrected decimal commify tests
2015-07-17 20:19:40 -04:00
Paul Beckingham
b522eecf8d
Test: Added format test
2015-07-17 20:10:34 -04:00
Paul Beckingham
ca62874515
Test: Added find() offset case-insensitive tests
2015-07-17 20:07:36 -04:00
Paul Beckingham
47970ab166
Test: Added ::closeEnough tests
2015-07-17 20:04:13 -04:00
Paul Beckingham
6caae5004b
Test: Added more ::commify tests
2015-07-17 19:50:53 -04:00
Paul Beckingham
8cab89a44c
Test: Added low-level hyphenation test
2015-07-11 15:31:39 -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
26aff348d2
Lexer
...
- Replaced old digitsOnly() function with Lexer::isAllDigits.
2015-02-22 20:23:00 -05:00
Paul Beckingham
9f82926c65
Text
...
- Removed obsolete noSpaces() function.
2015-02-22 18:27:19 -05:00
Paul Beckingham
520067f522
Cleanup
...
- Eliminated text.cpp upperCase(), as it was not UTF8-safe, and is no longer
used.
2015-02-17 10:44:31 -05:00
Paul Beckingham
b7ad091d00
Updated copyright to 2015
2015-01-01 00:00:41 -05:00
Paul Beckingham
f17c59b1f6
Code Cleanup
...
- Removed unused text.cpp split_minimal function.
2014-09-07 16:27:46 -04:00
Paul Beckingham
8a904fc287
Code Cleanup
...
- Removed unused text.cpp noVerticalSpace function.
2014-09-07 16:21:32 -04:00
Paul Beckingham
3f07173a03
Code Cleanup
...
- Removed unused text.cpp isWordEnd function.
2014-09-07 16:15:32 -04:00
Paul Beckingham
7890cf0ab7
Code Cleanup
...
- Removed unused text.cpp isWordStart function.
2014-09-07 16:12:06 -04:00
Paul Beckingham
d99f40eaad
Code Cleanup
...
- Removed obsolete text.cpp splitq funciton, which is superceded by
Lexer::split.
2014-04-24 09:35:02 -04:00
Paul Beckingham
386bcea60e
Text
...
- Removed splitq function and tests, migrated code over to the new
Lexer::split.
2014-04-23 23:20:56 -04:00
Paul Beckingham
d099a4edfd
Text Handling
...
- Migrated the splitq implementation over to the Lexer. Now it handles all
Unicode spaces. Jsut need to obsolete the old version.
2014-04-23 17:34:07 -04:00
Paul Beckingham
523dce8f32
Code Cleanup
...
- Standardized headers.
2014-02-01 14:33:37 -05:00
Paul Beckingham
8ed92ca498
Copyright
...
- Bumped copyright to 2014, ready for release.
2014-01-01 13:32:22 -05:00
Paul Beckingham
ada6e49dab
Bug #1251
...
- #1251 tests should sanitize TASKDATA and TASKRC env vars (thanks to Jakub
Wilk).
2013-09-07 13:52:16 -04:00
Paul Beckingham
d03c4cda8a
Build Error
...
- Many files were missing an explicit cmake.h include. Some were not including
it at all. Now it's used almost everywhere.
(cherry picked from commit 82ae86979c497e6d1d0c6b2b5a55aa379ec82c98)
2013-06-02 13:57:36 -04:00
Paul Beckingham
1dccd29643
Copyright 2013
...
- Updated copyright notices.
2013-03-04 17:47:12 -05:00
Paul Beckingham
b6c28ecb7a
Bug #1136
...
- Fixed bug #1136 , which incorrectly line-wrapped tasks with annotations
(thanks to Steve Rader).
2013-02-10 16:08:45 -05:00
Paul Beckingham
46d5b34091
Unit Tests
...
- Fixed test with ambiguous Test::is signature.
2013-01-12 13:43:17 -05:00
Paul Beckingham
28523e97c6
Unit Tests
...
- Added unit tests to illustrate bug #1136 .
2012-12-30 14:44:15 -05:00
Paul Beckingham
86e74c1020
Code Cleanup
...
- Removed unused function and corresponding unit tests. YAGNI.
2012-03-11 15:33:45 -04:00
Ralph Bean
36ed70ad93
Exports
...
- Provided sample sqlite3 export script in Python, to serve as a
starting point for anyone wanting to migrate taskwarrior data into
a SQL database. Illustrates JSON parsing and separation of the
relational data.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-01-10 17:58:34 -05:00
Paul Beckingham
6580095002
Copyright
...
- Year change.
2012-01-02 23:32:10 -05:00
Federico Hernandez
bbe218a6f1
License
...
- first round of unit tests
2011-10-08 12:17:42 +02:00
Paul Beckingham
7dd3e081c7
Bug #804 - URL link and break line
...
- Addressed bug #804 by allowing rc.hyphenate to control whether hyphens are
inserted when long lines are broken. This may help prevent xterm from
mis-parsing URLs in task annotations, when wrapped (thanks to Yann Davin).
- Added unit tests.
2011-08-17 22:39:28 -04:00
Paul Beckingham
fb9e82ed0e
TDB2 parsing
...
- TDB2::load_lines was splitting the text on \n, but because the last
line contains \n, there was an additional blank line. This is what
split_minimal is for.
- split_minimal contained a copy/paste bug that added the extra line
if the input was non-trivial, instead of if the remainder was non-
trivial.
- Fixed incorrect unit test accordingly.
2011-08-13 23:19:11 -04:00
Paul Beckingham
ffa5bc43fe
E9
...
- Working towards arg date/duration eval.
2011-08-06 00:59:14 -04:00
Paul Beckingham
56ccd16730
Helpers
...
- Implemented longestLine, which finds the longest line in a string.
2011-05-30 21:22:26 -04:00
Paul Beckingham
8fabffe18c
Code Cleanup
...
- Eliminated '#include "x"' by changing all to '#include <x>'.
2011-05-28 00:19:59 -04:00
Paul Beckingham
f0f3e55cc6
Text Handling
...
- Implemented nontrivial (), which detemines whether a string contains
any non-space characters. Used to detect strings with no content.
2011-05-23 20:08:33 -04:00
Paul Beckingham
05b3fa0bb6
Text Processing
...
- Implemented splitq, which can handle quoted and oddly-quoted string
splits.
2011-05-16 00:22:14 -04:00
Paul Beckingham
1a833af2a4
View
...
- Broke out View into ViewTask and ViewText, where the former uses an
external std::vector <Task> as storage, thus eliminating the additional
copy, and the latter that duplicates data and color into 2D vectors
for rendering non-task data.
2011-05-10 22:49:20 -04:00
Paul Beckingham
1d0ad3838b
Text Handling
...
- Implemented longestWord, a UTF8-aware helper for word-wrapping.
2011-05-05 19:45:09 -04:00
Paul Beckingham
8f00665268
Unit Tests
...
- Added extra format test for the Julian date format.
2011-05-02 01:50:15 -04:00
Paul Beckingham
b0ff1ff55b
I18N
...
- Renamed text.cpp/characters to utf8.cpp/utf8_length, which is more
appropriate.
2011-05-01 11:10:32 -04:00
Paul Beckingham
66afc7c057
Enhancement
...
- Modified leftJustify and rightJustify to handle UTF8.
2011-04-29 01:10:58 -04:00