Commit graph

2697 commits

Author SHA1 Message Date
Wolfgang (Blub) Bumiller
9cb46789f0 Adding qcvm.1 2012-12-18 16:03:29 +01:00
Wolfgang (Blub) Bumiller
e1c3e35422 Improved parameter handling of qcvm a little, added --version and --help 2012-12-18 15:46:26 +01:00
Wolfgang (Blub) Bumiller
6601e89029 fix wrong --version string 2012-12-18 15:44:26 +01:00
Wolfgang (Blub) Bumiller
70f676784d Better usage message for qcvm, don't exit after any of the information prints - but don't execute if any of them are used 2012-12-18 15:39:20 +01:00
Wolfgang (Blub) Bumiller
49c4da9670 BUGS, SEE ALSO and AUTHOR sections in the manpage 2012-12-18 15:30:59 +01:00
Wolfgang (Blub) Bumiller
201b3f9218 It's -config=file, not -config file 2012-12-18 15:27:12 +01:00
Wolfgang (Blub) Bumiller
52b4c9f0c1 Added -config to usage and manpage, added a CONFIG section in the manpage describing the ini file format, and added a short example to it 2012-12-18 15:26:41 +01:00
Wolfgang (Blub) Bumiller
82e0073433 Add included -fs and -Ws to for each -std in the manpage 2012-12-18 14:21:01 +01:00
Wolfgang (Blub) Bumiller
dccafd65ac More jump removal 2012-12-18 14:03:20 +01:00
Wolfgang (Blub) Bumiller
19deac0707 *sigh* 2012-12-18 13:13:54 +01:00
Wolfgang (Blub) Bumiller
66e6e6329f vector components are floats, not vectors 2012-12-18 12:58:15 +01:00
Wolfgang (Blub) Bumiller
d9cca87aff Don't generate IF/IFNOT with +1 offsets 2012-12-18 12:57:09 +01:00
Wolfgang (Blub) Bumiller
d09ab90f24 -fsingle-vector-defs to disable _x,_y,_z generation 2012-12-18 12:47:48 +01:00
Wolfgang (Blub) Bumiller
116d744823 Generate _x,_y,_z defs/fields 2012-12-18 12:41:38 +01:00
Wolfgang (Blub) Bumiller
2a94fe9731 qcvm -pringdefs now prints [SAVE] next to globals with DEF_SAVEFLAG set 2012-12-18 12:41:29 +01:00
Wolfgang (Blub) Bumiller
db5484bdef DEF_SAVEGLOBAL flag is now applied on initialized non-constant globals, and is not applied on 'consts' 2012-12-18 12:02:33 +01:00
Wolfgang (Blub) Bumiller
6b4c89700b Don't generate 'jump +1' instructions 2012-12-18 11:57:30 +01:00
Wolfgang (Blub) Bumiller
26f3370ea6 Renaming gmqcc.init since it's used by default if it exists and it makes the testsuite fail 2012-12-18 11:48:03 +01:00
Wolfgang (Blub) Bumiller
83a41d13c0 Don't generate AINSTR_END anymore, use INSTR_DONE 2012-12-18 11:46:26 +01:00
Wolfgang (Blub) Bumiller
a5e0542f95 cmd_options -> opts_cmd_t to make testsuite and executor compile again 2012-12-18 11:46:15 +01:00
Dale Weiler
2587aed697 Allow setting configuration file via commandline 2012-12-18 05:22:23 +00:00
Dale Weiler
ed4213d403 Add a template ini file for documentation 2012-12-18 05:12:57 +00:00
Dale Weiler
4b3e2571af Cleanups of compiler option configuration. Added ini/cfg parser system as well. 2012-12-18 04:57:17 +00:00
Wolfgang (Blub) Bumiller
0befe5da1c messages caused by -Warnings now show the -W flag 2012-12-17 18:36:27 +01:00
Wolfgang (Blub) Bumiller
b7117e08ce parsewarning and genwarning to use vcompile_warning 2012-12-17 18:26:26 +01:00
Wolfgang (Blub) Bumiller
2534076963 irwarning to use vcompile_warning 2012-12-17 18:25:06 +01:00
Wolfgang (Blub) Bumiller
0f99ae3459 ftepp_warn to use vcompile_warning 2012-12-17 18:24:16 +01:00
Wolfgang (Blub) Bumiller
fe344cb5b2 vcompile_error, vcompile_warning; fixed: removed opts_ globals from con.c; made the lexer use vcompile_warning 2012-12-17 18:22:33 +01:00
Wolfgang (Blub) Bumiller
6fa30fdaf4 Adding -Wunknown-pragmas to the manpage 2012-12-17 17:18:19 +01:00
Dale Weiler
8e0515de44 Added -Wunknown-pragmas 2012-12-17 16:14:43 +00:00
Wolfgang (Blub) Bumiller
68e4fb87d8 Fixed a bug in the generation of default switch cases: they can now fall through correctly 2012-12-17 17:01:07 +01:00
Dale Weiler
c1a4c8102e Finally fix the bug in -D 2012-12-17 15:46:07 +00:00
Wolfgang (Blub) Bumiller
f7bc1dca08 Revert "Not defining GMQCC_VERSION_ in gmqcc.h but checking if they're defiend and #error if not - they're set in the Makefile - please fix windows builds"
This reverts commit a473979cf5.

-- because visual studio sucks
2012-12-17 16:46:03 +01:00
Dale Weiler
e72d656eb8 Fixes, but still crashes because ... I have no clue, there is no reason for this to crash. 2012-12-17 15:39:22 +00:00
Wolfgang (Blub) Bumiller
a473979cf5 Not defining GMQCC_VERSION_ in gmqcc.h but checking if they're defiend and #error if not - they're set in the Makefile - please fix windows builds 2012-12-17 16:30:07 +01:00
Wolfgang (Blub) Bumiller
340de8379a --version 2012-12-17 16:14:39 +01:00
Dale Weiler
08302ff32b Just make it -v 2012-12-17 15:11:34 +00:00
Dale Weiler
ae960efff4 Added -which/-version 2012-12-17 15:08:17 +00:00
Wolfgang (Blub) Bumiller
ac18d58ffc Copy over the array-count in ast_type_adopt/ast_type_copy 2012-12-17 16:00:08 +01:00
Wolfgang (Blub) Bumiller
f0687adbaa Error when the assignop for an assignment is invalid, eg. when trying to assign arrays 2012-12-17 16:00:08 +01:00
Wolfgang (Blub) Bumiller
c2857a22e3 Let's still initialize the 'count' member... 2012-12-17 16:00:08 +01:00
Dale Weiler
c1c7a93884 Implemented -D for preprocessor 2012-12-17 14:58:55 +00:00
Wolfgang (Blub) Bumiller
eab1050ba4 Fix: check error before calling codegen_output_type 2012-12-17 15:43:14 +01:00
Dale Weiler
05ccb73e08 Update some info 2012-12-16 23:00:17 +00:00
Dale Weiler
58f90d9f51 Fix some typos 2012-12-16 22:52:17 +00:00
Dale Weiler
49e7f6d31d Add TODO 2012-12-16 22:48:46 +00:00
Dale Weiler
60807b677c Fix testsuite. Also added an additional test to the ternary stuff 2012-12-16 22:07:33 +00:00
Wolfgang (Blub) Bumiller
c198c23df1 Another peephole optimization 2012-12-06 22:10:31 +01:00
Wolfgang (Blub) Bumiller
8858f265dd s/ir_function_pass_minor/ir_function_pass_peephole/ 2012-12-06 21:39:34 +01:00
Wolfgang (Blub) Bumiller
362d822e18 Adding an 'install-doc' target to the Makefile, which is included by the 'install' target and uses MANDIR, which defaults to DATADIR/man, and DATADIR defaults to PREFIX/share 2012-12-06 18:57:56 +01:00