Thilo Schulz
7ac6b087af
Use Q_ftol for vm_interpreted
2011-06-16 01:26:17 +00:00
Thilo Schulz
83522282f1
Various fixes to vm_interpreted.c:
...
- Add opStack protection
- Fix dataMask check for OP_BLOCK_COPY
- Add instruction number check for conditional jumps
- Make errors in VM_PrepareInterpreter nonfatal
2011-06-16 01:11:45 +00:00
Ludwig Nussel
4876413217
__WORDSIZE is not available on non-GNU systems (Dominic Fandrey)
2010-01-16 10:55:51 +00:00
Ludwig Nussel
469c986640
more security checks in interpreter ( #4249 )
2009-11-01 19:58:07 +00:00
Ludwig Nussel
cc9a74a218
Define stack sizes at central place
...
also reverts bug 4282 as stack is included in bss already so nothing that needs fixing
2009-11-01 19:58:03 +00:00
Thilo Schulz
c05d9c9f0c
Fix uninitialized words in VM interpreter, reported by Patrick Baggett (4281)
2009-10-23 03:02:08 +00:00
Tim Angus
a6382d2d9b
* Fix unused variable warning
...
* Add USE_LOCAL_HEADERS guards to sys_loadlib.h
2008-08-23 22:45:30 +00:00
Tim Angus
b555d68b3f
* (bug #3729 ) server dependencies on client.h (Ben Millwood)
...
* (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__
2008-08-22 22:47:26 +00:00
Ludwig Nussel
7a5243a3b2
use vm->callLevel to count recursive calls to VM_Call
...
Throw an error if vm->callLevel is set and VM_Free is called.
2008-03-24 21:20:55 +00:00
Tim Angus
672cfbf16f
* Merge unified-sdl to trunk
...
* Bump Q3_VERSION to 1.35
2007-09-05 18:17:46 +00:00
Ludwig Nussel
6a5908d444
check program counter on OP_CALL and OP_LEAVE
2007-06-25 09:45:18 +00:00
Thilo Schulz
5dc3b35b49
- Fix loads of format string bugs
...
- Fix locally looping sounds, thanks to Timbo
2007-01-24 21:23:21 +00:00
Ludwig Nussel
6327f1ce47
looks like the interpreter was broken all the time. Didn't anyone
...
notice?
2006-07-06 09:25:17 +00:00
Ludwig Nussel
4c242115dc
- change long to intptr_t for 64bit windows compatability
...
- change vmMain arguments back to int. 64bit types are apparently not
needed there. Only the syscall function needs them.
2006-02-18 19:07:23 +00:00
Tim Angus
4eaebe4a31
* Tidy-up of q_platform.h
...
* Introduced Q3_BIG_ENDIAN and Q3_LITTLE_ENDIAN #defines
* Changed some stricmp to Q_stricmp so that #define stricmp strcasecmp could be
removed
2005-11-06 00:29:59 +00:00
Tim Angus
e4b7a04d5c
* Replaced a bunch of inline and __inline with ID_INLINE
...
* Replaced a bunch of __i386__ with id386
* General tidy up of asm preprocessor decisions
* Removed C_ONLY from the dedicated server build
2005-11-04 22:32:00 +00:00
Ludwig Nussel
48683c91a8
use memcpy to fix use of misaligned data
2005-11-01 19:59:14 +00:00
Tim Angus
63fdc74843
* Fix to the VM interpreter on the linux ppc dedicated server
2005-10-29 22:06:43 +00:00
Tim Angus
05e8ab9538
* Added STATUS
...
* Updated TODO
* Moved ChangeLog to root
* Updated ChangeLog
* s/Foobar/Quake III Arena Source Code/
* Biggest patch EVAR. I wonder how many mail boxes this will fill...
2005-10-29 01:53:09 +00:00
Ludwig Nussel
d5fbff3f44
revert int->long change as it breaks on 64bit. Actually only
...
VM_CallInterpreted hurts as VM_CallCompiled is only used on 32bit. Use
same arg types for consistency nevertheless.
2005-09-26 22:23:46 +00:00
Tim Angus
cde9e9e93c
* Fixed some long/int warnings, hopefully this doesn't disrupt the MSVC and/or 64bit builds
2005-09-26 16:13:14 +00:00
Tim Angus
fcaf343d7f
* Port to MinGW
2005-09-22 03:21:33 +00:00
Ludwig Nussel
4a5f66fbe3
don't make unaligned used of OP_BLOCK_COPY an error. The bytecode
...
compiler doesn't care either.
2005-09-03 12:01:51 +00:00
Ludwig Nussel
54d65a0ead
- load qvm file by default again to avoid 'unpure' error
...
- fix loading qvms in 64bit q3
2005-08-30 21:25:54 +00:00
Ludwig Nussel
5ae70d54b0
remove svn:executable property
2005-08-28 17:54:51 +00:00
Zachary Slater
f46ede91fb
Ludwig's 1st diff: Some 64bit fixes for x86_64. Also fixes Makefile build.
2005-08-27 02:24:00 +00:00
Zachary Slater
59cce31e75
newlines fixed
2005-08-26 17:39:27 +00:00
Zachary Slater
5b755058f5
Itsa me, quake3io!
2005-08-26 04:48:05 +00:00
Travis Bradshaw
dbe4ddb103
The Quake III Arena sources as originally released under the GPL license on August 20, 2005.
2012-01-31 13:41:34 -06:00