Skip to content
Snippets Groups Projects
  1. May 31, 2010
    • Mike Bayer's avatar
      - Added conditional to RichTraceback · 3ef596c2
      Mike Bayer authored
        such that if no traceback is passed
        and sys.exc_info() has been reset,
        the formatter just returns blank
        for the "traceback" portion.
        [ticket:135]
      - some long line cleanup
      3ef596c2
  2. Apr 28, 2010
    • Mike Bayer's avatar
      - When a .py is being created, the tempfile · c4abbd84
      Mike Bayer authored
        where the source is stored temporarily is
        now made in the same directory as that of
        the .py file.  This ensures that the two
        files share the same filesystem, thus
        avoiding cross-filesystem synchronization
        issues.  Thanks to Charles Cazabon.
      c4abbd84
  3. Apr 17, 2010
  4. Apr 13, 2010
  5. Mar 24, 2010
  6. Mar 11, 2010
  7. Mar 07, 2010
  8. Mar 05, 2010
  9. Mar 04, 2010
  10. Mar 02, 2010
    • Mike Bayer's avatar
      - ensure lru threading test doesn't run · 004aca56
      Mike Bayer authored
      - Source code escaping has been simplified.
        In particular, module source files are now
        generated with the Python "magic encoding
        comment", and source code is passed through
        mostly unescaped, except for that code which
        is regenerated from parsed Python source.
        This fixes usage of unicode in
        <%namespace:defname> tags.  [ticket:99]
      004aca56
  11. Feb 05, 2010
  12. Jan 22, 2010
  13. Nov 01, 2009
  14. Sep 22, 2009
  15. Jun 28, 2009
  16. Apr 19, 2009
  17. Mar 20, 2009
    • Mike Bayer's avatar
      - When Mako creates subdirectories in which · 43b362dc
      Mike Bayer authored
        to store templates, it uses the more
        permissive mode of 0775 instead of 0750,
        helping out with certain multi-process
        scenarios. Note that the mode is always
        subject to the restrictions of the existing
        umask. [ticket:101]
      43b362dc
  18. Mar 19, 2009
  19. Feb 26, 2009
  20. Jan 13, 2009
  21. Dec 06, 2008
  22. Nov 18, 2008
  23. 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
  24. 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
  25. 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
  26. Oct 17, 2008
  27. 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
  28. Sep 18, 2008
  29. Sep 11, 2008
  30. Sep 07, 2008
  31. Jul 10, 2008
Loading