]> git.xonotic.org Git - xonotic/gmqcc.git/blob - CHANGES
This should be the tag
[xonotic/gmqcc.git] / CHANGES
1 2013-08-20 v0.3.0
2     * Language:
3         - Return assignments, the ability to assign to the return keyword
4           as if it were a local variable.
5         - Added bitwise XOR operator (^)
6         - Array initializers: e.g float a[] = {1, 2, 3};
7         - Fix bug that dissalowed language operators to be used in strings.
8     * Compilation:
9         - Optimized memory usage (now uses on average %3 less memory for
10           compilation).
11         - Fixed dotranslate (translatable strings)
12         - Rewrote constant folding optimization pass for the parser.
13         - New additional dead-code-elimination-consatant-fold pass for
14           if statements whos expression can be evaluated at compile-time
15           (allowing the if/else branch to be entierly elided at compile-time).
16         - Added support for columns in error diagnostics.
17         - Limit corrector to <= 16 byte strings.
18         - Improved hash function for hashtable (old hash function had 15% error,
19           this speeds up compilation)
20         - Improved performance of in-house allocator with branch-hinting, speeds
21           up compilation of Xonotic by 3 seconds!
22     * QCVM:
23         - Escape strings for -printdefs
24     * Commandline:
25         - Added statistic dumps, gives information about the number of used
26           hashtables, vectors, and number of unique sizes of vectors and
27           hashtables. The amount of memory used for vectors. As well as the
28           number of strdups used in total for compilation.
29         - Added compile statistic dumps, gives information about the compiled
30           binary, and LNO, such as the size, CRC, the number of times a
31           specific optimization was applied, etc.
32         - Make -std=qcc default
33     * Testsuite:
34         - Fixed a floating point exception rasied by modulo operation in
35           -memchk.
36         - Added support for the test-suite to source tests and task-template
37           files from subdirectories in the test/ directory.
38         - Now prints the number of failed tests (if any) after all tests
39           are attempted.
40         - Fixed some bugs with error handling resulting in false-positives.
41     * Build:
42         - Can now be compiled with TCC (Tiny C compiler) and function as
43           intended (previously couldn't due to bug in TCC codegen).
44         - Added Gentoo ebuilds.
45         - Added Win32 Makefile for building Win32 packages.
46         - Added Slackware pkg build files.
47         - Added Fedora spec files.
48         - Added Makefile for the BSD make variant.
49     * Misc:
50         - Added valgrind memcheck hook to in-house allocator to help aid
51           in finding invalid reads/writes, and more accurate leaks.
52
53 2012-04-27 v0.2.9
54     * Preprocessor:
55         - __VA_ARGS__ support
56         _ __VA_ARGS__ indexing
57         - Predefined macros like __DATE__, __TIME__, ...
58           (check the manpage for a full list)
59         - Signed numbers as single token in the
60         - Fixes some issues with #if operations on macros.
61         - Speed improvements
62     * Language:
63         - Untyped `nil` keyword.
64         - Removed the `noreturn` keyword.
65         - Added generic attribute syntax and reintroduced `noreturn`
66           as [[noreturn]].
67         - Added [[deprecated]] and [[deprecated("message")]].
68         - Support for `static` variables in functions.
69         - Support for labeled loops.
70         - UTF-8 Support
71         - enum support: without enum-types
72           (ie no `typedef enum { } foo;`)
73         - Accessing vector components via the dot operator on all
74           expressions. Eg: (3 * v).y
75         - Type restricted variadict parameters:
76           ie: void print(string...);
77         - Accessing varargs from QC via: ...(index, type)
78         - New operators: ** (exponentiation), % (modulo), etc
79         - Enumeration attributes: flag, reverse
80     * Compilation:
81         - Various optimizations and progs-size reductions.
82         - A new spell-checking algorithm tries to hint you at existing
83           variables on error.
84         - Some problems with VM related vector-instructions issues
85           have been solved in both DP and our own executor. A new
86           compatbility option (enabled by default) has been added for
87           now: -flegacy-vector-maths
88         - Compiler intrinsics: __builtin_floor, __builtin_mod,
89           __builtin_exp, __builtin_isnan
90         - Improved memory tracing
91         - Speed improvements
92     * QCVM:
93         - Improved commandline argument handling.
94         - More builtins: sqrt(), normalize(), floor()
95     * Commandline:
96         - Nicer memory dumps
97         - Support for making individual warnings an error
98         - via -Werror-<warning>
99         - added --add-info
100     * Testsuite:
101         - Support for QCFLAGS to run tests with several additional
102           flags.
103         - Added support for preprocessor tests
104         - Added preprocessor tests
105         - Added defs.qh (auto included) for qcvm definitions
106     * Syntax Highlighting:
107         - Added various syntax highlighting description files for
108           various text editors / integrated development envirorments,
109           including support for: geany, kate, kwrite, kdevelop, QtCreator,
110           gtksourceview, gedit, sany, nano, jedit
111     * Build:
112         - Build scripts for building debian, archlinux and archbsd
113           packages for x86, and x86_64.
114         - Makefile targets for gource visualization, and render of
115           gource visualization.
116
117
118 2012-12-27 Hotfix v0.2.2
119     * Liferanges
120     * Crashes
121
122 2012-12-23 Hotfix v0.2.1
123     * General bugfixes
124
125 2012-12-23 Release 0.2
126     * Preprocessor:
127         - Added xonotic compatible preprocessor.
128     * Language
129         - Basic xonotic compatibility
130         - Array support
131         - Added fteqcc's string escape sequences.
132         - Support for `noref`.
133         - Support for `goto` with labels like in fteqcc.
134         - `break` and `continue`.
135         - Short circuit logic.
136         - Support for translatable strings via _("str") like in
137           fteqcc.
138     * Compilation
139         - Warnings about uninitialized values
140
141 2012-11-17 Release 0.1
142     * Compiles id1 code