Permalink
Switch branches/tags
Nothing to show
Commits on Jul 18, 2012
  1. Merge pull request #27 from garazdawi/regroup_extend

    evanmiller committed Jul 18, 2012
    Allow nested keys in regroup and dictsort
  2. Make dictsort use deep find

    garazdawi committed May 18, 2012
  3. Extend the regroup syntax to support nested keys

    garazdawi committed May 18, 2012
    This commit allows the user to use nested regroup keys. ie.
    
        {% regroup builds by host.name as hostname_list %}
Commits on Jun 27, 2012
  1. More flexible "_" function

    evanmiller committed Jun 27, 2012
Commits on Jun 8, 2012
  1. Merge pull request #30 from bluegraybox/master

    evanmiller committed Jun 8, 2012
    date 'h' format fix
  2. Fixed date formatting for 'h', added tests.

    Colin MacDonald committed Jun 8, 2012
    Removed extra integer_to_list conversion from tag_to_value/3 for $h.
    Added tests for "h", "H", "i", and "Y" to each test case.
Commits on May 11, 2012
  1. Support arbitrary number of arguments to ifchanged

    Evan Miller committed May 11, 2012
  2. Merge pull request #26 from fauxsoup/master

    evanmiller committed May 11, 2012
    Use lists module for erlydtl_runtime:find_value
Commits on May 7, 2012
  1. Merge pull request #24 from thge/master

    evanmiller committed May 7, 2012
    Extended {%ifchanged %} syntax to accept parameters
  2. Support {% ifchanged Expression(s) %} like Django does

    thge committed May 4, 2012
    Django ifchanged can accept parameters, so it is possible to check for a value
    which does not appear in output. Django documentation says to support one or
    more parameters, this implementation supports up to 4 paramters (only limited
    by the parser expression, this can be improved to support even more
    parameters when needed).
    
    {% for date in list %}
      {% ifchanged date.month %}
         {{ date.month }}:{{ date.day }}
      {% else %}
         {{ date.day }}
      {% endifchanged %}
    {% endfor %}
    
    See erlydtl_unittests for some other examples.
    
    The other (Django) syntax to use {% ifchanged %} without parameter works like before.
Commits on Feb 19, 2012
  1. New compile-time option: custom_filters_modules

    Evan Miller committed Feb 19, 2012
  2. Support for {% regroup %} tag.

    Evan Miller committed Feb 19, 2012
  3. Support for {% ifchanged %} tag

    Evan Miller committed Feb 19, 2012
    The implementation is a bit messy as it uses the process dictionary to
    check for previous values in a loop. But I could not think of a clean
    functional way to support this tag without rewriting the entire
    compiler.
Commits on Feb 18, 2012
  1. {% blocktrans %} no longer uses identifiers

    Evan Miller committed Feb 18, 2012
    Previously {% blocktrans %} blocks required an identifier which would be
    passed as an atom to the blocktrans_fun function passed in at
    compile-time. This behavior was inconsistent with Django. Now identifiers
    are no longer used, and the blocktrans_fun function simply receives the
    block to be translated as a string.
    
    For convenience, compiled modules now have a translated_blocks/0
    function which returns a list of blocks that were translated at
    compile-time. A new helper module called blocktrans_extractor is
    provided for extracting blocktrans blocks prior to compilation.
    
    The implementation may result in some oddities; the translatable blocks
    are actually derived from the abstract syntax tree, so there may
    be whitespace or small syntactic differences between the blocks in
    the source code and the blocks used at translation-time. However,
    the blocktrans_extractor module will return blocks that are exactly
    compatible with the translatable blocks. One side-benefit of this
    appproach is that non-semantic whitespace will always be ignored;
    if two {% blocktrans %} blocks have slight syntactic differences
    but are semantically the same, you only need to provide a single
    translation to cover the two of them.
Commits on Jan 17, 2012
  1. Fix compile_dir

    Evan Miller committed Jan 17, 2012
Commits on Jan 9, 2012
  1. Merge pull request #20 from nyaray/master

    evanmiller committed Jan 9, 2012
    truncatechars template filter from django dev.
Commits on Dec 15, 2011
  1. Compile to binaries by default

    Evan Miller committed Dec 15, 2011
Commits on Aug 4, 2011
  1. custom_tags_modules (plural) and reqd applications

    Evan Miller committed Aug 4, 2011
Commits on Jun 30, 2011
  1. I18n fixes

    Evan Miller committed Jun 30, 2011
  2. Merge pull request #15 from cstar/master

    evanmiller committed Jun 30, 2011
    changed unicode:characters_to_list back to binary_to_list
  3. Merge pull request #14 from peeb/master

    evanmiller committed Jun 30, 2011
    Support for input text with no URLs in it in erlydtl_filters:urlize/2
Commits on Jun 29, 2011
  1. Test with extended character

    cstar committed Jun 29, 2011
  2. Modified urlize/2 to support cases where the input text has no URLs i…

    Paul Burt committed Jun 29, 2011
    …n it.
Commits on Jun 27, 2011
  1. Blocktrans utilities

    Evan Miller committed Jun 27, 2011
Commits on Jun 25, 2011
  1. Support _("syntax") in custom tags

    Evan Miller committed Jun 25, 2011
Commits on Jun 24, 2011
  1. Support "with" in blocktrans tag

    Evan Miller committed Jun 24, 2011
  2. Fix README

    Evan Miller committed Jun 24, 2011
  3. Merge branch 'master' of github.com:evanmiller/erlydtl

    Evan Miller committed Jun 24, 2011
    Conflicts:
    	src/erlydtl_compiler.erl
  4. Preliminary blocktrans support

    Evan Miller committed Jun 24, 2011
Commits on Jun 22, 2011
  1. Merge pull request #13 from tillitech/master

    evanmiller committed Jun 22, 2011
    Ignore subdirectories in erlydtl_compiler:compile_dir