2013-10-06 02:34:55 +00:00
|
|
|
Release 0.3.5:
|
|
|
|
* Preprocessor:
|
|
|
|
- Added warning for when preprocessor directives are used in
|
|
|
|
a macro.
|
2013-08-29 11:07:43 +00:00
|
|
|
* Language:
|
2013-10-06 02:34:55 +00:00
|
|
|
- Added vector bit operations.
|
|
|
|
- Added vector cross product operator `><` for -std=gmqcc.
|
|
|
|
- Added `[[eraseable]]` attribute.
|
|
|
|
- Removed &~= operator for -std=gmqcc.
|
|
|
|
- #pragmas which are ignored are actually ignored to EOL.
|
2013-08-29 11:07:43 +00:00
|
|
|
* Compilation:
|
2013-10-06 02:34:55 +00:00
|
|
|
- Fixed constant folding.
|
|
|
|
- Fixed column printing in diagnostics.
|
|
|
|
- Added support for columns in LNOF.
|
|
|
|
- Shadowed locals fix.
|
|
|
|
- Improved warning diagnostics for precedence usage and other
|
|
|
|
various diagnostics.
|
|
|
|
- Added constant folding logic for builtin functions.
|
|
|
|
- Prevent divide by zero in constant folding.
|
|
|
|
- Added unary elision optimization, cases where a unary expression
|
|
|
|
cancels itself out, e.g `-(-a)` now simplifies to `a`.
|
|
|
|
- Added strength reduce optimization, for divisions e.g `(A / 10)`
|
|
|
|
now strength reduces to `(A * (1 / 10)` where `(1 / 10)` is
|
|
|
|
evaluated at compile time.
|
|
|
|
- Added superfluous expression elision optimization, e.g `(A + 0),
|
|
|
|
(A - 0), (A * 1), (A / 1)` can be simplified to just `A`.
|
|
|
|
- Quake world now compiles with -std=qcc
|
|
|
|
- Constant folding for `if than` now works for ternary expressions
|
|
|
|
too.
|
|
|
|
- Fixed `[[alias]]` attribute type checking, now you can't alias
|
|
|
|
invalid types.
|
|
|
|
* QCVM:
|
|
|
|
- Properly exits on error now.
|
|
|
|
* Lexer:
|
|
|
|
- Now prints the character the lexer fails on instead of the
|
|
|
|
token value.
|
2013-08-29 11:07:43 +00:00
|
|
|
* Testsuite:
|
|
|
|
- Important fixes to the testsuite (removal of false positives
|
2013-10-06 02:34:55 +00:00
|
|
|
and false negitives).
|
|
|
|
- Added a new utility `check-proj.sh` which downloads various Quake
|
|
|
|
mods and attempts to compile them.
|
|
|
|
* Commandline:
|
|
|
|
- Made -fshort-logic, -funtyped-nil and -fvariadic-args default
|
|
|
|
for -std=gmqcc.
|
2013-08-29 11:07:43 +00:00
|
|
|
* Build:
|
2013-10-06 02:34:55 +00:00
|
|
|
- Generate PDFs of man documents for Windows releases.
|
|
|
|
- Archlinux/Archbsd package now generates MTREE.
|
2013-08-29 11:07:43 +00:00
|
|
|
* Documentation:
|
2013-10-06 02:34:55 +00:00
|
|
|
- Fixed mdoc(s).
|
|
|
|
* Misc:
|
|
|
|
- Added some export scripts for xonotic and nexuiz which generate
|
|
|
|
specially crafted packages that are used by the check-proj script.
|
2013-08-29 11:07:43 +00:00
|
|
|
|
2013-08-19 21:34:49 +00:00
|
|
|
2013-08-20 v0.3.0
|
2013-06-04 18:02:02 +00:00
|
|
|
* Language:
|
|
|
|
- Return assignments, the ability to assign to the return keyword
|
|
|
|
as if it were a local variable.
|
2013-06-16 02:48:31 +00:00
|
|
|
- Added bitwise XOR operator (^)
|
2013-08-17 22:16:40 +00:00
|
|
|
- Array initializers: e.g float a[] = {1, 2, 3};
|
|
|
|
- Fix bug that dissalowed language operators to be used in strings.
|
2013-06-04 18:02:02 +00:00
|
|
|
* Compilation:
|
|
|
|
- Optimized memory usage (now uses on average %3 less memory for
|
|
|
|
compilation).
|
|
|
|
- Fixed dotranslate (translatable strings)
|
2013-08-17 22:16:40 +00:00
|
|
|
- Rewrote constant folding optimization pass for the parser.
|
|
|
|
- New additional dead-code-elimination-consatant-fold pass for
|
|
|
|
if statements whos expression can be evaluated at compile-time
|
|
|
|
(allowing the if/else branch to be entierly elided at compile-time).
|
|
|
|
- Added support for columns in error diagnostics.
|
|
|
|
- Limit corrector to <= 16 byte strings.
|
|
|
|
- Improved hash function for hashtable (old hash function had 15% error,
|
|
|
|
this speeds up compilation)
|
|
|
|
- Improved performance of in-house allocator with branch-hinting, speeds
|
|
|
|
up compilation of Xonotic by 3 seconds!
|
2013-06-04 18:02:02 +00:00
|
|
|
* QCVM:
|
|
|
|
- Escape strings for -printdefs
|
|
|
|
* Commandline:
|
|
|
|
- Added statistic dumps, gives information about the number of used
|
|
|
|
hashtables, vectors, and number of unique sizes of vectors and
|
|
|
|
hashtables. The amount of memory used for vectors. As well as the
|
|
|
|
number of strdups used in total for compilation.
|
2013-08-17 22:16:40 +00:00
|
|
|
- Added compile statistic dumps, gives information about the compiled
|
|
|
|
binary, and LNO, such as the size, CRC, the number of times a
|
|
|
|
specific optimization was applied, etc.
|
2013-10-06 02:34:55 +00:00
|
|
|
- Make -std=qcc default.
|
2013-06-04 18:02:02 +00:00
|
|
|
* Testsuite:
|
|
|
|
- Fixed a floating point exception rasied by modulo operation in
|
|
|
|
-memchk.
|
2013-08-17 22:16:40 +00:00
|
|
|
- Added support for the test-suite to source tests and task-template
|
|
|
|
files from subdirectories in the test/ directory.
|
2013-08-17 22:17:14 +00:00
|
|
|
- Now prints the number of failed tests (if any) after all tests
|
|
|
|
are attempted.
|
|
|
|
- Fixed some bugs with error handling resulting in false-positives.
|
2013-06-04 18:02:02 +00:00
|
|
|
* Build:
|
2013-08-17 22:19:40 +00:00
|
|
|
- Can now be compiled with TCC (Tiny C compiler) and function as
|
2013-08-17 22:16:40 +00:00
|
|
|
intended (previously couldn't due to bug in TCC codegen).
|
|
|
|
- Added Gentoo ebuilds.
|
|
|
|
- Added Win32 Makefile for building Win32 packages.
|
|
|
|
- Added Slackware pkg build files.
|
|
|
|
- Added Fedora spec files.
|
|
|
|
- Added Makefile for the BSD make variant.
|
2013-08-17 22:19:40 +00:00
|
|
|
* Misc:
|
|
|
|
- Added valgrind memcheck hook to in-house allocator to help aid
|
|
|
|
in finding invalid reads/writes, and more accurate leaks.
|
2013-04-27 14:33:47 +00:00
|
|
|
|
|
|
|
2012-04-27 v0.2.9
|
2013-01-09 20:49:28 +00:00
|
|
|
* Preprocessor:
|
|
|
|
- __VA_ARGS__ support
|
2013-04-21 10:08:04 +00:00
|
|
|
_ __VA_ARGS__ indexing
|
2013-01-09 20:49:28 +00:00
|
|
|
- Predefined macros like __DATE__, __TIME__, ...
|
2013-10-06 02:34:55 +00:00
|
|
|
(check the manpage for a full list).
|
|
|
|
- Signed numbers as single token in the.
|
2013-01-09 20:49:28 +00:00
|
|
|
- Fixes some issues with #if operations on macros.
|
2013-10-06 02:34:55 +00:00
|
|
|
- Speed improvements.
|
2013-01-09 20:49:28 +00:00
|
|
|
* Language:
|
|
|
|
- Untyped `nil` keyword.
|
|
|
|
- Removed the `noreturn` keyword.
|
|
|
|
- Added generic attribute syntax and reintroduced `noreturn`
|
|
|
|
as [[noreturn]].
|
|
|
|
- Added [[deprecated]] and [[deprecated("message")]].
|
|
|
|
- Support for `static` variables in functions.
|
|
|
|
- Support for labeled loops.
|
2013-10-06 02:34:55 +00:00
|
|
|
- UTF-8 Support.
|
2013-01-10 18:59:01 +00:00
|
|
|
- enum support: without enum-types
|
2013-10-06 02:34:55 +00:00
|
|
|
(ie no `typedef enum { } foo;`).
|
2013-01-10 20:05:10 +00:00
|
|
|
- Accessing vector components via the dot operator on all
|
2013-10-06 02:34:55 +00:00
|
|
|
expressions. Eg: `(3 * v).y`.
|
2013-01-12 10:11:31 +00:00
|
|
|
- Type restricted variadict parameters:
|
2013-10-06 02:34:55 +00:00
|
|
|
ie: `void print(string...);`.
|
|
|
|
- Accessing varargs from QC via: `...(index, type)`
|
|
|
|
- New operators: ** (exponentiation), % (modulo), etc.
|
|
|
|
- Enumeration attributes: `flag`, `reverse`.
|
2013-01-09 20:49:28 +00:00
|
|
|
* Compilation:
|
|
|
|
- Various optimizations and progs-size reductions.
|
|
|
|
- A new spell-checking algorithm tries to hint you at existing
|
|
|
|
variables on error.
|
2013-01-17 09:06:01 +00:00
|
|
|
- Some problems with VM related vector-instructions issues
|
|
|
|
have been solved in both DP and our own executor. A new
|
|
|
|
compatbility option (enabled by default) has been added for
|
2013-10-06 02:34:55 +00:00
|
|
|
now: -flegacy-vector-maths.
|
2013-04-21 10:08:04 +00:00
|
|
|
- Compiler intrinsics: __builtin_floor, __builtin_mod,
|
2013-10-06 02:34:55 +00:00
|
|
|
__builtin_exp, __builtin_isnan.
|
|
|
|
- Improved memory tracing.
|
|
|
|
- Speed improvements.
|
2013-04-21 10:08:04 +00:00
|
|
|
* QCVM:
|
2013-01-09 20:49:28 +00:00
|
|
|
- Improved commandline argument handling.
|
2013-10-06 02:34:55 +00:00
|
|
|
- More builtins: sqrt(), normalize(), floor().
|
2013-01-09 20:49:28 +00:00
|
|
|
* Commandline:
|
2013-10-06 02:34:55 +00:00
|
|
|
- Nicer memory dumps.
|
2013-01-09 20:49:28 +00:00
|
|
|
- Support for making individual warnings an error
|
2013-10-06 02:34:55 +00:00
|
|
|
- via -Werror-<warning>.
|
|
|
|
- added --add-info.
|
2013-01-09 20:49:28 +00:00
|
|
|
* Testsuite:
|
|
|
|
- Support for QCFLAGS to run tests with several additional
|
|
|
|
flags.
|
2013-10-06 02:34:55 +00:00
|
|
|
- Added support for preprocessor tests.
|
|
|
|
- Added preprocessor tests.
|
|
|
|
- Added defs.qh (auto included) for qcvm definitions.
|
2013-04-21 10:08:04 +00:00
|
|
|
* Syntax Highlighting:
|
|
|
|
- Added various syntax highlighting description files for
|
2013-06-04 18:02:02 +00:00
|
|
|
various text editors / integrated development envirorments,
|
|
|
|
including support for: geany, kate, kwrite, kdevelop, QtCreator,
|
2013-10-06 02:34:55 +00:00
|
|
|
gtksourceview, gedit, sany, nano, jedit.
|
2013-04-21 10:08:04 +00:00
|
|
|
* Build:
|
|
|
|
- Build scripts for building debian, archlinux and archbsd
|
2013-06-04 18:02:02 +00:00
|
|
|
packages for x86, and x86_64.
|
2013-04-21 10:08:04 +00:00
|
|
|
- Makefile targets for gource visualization, and render of
|
|
|
|
gource visualization.
|
|
|
|
|
2013-01-09 20:49:28 +00:00
|
|
|
|
|
|
|
2012-12-27 Hotfix v0.2.2
|
|
|
|
* Liferanges
|
|
|
|
* Crashes
|
|
|
|
|
|
|
|
2012-12-23 Hotfix v0.2.1
|
|
|
|
* General bugfixes
|
|
|
|
|
|
|
|
2012-12-23 Release 0.2
|
|
|
|
* Preprocessor:
|
|
|
|
- Added xonotic compatible preprocessor.
|
|
|
|
* Language
|
2013-10-06 02:34:55 +00:00
|
|
|
- Basic xonotic compatibility.
|
|
|
|
- Array support.
|
2013-01-09 20:49:28 +00:00
|
|
|
- Added fteqcc's string escape sequences.
|
|
|
|
- Support for `noref`.
|
|
|
|
- Support for `goto` with labels like in fteqcc.
|
|
|
|
- `break` and `continue`.
|
|
|
|
- Short circuit logic.
|
|
|
|
- Support for translatable strings via _("str") like in
|
|
|
|
fteqcc.
|
|
|
|
* Compilation
|
2013-10-06 02:34:55 +00:00
|
|
|
- Warnings about uninitialized values.
|
2013-01-09 20:49:28 +00:00
|
|
|
|
|
|
|
2012-11-17 Release 0.1
|
2013-10-06 02:34:55 +00:00
|
|
|
* Compiles id1 code.
|