Skip to content
Commits on Dec 28, 2008
  1. @noss
Commits on Dec 27, 2008
  1. @noss
Commits on Oct 23, 2008
  1. Issue #6

    colm.dougan committed
    Applied patch from Dan Milstein to fix a crash when rendering floats.
    
    Added a baseline failing test case for the problem.
    
    
    
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@147 a5195066-8e3e-0410-a82a-05b01b1b9875
Commits on Aug 11, 2008
  1. * Run functional tests in a predictable order.

    emmiller committed
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@144 a5195066-8e3e-0410-a82a-05b01b1b9875
Commits on Aug 7, 2008
  1. * Run functional tests from "make test"

    emmiller committed
    * 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
    
    
    
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@139 a5195066-8e3e-0410-a82a-05b01b1b9875
Commits on Jul 15, 2008
  1. Issue #1

    colm.dougan committed
    Changed the 'now' tag to generate a call to erlydtl_dateformat rather
    than statically compile the date/time at compile time (doh).
    
    
    
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@137 a5195066-8e3e-0410-a82a-05b01b1b9875
  2. * Added the ability to use filters in if/ifelse expressions, e.g. :

    colm.dougan committed
    {% 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 value "x".
    
    * the generated iolist now goes through an additional output 
    filter called erlydtl_tuntime:stringify_final.  This will stringify
    any atoms making it safe for filters to return atoms and also 
    for atoms to be passed in to the render() function.
    
    
    
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@136 a5195066-8e3e-0410-a82a-05b01b1b9875
Commits on Jun 28, 2008
  1. Support for "cycle" tag. Patch from Hunter Morris.

    emmiller committed
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@135 a5195066-8e3e-0410-a82a-05b01b1b9875
Commits on Mar 8, 2008
  1. Added date filter as per Django, e.g. {{ date_var1|date:"r" }}.

    colm.dougan committed
    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".
    
    
    
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@134 a5195066-8e3e-0410-a82a-05b01b1b9875
Commits on Mar 5, 2008
  1. Renamed the dateformat module to erlydtl_dateformat

    colm.dougan committed
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@133 a5195066-8e3e-0410-a82a-05b01b1b9875
Commits on Mar 4, 2008
  1. Missing file in last checkin.

    colm.dougan committed
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@132 a5195066-8e3e-0410-a82a-05b01b1b9875
  2. Added "now" tag and associated associated dateformat module.

    colm.dougan committed
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@131 a5195066-8e3e-0410-a82a-05b01b1b9875
Commits on Feb 27, 2008
  1. * Rename "plus" to "add" to conform to standard DTL.

    emmiller committed
    * Throw error for undefined variable in the "for" tag.
    
    
    
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@130 a5195066-8e3e-0410-a82a-05b01b1b9875
Commits on Feb 14, 2008
  1. Support additional for loop variables: "revcounter", "revcounter0", "…

    emmiller committed
    …first", "last", "parentloop".
    
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@129 a5195066-8e3e-0410-a82a-05b01b1b9875
  2. 1. Can resolve variables from function calls to parameterized modules…

    emmiller committed
    …, 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.
    
    
    
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@128 a5195066-8e3e-0410-a82a-05b01b1b9875
  3. example templates bugfix: call custom tag cannot not call a module wh…

    rsaccon committed
    …ich name is a erlydtl tagname, now all examples are building again
    
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@125 a5195066-8e3e-0410-a82a-05b01b1b9875
Commits on Feb 12, 2008
  1. deleted some old stuff and set svn:ignore on examples/rendered output

    rsaccon committed
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@123 a5195066-8e3e-0410-a82a-05b01b1b9875
  2. fixed the functional tests and renamed the folder to "exampes"

    rsaccon committed
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@122 a5195066-8e3e-0410-a82a-05b01b1b9875
  3. * Added unit test suite covering most tags that don't require file IO…

    emmiller committed
    …. Please add new tests when implementing new language features, and always run "make test" before committing!
    
    * Support for looking up variables and attributes in dicts and gb_trees (not just proplists).
    * Small refactor of erlydtl_compiler to support in-memory compilation and reload (just pass in a binary as the first argument to compile/2 or compile/3)
    * Move some template evaluation logic into erlydtl_runtime, a new dependency for compiled templates.
    * All filters will now process binaries, not just lists. Some filters operate on the binary directly, others convert to a list and back.
    * Removed the "temporary" line in Makefile... sorry Roberto, time to set up your Bash aliases properly :-)
    * New option: "compiler_options" is a list that will be passed directly to the Erlang compiler.
    
    
    
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@121 a5195066-8e3e-0410-a82a-05b01b1b9875
Commits on Feb 11, 2008
  1. added new testsuite

    rsaccon committed
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@119 a5195066-8e3e-0410-a82a-05b01b1b9875
Commits on Feb 10, 2008
  1. just a typo and added a comment

    rsaccon committed
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@118 a5195066-8e3e-0410-a82a-05b01b1b9875
Commits on Feb 9, 2008
  1. New "escapejs" filter (Django standard)

    emmiller committed
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@117 a5195066-8e3e-0410-a82a-05b01b1b9875
Commits on Feb 5, 2008
  1. improved error reporting

    rsaccon committed
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@113 a5195066-8e3e-0410-a82a-05b01b1b9875
  2. recompile always if debug compile custom flag is set

    rsaccon committed
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@112 a5195066-8e3e-0410-a82a-05b01b1b9875
  3. added recompilation-skip if beamfile exists and checksum of template …

    rsaccon committed
    …source file has not changed (currently disabled, but works)
    
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@111 a5195066-8e3e-0410-a82a-05b01b1b9875
Commits on Feb 4, 2008
  1. Bugfix: Use "io_lib" instead of "io" library so we return a string in…

    emmiller committed
    …stead of printing to stdout.
    
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@108 a5195066-8e3e-0410-a82a-05b01b1b9875
Commits on Jan 31, 2008
  1. fixed file dependencies for custom call tag and extended test case

    rsaccon committed
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@106 a5195066-8e3e-0410-a82a-05b01b1b9875
  2. aded test for call tag

    rsaccon committed
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@105 a5195066-8e3e-0410-a82a-05b01b1b9875
  3. added call custom tag (based on patch from Jeremey Latt) - not comple…

    rsaccon committed
    …te yet - test case missing
    
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@104 a5195066-8e3e-0410-a82a-05b01b1b9875
  4. renamed custom tag directory

    rsaccon committed
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@103 a5195066-8e3e-0410-a82a-05b01b1b9875
  5. added custom directory for custom tags as template compile option

    rsaccon committed
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@102 a5195066-8e3e-0410-a82a-05b01b1b9875
Commits on Jan 30, 2008
  1. improved error reporting when compilation fails

    rsaccon committed
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@101 a5195066-8e3e-0410-a82a-05b01b1b9875
  2. completed the load tag implementation

    rsaccon committed
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@99 a5195066-8e3e-0410-a82a-05b01b1b9875
  3. replaces process-dictionary based preset variable counter (for unique…

    rsaccon committed
    … IDs) with side effect free, treewalker based counter
    
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@98 a5195066-8e3e-0410-a82a-05b01b1b9875
  4. slighly modified body_ast, now a treewalker record traverses all node…

    rsaccon committed
    …s (will be required for load tag and also for cleanup of currently not-sideeffect-free counter)
    
    git-svn-id: http://erlydtl.googlecode.com/svn/trunk@97 a5195066-8e3e-0410-a82a-05b01b1b9875
Something went wrong with that request. Please try again.