summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-01-09Fix newlines in Com_Error, patch by Zack Middleton (#5023)Thilo Schulz
2013-01-09- Use EmitCallDoSyscall() to call the jump violations function which ↵Thilo Schulz
guarantees 16-byte stack alignment - Add x64 code for MSVC _asm() blocks, not tested yet.
2013-01-09- Add x86_64 support to vm_x86.c - Fix warning on mingw64Thilo Schulz
2013-01-09Fix is*() functions for windows where long value is 4 bytesThilo Schulz
2013-01-09Fix compilation on mingw64Thilo Schulz
2013-01-09Add instruction number checks to jumps and calls to SPARC VM, patch by David ↵Thilo Schulz
Miller
2013-01-09- Implement opStack protection: Use register %ebx for scaled indexed ↵Thilo Schulz
addressing mode to access opStack, make opStack push/pop operate on %bl portion only - Add a third pass to VM compilation for computation of jump address offsets, removing the need to dereference into vm->instructionPointers[] for every call/jump - Make use of 0F opcode prefix relative jumps - Call Com_Memcpy for OP_BLOCK_COPY - Fix several missing range checks for vm->dataBase memory access
2013-01-09- Do assignment of value 0xDEADBEEF after the 4-byte alignment - Add all GPR ↵Thilo Schulz
to clobber list as GCC function callAsmCall seems to change register r11 without saving it to stack first, which may result in SIGSEGV in VM_CallCompiled()
2013-01-09I don't seem to get these constraints right. This should fix itThilo Schulz
2013-01-09Fix VM call for release version, bug introduced by myself in r1994Thilo Schulz
2013-01-09Use scaled indexing mode n=4 for addressing opStack, this way we can use the ↵Thilo Schulz
8 bit offset value in %%bl to address an OPSTACK_SIZE of 1024 which was the old value.
2013-01-09- Use edx for CALLs instead of ecx, as the latter does not require any push ↵Thilo Schulz
to stack - Make Linux AT&T asm code consistent with the MASM codeblock
2013-01-09- Set default opStack size to 256 - Fix integer wraparound. opStack offset ↵Thilo Schulz
in rbx will always be >= 0
2013-01-09- Fix SEGV in while loop getop() after t = b = 0 - Fix iss8, iss16 and iss32 ↵Thilo Schulz
which would not correctly detect 32-bit signed integer range - Add support for "addb", "subb" etc. assembler mnemonic - Change opStack protection for x86_64 VM: No overflow checks necessary anymore as offset register is 1 byte long only
2013-01-09Optimise VectorNormalize functions, patch by Matt TurnerThilo Schulz
2013-01-09Refactor and bugfix COM_*Extension functions, patch by DevHCThilo Schulz
2013-01-09- Remove Q_strrchr(), replace with standard, portable strrchr() - Add ↵Thilo Schulz
strrchr() to bg_lib.c, patch by DevHC
2013-01-09move MIN/MAX definition, use MIN() instead of min(), patch by DevHCThilo Schulz
2013-01-09- Add vm_x86.c optimization patch by Eugene C. - Remove ASM syntax specific ↵Thilo Schulz
code (AT&T vs MASM) for OP_CALL and replace with machine code
2013-01-09- Reverting accidentally committed vm_x86.c - Last commit contained some ↵Thilo Schulz
refactoring for vm_x86_64.c
2013-01-09ensure that ent->classname is always non-null (for entity numbers up to ↵Thilo Schulz
level.num_entities-1, and ENTITYNUM_WORLD and ENTITYNUM_NONE), for player entities and #ENTITYNUM_NONE in particular, patch by DevHC
2013-01-09Remove newlines from Com_Error calls, patch by DevHCThilo Schulz
2013-01-09Ffffuuuuuu I don't even know....Thilo Schulz
2013-01-09Remove newlines from Com_Error message format strings, patch by DevHCThilo Schulz
2013-01-09More codec loader troubles with extensionsThilo Schulz
2013-01-09Fix crash bug in new codec audio loader, thanks brain for reportingThilo Schulz
2013-01-09Refactoring patch by DevHCThilo Schulz
2013-01-09whoops, that one was not Com_Error()Thilo Schulz
2013-01-09- Remove newlines in Com_Error() - Update register descriptionThilo Schulz
2013-01-09Add opStack protection to defend against malicious QVMsThilo Schulz
2013-01-09Choose better alignment for heavy-duty rendering structures, patch by Matt ↵Thilo Schulz
Turner (#4981)
2013-01-09Add codec fallback support for sound files not found, Patch by Zack ↵Thilo Schulz
Middleton (#4982)
2013-01-09Fix nasty crash bugThilo Schulz
2013-01-09Add error handling to malloc as wellThilo Schulz
2013-01-09fix overzealous cvar cheat protection, patch by cyrri (#4974)Thilo Schulz
2013-01-09IQM skin support and print limit info, make other limit info consistent, ↵Thilo Schulz
patch by Zack Middleton (#4978)
2013-01-09Remove C99 code constructs from IQM code, patch by gimhael (#4974)Thilo Schulz
2013-01-09- Add HOMEPATH default name define to q_shared.c, patch by uZu (#4973) - ↵Thilo Schulz
Reverted change from (#4972) and implemented the other suggestion to be consistent with cl_cgame.c and cl_ui.c
2013-01-09Do use the SV_Game{Error,Print} functions (#4972)Thilo Schulz
2013-01-09<ZTurtleMan> Thilo: altName (created using va) does not point to model ↵Thilo Schulz
filename in developer-only printf as va is used to load images before the printf. http://pastebin.com/1KCjz6Ct
2013-01-09- Add licence headers to new files - Add patch from Zack Middleton which ↵Thilo Schulz
fixes a few issues still
2013-01-09Fix sending reliable commands before being connected, patch by Eugene C. (#4971)Thilo Schulz
2013-01-09Do not retry image loader for image that failed, patch by Zack Middleton (#4968)Thilo Schulz
2013-01-09- Add Inter-Quake Model (IQM) Format support, patch by gimhael with minor ↵Thilo Schulz
modifications by myself (#4965) - Changed model_t::md4 to model_t::modelData - Fix R_ModelBounds for MD4, MDR and IQM models (#4966) - Support Model format fallback similar to image formats in tr_image.c, patch by Zack Middleton (#4967)
2013-01-09Revert protocol 69 pending further discussion (#4962)Thilo Schulz
2013-01-09- Harden the client and server protocol against UDP spoofing attacks. This ↵Thilo Schulz
will defend ioquake3 against http://aluigi.altervista.org/papers/q3noclient.txt (#3041) - Retains full compatibility to the old but unsecure protocol between clients and servers - Harden the connection process against DoS attacks, possibly connected to UDP spoofing
2013-01-09Replace a few numeric constants with already defined macros, patch by ZTurtleManThilo Schulz
2013-01-09Fix a little quirk stillThilo Schulz
2013-01-09Use memcmp instead of self-built while loopThilo Schulz
2013-01-02CG_CopyLine was ignoring array length (9a5f541)M. Kristall