Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 108 lines (88 sloc) 4.072 kb
32567d84 » tavis_rudd
2001-06-13 Initial revision
1 Cheetah TODO list
5610e474 » tavis_rudd
2001-06-13 added some instructions
2 -----------------
32567d84 » tavis_rudd
2001-06-13 Initial revision
3
5610e474 » tavis_rudd
2001-06-13 added some instructions
4 * If you are working on a task please put your initials at the end of the
5 description
32567d84 » tavis_rudd
2001-06-13 Initial revision
6
9eb346f2 » tavis_rudd
2001-07-13 updated the list
7 * When a task is completed please remember to note it in the CHANGES file
5610e474 » tavis_rudd
2001-06-13 added some instructions
8
9 Languague Specification
32567d84 » tavis_rudd
2001-06-13 Initial revision
10 ================================================================================
d1a5287f » tavis_rudd
2001-09-07 added notes and change the version number
11
73ce5a83 » hierro
2002-03-28 *** empty log message ***
12 - revisit parsed #include directives. Are they necessary at all??
13 (This is a rhetorical question. They are necessary. However, the
14 Users' Guide needs better examples about when and when not to use
15 #include. Also, consider making '#include' do a raw include, and
16 something else do a parsed include ('#include parsed', '#include cheetah'?),
17 so that users get parsing only if they explicitly request it.
578d388f » tavis_rudd
2002-03-26 updated
18
0cbb2a25 » tavis_rudd
2001-11-05 updated
19 - write a formalized grammar for Cheetah in BNF
d1a5287f » tavis_rudd
2001-09-07 added notes and change the version number
20
32567d84 » tavis_rudd
2001-06-13 Initial revision
21 Implementation
22 ================================================================================
d1a5287f » tavis_rudd
2001-09-07 added notes and change the version number
23
47eece1f » tavis_rudd
2002-04-08 *** empty log message ***
24 - implement some better error handling for misformed #for, #if, #try directives,
25 etc. At the moment these errors are not caught until Python executes the
26 code.
6f5a89f5 » tavis_rudd
2002-05-01 *** empty log message ***
27
28 - create better error message for bad code such as:
29 ##cache
30 This is a cached region. $voom
31 #end cache
32
33 - fix bug in Parser.getDefArgList() that is mucking up lists where the comma has
34 been forgotten:
35
36 > #cache timer='.5m' id='cache1'
37 > This is a cached region. $voom
38 > #end cache
39 >
40 > the error is:
41 >
42 > "/local/opt/Python/lib/python2.2/site-packages/Webware/Cheetah/Compiler.py",
43 > line 102, in genCacheInfoFromArgList
44 > val = self.genTimeInterval(val)
45 > File
46 > "/local/opt/Python/lib/python2.2/site-packages/Webware/Cheetah/Compiler.py",
47 > line 75, in genTimeInterval
48 > interval = float(timeString)*60
49 > ValueError: invalid literal for float(): .5m' id'cache1
50 >
51 >
52 > Running under pdb shows that Parser.getDefArgList() returned:
53 > "30m' id'cache1" .
54
47eece1f » tavis_rudd
2002-04-08 *** empty log message ***
55
0beed839 » tavis_rudd
2002-04-30 *** empty log message ***
56 - finish the #cache directive's varyBy keyword (tied to Tavis' proposed caching
57 framework for Webware)
32567d84 » tavis_rudd
2001-06-13 Initial revision
58
09167370 » hierro
2002-03-30 *** empty log message ***
59 - Remove the -w option from 'cheetah compile'. New command 'cheetah fill'
60 replaces the -w switch and more: it fills the template into *.html, another
61 extension or stdout. It accepts the -R (recurse), -p (to stdout) and
62 -v (verbose) options of 'cheetah compile', and the '-e/--env' and
63 '-p/--pickle' options of .py template modules. Note the conflict between
64 -p (stdout) and -p (pickle); we'll have to rename -p (stdout) to something
65 else, both in 'cheetah fill' and 'cheetah compile'.
66
f4b3b514 » hierro
2002-04-11 *** empty log message ***
67 - Delete whitespace before comments. If the rest of the line consists
68 of only non-outputting directives and whitespace, delete the line from the
69 output. The only outputting directives I see are #echo, #block and
0beed839 » tavis_rudd
2002-04-30 *** empty log message ***
70 #include. -- MO
71
72 - 'python setup.py uninstall'. This may require hacking an uninstall feature
73 into distutils.
74
f4b3b514 » hierro
2002-04-11 *** empty log message ***
75
32567d84 » tavis_rudd
2001-06-13 Initial revision
76 Test Suite
77 ================================================================================
78 - test cases for the SkeletonPage framework
0cbb2a25 » tavis_rudd
2001-11-05 updated
79 - add cases that test the cheetah-compile script
09167370 » hierro
2002-03-30 *** empty log message ***
80 - add cases that test the integration with WebKit. Since these must be called
81 from a running WebKit server, make a servlet that runs the tests and outputs
82 diagnostics to the browser.
32567d84 » tavis_rudd
2001-06-13 Initial revision
83
84 Documentation
85 ================================================================================
73ce5a83 » hierro
2002-03-28 *** empty log message ***
86 - more examples in the Webware section (MO)
87 - more examples/advice all over the Users' Guide about recommended/
88 non-recommended strategies (MO)
89 - developers' guide (MO)
90 - beginners guide
91 - quick reference for template maintainers (MO - someday)
92 - HOWTOs (somebody offered to make some)
32567d84 » tavis_rudd
2001-06-13 Initial revision
93
94 Website
95 ================================================================================
8d09b72a » tavis_rudd
2001-08-16 *** empty log message ***
96 - automate the documentation update
32567d84 » tavis_rudd
2001-06-13 Initial revision
97 - See if we can get WebKit working on Sourceforge...
98
99 Examples
100 ================================================================================
101 - create some non-html code generation examples
0cbb2a25 » tavis_rudd
2001-11-05 updated
102 - SQL
103 - LaTeX
104 - form email
6d1d0e12 » hierro
2002-04-26 *** empty log message ***
105 - Template definitions in a database. .py template modules in a
106 database? Caching template classes and/or instances extracted from
107 a database.
108 - Pickled templates?
c7d48b5b » tavis_rudd
2001-10-10 further merges of the DEVEL_BRANCH code
109
Something went wrong with that request. Please try again.