summaryrefslogtreecommitdiffstats
path: root/hunt/hunt
Commit message (Collapse)AuthorAgeFilesLines
* games: remove trailing whitespace in *.c and *.hrillig2021-05-051-22/+22
|
* Use PREFIX nowCameron Katri2021-03-281-3/+3
|
* Get all the games compiling for iOSCameron Katri2021-02-224-7/+17
|
* 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."
* Remove unused.skrll2014-03-301-5/+3
|
* 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-304-30/+36
| | | | 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.
* 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-291-6/+7
|
* make some globals staticdholland2014-03-292-14/+9
|
* Split hunt and huntd's includes, instead of incestuously sharing a piledholland2014-03-296-17/+132
| | | | | | | | | | | | 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.
* reinstate NULL cast by request, where the NULL was being passed as a varargplunky2011-09-011-4/+4
|
* NULL does not need a castplunky2011-08-311-4/+4
|
* Don't use variables as format string.joerg2011-05-231-4/+4
|
* avoid unnecessary cast (hi wiz)dholland2011-01-051-5/+6
|
* Fix realloc error. Found by cppcheck.wiz2011-01-051-3/+7
|
* When using -lcurses, you also need -lterminfo.he2010-02-061-3/+3
| | | | This fixes the build for sun2, and also builds with LDSTATIC=-static, since archive libraries don't record inter-library dependencies.
* Userland now builds and uses terminfo instead of termcap.roy2010-02-031-2/+2
| | | OK: core@, jdc@
* u_int32_t -> uint32_tdholland2009-08-271-6/+6
|
* sprinkle static and prune some dead codedholland2009-08-122-41/+35
|
* Remove config options for 4.2BSD and 4.3BSD, and associated code. Highlydholland2009-07-042-77/+6
| | | obsolete, and I doubt most of it still worked anyway.
* Remove the non-curses screen handling, since it relies on knowingdholland2009-07-043-333/+8
| | | | | about various internals of SVR4 curses, old BSD curses, and/or other unclean things. (Yes, the non-curses handling still used bits of curses. Fie.)
* Remove config for the return type of signal handlers, which is also adholland2009-07-042-11/+11
| | | long-dead issue.
* Various minor fixes, mostly from OpenBSD.dholland2009-07-041-51/+83
|
* Whitespace.dholland2009-07-044-615/+615
|
* ANSIfy function declarations.dholland2009-07-044-81/+48
|
* Remove two more bogus casts. These *do* create object diffs on amd64,dholland2009-07-041-4/+4
| | | for no clear reason, but it looks like the diffs are harmless.
* Remove bogus casts. Two object file diffs inspected and found to be harmless.dholland2009-07-043-20/+19
|
* sprintf -> snprintfdholland2009-06-281-3/+4
|
* Fix markupjoerg2009-03-111-3/+4
|
* if initscr() fails, exit with a message rather than crash in thedrochner2008-08-081-3/+4
| | | next curses call