Commit graph

28 commits

Author SHA1 Message Date
Paul Beckingham
9c2aea6d62 ViewTask
- When supplied with a vector of attribute names, can insert spacing into the
  rendered output when values change.  These we call listing breaks.
2014-07-10 21:34:17 -04:00
Paul Beckingham
85481e3e69 Diagnostics
- Consolidated two debug lines into one, so that ViewTask::render now
  reports available width, and Context::getWidth does not.
2014-06-07 09:54:22 -04:00
Paul Beckingham
e6817033d3 TW-1321
- TW-1321 Unit test view.t fails oddly on Ubuntu 13.10 (thanks to John West).
2014-05-11 17:39:44 +00: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
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
773b55d374 Code Cleanup
- Removed L10N define.  It served its purpose.
2013-04-07 23:50:51 -04:00
Paul Beckingham
d895c4a249 Bug #1218
- Fixed bug #1218 so that description columns minimum width is calculated
  correctly.
2013-04-01 18:07:25 -04:00
Paul Beckingham
1dccd29643 Copyright 2013
- Updated copyright notices.
2013-03-04 17:47:12 -05:00
Paul Beckingham
6aa0277749 Bug #1189
- Fixed bug #1189, which caused wide Asian UTF8 characters to be measured as
  narrow characters (thanks to Roy Zuo).
2013-03-02 18:22:21 -05:00
Paul Beckingham
3d4bad3034 Horizontal Space
- Modified default report definitions to use shorter column labels, namely
  'Proj' and 'Urg'.  This results in less horizontal space use.
- Adjusted unit tests accordingly.
2013-02-24 16:31:31 -05:00
Scott Kostyshak
19cc9177b9 Code Cleanup
- 'measure' now accepts unsigned ints for 'minimum' and 'maximum' args.
2013-01-09 17:37:49 -05:00
Scott Kostyshak
3583e2ff58 Code Cleanup
- 'uft8_length' and 'utf8_text_length' now return unsigned ints.
2013-01-07 06:40:57 -05:00
Scott Kostyshak
d7c225c87b Feature
- Add the configuration variable 'print.empty.columns'.
- If this variable is set to 'no', columns with all empty values are not
  printed. This variable defaults to 'yes' (thus nothing is changed
  by default).
- Updated taskrc.5.in to mention the new variable.
- Added unit tests.
2013-01-01 10:08:44 -05:00
Paul Beckingham
1274f2ba07 Code Cleanup
- Addressed valgrind complaints by freeing allocations for commands and columns.
  This leaves one complaint about getpwuid, which is either an optional free,
  or not valid, depending on OS.  (Thanks to Bryce Harrington).
2012-03-18 00:27:47 -04:00
Paul Beckingham
2ce9322a28 Bug #917
- Fixed bug #917, which mis-encoded quotes (thanks to Uli Martens).
- Added unit tests.
- Minor unrelated edits.
2012-02-02 22:58:36 -05:00
Paul Beckingham
6580095002 Copyright
- Year change.
2012-01-02 23:32:10 -05:00
Federico Hernandez
8116c6a103 License
- moving task from GPL to MIT license
  top level src directory
2011-10-08 00:04:01 +02:00
Paul Beckingham
ac9d1f3bfa Performance Timing
- Change the was performance measurements are taken.  This in preparation
  to automated daily perf charts, leading to efforts to speed up certain
  operations.
2011-08-15 21:53:01 -04:00
Paul Beckingham
27a04b29f5 Feature #800
- Added feature #800, adding a new command 'columns' that lists all the columns
  available for custom reports, and includes their formatting options (thanks
  to T. Charles Yun).
2011-07-16 13:08:23 -04:00
Paul Beckingham
b63835757f I18N
- Localized more files.
2011-06-21 18:05:17 -04:00
Paul Beckingham
69fc2c3be8 View
- Modified layout algorithm to not attempt to distribute negative
  overage.
- Modified wrapText to enforce a minimum wrap width of 1.
2011-06-13 00:57:04 -04:00
Paul Beckingham
0260aff441 Build
- Enabled compiler warnings, which were off.  Yikes.
- Fixed all compiler warnings on OSX.
2011-05-28 23:59:43 -04:00
Paul Beckingham
f8b44b68d7 View
- Fixed problem with incorrect Color vector addressing.
- Modified ViewText to not underline empty column headers.
- Implemented ViewText::set method to set only color.
2011-05-23 20:16:37 -04:00
Paul Beckingham
409fa216b8 Color
- Corrected some cases where rc.color was not obeyed.
2011-05-21 11:29:34 -04:00
Paul Beckingham
6fb3bc5b03 View
- Integrated ViewTask and ViewText completely.
- Obsoleted Table.{h,cpp}, Grid.{h,cpp}, grid.t.cpp
- Fixed ViewTask rendering bug that caused the full width to be used every time.
2011-05-13 01:10:30 -04:00
Paul Beckingham
5fa77a36de Verbose
- Implemented rc.verbose=on|off|list...
- Migrated rc.blanklines to a verbosity token.
- Updated documentation.
2011-05-11 21:49:31 -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
Renamed from src/View.cpp (Browse further)