aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
Commit message (Collapse)AuthorAgeFilesLines
* * Replace horrendously long list of build rules with set of inference rulestma2007-07-142-2499/+1020
| | | | | | | | | | * Remove unused DO_DEBUG_CC and DO_SHLIB_DEBUG_CC commands * Fix various bits of trailing whitespace * Remove vm_ppc.c and move vm_ppc_new.c into its place * Rename winquake.rc to win_resource.rc git-svn-id: svn://svn.icculus.org/quake3/trunk@1111 edf5b092-35ff-0310-97b2-ce42778d08ea
* - fix OP_MODU and OP_MODIludwig2007-07-031-10/+11
| | | | | | | - fix minor typos git-svn-id: svn://svn.icculus.org/quake3/trunk@1106 edf5b092-35ff-0310-97b2-ce42778d08ea
* another attempt to fix the alignment, this time hopfully for realludwig2007-07-031-5/+10
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1105 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix stack alignmentludwig2007-07-031-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1104 edf5b092-35ff-0310-97b2-ce42778d08ea
* use native stack for vm stack as well, frees one registerludwig2007-06-251-26/+36
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1101 edf5b092-35ff-0310-97b2-ce42778d08ea
* check program counter on OP_CALL and OP_LEAVEludwig2007-06-251-2/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1100 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3019) use the operating system's random number generator if possibletjw2007-02-164-2/+27
| | | | | | | when generating the qkey file git-svn-id: svn://svn.icculus.org/quake3/trunk@1046 edf5b092-35ff-0310-97b2-ce42778d08ea
* * fix q3lcc warning message due to an extra ; that slipped in at rev 1023tjw2007-02-151-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1045 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3019) adds the cvar cl_guidServerUniq (defaults to 1). When set totjw2007-02-122-5/+16
| | | | | | | | non-zero, cl_guid will be unique for each server that the client connects to git-svn-id: svn://svn.icculus.org/quake3/trunk@1041 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Fix loads of format string bugsthilo2007-01-242-4/+4
| | | | | | | - Fix locally looping sounds, thanks to Timbo git-svn-id: svn://svn.icculus.org/quake3/trunk@1037 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 2977) use MSVC compatiable pre-processors and also include <io.h> fortjw2007-01-191-12/+13
| | | | | | | int types git-svn-id: svn://svn.icculus.org/quake3/trunk@1034 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix window titles and crap, thanks woekele for pointing this out.zakk2007-01-141-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1029 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Fix two non-C-standard variable declarations.thilo2007-01-071-1/+1
| | | | | | | - Fix function name of vsnprintf for windows systems. git-svn-id: svn://svn.icculus.org/quake3/trunk@1027 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix buffer overflow and format string bug in auth server responseludwig2006-12-311-1/+1
| | | | | | | processing git-svn-id: svn://svn.icculus.org/quake3/trunk@1025 edf5b092-35ff-0310-97b2-ce42778d08ea
* - also check for point release pak filesludwig2006-12-301-15/+61
| | | | | | | | - make missing pak0 non fatal if fs_game != baseq3. This way total conversions like westernq3 work without Q3 data. git-svn-id: svn://svn.icculus.org/quake3/trunk@1024 edf5b092-35ff-0310-97b2-ce42778d08ea
* - tag more functions with gnu format attributeludwig2006-12-305-17/+15
| | | | | | | - fix format string bugs. still some left git-svn-id: svn://svn.icculus.org/quake3/trunk@1023 edf5b092-35ff-0310-97b2-ce42778d08ea
* don't use intermediate array for sorting pakfiles. avoids theludwig2006-12-301-14/+3
| | | | | | | MAX_PAKFILES limitation git-svn-id: svn://svn.icculus.org/quake3/trunk@1022 edf5b092-35ff-0310-97b2-ce42778d08ea
* include offending string in error message for varables that containludwig2006-12-301-31/+15
| | | | | | | blacklisted characters git-svn-id: svn://svn.icculus.org/quake3/trunk@1021 edf5b092-35ff-0310-97b2-ce42778d08ea
* Changes to build defines for Solaris on i86pc. Minor fix to q_platform.h for ↵coyote2006-11-301-1/+1
| | | | | | Solaris. git-svn-id: svn://svn.icculus.org/quake3/trunk@995 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Remove "server crashed" message on server shutdown caused by local client ↵thilo2006-10-271-7/+7
| | | | | | | | | disconnect. - Stop demo recording on a new gamestate packet so the demo won't end with a new level load. git-svn-id: svn://svn.icculus.org/quake3/trunk@956 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Increased the number of registers used for the opStack in the PPC vm fromtjw2006-09-241-5/+11
| | | | | | | | | 12 to 16. This is cannot be increased any further without major changes (there only 32 General Purporse Registers). Anyway, his change allows the cgame.qvm from the excessiveplus mod to work with ioquake3 on a PPC. git-svn-id: svn://svn.icculus.org/quake3/trunk@916 edf5b092-35ff-0310-97b2-ce42778d08ea
* * add cURL support for HTTP/FTP downloading (bug 2661)tjw2006-09-111-0/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@898 edf5b092-35ff-0310-97b2-ce42778d08ea
* Go back to rev. 874. ATM, there is no good way to make FS_Restart() behave ↵thilo2006-08-283-11/+7
| | | | | | as it was originally described. git-svn-id: svn://svn.icculus.org/quake3/trunk@880 edf5b092-35ff-0310-97b2-ce42778d08ea
* More fixes for the FS_Shutdown change. Declare qconsole.log as closed before ↵thilo2006-08-283-2/+5
| | | | | | | | | FS_Shutdown closes all files. git-svn-id: svn://svn.icculus.org/quake3/trunk@879 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix crash when recording to files and the map changes. Was caused by new, ↵thilo2006-08-281-3/+4
| | | | | | | | | correct, behaviour of FS_Restart() which would close the files before they'd be closed by the client. git-svn-id: svn://svn.icculus.org/quake3/trunk@878 edf5b092-35ff-0310-97b2-ce42778d08ea
* There are actually files that can have a length of 0 so this in-use-check ↵thilo2006-08-271-1/+1
| | | | | | was just wrong. git-svn-id: svn://svn.icculus.org/quake3/trunk@875 edf5b092-35ff-0310-97b2-ce42778d08ea
* * moved SVN_VERSION #ifdef from client.h to q_shared.h so dedicated servertjw2006-08-261-0/+3
| | | | | | | builds when svn version cannot be detected git-svn-id: svn://svn.icculus.org/quake3/trunk@872 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Print the SVN version string in Com_Init()tjw2006-08-251-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@869 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Revert version to 1.33 againtma2006-08-221-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@860 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Add device enumeration support on windows and make "Generic Software" new ↵thilo2006-08-192-0/+10
| | | | | | | | | | default device as that one seems to work more reliably on many platforms. - Add shfolder.lib library to dependencies in MSVC project files - update documentation for OpenAL changes. git-svn-id: svn://svn.icculus.org/quake3/trunk@853 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix 100% CPU usage on idle dedicated servers.thilo2006-08-181-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@850 edf5b092-35ff-0310-97b2-ce42778d08ea
* bug 2723tjw2006-08-161-4/+0
| | | | | | | | | * replaced my cheap hack to search current working dir on OS X with a more complex hack that detects the .app bundle directory structure. This is so the game data dirs do not need to be inside of the .app bundle btw. git-svn-id: svn://svn.icculus.org/quake3/trunk@844 edf5b092-35ff-0310-97b2-ce42778d08ea
* bug 2723tjw2006-08-021-0/+4
| | | | | | | | | | | | | | * adds a shell script ./make-macosx-ub.sh that builds Mac OS X Universal Binary * fixes Mac OS X x86 VM crashes (-mstackrealign) * adds current working directory to the search path on Mac OS X to make working with .app bundles easier * various tweaks to make ioquake3 build against the 10.2 SDK * changed default OpenAL .dylib location to the path of the one included with the Framework bundled in 10.4 (for USE_OPENAL_DLOPEN) * updated to a Universal libSDL-1.2.0.dylib git-svn-id: svn://svn.icculus.org/quake3/trunk@830 edf5b092-35ff-0310-97b2-ce42778d08ea
* bug 2810 once a latched cvar was changed it could not be reset to its ↵tjw2006-08-011-1/+5
| | | | | | original value git-svn-id: svn://svn.icculus.org/quake3/trunk@828 edf5b092-35ff-0310-97b2-ce42778d08ea
* looks like the interpreter was broken all the time. Didn't anyoneludwig2006-07-061-1/+1
| | | | | | | notice? git-svn-id: svn://svn.icculus.org/quake3/trunk@814 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Fix arbitrary cvar overwrite flaw: http://aluigi.altervista.org/adv.htmthilo2006-07-034-1/+39
| | | | | | | - Add myself to maintainer list :) git-svn-id: svn://svn.icculus.org/quake3/trunk@811 edf5b092-35ff-0310-97b2-ce42778d08ea
* * sv_minRate (from R1CH)tma2006-06-173-2/+74
| | | | | | | * [cl|sv]_packetdelay (from tjw) git-svn-id: svn://svn.icculus.org/quake3/trunk@808 edf5b092-35ff-0310-97b2-ce42778d08ea
* Remove chars with ascii value > 127 in MSG_ReadBigString too to make it ↵thilo2006-06-161-0/+4
| | | | | | correspond to the behaviour of WriteBigString. git-svn-id: svn://svn.icculus.org/quake3/trunk@806 edf5b092-35ff-0310-97b2-ce42778d08ea
* Little fix for the sanity check fix from previous rev...thilo2006-06-161-3/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@805 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Fix bug that allows a malicious server to write and overwrite any files in ↵thilo2006-06-161-11/+40
| | | | | | | | | | | the quake3 directory. Reported by Luigi Auriemma. - Moved directory traversal check to a more proper location. - Added a few sanity checks for checksum/pakname storage to fix a crash that can occur under certain circumstances. git-svn-id: svn://svn.icculus.org/quake3/trunk@804 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix client "freezes" if a user with ASCII characters > 127 enters a server. ↵thilo2006-06-111-0/+5
| | | | | | Reported by tjw git-svn-id: svn://svn.icculus.org/quake3/trunk@803 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed a crash in md4 routines when using them on files with zero length, ↵thilo2006-06-011-2/+2
| | | | | | reported by Lukasz Saduniowski. git-svn-id: svn://svn.icculus.org/quake3/trunk@795 edf5b092-35ff-0310-97b2-ce42778d08ea
* Correction in PowerPC JIT code. Fixes crash in server browser, etc, on Mac OS Xicculus2006-05-291-4/+4
| | | | | | | and probably PowerPC Linux, too...fixes Bugzilla #2519. git-svn-id: svn://svn.icculus.org/quake3/trunk@791 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix JIT compiler code execution on NX-protected win32 OSthilo2006-05-151-0/+18
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@780 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix bug that permits download of arbitrary files from a download enabled ↵thilo2006-05-081-8/+1
| | | | | | server by checking requested file name against the list of loaded pk3 files. See CVE-2006-2082 git-svn-id: svn://svn.icculus.org/quake3/trunk@777 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add string length checking to function COM_StripExtension. This fixes the ↵thilo2006-05-064-5/+5
| | | | | | | | | R_RemapShader buffer overflow exploit that can be found here: http://milw0rm.com/exploits/1750 git-svn-id: svn://svn.icculus.org/quake3/trunk@765 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Introduced various new typedefs for windows platform (int32_t, int64_t, ↵thilo2006-04-273-51/+39
| | | | | | | | | etc...) - Applied md5 64-bit safety patch by Tony White. git-svn-id: svn://svn.icculus.org/quake3/trunk@727 edf5b092-35ff-0310-97b2-ce42778d08ea
* - "baseq3" literal replacement patch (by Erik Auerswald) appliedthilo2006-04-262-2/+2
| | | | | | | | - Commented setting of the cl_guid cvar because md5.c is not 64-bit safe. git-svn-id: svn://svn.icculus.org/quake3/trunk@726 edf5b092-35ff-0310-97b2-ce42778d08ea
* Replaced various "baseq3" strings with the centrally defined BASEGAME macro.thilo2006-04-262-6/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@724 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix didn't work yet because it didn't use the buffer where the filename ↵thilo2006-04-231-1/+1
| | | | | | extension chop-off is done. D'oh! git-svn-id: svn://svn.icculus.org/quake3/trunk@722 edf5b092-35ff-0310-97b2-ce42778d08ea