Dale Weiler
|
783b7b6594
|
Update license headers
|
2015-01-09 14:53:35 -05:00 |
|
Dale Weiler
|
53e9ed0d96
|
Merge branch 'arithmetic_exceptions' into cooking
Conflicts:
doc/gmqcc.1
gmqcc.ini.example
opts.def
parser.c
|
2014-05-25 03:01:47 -04:00 |
|
Dale Weiler
|
463426ad47
|
Some fixes
|
2014-05-25 02:27:02 -04:00 |
|
Wolfgang Bumiller
|
0d8b0d419c
|
implement INSTR_STATE in the qcvm
|
2014-04-08 14:34:26 +02:00 |
|
Dale Weiler
|
763e85b3ae
|
Use powf instead of pow.
|
2014-03-17 09:43:17 -04:00 |
|
Dale Weiler
|
06e2cb2b1b
|
Add qc_pow.
|
2014-03-17 09:39:59 -04:00 |
|
Jim Thoenen
|
69b89dc6ac
|
Allow testsuite to pass on big endian
Move the progs header and body byteswapping into util functions and
call those functions when either reading or writing the progs.
|
2014-02-10 20:31:54 -06:00 |
|
Dale Weiler
|
a934e0fe4b
|
Happy new year!
|
2014-01-01 06:24:16 -05:00 |
|
Dale Weiler
|
8e8b3608fb
|
Cleanups
|
2013-10-14 20:58:36 -04:00 |
|
Dale Weiler
|
65a2b83abd
|
Cleanup for builds
|
2013-10-14 02:17:45 -04:00 |
|
Dale Weiler
|
87d9371a5c
|
Refactor some util/platform usage and extend file system file interface to accept its own flags and EOF
|
2013-10-11 06:12:56 -04:00 |
|
Dale Weiler
|
033cf7c7d3
|
More cleanups
|
2013-10-11 03:59:25 -04:00 |
|
Dale Weiler
|
12a864abf5
|
Some more platform / compiler specific code refactoring.
|
2013-10-11 03:02:38 -04:00 |
|
Dale Weiler
|
151606e255
|
Initial platform / compiler specific code refactoring.
|
2013-10-11 02:39:30 -04:00 |
|
Wolfgang Bumiller
|
99422d0cf4
|
this is still there twice...
|
2013-09-19 21:05:40 +02:00 |
|
Wolfgang Bumiller
|
3f151321f6
|
qcvm: exit on error
|
2013-09-08 21:31:56 +02:00 |
|
Dale Weiler
|
2a79339735
|
Remove that idiom, and use GMQCC_ARRAY_COUNT.
|
2013-08-17 23:39:06 +00:00 |
|
Dale Weiler
|
94139513db
|
Cleanups and update CHANGES
|
2013-08-17 22:16:40 +00:00 |
|
Dale Weiler
|
772dbfae26
|
Make it compile in visual studio again, without warnings.
|
2013-08-16 09:03:36 +00:00 |
|
Dale Weiler
|
a622d5163b
|
Rework some build stuff for better output and to enable strict prototypes
|
2013-08-16 03:28:02 +00:00 |
|
Wolfgang Bumiller
|
3ece4a964f
|
remove the 'opts' global from test.c and exec.c as opts.c defines it and is linked into both the testsuite and qcvm
|
2013-08-14 12:09:26 +02:00 |
|
Dale Weiler
|
d6ca5673dc
|
Use the _t consistency naming scheme. Also various cleanups.
|
2013-07-30 16:00:51 +00:00 |
|
Dale Weiler
|
c8c25ef6f7
|
Some cleanups and smaller binaries!
|
2013-07-28 00:23:15 +00:00 |
|
Dale Weiler
|
96ec279663
|
Another one
|
2013-07-21 21:56:03 +00:00 |
|
Dale Weiler
|
edf59e4f73
|
Fixed possible bug in VM. Added coverity rules to makefiles.
|
2013-06-22 00:15:25 +00:00 |
|
Dale Weiler
|
125d039e3d
|
Fix some bugs
|
2013-06-21 23:16:00 +00:00 |
|
Dale Weiler
|
8afd373e4f
|
Fixed whitespace
|
2013-06-14 21:36:16 +00:00 |
|
Dale Weiler
|
144672fada
|
Strict prototyping
|
2013-06-06 02:51:13 +00:00 |
|
Dale Weiler
|
11179a2a71
|
Major header reworking, this respects the namespaces properly. Makes object dependency more obvious, allows for better make caches, and prevents misuse of library features, i.e use con_* instead of printf.
|
2013-06-04 02:47:07 +00:00 |
|
Dale Weiler
|
f281de7a3c
|
Cleanups and fixes
|
2013-05-29 02:16:50 +00:00 |
|
Dale Weiler
|
c07c78c666
|
Escape strings in executor for -printdefs
|
2013-05-02 19:18:59 +00:00 |
|
Dale Weiler
|
10dd7aacfe
|
Apply some static where it belongs
|
2013-04-25 03:34:42 +00:00 |
|
Wolfgang Bumiller
|
3a4aba0b31
|
Grrrr
|
2013-04-24 17:47:42 +02:00 |
|
Dale Weiler
|
489ad486bc
|
Get it compiling in visual studio again.
|
2013-04-24 01:43:53 +00:00 |
|
Dale Weiler
|
7ba7fd5968
|
Fet rid of explicit file stream flushes, streams are flushed on exit, which we can always gurantee.
|
2013-04-14 01:32:29 +00:00 |
|
Dale Weiler
|
f19adcd1b3
|
Implemented __builtin_mod, and % operator. Added floor builtin to the standalone executor. Mod works so long as the compiler can find a suitable definition of "float floor(float)", otherwise it prints a diagnostic and gives up (original id1 Quake had floor so we can depend on it).
|
2013-03-08 09:17:54 +00:00 |
|
Dale Weiler
|
8d59d7029d
|
Cleanup cargocult directory and file specific things, to fs.c (renamed file.c which also contains directory handling stuff). Also cleaned up some stuff, and added proper end comments to conditional inclusion stuff.
|
2013-02-08 12:06:59 +00:00 |
|
Wolfgang Bumiller
|
7fb3b97e73
|
-v now prints the initial value of globals in -printdefs
|
2013-01-25 19:17:31 +01:00 |
|
Wolfgang Bumiller
|
48f8d0e0c3
|
changing some error prints to print to stderr in exec.c
|
2013-01-25 18:41:17 +01:00 |
|
Wolfgang Bumiller
|
06f53b1a28
|
When not actually executing, don't complain about invalid progs.dat versions for now.
|
2013-01-17 17:36:06 +01:00 |
|
Wolfgang Bumiller
|
73c86127f7
|
fix the broken vector instructions in our executor as well... how could I forget
|
2013-01-14 14:22:02 +01:00 |
|
Wolfgang Bumiller
|
30eac57199
|
filling type_name in exec.c
|
2013-01-11 23:15:16 +01:00 |
|
Wolfgang Bumiller
|
5bb4e40c72
|
code cleanup: prog_tempstring used to cast const char * parameter to char * due to the old vector code which is now gone
|
2013-01-11 23:13:36 +01:00 |
|
Wolfgang Bumiller
|
6ece523552
|
sqrt and normalize builtins
|
2013-01-08 20:46:30 +01:00 |
|
Wolfgang Bumiller
|
2531a3695f
|
fixup qcvm parameter handling, now progs.dat can be specified anywhere not just at the end
|
2013-01-06 16:37:02 +01:00 |
|
Dale Weiler
|
29db4a44ed
|
Happy new years!
|
2013-01-01 05:08:55 +00:00 |
|
Dale Weiler
|
d750d17be5
|
Fix evaluation order bug
|
2012-12-30 11:01:45 +00:00 |
|
Dale Weiler
|
6935561b41
|
Fix one warning
|
2012-12-28 12:33:10 +00:00 |
|
Wolfgang Bumiller
|
93dbfa18f1
|
fix -v option parsing in qcvm
|
2012-12-26 22:49:50 +01:00 |
|
Wolfgang Bumiller
|
47f7611ec9
|
verbose switches for the qcvm; makes -printfuns find the instruction-count of a function and print that too
|
2012-12-26 10:23:45 +01:00 |
|