| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
See #3002.
|
| |
|
|
|
|
| |
the Readme
|
|\
| |
| |
| | |
(Bump version numbers to reflect post-2.3b2)
|
| |
| |
| |
| | |
(cherry picked from commit 1c6f6df2b3ae4a13d89242964ca3dbd3c146d1fe)
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
The fork (create new process) related debugging messages rely on an
undocumented env var and use `printf()` rather than `debug()`. There are
also errors in how the fork count is tracked that this fixes.
Fixes #2995
|
| | |
|
| |
| |
| |
| |
| | |
The remaining lint work to be done on screen.cpp will require refactoring
several functions that are way too large and complex.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This removes some pointless parentheses but the primary focus is removing
redundancies like unnecessary "else" clauses.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
It doesn't take options and what it takes (arbitrary strings) we can't
sensibly complete.
|
| |
| |
| |
| |
| |
| |
| | |
Some `oclint` errors regarding "useless parentheses" are meaningfull. But
the vast majority are bogus in as much as removing the parentheses reduces
readability. So fix a few of the egregious uses and otherwise suppress
that error.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I noticed that if I've previous done `make test` that a subsequent `make
style-all` attempts to restyle all the fish scripts in the *test* directory.
Those files are transient and not part of the git repository. Limit restyling
all fish scripts just to those in the *share* directory tree. There are a
couple elsewhere in the repo (e.g., *build_tools*) but they can be handled on
an individual basis.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This makes it easy for the user to request floating point output with the
desired number of digits after the decimal point (not to be confused with
significant digits).
Note that this is just a thin wrapper so someone can say `math -s3 10 / 3`
rather than `math "scale=3; 10 /3"`.
Resolves #1643
|
| |
| |
| |
| | |
Fixes #2993
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I missed restyling a few "switch" blocks to make them consistent with the rest
of the code base. This fixes that oversight. This should be the final step in
restyling the C++ code to have a consistent style. This also includes a few
trivial cleanups elsewhere.
I also missed restyling the "complete" module when working my way from a to z
so this final change includes restyling that module.
Total lint errors decreased 36%. Cppcheck errors went from 47 to 24. Oclint P2
errors went from 819 to 778. Oclint P3 errors went from 3252 to 1842.
Resolves #2902.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For this change I decided to bundle the remaining modules that need to be
resytyled because only two were large enough to warrant doing on their own.
Reduces lint errors from 225 to 162 (-28%). Line count from 3073 to 2465 (-20%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 63 to 57 (-10%). Line count from 518 to 418 (-19%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 70 to 46 (-34%). Line count from 1158 to 936 (-19%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 15 to 15 (-0%). Line count from 754 to 438 (-42%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 163 to 112 (-31%). Line count from 1866 to 1493 (-20%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 338 to 205 (-39%). Line count from 4650 to 3654 (-21%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
It wasn't inherited.
Fixes #2964.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 134 to 101 (-25%). Line count from 1994 to 1466 (-26%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 37 to 20 (-46%). Line count from 670 to 566 (-15%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 30 to 21 (-30%). Line count from 597 to 481 (-19%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 72 to 44 (-43%). Line count from 1698 to 1313 (-23%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 187 to 91 (-51%). Line count from 1754 to 1477 (-16%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 163 to 52 (-68%). Line count from 2012 to 1904 (-5%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 33 to 9 (-73%). Line count from 551 to 534 (-3%).
Another step in resolving issue #2902.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 184 to 84 (-54%). Line count from 2139 to 1943 (-9%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 65 to 25 (-63%). Line count from 1439 to 1218 (-15%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 34 to 31 (-9%). Line count from 712 to 535 (-25%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 10 to 9 (-10%). Line count from 242 to 175 (-28%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 41 to 26 (-37%). Line count from 444 to 423 (-5%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 15 to 10 (-33%). Line count from 637 to 489 (-23%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 8 to 6 (-25%). Line count from 112 to 83 (-26%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 27 to 24 (-11%). Line count from 466 to 378 (-19%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Add missing color definitions to __fish_init_1_50_0 reset.
The values where determined by inspecting the values of:
* fish_color_end
* fish_color_user
* fish_color_host
after resetting the color theme via fish_config.
* Add documentation for fish_color_user and fish_color_host.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 69 to 48 (-30%). Line count from 1270 to 1044 (-18%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 176 to 69 (-61%). Line count from 1627 to 1426 (-12%).
Another step in resolving issue #2902.
|
| |
| |
| |
| |
| |
| | |
Reduces lint errors from 39 to 27 (-31%). Line count from 619 to 498 (-20%).
Another step in resolving issue #2902.
|