aboutsummaryrefslogtreecommitdiffstats
path: root/code
Commit message (Collapse)AuthorAgeFilesLines
* fix STANDALONE challengeResponse (#4000)ludwig2009-03-021-5/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1505 edf5b092-35ff-0310-97b2-ce42778d08ea
* qcommon: vm: Add sparc JIT compiler.ludwig2009-03-022-0/+1726
| | | | | | Signed-off-by: David S. Miller <davem@davemloft.net> git-svn-id: svn://svn.icculus.org/quake3/trunk@1503 edf5b092-35ff-0310-97b2-ce42778d08ea
* qcommon: vm: sparc, like 386, doesn't need var-args conversion.ludwig2009-03-021-1/+1
| | | | | | Signed-off-by: David S. Miller <davem@davemloft.net> git-svn-id: svn://svn.icculus.org/quake3/trunk@1502 edf5b092-35ff-0310-97b2-ce42778d08ea
* qcommon: Add idsparc and set when __sparc__ && !C_ONLYludwig2009-03-021-0/+7
| | | | | | Signed-off-by: David S. Miller <davem@davemloft.net> git-svn-id: svn://svn.icculus.org/quake3/trunk@1501 edf5b092-35ff-0310-97b2-ce42778d08ea
* * s/FS_FilenameIsExecutable/FS_CheckFilenameIsNotExecutable/gtma2009-02-261-13/+14
| | | | | | | * Fix potential buffer under run in FS_CheckFilenameIsNotExecutable git-svn-id: svn://svn.icculus.org/quake3/trunk@1499 edf5b092-35ff-0310-97b2-ce42778d08ea
* move speex config.h to correct placeludwig2009-02-111-0/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1498 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix msvc build (#3857, #3771)ludwig2009-02-101-0/+20
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1497 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix potential segfault (found by DerSaidin in xreal)ludwig2009-01-231-1/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1494 edf5b092-35ff-0310-97b2-ce42778d08ea
* security fix: prevent command injection via callvoteludwig2009-01-174-3/+29
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1493 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix overflow in CG_ParseTeamInfoludwig2009-01-131-0/+11
| | | | | | based on patch for Tremulous, thanks to Roman Tetelman git-svn-id: svn://svn.icculus.org/quake3/trunk@1492 edf5b092-35ff-0310-97b2-ce42778d08ea
* gamename is already a cvar with CVAR_SERVERINFOludwig2009-01-111-1/+0
| | | | | | do not set gamename to different values in getstatus and getinfo responses git-svn-id: svn://svn.icculus.org/quake3/trunk@1490 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix some new GCC 4.3 warningstma2008-11-1019-152/+220
| | | | | | | * Fix many many strict aliasing warnings, now that it's re-enabled git-svn-id: svn://svn.icculus.org/quake3/trunk@1487 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix variable declaration (#3849)ludwig2008-11-101-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1486 edf5b092-35ff-0310-97b2-ce42778d08ea
* realloc vm->instructionPointers on ppc64ludwig2008-11-101-78/+96
| | | | | | | | | rename VM_Malloc, VM_Free to PPC_Malloc, PPC_Free safer constant optimization handling Patch by Przemysław Iskra (#3796) git-svn-id: svn://svn.icculus.org/quake3/trunk@1483 edf5b092-35ff-0310-97b2-ce42778d08ea
* new PowerPC vmludwig2008-11-103-0/+3317
| | | | | | Patch by Przemysław Iskra (#3796) git-svn-id: svn://svn.icculus.org/quake3/trunk@1482 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix strict aliasing issuesludwig2008-11-0314-100/+83
| | | | | | Patch by Przemysław Iskra (#3805) git-svn-id: svn://svn.icculus.org/quake3/trunk@1481 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix 64bit VM interface to work on ppc64 (#3838)ludwig2008-11-031-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1480 edf5b092-35ff-0310-97b2-ce42778d08ea
* move location of version string in console a bitludwig2008-11-021-5/+3
| | | | | | patch by 'devhc97' (#3758) git-svn-id: svn://svn.icculus.org/quake3/trunk@1479 edf5b092-35ff-0310-97b2-ce42778d08ea
* specify alDevice instead of NULL when asking for for ALC_EXTENSIONSludwig2008-11-021-1/+1
| | | | | | patch by Ben Millwood (#3777) git-svn-id: svn://svn.icculus.org/quake3/trunk@1478 edf5b092-35ff-0310-97b2-ce42778d08ea
* Patch to make getnameinfo() call work on OpenBSD systems. Created by ↵thilo2008-10-291-3/+10
| | | | | | agent59692154@spamcorptastic.com git-svn-id: svn://svn.icculus.org/quake3/trunk@1475 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix return value of CL_cURL_CallbackWrite (#3804)ludwig2008-10-241-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1474 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix crash with videos on ppc (#2523,3802). Patch by Przemysław Iskraludwig2008-10-241-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1473 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Move command argument completion from being hard coded to being associatedtma2008-09-168-89/+195
| | | | | | | with the individual commands to be completed git-svn-id: svn://svn.icculus.org/quake3/trunk@1472 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Supply specific identifier to the master server (Mathieu Olivier)tma2008-09-153-4/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1471 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Add Com_HexStrToInttma2008-09-055-149/+131
| | | | | | | | | | * Fixed some whacky indentation in q_shared.c * Allow single character keys e.g. 'c' to be used in cl_consoleKeys in addition to ASCII characters * Experimental code to ignore dead keys git-svn-id: svn://svn.icculus.org/quake3/trunk@1470 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Add scope id to ipv6 addresses.thilo2008-08-315-17/+48
| | | | | | | | | | - Clean up a few other ipv6 issues like removing the seemingly unnecessary MacOSX workaround. - Bring ipv6 master server up to speed for dpmaster Thanks go out to Mathieu Olivier for this work. git-svn-id: svn://svn.icculus.org/quake3/trunk@1468 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to console completion bug introduced by the last fix (from the oopstma2008-08-301-1/+1
| | | | | | | dept.) git-svn-id: svn://svn.icculus.org/quake3/trunk@1465 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Update IN_IsConsoleKey so that specifying ascii values/characters for thetma2008-08-301-10/+52
| | | | | | | console key always results in the character being used as opposed to the key git-svn-id: svn://svn.icculus.org/quake3/trunk@1464 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Better condition to test whether to use the character or the keytma2008-08-281-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1462 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Revert 'Handle dead keys more gracefully by taking a "best guess" rather thantma2008-08-285-43/+88
| | | | | | | | | | | ignoring completely' from r1459; it can't ever work acceptably, especially on azerty/qwertz layouts * Make the ordering of the output from in_keyboardDebug more sensible * Add cl_consoleKeys cvar, a space delimited list of key names or characters that toggle the console git-svn-id: svn://svn.icculus.org/quake3/trunk@1461 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Collapse common command completion code into one function and fix thetma2008-08-271-57/+38
| | | | | | | | incorrect buffer size parameter to strncpy (from the how-the-fuck-did-this-ever-work dept.) git-svn-id: svn://svn.icculus.org/quake3/trunk@1460 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Handle dead keys more gracefully by taking a "best guess" rather than ignoringtma2008-08-252-15/+54
| | | | | | | | | | completely * When activating or deactivating the mouse flush any pending motion events; this should stop the view moving unpredictably in these circumstances * Add keyname completion to "unbind" git-svn-id: svn://svn.icculus.org/quake3/trunk@1459 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix unused variable warningtma2008-08-232-4/+9
| | | | | | | * Add USE_LOCAL_HEADERS guards to sys_loadlib.h git-svn-id: svn://svn.icculus.org/quake3/trunk@1458 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug #3729) server dependencies on client.h (Ben Millwood)tma2008-08-2212-30/+23
| | | | | | | | | | | * (bug #3731) BUILD_MISSIONPACK flag in Makefile (Gabriel Schnoering <gabriel.schnoering@gmail.com>) * (bug #3756) Q3VM crashes on unaligned block copy with SIGBUS (Patrick Baggett <baggett.patrick@figglesoftware.com>) and... * (bug #3755) IOQuake3 shouldn't use GCC-specific __FUNCTION__ git-svn-id: svn://svn.icculus.org/quake3/trunk@1456 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Don't set SE_KEY event to ctrl-h; I don't think this makes sensetma2008-08-222-35/+52
| | | | | | | | | | | | * Don't warp the mouse on deactivation unless the cursor is in the window already; this fixes in_nograb * Stop grabbing the mouse in windowed mode when there is no sense in doing so * Make sure that IN_Restart is only called on r_fullscreen modification if a mode change actually takes place git-svn-id: svn://svn.icculus.org/quake3/trunk@1455 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Really fix backspace on OS X (I hope)tma2008-08-221-5/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1454 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Prevent ~ from generating a charactertma2008-08-221-0/+6
| | | | | | | * Fix backspace on OS X (I hope) git-svn-id: svn://svn.icculus.org/quake3/trunk@1453 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Update to jpeg-6b (only a decade old)tma2008-08-2165-1445/+3405
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1452 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Tidy up the keyboard code a bit, add in_keyboardDebugtma2008-08-192-58/+84
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1450 edf5b092-35ff-0310-97b2-ce42778d08ea
* * More robust x86 vm entrypoint/callback assembly (Tron)tma2008-08-171-96/+74
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1448 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix misplaced #endiftma2008-08-141-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1447 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Pass the "best" SDL_PixelFormat (as returned by the initial call totma2008-08-131-7/+26
| | | | | | | | SDL_GetVideoInfo) to SDL_ListModes; this fixes said function returning an empty list when using the "windib" driver git-svn-id: svn://svn.icculus.org/quake3/trunk@1446 edf5b092-35ff-0310-97b2-ce42778d08ea
* * s/GL_CLAMP/GL_CLAMP_TO_EDGE/g (If this change appears to cause you problemstma2008-08-126-17/+14
| | | | | | | | and you're using an nVidia graphics card, make sure your 'conformant texture clamp' setting is set to on for ioq3) git-svn-id: svn://svn.icculus.org/quake3/trunk@1445 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Use IPv6 header qcommon/wspiapi.h if it has been added by the end usertma2008-08-091-43/+50
| | | | | | | * Update README to explain the Windows XP requirement git-svn-id: svn://svn.icculus.org/quake3/trunk@1444 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Always show the mouse cursor when the mouse is disabledtma2008-08-095-20/+57
| | | | | | | | | | | * Rename IN_StartupJoystick to IN_InitJoystick, add IN_ShutdownJoystick * Add IN_Restart, which avoids calling IN_DeactivateMouse at the wrong time * Call IN_Restart when changing r_fullscreen * Add CVAR_ROM r_sdlDriver for easy checking of the SDL driver in use * Random README tweaks git-svn-id: svn://svn.icculus.org/quake3/trunk@1441 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Add Sys_GLimpInit for platform specific GLimp initialisationtma2008-08-085-16/+67
| | | | | | | | | | * Move Unix specific signal handlers to Sys_PlatformInit * (Windows only) Don't set the SDL video driver if SDL_VIDEODRIVER is already set externally * (Windows only) Use the "windib" SDL video driver if in_mouse is set to -1 git-svn-id: svn://svn.icculus.org/quake3/trunk@1440 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3674) Change default for s_alGain from 0.4 to 1.0tma2008-08-081-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1439 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix memory leak in win32 VM code (arQon/dmitry)tma2008-08-062-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1438 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Whitespace...tma2008-08-031-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1436 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Report SDL driver used on GLimp initialisationtma2008-08-031-3/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1435 edf5b092-35ff-0310-97b2-ce42778d08ea