quakeforge/libs/util
Adam Olsen 0785610296 - fix a little mistake in SV_PrintToClient that'd cause it to
segfault if your first call was with "".  Probably could cause
  crashes too
- add a string.c file to libQFutil, with a Q_strcasestr function,
  which strcasestr is defined to if it's not already defined.  (we'd
  get that with glibc if we defined __USE_GNU, but we don't)
- make client_t and SV_ExtractFromUserinfo both use NAME_MAX for
  their name arrays, instead of 32 for one and 80 for the other
- rewrite almost all of SV_ExtractFromUserinfo's name handling.
  - \r, \n, and \t are all converted to spaces
  - leading/trailing spaces are stripped
  - consecutive spaces are reduced to a single space
  - empty names are considered bad
  - user-* nicks are considered bad (unless forced to them)
  - a name containing console or admin is considered bad
  - a name that already exists is considered bad
  - if they have a bad name it gets forced to user-%d, where %d is
    their userid
  - netname in the progs is now updated properly
  - name changes are always reported unless it's the initial setting,
    rather than only if they're full connected and not a spectator
  - finally, if the name change fails (info string exceeded), give
    them the boot.  (before this was only done for duplicate names)

That's about it :)
2001-10-04 19:11:39 +00:00
..
.gitignore Shared library support. The util and gamecode libraries are now shared, 2001-03-29 09:07:44 +00:00
Makefile.am - fix a little mistake in SV_PrintToClient that'd cause it to 2001-10-04 19:11:39 +00:00
checksum.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
cmd.c get nq-server so it runs. part of this involved renaming cl_warncmd to 2001-10-03 21:25:43 +00:00
con_print.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
console.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
crc.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
cvar.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
dirent.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
fendian.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
fnmatch.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
hash.c Fix missing include. 2001-10-02 23:53:07 +00:00
info.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
link.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
math.S mingw build fixes again (including mostly working in sid: got some link issues) 2001-09-25 06:18:30 +00:00
mathlib.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
mdfour.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
msg.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
pcx.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
plugin.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
qargs.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
qendian.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
qfplist.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
quakefs.c changes to get cygwin to compile server. still debugging result 2001-09-29 09:39:27 +00:00
quakeio.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
sizebuf.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
string.c - fix a little mistake in SV_PrintToClient that'd cause it to 2001-10-04 19:11:39 +00:00
sys.c fix a case and paste error 2001-09-28 15:29:56 +00:00
tga.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
va.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
ver_check.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
wad.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00
zone.c the rcsid commit from hell }:> 2001-09-28 06:26:31 +00:00