| History log of /src/games/sail |
| Revision | Date | Author | Comments |
| 1.2 | 13-Sep-1998 |
hubertf | remove unused files (PR#6083 by Joseph Myers <jsm28@cam.ac.uk>)
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.2 | 13-Sep-1998 |
hubertf | remove unused files (PR#6083 by Joseph Myers <jsm28@cam.ac.uk>)
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.2 | 13-Sep-1998 |
hubertf | remove unused files (PR#6083 by Joseph Myers <jsm28@cam.ac.uk>)
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.2 | 13-Sep-1998 |
hubertf | remove unused files (PR#6083 by Joseph Myers <jsm28@cam.ac.uk>)
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.18 | 25-Aug-2011 |
joerg | Uses non-literal format strings
|
| 1.17 | 06-Feb-2010 |
he | When using -lcurses, you also need -lterminfo. This fixes the build for sun2, and also builds with LDSTATIC=-static, since archive libraries don't record inter-library dependencies.
|
| 1.16 | 15-Mar-2009 |
dholland | Rework curses handling.
The most visible change is that the scrolling buffer of messages now actually scrolls and keeps history, and you type on the bottom line only. For now you can page through the history with ^P/^N; that's not ideal but one can't fix everything all at once.
Use resizeable array code (roughly the same that I floated a while ago in connection with make) to hold the scroll.
|
| 1.15 | 28-Jan-2008 |
dholland | branches: 1.15.12; Make the default WARNS for games 4. The only game that needs to set WARNS to anything else now is rogue, so clear WARNS from the other makefiles.
|
| 1.14 | 28-Jan-2008 |
dholland | Build with WARNS=4. Sort out the game's shadowing of its own variables, which fixes at least one bug.
|
| 1.13 | 11-Jun-2000 |
mycroft | Don't make /var/games/sail here.
|
| 1.12 | 12-Feb-2000 |
itojun | avoid failure on "make install" when /var/games/sail already exists.
|
| 1.11 | 09-Feb-2000 |
jsm | Fix insecure /tmp usage in sail.
Essentially concludes the merge into NetBSD of those changes in the Linux port of the NetBSD games which it is fairly clear to me should be so merged.
|
| 1.10 | 18-Feb-1998 |
jtc | Simply include -lcurses instead of -lcurses -ltermcap
|
| 1.9 | 05-Feb-1998 |
christos | Use -ltermcap instead of -ltermlib.
|
| 1.8 | 20-Nov-1997 |
mrg | install games that need it setgid.
|
| 1.7 | 13-Oct-1997 |
christos | branches: 1.7.2; Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.6 | 12-Oct-1997 |
lukem | enable WARNS?=1 by default, & temporarily disable for the few unclean programs
|
| 1.5 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.4 | 22-Dec-1994 |
cgd | specify man pages the new way.
|
| 1.3 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.2 | 23-Mar-1993 |
cgd | got rid of unnecessary -lcompat and associated dependency
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.7.2.1 | 20-Nov-1997 |
mrg | pull up from trunk: - install games files with the correct permissions. - install games that need it setgid.
|
| 1.15.12.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.2 | 29-Oct-2021 |
nia | sail(6): convert realloc(x * y) to reallocarr
|
| 1.1 | 15-Mar-2009 |
dholland | branches: 1.1.2; Rework curses handling.
The most visible change is that the scrolling buffer of messages now actually scrolls and keeps history, and you type on the bottom line only. For now you can page through the history with ^P/^N; that's not ideal but one can't fix everything all at once.
Use resizeable array code (roughly the same that I floated a while ago in connection with make) to hold the scroll.
|
| 1.1.2.2 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.1.2.1 | 15-Mar-2009 |
jym | file array.c was added on branch jym-xensuspend on 2009-05-13 19:18:05 +0000
|
| 1.3 | 02-May-2021 |
rillig | games: remove trailing whitespace in *.c and *.h
|
| 1.2 | 08-Dec-2010 |
joerg | Use __c99inline from sys/cdefs.h
|
| 1.1 | 15-Mar-2009 |
dholland | branches: 1.1.2; Rework curses handling.
The most visible change is that the scrolling buffer of messages now actually scrolls and keeps history, and you type on the bottom line only. For now you can page through the history with ^P/^N; that's not ideal but one can't fix everything all at once.
Use resizeable array code (roughly the same that I floated a while ago in connection with make) to hold the scroll.
|
| 1.1.2.2 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.1.2.1 | 15-Mar-2009 |
jym | file array.h was added on branch jym-xensuspend on 2009-05-13 19:18:05 +0000
|
| 1.19 | 16-Aug-2011 |
christos | avoid non-literal format string
|
| 1.18 | 23-May-2011 |
joerg | Don't use variables as format string.
|
| 1.17 | 14-Mar-2009 |
dholland | Create some abstraction for sending messages. Make a send and receive function for each possible message. Make these have useful argument signatures. Hide the list of message codes inside sync.c.
|
| 1.16 | 14-Mar-2009 |
dholland | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. No functional change.
|
| 1.15 | 07-Aug-2003 |
agc | branches: 1.15.40; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.14 | 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.13 | 04-Jan-2001 |
jwise | Normalize signature of ship handling functions -- struct ship * from and struct ship * to are now always the first two args.
|
| 1.12 | 04-Jan-2001 |
jwise | Rationalize inclusion of header files: cut down on `include everything everywhere' a little (more to go), and as per KNF, local includes after system includes.
|
| 1.11 | 04-Jan-2001 |
jwise | First half of static-ization of local funcs.
|
| 1.10 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.9 | 30-Nov-2000 |
jwise | Change the macro to roll a six-sided die from die() to dieroll() (for obvious reasons of convention).
|
| 1.8 | 08-Sep-1999 |
jsm | Add use of `const' where appropriate to the games.
This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at).
Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093.
|
| 1.7 | 10-Feb-1999 |
hubertf | The game sail(6) has a function Write() which is used both with integer arguments and with string arguments (cast to long, and in one place to int). The patch here cleans this up, making it into two separate functions; this allows for the game to be made const-correct in future and improves portability.
The patch also contains two other fragments: a change to use the symbolic constant SEEK_END with fseek(), and a change to use snprintf in one place to avoid a buffer overrun.
Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
|
| 1.6 | 13-Oct-1997 |
christos | - make sure that the arguments to the printf like functions are correct - add a makemsg() function to accompany makesignal.
|
| 1.5 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.4 | 07-Jan-1997 |
tls | Sync to 4.4BSD-Lite2
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.3 | 28-Dec-1996 |
tls | Import from 4.4BSD-Lite2
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.15.40.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.7 | 15-Mar-2009 |
dholland | Rework curses handling.
The most visible change is that the scrolling buffer of messages now actually scrolls and keeps history, and you type on the bottom line only. For now you can page through the history with ^P/^N; that's not ideal but one can't fix everything all at once.
Use resizeable array code (roughly the same that I floated a while ago in connection with make) to hold the scroll.
|
| 1.6 | 15-Mar-2009 |
dholland | Move newturn() from pl_7 to pl_2. pl_7 was mostly curses/display stuff, is going to be all display stuff. pl_2 is where the main loop lives.
|
| 1.5 | 15-Mar-2009 |
dholland | Move all curses bits to pl_7.c.
|
| 1.4 | 14-Mar-2009 |
dholland | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. No functional change.
|
| 1.3 | 28-Apr-2008 |
martin | branches: 1.3.8; Remove clause 3 and 4 from TNF licenses
|
| 1.2 | 04-Jan-2001 |
jwise | branches: 1.2.32; Use License templates from localsrc for license on new files.
|
| 1.1 | 04-Jan-2001 |
jwise | Break out curses display-related globals into a new header file, so that <curses.h> doesn't have to be included all over the place.
|
| 1.2.32.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.3.8.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.27 | 14-Mar-2009 |
dholland | Create some abstraction for sending messages. Make a send and receive function for each possible message. Make these have useful argument signatures. Hide the list of message codes inside sync.c.
|
| 1.26 | 14-Mar-2009 |
dholland | Prune a comment referring to objects that (AFAICT) didn't even exist in -r1.1.
|
| 1.25 | 14-Mar-2009 |
dholland | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. No functional change.
|
| 1.24 | 09-Mar-2009 |
dholland | sprintf -> snprintf
|
| 1.23 | 28-Jan-2008 |
dholland | branches: 1.23.12; Build with WARNS=4. Sort out the game's shadowing of its own variables, which fixes at least one bug.
|
| 1.22 | 19-Mar-2006 |
christos | branches: 1.22.10; Coverity CID 980: Prevent an impossible NULL point deref.
|
| 1.21 | 05-Nov-2004 |
dsl | Add (unsigned char) cast to ctype functions
|
| 1.20 | 07-Sep-2004 |
jrf | Replaced strncpy with strlcpy. Thanks to Peter Postma who pointed them our in PR #25762. Approved by christos@NetBSD.org.
|
| 1.19 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.18 | 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.17 | 04-Jan-2001 |
jwise | Normalize signature of ship handling functions -- struct ship * from and struct ship * to are now always the first two args.
|
| 1.16 | 04-Jan-2001 |
jwise | Various stylistic nits.
|
| 1.15 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.14 | 04-Jan-2001 |
jwise | Rationalize inclusion of header files: cut down on `include everything everywhere' a little (more to go), and as per KNF, local includes after system includes.
|
| 1.13 | 04-Jan-2001 |
jwise | First half of static-ization of local funcs.
|
| 1.12 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.11 | 30-Nov-2000 |
jwise | Change the macro to roll a six-sided die from die() to dieroll() (for obvious reasons of convention).
|
| 1.10 | 30-Sep-1999 |
jsm | Fix uses of namespaces reserved by ISO C or POSIX.1.
|
| 1.9 | 08-Sep-1999 |
jsm | branches: 1.9.2; Add use of `const' where appropriate to the games.
This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at).
Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093.
|
| 1.8 | 10-Feb-1999 |
hubertf | The game sail(6) has a function Write() which is used both with integer arguments and with string arguments (cast to long, and in one place to int). The patch here cleans this up, making it into two separate functions; this allows for the game to be made const-correct in future and improves portability.
The patch also contains two other fragments: a change to use the symbolic constant SEEK_END with fseek(), and a change to use snprintf in one place to avoid a buffer overrun.
Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
|
| 1.7 | 30-Aug-1998 |
veego | Add braces to make the new egcs happy.
|
| 1.6 | 13-Oct-1997 |
christos | - make sure that the arguments to the printf like functions are correct - add a makemsg() function to accompany makesignal.
|
| 1.5 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.4 | 24-Apr-1995 |
cgd | Various changes to make games compile w/o warnings on the alpha: Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.9.2.1 | 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.22.10.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.23.12.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.27 | 03-Feb-2019 |
mrg | - enlarge buffer to avoid snprintf() truncation
|
| 1.26 | 28-Mar-2014 |
apb | branches: 1.26.26; temp is a pointer, and tempmax, not sizeof(temp), is the length of the buffer that it points to. Adjust a strlcat() call to suit.
|
| 1.25 | 14-Mar-2009 |
dholland | branches: 1.25.6; 1.25.12; Create some abstraction for sending messages. Make a send and receive function for each possible message. Make these have useful argument signatures. Hide the list of message codes inside sync.c.
|
| 1.24 | 14-Mar-2009 |
dholland | Sprinkle some "bool". And don't use '\0' to mean 'false'.
|
| 1.23 | 14-Mar-2009 |
dholland | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. No functional change.
|
| 1.22 | 14-Mar-2009 |
dholland | String buffer cleanup. sprintf bad.
|
| 1.21 | 14-Mar-2009 |
dholland | Don't use char for random state variables; use int or bool.
|
| 1.20 | 02-Mar-2009 |
dholland | Braces around a nested if, for clarity; suggested by diffing against OpenBSD.
|
| 1.19 | 07-Aug-2003 |
agc | branches: 1.19.40; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.18 | 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.17 | 04-Jan-2001 |
jwise | Normalize signature of ship handling functions -- struct ship * from and struct ship * to are now always the first two args.
|
| 1.16 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.15 | 04-Jan-2001 |
jwise | Rationalize inclusion of header files: cut down on `include everything everywhere' a little (more to go), and as per KNF, local includes after system includes.
|
| 1.14 | 04-Jan-2001 |
jwise | First half of static-ization of local funcs.
|
| 1.13 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.12 | 30-Nov-2000 |
jwise | Change the macro to roll a six-sided die from die() to dieroll() (for obvious reasons of convention).
|
| 1.11 | 30-Sep-1999 |
jsm | Fix uses of namespaces reserved by ISO C or POSIX.1.
|
| 1.10 | 08-Sep-1999 |
jsm | branches: 1.10.2; Add use of `const' where appropriate to the games.
This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at).
Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093.
|
| 1.9 | 10-Feb-1999 |
hubertf | The game sail(6) has a function Write() which is used both with integer arguments and with string arguments (cast to long, and in one place to int). The patch here cleans this up, making it into two separate functions; this allows for the game to be made const-correct in future and improves portability.
The patch also contains two other fragments: a change to use the symbolic constant SEEK_END with fseek(), and a change to use snprintf in one place to avoid a buffer overrun.
Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
|
| 1.8 | 11-Sep-1998 |
hubertf | fix prototype, per PR#5867
|
| 1.7 | 25-Jul-1998 |
hubertf | Rename internal move() to move_ship(), as per PR 5841 by Joseph Myers <jsm@octomino.demon.co.uk>.
|
| 1.6 | 13-Oct-1997 |
christos | - make sure that the arguments to the printf like functions are correct - add a makemsg() function to accompany makesignal.
|
| 1.5 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.4 | 24-Apr-1995 |
cgd | Various changes to make games compile w/o warnings on the alpha: Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.10.2.1 | 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.19.40.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.25.12.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.25.6.1 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.26.26.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.19 | 14-Mar-2009 |
dholland | Create some abstraction for sending messages. Make a send and receive function for each possible message. Make these have useful argument signatures. Hide the list of message codes inside sync.c.
|
| 1.18 | 14-Mar-2009 |
dholland | Sprinkle some "bool". And don't use '\0' to mean 'false'.
|
| 1.17 | 14-Mar-2009 |
dholland | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. No functional change.
|
| 1.16 | 14-Mar-2009 |
dholland | String buffer cleanup. sprintf bad.
|
| 1.15 | 07-Aug-2003 |
agc | branches: 1.15.40; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.14 | 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.13 | 04-Jan-2001 |
jwise | Normalize signature of ship handling functions -- struct ship * from and struct ship * to are now always the first two args.
|
| 1.12 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.11 | 04-Jan-2001 |
jwise | Rationalize inclusion of header files: cut down on `include everything everywhere' a little (more to go), and as per KNF, local includes after system includes.
|
| 1.10 | 04-Jan-2001 |
jwise | First half of static-ization of local funcs.
|
| 1.9 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.8 | 30-Nov-2000 |
jwise | Change the macro to roll a six-sided die from die() to dieroll() (for obvious reasons of convention).
|
| 1.7 | 30-Sep-1999 |
jsm | Fix uses of namespaces reserved by ISO C or POSIX.1.
|
| 1.6 | 10-Feb-1999 |
hubertf | branches: 1.6.4; The game sail(6) has a function Write() which is used both with integer arguments and with string arguments (cast to long, and in one place to int). The patch here cleans this up, making it into two separate functions; this allows for the game to be made const-correct in future and improves portability.
The patch also contains two other fragments: a change to use the symbolic constant SEEK_END with fseek(), and a change to use snprintf in one place to avoid a buffer overrun.
Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
|
| 1.5 | 13-Oct-1997 |
christos | - make sure that the arguments to the printf like functions are correct - add a makemsg() function to accompany makesignal.
|
| 1.4 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.6.4.1 | 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.15.40.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.15 | 14-Mar-2009 |
dholland | Create some abstraction for sending messages. Make a send and receive function for each possible message. Make these have useful argument signatures. Hide the list of message codes inside sync.c.
|
| 1.14 | 14-Mar-2009 |
dholland | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. No functional change.
|
| 1.13 | 07-Aug-2003 |
agc | branches: 1.13.40; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.12 | 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.11 | 04-Jan-2001 |
jwise | Rationalize inclusion of header files: cut down on `include everything everywhere' a little (more to go), and as per KNF, local includes after system includes.
|
| 1.10 | 04-Jan-2001 |
jwise | First half of static-ization of local funcs.
|
| 1.9 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.8 | 30-Nov-2000 |
jwise | Change the macro to roll a six-sided die from die() to dieroll() (for obvious reasons of convention).
|
| 1.7 | 10-Feb-1999 |
hubertf | The game sail(6) has a function Write() which is used both with integer arguments and with string arguments (cast to long, and in one place to int). The patch here cleans this up, making it into two separate functions; this allows for the game to be made const-correct in future and improves portability.
The patch also contains two other fragments: a change to use the symbolic constant SEEK_END with fseek(), and a change to use snprintf in one place to avoid a buffer overrun.
Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
|
| 1.6 | 13-Oct-1997 |
christos | - make sure that the arguments to the printf like functions are correct - add a makemsg() function to accompany makesignal.
|
| 1.5 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.4 | 07-Jan-1997 |
tls | Sync to 4.4BSD-Lite2
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.3 | 28-Dec-1996 |
tls | Import from 4.4BSD-Lite2
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.13.40.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.15 | 01-Aug-2023 |
mrg | fix simple mis-matched function prototype and definitions.
most of these are like, eg
void foo(int[2]);
with either of these
void foo(int*) { ... } void foo(int[]) { ... }
in some cases (such as stat or utimes* calls found in our header files), we now match standard definition from opengroup.
found by GCC 12.
|
| 1.14 | 14-Mar-2009 |
dholland | Create some abstraction for sending messages. Make a send and receive function for each possible message. Make these have useful argument signatures. Hide the list of message codes inside sync.c.
|
| 1.13 | 14-Mar-2009 |
dholland | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. No functional change.
|
| 1.12 | 07-Aug-2003 |
agc | branches: 1.12.40; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.11 | 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.10 | 04-Jan-2001 |
jwise | Normalize signature of ship handling functions -- struct ship * from and struct ship * to are now always the first two args.
|
| 1.9 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.8 | 04-Jan-2001 |
jwise | First half of static-ization of local funcs.
|
| 1.7 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.6 | 10-Feb-1999 |
hubertf | The game sail(6) has a function Write() which is used both with integer arguments and with string arguments (cast to long, and in one place to int). The patch here cleans this up, making it into two separate functions; this allows for the game to be made const-correct in future and improves portability.
The patch also contains two other fragments: a change to use the symbolic constant SEEK_END with fseek(), and a change to use snprintf in one place to avoid a buffer overrun.
Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
|
| 1.5 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.4 | 07-Jan-1997 |
tls | Sync to 4.4BSD-Lite2
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.3 | 28-Dec-1996 |
tls | Import from 4.4BSD-Lite2
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.12.40.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.15 | 06-Aug-2010 |
dholland | Rework the game startup so it uses curses nicely. There are now menus and stuff for picking scenarios and ships and all that.
|
| 1.14 | 14-Mar-2009 |
dholland | Don't cast the return value of calloc().
|
| 1.13 | 02-Mar-2009 |
dholland | Use err(3) and errx(3), not perror and fprintf to stderr. From OpenBSD.
|
| 1.12 | 07-Aug-2003 |
agc | branches: 1.12.40; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.11 | 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.10 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.9 | 04-Jan-2001 |
jwise | Rationalize inclusion of header files: cut down on `include everything everywhere' a little (more to go), and as per KNF, local includes after system includes.
|
| 1.8 | 04-Jan-2001 |
jwise | First half of static-ization of local funcs.
|
| 1.7 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.6 | 09-Feb-2000 |
jsm | Fix insecure /tmp usage in sail.
Essentially concludes the merge into NetBSD of those changes in the Linux port of the NetBSD games which it is fairly clear to me should be so merged.
|
| 1.5 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.4 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.3 | 08-Apr-1994 |
cgd | setuid rather than setruid
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.12.40.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.8 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.7 | 04-Jan-2001 |
jwise | Rationalize inclusion of header files: cut down on `include everything everywhere' a little (more to go), and as per KNF, local includes after system includes.
|
| 1.6 | 08-Sep-1999 |
jsm | Add use of `const' where appropriate to the games.
This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at).
Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093.
|
| 1.5 | 29-Mar-1998 |
mrg | add missing extern to several variables.
|
| 1.4 | 07-Jan-1997 |
tls | Sync to 4.4BSD-Lite2
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.3 | 28-Dec-1996 |
tls | Import from 4.4BSD-Lite2
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.38 | 29-Aug-2011 |
joerg | Use __dead
|
| 1.37 | 26-Aug-2011 |
dholland | Use __dead and __printflike instead of __attribute__.
|
| 1.36 | 06-Aug-2010 |
dholland | Rework the game startup so it uses curses nicely. There are now menus and stuff for picking scenarios and ships and all that.
|
| 1.35 | 12-Aug-2009 |
dholland | sprinkle static
|
| 1.34 | 15-Mar-2009 |
dholland | Rework curses handling.
The most visible change is that the scrolling buffer of messages now actually scrolls and keeps history, and you type on the bottom line only. For now you can page through the history with ^P/^N; that's not ideal but one can't fix everything all at once.
Use resizeable array code (roughly the same that I floated a while ago in connection with make) to hold the scroll.
|
| 1.33 | 14-Mar-2009 |
dholland | Turns out the W_FILE message wasn't ever used.
|
| 1.32 | 14-Mar-2009 |
dholland | Create some abstraction for sending messages. Make a send and receive function for each possible message. Make these have useful argument signatures. Hide the list of message codes inside sync.c.
|
| 1.31 | 14-Mar-2009 |
dholland | Sprinkle some "bool". And don't use '\0' to mean 'false'.
|
| 1.30 | 14-Mar-2009 |
dholland | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. No functional change.
|
| 1.29 | 14-Mar-2009 |
dholland | String buffer cleanup. sprintf bad.
|
| 1.28 | 18-Mar-2006 |
abs | branches: 1.28.28; If none of the boarding parties are set do not fall off the end of the list. Addresses Coverity CID 1507. Also put pointers before shorts in a struct rather than mixing them up
|
| 1.27 | 08-Feb-2004 |
jsm | Use standard C abs function rather than local macro.
|
| 1.26 | 27-Jan-2004 |
jsm | Include <sys/types.h>.
|
| 1.25 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.24 | 04-Jan-2001 |
jwise | Normalize signature of ship handling functions -- struct ship * from and struct ship * to are now always the first two args.
|
| 1.23 | 04-Jan-2001 |
jwise | Various stylistic nits.
|
| 1.22 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.21 | 04-Jan-2001 |
jwise | Second half of static-ization of local funcs.
|
| 1.20 | 04-Jan-2001 |
jwise | G/C undocumented and unimplemented `-D' (debug) option.
|
| 1.19 | 04-Jan-2001 |
jwise | First half of static-ization of local funcs.
|
| 1.18 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.17 | 30-Nov-2000 |
jwise | Use random() instead of rand(), and seed from time(3) instead of from getpid().
|
| 1.16 | 30-Nov-2000 |
jwise | Change the macro to roll a six-sided die from die() to dieroll() (for obvious reasons of convention).
|
| 1.15 | 30-Nov-2000 |
jwise | ANSIfy in preparation for changes.
|
| 1.14 | 09-Feb-2000 |
jsm | Fix insecure /tmp usage in sail.
Essentially concludes the merge into NetBSD of those changes in the Linux port of the NetBSD games which it is fairly clear to me should be so merged.
|
| 1.13 | 28-Dec-1999 |
jsm | branches: 1.13.2; Use separate definitions and extern declarations of variables rather than linker commons.
|
| 1.12 | 30-Sep-1999 |
jsm | Fix uses of namespaces reserved by ISO C or POSIX.1.
|
| 1.11 | 08-Sep-1999 |
jsm | branches: 1.11.2; Add `__noreturn__' and `__unused__' attributes where appropriate to the games.
This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at).
Most noreturn attributes were previously added in bin/6144, with some others that were missed then in bin/8082. Previous `unused' attributes were covered in bin/6557, bin/8058 and other PRs (all these PRs have already been handled and closed).
|
| 1.10 | 08-Sep-1999 |
jsm | Add use of `const' where appropriate to the games.
This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at).
Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093.
|
| 1.9 | 10-Feb-1999 |
hubertf | The game sail(6) has a function Write() which is used both with integer arguments and with string arguments (cast to long, and in one place to int). The patch here cleans this up, making it into two separate functions; this allows for the game to be made const-correct in future and improves portability.
The patch also contains two other fragments: a change to use the symbolic constant SEEK_END with fseek(), and a change to use snprintf in one place to avoid a buffer overrun.
Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
|
| 1.8 | 13-Sep-1998 |
hubertf | mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)
|
| 1.7 | 25-Jul-1998 |
hubertf | Rename internal move() to move_ship(), as per PR 5841 by Joseph Myers <jsm@octomino.demon.co.uk>.
|
| 1.6 | 29-Mar-1998 |
mrg | add missing extern to several variables.
|
| 1.5 | 13-Oct-1997 |
christos | - make sure that the arguments to the printf like functions are correct - add a makemsg() function to accompany makesignal.
|
| 1.4 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.3 | 19-Apr-1997 |
thorpej | Change the riggings to ints, so that comparisons against negative values works as expected on systems with unsigned chars.
|
| 1.2 | 07-Jan-1997 |
tls | Sync to 4.4BSD-Lite2
|
| 1.1 | 28-Dec-1996 |
tls | branches: 1.1.1; Initial revision
|
| 1.1.1.1 | 28-Dec-1996 |
tls | Import from 4.4BSD-Lite2
|
| 1.11.2.1 | 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.13.2.1 | 21-Jan-2000 |
jdc | Update for SUS v2 curses - printw takes `char *format' not `const char *format'
|
| 1.28.28.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.5 | 07-Jan-1997 |
tls | Sync to 4.4BSD-Lite2
|
| 1.4 | 24-Apr-1995 |
cgd | Various changes to make games compile w/o warnings on the alpha: Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.13 | 14-Mar-2009 |
dholland | Sprinkle some "bool". And don't use '\0' to mean 'false'.
|
| 1.12 | 14-Mar-2009 |
dholland | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. No functional change.
|
| 1.11 | 07-Aug-2003 |
agc | branches: 1.11.40; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.10 | 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.9 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.8 | 04-Jan-2001 |
jwise | First half of static-ization of local funcs.
|
| 1.7 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.6 | 17-Sep-1999 |
jsm | Fix some uses of NULL as non-pointer and 0 for null pointer.
|
| 1.5 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.4 | 07-Jan-1997 |
tls | Sync to 4.4BSD-Lite2
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.3 | 28-Dec-1996 |
tls | Import from 4.4BSD-Lite2
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.11.40.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.16 | 06-Aug-2010 |
dholland | Rework the game startup so it uses curses nicely. There are now menus and stuff for picking scenarios and ships and all that.
|
| 1.15 | 12-Aug-2009 |
dholland | sprinkle static
|
| 1.14 | 14-Mar-2009 |
dholland | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. No functional change.
|
| 1.13 | 07-Aug-2003 |
agc | branches: 1.13.40; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.12 | 04-Jan-2001 |
jwise | Various stylistic nits.
|
| 1.11 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.10 | 04-Jan-2001 |
jwise | G/C undocumented and unimplemented `-D' (debug) option.
|
| 1.9 | 09-Feb-2000 |
jsm | Fix insecure /tmp usage in sail.
Essentially concludes the merge into NetBSD of those changes in the Linux port of the NetBSD games which it is fairly clear to me should be so merged.
|
| 1.8 | 28-Dec-1999 |
jsm | Use separate definitions and extern declarations of variables rather than linker commons.
|
| 1.7 | 08-Sep-1999 |
jsm | Add use of `const' where appropriate to the games.
This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at).
Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093.
|
| 1.6 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.5 | 07-Jan-1997 |
tls | Sync to 4.4BSD-Lite2
|
| 1.4 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.3 | 13-Jan-1994 |
glass | fixed spelling of Napoleon
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.3 | 28-Dec-1996 |
tls | Import from 4.4BSD-Lite2
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.13.40.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.2 | 08-Dec-2010 |
joerg | Use __c99inline from sys/cdefs.h
|
| 1.1 | 15-Mar-2009 |
dholland | branches: 1.1.2; Rework curses handling.
The most visible change is that the scrolling buffer of messages now actually scrolls and keeps history, and you type on the bottom line only. For now you can page through the history with ^P/^N; that's not ideal but one can't fix everything all at once.
Use resizeable array code (roughly the same that I floated a while ago in connection with make) to hold the scroll.
|
| 1.1.2.2 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.1.2.1 | 15-Mar-2009 |
jym | file inlinedefs.h was added on branch jym-xensuspend on 2009-05-13 19:18:05 +0000
|
| 1.19 | 06-Aug-2010 |
dholland | Rework the game startup so it uses curses nicely. There are now menus and stuff for picking scenarios and ships and all that.
|
| 1.18 | 17-Jan-2010 |
wiz | Close file when finished with it. Found by cppcheck.
|
| 1.17 | 12-Aug-2009 |
dholland | sprinkle static
|
| 1.16 | 14-Mar-2009 |
dholland | Don't use perror()
|
| 1.15 | 14-Mar-2009 |
dholland | Remove some unnecessary casts.
|
| 1.14 | 14-Mar-2009 |
dholland | String buffer cleanup. sprintf bad.
|
| 1.13 | 28-Jan-2008 |
dholland | branches: 1.13.12; Build with WARNS=4. Sort out the game's shadowing of its own variables, which fixes at least one bug.
|
| 1.12 | 07-Aug-2003 |
agc | branches: 1.12.22; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.11 | 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.10 | 16-Jan-2001 |
cgd | include stdlib.h for prototypes (typically for exit()).
|
| 1.9 | 04-Jan-2001 |
jwise | Rationalize inclusion of header files: cut down on `include everything everywhere' a little (more to go), and as per KNF, local includes after system includes.
|
| 1.8 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.7 | 03-Jul-2000 |
matt | More include additions for exit, abs, strcmp, etc.
|
| 1.6 | 08-Sep-1999 |
jsm | Add use of `const' where appropriate to the games.
This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at).
Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093.
|
| 1.5 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.4 | 07-Jan-1997 |
tls | Sync to 4.4BSD-Lite2
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.3 | 28-Dec-1996 |
tls | Import from 4.4BSD-Lite2
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.12.22.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.13.12.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.6 | 28-Jan-2008 |
dholland | Build with WARNS=4. Sort out the game's shadowing of its own variables, which fixes at least one bug.
|
| 1.5 | 07-Aug-2003 |
agc | branches: 1.5.22; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.4 | 28-Apr-1995 |
mycroft | Use POSIX signal and tty semantics.
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.5.22.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.26 | 06-Aug-2010 |
dholland | Rework the game startup so it uses curses nicely. There are now menus and stuff for picking scenarios and ships and all that.
|
| 1.25 | 14-Mar-2009 |
dholland | Fix usage message
|
| 1.24 | 14-Mar-2009 |
dholland | chdir to /var/games/sail while running, to simplify name handling.
|
| 1.23 | 02-Mar-2009 |
dholland | Use errx/warnx instead of printing to stderr. From OpenBSD.
|
| 1.22 | 20-Jul-2008 |
lukem | branches: 1.22.6; Remove the \n and tabs from the __COPYRIGHT() strings.
|
| 1.21 | 07-Aug-2003 |
agc | branches: 1.21.32; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.20 | 29-Aug-2001 |
jsm | Include <time.h> for declarations the Single Unix Specification says are there but not in <sys/time.h>.
|
| 1.19 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.18 | 04-Jan-2001 |
jwise | Rationalize inclusion of header files: cut down on `include everything everywhere' a little (more to go), and as per KNF, local includes after system includes.
|
| 1.17 | 04-Jan-2001 |
jwise | G/C undocumented and unimplemented `-D' (debug) option.
|
| 1.16 | 01-Jan-2001 |
jwise | Fix getopt usage (again) in case where user does not choose a scenario on the command line.
|
| 1.15 | 01-Jan-2001 |
jwise | Fix getopt() usage.
|
| 1.14 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.13 | 30-Nov-2000 |
jwise | Fix warning.
|
| 1.12 | 30-Nov-2000 |
jwise | Use random() instead of rand(), and seed from time(3) instead of from getpid().
|
| 1.11 | 30-Nov-2000 |
jwise | Change the macro to roll a six-sided die from die() to dieroll() (for obvious reasons of convention).
|
| 1.10 | 30-Nov-2000 |
jwise | Use getopt(3) for flag processing.
|
| 1.9 | 30-Nov-2000 |
jwise | Fix style nit.
|
| 1.8 | 30-Nov-2000 |
jwise | ANSIfy in preparation for other changes.
|
| 1.7 | 09-Feb-2000 |
jsm | Fix insecure /tmp usage in sail.
Essentially concludes the merge into NetBSD of those changes in the Linux port of the NetBSD games which it is fairly clear to me should be so merged.
|
| 1.6 | 13-Oct-1997 |
christos | - make sure that the arguments to the printf like functions are correct - add a makemsg() function to accompany makesignal.
|
| 1.5 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.4 | 07-Jan-1997 |
tls | Sync to 4.4BSD-Lite2
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.3 | 28-Dec-1996 |
tls | Import from 4.4BSD-Lite2
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.21.32.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.22.6.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.18 | 14-Mar-2009 |
dholland | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. No functional change.
|
| 1.17 | 14-Mar-2009 |
dholland | Remove some unnecessary casts.
|
| 1.16 | 28-Jan-2008 |
dholland | branches: 1.16.12; Build with WARNS=4. Sort out the game's shadowing of its own variables, which fixes at least one bug.
|
| 1.15 | 05-Nov-2004 |
dsl | branches: 1.15.16; Add (unsigned char) cast to ctype functions
|
| 1.14 | 08-Feb-2004 |
jsm | Use standard C abs function rather than local macro.
|
| 1.13 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.12 | 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.11 | 04-Jan-2001 |
itojun | need string.h for prototype (checked with alpha)
|
| 1.10 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.9 | 04-Jan-2001 |
jwise | Rationalize inclusion of header files: cut down on `include everything everywhere' a little (more to go), and as per KNF, local includes after system includes.
|
| 1.8 | 04-Jan-2001 |
jwise | Second half of static-ization of local funcs.
|
| 1.7 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.6 | 09-Feb-2000 |
jsm | Fix insecure /tmp usage in sail.
Essentially concludes the merge into NetBSD of those changes in the Linux port of the NetBSD games which it is fairly clear to me should be so merged.
|
| 1.5 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.4 | 07-Jan-1997 |
tls | Sync to 4.4BSD-Lite2
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.3 | 28-Dec-1996 |
tls | Import from 4.4BSD-Lite2
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.15.16.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.16.12.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.12 | 14-Mar-2009 |
dholland | Create some abstraction for sending messages. Make a send and receive function for each possible message. Make these have useful argument signatures. Hide the list of message codes inside sync.c.
|
| 1.11 | 07-Aug-2003 |
agc | branches: 1.11.40; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.10 | 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.9 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.8 | 04-Jan-2001 |
jwise | Second half of static-ization of local funcs.
|
| 1.7 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.6 | 10-Feb-1999 |
hubertf | The game sail(6) has a function Write() which is used both with integer arguments and with string arguments (cast to long, and in one place to int). The patch here cleans this up, making it into two separate functions; this allows for the game to be made const-correct in future and improves portability.
The patch also contains two other fragments: a change to use the symbolic constant SEEK_END with fseek(), and a change to use snprintf in one place to avoid a buffer overrun.
Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
|
| 1.5 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.4 | 07-Jan-1997 |
tls | Sync to 4.4BSD-Lite2
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.3 | 28-Dec-1996 |
tls | Import from 4.4BSD-Lite2
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.11.40.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.6 | 14-Mar-2009 |
dholland | chdir to /var/games/sail while running, to simplify name handling.
|
| 1.5 | 07-Aug-2003 |
agc | branches: 1.5.40; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.4 | 09-Feb-2000 |
jsm | Fix insecure /tmp usage in sail.
Essentially concludes the merge into NetBSD of those changes in the Linux port of the NetBSD games which it is fairly clear to me should be so merged.
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.5.40.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.21 | 14-Mar-2009 |
dholland | Create some abstraction for sending messages. Make a send and receive function for each possible message. Make these have useful argument signatures. Hide the list of message codes inside sync.c.
|
| 1.20 | 14-Mar-2009 |
dholland | Don't use perror()
|
| 1.19 | 15-Dec-2007 |
perry | branches: 1.19.12; convert __attribute__s to applicable cdefs.h macros
|
| 1.18 | 27-Jan-2004 |
jsm | branches: 1.18.22; Use int for wait status.
|
| 1.17 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.16 | 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.15 | 16-Jan-2001 |
cgd | include stdlib.h for prototypes (typically for exit()).
|
| 1.14 | 04-Jan-2001 |
jwise | Various stylistic nits.
|
| 1.13 | 04-Jan-2001 |
jwise | Break out curses display-related globals into a new header file, so that <curses.h> doesn't have to be included all over the place.
|
| 1.12 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.11 | 04-Jan-2001 |
jwise | Rationalize inclusion of header files: cut down on `include everything everywhere' a little (more to go), and as per KNF, local includes after system includes.
|
| 1.10 | 04-Jan-2001 |
jwise | Second half of static-ization of local funcs.
|
| 1.9 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.8 | 03-Jul-2000 |
matt | More include additions for exit, abs, strcmp, etc.
|
| 1.7 | 08-Sep-1999 |
jsm | Add `__noreturn__' and `__unused__' attributes where appropriate to the games.
This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at).
Most noreturn attributes were previously added in bin/6144, with some others that were missed then in bin/8082. Previous `unused' attributes were covered in bin/6557, bin/8058 and other PRs (all these PRs have already been handled and closed).
|
| 1.6 | 10-Feb-1999 |
hubertf | The game sail(6) has a function Write() which is used both with integer arguments and with string arguments (cast to long, and in one place to int). The patch here cleans this up, making it into two separate functions; this allows for the game to be made const-correct in future and improves portability.
The patch also contains two other fragments: a change to use the symbolic constant SEEK_END with fseek(), and a change to use snprintf in one place to avoid a buffer overrun.
Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
|
| 1.5 | 13-Oct-1997 |
christos | - make sure that the arguments to the printf like functions are correct - add a makemsg() function to accompany makesignal.
|
| 1.4 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.18.22.1 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.19.12.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.13 | 15-Mar-2009 |
dholland | Rework curses handling.
The most visible change is that the scrolling buffer of messages now actually scrolls and keeps history, and you type on the bottom line only. For now you can page through the history with ^P/^N; that's not ideal but one can't fix everything all at once.
Use resizeable array code (roughly the same that I floated a while ago in connection with make) to hold the scroll.
|
| 1.12 | 15-Mar-2009 |
dholland | Move newturn() from pl_7 to pl_2. pl_7 was mostly curses/display stuff, is going to be all display stuff. pl_2 is where the main loop lives.
|
| 1.11 | 07-Aug-2003 |
agc | branches: 1.11.40; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.10 | 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.9 | 04-Jan-2001 |
jwise | Various stylistic nits.
|
| 1.8 | 04-Jan-2001 |
jwise | Break out curses display-related globals into a new header file, so that <curses.h> doesn't have to be included all over the place.
|
| 1.7 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.6 | 04-Jan-2001 |
jwise | Second half of static-ization of local funcs.
|
| 1.5 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.4 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.11.40.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.20 | 15-Mar-2009 |
dholland | Rework curses handling.
The most visible change is that the scrolling buffer of messages now actually scrolls and keeps history, and you type on the bottom line only. For now you can page through the history with ^P/^N; that's not ideal but one can't fix everything all at once.
Use resizeable array code (roughly the same that I floated a while ago in connection with make) to hold the scroll.
|
| 1.19 | 14-Mar-2009 |
dholland | Create some abstraction for sending messages. Make a send and receive function for each possible message. Make these have useful argument signatures. Hide the list of message codes inside sync.c.
|
| 1.18 | 14-Mar-2009 |
dholland | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. No functional change.
|
| 1.17 | 07-Aug-2003 |
agc | branches: 1.17.40; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.16 | 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.15 | 04-Jan-2001 |
jwise | Normalize signature of ship handling functions -- struct ship * from and struct ship * to are now always the first two args.
|
| 1.14 | 04-Jan-2001 |
jwise | Break out curses display-related globals into a new header file, so that <curses.h> doesn't have to be included all over the place.
|
| 1.13 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.12 | 04-Jan-2001 |
jwise | Rationalize inclusion of header files: cut down on `include everything everywhere' a little (more to go), and as per KNF, local includes after system includes.
|
| 1.11 | 04-Jan-2001 |
jwise | Second half of static-ization of local funcs.
|
| 1.10 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.9 | 30-Nov-2000 |
jwise | Change the macro to roll a six-sided die from die() to dieroll() (for obvious reasons of convention).
|
| 1.8 | 08-Sep-1999 |
jsm | Add use of `const' where appropriate to the games.
This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at).
Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093.
|
| 1.7 | 10-Feb-1999 |
hubertf | The game sail(6) has a function Write() which is used both with integer arguments and with string arguments (cast to long, and in one place to int). The patch here cleans this up, making it into two separate functions; this allows for the game to be made const-correct in future and improves portability.
The patch also contains two other fragments: a change to use the symbolic constant SEEK_END with fseek(), and a change to use snprintf in one place to avoid a buffer overrun.
Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
|
| 1.6 | 30-Aug-1998 |
veego | Add braces to make the new egcs happy.
|
| 1.5 | 13-Oct-1997 |
christos | - make sure that the arguments to the printf like functions are correct - add a makemsg() function to accompany makesignal.
|
| 1.4 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.17.40.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.16 | 14-Mar-2009 |
dholland | Create some abstraction for sending messages. Make a send and receive function for each possible message. Make these have useful argument signatures. Hide the list of message codes inside sync.c.
|
| 1.15 | 05-Nov-2004 |
dsl | branches: 1.15.34; Add (unsigned char) cast to ctype functions
|
| 1.14 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.13 | 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.12 | 04-Jan-2001 |
jwise | Break out curses display-related globals into a new header file, so that <curses.h> doesn't have to be included all over the place.
|
| 1.11 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.10 | 04-Jan-2001 |
jwise | Second half of static-ization of local funcs.
|
| 1.9 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.8 | 08-Sep-1999 |
jsm | Add use of `const' where appropriate to the games.
This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at).
Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093.
|
| 1.7 | 10-Feb-1999 |
hubertf | The game sail(6) has a function Write() which is used both with integer arguments and with string arguments (cast to long, and in one place to int). The patch here cleans this up, making it into two separate functions; this allows for the game to be made const-correct in future and improves portability.
The patch also contains two other fragments: a change to use the symbolic constant SEEK_END with fseek(), and a change to use snprintf in one place to avoid a buffer overrun.
Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
|
| 1.6 | 13-Oct-1997 |
christos | - make sure that the arguments to the printf like functions are correct - add a makemsg() function to accompany makesignal.
|
| 1.5 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.4 | 24-Apr-1995 |
cgd | Various changes to make games compile w/o warnings on the alpha: Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.15.34.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.26 | 03-Feb-2019 |
mrg | - add or adjust /* FALLTHROUGH */ where appropriate - add __unreachable() after functions that can return but won't in this case, and thus can't be marked __dead easily
|
| 1.25 | 15-Mar-2009 |
dholland | branches: 1.25.46; Rework curses handling.
The most visible change is that the scrolling buffer of messages now actually scrolls and keeps history, and you type on the bottom line only. For now you can page through the history with ^P/^N; that's not ideal but one can't fix everything all at once.
Use resizeable array code (roughly the same that I floated a while ago in connection with make) to hold the scroll.
|
| 1.24 | 15-Mar-2009 |
dholland | Move all curses bits to pl_7.c.
|
| 1.23 | 14-Mar-2009 |
dholland | Create some abstraction for sending messages. Make a send and receive function for each possible message. Make these have useful argument signatures. Hide the list of message codes inside sync.c.
|
| 1.22 | 14-Mar-2009 |
dholland | Sprinkle some "bool". And don't use '\0' to mean 'false'.
|
| 1.21 | 14-Mar-2009 |
dholland | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. No functional change.
|
| 1.20 | 14-Mar-2009 |
dholland | String buffer cleanup. sprintf bad.
|
| 1.19 | 28-Jan-2008 |
dholland | branches: 1.19.12; Build with WARNS=4. Sort out the game's shadowing of its own variables, which fixes at least one bug.
|
| 1.18 | 18-Mar-2006 |
abs | branches: 1.18.10; If none of the boarding parties are set do not fall off the end of the list. Addresses Coverity CID 1507. Also put pointers before shorts in a struct rather than mixing them up
|
| 1.17 | 05-Nov-2004 |
dsl | Add (unsigned char) cast to ctype functions
|
| 1.16 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.15 | 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.14 | 04-Jan-2001 |
itojun | need string.h for prototype (checked with alpha)
|
| 1.13 | 04-Jan-2001 |
jwise | Normalize signature of ship handling functions -- struct ship * from and struct ship * to are now always the first two args.
|
| 1.12 | 04-Jan-2001 |
jwise | Break out curses display-related globals into a new header file, so that <curses.h> doesn't have to be included all over the place.
|
| 1.11 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.10 | 04-Jan-2001 |
jwise | Rationalize inclusion of header files: cut down on `include everything everywhere' a little (more to go), and as per KNF, local includes after system includes.
|
| 1.9 | 04-Jan-2001 |
jwise | Second half of static-ization of local funcs.
|
| 1.8 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.7 | 10-Feb-1999 |
hubertf | The game sail(6) has a function Write() which is used both with integer arguments and with string arguments (cast to long, and in one place to int). The patch here cleans this up, making it into two separate functions; this allows for the game to be made const-correct in future and improves portability.
The patch also contains two other fragments: a change to use the symbolic constant SEEK_END with fseek(), and a change to use snprintf in one place to avoid a buffer overrun.
Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
|
| 1.6 | 13-Oct-1997 |
christos | - make sure that the arguments to the printf like functions are correct - add a makemsg() function to accompany makesignal.
|
| 1.5 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.4 | 24-Apr-1995 |
cgd | Various changes to make games compile w/o warnings on the alpha: Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.18.10.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.19.12.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.25.46.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.14 | 15-Mar-2009 |
dholland | Rework curses handling.
The most visible change is that the scrolling buffer of messages now actually scrolls and keeps history, and you type on the bottom line only. For now you can page through the history with ^P/^N; that's not ideal but one can't fix everything all at once.
Use resizeable array code (roughly the same that I floated a while ago in connection with make) to hold the scroll.
|
| 1.13 | 14-Mar-2009 |
dholland | Create some abstraction for sending messages. Make a send and receive function for each possible message. Make these have useful argument signatures. Hide the list of message codes inside sync.c.
|
| 1.12 | 14-Mar-2009 |
dholland | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. No functional change.
|
| 1.11 | 07-Aug-2003 |
agc | branches: 1.11.40; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.10 | 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.9 | 04-Jan-2001 |
jwise | Break out curses display-related globals into a new header file, so that <curses.h> doesn't have to be included all over the place.
|
| 1.8 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.7 | 04-Jan-2001 |
jwise | Second half of static-ization of local funcs.
|
| 1.6 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.5 | 10-Feb-1999 |
hubertf | The game sail(6) has a function Write() which is used both with integer arguments and with string arguments (cast to long, and in one place to int). The patch here cleans this up, making it into two separate functions; this allows for the game to be made const-correct in future and improves portability.
The patch also contains two other fragments: a change to use the symbolic constant SEEK_END with fseek(), and a change to use snprintf in one place to avoid a buffer overrun.
Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
|
| 1.4 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.11.40.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.42 | 26-Aug-2011 |
dholland | Use __dead and __printflike instead of __attribute__.
|
| 1.41 | 25-Aug-2011 |
christos | add printf attributes.
|
| 1.40 | 06-Aug-2010 |
dholland | Rework the game startup so it uses curses nicely. There are now menus and stuff for picking scenarios and ships and all that.
|
| 1.39 | 06-Aug-2010 |
dholland | Don't define esc-[ as a custom key sequence because it steps on vt function keys.
|
| 1.38 | 12-Aug-2009 |
dholland | sprinkle static
|
| 1.37 | 15-Mar-2009 |
dholland | Simplify previous; suggested by Paul Goyette
|
| 1.36 | 15-Mar-2009 |
dholland | Fix sign-compare problem that crept in due to working from an old tree. Whoops. won't happen again...
|
| 1.35 | 15-Mar-2009 |
dholland | Rework curses handling.
The most visible change is that the scrolling buffer of messages now actually scrolls and keeps history, and you type on the bottom line only. For now you can page through the history with ^P/^N; that's not ideal but one can't fix everything all at once.
Use resizeable array code (roughly the same that I floated a while ago in connection with make) to hold the scroll.
|
| 1.34 | 15-Mar-2009 |
dholland | Move newturn() from pl_7 to pl_2. pl_7 was mostly curses/display stuff, is going to be all display stuff. pl_2 is where the main loop lives.
|
| 1.33 | 15-Mar-2009 |
dholland | Move all curses bits to pl_7.c.
|
| 1.32 | 14-Mar-2009 |
dholland | Create some abstraction for sending messages. Make a send and receive function for each possible message. Make these have useful argument signatures. Hide the list of message codes inside sync.c.
|
| 1.31 | 14-Mar-2009 |
dholland | Use \a instead of \7 for BEL.
|
| 1.30 | 14-Mar-2009 |
dholland | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. No functional change.
|
| 1.29 | 02-Mar-2009 |
dholland | Use errx() to send fatal error messages. From OpenBSD.
|
| 1.28 | 15-Dec-2007 |
perry | branches: 1.28.12; convert __attribute__s to applicable cdefs.h macros
|
| 1.27 | 07-Aug-2003 |
agc | branches: 1.27.22; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.26 | 06-Dec-2001 |
blymn | Changed deprecated curses call to new equivalent.
|
| 1.25 | 24-Sep-2001 |
wiz | va_{start,end} audit: Make sure that each va_start has one and only one matching va_end, especially in error cases. If the va_list is used multiple times, do multiple va_starts/va_ends. If a function gets va_list as argument, don't let it use va_end (since it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
|
| 1.24 | 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.23 | 16-Jan-2001 |
cgd | include stdlib.h for prototypes (typically for exit()).
|
| 1.22 | 04-Jan-2001 |
itojun | need string.h for prototype (checked with alpha)
|
| 1.21 | 04-Jan-2001 |
jwise | Various stylistic nits.
|
| 1.20 | 04-Jan-2001 |
jwise | Break out curses display-related globals into a new header file, so that <curses.h> doesn't have to be included all over the place.
|
| 1.19 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.18 | 04-Jan-2001 |
jwise | Rationalize inclusion of header files: cut down on `include everything everywhere' a little (more to go), and as per KNF, local includes after system includes.
|
| 1.17 | 04-Jan-2001 |
jwise | Second half of static-ization of local funcs.
|
| 1.16 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.15 | 03-Jul-2000 |
matt | More include additions for exit, abs, strcmp, etc.
|
| 1.14 | 31-Jan-2000 |
jsm | Don't initialise curses until after the initial non-curses setup (the choice of scenario uses puts() rather than curses functions).
|
| 1.13 | 28-Dec-1999 |
jsm | branches: 1.13.2; Use separate definitions and extern declarations of variables rather than linker commons.
|
| 1.12 | 08-Sep-1999 |
jsm | Add `__noreturn__' and `__unused__' attributes where appropriate to the games.
This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at).
Most noreturn attributes were previously added in bin/6144, with some others that were missed then in bin/8082. Previous `unused' attributes were covered in bin/6557, bin/8058 and other PRs (all these PRs have already been handled and closed).
|
| 1.11 | 08-Sep-1999 |
jsm | Add use of `const' where appropriate to the games.
This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at).
Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093.
|
| 1.10 | 10-Feb-1999 |
hubertf | The game sail(6) has a function Write() which is used both with integer arguments and with string arguments (cast to long, and in one place to int). The patch here cleans this up, making it into two separate functions; this allows for the game to be made const-correct in future and improves portability.
The patch also contains two other fragments: a change to use the symbolic constant SEEK_END with fseek(), and a change to use snprintf in one place to avoid a buffer overrun.
Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
|
| 1.9 | 30-Aug-1998 |
veego | Add braces to make the new egcs happy.
|
| 1.8 | 13-Oct-1997 |
christos | - make sure that the arguments to the printf like functions are correct - add a makemsg() function to accompany makesignal.
|
| 1.7 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.6 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.5 | 10-Nov-1993 |
cgd | new curses
|
| 1.4 | 10-Aug-1993 |
mycroft | Use '\a', not CTRL('g').
|
| 1.3 | 10-Aug-1993 |
mycroft | Pass the signal number to tstp().
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.13.2.3 | 06-Feb-2000 |
jdc | Make this compile.
|
| 1.13.2.2 | 05-Feb-2000 |
jdc | Sync with -current (v 1.14)
|
| 1.13.2.1 | 21-Jan-2000 |
jdc | Update for SUS v2 curses - printw takes `char *format' not `const char *format'
|
| 1.27.22.1 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.28.12.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.27 | 06-Aug-2010 |
dholland | Rework the game startup so it uses curses nicely. There are now menus and stuff for picking scenarios and ships and all that.
|
| 1.26 | 15-Mar-2009 |
dholland | Rework curses handling.
The most visible change is that the scrolling buffer of messages now actually scrolls and keeps history, and you type on the bottom line only. For now you can page through the history with ^P/^N; that's not ideal but one can't fix everything all at once.
Use resizeable array code (roughly the same that I floated a while ago in connection with make) to hold the scroll.
|
| 1.25 | 14-Mar-2009 |
dholland | Create some abstraction for sending messages. Make a send and receive function for each possible message. Make these have useful argument signatures. Hide the list of message codes inside sync.c.
|
| 1.24 | 14-Mar-2009 |
dholland | Don't use perror()
|
| 1.23 | 14-Mar-2009 |
dholland | Don't cast the return value of calloc().
|
| 1.22 | 14-Mar-2009 |
dholland | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. No functional change.
|
| 1.21 | 14-Mar-2009 |
dholland | Remove some unnecessary casts.
|
| 1.20 | 14-Mar-2009 |
dholland | String buffer cleanup. sprintf bad.
|
| 1.19 | 02-Mar-2009 |
dholland | More fixes from OpenBSD: use err instead of perror, don't hork on EOF during the initial setup questions.
|
| 1.18 | 02-Mar-2009 |
dholland | Check for failure of fgets when reading the captain's name, and don't allow it to be empty. From OpenBSD.
|
| 1.17 | 20-Apr-2006 |
drochner | branches: 1.17.28; fix buffer overflow (CVE-2006-1744), from Debian
|
| 1.16 | 07-Aug-2003 |
agc | branches: 1.16.2; 1.16.4; 1.16.6; 1.16.8; 1.16.10; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.15 | 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.14 | 04-Jan-2001 |
jwise | Break out curses display-related globals into a new header file, so that <curses.h> doesn't have to be included all over the place.
|
| 1.13 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.12 | 04-Jan-2001 |
jwise | Rationalize inclusion of header files: cut down on `include everything everywhere' a little (more to go), and as per KNF, local includes after system includes.
|
| 1.11 | 04-Jan-2001 |
jwise | Second half of static-ization of local funcs.
|
| 1.10 | 04-Jan-2001 |
jwise | De-`register'
|
| 1.9 | 01-Jan-2001 |
jwise | Missed commit -- ANSIfy in preparation for further work.
|
| 1.8 | 31-Jan-2000 |
jsm | Don't initialise curses until after the initial non-curses setup (the choice of scenario uses puts() rather than curses functions).
|
| 1.7 | 10-Feb-1999 |
hubertf | The game sail(6) has a function Write() which is used both with integer arguments and with string arguments (cast to long, and in one place to int). The patch here cleans this up, making it into two separate functions; this allows for the game to be made const-correct in future and improves portability.
The patch also contains two other fragments: a change to use the symbolic constant SEEK_END with fseek(), and a change to use snprintf in one place to avoid a buffer overrun.
Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
|
| 1.6 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.5 | 24-Apr-1995 |
cgd | Various changes to make games compile w/o warnings on the alpha: Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
|
| 1.4 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.3 | 13-Jan-1994 |
glass | fixed to use fgets()
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.16.10.1 | 25-Apr-2006 |
snj | Pull up following revision(s) (requested by drochner in ticket #1289): games/sail/pl_main.c: revision 1.17 fix buffer overflow (CVE-2006-1744), from Debian
|
| 1.16.8.1 | 26-Apr-2006 |
snj | Pull up following revision(s) (requested by drochner in ticket #10504): games/sail/pl_main.c: revision 1.17 fix buffer overflow (CVE-2006-1744), from Debian
|
| 1.16.6.1 | 25-Apr-2006 |
snj | Pull up following revision(s) (requested by drochner in ticket #1289): games/sail/pl_main.c: revision 1.17 fix buffer overflow (CVE-2006-1744), from Debian
|
| 1.16.4.1 | 25-Apr-2006 |
snj | Pull up following revision(s) (requested by drochner in ticket #10504): games/sail/pl_main.c: revision 1.17 fix buffer overflow (CVE-2006-1744), from Debian
|
| 1.16.2.1 | 26-Apr-2006 |
snj | Pull up following revision(s) (requested by drochner in ticket #10504): games/sail/pl_main.c: revision 1.17 fix buffer overflow (CVE-2006-1744), from Debian
|
| 1.17.28.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.13 | 12-Aug-2009 |
dholland | sprinkle static
|
| 1.12 | 14-Mar-2009 |
dholland | constify the version string
|
| 1.11 | 07-Aug-2003 |
agc | branches: 1.11.40; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.10 | 04-Jan-2001 |
jwise | Various stylistic nits.
|
| 1.9 | 04-Jan-2001 |
jwise | Break out curses display-related globals into a new header file, so that <curses.h> doesn't have to be included all over the place.
|
| 1.8 | 28-Dec-1999 |
jsm | Use separate definitions and extern declarations of variables rather than linker commons.
|
| 1.7 | 18-Apr-1999 |
simonb | initscr() returns a pointer, compare return value with NULL and not an int. Compatible with other versions of curses.
|
| 1.6 | 29-Mar-1998 |
mrg | add missing extern to several variables.
|
| 1.5 | 07-Jan-1997 |
tls | Sync to 4.4BSD-Lite2
|
| 1.4 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.3 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.2 | 21-Jun-1993 |
deraadt | BADSIG --> SIG_ERR
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.3 | 28-Dec-1996 |
tls | Import from 4.4BSD-Lite2
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.11.40.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.4 | 14-Mar-2009 |
dholland | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. No functional change.
|
| 1.3 | 28-Apr-2008 |
martin | branches: 1.3.8; Remove clause 3 and 4 from TNF licenses
|
| 1.2 | 04-Jan-2001 |
jwise | branches: 1.2.32; Use License templates from localsrc for license on new files.
|
| 1.1 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.2.32.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.3.8.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.18 | 02-Mar-2009 |
dholland | Move HISTORY to proper place.
|
| 1.17 | 02-Mar-2009 |
dholland | Edit. Sync with reality, at least partway. Bump date.
|
| 1.16 | 02-Mar-2009 |
wiz | Sort options. End sentence with a dot.
|
| 1.15 | 02-Mar-2009 |
dholland | mdocify. Partly merged from OpenBSD. Not by any means perfect yet.
|
| 1.14 | 15-Sep-2005 |
wiz | branches: 1.14.28; Use standard AUTHORS section header. From YOMURA Masanori in private mail Sort sections if necessary. Use more/better markup.
|
| 1.13 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.12 | 30-Mar-2003 |
wiz | PDP-11 instead of PDP 11. Igor Sobrado in PR 19678.
|
| 1.11 | 26-Sep-2002 |
wiz | Mdoc nits -- unneeded ".
|
| 1.10 | 26-Sep-2002 |
wiz | Ispell.
|
| 1.9 | 26-Sep-2002 |
wiz | New sentences begin on new lines. Patch from Richard Elz, slightly improved by yours truly.
|
| 1.8 | 08-Feb-2002 |
ross | Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
|
| 1.7 | 02-Apr-2001 |
wiz | Whitespace and/or punctuation fixes.
|
| 1.6 | 07-Jan-1997 |
tls | Sync to 4.4BSD-Lite2
|
| 1.5 | 04-Dec-1996 |
perry | nuke 'the the' typo
|
| 1.4 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.3 | 13-Jan-1994 |
glass | fixed spelling of Napoleon
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS indentifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.3 | 28-Dec-1996 |
tls | Import from 4.4BSD-Lite2
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.14.28.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.34 | 19-Oct-2013 |
christos | fix unused variable warnings
|
| 1.33 | 14-Mar-2009 |
dholland | branches: 1.33.6; 1.33.12; chdir to /var/games/sail while running, to simplify name handling.
|
| 1.32 | 14-Mar-2009 |
dholland | Don't crosswire the two kinds of path names, and don't croak on scenario numbers > 99.
|
| 1.31 | 14-Mar-2009 |
dholland | Turns out the W_FILE message wasn't ever used.
|
| 1.30 | 14-Mar-2009 |
dholland | Create some abstraction for sending messages. Make a send and receive function for each possible message. Make these have useful argument signatures. Hide the list of message codes inside sync.c.
|
| 1.29 | 14-Mar-2009 |
dholland | Use \a instead of \7 for BEL.
|
| 1.28 | 14-Mar-2009 |
dholland | Lines <= 80 chars, remove trailing whitespace, other formatting adjustments. No functional change.
|
| 1.27 | 14-Mar-2009 |
dholland | Remove some unnecessary casts.
|
| 1.26 | 14-Mar-2009 |
dholland | String buffer cleanup. sprintf bad.
|
| 1.25 | 28-Jan-2008 |
dholland | branches: 1.25.12; Build with WARNS=4. Sort out the game's shadowing of its own variables, which fixes at least one bug.
|
| 1.24 | 18-May-2006 |
mrg | branches: 1.24.10; don't try to switch a char and have a case of EOF - use an int.
|
| 1.23 | 07-Sep-2004 |
jrf | Replaced strncpy with strlcpy. Thanks to Peter Postma who pointed them our in PR #25762. Approved by christos@NetBSD.org.
|
| 1.22 | 27-Jan-2004 |
jsm | Include <sys/stat.h>.
|
| 1.21 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.20 | 05-Feb-2001 |
christos | remove redundant decls.
|
| 1.19 | 04-Jan-2001 |
jwise | Various stylistic nits.
|
| 1.18 | 04-Jan-2001 |
jwise | More rationalization of include files:
a.) Don't include a zillion system headers from "extern.h" (actually, don't include any). b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
|
| 1.17 | 04-Jan-2001 |
jwise | Rationalize inclusion of header files: cut down on `include everything everywhere' a little (more to go), and as per KNF, local includes after system includes.
|
| 1.16 | 04-Jan-2001 |
jwise | Second half of static-ization of local funcs.
|
| 1.15 | 01-Jan-2001 |
jwise | ANSIfy in preparation for further work.
|
| 1.14 | 09-Feb-2000 |
jsm | Fix insecure /tmp usage in sail.
Essentially concludes the merge into NetBSD of those changes in the Linux port of the NetBSD games which it is fairly clear to me should be so merged.
|
| 1.13 | 09-Sep-1999 |
jsm | Include <time.h> in various places in the games where time() or time_t are used.
|
| 1.12 | 08-Sep-1999 |
jsm | Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in the games.
|
| 1.11 | 10-Feb-1999 |
hubertf | The game sail(6) has a function Write() which is used both with integer arguments and with string arguments (cast to long, and in one place to int). The patch here cleans this up, making it into two separate functions; this allows for the game to be made const-correct in future and improves portability.
The patch also contains two other fragments: a change to use the symbolic constant SEEK_END with fseek(), and a change to use snprintf in one place to avoid a buffer overrun.
Via PR 6569 by Joseph Myers <jsm28@cam.ac.uk>.
|
| 1.10 | 11-Sep-1998 |
hubertf | fix prototype, per PR#5867
|
| 1.9 | 30-Aug-1998 |
veego | Add braces to make the new egcs happy.
|
| 1.8 | 29-Mar-1998 |
mrg | remove extern errno.
|
| 1.7 | 13-Oct-1997 |
christos | - make sure that the arguments to the printf like functions are correct - add a makemsg() function to accompany makesignal.
|
| 1.6 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.5 | 07-Jan-1997 |
tls | Sync to 4.4BSD-Lite2
|
| 1.4 | 24-Apr-1995 |
cgd | Various changes to make games compile w/o warnings on the alpha: Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.3 | 28-Dec-1996 |
tls | Import from 4.4BSD-Lite2
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.24.10.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.25.12.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
| 1.33.12.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.33.6.1 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.6 | 14-Mar-2009 |
dholland | constify the version string
|
| 1.5 | 07-Aug-2003 |
agc | branches: 1.5.40; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
|
| 1.4 | 13-Oct-1997 |
christos | Warns fixes: use varargs properly use unsigned chars where appropriate fix typos eliminate gcc warnings
|
| 1.3 | 22-Apr-1995 |
cgd | clean up import, NetBSD RCS IDs
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Apr-1995 |
cgd | src/games/sail from Lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.5.40.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|