aboutsummaryrefslogtreecommitdiffstats
path: root/code
Commit message (Collapse)AuthorAgeFilesLines
* - tweak enumeration support, remove win32 dependencythilo2006-08-192-19/+6
| | | | | | | - fix two typos in status message in snd_main.c git-svn-id: svn://svn.icculus.org/quake3/trunk@854 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Add device enumeration support on windows and make "Generic Software" new ↵thilo2006-08-194-7/+92
| | | | | | | | | | 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
* The server should still process network packages for keeping the package ↵thilo2006-08-181-1/+1
| | | | | | queue empty. git-svn-id: svn://svn.icculus.org/quake3/trunk@852 edf5b092-35ff-0310-97b2-ce42778d08ea
* Tweak the select() stuff a bit still.thilo2006-08-181-7/+7
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@851 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix 100% CPU usage on idle dedicated servers.thilo2006-08-183-9/+38
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@850 edf5b092-35ff-0310-97b2-ce42778d08ea
* Added code/unix/MacSupport/ which currently includes a script and resource filetjw2006-08-162-0/+290
| | | | | | | that can add id's EULA to a .dmg file git-svn-id: svn://svn.icculus.org/quake3/trunk@849 edf5b092-35ff-0310-97b2-ce42778d08ea
* bug 2723tjw2006-08-162-5/+35
| | | | | | | | | * 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
* * qvm files no longer installed by "make copyfiles"tma2006-08-136-5/+20
| | | | | | | | | | | | * Loopback clients only get snapshots at the server frame rate now (Anonymous <nkylqinhvgcbyl@mailinator.com>) * JPEG chroma subsampling disabled if the quality value is >= 85 (Anonymous <nkylqinhvgcbyl@mailinator.com>) * cl_lanForcePackets. When set to 0 (default is 1) the cl_maxpackets setting will be ignored if on a LAN. (Anonymous <nkylqinhvgcbyl@mailinator.com>) git-svn-id: svn://svn.icculus.org/quake3/trunk@838 edf5b092-35ff-0310-97b2-ce42778d08ea
* bug 2747tjw2006-08-031-1/+5
| | | | | | | | | | * it turns out Apple's OpenAL only allows for 64 alSource's by default http://opensource.creative.com/pipermail/openal/2005-October/008893.html This was the main cause of the Mac OS X OpenAL probem since we were using 128 as MAX_SRC git-svn-id: svn://svn.icculus.org/quake3/trunk@833 edf5b092-35ff-0310-97b2-ce42778d08ea
* bug 2747tjw2006-08-031-13/+10
| | | | | | | | | | * open music stream in S_AL_StartBackgroundTrack() instead of relying on S_AL_MusicProcess() to open it. This allows S_AL_MusicProcess() to return early when called whenever there is no open music stream to prevent a segfault. git-svn-id: svn://svn.icculus.org/quake3/trunk@832 edf5b092-35ff-0310-97b2-ce42778d08ea
* bug 2723tjw2006-08-025-1/+16
| | | | | | | | | | | | | | * 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 2813tjw2006-08-011-1/+1
| | | | | | | | * fixed bug with new win32 home path detection * added SHFolder.lib linking to the mingw build for win98/win95 compat git-svn-id: svn://svn.icculus.org/quake3/trunk@829 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
* * Windows home directory support (tjw)tma2006-08-012-1/+21
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@827 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to Windows renderer deadlock (bug #2767, Daniel Deptford)tma2006-07-311-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@826 edf5b092-35ff-0310-97b2-ce42778d08ea
* Another patch to make uncompressed AVI write in RGB24 format by anonymous ↵thilo2006-07-312-10/+9
| | | | | | virtualdub sympathiser. git-svn-id: svn://svn.icculus.org/quake3/trunk@825 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix from the VirtualDub people which should make avi files created with the ↵thilo2006-07-312-16/+20
| | | | | | video command playable with numerous windows players. git-svn-id: svn://svn.icculus.org/quake3/trunk@824 edf5b092-35ff-0310-97b2-ce42778d08ea
* Changed the demofile slot finder to use FS_FileExists instead of FS_ReadFile ↵thilo2006-07-301-3/+1
| | | | | | to find a free filename. git-svn-id: svn://svn.icculus.org/quake3/trunk@823 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix wrong demo filename when all 9999 demo*.dm_64 file slots have been written.thilo2006-07-301-4/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@822 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed shit commited by myself.thilo2006-07-301-1/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@821 edf5b092-35ff-0310-97b2-ce42778d08ea
* Revert "fix" because it was based on wrong assumptions and actually doesn't ↵thilo2006-07-171-1/+1
| | | | | | fix anything at all. git-svn-id: svn://svn.icculus.org/quake3/trunk@817 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix wrong means of death message in server log.thilo2006-07-091-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@815 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 critical buffer overflow in cgame, see exploit at ↵thilo2006-07-061-2/+2
| | | | | | http://www.milw0rm.com/exploits/1977 git-svn-id: svn://svn.icculus.org/quake3/trunk@813 edf5b092-35ff-0310-97b2-ce42778d08ea
* - print warning if server tries to set cvars it shouldn't setludwig2006-07-051-1/+4
| | | | | | | - make warnings yellow git-svn-id: svn://svn.icculus.org/quake3/trunk@812 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Fix arbitrary cvar overwrite flaw: http://aluigi.altervista.org/adv.htmthilo2006-07-035-3/+60
| | | | | | | - Add myself to maintainer list :) git-svn-id: svn://svn.icculus.org/quake3/trunk@811 edf5b092-35ff-0310-97b2-ce42778d08ea
* * OpenAL bug fix (from Josh Weisskopf)tma2006-06-171-0/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@810 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Better SDL joystick support (from Erik Auerswald)tma2006-06-171-20/+121
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@809 edf5b092-35ff-0310-97b2-ce42778d08ea
* * sv_minRate (from R1CH)tma2006-06-178-2/+90
| | | | | | | * [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-162-18/+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
* Fix remotely exploitable parse download overflow reported by Luigi Auriemma.thilo2006-06-041-8/+20
| | | | | | | | See http://lists.grok.org.uk/pipermail/full-disclosure/2006-June/046578.html for the advisory. git-svn-id: svn://svn.icculus.org/quake3/trunk@796 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
* Forgot to check for windows-style path seperator in precaution against ↵thilo2006-06-011-1/+1
| | | | | | directory traversal abuse. git-svn-id: svn://svn.icculus.org/quake3/trunk@794 edf5b092-35ff-0310-97b2-ce42778d08ea
* Partially applied patch from Joerg Dietrich. Fixes:thilo2006-06-012-6/+18
| | | | | | | | - incorrect handling of file names when opening sound files by name without extension - byte endian issues in ogg decoder. git-svn-id: svn://svn.icculus.org/quake3/trunk@793 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
* Prevent servers from making clients download files that are written to ↵thilo2006-05-281-0/+7
| | | | | | non-quake3 directories. git-svn-id: svn://svn.icculus.org/quake3/trunk@790 edf5b092-35ff-0310-97b2-ce42778d08ea
* Applied parts of Josh Weisskopf's patch to make naming of executables ↵thilo2006-05-161-7/+7
| | | | | | consistent with Linux. git-svn-id: svn://svn.icculus.org/quake3/trunk@783 edf5b092-35ff-0310-97b2-ce42778d08ea
* Added two missing source files to the MSVC project filesthilo2006-05-161-0/+59
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@782 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed missing initialization of idPack and missionPack variables which may ↵thilo2006-05-151-1/+1
| | | | | | result in failure to autodownload files from the server even if legitimate. git-svn-id: svn://svn.icculus.org/quake3/trunk@781 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
* Corrected #include directives of openal headers for MSVC.thilo2006-05-131-2/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@779 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix bug that permits download of arbitrary files from a download enabled ↵thilo2006-05-082-15/+46
| | | | | | 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
* * Fix the MinGW build. Ugh.tma2006-05-061-1/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@775 edf5b092-35ff-0310-97b2-ce42778d08ea
* Added return; statement so it doesn't complain when it receives a ↵thilo2006-05-061-0/+2
| | | | | | remapShader command. git-svn-id: svn://svn.icculus.org/quake3/trunk@774 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix remapShader command in cgame and tweak it in ui.thilo2006-05-062-4/+18
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@773 edf5b092-35ff-0310-97b2-ce42778d08ea
* add update_url. Maybe we need it in the futureludwig2006-05-061-0/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@772 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add string length checking to function COM_StripExtension. This fixes the ↵thilo2006-05-0613-22/+22
| | | | | | | | | 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