Permalink
Commits on May 14, 2009
  1. Updating package target.

    ngerakines committed May 14, 2009
Commits on May 12, 2009
Commits on May 5, 2009
Commits on May 4, 2009
  1. All compiled templates now use UTF8 as the default binary encoding.

    davide committed May 4, 2009
    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).
Commits on Apr 4, 2009
  1. Added the gettext_dir/0 callback to make sure that the gettext_server…

    davide committed Apr 4, 2009
    … will have a working dir (and will startup correctly).
  2. Some of the eunit_gettext tests weren't working.

    davide committed Apr 4, 2009
    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).
Commits on Apr 3, 2009
  1. Removed an obsolete guard.

    davide committed Apr 3, 2009
Commits on Apr 29, 2008
  1. Added support for proplists in addition to dicts

    Hunter Morris
    Hunter Morris committed Apr 29, 2008
  2. Added store, fold, and append methods to manipulate the sgte_dict str…

    Hunter Morris
    Hunter Morris committed Apr 29, 2008
    …ucture
  3. Key tokens can now be quoted atoms or quoted strings

    Hunter Morris
    Hunter Morris committed Apr 29, 2008
Commits on Mar 29, 2008
  1. Applied patch by Hunter Morris

    filippo committed Mar 29, 2008
    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]}.
Commits on Jan 20, 2008
Commits on Dec 14, 2007
  1. fixed documentation bugs

    filippo committed Dec 14, 2007
Commits on Nov 10, 2007
Commits on Nov 5, 2007
Commits on Nov 4, 2007
  1. Several changes preparing 0.7 release:

    filippo committed Nov 4, 2007
    - 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
Commits on Oct 18, 2007
Commits on Sep 28, 2007
Commits on Sep 27, 2007
Commits on Sep 12, 2007
  1. merge release 0.6 branch

    filippo committed Sep 12, 2007
Commits on Sep 3, 2007
  1. add test for record access

    filippo committed Sep 3, 2007
  2. fixed typo in function name

    filippo committed Sep 3, 2007
  3. Changes:

    filippo committed Sep 3, 2007
    - 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
Commits on Aug 16, 2007
  1. chage in version number

    filippo committed Aug 16, 2007
  2. merged release branch 0.5

    filippo committed Aug 16, 2007
  3. Added sgte_gettext to generate gettext .po files.

    filippo committed Aug 16, 2007
    The module is called through 
    sgte:gettext_init/1
    sgte:gettext_init/2
    sgte:gettext_init/3
Commits on Jun 18, 2007
  1. adding .pub file for CEAN

    filippo committed Jun 18, 2007
Commits on May 24, 2007
  1. prepare for a new release

    filippo committed May 24, 2007
Commits on May 23, 2007
  1. updated sinan repository

    filippo committed May 23, 2007
Commits on May 19, 2007