<feed xmlns='http://www.w3.org/2005/Atom'>
<title>makepnd.git/HACKING, branch makepnd</title>
<subtitle>makepnd-ng
</subtitle>
<id>https://git.cloudef.pw/makepnd.git/atom?h=makepnd</id>
<link rel='self' href='https://git.cloudef.pw/makepnd.git/atom?h=makepnd'/>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/'/>
<updated>2015-10-21T04:50:56Z</updated>
<entry>
<title>HACKING: Allow the use of 'sizeof' on values</title>
<updated>2015-10-21T04:50:56Z</updated>
<author>
<name>Pierre Neidhardt</name>
<email>ambrevar@gmail.com</email>
</author>
<published>2015-10-20T13:30:32Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=4b3df10d5d53af94475e006c71ed262efcab6f0f'/>
<id>urn:sha1:4b3df10d5d53af94475e006c71ed262efcab6f0f</id>
<content type='text'>
Signed-off-by: Pierre Neidhardt &lt;ambrevar@gmail.com&gt;
Signed-off-by: Allan McRae &lt;allan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>HACKING: mention tab size and line width</title>
<updated>2014-01-28T10:30:51Z</updated>
<author>
<name>Allan McRae</name>
<email>allan@archlinux.org</email>
</author>
<published>2014-01-28T10:30:51Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=6fa7e8aff5ec7e1909ec52bb60c032ec4199bc91'/>
<id>urn:sha1:6fa7e8aff5ec7e1909ec52bb60c032ec4199bc91</id>
<content type='text'>
Signed-off-by: Allan McRae &lt;allan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>Remove ts and sw from vim modeline when noet is set</title>
<updated>2014-01-28T10:19:25Z</updated>
<author>
<name>Florian Pritz</name>
<email>bluewind@xinu.at</email>
</author>
<published>2014-01-22T23:06:11Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=cd2370754ae6893e6df4e835eeb819f827eaee4a'/>
<id>urn:sha1:cd2370754ae6893e6df4e835eeb819f827eaee4a</id>
<content type='text'>
Forcing vim users to view files with a tabstop of 2 seems really
unnecessary when noet is set. I find it much easier to read code with
ts=4 and I dislike having to override the modeline by hand.

Command run:
find . -type f -exec sed -i '/vim.* noet/s# ts=2 sw=2##' {} +

Signed-off-by: Florian Pritz &lt;bluewind@xinu.at&gt;
Signed-off-by: Allan McRae &lt;allan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>Use title case for a heading in HACKING; fix capitalization of "Vim" in HACKING</title>
<updated>2013-11-07T23:28:05Z</updated>
<author>
<name>Jason St. John</name>
<email>jstjohn@purdue.edu</email>
</author>
<published>2013-10-31T21:55:54Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=14cc790c59e55f4a3f4d7fc47a2f60c468c5887b'/>
<id>urn:sha1:14cc790c59e55f4a3f4d7fc47a2f60c468c5887b</id>
<content type='text'>
Signed-off-by: Jason St. John &lt;jstjohn@purdue.edu&gt;
Signed-off-by: Allan McRae &lt;allan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>Fix spacing in HACKING spacing example</title>
<updated>2013-01-04T11:49:37Z</updated>
<author>
<name>Allan McRae</name>
<email>allan@archlinux.org</email>
</author>
<published>2013-01-03T23:10:40Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=925d44bde6e7b4966b6c063e1af7cc1db29b2070'/>
<id>urn:sha1:925d44bde6e7b4966b6c063e1af7cc1db29b2070</id>
<content type='text'>
Signed-off-by: Allan McRae &lt;allan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>added coding standard</title>
<updated>2012-08-08T01:56:45Z</updated>
<author>
<name>Barbu Paul - Gheorghe</name>
<email>barbu.paul.gheorghe@gmail.com</email>
</author>
<published>2012-07-31T18:24:31Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=527ae7092d98ff11c10ec92831e1297e33e946cf'/>
<id>urn:sha1:527ae7092d98ff11c10ec92831e1297e33e946cf</id>
<content type='text'>
Signed-off-by: Barbu Paul - Gheorghe &lt;barbu.paul.gheorghe@gmail.com&gt;
</content>
</entry>
<entry>
<title>include config.h via Makefiles</title>
<updated>2011-12-22T00:13:17Z</updated>
<author>
<name>Dave Reisner</name>
<email>dreisner@archlinux.org</email>
</author>
<published>2011-12-18T02:42:35Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=d6ccd4439044978a6dcc01b8c1ab880b6164f9d1'/>
<id>urn:sha1:d6ccd4439044978a6dcc01b8c1ab880b6164f9d1</id>
<content type='text'>
Ensures that config.h is always ordered correctly (first) in the
includes. Also means that new source files get this for free without
having to remember to add it.

We opt for -imacros over -include as its more portable, and the
added constraint by -imacros doesn't bother us for config.h.

This also touches the HACKING file to remove the explicit mention of
config.h as part of the includes.

Signed-off-by: Dave Reisner &lt;dreisner@archlinux.org&gt;
Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>Add note to HACKING about operator spacing</title>
<updated>2011-12-22T00:13:17Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-12-21T23:00:28Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=6c1426842af7de1343b8360e2d0ca52846ea4a2f'/>
<id>urn:sha1:6c1426842af7de1343b8360e2d0ca52846ea4a2f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Unify modelines in Asciidoc files</title>
<updated>2011-07-28T16:42:08Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-06-22T16:06:34Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=cd8747ba6d6b4068331c921ee65260424c6d9699'/>
<id>urn:sha1:cd8747ba6d6b4068331c921ee65260424c6d9699</id>
<content type='text'>
This gets us close to using the same modeline in all files we run
through Asciidoc, as well as adding the spell and spelllang
declarations, just as we had in NEWS already.

The choice of 'en_us' is mainly for consistency and because the body of
work already uses these spellings.

Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>Style change: return(x) --&gt; return x</title>
<updated>2011-03-21T00:49:45Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2011-03-21T00:45:57Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=0303b26b1ed6d060e65ec7dbae5db50fc14836ff'/>
<id>urn:sha1:0303b26b1ed6d060e65ec7dbae5db50fc14836ff</id>
<content type='text'>
This was discussed and more or less agreed upon on the mailing list. A
huge checkin, but if we just do it and let people adjust the pain will
end soon enough. Rebasing should be relatively straighforward for anyone
that sees conflicts; just be sure you use the new return style if
possible.

The following semantic patch was used to do the change, along with some
hand-massaging in order to preserve parenthesis where appropriate:

The semantic match that finds this problem is as follows, although some
hand-massaging was done in order to keep parenthesis where appropriate:
(http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@@
expression a;
@@
- return(a);
+ return a;

// &lt;/smpl&gt;

A macros_file was also provided with the following content:

Additional steps taken, mainly for ASSERT() macros:
$ sed -i -e 's#return(NULL)#return NULL#' lib/libalpm/*.c
$ sed -i -e 's#return(-1)#return -1#' lib/libalpm/*.c

Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
</content>
</entry>
</feed>
