Commit graph

16 commits

Author SHA1 Message Date
7714a8cb82 doc/coding: Improve section "Portability" a bit
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2021-01-23 08:39:13 +01:00
37c69a3a7a Clarify build requirements
Document the need for the XSI Extension.  Don't list curses as
required, it's actually optional.  Correct advice for Solaris.  Add
advice for AIX.  Drop references to C89; we actually require C99, and
POSIX.1-2001 provides it.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2021-01-23 07:08:21 +01:00
6b6708a01b docs/coding: Explain function/struct/union comment conventions
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2015-12-05 12:41:15 +01:00
bb8169ba3a Put URIs and e-mail addresses in <angle brackets>
Also end URIs with '/' where appropriate.

Refrain from touching scripts/ and Stephen Crane's LWP authorship
note.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2013-05-26 09:48:16 +02:00
98942a9124 doc/coding: Correct spelling mistakes
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2013-05-25 16:20:10 +02:00
c4eac093a7 doc/contributing: New file
Partly inspired by GNU coreutils HACKING[*].

doc/coding section "git" is now redundant, except for the note on
avoiding whitespace changes.  Move that to section "Code formatting",
and delete section "git".

[*] http://git.savannah.gnu.org/cgit/coreutils.git/plain/HACKING?id=77da73c

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2013-05-25 16:20:10 +02:00
14b31911dc Clean up some trailing whitespace 2013-05-08 06:57:57 +02:00
615681ce16 Don't use 0 as null pointer constant, part 1
Use NULL instead of 0, for clarity.  Except in pointer comparisons;
leave that to the next two commits.
2009-03-24 21:45:44 +01:00
d702068457 Fix trailing whitespace 2008-09-17 21:31:40 -04:00
a80489de39 Update coding guidelines: oops, get/put, reading player input 2008-07-27 12:02:34 -04:00
a7cf600abc Update documentation to talk about git instead of CVS 2008-03-28 20:42:49 +01:00
0c8c169f88 (s_char): Remove. Use signed char for small integers, plain char for
characters.
2006-04-29 16:25:17 +00:00
800b521e47 New section on booleans. Elaborate thread safety. 2006-04-05 18:33:41 +00:00
9549adefdc No C99/C++ comments. 2004-08-13 09:57:58 +00:00
1e6c4a7a5e New, more comprehensive guidelines. Compiled existing Empire
practice, rounded off with classical C usage, edited into a readable
form.  Work in progress.
2004-06-16 18:18:08 +00:00
d8b7fdfae1 Import of Empire 4.2.12 2003-08-23 12:23:04 +00:00