Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Allow returning a non-string (usually void) again in custom tagsHEAD2.0.1master | Laria Carolin Chabowski | 2020-09-22 |
| | |||
* | Update README | Laria Carolin Chabowski | 2020-09-21 |
| | |||
* | Move to r7r namespace and r7r composer package vendor2.0.0 | Laria Carolin Chabowski | 2020-09-21 |
| | | | | | | Let's face it, no one but my CMS Ratatöskr (r7r for short) uses this template engine anyway. Also it's a good excuse to get rid of more remnants of my old kch42 nickname. | ||
* | Accept non-strings in evalbool again | Laria Carolin Chabowski | 2020-09-21 |
| | | | | | This broke the example page -.-. Also, the idea of STE is that it will accept any somewhat reasonable data, so only strings was wrong here. | ||
* | Tests: Also test parsing pseudotags | Laria Carolin Chabowski | 2020-09-15 |
| | |||
* | Tests: Test parsing invalid input | Laria Carolin Chabowski | 2020-09-15 |
| | | | | >95% coverage of the parser, hooray! | ||
* | Add some unit tests for the parser | Laria Carolin Chabowski | 2020-09-15 |
| | | | | So far only testing success, we should also test failing parse inputs. | ||
* | Code cleanup | Laria Carolin Chabowski | 2020-09-13 |
| | | | | | | - Add parameter and return types - Add missing @throws tags - Add visibilities to consts | ||
* | Fix hrefs in documentation | Laria Carolin Chabowski | 2020-09-13 |
| | |||
* | Get rid of master/slave terminology | Laria Carolin Chabowski | 2020-09-13 |
| | | | | | It's both offensive and kinda inaccurate in this context, so let's replace it! | ||
* | Use short array syntax | Laria Carolin Chabowski | 2020-09-13 |
| | | | | We can use it now that we switched to PHP 7.3 | ||
* | Raise required PHP version to 7.3 | Laria Carolin Chabowski | 2020-09-13 |
| | | | | | 5.3 is no longer maintained (for years now). So let's go to the currently oldest supported version | ||
* | Turn our functional tests into PhpUnit tests | Laria Carolin Chabowski | 2020-09-13 |
| | |||
* | Fix some issues reported by PhpStorm | Laria Carolin Chabowski | 2020-09-13 |
| | |||
* | Fix incorrect documentation | Laria Carolin Chabowski | 2020-09-13 |
| | |||
* | Convert more documentation to phpDoc | Laria Carolin Chabowski | 2020-09-13 |
| | |||
* | Fix README still mentioning NaturalDocs | Laria Carolin Chabowski | 2020-09-13 |
| | |||
* | Fix cutting off whitespace in tag content | Laria Carolin Chabowski | 2020-05-01 |
| | |||
* | More code formatting | Laria Carolin Chabowski | 2020-05-01 |
| | |||
* | Fix parsing `]` as last input char | Laria Carolin Chabowski | 2020-05-01 |
| | | | | Previously ] was duplicated in the ouput | ||
* | Add STECore typehint in generated test code | Laria Carolin Chabowski | 2020-05-01 |
| | |||
* | Fix compiling static numeric array access | Laria Carolin Chabowski | 2020-05-01 |
| | |||
* | Clean up code and improve documentation | Laria Carolin Chabowski | 2020-05-01 |
| | | | | | | | | | | | | | | This switches the code documentation genarator (we're now using phpdoc instead of NaturalDoc). Also various small code cleanup tasks: - Remove unused code - Get rid of `and` / `or`, we're using `&&` / `||` now - Adding missing return values - Helping PhpStorm to detect some dynamically called functions (mark_builtin_callable in Transcompiler) - Reword transcompiling => compiling in documentation | ||
* | No need to clone an array | Laria Carolin Chabowski | 2020-05-01 |
| | |||
* | Get rid of closing ?> in compiled output | Laria Carolin Chabowski | 2020-05-01 |
| | |||
* | tests: Make it easier to run a single test | Laria Carolin Chabowski | 2020-05-01 |
| | |||
* | Automatic code formatting | Laria Carolin Chabowski | 2020-04-30 |
| | | | | Also add git hooks that checks formatting | ||
* | Fix parser stumbling over "0" in names | Laria Carolin Chabowski | 2020-04-28 |
| | | | | PHPs type juggling strikes again :( | ||
* | Some simple code formatting | Laria Carolin Chabowski | 2020-04-26 |
| | | | | | | - Expand tabs into spaces - Remove trailing whitespace - Get rid of closing `?>` tags | ||
* | rename github account | Laria Carolin Chabowski | 2016-08-16 |
| | |||
* | Is now compatible with PHP 5.3 again.1.0.3 | Kevin Chabowski | 2014-05-25 |
| | |||
* | Merge branch 'develop'1.0.2 | Kevin Chabowski | 2014-05-25 |
|\ | |||
| * | Silencing possible array to string conversion notices (its okay here) | Kevin Chabowski | 2014-05-25 |
| | | |||
| * | Fixed backward compatibility with pre 1.0 versions. | Kevin Chabowski | 2014-05-25 |
| | | |||
| * | Fixed bug in template saving of FilesystemStorageAccess. | Kevin Chabowski | 2014-05-25 |
| | | | | | | | | | | This weird error came from an automated search&replace to add NaturalDocs comments... | ||
* | | New README | Kevin Chabowski | 2014-05-24 |
|/ | |||
* | Fixed ste.php and steloader.php1.0.1 | Kevin Chabowski | 2014-05-24 |
| | |||
* | Refined test_closure | Kevin Chabowski | 2014-05-24 |
| | |||
* | Moved to src/ste for psr-4 compliance1.0.0 | Kevin Chabowski | 2014-05-24 |
| | |||
* | Moved code into src subfolder and fixed docu | Kevin Chabowski | 2014-05-24 |
| | |||
* | Added ste:setlocal and refined test_scope. | Kevin Chabowski | 2014-05-24 |
| | |||
* | Simple autoloader for examples and tests. | Kevin Chabowski | 2014-05-24 |
| | |||
* | Added scoping. | Kevin Chabowski | 2014-05-24 |
| | | | | | | | | | | | | | | | ste:mktag generated tags now have an own scope. They even resemble closures, since they inherit their parent scope. A lot of work was done to keep this compatible with older programs. However: * Templates that relied on the non-scoping behavior of tags will probably fail. * Since $ste->vars is no longer an actual array, things like $ste->vars["foo"]["bar"] = "baz" are no longer possible! A single field access will still work: $ste->vars["foo"] = "bar" | ||
* | Fixed ste:get | Kevin Chabowski | 2014-05-24 |
| | | | | | | Didn't work at all before. The varname was not passed correctly. Also added the test case that showed this. | ||
* | Fixed parsing variables | Kevin Chabowski | 2014-05-24 |
| | | | | | If a variable was the very last thing in a template, the last charater of the variable was duplicated as a text node. | ||
* | Added tempvar static function to Transcompiler | Kevin Chabowski | 2014-05-22 |
| | |||
* | Getting rid of some notices / fixing _get_var_referencescopes | Kevin Chabowski | 2014-05-18 |
| | |||
* | Adding a composer.json file. We should be composer-compatible now!make-composer-compatible | Kevin Chabowski | 2014-05-18 |
| | |||
* | One file per class and new namespace. | Kevin Chabowski | 2014-05-18 |
| | | | | | We should be able to use a PSR4 autoloader (like composer's) now. ste.php is still there as a fallback for old applications. | ||
* | ste:foreach now has an else clause for empty arrays. | Kevin Chabowski | 2013-10-28 |
| |