#
bdcbfde3 |
| 23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
usr.bin: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a pe
usr.bin: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script.
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.0.0 |
|
#
b2c76c41 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line nroff pattern
Remove /^\.\\"\s*\$FreeBSD\$$\n/
|
#
b5b9eaa9 |
| 29-Jun-2023 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Restore and document -ps / -nps option.
Sponsored by: Klara, Inc. Reviewed by: pauamma_gundo.com, pstef, kevans Differential Revision: https://reviews.freebsd.org/D40788
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0 |
|
#
3d265fce |
| 09-Oct-2020 |
Gordon Bergling <gbe@FreeBSD.org> |
Fix a few mandoc issues
- skipping paragraph macro: Pp after Sh - sections out of conventional order: Sh EXAMPLES - whitespace at end of input line - normalizing date format
|
Revision tags: release/11.4.0, release/12.1.0 |
|
#
c5c3ba6b |
| 03-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r351317 through r351731.
|
#
7d5b0713 |
| 30-Aug-2019 |
Jason Helfman <jgh@FreeBSD.org> |
- address missing whitespace for indent
PR: 239727 Submitted by: gbergling@gmail.com Reviewed by: 0mp@ MFC after: 1 week
|
Revision tags: release/11.3.0, release/12.0.0, release/11.2.0 |
|
#
bb92a28b |
| 11-Jun-2018 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
indent(1): rename -nsac/-sac ("space after cast") to -ncs/-cs
Also update tests and the manpage.
GNU indent had the option earlier as -cs, let's not diverge unnecessarily.
|
#
d0f86f66 |
| 04-Jun-2018 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
indent(1): add --version option
There exist multi-platform programs that check indent's version in order to know what they can expect from it. GNU indent provides that via --version, so implement th
indent(1): add --version option
There exist multi-platform programs that check indent's version in order to know what they can expect from it. GNU indent provides that via --version, so implement the same option here.
show more ...
|
#
aac30b75 |
| 03-Jun-2018 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
indent(1): new option -lpl
With -lpl, code surrounded by parentheses in continuation lines is lined up even if it would extend past the right margin.
With -nlpl (the default), such a line that woul
indent(1): new option -lpl
With -lpl, code surrounded by parentheses in continuation lines is lined up even if it would extend past the right margin.
With -nlpl (the default), such a line that would extend past the right margin is moved left to keep it within the margin, if that does not require placing it to the left of the prevailing indentation level.
These switches have no effect if -nlp is selected.
Submitted by: Tom Lane
show more ...
|
#
50a29760 |
| 03-Jun-2018 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
indent(1): revert introduction of -lpl
That was committed with the wrong message. Will be re-added.
|
#
971e1c47 |
| 03-Jun-2018 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
indent(1): new option -lpl (always line up to parenthesis)
With -lp, if a line has an opening paren which is not closed on that line, then continuation lines will be lined up to start at the charact
indent(1): new option -lpl (always line up to parenthesis)
With -lp, if a line has an opening paren which is not closed on that line, then continuation lines will be lined up to start at the character position just after the opening paren.
Submitted by: Tom Lane
show more ...
|
#
5834814e |
| 03-Jun-2018 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
indent(1): manual page corretions
Add missing options, synchronize syntax summary with the actual option list, and other fixes.
Submitted by: Tom Lane
|
#
1479f36d |
| 03-Jun-2018 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
indent(1): remove troff output support
The troff output in indent was invented at Sun and the online documentation for some post-SunOS operating system includes this: The usual way to get a troff
indent(1): remove troff output support
The troff output in indent was invented at Sun and the online documentation for some post-SunOS operating system includes this: The usual way to get a troffed listing is with the command indent -troff program.c | troff -mindent
The indent manual page in FreeBSD 1.0 already lacks that information and troff -mindent complains about not being able to find the macro file. It seems that the file did exist on SunOS and was supposed to be imported into 4.3BSD together with the feature, but that has never happened.
Removal of troff output support simplifies a lot of indent's code.
vgrind(1) seems to be a promising replacement.
show more ...
|
Revision tags: release/10.4.0 |
|
#
083c8ded |
| 13-Aug-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r322451
|
#
0275f9db |
| 11-Aug-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r321383 through r322397.
|
#
c6841b07 |
| 07-Aug-2017 |
Kyle Evans <kevans@FreeBSD.org> |
Respect SIMPLE_BACKUP_SUFFIX environment variable in indent(1)
Instead of using a non-configurable ".BAK" suffix, respect the SIMPLE_BACKUP_SUFFIX environment variable also used by patch(1). This si
Respect SIMPLE_BACKUP_SUFFIX environment variable in indent(1)
Instead of using a non-configurable ".BAK" suffix, respect the SIMPLE_BACKUP_SUFFIX environment variable also used by patch(1). This simplifies cleanup operations in some patch/indent workflows.
Reviewed by: cem (earlier version), emaste, pstef Approved by: emaste (mentor) Differential Revision: https://reviews.freebsd.org/D10921
show more ...
|
#
69ef36e3 |
| 01-Aug-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r321829
|
#
07188cf1 |
| 26-Jul-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r321584
|
#
fbdbd284 |
| 25-Jul-2017 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
indent(1): add option -tsn for setting tab size.
|
Revision tags: release/11.1.0 |
|
#
91b95f3d |
| 04-Jan-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r311132 through r311305.
|
#
86adac04 |
| 02-Jan-2017 |
Piotr Pawel Stefaniak <pstef@FreeBSD.org> |
indent(1): add option -P for loading user-provided files as profiles
Without this change, indent(1) would only look to load options from ~/.indent.pro if it's there and -npro wasn't used on the comm
indent(1): add option -P for loading user-provided files as profiles
Without this change, indent(1) would only look to load options from ~/.indent.pro if it's there and -npro wasn't used on the command line. This option lets the user set their own path to the file.
Approved by: pfg (mentor) Differential Revision: https://reviews.freebsd.org/D9010
show more ...
|
#
1bde3b70 |
| 09-Dec-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r309519 through r309757.
|
#
bde60d75 |
| 04-Dec-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
indent(1): remove unneeded comma.
It is not a good practice to start a newline with a comma anyways.
Discussed with: bjk Differential Revision: https://reviews.freebsd.org/D8690
|
#
4f9d94bf |
| 04-Dec-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r309263 through r309518.
|
#
86bd08e9 |
| 03-Dec-2016 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
Document undocumented indent(1) options badp/nbadp, bs/nbs, and lc.
Submitted by: Piotr Stefaniak Differential Revision: https://reviews.freebsd.org/D8690
|