Skip to content
Snippets Groups Projects
  1. Nov 18, 2008
  2. Nov 16, 2008
    • Mike Bayer's avatar
      - RichTraceback() now accepts an optional traceback object · baa8a63e
      Mike Bayer authored
        to be used in place of sys.exc_info()[2].  html_error_template()
        and text_error_template() accept an optional
        render()-time argument "traceback" which is passed to the
        RichTraceback object.
      - lexer tests now rely upon an always-sorted dict repr()
      baa8a63e
  3. Nov 15, 2008
    • Mike Bayer's avatar
      - the <%namespacename:defname> syntax described at · 718d98ee
      Mike Bayer authored
        http://techspot.zzzeek.org/?p=28 has now
        been added as a built in syntax, and is recommended
        as a more modern syntax versus <%call expr="expression">.
        The %call tag itself will always remain,
        with <%namespacename:defname> presenting a more HTML-like
        alternative to calling defs, both plain and
        nested.  Many examples of the new syntax are in the
        "Calling a def with embedded content" section
        of the docs.
      718d98ee
  4. Oct 25, 2008
    • Mike Bayer's avatar
      - beaker bump · a6793784
      Mike Bayer authored
      - added "cache_enabled=True" flag to Template,
        TemplateLookup.  Setting this to False causes cache
        operations to "pass through" and execute every time;
        this flag should be integrated in Pylons with its own
        cache_enabled configuration setting.
      a6793784
  5. Oct 17, 2008
  6. Sep 27, 2008
    • Mike Bayer's avatar
      - added "cache" accessor to Template, Namespace. · 041b60f5
      Mike Bayer authored
        e.g.  ${local.cache.get('somekey')} or
        template.cache.invalidate_body()
      
      - the Cache object now supports invalidate_def(name),
        invalidate_body(), invalidate_closure(name),
        invalidate(key), which will remove the given key
        from the cache, if it exists.  The cache arguments
        (i.e. storage type) are derived from whatever has
        been already persisted for that template.
        [ticket:92]
      041b60f5
  7. Sep 18, 2008
  8. Sep 11, 2008
  9. Sep 07, 2008
  10. Jul 10, 2008
  11. Jul 08, 2008
  12. Jun 23, 2008
  13. Jun 16, 2008
  14. Jun 09, 2008
  15. Jun 03, 2008
  16. Jun 02, 2008
  17. May 24, 2008
  18. May 03, 2008
    • Mike Bayer's avatar
      - CHANGES cleanup · ebbce747
      Mike Bayer authored
      - some functions on Context are now private:
      _push_buffer(), _pop_buffer(),
      caller_stack._push_frame(), caller_stack._pop_frame().
      - implemented [ticket:76] inlining of context.write()
      ebbce747
  19. Mar 22, 2008
    • Mike Bayer's avatar
      - added "bytestring passthru" mode, via `disable_unicode=True` · d5f83e69
      Mike Bayer authored
        argument passed to Template or TemplateLookup.  All
        unicode-awareness and filtering is turned off, and template
        modules are generated with the appropriate magic encoding
        comment.  In this mode, template expressions can only
        receive raw bytestrings or Unicode objects which represent
        straight ASCII, and render_unicode() may not be used.
        [ticket:77]  (courtesy anonymous guest)
      d5f83e69
  20. Mar 01, 2008
  21. Feb 21, 2008
  22. Feb 15, 2008
  23. Jan 28, 2008
  24. Jan 19, 2008
  25. Jan 11, 2008
  26. Dec 03, 2007
  27. Nov 08, 2007
  28. Oct 12, 2007
  29. Sep 25, 2007
  30. Aug 10, 2007
  31. Jul 23, 2007
  32. Jun 29, 2007
  33. Jun 25, 2007
  34. Jun 16, 2007
Loading