pygments.rb-jruby 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (473) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +6 -0
  3. data/CHANGELOG.md +71 -0
  4. data/Gemfile +2 -0
  5. data/LICENSE +17 -0
  6. data/README.md +118 -0
  7. data/Rakefile +66 -0
  8. data/bench.rb +22 -0
  9. data/cache-lexers.rb +8 -0
  10. data/lexers +0 -0
  11. data/lib/pygments.rb +8 -0
  12. data/lib/pygments/lexer.rb +148 -0
  13. data/lib/pygments/mentos.py +351 -0
  14. data/lib/pygments/popen.rb +404 -0
  15. data/lib/pygments/version.rb +3 -0
  16. data/pygments.rb.gemspec +24 -0
  17. data/test/test_data.c +2581 -0
  18. data/test/test_data.py +514 -0
  19. data/test/test_data_generated +2582 -0
  20. data/test/test_pygments.rb +287 -0
  21. data/vendor/custom_lexers/github.py +565 -0
  22. data/vendor/pygments-main/AUTHORS +153 -0
  23. data/vendor/pygments-main/CHANGES +889 -0
  24. data/vendor/pygments-main/LICENSE +25 -0
  25. data/vendor/pygments-main/MANIFEST.in +6 -0
  26. data/vendor/pygments-main/Makefile +59 -0
  27. data/vendor/pygments-main/REVISION +1 -0
  28. data/vendor/pygments-main/TODO +15 -0
  29. data/vendor/pygments-main/docs/generate.py +472 -0
  30. data/vendor/pygments-main/docs/pygmentize.1 +94 -0
  31. data/vendor/pygments-main/docs/src/api.txt +270 -0
  32. data/vendor/pygments-main/docs/src/authors.txt +5 -0
  33. data/vendor/pygments-main/docs/src/changelog.txt +5 -0
  34. data/vendor/pygments-main/docs/src/cmdline.txt +147 -0
  35. data/vendor/pygments-main/docs/src/filterdevelopment.txt +70 -0
  36. data/vendor/pygments-main/docs/src/filters.txt +42 -0
  37. data/vendor/pygments-main/docs/src/formatterdevelopment.txt +169 -0
  38. data/vendor/pygments-main/docs/src/formatters.txt +48 -0
  39. data/vendor/pygments-main/docs/src/index.txt +69 -0
  40. data/vendor/pygments-main/docs/src/installation.txt +71 -0
  41. data/vendor/pygments-main/docs/src/integrate.txt +48 -0
  42. data/vendor/pygments-main/docs/src/java.txt +70 -0
  43. data/vendor/pygments-main/docs/src/lexerdevelopment.txt +603 -0
  44. data/vendor/pygments-main/docs/src/lexers.txt +67 -0
  45. data/vendor/pygments-main/docs/src/moinmoin.txt +39 -0
  46. data/vendor/pygments-main/docs/src/plugins.txt +93 -0
  47. data/vendor/pygments-main/docs/src/quickstart.txt +202 -0
  48. data/vendor/pygments-main/docs/src/rstdirective.txt +22 -0
  49. data/vendor/pygments-main/docs/src/styles.txt +143 -0
  50. data/vendor/pygments-main/docs/src/tokens.txt +349 -0
  51. data/vendor/pygments-main/docs/src/unicode.txt +49 -0
  52. data/vendor/pygments-main/external/autopygmentize +64 -0
  53. data/vendor/pygments-main/external/lasso-builtins-generator-9.lasso +144 -0
  54. data/vendor/pygments-main/external/markdown-processor.py +67 -0
  55. data/vendor/pygments-main/external/moin-parser.py +112 -0
  56. data/vendor/pygments-main/external/pygments.bashcomp +38 -0
  57. data/vendor/pygments-main/external/rst-directive-old.py +77 -0
  58. data/vendor/pygments-main/external/rst-directive.py +83 -0
  59. data/vendor/pygments-main/ez_setup.py +276 -0
  60. data/vendor/pygments-main/pygmentize +7 -0
  61. data/vendor/pygments-main/pygments/__init__.py +91 -0
  62. data/vendor/pygments-main/pygments/cmdline.py +441 -0
  63. data/vendor/pygments-main/pygments/console.py +74 -0
  64. data/vendor/pygments-main/pygments/filter.py +74 -0
  65. data/vendor/pygments-main/pygments/filters/__init__.py +356 -0
  66. data/vendor/pygments-main/pygments/formatter.py +95 -0
  67. data/vendor/pygments-main/pygments/formatters/__init__.py +68 -0
  68. data/vendor/pygments-main/pygments/formatters/_mapping.py +92 -0
  69. data/vendor/pygments-main/pygments/formatters/bbcode.py +109 -0
  70. data/vendor/pygments-main/pygments/formatters/html.py +821 -0
  71. data/vendor/pygments-main/pygments/formatters/img.py +553 -0
  72. data/vendor/pygments-main/pygments/formatters/latex.py +378 -0
  73. data/vendor/pygments-main/pygments/formatters/other.py +115 -0
  74. data/vendor/pygments-main/pygments/formatters/rtf.py +136 -0
  75. data/vendor/pygments-main/pygments/formatters/svg.py +154 -0
  76. data/vendor/pygments-main/pygments/formatters/terminal.py +112 -0
  77. data/vendor/pygments-main/pygments/formatters/terminal256.py +222 -0
  78. data/vendor/pygments-main/pygments/lexer.py +765 -0
  79. data/vendor/pygments-main/pygments/lexers/__init__.py +240 -0
  80. data/vendor/pygments-main/pygments/lexers/_asybuiltins.py +1645 -0
  81. data/vendor/pygments-main/pygments/lexers/_clbuiltins.py +232 -0
  82. data/vendor/pygments-main/pygments/lexers/_lassobuiltins.py +5172 -0
  83. data/vendor/pygments-main/pygments/lexers/_luabuiltins.py +249 -0
  84. data/vendor/pygments-main/pygments/lexers/_mapping.py +354 -0
  85. data/vendor/pygments-main/pygments/lexers/_openedgebuiltins.py +562 -0
  86. data/vendor/pygments-main/pygments/lexers/_phpbuiltins.py +3787 -0
  87. data/vendor/pygments-main/pygments/lexers/_postgres_builtins.py +233 -0
  88. data/vendor/pygments-main/pygments/lexers/_robotframeworklexer.py +557 -0
  89. data/vendor/pygments-main/pygments/lexers/_scilab_builtins.py +40 -0
  90. data/vendor/pygments-main/pygments/lexers/_sourcemodbuiltins.py +1072 -0
  91. data/vendor/pygments-main/pygments/lexers/_stan_builtins.py +360 -0
  92. data/vendor/pygments-main/pygments/lexers/_vimbuiltins.py +13 -0
  93. data/vendor/pygments-main/pygments/lexers/agile.py +2290 -0
  94. data/vendor/pygments-main/pygments/lexers/asm.py +398 -0
  95. data/vendor/pygments-main/pygments/lexers/compiled.py +3723 -0
  96. data/vendor/pygments-main/pygments/lexers/dalvik.py +104 -0
  97. data/vendor/pygments-main/pygments/lexers/dotnet.py +671 -0
  98. data/vendor/pygments-main/pygments/lexers/foxpro.py +428 -0
  99. data/vendor/pygments-main/pygments/lexers/functional.py +2731 -0
  100. data/vendor/pygments-main/pygments/lexers/github.py +565 -0
  101. data/vendor/pygments-main/pygments/lexers/hdl.py +356 -0
  102. data/vendor/pygments-main/pygments/lexers/jvm.py +1112 -0
  103. data/vendor/pygments-main/pygments/lexers/math.py +1918 -0
  104. data/vendor/pygments-main/pygments/lexers/other.py +3778 -0
  105. data/vendor/pygments-main/pygments/lexers/parsers.py +778 -0
  106. data/vendor/pygments-main/pygments/lexers/shell.py +424 -0
  107. data/vendor/pygments-main/pygments/lexers/special.py +100 -0
  108. data/vendor/pygments-main/pygments/lexers/sql.py +559 -0
  109. data/vendor/pygments-main/pygments/lexers/templates.py +1742 -0
  110. data/vendor/pygments-main/pygments/lexers/text.py +1893 -0
  111. data/vendor/pygments-main/pygments/lexers/web.py +4045 -0
  112. data/vendor/pygments-main/pygments/modeline.py +40 -0
  113. data/vendor/pygments-main/pygments/plugin.py +74 -0
  114. data/vendor/pygments-main/pygments/scanner.py +104 -0
  115. data/vendor/pygments-main/pygments/style.py +117 -0
  116. data/vendor/pygments-main/pygments/styles/__init__.py +70 -0
  117. data/vendor/pygments-main/pygments/styles/autumn.py +65 -0
  118. data/vendor/pygments-main/pygments/styles/borland.py +51 -0
  119. data/vendor/pygments-main/pygments/styles/bw.py +49 -0
  120. data/vendor/pygments-main/pygments/styles/colorful.py +81 -0
  121. data/vendor/pygments-main/pygments/styles/default.py +73 -0
  122. data/vendor/pygments-main/pygments/styles/emacs.py +72 -0
  123. data/vendor/pygments-main/pygments/styles/friendly.py +72 -0
  124. data/vendor/pygments-main/pygments/styles/fruity.py +42 -0
  125. data/vendor/pygments-main/pygments/styles/manni.py +75 -0
  126. data/vendor/pygments-main/pygments/styles/monokai.py +106 -0
  127. data/vendor/pygments-main/pygments/styles/murphy.py +80 -0
  128. data/vendor/pygments-main/pygments/styles/native.py +65 -0
  129. data/vendor/pygments-main/pygments/styles/pastie.py +75 -0
  130. data/vendor/pygments-main/pygments/styles/perldoc.py +69 -0
  131. data/vendor/pygments-main/pygments/styles/rrt.py +33 -0
  132. data/vendor/pygments-main/pygments/styles/tango.py +141 -0
  133. data/vendor/pygments-main/pygments/styles/trac.py +63 -0
  134. data/vendor/pygments-main/pygments/styles/vim.py +63 -0
  135. data/vendor/pygments-main/pygments/styles/vs.py +38 -0
  136. data/vendor/pygments-main/pygments/token.py +195 -0
  137. data/vendor/pygments-main/pygments/unistring.py +140 -0
  138. data/vendor/pygments-main/pygments/util.py +277 -0
  139. data/vendor/pygments-main/scripts/check_sources.py +242 -0
  140. data/vendor/pygments-main/scripts/detect_missing_analyse_text.py +32 -0
  141. data/vendor/pygments-main/scripts/epydoc.css +280 -0
  142. data/vendor/pygments-main/scripts/find_codetags.py +205 -0
  143. data/vendor/pygments-main/scripts/find_error.py +170 -0
  144. data/vendor/pygments-main/scripts/get_vimkw.py +43 -0
  145. data/vendor/pygments-main/scripts/pylintrc +301 -0
  146. data/vendor/pygments-main/scripts/reindent.py +291 -0
  147. data/vendor/pygments-main/scripts/vim2pygments.py +933 -0
  148. data/vendor/pygments-main/setup.cfg +7 -0
  149. data/vendor/pygments-main/setup.py +90 -0
  150. data/vendor/pygments-main/tests/dtds/HTML4-f.dtd +37 -0
  151. data/vendor/pygments-main/tests/dtds/HTML4-s.dtd +869 -0
  152. data/vendor/pygments-main/tests/dtds/HTML4.dcl +88 -0
  153. data/vendor/pygments-main/tests/dtds/HTML4.dtd +1092 -0
  154. data/vendor/pygments-main/tests/dtds/HTML4.soc +9 -0
  155. data/vendor/pygments-main/tests/dtds/HTMLlat1.ent +195 -0
  156. data/vendor/pygments-main/tests/dtds/HTMLspec.ent +77 -0
  157. data/vendor/pygments-main/tests/dtds/HTMLsym.ent +241 -0
  158. data/vendor/pygments-main/tests/examplefiles/ANTLRv3.g +608 -0
  159. data/vendor/pygments-main/tests/examplefiles/AcidStateAdvanced.hs +209 -0
  160. data/vendor/pygments-main/tests/examplefiles/AlternatingGroup.mu +102 -0
  161. data/vendor/pygments-main/tests/examplefiles/BOM.js +1 -0
  162. data/vendor/pygments-main/tests/examplefiles/CPDictionary.j +611 -0
  163. data/vendor/pygments-main/tests/examplefiles/Config.in.cache +1973 -0
  164. data/vendor/pygments-main/tests/examplefiles/Constants.mo +158 -0
  165. data/vendor/pygments-main/tests/examplefiles/DancingSudoku.lhs +411 -0
  166. data/vendor/pygments-main/tests/examplefiles/Deflate.fs +578 -0
  167. data/vendor/pygments-main/tests/examplefiles/Errors.scala +18 -0
  168. data/vendor/pygments-main/tests/examplefiles/File.hy +174 -0
  169. data/vendor/pygments-main/tests/examplefiles/Get-CommandDefinitionHtml.ps1 +66 -0
  170. data/vendor/pygments-main/tests/examplefiles/IPDispatchC.nc +104 -0
  171. data/vendor/pygments-main/tests/examplefiles/IPDispatchP.nc +671 -0
  172. data/vendor/pygments-main/tests/examplefiles/Intro.java +1660 -0
  173. data/vendor/pygments-main/tests/examplefiles/Makefile +1131 -0
  174. data/vendor/pygments-main/tests/examplefiles/Object.st +4394 -0
  175. data/vendor/pygments-main/tests/examplefiles/OrderedMap.hx +584 -0
  176. data/vendor/pygments-main/tests/examplefiles/RoleQ.pm6 +23 -0
  177. data/vendor/pygments-main/tests/examplefiles/SmallCheck.hs +378 -0
  178. data/vendor/pygments-main/tests/examplefiles/Sorting.mod +470 -0
  179. data/vendor/pygments-main/tests/examplefiles/Sudoku.lhs +382 -0
  180. data/vendor/pygments-main/tests/examplefiles/addressbook.proto +30 -0
  181. data/vendor/pygments-main/tests/examplefiles/antlr_throws +1 -0
  182. data/vendor/pygments-main/tests/examplefiles/apache2.conf +393 -0
  183. data/vendor/pygments-main/tests/examplefiles/as3_test.as +143 -0
  184. data/vendor/pygments-main/tests/examplefiles/as3_test2.as +46 -0
  185. data/vendor/pygments-main/tests/examplefiles/as3_test3.as +3 -0
  186. data/vendor/pygments-main/tests/examplefiles/aspx-cs_example +27 -0
  187. data/vendor/pygments-main/tests/examplefiles/autoit_submit.au3 +25 -0
  188. data/vendor/pygments-main/tests/examplefiles/badcase.java +2 -0
  189. data/vendor/pygments-main/tests/examplefiles/batchfile.bat +49 -0
  190. data/vendor/pygments-main/tests/examplefiles/bigtest.nsi +308 -0
  191. data/vendor/pygments-main/tests/examplefiles/boot-9.scm +1557 -0
  192. data/vendor/pygments-main/tests/examplefiles/ca65_example +284 -0
  193. data/vendor/pygments-main/tests/examplefiles/cbmbas_example +9 -0
  194. data/vendor/pygments-main/tests/examplefiles/cells.ps +515 -0
  195. data/vendor/pygments-main/tests/examplefiles/ceval.c +2604 -0
  196. data/vendor/pygments-main/tests/examplefiles/cheetah_example.html +13 -0
  197. data/vendor/pygments-main/tests/examplefiles/classes.dylan +125 -0
  198. data/vendor/pygments-main/tests/examplefiles/condensed_ruby.rb +10 -0
  199. data/vendor/pygments-main/tests/examplefiles/coq_RelationClasses +447 -0
  200. data/vendor/pygments-main/tests/examplefiles/database.pytb +20 -0
  201. data/vendor/pygments-main/tests/examplefiles/de.MoinMoin.po +2461 -0
  202. data/vendor/pygments-main/tests/examplefiles/demo.ahk +181 -0
  203. data/vendor/pygments-main/tests/examplefiles/demo.cfm +38 -0
  204. data/vendor/pygments-main/tests/examplefiles/django_sample.html+django +68 -0
  205. data/vendor/pygments-main/tests/examplefiles/dwarf.cw +17 -0
  206. data/vendor/pygments-main/tests/examplefiles/erl_session +10 -0
  207. data/vendor/pygments-main/tests/examplefiles/escape_semicolon.clj +1 -0
  208. data/vendor/pygments-main/tests/examplefiles/evil_regex.js +48 -0
  209. data/vendor/pygments-main/tests/examplefiles/example.Rd +78 -0
  210. data/vendor/pygments-main/tests/examplefiles/example.bug +54 -0
  211. data/vendor/pygments-main/tests/examplefiles/example.c +2080 -0
  212. data/vendor/pygments-main/tests/examplefiles/example.ceylon +52 -0
  213. data/vendor/pygments-main/tests/examplefiles/example.clay +33 -0
  214. data/vendor/pygments-main/tests/examplefiles/example.cls +15 -0
  215. data/vendor/pygments-main/tests/examplefiles/example.cob +3556 -0
  216. data/vendor/pygments-main/tests/examplefiles/example.cpp +2363 -0
  217. data/vendor/pygments-main/tests/examplefiles/example.gs +106 -0
  218. data/vendor/pygments-main/tests/examplefiles/example.gst +7 -0
  219. data/vendor/pygments-main/tests/examplefiles/example.hx +142 -0
  220. data/vendor/pygments-main/tests/examplefiles/example.jag +48 -0
  221. data/vendor/pygments-main/tests/examplefiles/example.kt +47 -0
  222. data/vendor/pygments-main/tests/examplefiles/example.lagda +19 -0
  223. data/vendor/pygments-main/tests/examplefiles/example.lua +250 -0
  224. data/vendor/pygments-main/tests/examplefiles/example.monkey +152 -0
  225. data/vendor/pygments-main/tests/examplefiles/example.moo +26 -0
  226. data/vendor/pygments-main/tests/examplefiles/example.moon +629 -0
  227. data/vendor/pygments-main/tests/examplefiles/example.msc +43 -0
  228. data/vendor/pygments-main/tests/examplefiles/example.nim +1010 -0
  229. data/vendor/pygments-main/tests/examplefiles/example.ns2 +69 -0
  230. data/vendor/pygments-main/tests/examplefiles/example.p +34 -0
  231. data/vendor/pygments-main/tests/examplefiles/example.pas +2708 -0
  232. data/vendor/pygments-main/tests/examplefiles/example.prg +161 -0
  233. data/vendor/pygments-main/tests/examplefiles/example.rb +1852 -0
  234. data/vendor/pygments-main/tests/examplefiles/example.reg +19 -0
  235. data/vendor/pygments-main/tests/examplefiles/example.rexx +50 -0
  236. data/vendor/pygments-main/tests/examplefiles/example.rhtml +561 -0
  237. data/vendor/pygments-main/tests/examplefiles/example.rkt +95 -0
  238. data/vendor/pygments-main/tests/examplefiles/example.rpf +4 -0
  239. data/vendor/pygments-main/tests/examplefiles/example.sh-session +19 -0
  240. data/vendor/pygments-main/tests/examplefiles/example.shell-session +45 -0
  241. data/vendor/pygments-main/tests/examplefiles/example.sml +156 -0
  242. data/vendor/pygments-main/tests/examplefiles/example.snobol +15 -0
  243. data/vendor/pygments-main/tests/examplefiles/example.stan +108 -0
  244. data/vendor/pygments-main/tests/examplefiles/example.tea +34 -0
  245. data/vendor/pygments-main/tests/examplefiles/example.ts +28 -0
  246. data/vendor/pygments-main/tests/examplefiles/example.u +548 -0
  247. data/vendor/pygments-main/tests/examplefiles/example.weechatlog +9 -0
  248. data/vendor/pygments-main/tests/examplefiles/example.xhtml +376 -0
  249. data/vendor/pygments-main/tests/examplefiles/example.xtend +34 -0
  250. data/vendor/pygments-main/tests/examplefiles/example.yaml +302 -0
  251. data/vendor/pygments-main/tests/examplefiles/example2.aspx +29 -0
  252. data/vendor/pygments-main/tests/examplefiles/example2.msc +79 -0
  253. data/vendor/pygments-main/tests/examplefiles/example_elixir.ex +363 -0
  254. data/vendor/pygments-main/tests/examplefiles/example_file.fy +128 -0
  255. data/vendor/pygments-main/tests/examplefiles/firefox.mak +586 -0
  256. data/vendor/pygments-main/tests/examplefiles/flipflop.sv +19 -0
  257. data/vendor/pygments-main/tests/examplefiles/foo.sce +6 -0
  258. data/vendor/pygments-main/tests/examplefiles/format.ml +1213 -0
  259. data/vendor/pygments-main/tests/examplefiles/fucked_up.rb +77 -0
  260. data/vendor/pygments-main/tests/examplefiles/function.mu +1 -0
  261. data/vendor/pygments-main/tests/examplefiles/functional.rst +1472 -0
  262. data/vendor/pygments-main/tests/examplefiles/garcia-wachs.kk +133 -0
  263. data/vendor/pygments-main/tests/examplefiles/genclass.clj +510 -0
  264. data/vendor/pygments-main/tests/examplefiles/genshi_example.xml+genshi +193 -0
  265. data/vendor/pygments-main/tests/examplefiles/genshitext_example.genshitext +33 -0
  266. data/vendor/pygments-main/tests/examplefiles/glsl.frag +7 -0
  267. data/vendor/pygments-main/tests/examplefiles/glsl.vert +13 -0
  268. data/vendor/pygments-main/tests/examplefiles/grammar-test.p6 +22 -0
  269. data/vendor/pygments-main/tests/examplefiles/hello.smali +40 -0
  270. data/vendor/pygments-main/tests/examplefiles/hello.sp +9 -0
  271. data/vendor/pygments-main/tests/examplefiles/html+php_faulty.php +1 -0
  272. data/vendor/pygments-main/tests/examplefiles/http_request_example +15 -0
  273. data/vendor/pygments-main/tests/examplefiles/http_response_example +29 -0
  274. data/vendor/pygments-main/tests/examplefiles/import.hs +4 -0
  275. data/vendor/pygments-main/tests/examplefiles/inet_pton6.dg +71 -0
  276. data/vendor/pygments-main/tests/examplefiles/intro.ik +24 -0
  277. data/vendor/pygments-main/tests/examplefiles/ints.php +10 -0
  278. data/vendor/pygments-main/tests/examplefiles/intsyn.fun +675 -0
  279. data/vendor/pygments-main/tests/examplefiles/intsyn.sig +286 -0
  280. data/vendor/pygments-main/tests/examplefiles/irb_heredoc +8 -0
  281. data/vendor/pygments-main/tests/examplefiles/irc.lsp +214 -0
  282. data/vendor/pygments-main/tests/examplefiles/java.properties +16 -0
  283. data/vendor/pygments-main/tests/examplefiles/jbst_example1.jbst +28 -0
  284. data/vendor/pygments-main/tests/examplefiles/jbst_example2.jbst +45 -0
  285. data/vendor/pygments-main/tests/examplefiles/jinjadesignerdoc.rst +713 -0
  286. data/vendor/pygments-main/tests/examplefiles/json.lasso +301 -0
  287. data/vendor/pygments-main/tests/examplefiles/json.lasso9 +213 -0
  288. data/vendor/pygments-main/tests/examplefiles/lighttpd_config.conf +13 -0
  289. data/vendor/pygments-main/tests/examplefiles/linecontinuation.py +47 -0
  290. data/vendor/pygments-main/tests/examplefiles/livescript-demo.ls +41 -0
  291. data/vendor/pygments-main/tests/examplefiles/logos_example.xm +28 -0
  292. data/vendor/pygments-main/tests/examplefiles/ltmain.sh +2849 -0
  293. data/vendor/pygments-main/tests/examplefiles/main.cmake +42 -0
  294. data/vendor/pygments-main/tests/examplefiles/markdown.lsp +679 -0
  295. data/vendor/pygments-main/tests/examplefiles/matlab_noreturn +3 -0
  296. data/vendor/pygments-main/tests/examplefiles/matlab_sample +30 -0
  297. data/vendor/pygments-main/tests/examplefiles/matlabsession_sample.txt +37 -0
  298. data/vendor/pygments-main/tests/examplefiles/metagrammar.treetop +455 -0
  299. data/vendor/pygments-main/tests/examplefiles/mg_sample.pro +73 -0
  300. data/vendor/pygments-main/tests/examplefiles/minehunt.qml +112 -0
  301. data/vendor/pygments-main/tests/examplefiles/minimal.ns2 +4 -0
  302. data/vendor/pygments-main/tests/examplefiles/moin_SyntaxReference.txt +340 -0
  303. data/vendor/pygments-main/tests/examplefiles/multiline_regexes.rb +38 -0
  304. data/vendor/pygments-main/tests/examplefiles/nanomsg.intr +95 -0
  305. data/vendor/pygments-main/tests/examplefiles/nasm_aoutso.asm +96 -0
  306. data/vendor/pygments-main/tests/examplefiles/nasm_objexe.asm +30 -0
  307. data/vendor/pygments-main/tests/examplefiles/nemerle_sample.n +87 -0
  308. data/vendor/pygments-main/tests/examplefiles/nginx_nginx.conf +118 -0
  309. data/vendor/pygments-main/tests/examplefiles/numbers.c +12 -0
  310. data/vendor/pygments-main/tests/examplefiles/objc_example.m +32 -0
  311. data/vendor/pygments-main/tests/examplefiles/objc_example2.m +24 -0
  312. data/vendor/pygments-main/tests/examplefiles/perl_misc +62 -0
  313. data/vendor/pygments-main/tests/examplefiles/perl_perl5db +998 -0
  314. data/vendor/pygments-main/tests/examplefiles/perl_regex-delims +120 -0
  315. data/vendor/pygments-main/tests/examplefiles/perlfunc.1 +856 -0
  316. data/vendor/pygments-main/tests/examplefiles/phpMyAdmin.spec +163 -0
  317. data/vendor/pygments-main/tests/examplefiles/phpcomplete.vim +567 -0
  318. data/vendor/pygments-main/tests/examplefiles/pleac.in.rb +1223 -0
  319. data/vendor/pygments-main/tests/examplefiles/postgresql_test.txt +47 -0
  320. data/vendor/pygments-main/tests/examplefiles/pppoe.applescript +10 -0
  321. data/vendor/pygments-main/tests/examplefiles/psql_session.txt +122 -0
  322. data/vendor/pygments-main/tests/examplefiles/py3_test.txt +2 -0
  323. data/vendor/pygments-main/tests/examplefiles/py3tb_test.py3tb +4 -0
  324. data/vendor/pygments-main/tests/examplefiles/pycon_test.pycon +14 -0
  325. data/vendor/pygments-main/tests/examplefiles/pytb_test2.pytb +2 -0
  326. data/vendor/pygments-main/tests/examplefiles/pytb_test3.pytb +4 -0
  327. data/vendor/pygments-main/tests/examplefiles/python25-bsd.mak +234 -0
  328. data/vendor/pygments-main/tests/examplefiles/qsort.prolog +13 -0
  329. data/vendor/pygments-main/tests/examplefiles/r-console-transcript.Rout +38 -0
  330. data/vendor/pygments-main/tests/examplefiles/ragel-cpp_rlscan +280 -0
  331. data/vendor/pygments-main/tests/examplefiles/ragel-cpp_snippet +2 -0
  332. data/vendor/pygments-main/tests/examplefiles/regex.js +22 -0
  333. data/vendor/pygments-main/tests/examplefiles/reversi.lsp +427 -0
  334. data/vendor/pygments-main/tests/examplefiles/robotframework.txt +39 -0
  335. data/vendor/pygments-main/tests/examplefiles/ruby_func_def.rb +11 -0
  336. data/vendor/pygments-main/tests/examplefiles/rust_example.rs +233 -0
  337. data/vendor/pygments-main/tests/examplefiles/scilab.sci +30 -0
  338. data/vendor/pygments-main/tests/examplefiles/session.dylan-console +9 -0
  339. data/vendor/pygments-main/tests/examplefiles/sibling.prolog +19 -0
  340. data/vendor/pygments-main/tests/examplefiles/simple.md +747 -0
  341. data/vendor/pygments-main/tests/examplefiles/smarty_example.html +209 -0
  342. data/vendor/pygments-main/tests/examplefiles/source.lgt +343 -0
  343. data/vendor/pygments-main/tests/examplefiles/sources.list +62 -0
  344. data/vendor/pygments-main/tests/examplefiles/sphere.pov +18 -0
  345. data/vendor/pygments-main/tests/examplefiles/sqlite3.sqlite3-console +27 -0
  346. data/vendor/pygments-main/tests/examplefiles/squid.conf +30 -0
  347. data/vendor/pygments-main/tests/examplefiles/string.jl +1031 -0
  348. data/vendor/pygments-main/tests/examplefiles/string_delimiters.d +21 -0
  349. data/vendor/pygments-main/tests/examplefiles/stripheredoc.sh +3 -0
  350. data/vendor/pygments-main/tests/examplefiles/swig_java.swg +1329 -0
  351. data/vendor/pygments-main/tests/examplefiles/swig_std_vector.i +225 -0
  352. data/vendor/pygments-main/tests/examplefiles/test.R +153 -0
  353. data/vendor/pygments-main/tests/examplefiles/test.adb +211 -0
  354. data/vendor/pygments-main/tests/examplefiles/test.agda +102 -0
  355. data/vendor/pygments-main/tests/examplefiles/test.asy +131 -0
  356. data/vendor/pygments-main/tests/examplefiles/test.awk +121 -0
  357. data/vendor/pygments-main/tests/examplefiles/test.bas +29 -0
  358. data/vendor/pygments-main/tests/examplefiles/test.bb +95 -0
  359. data/vendor/pygments-main/tests/examplefiles/test.bmx +145 -0
  360. data/vendor/pygments-main/tests/examplefiles/test.boo +39 -0
  361. data/vendor/pygments-main/tests/examplefiles/test.bro +250 -0
  362. data/vendor/pygments-main/tests/examplefiles/test.cs +374 -0
  363. data/vendor/pygments-main/tests/examplefiles/test.css +54 -0
  364. data/vendor/pygments-main/tests/examplefiles/test.cu +36 -0
  365. data/vendor/pygments-main/tests/examplefiles/test.d +135 -0
  366. data/vendor/pygments-main/tests/examplefiles/test.dart +23 -0
  367. data/vendor/pygments-main/tests/examplefiles/test.dtd +89 -0
  368. data/vendor/pygments-main/tests/examplefiles/test.ebnf +31 -0
  369. data/vendor/pygments-main/tests/examplefiles/test.ec +605 -0
  370. data/vendor/pygments-main/tests/examplefiles/test.ecl +58 -0
  371. data/vendor/pygments-main/tests/examplefiles/test.eh +315 -0
  372. data/vendor/pygments-main/tests/examplefiles/test.erl +169 -0
  373. data/vendor/pygments-main/tests/examplefiles/test.evoque +33 -0
  374. data/vendor/pygments-main/tests/examplefiles/test.fan +818 -0
  375. data/vendor/pygments-main/tests/examplefiles/test.flx +57 -0
  376. data/vendor/pygments-main/tests/examplefiles/test.gdc +13 -0
  377. data/vendor/pygments-main/tests/examplefiles/test.groovy +97 -0
  378. data/vendor/pygments-main/tests/examplefiles/test.html +339 -0
  379. data/vendor/pygments-main/tests/examplefiles/test.ini +10 -0
  380. data/vendor/pygments-main/tests/examplefiles/test.java +653 -0
  381. data/vendor/pygments-main/tests/examplefiles/test.jsp +24 -0
  382. data/vendor/pygments-main/tests/examplefiles/test.maql +45 -0
  383. data/vendor/pygments-main/tests/examplefiles/test.mod +374 -0
  384. data/vendor/pygments-main/tests/examplefiles/test.moo +51 -0
  385. data/vendor/pygments-main/tests/examplefiles/test.myt +166 -0
  386. data/vendor/pygments-main/tests/examplefiles/test.nim +93 -0
  387. data/vendor/pygments-main/tests/examplefiles/test.opa +10 -0
  388. data/vendor/pygments-main/tests/examplefiles/test.p6 +252 -0
  389. data/vendor/pygments-main/tests/examplefiles/test.pas +743 -0
  390. data/vendor/pygments-main/tests/examplefiles/test.php +505 -0
  391. data/vendor/pygments-main/tests/examplefiles/test.plot +333 -0
  392. data/vendor/pygments-main/tests/examplefiles/test.ps1 +108 -0
  393. data/vendor/pygments-main/tests/examplefiles/test.pypylog +1839 -0
  394. data/vendor/pygments-main/tests/examplefiles/test.r3 +94 -0
  395. data/vendor/pygments-main/tests/examplefiles/test.rb +177 -0
  396. data/vendor/pygments-main/tests/examplefiles/test.rhtml +43 -0
  397. data/vendor/pygments-main/tests/examplefiles/test.scaml +8 -0
  398. data/vendor/pygments-main/tests/examplefiles/test.ssp +12 -0
  399. data/vendor/pygments-main/tests/examplefiles/test.tcsh +830 -0
  400. data/vendor/pygments-main/tests/examplefiles/test.vb +407 -0
  401. data/vendor/pygments-main/tests/examplefiles/test.vhdl +161 -0
  402. data/vendor/pygments-main/tests/examplefiles/test.xqy +138 -0
  403. data/vendor/pygments-main/tests/examplefiles/test.xsl +23 -0
  404. data/vendor/pygments-main/tests/examplefiles/test2.pypylog +120 -0
  405. data/vendor/pygments-main/tests/examplefiles/truncated.pytb +15 -0
  406. data/vendor/pygments-main/tests/examplefiles/type.lisp +1218 -0
  407. data/vendor/pygments-main/tests/examplefiles/underscore.coffee +603 -0
  408. data/vendor/pygments-main/tests/examplefiles/unicode.applescript +5 -0
  409. data/vendor/pygments-main/tests/examplefiles/unicodedoc.py +11 -0
  410. data/vendor/pygments-main/tests/examplefiles/unix-io.lid +37 -0
  411. data/vendor/pygments-main/tests/examplefiles/webkit-transition.css +3 -0
  412. data/vendor/pygments-main/tests/examplefiles/while.pov +13 -0
  413. data/vendor/pygments-main/tests/examplefiles/wiki.factor +384 -0
  414. data/vendor/pygments-main/tests/examplefiles/xml_example +1897 -0
  415. data/vendor/pygments-main/tests/examplefiles/zmlrpc.f90 +798 -0
  416. data/vendor/pygments-main/tests/old_run.py +138 -0
  417. data/vendor/pygments-main/tests/run.py +49 -0
  418. data/vendor/pygments-main/tests/support.py +15 -0
  419. data/vendor/pygments-main/tests/support/tags +36 -0
  420. data/vendor/pygments-main/tests/test_basic_api.py +295 -0
  421. data/vendor/pygments-main/tests/test_clexer.py +31 -0
  422. data/vendor/pygments-main/tests/test_cmdline.py +105 -0
  423. data/vendor/pygments-main/tests/test_examplefiles.py +99 -0
  424. data/vendor/pygments-main/tests/test_html_formatter.py +178 -0
  425. data/vendor/pygments-main/tests/test_latex_formatter.py +55 -0
  426. data/vendor/pygments-main/tests/test_lexers_other.py +68 -0
  427. data/vendor/pygments-main/tests/test_perllexer.py +137 -0
  428. data/vendor/pygments-main/tests/test_regexlexer.py +47 -0
  429. data/vendor/pygments-main/tests/test_token.py +46 -0
  430. data/vendor/pygments-main/tests/test_using_api.py +40 -0
  431. data/vendor/pygments-main/tests/test_util.py +135 -0
  432. data/vendor/simplejson/.gitignore +10 -0
  433. data/vendor/simplejson/.travis.yml +5 -0
  434. data/vendor/simplejson/CHANGES.txt +291 -0
  435. data/vendor/simplejson/LICENSE.txt +19 -0
  436. data/vendor/simplejson/MANIFEST.in +5 -0
  437. data/vendor/simplejson/README.rst +19 -0
  438. data/vendor/simplejson/conf.py +179 -0
  439. data/vendor/simplejson/index.rst +628 -0
  440. data/vendor/simplejson/scripts/make_docs.py +18 -0
  441. data/vendor/simplejson/setup.py +104 -0
  442. data/vendor/simplejson/simplejson/__init__.py +510 -0
  443. data/vendor/simplejson/simplejson/_speedups.c +2745 -0
  444. data/vendor/simplejson/simplejson/decoder.py +425 -0
  445. data/vendor/simplejson/simplejson/encoder.py +567 -0
  446. data/vendor/simplejson/simplejson/ordered_dict.py +119 -0
  447. data/vendor/simplejson/simplejson/scanner.py +77 -0
  448. data/vendor/simplejson/simplejson/tests/__init__.py +67 -0
  449. data/vendor/simplejson/simplejson/tests/test_bigint_as_string.py +55 -0
  450. data/vendor/simplejson/simplejson/tests/test_check_circular.py +30 -0
  451. data/vendor/simplejson/simplejson/tests/test_decimal.py +66 -0
  452. data/vendor/simplejson/simplejson/tests/test_decode.py +83 -0
  453. data/vendor/simplejson/simplejson/tests/test_default.py +9 -0
  454. data/vendor/simplejson/simplejson/tests/test_dump.py +67 -0
  455. data/vendor/simplejson/simplejson/tests/test_encode_basestring_ascii.py +46 -0
  456. data/vendor/simplejson/simplejson/tests/test_encode_for_html.py +32 -0
  457. data/vendor/simplejson/simplejson/tests/test_errors.py +34 -0
  458. data/vendor/simplejson/simplejson/tests/test_fail.py +91 -0
  459. data/vendor/simplejson/simplejson/tests/test_float.py +19 -0
  460. data/vendor/simplejson/simplejson/tests/test_indent.py +86 -0
  461. data/vendor/simplejson/simplejson/tests/test_item_sort_key.py +20 -0
  462. data/vendor/simplejson/simplejson/tests/test_namedtuple.py +121 -0
  463. data/vendor/simplejson/simplejson/tests/test_pass1.py +76 -0
  464. data/vendor/simplejson/simplejson/tests/test_pass2.py +14 -0
  465. data/vendor/simplejson/simplejson/tests/test_pass3.py +20 -0
  466. data/vendor/simplejson/simplejson/tests/test_recursion.py +67 -0
  467. data/vendor/simplejson/simplejson/tests/test_scanstring.py +117 -0
  468. data/vendor/simplejson/simplejson/tests/test_separators.py +42 -0
  469. data/vendor/simplejson/simplejson/tests/test_speedups.py +20 -0
  470. data/vendor/simplejson/simplejson/tests/test_tuple.py +49 -0
  471. data/vendor/simplejson/simplejson/tests/test_unicode.py +109 -0
  472. data/vendor/simplejson/simplejson/tool.py +39 -0
  473. metadata +557 -0
@@ -0,0 +1,153 @@
1
+ Pygments is written and maintained by Georg Brandl <georg@python.org>.
2
+
3
+ Major developers are Tim Hatch <tim@timhatch.com> and Armin Ronacher
4
+ <armin.ronacher@active-4.com>.
5
+
6
+ Other contributors, listed alphabetically, are:
7
+
8
+ * Sam Aaron -- Ioke lexer
9
+ * Ali Afshar -- image formatter
10
+ * Thomas Aglassinger -- Rexx lexer
11
+ * Kumar Appaiah -- Debian control lexer
12
+ * Andreas Amann -- AppleScript lexer
13
+ * Timothy Armstrong -- Dart lexer fixes
14
+ * Jeffrey Arnold -- R/S, Rd, BUGS, Jags, and Stan lexers
15
+ * Jeremy Ashkenas -- CoffeeScript lexer
16
+ * Stefan Matthias Aust -- Smalltalk lexer
17
+ * Ben Bangert -- Mako lexers
18
+ * Max Battcher -- Darcs patch lexer
19
+ * Tim Baumann -- (Literate) Agda lexer
20
+ * Paul Baumgart, 280 North, Inc. -- Objective-J lexer
21
+ * Michael Bayer -- Myghty lexers
22
+ * John Benediktsson -- Factor lexer
23
+ * Christopher Bertels -- Fancy lexer
24
+ * Jarrett Billingsley -- MiniD lexer
25
+ * Adam Blinkinsop -- Haskell, Redcode lexers
26
+ * Frits van Bommel -- assembler lexers
27
+ * Pierre Bourdon -- bugfixes
28
+ * Hiram Chirino -- Scaml and Jade lexers
29
+ * Ian Cooper -- VGL lexer
30
+ * Leaf Corcoran -- MoonScript lexer
31
+ * Christian Jann -- ShellSession lexer
32
+ * Christopher Creutzig -- MuPAD lexer
33
+ * Pete Curry -- bugfixes
34
+ * Bryan Davis -- EBNF lexer
35
+ * Owen Durni -- Haxe lexer
36
+ * Nick Efford -- Python 3 lexer
37
+ * Sven Efftinge -- Xtend lexer
38
+ * Artem Egorkine -- terminal256 formatter
39
+ * James H. Fisher -- PostScript lexer
40
+ * William S. Fulton -- SWIG lexer
41
+ * Carlos Galdino -- Elixir and Elixir Console lexers
42
+ * Michael Galloy -- IDL lexer
43
+ * Naveen Garg -- Autohotkey lexer
44
+ * Laurent Gautier -- R/S lexer
45
+ * Alex Gaynor -- PyPy log lexer
46
+ * Richard Gerkin -- Igor Pro lexer
47
+ * Alain Gilbert -- TypeScript lexer
48
+ * Alex Gilding -- BlitzBasic lexer
49
+ * Bertrand Goetzmann -- Groovy lexer
50
+ * Krzysiek Goj -- Scala lexer
51
+ * Matt Good -- Genshi, Cheetah lexers
52
+ * Michał Górny -- vim modeline support
53
+ * Patrick Gotthardt -- PHP namespaces support
54
+ * Olivier Guibe -- Asymptote lexer
55
+ * Jordi Gutiérrez Hermoso -- Octave lexer
56
+ * Martin Harriman -- SNOBOL lexer
57
+ * Matthew Harrison -- SVG formatter
58
+ * Steven Hazel -- Tcl lexer
59
+ * Aslak Hellesøy -- Gherkin lexer
60
+ * Greg Hendershott -- Racket lexer
61
+ * David Hess, Fish Software, Inc. -- Objective-J lexer
62
+ * Varun Hiremath -- Debian control lexer
63
+ * Rob Hoelz -- Perl 6 lexer
64
+ * Doug Hogan -- Mscgen lexer
65
+ * Ben Hollis -- Mason lexer
66
+ * Dustin Howett -- Logos lexer
67
+ * Alastair Houghton -- Lexer inheritance facility
68
+ * Tim Howard -- BlitzMax lexer
69
+ * Ivan Inozemtsev -- Fantom lexer
70
+ * Brian R. Jackson -- Tea lexer
71
+ * Dennis Kaarsemaker -- sources.list lexer
72
+ * Igor Kalnitsky -- vhdl lexer
73
+ * Pekka Klärck -- Robot Framework lexer
74
+ * Eric Knibbe -- Lasso lexer
75
+ * Stepan Koltsov -- Clay lexer
76
+ * Adam Koprowski -- Opa lexer
77
+ * Benjamin Kowarsch -- Modula-2 lexer
78
+ * Alexander Kriegisch -- Kconfig and AspectJ lexers
79
+ * Marek Kubica -- Scheme lexer
80
+ * Jochen Kupperschmidt -- Markdown processor
81
+ * Gerd Kurzbach -- Modelica lexer
82
+ * Jon Larimer, Google Inc. -- Smali lexer
83
+ * Olov Lassus -- Dart lexer
84
+ * Sylvestre Ledru -- Scilab lexer
85
+ * Mark Lee -- Vala lexer
86
+ * Ben Mabey -- Gherkin lexer
87
+ * Angus MacArthur -- QML lexer
88
+ * Simone Margaritelli -- Hybris lexer
89
+ * Kirk McDonald -- D lexer
90
+ * Gordon McGregor -- SystemVerilog lexer
91
+ * Stephen McKamey -- Duel/JBST lexer
92
+ * Brian McKenna -- F# lexer
93
+ * Charles McLaughlin -- Puppet lexer
94
+ * Lukas Meuser -- BBCode formatter, Lua lexer
95
+ * Paul Miller -- LiveScript lexer
96
+ * Hong Minhee -- HTTP lexer
97
+ * Michael Mior -- Awk lexer
98
+ * Bruce Mitchener -- Dylan lexer rewrite
99
+ * Reuben Morais -- SourcePawn lexer
100
+ * Jon Morton -- Rust lexer
101
+ * Paulo Moura -- Logtalk lexer
102
+ * Mher Movsisyan -- DTD lexer
103
+ * Ana Nelson -- Ragel, ANTLR, R console lexers
104
+ * Nam T. Nguyen -- Monokai style
105
+ * Jesper Noehr -- HTML formatter "anchorlinenos"
106
+ * Mike Nolta -- Julia lexer
107
+ * Jonas Obrist -- BBCode lexer
108
+ * David Oliva -- Rebol lexer
109
+ * Pat Pannuto -- nesC lexer
110
+ * Jon Parise -- Protocol buffers lexer
111
+ * Ronny Pfannschmidt -- BBCode lexer
112
+ * Benjamin Peterson -- Test suite refactoring
113
+ * Dominik Picheta -- Nimrod lexer
114
+ * Clément Prévost -- UrbiScript lexer
115
+ * Kashif Rasul -- CUDA lexer
116
+ * Justin Reidy -- MXML lexer
117
+ * Norman Richards -- JSON lexer
118
+ * Lubomir Rintel -- GoodData MAQL and CL lexers
119
+ * Andre Roberge -- Tango style
120
+ * Konrad Rudolph -- LaTeX formatter enhancements
121
+ * Mario Ruggier -- Evoque lexers
122
+ * Stou Sandalski -- NumPy, FORTRAN, tcsh and XSLT lexers
123
+ * Matteo Sasso -- Common Lisp lexer
124
+ * Joe Schafer -- Ada lexer
125
+ * Ken Schutte -- Matlab lexers
126
+ * Tassilo Schweyer -- Io, MOOCode lexers
127
+ * Ted Shaw -- AutoIt lexer
128
+ * Joerg Sieker -- ABAP lexer
129
+ * Robert Simmons -- Standard ML lexer
130
+ * Kirill Simonov -- YAML lexer
131
+ * Alexander Smishlajev -- Visual FoxPro lexer
132
+ * Steve Spigarelli -- XQuery lexer
133
+ * Jerome St-Louis -- eC lexer
134
+ * James Strachan -- Kotlin lexer
135
+ * Tom Stuart -- Treetop lexer
136
+ * Tiberius Teng -- default style overhaul
137
+ * Jeremy Thurgood -- Erlang, Squid config lexers
138
+ * Brian Tiffin -- OpenCOBOL lexer
139
+ * Erick Tryzelaar -- Felix lexer
140
+ * Daniele Varrazzo -- PostgreSQL lexers
141
+ * Abe Voelker -- OpenEdge ABL lexer
142
+ * Pepijn de Vos -- HTML formatter CTags support
143
+ * Whitney Young -- ObjectiveC lexer
144
+ * Matthias Vallentin -- Bro lexer
145
+ * Nathan Weizenbaum -- Haml and Sass lexers
146
+ * Dietmar Winkler -- Modelica lexer
147
+ * Nils Winter -- Smalltalk lexer
148
+ * Davy Wybiral -- Clojure lexer
149
+ * Diego Zamboni -- CFengine3 lexer
150
+ * Enrique Zamudio -- Ceylon lexer
151
+ * Alex Zimin -- Nemerle lexer
152
+
153
+ Many thanks for all contributions!
@@ -0,0 +1,889 @@
1
+ Pygments changelog
2
+ ==================
3
+
4
+ Issue numbers refer to the tracker at
5
+ <http://bitbucket.org/birkenfeld/pygments-main/issues>,
6
+ pull request numbers to the requests at
7
+ <http://bitbucket.org/birkenfeld/pygments-main/pull-requests/merged>.
8
+
9
+ Version 1.7
10
+ -----------
11
+ (under development)
12
+
13
+ - Lexers added:
14
+
15
+ * Clay (PR#184)
16
+ * Perl 6 (PR#181)
17
+ * Swig (PR#168)
18
+ * nesC (PR#166)
19
+ * BlitzBasic (PR#197)
20
+ * EBNF (PR#193)
21
+ * Igor Pro (PR#172)
22
+ * Rexx (PR#199)
23
+ * Agda and Literate Agda (PR#203)
24
+
25
+ - Pygments will now recognize "vim" modelines when guessing the lexer for
26
+ a file based on content (PR#118).
27
+
28
+ - The NameHighlightFilter now works with any Name.* token type (#790).
29
+
30
+ - Python 3 lexer: add new exceptions from PEP 3151.
31
+
32
+ - Opa lexer: add new keywords (PR#170).
33
+
34
+ - Julia lexer: add keywords and underscore-separated number
35
+ literals (PR#176).
36
+
37
+ - Lasso lexer: fix method highlighting, update builtins. Fix
38
+ guessing so that plain XML isn't always taken as Lasso (PR#163).
39
+
40
+ - Objective C/C++ lexers: allow "@" prefixing any expression (#871).
41
+
42
+ - Ruby lexer: fix lexing of Name::Space tokens (#860).
43
+
44
+ - Stan lexer: update for version 1.3.0 of the language (PR#162).
45
+
46
+ - JavaScript lexer: add the "yield" keyword (PR#196).
47
+
48
+ - HTTP lexer: support for PATCH method (PR#190).
49
+
50
+ - Koka lexer: update to newest language spec (PR#201).
51
+
52
+ - Haxe lexer: rewrite and support for Haxe 3 (PR#174).
53
+
54
+ - Prolog lexer: add different kinds of numeric literals (#864).
55
+
56
+ - F# lexer: rewrite with newest spec for F# 3.0 (#842).
57
+
58
+
59
+ Version 1.6
60
+ -----------
61
+ (released Feb 3, 2013)
62
+
63
+ - Lexers added:
64
+
65
+ * Dylan console (PR#149)
66
+ * Logos (PR#150)
67
+ * Shell sessions (PR#158)
68
+
69
+ - Fix guessed lexers not receiving lexer options (#838).
70
+
71
+ - Fix unquoted HTML attribute lexing in Opa (#841).
72
+
73
+ - Fixes to the Dart lexer (PR#160).
74
+
75
+
76
+ Version 1.6rc1
77
+ --------------
78
+ (released Jan 9, 2013)
79
+
80
+ - Lexers added:
81
+
82
+ * AspectJ (PR#90)
83
+ * AutoIt (PR#122)
84
+ * BUGS-like languages (PR#89)
85
+ * Ceylon (PR#86)
86
+ * Croc (new name for MiniD)
87
+ * CUDA (PR#75)
88
+ * Dg (PR#116)
89
+ * IDL (PR#115)
90
+ * Jags (PR#89)
91
+ * Julia (PR#61)
92
+ * Kconfig (#711)
93
+ * Lasso (PR#95, PR#113)
94
+ * LiveScript (PR#84)
95
+ * Monkey (PR#117)
96
+ * Mscgen (PR#80)
97
+ * NSIS scripts (PR#136)
98
+ * OpenCOBOL (PR#72)
99
+ * QML (PR#123)
100
+ * Puppet (PR#133)
101
+ * Racket (PR#94)
102
+ * Rdoc (PR#99)
103
+ * Robot Framework (PR#137)
104
+ * RPM spec files (PR#124)
105
+ * Rust (PR#67)
106
+ * Smali (Dalvik assembly)
107
+ * SourcePawn (PR#39)
108
+ * Stan (PR#89)
109
+ * Treetop (PR#125)
110
+ * TypeScript (PR#114)
111
+ * VGL (PR#12)
112
+ * Visual FoxPro (#762)
113
+ * Windows Registry (#819)
114
+ * Xtend (PR#68)
115
+
116
+ - The HTML formatter now supports linking to tags using CTags files, when the
117
+ python-ctags package is installed (PR#87).
118
+
119
+ - The HTML formatter now has a "linespans" option that wraps every line in a
120
+ <span> tag with a specific id (PR#82).
121
+
122
+ - When deriving a lexer from another lexer with token definitions, definitions
123
+ for states not in the child lexer are now inherited. If you override a state
124
+ in the child lexer, an "inherit" keyword has been added to insert the base
125
+ state at that position (PR#141).
126
+
127
+ - The C family lexers now inherit token definitions from a common base class,
128
+ removing code duplication (PR#141).
129
+
130
+ - Use "colorama" on Windows for console color output (PR#142).
131
+
132
+ - Fix Template Haskell highlighting (PR#63).
133
+
134
+ - Fix some S/R lexer errors (PR#91).
135
+
136
+ - Fix a bug in the Prolog lexer with names that start with 'is' (#810).
137
+
138
+ - Rewrite Dylan lexer, add Dylan LID lexer (PR#147).
139
+
140
+ - Add a Java quickstart document (PR#146).
141
+
142
+ - Add a "external/autopygmentize" file that can be used as .lessfilter (#802).
143
+
144
+
145
+ Version 1.5
146
+ -----------
147
+ (codename Zeitdilatation, released Mar 10, 2012)
148
+
149
+ - Lexers added:
150
+
151
+ * Awk (#630)
152
+ * Fancy (#633)
153
+ * PyPy Log
154
+ * eC
155
+ * Nimrod
156
+ * Nemerle (#667)
157
+ * F# (#353)
158
+ * Groovy (#501)
159
+ * PostgreSQL (#660)
160
+ * DTD
161
+ * Gosu (#634)
162
+ * Octave (PR#22)
163
+ * Standard ML (PR#14)
164
+ * CFengine3 (#601)
165
+ * Opa (PR#37)
166
+ * HTTP sessions (PR#42)
167
+ * JSON (PR#31)
168
+ * SNOBOL (PR#30)
169
+ * MoonScript (PR#43)
170
+ * ECL (PR#29)
171
+ * Urbiscript (PR#17)
172
+ * OpenEdge ABL (PR#27)
173
+ * SystemVerilog (PR#35)
174
+ * Coq (#734)
175
+ * PowerShell (#654)
176
+ * Dart (#715)
177
+ * Fantom (PR#36)
178
+ * Bro (PR#5)
179
+ * NewLISP (PR#26)
180
+ * VHDL (PR#45)
181
+ * Scilab (#740)
182
+ * Elixir (PR#57)
183
+ * Tea (PR#56)
184
+ * Kotlin (PR#58)
185
+
186
+ - Fix Python 3 terminal highlighting with pygmentize (#691).
187
+
188
+ - In the LaTeX formatter, escape special &, < and > chars (#648).
189
+
190
+ - In the LaTeX formatter, fix display problems for styles with token
191
+ background colors (#670).
192
+
193
+ - Enhancements to the Squid conf lexer (#664).
194
+
195
+ - Several fixes to the reStructuredText lexer (#636).
196
+
197
+ - Recognize methods in the ObjC lexer (#638).
198
+
199
+ - Fix Lua "class" highlighting: it does not have classes (#665).
200
+
201
+ - Fix degenerate regex in Scala lexer (#671) and highlighting bugs (#713, 708).
202
+
203
+ - Fix number pattern order in Ocaml lexer (#647).
204
+
205
+ - Fix generic type highlighting in ActionScript 3 (#666).
206
+
207
+ - Fixes to the Clojure lexer (PR#9).
208
+
209
+ - Fix degenerate regex in Nemerle lexer (#706).
210
+
211
+ - Fix infinite looping in CoffeeScript lexer (#729).
212
+
213
+ - Fix crashes and analysis with ObjectiveC lexer (#693, #696).
214
+
215
+ - Add some Fortran 2003 keywords.
216
+
217
+ - Fix Boo string regexes (#679).
218
+
219
+ - Add "rrt" style (#727).
220
+
221
+ - Fix infinite looping in Darcs Patch lexer.
222
+
223
+ - Lots of misc fixes to character-eating bugs and ordering problems in many
224
+ different lexers.
225
+
226
+
227
+ Version 1.4
228
+ -----------
229
+ (codename Unschärfe, released Jan 03, 2011)
230
+
231
+ - Lexers added:
232
+
233
+ * Factor (#520)
234
+ * PostScript (#486)
235
+ * Verilog (#491)
236
+ * BlitzMax Basic (#478)
237
+ * Ioke (#465)
238
+ * Java properties, split out of the INI lexer (#445)
239
+ * Scss (#509)
240
+ * Duel/JBST
241
+ * XQuery (#617)
242
+ * Mason (#615)
243
+ * GoodData (#609)
244
+ * SSP (#473)
245
+ * Autohotkey (#417)
246
+ * Google Protocol Buffers
247
+ * Hybris (#506)
248
+
249
+ - Do not fail in analyse_text methods (#618).
250
+
251
+ - Performance improvements in the HTML formatter (#523).
252
+
253
+ - With the ``noclasses`` option in the HTML formatter, some styles
254
+ present in the stylesheet were not added as inline styles.
255
+
256
+ - Four fixes to the Lua lexer (#480, #481, #482, #497).
257
+
258
+ - More context-sensitive Gherkin lexer with support for more i18n translations.
259
+
260
+ - Support new OO keywords in Matlab lexer (#521).
261
+
262
+ - Small fix in the CoffeeScript lexer (#519).
263
+
264
+ - A bugfix for backslashes in ocaml strings (#499).
265
+
266
+ - Fix unicode/raw docstrings in the Python lexer (#489).
267
+
268
+ - Allow PIL to work without PIL.pth (#502).
269
+
270
+ - Allow seconds as a unit in CSS (#496).
271
+
272
+ - Support ``application/javascript`` as a JavaScript mime type (#504).
273
+
274
+ - Support `Offload <http://offload.codeplay.com>`_ C++ Extensions as
275
+ keywords in the C++ lexer (#484).
276
+
277
+ - Escape more characters in LaTeX output (#505).
278
+
279
+ - Update Haml/Sass lexers to version 3 (#509).
280
+
281
+ - Small PHP lexer string escaping fix (#515).
282
+
283
+ - Support comments before preprocessor directives, and unsigned/
284
+ long long literals in C/C++ (#613, #616).
285
+
286
+ - Support line continuations in the INI lexer (#494).
287
+
288
+ - Fix lexing of Dylan string and char literals (#628).
289
+
290
+ - Fix class/procedure name highlighting in VB.NET lexer (#624).
291
+
292
+
293
+ Version 1.3.1
294
+ -------------
295
+ (bugfix release, released Mar 05, 2010)
296
+
297
+ - The ``pygmentize`` script was missing from the distribution.
298
+
299
+
300
+ Version 1.3
301
+ -----------
302
+ (codename Schneeglöckchen, released Mar 01, 2010)
303
+
304
+ - Added the ``ensurenl`` lexer option, which can be used to suppress the
305
+ automatic addition of a newline to the lexer input.
306
+
307
+ - Lexers added:
308
+
309
+ * Ada
310
+ * Coldfusion
311
+ * Modula-2
312
+ * Haxe
313
+ * R console
314
+ * Objective-J
315
+ * Haml and Sass
316
+ * CoffeeScript
317
+
318
+ - Enhanced reStructuredText highlighting.
319
+
320
+ - Added support for PHP 5.3 namespaces in the PHP lexer.
321
+
322
+ - Added a bash completion script for `pygmentize`, to the external/
323
+ directory (#466).
324
+
325
+ - Fixed a bug in `do_insertions()` used for multi-lexer languages.
326
+
327
+ - Fixed a Ruby regex highlighting bug (#476).
328
+
329
+ - Fixed regex highlighting bugs in Perl lexer (#258).
330
+
331
+ - Add small enhancements to the C lexer (#467) and Bash lexer (#469).
332
+
333
+ - Small fixes for the Tcl, Debian control file, Nginx config,
334
+ Smalltalk, Objective-C, Clojure, Lua lexers.
335
+
336
+ - Gherkin lexer: Fixed single apostrophe bug and added new i18n keywords.
337
+
338
+
339
+ Version 1.2.2
340
+ -------------
341
+ (bugfix release, released Jan 02, 2010)
342
+
343
+ * Removed a backwards incompatibility in the LaTeX formatter that caused
344
+ Sphinx to produce invalid commands when writing LaTeX output (#463).
345
+
346
+ * Fixed a forever-backtracking regex in the BashLexer (#462).
347
+
348
+
349
+ Version 1.2.1
350
+ -------------
351
+ (bugfix release, released Jan 02, 2010)
352
+
353
+ * Fixed mishandling of an ellipsis in place of the frames in a Python
354
+ console traceback, resulting in clobbered output.
355
+
356
+
357
+ Version 1.2
358
+ -----------
359
+ (codename Neujahr, released Jan 01, 2010)
360
+
361
+ - Dropped Python 2.3 compatibility.
362
+
363
+ - Lexers added:
364
+
365
+ * Asymptote
366
+ * Go
367
+ * Gherkin (Cucumber)
368
+ * CMake
369
+ * Ooc
370
+ * Coldfusion
371
+ * Haxe
372
+ * R console
373
+
374
+ - Added options for rendering LaTeX in source code comments in the
375
+ LaTeX formatter (#461).
376
+
377
+ - Updated the Logtalk lexer.
378
+
379
+ - Added `line_number_start` option to image formatter (#456).
380
+
381
+ - Added `hl_lines` and `hl_color` options to image formatter (#457).
382
+
383
+ - Fixed the HtmlFormatter's handling of noclasses=True to not output any
384
+ classes (#427).
385
+
386
+ - Added the Monokai style (#453).
387
+
388
+ - Fixed LLVM lexer identifier syntax and added new keywords (#442).
389
+
390
+ - Fixed the PythonTracebackLexer to handle non-traceback data in header or
391
+ trailer, and support more partial tracebacks that start on line 2 (#437).
392
+
393
+ - Fixed the CLexer to not highlight ternary statements as labels.
394
+
395
+ - Fixed lexing of some Ruby quoting peculiarities (#460).
396
+
397
+ - A few ASM lexer fixes (#450).
398
+
399
+
400
+ Version 1.1.1
401
+ -------------
402
+ (bugfix release, released Sep 15, 2009)
403
+
404
+ - Fixed the BBCode lexer (#435).
405
+
406
+ - Added support for new Jinja2 keywords.
407
+
408
+ - Fixed test suite failures.
409
+
410
+ - Added Gentoo-specific suffixes to Bash lexer.
411
+
412
+
413
+ Version 1.1
414
+ -----------
415
+ (codename Brillouin, released Sep 11, 2009)
416
+
417
+ - Ported Pygments to Python 3. This needed a few changes in the way
418
+ encodings are handled; they may affect corner cases when used with
419
+ Python 2 as well.
420
+
421
+ - Lexers added:
422
+
423
+ * Antlr/Ragel, thanks to Ana Nelson
424
+ * (Ba)sh shell
425
+ * Erlang shell
426
+ * GLSL
427
+ * Prolog
428
+ * Evoque
429
+ * Modelica
430
+ * Rebol
431
+ * MXML
432
+ * Cython
433
+ * ABAP
434
+ * ASP.net (VB/C#)
435
+ * Vala
436
+ * Newspeak
437
+
438
+ - Fixed the LaTeX formatter's output so that output generated for one style
439
+ can be used with the style definitions of another (#384).
440
+
441
+ - Added "anchorlinenos" and "noclobber_cssfile" (#396) options to HTML
442
+ formatter.
443
+
444
+ - Support multiline strings in Lua lexer.
445
+
446
+ - Rewrite of the JavaScript lexer by Pumbaa80 to better support regular
447
+ expression literals (#403).
448
+
449
+ - When pygmentize is asked to highlight a file for which multiple lexers
450
+ match the filename, use the analyse_text guessing engine to determine the
451
+ winner (#355).
452
+
453
+ - Fixed minor bugs in the JavaScript lexer (#383), the Matlab lexer (#378),
454
+ the Scala lexer (#392), the INI lexer (#391), the Clojure lexer (#387)
455
+ and the AS3 lexer (#389).
456
+
457
+ - Fixed three Perl heredoc lexing bugs (#379, #400, #422).
458
+
459
+ - Fixed a bug in the image formatter which misdetected lines (#380).
460
+
461
+ - Fixed bugs lexing extended Ruby strings and regexes.
462
+
463
+ - Fixed a bug when lexing git diffs.
464
+
465
+ - Fixed a bug lexing the empty commit in the PHP lexer (#405).
466
+
467
+ - Fixed a bug causing Python numbers to be mishighlighted as floats (#397).
468
+
469
+ - Fixed a bug when backslashes are used in odd locations in Python (#395).
470
+
471
+ - Fixed various bugs in Matlab and S-Plus lexers, thanks to Winston Chang (#410,
472
+ #411, #413, #414) and fmarc (#419).
473
+
474
+ - Fixed a bug in Haskell single-line comment detection (#426).
475
+
476
+ - Added new-style reStructuredText directive for docutils 0.5+ (#428).
477
+
478
+
479
+ Version 1.0
480
+ -----------
481
+ (codename Dreiundzwanzig, released Nov 23, 2008)
482
+
483
+ - Don't use join(splitlines()) when converting newlines to ``\n``,
484
+ because that doesn't keep all newlines at the end when the
485
+ ``stripnl`` lexer option is False.
486
+
487
+ - Added ``-N`` option to command-line interface to get a lexer name
488
+ for a given filename.
489
+
490
+ - Added Tango style, written by Andre Roberge for the Crunchy project.
491
+
492
+ - Added Python3TracebackLexer and ``python3`` option to
493
+ PythonConsoleLexer.
494
+
495
+ - Fixed a few bugs in the Haskell lexer.
496
+
497
+ - Fixed PythonTracebackLexer to be able to recognize SyntaxError and
498
+ KeyboardInterrupt (#360).
499
+
500
+ - Provide one formatter class per image format, so that surprises like::
501
+
502
+ pygmentize -f gif -o foo.gif foo.py
503
+
504
+ creating a PNG file are avoided.
505
+
506
+ - Actually use the `font_size` option of the image formatter.
507
+
508
+ - Fixed numpy lexer that it doesn't listen for `*.py` any longer.
509
+
510
+ - Fixed HTML formatter so that text options can be Unicode
511
+ strings (#371).
512
+
513
+ - Unified Diff lexer supports the "udiff" alias now.
514
+
515
+ - Fixed a few issues in Scala lexer (#367).
516
+
517
+ - RubyConsoleLexer now supports simple prompt mode (#363).
518
+
519
+ - JavascriptLexer is smarter about what constitutes a regex (#356).
520
+
521
+ - Add Applescript lexer, thanks to Andreas Amann (#330).
522
+
523
+ - Make the codetags more strict about matching words (#368).
524
+
525
+ - NginxConfLexer is a little more accurate on mimetypes and
526
+ variables (#370).
527
+
528
+
529
+ Version 0.11.1
530
+ --------------
531
+ (released Aug 24, 2008)
532
+
533
+ - Fixed a Jython compatibility issue in pygments.unistring (#358).
534
+
535
+
536
+ Version 0.11
537
+ ------------
538
+ (codename Straußenei, released Aug 23, 2008)
539
+
540
+ Many thanks go to Tim Hatch for writing or integrating most of the bug
541
+ fixes and new features.
542
+
543
+ - Lexers added:
544
+
545
+ * Nasm-style assembly language, thanks to delroth
546
+ * YAML, thanks to Kirill Simonov
547
+ * ActionScript 3, thanks to Pierre Bourdon
548
+ * Cheetah/Spitfire templates, thanks to Matt Good
549
+ * Lighttpd config files
550
+ * Nginx config files
551
+ * Gnuplot plotting scripts
552
+ * Clojure
553
+ * POV-Ray scene files
554
+ * Sqlite3 interactive console sessions
555
+ * Scala source files, thanks to Krzysiek Goj
556
+
557
+ - Lexers improved:
558
+
559
+ * C lexer highlights standard library functions now and supports C99
560
+ types.
561
+ * Bash lexer now correctly highlights heredocs without preceding
562
+ whitespace.
563
+ * Vim lexer now highlights hex colors properly and knows a couple
564
+ more keywords.
565
+ * Irc logs lexer now handles xchat's default time format (#340) and
566
+ correctly highlights lines ending in ``>``.
567
+ * Support more delimiters for perl regular expressions (#258).
568
+ * ObjectiveC lexer now supports 2.0 features.
569
+
570
+ - Added "Visual Studio" style.
571
+
572
+ - Updated markdown processor to Markdown 1.7.
573
+
574
+ - Support roman/sans/mono style defs and use them in the LaTeX
575
+ formatter.
576
+
577
+ - The RawTokenFormatter is no longer registered to ``*.raw`` and it's
578
+ documented that tokenization with this lexer may raise exceptions.
579
+
580
+ - New option ``hl_lines`` to HTML formatter, to highlight certain
581
+ lines.
582
+
583
+ - New option ``prestyles`` to HTML formatter.
584
+
585
+ - New option *-g* to pygmentize, to allow lexer guessing based on
586
+ filetext (can be slowish, so file extensions are still checked
587
+ first).
588
+
589
+ - ``guess_lexer()`` now makes its decision much faster due to a cache
590
+ of whether data is xml-like (a check which is used in several
591
+ versions of ``analyse_text()``. Several lexers also have more
592
+ accurate ``analyse_text()`` now.
593
+
594
+
595
+ Version 0.10
596
+ ------------
597
+ (codename Malzeug, released May 06, 2008)
598
+
599
+ - Lexers added:
600
+
601
+ * Io
602
+ * Smalltalk
603
+ * Darcs patches
604
+ * Tcl
605
+ * Matlab
606
+ * Matlab sessions
607
+ * FORTRAN
608
+ * XSLT
609
+ * tcsh
610
+ * NumPy
611
+ * Python 3
612
+ * S, S-plus, R statistics languages
613
+ * Logtalk
614
+
615
+ - In the LatexFormatter, the *commandprefix* option is now by default
616
+ 'PY' instead of 'C', since the latter resulted in several collisions
617
+ with other packages. Also, the special meaning of the *arg*
618
+ argument to ``get_style_defs()`` was removed.
619
+
620
+ - Added ImageFormatter, to format code as PNG, JPG, GIF or BMP.
621
+ (Needs the Python Imaging Library.)
622
+
623
+ - Support doc comments in the PHP lexer.
624
+
625
+ - Handle format specifications in the Perl lexer.
626
+
627
+ - Fix comment handling in the Batch lexer.
628
+
629
+ - Add more file name extensions for the C++, INI and XML lexers.
630
+
631
+ - Fixes in the IRC and MuPad lexers.
632
+
633
+ - Fix function and interface name highlighting in the Java lexer.
634
+
635
+ - Fix at-rule handling in the CSS lexer.
636
+
637
+ - Handle KeyboardInterrupts gracefully in pygmentize.
638
+
639
+ - Added BlackWhiteStyle.
640
+
641
+ - Bash lexer now correctly highlights math, does not require
642
+ whitespace after semicolons, and correctly highlights boolean
643
+ operators.
644
+
645
+ - Makefile lexer is now capable of handling BSD and GNU make syntax.
646
+
647
+
648
+ Version 0.9
649
+ -----------
650
+ (codename Herbstzeitlose, released Oct 14, 2007)
651
+
652
+ - Lexers added:
653
+
654
+ * Erlang
655
+ * ActionScript
656
+ * Literate Haskell
657
+ * Common Lisp
658
+ * Various assembly languages
659
+ * Gettext catalogs
660
+ * Squid configuration
661
+ * Debian control files
662
+ * MySQL-style SQL
663
+ * MOOCode
664
+
665
+ - Lexers improved:
666
+
667
+ * Greatly improved the Haskell and OCaml lexers.
668
+ * Improved the Bash lexer's handling of nested constructs.
669
+ * The C# and Java lexers exhibited abysmal performance with some
670
+ input code; this should now be fixed.
671
+ * The IRC logs lexer is now able to colorize weechat logs too.
672
+ * The Lua lexer now recognizes multi-line comments.
673
+ * Fixed bugs in the D and MiniD lexer.
674
+
675
+ - The encoding handling of the command line mode (pygmentize) was
676
+ enhanced. You shouldn't get UnicodeErrors from it anymore if you
677
+ don't give an encoding option.
678
+
679
+ - Added a ``-P`` option to the command line mode which can be used to
680
+ give options whose values contain commas or equals signs.
681
+
682
+ - Added 256-color terminal formatter.
683
+
684
+ - Added an experimental SVG formatter.
685
+
686
+ - Added the ``lineanchors`` option to the HTML formatter, thanks to
687
+ Ian Charnas for the idea.
688
+
689
+ - Gave the line numbers table a CSS class in the HTML formatter.
690
+
691
+ - Added a Vim 7-like style.
692
+
693
+
694
+ Version 0.8.1
695
+ -------------
696
+ (released Jun 27, 2007)
697
+
698
+ - Fixed POD highlighting in the Ruby lexer.
699
+
700
+ - Fixed Unicode class and namespace name highlighting in the C# lexer.
701
+
702
+ - Fixed Unicode string prefix highlighting in the Python lexer.
703
+
704
+ - Fixed a bug in the D and MiniD lexers.
705
+
706
+ - Fixed the included MoinMoin parser.
707
+
708
+
709
+ Version 0.8
710
+ -----------
711
+ (codename Maikäfer, released May 30, 2007)
712
+
713
+ - Lexers added:
714
+
715
+ * Haskell, thanks to Adam Blinkinsop
716
+ * Redcode, thanks to Adam Blinkinsop
717
+ * D, thanks to Kirk McDonald
718
+ * MuPad, thanks to Christopher Creutzig
719
+ * MiniD, thanks to Jarrett Billingsley
720
+ * Vim Script, by Tim Hatch
721
+
722
+ - The HTML formatter now has a second line-numbers mode in which it
723
+ will just integrate the numbers in the same ``<pre>`` tag as the
724
+ code.
725
+
726
+ - The `CSharpLexer` now is Unicode-aware, which means that it has an
727
+ option that can be set so that it correctly lexes Unicode
728
+ identifiers allowed by the C# specs.
729
+
730
+ - Added a `RaiseOnErrorTokenFilter` that raises an exception when the
731
+ lexer generates an error token, and a `VisibleWhitespaceFilter` that
732
+ converts whitespace (spaces, tabs, newlines) into visible
733
+ characters.
734
+
735
+ - Fixed the `do_insertions()` helper function to yield correct
736
+ indices.
737
+
738
+ - The ReST lexer now automatically highlights source code blocks in
739
+ ".. sourcecode:: language" and ".. code:: language" directive
740
+ blocks.
741
+
742
+ - Improved the default style (thanks to Tiberius Teng). The old
743
+ default is still available as the "emacs" style (which was an alias
744
+ before).
745
+
746
+ - The `get_style_defs` method of HTML formatters now uses the
747
+ `cssclass` option as the default selector if it was given.
748
+
749
+ - Improved the ReST and Bash lexers a bit.
750
+
751
+ - Fixed a few bugs in the Makefile and Bash lexers, thanks to Tim
752
+ Hatch.
753
+
754
+ - Fixed a bug in the command line code that disallowed ``-O`` options
755
+ when using the ``-S`` option.
756
+
757
+ - Fixed a bug in the `RawTokenFormatter`.
758
+
759
+
760
+ Version 0.7.1
761
+ -------------
762
+ (released Feb 15, 2007)
763
+
764
+ - Fixed little highlighting bugs in the Python, Java, Scheme and
765
+ Apache Config lexers.
766
+
767
+ - Updated the included manpage.
768
+
769
+ - Included a built version of the documentation in the source tarball.
770
+
771
+
772
+ Version 0.7
773
+ -----------
774
+ (codename Faschingskrapfn, released Feb 14, 2007)
775
+
776
+ - Added a MoinMoin parser that uses Pygments. With it, you get
777
+ Pygments highlighting in Moin Wiki pages.
778
+
779
+ - Changed the exception raised if no suitable lexer, formatter etc. is
780
+ found in one of the `get_*_by_*` functions to a custom exception,
781
+ `pygments.util.ClassNotFound`. It is, however, a subclass of
782
+ `ValueError` in order to retain backwards compatibility.
783
+
784
+ - Added a `-H` command line option which can be used to get the
785
+ docstring of a lexer, formatter or filter.
786
+
787
+ - Made the handling of lexers and formatters more consistent. The
788
+ aliases and filename patterns of formatters are now attributes on
789
+ them.
790
+
791
+ - Added an OCaml lexer, thanks to Adam Blinkinsop.
792
+
793
+ - Made the HTML formatter more flexible, and easily subclassable in
794
+ order to make it easy to implement custom wrappers, e.g. alternate
795
+ line number markup. See the documentation.
796
+
797
+ - Added an `outencoding` option to all formatters, making it possible
798
+ to override the `encoding` (which is used by lexers and formatters)
799
+ when using the command line interface. Also, if using the terminal
800
+ formatter and the output file is a terminal and has an encoding
801
+ attribute, use it if no encoding is given.
802
+
803
+ - Made it possible to just drop style modules into the `styles`
804
+ subpackage of the Pygments installation.
805
+
806
+ - Added a "state" keyword argument to the `using` helper.
807
+
808
+ - Added a `commandprefix` option to the `LatexFormatter` which allows
809
+ to control how the command names are constructed.
810
+
811
+ - Added quite a few new lexers, thanks to Tim Hatch:
812
+
813
+ * Java Server Pages
814
+ * Windows batch files
815
+ * Trac Wiki markup
816
+ * Python tracebacks
817
+ * ReStructuredText
818
+ * Dylan
819
+ * and the Befunge esoteric programming language (yay!)
820
+
821
+ - Added Mako lexers by Ben Bangert.
822
+
823
+ - Added "fruity" style, another dark background originally vim-based
824
+ theme.
825
+
826
+ - Added sources.list lexer by Dennis Kaarsemaker.
827
+
828
+ - Added token stream filters, and a pygmentize option to use them.
829
+
830
+ - Changed behavior of `in` Operator for tokens.
831
+
832
+ - Added mimetypes for all lexers.
833
+
834
+ - Fixed some problems lexing Python strings.
835
+
836
+ - Fixed tickets: #167, #178, #179, #180, #185, #201.
837
+
838
+
839
+ Version 0.6
840
+ -----------
841
+ (codename Zimtstern, released Dec 20, 2006)
842
+
843
+ - Added option for the HTML formatter to write the CSS to an external
844
+ file in "full document" mode.
845
+
846
+ - Added RTF formatter.
847
+
848
+ - Added Bash and Apache configuration lexers (thanks to Tim Hatch).
849
+
850
+ - Improved guessing methods for various lexers.
851
+
852
+ - Added `@media` support to CSS lexer (thanks to Tim Hatch).
853
+
854
+ - Added a Groff lexer (thanks to Tim Hatch).
855
+
856
+ - License change to BSD.
857
+
858
+ - Added lexers for the Myghty template language.
859
+
860
+ - Added a Scheme lexer (thanks to Marek Kubica).
861
+
862
+ - Added some functions to iterate over existing lexers, formatters and
863
+ lexers.
864
+
865
+ - The HtmlFormatter's `get_style_defs()` can now take a list as an
866
+ argument to generate CSS with multiple prefixes.
867
+
868
+ - Support for guessing input encoding added.
869
+
870
+ - Encoding support added: all processing is now done with Unicode
871
+ strings, input and output are converted from and optionally to byte
872
+ strings (see the ``encoding`` option of lexers and formatters).
873
+
874
+ - Some improvements in the C(++) lexers handling comments and line
875
+ continuations.
876
+
877
+
878
+ Version 0.5.1
879
+ -------------
880
+ (released Oct 30, 2006)
881
+
882
+ - Fixed traceback in ``pygmentize -L`` (thanks to Piotr Ozarowski).
883
+
884
+
885
+ Version 0.5
886
+ -----------
887
+ (codename PyKleur, released Oct 30, 2006)
888
+
889
+ - Initial public release.