Commit Graph

108 Commits

Author SHA1 Message Date
Ludwig Nussel 39f2e449b6 use mmap to allocate memory for generated code to be able to set PROT_EXEC 2006-03-04 11:14:44 +00:00
Tim Angus 4ec0c94828 * Displace the '\n's passed to SV_Shutdown 2006-02-28 23:01:23 +00:00
Ludwig Nussel a99e721711 try to fix msvc build 2006-02-26 20:01:45 +00:00
Aaron Gyes 966ffaa0f2 o rly 2006-02-20 22:08:23 +00:00
Aaron Gyes cc9ead2fd7 Bump version number. 2006-02-20 22:04:16 +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 ab29f29495 * Fix to a memory leak in CM_ValidateFacet 2006-01-27 18:14:01 +00:00
Tim Angus 8a6be4aef4 * Persistent console history 2006-01-24 04:35:19 +00:00
Tim Angus 4ab96373e6 * Only check the checksum on baseq3 pak0.pk3 2006-01-22 17:05:43 +00:00
Tim Angus c3f7915a8b * Overhaul of console autocompletion
- No longer does weird stuff like move the cursor inappropriately
  - Autocomplete works with compound commands
  - Special autocomplete on some commands e.g. \map, \demo
  - Removed various hacks used to counter the original autocomplete code
2006-01-22 01:58:50 +00:00
Tim Angus 7913ec3c4b * Fix a bug with command/cvar autocompletion 2006-01-21 01:35:42 +00:00
Tim Angus 58c8175024 * Added Q_isnan for NaN tests with -ffast-math
* Fixed UT/OpenAL work around
2006-01-19 20:28:12 +00:00
Tim Angus 6a396f761f * Yet another MD4 implementation
* Removed Com_BlockChecksumkey and replaced its functionality in the calling
  function
2006-01-18 15:53:50 +00:00
Tim Angus 0856744622 * GPL MD4 implementation
* Removed obsolete compilation instructions from the id readme
* Removed MD4 license from the id readme
2006-01-18 01:20:42 +00:00
Tim Angus b4898caac4 * Fix to a stupid bug I introduced whilst trying to be clever 2006-01-15 15:30:52 +00:00
Tim Angus e74947be2c * x86 OS X support 2006-01-15 15:22:13 +00:00
Tim Angus 216bda8cd7 * Patch from https://bugzilla.icculus.org/show_bug.cgi?id=2540 2006-01-13 20:54:07 +00:00
Ludwig Nussel 13039ef44f make memory for generated opcodes executable so the program works with
enabled NX feature.
2006-01-06 19:11:05 +00:00
Tim Angus e95f1f2106 * Fix to the gcc4/-O0 x86 JIT compiler bug 2006-01-06 00:04:05 +00:00
Tim Angus 560b02488c * Up the defaults for zone and hunk memory since some mods (UT) have large
memory requirements that will have increased versus 1.32b due to some of the
  alignment fixes
2006-01-05 16:49:59 +00:00
Tim Angus 1171a63aea * Remove FS_SetRestrictions
* Add FS_CheckPak0 for better error messages where dumb users are involved
2006-01-05 02:06:25 +00:00
Tim Angus 6e24cfe7d3 * Fix the MinGW and (hopefully) OS X builds
* Remove custom memcpy/memset code
2006-01-04 03:40:49 +00:00
Tim Angus a21eb2bbcb * AVI video output
- Uses motion jpeg codec by default
  - Use cl_avidemo to set a framerate
  - \video [filename] to start capture
  - \stopvideo to stop capture
  - Audio capture is a bit ropey
2006-01-04 03:12:12 +00:00
Ludwig Nussel 92ad3e99dc fix typo in comment 2005-12-30 17:52:56 +00:00
Tim Angus db5faeaeaa * NetBSD support patch from optical (alex@rigbo.se) 2005-12-27 19:46:01 +00:00
Tim Angus 1704eecc52 * Replaced ALIGN macro with PAD
* Moved ALIGN16 macro from tr_local.h to ALIGN in q_shared.h
2005-12-05 17:32:54 +00:00
Ryan C. Gordon cfdd586ef8 Look for correct filename extension when loading native DLLs. 2005-12-05 01:11:41 +00:00
Ryan C. Gordon ff9c89f8fe Better altivec cvar handling. Should fix crashes at startup, or curious
people that toggle it on at runtime on a G3.
2005-12-04 21:40:25 +00:00
Tim Angus 796ba11301 * Ditch Mac OS 9 support 2005-12-01 21:36:16 +00:00
Ryan C. Gordon 4784374221 Make sure Q3_BIG_ENDIAN and Q3_LITTLE_ENDIAN are defined correctly for
PowerPC/x86 Mac OS X. Fixes Bugzilla #2510.
2005-11-29 03:31:31 +00:00
Tim Angus 382c6adb54 * Disable ccache by default. If you want it, add USE_CCACHE=1 to Makefile.local
* Remove -gfull from linux section in Makefile -- it's darwin only
* Cast away some warnings that surfaced from using "new" AL headers
* Various whitespace and consistency fixes
2005-11-26 15:01:28 +00:00
Ryan C. Gordon 721b9a7d01 Mac OS X work...lots of little changes that touch a lot of random places.
Still work to be done, but this at least matches the PowerPC Linux status
 now.

MacOS-specific directory (and XCode project) is gone...this now uses SDL,
 OpenAL, and the Unix Makefiles.

--ryan.
2005-11-26 07:46:21 +00:00
Tim Angus fee4381e18 * Remove the debug text that nobody seemed to notice 2005-11-19 02:14:34 +00:00
Tim Angus 82893aebc9 * Bleh.. whitespace 2005-11-16 20:25:36 +00:00
Tim Angus 387d8041ce * Partial implementation of FS_Seek for files in pk3s
* A couple of RIFF decoder tweaks/fixes
2005-11-16 20:23:37 +00:00
Tim Angus 736d34c989 * Small "bug" fix to MSG_WriteBits 2005-11-15 23:49:14 +00:00
Tim Angus e8a953fea6 * Quiet some warnings on OS X 2005-11-13 23:05:00 +00:00
Ludwig Nussel 79ceef93cc store temporary files in /tmp to save space in ~ 2005-11-13 18:33:28 +00:00
Ludwig Nussel c95d0c29e4 use common macro for alignment 2005-11-13 17:51:21 +00:00
Ludwig Nussel b2f39d7ddd use system memcpy and memset 2005-11-06 18:22:49 +00:00
Ludwig Nussel 590988222f - crash solved 2005-11-06 16:32:42 +00:00
Ludwig Nussel 48ee88ad77 - move code for standalone compilation out of vm_x86_64.c
- reset vm->compiled if something goes wrong in VM_Compile
2005-11-06 13:50:28 +00:00
Ludwig Nussel 8a18ecb961 - fall back to interpreter if VM_Compile resets vm->compiled 2005-11-06 13:46:17 +00:00
Ludwig Nussel 87b12105bc - set umask to 0077 before writing the cdkey, the rest of the world
doesn't need to read it.
2005-11-06 13:45:20 +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
Ludwig Nussel dfe20a177c - put ALIGN macro into q_shared.h
- yet another alignment fix for botlib
2005-11-05 19:06:10 +00:00
Tim Angus 81c1b3128b * Enable use of asm on Solaris-x86 2005-11-05 18:41:37 +00:00
Tim Angus a31e38986c * Patch from AJ <anthonyj@planetquake.com> which replaces a bunch of hard coded
constants with #define constants
2005-11-05 15:54:56 +00:00
Tim Angus d41de844d3 * Oops, missed a bit 2005-11-05 00:42:28 +00:00
Tim Angus a87185a96f * Centralise architecture defines in q_platform.h 2005-11-05 00:29:40 +00:00