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