Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix compilation with -std=c99. | Tavian Barnes | 2010-02-19 | 1 | -0/+3 | |
| | ||||||
* | Don't leak a file handle on parse failures from within includes. | Tavian Barnes | 2010-02-12 | 1 | -0/+5 | |
| | ||||||
* | Distribute directives.inc; fixes distcheck. | Tavian Barnes | 2010-02-11 | 1 | -0/+1 | |
| | ||||||
* | Wrap some lines correctly in doc examples. | Tavian Barnes | 2010-02-11 | 1 | -6/+10 | |
| | ||||||
* | Add printf-style warnings to dmnsn_diagnostic, and fix bugs it found. | Tavian Barnes | 2010-02-11 | 2 | -3/+9 | |
| | ||||||
* | Support stream directives. | Tavian Barnes | 2010-02-11 | 4 | -89/+181 | |
| | ||||||
* | Add all language directives to lexer. | Tavian Barnes | 2010-02-11 | 2 | -15/+30 | |
| | ||||||
* | Support spaces after the '#' in language directives. | Tavian Barnes | 2010-02-11 | 1 | -12/+12 | |
| | ||||||
* | Only show user string in #include error messages. | Tavian Barnes | 2010-02-11 | 1 | -3/+5 | |
| | ||||||
* | Revert "Use dmnsn_assert for array range checks." | Tavian Barnes | 2010-02-10 | 1 | -3/+14 | |
| | | | | | | This reverts commit a4eb36a5df16fadfb0d86167acaaef7bd60daf7c. Having dmnsn_assert() in inline functions may change their definition depending on the value of NDEBUG, which violates C++ inline rules. | |||||
* | Use dmnsn_assert for array range checks. | Tavian Barnes | 2010-02-10 | 1 | -14/+3 | |
| | ||||||
* | Fix directives test. | Tavian Barnes | 2010-02-10 | 2 | -1/+3 | |
| | ||||||
* | Call DMNSN_T_LEX_ERROR a "parse error". | Tavian Barnes | 2010-02-09 | 1 | -1/+1 | |
| | ||||||
* | Reject invalid language directives. | Tavian Barnes | 2010-02-09 | 1 | -0/+5 | |
| | ||||||
* | Don't leak memory on parse failures from within buffers. | Tavian Barnes | 2010-02-09 | 3 | -0/+15 | |
| | ||||||
* | Get rid of fmemopen() hack. | Tavian Barnes | 2010-02-09 | 3 | -10/+35 | |
| | ||||||
* | New dmnsn_assert() macro for invariant violations. | Tavian Barnes | 2010-02-09 | 4 | -68/+47 | |
| | ||||||
* | Support #include. | Tavian Barnes | 2010-02-09 | 12 | -24/+298 | |
| | ||||||
* | "Support" the #version directive. | Tavian Barnes | 2010-02-05 | 7 | -3/+80 | |
| | ||||||
* | Use RETURN_TOKEN() for lexing errors. | Tavian Barnes | 2010-02-04 | 1 | -1/+1 | |
| | | | | | Fixes a segfault if the first token returned is an error token, and undefined behaviour otherwise. | |||||
* | Fix compiler warning from last commit. | Tavian Barnes | 2010-02-03 | 1 | -1/+3 | |
| | ||||||
* | Fix #else handling. | Tavian Barnes | 2010-02-03 | 1 | -3/+12 | |
| | ||||||
* | Fix #line off-by-one :) | Tavian Barnes | 2010-02-03 | 14 | -14/+14 | |
| | ||||||
* | Implement #while. | Tavian Barnes | 2010-02-03 | 6 | -59/+185 | |
| | ||||||
* | Support #ifdef and #ifndef. | Tavian Barnes | 2010-02-02 | 6 | -3/+26 | |
| | ||||||
* | Add #line markers to {common,grammar,directives}.{prologue,declarations,...}. | Tavian Barnes | 2010-02-02 | 15 | -0/+28 | |
| | ||||||
* | Use dmnsn_new_ast_integer() in parsers. | Tavian Barnes | 2010-02-02 | 3 | -16/+5 | |
| | ||||||
* | Skip over invalid tokens in non-taken conditionals. | Tavian Barnes | 2010-02-02 | 4 | -17/+13 | |
| | ||||||
* | Add -rdynamic to make backtraces more helpful(). | Tavian Barnes | 2010-02-02 | 2 | -1/+8 | |
| | ||||||
* | Implement #if. | Tavian Barnes | 2010-02-02 | 11 | -36/+432 | |
| | ||||||
* | Fix dmnsn_eval_unary() leak. | Tavian Barnes | 2010-02-02 | 1 | -1/+62 | |
| | ||||||
* | Modularise the middle tier a bit. | Tavian Barnes | 2010-02-01 | 1 | -116/+150 | |
| | ||||||
* | Implement #declare, #local, and #undef in middle tier. | Tavian Barnes | 2010-02-01 | 20 | -731/+1119 | |
| | | | | Oh God this is ugly... | |||||
* | Fix lexing error handling. | Tavian Barnes | 2010-01-29 | 2 | -3/+5 | |
| | ||||||
* | Split grammar.y to allow code re-use. | Tavian Barnes | 2010-01-29 | 9 | -1419/+1520 | |
| | ||||||
* | Begin middle-tier lexer. | Tavian Barnes | 2010-01-29 | 5 | -11/+48 | |
| | ||||||
* | Don't pollute global namespace with grammar.h. | Tavian Barnes | 2010-01-28 | 1 | -1/+10 | |
| | ||||||
* | Fix up license blurbs and copyright year. | Tavian Barnes | 2010-01-27 | 94 | -108/+108 | |
| | ||||||
* | Update the docs a bit. | Tavian Barnes | 2010-01-19 | 1 | -81/+248 | |
| | | | | Still incomplete; need to add textures, intersections, and more probably. | |||||
* | Silence some compiler warnings in flex-generated code. | Tavian Barnes | 2010-01-19 | 1 | -0/+5 | |
| | ||||||
* | Check for empty array in dmnsn_array_pop(). | Tavian Barnes | 2010-01-18 | 1 | -0/+5 | |
| | ||||||
* | Add proper range checks to dmnsn_array_insert() and _remove(). | Tavian Barnes | 2010-01-18 | 1 | -4/+11 | |
| | ||||||
* | Don't use __FILE__ as a fallback for DMNSN_FUNC. | Tavian Barnes | 2010-01-18 | 1 | -1/+1 | |
| | | | | We already print __FILE__, so that would look weird. | |||||
* | Use standard C for texture callback macros. | Tavian Barnes | 2010-01-18 | 1 | -28/+25 | |
| | ||||||
* | Add a C++ test. | Tavian Barnes | 2010-01-17 | 3 | -1/+38 | |
| | ||||||
* | Make quality flags work in C++. | Tavian Barnes | 2010-01-17 | 1 | -2/+4 | |
| | | | | C++ doesn't handle bitwise ops for enum types. | |||||
* | Missed some kD splay tree references. | Tavian Barnes | 2010-01-17 | 1 | -6/+6 | |
| | ||||||
* | Rename kD splay trees to Bounding Volume Splay Trees. | Tavian Barnes | 2010-01-15 | 9 | -144/+138 | |
| | ||||||
* | Don't convert to Lab on every dmnsn_add_color(). | Tavian Barnes | 2010-01-14 | 1 | -4/+10 | |
| | ||||||
* | Some color handling fixes. | Tavian Barnes | 2010-01-14 | 1 | -6/+9 | |
| |