Tobias Predel
81ca04fc8c
Declare in corresponding header files and dissolve main.h ( #3796 )
...
* Declare in corresponding header files and dissolve main.h
Apply include-what-you-use
* Remove further unncessary includes
* Incorporate review comment
* Do not declare static functions and variables in header
* Adapt test
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-01 14:47:42 -05:00
Felix Schurk
93356b39c3
add initial bulk run from pre-commit over all files
2024-07-29 22:34:51 +02:00
Felix Schurk
954d3f5058
add blank line between cmake.h header include to prevent sorting
...
* add required comment in the line below cmake.h include header
2024-07-29 22:33:17 +02:00
Tomas Babej
a8d4ce52c3
ViewTask: Handle negative overage by decreasing size of the largest columns
2021-09-16 07:33:53 -04:00
Tomas Babej
0bc92d6115
meta: Adjust copyright headers
2021-09-05 12:02:07 -04:00
Rosen Penev
17e6257e07
more emplace
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-08-05 02:03:59 -04:00
Rosen Penev
ab7f5b0b51
clang-tidy: loop conversion
...
Found with modernize-loop-convert
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-23 09:13:22 -04:00
Rosen Penev
8ffb85b327
clang-tidy: use '' for single character find
...
Found with performance-faster-string-find
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-22 23:18:16 -04:00
Tomas Babej
9017cd6e53
doc: Update copyright to 2021
2021-01-02 02:48:22 -05:00
Paul Beckingham
3e0a428185
Revert "[clang-tidy] Use .empty instead of comparing size"
...
This reverts commit a331cceded
.
2020-12-05 16:18:37 -05:00
Paul Beckingham
0a3a4d364d
Revert "[clang-tidy] Use new range based loops"
...
This reverts commit a468537c1b
.
2020-12-05 16:18:37 -05:00
Paul Beckingham
e3e158bf6a
Revert "[clang-tidy] Replace push_back with emplace_back"
...
This reverts commit 897759e4dc
.
2020-12-05 16:18:37 -05:00
Paul Beckingham
3eb209f248
Revert "[clang-tidy] Use '' for single characters"
...
This reverts commit e3ceda9ce1
.
2020-12-05 16:18:37 -05:00
Paul Beckingham
c43a513158
Revert "[clang-tidy] Replace C style casts with C++ ones"
...
This reverts commit 13e1bf7204
.
2020-12-05 16:18:37 -05:00
Paul Beckingham
364b4ea8bd
Revert "[clang-tidy] Simplify boolean expressions"
...
This reverts commit 51870dff34
.
2020-12-05 16:18:37 -05:00
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