<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/indent/indent_codes.h, branch releng/13.5</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.5</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.5'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-23T17:43:22Z</updated>
<entry>
<title>Remove $FreeBSD$: one-line .h pattern</title>
<updated>2023-08-23T17:43:22Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=34041aac835a0bce462bccb7e0239c0ba092f872'/>
<id>urn:sha1:34041aac835a0bce462bccb7e0239c0ba092f872</id>
<content type='text'>
Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/

Similar commit in main:
(cherry picked from commit 42b388439bd3)
</content>
</entry>
<entry>
<title>indent(1): disjoint parser state from lexi()</title>
<updated>2018-06-03T16:21:15Z</updated>
<author>
<name>Piotr Pawel Stefaniak</name>
<email>pstef@FreeBSD.org</email>
</author>
<published>2018-06-03T16:21:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f9287a9d85e47b4ac0c2ed7891d0b9d472f36243'/>
<id>urn:sha1:f9287a9d85e47b4ac0c2ed7891d0b9d472f36243</id>
<content type='text'>
The function is sometimes used as a look-ahead, so ideally it should bear
no information about parser state.
</content>
</entry>
<entry>
<title>indent(1): don't indent typedef declarations as object declarations</title>
<updated>2018-06-01T09:41:15Z</updated>
<author>
<name>Piotr Pawel Stefaniak</name>
<email>pstef@FreeBSD.org</email>
</author>
<published>2018-06-01T09:41:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3bbaa755f34eaf2073f2f0c1fd537e96e26c81e8'/>
<id>urn:sha1:3bbaa755f34eaf2073f2f0c1fd537e96e26c81e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>spdx: initial adoption of licensing ID tags.</title>
<updated>2017-11-18T14:26:50Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-18T14:26:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=df57947f083046d50552e99b91074927d2458708'/>
<id>urn:sha1:df57947f083046d50552e99b91074927d2458708</id>
<content type='text'>
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.

Initially, only tag files that use BSD 4-Clause "Original" license.

RelNotes:	yes
Differential Revision:	https://reviews.freebsd.org/D13133
</content>
</entry>
<entry>
<title>indent(1): don't produce unneeded space character in function declarators.</title>
<updated>2017-07-23T14:04:45Z</updated>
<author>
<name>Piotr Pawel Stefaniak</name>
<email>pstef@FreeBSD.org</email>
</author>
<published>2017-07-23T14:04:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a3abcad0b7ada3ebabbab2f5074608caf0689802'/>
<id>urn:sha1:a3abcad0b7ada3ebabbab2f5074608caf0689802</id>
<content type='text'>
</content>
</entry>
<entry>
<title>indent(1): Fix indent's confusion about custom FreeBSD macros.</title>
<updated>2016-12-02T01:25:51Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-12-02T01:25:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f171328eaa687c70bb9a4110761fdf8bc9f6ad20'/>
<id>urn:sha1:f171328eaa687c70bb9a4110761fdf8bc9f6ad20</id>
<content type='text'>
Teach indent(1) about storage-class specifiers. Don't assume
"in_parameter_declaration" state if "in_decl" hasn't been set. Don't set
"in_decl" for storage-class specifiers.

That set of changes helps with recognizing the difference between file
scope declarations like this:

static LIST_HEAD(, alq) ald_active;
static int ald_shuttingdown = 0;
struct thread *ald_thread;

and old style function declarators like this:

static int
do_execve(td, args, mac_p)
	struct thread *td;
	struct image_args *args;
	struct mac *mac_p;
{

Unfortunately, at the same time this change makes indent(1) require
explicit int in declarations like "static a;", in order to understand that
it's part of a declaration. On the other hand, declarations like in the
first example are no longer indented as if ald_shuttingdown and ald_thread
were parameters of a function named LIST_HEAD.

Submitted by:	 Piotr Stefaniak
</content>
</entry>
<entry>
<title>indent(1): Properly handle the wide string literal and wide char constant L.</title>
<updated>2016-11-27T20:38:14Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-11-27T20:38:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=350fcdd5dff1d44ab729983847fcc3d8ff0e6362'/>
<id>urn:sha1:350fcdd5dff1d44ab729983847fcc3d8ff0e6362</id>
<content type='text'>
indent(1) treated the "L" in "L'a'" as if it were an identifier and forced
a space character after it, breaking valid code.

PR:		143090
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>indent(1): Use a dash in the license headers.</title>
<updated>2016-08-01T16:40:42Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-08-01T16:40:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=70a3049ea54d505a8153acf16099202075e044bf'/>
<id>urn:sha1:70a3049ea54d505a8153acf16099202075e044bf</id>
<content type='text'>
Use of the canonical dash avoids indent(1) from reformatting the
license headers.
</content>
</entry>
<entry>
<title>Add or fix FreeBSD IDs.</title>
<updated>2000-12-09T09:52:52Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2000-12-09T09:52:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9e50dd77266c0b766487b7fcc8890ecf34ee80e7'/>
<id>urn:sha1:9e50dd77266c0b766487b7fcc8890ecf34ee80e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>BSD 4.4 Lite Usr.bin Sources</title>
<updated>1994-05-27T12:33:43Z</updated>
<author>
<name>Rodney W. Grimes</name>
<email>rgrimes@FreeBSD.org</email>
</author>
<published>1994-05-27T12:33:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9b50d9027575220cb6dd09b3e62f03f511e908b8'/>
<id>urn:sha1:9b50d9027575220cb6dd09b3e62f03f511e908b8</id>
<content type='text'>
</content>
</entry>
</feed>
