Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use bool (not int) for a boolean return type. | 2014-03-30 | 2 | -5/+5 | ||
| | ||||||
* | Use the curses beep function instead of writing a beep to stdout. | 2014-03-30 | 1 | -3/+3 | ||
| | ||||||
* | curses has printw, use it. | 2014-03-30 | 1 | -7/+4 | ||
| | ||||||
* | don't use the preprocessor to rename curses functions, just call them | 2014-03-30 | 2 | -36/+30 | ||
| | ||||||
* | fix off-by-one | 2014-03-30 | 1 | -3/+3 | ||
| | ||||||
* | Instead of #define STDIN 0, use STDIN_FILENO. | 2014-03-30 | 1 | -6/+5 | ||
| | ||||||
* | Remove SHORTLEN and LONGLEN defines; use sizeof() properly instead. | 2014-03-30 | 7 | -53/+57 | ||
| | | | | Fix two semi-compensating size bugs in wire transmission affecting 64-bit machines. | |||||
* | Naming reform for socket pieces, akin to what I did in huntd earlier. | 2014-03-30 | 5 | -57/+58 | ||
| | | | (but not as comprehensive) | |||||
* | I wish the socket API didn't require casts. Easy to mess them up. | 2014-03-30 | 2 | -10/+14 | ||
| | ||||||
* | fix obvious mistake (seems to have been there since 4.4) | 2014-03-30 | 1 | -3/+3 | ||
| | ||||||
* | Tidy up list of broadcast addresses. | 2014-03-30 | 1 | -26/+39 | ||
| | ||||||
* | Clean up the handling of the list of hunt daemons. | 2014-03-30 | 3 | -149/+230 | ||
| | ||||||
* | use fewer globals | 2014-03-30 | 2 | -19/+14 | ||
| | ||||||
* | more cleanup | 2014-03-30 | 1 | -54/+117 | ||
| | ||||||
* | unexpose some globals that server.c previously required | 2014-03-30 | 3 | -20/+21 | ||
| | ||||||
* | name reform, fewer file statics | 2014-03-30 | 1 | -17/+21 | ||
| | ||||||
* | goto considered harmful | 2014-03-30 | 1 | -95/+111 | ||
| | ||||||
* | split off a bunch of the nastier network code into its own file | 2014-03-30 | 4 | -197/+263 | ||
| | ||||||
* | When indexing an array with a char, cast it to unsigned char, not int, | 2014-03-30 | 1 | -3/+3 | ||
| | | | | to not only silence the compiler warning but also get the correct behavior. | |||||
* | Remove all the conditional compilation for INTERNET. Now you can run | 2014-03-30 | 4 | -167/+224 | ||
| | | | | | | | this on either a local or internet socket (including via inetd on either) and it will, or is supposed to, DTRT. Does not really support ipv6 yet, but in a number of places will no longer vomit or exhibit UB if it encounters an ipv6 address. | |||||
* | Clean up the names of the various pieces of socket apparatus. | 2014-03-30 | 4 | -75/+129 | ||
| | | | Systematic naming is easier to follow... | |||||
* | fix non-INTERNET build | 2014-03-29 | 2 | -6/+8 | ||
| | ||||||
* | Er oops, fix previous. | 2014-03-29 | 1 | -3/+3 | ||
| | ||||||
* | Reduce ifdefs by making a common function to talk to either syslogd or | 2014-03-29 | 5 | -60/+80 | ||
| | | | stderr. | |||||
* | group external functions by where they come from | 2014-03-29 | 1 | -6/+13 | ||
| | ||||||
* | be consistent about whether functions are static | 2014-03-29 | 1 | -5/+5 | ||
| | ||||||
* | handle compiled-in pathnames the customary way | 2014-03-29 | 4 | -13/+56 | ||
| | ||||||
* | make some globals static | 2014-03-29 | 2 | -14/+9 | ||
| | ||||||
* | Additional minor cleanup and remove a straggler data declaration | 2014-03-29 | 4 | -19/+23 | ||
| | | | from hunt_common.h. | |||||
* | Group function declarations by which source file they come from, and | 2014-03-29 | 1 | -28/+36 | ||
| | | | delete several that don't actually exist. | |||||
* | be consistent about whether functions are static | 2014-03-29 | 2 | -7/+7 | ||
| | ||||||
* | sprinkle static | 2014-03-29 | 4 | -32/+21 | ||
| | ||||||
* | Flush unwanted file. | 2014-03-29 | 2 | -42/+2 | ||
| | ||||||
* | Move definitions to the file they're used in. | 2014-03-29 | 2 | -11/+11 | ||
| | ||||||
* | move a comment that should have gone with its symbol | 2014-03-29 | 2 | -9/+9 | ||
| | ||||||
* | Remove tautological #if DEBUG. | 2014-03-29 | 1 | -15/+2 | ||
| | ||||||
* | Split hunt and huntd's includes, instead of incestuously sharing a pile | 2014-03-29 | 10 | -257/+381 | ||
| | | | | | | | | | | | | of external data and function declarations between the two programs. Common constants and defines now go in hunt_common.h. Stuff that belongs only to hunt is in hunt/hunt_private.h. Stuff that belongs only to huntd is in huntd/hunt.h. Copy some declarations that are used in both programs under the same names (but are not actually the same objects) from huntd/hunt.h to hunt/hunt_private.h. Move others that are only used in hunt. Remove some entirely unused material, and tidy up standard includes. | |||||
* | Remove unsafe and unnecessary pointer casts. | 2014-03-29 | 1 | -7/+6 | ||
| | ||||||
* | catch up to huntd changes. | 2014-03-29 | 3 | -37/+38 | ||
| | | | XXX: this needs to stop promiscuously sharing .h files. | |||||
* | tsort contents of file | 2014-03-29 | 1 | -49/+43 | ||
| | ||||||
* | const in unused code | 2014-03-29 | 1 | -7/+7 | ||
| | ||||||
* | remove stubbed-out function | 2014-03-29 | 3 | -53/+7 | ||
| | ||||||
* | Rip out the code that broadcasts talk requests to the local | 2014-03-29 | 7 | -707/+7 | ||
| | | | | | | | | | | | | | | | | | | | | | | hunt-players mailing list. In this day and age it doesn't even begin to work: even if you were to have such a mailing list locally, sendmail wouldn't expand it for you, the addresses you got back wouldn't be talk-requestable addresses, talk requests don't cross NAT or firewalls safely, talk doesn't support ipv6, and nobody runs talkd anyway. It doesn't make sense to try to replace it with some other kind of notify scheme either; there might still be a multiuser machine somewhere with enough simultaneous users that broadcasting something akin to talk requests locally might make sense, and where a nontrivial number of the users actually play hunt, but probably not, and if so those users are likely to be better off using wall(1) anyway. Nowadays games will be set up by looking for people in chat or by emailing or texting friends. Theoretically someone could set up an internet hunt metaserver for finding hunt games, but that would be something entirely different anyway and I doubt there's demand. | |||||
* | Remove empty header file. | 2014-03-29 | 6 | -50/+9 | ||
| | ||||||
* | Use setproctitle() instead of handrolled version. | 2014-03-29 | 2 | -26/+7 | ||
| | ||||||
* | Make the code for issuing talk requests to find players actually build. | 2014-03-29 | 6 | -45/+55 | ||
| | ||||||
* | don't declare own boolean type | 2014-03-29 | 9 | -128/+120 | ||
| | ||||||
* | use random(), not a handrolled 16-bit generator | 2014-03-29 | 1 | -12/+4 | ||
| | ||||||
* | Use getaddrinfo() instead of gethostbyname(). | 2014-03-29 | 1 | -7/+23 | ||
| | ||||||
* | typo in error message | 2014-03-29 | 1 | -3/+3 | ||
| |