Commit graph

2698 commits

Author SHA1 Message Date
Dale Weiler
7c25af973c It was much easier in the AST, really. 2013-09-28 06:33:15 -04:00
Dale Weiler
81df8fa139 Remove the rest of it. 2013-09-28 06:10:02 -04:00
Dale Weiler
8a294683bb Remove it, maybe it can be done in the AST instead. 2013-09-28 06:09:24 -04:00
Dale Weiler
c4e92df106 Eh. 2013-09-28 05:36:09 -04:00
Dale Weiler
2b3663e18d Optimize for superfluous cases of NOT, i.e !!!!x can be simplified to !!x. 2013-09-28 05:34:53 -04:00
Dale Weiler
0d1f20fea3 Move it over 2013-09-28 03:41:18 -04:00
Igor Gnatenko
95b7056427 Optimizng compile flags
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2013-09-28 03:37:58 -04:00
Igor Gnatenko
c8a1b6563e Update to 0.3.0 (improved new package: gmqpak)
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2013-09-28 03:37:58 -04:00
Igor Gnatenko
48211572e5 Initial release
Add spec and patch

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2013-09-28 03:37:58 -04:00
Dale Weiler
d61c5d3b16 Fix alias type check 2013-09-26 08:09:55 -04:00
Dale Weiler
15b0555546 Implement constant folding on ternary operations via fold_cond. 2013-09-26 06:51:49 -04:00
Dale Weiler
cf2352893f Consistency 2013-09-25 16:19:33 -04:00
Dale Weiler
894e1976e3 Cheap quick hack for ignoring #pragma to EOL 2013-09-25 15:35:18 -04:00
Wolfgang Bumiller
904c45060b remove -printf option from find; remove the misplaced 'local's 2013-09-25 11:16:15 +02:00
Wolfgang Bumiller
87fcf8d8e8 there's no pushd/popd in my sh 2013-09-25 11:14:59 +02:00
Dale Weiler
d2405a9ad8 Some grammar 2013-09-25 04:24:09 -04:00
Dale Weiler
d664b9f607 Fix some stuff for xonotic and make check-proj actually use the options line correctly. 2013-09-25 04:23:06 -04:00
Dale Weiler
13ef558fff Add export utility for Nexuiz, now check-proj handles it. 2013-09-25 04:03:37 -04:00
Dale Weiler
3968dc84fd Got Xonotic stuff for check-proj to function. 2013-09-25 03:52:48 -04:00
Dale Weiler
330111d5fc Fix the xonotic export script for check-proj.sh 2013-09-24 07:53:51 -04:00
Dale Weiler
fac4e411bf Merge branch 'cooking' of github.com:graphitemaster/gmqcc into cooking 2013-09-24 07:32:23 -04:00
Dale Weiler
73eca0848c Fix QuakeWorld compilation by treating assignment to constants as a warning when -std=qcc. 2013-09-24 07:31:53 -04:00
Dale Weiler
37a4265e06 Update .travis.yml 2013-09-22 08:43:47 -04:00
Dale Weiler
69efb404bf Update .travis.yml 2013-09-22 08:43:24 -04:00
Wolfgang Bumiller
99422d0cf4 this is still there twice... 2013-09-19 21:05:40 +02:00
Wolfgang Bumiller
8d2a6ca419 moving the QCVM_EXECUTOR ifdef in conout.c - these are used in the executor 2013-09-19 21:05:39 +02:00
Dale Weiler
f25fff1e3d Remove debug printfs 2013-09-18 19:18:10 -04:00
Dale Weiler
e18849fa42 Generate (non_const_float * (1.0 / constant_float)) for (non_const_float / constant_float) expressions. 2013-09-18 19:15:24 -04:00
Wolfgang Bumiller
5a47dd5e62 since we don't bail on some of the warnings right away, (that is, with -Werror), also check the compile_errors count in main rather than just the return values 2013-09-18 16:20:25 +02:00
Wolfgang Bumiller
b6da3613ac making irwarning warn on an unused result 2013-09-18 16:20:24 +02:00
Dale Weiler
241637a980 Don't need that, each directory already has its own progs.src 2013-09-12 17:18:47 -04:00
Dale Weiler
9726d80e05 Output the dat name for xonotic export tool (first line of prog.src) 2013-09-12 17:08:40 -04:00
Dale Weiler
94e477e466 Added -progsrc commandline switch to specify progs.src files of different names. Cleaned up xonotic export script, fixed check-doc on linux systems by disabling mandoc check. 2013-09-12 17:06:20 -04:00
Dale Weiler
5bb245a33a Added xonotic_export.sh utility that when run from a xonotic-data.pk3dir will eliminate redundant files and create prog.src files for csprogs, progs(server) and menu. This tool will be used for check-proj.sh for exporting xonotic changes to our server. 2013-09-12 15:06:36 -04:00
Dale Weiler
6a235dc25f Support options for check-proj now 2013-09-11 17:09:03 -04:00
Dale Weiler
207d391fcd Allow running from root of gmqcc repo as well. 2013-09-11 16:50:33 -04:00
Dale Weiler
f44c127fbd Proper gmqcc sourcing for check-proj 2013-09-11 16:48:01 -04:00
Dale Weiler
c52ad67a7c Test for gmqcc in check-proj 2013-09-11 16:38:18 -04:00
Wolfgang Bumiller
35f9aef729 fix: declaring locals with the name of a parameter now treats the parameter as the local's prototype to avoid it being double-freed later 2013-09-11 11:25:44 +02:00
Dale Weiler
46fa12cb26 Merge branch 'cooking' of github.com:graphitemaster/gmqcc into cooking 2013-09-10 19:16:14 -04:00
Dale Weiler
8ddd126378 Added check-proj misc tool that downloads various QuakeC projects and tries to compile them with gmqcc, sort of like an additional test. 2013-09-10 19:15:28 -04:00
Wolfgang Bumiller
ce07e8fe28 distro/archbsd/this - as we don't depend on glibc there, just libc; also changed DESTDIR in archlinux/this/Makefile so it can be easily changed from the bsd Makefile 2013-09-09 12:18:30 +02:00
Wolfgang Bumiller
7af8c70bf9 distro/archlinux/this: generate the .MTREE file 2013-09-09 12:08:57 +02:00
Wolfgang Bumiller
3f151321f6 qcvm: exit on error 2013-09-08 21:31:56 +02:00
Dale Weiler
c2cf41baf9 Merge branch 'master' into cooking 2013-09-08 13:05:20 -04:00
Dale Weiler
9908209f58 Fix dependincies 2013-09-08 13:04:07 -04:00
Dale Weiler
6800d15872 Always print the char the lexer fails on for a token. 2013-08-31 16:52:46 -04:00
Dale Weiler
b2c8f3ebc5 Vector cross product virtual instruction, now >< operator works for non-constant vectors. Thanks divVerent for the help. 2013-08-31 14:49:06 -04:00
Dale Weiler
64661f54ea Implemented >< (vector cross product operator). Currently support for constants only. 2013-08-31 13:41:25 -04:00
Dale Weiler
69252071ba Prevent divide by zero for / and % operations in constant folding (previously caused compiler SIGFPE), instead "inf" is generated for both cases. This closes #124 2013-08-31 12:57:24 -04:00