Permalink
Commits on Apr 6, 2009
  1. Update CHANGES with #transform and markdown details

    R. Tyler Ballance committed Apr 6, 2009
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
  2. Update SetupConfig.py to include the new markdown packages

    R. Tyler Ballance committed Apr 6, 2009
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
  3. Forgot to remove these references to the FileRefresh module

    R. Tyler Ballance committed Apr 6, 2009
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
  4. Finish up support for the #transform directive, and the Markdown filter

    R. Tyler Ballance committed Apr 6, 2009
    Now you can set:
    	#from Cheetah.Filters import Markdown
    	#transform Markdown
    
    	This is my header!
    	==================
    
    And your output will be:
    	<h1>This is my header!</h1>
    
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
Commits on Apr 5, 2009
  1. Initial pass on the Markdown filter along with a test

    R. Tyler Ballance committed Apr 5, 2009
    The support in the compiler for #transform is still needed to support
    full body transformation, i.e. a mymarkdown.tmpl -> markdown output
    
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
  2. Kill this dead useless test file

    R. Tyler Ballance committed Apr 5, 2009
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
Commits on Apr 4, 2009
  1. Add __init__ so we can import this sucker

    R. Tyler Ballance committed Apr 4, 2009
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
  2. Import the markdown module for a planned wiki-template

    R. Tyler Ballance committed Apr 4, 2009
    Grabbed from http://www.freewisdom.org/projects/python-markdown/
    
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
  3. Update CHANGES and TODO, prepping v2.1.1

    R. Tyler Ballance committed Apr 4, 2009
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
Commits on Apr 3, 2009
  1. Revert "Update CHANGES to reflect jbq@'s latest patch"

    R. Tyler Ballance committed Apr 3, 2009
    This reverts commit 46ea771.
  2. Revert "Convert unicode compiled template to an utf8 char buffer when…

    R. Tyler Ballance committed Apr 3, 2009
    … writing to a file"
    
    This one never meant for the next branch but rather the unicode branch
    
    This reverts commit 158b56c.
  3. Something about the Praise section was breaking the cheeseshop reStru…

    R. Tyler Ballance committed Apr 3, 2009
    …cturedText parser
    
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
  4. Update SetupConfig.py for submission of Cheetah Community Edition to …

    R. Tyler Ballance committed Apr 3, 2009
    …the cheeseshop
    
    Mmmm packages
    
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
Commits on Apr 2, 2009
  1. Update CHANGES to reflect jbq@'s latest patch

    R. Tyler Ballance committed Apr 2, 2009
Commits on Apr 1, 2009
  1. Convert unicode compiled template to an utf8 char buffer when writing…

    jbq committed with R. Tyler Ballance Apr 1, 2009
    … to a file
    
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
  2. Add statprof module

    R. Tyler Ballance committed Apr 1, 2009
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
Commits on Mar 30, 2009
  1. Remove those pesky .cvsignore files

    R. Tyler Ballance committed Mar 30, 2009
  2. Update CHANGES and TODO with accomplished tasks

    R. Tyler Ballance committed Mar 30, 2009
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
  3. Finish removing optik parser, added --shbang option as well (re #2)

    R. Tyler Ballance committed Mar 30, 2009
    Usage: cheetah compile mytemplate.tmpl --shbang="#!/usr/bin/python2.6"
    
    NOTE: Depending on how your shell deals with the exclaimation point, you may need to escape it (as in zsh(1)) like this:
    	cheetah compile mytemplate.tmpl --shbang="#\!/usr/bin/python2.6"
    
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
  4. Move Cheetah off the imported optik parser in favor of the Python bui…

    R. Tyler Ballance committed Mar 30, 2009
    …ltin optparse module
    
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
  5. Update CHANGES with some of the other issues fixed in 2.1.1

    R. Tyler Ballance committed Mar 30, 2009
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
Commits on Mar 29, 2009
  1. Update CHANGES

    R. Tyler Ballance committed Mar 29, 2009
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
  2. Apply patch to prevent hitting the file system to get the file modifi…

    R. Tyler Ballance committed Mar 29, 2009
    …cation time every time an #include directive is processed
    
    Patch provided by: Jean-Baptiste Quenot <jbq@caraldi.com>
    
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
  3. Update gitignore

    R. Tyler Ballance committed Mar 29, 2009
  4. Remove contents of BUGS in favor of bugs.communitycheetah.org

    R. Tyler Ballance committed Mar 29, 2009
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
  5. Remove TODO entry, this is already supported to some extent via the s…

    R. Tyler Ballance committed Mar 29, 2009
    …ettings infrastructure
    
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
Commits on Mar 27, 2009
  1. Merge branch 'master' of git@github.com:rtyler/cheetah into next

    R. Tyler Ballance committed Mar 27, 2009
    Conflicts:
    	CHANGES
    	src/Version.py
  2. Bump Version.py

    R. Tyler Ballance committed Mar 27, 2009
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
  3. Merge branch 'maint'

    R. Tyler Ballance committed Mar 27, 2009
  4. Update CHANGES and the webpages to denote the new subrelease

    R. Tyler Ballance committed Mar 27, 2009
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
  5. Correct a bug introduced in v2.1.0 that affected odd inline imports

    R. Tyler Ballance committed Mar 27, 2009
    Added a regression test as well to prevent it from happening again, what basically
    was going on is that in v2.1.0 I introduced code to properly place inline imports, for
    syntax like the following:
    
    	#try
    		#import cjson
    	#except ImportError
    		#import simplejson
    	#end try
    
    The actual bug was with blocks of code like this:
    
    	#def function
    		#if $something
    			#from package import module
    			$module.do_thing()
    		#end if
    	#end def
    
    Which would result in:
    
    	def function(self):
    		if something:
    			import module
    			module.do_thing()
    
    Instead of the proper "from package import module" syntax.
    
    Sorted, all tests passing now.
    
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
    
    Conflicts:
    
    	src/Tests/Regressions.py
  6. Correct a bug introduced in v2.1.0 that affected odd inline imports

    R. Tyler Ballance committed Mar 27, 2009
    Added a regression test as well to prevent it from happening again, what basically
    was going on is that in v2.1.0 I introduced code to properly place inline imports, for
    syntax like the following:
    
    	#try
    		#import cjson
    	#except ImportError
    		#import simplejson
    	#end try
    
    The actual bug was with blocks of code like this:
    
    	#def function
    		#if $something
    			#from package import module
    			$module.do_thing()
    		#end if
    	#end def
    
    Which would result in:
    
    	def function(self):
    		if something:
    			import module
    			module.do_thing()
    
    Instead of the proper "from package import module" syntax.
    
    Sorted, all tests passing now.
    
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
  7. Do not print errors to stderr when they should be raised

    R. Tyler Ballance committed Mar 27, 2009
    Patch provided by Jean-Baptiste Quenot <jbq@caraldi.com>
    
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>
  8. Fix Unicode test to where it's actually possible for it to pass

    R. Tyler Ballance committed Mar 27, 2009
    Signed-off-by: R. Tyler Ballance <tyler@slide.com>