Commit Graph

1901 Commits

Author SHA1 Message Date
R. Tyler Ballance 6943119d81 Remove a couple minor unnecesary iterations 2009-06-21 17:30:46 -07:00
R. Tyler Ballance c8cd94159b Add a test to verify the functionality of verifyTypeClass() 2009-06-21 17:01:48 -07:00
R. Tyler Ballance 34a5e41880 Implement a C version of VerifyTypeClass and hook it up to Template 2009-06-21 17:01:31 -07:00
R. Tyler Ballance ac1985566c Add another test to test simple rendering performance 2009-06-21 15:59:33 -07:00
R. Tyler Ballance 4f6a72cd17 Hook up the C-based _verifytype.verifyType method in the Template class 2009-06-21 15:43:09 -07:00
R. Tyler Ballance eac58a8c11 Raise a TypeError in the C module, similar to the Python module 2009-06-21 15:24:20 -07:00
R. Tyler Ballance 23487def3a Add the beginnings of work on a VerifyType C module
This should help improve performance for dynamic compilation,
still highly experimental right now
2009-06-21 15:11:22 -07:00
R. Tyler Ballance dd2e9d479d Merge branch 'next' of git@github.com:rtyler/cheetah into performance 2009-06-21 13:56:43 -07:00
R. Tyler Ballance 953acc57ad Merge branch 'next' of git@github.com:rtyler/cheetah into next 2009-06-21 13:53:13 -07:00
R. Tyler Ballance 9bc13d99b7 Move _namemapper.c into a c/ directory for other C modules 2009-06-21 13:37:37 -07:00
R. Tyler Ballance 92761abec1 Add a PerformanceTest and a dynamic compilation test for kicks 2009-06-20 19:26:11 -07:00
R. Tyler Ballance 1ba63ecd5b Merge branch 'next' of git@github.com:rtyler/cheetah into performance 2009-06-20 18:20:19 -07:00
R. Tyler Ballance 56f550b70a Provide a means of bypassing setuptools when installing Cheetah
By running `CHEETAH_INSTALL_WITHOUT_SETUPTOOLS=1 python setup.py install`
you can revert to distutils functionality for your install process

Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-06-15 22:28:03 -07:00
Jean-Baptiste Quenot c501c33c36 Add dynamic compile Unicode test from Gerold Penz 2009-06-15 21:15:56 -07:00
R. Tyler Ballance b9bfe53457 Default to using setuptools by default, failing that setup.py will fall back to distutils
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-06-09 10:17:49 -07:00
R. Tyler Ballance 5aa67355b0 Remove the contributed markdown module, rely on setuptools to install the dependency for us
Change suggested by Arnaud Fontaine <arnau@debian.org>
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-06-09 10:15:15 -07:00
R. Tyler Ballance f4a3fdb510 Remove spurious shbang statements from files that aren't supposed to be run
Patch provided by Arnaud Fontaine <arnau@debian.org>
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-06-09 09:51:57 -07:00
R. Tyler Ballance 785ec5b044 Update CHANGES and Version.py for v2.2.2 2009-06-09 09:43:51 -07:00
R. Tyler Ballance c6edfa35a8 Exit out of init_namemapper() in case of PyImport_ImportModule errors
Patch provided by Bogdano Arendartchuk <debogdano@gmail.com>
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-06-09 09:41:03 -07:00
R. Tyler Ballance 60f932075c Finish up CHEP #2 2009-06-08 00:39:51 -07:00
R. Tyler Ballance ee54d5bbce Insert the Specification block 2009-06-08 00:15:38 -07:00
R. Tyler Ballance a8e72cd314 Add the Abstract and Motiviation for Chep #2 2009-06-07 23:58:20 -07:00
R. Tyler Ballance e09b79197e Fix up the CHEP outlines 2009-06-07 16:28:37 -07:00
R. Tyler Ballance 0e3fd5259a Add the preliminary Sphinx versions of the CHEP documents
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-06-07 16:20:03 -07:00
R. Tyler Ballance e44bca2672 Add a simple performance test, still not sure on the calibration bits
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-06-07 15:57:13 -07:00
R. Tyler Ballance 5ece9aab08 Remove some more old-style objects, particularly in the Compiler
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-06-04 08:52:29 -07:00
R. Tyler Ballance d07e0282d0 Prevent falling into the "new" import style unless you need to
This should also alleviate Mark's issues whereas using the WebPy
Cheetah API that doesn't properly setup all the compiler state
(and calls addImporterVarNames() itself) so the __getattr__
on self for '_methodBodyChunks' fails (it falls back on
checking self._activeClassList[-1] which is usually a ClassCompiler
or a MethodCompiler object)

Still not sure how you're supposed to repro this however.

Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-06-04 08:49:27 -07:00
R. Tyler Ballance 751cf2f812 Update Sphinx-based download page 2009-06-01 22:15:43 -07:00
R. Tyler Ballance 8a0b07c4d8 Prep the v2.2.1 release for Tavis
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-06-01 22:14:24 -07:00
R. Tyler Ballance 80bc4b8601 Merge branch 'master' of git@github.com:rtyler/cheetah into next 2009-06-01 22:12:48 -07:00
R. Tyler Ballance 732a134a96 Disable the tests for issue #22 for now
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-06-01 22:01:48 -07:00
R. Tyler Ballance bc4f253373 Fix some links in the Sphinx-generated site
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-06-01 21:56:48 -07:00
R. Tyler Ballance 56c8db9bc8 Update references to communitycheetah.org -> cheetahtemplate.org
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-06-01 21:31:49 -07:00
R. Tyler Ballance 8cbbb51dcb Update more sphinx based documentation, this pretty much finishes the transfer from the Markdown stuff I had previously
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-06-01 10:45:21 -07:00
R. Tyler Ballance 0cb8314d36 Add a Sphinx version of the site
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-06-01 10:14:39 -07:00
R. Tyler Ballance 30434054d6 Disable the decorator tests added on Python 2.3 since they're irrelevant
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-05-31 20:50:28 -07:00
R. Tyler Ballance c18ea256f5 Commenting fail 2009-05-31 14:25:13 -07:00
R. Tyler Ballance 80809c28c9 Add a test to exhibit the errors documented in issue #22
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-05-31 14:18:17 -07:00
R. Tyler Ballance 277a38c42d Remove some old-style __init__ and super() calls
Also fixed the Template.__init__() call being placed in all the
generated templates, this resolves issue #23

Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-05-31 12:23:26 -07:00
R. Tyler Ballance 81b1c7a80c Make sure that the _filter local is defined with @staticmethod/@classmethod
Added a test case, and a fix for mantis #21

Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-05-31 12:09:37 -07:00
R. Tyler Ballance 943a034037 Merge branch 'master' of git@github.com:rtyler/cheetah into next
Conflicts:
	SetupConfig.py

Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-05-25 18:40:21 -07:00
R. Tyler Ballance fa593e26a7 Forgot to change the package name, silly me
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-05-17 15:31:39 -07:00
R. Tyler Ballance bf8732b711 Update CHANGES and Version.py for the v2.2.0 release
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-05-17 15:28:48 -07:00
R. Tyler Ballance 272d48a12b Fail 2009-05-16 00:55:10 -07:00
R. Tyler Ballance 07246f01d6 Whoops, looks like find_template_source returns two return values
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-05-16 00:53:05 -07:00
R. Tyler Ballance 453ad01118 Add a simple class to handle rendering Cheetah in Django-land
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-05-16 00:38:45 -07:00
R. Tyler Ballance 8bd3bc25b8 Correct the name of the package for setup-tools to use
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-05-15 12:27:35 -07:00
R. Tyler Ballance 982bd246e5 Bump the version to rc3
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-05-15 11:01:35 -07:00
R. Tyler Ballance 68392079cb Tweak the syntax of the CheetahWrapper test file
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-05-15 10:54:00 -07:00
R. Tyler Ballance b44366f735 Provide backwards compatibility with Python 2.3 where 'set()' is not a builtin datatype.
This should correct the majority of the errors in this test run:
	http://hudson.communitycheetah.org/job/Cheetah%20(next)/label=Cheetah,python=python23/lastBuild/testReport/

Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-05-15 10:28:40 -07:00