aboutsummaryrefslogtreecommitdiff
path: root/t
Commit message (Collapse)AuthorAge
* Fixed empty loop causeing infinite loopAlexander Pickering2019-11-21
| | | | | | If a loop was defined in the template, but no loop was defined in the varlist, render() would infinite loop while trying to execute. Fixs that.
* BugfixAlexander Pickering2019-09-28
| | | | Fixed a bug where rendering a template multiple times would fail.
* Fixed test to use new template allocAlex Pickering2019-09-28
|
* Added break statement to templatesAlexander Pickering2019-08-28
| | | | | Added a break statement that can break out of loops, also added some tests to test the functionality of the same.
* Added more testAlexander Pickering2019-08-07
| | | | Added more system tests for loop breaking
* Added some unit tests for the break functionality.Alexander Pickering2019-07-21
| | | | | | Sill needs some more tests, like: make sure variable scoping is still correct after breaking out of a loop, how about multiple loops?
* Added break statementAlexander Pickering2019-02-19
| | | | Added a break statement that can break out of loops.
* Allow bstringify to accept a null sizeAlexander Pickering2018-12-05
| | | | | | Allow bstringify (and therefore TMPL_render()) to accept NULL as the size. When NULL is passed as the size, the size of the resulting string is not stored anywhere.
* Added another testAlexander Pickering2018-10-13
| | | | Added another test case to the test file.
* Added more testsAlexander Pickering2018-04-06
| | | | Added a few more tests.
* Fixed a bug with if/elseifAlexander Pickering2018-04-06
| | | | | Elseif now works exactly like if, where it will check for the existance of a variable if it does not have a value field.
* Fixed a bug with TMPL_IF not working as variable checkAlexander Pickering2018-01-07
| | | | | Fixed a bug where the <TMPL_IF> tag was not correctly checking if a variable exists if it does not have a "testval" attribute.
* Started writing unit testsAlexander Pickering2018-01-05
Added some tests for good input. Also fixed a bug where an empty loop would crash.