- Jan 10, 2014
-
-
Mike Bayer authored
- move CHANGES to changelog.rst
-
- Jan 09, 2014
-
-
Mike Bayer authored
- changelog for pullreq #2
-
Mike Bayer authored
Allow mako-render script to take relative path filenames
-
- Jan 07, 2014
-
-
donkopotamus authored
-
donkopotamus authored
This reverts commit 1504fc60.
-
- Dec 26, 2013
-
-
Mike Bayer authored
-
Mike Bayer authored
-
Mike Bayer authored
-
- Dec 24, 2013
-
-
Mike Bayer authored
-
Ned Batchelder authored
There's no reason an intervening node should clear the translator comments. There's already logic that discards the comments if they occurred too far away from the harvested string. This way we can write more natural templates and still have the translator comments that provide the best translated text. http://www.makotemplates.org/trac/ticket/225
-
- Dec 19, 2013
-
-
donkopotamus authored
- this fixes a bug in the mako-render script which refuses to process a filename that is given as a relative path
-
- Nov 12, 2013
-
-
Mike Bayer authored
-
Mike Bayer authored
-
Mike Bayer authored
- try to get all our CSS in one place and above RTD so we get all their styles...
-
- Nov 11, 2013
-
-
Mike Bayer authored
-
- Oct 08, 2013
-
-
Mike Bayer authored
- fix test to work under py3.2
-
mike bayer authored
Fixed TGPlugin.render method to support unicode template names in py2k.
-
- Oct 01, 2013
-
-
Mike Bayer authored
which looked like "#*" from being correctly parsed. [ticket:224]
-
- Sep 17, 2013
-
-
Vladimir Magamedov authored
Using compat.string_types instead of "str if compat.py3k else basestring" in TGPlugin.render method.
-
Vladimir Magamedov authored
-
- Sep 11, 2013
-
-
Mike Bayer authored
-
mike bayer authored
added arg_stringname function to _ast_util.py
-
Philipp Volugine authored
This is to be compatible with python3.4 where kwarg and vararg objects are _ast.arg as opposed to Name objects in earlier versions. The _ast.arg object cannot be implicitly converted to a string. This lead to 4 errors in the test suite. As of this commit all tests pass under python3.4a2
-
- Sep 10, 2013
-
-
Mike Bayer authored
- [bug] Fixed an AST issue that was preventing correct operation under alpha versions of Python 3.4. Pullreq courtesy Zer0-.
-
mike bayer authored
_ast_util.py added visit_NameConstant to SourceGen
-
Philipp Volugine authored
SourceGenerator didn't work with python3.4 alpha, `None` Is now a NameConstant rather than a Name in ast the new method deals with converting it to a string
-
- Aug 28, 2013
-
-
Mike Bayer authored
- version bump 0.9.1
-
Martin Geisler authored
The UTF-8 FAQ says this is the correct name for the encoding. http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 The official name and spelling of this encoding is UTF-8, where UTF stands for UCS Transformation Format. Please do not write UTF-8 in any documentation text in other ways (such as utf8 or UTF_8), unless of course you refer to a variable name and not the encoding itself.
-
Martin Geisler authored
Emacs doesn't recognize "utf8" as a valid coding system. The correct name is "utf-8". This is in line with the UTF-8 FAQ: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 The official name and spelling of this encoding is UTF-8, where UTF stands for UCS Transformation Format. Please do not write UTF-8 in any documentation text in other ways (such as utf8 or UTF_8), unless of course you refer to a variable name and not the encoding itself.
-
Martin Geisler authored
Using "-*- encoding:utf-8 -*-" doesn't really set the file encoding for Emacs. It will even prompt the user when opening a compiled file: The local variables list in foo.mak.py contains values that may not be safe (*). Do you want to apply it? You can type y -- to apply the local variables list. n -- to ignore the local variables list. ! -- to apply the local variables list, and permanently mark these values (*) as safe (in the future, they will be set automatically.) * encoding: utf-8 The problem is that Emacs looks for a file variable named "coding" and it doesn't know about "encoding": http://www.gnu.org/software/emacs/manual/html_node/emacs/Specify-Coding.html This is no doubt why Python recognizes "coding:" by itself: http://www.python.org/dev/peps/pep-0263/ This change makes the code generator output "# -*- coding:%s -*-" and updates the documentation and examples to match this style.
-
- Aug 04, 2013
-
-
Mike Bayer authored
- other 2.4 ism
-
- Aug 03, 2013
-
-
mike bayer authored
simplify
-
Mike Bayer authored
method, as this method has a specific internal use. The purpose of Context.kwargs has been clarified, in that it only delivers top level keyword arguments originally passed to template.render(). [ticket:219]
-
Philip Jenvey authored
-
Mike Bayer authored
interpreted correctly within a template tag. [ticket:190]
-
Mike Bayer authored
skips over module elements that are not explcitly callable, avoiding TypeError when trying to produce partials. [ticket:207]
-
Mike Bayer authored
-
Mike Bayer authored
-
Mike Bayer authored
-
Mike Bayer authored
-