root/branches/3.1/package.xml

Revision 458, 37.4 kB (checked in by schst, 1 year ago)

Prepared new release

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <package packagerversion="1.5.4" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
3     http://pear.php.net/dtd/tasks-1.0.xsd
4     http://pear.php.net/dtd/package-2.0
5     http://pear.php.net/dtd/package-2.0.xsd">
6  <name>patTemplate</name>
7  <channel>pear.php-tools.net</channel>
8  <summary>Powerful templating engine.</summary>
9  <description>patTemplate is a powerful, non-compiling templating engine, that uses XML tags to divide a document into different parts.
10 It provides different template types to emulate if/else and switch/case constructs, variable modifiers,
11 input- and output filters and several more useful features.</description>
12  <lead>
13   <name>Stephan Schmidt</name>
14   <user>schst</user>
15   <email>schst@php-tools.net</email>
16   <active>yes</active>
17  </lead>
18  <developer>
19   <name>Andrew Eddie</name>
20   <user>eddieajau</user>
21   <email>mamboblue@gmail.com</email>
22   <active>yes</active>
23  </developer>
24  <contributor>
25   <name>Sebastian Mordziol</name>
26   <user>argh</user>
27   <email>argh@php-tools.net</email>
28   <active>yes</active>
29  </contributor>
30  <contributor>
31   <name>gERD Schaufelberger</name>
32   <user>gerd</user>
33   <email>gerd@php-tools.net</email>
34   <active>yes</active>
35  </contributor>
36  <date>2007-06-02</date>
37  <time>17:25:27</time>
38  <version>
39   <release>3.1.0</release>
40   <api>3.1.0</api>
41  </version>
42  <stability>
43   <release>stable</release>
44   <api>stable</api>
45  </stability>
46  <license uri="http://www.gnu.org/copyleft/lesser.txt">LGPL</license>
47  <notes>Changes since 3.0.x:
48 - allowed more than one namespace
49 - added defaultFunction option, to define a function that is called for unknown functions
50 - added new built-in condition __single
51 - allow quoting variables using \{FOO\}
52 - implemented autoload in Call function
53 - added new system variable: {PAT_ROW_TYPE} = odd|even
54 - added &quot;rowOffset&quot; attribute that determines the starting point of PAT_ROW_VAR
55 - allow usage of $self in the return values of the expression modifier (by Andrew Eddie of Mambo)
56 - added &quot;relative&quot; attribute to load templates relative to the current template (request #89)
57 - the varscope attribute now supports a list of templates
58 - in the requiredvars attribute of a simple condition template it is now possible to specify the exact value of a variable via requiredvars=&quot;var=value&quot; (request #93)
59 - added clearVar(), clearVars(), clearGlobalVar() and clearGlobalVars() (request #91)
60 - added fourth parameter to addObject() to hide private properties
61 - addObject() now checks, whether an object implements a getVars() method
62 - added experimental XUL dump using PEAR::XML_XUL (needs a lot of love)
63 - added TemplateCaches for MMCache and eAccelerator (contributed by Mike Valstar)
64 - added placeholderExists() method (request #100)
65 - added Truncate Modifier (contributed by Rafa Couto)
66 - StripComments Input Filter now also strips Javascript multiline comments (Tim-Patrick Mᅵrk)
67 - Allow output filters for single templates (using the OutputFilter=&quot;...&quot; attribute and applyOutputFilter()) (Request #114)
68 - Add default variable modifiers for a template (Request #92)
69 - Added OutputFilter to highlight PHP code
70 - File Reader: Allow array containing several root directories as template root
71
72 Changes since 3.1.0a1:
73 - Allow the use of a variable in conditions (&lt;pat:sub condition=&quot;{FOO}&quot;/&gt;)
74 - Added new custom function Highlight that is able to apply syntax highlighting to your code (requires PEAR::Text_Highlighter)
75 - Added new custom function Img to create HTML images (contributed by Jens Strobel)
76 - Fixed notice in File reader (argh)
77 - Added parameter for TemplateCache_File to set the filemode (request #127)
78 - Added InputFilter that allows you to use the short variable modifier syntax of Smarty (schst, Axel Stettner) (request #136)
79 - Fixed bug with condition __empty that was used instead of condition 0 (bug #132)
80 - Fixed bug in Dateformat modifier
81 - Fixed bug with condition templates that have __single and __empty defined (bug #138)
82 - Bugfixes and new features in Translate function (bugs #68 and #73) (argh)
83 - Can now set a preconfigured patBBCode object for the BBCode output filter, and added some documentation (argh)
84 - Fixed the module file search that would not go through all defined folders (argh)
85 - Added patch to translate function to allow combining of the translationFile and translationUseFolders options (argh)
86 - Fixed bug #144: StripWhitespace output filter breaks UTF-8 encoded data (schst)
87 - Added DB reader to read templates from any database supported by PEAR::DB (schst)
88 - Fixed bug #74: Attributes &quot;maxloop&quot; and &quot;conditions&quot; causes PHP crash (schst)
89 - Fixed an issue when using clearTemplate() on a template that does not exist (argh)
90 - Fixed bug #150: Notice when enabling the template cache (schst)
91 - Fixed bug #151: Invalid filemode in template cache (patch by Frank Kleine)
92 - Fixed bug #153: pdflatex stops on errors (patch by p_ansell &lt;at&gt; yahoo [dot] com)
93 - Fixed bug with variables that contain only one character (slerman)
94
95 Changes since 3.1.0a2:
96 - Fixed bug #152 (__single breaks first) (schst)
97 - Allow multiple modifiers per variable (schst)
98 - Implemented request #154: functions as defaults for variables (schst)
99 - Add support for varscope __parent in variable modifier (gERD)
100 - Add support for varscope __parent in variable tag (gERD)
101 - Fixed bug #155: Automatically handle nested objects (schst)
102
103 Changes since 3.1.0b1:
104 - Fixed problem with condition templates and global variables (gERD)
105 - Added placeholders for variable modifiers (gERD)
106
107 Changes since 3.1.0b2:
108 - Fixed bug #164: ShortModifiers filter does not work if copyFrom and additional attributes are used (eddieajau)
109 - Fixed bug #165: ShortModifiers filter is not character set safe  (eddieajau)
110 - Added multibyte support to Truncate modifier (gERD)
111 - Added possibility to return UNIX timestamp to DateFormat modifier (gERD)
112 - Fixed a bug when using an __autoload() function in combination with external modules (argh)</notes>
113  <contents>
114   <dir baseinstalldir="pat" name="/">
115    <dir name="docs">
116     <file name="bc-break.txt" role="doc" />
117     <file name="extending-pattemplate.txt" role="doc" />
118     <file name="news.txt" role="doc" />
119     <file name="notes.txt" role="doc" />
120     <file name="reserved-variables.txt" role="doc" />
121     <file name="what-is-what.txt" role="doc" />
122    </dir> <!-- /docs -->
123    <dir name="examples">
124     <dir name="BBCode">
125      <dir name="Filters">
126       <dir name="Date">
127        <file name="_folder.txt" role="doc" />
128       </dir> <!-- /examples/BBCode/Filters/Date -->
129       <dir name="Emoticon">
130        <dir name="Text">
131         <file name="Beard.bbt" role="doc" />
132         <file name="Crying.bbt" role="doc" />
133         <file name="Diving.bbt" role="doc" />
134         <file name="Happy.bbt" role="doc" />
135         <file name="Ouch.bbt" role="doc" />
136         <file name="Think.bbt" role="doc" />
137         <file name="Tongue.bbt" role="doc" />
138         <file name="Vampire.bbt" role="doc" />
139        </dir> <!-- /examples/BBCode/Filters/Emoticon/Text -->
140       </dir> <!-- /examples/BBCode/Filters/Emoticon -->
141       <dir name="Link">
142        <file name="Inline.bbt" role="doc" />
143        <file name="Standalone.bbt" role="doc" />
144       </dir> <!-- /examples/BBCode/Filters/Link -->
145       <dir name="Php">
146        <file name="_folder.txt" role="doc" />
147       </dir> <!-- /examples/BBCode/Filters/Php -->
148      </dir> <!-- /examples/BBCode/Filters -->
149      <dir name="Tagtemplates">
150       <file name="b.bbt" role="doc" />
151       <file name="br.bbt" role="doc" />
152       <file name="em.bbt" role="doc" />
153       <file name="head.bbt" role="doc" />
154       <file name="p.bbt" role="doc" />
155       <file name="quote.bbt" role="doc" />
156      </dir> <!-- /examples/BBCode/Tagtemplates -->
157     </dir> <!-- /examples/BBCode -->
158     <dir name="data">
159      <file name="example_function_translate.tmpl-de.ini" role="doc" />
160      <file name="example_function_translate.tmpl-default.ini" role="doc" />
161      <file name="example_function_translate2.tmpl-de.ini" role="doc" />
162      <file name="example_function_translate2.tmpl-default.ini" role="doc" />
163     </dir> <!-- /examples/data -->
164     <dir name="img">
165      <file name="pb_pattemplate.gif" role="doc" />
166     </dir> <!-- /examples/img -->
167     <dir name="sql">
168      <file name="templates.sql" role="doc" />
169     </dir> <!-- /examples/sql -->
170     <dir name="templates">
171      <dir name="components">
172       <file name="hint.tmpl" role="doc" />
173       <file name="news.tmpl" role="doc" />
174      </dir> <!-- /examples/templates/components -->
175      <dir name="relative">
176       <file name="example_attributes_relative.tmpl" role="doc" />
177       <file name="example_attributes_relative_footer.tmpl" role="doc" />
178       <file name="example_attributes_relative_header.tmpl" role="doc" />
179       <file name="example_attributes_relative_main.tmpl" role="doc" />
180       <file name="example_attributes_relative_main2.tmpl" role="doc" />
181      </dir> <!-- /examples/templates/relative -->
182      <file name="example_api_addglobalvar.tmpl" role="doc" />
183      <file name="example_api_addobject.tmpl" role="doc" />
184      <file name="example_api_addvar.tmpl" role="doc" />
185      <file name="example_api_cleartemplate.tmpl" role="doc" />
186      <file name="example_api_displayparsedtemplate.tmpl" role="doc" />
187      <file name="example_api_displayparsedtemplate2.tmpl" role="doc" />
188      <file name="example_api_freetemplate.tmpl" role="doc" />
189      <file name="example_api_loadtemplate.tmpl" role="doc" />
190      <file name="example_api_loadtemplate_main.tmpl" role="doc" />
191      <file name="example_api_parseintovar.tmpl" role="doc" />
192      <file name="example_api_placeholderexists.tmpl" role="doc" />
193      <file name="example_api_readtemplatesfrominput.tmpl" role="doc" />
194      <file name="example_api_setattribute.tmpl" role="doc" />
195      <file name="example_attributes_addsystemvars.tmpl" role="doc" />
196      <file name="example_attributes_limit.tmpl" role="doc" />
197      <file name="example_attributes_loop.tmpl" role="doc" />
198      <file name="example_attributes_rowoffset.tmpl" role="doc" />
199      <file name="example_attributes_src.tmpl" role="doc" />
200      <file name="example_attributes_src_footer.tmpl" role="doc" />
201      <file name="example_attributes_src_header.tmpl" role="doc" />
202      <file name="example_attributes_src_main.tmpl" role="doc" />
203      <file name="example_attributes_unusedvars.tmpl" role="doc" />
204      <file name="example_attributes_useglobals.tmpl" role="doc" />
205      <file name="example_attributes_varscope.tmpl" role="doc" />
206      <file name="example_attributes_varscope_multiple.tmpl" role="doc" />
207      <file name="example_attributes_whitespace.tmpl" role="doc" />
208      <file name="example_cache_template_file.tmpl" role="doc" />
209      <file name="example_compiler_display.tmpl" role="doc" />
210      <file name="example_dump_dhtml.tmpl" role="doc" />
211      <file name="example_filter_input_stripcomments.tmpl" role="doc" />
212      <file name="example_filter_output_bbcode.tmpl" role="doc" />
213      <file name="example_filter_output_multiple.tmpl" role="doc" />
214      <file name="example_filter_output_per_template.tmpl" role="doc" />
215      <file name="example_filter_output_tidy.tmpl" role="doc" />
216      <file name="example_function_aliases.tmpl" role="doc" />
217      <file name="example_function_attribute.tmpl" role="doc" />
218      <file name="example_function_call.tmpl" role="doc" />
219      <file name="example_function_default.tmpl" role="doc" />
220      <file name="example_function_highlight.tmpl" role="doc" />
221      <file name="example_function_phphighlight.tmpl" role="doc" />
222      <file name="example_function_strip.tmpl" role="doc" />
223      <file name="example_function_time.tmpl" role="doc" />
224      <file name="example_function_translate.tmpl" role="doc" />
225      <file name="example_function_translate2.tmpl" role="doc" />
226      <file name="example_misc_autonaming.tmpl" role="doc" />
227      <file name="example_misc_dotsyntax.tmpl" role="doc" />
228      <file name="example_misc_maintainbc.tmpl" role="doc" />
229      <file name="example_misc_namespace.tmpl" role="doc" />
230      <file name="example_misc_quote.tmpl" role="doc" />
231      <file name="example_reader_file_multiple.tmpl" role="doc" />
232      <file name="example_reader_it.tmpl" role="doc" />
233      <file name="example_realworld_changesource.tmpl" role="doc" />
234      <file name="example_realworld_changesource_home.tmpl" role="doc" />
235      <file name="example_realworld_expression.tmpl" role="doc" />
236      <file name="example_realworld_hiddenvar.tmpl" role="doc" />
237      <file name="example_realworld_img.tmpl" role="doc" />
238      <file name="example_realworld_list.tmpl" role="doc" />
239      <file name="example_realworld_nestedvars.tmpl" role="doc" />
240      <file name="example_realworld_paginate.tmpl" role="doc" />
241      <file name="example_realworld_table.tmpl" role="doc" />
242      <file name="example_realworld_table_from_list.tmpl" role="doc" />
243      <file name="example_realworld_varscopeparent.tmpl" role="doc" />
244      <file name="example_tags_comment.tmpl" role="doc" />
245      <file name="example_tags_link.tmpl" role="doc" />
246      <file name="example_tags_sub.tmpl" role="doc" />
247      <file name="example_tags_tmpl.tmpl" role="doc" />
248      <file name="example_tags_var.tmpl" role="doc" />
249      <file name="example_type_condition.tmpl" role="doc" />
250      <file name="example_type_condition_variable.tmpl" role="doc" />
251      <file name="example_type_modulo.tmpl" role="doc" />
252      <file name="example_type_modulo_empty.tmpl" role="doc" />
253      <file name="example_type_modulo_single.tmpl" role="doc" />
254      <file name="example_type_oddeven.tmpl" role="doc" />
255      <file name="example_type_simplecondition.tmpl" role="doc" />
256      <file name="example_type_standard.tmpl" role="doc" />
257      <file name="example_var_copyfrom.tmpl" role="doc" />
258      <file name="example_var_default_function.tmpl" role="doc" />
259      <file name="example_var_global.tmpl" role="doc" />
260      <file name="example_var_modifier.tmpl" role="doc" />
261      <file name="example_var_modifier_default.tmpl" role="doc" />
262      <file name="example_var_modifier_multiple.tmpl" role="doc" />
263      <file name="example_var_modifier_placeholder.tmpl" role="doc" />
264      <file name="example_var_modifier_short.tmpl" role="doc" />
265      <file name="example_var_modifier_varscope.tmpl" role="doc" />
266     </dir> <!-- /examples/templates -->
267     <dir name="templates-2">
268      <file name="example_reader_file_multiple2.tmpl" role="doc" />
269     </dir> <!-- /examples/templates-2 -->
270     <dir name="tmplCache">
271      <file name="readme.txt" role="doc" />
272     </dir> <!-- /examples/tmplCache -->
273     <file name="example_api_addglobalvar.php" role="doc" />
274     <file name="example_api_addobject.php" role="doc" />
275     <file name="example_api_addvar.php" role="doc" />
276     <file name="example_api_cleartemplate.php" role="doc" />
277     <file name="example_api_displayparsedtemplate.php" role="doc" />
278     <file name="example_api_freetemplate.php" role="doc" />
279     <file name="example_api_loadtemplate.php" role="doc" />
280     <file name="example_api_parseintovar.php" role="doc" />
281     <file name="example_api_placeholderexists.php" role="doc" />
282     <file name="example_api_readtemplatesfrominput.php" role="doc" />
283     <file name="example_api_setattribute.php" role="doc" />
284     <file name="example_attributes_addsystemvars.php" role="doc" />
285     <file name="example_attributes_limit.php" role="doc" />
286     <file name="example_attributes_loop.php" role="doc" />
287     <file name="example_attributes_relative.php" role="doc" />
288     <file name="example_attributes_rowoffset.php" role="doc" />
289     <file name="example_attributes_src.php" role="doc" />
290     <file name="example_attributes_unusedvars.php" role="doc" />
291     <file name="example_attributes_useglobals.php" role="doc" />
292     <file name="example_attributes_varscope.php" role="doc" />
293     <file name="example_attributes_varscope_multiple.php" role="doc" />
294     <file name="example_attributes_whitespace.php" role="doc" />
295     <file name="example_cache_template_file.php" role="doc" />
296     <file name="example_compiler_display.php" role="doc" />
297     <file name="example_condition_basic.php" role="doc" />
298     <file name="example_dump_dhtml.php" role="doc" />
299     <file name="example_dump_xul.php" role="doc" />
300     <file name="example_filter_input_stripcomments.php" role="doc" />
301     <file name="example_filter_output_bbcode.php" role="doc" />
302     <file name="example_filter_output_multiple.php" role="doc" />
303     <file name="example_filter_output_per_template.php" role="doc" />
304     <file name="example_filter_output_tidy.php" role="doc" />
305     <file name="example_function_aliases.php" role="doc" />
306     <file name="example_function_attribute.php" role="doc" />
307     <file name="example_function_call.php" role="doc" />
308     <file name="example_function_call_autoload.php" role="doc" />
309     <file name="example_function_default.php" role="doc" />
310     <file name="example_function_highlight.php" role="doc" />
311     <file name="example_function_phphighlight.php" role="doc" />
312     <file name="example_function_strip.php" role="doc" />
313     <file name="example_function_time.php" role="doc" />
314     <file name="example_function_translate.php" role="doc" />
315     <file name="example_misc_autonaming.php" role="doc" />
316     <file name="example_misc_dotsyntax.php" role="doc" />
317     <file name="example_misc_maintainbc.php" role="doc" />
318     <file name="example_misc_namespace.php" role="doc" />
319     <file name="example_misc_quote.php" role="doc" />
320     <file name="example_reader_combined.php" role="doc" />
321     <file name="example_reader_db.php" role="doc" />
322     <file name="example_reader_file_multiple.php" role="doc" />
323     <file name="example_reader_it.php" role="doc" />
324     <file name="example_reader_string.php" role="doc" />
325     <file name="example_realworld_changesource.php" role="doc" />
326     <file name="example_realworld_expression.php" role="doc" />
327     <file name="example_realworld_hiddenvar.php" role="doc" />
328     <file name="example_realworld_img.php" role="doc" />
329     <file name="example_realworld_list.php" role="doc" />
330     <file name="example_realworld_nestedvars.php" role="doc" />
331     <file name="example_realworld_paginate.php" role="doc" />
332     <file name="example_realworld_table.php" role="doc" />
333     <file name="example_realworld_table_from_list.php" role="doc" />
334     <file name="example_realworld_varscopeparent.php" role="doc" />
335     <file name="example_tags_comment.php" role="doc" />
336     <file name="example_tags_link.php" role="doc" />
337     <file name="example_tags_sub.php" role="doc" />
338     <file name="example_tags_tmpl.php" role="doc" />
339     <file name="example_tags_var.php" role="doc" />
340     <file name="example_type_condition.php" role="doc" />
341     <file name="example_type_condition_variable.php" role="doc" />
342     <file name="example_type_modulo.php" role="doc" />
343     <file name="example_type_modulo_empty.php" role="doc" />
344     <file name="example_type_modulo_single.php" role="doc" />
345     <file name="example_type_oddeven.php" role="doc" />
346     <file name="example_type_simplecondition.php" role="doc" />
347     <file name="example_type_standard.php" role="doc" />
348     <file name="example_var_copyfrom.php" role="doc" />
349     <file name="example_var_default_function.php" role="doc" />
350     <file name="example_var_global.php" role="doc" />
351     <file name="example_var_modifier.php" role="doc" />
352     <file name="example_var_modifier_default.php" role="doc" />
353     <file name="example_var_modifier_multiple.php" role="doc" />
354     <file name="example_var_modifier_placeholder.php" role="doc" />
355     <file name="example_var_modifier_short.php" role="doc" />
356     <file name="example_var_modifier_varscope.php" role="doc" />
357     <file name="index.php" role="doc" />
358     <file name="index_main.php" role="doc" />
359     <file name="index_nav.php" role="doc" />
360     <file name="index_sections.php" role="doc" />
361     <file name="_dumpTemplate.php" role="doc" />
362     <file name="_styles.css" role="doc" />
363     <file name="_viewExample.php" role="doc" />
364    </dir> <!-- /examples -->
365    <dir name="patTemplate">
366     <dir name="Dump">
367      <file name="Html.php" role="php" />
368      <file name="XUL.php" role="php" />
369     </dir> <!-- /patTemplate/Dump -->
370     <dir name="Function">
371      <file name="Alias.php" role="php" />
372      <file name="Attribute.php" role="php" />
373      <file name="Call.php" role="php" />
374      <file name="Globalvar.php" role="php" />
375      <file name="Highlight.php" role="php" />
376      <file name="Img.php" role="php" />
377      <file name="Phphighlight.php" role="php" />
378      <file name="Strip.php" role="php" />
379      <file name="Time.php" role="php" />
380      <file name="Translate.php" role="php" />
381     </dir> <!-- /patTemplate/Function -->
382     <dir name="InputFilter">
383      <file name="ShortModifiers.php" role="php" />
384      <file name="StripComments.php" role="php" />
385     </dir> <!-- /patTemplate/InputFilter -->
386     <dir name="Modifier">
387      <dir name="HTML">
388       <file name="Img.php" role="php" />
389      </dir> <!-- /patTemplate/Modifier/HTML -->
390      <file name="Dateformat.php" role="php" />
391      <file name="Expression.php" role="php" />
392      <file name="Numberformat.php" role="php" />
393      <file name="QuoteLatex.php" role="php" />
394      <file name="Surround.php" role="php" />
395      <file name="Truncate.php" role="php" />
396      <file name="Wordwrapper.php" role="php" />
397     </dir> <!-- /patTemplate/Modifier -->
398     <dir name="OutputFilter">
399      <file name="BBCode.php" role="php" />
400      <file name="Gzip.php" role="php" />
401      <file name="HighlightPhp.php" role="php" />
402      <file name="PdfLatex.php" role="php" />
403      <file name="StripWhitespace.php" role="php" />
404      <file name="Tidy.php" role="php" />
405     </dir> <!-- /patTemplate/OutputFilter -->
406     <dir name="Reader">
407      <file name="DB.php" role="php" />
408      <file name="File.php" role="php" />
409      <file name="IT.php" role="php" />
410      <file name="String.php" role="php" />
411     </dir> <!-- /patTemplate/Reader -->
412     <dir name="Stat">
413      <file name="File.php" role="php" />
414     </dir> <!-- /patTemplate/Stat -->
415     <dir name="TemplateCache">
416      <file name="eAccelerator.php" role="php" />
417      <file name="File.php" role="php" />
418      <file name="MMCache.php" role="php" />
419     </dir> <!-- /patTemplate/TemplateCache -->
420     <file name="Compiler.php" role="php" />
421     <file name="Dump.php" role="php" />
422     <file name="Function.php" role="php" />
423     <file name="InputFilter.php" role="php" />
424     <file name="Modifier.php" role="php" />
425     <file name="Module.php" role="php" />
426     <file name="OutputCache.php" role="php" />
427     <file name="OutputFilter.php" role="php" />
428     <file name="Reader.php" role="php" />
429     <file name="Stat.php" role="php" />
430     <file name="TemplateCache.php" role="php" />
431    </dir> <!-- /patTemplate -->
432    <dir name="tests">
433     <dir name="templates">
434      <dir name="components">
435       <file name="header.tmpl" role="test" />
436      </dir> <!-- /tests/templates/components -->
437      <dir name="pages">
438       <file name="bug141.tmpl" role="test" />
439      </dir> <!-- /tests/templates/pages -->
440      <file name="bug74.tmpl" role="test" />
441      <file name="bug138.tmpl" role="test" />
442      <file name="bug144.tmpl" role="test" />
443      <file name="bug145.tmpl" role="test" />
444      <file name="bug145_2.tmpl" role="test" />
445      <file name="bug152.tmpl" role="test" />
446      <file name="bug155.tmpl" role="test" />
447     </dir> <!-- /tests/templates -->
448     <file name="benchmark_sprintf.php" role="test" />
449     <file name="bug74.php" role="test" />
450     <file name="bug138.php" role="test" />
451     <file name="bug141.php" role="test" />
452     <file name="bug144.php" role="test" />
453     <file name="bug145.php" role="test" />
454     <file name="bug152.php" role="test" />
455     <file name="bug155.php" role="test" />
456     <file name="readme.txt" role="test" />
457    </dir> <!-- /tests -->
458    <file name="patTemplate.php" role="php" />
459   </dir> <!-- / -->
460  </contents>
461  <dependencies>
462   <required>
463    <php>
464     <min>4.2.0</min>
465    </php>
466    <pearinstaller>
467     <min>1.4.0</min>
468    </pearinstaller>
469    <package>
470     <name>patError</name>
471     <channel>pear.php-tools.net</channel>
472     <min>1.1.0</min>
473    </package>
474   </required>
475   <optional>
476    <package>
477     <name>patBBCode</name>
478     <channel>pear.php-tools.net</channel>
479    </package>
480    <package>
481     <name>XML_XUL</name>
482     <channel>pear.php.net</channel>
483     <min>0.8.1</min>
484    </package>
485    <package>
486     <name>Text_Highlighter</name>
487     <channel>pear.php.net</channel>
488    </package>
489   </optional>
490  </dependencies>
491  <phprelease />
492  <changelog>
493   <release>
494    <version>
495     <release>3.1.0b1</release>
496     <api>3.1.0</api>
497    </version>
498    <stability>
499     <release>beta</release>
500     <api>stable</api>
501    </stability>
502    <date>2006-08-20</date>
503    <license uri="http://www.gnu.org/copyleft/lesser.txt">LGPL</license>
504    <notes>Changes since 3.0.x:
505 - allowed more than one namespace
506 - added defaultFunction option, to define a function that is called for unknown functions
507 - added new built-in condition __single
508 - allow quoting variables using {FOO\}
509 - implemented autoload in Call function
510 - added new system variable: {PAT_ROW_TYPE} = odd|even
511 - added &quot;rowOffset&quot; attribute that determines the starting point of PAT_ROW_VAR
512 - allow usage of $self in the return values of the expression modifier (by Andrew Eddie of Mambo)
513 - added &quot;relative&quot; attribute to load templates relative to the current template (request #89)
514 - the varscope attribute now supports a list of templates
515 - in the requiredvars attribute of a simple condition template it is now possible to specify the exact value of a variable via requiredvars=&quot;var=value&quot; (request #93)
516 - added clearVar(), clearVars(), clearGlobalVar() and clearGlobalVars() (request #91)
517 - added fourth parameter to addObject() to hide private properties
518 - addObject() now checks, whether an object implements a getVars() method
519 - added experimental XUL dump using PEAR::XML_XUL (needs a lot of love)
520 - added TemplateCaches for MMCache and eAccelerator (contributed by Mike Valstar)
521 - added placeholderExists() method (request #100)
522 - added Truncate Modifier (contributed by Rafa Couto)
523 - StripComments Input Filter now also strips Javascript multiline comments (Tim-Patrick Mᅵrk)
524 - Allow output filters for single templates (using the OutputFilter=&quot;...&quot; attribute and applyOutputFilter()) (Request #114)
525 - Add default variable modifiers for a template (Request #92)
526 - Added OutputFilter to highlight PHP code
527 - File Reader: Allow array containing several root directories as template root
528
529 Changes since 3.1.0a1:
530 - Allow the use of a variable in conditions (&lt;pat:sub condition=&quot;{FOO}&quot;/&gt;)
531 - Added new custom function Highlight that is able to apply syntax highlighting to your code (requires PEAR::Text_Highlighter)
532 - Added new custom function Img to create HTML images (contributed by Jens Strobel)
533 - Fixed notice in File reader (argh)
534 - Added parameter for TemplateCache_File to set the filemode (request #127)
535 - Added InputFilter that allows you to use the short variable modifier syntax of Smarty (schst, Axel Stettner) (request #136)
536 - Fixed bug with condition __empty that was used instead of condition 0 (bug #132)
537 - Fixed bug in Dateformat modifier
538 - Fixed bug with condition templates that have __single and __empty defined (bug #138)
539 - Bugfixes and new features in Translate function (bugs #68 and #73) (argh)
540 - Can now set a preconfigured patBBCode object for the BBCode output filter, and added some documentation (argh)
541 - Fixed the module file search that would not go through all defined folders (argh)
542 - Added patch to translate function to allow combining of the translationFile and translationUseFolders options (argh)
543 - Fixed bug #144: StripWhitespace output filter breaks UTF-8 encoded data (schst)
544 - Added DB reader to read templates from any database supported by PEAR::DB (schst)
545 - Fixed bug #74: Attributes &quot;maxloop&quot; and &quot;conditions&quot; causes PHP crash (schst)
546 - Fixed an issue when using clearTemplate() on a template that does not exist (argh)
547 - Fixed bug #150: Notice when enabling the template cache (schst)
548 - Fixed bug #151: Invalid filemode in template cache (patch by Frank Kleine)
549 - Fixed bug #153: pdflatex stops on errors (patch by p_ansell &lt;at&gt; yahoo [dot] com)
550 - Fixed bug with variables that contain only one character (slerman)
551
552 Changes since 3.1.0a2:
553 - Fixed bug #152 (__single breaks first) (schst)
554 - Allow multiple modifiers per variable (schst)
555 - Implemented request #154: functions as defaults for variables (schst)
556 - Add support for varscope __parent in variable modifier (gERD)
557 - Add support for varscope __parent in variable tag (gERD)
558 - Fixed bug #155: Automatically handle nested objects (schst)</notes>
559   </release>
560   <release>
561    <version>
562     <release>3.1.0b2</release>
563     <api>3.1.0</api>
564    </version>
565    <stability>
566     <release>beta</release>
567     <api>stable</api>
568    </stability>
569    <date>2006-11-21</date>
570    <license uri="http://www.gnu.org/copyleft/lesser.txt">LGPL</license>
571    <notes>Changes since 3.0.x:
572 - allowed more than one namespace
573 - added defaultFunction option, to define a function that is called for unknown functions
574 - added new built-in condition __single
575 - allow quoting variables using \{FOO\}
576 - implemented autoload in Call function
577 - added new system variable: {PAT_ROW_TYPE} = odd|even
578 - added &quot;rowOffset&quot; attribute that determines the starting point of PAT_ROW_VAR
579 - allow usage of $self in the return values of the expression modifier (by Andrew Eddie of Mambo)
580 - added &quot;relative&quot; attribute to load templates relative to the current template (request #89)
581 - the varscope attribute now supports a list of templates
582 - in the requiredvars attribute of a simple condition template it is now possible to specify the exact value of a variable via requiredvars=&quot;var=value&quot; (request #93)
583 - added clearVar(), clearVars(), clearGlobalVar() and clearGlobalVars() (request #91)
584 - added fourth parameter to addObject() to hide private properties
585 - addObject() now checks, whether an object implements a getVars() method
586 - added experimental XUL dump using PEAR::XML_XUL (needs a lot of love)
587 - added TemplateCaches for MMCache and eAccelerator (contributed by Mike Valstar)
588 - added placeholderExists() method (request #100)
589 - added Truncate Modifier (contributed by Rafa Couto)
590 - StripComments Input Filter now also strips Javascript multiline comments (Tim-Patrick Mᅵrk)
591 - Allow output filters for single templates (using the OutputFilter=&quot;...&quot; attribute and applyOutputFilter()) (Request #114)
592 - Add default variable modifiers for a template (Request #92)
593 - Added OutputFilter to highlight PHP code
594 - File Reader: Allow array containing several root directories as template root
595
596 Changes since 3.1.0a1:
597 - Allow the use of a variable in conditions (&lt;pat:sub condition=&quot;{FOO}&quot;/&gt;)
598 - Added new custom function Highlight that is able to apply syntax highlighting to your code (requires PEAR::Text_Highlighter)
599 - Added new custom function Img to create HTML images (contributed by Jens Strobel)
600 - Fixed notice in File reader (argh)
601 - Added parameter for TemplateCache_File to set the filemode (request #127)
602 - Added InputFilter that allows you to use the short variable modifier syntax of Smarty (schst, Axel Stettner) (request #136)
603 - Fixed bug with condition __empty that was used instead of condition 0 (bug #132)
604 - Fixed bug in Dateformat modifier
605 - Fixed bug with condition templates that have __single and __empty defined (bug #138)
606 - Bugfixes and new features in Translate function (bugs #68 and #73) (argh)
607 - Can now set a preconfigured patBBCode object for the BBCode output filter, and added some documentation (argh)
608 - Fixed the module file search that would not go through all defined folders (argh)
609 - Added patch to translate function to allow combining of the translationFile and translationUseFolders options (argh)
610 - Fixed bug #144: StripWhitespace output filter breaks UTF-8 encoded data (schst)
611 - Added DB reader to read templates from any database supported by PEAR::DB (schst)
612 - Fixed bug #74: Attributes &quot;maxloop&quot; and &quot;conditions&quot; causes PHP crash (schst)
613 - Fixed an issue when using clearTemplate() on a template that does not exist (argh)
614 - Fixed bug #150: Notice when enabling the template cache (schst)
615 - Fixed bug #151: Invalid filemode in template cache (patch by Frank Kleine)
616 - Fixed bug #153: pdflatex stops on errors (patch by p_ansell &lt;at&gt; yahoo [dot] com)
617 - Fixed bug with variables that contain only one character (slerman)
618
619 Changes since 3.1.0a2:
620 - Fixed bug #152 (__single breaks first) (schst)
621 - Allow multiple modifiers per variable (schst)
622 - Implemented request #154: functions as defaults for variables (schst)
623 - Add support for varscope __parent in variable modifier (gERD)
624 - Add support for varscope __parent in variable tag (gERD)
625 - Fixed bug #155: Automatically handle nested objects (schst)
626
627 Changes since 3.1.0b1:
628 - Fixed problem with condition templates and global variables (gERD)
629 - Added placeholders for variable modifiers (gERD)</notes>
630   </release>
631   <release>
632    <version>
633     <release>3.1.0</release>
634     <api>3.1.0</api>
635    </version>
636    <stability>
637     <release>stable</release>
638     <api>stable</api>
639    </stability>
640    <date>2007-06-02</date>
641    <license uri="http://www.gnu.org/copyleft/lesser.txt">LGPL</license>
642    <notes>Changes since 3.0.x:
643 - allowed more than one namespace
644 - added defaultFunction option, to define a function that is called for unknown functions
645 - added new built-in condition __single
646 - allow quoting variables using \{FOO\}
647 - implemented autoload in Call function
648 - added new system variable: {PAT_ROW_TYPE} = odd|even
649 - added &quot;rowOffset&quot; attribute that determines the starting point of PAT_ROW_VAR
650 - allow usage of $self in the return values of the expression modifier (by Andrew Eddie of Mambo)
651 - added &quot;relative&quot; attribute to load templates relative to the current template (request #89)
652 - the varscope attribute now supports a list of templates
653 - in the requiredvars attribute of a simple condition template it is now possible to specify the exact value of a variable via requiredvars=&quot;var=value&quot; (request #93)
654 - added clearVar(), clearVars(), clearGlobalVar() and clearGlobalVars() (request #91)
655 - added fourth parameter to addObject() to hide private properties
656 - addObject() now checks, whether an object implements a getVars() method
657 - added experimental XUL dump using PEAR::XML_XUL (needs a lot of love)
658 - added TemplateCaches for MMCache and eAccelerator (contributed by Mike Valstar)
659 - added placeholderExists() method (request #100)
660 - added Truncate Modifier (contributed by Rafa Couto)
661 - StripComments Input Filter now also strips Javascript multiline comments (Tim-Patrick Mᅵrk)
662 - Allow output filters for single templates (using the OutputFilter=&quot;...&quot; attribute and applyOutputFilter()) (Request #114)
663 - Add default variable modifiers for a template (Request #92)
664 - Added OutputFilter to highlight PHP code
665 - File Reader: Allow array containing several root directories as template root
666
667 Changes since 3.1.0a1:
668 - Allow the use of a variable in conditions (&lt;pat:sub condition=&quot;{FOO}&quot;/&gt;)
669 - Added new custom function Highlight that is able to apply syntax highlighting to your code (requires PEAR::Text_Highlighter)
670 - Added new custom function Img to create HTML images (contributed by Jens Strobel)
671 - Fixed notice in File reader (argh)
672 - Added parameter for TemplateCache_File to set the filemode (request #127)
673 - Added InputFilter that allows you to use the short variable modifier syntax of Smarty (schst, Axel Stettner) (request #136)
674 - Fixed bug with condition __empty that was used instead of condition 0 (bug #132)
675 - Fixed bug in Dateformat modifier
676 - Fixed bug with condition templates that have __single and __empty defined (bug #138)
677 - Bugfixes and new features in Translate function (bugs #68 and #73) (argh)
678 - Can now set a preconfigured patBBCode object for the BBCode output filter, and added some documentation (argh)
679 - Fixed the module file search that would not go through all defined folders (argh)
680 - Added patch to translate function to allow combining of the translationFile and translationUseFolders options (argh)
681 - Fixed bug #144: StripWhitespace output filter breaks UTF-8 encoded data (schst)
682 - Added DB reader to read templates from any database supported by PEAR::DB (schst)
683 - Fixed bug #74: Attributes &quot;maxloop&quot; and &quot;conditions&quot; causes PHP crash (schst)
684 - Fixed an issue when using clearTemplate() on a template that does not exist (argh)
685 - Fixed bug #150: Notice when enabling the template cache (schst)
686 - Fixed bug #151: Invalid filemode in template cache (patch by Frank Kleine)
687 - Fixed bug #153: pdflatex stops on errors (patch by p_ansell &lt;at&gt; yahoo [dot] com)
688 - Fixed bug with variables that contain only one character (slerman)
689
690 Changes since 3.1.0a2:
691 - Fixed bug #152 (__single breaks first) (schst)
692 - Allow multiple modifiers per variable (schst)
693 - Implemented request #154: functions as defaults for variables (schst)
694 - Add support for varscope __parent in variable modifier (gERD)
695 - Add support for varscope __parent in variable tag (gERD)
696 - Fixed bug #155: Automatically handle nested objects (schst)
697
698 Changes since 3.1.0b1:
699 - Fixed problem with condition templates and global variables (gERD)
700 - Added placeholders for variable modifiers (gERD)
701
702 Changes since 3.1.0b2:
703 - Fixed bug #164: ShortModifiers filter does not work if copyFrom and additional attributes are used (eddieajau)
704 - Fixed bug #165: ShortModifiers filter is not character set safe  (eddieajau)
705 - Added multibyte support to Truncate modifier (gERD)
706 - Added possibility to return UNIX timestamp to DateFormat modifier (gERD)
707 - Fixed a bug when using an __autoload() function in combination with external modules (argh)</notes>
708   </release>
709  </changelog>
710 </package>
Note: See TracBrowser for help on using the browser.