pygments.rb 1.2.1 → 2.2.0

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 (386) hide show
  1. checksums.yaml +5 -5
  2. data/.github/dependabot.yml +13 -0
  3. data/.github/workflows/ci.yml +40 -0
  4. data/.github/workflows/release.yml +24 -0
  5. data/.gitignore +4 -6
  6. data/.rubocop.yml +16 -0
  7. data/CHANGELOG.adoc +137 -0
  8. data/Gemfile +3 -1
  9. data/LICENSE +1 -1
  10. data/README.adoc +159 -0
  11. data/Rakefile +8 -32
  12. data/bench.rb +14 -8
  13. data/lib/pygments.rb +16 -14
  14. data/lib/pygments/lexer.rb +87 -65
  15. data/lib/pygments/mentos.py +23 -110
  16. data/lib/pygments/popen.rb +188 -284
  17. data/lib/pygments/version.rb +2 -2
  18. data/pygments.rb.gemspec +20 -13
  19. data/test/test_pygments.rb +50 -110
  20. data/vendor/pygments-main/{AUTHORS → Pygments-2.8.1.dist-info/AUTHORS} +26 -3
  21. data/vendor/pygments-main/Pygments-2.8.1.dist-info/INSTALLER +1 -0
  22. data/vendor/pygments-main/{LICENSE → Pygments-2.8.1.dist-info/LICENSE} +1 -1
  23. data/vendor/pygments-main/Pygments-2.8.1.dist-info/METADATA +48 -0
  24. data/vendor/pygments-main/Pygments-2.8.1.dist-info/RECORD +494 -0
  25. data/vendor/pygments-main/Pygments-2.8.1.dist-info/REQUESTED +0 -0
  26. data/vendor/pygments-main/Pygments-2.8.1.dist-info/WHEEL +5 -0
  27. data/vendor/pygments-main/Pygments-2.8.1.dist-info/entry_points.txt +3 -0
  28. data/vendor/pygments-main/Pygments-2.8.1.dist-info/top_level.txt +1 -0
  29. data/vendor/pygments-main/bin/pygmentize +8 -0
  30. data/vendor/pygments-main/pygments/__init__.py +6 -12
  31. data/vendor/pygments-main/pygments/__main__.py +17 -0
  32. data/vendor/pygments-main/pygments/cmdline.py +213 -184
  33. data/vendor/pygments-main/pygments/console.py +6 -10
  34. data/vendor/pygments-main/pygments/filter.py +4 -7
  35. data/vendor/pygments-main/pygments/filters/__init__.py +609 -22
  36. data/vendor/pygments-main/pygments/formatter.py +4 -5
  37. data/vendor/pygments-main/pygments/formatters/__init__.py +10 -10
  38. data/vendor/pygments-main/pygments/formatters/_mapping.py +1 -4
  39. data/vendor/pygments-main/pygments/formatters/bbcode.py +1 -2
  40. data/vendor/pygments-main/pygments/formatters/html.py +242 -139
  41. data/vendor/pygments-main/pygments/formatters/img.py +91 -50
  42. data/vendor/pygments-main/pygments/formatters/irc.py +39 -40
  43. data/vendor/pygments-main/pygments/formatters/latex.py +62 -33
  44. data/vendor/pygments-main/pygments/formatters/other.py +18 -17
  45. data/vendor/pygments-main/pygments/formatters/rtf.py +29 -30
  46. data/vendor/pygments-main/pygments/formatters/svg.py +40 -5
  47. data/vendor/pygments-main/pygments/formatters/terminal.py +25 -32
  48. data/vendor/pygments-main/pygments/formatters/terminal256.py +45 -14
  49. data/vendor/pygments-main/pygments/lexer.py +47 -44
  50. data/vendor/pygments-main/pygments/lexers/__init__.py +341 -0
  51. data/vendor/pygments-main/pygments/lexers/_asy_builtins.py +1644 -0
  52. data/vendor/pygments-main/pygments/lexers/_cl_builtins.py +231 -0
  53. data/vendor/pygments-main/pygments/lexers/_cocoa_builtins.py +75 -0
  54. data/vendor/pygments-main/pygments/lexers/_csound_builtins.py +1724 -0
  55. data/vendor/pygments-main/pygments/lexers/_lasso_builtins.py +5326 -0
  56. data/vendor/pygments-main/pygments/lexers/_lua_builtins.py +292 -0
  57. data/vendor/pygments-main/pygments/lexers/_mapping.py +554 -0
  58. data/vendor/pygments-main/pygments/lexers/_mql_builtins.py +1171 -0
  59. data/vendor/pygments-main/pygments/lexers/_mysql_builtins.py +1281 -0
  60. data/vendor/pygments-main/pygments/lexers/_openedge_builtins.py +2600 -0
  61. data/vendor/pygments-main/pygments/lexers/_php_builtins.py +4752 -0
  62. data/vendor/pygments-main/pygments/lexers/_postgres_builtins.py +677 -0
  63. data/vendor/pygments-main/pygments/lexers/_scilab_builtins.py +3093 -0
  64. data/vendor/pygments-main/pygments/lexers/_sourcemod_builtins.py +1160 -0
  65. data/vendor/pygments-main/pygments/lexers/_stan_builtins.py +557 -0
  66. data/vendor/pygments-main/pygments/lexers/_stata_builtins.py +457 -0
  67. data/vendor/pygments-main/pygments/lexers/_tsql_builtins.py +1003 -0
  68. data/vendor/pygments-main/pygments/lexers/_usd_builtins.py +112 -0
  69. data/vendor/pygments-main/pygments/lexers/_vbscript_builtins.py +279 -0
  70. data/vendor/pygments-main/pygments/lexers/_vim_builtins.py +1938 -0
  71. data/vendor/pygments-main/pygments/lexers/actionscript.py +244 -0
  72. data/vendor/pygments-main/pygments/lexers/agile.py +23 -0
  73. data/vendor/pygments-main/pygments/lexers/algebra.py +239 -0
  74. data/vendor/pygments-main/pygments/lexers/ambient.py +75 -0
  75. data/vendor/pygments-main/pygments/lexers/amdgpu.py +48 -0
  76. data/vendor/pygments-main/pygments/lexers/ampl.py +86 -0
  77. data/vendor/pygments-main/pygments/lexers/apl.py +100 -0
  78. data/vendor/pygments-main/pygments/lexers/archetype.py +317 -0
  79. data/vendor/pygments-main/pygments/lexers/arrow.py +116 -0
  80. data/vendor/pygments-main/pygments/lexers/asm.py +1004 -0
  81. data/vendor/pygments-main/pygments/lexers/automation.py +379 -0
  82. data/vendor/pygments-main/pygments/lexers/bare.py +103 -0
  83. data/vendor/pygments-main/pygments/lexers/basic.py +661 -0
  84. data/vendor/pygments-main/pygments/lexers/bibtex.py +159 -0
  85. data/vendor/pygments-main/pygments/lexers/boa.py +101 -0
  86. data/vendor/pygments-main/pygments/lexers/business.py +626 -0
  87. data/vendor/pygments-main/pygments/lexers/c_cpp.py +342 -0
  88. data/vendor/pygments-main/pygments/lexers/c_like.py +565 -0
  89. data/vendor/pygments-main/pygments/lexers/capnproto.py +77 -0
  90. data/vendor/pygments-main/pygments/lexers/cddl.py +190 -0
  91. data/vendor/pygments-main/pygments/lexers/chapel.py +111 -0
  92. data/vendor/pygments-main/pygments/lexers/clean.py +178 -0
  93. data/vendor/pygments-main/pygments/lexers/compiled.py +33 -0
  94. data/vendor/pygments-main/pygments/lexers/configs.py +985 -0
  95. data/vendor/pygments-main/pygments/lexers/console.py +113 -0
  96. data/vendor/pygments-main/pygments/lexers/crystal.py +366 -0
  97. data/vendor/pygments-main/pygments/lexers/csound.py +466 -0
  98. data/vendor/pygments-main/pygments/lexers/css.py +694 -0
  99. data/vendor/pygments-main/pygments/lexers/d.py +255 -0
  100. data/vendor/pygments-main/pygments/lexers/dalvik.py +124 -0
  101. data/vendor/pygments-main/pygments/lexers/data.py +697 -0
  102. data/vendor/pygments-main/pygments/lexers/devicetree.py +108 -0
  103. data/vendor/pygments-main/pygments/lexers/diff.py +164 -0
  104. data/vendor/pygments-main/pygments/lexers/dotnet.py +706 -0
  105. data/vendor/pygments-main/pygments/lexers/dsls.py +959 -0
  106. data/vendor/pygments-main/pygments/lexers/dylan.py +286 -0
  107. data/vendor/pygments-main/pygments/lexers/ecl.py +137 -0
  108. data/vendor/pygments-main/pygments/lexers/eiffel.py +64 -0
  109. data/vendor/pygments-main/pygments/lexers/elm.py +120 -0
  110. data/vendor/pygments-main/pygments/lexers/email.py +150 -0
  111. data/vendor/pygments-main/pygments/lexers/erlang.py +529 -0
  112. data/vendor/pygments-main/pygments/lexers/esoteric.py +303 -0
  113. data/vendor/pygments-main/pygments/lexers/ezhil.py +76 -0
  114. data/vendor/pygments-main/pygments/lexers/factor.py +343 -0
  115. data/vendor/pygments-main/pygments/lexers/fantom.py +249 -0
  116. data/vendor/pygments-main/pygments/lexers/felix.py +272 -0
  117. data/vendor/pygments-main/pygments/lexers/floscript.py +82 -0
  118. data/vendor/pygments-main/pygments/lexers/forth.py +177 -0
  119. data/vendor/pygments-main/pygments/lexers/fortran.py +208 -0
  120. data/vendor/pygments-main/pygments/lexers/foxpro.py +427 -0
  121. data/vendor/pygments-main/pygments/lexers/freefem.py +897 -0
  122. data/vendor/pygments-main/pygments/lexers/functional.py +20 -0
  123. data/vendor/pygments-main/pygments/lexers/futhark.py +110 -0
  124. data/vendor/pygments-main/pygments/lexers/gdscript.py +345 -0
  125. data/vendor/pygments-main/pygments/lexers/go.py +100 -0
  126. data/vendor/pygments-main/pygments/lexers/grammar_notation.py +269 -0
  127. data/vendor/pygments-main/pygments/lexers/graph.py +84 -0
  128. data/vendor/pygments-main/pygments/lexers/graphics.py +799 -0
  129. data/vendor/pygments-main/pygments/lexers/graphviz.py +57 -0
  130. data/vendor/pygments-main/pygments/lexers/haskell.py +869 -0
  131. data/vendor/pygments-main/pygments/lexers/haxe.py +935 -0
  132. data/vendor/pygments-main/pygments/lexers/hdl.py +468 -0
  133. data/vendor/pygments-main/pygments/lexers/hexdump.py +102 -0
  134. data/vendor/pygments-main/pygments/lexers/html.py +613 -0
  135. data/vendor/pygments-main/pygments/lexers/idl.py +280 -0
  136. data/vendor/pygments-main/pygments/lexers/igor.py +419 -0
  137. data/vendor/pygments-main/pygments/lexers/inferno.py +95 -0
  138. data/vendor/pygments-main/pygments/lexers/installers.py +321 -0
  139. data/vendor/pygments-main/pygments/lexers/int_fiction.py +1367 -0
  140. data/vendor/pygments-main/pygments/lexers/iolang.py +62 -0
  141. data/vendor/pygments-main/pygments/lexers/j.py +145 -0
  142. data/vendor/pygments-main/pygments/lexers/javascript.py +1536 -0
  143. data/vendor/pygments-main/pygments/lexers/julia.py +330 -0
  144. data/vendor/pygments-main/pygments/lexers/jvm.py +1739 -0
  145. data/vendor/pygments-main/pygments/lexers/lisp.py +2698 -0
  146. data/vendor/pygments-main/pygments/lexers/make.py +205 -0
  147. data/vendor/pygments-main/pygments/lexers/markup.py +762 -0
  148. data/vendor/pygments-main/pygments/lexers/math.py +20 -0
  149. data/vendor/pygments-main/pygments/lexers/matlab.py +3280 -0
  150. data/vendor/pygments-main/pygments/lexers/mime.py +225 -0
  151. data/vendor/pygments-main/pygments/lexers/ml.py +957 -0
  152. data/vendor/pygments-main/pygments/lexers/modeling.py +365 -0
  153. data/vendor/pygments-main/pygments/lexers/modula2.py +1579 -0
  154. data/vendor/pygments-main/pygments/lexers/monte.py +203 -0
  155. data/vendor/pygments-main/pygments/lexers/mosel.py +447 -0
  156. data/vendor/pygments-main/pygments/lexers/ncl.py +893 -0
  157. data/vendor/pygments-main/pygments/lexers/nimrod.py +158 -0
  158. data/vendor/pygments-main/pygments/lexers/nit.py +63 -0
  159. data/vendor/pygments-main/pygments/lexers/nix.py +135 -0
  160. data/vendor/pygments-main/pygments/lexers/oberon.py +120 -0
  161. data/vendor/pygments-main/pygments/lexers/objective.py +503 -0
  162. data/vendor/pygments-main/pygments/lexers/ooc.py +84 -0
  163. data/vendor/pygments-main/pygments/lexers/other.py +40 -0
  164. data/vendor/pygments-main/pygments/lexers/parasail.py +78 -0
  165. data/vendor/pygments-main/pygments/lexers/parsers.py +799 -0
  166. data/vendor/pygments-main/pygments/lexers/pascal.py +643 -0
  167. data/vendor/pygments-main/pygments/lexers/pawn.py +202 -0
  168. data/vendor/pygments-main/pygments/lexers/perl.py +731 -0
  169. data/vendor/pygments-main/pygments/lexers/php.py +320 -0
  170. data/vendor/pygments-main/pygments/lexers/pointless.py +70 -0
  171. data/vendor/pygments-main/pygments/lexers/pony.py +93 -0
  172. data/vendor/pygments-main/pygments/lexers/praat.py +301 -0
  173. data/vendor/pygments-main/pygments/lexers/prolog.py +305 -0
  174. data/vendor/pygments-main/pygments/lexers/promql.py +182 -0
  175. data/vendor/pygments-main/pygments/lexers/python.py +1158 -0
  176. data/vendor/pygments-main/pygments/lexers/qvt.py +151 -0
  177. data/vendor/pygments-main/pygments/lexers/r.py +190 -0
  178. data/vendor/pygments-main/pygments/lexers/rdf.py +462 -0
  179. data/vendor/pygments-main/pygments/lexers/rebol.py +430 -0
  180. data/vendor/pygments-main/pygments/lexers/resource.py +84 -0
  181. data/vendor/pygments-main/pygments/lexers/ride.py +138 -0
  182. data/vendor/pygments-main/pygments/lexers/rnc.py +66 -0
  183. data/vendor/pygments-main/pygments/lexers/roboconf.py +81 -0
  184. data/vendor/pygments-main/pygments/lexers/robotframework.py +551 -0
  185. data/vendor/pygments-main/pygments/lexers/ruby.py +523 -0
  186. data/vendor/pygments-main/pygments/lexers/rust.py +223 -0
  187. data/vendor/pygments-main/pygments/lexers/sas.py +227 -0
  188. data/vendor/pygments-main/pygments/lexers/scdoc.py +82 -0
  189. data/vendor/pygments-main/pygments/lexers/scripting.py +1283 -0
  190. data/vendor/pygments-main/pygments/lexers/sgf.py +60 -0
  191. data/vendor/pygments-main/pygments/lexers/shell.py +909 -0
  192. data/vendor/pygments-main/pygments/lexers/sieve.py +68 -0
  193. data/vendor/pygments-main/pygments/lexers/slash.py +184 -0
  194. data/vendor/pygments-main/pygments/lexers/smalltalk.py +194 -0
  195. data/vendor/pygments-main/pygments/lexers/smv.py +78 -0
  196. data/vendor/pygments-main/pygments/lexers/snobol.py +82 -0
  197. data/vendor/pygments-main/pygments/lexers/solidity.py +91 -0
  198. data/vendor/pygments-main/pygments/lexers/special.py +106 -0
  199. data/vendor/pygments-main/pygments/lexers/sql.py +832 -0
  200. data/vendor/pygments-main/pygments/lexers/stata.py +170 -0
  201. data/vendor/pygments-main/pygments/lexers/supercollider.py +94 -0
  202. data/vendor/pygments-main/pygments/lexers/tcl.py +144 -0
  203. data/vendor/pygments-main/pygments/lexers/templates.py +2263 -0
  204. data/vendor/pygments-main/pygments/lexers/teraterm.py +334 -0
  205. data/vendor/pygments-main/pygments/lexers/testing.py +206 -0
  206. data/vendor/pygments-main/pygments/lexers/text.py +25 -0
  207. data/vendor/pygments-main/pygments/lexers/textedit.py +168 -0
  208. data/vendor/pygments-main/pygments/lexers/textfmts.py +429 -0
  209. data/vendor/pygments-main/pygments/lexers/theorem.py +476 -0
  210. data/vendor/pygments-main/pygments/lexers/tnt.py +262 -0
  211. data/vendor/pygments-main/pygments/lexers/trafficscript.py +53 -0
  212. data/vendor/pygments-main/pygments/lexers/typoscript.py +218 -0
  213. data/vendor/pygments-main/pygments/lexers/unicon.py +411 -0
  214. data/vendor/pygments-main/pygments/lexers/urbi.py +145 -0
  215. data/vendor/pygments-main/pygments/lexers/usd.py +89 -0
  216. data/vendor/pygments-main/pygments/lexers/varnish.py +189 -0
  217. data/vendor/pygments-main/pygments/lexers/verification.py +113 -0
  218. data/vendor/pygments-main/pygments/lexers/web.py +23 -0
  219. data/vendor/pygments-main/pygments/lexers/webidl.py +298 -0
  220. data/vendor/pygments-main/pygments/lexers/webmisc.py +991 -0
  221. data/vendor/pygments-main/pygments/lexers/whiley.py +115 -0
  222. data/vendor/pygments-main/pygments/lexers/x10.py +68 -0
  223. data/vendor/pygments-main/pygments/lexers/xorg.py +36 -0
  224. data/vendor/pygments-main/pygments/lexers/yang.py +103 -0
  225. data/vendor/pygments-main/pygments/lexers/zig.py +123 -0
  226. data/vendor/pygments-main/pygments/modeline.py +1 -2
  227. data/vendor/pygments-main/pygments/plugin.py +4 -3
  228. data/vendor/pygments-main/pygments/regexopt.py +1 -2
  229. data/vendor/pygments-main/pygments/scanner.py +2 -3
  230. data/vendor/pygments-main/pygments/sphinxext.py +2 -5
  231. data/vendor/pygments-main/pygments/style.py +61 -25
  232. data/vendor/pygments-main/pygments/styles/__init__.py +12 -5
  233. data/vendor/pygments-main/pygments/styles/abap.py +1 -2
  234. data/vendor/pygments-main/pygments/styles/algol.py +1 -2
  235. data/vendor/pygments-main/pygments/styles/algol_nu.py +1 -2
  236. data/vendor/pygments-main/pygments/styles/arduino.py +2 -3
  237. data/vendor/pygments-main/pygments/styles/autumn.py +1 -2
  238. data/vendor/pygments-main/pygments/styles/borland.py +1 -2
  239. data/vendor/pygments-main/pygments/styles/bw.py +1 -2
  240. data/vendor/pygments-main/pygments/styles/colorful.py +1 -2
  241. data/vendor/pygments-main/pygments/styles/default.py +1 -2
  242. data/vendor/pygments-main/pygments/styles/emacs.py +1 -2
  243. data/vendor/pygments-main/pygments/styles/friendly.py +1 -2
  244. data/vendor/pygments-main/pygments/styles/fruity.py +1 -2
  245. data/vendor/pygments-main/pygments/styles/igor.py +1 -2
  246. data/vendor/pygments-main/pygments/styles/inkpot.py +66 -0
  247. data/vendor/pygments-main/pygments/styles/lovelace.py +1 -2
  248. data/vendor/pygments-main/pygments/styles/manni.py +1 -2
  249. data/vendor/pygments-main/pygments/styles/material.py +118 -0
  250. data/vendor/pygments-main/pygments/styles/monokai.py +4 -4
  251. data/vendor/pygments-main/pygments/styles/murphy.py +1 -2
  252. data/vendor/pygments-main/pygments/styles/native.py +1 -2
  253. data/vendor/pygments-main/pygments/styles/paraiso_dark.py +1 -2
  254. data/vendor/pygments-main/pygments/styles/paraiso_light.py +1 -2
  255. data/vendor/pygments-main/pygments/styles/pastie.py +1 -2
  256. data/vendor/pygments-main/pygments/styles/perldoc.py +1 -2
  257. data/vendor/pygments-main/pygments/styles/rainbow_dash.py +1 -2
  258. data/vendor/pygments-main/pygments/styles/rrt.py +1 -2
  259. data/vendor/pygments-main/pygments/styles/sas.py +1 -2
  260. data/vendor/pygments-main/pygments/styles/solarized.py +136 -0
  261. data/vendor/pygments-main/pygments/styles/stata_dark.py +40 -0
  262. data/vendor/pygments-main/pygments/styles/{stata.py → stata_light.py} +14 -16
  263. data/vendor/pygments-main/pygments/styles/tango.py +1 -2
  264. data/vendor/pygments-main/pygments/styles/trac.py +1 -2
  265. data/vendor/pygments-main/pygments/styles/vim.py +1 -2
  266. data/vendor/pygments-main/pygments/styles/vs.py +1 -2
  267. data/vendor/pygments-main/pygments/styles/xcode.py +1 -2
  268. data/vendor/pygments-main/pygments/styles/zenburn.py +80 -0
  269. data/vendor/pygments-main/pygments/token.py +1 -2
  270. data/vendor/pygments-main/pygments/unistring.py +47 -109
  271. data/vendor/pygments-main/pygments/util.py +16 -96
  272. metadata +81 -139
  273. data/CHANGELOG.md +0 -111
  274. data/README.md +0 -121
  275. data/cache-lexers.rb +0 -8
  276. data/circle.yml +0 -20
  277. data/test/test_data.c +0 -2581
  278. data/test/test_data.py +0 -514
  279. data/test/test_data_generated +0 -2582
  280. data/vendor/custom_lexers/github.py +0 -565
  281. data/vendor/pygments-main/CHANGES +0 -1186
  282. data/vendor/pygments-main/MANIFEST.in +0 -6
  283. data/vendor/pygments-main/Makefile +0 -65
  284. data/vendor/pygments-main/README.rst +0 -39
  285. data/vendor/pygments-main/REVISION +0 -1
  286. data/vendor/pygments-main/TODO +0 -12
  287. data/vendor/pygments-main/doc/Makefile +0 -153
  288. data/vendor/pygments-main/doc/_static/favicon.ico +0 -0
  289. data/vendor/pygments-main/doc/_static/logo_new.png +0 -0
  290. data/vendor/pygments-main/doc/_static/logo_only.png +0 -0
  291. data/vendor/pygments-main/doc/_templates/docssidebar.html +0 -3
  292. data/vendor/pygments-main/doc/_templates/indexsidebar.html +0 -25
  293. data/vendor/pygments-main/doc/_themes/pygments14/layout.html +0 -98
  294. data/vendor/pygments-main/doc/_themes/pygments14/static/bodybg.png +0 -0
  295. data/vendor/pygments-main/doc/_themes/pygments14/static/docbg.png +0 -0
  296. data/vendor/pygments-main/doc/_themes/pygments14/static/listitem.png +0 -0
  297. data/vendor/pygments-main/doc/_themes/pygments14/static/logo.png +0 -0
  298. data/vendor/pygments-main/doc/_themes/pygments14/static/pocoo.png +0 -0
  299. data/vendor/pygments-main/doc/_themes/pygments14/static/pygments14.css_t +0 -401
  300. data/vendor/pygments-main/doc/_themes/pygments14/theme.conf +0 -15
  301. data/vendor/pygments-main/doc/conf.py +0 -241
  302. data/vendor/pygments-main/doc/docs/api.rst +0 -354
  303. data/vendor/pygments-main/doc/docs/authors.rst +0 -4
  304. data/vendor/pygments-main/doc/docs/changelog.rst +0 -1
  305. data/vendor/pygments-main/doc/docs/cmdline.rst +0 -166
  306. data/vendor/pygments-main/doc/docs/filterdevelopment.rst +0 -71
  307. data/vendor/pygments-main/doc/docs/filters.rst +0 -41
  308. data/vendor/pygments-main/doc/docs/formatterdevelopment.rst +0 -169
  309. data/vendor/pygments-main/doc/docs/formatters.rst +0 -48
  310. data/vendor/pygments-main/doc/docs/index.rst +0 -66
  311. data/vendor/pygments-main/doc/docs/integrate.rst +0 -40
  312. data/vendor/pygments-main/doc/docs/java.rst +0 -70
  313. data/vendor/pygments-main/doc/docs/lexerdevelopment.rst +0 -728
  314. data/vendor/pygments-main/doc/docs/lexers.rst +0 -69
  315. data/vendor/pygments-main/doc/docs/moinmoin.rst +0 -39
  316. data/vendor/pygments-main/doc/docs/plugins.rst +0 -93
  317. data/vendor/pygments-main/doc/docs/quickstart.rst +0 -205
  318. data/vendor/pygments-main/doc/docs/rstdirective.rst +0 -22
  319. data/vendor/pygments-main/doc/docs/styles.rst +0 -201
  320. data/vendor/pygments-main/doc/docs/tokens.rst +0 -372
  321. data/vendor/pygments-main/doc/docs/unicode.rst +0 -58
  322. data/vendor/pygments-main/doc/download.rst +0 -41
  323. data/vendor/pygments-main/doc/faq.rst +0 -139
  324. data/vendor/pygments-main/doc/index.rst +0 -54
  325. data/vendor/pygments-main/doc/languages.rst +0 -154
  326. data/vendor/pygments-main/doc/make.bat +0 -190
  327. data/vendor/pygments-main/doc/pygmentize.1 +0 -94
  328. data/vendor/pygments-main/external/autopygmentize +0 -101
  329. data/vendor/pygments-main/external/lasso-builtins-generator-9.lasso +0 -162
  330. data/vendor/pygments-main/external/markdown-processor.py +0 -67
  331. data/vendor/pygments-main/external/moin-parser.py +0 -112
  332. data/vendor/pygments-main/external/pygments.bashcomp +0 -38
  333. data/vendor/pygments-main/external/rst-directive.py +0 -82
  334. data/vendor/pygments-main/pygmentize +0 -8
  335. data/vendor/pygments-main/requirements.txt +0 -5
  336. data/vendor/pygments-main/scripts/check_sources.py +0 -211
  337. data/vendor/pygments-main/scripts/debug_lexer.py +0 -246
  338. data/vendor/pygments-main/scripts/detect_missing_analyse_text.py +0 -33
  339. data/vendor/pygments-main/scripts/epydoc.css +0 -280
  340. data/vendor/pygments-main/scripts/get_vimkw.py +0 -74
  341. data/vendor/pygments-main/scripts/pylintrc +0 -301
  342. data/vendor/pygments-main/scripts/vim2pygments.py +0 -935
  343. data/vendor/pygments-main/setup.cfg +0 -10
  344. data/vendor/pygments-main/setup.py +0 -77
  345. data/vendor/pygments-main/tox.ini +0 -7
  346. data/vendor/simplejson/.gitignore +0 -10
  347. data/vendor/simplejson/.travis.yml +0 -5
  348. data/vendor/simplejson/CHANGES.txt +0 -291
  349. data/vendor/simplejson/LICENSE.txt +0 -19
  350. data/vendor/simplejson/MANIFEST.in +0 -5
  351. data/vendor/simplejson/README.rst +0 -19
  352. data/vendor/simplejson/conf.py +0 -179
  353. data/vendor/simplejson/index.rst +0 -628
  354. data/vendor/simplejson/scripts/make_docs.py +0 -18
  355. data/vendor/simplejson/setup.py +0 -104
  356. data/vendor/simplejson/simplejson/__init__.py +0 -510
  357. data/vendor/simplejson/simplejson/_speedups.c +0 -2745
  358. data/vendor/simplejson/simplejson/decoder.py +0 -425
  359. data/vendor/simplejson/simplejson/encoder.py +0 -567
  360. data/vendor/simplejson/simplejson/ordered_dict.py +0 -119
  361. data/vendor/simplejson/simplejson/scanner.py +0 -77
  362. data/vendor/simplejson/simplejson/tests/__init__.py +0 -67
  363. data/vendor/simplejson/simplejson/tests/test_bigint_as_string.py +0 -55
  364. data/vendor/simplejson/simplejson/tests/test_check_circular.py +0 -30
  365. data/vendor/simplejson/simplejson/tests/test_decimal.py +0 -66
  366. data/vendor/simplejson/simplejson/tests/test_decode.py +0 -83
  367. data/vendor/simplejson/simplejson/tests/test_default.py +0 -9
  368. data/vendor/simplejson/simplejson/tests/test_dump.py +0 -67
  369. data/vendor/simplejson/simplejson/tests/test_encode_basestring_ascii.py +0 -46
  370. data/vendor/simplejson/simplejson/tests/test_encode_for_html.py +0 -32
  371. data/vendor/simplejson/simplejson/tests/test_errors.py +0 -34
  372. data/vendor/simplejson/simplejson/tests/test_fail.py +0 -91
  373. data/vendor/simplejson/simplejson/tests/test_float.py +0 -19
  374. data/vendor/simplejson/simplejson/tests/test_indent.py +0 -86
  375. data/vendor/simplejson/simplejson/tests/test_item_sort_key.py +0 -20
  376. data/vendor/simplejson/simplejson/tests/test_namedtuple.py +0 -121
  377. data/vendor/simplejson/simplejson/tests/test_pass1.py +0 -76
  378. data/vendor/simplejson/simplejson/tests/test_pass2.py +0 -14
  379. data/vendor/simplejson/simplejson/tests/test_pass3.py +0 -20
  380. data/vendor/simplejson/simplejson/tests/test_recursion.py +0 -67
  381. data/vendor/simplejson/simplejson/tests/test_scanstring.py +0 -117
  382. data/vendor/simplejson/simplejson/tests/test_separators.py +0 -42
  383. data/vendor/simplejson/simplejson/tests/test_speedups.py +0 -20
  384. data/vendor/simplejson/simplejson/tests/test_tuple.py +0 -49
  385. data/vendor/simplejson/simplejson/tests/test_unicode.py +0 -109
  386. data/vendor/simplejson/simplejson/tool.py +0 -39
@@ -1,1186 +0,0 @@
1
- Pygments changelog
2
- ==================
3
-
4
- Issue numbers refer to the tracker at
5
- <https://bitbucket.org/birkenfeld/pygments-main/issues>,
6
- pull request numbers to the requests at
7
- <https://bitbucket.org/birkenfeld/pygments-main/pull-requests/merged>.
8
-
9
- Version 2.2.0
10
- -------------
11
- (release Jan 22, 2017)
12
-
13
- - Added lexers:
14
-
15
- * AMPL
16
- * TypoScript (#1173)
17
- * Varnish config (PR#554)
18
- * Clean (PR#503)
19
- * WDiff (PR#513)
20
- * Flatline (PR#551)
21
- * Silver (PR#537)
22
- * HSAIL (PR#518)
23
- * JSGF (PR#546)
24
- * NCAR command language (PR#536)
25
- * Extempore (PR#530)
26
- * Cap'n Proto (PR#595)
27
- * Whiley (PR#573)
28
- * Monte (PR#592)
29
- * Crystal (PR#576)
30
- * Snowball (PR#589)
31
- * CapDL (PR#579)
32
- * NuSMV (PR#564)
33
- * SAS, Stata (PR#593)
34
-
35
- - Added the ability to load lexer and formatter classes directly from files
36
- with the `-x` command line option and the `lexers.load_lexer_from_file()`
37
- and `formatters.load_formatter_from_file()` functions. (PR#559)
38
-
39
- - Added `lexers.find_lexer_class_by_name()`. (#1203)
40
-
41
- - Added new token types and lexing for magic methods and variables in Python
42
- and PHP.
43
-
44
- - Added a new token type for string affixes and lexing for them in Python, C++
45
- and Postgresql lexers.
46
-
47
- - Added a new token type for heredoc (and similar) string delimiters and
48
- lexing for them in C++, Perl, PHP, Postgresql and Ruby lexers.
49
-
50
- - Styles can now define colors with ANSI colors for use in the 256-color
51
- terminal formatter. (PR#531)
52
-
53
- - Improved the CSS lexer. (#1083, #1130)
54
-
55
- - Added "Rainbow Dash" style. (PR#623)
56
-
57
- - Delay loading `pkg_resources`, which takes a long while to import. (PR#690)
58
-
59
-
60
- Version 2.1.3
61
- -------------
62
- (released Mar 2, 2016)
63
-
64
- - Fixed regression in Bash lexer (PR#563)
65
-
66
-
67
- Version 2.1.2
68
- -------------
69
- (released Feb 29, 2016)
70
-
71
- - Fixed Python 3 regression in image formatter (#1215)
72
- - Fixed regression in Bash lexer (PR#562)
73
-
74
-
75
- Version 2.1.1
76
- -------------
77
- (relased Feb 14, 2016)
78
-
79
- - Fixed Jython compatibility (#1205)
80
- - Fixed HTML formatter output with leading empty lines (#1111)
81
- - Added a mapping table for LaTeX encodings and added utf8 (#1152)
82
- - Fixed image formatter font searching on Macs (#1188)
83
- - Fixed deepcopy-ing of Token instances (#1168)
84
- - Fixed Julia string interpolation (#1170)
85
- - Fixed statefulness of HttpLexer between get_tokens calls
86
- - Many smaller fixes to various lexers
87
-
88
-
89
- Version 2.1
90
- -----------
91
- (released Jan 17, 2016)
92
-
93
- - Added lexers:
94
-
95
- * Emacs Lisp (PR#431)
96
- * Arduino (PR#442)
97
- * Modula-2 with multi-dialect support (#1090)
98
- * Fortran fixed format (PR#213)
99
- * Archetype Definition language (PR#483)
100
- * Terraform (PR#432)
101
- * Jcl, Easytrieve (PR#208)
102
- * ParaSail (PR#381)
103
- * Boogie (PR#420)
104
- * Turtle (PR#425)
105
- * Fish Shell (PR#422)
106
- * Roboconf (PR#449)
107
- * Test Anything Protocol (PR#428)
108
- * Shen (PR#385)
109
- * Component Pascal (PR#437)
110
- * SuperCollider (PR#472)
111
- * Shell consoles (Tcsh, PowerShell, MSDOS) (PR#479)
112
- * Elm and J (PR#452)
113
- * Crmsh (PR#440)
114
- * Praat (PR#492)
115
- * CSound (PR#494)
116
- * Ezhil (PR#443)
117
- * Thrift (PR#469)
118
- * QVT Operational (PR#204)
119
- * Hexdump (PR#508)
120
- * CAmkES Configuration (PR#462)
121
-
122
- - Added styles:
123
-
124
- * Lovelace (PR#456)
125
- * Algol and Algol-nu (#1090)
126
-
127
- - Added formatters:
128
-
129
- * IRC (PR#458)
130
- * True color (24-bit) terminal ANSI sequences (#1142)
131
- (formatter alias: "16m")
132
-
133
- - New "filename" option for HTML formatter (PR#527).
134
-
135
- - Improved performance of the HTML formatter for long lines (PR#504).
136
-
137
- - Updated autopygmentize script (PR#445).
138
-
139
- - Fixed style inheritance for non-standard token types in HTML output.
140
-
141
- - Added support for async/await to Python 3 lexer.
142
-
143
- - Rewrote linenos option for TerminalFormatter (it's better, but slightly
144
- different output than before) (#1147).
145
-
146
- - Javascript lexer now supports most of ES6 (#1100).
147
-
148
- - Cocoa builtins updated for iOS 8.1 (PR#433).
149
-
150
- - Combined BashSessionLexer and ShellSessionLexer, new version should support
151
- the prompt styles of either.
152
-
153
- - Added option to pygmentize to show a full traceback on exceptions.
154
-
155
- - Fixed incomplete output on Windows and Python 3 (e.g. when using iPython
156
- Notebook) (#1153).
157
-
158
- - Allowed more traceback styles in Python console lexer (PR#253).
159
-
160
- - Added decorators to TypeScript (PR#509).
161
-
162
- - Fix highlighting of certain IRC logs formats (#1076).
163
-
164
-
165
- Version 2.0.2
166
- -------------
167
- (released Jan 20, 2015)
168
-
169
- - Fix Python tracebacks getting duplicated in the console lexer (#1068).
170
-
171
- - Backquote-delimited identifiers are now recognized in F# (#1062).
172
-
173
-
174
- Version 2.0.1
175
- -------------
176
- (released Nov 10, 2014)
177
-
178
- - Fix an encoding issue when using ``pygmentize`` with the ``-o`` option.
179
-
180
-
181
- Version 2.0
182
- -----------
183
- (released Nov 9, 2014)
184
-
185
- - Default lexer encoding is now "guess", i.e. UTF-8 / Locale / Latin1 is
186
- tried in that order.
187
-
188
- - Major update to Swift lexer (PR#410).
189
-
190
- - Multiple fixes to lexer guessing in conflicting cases:
191
-
192
- * recognize HTML5 by doctype
193
- * recognize XML by XML declaration
194
- * don't recognize C/C++ as SystemVerilog
195
-
196
- - Simplified regexes and builtin lists.
197
-
198
-
199
- Version 2.0rc1
200
- --------------
201
- (released Oct 16, 2014)
202
-
203
- - Dropped Python 2.4 and 2.5 compatibility. This is in favor of single-source
204
- compatibility between Python 2.6, 2.7 and 3.3+.
205
-
206
- - New website and documentation based on Sphinx (finally!)
207
-
208
- - Lexers added:
209
-
210
- * APL (#969)
211
- * Agda and Literate Agda (PR#203)
212
- * Alloy (PR#355)
213
- * AmbientTalk
214
- * BlitzBasic (PR#197)
215
- * ChaiScript (PR#24)
216
- * Chapel (PR#256)
217
- * Cirru (PR#275)
218
- * Clay (PR#184)
219
- * ColdFusion CFC (PR#283)
220
- * Cryptol and Literate Cryptol (PR#344)
221
- * Cypher (PR#257)
222
- * Docker config files
223
- * EBNF (PR#193)
224
- * Eiffel (PR#273)
225
- * GAP (PR#311)
226
- * Golo (PR#309)
227
- * Handlebars (PR#186)
228
- * Hy (PR#238)
229
- * Idris and Literate Idris (PR#210)
230
- * Igor Pro (PR#172)
231
- * Inform 6/7 (PR#281)
232
- * Intel objdump (PR#279)
233
- * Isabelle (PR#386)
234
- * Jasmin (PR#349)
235
- * JSON-LD (PR#289)
236
- * Kal (PR#233)
237
- * Lean (PR#399)
238
- * LSL (PR#296)
239
- * Limbo (PR#291)
240
- * Liquid (#977)
241
- * MQL (PR#285)
242
- * MaskJS (PR#280)
243
- * Mozilla preprocessors
244
- * Mathematica (PR#245)
245
- * NesC (PR#166)
246
- * Nit (PR#375)
247
- * Nix (PR#267)
248
- * Pan
249
- * Pawn (PR#211)
250
- * Perl 6 (PR#181)
251
- * Pig (PR#304)
252
- * Pike (PR#237)
253
- * QBasic (PR#182)
254
- * Red (PR#341)
255
- * ResourceBundle (#1038)
256
- * Rexx (PR#199)
257
- * Rql (PR#251)
258
- * Rsl
259
- * SPARQL (PR#78)
260
- * Slim (PR#366)
261
- * Swift (PR#371)
262
- * Swig (PR#168)
263
- * TADS 3 (PR#407)
264
- * Todo.txt todo lists
265
- * Twig (PR#404)
266
-
267
- - Added a helper to "optimize" regular expressions that match one of many
268
- literal words; this can save 20% and more lexing time with lexers that
269
- highlight many keywords or builtins.
270
-
271
- - New styles: "xcode" and "igor", similar to the default highlighting of
272
- the respective IDEs.
273
-
274
- - The command-line "pygmentize" tool now tries a little harder to find the
275
- correct encoding for files and the terminal (#979).
276
-
277
- - Added "inencoding" option for lexers to override "encoding" analogous
278
- to "outencoding" (#800).
279
-
280
- - Added line-by-line "streaming" mode for pygmentize with the "-s" option.
281
- (PR#165) Only fully works for lexers that have no constructs spanning
282
- lines!
283
-
284
- - Added an "envname" option to the LaTeX formatter to select a replacement
285
- verbatim environment (PR#235).
286
-
287
- - Updated the Makefile lexer to yield a little more useful highlighting.
288
-
289
- - Lexer aliases passed to ``get_lexer_by_name()`` are now case-insensitive.
290
-
291
- - File name matching in lexers and formatters will now use a regex cache
292
- for speed (PR#205).
293
-
294
- - Pygments will now recognize "vim" modelines when guessing the lexer for
295
- a file based on content (PR#118).
296
-
297
- - Major restructure of the ``pygments.lexers`` module namespace. There are now
298
- many more modules with less lexers per module. Old modules are still around
299
- and re-export the lexers they previously contained.
300
-
301
- - The NameHighlightFilter now works with any Name.* token type (#790).
302
-
303
- - Python 3 lexer: add new exceptions from PEP 3151.
304
-
305
- - Opa lexer: add new keywords (PR#170).
306
-
307
- - Julia lexer: add keywords and underscore-separated number
308
- literals (PR#176).
309
-
310
- - Lasso lexer: fix method highlighting, update builtins. Fix
311
- guessing so that plain XML isn't always taken as Lasso (PR#163).
312
-
313
- - Objective C/C++ lexers: allow "@" prefixing any expression (#871).
314
-
315
- - Ruby lexer: fix lexing of Name::Space tokens (#860) and of symbols
316
- in hashes (#873).
317
-
318
- - Stan lexer: update for version 2.4.0 of the language (PR#162, PR#255, PR#377).
319
-
320
- - JavaScript lexer: add the "yield" keyword (PR#196).
321
-
322
- - HTTP lexer: support for PATCH method (PR#190).
323
-
324
- - Koka lexer: update to newest language spec (PR#201).
325
-
326
- - Haxe lexer: rewrite and support for Haxe 3 (PR#174).
327
-
328
- - Prolog lexer: add different kinds of numeric literals (#864).
329
-
330
- - F# lexer: rewrite with newest spec for F# 3.0 (#842), fix a bug with
331
- dotted chains (#948).
332
-
333
- - Kotlin lexer: general update (PR#271).
334
-
335
- - Rebol lexer: fix comment detection and analyse_text (PR#261).
336
-
337
- - LLVM lexer: update keywords to v3.4 (PR#258).
338
-
339
- - PHP lexer: add new keywords and binary literals (PR#222).
340
-
341
- - external/markdown-processor.py updated to newest python-markdown (PR#221).
342
-
343
- - CSS lexer: some highlighting order fixes (PR#231).
344
-
345
- - Ceylon lexer: fix parsing of nested multiline comments (#915).
346
-
347
- - C family lexers: fix parsing of indented preprocessor directives (#944).
348
-
349
- - Rust lexer: update to 0.9 language version (PR#270, PR#388).
350
-
351
- - Elixir lexer: update to 0.15 language version (PR#392).
352
-
353
- - Fix swallowing incomplete tracebacks in Python console lexer (#874).
354
-
355
-
356
- Version 1.6
357
- -----------
358
- (released Feb 3, 2013)
359
-
360
- - Lexers added:
361
-
362
- * Dylan console (PR#149)
363
- * Logos (PR#150)
364
- * Shell sessions (PR#158)
365
-
366
- - Fix guessed lexers not receiving lexer options (#838).
367
-
368
- - Fix unquoted HTML attribute lexing in Opa (#841).
369
-
370
- - Fixes to the Dart lexer (PR#160).
371
-
372
-
373
- Version 1.6rc1
374
- --------------
375
- (released Jan 9, 2013)
376
-
377
- - Lexers added:
378
-
379
- * AspectJ (PR#90)
380
- * AutoIt (PR#122)
381
- * BUGS-like languages (PR#89)
382
- * Ceylon (PR#86)
383
- * Croc (new name for MiniD)
384
- * CUDA (PR#75)
385
- * Dg (PR#116)
386
- * IDL (PR#115)
387
- * Jags (PR#89)
388
- * Julia (PR#61)
389
- * Kconfig (#711)
390
- * Lasso (PR#95, PR#113)
391
- * LiveScript (PR#84)
392
- * Monkey (PR#117)
393
- * Mscgen (PR#80)
394
- * NSIS scripts (PR#136)
395
- * OpenCOBOL (PR#72)
396
- * QML (PR#123)
397
- * Puppet (PR#133)
398
- * Racket (PR#94)
399
- * Rdoc (PR#99)
400
- * Robot Framework (PR#137)
401
- * RPM spec files (PR#124)
402
- * Rust (PR#67)
403
- * Smali (Dalvik assembly)
404
- * SourcePawn (PR#39)
405
- * Stan (PR#89)
406
- * Treetop (PR#125)
407
- * TypeScript (PR#114)
408
- * VGL (PR#12)
409
- * Visual FoxPro (#762)
410
- * Windows Registry (#819)
411
- * Xtend (PR#68)
412
-
413
- - The HTML formatter now supports linking to tags using CTags files, when the
414
- python-ctags package is installed (PR#87).
415
-
416
- - The HTML formatter now has a "linespans" option that wraps every line in a
417
- <span> tag with a specific id (PR#82).
418
-
419
- - When deriving a lexer from another lexer with token definitions, definitions
420
- for states not in the child lexer are now inherited. If you override a state
421
- in the child lexer, an "inherit" keyword has been added to insert the base
422
- state at that position (PR#141).
423
-
424
- - The C family lexers now inherit token definitions from a common base class,
425
- removing code duplication (PR#141).
426
-
427
- - Use "colorama" on Windows for console color output (PR#142).
428
-
429
- - Fix Template Haskell highlighting (PR#63).
430
-
431
- - Fix some S/R lexer errors (PR#91).
432
-
433
- - Fix a bug in the Prolog lexer with names that start with 'is' (#810).
434
-
435
- - Rewrite Dylan lexer, add Dylan LID lexer (PR#147).
436
-
437
- - Add a Java quickstart document (PR#146).
438
-
439
- - Add a "external/autopygmentize" file that can be used as .lessfilter (#802).
440
-
441
-
442
- Version 1.5
443
- -----------
444
- (codename Zeitdilatation, released Mar 10, 2012)
445
-
446
- - Lexers added:
447
-
448
- * Awk (#630)
449
- * Fancy (#633)
450
- * PyPy Log
451
- * eC
452
- * Nimrod
453
- * Nemerle (#667)
454
- * F# (#353)
455
- * Groovy (#501)
456
- * PostgreSQL (#660)
457
- * DTD
458
- * Gosu (#634)
459
- * Octave (PR#22)
460
- * Standard ML (PR#14)
461
- * CFengine3 (#601)
462
- * Opa (PR#37)
463
- * HTTP sessions (PR#42)
464
- * JSON (PR#31)
465
- * SNOBOL (PR#30)
466
- * MoonScript (PR#43)
467
- * ECL (PR#29)
468
- * Urbiscript (PR#17)
469
- * OpenEdge ABL (PR#27)
470
- * SystemVerilog (PR#35)
471
- * Coq (#734)
472
- * PowerShell (#654)
473
- * Dart (#715)
474
- * Fantom (PR#36)
475
- * Bro (PR#5)
476
- * NewLISP (PR#26)
477
- * VHDL (PR#45)
478
- * Scilab (#740)
479
- * Elixir (PR#57)
480
- * Tea (PR#56)
481
- * Kotlin (PR#58)
482
-
483
- - Fix Python 3 terminal highlighting with pygmentize (#691).
484
-
485
- - In the LaTeX formatter, escape special &, < and > chars (#648).
486
-
487
- - In the LaTeX formatter, fix display problems for styles with token
488
- background colors (#670).
489
-
490
- - Enhancements to the Squid conf lexer (#664).
491
-
492
- - Several fixes to the reStructuredText lexer (#636).
493
-
494
- - Recognize methods in the ObjC lexer (#638).
495
-
496
- - Fix Lua "class" highlighting: it does not have classes (#665).
497
-
498
- - Fix degenerate regex in Scala lexer (#671) and highlighting bugs (#713, 708).
499
-
500
- - Fix number pattern order in Ocaml lexer (#647).
501
-
502
- - Fix generic type highlighting in ActionScript 3 (#666).
503
-
504
- - Fixes to the Clojure lexer (PR#9).
505
-
506
- - Fix degenerate regex in Nemerle lexer (#706).
507
-
508
- - Fix infinite looping in CoffeeScript lexer (#729).
509
-
510
- - Fix crashes and analysis with ObjectiveC lexer (#693, #696).
511
-
512
- - Add some Fortran 2003 keywords.
513
-
514
- - Fix Boo string regexes (#679).
515
-
516
- - Add "rrt" style (#727).
517
-
518
- - Fix infinite looping in Darcs Patch lexer.
519
-
520
- - Lots of misc fixes to character-eating bugs and ordering problems in many
521
- different lexers.
522
-
523
-
524
- Version 1.4
525
- -----------
526
- (codename Unschärfe, released Jan 03, 2011)
527
-
528
- - Lexers added:
529
-
530
- * Factor (#520)
531
- * PostScript (#486)
532
- * Verilog (#491)
533
- * BlitzMax Basic (#478)
534
- * Ioke (#465)
535
- * Java properties, split out of the INI lexer (#445)
536
- * Scss (#509)
537
- * Duel/JBST
538
- * XQuery (#617)
539
- * Mason (#615)
540
- * GoodData (#609)
541
- * SSP (#473)
542
- * Autohotkey (#417)
543
- * Google Protocol Buffers
544
- * Hybris (#506)
545
-
546
- - Do not fail in analyse_text methods (#618).
547
-
548
- - Performance improvements in the HTML formatter (#523).
549
-
550
- - With the ``noclasses`` option in the HTML formatter, some styles
551
- present in the stylesheet were not added as inline styles.
552
-
553
- - Four fixes to the Lua lexer (#480, #481, #482, #497).
554
-
555
- - More context-sensitive Gherkin lexer with support for more i18n translations.
556
-
557
- - Support new OO keywords in Matlab lexer (#521).
558
-
559
- - Small fix in the CoffeeScript lexer (#519).
560
-
561
- - A bugfix for backslashes in ocaml strings (#499).
562
-
563
- - Fix unicode/raw docstrings in the Python lexer (#489).
564
-
565
- - Allow PIL to work without PIL.pth (#502).
566
-
567
- - Allow seconds as a unit in CSS (#496).
568
-
569
- - Support ``application/javascript`` as a JavaScript mime type (#504).
570
-
571
- - Support `Offload <http://offload.codeplay.com>`_ C++ Extensions as
572
- keywords in the C++ lexer (#484).
573
-
574
- - Escape more characters in LaTeX output (#505).
575
-
576
- - Update Haml/Sass lexers to version 3 (#509).
577
-
578
- - Small PHP lexer string escaping fix (#515).
579
-
580
- - Support comments before preprocessor directives, and unsigned/
581
- long long literals in C/C++ (#613, #616).
582
-
583
- - Support line continuations in the INI lexer (#494).
584
-
585
- - Fix lexing of Dylan string and char literals (#628).
586
-
587
- - Fix class/procedure name highlighting in VB.NET lexer (#624).
588
-
589
-
590
- Version 1.3.1
591
- -------------
592
- (bugfix release, released Mar 05, 2010)
593
-
594
- - The ``pygmentize`` script was missing from the distribution.
595
-
596
-
597
- Version 1.3
598
- -----------
599
- (codename Schneeglöckchen, released Mar 01, 2010)
600
-
601
- - Added the ``ensurenl`` lexer option, which can be used to suppress the
602
- automatic addition of a newline to the lexer input.
603
-
604
- - Lexers added:
605
-
606
- * Ada
607
- * Coldfusion
608
- * Modula-2
609
- * Haxe
610
- * R console
611
- * Objective-J
612
- * Haml and Sass
613
- * CoffeeScript
614
-
615
- - Enhanced reStructuredText highlighting.
616
-
617
- - Added support for PHP 5.3 namespaces in the PHP lexer.
618
-
619
- - Added a bash completion script for `pygmentize`, to the external/
620
- directory (#466).
621
-
622
- - Fixed a bug in `do_insertions()` used for multi-lexer languages.
623
-
624
- - Fixed a Ruby regex highlighting bug (#476).
625
-
626
- - Fixed regex highlighting bugs in Perl lexer (#258).
627
-
628
- - Add small enhancements to the C lexer (#467) and Bash lexer (#469).
629
-
630
- - Small fixes for the Tcl, Debian control file, Nginx config,
631
- Smalltalk, Objective-C, Clojure, Lua lexers.
632
-
633
- - Gherkin lexer: Fixed single apostrophe bug and added new i18n keywords.
634
-
635
-
636
- Version 1.2.2
637
- -------------
638
- (bugfix release, released Jan 02, 2010)
639
-
640
- * Removed a backwards incompatibility in the LaTeX formatter that caused
641
- Sphinx to produce invalid commands when writing LaTeX output (#463).
642
-
643
- * Fixed a forever-backtracking regex in the BashLexer (#462).
644
-
645
-
646
- Version 1.2.1
647
- -------------
648
- (bugfix release, released Jan 02, 2010)
649
-
650
- * Fixed mishandling of an ellipsis in place of the frames in a Python
651
- console traceback, resulting in clobbered output.
652
-
653
-
654
- Version 1.2
655
- -----------
656
- (codename Neujahr, released Jan 01, 2010)
657
-
658
- - Dropped Python 2.3 compatibility.
659
-
660
- - Lexers added:
661
-
662
- * Asymptote
663
- * Go
664
- * Gherkin (Cucumber)
665
- * CMake
666
- * Ooc
667
- * Coldfusion
668
- * Haxe
669
- * R console
670
-
671
- - Added options for rendering LaTeX in source code comments in the
672
- LaTeX formatter (#461).
673
-
674
- - Updated the Logtalk lexer.
675
-
676
- - Added `line_number_start` option to image formatter (#456).
677
-
678
- - Added `hl_lines` and `hl_color` options to image formatter (#457).
679
-
680
- - Fixed the HtmlFormatter's handling of noclasses=True to not output any
681
- classes (#427).
682
-
683
- - Added the Monokai style (#453).
684
-
685
- - Fixed LLVM lexer identifier syntax and added new keywords (#442).
686
-
687
- - Fixed the PythonTracebackLexer to handle non-traceback data in header or
688
- trailer, and support more partial tracebacks that start on line 2 (#437).
689
-
690
- - Fixed the CLexer to not highlight ternary statements as labels.
691
-
692
- - Fixed lexing of some Ruby quoting peculiarities (#460).
693
-
694
- - A few ASM lexer fixes (#450).
695
-
696
-
697
- Version 1.1.1
698
- -------------
699
- (bugfix release, released Sep 15, 2009)
700
-
701
- - Fixed the BBCode lexer (#435).
702
-
703
- - Added support for new Jinja2 keywords.
704
-
705
- - Fixed test suite failures.
706
-
707
- - Added Gentoo-specific suffixes to Bash lexer.
708
-
709
-
710
- Version 1.1
711
- -----------
712
- (codename Brillouin, released Sep 11, 2009)
713
-
714
- - Ported Pygments to Python 3. This needed a few changes in the way
715
- encodings are handled; they may affect corner cases when used with
716
- Python 2 as well.
717
-
718
- - Lexers added:
719
-
720
- * Antlr/Ragel, thanks to Ana Nelson
721
- * (Ba)sh shell
722
- * Erlang shell
723
- * GLSL
724
- * Prolog
725
- * Evoque
726
- * Modelica
727
- * Rebol
728
- * MXML
729
- * Cython
730
- * ABAP
731
- * ASP.net (VB/C#)
732
- * Vala
733
- * Newspeak
734
-
735
- - Fixed the LaTeX formatter's output so that output generated for one style
736
- can be used with the style definitions of another (#384).
737
-
738
- - Added "anchorlinenos" and "noclobber_cssfile" (#396) options to HTML
739
- formatter.
740
-
741
- - Support multiline strings in Lua lexer.
742
-
743
- - Rewrite of the JavaScript lexer by Pumbaa80 to better support regular
744
- expression literals (#403).
745
-
746
- - When pygmentize is asked to highlight a file for which multiple lexers
747
- match the filename, use the analyse_text guessing engine to determine the
748
- winner (#355).
749
-
750
- - Fixed minor bugs in the JavaScript lexer (#383), the Matlab lexer (#378),
751
- the Scala lexer (#392), the INI lexer (#391), the Clojure lexer (#387)
752
- and the AS3 lexer (#389).
753
-
754
- - Fixed three Perl heredoc lexing bugs (#379, #400, #422).
755
-
756
- - Fixed a bug in the image formatter which misdetected lines (#380).
757
-
758
- - Fixed bugs lexing extended Ruby strings and regexes.
759
-
760
- - Fixed a bug when lexing git diffs.
761
-
762
- - Fixed a bug lexing the empty commit in the PHP lexer (#405).
763
-
764
- - Fixed a bug causing Python numbers to be mishighlighted as floats (#397).
765
-
766
- - Fixed a bug when backslashes are used in odd locations in Python (#395).
767
-
768
- - Fixed various bugs in Matlab and S-Plus lexers, thanks to Winston Chang (#410,
769
- #411, #413, #414) and fmarc (#419).
770
-
771
- - Fixed a bug in Haskell single-line comment detection (#426).
772
-
773
- - Added new-style reStructuredText directive for docutils 0.5+ (#428).
774
-
775
-
776
- Version 1.0
777
- -----------
778
- (codename Dreiundzwanzig, released Nov 23, 2008)
779
-
780
- - Don't use join(splitlines()) when converting newlines to ``\n``,
781
- because that doesn't keep all newlines at the end when the
782
- ``stripnl`` lexer option is False.
783
-
784
- - Added ``-N`` option to command-line interface to get a lexer name
785
- for a given filename.
786
-
787
- - Added Tango style, written by Andre Roberge for the Crunchy project.
788
-
789
- - Added Python3TracebackLexer and ``python3`` option to
790
- PythonConsoleLexer.
791
-
792
- - Fixed a few bugs in the Haskell lexer.
793
-
794
- - Fixed PythonTracebackLexer to be able to recognize SyntaxError and
795
- KeyboardInterrupt (#360).
796
-
797
- - Provide one formatter class per image format, so that surprises like::
798
-
799
- pygmentize -f gif -o foo.gif foo.py
800
-
801
- creating a PNG file are avoided.
802
-
803
- - Actually use the `font_size` option of the image formatter.
804
-
805
- - Fixed numpy lexer that it doesn't listen for `*.py` any longer.
806
-
807
- - Fixed HTML formatter so that text options can be Unicode
808
- strings (#371).
809
-
810
- - Unified Diff lexer supports the "udiff" alias now.
811
-
812
- - Fixed a few issues in Scala lexer (#367).
813
-
814
- - RubyConsoleLexer now supports simple prompt mode (#363).
815
-
816
- - JavascriptLexer is smarter about what constitutes a regex (#356).
817
-
818
- - Add Applescript lexer, thanks to Andreas Amann (#330).
819
-
820
- - Make the codetags more strict about matching words (#368).
821
-
822
- - NginxConfLexer is a little more accurate on mimetypes and
823
- variables (#370).
824
-
825
-
826
- Version 0.11.1
827
- --------------
828
- (released Aug 24, 2008)
829
-
830
- - Fixed a Jython compatibility issue in pygments.unistring (#358).
831
-
832
-
833
- Version 0.11
834
- ------------
835
- (codename Straußenei, released Aug 23, 2008)
836
-
837
- Many thanks go to Tim Hatch for writing or integrating most of the bug
838
- fixes and new features.
839
-
840
- - Lexers added:
841
-
842
- * Nasm-style assembly language, thanks to delroth
843
- * YAML, thanks to Kirill Simonov
844
- * ActionScript 3, thanks to Pierre Bourdon
845
- * Cheetah/Spitfire templates, thanks to Matt Good
846
- * Lighttpd config files
847
- * Nginx config files
848
- * Gnuplot plotting scripts
849
- * Clojure
850
- * POV-Ray scene files
851
- * Sqlite3 interactive console sessions
852
- * Scala source files, thanks to Krzysiek Goj
853
-
854
- - Lexers improved:
855
-
856
- * C lexer highlights standard library functions now and supports C99
857
- types.
858
- * Bash lexer now correctly highlights heredocs without preceding
859
- whitespace.
860
- * Vim lexer now highlights hex colors properly and knows a couple
861
- more keywords.
862
- * Irc logs lexer now handles xchat's default time format (#340) and
863
- correctly highlights lines ending in ``>``.
864
- * Support more delimiters for perl regular expressions (#258).
865
- * ObjectiveC lexer now supports 2.0 features.
866
-
867
- - Added "Visual Studio" style.
868
-
869
- - Updated markdown processor to Markdown 1.7.
870
-
871
- - Support roman/sans/mono style defs and use them in the LaTeX
872
- formatter.
873
-
874
- - The RawTokenFormatter is no longer registered to ``*.raw`` and it's
875
- documented that tokenization with this lexer may raise exceptions.
876
-
877
- - New option ``hl_lines`` to HTML formatter, to highlight certain
878
- lines.
879
-
880
- - New option ``prestyles`` to HTML formatter.
881
-
882
- - New option *-g* to pygmentize, to allow lexer guessing based on
883
- filetext (can be slowish, so file extensions are still checked
884
- first).
885
-
886
- - ``guess_lexer()`` now makes its decision much faster due to a cache
887
- of whether data is xml-like (a check which is used in several
888
- versions of ``analyse_text()``. Several lexers also have more
889
- accurate ``analyse_text()`` now.
890
-
891
-
892
- Version 0.10
893
- ------------
894
- (codename Malzeug, released May 06, 2008)
895
-
896
- - Lexers added:
897
-
898
- * Io
899
- * Smalltalk
900
- * Darcs patches
901
- * Tcl
902
- * Matlab
903
- * Matlab sessions
904
- * FORTRAN
905
- * XSLT
906
- * tcsh
907
- * NumPy
908
- * Python 3
909
- * S, S-plus, R statistics languages
910
- * Logtalk
911
-
912
- - In the LatexFormatter, the *commandprefix* option is now by default
913
- 'PY' instead of 'C', since the latter resulted in several collisions
914
- with other packages. Also, the special meaning of the *arg*
915
- argument to ``get_style_defs()`` was removed.
916
-
917
- - Added ImageFormatter, to format code as PNG, JPG, GIF or BMP.
918
- (Needs the Python Imaging Library.)
919
-
920
- - Support doc comments in the PHP lexer.
921
-
922
- - Handle format specifications in the Perl lexer.
923
-
924
- - Fix comment handling in the Batch lexer.
925
-
926
- - Add more file name extensions for the C++, INI and XML lexers.
927
-
928
- - Fixes in the IRC and MuPad lexers.
929
-
930
- - Fix function and interface name highlighting in the Java lexer.
931
-
932
- - Fix at-rule handling in the CSS lexer.
933
-
934
- - Handle KeyboardInterrupts gracefully in pygmentize.
935
-
936
- - Added BlackWhiteStyle.
937
-
938
- - Bash lexer now correctly highlights math, does not require
939
- whitespace after semicolons, and correctly highlights boolean
940
- operators.
941
-
942
- - Makefile lexer is now capable of handling BSD and GNU make syntax.
943
-
944
-
945
- Version 0.9
946
- -----------
947
- (codename Herbstzeitlose, released Oct 14, 2007)
948
-
949
- - Lexers added:
950
-
951
- * Erlang
952
- * ActionScript
953
- * Literate Haskell
954
- * Common Lisp
955
- * Various assembly languages
956
- * Gettext catalogs
957
- * Squid configuration
958
- * Debian control files
959
- * MySQL-style SQL
960
- * MOOCode
961
-
962
- - Lexers improved:
963
-
964
- * Greatly improved the Haskell and OCaml lexers.
965
- * Improved the Bash lexer's handling of nested constructs.
966
- * The C# and Java lexers exhibited abysmal performance with some
967
- input code; this should now be fixed.
968
- * The IRC logs lexer is now able to colorize weechat logs too.
969
- * The Lua lexer now recognizes multi-line comments.
970
- * Fixed bugs in the D and MiniD lexer.
971
-
972
- - The encoding handling of the command line mode (pygmentize) was
973
- enhanced. You shouldn't get UnicodeErrors from it anymore if you
974
- don't give an encoding option.
975
-
976
- - Added a ``-P`` option to the command line mode which can be used to
977
- give options whose values contain commas or equals signs.
978
-
979
- - Added 256-color terminal formatter.
980
-
981
- - Added an experimental SVG formatter.
982
-
983
- - Added the ``lineanchors`` option to the HTML formatter, thanks to
984
- Ian Charnas for the idea.
985
-
986
- - Gave the line numbers table a CSS class in the HTML formatter.
987
-
988
- - Added a Vim 7-like style.
989
-
990
-
991
- Version 0.8.1
992
- -------------
993
- (released Jun 27, 2007)
994
-
995
- - Fixed POD highlighting in the Ruby lexer.
996
-
997
- - Fixed Unicode class and namespace name highlighting in the C# lexer.
998
-
999
- - Fixed Unicode string prefix highlighting in the Python lexer.
1000
-
1001
- - Fixed a bug in the D and MiniD lexers.
1002
-
1003
- - Fixed the included MoinMoin parser.
1004
-
1005
-
1006
- Version 0.8
1007
- -----------
1008
- (codename Maikäfer, released May 30, 2007)
1009
-
1010
- - Lexers added:
1011
-
1012
- * Haskell, thanks to Adam Blinkinsop
1013
- * Redcode, thanks to Adam Blinkinsop
1014
- * D, thanks to Kirk McDonald
1015
- * MuPad, thanks to Christopher Creutzig
1016
- * MiniD, thanks to Jarrett Billingsley
1017
- * Vim Script, by Tim Hatch
1018
-
1019
- - The HTML formatter now has a second line-numbers mode in which it
1020
- will just integrate the numbers in the same ``<pre>`` tag as the
1021
- code.
1022
-
1023
- - The `CSharpLexer` now is Unicode-aware, which means that it has an
1024
- option that can be set so that it correctly lexes Unicode
1025
- identifiers allowed by the C# specs.
1026
-
1027
- - Added a `RaiseOnErrorTokenFilter` that raises an exception when the
1028
- lexer generates an error token, and a `VisibleWhitespaceFilter` that
1029
- converts whitespace (spaces, tabs, newlines) into visible
1030
- characters.
1031
-
1032
- - Fixed the `do_insertions()` helper function to yield correct
1033
- indices.
1034
-
1035
- - The ReST lexer now automatically highlights source code blocks in
1036
- ".. sourcecode:: language" and ".. code:: language" directive
1037
- blocks.
1038
-
1039
- - Improved the default style (thanks to Tiberius Teng). The old
1040
- default is still available as the "emacs" style (which was an alias
1041
- before).
1042
-
1043
- - The `get_style_defs` method of HTML formatters now uses the
1044
- `cssclass` option as the default selector if it was given.
1045
-
1046
- - Improved the ReST and Bash lexers a bit.
1047
-
1048
- - Fixed a few bugs in the Makefile and Bash lexers, thanks to Tim
1049
- Hatch.
1050
-
1051
- - Fixed a bug in the command line code that disallowed ``-O`` options
1052
- when using the ``-S`` option.
1053
-
1054
- - Fixed a bug in the `RawTokenFormatter`.
1055
-
1056
-
1057
- Version 0.7.1
1058
- -------------
1059
- (released Feb 15, 2007)
1060
-
1061
- - Fixed little highlighting bugs in the Python, Java, Scheme and
1062
- Apache Config lexers.
1063
-
1064
- - Updated the included manpage.
1065
-
1066
- - Included a built version of the documentation in the source tarball.
1067
-
1068
-
1069
- Version 0.7
1070
- -----------
1071
- (codename Faschingskrapfn, released Feb 14, 2007)
1072
-
1073
- - Added a MoinMoin parser that uses Pygments. With it, you get
1074
- Pygments highlighting in Moin Wiki pages.
1075
-
1076
- - Changed the exception raised if no suitable lexer, formatter etc. is
1077
- found in one of the `get_*_by_*` functions to a custom exception,
1078
- `pygments.util.ClassNotFound`. It is, however, a subclass of
1079
- `ValueError` in order to retain backwards compatibility.
1080
-
1081
- - Added a `-H` command line option which can be used to get the
1082
- docstring of a lexer, formatter or filter.
1083
-
1084
- - Made the handling of lexers and formatters more consistent. The
1085
- aliases and filename patterns of formatters are now attributes on
1086
- them.
1087
-
1088
- - Added an OCaml lexer, thanks to Adam Blinkinsop.
1089
-
1090
- - Made the HTML formatter more flexible, and easily subclassable in
1091
- order to make it easy to implement custom wrappers, e.g. alternate
1092
- line number markup. See the documentation.
1093
-
1094
- - Added an `outencoding` option to all formatters, making it possible
1095
- to override the `encoding` (which is used by lexers and formatters)
1096
- when using the command line interface. Also, if using the terminal
1097
- formatter and the output file is a terminal and has an encoding
1098
- attribute, use it if no encoding is given.
1099
-
1100
- - Made it possible to just drop style modules into the `styles`
1101
- subpackage of the Pygments installation.
1102
-
1103
- - Added a "state" keyword argument to the `using` helper.
1104
-
1105
- - Added a `commandprefix` option to the `LatexFormatter` which allows
1106
- to control how the command names are constructed.
1107
-
1108
- - Added quite a few new lexers, thanks to Tim Hatch:
1109
-
1110
- * Java Server Pages
1111
- * Windows batch files
1112
- * Trac Wiki markup
1113
- * Python tracebacks
1114
- * ReStructuredText
1115
- * Dylan
1116
- * and the Befunge esoteric programming language (yay!)
1117
-
1118
- - Added Mako lexers by Ben Bangert.
1119
-
1120
- - Added "fruity" style, another dark background originally vim-based
1121
- theme.
1122
-
1123
- - Added sources.list lexer by Dennis Kaarsemaker.
1124
-
1125
- - Added token stream filters, and a pygmentize option to use them.
1126
-
1127
- - Changed behavior of `in` Operator for tokens.
1128
-
1129
- - Added mimetypes for all lexers.
1130
-
1131
- - Fixed some problems lexing Python strings.
1132
-
1133
- - Fixed tickets: #167, #178, #179, #180, #185, #201.
1134
-
1135
-
1136
- Version 0.6
1137
- -----------
1138
- (codename Zimtstern, released Dec 20, 2006)
1139
-
1140
- - Added option for the HTML formatter to write the CSS to an external
1141
- file in "full document" mode.
1142
-
1143
- - Added RTF formatter.
1144
-
1145
- - Added Bash and Apache configuration lexers (thanks to Tim Hatch).
1146
-
1147
- - Improved guessing methods for various lexers.
1148
-
1149
- - Added `@media` support to CSS lexer (thanks to Tim Hatch).
1150
-
1151
- - Added a Groff lexer (thanks to Tim Hatch).
1152
-
1153
- - License change to BSD.
1154
-
1155
- - Added lexers for the Myghty template language.
1156
-
1157
- - Added a Scheme lexer (thanks to Marek Kubica).
1158
-
1159
- - Added some functions to iterate over existing lexers, formatters and
1160
- lexers.
1161
-
1162
- - The HtmlFormatter's `get_style_defs()` can now take a list as an
1163
- argument to generate CSS with multiple prefixes.
1164
-
1165
- - Support for guessing input encoding added.
1166
-
1167
- - Encoding support added: all processing is now done with Unicode
1168
- strings, input and output are converted from and optionally to byte
1169
- strings (see the ``encoding`` option of lexers and formatters).
1170
-
1171
- - Some improvements in the C(++) lexers handling comments and line
1172
- continuations.
1173
-
1174
-
1175
- Version 0.5.1
1176
- -------------
1177
- (released Oct 30, 2006)
1178
-
1179
- - Fixed traceback in ``pygmentize -L`` (thanks to Piotr Ozarowski).
1180
-
1181
-
1182
- Version 0.5
1183
- -----------
1184
- (codename PyKleur, released Oct 30, 2006)
1185
-
1186
- - Initial public release.