Commit graph

  • 65a2b83abd Cleanup for builds Dale Weiler 2013-10-14 02:17:45 -0400
  • 19331ee385 who let the cat out? Wolfgang Bumiller 2013-10-11 15:53:53 +0200
  • ef51b30387 Fix windows builds, add strip target for makefiles, update distro build makefiles to use it for release builds. Dale Weiler 2013-10-11 09:51:08 -0400
  • f008cc257d Some cleanups Dale Weiler 2013-10-11 09:32:46 -0400
  • ccb46d7e3b Update README Dale Weiler 2013-10-11 08:14:37 -0400
  • 42a9784804 Merge branch 'cooking' of git://github.com/graphitemaster/gmqcc into cooking Wolfgang Bumiller 2013-10-11 14:11:40 +0200
  • 82afdb1e2c Merge branch 'cooking' of git://github.com/graphitemaster/gmqcc into cooking Wolfgang Bumiller 2013-10-11 14:10:57 +0200
  • 62ac7e9966 first part of parsing TOKEN_DOTS as part of a type when needed; allows declarations like: ...float x; Wolfgang Bumiller 2013-10-11 14:10:47 +0200
  • 6da151eba1 Update dependencies Dale Weiler 2013-10-11 08:10:32 -0400
  • 856949a5f9 I need to test this code on msvc now. Dale Weiler 2013-10-11 08:08:36 -0400
  • d8b3faa871 Fix that (newer clang will fail on it) Dale Weiler 2013-10-11 08:06:10 -0400
  • 92c0d6157c Merge branch 'cleanup' into cooking Dale Weiler 2013-10-11 08:04:02 -0400
  • fa14550d38 Last piece of documentation for platform.h Dale Weiler 2013-10-11 08:02:28 -0400
  • 604c9d25bf More documentation for platform.h Dale Weiler 2013-10-11 07:40:31 -0400
  • 4d0bf1607a Some documentation Dale Weiler 2013-10-11 07:16:48 -0400
  • 63fdab8422 Some more cleanup Dale Weiler 2013-10-11 06:36:05 -0400
  • 87d9371a5c Refactor some util/platform usage and extend file system file interface to accept its own flags and EOF Dale Weiler 2013-10-11 06:12:56 -0400
  • 3d5fedcf39 distro/archlinux/this/Makefile: TARCOMP variable contains the compression flag, rather than using -J in the makerule but provide the .xz extension in a variable Wolfgang Bumiller 2013-10-11 11:17:03 +0200
  • 637651f4e1 distro/archlinux/this/Makefile: tar -> bsdtar Wolfgang Bumiller 2013-10-11 11:14:46 +0200
  • e9bde1e4e4 Add back the correct directory handling for msvc Dale Weiler 2013-10-11 05:09:55 -0400
  • 34c18ab860 Make it compile with mingw32 again Dale Weiler 2013-10-11 04:58:49 -0400
  • dab528acda Add a porting guide Dale Weiler 2013-10-11 04:55:26 -0400
  • e8955f17ea More cleanups, gmqcc.h doesn't need to include stdio.h now! Dale Weiler 2013-10-11 04:06:52 -0400
  • 033cf7c7d3 More cleanups Dale Weiler 2013-10-11 03:59:25 -0400
  • 5138a25420 More cleanup Dale Weiler 2013-10-11 03:21:44 -0400
  • 12a864abf5 Some more platform / compiler specific code refactoring. Dale Weiler 2013-10-11 03:02:38 -0400
  • 151606e255 Initial platform / compiler specific code refactoring. Dale Weiler 2013-10-11 02:39:30 -0400
  • 14ef6a1c42 This can actually be much smaller, 204 bytes! Dale Weiler 2013-10-11 00:22:27 -0400
  • 9dabb68d7f More typos Dale Weiler 2013-10-10 22:12:03 -0400
  • f73f2f1ba9 typo Dale Weiler 2013-10-10 22:11:03 -0400
  • e263506b3f Document what the utf8 table actually is Dale Weiler 2013-10-10 22:10:36 -0400
  • 3e362e872c Wrong operand order it's 0xf4u-0xc2u i.e 0x32. Dale Weiler 2013-10-10 22:03:13 -0400
  • f83cc1b91d Less flexible more economical utf8 decoder. Dale Weiler 2013-10-10 21:44:40 -0400
  • 6bd6379c87 Don't echo it Dale Weiler 2013-10-05 23:39:05 -0400
  • a02e44100e Fix some things: get all the Quake mods to compile again (I broke binary expressions .. oops) Fix the check-proj script, using $? for status was invalid because of pipes. The ir now properly considers negation virtual instruction to be operations (as it should). Dale Weiler 2013-10-05 23:36:48 -0400
  • 99e3ae9773 Update CHANGES files Dale Weiler 2013-10-05 22:34:55 -0400
  • 300fb9905b Fix fold_superfluous Dale Weiler 2013-10-04 07:10:58 -0400
  • ffdd6df828 Only when peephole optimization is on Dale Weiler 2013-10-04 07:02:06 -0400
  • 2cf5046d38 Handle proper expression type assignment Dale Weiler 2013-10-04 06:53:09 -0400
  • cc69370575 Another peephole optimization which removes superfluous expressions such as (A + 0), (A - 0), (A * 1) and (A / 1). Dale Weiler 2013-10-04 06:46:54 -0400
  • 263fcfbc2f Refactor intrinsic stuff Dale Weiler 2013-10-02 13:00:34 -0400
  • 2ebf571129 Update documentation Dale Weiler 2013-09-30 16:03:22 -0400
  • 90824c2093 Add seperate warning flag for directive in macro. Dale Weiler 2013-09-30 15:59:36 -0400
  • 8f359f3849 Warn when preprocessor directive is found inside a macro body. Dale Weiler 2013-09-30 15:57:01 -0400
  • 08891068c8 Merge branch 'cooking' of github.com:graphitemaster/gmqcc into cooking Dale Weiler 2013-09-30 14:33:57 -0400
  • b6f08e7fb1 Fix negation type for VINSTR_NEG_V. Source operand for optimization instead of the expression (to handle double negation elision properly.) Dale Weiler 2013-09-30 14:32:21 -0400
  • fa14ca93d2 Merge branch 'master' into cooking Wolfgang Bumiller 2013-09-30 15:02:03 +0200
  • dfbd093348 Merge pull request #134 from Sicness/hyphen Wolfgang Bumiller 2013-09-30 06:01:22 -0700
  • e928cabfb2 Fixed hyphen-used-as-minus-sign in gmqcc.1 Anton Balashov 2013-09-30 16:43:57 +0400
  • 03b56bd41f Handle double negation case specially. Update TODO Dale Weiler 2013-09-30 05:12:28 -0400
  • 7249c2ec18 Simplify parse stage for unary - operator. Dale Weiler 2013-09-29 22:08:09 -0400
  • 353455e1ad Remove pointless thinking comment, fix builds for clang. Dale Weiler 2013-09-29 22:06:26 -0400
  • b10de1b240 Make unary - operator act as an ast_unary node. This allows for consistency (no sense in making unary use binstore nodes, it doesn't make much sense). It also allows for the peephole optimization on unary chains that cancel each other to take place; i.e code like "-(-a)" simplifies to "a", thus eliminating instructions. Dale Weiler 2013-09-29 22:01:46 -0400
  • 3c931ecbf1 Eh, only if peephole optimizations are turned on. Dale Weiler 2013-09-28 06:41:40 -0400
  • c6056d441b Less casts. Dale Weiler 2013-09-28 06:36:00 -0400
  • 7c25af973c It was much easier in the AST, really. Dale Weiler 2013-09-28 06:33:15 -0400
  • 81df8fa139 Remove the rest of it. Dale Weiler 2013-09-28 06:10:02 -0400
  • 8a294683bb Remove it, maybe it can be done in the AST instead. Dale Weiler 2013-09-28 06:09:24 -0400
  • c4e92df106 Eh. Dale Weiler 2013-09-28 05:36:09 -0400
  • 2b3663e18d Optimize for superfluous cases of NOT, i.e !!!!x can be simplified to !!x. Dale Weiler 2013-09-28 05:34:53 -0400
  • 0d1f20fea3 Move it over Dale Weiler 2013-09-28 03:41:18 -0400
  • 95b7056427 Optimizng compile flags Igor Gnatenko 2013-09-26 01:57:07 +0400
  • c8a1b6563e Update to 0.3.0 (improved new package: gmqpak) Igor Gnatenko 2013-09-20 23:21:39 +0400
  • 48211572e5 Initial release Igor Gnatenko 2013-07-27 22:44:42 +0400
  • d61c5d3b16 Fix alias type check Dale Weiler 2013-09-26 08:09:55 -0400
  • 15b0555546 Implement constant folding on ternary operations via fold_cond. Dale Weiler 2013-09-26 06:51:49 -0400
  • cf2352893f Consistency Dale Weiler 2013-09-25 16:19:33 -0400
  • 894e1976e3 Cheap quick hack for ignoring #pragma to EOL Dale Weiler 2013-09-25 15:35:18 -0400
  • 904c45060b remove -printf option from find; remove the misplaced 'local's Wolfgang Bumiller 2013-09-25 11:16:15 +0200
  • 87fcf8d8e8 there's no pushd/popd in my sh Wolfgang Bumiller 2013-09-25 11:14:59 +0200
  • d2405a9ad8 Some grammar Dale Weiler 2013-09-25 04:24:09 -0400
  • d664b9f607 Fix some stuff for xonotic and make check-proj actually use the options line correctly. Dale Weiler 2013-09-25 04:23:06 -0400
  • 13ef558fff Add export utility for Nexuiz, now check-proj handles it. Dale Weiler 2013-09-25 04:03:37 -0400
  • 3968dc84fd Got Xonotic stuff for check-proj to function. Dale Weiler 2013-09-25 03:52:48 -0400
  • 330111d5fc Fix the xonotic export script for check-proj.sh Dale Weiler 2013-09-24 07:53:51 -0400
  • fac4e411bf Merge branch 'cooking' of github.com:graphitemaster/gmqcc into cooking Dale Weiler 2013-09-24 07:32:23 -0400
  • 73eca0848c Fix QuakeWorld compilation by treating assignment to constants as a warning when -std=qcc. Dale Weiler 2013-09-24 07:31:53 -0400
  • 37a4265e06 Update .travis.yml Dale Weiler 2013-09-22 08:43:47 -0400
  • 69efb404bf Update .travis.yml Dale Weiler 2013-09-22 08:43:24 -0400
  • 99422d0cf4 this is still there twice... Wolfgang Bumiller 2013-09-19 20:55:41 +0200
  • 8d2a6ca419 moving the QCVM_EXECUTOR ifdef in conout.c - these are used in the executor Wolfgang Bumiller 2013-09-19 20:55:32 +0200
  • f25fff1e3d Remove debug printfs Dale Weiler 2013-09-18 19:18:10 -0400
  • e18849fa42 Generate (non_const_float * (1.0 / constant_float)) for (non_const_float / constant_float) expressions. Dale Weiler 2013-09-18 19:15:24 -0400
  • 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 Wolfgang Bumiller 2013-09-18 16:20:07 +0200
  • b6da3613ac making irwarning warn on an unused result Wolfgang Bumiller 2013-09-18 16:18:29 +0200
  • 241637a980 Don't need that, each directory already has its own progs.src Dale Weiler 2013-09-12 17:18:47 -0400
  • 9726d80e05 Output the dat name for xonotic export tool (first line of prog.src) Dale Weiler 2013-09-12 17:08:40 -0400
  • 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. Dale Weiler 2013-09-12 17:06:20 -0400
  • 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. Dale Weiler 2013-09-12 15:06:36 -0400
  • 6a235dc25f Support options for check-proj now Dale Weiler 2013-09-11 17:09:03 -0400
  • 207d391fcd Allow running from root of gmqcc repo as well. Dale Weiler 2013-09-11 16:50:33 -0400
  • f44c127fbd Proper gmqcc sourcing for check-proj Dale Weiler 2013-09-11 16:48:01 -0400
  • c52ad67a7c Test for gmqcc in check-proj Dale Weiler 2013-09-11 16:38:18 -0400
  • 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 Wolfgang Bumiller 2013-09-11 11:25:44 +0200
  • 46fa12cb26 Merge branch 'cooking' of github.com:graphitemaster/gmqcc into cooking Dale Weiler 2013-09-10 19:16:14 -0400
  • 8ddd126378 Added check-proj misc tool that downloads various QuakeC projects and tries to compile them with gmqcc, sort of like an additional test. Dale Weiler 2013-09-10 19:15:28 -0400
  • 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 Wolfgang Bumiller 2013-09-09 12:18:30 +0200
  • 7af8c70bf9 distro/archlinux/this: generate the .MTREE file Wolfgang Bumiller 2013-09-09 12:08:57 +0200
  • 3f151321f6 qcvm: exit on error Wolfgang Bumiller 2013-09-08 21:31:56 +0200
  • c2cf41baf9 Merge branch 'master' into cooking Dale Weiler 2013-09-08 13:05:20 -0400