package.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  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 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
  3. <name>Text_Highlighter</name>
  4. <channel>pear.php.net</channel>
  5. <summary>Syntax highlighting</summary>
  6. <description>Text_Highlighter is a package for syntax highlighting.
  7. It provides a base class provining all the functionality,
  8. and a descendent classes geneator class.
  9. The main idea is to simplify creation of subclasses
  10. implementing syntax highlighting for particular language.
  11. Subclasses do not implement any new functioanality,
  12. they just provide syntax highlighting rules.
  13. The rules sources are in XML format.
  14. To create a highlighter for a language, there is no need
  15. to code a new class manually. Simply describe the rules
  16. in XML file and use Text_Highlighter_Generator to create
  17. a new class.</description>
  18. <lead>
  19. <name>Stoyan Stefanov</name>
  20. <user>stoyan</user>
  21. <email>ssttoo@gmail.com</email>
  22. <active>yes</active>
  23. </lead>
  24. <lead>
  25. <name>Andrey Demenev</name>
  26. <user>blindman</user>
  27. <email>demenev@gmail.com</email>
  28. <active>yes</active>
  29. </lead>
  30. <date>2007-06-06</date>
  31. <time>11:28:05</time>
  32. <version>
  33. <release>0.7.0</release>
  34. <api>0.7.0</api>
  35. </version>
  36. <stability>
  37. <release>beta</release>
  38. <api>beta</api>
  39. </stability>
  40. <license uri="http://www.php.net/license">PHP License</license>
  41. <notes>- added new renderer - Array
  42. - HTML renderer modified to extend Array
  43. - more new renderers - BB, HTMLTags, JSON, XML, all extending Array
  44. (feature requests #8704 and #9188 )
  45. - new syntax definition - ABAP programming language (feature request #8809)
  46. - linked elements to their online documentation option (request #7480)
  47. - option to output code as unordered list (request #4640)
  48. - option to set starting number when outputting code in ordered lists
  49. (request #7077)
  50. - option to set CSS class names mapping insead of using hardcoded
  51. class names (request #7077)
  52. - option to set a CSS style mappping instead of class names (request #7077)
  53. - fixed /= issue when highlighting javascript (bug #11160)
  54. - added sample CSS to the package (bug #11211)</notes>
  55. <contents>
  56. <dir name="/">
  57. <file baseinstalldir="Text" md5sum="013c9c0ecdee58dbc4ca528dc15a34a2" name="Highlighter/Renderer/Array.php" role="php">
  58. <tasks:replace from="@package_version@" to="version" type="package-info" />
  59. </file>
  60. <file baseinstalldir="Text" md5sum="a971bba378a46ed71dba3d041bd56f0b" name="Highlighter/Renderer/BB.php" role="php">
  61. <tasks:replace from="@package_version@" to="version" type="package-info" />
  62. </file>
  63. <file baseinstalldir="Text" md5sum="acf2457b365cf36813d573ff6f8805b5" name="Highlighter/Renderer/Console.php" role="php">
  64. <tasks:replace from="@package_version@" to="version" type="package-info" />
  65. </file>
  66. <file baseinstalldir="Text" md5sum="203dbdbb0082dc1e2d6364104c13b185" name="Highlighter/Renderer/Html.php" role="php">
  67. <tasks:replace from="@package_version@" to="version" type="package-info" />
  68. </file>
  69. <file baseinstalldir="Text" md5sum="2c3f20ccfaa49beb1f52210dbe3dab96" name="Highlighter/Renderer/HtmlTags.php" role="php">
  70. <tasks:replace from="@package_version@" to="version" type="package-info" />
  71. </file>
  72. <file baseinstalldir="Text" md5sum="c89a16a844d5ca566378a7413f930b39" name="Highlighter/Renderer/JSON.php" role="php">
  73. <tasks:replace from="@package_version@" to="version" type="package-info" />
  74. </file>
  75. <file baseinstalldir="Text" md5sum="77497ce0df4f06685b6a490ae6c4f9b2" name="Highlighter/Renderer/XML.php" role="php">
  76. <tasks:replace from="@package_version@" to="version" type="package-info" />
  77. </file>
  78. <file baseinstalldir="Text" md5sum="9eda0470e135719c006267d635b0f4da" name="Highlighter/ABAP.php" role="php">
  79. <tasks:replace from="@package_version@" to="version" type="package-info" />
  80. </file>
  81. <file baseinstalldir="Text" md5sum="3542033429d49f7cae984b555f4b0e8b" name="Highlighter/CPP.php" role="php">
  82. <tasks:replace from="@package_version@" to="version" type="package-info" />
  83. </file>
  84. <file baseinstalldir="Text" md5sum="f65969cad2155c3024b678211f9658c9" name="Highlighter/CSS.php" role="php">
  85. <tasks:replace from="@package_version@" to="version" type="package-info" />
  86. </file>
  87. <file baseinstalldir="Text" md5sum="b122955b7d554cefcefd4eb20c720ab7" name="Highlighter/DIFF.php" role="php">
  88. <tasks:replace from="@package_version@" to="version" type="package-info" />
  89. </file>
  90. <file baseinstalldir="Text" md5sum="64106222a94c953984d940e3c2c412df" name="Highlighter/DTD.php" role="php">
  91. <tasks:replace from="@package_version@" to="version" type="package-info" />
  92. </file>
  93. <file baseinstalldir="Text" md5sum="243c07edbe16c13a751e21a7255d585e" name="Highlighter/Generator.php" role="php">
  94. <tasks:replace from="@package_version@" to="version" type="package-info" />
  95. </file>
  96. <file baseinstalldir="Text" md5sum="7285f8e1eae5787c4736366e09fc92fa" name="Highlighter/HTML.php" role="php">
  97. <tasks:replace from="@package_version@" to="version" type="package-info" />
  98. </file>
  99. <file baseinstalldir="Text" md5sum="e33a3c1b1c602954ef64be97c35da538" name="Highlighter/JAVA.php" role="php">
  100. <tasks:replace from="@package_version@" to="version" type="package-info" />
  101. </file>
  102. <file baseinstalldir="Text" md5sum="87e889b7fa92c2cba0de2a0f8c827d4b" name="Highlighter/JAVASCRIPT.php" role="php">
  103. <tasks:replace from="@package_version@" to="version" type="package-info" />
  104. </file>
  105. <file baseinstalldir="Text" md5sum="2c14a034318efc04f54a891f4d92efd5" name="Highlighter/MYSQL.php" role="php">
  106. <tasks:replace from="@package_version@" to="version" type="package-info" />
  107. </file>
  108. <file baseinstalldir="Text" md5sum="36b6e4204bda4fd3f46f63d192edfb6c" name="Highlighter/PERL.php" role="php">
  109. <tasks:replace from="@package_version@" to="version" type="package-info" />
  110. </file>
  111. <file baseinstalldir="Text" md5sum="a2298d02fd3712e63abda97f4459186d" name="Highlighter/PHP.php" role="php">
  112. <tasks:replace from="@package_version@" to="version" type="package-info" />
  113. </file>
  114. <file baseinstalldir="Text" md5sum="5a84265037e4c802262b8453fa03f05d" name="Highlighter/PYTHON.php" role="php">
  115. <tasks:replace from="@package_version@" to="version" type="package-info" />
  116. </file>
  117. <file baseinstalldir="Text" md5sum="733b468795b3ccaa82188d60ba42e0db" name="Highlighter/Renderer.php" role="php">
  118. <tasks:replace from="@package_version@" to="version" type="package-info" />
  119. </file>
  120. <file baseinstalldir="Text" md5sum="741b76badb0510310efb053ffb38103c" name="Highlighter/RUBY.php" role="php">
  121. <tasks:replace from="@package_version@" to="version" type="package-info" />
  122. </file>
  123. <file baseinstalldir="Text" md5sum="9612b29d18c0d18cd9a851ed6e49594b" name="Highlighter/SQL.php" role="php">
  124. <tasks:replace from="@package_version@" to="version" type="package-info" />
  125. </file>
  126. <file baseinstalldir="Text" md5sum="d5ebca4d8fbadf6b93f582786a818ab3" name="Highlighter/XML.php" role="php">
  127. <tasks:replace from="@package_version@" to="version" type="package-info" />
  128. </file>
  129. <file baseinstalldir="Text" md5sum="71e89de3fd80eb8c9fe2139bc786c739" name="abap.xml" role="data" />
  130. <file baseinstalldir="Text" md5sum="150e48565986dc85cbd5def048c861ff" name="cpp.xml" role="data" />
  131. <file baseinstalldir="Text" md5sum="80b88a5630616a43900e9f6255876d73" name="css.xml" role="data" />
  132. <file baseinstalldir="Text" md5sum="03bbb9f97dd557688082125fec184160" name="diff.xml" role="data" />
  133. <file baseinstalldir="Text" md5sum="2f0dc7366f5da77b875fead48dd1d992" name="dtd.xml" role="data" />
  134. <file baseinstalldir="Text/Highlighter" md5sum="3864e523f21aa47f670935233daaf155" name="generate" role="script">
  135. <tasks:replace from="@php_dir@" to="php_dir" type="pear-config" />
  136. <tasks:replace from="@php_bin@" to="php_bin" type="pear-config" />
  137. </file>
  138. <file baseinstalldir="Text/Highlighter" md5sum="15a780d6a0e5f8e2f17e10f621d48a77" name="generate.bat" role="script">
  139. <tasks:replace from="@bin_dir@" to="bin_dir" type="pear-config" />
  140. <tasks:replace from="@php_bin@" to="php_bin" type="pear-config" />
  141. <tasks:replace from="@php_dir@" to="php_dir" type="pear-config" />
  142. </file>
  143. <file baseinstalldir="Text" md5sum="fb358f890eb689f066067ae7440c2e65" name="Highlighter.php" role="php">
  144. <tasks:replace from="@package_version@" to="version" type="package-info" />
  145. </file>
  146. <file baseinstalldir="Text" md5sum="4724355723d91173e3fbff1a49cf6ed2" name="html.xml" role="data" />
  147. <file baseinstalldir="Text" md5sum="fca74bdc9fb76c5f4ebf25e13632d724" name="java.xml" role="data" />
  148. <file baseinstalldir="Text" md5sum="317d36bed5a22b1207d2903116dc211d" name="javascript.xml" role="data" />
  149. <file baseinstalldir="Text" md5sum="abd328d98009176bee09ccd40c195c28" name="mysql.xml" role="data" />
  150. <file baseinstalldir="Text" md5sum="e29d249c5868fba82b59cbf5a9a65b36" name="perl.xml" role="data" />
  151. <file baseinstalldir="Text" md5sum="9c94779edb325cc7b597f41e7911c87f" name="php.xml" role="data" />
  152. <file baseinstalldir="Text" md5sum="17b174ea131f4c9a33383bdac2ecd707" name="python.xml" role="data" />
  153. <file baseinstalldir="Text" md5sum="c1cddeb6c05c8a2c38f106dc9c0bf1b4" name="README" role="doc" />
  154. <file baseinstalldir="Text" md5sum="77abf6bfda4e2f55e41b313c0a08e076" name="ruby.xml" role="data" />
  155. <file baseinstalldir="Text" md5sum="3fcc7d0e298ecfd1432bbd051e977e2d" name="sample.css" role="data" />
  156. <file baseinstalldir="Text" md5sum="239d1d056dc1a02b6fc1e52f84fb451c" name="sql.xml" role="data" />
  157. <file baseinstalldir="Text" md5sum="96a7618ad15217978ff1d5f70f76eb05" name="TODO" role="data" />
  158. <file baseinstalldir="Text" md5sum="abd0b34519988975de481f81bd507ee7" name="xml.xml" role="data" />
  159. </dir>
  160. </contents>
  161. <dependencies>
  162. <required>
  163. <php>
  164. <min>4.3.3</min>
  165. </php>
  166. <pearinstaller>
  167. <min>1.4.0b1</min>
  168. </pearinstaller>
  169. <package>
  170. <name>PEAR</name>
  171. <channel>pear.php.net</channel>
  172. <min>1.0</min>
  173. </package>
  174. <package>
  175. <name>XML_Parser</name>
  176. <channel>pear.php.net</channel>
  177. <min>1.0.1</min>
  178. </package>
  179. <package>
  180. <name>Console_Getopt</name>
  181. <channel>pear.php.net</channel>
  182. <min>1.0</min>
  183. </package>
  184. </required>
  185. </dependencies>
  186. <phprelease>
  187. <installconditions>
  188. <os>
  189. <name>(*ix|*ux)</name>
  190. </os>
  191. </installconditions>
  192. <filelist>
  193. <ignore name="generate.bat" />
  194. </filelist>
  195. </phprelease>
  196. <phprelease>
  197. <installconditions>
  198. <os>
  199. <name>windows</name>
  200. </os>
  201. </installconditions>
  202. <filelist>
  203. <ignore name="generate" />
  204. </filelist>
  205. </phprelease>
  206. <phprelease>
  207. <filelist>
  208. <ignore name="generate" />
  209. <ignore name="generate.bat" />
  210. </filelist>
  211. </phprelease>
  212. <changelog>
  213. <release>
  214. <version>
  215. <release>0.7.0</release>
  216. <api>0.7.0</api>
  217. </version>
  218. <stability>
  219. <release>beta</release>
  220. <api>beta</api>
  221. </stability>
  222. <date>2007-06-06</date>
  223. <license uri="http://www.php.net/license">PHP License</license>
  224. <notes>- added new renderer - Array
  225. - HTML renderer modified to extend Array
  226. - more new renderers - BB, HTMLTags, JSON, XML, all extending Array
  227. (feature requests #8704 and #9188 )
  228. - new syntax definition - ABAP programming language (feature request #8809)
  229. - linked elements to their online documentation option (request #7480)
  230. - option to output code as unordered list (request #4640)
  231. - option to set starting number when outputting code in ordered lists
  232. (request #7077)
  233. - option to set CSS class names mapping insead of using hardcoded
  234. class names (request #7077)
  235. - option to set a CSS style mappping instead of class names (request #7077)
  236. - fixed /= issue when highlighting javascript (bug #11160)
  237. - added sample CSS to the package (bug #11211)</notes>
  238. </release>
  239. </changelog>
  240. </package>