Commit graph

562 commits

Author SHA1 Message Date
Tony J. White =
583745769d bug 2810 once a latched cvar was changed it could not be reset to its original value 2006-08-01 16:51:13 +00:00
Tim Angus
635e8bc326 * Windows home directory support (tjw) 2006-08-01 11:41:49 +00:00
Tim Angus
13b119a40c * Fix to Windows renderer deadlock (bug #2767, Daniel Deptford) 2006-07-31 19:05:14 +00:00
Thilo Schulz
5efd7c8c36 Another patch to make uncompressed AVI write in RGB24 format by anonymous virtualdub sympathiser. 2006-07-31 15:32:59 +00:00
Thilo Schulz
3a1c4aa457 Fix from the VirtualDub people which should make avi files created with the video command playable with numerous windows players. 2006-07-31 13:05:15 +00:00
Thilo Schulz
3afbcc9854 Changed the demofile slot finder to use FS_FileExists instead of FS_ReadFile to find a free filename. 2006-07-30 14:42:15 +00:00
Thilo Schulz
9fd1a47819 Fix wrong demo filename when all 9999 demo*.dm_64 file slots have been written. 2006-07-30 14:11:51 +00:00
Thilo Schulz
c6bf30ea7f Fixed shit commited by myself. 2006-07-30 11:09:45 +00:00
Thilo Schulz
2c14f02ee5 Revert "fix" because it was based on wrong assumptions and actually doesn't fix anything at all. 2006-07-17 19:15:36 +00:00
Thilo Schulz
57a5f2571a Fix wrong means of death message in server log. 2006-07-09 16:36:33 +00:00
Ludwig Nussel
6327f1ce47 looks like the interpreter was broken all the time. Didn't anyone
notice?
2006-07-06 09:25:17 +00:00
Thilo Schulz
fc244c97ef Fix critical buffer overflow in cgame, see exploit at http://www.milw0rm.com/exploits/1977 2006-07-06 00:37:56 +00:00
Ludwig Nussel
a24ffc0dd5 - print warning if server tries to set cvars it shouldn't set
- make warnings yellow
2006-07-05 20:30:53 +00:00
Thilo Schulz
7d51d75b05 - Fix arbitrary cvar overwrite flaw: http://aluigi.altervista.org/adv.htm
- Add myself to maintainer list :)
2006-07-03 21:37:50 +00:00
Tim Angus
d42b87ae87 * OpenAL bug fix (from Josh Weisskopf) 2006-06-17 21:01:57 +00:00
Tim Angus
ce0100138c * Better SDL joystick support (from Erik Auerswald) 2006-06-17 20:30:38 +00:00
Tim Angus
7d657ba62f * sv_minRate (from R1CH)
* [cl|sv]_packetdelay (from tjw)
2006-06-17 19:19:34 +00:00
Thilo Schulz
394c09fa26 Remove chars with ascii value > 127 in MSG_ReadBigString too to make it correspond to the behaviour of WriteBigString. 2006-06-16 21:44:44 +00:00
Thilo Schulz
e02617ee89 Little fix for the sanity check fix from previous rev... 2006-06-16 20:47:29 +00:00
Thilo Schulz
813a6ecdc3 - Fix bug that allows a malicious server to write and overwrite any files in 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.
2006-06-16 20:38:08 +00:00
Thilo Schulz
c9c15562ea Fix client "freezes" if a user with ASCII characters > 127 enters a server. Reported by tjw 2006-06-11 14:56:58 +00:00
Thilo Schulz
99abd01c2f Fix remotely exploitable parse download overflow reported by Luigi Auriemma.
See http://lists.grok.org.uk/pipermail/full-disclosure/2006-June/046578.html
for the advisory.
2006-06-04 13:45:53 +00:00
Thilo Schulz
84296bfc2c Fixed a crash in md4 routines when using them on files with zero length, reported by Lukasz Saduniowski. 2006-06-01 00:58:19 +00:00
Thilo Schulz
9af85d9378 Forgot to check for windows-style path seperator in precaution against directory traversal abuse. 2006-06-01 00:23:46 +00:00
Thilo Schulz
503c0a22c6 Partially applied patch from Joerg Dietrich. Fixes:
- incorrect handling of file names when opening sound files by name without extension
 - byte endian issues in ogg decoder.
2006-06-01 00:14:56 +00:00
Ryan C. Gordon
997dffc649 Correction in PowerPC JIT code. Fixes crash in server browser, etc, on Mac OS X
and probably PowerPC Linux, too...fixes Bugzilla #2519.
2006-05-29 03:02:54 +00:00
Thilo Schulz
856a397e8c Prevent servers from making clients download files that are written to non-quake3 directories. 2006-05-28 14:36:37 +00:00
Thilo Schulz
d2b5dd1e8a Applied parts of Josh Weisskopf's patch to make naming of executables consistent with Linux. 2006-05-16 07:11:39 +00:00
Thilo Schulz
e5c0581d52 Added two missing source files to the MSVC project files 2006-05-16 07:03:36 +00:00
Thilo Schulz
6fe78df757 Fixed missing initialization of idPack and missionPack variables which may result in failure to autodownload files from the server even if legitimate. 2006-05-15 19:50:44 +00:00
Thilo Schulz
a08a539c10 Fix JIT compiler code execution on NX-protected win32 OS 2006-05-15 15:57:02 +00:00
Thilo Schulz
27df5fca31 Corrected #include directives of openal headers for MSVC. 2006-05-13 12:18:43 +00:00
Thilo Schulz
60293f49ee Fix bug that permits download of arbitrary files from a download enabled server by checking requested file name against the list of loaded pk3 files. See CVE-2006-2082 2006-05-08 19:53:41 +00:00
Tim Angus
fda7db7619 * Fix the MinGW build. Ugh. 2006-05-06 16:01:41 +00:00
Thilo Schulz
e1c5be3ab0 Added return; statement so it doesn't complain when it receives a remapShader command. 2006-05-06 12:11:24 +00:00
Thilo Schulz
5ebb75e651 Fix remapShader command in cgame and tweak it in ui. 2006-05-06 10:54:55 +00:00
Ludwig Nussel
63d2010914 add update_url. Maybe we need it in the future 2006-05-06 08:46:21 +00:00
Thilo Schulz
d21411452e Add string length checking to function COM_StripExtension. This fixes the R_RemapShader buffer overflow exploit that can be found here:
http://milw0rm.com/exploits/1750
2006-05-06 01:56:24 +00:00
Thilo Schulz
2675960c2c removed a space too much after "say_team: " chat prompt. 2006-05-04 15:37:08 +00:00
Thilo Schulz
1847c321f0 - Added SV_Shutdown to Linux signal handler to ensure that clients don't hang when server gets killed, as suggested by Tony J. White
- Added newline to final message sent to clients.
- Added check for whether client is running at all before CL_Shutdown runs through.
2006-05-04 13:59:58 +00:00
Thilo Schulz
2583351211 - Replaced SV_GetPlayerByName with SV_GetPlayerByHandle that supports lookup of client_t structures by playernum, too.
That means the ban and kick commands will now accept the playernum - as seen in the status command - as argument.
2006-05-02 21:20:07 +00:00
Thilo Schulz
7b6fe90aad Fix "Net_CompareAdr: Bad address type" error message when starting a new map with bots. 2006-05-02 17:53:26 +00:00
Ludwig Nussel
8895df0925 - remove leftover anistropic filtering variables from glconfig_t
- check size of glconfig_t to prevent accidential ABI breakage in the future
2006-04-30 15:00:39 +00:00
Thilo Schulz
12a2b7694a - Fixed incompatibility to original VMs introduced by anisotropic filtering patch.
- Removed dependency of flares from tr.identityLight because they are barely visible with r_overbrightbits set to 1
2006-04-30 14:32:56 +00:00
Thilo Schulz
82c4c70535 - Fix r_overBrightBits variable getting ignored on Linux
- Replaced SDL_SetGamma by SDL_SetGammaRamp with gamma behaviour now matching win_gamma.c
2006-04-30 13:50:13 +00:00
Tim Angus
d475dfef97 * Yet another tweak to the long server uptime bug fix 2006-04-28 17:31:02 +00:00
Thilo Schulz
55453fd919 Fix for skybox blacklines bug on non-SDL compilations. 2006-04-27 14:48:35 +00:00
Thilo Schulz
235e2c215f - Introduced various new typedefs for windows platform (int32_t, int64_t, etc...)
- Applied md5 64-bit safety patch by Tony White.
2006-04-27 13:39:41 +00:00
Thilo Schulz
c116695ea7 - "baseq3" literal replacement patch (by Erik Auerswald) applied
- Commented setting of the cl_guid cvar because md5.c is not 64-bit safe.
2006-04-26 13:36:58 +00:00
Thilo Schulz
dbdc92d4be strupr'ing demo filenames breaks demo selection on case sensitive file systems. 2006-04-26 11:31:18 +00:00
Thilo Schulz
70fca10af2 Replaced various "baseq3" strings with the centrally defined BASEGAME macro. 2006-04-26 11:27:12 +00:00
Ludwig Nussel
88b2b82b00 SunOS -> sunos (patch by Vincent Cojot) 2006-04-23 20:59:06 +00:00
Thilo Schulz
31fdab187c Fix didn't work yet because it didn't use the buffer where the filename extension chop-off is done. D'oh! 2006-04-23 20:04:42 +00:00
Tim Angus
56294e2da8 * Oops 2006-04-23 18:04:51 +00:00
Tim Angus
8aecee5158 * cl_guid for semi-reliable server authentication (from tjw) 2006-04-22 22:21:56 +00:00
Tim Angus
68b9eb3fba * Anisotropic texture filtering (from Echon) 2006-04-22 22:14:15 +00:00
Thilo Schulz
40d5eee8ef Fix prohibits illegal downloading of id PK3 files from servers. That bug is hit by *every* official server release from ID. 2006-04-22 18:24:50 +00:00
Tim Angus
ef51968654 * Fix to a bug introduced by the fix to the long server uptime bug 2006-04-22 15:57:43 +00:00
Thilo Schulz
e7daf33d8e - botlib logfile now gets stored in the fs_game directory in fs_homepath. (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.
2006-04-21 17:04:21 +00:00
Thilo Schulz
57cc0f901e Still some little improvements to flares. 2006-04-20 16:52:39 +00:00
Thilo Schulz
d18f7bb738 Removed redundant assignment. 2006-04-20 11:26:27 +00:00
Thilo Schulz
c552a46e5f Fix for flares. Can be enabled by setting r_flares 1 2006-04-20 04:43:43 +00:00
Zachary Slater
9ee853343e Was that intentional? (version change) 2006-04-19 22:51:20 +00:00
Tim Angus
0018df2cfc * Output botlib.log in a sensible place (from Erik Auerswald) 2006-04-14 20:35:47 +00:00
Tim Angus
131fb9933f * Fix to bug involving the port value of master server heartbeats (from Thilo
Schulz)
2006-04-14 20:28:28 +00:00
Tim Angus
21e0bdd993 * Fix to (static!) buffer overflow in renderer (from Thilo Schulz) 2006-04-14 20:15:58 +00:00
Tim Angus
a235245e35 * Fixes to MDR implementation from Thilo Schulz 2006-04-14 20:13:49 +00:00
Tim Angus
2b75754cdb * Removed strange MacOS X #ifdeffery from cl_cin.c (from tjw) 2006-04-14 20:11:42 +00:00
Tim Angus
47b03b0cc5 * Fix network init crashes on OS X 10.4 (from tjw) 2006-04-14 20:08:36 +00:00
Tim Angus
b191cc056c * Fix backspace on MacOS X (from tjw) 2006-04-14 20:02:11 +00:00
Tim Angus
a596185844 * Fixed radix sort on big endian platforms (from tjw, blame Timbo for the bug) 2006-04-14 19:54:56 +00:00
Aaron Gyes
f6203a1e13 Logo stuff on Media page, change the icon to be standard svg instead of inkscape svg. 2006-03-26 01:48:38 +00:00
Tim Angus
d9cb8cb083 * Shift no longer modifies bound keys. Use in_shiftedKeys for the old
behaviour.
2006-03-24 21:46:07 +00:00
Tim Angus
f63472025f * Change window title 2006-03-24 17:28:27 +00:00
Tim Angus
4f55e9f989 * Fix a warning introduced by the recent LCC fix 2006-03-24 16:28:07 +00:00
Aaron Gyes
e31d46651d webspace is separate now, so generate one splash image. 2006-03-24 07:29:52 +00:00
Tim Angus
ffc78a67ba * LCC bug fix from the how-the-fuck-did-that-ever-work? department 2006-03-21 21:58:39 +00:00
Tim Angus
5028c174ba * Solaris packager tweak 2006-03-15 22:42:27 +00:00
Tim Angus
d72fd2e6e7 * Video export doesn't crap out with sv_pure 1 anymore
* Video export doesn't crap out when writing > 2Gb files anymore
2006-03-15 22:41:38 +00:00
Tim Angus
8b41386905 * Solaris package patch 2006-03-14 22:26:35 +00:00
Ludwig Nussel
be6ca402e8 accept pak0.pk3 in demoq3/ as well 2006-03-08 11:02:20 +00:00
Ludwig Nussel
da1fabdd91 - fix icon
- remove GPL license popup
- make demo script optional
2006-03-05 19:12:20 +00:00
Ludwig Nussel
65c1d9a7a5 merge fixes from ioquake3.sh 2006-03-05 19:11:19 +00:00
Ludwig Nussel
39f2e449b6 use mmap to allocate memory for generated code to be able to set PROT_EXEC 2006-03-04 11:14:44 +00:00
Tim Angus
4ec0c94828 * Displace the '\n's passed to SV_Shutdown 2006-02-28 23:01:23 +00:00
Tim Angus
ef4dad1875 * Entity sounds on the player entity are now AL_SOURCE_RELATIVE
* Thus no need to s_alSpatEntOrigin anymore
2006-02-28 21:52:25 +00:00
Tim Angus
0f8c7da187 * Lets try that again 2006-02-26 21:22:12 +00:00
Ludwig Nussel
a99e721711 try to fix msvc build 2006-02-26 20:01:45 +00:00
Tim Angus
40a5ee007f * Sound related bug fixes from Thilo Schulz 2006-02-26 18:47:39 +00:00
Tim Angus
c93d8fc185 * Resolve symlinks to the binary. This prevents the situation where a symlink
to ioq3 in e.g. /usr/local/bin/ cannot locate the data files since it thinks
  /usr/local/bin/ is the directory the actual binary sits.
2006-02-26 18:44:15 +00:00
Tim Angus
d5509dcd35 * Fix to a bug where servers with long uptimes (~27 days) would consume 100%
CPU if the running game did not set the nextmap cvar. This patch instead uses
  the mapname server cvar, which is guaranteed to be defined.
2006-02-23 23:10:54 +00:00
Tim Angus
0e0aac2cb6 * Change the default for s_alSpatEntOrigin. I need to think of a way to do the
same thing without degrading the sound quality or changing the API.
2006-02-23 20:43:34 +00:00
Tim Angus
cb1a097db7 * Fix to half of bug #2600 (Refuse to load RIFF files with less than 8 bits per
sample)
2006-02-21 22:29:29 +00:00
Ludwig Nussel
6fd0d60628 fallback to 32bit binaries on 64bit biarchs if available 2006-02-21 22:13:36 +00:00
Tim Angus
659ded3a41 * Fix to bug #2599 (fullscreen cinematics) 2006-02-21 21:29:26 +00:00
Aaron Gyes
fe210b1f6b Angst's installer + icon 2006-02-20 23:08:59 +00:00
Aaron Gyes
966ffaa0f2 o rly 2006-02-20 22:08:23 +00:00
Aaron Gyes
cc9ead2fd7 Bump version number. 2006-02-20 22:04:16 +00:00
Aaron Gyes
f7642afeea Clean up ARGB 16*16 icon too. 2006-02-20 21:13:19 +00:00
Aaron Gyes
c5a0d40f40 Redone 16*16 icons by hand, they should be less nasty now. 2006-02-20 20:14:07 +00:00
Aaron Gyes
797df27e23 Hot new sexy Windows icon. 2006-02-20 06:59:48 +00:00
Aaron Gyes
c5bc92294b Generate new 32x32 raster image from new svg, kill off old uglies. 2006-02-18 19:28:50 +00:00
Aaron Gyes
20ee886a29 <Timbo> you should probably strip that 2006-02-18 19:13:43 +00:00
Aaron Gyes
4b4a01001f Kill text node 2006-02-18 19:08:25 +00:00
Ludwig Nussel
4c242115dc - change long to intptr_t for 64bit windows compatability
- change vmMain arguments back to int. 64bit types are apparently not
  needed there. Only the syscall function needs them.
2006-02-18 19:07:23 +00:00
Ludwig Nussel
e129637b5a 64bit fix: VM_Call return value is a pointer 2006-02-18 19:03:06 +00:00
Aaron Gyes
058c2af2ce Added gradients 2006-02-18 19:02:34 +00:00
Tim Angus
4fe0154cbe * Added Sander van Loon's svg icon 2006-02-18 11:19:32 +00:00
Tim Angus
26b4ed2f7d * Fix to a woopsie 2006-02-13 18:17:08 +00:00
Tim Angus
932ca8027c * OpenAL now respatializes using the player entity origin instead of the view
origin by default. The old behaviour is available by setting
  s_alSpatEntOrigin to 0.
2006-02-12 10:43:37 +00:00
Tim Angus
3e803b40d2 * See bug #2583 2006-02-12 10:05:32 +00:00
Tim Angus
1911b2a45a * OS X/SDL mouse sensitivity fix 2006-02-08 18:06:20 +00:00
Tim Angus
ef19ccd56f * Removed (unintentional) C99 code 2006-02-07 18:36:17 +00:00
Maik
ca7b79c0fa * updated q3asm msvc prj. 2006-02-07 13:00:44 +00:00
Maik
5b12a7a468 * enabled openal as default in msvc. 2006-02-07 12:47:12 +00:00
Maik
602743a25b * workaround for msvc compiler bug. 2006-02-07 12:26:53 +00:00
Tim Angus
cb76ec0f2d * Do not cull non-ascii keyboard chars at the SDL level any more, these are
handled in cl_keys.c. (This fixes ctrl-c not working).
2006-02-04 14:11:53 +00:00
Tim Angus
2e19bdfb5d * Reimplement console history recall "bug" behaviour without the bug 2006-02-04 00:28:57 +00:00
Tim Angus
91b2b9297a * Fix to an obo bug in the console history recall code 2006-01-28 23:26:23 +00:00
Tim Angus
ab29f29495 * Fix to a memory leak in CM_ValidateFacet 2006-01-27 18:14:01 +00:00
Tim Angus
947ebb932e * SDL build no longer requires a vid_restart when changing r_fullscreen 2006-01-25 17:57:53 +00:00
Tim Angus
8a6be4aef4 * Persistent console history 2006-01-24 04:35:19 +00:00
Tim Angus
5a29e8df50 * Added code to sleep a bit when q3 has no focus and sleep a lot when it's
minimised (SDL only)
2006-01-23 00:24:56 +00:00
Tim Angus
704c151eb1 * Fix to an OpenAL "bug" involving Team Arena 2006-01-22 21:09:55 +00:00
Tim Angus
7b930770e7 * The use of va in the ansi color stuff was preventing developer 1 mode (and
probably various other things) from working properly
2006-01-22 19:38:50 +00:00
Tim Angus
3404fbac56 * Fix the operation of the delete key in *nix 2006-01-22 17:07:21 +00:00
Tim Angus
4ab96373e6 * Only check the checksum on baseq3 pak0.pk3 2006-01-22 17:05:43 +00:00
Tim Angus
c3f7915a8b * Overhaul of console autocompletion
- 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
2006-01-22 01:58:50 +00:00
Tim Angus
893629fb0f * Fix to ability to diabled Ogg Vorbis 2006-01-21 15:09:35 +00:00
Tim Angus
7913ec3c4b * Fix a bug with command/cvar autocompletion 2006-01-21 01:35:42 +00:00
Tim Angus
58c8175024 * Added Q_isnan for NaN tests with -ffast-math
* Fixed UT/OpenAL work around
2006-01-19 20:28:12 +00:00
Tim Angus
50a10f2690 * Some sloppily coded mods call the Q3 sound API with NaNs -- sanitise this 2006-01-19 17:25:55 +00:00
Maik
fc58fbbac7 cl_avi.c added to msvc project. 2006-01-19 16:43:06 +00:00
Tim Angus
da6fafaac7 * Removed advertising clause from BSD license as per mailing list discussion 2006-01-18 18:46:32 +00:00
Tim Angus
6a396f761f * Yet another MD4 implementation
* Removed Com_BlockChecksumkey and replaced its functionality in the calling
  function
2006-01-18 15:53:50 +00:00
Tim Angus
0856744622 * GPL MD4 implementation
* Removed obsolete compilation instructions from the id readme
* Removed MD4 license from the id readme
2006-01-18 01:20:42 +00:00
Ludwig Nussel
f4dc10d3f0 fix path to build directory 2006-01-17 20:14:43 +00:00
Tim Angus
fc8fcd7af5 * Don't try to auto record a demo while playing a demo 2006-01-16 04:00:30 +00:00
Tim Angus
ac01b3fdc8 * Patch from Tilman Sauerbeck that fixes some UI code that does not take
account of non-4:3 aspect ratios
2006-01-16 02:23:03 +00:00
Tim Angus
ede5c811c2 * Deleted the .lnt and .bat files in the code dir 2006-01-15 21:55:43 +00:00
Tim Angus
7b845a1741 * Move code/unix/Makefile to ./Makefile 2006-01-15 21:45:57 +00:00
Tim Angus
9f427d8852 * Fix a bug where q3cpp's include paths were not set correctly 2006-01-15 21:17:03 +00:00
Tim Angus
363c0d4eba * Fix to some warnings in linux_glimp.c 2006-01-15 19:15:33 +00:00
Tim Angus
d4bd2fd737 * Change defaults for s_alRolloff and s_alMinDistance 2006-01-15 15:45:12 +00:00
Tim Angus
b4898caac4 * Fix to a stupid bug I introduced whilst trying to be clever 2006-01-15 15:30:52 +00:00
Tim Angus
e74947be2c * x86 OS X support 2006-01-15 15:22:13 +00:00
Ryan C. Gordon
b06643f41d Fixed compiler warning about uninitialized variables. 2006-01-14 09:16:16 +00:00
Tim Angus
15c2c2ed89 * Remove some cruft from qasm.h 2006-01-13 21:44:05 +00:00
Ludwig Nussel
2a6c9bd2fd tell the linker that we want NX stack if possible 2006-01-13 21:40:51 +00:00
Tim Angus
216bda8cd7 * Patch from https://bugzilla.icculus.org/show_bug.cgi?id=2540 2006-01-13 20:54:07 +00:00