Commit graph

7807 commits

Author SHA1 Message Date
Paul Beckingham
db49efd72f C++11: Migrated from strtod to std::stod 2015-11-01 19:44:15 -05:00
Paul Beckingham
abc988476d Docs: Added gcc requirement for Cygwin 2015-11-01 19:34:24 -05:00
Paul Beckingham
ee9d303b10 Task: Removed unnecessary chomp in ::parse 2015-11-01 19:14:41 -05:00
Paul Beckingham
2aa3163451 Task: Use one-step attribute erase 2015-11-01 19:03:04 -05:00
Paul Beckingham
136f849aa8 Task: Converted to use to_string where appropriate 2015-11-01 18:56:50 -05:00
Paul Beckingham
b4035d6ff5 Recurrence: Converted from sprintf to std::to_string 2015-11-01 18:49:11 -05:00
Paul Beckingham
f339672b89 Variant: Converted from sprintf to std::to_string 2015-11-01 18:36:37 -05:00
Paul Beckingham
d1a6fecde3 ISO8601: Converted ::toString from sprintf for std::stringstream 2015-11-01 18:02:55 -05:00
Paul Beckingham
7a48d25eaa ISO8601: Implemented ::dayNameShort and ::monthNameShort
- Added tests.
2015-11-01 18:02:08 -05:00
Paul Beckingham
9143d8b8e7 ISO8601: Covnerted from sprintf to std::stringstream 2015-11-01 17:20:48 -05:00
Paul Beckingham
d8c5927362 ISO8601: Removed cowardly segfault fix 2015-11-01 17:04:08 -05:00
Paul Beckingham
78b8fc5dc7 Column: Phasing out text.cpp/nontrivial() 2015-11-01 16:48:34 -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
25b7f42810 CmdExport: Simplified looping with 'auto' 2015-11-01 13:50:45 -05:00
Paul Beckingham
20493ec7d8 ColTypeDuration: Added missing type 2015-10-31 17:08:35 -04:00
Paul Beckingham
46db62ff00 ColTypeDate: Now uses ::renderString{Left,Right} 2015-10-31 16:56:58 -04:00
Paul Beckingham
ce507c0011 ColUDA: Now uses ::renderString{Left,Right} 2015-10-31 16:56:25 -04:00
Paul Beckingham
cd70d56260 ColString: Now uses ::renderString{Left,Right} 2015-10-31 16:55:55 -04:00
Paul Beckingham
410175efd3 ColStart: Now uses ::renderStringRight 2015-10-31 16:55:32 -04:00
Paul Beckingham
5c9f1f7b45 ColRecue: Now uses ::renderStringRight 2015-10-31 16:55:00 -04:00
Paul Beckingham
99f6e6d634 ColProject: Now uses ::renderStringLeft 2015-10-31 16:54:44 -04:00
Paul Beckingham
281366e38b ColMask: Now uses ::renderStringRight 2015-10-31 16:54:21 -04:00
Paul Beckingham
87a35d4dec ColID: Now uses ::renderStringRight 2015-10-31 16:53:50 -04:00
Paul Beckingham
3d832a0d5a ColDescription: Now uses ::renderStringLeft 2015-10-31 16:15:47 -04:00
Paul Beckingham
83fa5a6e55 ColStatus: Now uses ::renderStringLeft 2015-10-31 16:15:24 -04:00
Paul Beckingham
43cdb0fa3a ColTags: Now uses ::renderStringRight 2015-10-31 16:15:05 -04:00
Paul Beckingham
4411fc02c5 ColMask: Now uses ::renderStringLeft 2015-10-31 16:14:44 -04:00
Paul Beckingham
292e2f1b89 ColDepends: Now uses ::renderStringLeft 2015-10-31 16:14:14 -04:00
Paul Beckingham
06c50efa63 ColUUID: Now uses ::renderStringLeft 2015-10-31 15:54:35 -04:00
Paul Beckingham
65b8fb7bce ColParent: Fixed short form truncation
- The short form now takes the first 8 characters, not the last.
  No one noticed.
2015-10-31 15:53:15 -04:00
Paul Beckingham
668fd2301e ColParent: Now uses ::renderStringLeft 2015-10-31 15:44:05 -04:00
Paul Beckingham
04c3e9e537 Column: Implemented ::renderStringLeft, ::renderStringRight 2015-10-31 15:42:32 -04:00
Paul Beckingham
43e4f8a485 ColUrgency: Now uses Column::render{Integer,Double} 2015-10-31 15:24:03 -04:00
Paul Beckingham
4c55b8c9af ColID: Uses Column::renderInteger 2015-10-31 15:23:04 -04:00
Paul Beckingham
4837e9aa9d ColTypeNumeric: Delegated type to base class 2015-10-31 15:22:25 -04:00
Paul Beckingham
9ea69ea802 Column: Explained justification 2015-10-31 15:20:35 -04:00
Paul Beckingham
4d42584ca0 Column: Implemented ::renderDouble 2015-10-31 15:19:19 -04:00
Paul Beckingham
b8ae54275e Column: Implemented ::renderInteger 2015-10-31 15:16:51 -04:00
Paul Beckingham
dc72a22887 Col*: Moving code into ColTypeString base 2015-10-31 14:35:06 -04:00
Paul Beckingham
de9c0b97f6 Col*: Assigned a type-specific base class to each column object
- Base class currently does nothing.
2015-10-31 12:12:30 -04:00
Paul Beckingham
3475995f39 ColType*: Added Duration, String and Numeric type base classes 2015-10-31 11:54:53 -04:00
Paul Beckingham
2a6ce539d0 ColTypeDate: Renamed 'ColDate' to 'ColTypeDate'
- Renamed files ColDate* to ColTypeDate*.
- Renamed objects ColumnDate* to ColumnTypeDate*.
- This is mainly to make way for ColType{Duration,String,Numeric}, while leaving
  ColString untouched. ColString is used only for ViewText columns, but may soon
  be replaced by ColTypeString. Unknown.
2015-10-31 11:35:24 -04:00
Paul Beckingham
6baff92b5a Column: Removed ::can_modify, which is moot 2015-10-31 11:14:23 -04:00
Tomas Babej
2ff8d8329f TW-1720: CmdContext uses a mix of both throw and std::cout to convey errors 2015-10-30 16:40:13 -04:00
Tomas Babej
8505d8a42c tests: Make sure correct output stream is expected in CmdContext tests 2015-10-30 16:33:31 -04:00
Tomas Babej
98973a9390 CmdContext: Handle errors in a consistent way 2015-10-30 16:33:16 -04:00
Paul Beckingham
ba23b926dd Lexer: Missing include 2015-10-30 12:44:00 -04:00
Paul Beckingham
2f23406087 Perf: Removed Python3 requirement, which is not needed 2015-10-30 12:39:03 -04:00
Paul Beckingham
b4fc2b5583 JSON: Added std::string::reserve to compensate for growth 2015-10-30 12:38:08 -04:00
Paul Beckingham
6ce3285c77 Lexer: Modified ::trim to make one less copy 2015-10-30 11:41:16 -04:00