Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Feb 25, 2011

  1. Hunter Morris

    Rebarify

    authored

Sep 24, 2009

  1. Filippo Pacini

    Fixed docstring

    filippo authored

May 13, 2009

  1. Filippo Pacini

    remove also docs on make clean

    filippo authored
  2. Filippo Pacini

    add Options to sgte:compile.

    Options is a prolist with options to be used in the compile phase.
    Right now the only supported option is a tuple {encoding, InEncoding} to specify the encoding used in the template.
    
    TODO: write tests for unicode
    filippo authored

May 12, 2009

  1. Nick Gerakines

    Fixing another bug in package target.

    ngerakines authored
  2. Nick Gerakines

    Fixing bug in package target.

    ngerakines authored
  3. Nick Gerakines

    Fixing errors in clean Makefile target.

    ngerakines authored
  4. Nick Gerakines

    Adding package and install targets to the Makefile.

    ngerakines authored

May 05, 2009

  1. Filippo Pacini

    adding empty dir for building tests

    filippo authored

May 04, 2009

  1. Davide

    All compiled templates now use UTF8 as the default binary encoding.

    On "entry" all data is converted to UTF8 (proper feedback about conversion errors is still missing though).
    Tests are passing again (except eunit_render_types).
    davide authored

Apr 04, 2009

  1. Davide

    Added the gettext_dir/0 callback to make sure that the gettext_server…

    … will have a working dir (and will startup correctly).
    davide authored
  2. Davide

    Some of the eunit_gettext tests weren't working.

    Setting them up via (fun function/arity) and having the functions return ?_assert() instead of ?assert() was creating a unneeded closure (which makes the tests always return success).
    davide authored

Apr 03, 2009

  1. Davide

    Removed an obsolete guard.

    davide authored
  2. Davide

    Added Unicode support (first supported by OTP R13A).

    davide authored

Apr 29, 2008

  1. Hunter Morris

    Added support for proplists in addition to dicts

    authored
  2. Hunter Morris

    Added store, fold, and append methods to manipulate the sgte_dict str…

    …ucture
    authored
  3. Hunter Morris

    Key tokens can now be quoted atoms or quoted strings

    authored

Mar 29, 2008

  1. Filippo Pacini

    Applied patch by Hunter Morris

    Fixes a bug where:
    $if foo.bar$
    foo
    $end if$
       
    is parsed differently than:
       
    $if foo.bar$
    foo
    $else$
    bar
    $end if$
    
    In the first one the nested attribute was mistakenly parsed as {attribute, 'foo.bar'} instead of {attribute,[foo,bar]}.
    filippo authored

Jan 20, 2008

  1. Filippo Pacini

    merged changes for release 0.7.1

    filippo authored

Dec 14, 2007

  1. Filippo Pacini

    fixed documentation bugs

    filippo authored

Nov 10, 2007

  1. Filippo Pacini

    uncommented test on nested ifs

    filippo authored

Nov 05, 2007

  1. Filippo Pacini

    merge 0.7 branch to the trunk

    filippo authored

Nov 04, 2007

  1. Filippo Pacini

    Several changes preparing 0.7 release:

    - compiled templates are now stored as mixed binaries and tuples (thanks to Sean Hinde)
    - removed some lists:flatten calls to imporve performance (thanks Sean again)
    - API changes: removing lists:flatten the output of render is now a deep list of mixed binaries and strings
      this works well with yaws, but might break other uses so I added render_str to have the same result as before.
      render_bin returns a list of binaries.
    - changed tests to match the new api and compiled format and add some tests
    - add the CHANGELOG
    - changed in sgte_gettext.erl the call os:cmd("mkdir -p ...") with filelib:ensure_dir to run sgte in erlhive
    filippo authored

Oct 18, 2007

  1. Filippo Pacini

    fixed bug when executing a join of an empty list and written test cas…

    …es for the bug
    filippo authored

Sep 28, 2007

  1. Filippo Pacini

    add find on a list of {k, v} pairs

    filippo authored

Sep 27, 2007

  1. Filippo Pacini

    the render tryes to be smart converting integers, floats, binaries an…

    …d atoms tp strings
    filippo authored

Sep 12, 2007

  1. Filippo Pacini

    merge release 0.6 branch

    filippo authored

Sep 03, 2007

  1. Filippo Pacini

    add test for record access

    filippo authored
  2. Filippo Pacini

    fixed typo in function name

    filippo authored
  3. Filippo Pacini

    Changes:

    - add support for nested attribute reference.
    e.g. $k1.k2.k3$ to access {k1, [{k2, [{k3, "a string"}]}]}
    - add record_to_kv: convert record tuples to a tuple:
    {ren_name, [{field1, val1}, {field2, val2}]
    passing record converted in this way to render allows to write
    $rec_name.field1$ to access val1
    filippo authored

Aug 16, 2007

  1. Filippo Pacini

    chage in version number

    filippo authored
  2. Filippo Pacini

    merged release branch 0.5

    filippo authored
  3. Filippo Pacini

    Added sgte_gettext to generate gettext .po files.

    The module is called through 
    sgte:gettext_init/1
    sgte:gettext_init/2
    sgte:gettext_init/3
    filippo authored

Jun 18, 2007

  1. Filippo Pacini

    adding .pub file for CEAN

    filippo authored

May 24, 2007

  1. Filippo Pacini

    prepare for a new release

    filippo authored
Something went wrong with that request. Please try again.