Commits

Author Commit Message Labels Comments Date
Bryan Fink
move erlydtl.app to ebin for rebar compatibility
emmi...@a5195066-8e3e-0410-a82a-05b01b1b9875
Tagging ErlyDTL 0.5.3 for release
emmi...@a5195066-8e3e-0410-a82a-05b01b1b9875
Create "ebin" directory if it does not exist. Thanks to uri.sharf for the bug report, ja...@nialscorva.net for the patch.
Tags
0.5.3
emmi...@a5195066-8e3e-0410-a82a-05b01b1b9875
1. "|join" processes iodata() 2. atoms can be compared to lists in "ifequal" clause Thanks to indogus, insane, and kiszl for bug reports and patches.
emmi...@a5195066-8e3e-0410-a82a-05b01b1b9875
Add crypto to list of application dependencies; "make clean" nukes ebin/erlydtl.app
emmi...@a5195066-8e3e-0410-a82a-05b01b1b9875
.app file. Thanks to seth.
colm...@a5195066-8e3e-0410-a82a-05b01b1b9875
Issue #11 Rolled back the functionality added in r152 (Issue #9). The idea of an auto-changing template root folder is going away because it is not the "Django way". The Djnago way is to have all include paths relative to a base folder (although they do support many base folders, but I digress). Trying to support both systems is too complex and introduces unnecessary ambiguity about the current include pa…
colm...@a5195066-8e3e-0410-a82a-05b01b1b9875
Added a test case to reproduce issue #11.
emmi...@a5195066-8e3e-0410-a82a-05b01b1b9875
New version: 0.5.2
emmi...@a5195066-8e3e-0410-a82a-05b01b1b9875
Do not require a space between a variable name and closing bracket, e.g. allow "{{var1}}"
Tags
0.5.2
emmi...@a5195066-8e3e-0410-a82a-05b01b1b9875
Use correct docroot in included templates. Thanks to Tobias Loefgren.
emmi...@a5195066-8e3e-0410-a82a-05b01b1b9875
* If variable is a function with 0 args, evaluate it. Thanks to rumata-e...@nm.ru.
emmi...@a5195066-8e3e-0410-a82a-05b01b1b9875
Fix time zone inconsistency. Removing tests of "r" dateformat tag because these are time zone related and we don't know how to test time zones properly. Thanks to Liu Yubao.
emmi...@a5195066-8e3e-0410-a82a-05b01b1b9875
* Change: No .beam file will be generated unless out_dir is specified. * Document out_dir in README * If there is a compilation error, print name of offending file. Thanks to Liu Yubao for the patches.
emmi...@a5195066-8e3e-0410-a82a-05b01b1b9875
ErlyDTL 0.5.1: bugfix release. 1. Run functional tests in predictable order. 2. Render variables with float values.
colm...@a5195066-8e3e-0410-a82a-05b01b1b9875
Issue #6 Applied patch from Dan Milstein to fix a crash when rendering floats. Added a baseline failing test case for the problem.
Tags
0.5.1
emmi...@a5195066-8e3e-0410-a82a-05b01b1b9875
* Run functional tests in a predictable order.
emmi...@a5195066-8e3e-0410-a82a-05b01b1b9875
Tagging trunk as 0.5.0 in preparation for release.
emmi...@a5195066-8e3e-0410-a82a-05b01b1b9875
* Run functional tests from "make test" * Clean up the output from all test suites * New README file * Remove create_parser stuff because "make" handles this * Make erlydtl:compile/2,3 a wrapper for erlydtl_compiler:compile/2,3
Tags
0.5.0
colm...@a5195066-8e3e-0410-a82a-05b01b1b9875
Issue #1 Changed the 'now' tag to generate a call to erlydtl_dateformat rather than statically compile the date/time at compile time (doh).
colm...@a5195066-8e3e-0410-a82a-05b01b1b9875
* Added the ability to use filters in if/ifelse expressions, e.g. : {% if var1|length_is:10 %} {% ifequal months_list|length %} * fixed a bug with erlydtl_runtime:are_equal which always returned false when comparing 2 single character values, e.g. : erlydtl_runtime:are_equal("9", "9"). erlydtl_runtime:are_equal("x", "x"). .. always returned false. This would have manifested itself in the scenario {% ifequal foo "x" %} where foo was a variable with the val…
emmi...@a5195066-8e3e-0410-a82a-05b01b1b9875
Support for "cycle" tag. Patch from Hunter Morris.
colm...@a5195066-8e3e-0410-a82a-05b01b1b9875
Added date filter as per Django, e.g. {{ date_var1|date:"r" }}. Fixed a rendering bug in examples/docroot/filters which was failing because it was still using the "plus" filter which was renamed to "add" at some point. Changed it to "add".
colm...@a5195066-8e3e-0410-a82a-05b01b1b9875
Renamed the dateformat module to erlydtl_dateformat
colm...@a5195066-8e3e-0410-a82a-05b01b1b9875
Missing file in last checkin.
colm...@a5195066-8e3e-0410-a82a-05b01b1b9875
Added "now" tag and associated associated dateformat module.
emmi...@a5195066-8e3e-0410-a82a-05b01b1b9875
* Rename "plus" to "add" to conform to standard DTL. * Throw error for undefined variable in the "for" tag.
emmi...@a5195066-8e3e-0410-a82a-05b01b1b9875
Support additional for loop variables: "revcounter", "revcounter0", "first", "last", "parentloop".
emmi...@a5195066-8e3e-0410-a82a-05b01b1b9875
1. Can resolve variables from function calls to parameterized modules, e.g. -module(foo, [Var]). get_var() -> Var. ... render([{var1, foo:new("bar")}]). ... {{ var1.get_var }} => <<"bar">> 2. Support for recursive variable attributes, e.g. {{ var.attr.attr.attr }} Tests added for both.
rsa...@a5195066-8e3e-0410-a82a-05b01b1b9875
example templates bugfix: call custom tag cannot not call a module which name is a erlydtl tagname, now all examples are building again
  1. Prev
  2. Next