Paul Beckingham
6ad1b7d0da
Revert "[clang-tidy] match loop size with size()"
...
This reverts commit 68c446ea08 .
2020-12-05 16:18:37 -05:00
Rosen Penev
68c446ea08
[clang-tidy] match loop size with size()
...
Found with bugprone-too-small-loop-variable
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-12-05 15:03:43 -05:00
Rosen Penev
51870dff34
[clang-tidy] Simplify boolean expressions
...
Found with readability-simplify-boolean-expr
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-12-05 15:03:43 -05:00
Rosen Penev
13e1bf7204
[clang-tidy] Replace C style casts with C++ ones
...
Found with google-readability-casting
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-12-05 15:03:43 -05:00
Rosen Penev
e3ceda9ce1
[clang-tidy] Use '' for single characters
...
Found with performance-faster-string-find
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-12-05 15:03:43 -05:00
Rosen Penev
897759e4dc
[clang-tidy] Replace push_back with emplace_back
...
Found with modernize-use-emplace
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-12-05 15:03:43 -05:00
Rosen Penev
a468537c1b
[clang-tidy] Use new range based loops
...
Found with modernize-loop-convert
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-12-05 15:03:43 -05:00
Rosen Penev
a331cceded
[clang-tidy] Use .empty instead of comparing size
...
Found with readability-container-size-empty
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-12-05 15:03:43 -05:00
Tomas Babej
a09f9d48ab
Update copyright to 2020
2020-11-21 12:27:05 -05:00
Tomas Babej
8066e4e6e2
meta: Update copyright year
2019-01-01 08:46:21 -05:00
Simon Ruderich
e817dfc800
Always use https:// link for opensource.org
...
It was already used in a few places, make this consistent.
2018-03-04 14:53:07 +01:00
Mark Scannell
7af6db4c17
Portability: Updated to make main re-entrant()
...
- New INSTALL instructions to emscripten, and AUTHORS for contribution.
2018-01-31 19:45:07 -05:00
Paul Beckingham
016bb94d3f
l10n: Eliminated i18n.h
2018-01-21 23:29:59 -05:00
Paul Beckingham
29f3df9810
l10n: Eliminated STRING_VIEW_TOO_SMALL
2018-01-17 21:21:44 -05:00
Paul Beckingham
0de169bb10
Copyright 2018
2017-12-31 19:22:07 -05:00
Paul Beckingham
a50e65a134
Copyright update
2017-01-01 12:30:04 -05:00
Paul Beckingham
a7d90fa1fa
util: Migrated obfuscateText from text
2016-12-11 17:29:03 -05:00
Paul Beckingham
355620c640
libhsared: migrating from local to libshared
2016-12-06 07:20:45 -05:00
Paul Beckingham
e906b20014
Context: Eliminated render timer
2016-11-13 13:42:48 -05:00
Paul Beckingham
15e112c54d
ViewTask: Removed unused include
2016-10-17 17:16:14 -04:00
Paul Beckingham
641d232dea
Copyright: Updated to 2016
2015-12-31 15:06:43 -05:00
Wilhelm Schuermann
3e8cb20284
Color: Improve colorize() performance
...
- Improves "render" time by ~45-55% across relevant performance tests.
- Improves "list" performance test by ~20%.
- Improves "all" performance test by ~40%.
2015-11-02 06:59:18 +01:00
Paul Beckingham
5c8b7148b4
Task: Moved include to top of list, per flint++ recommendation
2015-11-01 19:59:10 -05:00
Paul Beckingham
e74c6963a9
C++11: Cleaned up program framework with range-based for
2015-05-11 17:50:53 -04:00
Paul Beckingham
1b63a2dde5
Documentation: Added the 'rc.obfuscate' setting.
...
- The 'obfuscate' setting, if set to '1' will replace all text with 'xxx'.
2015-04-26 11:14:05 -04:00
Paul Beckingham
5d60f426a8
Obfuscation: rc.obfuscate=1 hides private details
2015-04-26 10:31:32 -04:00
Paul Beckingham
935b2993f3
C++11: Took advantage of N1757.
2015-04-06 15:30:39 -04:00
Paul Beckingham
61e1401073
Performance: Only measures the first fixed-width column row
2015-04-05 16:05:43 -04:00
Paul Beckingham
b7ad091d00
Updated copyright to 2015
2015-01-01 00:00:41 -05:00
Wilhelm Schuermann
f8a44819c3
ViewTask
...
- Free space of empty columns if rc.print_empty_columns is set. They were previously sent into nirvana, making the ViewTask destructor miss them.
2014-10-22 23:22:41 -04:00
Paul Beckingham
aac0753b07
ViewTask
...
- Supports the notion of different colors for sorted columns.
2014-10-09 18:55:39 -04:00
Paul Beckingham
9bb1dbbd4d
ViewTask
...
- Improved locality, for readability, while debugging column TW-1417.
2014-09-20 14:11:59 -04:00
Paul Beckingham
5c6c14e21b
TW-1381
...
- TW-1381 blocking report exits with "Unknown error" and exit code 3.
2014-08-16 16:14:28 -04:00
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