Commit graph

722 commits

Author SHA1 Message Date
Tony J. White =
5c4f7033ae (bug 3072) updated Mac OS X SDL .dylib file. still 1.2.11, but with a small
fix backported from SDL 1.3 related to fullscreen mode and minimize 
           buttons disapearing on existing windows on Mac OS X.
2007-06-07 03:10:29 +00:00
Tim Angus
2fe29575c4 * Remove silly MINGW_CFLAGS hack 2007-06-02 19:56:43 +00:00
Tim Angus
9030f1bdb1 * Whitespace :( 2007-05-29 19:24:11 +00:00
Tim Angus
4a82d86070 * Allow CC to be overridden externally to the Makefile
* Make cross-make-mingw.sh more generic using the above
* Update README to reflect changes
* Fix a couple of warnings in the Windows input layer
2007-05-29 19:22:24 +00:00
Tony J. White =
5aac275de2 * updated the included libSDL header files and Mac OS X lib to SDL 1.2.11 2007-05-22 03:46:11 +00:00
Tony J. White =
c1ed094e53 * (bug 2972) add r_swapInterval support to SDL client (if libSDL >= 1.2.10) 2007-05-22 03:42:32 +00:00
Tony J. White =
16a200d262 * (bug 3077) allow cURL to follow HTTP redirects (up to 5) 2007-05-22 02:24:10 +00:00
Thilo Schulz
1a381e7022 Adding a bit of commentary to the code. 2007-05-17 19:40:01 +00:00
Thilo Schulz
9597d684f9 Fix a potential crash bug on 64 bit systems in the botlib library. sizeof(bot_consolemessage_t) is different on 64 bit and 32 bit systems. 2007-05-17 19:30:02 +00:00
Tony J. White =
7d13d6cd3b * (bug 3066) rcon rate-limiting was not compatible with the eventual
integer overflow in Com_Milliseconds() (R1CH)
2007-05-10 01:39:58 +00:00
Tony J. White =
b5bf1280c1 * (bug 3018) Should not reset CVAR_CHEAT cvars when loading cgame/ui if they
are being loaded to play a demo.  This restores the normal
             "timedemo" cvar behaviour.
* (bug 3054) The "demo" command works properly now when connected to
             the local server
2007-04-05 15:26:15 +00:00
Tim Angus
de364863be * Silly tab filter breaking things 2007-04-01 13:42:03 +00:00
Tim Angus
fb58d8f123 * Move storage of console history from a cvar to a file in order to alleviate
security concerns
2007-04-01 13:38:17 +00:00
Tony J. White =
f9bb47d9af * (bug 2741) replace K_LAST_KEY with MAX_KEYS. K_LAST_KEY is now defined
at 256 for mod compatability reasons.  ioq3-only mods may
             chose to use MAX_KEYS for checking binds in order to get full
             key support, but at the cost of breaking compatability with
             older clients.

* (bug 2741) remove some lingering 256-key hardcoding

* properly check bounds of keynum in Key_IsDown(), Key_SetBinding(),
  and Key_GetBinding()
2007-03-22 22:03:00 +00:00
Tony J. White =
dce62fbcb4 * (bug 3065) fixed non-SDL X11 client crash on certain keys (e.g. XK_egrave ) 2007-03-19 21:50:42 +00:00
Thilo Schulz
1de9a065bf Remove cvar s_alMaxSpeakerDistance for the same task can better be achieved with s_alMaxDistance. 2007-03-17 15:54:37 +00:00
Tony J. White =
2218a4ea67 * (bug 3018) need to call Cvar_SetCheatState() after CG_INIT and UI_INIT to
override user-defined cvar values for CVAR_CHEAT cvars that
             could be registered in cgame and ui.
2007-03-02 17:32:22 +00:00
Tony J. White =
ddc848dced * use the Win2k gamma clamp thing on Vista too (raynorpat) 2007-03-01 22:02:25 +00:00
Tony J. White =
c6249fcc25 * (bug 3019) use the operating system's random number generator if possible
when generating the qkey file
2007-02-16 23:50:37 +00:00
Tony J. White =
8801b06a1e * fix q3lcc warning message due to an extra ; that slipped in at rev 1023 2007-02-15 15:50:14 +00:00
Tony J. White =
d580c54e2d * (bug 2741) Adds support in the SDL client for many keys that were not
recognized.  For example, F13, F14, F15, WINDOWS, SCROLLLOCK, CAPSLOCK,
  WORLD_0 - WORLD_95, etc. (Christophe Cavalaria)

* (bug 2741) Adds the hard-coded toggleConsole bind Shift-Escape

* (bug 2741) Adds detailed explaination of SDL keyboard handling differences
  in the README file.
2007-02-14 23:29:19 +00:00
Tony J. White =
da75e9fda8 * (bug 3027) don't trust the "ip" value in the userinfo string since a client
could set this.  disconnect (or disallow connection for) a client that
  has a userinfo string that's too full for "ip" to be added properly.
  (Richard Stanway)
2007-02-14 23:14:25 +00:00
Tony J. White =
2cddf1208d * (bug 3019) adds the cvar cl_guidServerUniq (defaults to 1). When set to
non-zero, cl_guid will be unique for each server that the client
  connects to
2007-02-12 18:52:15 +00:00
Tony J. White =
046e86a925 * (bug 3014) my revision 935 broke the sending of the kick/clientkick message
since SV_DropClient() tried to set the client's state to CS_ZOMBIE prior 
  to sending the message.
2007-02-01 22:24:45 +00:00
Thilo Schulz
5dc3b35b49 - Fix loads of format string bugs
- Fix locally looping sounds, thanks to Timbo
2007-01-24 21:23:21 +00:00
Ludwig Nussel
4b9df8d9e9 fix wrong use of strncat 2007-01-23 10:39:49 +00:00
Tony J. White =
cf2875e771 * (bug 2977) use MSVC compatiable pre-processors and also include <io.h> for
int types
2007-01-19 19:31:19 +00:00
Zachary Slater
c586def044 One more icculus.org/quake3 purge, should be the last...
Also one minor change to the website's get it page.
2007-01-14 18:33:03 +00:00
Zachary Slater
40655712ce Updated urls. 2007-01-14 18:12:09 +00:00
Zachary Slater
37bda478f9 Fix window titles and crap, thanks woekele for pointing this out. 2007-01-14 18:05:15 +00:00
Thilo Schulz
c1875302c2 - Fix two non-C-standard variable declarations.
- Fix function name of vsnprintf for windows systems.
2007-01-07 16:03:19 +00:00
Ludwig Nussel
8ca8d84591 fix buffer overflow and format string bug in auth server response
processing
2006-12-31 15:36:42 +00:00
Ludwig Nussel
f6e0c6fd19 - also check for point release pak files
- make missing pak0 non fatal if fs_game != baseq3. This way total
  conversions like westernq3 work without Q3 data.
2006-12-30 16:16:25 +00:00
Ludwig Nussel
8e82c3d605 - tag more functions with gnu format attribute
- fix format string bugs. still some left
2006-12-30 12:32:54 +00:00
Ludwig Nussel
c3a713832c don't use intermediate array for sorting pakfiles. avoids the
MAX_PAKFILES limitation
2006-12-30 12:19:53 +00:00
Ludwig Nussel
1bc190caf1 include offending string in error message for varables that contain
blacklisted characters
2006-12-30 12:13:25 +00:00
Ludwig Nussel
91e54c01ed using the function pointer time() doesn't make any sense. Passing down
the variable instead looks like the obvious fix.
2006-12-30 11:17:17 +00:00
Ludwig Nussel
739409973a kick bots by client number instead of name to avoid problems with
weird names (reported by 'DD')
2006-12-29 11:41:35 +00:00
Ludwig Nussel
a9db8cc1f8 fix team orders menu 2006-12-28 17:46:10 +00:00
Tony J. White =
bb3b3be38a * replaced SPI_SCREENSAVERRUNNING with the newer SPI_SETSCREENSAVERRUNNING
since newer mingw dropped the older define.  Both are defined to 97
2006-12-27 23:20:33 +00:00
Thilo Schulz
15fe54a6e7 Fix annoying bug where transparent surfaces wouldn't draw over skyboxes. Thanks to Stefan Langer a.k.a. #@ for providing the fix. 2006-12-15 13:46:13 +00:00
Tony J. White =
f03d8857e8 * (bug 2863) allow DEL key to be binded again. I broke it for bug 2650
thanks to Ben Noordhuis for the fix.
2006-12-07 23:55:01 +00:00
Tim Angus
bd9e7c4b8f * Add r_customPixelAspect to support displays with non 1:1 pixel aspects (do
such things exist?)
* Remove r_customaspect as its value is implied through the other three
  r_custom cvars
2006-12-04 13:37:50 +00:00
Coyote
17c443a3fd Changes to build defines for Solaris on i86pc. Minor fix to q_platform.h for Solaris. 2006-11-30 08:01:43 +00:00
Ryan C. Gordon
879d07b461 Bugfix by committee. :/ 2006-11-29 06:52:18 +00:00
Ryan C. Gordon
5af41ec3eb Fixed debug error message on loki_setup's stdout. 2006-11-29 06:44:58 +00:00
Tim Angus
6872486e1b * Change trunk installer release name to 'svn'
* Fix tabulation in README
2006-11-28 16:20:23 +00:00
Tim Angus
4abd270a67 * Merge 954:955 from 1.34 branch 2006-11-28 14:03:27 +00:00
Thilo Schulz
4502f863d4 There's still a little bug in my recent change... 2006-11-26 11:12:35 +00:00
Thilo Schulz
26cf8f2987 - Add input sanitising to various sound playing functions called from MODs.
This fixes https://bugzilla.icculus.org/show_bug.cgi?id=2836
- Make searching through the knownSfx array a bit more efficient.
2006-11-25 13:35:23 +00:00
Thilo Schulz
3b046464e3 Remove unnecessary hack. Thanks to ensiform. 2006-11-25 11:03:30 +00:00
Thilo Schulz
5a195bdd7b Fix vsprintf bug, thanks to ensiform. 2006-11-25 10:54:41 +00:00
Thilo Schulz
d23e7a1521 Fix bug in parameter checking. Thanks to Neil Toronto for reporting. 2006-11-23 11:10:30 +00:00
Coyote
9563aec49b Changes to the Solaris build scripts.. 2006-11-22 13:55:22 +00:00
Coyote
1cd69be223 Minor changes to Solaris build scripts 2006-11-21 13:09:25 +00:00
Thilo Schulz
aea7262d86 Only stop demo on map change if it was started by autorecord. 2006-11-03 08:42:21 +00:00
Thilo Schulz
b57a970034 - Explicitly set distance attenuation model.
- Mute sounds that exceed a certain distance from the listener.
2006-11-03 08:22:38 +00:00
Thilo Schulz
90208be35a - Remove "server crashed" message on server shutdown caused by local client disconnect.
- Stop demo recording on a new gamestate packet so the demo won't end with a new level load.
2006-10-27 12:49:55 +00:00
Thilo Schulz
78e6b4a904 Fix weight interpolation thanks to cyrri 2006-10-25 21:20:55 +00:00
Tony J. White =
8b1b3464d7 * (bug 2758) Toggling the console while holding keys can put the cgame/ui
keycatchers in a bad place since they see a key press for a key that is
  already in a down state.  Simply clearing the down state of all keys as
  the console is toggled seems like a simple fix.
2006-10-23 15:18:05 +00:00
Ludwig Nussel
fe3e8ba879 fix readlink() for /bin/sh != bash 2006-10-18 19:11:19 +00:00
Tony J. White =
189e8b33f3 * (bug 2784) help to prevent reliable command overflow in cases when a slow
client is loading the map on a busy server. Specifically, hold back all
  configstring update commands while the client is CS_PRIMED.  Once the
  client goes from CS_PRIMED to CS_ACTIVE, send the cleint commands for
  updating each of the configstring indexes which were updated while the 
  client was CS_PRIMED.
2006-10-13 19:44:52 +00:00
Tony J. White =
41add6c01f * (bug 2893) OpenAL was not tracking one-shot sound effects to the entity's
position
2006-10-13 18:58:57 +00:00
Thilo Schulz
a88611d34e Revert partially incorrect fix and add a few more float casts. 2006-10-12 13:13:08 +00:00
Thilo Schulz
2977d001e4 Fix weight calculation in botlib, found by Andi Christ. (#2889) 2006-10-12 12:51:24 +00:00
Tony J. White =
338ca1689e * make-macosx-ub.sh script now creates an .app bundle 2006-09-26 03:12:54 +00:00
Tony J. White =
fbf09d64c5 * Increased the number of registers used for the opStack in the PPC vm from
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.
2006-09-24 02:33:08 +00:00
Thilo Schulz
5568c9fcad Fix endian issue in MDR loading. 2006-09-22 12:53:03 +00:00
Thilo Schulz
6c95eb7991 Update the installer specific files for PPC and fix a few minor bugs. 2006-09-21 12:04:21 +00:00
Thilo Schulz
a2dffecfbe Remove shfolder.lib dependeny as since rev 909 it's not necessary anymore. 2006-09-21 12:03:35 +00:00
Tony J. White =
ea997b340e * (bug 2813) ioquake3 on win32 is no longer linked to SHFolder.dll. instead
it is dynamically loaded at run-time.  this means that win95/win98
  systems can fail the homepath detection gracefully if they don't have the
  dll installed (this dll is only provided by Internet Explorer updates
  on those systems)
2006-09-20 16:13:20 +00:00
Tony J. White =
ea0f646068 Bug 2813
* reverted my recent win95, win98, winme homepath change.  it turns out these
  systems can be configured to have multiple user directories afterall
2006-09-13 23:52:54 +00:00
Tony J. White =
307a4c037a Bug 2813
* Do not detect a seperate homepath on win95, win98, or winme since it's not
  truly a user-specific dir and therefore provides no advantage
* Use CSIDL_APPDATA instead of CSIDL_LOCAL_APPDATA.  This means that
  user-specific game data is now allowed to be part of a user's Roaming Profile
2006-09-13 22:55:53 +00:00
Tony J. White =
2af23e813d * add cURL support for HTTP/FTP downloading (bug 2661) 2006-09-11 16:41:55 +00:00
Thilo Schulz
fa904ff235 Fix bug that wouldn't show 32 bit binaries on x86 arch .. d'oh! 2006-09-07 14:14:30 +00:00
Thilo Schulz
5d118e434f Fix a few text related bugs in the installer. 2006-09-05 14:29:07 +00:00
Thilo Schulz
4a084a46a8 - add TA patch pk3s to installation
- some cleanups in the installer UI
- reduce verbosiveness of preuninstall script
2006-09-05 14:21:06 +00:00
Thilo Schulz
4d062b1b84 - Remove arch name in resulting file as the file should contain all arches.
- Make sure to delete all files that don't get uninstalled automatically before uninstall process begins.
2006-09-05 13:24:34 +00:00
Thilo Schulz
c34c94294d Extend the installer to offer more options 2006-09-05 12:54:25 +00:00
Ludwig Nussel
cec7660885 looks like ALCchar is not available on older openal versions 2006-09-05 07:05:04 +00:00
Ludwig Nussel
b5ab8384ac icculus.org/quake3 -> ioquake3 2006-09-05 07:02:23 +00:00
Thilo Schulz
6e45169ddd Update splash image for unix installer. 2006-09-05 00:58:50 +00:00
Tony J. White =
bc4591b03e * renamed static function GetClipboardData to CL_GetClipboardData since it was causing compile errors in newer mingw 2006-08-30 15:16:36 +00:00
Tim Angus
9f42be5d6c * Disable video command when not playing back a demo 2006-08-29 19:30:33 +00:00
Thilo Schulz
01d057967f Go back to rev. 874. ATM, there is no good way to make FS_Restart() behave as it was originally described. 2006-08-28 01:48:38 +00:00
Thilo Schulz
39d050b748 More fixes for the FS_Shutdown change. Declare qconsole.log as closed before FS_Shutdown
closes all files.
2006-08-28 01:10:46 +00:00
Thilo Schulz
fbfc886b22 Fix crash when recording to files and the map changes. Was caused by new, correct, behaviour of
FS_Restart() which would close the files before they'd be closed by the client.
2006-08-28 00:44:59 +00:00
Thilo Schulz
591e11e740 There are actually files that can have a length of 0 so this in-use-check was just wrong. 2006-08-27 15:34:44 +00:00
Thilo Schulz
57dbc7a79f - Fixed filehandle / filedescriptor leak in S_AL_StartBackgroundTrack introduced in rev. 832
- intro now plays correctly before looping sound.
2006-08-27 15:31:03 +00:00
Thilo Schulz
bea6fcff13 Correctly handle 0 timescale 2006-08-26 12:43:38 +00:00
Tony J. White =
1f8c2c56eb * moved SVN_VERSION #ifdef from client.h to q_shared.h so dedicated server
builds when svn version cannot be detected
2006-08-26 06:12:15 +00:00
Thilo Schulz
5ee7b5ed59 A few more timescale influences added 2006-08-26 02:45:59 +00:00
Thilo Schulz
fb18a4b2e4 - compensate sv_fps for timescale value.
- Add a non-dirty-hack fix for client hanging when unpausing a game.
2006-08-26 01:45:27 +00:00
Tony J. White =
90b35ec5c8 * Print the SVN version string in Com_Init() 2006-08-25 16:25:51 +00:00
Tim Angus
ba36526a5e * Revert version to 1.33 again 2006-08-22 18:47:59 +00:00
Tony J. White =
0df6305274 * Add SVN version to the version string displayed in the client console
if it can be detected
2006-08-22 16:13:51 +00:00
Thilo Schulz
467917233a - Change available device list to be displayed on sound initialization and
use line feeds as separators.
2006-08-19 22:17:04 +00:00
Tim Angus
4c8c2e5597 * Compiler warning fix 2006-08-19 14:40:24 +00:00
Thilo Schulz
b2b17e334e - tweak enumeration support, remove win32 dependency
- fix two typos in status message in snd_main.c
2006-08-19 13:44:10 +00:00
Thilo Schulz
87a3858f9a - Add device enumeration support on windows and make "Generic Software" new 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.
2006-08-19 11:02:20 +00:00
Thilo Schulz
4450057eb7 The server should still process network packages for keeping the package queue empty. 2006-08-18 09:21:01 +00:00
Thilo Schulz
ee12260b59 Tweak the select() stuff a bit still. 2006-08-18 02:10:02 +00:00
Thilo Schulz
5e88acf217 Fix 100% CPU usage on idle dedicated servers. 2006-08-18 01:50:51 +00:00
Tony J. White =
55bddd58fd Added code/unix/MacSupport/ which currently includes a script and resource file
that can add id's EULA to a .dmg file
2006-08-16 07:03:20 +00:00
Tony J. White =
77de9e65a8 bug 2723
* 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.
2006-08-16 05:22:09 +00:00
Tim Angus
e41d081710 * qvm files no longer installed by "make copyfiles"
* 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>)
2006-08-13 17:09:05 +00:00
Tony J. White =
0bffb8a8cd bug 2747
* 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
2006-08-03 03:15:24 +00:00
Tony J. White =
0141a4b4b0 bug 2747
* 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.
2006-08-03 02:29:47 +00:00
Tony J. White =
9a6fad9cf1 bug 2723
* 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
2006-08-02 04:01:36 +00:00
Tony J. White =
7cb5edc9ed bug 2813
* fixed bug with new win32 home path detection 
* added SHFolder.lib linking to the mingw build for win98/win95 compat
2006-08-01 17:36:47 +00:00
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