aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
* security fix: prevent command injection via callvoteludwig2009-01-172-0/+17
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1493 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix some new GCC 4.3 warningstma2008-11-106-53/+70
| | | | | | | * 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
* 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-036-53/+38
| | | | | | 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
* 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
* * Move command argument completion from being hard coded to being associatedtma2008-09-164-89/+87
| | | | | | | 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-151-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1471 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Add Com_HexStrToInttma2008-09-052-97/+80
| | | | | | | | | | * 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-313-9/+13
| | | | | | | | | | - 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
* * 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-251-0/+8
| | | | | | | | | | 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-231-1/+1
| | | | | | | * 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-225-22/+19
| | | | | | | | | | | * (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
* * 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
* * 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
* * 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
* * Change win32 client Sys_Sleep so it ONLY sleeps since before it was waking on tma2008-08-031-1/+8
| | | | | | | | | | | | | | more or less any input event; fine for the server, not so much use for the client * In the main loop, don't bother sleeping if it's going to be less than 10ms as the methods we're using to sleep at the moment aren't very precise * Add Sys_PlatformInit for platform specific initialisation * In win32 Sys_PlatformInit force selection of the DirectX SDL backend in order to get better fullscreen mouse input (in conjunction with a patched SDL DLL http://bugzilla.libsdl.org/show_bug.cgi?id=265) git-svn-id: svn://svn.icculus.org/quake3/trunk@1434 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Sign check com_maxfps* variablestma2008-07-211-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1432 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Use Sys_Sleep to limit FPS, which will save CPUtma2008-07-212-2/+19
| | | | | | | | * Add com_maxfpsUnfocused and com_maxfpsMinimized; self explanatory * Fix reopening of bug 3703, I hope git-svn-id: svn://svn.icculus.org/quake3/trunk@1431 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3712) MSVC build fix s/strtof/strtod/ (Pat Raynor <raynorpat@gmail.com>)tma2008-07-091-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1423 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Rename voip cvar to cl_voiptma2008-07-075-12/+169
| | | | | | | | | * s/#if USE_VOIP/#ifdef USE_VOIP/ * Add generalised runtime cvar range checking, currently on [sv|cl]_voip, dedicated and a bunch of r_ variables git-svn-id: svn://svn.icculus.org/quake3/trunk@1420 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove silly range check on sv_voip during initialisationtma2008-07-061-1/+1
| | | | | | | * Changed dedicated binary dedicated cvar to CVAR_INIT and remove runtime check git-svn-id: svn://svn.icculus.org/quake3/trunk@1410 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Change dedicated cvar to CVAR_LATCH on the dedicated servertma2008-07-061-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1407 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3610) Server sending unnecessary newline with SV_ConSay_F (Tyler Schwend tma2008-07-052-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | <TylerSchwend@gmail.com>) * (bug 3623) COMMAND is mapped to the ALT key (Matthias <Kapffer@macbay.de>) * (bug 3665) Typo error in FS_FOpenFileByMode function (TsT <tst2006@gmail.com>) * (bug 3669) Some files left out of Solaris Packages (Vincent Cojot <vincent@cojot.name>) * (bug 3680) server quit messages (Ben Millwood) * (bug 3682) Maps with >1024 models cause a segfault (misantropia <bnoordhuis@gmail.com>) * (bug 3683) R_FindShader(): negative lightmap indexes cause stray pointers (misantropia <bnoordhuis@gmail.com>) * (bug 3688) q3asm potential segfault fix and other changes (TsT <tst2006@gmail.com>) * (bug 3695) Not allowing to write file with lib extention (.dll/.so/...) (TsT <tst2006@gmail.com>) * (bug 3696) make-macosx-ub.sh outdated by revision 1340; test for Tiger not working (Matthias <Kapffer@macbay.de>) * (bug 3698) #error reported as warning in q3cpp (and no #warning support) (Ben Millwood) * (bug 3703) restoring the valued pre-SDL window behaviour (/dev/humancontroller <devhc97@gmail.com>) git-svn-id: svn://svn.icculus.org/quake3/trunk@1405 edf5b092-35ff-0310-97b2-ce42778d08ea
* Thanks to Lakitu7 for pointing this out.zakk2008-06-171-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1388 edf5b092-35ff-0310-97b2-ce42778d08ea
* bind ipv6 sockets firstludwig2008-06-121-20/+21
| | | | | | | | by binding the ipv6 sockets first it's possible to bind 0.0.0.0 and :: to the same port. git-svn-id: svn://svn.icculus.org/quake3/trunk@1386 edf5b092-35ff-0310-97b2-ce42778d08ea
* show numeric address the server binds toludwig2008-06-121-6/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1385 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add PRODUCT_VERSION back into q_shared.h for MSVC builds.juz2008-06-041-0/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1367 edf5b092-35ff-0310-97b2-ce42778d08ea
* Changed the protocol for VoIP packets to support legacy clients.icculus2008-06-033-7/+35
| | | | | | | | | | | | | Previously, a legacy client wouldn't get a VoIP packet, but if they did, they'd panic and disconnect. Now they ignore them and continue on. This also gives us the framework to add other features legacy clients can ignore. Oh, this also has the benefit of allowing us to store incoming VoIP for playback in recorded demos. They'll play the chatter on VoIP clients, and be ignored on legacy ones. Huge win. git-svn-id: svn://svn.icculus.org/quake3/trunk@1361 edf5b092-35ff-0310-97b2-ce42778d08ea
* Initial patch for in-game VoIP support!icculus2008-06-011-2/+10
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1348 edf5b092-35ff-0310-97b2-ce42778d08ea
* reorder includes to fix build on OpenBSD (#3663, patch by Jonathan Gray)ludwig2008-05-251-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1346 edf5b092-35ff-0310-97b2-ce42778d08ea
* whoops.thilo2008-05-171-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1345 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Workaround for buggy MacOSX getaddrinfo() implementation that doesn't ↵thilo2008-05-171-2/+10
| | | | | | | | | accept AF_UNSPEC parameter in hints structure. Thanks icculus for reporting. - Add -faltivec flag for debug builds. git-svn-id: svn://svn.icculus.org/quake3/trunk@1344 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3641) Server is left running following a local disconnecttma2008-05-121-0/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1343 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix a bunch of compile warningstma2008-05-101-14/+17
| | | | | | | | * Only call pkg-config if it exists * Remove cl_consoleHistory from README git-svn-id: svn://svn.icculus.org/quake3/trunk@1342 edf5b092-35ff-0310-97b2-ce42778d08ea
* define the product version in the Makefileludwig2008-05-061-7/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1340 edf5b092-35ff-0310-97b2-ce42778d08ea
* - replace a few constant values with GL macros in tr_cmds.cthilo2008-05-011-10/+11
| | | | | | | | | | - tidy up top of tr_types.h a bit, change flags to hex representation - make ROM cvar enforcing really work - remove cg_stereoSeparation from cgame as it is obsolete. - Add CG_DrawCrosshair3D so people see crosshair correctly when stereoseparation is enabled git-svn-id: svn://svn.icculus.org/quake3/trunk@1335 edf5b092-35ff-0310-97b2-ce42778d08ea
* - variables with CVAR_ROM set get now overwritten by Cvar_Get() if the cvar ↵thilo2008-05-011-11/+30
| | | | | | | | | exists already but was created by the user. - Fix null pointer crash in Cvar_Print_f(), thanks to humancontroller for reporting. git-svn-id: svn://svn.icculus.org/quake3/trunk@1334 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make forced unloading work in more cases than just server disconnectsthilo2008-04-291-0/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1333 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix crash bug for interfaces without assigned address, thanks to PhoinixGR ↵thilo2008-04-211-1/+7
| | | | | | for reporting. git-svn-id: svn://svn.icculus.org/quake3/trunk@1324 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix obvious bug, thanks mattn2thilo2008-04-161-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1323 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix build on IRIX (Patrick Baggett)ludwig2008-04-161-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1322 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix some recently introduced warningstma2008-04-121-3/+3
| | | | | | | * Fix referenced pk3 list including excessive number of spaces git-svn-id: svn://svn.icculus.org/quake3/trunk@1315 edf5b092-35ff-0310-97b2-ce42778d08ea
* Only don't send packet on disabled multicast if it actually is a multicast ↵thilo2008-04-121-2/+2
| | | | | | packet git-svn-id: svn://svn.icculus.org/quake3/trunk@1313 edf5b092-35ff-0310-97b2-ce42778d08ea
* - fix a potential file descriptor leak in server side of pak downloadingthilo2008-04-122-1/+3
| | | | | | | - add new functions for banning clients from server, in engine part. This will also make it possible to ban ipv6 addresses in old mods. git-svn-id: svn://svn.icculus.org/quake3/trunk@1312 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Revamp in-game server browser: you can now scan for games on multiple ↵thilo2008-04-112-15/+18
| | | | | | | | | master servers, while retaining compatibility with old QVMs. - Make Master server reporting/server queries ipv6 capable. git-svn-id: svn://svn.icculus.org/quake3/trunk@1311 edf5b092-35ff-0310-97b2-ce42778d08ea