aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
Commit message (Collapse)AuthorAgeFilesLines
* 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
* * Oopstma2006-04-231-0/+299
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@721 edf5b092-35ff-0310-97b2-ce42778d08ea
* * cl_guid for semi-reliable server authentication (from tjw)tma2006-04-221-0/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@720 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix prohibits illegal downloading of id PK3 files from servers. That bug is ↵thilo2006-04-221-0/+7
| | | | | | hit by *every* official server release from ID. git-svn-id: svn://svn.icculus.org/quake3/trunk@718 edf5b092-35ff-0310-97b2-ce42778d08ea
* - botlib logfile now gets stored in the fs_game directory in fs_homepath. ↵thilo2006-04-211-5/+16
| | | | | | | | | | | (patch from Erik Auerswald) - Added proper error handling when fopening qconsole.log - Fixed bug where r_chat.c gets loaded in botlib even when bot_nochat is 1. git-svn-id: svn://svn.icculus.org/quake3/trunk@715 edf5b092-35ff-0310-97b2-ce42778d08ea
* Was that intentional? (version change)zakk2006-04-191-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@709 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Change window titletma2006-03-241-1/+5
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@666 edf5b092-35ff-0310-97b2-ce42778d08ea
* accept pak0.pk3 in demoq3/ as wellludwig2006-03-081-1/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@629 edf5b092-35ff-0310-97b2-ce42778d08ea
* use mmap to allocate memory for generated code to be able to set PROT_EXECludwig2006-03-043-50/+49
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@616 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Displace the '\n's passed to SV_Shutdowntma2006-02-281-4/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@594 edf5b092-35ff-0310-97b2-ce42778d08ea
* try to fix msvc buildludwig2006-02-262-2/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@588 edf5b092-35ff-0310-97b2-ce42778d08ea
* o rlyfloam2006-02-201-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@570 edf5b092-35ff-0310-97b2-ce42778d08ea
* Bump version number.floam2006-02-201-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@569 edf5b092-35ff-0310-97b2-ce42778d08ea
* - change long to intptr_t for 64bit windows compatabilityludwig2006-02-187-31/+38
| | | | | | | | - change vmMain arguments back to int. 64bit types are apparently not needed there. Only the syscall function needs them. git-svn-id: svn://svn.icculus.org/quake3/trunk@550 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to a memory leak in CM_ValidateFacettma2006-01-272-1/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@529 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Persistent console historytma2006-01-244-5/+48
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@522 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Only check the checksum on baseq3 pak0.pk3tma2006-01-221-1/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@515 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Overhaul of console autocompletiontma2006-01-226-71/+324
| | | | | | | | | | - No longer does weird stuff like move the cursor inappropriately - Autocomplete works with compound commands - Special autocomplete on some commands e.g. \map, \demo - Removed various hacks used to counter the original autocomplete code git-svn-id: svn://svn.icculus.org/quake3/trunk@514 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix a bug with command/cvar autocompletiontma2006-01-211-1/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@512 edf5b092-35ff-0310-97b2-ce42778d08ea