summaryrefslogtreecommitdiffstats
path: root/hunt
Commit message (Collapse)AuthorAgeFilesLines
* games: remove trailing whitespace in *.c and *.hrillig2021-05-0513-296/+296
|
* Fix darwin-amd64Cameron Katri2021-04-061-0/+1
|
* Use PREFIX nowCameron Katri2021-03-283-7/+9
|
* Get all the games compiling for iOSCameron Katri2021-02-227-16/+39
|
* adjust a fallthru comment and add a missing break.mrg2019-10-131-3/+5
|
* introduce some common variables for use in GCC warning disables:mrg2019-10-131-1/+3
| | | | | | | | | | | | | | | | | GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8) GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8) use these to turn off warnings for most GCC-8 complaints. many of these are false positives, most of the real bugs are already commited, or are yet to come. we plan to introduce versions of (some?) of these that use the "-Wno-error=" form, which still displays the warnings but does not make it an error, and all of the above will be re-considered as either being "fix me" (warning still displayed) or "warning is wrong."
* convert HAVE_GCC == 7 to HAVE_GCC >= 7.mrg2019-09-291-2/+2
|
* apply -Wno-error=implicit-fallthrough on files that have fallthrumrg2019-02-041-1/+8
| | | comments but are missed by the current checker.
* Remove unused.skrll2014-03-301-5/+3
|
* Use bool (not int) for a boolean return type.dholland2014-03-302-5/+5
|
* Use the curses beep function instead of writing a beep to stdout.dholland2014-03-301-3/+3
|
* curses has printw, use it.dholland2014-03-301-7/+4
|
* don't use the preprocessor to rename curses functions, just call themdholland2014-03-302-36/+30
|
* fix off-by-onedholland2014-03-301-3/+3
|
* Instead of #define STDIN 0, use STDIN_FILENO.dholland2014-03-301-6/+5
|
* Remove SHORTLEN and LONGLEN defines; use sizeof() properly instead.dholland2014-03-307-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.dholland2014-03-305-57/+58
| | | (but not as comprehensive)
* I wish the socket API didn't require casts. Easy to mess them up.dholland2014-03-302-10/+14
|
* fix obvious mistake (seems to have been there since 4.4)dholland2014-03-301-3/+3
|
* Tidy up list of broadcast addresses.dholland2014-03-301-26/+39
|
* Clean up the handling of the list of hunt daemons.dholland2014-03-303-149/+230
|
* use fewer globalsdholland2014-03-302-19/+14
|
* more cleanupdholland2014-03-301-54/+117
|
* unexpose some globals that server.c previously requireddholland2014-03-303-20/+21
|
* name reform, fewer file staticsdholland2014-03-301-17/+21
|
* goto considered harmfuldholland2014-03-301-95/+111
|
* split off a bunch of the nastier network code into its own filedholland2014-03-304-197/+263
|
* When indexing an array with a char, cast it to unsigned char, not int,dholland2014-03-301-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 rundholland2014-03-304-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.dholland2014-03-304-75/+129
| | | Systematic naming is easier to follow...
* fix non-INTERNET builddholland2014-03-292-6/+8
|
* Er oops, fix previous.dholland2014-03-291-3/+3
|
* Reduce ifdefs by making a common function to talk to either syslogd ordholland2014-03-295-60/+80
| | | stderr.
* group external functions by where they come fromdholland2014-03-291-6/+13
|
* be consistent about whether functions are staticdholland2014-03-291-5/+5
|
* handle compiled-in pathnames the customary waydholland2014-03-294-13/+56
|
* make some globals staticdholland2014-03-292-14/+9
|
* Additional minor cleanup and remove a straggler data declarationdholland2014-03-294-19/+23
| | | from hunt_common.h.
* Group function declarations by which source file they come from, anddholland2014-03-291-28/+36
| | | delete several that don't actually exist.
* be consistent about whether functions are staticdholland2014-03-292-7/+7
|
* sprinkle staticdholland2014-03-294-32/+21
|
* Flush unwanted file.dholland2014-03-292-42/+2
|
* Move definitions to the file they're used in.dholland2014-03-292-11/+11
|
* move a comment that should have gone with its symboldholland2014-03-292-9/+9
|
* Remove tautological #if DEBUG.dholland2014-03-291-15/+2
|
* Split hunt and huntd's includes, instead of incestuously sharing a piledholland2014-03-2910-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.dholland2014-03-291-7/+6
|
* catch up to huntd changes.dholland2014-03-293-37/+38
| | | XXX: this needs to stop promiscuously sharing .h files.
* tsort contents of filedholland2014-03-291-49/+43
|
* const in unused codedholland2014-03-291-7/+7
|