Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-01-10 | Various fixes to vm_interpreted.c: - Add opStack protection - Fix dataMask ↵ | Thilo Schulz | |
check for OP_BLOCK_COPY - Add instruction number check for conditional jumps - Make errors in VM_PrepareInterpreter nonfatal | |||
2013-01-10 | - Don't try to load QVM/DLL files on pure servers - Fallback after failed ↵ | Thilo Schulz | |
DLL load will be VMI_COMPILED, not INTERPRETED | |||
2013-01-10 | - Small change to search path order - local files not in .pk3s take ↵ | Thilo Schulz | |
precedence over files in pk3s. Should make life easier for modders/mappers wanting to override textures that are already contained in some older pk3 - Make VM loading more robust, change loading order: when vm_* == 0 first try loading DLL, then QVM in *each* search directory/path - Fix FS_FileForHandle that would return a FILE pointer to invalid file handle 0 | |||
2013-01-09 | Need space of len+1 for snprintf to work | Thilo Schulz | |
2013-01-09 | - Merge http://svn.icculus.org/tremulous?view=rev&revision=2185, patch by ↵ | Thilo Schulz | |
Chris Schwarz - Remove Q_snprintf as Com_sprintf exists already | |||
2013-01-09 | Fix #if macros for idx64 and id386 | Thilo Schulz | |
2013-01-09 | Project files for Microsoft Visual Studio 10. Has x86 and x64 build ↵ | Thilo Schulz | |
configurations (#2681) | |||
2013-01-09 | - mingw64 now links against SDL64.dll to allow for 32 and 64 bit version in ↵ | Thilo Schulz | |
the same directory - Add library files for MinGW64 | |||
2013-01-09 | - Still forgot qasm-inline.h - Leave GCC more freedom in choice of registers | Thilo Schulz | |
2013-01-09 | Forgot the inline assembler parts, here they come! Using inline asm to get ↵ | Thilo Schulz | |
rid of all the boilerplate stuff | |||
2013-01-09 | - Fix macro that uses constant float suffix as argument - retval variables ↵ | Thilo Schulz | |
in ftola.c must have type long, not int | |||
2013-01-09 | - Add MASM assembler files for MSVC x64 projects to support vm_x86 in x64 ↵ | Thilo Schulz | |
mode - Clean up ftol()/snapvector() mess - Make use of SSE instructions for ftol()/snapvector() if available - move ftol/snapvector pure assembler to inline assembler, this will add x86_64 and improve support for different calling conventions - Set FPU control word at program startup to get consistent behaviour on all platforms | |||
2013-01-09 | Add static SDL libraries for compilation with MSVC | Thilo Schulz | |
2013-01-09 | Fix forgotten IQM2 support in iqm.h, patch by Zack Middleton | Thilo Schulz | |
2013-01-09 | Bug 5034 - q3_ui: fill whole screen and allow cursor to move to edge in ↵ | Thilo Schulz | |
widescreen, patch by Zack Middleton | |||
2013-01-09 | Bug 5036 - Grappling hook does not load trail shader, patch by Zack Middleton | Thilo Schulz | |
2013-01-09 | Bug 5035 - Automatically selecting player model in q3_ui does not work if ↵ | Thilo Schulz | |
skin is not specified, patch by Zack Middleton | |||
2013-01-09 | Fixes to IQM support, by Zack Middleton - Bug 5029 - IQM skin support for ↵ | Thilo Schulz | |
upper case surface names - Bug 5030 - IQM version 2 support - Bug 5031 - Animated IQMs cause segfault - Bug 5032 - IQM does not setup tag axis/origin correctly - Bug 5033 - IQM bounds swap and segfault issues | |||
2013-01-09 | - Adapt MSVC project files to new libjpeg, fix by Guillaume Bougard and ↵ | Thilo Schulz | |
cyrri - add tr_model_iqm.c to MSVC project, by cyrri | |||
2013-01-09 | * Remove misleading comment | Tim Angus | |
2013-01-09 | Fix return values for several syscall functions, patch by Zack Middleton (#5018) | Thilo Schulz | |
2013-01-09 | (#5016) - Calls to trap_CM_PointContents don't update their origins based on ↵ | Thilo Schulz | |
moving entities (water). Patch by Ensiform | |||
2013-01-09 | Makefile fix for mips architecture (#4995): Fixes the \n in the $ARCH ↵ | Thilo Schulz | |
variable for IRIX/mips Patch by Patrick Baggett | |||
2013-01-09 | OpenBSD compile fixes, patch provided by Jonathan Gray (#4994) | Thilo Schulz | |
2013-01-09 | Properly fill in occurances of "foobar" in GPL file headers, patch by Zack ↵ | Thilo Schulz | |
Middleton (#5024) | |||
2013-01-09 | Fix 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 mingw64 | Thilo Schulz | |
2013-01-09 | Fix is*() functions for windows where long value is 4 bytes | Thilo Schulz | |
2013-01-09 | Fix compilation on mingw64 | Thilo Schulz | |
2013-01-09 | Add 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-09 | I don't seem to get these constraints right. This should fix it | Thilo Schulz | |
2013-01-09 | Fix VM call for release version, bug introduced by myself in r1994 | Thilo Schulz | |
2013-01-09 | Use 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-09 | 0 --> NULL | Thilo Schulz | |
2013-01-09 | Optimise VectorNormalize functions, patch by Matt Turner | Thilo Schulz | |
2013-01-09 | Refactor and bugfix COM_*Extension functions, patch by DevHC | Thilo 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-09 | move MIN/MAX definition, use MIN() instead of min(), patch by DevHC | Thilo 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 | Fix typecast | Thilo Schulz | |
2013-01-09 | Make bg_lib.c strchr ANSI-C conformant | Thilo Schulz | |
2013-01-09 | - Reverting accidentally committed vm_x86.c - Last commit contained some ↵ | Thilo Schulz | |
refactoring for vm_x86_64.c | |||
2013-01-09 | ensure 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-09 | Remove newlines from Com_Error calls, patch by DevHC | Thilo Schulz | |