aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
Commit message (Collapse)AuthorAgeFilesLines
* * (bug #4249) Fix buffer overflow in x86 VMtma2009-10-191-19/+29
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1687 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix infinite loop in case an invalid pk3 file has been downloaded from the ↵thilo2009-10-192-15/+58
| | | | | | server. Thanks tjw for reporting (#3074) git-svn-id: svn://svn.icculus.org/quake3/trunk@1686 edf5b092-35ff-0310-97b2-ce42778d08ea
* Shut up warningsthilo2009-10-191-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1685 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Applied patch from /dev/humancontroller to set cvar_modifiedFlags from ↵thilo2009-10-191-25/+18
| | | | | | | | | | Cvar_Set_f (#3636) - Exchanged ugly code with Cmd_ArgsFrom() git-svn-id: svn://svn.icculus.org/quake3/trunk@1684 edf5b092-35ff-0310-97b2-ce42778d08ea
* Just unix2dos, nothing to see here ...thilo2009-10-195-4110/+1704
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1681 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix MinGW build (it doesn't have _putenv_s)tma2009-10-131-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1665 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix netcode inconsistency, thanks to /dev/humancontroller for the patch, see ↵thilo2009-10-123-21/+20
| | | | | | http://bugzilla.icculus.org/show_bug.cgi?id=4060 git-svn-id: svn://svn.icculus.org/quake3/trunk@1661 edf5b092-35ff-0310-97b2-ce42778d08ea
* MinGW doesn't have setenv() either, so.....thilo2009-10-121-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1660 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix environment variable handling for Linux, make setenv command added ↵thilo2009-10-121-13/+53
| | | | | | before parsing of configuration files. (https://bugzilla.icculus.org/show_bug.cgi?id=3626) git-svn-id: svn://svn.icculus.org/quake3/trunk@1659 edf5b092-35ff-0310-97b2-ce42778d08ea
* fs_fakeChkSum is indeed obsolete and unnecessary. Removing it altogether now.thilo2009-10-121-16/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1657 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix fake checksum handling if client is unpure, make sure client does not ↵thilo2009-10-111-1/+4
| | | | | | remain unpure after FS_Restart. Thanks to /dev/humancontroller for reporting. http://bugzilla.icculus.org/show_bug.cgi?id=3605, thanks git-svn-id: svn://svn.icculus.org/quake3/trunk@1654 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix bad syntax in 64bit assembler (Undeference)tma2009-10-061-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1647 edf5b092-35ff-0310-97b2-ce42778d08ea
* Revert back color code changethilo2009-10-031-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1639 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Modify color generating codes to only accept numbers and not alphabetical ↵thilo2009-10-031-9/+9
| | | | | | | | | chars anymore - Fix client clean name so that it cannot be tricked anymore, see https://bugzilla.icculus.org/show_bug.cgi?id=3313 git-svn-id: svn://svn.icculus.org/quake3/trunk@1638 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug #3639) BoxOnPlaneSide rewrite (Diego de Estrada/Patrick Bagget/Danieltma2009-09-211-315/+15
| | | | | | | Gibson) git-svn-id: svn://svn.icculus.org/quake3/trunk@1635 edf5b092-35ff-0310-97b2-ce42778d08ea
* * ...and make sure it compilestma2009-09-171-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1634 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug #4282) Fix potential overlap of VM stack and bss sections (Patricktma2009-09-171-1/+2
| | | | | | | Baggett) git-svn-id: svn://svn.icculus.org/quake3/trunk@1632 edf5b092-35ff-0310-97b2-ce42778d08ea
* * ...and actually r1626 this timetma2009-09-162-6/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1630 edf5b092-35ff-0310-97b2-ce42778d08ea
* Let a separate libdir be specified for loading libraries.icculus2009-09-152-0/+6
| | | | | | | Partially fixes Bugzilla #4271. git-svn-id: svn://svn.icculus.org/quake3/trunk@1626 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed amd64 JIT output bug.icculus2009-09-151-1/+1
| | | | | | | Partially fixes Bugzilla #4271. git-svn-id: svn://svn.icculus.org/quake3/trunk@1625 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add x86_64 ARCH_STRING for FreeBSD.icculus2009-09-151-0/+2
| | | | | | | Partially fixes Bugzilla #4271. git-svn-id: svn://svn.icculus.org/quake3/trunk@1623 edf5b092-35ff-0310-97b2-ce42778d08ea
* Echo console command now colorizes by string, not token.icculus2009-09-151-5/+1
| | | | | | | Fixes Bugzilla #3879. git-svn-id: svn://svn.icculus.org/quake3/trunk@1619 edf5b092-35ff-0310-97b2-ce42778d08ea
* Allow Cvar_Toggle_f() to iterate through a list of values.icculus2009-09-151-7/+30
| | | | | | | Fixes Bugzilla #3591. git-svn-id: svn://svn.icculus.org/quake3/trunk@1617 edf5b092-35ff-0310-97b2-ce42778d08ea
* Patched to compile.icculus2009-09-151-2/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1614 edf5b092-35ff-0310-97b2-ce42778d08ea
* Added Intel CC compatibility to vm_x86.c's inline asm.icculus2009-09-151-8/+14
| | | | | | | Fixes Bugzilla #3338. git-svn-id: svn://svn.icculus.org/quake3/trunk@1613 edf5b092-35ff-0310-97b2-ce42778d08ea
* Enable -fvisibility=hidden on Linux.icculus2009-09-151-0/+10
| | | | | | | | | | | | This will prevent further symbol clashes, and makes the shared libraries 10 to 20 percent smaller. We should enable this on other platforms, too, if we can guarantee they'll use gcc 4.0 or later and the platform supports it. git-svn-id: svn://svn.icculus.org/quake3/trunk@1609 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed infinite recursion of writing crashlog because we're out of file handles.icculus2009-09-152-1/+2
| | | | | | | Fixes Bugzilla #3772. git-svn-id: svn://svn.icculus.org/quake3/trunk@1602 edf5b092-35ff-0310-97b2-ce42778d08ea
* Don't allow negative arguments to the "wait" console command.icculus2009-09-141-1/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1601 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed uninitialized variable.icculus2009-09-141-1/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1591 edf5b092-35ff-0310-97b2-ce42778d08ea
* Minor reworking to check command line cvars before Com_InitZoneMemory().icculus2009-09-141-6/+8
| | | | | | | | | | This lets you set com_zoneMegs from the command line (although still not from a config file, but oh well). Fixes Bugzilla #2571. git-svn-id: svn://svn.icculus.org/quake3/trunk@1590 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Add error handling for Opensolaris f***ing up a numeric getnameinfo() call.thilo2009-06-261-24/+29
| | | | | | | | - Fix memory leak in getaddrinfo() call Many thanks to Ben Millwood for reporting this. git-svn-id: svn://svn.icculus.org/quake3/trunk@1579 edf5b092-35ff-0310-97b2-ce42778d08ea
* - fix typo in previous commit to net_ip.cthilo2009-06-231-1/+1
| | | | | | | - Make servers send heartbeats to master servers in ipv4 as well as ipv6 if master server has both protocols git-svn-id: svn://svn.icculus.org/quake3/trunk@1578 edf5b092-35ff-0310-97b2-ce42778d08ea
* Move these definitions over for other files to use in preparation of the ↵thilo2009-06-232-7/+8
| | | | | | next commit git-svn-id: svn://svn.icculus.org/quake3/trunk@1577 edf5b092-35ff-0310-97b2-ce42778d08ea
* minor cleanupthilo2009-06-231-11/+11
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1576 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix setsockopt so that setting the IPV6ONLY flag really works.thilo2009-06-221-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1575 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix highest file descriptor for select(), thanks to Ben Millwood for reportingthilo2009-06-051-3/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1568 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make servers echo challenge codes from client getchallenge commandsthilo2009-06-011-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1566 edf5b092-35ff-0310-97b2-ce42778d08ea
* Replace a few sprintf with Com_sprintfthilo2009-06-011-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1565 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix warning in Sys_RandomBytes() usagethilo2009-05-311-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1564 edf5b092-35ff-0310-97b2-ce42778d08ea
* I'll retain the new way seeding the random number generator.. these calls ↵thilo2009-05-311-1/+0
| | | | | | are therefore redundant git-svn-id: svn://svn.icculus.org/quake3/trunk@1563 edf5b092-35ff-0310-97b2-ce42778d08ea
* Revert changes of rand() to random() as random() was redefined in quake3.thilo2009-05-311-4/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1562 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Introduce seeding of the random number generator at startupthilo2009-05-311-4/+22
| | | | | | | - Replaced all engine-side occurances of rand() with random() git-svn-id: svn://svn.icculus.org/quake3/trunk@1561 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make command net_restart work so that port/ip settings can be changed ↵thilo2009-05-292-40/+38
| | | | | | without server restart git-svn-id: svn://svn.icculus.org/quake3/trunk@1560 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Introduce new NET_CompareBaseAdrMask for easy comparison of ip address rangesthilo2009-05-242-12/+64
| | | | | | | | | | | - Overhaul of the new banning functions: * basic check for redundant bans/exceptions * introduction of sv_banFile to make it possible to configure the file where to read bans and exceptions from * bans can now be deleted by giving address ranges, too. git-svn-id: svn://svn.icculus.org/quake3/trunk@1557 edf5b092-35ff-0310-97b2-ce42778d08ea
* Minor code cleanupsthilo2009-05-211-13/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1555 edf5b092-35ff-0310-97b2-ce42778d08ea
* make Cvar_Command use all arguments just like Cvar_Set_f (#4063)ludwig2009-05-081-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1546 edf5b092-35ff-0310-97b2-ce42778d08ea
* cvarlist: also display systeminfo and user created flagsludwig2009-05-081-0/+10
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1545 edf5b092-35ff-0310-97b2-ce42778d08ea
* whitespace correctionludwig2009-05-081-10/+10
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1544 edf5b092-35ff-0310-97b2-ce42778d08ea
* define STRING and XSTRING in q_shared.h (#4054)ludwig2009-05-052-2/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1539 edf5b092-35ff-0310-97b2-ce42778d08ea
* align stack before re-entering engine to make sse work (#4051)ludwig2009-05-021-0/+5
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1533 edf5b092-35ff-0310-97b2-ce42778d08ea