History log of /freebsd-10.3-release/share/examples/indent/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
296373 04-Mar-2016 marius

- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1
builds.
- Update newvers.sh to reflect RC1.
- Update __FreeBSD_version to reflect 10.3.
- Update default pkg(8) configuration to use the quarterly branch.

Approved by: re (implicit)

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


206176 05-Apr-2010 avg

indent.pro example: put all options one per line

This should help with modification tracking.

Discussed with: bde
MFC after: 7 days


206175 05-Apr-2010 avg

indent.pro example: correctly place -ta option

The options are sorted, leading 'n' (for 'off') should be ignored.

Pointed out by: bde
MFC after: 7 days


206103 02-Apr-2010 avg

indent.pro: replace a bunch of -T types with -ta introduced in r205989

Suggested by: bde, Hans Petter Selasky
MFC after: 10 days


206102 02-Apr-2010 avg

add example indent.pro file believed to produce code with minimal differences from KNF

This file is what bde uses!
With addition of some types from queue(3) by hps.
Please note that the output will not be KNF and currently it's not
possible to achieve correct KNF with any combination of options.
indent(1) needs to be made smarter.

Some issues:
o indent produces a space between a queue type macro and opening
parenthesis
o indent produces a tab before __packed and __aligned
o indent produce a space after #define

bde also notes difference in the following options between this profile
and profile in /usr/src/admin/style of 4.4BSD:
-cdb -ei -ip8 -nsob

Also, NetBSD uses -di0 instead of -di8.

Location for the profile is suggested by jh.

Submitted by: Hans Petter Selasky (parts)
Obtained from: bde :-)
MFC after: 10 days
X-ToDo: make indent able to produce proper (perfect) KNF
X-Perhaps-ToDo: make KNF default output