summaryrefslogtreecommitdiff
path: root/interfaces.py
Commit message (Collapse)AuthorAgeFilesLines
* Made sure that all module doc strings have an $Id$ tag. While doing this Stephan Richter2004-07-161-1/+2
| | | | I discovered several packages that did not have a doc string at all.
* Removed an XXX by adjusting a docstring.Philipp von Weitershausen2004-07-091-2/+1
|
* Added getContext.Jim Fulton2004-06-241-0/+5
|
* Cleaned up trailing whitespace, fixed a typo, and wrapped a 97-character wideMarius Gedminas2004-06-101-2/+4
| | | | | docstring.
* Updated to use ZPL 2.1.Jim Fulton2004-06-021-1/+1
|
* Comment references ITranslationService which does not seem to exist.Gintautas Miliauskas2004-04-051-0/+1
|
* Added getValue(name, default) to engine.Stephan Richter2004-03-231-0/+6
|
* Final HEAD checkin of "Inline Code Support in TAL". For detailed messagesStephan Richter2003-08-211-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | during the development, see "srichter-inlinepython-branch". I tested the code with both, Python 2.2.3 and Python 2.3 and all works fine. Here an example of what you can do: <script type="text/server-python"> print "Hello World!" </script> and <p tal:script="text/server-python"> print "Hello World!" </p> A more elaborate example would be: <html><body> <script type="text/server-python"> global x x = "Hello World!" </script> <b tal:content="x" /> </body></html> This support is currently only available in "Templated Pages" after you activate the hook using the "Inline Code" screen.
* Increased test coverage of the zope-specific tales engine.Steve Alexander2003-07-011-1/+7
| | | | | | | Fixed bug where a different 'default' marker object was used in zope.app.pagetemplate than in zope.tales Added documentation of the required semantics of evaluateText to the ITALExpressionEngine interface.
* Removed extraneous whitespace.Steve Alexander2003-06-111-1/+1
|
* Renamed a bunch of interfaces to reflect the TAL expression, ratherJim Fulton2003-05-201-14/+31
| | | | than TALES.
* Add missing copyright notices.Jeremy Hylton2003-04-251-0/+13
|
* Make the various i18n interfaces more consistent in their argumentBarry Warsaw2003-04-171-3/+1
| | | | | | | | | | | | order. Some required domain before msgid, others had those two reversed. We standardize on msgid before domain because msgid can be a MessageID instance which carries its domain around with it. So in that case we don't need to specify domain and can make it an argument with a default value of None. Update all found call sites of the old order, fixed interfaces and tests. Ran the tests and z3.py with Python 2.2.2 -- I hope I got them all!
* ITALESEngine.translate(): Set mapping default value to None. WhenBarry Warsaw2003-04-151-1/+3
| | | | | | | | | msgid is a MessageID, the mapping tags along with the object so it needn't be specified. Ideally, I'd like to change the signature of this method so that msgid comes first and domain defaults to None. The domain tags along with MessageIDs too, so they needn't be always specified.
* add "default" argument for ITALESEngine.translate()Fred Drake2003-04-071-1/+1
|
* Grand renaming:Jim Fulton2002-12-251-0/+147
- Renamed most files (especially python modules) to lower case. - Moved views and interfaces into separate hierarchies within each project, where each top-level directory under the zope package is a separate project. - Moved everything to src from lib/python. lib/python will eventually go away. I need access to the cvs repository to make this happen, however. There are probably some bits that are broken. All tests pass and zope runs, but I haven't tried everything. There are a number of cleanups I'll work on tomorrow.