ace-rails-ap 4.1.1 → 4.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (352) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ace/rails/version.rb +1 -1
  3. data/vendor/assets/javascripts/ace/ace.js +529 -133
  4. data/vendor/assets/javascripts/ace/ext-beautify.js +0 -0
  5. data/vendor/assets/javascripts/ace/ext-chromevox.js +0 -0
  6. data/vendor/assets/javascripts/ace/ext-elastic_tabstops_lite.js +0 -0
  7. data/vendor/assets/javascripts/ace/ext-emmet.js +17 -12
  8. data/vendor/assets/javascripts/ace/ext-error_marker.js +0 -0
  9. data/vendor/assets/javascripts/ace/ext-keybinding_menu.js +0 -0
  10. data/vendor/assets/javascripts/ace/ext-language_tools.js +12 -4
  11. data/vendor/assets/javascripts/ace/ext-linking.js +0 -0
  12. data/vendor/assets/javascripts/ace/ext-modelist.js +11 -5
  13. data/vendor/assets/javascripts/ace/ext-old_ie.js +1 -0
  14. data/vendor/assets/javascripts/ace/ext-searchbox.js +1 -0
  15. data/vendor/assets/javascripts/ace/ext-settings_menu.js +12 -5
  16. data/vendor/assets/javascripts/ace/ext-spellcheck.js +0 -0
  17. data/vendor/assets/javascripts/ace/ext-split.js +0 -0
  18. data/vendor/assets/javascripts/ace/ext-static_highlight.js +0 -0
  19. data/vendor/assets/javascripts/ace/ext-statusbar.js +0 -0
  20. data/vendor/assets/javascripts/ace/ext-textarea.js +0 -0
  21. data/vendor/assets/javascripts/ace/ext-themelist.js +1 -0
  22. data/vendor/assets/javascripts/ace/ext-whitespace.js +0 -0
  23. data/vendor/assets/javascripts/ace/keybinding-emacs.js +0 -0
  24. data/vendor/assets/javascripts/ace/keybinding-vim.js +28 -18
  25. data/vendor/assets/javascripts/ace/mode-abap.js +4 -4
  26. data/vendor/assets/javascripts/ace/mode-abc.js +1 -0
  27. data/vendor/assets/javascripts/ace/mode-actionscript.js +1 -0
  28. data/vendor/assets/javascripts/ace/mode-ada.js +2 -2
  29. data/vendor/assets/javascripts/ace/mode-apache_conf.js +1 -0
  30. data/vendor/assets/javascripts/ace/mode-applescript.js +2 -2
  31. data/vendor/assets/javascripts/ace/mode-asciidoc.js +1 -1
  32. data/vendor/assets/javascripts/ace/mode-assembly_x86.js +1 -0
  33. data/vendor/assets/javascripts/ace/mode-autohotkey.js +1 -0
  34. data/vendor/assets/javascripts/ace/mode-batchfile.js +1 -0
  35. data/vendor/assets/javascripts/ace/mode-bro.js +327 -0
  36. data/vendor/assets/javascripts/ace/mode-c9search.js +31 -14
  37. data/vendor/assets/javascripts/ace/mode-c_cpp.js +4 -361
  38. data/vendor/assets/javascripts/ace/mode-cirru.js +7 -6
  39. data/vendor/assets/javascripts/ace/mode-clojure.js +4 -3
  40. data/vendor/assets/javascripts/ace/mode-cobol.js +2 -2
  41. data/vendor/assets/javascripts/ace/mode-coffee.js +2 -3
  42. data/vendor/assets/javascripts/ace/mode-coldfusion.js +16 -370
  43. data/vendor/assets/javascripts/ace/mode-csharp.js +0 -357
  44. data/vendor/assets/javascripts/ace/mode-css.js +0 -357
  45. data/vendor/assets/javascripts/ace/mode-curly.js +16 -371
  46. data/vendor/assets/javascripts/ace/mode-d.js +2 -1
  47. data/vendor/assets/javascripts/ace/mode-dart.js +4 -361
  48. data/vendor/assets/javascripts/ace/mode-diff.js +0 -0
  49. data/vendor/assets/javascripts/ace/mode-django.js +15 -369
  50. data/vendor/assets/javascripts/ace/mode-dockerfile.js +3 -360
  51. data/vendor/assets/javascripts/ace/mode-dot.js +2 -1
  52. data/vendor/assets/javascripts/ace/mode-drools.js +459 -0
  53. data/vendor/assets/javascripts/ace/mode-eiffel.js +2 -2
  54. data/vendor/assets/javascripts/ace/mode-ejs.js +19 -373
  55. data/vendor/assets/javascripts/ace/mode-elixir.js +1 -0
  56. data/vendor/assets/javascripts/ace/mode-elm.js +5 -2
  57. data/vendor/assets/javascripts/ace/mode-erlang.js +4 -3
  58. data/vendor/assets/javascripts/ace/mode-forth.js +14 -13
  59. data/vendor/assets/javascripts/ace/mode-fortran.js +423 -0
  60. data/vendor/assets/javascripts/ace/mode-ftl.js +7 -6
  61. data/vendor/assets/javascripts/ace/mode-gcode.js +1 -0
  62. data/vendor/assets/javascripts/ace/mode-gherkin.js +2 -1
  63. data/vendor/assets/javascripts/ace/mode-gitignore.js +1 -0
  64. data/vendor/assets/javascripts/ace/mode-glsl.js +4 -361
  65. data/vendor/assets/javascripts/ace/mode-gobstones.js +8 -365
  66. data/vendor/assets/javascripts/ace/mode-golang.js +0 -357
  67. data/vendor/assets/javascripts/ace/mode-groovy.js +7 -365
  68. data/vendor/assets/javascripts/ace/mode-haml.js +12 -11
  69. data/vendor/assets/javascripts/ace/mode-handlebars.js +15 -371
  70. data/vendor/assets/javascripts/ace/mode-haskell.js +29 -28
  71. data/vendor/assets/javascripts/ace/mode-haskell_cabal.js +134 -0
  72. data/vendor/assets/javascripts/ace/mode-haxe.js +0 -357
  73. data/vendor/assets/javascripts/ace/mode-hjson.js +346 -0
  74. data/vendor/assets/javascripts/ace/mode-html.js +15 -369
  75. data/vendor/assets/javascripts/ace/mode-html_elixir.js +16 -369
  76. data/vendor/assets/javascripts/ace/mode-html_ruby.js +18 -372
  77. data/vendor/assets/javascripts/ace/mode-ini.js +1 -0
  78. data/vendor/assets/javascripts/ace/mode-io.js +3 -3
  79. data/vendor/assets/javascripts/ace/mode-jack.js +0 -357
  80. data/vendor/assets/javascripts/ace/mode-jade.js +11 -12
  81. data/vendor/assets/javascripts/ace/mode-java.js +7 -365
  82. data/vendor/assets/javascripts/ace/mode-javascript.js +7 -365
  83. data/vendor/assets/javascripts/ace/mode-json.js +0 -357
  84. data/vendor/assets/javascripts/ace/mode-jsoniq.js +5 -358
  85. data/vendor/assets/javascripts/ace/mode-jsp.js +6 -363
  86. data/vendor/assets/javascripts/ace/mode-jsx.js +0 -357
  87. data/vendor/assets/javascripts/ace/mode-julia.js +1 -0
  88. data/vendor/assets/javascripts/ace/mode-kotlin.js +786 -0
  89. data/vendor/assets/javascripts/ace/mode-latex.js +2 -2
  90. data/vendor/assets/javascripts/ace/mode-lean.js +0 -0
  91. data/vendor/assets/javascripts/ace/mode-less.js +0 -357
  92. data/vendor/assets/javascripts/ace/mode-liquid.js +9 -9
  93. data/vendor/assets/javascripts/ace/mode-lisp.js +1 -0
  94. data/vendor/assets/javascripts/ace/mode-live_script.js +0 -0
  95. data/vendor/assets/javascripts/ace/mode-livescript.js +0 -0
  96. data/vendor/assets/javascripts/ace/mode-logiql.js +0 -357
  97. data/vendor/assets/javascripts/ace/mode-lsl.js +0 -357
  98. data/vendor/assets/javascripts/ace/mode-lua.js +1 -0
  99. data/vendor/assets/javascripts/ace/mode-luapage.js +16 -369
  100. data/vendor/assets/javascripts/ace/mode-lucene.js +1 -0
  101. data/vendor/assets/javascripts/ace/mode-makefile.js +3 -2
  102. data/vendor/assets/javascripts/ace/mode-markdown.js +17 -370
  103. data/vendor/assets/javascripts/ace/mode-mask.js +10 -367
  104. data/vendor/assets/javascripts/ace/mode-matlab.js +21 -21
  105. data/vendor/assets/javascripts/ace/mode-maze.js +1 -0
  106. data/vendor/assets/javascripts/ace/mode-mel.js +0 -357
  107. data/vendor/assets/javascripts/ace/mode-mips_assembler.js +0 -0
  108. data/vendor/assets/javascripts/ace/mode-mipsassembler.js +0 -0
  109. data/vendor/assets/javascripts/ace/mode-mushcode.js +2 -1
  110. data/vendor/assets/javascripts/ace/mode-mysql.js +2 -2
  111. data/vendor/assets/javascripts/ace/mode-nix.js +5 -361
  112. data/vendor/assets/javascripts/ace/mode-nsis.js +11 -10
  113. data/vendor/assets/javascripts/ace/mode-objectivec.js +9 -8
  114. data/vendor/assets/javascripts/ace/mode-ocaml.js +1 -0
  115. data/vendor/assets/javascripts/ace/mode-pascal.js +1 -0
  116. data/vendor/assets/javascripts/ace/mode-perl.js +3 -3
  117. data/vendor/assets/javascripts/ace/mode-pgsql.js +8 -8
  118. data/vendor/assets/javascripts/ace/mode-php.js +197 -723
  119. data/vendor/assets/javascripts/ace/mode-plain_text.js +0 -0
  120. data/vendor/assets/javascripts/ace/mode-powershell.js +0 -357
  121. data/vendor/assets/javascripts/ace/mode-praat.js +4 -4
  122. data/vendor/assets/javascripts/ace/mode-prolog.js +1 -0
  123. data/vendor/assets/javascripts/ace/mode-properties.js +1 -0
  124. data/vendor/assets/javascripts/ace/mode-protobuf.js +4 -361
  125. data/vendor/assets/javascripts/ace/mode-python.js +2 -1
  126. data/vendor/assets/javascripts/ace/mode-r.js +5 -6
  127. data/vendor/assets/javascripts/ace/mode-razor.js +26 -370
  128. data/vendor/assets/javascripts/ace/mode-rdoc.js +4 -4
  129. data/vendor/assets/javascripts/ace/mode-rhtml.js +17 -371
  130. data/vendor/assets/javascripts/ace/mode-rst.js +3 -3
  131. data/vendor/assets/javascripts/ace/mode-ruby.js +3 -360
  132. data/vendor/assets/javascripts/ace/mode-rust.js +5 -4
  133. data/vendor/assets/javascripts/ace/mode-sass.js +1 -0
  134. data/vendor/assets/javascripts/ace/mode-scad.js +1 -359
  135. data/vendor/assets/javascripts/ace/mode-scala.js +9 -369
  136. data/vendor/assets/javascripts/ace/mode-scheme.js +1 -0
  137. data/vendor/assets/javascripts/ace/mode-scss.js +0 -357
  138. data/vendor/assets/javascripts/ace/mode-sh.js +3 -360
  139. data/vendor/assets/javascripts/ace/mode-sjs.js +7 -365
  140. data/vendor/assets/javascripts/ace/mode-smarty.js +15 -369
  141. data/vendor/assets/javascripts/ace/mode-snippets.js +1 -0
  142. data/vendor/assets/javascripts/ace/mode-soy_template.js +15 -369
  143. data/vendor/assets/javascripts/ace/mode-space.js +1 -0
  144. data/vendor/assets/javascripts/ace/mode-sql.js +2 -2
  145. data/vendor/assets/javascripts/ace/mode-sqlserver.js +2 -2
  146. data/vendor/assets/javascripts/ace/mode-stylus.js +1 -0
  147. data/vendor/assets/javascripts/ace/mode-svg.js +12 -366
  148. data/vendor/assets/javascripts/ace/mode-swift.js +2 -358
  149. data/vendor/assets/javascripts/ace/mode-swig.js +0 -0
  150. data/vendor/assets/javascripts/ace/mode-tcl.js +2 -1
  151. data/vendor/assets/javascripts/ace/mode-tex.js +3 -2
  152. data/vendor/assets/javascripts/ace/mode-text.js +0 -0
  153. data/vendor/assets/javascripts/ace/mode-textile.js +1 -0
  154. data/vendor/assets/javascripts/ace/mode-toml.js +1 -0
  155. data/vendor/assets/javascripts/ace/mode-tsx.js +884 -0
  156. data/vendor/assets/javascripts/ace/mode-twig.js +16 -370
  157. data/vendor/assets/javascripts/ace/mode-typescript.js +8 -366
  158. data/vendor/assets/javascripts/ace/mode-vala.js +1 -358
  159. data/vendor/assets/javascripts/ace/mode-vbscript.js +44 -71
  160. data/vendor/assets/javascripts/ace/mode-velocity.js +15 -369
  161. data/vendor/assets/javascripts/ace/mode-verilog.js +2 -1
  162. data/vendor/assets/javascripts/ace/mode-vhdl.js +2 -2
  163. data/vendor/assets/javascripts/ace/mode-wollok.js +7 -365
  164. data/vendor/assets/javascripts/ace/mode-xml.js +5 -1
  165. data/vendor/assets/javascripts/ace/mode-xquery.js +32 -369
  166. data/vendor/assets/javascripts/ace/mode-yaml.js +4 -3
  167. data/vendor/assets/javascripts/ace/snippets/abap.js +0 -0
  168. data/vendor/assets/javascripts/ace/snippets/abc.js +0 -0
  169. data/vendor/assets/javascripts/ace/snippets/actionscript.js +0 -0
  170. data/vendor/assets/javascripts/ace/snippets/ada.js +0 -0
  171. data/vendor/assets/javascripts/ace/snippets/apache_conf.js +0 -0
  172. data/vendor/assets/javascripts/ace/snippets/applescript.js +0 -0
  173. data/vendor/assets/javascripts/ace/snippets/asciidoc.js +0 -0
  174. data/vendor/assets/javascripts/ace/snippets/assembly_x86.js +0 -0
  175. data/vendor/assets/javascripts/ace/snippets/autohotkey.js +0 -0
  176. data/vendor/assets/javascripts/ace/snippets/batchfile.js +0 -0
  177. data/vendor/assets/javascripts/ace/snippets/bro.js +7 -0
  178. data/vendor/assets/javascripts/ace/snippets/c9search.js +0 -0
  179. data/vendor/assets/javascripts/ace/snippets/c_cpp.js +0 -0
  180. data/vendor/assets/javascripts/ace/snippets/cirru.js +0 -0
  181. data/vendor/assets/javascripts/ace/snippets/clojure.js +0 -0
  182. data/vendor/assets/javascripts/ace/snippets/cobol.js +0 -0
  183. data/vendor/assets/javascripts/ace/snippets/coffee.js +0 -0
  184. data/vendor/assets/javascripts/ace/snippets/coldfusion.js +0 -0
  185. data/vendor/assets/javascripts/ace/snippets/csharp.js +0 -0
  186. data/vendor/assets/javascripts/ace/snippets/css.js +0 -0
  187. data/vendor/assets/javascripts/ace/snippets/curly.js +0 -0
  188. data/vendor/assets/javascripts/ace/snippets/d.js +0 -0
  189. data/vendor/assets/javascripts/ace/snippets/dart.js +0 -0
  190. data/vendor/assets/javascripts/ace/snippets/diff.js +0 -0
  191. data/vendor/assets/javascripts/ace/snippets/django.js +0 -0
  192. data/vendor/assets/javascripts/ace/snippets/dockerfile.js +0 -0
  193. data/vendor/assets/javascripts/ace/snippets/dot.js +0 -0
  194. data/vendor/assets/javascripts/ace/snippets/drools.js +26 -0
  195. data/vendor/assets/javascripts/ace/snippets/eiffel.js +0 -0
  196. data/vendor/assets/javascripts/ace/snippets/ejs.js +0 -0
  197. data/vendor/assets/javascripts/ace/snippets/elixir.js +0 -0
  198. data/vendor/assets/javascripts/ace/snippets/elm.js +0 -0
  199. data/vendor/assets/javascripts/ace/snippets/erlang.js +0 -0
  200. data/vendor/assets/javascripts/ace/snippets/forth.js +0 -0
  201. data/vendor/assets/javascripts/ace/snippets/fortran.js +7 -0
  202. data/vendor/assets/javascripts/ace/snippets/ftl.js +0 -0
  203. data/vendor/assets/javascripts/ace/snippets/gcode.js +0 -0
  204. data/vendor/assets/javascripts/ace/snippets/gherkin.js +0 -0
  205. data/vendor/assets/javascripts/ace/snippets/gitignore.js +0 -0
  206. data/vendor/assets/javascripts/ace/snippets/glsl.js +0 -0
  207. data/vendor/assets/javascripts/ace/snippets/gobstones.js +41 -0
  208. data/vendor/assets/javascripts/ace/snippets/golang.js +0 -0
  209. data/vendor/assets/javascripts/ace/snippets/groovy.js +0 -0
  210. data/vendor/assets/javascripts/ace/snippets/haml.js +0 -0
  211. data/vendor/assets/javascripts/ace/snippets/handlebars.js +0 -0
  212. data/vendor/assets/javascripts/ace/snippets/haskell.js +0 -0
  213. data/vendor/assets/javascripts/ace/snippets/haskell_cabal.js +7 -0
  214. data/vendor/assets/javascripts/ace/snippets/haxe.js +0 -0
  215. data/vendor/assets/javascripts/ace/snippets/hjson.js +7 -0
  216. data/vendor/assets/javascripts/ace/snippets/html.js +0 -0
  217. data/vendor/assets/javascripts/ace/snippets/html_elixir.js +0 -0
  218. data/vendor/assets/javascripts/ace/snippets/html_ruby.js +0 -0
  219. data/vendor/assets/javascripts/ace/snippets/ini.js +0 -0
  220. data/vendor/assets/javascripts/ace/snippets/io.js +0 -0
  221. data/vendor/assets/javascripts/ace/snippets/jack.js +0 -0
  222. data/vendor/assets/javascripts/ace/snippets/jade.js +0 -0
  223. data/vendor/assets/javascripts/ace/snippets/java.js +0 -0
  224. data/vendor/assets/javascripts/ace/snippets/javascript.js +0 -0
  225. data/vendor/assets/javascripts/ace/snippets/json.js +0 -0
  226. data/vendor/assets/javascripts/ace/snippets/jsoniq.js +0 -0
  227. data/vendor/assets/javascripts/ace/snippets/jsp.js +0 -0
  228. data/vendor/assets/javascripts/ace/snippets/jsx.js +0 -0
  229. data/vendor/assets/javascripts/ace/snippets/julia.js +0 -0
  230. data/vendor/assets/javascripts/ace/snippets/kotlin.js +7 -0
  231. data/vendor/assets/javascripts/ace/snippets/latex.js +0 -0
  232. data/vendor/assets/javascripts/ace/snippets/lean.js +0 -0
  233. data/vendor/assets/javascripts/ace/snippets/less.js +0 -0
  234. data/vendor/assets/javascripts/ace/snippets/liquid.js +0 -0
  235. data/vendor/assets/javascripts/ace/snippets/lisp.js +0 -0
  236. data/vendor/assets/javascripts/ace/snippets/live_script.js +0 -0
  237. data/vendor/assets/javascripts/ace/snippets/livescript.js +0 -0
  238. data/vendor/assets/javascripts/ace/snippets/logiql.js +0 -0
  239. data/vendor/assets/javascripts/ace/snippets/lsl.js +0 -0
  240. data/vendor/assets/javascripts/ace/snippets/lua.js +0 -0
  241. data/vendor/assets/javascripts/ace/snippets/luapage.js +0 -0
  242. data/vendor/assets/javascripts/ace/snippets/lucene.js +0 -0
  243. data/vendor/assets/javascripts/ace/snippets/makefile.js +0 -0
  244. data/vendor/assets/javascripts/ace/snippets/markdown.js +0 -0
  245. data/vendor/assets/javascripts/ace/snippets/mask.js +0 -0
  246. data/vendor/assets/javascripts/ace/snippets/matlab.js +0 -0
  247. data/vendor/assets/javascripts/ace/snippets/maze.js +0 -0
  248. data/vendor/assets/javascripts/ace/snippets/mel.js +0 -0
  249. data/vendor/assets/javascripts/ace/snippets/mips_assembler.js +0 -0
  250. data/vendor/assets/javascripts/ace/snippets/mipsassembler.js +0 -0
  251. data/vendor/assets/javascripts/ace/snippets/mushcode.js +0 -0
  252. data/vendor/assets/javascripts/ace/snippets/mysql.js +0 -0
  253. data/vendor/assets/javascripts/ace/snippets/nix.js +0 -0
  254. data/vendor/assets/javascripts/ace/snippets/nsis.js +7 -0
  255. data/vendor/assets/javascripts/ace/snippets/objectivec.js +0 -0
  256. data/vendor/assets/javascripts/ace/snippets/ocaml.js +0 -0
  257. data/vendor/assets/javascripts/ace/snippets/pascal.js +0 -0
  258. data/vendor/assets/javascripts/ace/snippets/perl.js +0 -0
  259. data/vendor/assets/javascripts/ace/snippets/pgsql.js +0 -0
  260. data/vendor/assets/javascripts/ace/snippets/php.js +0 -0
  261. data/vendor/assets/javascripts/ace/snippets/plain_text.js +0 -0
  262. data/vendor/assets/javascripts/ace/snippets/powershell.js +0 -0
  263. data/vendor/assets/javascripts/ace/snippets/praat.js +0 -0
  264. data/vendor/assets/javascripts/ace/snippets/prolog.js +0 -0
  265. data/vendor/assets/javascripts/ace/snippets/properties.js +0 -0
  266. data/vendor/assets/javascripts/ace/snippets/protobuf.js +0 -0
  267. data/vendor/assets/javascripts/ace/snippets/python.js +0 -0
  268. data/vendor/assets/javascripts/ace/snippets/r.js +0 -0
  269. data/vendor/assets/javascripts/ace/snippets/razor.js +10 -0
  270. data/vendor/assets/javascripts/ace/snippets/rdoc.js +0 -0
  271. data/vendor/assets/javascripts/ace/snippets/rhtml.js +0 -0
  272. data/vendor/assets/javascripts/ace/snippets/rst.js +29 -0
  273. data/vendor/assets/javascripts/ace/snippets/ruby.js +0 -0
  274. data/vendor/assets/javascripts/ace/snippets/rust.js +0 -0
  275. data/vendor/assets/javascripts/ace/snippets/sass.js +0 -0
  276. data/vendor/assets/javascripts/ace/snippets/scad.js +0 -0
  277. data/vendor/assets/javascripts/ace/snippets/scala.js +0 -0
  278. data/vendor/assets/javascripts/ace/snippets/scheme.js +0 -0
  279. data/vendor/assets/javascripts/ace/snippets/scss.js +0 -0
  280. data/vendor/assets/javascripts/ace/snippets/sh.js +0 -0
  281. data/vendor/assets/javascripts/ace/snippets/sjs.js +0 -0
  282. data/vendor/assets/javascripts/ace/snippets/smarty.js +0 -0
  283. data/vendor/assets/javascripts/ace/snippets/snippets.js +0 -0
  284. data/vendor/assets/javascripts/ace/snippets/soy_template.js +0 -0
  285. data/vendor/assets/javascripts/ace/snippets/space.js +0 -0
  286. data/vendor/assets/javascripts/ace/snippets/sql.js +0 -0
  287. data/vendor/assets/javascripts/ace/snippets/sqlserver.js +0 -0
  288. data/vendor/assets/javascripts/ace/snippets/stylus.js +0 -0
  289. data/vendor/assets/javascripts/ace/snippets/svg.js +0 -0
  290. data/vendor/assets/javascripts/ace/snippets/swift.js +0 -0
  291. data/vendor/assets/javascripts/ace/snippets/swig.js +0 -0
  292. data/vendor/assets/javascripts/ace/snippets/tcl.js +0 -0
  293. data/vendor/assets/javascripts/ace/snippets/tex.js +0 -0
  294. data/vendor/assets/javascripts/ace/snippets/text.js +0 -0
  295. data/vendor/assets/javascripts/ace/snippets/textile.js +0 -0
  296. data/vendor/assets/javascripts/ace/snippets/toml.js +0 -0
  297. data/vendor/assets/javascripts/ace/snippets/tsx.js +7 -0
  298. data/vendor/assets/javascripts/ace/snippets/twig.js +0 -0
  299. data/vendor/assets/javascripts/ace/snippets/typescript.js +0 -0
  300. data/vendor/assets/javascripts/ace/snippets/vala.js +0 -0
  301. data/vendor/assets/javascripts/ace/snippets/vbscript.js +0 -0
  302. data/vendor/assets/javascripts/ace/snippets/velocity.js +0 -0
  303. data/vendor/assets/javascripts/ace/snippets/verilog.js +0 -0
  304. data/vendor/assets/javascripts/ace/snippets/vhdl.js +0 -0
  305. data/vendor/assets/javascripts/ace/snippets/wollok.js +91 -0
  306. data/vendor/assets/javascripts/ace/snippets/xml.js +0 -0
  307. data/vendor/assets/javascripts/ace/snippets/xquery.js +0 -0
  308. data/vendor/assets/javascripts/ace/snippets/yaml.js +0 -0
  309. data/vendor/assets/javascripts/ace/theme-ambiance.js +0 -0
  310. data/vendor/assets/javascripts/ace/theme-chaos.js +0 -0
  311. data/vendor/assets/javascripts/ace/theme-chrome.js +0 -0
  312. data/vendor/assets/javascripts/ace/theme-clouds.js +0 -0
  313. data/vendor/assets/javascripts/ace/theme-clouds_midnight.js +0 -0
  314. data/vendor/assets/javascripts/ace/theme-cobalt.js +0 -0
  315. data/vendor/assets/javascripts/ace/theme-crimson_editor.js +0 -0
  316. data/vendor/assets/javascripts/ace/theme-dawn.js +0 -0
  317. data/vendor/assets/javascripts/ace/theme-dreamweaver.js +0 -0
  318. data/vendor/assets/javascripts/ace/theme-eclipse.js +0 -0
  319. data/vendor/assets/javascripts/ace/theme-github.js +0 -0
  320. data/vendor/assets/javascripts/ace/theme-idle_fingers.js +0 -0
  321. data/vendor/assets/javascripts/ace/theme-iplastic.js +0 -0
  322. data/vendor/assets/javascripts/ace/theme-katzenmilch.js +0 -0
  323. data/vendor/assets/javascripts/ace/theme-kr_theme.js +0 -0
  324. data/vendor/assets/javascripts/ace/theme-kuroir.js +0 -0
  325. data/vendor/assets/javascripts/ace/theme-merbivore.js +0 -0
  326. data/vendor/assets/javascripts/ace/theme-merbivore_soft.js +0 -0
  327. data/vendor/assets/javascripts/ace/theme-mono_industrial.js +0 -0
  328. data/vendor/assets/javascripts/ace/theme-monokai.js +0 -0
  329. data/vendor/assets/javascripts/ace/theme-pastel_on_dark.js +0 -0
  330. data/vendor/assets/javascripts/ace/theme-solarized_dark.js +0 -0
  331. data/vendor/assets/javascripts/ace/theme-solarized_light.js +0 -0
  332. data/vendor/assets/javascripts/ace/theme-sqlserver.js +0 -0
  333. data/vendor/assets/javascripts/ace/theme-terminal.js +0 -0
  334. data/vendor/assets/javascripts/ace/theme-textmate.js +0 -0
  335. data/vendor/assets/javascripts/ace/theme-tomorrow.js +0 -0
  336. data/vendor/assets/javascripts/ace/theme-tomorrow_night.js +0 -0
  337. data/vendor/assets/javascripts/ace/theme-tomorrow_night_blue.js +0 -0
  338. data/vendor/assets/javascripts/ace/theme-tomorrow_night_bright.js +0 -0
  339. data/vendor/assets/javascripts/ace/theme-tomorrow_night_eighties.js +0 -0
  340. data/vendor/assets/javascripts/ace/theme-twilight.js +0 -0
  341. data/vendor/assets/javascripts/ace/theme-vibrant_ink.js +0 -0
  342. data/vendor/assets/javascripts/ace/theme-xcode.js +0 -0
  343. data/vendor/assets/javascripts/ace/worker-coffee.js +5 -7
  344. data/vendor/assets/javascripts/ace/worker-css.js +20 -22
  345. data/vendor/assets/javascripts/ace/worker-html.js +5 -7
  346. data/vendor/assets/javascripts/ace/worker-javascript.js +6 -8
  347. data/vendor/assets/javascripts/ace/worker-json.js +5 -7
  348. data/vendor/assets/javascripts/ace/worker-lua.js +5 -7
  349. data/vendor/assets/javascripts/ace/worker-php.js +1399 -4118
  350. data/vendor/assets/javascripts/ace/worker-xml.js +5 -7
  351. data/vendor/assets/javascripts/ace/worker-xquery.js +17575 -8836
  352. metadata +21 -2
@@ -9,33 +9,33 @@ var NSISHighlightRules = function() {
9
9
  this.$rules = {
10
10
  start: [{
11
11
  token: "keyword.compiler.nsis",
12
- regex: /(?:\b|^\s*)\!(?:include|addincludedir|addplugindir|appendfile|cd|delfile|echo|error|execute|packhdr|finalize|getdllversion|system|tempfile|warning|verbose|define|undef|insertmacro|macro|macroend|makensis|searchparse|searchreplace)\b/,
12
+ regex: /^\s*!(?:include|addincludedir|addplugindir|appendfile|cd|delfile|echo|error|execute|packhdr|finalize|getdllversion|system|tempfile|warning|verbose|define|undef|insertmacro|macro|macroend|makensis|searchparse|searchreplace)\b/,
13
13
  caseInsensitive: true
14
14
  }, {
15
15
  token: "keyword.command.nsis",
16
- regex: /(?:\b|^\s*)(?:Abort|AddBrandingImage|AddSize|AllowRootDirInstall|AllowSkipFiles|AutoCloseWindow|BGFont|BGGradient|BrandingText|BringToFront|Call|CallInstDLL|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|CreateDirectory|CreateFont|CreateShortCut|Delete|DeleteINISec|DeleteINIStr|DeleteRegKey|DeleteRegValue|DetailPrint|DetailsButtonText|DirText|DirVar|DirVerify|EnableWindow|EnumRegKey|EnumRegValue|Exch|Exec|ExecShell|ExecWait|ExpandEnvStrings|File|FileBufSize|FileClose|FileErrorText|FileOpen|FileRead|FileReadByte|FileReadUTF16LE|FileReadWord|FileWriteUTF16LE|FileSeek|FileWrite|FileWriteByte|FileWriteWord|FindClose|FindFirst|FindNext|FindWindow|FlushINI|GetCurInstType|GetCurrentAddress|GetDlgItem|GetDLLVersion|GetDLLVersionLocal|GetErrorLevel|GetFileTime|GetFileTimeLocal|GetFullPathName|GetFunctionAddress|GetInstDirError|GetLabelAddress|GetTempFileName|Goto|HideWindow|Icon|IfAbort|IfErrors|IfFileExists|IfRebootFlag|IfSilent|InitPluginsDir|InstallButtonText|InstallColors|InstallDir|InstallDirRegKey|InstProgressFlags|InstType|InstTypeGetText|InstTypeSetText|IntCmp|IntCmpU|IntFmt|IntOp|IsWindow|LangString|LicenseBkColor|LicenseData|LicenseForceSelection|LicenseLangString|LicenseText|LoadLanguageFile|LockWindow|LogSet|LogText|ManifestDPIAware|ManifestSupportedOS|MessageBox|MiscButtonText|Name|Nop|OutFile|Page|PageCallbacks|Pop|Push|Quit|ReadEnvStr|ReadINIStr|ReadRegDWORD|ReadRegStr|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|SectionGetFlags|SectionGetInstTypes|SectionGetSize|SectionGetText|SectionIn|SectionSetFlags|SectionSetInstTypes|SectionSetSize|SectionSetText|SendMessage|SetAutoClose|SetBrandingImage|SetCompress|SetCompressor|SetCompressorDictSize|SetCtlColors|SetCurInstType|SetDatablockOptimize|SetDateSave|SetDetailsPrint|SetDetailsView|SetErrorLevel|SetErrors|SetFileAttributes|SetFont|SetOutPath|SetOverwrite|SetPluginUnload|SetRebootFlag|SetRegView|SetShellVarContext|SetSilent|ShowInstDetails|ShowUninstDetails|ShowWindow|SilentInstall|SilentUnInstall|Sleep|SpaceTexts|StrCmp|StrCmpS|StrCpy|StrLen|SubCaption|Unicode|UninstallButtonText|UninstallCaption|UninstallIcon|UninstallSubCaption|UninstallText|UninstPage|UnRegDLL|Var|VIAddVersionKey|VIFileVersion|VIProductVersion|WindowIcon|WriteINIStr|WriteRegBin|WriteRegDWORD|WriteRegExpandStr|WriteRegStr|WriteUninstaller|XPStyle)\b/,
16
+ regex: /^\s*(?:Abort|AddBrandingImage|AddSize|AllowRootDirInstall|AllowSkipFiles|AutoCloseWindow|BGFont|BGGradient|BrandingText|BringToFront|Call|CallInstDLL|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|CreateDirectory|CreateFont|CreateShortCut|Delete|DeleteINISec|DeleteINIStr|DeleteRegKey|DeleteRegValue|DetailPrint|DetailsButtonText|DirText|DirVar|DirVerify|EnableWindow|EnumRegKey|EnumRegValue|Exch|Exec|ExecShell|ExecWait|ExpandEnvStrings|File|FileBufSize|FileClose|FileErrorText|FileOpen|FileRead|FileReadByte|FileReadUTF16LE|FileReadWord|FileWriteUTF16LE|FileSeek|FileWrite|FileWriteByte|FileWriteWord|FindClose|FindFirst|FindNext|FindWindow|FlushINI|GetCurInstType|GetCurrentAddress|GetDlgItem|GetDLLVersion|GetDLLVersionLocal|GetErrorLevel|GetFileTime|GetFileTimeLocal|GetFullPathName|GetFunctionAddress|GetInstDirError|GetLabelAddress|GetTempFileName|Goto|HideWindow|Icon|IfAbort|IfErrors|IfFileExists|IfRebootFlag|IfSilent|InitPluginsDir|InstallButtonText|InstallColors|InstallDir|InstallDirRegKey|InstProgressFlags|InstType|InstTypeGetText|InstTypeSetText|IntCmp|IntCmpU|IntFmt|IntOp|IsWindow|LangString|LicenseBkColor|LicenseData|LicenseForceSelection|LicenseLangString|LicenseText|LoadLanguageFile|LockWindow|LogSet|LogText|ManifestDPIAware|ManifestSupportedOS|MessageBox|MiscButtonText|Name|Nop|OutFile|Page|PageCallbacks|Pop|Push|Quit|ReadEnvStr|ReadINIStr|ReadRegDWORD|ReadRegStr|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|SectionGetFlags|SectionGetInstTypes|SectionGetSize|SectionGetText|SectionIn|SectionSetFlags|SectionSetInstTypes|SectionSetSize|SectionSetText|SendMessage|SetAutoClose|SetBrandingImage|SetCompress|SetCompressor|SetCompressorDictSize|SetCtlColors|SetCurInstType|SetDatablockOptimize|SetDateSave|SetDetailsPrint|SetDetailsView|SetErrorLevel|SetErrors|SetFileAttributes|SetFont|SetOutPath|SetOverwrite|SetRebootFlag|SetRegView|SetShellVarContext|SetSilent|ShowInstDetails|ShowUninstDetails|ShowWindow|SilentInstall|SilentUnInstall|Sleep|SpaceTexts|StrCmp|StrCmpS|StrCpy|StrLen|SubCaption|Unicode|UninstallButtonText|UninstallCaption|UninstallIcon|UninstallSubCaption|UninstallText|UninstPage|UnRegDLL|Var|VIAddVersionKey|VIFileVersion|VIProductVersion|WindowIcon|WriteINIStr|WriteRegBin|WriteRegDWORD|WriteRegExpandStr|WriteRegStr|WriteUninstaller|XPStyle)\b/,
17
17
  caseInsensitive: true
18
18
  }, {
19
19
  token: "keyword.control.nsis",
20
- regex: /(?:\b|^\s*)\!(?:ifdef|ifndef|if|ifmacrodef|ifmacrondef|else|endif)\b/,
20
+ regex: /^\s*!(?:ifdef|ifndef|if|ifmacrodef|ifmacrondef|else|endif)\b/,
21
21
  caseInsensitive: true
22
22
  }, {
23
23
  token: "keyword.plugin.nsis",
24
- regex: /(?:\b|^\s*)\w+\:\:\w+/,
24
+ regex: /^\s*\w+::\w+/,
25
25
  caseInsensitive: true
26
26
  }, {
27
27
  token: "keyword.operator.comparison.nsis",
28
28
  regex: /[!<>]?=|<>|<|>/
29
29
  }, {
30
30
  token: "support.function.nsis",
31
- regex: /(?:\b|^\s*)(?:Function|FunctionEnd|Section|SectionEnd|SectionGroup|SectionGroupEnd|SubSection|SubSectionEnd|PageEx|PageExEnd)\b/,
31
+ regex: /(?:\b|^\s*)(?:Function|FunctionEnd|Section|SectionEnd|SectionGroup|SectionGroupEnd|PageEx|PageExEnd)\b/,
32
32
  caseInsensitive: true
33
33
  }, {
34
34
  token: "support.library.nsis",
35
- regex: /\${[\w]+}/
35
+ regex: /\${[\w\.:-]+}/
36
36
  }, {
37
37
  token: "constant.nsis",
38
- regex: /(?:\b|^\s*)(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HIDDEN|HKCC|HKCR|HKCU|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM|HKPD|HKU|IDABORT|IDCANCEL|IDD_DIR|IDD_INST|IDD_INSTFILES|IDD_LICENSE|IDD_SELCOM|IDD_UNINST|IDD_VERIFY|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL|SYSTEM|TEMPORARY)\b/,
38
+ regex: /\b(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HIDDEN|HKCC|HKCR|HKCU|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM|HKPD|HKU|IDABORT|IDCANCEL|IDD_DIR|IDD_INST|IDD_INSTFILES|IDD_LICENSE|IDD_SELCOM|IDD_UNINST|IDD_VERIFY|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL|SYSTEM|TEMPORARY)\b/,
39
39
  caseInsensitive: true
40
40
  }, {
41
41
  token: "constant.library.nsis",
@@ -52,14 +52,14 @@ var NSISHighlightRules = function() {
52
52
  caseInsensitive: true
53
53
  }, {
54
54
  token: "constant.language.slash-option.nsis",
55
- regex: /\/(?:a|BRANDING|CENTER|COMPONENTSONLYONCUSTOM|CUSTOMSTRING\=|date|e|ENABLECANCEL|FILESONLY|file|FINAL|GLOBAL|gray|ifempty|ifndef|ignorecase|IMGID\=|ITALIC|LANG\=|NOCUSTOM|noerrors|NONFATAL|nonfatal|oname\=|o|REBOOTOK|redef|RESIZETOFIT|r|SHORT|SILENT|SOLID|STRIKE|TRIM|UNDERLINE|utcdate|windows|x)\b/,
55
+ regex: /\b\/(?:a|BRANDING|CENTER|COMPONENTSONLYONCUSTOM|CUSTOMSTRING=|date|e|ENABLECANCEL|FILESONLY|file|FINAL|GLOBAL|gray|ifempty|ifndef|ignorecase|IMGID=|ITALIC|LANG=|NOCUSTOM|noerrors|NONFATAL|nonfatal|oname=|o|REBOOTOK|redef|RESIZETOFIT|r|SHORT|SILENT|SOLID|STRIKE|TRIM|UNDERLINE|utcdate|windows|x)\b/,
56
56
  caseInsensitive: true
57
57
  }, {
58
58
  token: "constant.numeric.nsis",
59
59
  regex: /\b(?:0(?:x|X)[0-9a-fA-F]+|[0-9]+(?:\.[0-9]+)?)\b/
60
60
  }, {
61
61
  token: "entity.name.function.nsis",
62
- regex: /\${[\w]+}/
62
+ regex: /\$\([\w\.:-]+\)/
63
63
  }, {
64
64
  token: "storage.type.function.nsis",
65
65
  regex: /\$[\w]+/
@@ -120,7 +120,7 @@ var NSISHighlightRules = function() {
120
120
  }]
121
121
  }, {
122
122
  token: "text",
123
- regex: /(?:\!include|\!insertmacro)\b/
123
+ regex: /(?:!include|!insertmacro)\b/
124
124
  }]
125
125
  };
126
126
 
@@ -291,6 +291,7 @@ var FoldMode = require("./folding/cstyle").FoldMode;
291
291
  var Mode = function() {
292
292
  this.HighlightRules = NSISHighlightRules;
293
293
  this.foldingRules = new FoldMode();
294
+ this.$behaviour = this.$defaultBehaviour;
294
295
  };
295
296
  oop.inherits(Mode, TextMode);
296
297
 
@@ -93,7 +93,7 @@ var c_cppHighlightRules = function() {
93
93
  "constant.language": builtinConstants
94
94
  }, "identifier");
95
95
 
96
- var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\d\\$_\u00a1-\uffff]*\\b";
96
+ var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\\d\\$_\u00a1-\uffff]*\\b";
97
97
  var escapeRe = /\\(?:['"?\\abfnrtv]|[0-7]{1,3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}U[a-fA-F\d]{8}|.)/.source;
98
98
 
99
99
  this.$rules = {
@@ -114,7 +114,7 @@ var c_cppHighlightRules = function() {
114
114
  next : "comment"
115
115
  }, {
116
116
  token : "string", // character
117
- regex : "'(?:" + escapeRe + "|.)'"
117
+ regex : "'(?:" + escapeRe + "|.)?'"
118
118
  }, {
119
119
  token : "string.start",
120
120
  regex : '"',
@@ -152,10 +152,10 @@ var c_cppHighlightRules = function() {
152
152
  regex : cFunctions
153
153
  }, {
154
154
  token : keywordMapper,
155
- regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
155
+ regex : "[a-zA-Z_$][a-zA-Z0-9_$]*"
156
156
  }, {
157
157
  token : "keyword.operator",
158
- regex : "!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|==|=|!=|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^=|\\b(?:in|new|delete|typeof|void)"
158
+ regex : /--|\+\+|<<=|>>=|>>>=|<>|&&|\|\||\?:|[*%\/+\-&\^|~!<>=]=?/
159
159
  }, {
160
160
  token : "punctuation.operator",
161
161
  regex : "\\?|\\:|\\,|\\;|\\."
@@ -456,7 +456,7 @@ var ObjectiveCHighlightRules = function() {
456
456
  "bracketed_content": [
457
457
  {
458
458
  token: "punctuation.section.scope.end.objc",
459
- regex: "\]",
459
+ regex: "]",
460
460
  next: "start"
461
461
  },
462
462
  {
@@ -466,14 +466,14 @@ var ObjectiveCHighlightRules = function() {
466
466
  },
467
467
  {
468
468
  token: "support.function.any-method.objc",
469
- regex: "\\w+(?::|(?=\]))",
469
+ regex: "\\w+(?::|(?=]))",
470
470
  next: "start"
471
471
  }
472
472
  ],
473
473
  "bracketed_strings": [
474
474
  {
475
475
  token: "punctuation.section.scope.end.objc",
476
- regex: "\]",
476
+ regex: "]",
477
477
  next: "start"
478
478
  },
479
479
  {
@@ -482,7 +482,7 @@ var ObjectiveCHighlightRules = function() {
482
482
  },
483
483
  {
484
484
  token: ["invalid.illegal.unknown-method.objc", "punctuation.separator.arguments.objc"],
485
- regex: "\\b(\w+)(:)"
485
+ regex: "\\b(\\w+)(:)"
486
486
  },
487
487
  {
488
488
  regex: "\\b(?:ALL|ANY|SOME|NONE)\\b",
@@ -713,6 +713,7 @@ var CStyleFoldMode = require("./folding/cstyle").FoldMode;
713
713
  var Mode = function() {
714
714
  this.HighlightRules = ObjectiveCHighlightRules;
715
715
  this.foldingRules = new CStyleFoldMode();
716
+ this.$behaviour = this.$defaultBehaviour;
716
717
  };
717
718
  oop.inherits(Mode, TextMode);
718
719
 
@@ -357,6 +357,7 @@ var Range = require("../range").Range;
357
357
 
358
358
  var Mode = function() {
359
359
  this.HighlightRules = OcamlHighlightRules;
360
+ this.$behaviour = this.$defaultBehaviour;
360
361
 
361
362
  this.$outdent = new MatchingBraceOutdent();
362
363
  };
@@ -179,6 +179,7 @@ var FoldMode = require("./folding/coffee").FoldMode;
179
179
  var Mode = function() {
180
180
  this.HighlightRules = PascalHighlightRules;
181
181
  this.foldingRules = new FoldMode();
182
+ this.$behaviour = this.$defaultBehaviour;
182
183
  };
183
184
  oop.inherits(Mode, TextMode);
184
185
 
@@ -311,14 +311,13 @@ oop.inherits(FoldMode, BaseFoldMode);
311
311
 
312
312
  });
313
313
 
314
- define("ace/mode/perl",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/perl_highlight_rules","ace/mode/matching_brace_outdent","ace/range","ace/mode/folding/cstyle"], function(require, exports, module) {
314
+ define("ace/mode/perl",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/perl_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle"], function(require, exports, module) {
315
315
  "use strict";
316
316
 
317
317
  var oop = require("../lib/oop");
318
318
  var TextMode = require("./text").Mode;
319
319
  var PerlHighlightRules = require("./perl_highlight_rules").PerlHighlightRules;
320
320
  var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent;
321
- var Range = require("../range").Range;
322
321
  var CStyleFoldMode = require("./folding/cstyle").FoldMode;
323
322
 
324
323
  var Mode = function() {
@@ -326,6 +325,7 @@ var Mode = function() {
326
325
 
327
326
  this.$outdent = new MatchingBraceOutdent();
328
327
  this.foldingRules = new CStyleFoldMode({start: "^=(begin|item)\\b", end: "^=(cut)\\b"});
328
+ this.$behaviour = this.$defaultBehaviour;
329
329
  };
330
330
  oop.inherits(Mode, TextMode);
331
331
 
@@ -349,7 +349,7 @@ oop.inherits(Mode, TextMode);
349
349
  }
350
350
 
351
351
  if (state == "start") {
352
- var match = line.match(/^.*[\{\(\[\:]\s*$/);
352
+ var match = line.match(/^.*[\{\(\[:]\s*$/);
353
353
  if (match) {
354
354
  indent += tab;
355
355
  }
@@ -411,7 +411,7 @@ define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/
411
411
  var oop = require("../lib/oop");
412
412
  var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules;
413
413
  var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
414
- var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\\d\\$_\u00a1-\uffff]*\\b";
414
+ var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\\d\\$_\u00a1-\uffff]*";
415
415
 
416
416
  var JavaScriptHighlightRules = function(options) {
417
417
  var keywordMapper = this.createKeywordMapper({
@@ -427,9 +427,9 @@ var JavaScriptHighlightRules = function(options) {
427
427
  "JSON|Math|" + // Other
428
428
  "this|arguments|prototype|window|document" , // Pseudo
429
429
  "keyword":
430
- "const|yield|import|get|set|" +
430
+ "const|yield|import|get|set|async|await|" +
431
431
  "break|case|catch|continue|default|delete|do|else|finally|for|function|" +
432
- "if|in|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|" +
432
+ "if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|" +
433
433
  "__parent__|__count__|escape|unescape|with|__proto__|" +
434
434
  "class|enum|extends|super|export|implements|private|public|interface|package|protected|static",
435
435
  "storage.type":
@@ -535,7 +535,7 @@ var JavaScriptHighlightRules = function(options) {
535
535
  next : "property"
536
536
  }, {
537
537
  token : "keyword.operator",
538
- regex : /--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?\:|[!$%&*+\-~\/^]=?/,
538
+ regex : /--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,
539
539
  next : "start"
540
540
  }, {
541
541
  token : "punctuation.operator",
@@ -736,7 +736,7 @@ var JavaScriptHighlightRules = function(options) {
736
736
  }]
737
737
  });
738
738
 
739
- if (!options || !options.noJSX)
739
+ if (!options || options.jsx != false)
740
740
  JSX.call(this);
741
741
  }
742
742
 
@@ -1458,15 +1458,15 @@ oop.inherits(PgsqlHighlightRules, TextHighlightRules);
1458
1458
  exports.PgsqlHighlightRules = PgsqlHighlightRules;
1459
1459
  });
1460
1460
 
1461
- define("ace/mode/pgsql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/pgsql_highlight_rules","ace/range"], function(require, exports, module) {
1461
+ define("ace/mode/pgsql",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/pgsql_highlight_rules"], function(require, exports, module) {
1462
1462
 
1463
1463
  var oop = require("../lib/oop");
1464
1464
  var TextMode = require("../mode/text").Mode;
1465
1465
  var PgsqlHighlightRules = require("./pgsql_highlight_rules").PgsqlHighlightRules;
1466
- var Range = require("../range").Range;
1467
1466
 
1468
1467
  var Mode = function() {
1469
1468
  this.HighlightRules = PgsqlHighlightRules;
1469
+ this.$behaviour = this.$defaultBehaviour;
1470
1470
  };
1471
1471
  oop.inherits(Mode, TextMode);
1472
1472
 
@@ -1480,7 +1480,7 @@ oop.inherits(Mode, TextMode);
1480
1480
  } else {
1481
1481
  return this.$getIndent(line); // Keep whatever indent the previous line has
1482
1482
  }
1483
- }
1483
+ };
1484
1484
 
1485
1485
  this.$id = "ace/mode/pgsql";
1486
1486
  }).call(Mode.prototype);
@@ -198,7 +198,7 @@ define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/
198
198
  var oop = require("../lib/oop");
199
199
  var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules;
200
200
  var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
201
- var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\\d\\$_\u00a1-\uffff]*\\b";
201
+ var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\\d\\$_\u00a1-\uffff]*";
202
202
 
203
203
  var JavaScriptHighlightRules = function(options) {
204
204
  var keywordMapper = this.createKeywordMapper({
@@ -214,9 +214,9 @@ var JavaScriptHighlightRules = function(options) {
214
214
  "JSON|Math|" + // Other
215
215
  "this|arguments|prototype|window|document" , // Pseudo
216
216
  "keyword":
217
- "const|yield|import|get|set|" +
217
+ "const|yield|import|get|set|async|await|" +
218
218
  "break|case|catch|continue|default|delete|do|else|finally|for|function|" +
219
- "if|in|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|" +
219
+ "if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|" +
220
220
  "__parent__|__count__|escape|unescape|with|__proto__|" +
221
221
  "class|enum|extends|super|export|implements|private|public|interface|package|protected|static",
222
222
  "storage.type":
@@ -322,7 +322,7 @@ var JavaScriptHighlightRules = function(options) {
322
322
  next : "property"
323
323
  }, {
324
324
  token : "keyword.operator",
325
- regex : /--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?\:|[!$%&*+\-~\/^]=?/,
325
+ regex : /--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,
326
326
  next : "start"
327
327
  }, {
328
328
  token : "punctuation.operator",
@@ -523,7 +523,7 @@ var JavaScriptHighlightRules = function(options) {
523
523
  }]
524
524
  });
525
525
 
526
- if (!options || !options.noJSX)
526
+ if (!options || options.jsx != false)
527
527
  JSX.call(this);
528
528
  }
529
529
 
@@ -942,7 +942,7 @@ var HtmlHighlightRules = function() {
942
942
  });
943
943
 
944
944
  this.embedTagRules(CssHighlightRules, "css-", "style");
945
- this.embedTagRules(new JavaScriptHighlightRules({noJSX: true}).getRules(), "js-", "script");
945
+ this.embedTagRules(new JavaScriptHighlightRules({jsx: false}).getRules(), "js-", "script");
946
946
 
947
947
  if (this.constructor === HtmlHighlightRules)
948
948
  this.normalizeRules();
@@ -1430,11 +1430,26 @@ var PhpLangHighlightRules = function() {
1430
1430
  'mysql_field_name|mysql_field_seek|mysql_field_table|mysql_field_type|mysql_free_result|mysql_get_client_info|mysql_get_host_info|' +
1431
1431
  'mysql_get_proto_info|mysql_get_server_info|mysql_info|mysql_insert_id|mysql_list_dbs|mysql_list_fields|mysql_list_processes|' +
1432
1432
  'mysql_list_tables|mysql_num_fields|mysql_num_rows|mysql_pconnect|mysql_ping|mysql_query|mysql_real_escape_string|mysql_result|' +
1433
- 'mysql_select_db|mysql_set_charset|mysql_stat|mysql_tablename|mysql_thread_id|mysql_unbuffered_query|mysqli|mysqli_bind_param|' +
1434
- 'mysqli_bind_result|mysqli_client_encoding|mysqli_connect|mysqli_disable_reads_from_master|mysqli_disable_rpl_parse|mysqli_driver|' +
1435
- 'mysqli_enable_reads_from_master|mysqli_enable_rpl_parse|mysqli_escape_string|mysqli_execute|mysqli_fetch|mysqli_get_metadata|' +
1436
- 'mysqli_master_query|mysqli_param_count|mysqli_report|mysqli_result|mysqli_rpl_parse_enabled|mysqli_rpl_probe|mysqli_rpl_query_type|' +
1437
- 'mysqli_send_long_data|mysqli_send_query|mysqli_set_opt|mysqli_slave_query|mysqli_stmt|mysqli_warning|mysqlnd_ms_get_stats|' +
1433
+ 'mysql_select_db|mysql_set_charset|mysql_stat|mysql_tablename|mysql_thread_id|mysql_unbuffered_query|mysqli|mysqli_affected_rows|' +
1434
+ 'mysqli_autocommit|mysqli_bind_param|mysqli_bind_result|mysqli_cache_stats|mysqli_change_user|mysqli_character_set_name|' +
1435
+ 'mysqli_client_encoding|mysqli_close|mysqli_commit|mysqli_connect|mysqli_connect_errno|mysqli_connect_error|mysqli_data_seek|' +
1436
+ 'mysqli_debug|mysqli_disable_reads_from_master|mysqli_disable_rpl_parse|mysqli_driver|mysqli_dump_debug_info|mysqli_embedded_server_end|' +
1437
+ 'mysqli_embedded_server_start|mysqli_enable_reads_from_master|mysqli_enable_rpl_parse|mysqli_errno|mysqli_error|mysqli_escape_string|' +
1438
+ 'mysqli_execute|mysqli_fetch|mysqli_fetch_all|mysqli_fetch_array|mysqli_fetch_assoc|mysqli_fetch_field|mysqli_fetch_field_direct|' +
1439
+ 'mysqli_fetch_fields|mysqli_fetch_lengths|mysqli_fetch_object|mysqli_fetch_row|mysqli_field_count|mysqli_field_seek|mysqli_field_tell|' +
1440
+ 'mysqli_free_result|mysqli_get_charset|mysqli_get_client_info|mysqli_get_client_stats|mysqli_get_client_version|mysqli_get_connection_stats|' +
1441
+ 'mysqli_get_host_info|mysqli_get_metadata|mysqli_get_proto_info|mysqli_get_server_info|mysqli_get_server_version|mysqli_get_warnings|' +
1442
+ 'mysqli_info|mysqli_init|mysqli_insert_id|mysqli_kill|mysqli_link_construct|mysqli_master_query|mysqli_more_results|mysqli_multi_query|' +
1443
+ 'mysqli_next_result|mysqli_num_fields|mysqli_num_rows|mysqli_options|mysqli_param_count|mysqli_ping|mysqli_poll|mysqli_prepare|' +
1444
+ 'mysqli_query|mysqli_real_connect|mysqli_real_escape_string|mysqli_real_query|mysqli_reap_async_query|mysqli_refresh|mysqli_report|' +
1445
+ 'mysqli_result|mysqli_rollback|mysqli_rpl_parse_enabled|mysqli_rpl_probe|mysqli_rpl_query_type|mysqli_select_db|mysqli_send_long_data|' +
1446
+ 'mysqli_send_query|mysqli_set_charset|mysqli_set_local_infile_default|mysqli_set_local_infile_handler|mysqli_set_opt|mysqli_slave_query|' +
1447
+ 'mysqli_sqlstate|mysqli_ssl_set|mysqli_stat|mysqli_stmt|mysqli_stmt_affected_rows|mysqli_stmt_attr_get|mysqli_stmt_attr_set|' +
1448
+ 'mysqli_stmt_bind_param|mysqli_stmt_bind_result|mysqli_stmt_close|mysqli_stmt_data_seek|mysqli_stmt_errno|mysqli_stmt_error|' +
1449
+ 'mysqli_stmt_execute|mysqli_stmt_fetch|mysqli_stmt_field_count|mysqli_stmt_free_result|mysqli_stmt_get_result|mysqli_stmt_get_warnings|' +
1450
+ 'mysqli_stmt_init|mysqli_stmt_insert_id|mysqli_stmt_next_result|mysqli_stmt_num_rows|mysqli_stmt_param_count|mysqli_stmt_prepare|' +
1451
+ 'mysqli_stmt_reset|mysqli_stmt_result_metadata|mysqli_stmt_send_long_data|mysqli_stmt_sqlstate|mysqli_stmt_store_result|mysqli_store_result|' +
1452
+ 'mysqli_thread_id|mysqli_thread_safe|mysqli_use_result|mysqli_warning|mysqli_warning_count|mysqlnd_ms_get_stats|' +
1438
1453
  'mysqlnd_ms_query_is_select|mysqlnd_ms_set_user_pick_server|mysqlnd_qc_change_handler|mysqlnd_qc_clear_cache|mysqlnd_qc_get_cache_info|' +
1439
1454
  'mysqlnd_qc_get_core_stats|mysqlnd_qc_get_handler|mysqlnd_qc_get_query_trace_log|mysqlnd_qc_set_user_handlers|natcasesort|natsort|' +
1440
1455
  'ncurses_addch|ncurses_addchnstr|ncurses_addchstr|ncurses_addnstr|ncurses_addstr|ncurses_assume_default_colors|ncurses_attroff|' +
@@ -1766,7 +1781,7 @@ var PhpLangHighlightRules = function() {
1766
1781
  );
1767
1782
 
1768
1783
  var builtinConstants = lang.arrayToMap(
1769
- ('true|false|null|__CLASS__|__DIR__|__FILE__|__LINE__|__METHOD__|__FUNCTION__|__NAMESPACE__').split('|')
1784
+ ('true|TRUE|false|FALSE|null|NULL|__CLASS__|__DIR__|__FILE__|__LINE__|__METHOD__|__FUNCTION__|__NAMESPACE__').split('|')
1770
1785
  );
1771
1786
 
1772
1787
  var builtinVariables = lang.arrayToMap(
@@ -2304,7 +2319,7 @@ var functionMap = {
2304
2319
  ],
2305
2320
  "array_rand": [
2306
2321
  "mixed array_rand(array input [, int num_req])",
2307
- "Return key\/keys for random entry\/entries in the array"
2322
+ "Return key/keys for random entry/entries in the array"
2308
2323
  ],
2309
2324
  "array_reduce": [
2310
2325
  "mixed array_reduce(array input, mixed callback [, mixed initial])",
@@ -2408,7 +2423,7 @@ var functionMap = {
2408
2423
  ],
2409
2424
  "assert_options": [
2410
2425
  "mixed assert_options(int what [, mixed value])",
2411
- "Set\/get the various assert flags"
2426
+ "Set/get the various assert flags"
2412
2427
  ],
2413
2428
  "atan": [
2414
2429
  "float atan(float number)",
@@ -2416,7 +2431,7 @@ var functionMap = {
2416
2431
  ],
2417
2432
  "atan2": [
2418
2433
  "float atan2(float y, float x)",
2419
- "Returns the arc tangent of y\/x, with the resulting quadrant determined by the signs of y and x"
2434
+ "Returns the arc tangent of y/x, with the resulting quadrant determined by the signs of y and x"
2420
2435
  ],
2421
2436
  "atanh": [
2422
2437
  "float atanh(float number)",
@@ -2792,7 +2807,7 @@ var functionMap = {
2792
2807
  ],
2793
2808
  "cosh": [
2794
2809
  "float cosh(float number)",
2795
- "Returns the hyperbolic cosine of the number, defined as (exp(number) + exp(-number))\/2"
2810
+ "Returns the hyperbolic cosine of the number, defined as (exp(number) + exp(-number))/2"
2796
2811
  ],
2797
2812
  "count": [
2798
2813
  "int count(mixed var [, int mode])",
@@ -2936,7 +2951,7 @@ var functionMap = {
2936
2951
  ],
2937
2952
  "date": [
2938
2953
  "string date(string format [, long timestamp])",
2939
- "Format a local date\/time"
2954
+ "Format a local date/time"
2940
2955
  ],
2941
2956
  "date_add": [
2942
2957
  "DateTime date_add(DateTime object, DateInterval interval)",
@@ -2956,11 +2971,11 @@ var functionMap = {
2956
2971
  ],
2957
2972
  "date_default_timezone_get": [
2958
2973
  "string date_default_timezone_get()",
2959
- "Gets the default timezone used by all date\/time functions in a script"
2974
+ "Gets the default timezone used by all date/time functions in a script"
2960
2975
  ],
2961
2976
  "date_default_timezone_set": [
2962
2977
  "bool date_default_timezone_set(string timezone_identifier)",
2963
- "Sets the default timezone used by all date\/time functions in a script"
2978
+ "Sets the default timezone used by all date/time functions in a script"
2964
2979
  ],
2965
2980
  "date_diff": [
2966
2981
  "DateInterval date_diff(DateTime object [, bool absolute])",
@@ -2972,7 +2987,7 @@ var functionMap = {
2972
2987
  ],
2973
2988
  "date_get_last_errors": [
2974
2989
  "array date_get_last_errors()",
2975
- "Returns the warnings and errors found while parsing a date\/time string."
2990
+ "Returns the warnings and errors found while parsing a date/time string."
2976
2991
  ],
2977
2992
  "date_interval_create_from_date_string": [
2978
2993
  "DateInterval date_interval_create_from_date_string(string time)",
@@ -3008,7 +3023,7 @@ var functionMap = {
3008
3023
  ],
3009
3024
  "date_sun_info": [
3010
3025
  "array date_sun_info(long time, float latitude, float longitude)",
3011
- "Returns an array with information about sun set\/rise and twilight begin\/end"
3026
+ "Returns an array with information about sun set/rise and twilight begin/end"
3012
3027
  ],
3013
3028
  "date_sunrise": [
3014
3029
  "mixed date_sunrise(mixed time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])",
@@ -3179,204 +3194,17 @@ var functionMap = {
3179
3194
  "Return backtrace as array"
3180
3195
  ],
3181
3196
  "debug_print_backtrace": [
3182
- "void debug_print_backtrace(void) *\/",
3183
- "ZEND_FUNCTION(debug_print_backtrace) { zend_execute_data *ptr, *skip; int lineno; char *function_name; char *filename; char *class_name = NULL; char *call_type; char *include_filename = NULL; zval *arg_array = NULL; int indent = 0; if (zend_parse_parameters_none() == FAILURE) { return; } ptr = EG(current_execute_data); \/* skip debug_backtrace()"
3184
- ],
3185
- "debug_zval_dump": [
3186
- "void debug_zval_dump(mixed var)",
3187
- "Dumps a string representation of an internal zend value to output."
3188
- ],
3189
- "decbin": [
3190
- "string decbin(int decimal_number)",
3191
- "Returns a string containing a binary representation of the number"
3192
- ],
3193
- "dechex": [
3194
- "string dechex(int decimal_number)",
3195
- "Returns a string containing a hexadecimal representation of the given number"
3196
- ],
3197
- "decoct": [
3198
- "string decoct(int decimal_number)",
3199
- "Returns a string containing an octal representation of the given number"
3200
- ],
3201
- "define": [
3202
- "bool define(string constant_name, mixed value, boolean case_insensitive=false)",
3203
- "Define a new constant"
3204
- ],
3205
- "define_syslog_variables": [
3206
- "void define_syslog_variables(void)",
3207
- "Initializes all syslog-related variables"
3208
- ],
3209
- "defined": [
3210
- "bool defined(string constant_name)",
3211
- "Check whether a constant exists"
3212
- ],
3213
- "deg2rad": [
3214
- "float deg2rad(float number)",
3215
- "Converts the number in degrees to the radian equivalent"
3216
- ],
3217
- "dgettext": [
3218
- "string dgettext(string domain_name, string msgid)",
3219
- "Return the translation of msgid for domain_name, or msgid unaltered if a translation does not exist"
3220
- ],
3221
- "die": [
3222
- "void die([mixed status])",
3223
- "Output a message and terminate the current script"
3224
- ],
3225
- "dir": [
3226
- "object dir(string directory[, resource context])",
3227
- "Directory class with properties, handle and class and methods read, rewind and close"
3228
- ],
3229
- "dirname": [
3230
- "string dirname(string path)",
3231
- "Returns the directory name component of the path"
3232
- ],
3233
- "disk_free_space": [
3234
- "float disk_free_space(string path)",
3235
- "Get free disk space for filesystem that path is on"
3236
- ],
3237
- "disk_total_space": [
3238
- "float disk_total_space(string path)",
3239
- "Get total disk space for filesystem that path is on"
3240
- ],
3241
- "display_disabled_function": [
3242
- "void display_disabled_function(void)",
3243
- "Dummy function which displays an error when a disabled function is called."
3244
- ],
3245
- "dl": [
3246
- "int dl(string extension_filename)",
3247
- "Load a PHP extension at runtime"
3248
- ],
3249
- "dngettext": [
3250
- "string dngettext (string domain, string msgid1, string msgid2, int count)",
3251
- "Plural version of dgettext()"
3252
- ],
3253
- "dns_check_record": [
3254
- "bool dns_check_record(string host [, string type])",
3255
- "Check DNS records corresponding to a given Internet host name or IP address"
3256
- ],
3257
- "dns_get_mx": [
3258
- "bool dns_get_mx(string hostname, array mxhosts [, array weight])",
3259
- "Get MX records corresponding to a given Internet host name"
3260
- ],
3261
- "dns_get_record": [
3262
- "array|false dns_get_record(string hostname [, int type[, array authns, array addtl]])",
3263
- "Get any Resource Record corresponding to a given Internet host name"
3264
- ],
3265
- "dom_attr_is_id": [
3266
- "boolean dom_attr_is_id();",
3267
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#Attr-isId Since: DOM Level 3"
3268
- ],
3269
- "dom_characterdata_append_data": [
3270
- "void dom_characterdata_append_data(string arg);",
3271
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-32791A2F Since:"
3272
- ],
3273
- "dom_characterdata_delete_data": [
3274
- "void dom_characterdata_delete_data(int offset, int count);",
3275
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-7C603781 Since:"
3276
- ],
3277
- "dom_characterdata_insert_data": [
3278
- "void dom_characterdata_insert_data(int offset, string arg);",
3279
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-3EDB695F Since:"
3280
- ],
3281
- "dom_characterdata_replace_data": [
3282
- "void dom_characterdata_replace_data(int offset, int count, string arg);",
3283
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-E5CBA7FB Since:"
3284
- ],
3285
- "dom_characterdata_substring_data": [
3286
- "string dom_characterdata_substring_data(int offset, int count);",
3287
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-6531BCCF Since:"
3288
- ],
3289
- "dom_document_adopt_node": [
3290
- "DOMNode dom_document_adopt_node(DOMNode source);",
3291
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-Document3-adoptNode Since: DOM Level 3"
3292
- ],
3293
- "dom_document_create_attribute": [
3294
- "DOMAttr dom_document_create_attribute(string name);",
3295
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-1084891198 Since:"
3296
- ],
3297
- "dom_document_create_attribute_ns": [
3298
- "DOMAttr dom_document_create_attribute_ns(string namespaceURI, string qualifiedName);",
3299
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-DocCrAttrNS Since: DOM Level 2"
3300
- ],
3301
- "dom_document_create_cdatasection": [
3302
- "DOMCdataSection dom_document_create_cdatasection(string data);",
3303
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-D26C0AF8 Since:"
3304
- ],
3305
- "dom_document_create_comment": [
3306
- "DOMComment dom_document_create_comment(string data);",
3307
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-1334481328 Since:"
3308
- ],
3309
- "dom_document_create_document_fragment": [
3310
- "DOMDocumentFragment dom_document_create_document_fragment();",
3311
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-35CB04B5 Since:"
3312
- ],
3313
- "dom_document_create_element": [
3314
- "DOMElement dom_document_create_element(string tagName [, string value]);",
3315
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-2141741547 Since:"
3316
- ],
3317
- "dom_document_create_element_ns": [
3318
- "DOMElement dom_document_create_element_ns(string namespaceURI, string qualifiedName [,string value]);",
3319
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-DocCrElNS Since: DOM Level 2"
3320
- ],
3321
- "dom_document_create_entity_reference": [
3322
- "DOMEntityReference dom_document_create_entity_reference(string name);",
3323
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-392B75AE Since:"
3324
- ],
3325
- "dom_document_create_processing_instruction": [
3326
- "DOMProcessingInstruction dom_document_create_processing_instruction(string target, string data);",
3327
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-135944439 Since:"
3328
- ],
3329
- "dom_document_create_text_node": [
3330
- "DOMText dom_document_create_text_node(string data);",
3331
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-1975348127 Since:"
3332
- ],
3333
- "dom_document_get_element_by_id": [
3334
- "DOMElement dom_document_get_element_by_id(string elementId);",
3335
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-getElBId Since: DOM Level 2"
3336
- ],
3337
- "dom_document_get_elements_by_tag_name": [
3338
- "DOMNodeList dom_document_get_elements_by_tag_name(string tagname);",
3339
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-A6C9094 Since:"
3340
- ],
3341
- "dom_document_get_elements_by_tag_name_ns": [
3342
- "DOMNodeList dom_document_get_elements_by_tag_name_ns(string namespaceURI, string localName);",
3343
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-getElBTNNS Since: DOM Level 2"
3344
- ],
3345
- "dom_document_import_node": [
3346
- "DOMNode dom_document_import_node(DOMNode importedNode, boolean deep);",
3347
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#Core-Document-importNode Since: DOM Level 2"
3348
- ],
3349
- "dom_document_load": [
3350
- "DOMNode dom_document_load(string source [, int options]);",
3351
- "URL: http:\/\/www.w3.org\/TR\/DOM-Level-3-LS\/load-save.html#LS-DocumentLS-load Since: DOM Level 3"
3352
- ],
3353
- "dom_document_load_html": [
3354
- "DOMNode dom_document_load_html(string source);",
3355
- "Since: DOM extended"
3356
- ],
3357
- "dom_document_load_html_file": [
3358
- "DOMNode dom_document_load_html_file(string source);",
3359
- "Since: DOM extended"
3360
- ],
3361
- "dom_document_loadxml": [
3362
- "DOMNode dom_document_loadxml(string source [, int options]);",
3363
- "URL: http:\/\/www.w3.org\/TR\/DOM-Level-3-LS\/load-save.html#LS-DocumentLS-loadXML Since: DOM Level 3"
3364
- ],
3365
- "dom_document_normalize_document": [
3366
- "void dom_document_normalize_document();",
3367
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-Document3-normalizeDocument Since: DOM Level 3"
3368
- ],
3369
- "dom_document_relaxNG_validate_file": [
3370
- "boolean dom_document_relaxNG_validate_file(string filename); *\/",
3371
- "PHP_FUNCTION(dom_document_relaxNG_validate_file) { _dom_document_relaxNG_validate(INTERNAL_FUNCTION_PARAM_PASSTHRU, DOM_LOAD_FILE); } \/* }}} end dom_document_relaxNG_validate_file"
3197
+ "void debug_print_backtrace(void) */",
3198
+ "ZEND_FUNCTION(debug_print_backtrace) { zend_execute_data *ptr, *skip; int lineno; char *function_name; char *filename; char *class_name = NULL; char *call_type; char *include_filename = NULL; zval *arg_array = NULL; int indent = 0; if (zend_parse_parameters_none() == FAILURE) { return; } ptr = EG(current_execute_data);",
3199
+ "PHP_FUNCTION(dom_document_relaxNG_validate_file) { _dom_document_relaxNG_validate(INTERNAL_FUNCTION_PARAM_PASSTHRU, DOM_LOAD_FILE); } /* }}} end dom_document_relaxNG_validate_file"
3372
3200
  ],
3373
3201
  "dom_document_relaxNG_validate_xml": [
3374
- "boolean dom_document_relaxNG_validate_xml(string source); *\/",
3375
- "PHP_FUNCTION(dom_document_relaxNG_validate_xml) { _dom_document_relaxNG_validate(INTERNAL_FUNCTION_PARAM_PASSTHRU, DOM_LOAD_STRING); } \/* }}} end dom_document_relaxNG_validate_xml"
3202
+ "boolean dom_document_relaxNG_validate_xml(string source); */",
3203
+ "PHP_FUNCTION(dom_document_relaxNG_validate_xml) { _dom_document_relaxNG_validate(INTERNAL_FUNCTION_PARAM_PASSTHRU, DOM_LOAD_STRING); } /* }}} end dom_document_relaxNG_validate_xml"
3376
3204
  ],
3377
3205
  "dom_document_rename_node": [
3378
3206
  "DOMNode dom_document_rename_node(node n, string namespaceURI, string qualifiedName);",
3379
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-Document3-renameNode Since: DOM Level 3"
3207
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-renameNode Since: DOM Level 3"
3380
3208
  ],
3381
3209
  "dom_document_save": [
3382
3210
  "int dom_document_save(string file);",
@@ -3392,15 +3220,15 @@ var functionMap = {
3392
3220
  ],
3393
3221
  "dom_document_savexml": [
3394
3222
  "string dom_document_savexml([node n]);",
3395
- "URL: http:\/\/www.w3.org\/TR\/DOM-Level-3-LS\/load-save.html#LS-DocumentLS-saveXML Since: DOM Level 3"
3223
+ "URL: http://www.w3.org/TR/DOM-Level-3-LS/load-save.html#LS-DocumentLS-saveXML Since: DOM Level 3"
3396
3224
  ],
3397
3225
  "dom_document_schema_validate": [
3398
- "boolean dom_document_schema_validate(string source); *\/",
3399
- "PHP_FUNCTION(dom_document_schema_validate_xml) { _dom_document_schema_validate(INTERNAL_FUNCTION_PARAM_PASSTHRU, DOM_LOAD_STRING); } \/* }}} end dom_document_schema_validate"
3226
+ "boolean dom_document_schema_validate(string source); */",
3227
+ "PHP_FUNCTION(dom_document_schema_validate_xml) { _dom_document_schema_validate(INTERNAL_FUNCTION_PARAM_PASSTHRU, DOM_LOAD_STRING); } /* }}} end dom_document_schema_validate"
3400
3228
  ],
3401
3229
  "dom_document_schema_validate_file": [
3402
- "boolean dom_document_schema_validate_file(string filename); *\/",
3403
- "PHP_FUNCTION(dom_document_schema_validate_file) { _dom_document_schema_validate(INTERNAL_FUNCTION_PARAM_PASSTHRU, DOM_LOAD_FILE); } \/* }}} end dom_document_schema_validate_file"
3230
+ "boolean dom_document_schema_validate_file(string filename); */",
3231
+ "PHP_FUNCTION(dom_document_schema_validate_file) { _dom_document_schema_validate(INTERNAL_FUNCTION_PARAM_PASSTHRU, DOM_LOAD_FILE); } /* }}} end dom_document_schema_validate_file"
3404
3232
  ],
3405
3233
  "dom_document_validate": [
3406
3234
  "boolean dom_document_validate();",
@@ -3412,123 +3240,123 @@ var functionMap = {
3412
3240
  ],
3413
3241
  "dom_domconfiguration_can_set_parameter": [
3414
3242
  "boolean dom_domconfiguration_can_set_parameter(string name, domuserdata value);",
3415
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#DOMConfiguration-canSetParameter Since:"
3243
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration-canSetParameter Since:"
3416
3244
  ],
3417
3245
  "dom_domconfiguration_get_parameter": [
3418
3246
  "domdomuserdata dom_domconfiguration_get_parameter(string name);",
3419
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#DOMConfiguration-getParameter Since:"
3247
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration-getParameter Since:"
3420
3248
  ],
3421
3249
  "dom_domconfiguration_set_parameter": [
3422
3250
  "dom_void dom_domconfiguration_set_parameter(string name, domuserdata value);",
3423
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#DOMConfiguration-property Since:"
3251
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration-property Since:"
3424
3252
  ],
3425
3253
  "dom_domerrorhandler_handle_error": [
3426
3254
  "dom_boolean dom_domerrorhandler_handle_error(domerror error);",
3427
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#ID-ERRORS-DOMErrorHandler-handleError Since:"
3255
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-ERRORS-DOMErrorHandler-handleError Since:"
3428
3256
  ],
3429
3257
  "dom_domimplementation_create_document": [
3430
3258
  "DOMDocument dom_domimplementation_create_document(string namespaceURI, string qualifiedName, DOMDocumentType doctype);",
3431
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#Level-2-Core-DOM-createDocument Since: DOM Level 2"
3259
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Level-2-Core-DOM-createDocument Since: DOM Level 2"
3432
3260
  ],
3433
3261
  "dom_domimplementation_create_document_type": [
3434
3262
  "DOMDocumentType dom_domimplementation_create_document_type(string qualifiedName, string publicId, string systemId);",
3435
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#Level-2-Core-DOM-createDocType Since: DOM Level 2"
3263
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Level-2-Core-DOM-createDocType Since: DOM Level 2"
3436
3264
  ],
3437
3265
  "dom_domimplementation_get_feature": [
3438
3266
  "DOMNode dom_domimplementation_get_feature(string feature, string version);",
3439
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#DOMImplementation3-getFeature Since: DOM Level 3"
3267
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMImplementation3-getFeature Since: DOM Level 3"
3440
3268
  ],
3441
3269
  "dom_domimplementation_has_feature": [
3442
3270
  "boolean dom_domimplementation_has_feature(string feature, string version);",
3443
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#ID-5CED94D7 Since:"
3271
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-5CED94D7 Since:"
3444
3272
  ],
3445
3273
  "dom_domimplementationlist_item": [
3446
3274
  "domdomimplementation dom_domimplementationlist_item(int index);",
3447
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#DOMImplementationList-item Since:"
3275
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMImplementationList-item Since:"
3448
3276
  ],
3449
3277
  "dom_domimplementationsource_get_domimplementation": [
3450
3278
  "domdomimplementation dom_domimplementationsource_get_domimplementation(string features);",
3451
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#ID-getDOMImpl Since:"
3279
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-getDOMImpl Since:"
3452
3280
  ],
3453
3281
  "dom_domimplementationsource_get_domimplementations": [
3454
3282
  "domimplementationlist dom_domimplementationsource_get_domimplementations(string features);",
3455
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#ID-getDOMImpls Since:"
3283
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-getDOMImpls Since:"
3456
3284
  ],
3457
3285
  "dom_domstringlist_item": [
3458
3286
  "domstring dom_domstringlist_item(int index);",
3459
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#DOMStringList-item Since:"
3287
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMStringList-item Since:"
3460
3288
  ],
3461
3289
  "dom_element_get_attribute": [
3462
3290
  "string dom_element_get_attribute(string name);",
3463
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-666EE0F9 Since:"
3291
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-666EE0F9 Since:"
3464
3292
  ],
3465
3293
  "dom_element_get_attribute_node": [
3466
3294
  "DOMAttr dom_element_get_attribute_node(string name);",
3467
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-217A91B8 Since:"
3295
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-217A91B8 Since:"
3468
3296
  ],
3469
3297
  "dom_element_get_attribute_node_ns": [
3470
3298
  "DOMAttr dom_element_get_attribute_node_ns(string namespaceURI, string localName);",
3471
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-ElGetAtNodeNS Since: DOM Level 2"
3299
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElGetAtNodeNS Since: DOM Level 2"
3472
3300
  ],
3473
3301
  "dom_element_get_attribute_ns": [
3474
3302
  "string dom_element_get_attribute_ns(string namespaceURI, string localName);",
3475
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-ElGetAttrNS Since: DOM Level 2"
3303
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElGetAttrNS Since: DOM Level 2"
3476
3304
  ],
3477
3305
  "dom_element_get_elements_by_tag_name": [
3478
3306
  "DOMNodeList dom_element_get_elements_by_tag_name(string name);",
3479
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-1938918D Since:"
3307
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1938918D Since:"
3480
3308
  ],
3481
3309
  "dom_element_get_elements_by_tag_name_ns": [
3482
3310
  "DOMNodeList dom_element_get_elements_by_tag_name_ns(string namespaceURI, string localName);",
3483
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-A6C90942 Since: DOM Level 2"
3311
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-A6C90942 Since: DOM Level 2"
3484
3312
  ],
3485
3313
  "dom_element_has_attribute": [
3486
3314
  "boolean dom_element_has_attribute(string name);",
3487
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-ElHasAttr Since: DOM Level 2"
3315
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElHasAttr Since: DOM Level 2"
3488
3316
  ],
3489
3317
  "dom_element_has_attribute_ns": [
3490
3318
  "boolean dom_element_has_attribute_ns(string namespaceURI, string localName);",
3491
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-ElHasAttrNS Since: DOM Level 2"
3319
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElHasAttrNS Since: DOM Level 2"
3492
3320
  ],
3493
3321
  "dom_element_remove_attribute": [
3494
3322
  "void dom_element_remove_attribute(string name);",
3495
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-6D6AC0F9 Since:"
3323
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-6D6AC0F9 Since:"
3496
3324
  ],
3497
3325
  "dom_element_remove_attribute_node": [
3498
3326
  "DOMAttr dom_element_remove_attribute_node(DOMAttr oldAttr);",
3499
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-D589198 Since:"
3327
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D589198 Since:"
3500
3328
  ],
3501
3329
  "dom_element_remove_attribute_ns": [
3502
3330
  "void dom_element_remove_attribute_ns(string namespaceURI, string localName);",
3503
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-ElRemAtNS Since: DOM Level 2"
3331
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElRemAtNS Since: DOM Level 2"
3504
3332
  ],
3505
3333
  "dom_element_set_attribute": [
3506
3334
  "void dom_element_set_attribute(string name, string value);",
3507
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-F68F082 Since:"
3335
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-F68F082 Since:"
3508
3336
  ],
3509
3337
  "dom_element_set_attribute_node": [
3510
3338
  "DOMAttr dom_element_set_attribute_node(DOMAttr newAttr);",
3511
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-887236154 Since:"
3339
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-887236154 Since:"
3512
3340
  ],
3513
3341
  "dom_element_set_attribute_node_ns": [
3514
3342
  "DOMAttr dom_element_set_attribute_node_ns(DOMAttr newAttr);",
3515
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-ElSetAtNodeNS Since: DOM Level 2"
3343
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetAtNodeNS Since: DOM Level 2"
3516
3344
  ],
3517
3345
  "dom_element_set_attribute_ns": [
3518
3346
  "void dom_element_set_attribute_ns(string namespaceURI, string qualifiedName, string value);",
3519
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-ElSetAttrNS Since: DOM Level 2"
3347
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetAttrNS Since: DOM Level 2"
3520
3348
  ],
3521
3349
  "dom_element_set_id_attribute": [
3522
3350
  "void dom_element_set_id_attribute(string name, boolean isId);",
3523
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-ElSetIdAttr Since: DOM Level 3"
3351
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttr Since: DOM Level 3"
3524
3352
  ],
3525
3353
  "dom_element_set_id_attribute_node": [
3526
3354
  "void dom_element_set_id_attribute_node(attr idAttr, boolean isId);",
3527
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-ElSetIdAttrNode Since: DOM Level 3"
3355
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttrNode Since: DOM Level 3"
3528
3356
  ],
3529
3357
  "dom_element_set_id_attribute_ns": [
3530
3358
  "void dom_element_set_id_attribute_ns(string namespaceURI, string localName, boolean isId);",
3531
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-ElSetIdAttrNS Since: DOM Level 3"
3359
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttrNS Since: DOM Level 3"
3532
3360
  ],
3533
3361
  "dom_import_simplexml": [
3534
3362
  "somNode dom_import_simplexml(sxeobject node)",
@@ -3536,155 +3364,155 @@ var functionMap = {
3536
3364
  ],
3537
3365
  "dom_namednodemap_get_named_item": [
3538
3366
  "DOMNode dom_namednodemap_get_named_item(string name);",
3539
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-1074577549 Since:"
3367
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1074577549 Since:"
3540
3368
  ],
3541
3369
  "dom_namednodemap_get_named_item_ns": [
3542
3370
  "DOMNode dom_namednodemap_get_named_item_ns(string namespaceURI, string localName);",
3543
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-getNamedItemNS Since: DOM Level 2"
3371
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-getNamedItemNS Since: DOM Level 2"
3544
3372
  ],
3545
3373
  "dom_namednodemap_item": [
3546
3374
  "DOMNode dom_namednodemap_item(int index);",
3547
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-349467F9 Since:"
3375
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-349467F9 Since:"
3548
3376
  ],
3549
3377
  "dom_namednodemap_remove_named_item": [
3550
3378
  "DOMNode dom_namednodemap_remove_named_item(string name);",
3551
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-D58B193 Since:"
3379
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D58B193 Since:"
3552
3380
  ],
3553
3381
  "dom_namednodemap_remove_named_item_ns": [
3554
3382
  "DOMNode dom_namednodemap_remove_named_item_ns(string namespaceURI, string localName);",
3555
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-removeNamedItemNS Since: DOM Level 2"
3383
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-removeNamedItemNS Since: DOM Level 2"
3556
3384
  ],
3557
3385
  "dom_namednodemap_set_named_item": [
3558
3386
  "DOMNode dom_namednodemap_set_named_item(DOMNode arg);",
3559
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-1025163788 Since:"
3387
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1025163788 Since:"
3560
3388
  ],
3561
3389
  "dom_namednodemap_set_named_item_ns": [
3562
3390
  "DOMNode dom_namednodemap_set_named_item_ns(DOMNode arg);",
3563
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-setNamedItemNS Since: DOM Level 2"
3391
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-setNamedItemNS Since: DOM Level 2"
3564
3392
  ],
3565
3393
  "dom_namelist_get_name": [
3566
3394
  "string dom_namelist_get_name(int index);",
3567
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#NameList-getName Since:"
3395
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#NameList-getName Since:"
3568
3396
  ],
3569
3397
  "dom_namelist_get_namespace_uri": [
3570
3398
  "string dom_namelist_get_namespace_uri(int index);",
3571
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#NameList-getNamespaceURI Since:"
3399
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#NameList-getNamespaceURI Since:"
3572
3400
  ],
3573
3401
  "dom_node_append_child": [
3574
3402
  "DomNode dom_node_append_child(DomNode newChild);",
3575
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-184E7107 Since:"
3403
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-184E7107 Since:"
3576
3404
  ],
3577
3405
  "dom_node_clone_node": [
3578
3406
  "DomNode dom_node_clone_node(boolean deep);",
3579
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-3A0ED0A4 Since:"
3407
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-3A0ED0A4 Since:"
3580
3408
  ],
3581
3409
  "dom_node_compare_document_position": [
3582
3410
  "short dom_node_compare_document_position(DomNode other);",
3583
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#Node3-compareDocumentPosition Since: DOM Level 3"
3411
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-compareDocumentPosition Since: DOM Level 3"
3584
3412
  ],
3585
3413
  "dom_node_get_feature": [
3586
3414
  "DomNode dom_node_get_feature(string feature, string version);",
3587
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#Node3-getFeature Since: DOM Level 3"
3415
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-getFeature Since: DOM Level 3"
3588
3416
  ],
3589
3417
  "dom_node_get_user_data": [
3590
3418
  "mixed dom_node_get_user_data(string key);",
3591
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#Node3-getUserData Since: DOM Level 3"
3419
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-getUserData Since: DOM Level 3"
3592
3420
  ],
3593
3421
  "dom_node_has_attributes": [
3594
3422
  "boolean dom_node_has_attributes();",
3595
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-NodeHasAttrs Since: DOM Level 2"
3423
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-NodeHasAttrs Since: DOM Level 2"
3596
3424
  ],
3597
3425
  "dom_node_has_child_nodes": [
3598
3426
  "boolean dom_node_has_child_nodes();",
3599
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-810594187 Since:"
3427
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-810594187 Since:"
3600
3428
  ],
3601
3429
  "dom_node_insert_before": [
3602
3430
  "domnode dom_node_insert_before(DomNode newChild, DomNode refChild);",
3603
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-952280727 Since:"
3431
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-952280727 Since:"
3604
3432
  ],
3605
3433
  "dom_node_is_default_namespace": [
3606
3434
  "boolean dom_node_is_default_namespace(string namespaceURI);",
3607
- "URL: http:\/\/www.w3.org\/TR\/DOM-Level-3-Core\/core.html#Node3-isDefaultNamespace Since: DOM Level 3"
3435
+ "URL: http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-isDefaultNamespace Since: DOM Level 3"
3608
3436
  ],
3609
3437
  "dom_node_is_equal_node": [
3610
3438
  "boolean dom_node_is_equal_node(DomNode arg);",
3611
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#Node3-isEqualNode Since: DOM Level 3"
3439
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-isEqualNode Since: DOM Level 3"
3612
3440
  ],
3613
3441
  "dom_node_is_same_node": [
3614
3442
  "boolean dom_node_is_same_node(DomNode other);",
3615
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#Node3-isSameNode Since: DOM Level 3"
3443
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-isSameNode Since: DOM Level 3"
3616
3444
  ],
3617
3445
  "dom_node_is_supported": [
3618
3446
  "boolean dom_node_is_supported(string feature, string version);",
3619
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-Level-2-Core-Node-supports Since: DOM Level 2"
3447
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Level-2-Core-Node-supports Since: DOM Level 2"
3620
3448
  ],
3621
3449
  "dom_node_lookup_namespace_uri": [
3622
3450
  "string dom_node_lookup_namespace_uri(string prefix);",
3623
- "URL: http:\/\/www.w3.org\/TR\/DOM-Level-3-Core\/core.html#Node3-lookupNamespaceURI Since: DOM Level 3"
3451
+ "URL: http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespaceURI Since: DOM Level 3"
3624
3452
  ],
3625
3453
  "dom_node_lookup_prefix": [
3626
3454
  "string dom_node_lookup_prefix(string namespaceURI);",
3627
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#Node3-lookupNamespacePrefix Since: DOM Level 3"
3455
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-lookupNamespacePrefix Since: DOM Level 3"
3628
3456
  ],
3629
3457
  "dom_node_normalize": [
3630
3458
  "void dom_node_normalize();",
3631
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-normalize Since:"
3459
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-normalize Since:"
3632
3460
  ],
3633
3461
  "dom_node_remove_child": [
3634
3462
  "DomNode dom_node_remove_child(DomNode oldChild);",
3635
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-1734834066 Since:"
3463
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1734834066 Since:"
3636
3464
  ],
3637
3465
  "dom_node_replace_child": [
3638
3466
  "DomNode dom_node_replace_child(DomNode newChild, DomNode oldChild);",
3639
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-785887307 Since:"
3467
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-785887307 Since:"
3640
3468
  ],
3641
3469
  "dom_node_set_user_data": [
3642
3470
  "mixed dom_node_set_user_data(string key, mixed data, userdatahandler handler);",
3643
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#Node3-setUserData Since: DOM Level 3"
3471
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-setUserData Since: DOM Level 3"
3644
3472
  ],
3645
3473
  "dom_nodelist_item": [
3646
3474
  "DOMNode dom_nodelist_item(int index);",
3647
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#ID-844377136 Since:"
3475
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-844377136 Since:"
3648
3476
  ],
3649
3477
  "dom_string_extend_find_offset16": [
3650
3478
  "int dom_string_extend_find_offset16(int offset32);",
3651
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#i18n-methods-StringExtend-findOffset16 Since:"
3479
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#i18n-methods-StringExtend-findOffset16 Since:"
3652
3480
  ],
3653
3481
  "dom_string_extend_find_offset32": [
3654
3482
  "int dom_string_extend_find_offset32(int offset16);",
3655
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#i18n-methods-StringExtend-findOffset32 Since:"
3483
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#i18n-methods-StringExtend-findOffset32 Since:"
3656
3484
  ],
3657
3485
  "dom_text_is_whitespace_in_element_content": [
3658
3486
  "boolean dom_text_is_whitespace_in_element_content();",
3659
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-Text3-isWhitespaceInElementContent Since: DOM Level 3"
3487
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Text3-isWhitespaceInElementContent Since: DOM Level 3"
3660
3488
  ],
3661
3489
  "dom_text_replace_whole_text": [
3662
3490
  "DOMText dom_text_replace_whole_text(string content);",
3663
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-Text3-replaceWholeText Since: DOM Level 3"
3491
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Text3-replaceWholeText Since: DOM Level 3"
3664
3492
  ],
3665
3493
  "dom_text_split_text": [
3666
3494
  "DOMText dom_text_split_text(int offset);",
3667
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#core-ID-38853C1D Since:"
3495
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-38853C1D Since:"
3668
3496
  ],
3669
3497
  "dom_userdatahandler_handle": [
3670
3498
  "dom_void dom_userdatahandler_handle(short operation, string key, domobject data, node src, node dst);",
3671
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html#ID-handleUserDataEvent Since:"
3499
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-handleUserDataEvent Since:"
3672
3500
  ],
3673
3501
  "dom_xpath_evaluate": [
3674
- "mixed dom_xpath_evaluate(string expr [,DOMNode context]); *\/",
3675
- "PHP_FUNCTION(dom_xpath_evaluate) { php_xpath_eval(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_DOM_XPATH_EVALUATE); } \/* }}} end dom_xpath_evaluate"
3502
+ "mixed dom_xpath_evaluate(string expr [,DOMNode context]); */",
3503
+ "PHP_FUNCTION(dom_xpath_evaluate) { php_xpath_eval(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_DOM_XPATH_EVALUATE); } /* }}} end dom_xpath_evaluate"
3676
3504
  ],
3677
3505
  "dom_xpath_query": [
3678
- "DOMNodeList dom_xpath_query(string expr [,DOMNode context]); *\/",
3679
- "PHP_FUNCTION(dom_xpath_query) { php_xpath_eval(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_DOM_XPATH_QUERY); } \/* }}} end dom_xpath_query"
3506
+ "DOMNodeList dom_xpath_query(string expr [,DOMNode context]); */",
3507
+ "PHP_FUNCTION(dom_xpath_query) { php_xpath_eval(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_DOM_XPATH_QUERY); } /* }}} end dom_xpath_query"
3680
3508
  ],
3681
3509
  "dom_xpath_register_ns": [
3682
- "boolean dom_xpath_register_ns(string prefix, string uri); *\/",
3683
- "PHP_FUNCTION(dom_xpath_register_ns) { zval *id; xmlXPathContextPtr ctxp; int prefix_len, ns_uri_len; dom_xpath_object *intern; unsigned char *prefix, *ns_uri; if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), \"Oss\", &id, dom_xpath_class_entry, &prefix, &prefix_len, &ns_uri, &ns_uri_len) == FAILURE) { return; } intern = (dom_xpath_object *)zend_object_store_get_object(id TSRMLS_CC); ctxp = (xmlXPathContextPtr) intern->ptr; if (ctxp == NULL) { php_error_docref(NULL TSRMLS_CC, E_WARNING, \"Invalid XPath Context\"); RETURN_FALSE; } if (xmlXPathRegisterNs(ctxp, prefix, ns_uri) != 0) { RETURN_FALSE } RETURN_TRUE; } \/* }}}"
3510
+ "boolean dom_xpath_register_ns(string prefix, string uri); */",
3511
+ "PHP_FUNCTION(dom_xpath_register_ns) { zval *id; xmlXPathContextPtr ctxp; int prefix_len, ns_uri_len; dom_xpath_object *intern; unsigned char *prefix, *ns_uri; if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), \"Oss\", &id, dom_xpath_class_entry, &prefix, &prefix_len, &ns_uri, &ns_uri_len) == FAILURE) { return; } intern = (dom_xpath_object *)zend_object_store_get_object(id TSRMLS_CC); ctxp = (xmlXPathContextPtr) intern->ptr; if (ctxp == NULL) { php_error_docref(NULL TSRMLS_CC, E_WARNING, \"Invalid XPath Context\"); RETURN_FALSE; } if (xmlXPathRegisterNs(ctxp, prefix, ns_uri) != 0) { RETURN_FALSE } RETURN_TRUE; } /* }}}"
3684
3512
  ],
3685
3513
  "dom_xpath_register_php_functions": [
3686
- "void dom_xpath_register_php_functions() *\/",
3687
- "PHP_FUNCTION(dom_xpath_register_php_functions) { zval *id; dom_xpath_object *intern; zval *array_value, **entry, *new_string; int name_len = 0; char *name; DOM_GET_THIS(id); if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, \"a\", &array_value) == SUCCESS) { intern = (dom_xpath_object *)zend_object_store_get_object(id TSRMLS_CC); zend_hash_internal_pointer_reset(Z_ARRVAL_P(array_value)); while (zend_hash_get_current_data(Z_ARRVAL_P(array_value), (void **)&entry) == SUCCESS) { SEPARATE_ZVAL(entry); convert_to_string_ex(entry); MAKE_STD_ZVAL(new_string); ZVAL_LONG(new_string,1); zend_hash_update(intern->registered_phpfunctions, Z_STRVAL_PP(entry), Z_STRLEN_PP(entry) + 1, &new_string, sizeof(zval*), NULL); zend_hash_move_forward(Z_ARRVAL_P(array_value)); } intern->registerPhpFunctions = 2; RETURN_TRUE; } else if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, \"s\", &name, &name_len) == SUCCESS) { intern = (dom_xpath_object *)zend_object_store_get_object(id TSRMLS_CC); MAKE_STD_ZVAL(new_string); ZVAL_LONG(new_string,1); zend_hash_update(intern->registered_phpfunctions, name, name_len + 1, &new_string, sizeof(zval*), NULL); intern->registerPhpFunctions = 2; } else { intern = (dom_xpath_object *)zend_object_store_get_object(id TSRMLS_CC); intern->registerPhpFunctions = 1; } } \/* }}} end dom_xpath_register_php_functions"
3514
+ "void dom_xpath_register_php_functions() */",
3515
+ "PHP_FUNCTION(dom_xpath_register_php_functions) { zval *id; dom_xpath_object *intern; zval *array_value, **entry, *new_string; int name_len = 0; char *name; DOM_GET_THIS(id); if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, \"a\", &array_value) == SUCCESS) { intern = (dom_xpath_object *)zend_object_store_get_object(id TSRMLS_CC); zend_hash_internal_pointer_reset(Z_ARRVAL_P(array_value)); while (zend_hash_get_current_data(Z_ARRVAL_P(array_value), (void **)&entry) == SUCCESS) { SEPARATE_ZVAL(entry); convert_to_string_ex(entry); MAKE_STD_ZVAL(new_string); ZVAL_LONG(new_string,1); zend_hash_update(intern->registered_phpfunctions, Z_STRVAL_PP(entry), Z_STRLEN_PP(entry) + 1, &new_string, sizeof(zval*), NULL); zend_hash_move_forward(Z_ARRVAL_P(array_value)); } intern->registerPhpFunctions = 2; RETURN_TRUE; } else if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, \"s\", &name, &name_len) == SUCCESS) { intern = (dom_xpath_object *)zend_object_store_get_object(id TSRMLS_CC); MAKE_STD_ZVAL(new_string); ZVAL_LONG(new_string,1); zend_hash_update(intern->registered_phpfunctions, name, name_len + 1, &new_string, sizeof(zval*), NULL); intern->registerPhpFunctions = 2; } else { intern = (dom_xpath_object *)zend_object_store_get_object(id TSRMLS_CC); intern->registerPhpFunctions = 1; } } /* }}} end dom_xpath_register_php_functions"
3688
3516
  ],
3689
3517
  "each": [
3690
3518
  "array each(array arr)",
@@ -3752,7 +3580,7 @@ var functionMap = {
3752
3580
  ],
3753
3581
  "enchant_broker_set_ordering": [
3754
3582
  "bool enchant_broker_set_ordering(resource broker, string tag, string ordering)",
3755
- "Declares a preference of dictionaries to use for the language described\/referred to by 'tag'. The ordering is a comma delimited list of provider names. As a special exception, the \"*\" tag can be used as a language tag to declare a default ordering for any language that does not explictly declare an ordering."
3583
+ "Declares a preference of dictionaries to use for the language described/referred to by 'tag'. The ordering is a comma delimited list of provider names. As a special exception, the \"*\" tag can be used as a language tag to declare a default ordering for any language that does not explictly declare an ordering."
3756
3584
  ],
3757
3585
  "enchant_dict_add_to_personal": [
3758
3586
  "void enchant_dict_add_to_personal(resource dict, string word)",
@@ -3840,7 +3668,7 @@ var functionMap = {
3840
3668
  ],
3841
3669
  "exif_read_data": [
3842
3670
  "array exif_read_data(string filename [, sections_needed [, sub_arrays[, read_thumbnail]]])",
3843
- "Reads header data from the JPEG\/TIFF image filename and optionally reads the internal thumbnails"
3671
+ "Reads header data from the JPEG/TIFF image filename and optionally reads the internal thumbnails"
3844
3672
  ],
3845
3673
  "exif_tagname": [
3846
3674
  "string exif_tagname(index)",
@@ -3920,7 +3748,7 @@ var functionMap = {
3920
3748
  ],
3921
3749
  "file_put_contents": [
3922
3750
  "int file_put_contents(string file, mixed data [, int flags [, resource context]])",
3923
- "Write\/Create a file with contents data and return the number of bytes written"
3751
+ "Write/Create a file with contents data and return the number of bytes written"
3924
3752
  ],
3925
3753
  "fileatime": [
3926
3754
  "int fileatime(string filename)",
@@ -4068,7 +3896,7 @@ var functionMap = {
4068
3896
  ],
4069
3897
  "ftell": [
4070
3898
  "int ftell(resource fp)",
4071
- "Get file pointer's read\/write position"
3899
+ "Get file pointer's read/write position"
4072
3900
  ],
4073
3901
  "ftok": [
4074
3902
  "int ftok(string pathname, string proj)",
@@ -4136,7 +3964,7 @@ var functionMap = {
4136
3964
  ],
4137
3965
  "ftp_nb_continue": [
4138
3966
  "int ftp_nb_continue(resource stream)",
4139
- "Continues retrieving\/sending a file nbronously"
3967
+ "Continues retrieving/sending a file nbronously"
4140
3968
  ],
4141
3969
  "ftp_nb_fget": [
4142
3970
  "int ftp_nb_fget(resource stream, resource fp, string remote_file, int mode[, int resumepos])",
@@ -4376,7 +4204,7 @@ var functionMap = {
4376
4204
  ],
4377
4205
  "getdate": [
4378
4206
  "array getdate([int timestamp])",
4379
- "Get date\/time information"
4207
+ "Get date/time information"
4380
4208
  ],
4381
4209
  "getenv": [
4382
4210
  "string getenv(string varname)",
@@ -4428,7 +4256,7 @@ var functionMap = {
4428
4256
  ],
4429
4257
  "getprotobyname": [
4430
4258
  "int getprotobyname(string name)",
4431
- "Returns protocol number associated with name as per \/etc\/protocols"
4259
+ "Returns protocol number associated with name as per /etc/protocols"
4432
4260
  ],
4433
4261
  "getprotobynumber": [
4434
4262
  "string getprotobynumber(int proto)",
@@ -4468,7 +4296,7 @@ var functionMap = {
4468
4296
  ],
4469
4297
  "gmdate": [
4470
4298
  "string gmdate(string format [, long timestamp])",
4471
- "Format a GMT date\/time"
4299
+ "Format a GMT date/time"
4472
4300
  ],
4473
4301
  "gmmktime": [
4474
4302
  "int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]])",
@@ -4636,7 +4464,7 @@ var functionMap = {
4636
4464
  ],
4637
4465
  "gmstrftime": [
4638
4466
  "string gmstrftime(string format [, int timestamp])",
4639
- "Format a GMT\/UCT time\/date according to locale settings"
4467
+ "Format a GMT/UCT time/date according to locale settings"
4640
4468
  ],
4641
4469
  "grapheme_extract": [
4642
4470
  "string grapheme_extract(string str, int size[, int extract_type[, int start[, int next]]])",
@@ -4760,7 +4588,7 @@ var functionMap = {
4760
4588
  ],
4761
4589
  "headers_list": [
4762
4590
  "array headers_list(void)",
4763
- "Return list of headers to be sent \/ already sent"
4591
+ "Return list of headers to be sent / already sent"
4764
4592
  ],
4765
4593
  "headers_sent": [
4766
4594
  "bool headers_sent([string &$file [, int &$line]])",
@@ -5048,7 +4876,7 @@ var functionMap = {
5048
4876
  ],
5049
4877
  "idate": [
5050
4878
  "int idate(string format [, int timestamp])",
5051
- "Format a local time\/date as integer"
4879
+ "Format a local time/date as integer"
5052
4880
  ],
5053
4881
  "idn_to_ascii": [
5054
4882
  "int idn_to_ascii(string domain[, int options])",
@@ -5140,7 +4968,7 @@ var functionMap = {
5140
4968
  ],
5141
4969
  "imagecolorresolvealpha": [
5142
4970
  "int imagecolorresolvealpha(resource im, int red, int green, int blue, int alpha)",
5143
- "Resolve\/Allocate a colour with an alpha level. Works for true colour and palette based images"
4971
+ "Resolve/Allocate a colour with an alpha level. Works for true colour and palette based images"
5144
4972
  ],
5145
4973
  "imagecolorset": [
5146
4974
  "void imagecolorset(resource im, int col, int red, int green, int blue)",
@@ -5720,7 +5548,7 @@ var functionMap = {
5720
5548
  ],
5721
5549
  "import_request_variables": [
5722
5550
  "bool import_request_variables(string types [, string prefix])",
5723
- "Import GET\/POST\/Cookie variables into the global scope"
5551
+ "Import GET/POST/Cookie variables into the global scope"
5724
5552
  ],
5725
5553
  "in_array": [
5726
5554
  "bool in_array(mixed needle, array haystack [, bool strict])",
@@ -6144,7 +5972,7 @@ var functionMap = {
6144
5972
  ],
6145
5973
  "leak": [
6146
5974
  "void leak(int num_bytes=3)",
6147
- "Cause an intentional memory leak, for testing\/debugging purposes"
5975
+ "Cause an intentional memory leak, for testing/debugging purposes"
6148
5976
  ],
6149
5977
  "levenshtein": [
6150
5978
  "int levenshtein(string str1, string str2[, int cost_ins, int cost_rep, int cost_del])",
@@ -6156,7 +5984,7 @@ var functionMap = {
6156
5984
  ],
6157
5985
  "libxml_disable_entity_loader": [
6158
5986
  "bool libxml_disable_entity_loader([boolean disable])",
6159
- "Disable\/Enable ability to load external entities"
5987
+ "Disable/Enable ability to load external entities"
6160
5988
  ],
6161
5989
  "libxml_get_errors": [
6162
5990
  "object libxml_get_errors()",
@@ -6400,7 +6228,7 @@ var functionMap = {
6400
6228
  ],
6401
6229
  "mb_parse_str": [
6402
6230
  "bool mb_parse_str(string encoded_string [, array result])",
6403
- "Parses GET\/POST\/COOKIE data and sets global variables"
6231
+ "Parses GET/POST/COOKIE data and sets global variables"
6404
6232
  ],
6405
6233
  "mb_preferred_mime_name": [
6406
6234
  "string mb_preferred_mime_name(string encoding)",
@@ -6492,11 +6320,11 @@ var functionMap = {
6492
6320
  ],
6493
6321
  "mcrypt_cbc": [
6494
6322
  "string mcrypt_cbc(int cipher, string key, string data, int mode, string iv)",
6495
- "CBC crypt\/decrypt data using key key with cipher cipher starting with iv"
6323
+ "CBC crypt/decrypt data using key key with cipher cipher starting with iv"
6496
6324
  ],
6497
6325
  "mcrypt_cfb": [
6498
6326
  "string mcrypt_cfb(int cipher, string key, string data, int mode, string iv)",
6499
- "CFB crypt\/decrypt data using key key with cipher cipher starting with iv"
6327
+ "CFB crypt/decrypt data using key key with cipher cipher starting with iv"
6500
6328
  ],
6501
6329
  "mcrypt_create_iv": [
6502
6330
  "string mcrypt_create_iv(int size, int source)",
@@ -6504,11 +6332,11 @@ var functionMap = {
6504
6332
  ],
6505
6333
  "mcrypt_decrypt": [
6506
6334
  "string mcrypt_decrypt(string cipher, string key, string data, string mode, string iv)",
6507
- "OFB crypt\/decrypt data using key key with cipher cipher starting with iv"
6335
+ "OFB crypt/decrypt data using key key with cipher cipher starting with iv"
6508
6336
  ],
6509
6337
  "mcrypt_ecb": [
6510
6338
  "string mcrypt_ecb(int cipher, string key, string data, int mode, string iv)",
6511
- "ECB crypt\/decrypt data using key key with cipher cipher starting with iv"
6339
+ "ECB crypt/decrypt data using key key with cipher cipher starting with iv"
6512
6340
  ],
6513
6341
  "mcrypt_enc_get_algorithms_name": [
6514
6342
  "string mcrypt_enc_get_algorithms_name(resource td)",
@@ -6552,7 +6380,7 @@ var functionMap = {
6552
6380
  ],
6553
6381
  "mcrypt_encrypt": [
6554
6382
  "string mcrypt_encrypt(string cipher, string key, string data, string mode, string iv)",
6555
- "OFB crypt\/decrypt data using key key with cipher cipher starting with iv"
6383
+ "OFB crypt/decrypt data using key key with cipher cipher starting with iv"
6556
6384
  ],
6557
6385
  "mcrypt_generic": [
6558
6386
  "string mcrypt_generic(resource td, string data)",
@@ -6628,7 +6456,7 @@ var functionMap = {
6628
6456
  ],
6629
6457
  "mcrypt_ofb": [
6630
6458
  "string mcrypt_ofb(int cipher, string key, string data, int mode, string iv)",
6631
- "OFB crypt\/decrypt data using key key with cipher cipher starting with iv"
6459
+ "OFB crypt/decrypt data using key key with cipher cipher starting with iv"
6632
6460
  ],
6633
6461
  "md5": [
6634
6462
  "string md5(string str, [ bool raw_output])",
@@ -6915,7 +6743,7 @@ var functionMap = {
6915
6743
  "Close a MySQL connection"
6916
6744
  ],
6917
6745
  "mysql_connect": [
6918
- "resource mysql_connect([string hostname[:port][:\/path\/to\/socket] [, string username [, string password [, bool new [, int flags]]]]])",
6746
+ "resource mysql_connect([string hostname[:port][:/path/to/socket] [, string username [, string password [, bool new [, int flags]]]]])",
6919
6747
  "Opens a connection to a MySQL Server"
6920
6748
  ],
6921
6749
  "mysql_create_db": [
@@ -7047,7 +6875,7 @@ var functionMap = {
7047
6875
  "Gets number of rows in a result"
7048
6876
  ],
7049
6877
  "mysql_pconnect": [
7050
- "resource mysql_pconnect([string hostname[:port][:\/path\/to\/socket] [, string username [, string password [, int flags]]]])",
6878
+ "resource mysql_pconnect([string hostname[:port][:/path/to/socket] [, string username [, string password [, int flags]]]])",
7051
6879
  "Opens a persistent connection to a MySQL Server"
7052
6880
  ],
7053
6881
  "mysql_ping": [
@@ -7243,8 +7071,8 @@ var functionMap = {
7243
7071
  "Return the MySQL version for the server referenced by the given link"
7244
7072
  ],
7245
7073
  "mysqli_get_warnings": [
7246
- "object mysqli_get_warnings(object link) *\/",
7247
- "PHP_FUNCTION(mysqli_get_warnings) { MY_MYSQL *mysql; zval *mysql_link; MYSQLI_RESOURCE *mysqli_resource; MYSQLI_WARNING *w; if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), \"O\", &mysql_link, mysqli_link_class_entry) == FAILURE) { return; } MYSQLI_FETCH_RESOURCE(mysql, MY_MYSQL*, &mysql_link, \"mysqli_link\", MYSQLI_STATUS_VALID); if (mysql_warning_count(mysql->mysql)) { w = php_get_warnings(mysql->mysql TSRMLS_CC); } else { RETURN_FALSE; } mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE)); mysqli_resource->ptr = mysqli_resource->info = (void *)w; mysqli_resource->status = MYSQLI_STATUS_VALID; MYSQLI_RETURN_RESOURCE(mysqli_resource, mysqli_warning_class_entry); } \/* }}}"
7074
+ "object mysqli_get_warnings(object link) */",
7075
+ "PHP_FUNCTION(mysqli_get_warnings) { MY_MYSQL *mysql; zval *mysql_link; MYSQLI_RESOURCE *mysqli_resource; MYSQLI_WARNING *w; if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), \"O\", &mysql_link, mysqli_link_class_entry) == FAILURE) { return; } MYSQLI_FETCH_RESOURCE(mysql, MY_MYSQL*, &mysql_link, \"mysqli_link\", MYSQLI_STATUS_VALID); if (mysql_warning_count(mysql->mysql)) { w = php_get_warnings(mysql->mysql TSRMLS_CC); } else { RETURN_FALSE; } mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE)); mysqli_resource->ptr = mysqli_resource->info = (void *)w; mysqli_resource->status = MYSQLI_STATUS_VALID; MYSQLI_RETURN_RESOURCE(mysqli_resource, mysqli_warning_class_entry); } /* }}}"
7248
7076
  ],
7249
7077
  "mysqli_info": [
7250
7078
  "string mysqli_info(object link)",
@@ -7303,8 +7131,8 @@ var functionMap = {
7303
7131
  "Prepare a SQL statement for execution"
7304
7132
  ],
7305
7133
  "mysqli_query": [
7306
- "mixed mysqli_query(object link, string query [,int resultmode]) *\/",
7307
- "PHP_FUNCTION(mysqli_query) { MY_MYSQL *mysql; zval *mysql_link; MYSQLI_RESOURCE *mysqli_resource; MYSQL_RES *result; char *query = NULL; unsigned int query_len; unsigned long resultmode = MYSQLI_STORE_RESULT; if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), \"Os|l\", &mysql_link, mysqli_link_class_entry, &query, &query_len, &resultmode) == FAILURE) { return; } if (!query_len) { php_error_docref(NULL TSRMLS_CC, E_WARNING, \"Empty query\"); RETURN_FALSE; } if ((resultmode & ~MYSQLI_ASYNC) != MYSQLI_USE_RESULT && (resultmode & ~MYSQLI_ASYNC) != MYSQLI_STORE_RESULT) { php_error_docref(NULL TSRMLS_CC, E_WARNING, \"Invalid value for resultmode\"); RETURN_FALSE; } MYSQLI_FETCH_RESOURCE(mysql, MY_MYSQL*, &mysql_link, \"mysqli_link\", MYSQLI_STATUS_VALID); MYSQLI_DISABLE_MQ; #ifdef MYSQLI_USE_MYSQLND if (resultmode & MYSQLI_ASYNC) { if (mysqli_async_query(mysql->mysql, query, query_len)) { MYSQLI_REPORT_MYSQL_ERROR(mysql->mysql); RETURN_FALSE; } mysql->async_result_fetch_type = resultmode & ~MYSQLI_ASYNC; RETURN_TRUE; } #endif if (mysql_real_query(mysql->mysql, query, query_len)) { MYSQLI_REPORT_MYSQL_ERROR(mysql->mysql); RETURN_FALSE; } if (!mysql_field_count(mysql->mysql)) { \/* no result set - not a SELECT"
7134
+ "mixed mysqli_query(object link, string query [,int resultmode]) */",
7135
+ "PHP_FUNCTION(mysqli_query) { MY_MYSQL *mysql; zval *mysql_link; MYSQLI_RESOURCE *mysqli_resource; MYSQL_RES *result; char *query = NULL; unsigned int query_len; unsigned long resultmode = MYSQLI_STORE_RESULT; if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), \"Os|l\", &mysql_link, mysqli_link_class_entry, &query, &query_len, &resultmode) == FAILURE) { return; } if (!query_len) { php_error_docref(NULL TSRMLS_CC, E_WARNING, \"Empty query\"); RETURN_FALSE; } if ((resultmode & ~MYSQLI_ASYNC) != MYSQLI_USE_RESULT && (resultmode & ~MYSQLI_ASYNC) != MYSQLI_STORE_RESULT) { php_error_docref(NULL TSRMLS_CC, E_WARNING, \"Invalid value for resultmode\"); RETURN_FALSE; } MYSQLI_FETCH_RESOURCE(mysql, MY_MYSQL*, &mysql_link, \"mysqli_link\", MYSQLI_STATUS_VALID); MYSQLI_DISABLE_MQ; #ifdef MYSQLI_USE_MYSQLND if (resultmode & MYSQLI_ASYNC) { if (mysqli_async_query(mysql->mysql, query, query_len)) { MYSQLI_REPORT_MYSQL_ERROR(mysql->mysql); RETURN_FALSE; } mysql->async_result_fetch_type = resultmode & ~MYSQLI_ASYNC; RETURN_TRUE; } #endif if (mysql_real_query(mysql->mysql, query, query_len)) { MYSQLI_REPORT_MYSQL_ERROR(mysql->mysql); RETURN_FALSE; } if (!mysql_field_count(mysql->mysql)) { /* no result set - not a SELECT"
7308
7136
  ],
7309
7137
  "mysqli_real_connect": [
7310
7138
  "bool mysqli_real_connect(object link [,string hostname [,string username [,string passwd [,string dbname [,int port [,string socket [,int flags]]]]]]])",
@@ -7419,8 +7247,8 @@ var functionMap = {
7419
7247
  "Buffer result set on client"
7420
7248
  ],
7421
7249
  "mysqli_stmt_get_warnings": [
7422
- "object mysqli_stmt_get_warnings(object link) *\/",
7423
- "PHP_FUNCTION(mysqli_stmt_get_warnings) { MY_STMT *stmt; zval *stmt_link; MYSQLI_RESOURCE *mysqli_resource; MYSQLI_WARNING *w; if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), \"O\", &stmt_link, mysqli_stmt_class_entry) == FAILURE) { return; } MYSQLI_FETCH_RESOURCE(stmt, MY_STMT*, &stmt_link, \"mysqli_stmt\", MYSQLI_STATUS_VALID); if (mysqli_stmt_warning_count(stmt->stmt)) { w = php_get_warnings(mysqli_stmt_get_connection(stmt->stmt) TSRMLS_CC); } else { RETURN_FALSE; } mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE)); mysqli_resource->ptr = mysqli_resource->info = (void *)w; mysqli_resource->status = MYSQLI_STATUS_VALID; MYSQLI_RETURN_RESOURCE(mysqli_resource, mysqli_warning_class_entry); } \/* }}}"
7250
+ "object mysqli_stmt_get_warnings(object link) */",
7251
+ "PHP_FUNCTION(mysqli_stmt_get_warnings) { MY_STMT *stmt; zval *stmt_link; MYSQLI_RESOURCE *mysqli_resource; MYSQLI_WARNING *w; if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), \"O\", &stmt_link, mysqli_stmt_class_entry) == FAILURE) { return; } MYSQLI_FETCH_RESOURCE(stmt, MY_STMT*, &stmt_link, \"mysqli_stmt\", MYSQLI_STATUS_VALID); if (mysqli_stmt_warning_count(stmt->stmt)) { w = php_get_warnings(mysqli_stmt_get_connection(stmt->stmt) TSRMLS_CC); } else { RETURN_FALSE; } mysqli_resource = (MYSQLI_RESOURCE *)ecalloc (1, sizeof(MYSQLI_RESOURCE)); mysqli_resource->ptr = mysqli_resource->info = (void *)w; mysqli_resource->status = MYSQLI_STATUS_VALID; MYSQLI_RETURN_RESOURCE(mysqli_resource, mysqli_warning_class_entry); } /* }}}"
7424
7252
  ],
7425
7253
  "mysqli_stmt_init": [
7426
7254
  "mixed mysqli_stmt_init(object link)",
@@ -7652,7 +7480,7 @@ var functionMap = {
7652
7480
  ],
7653
7481
  "ob_implicit_flush": [
7654
7482
  "void ob_implicit_flush([int flag])",
7655
- "Turn implicit flush on\/off and is equivalent to calling flush() after every output call"
7483
+ "Turn implicit flush on/off and is equivalent to calling flush() after every output call"
7656
7484
  ],
7657
7485
  "ob_list_handlers": [
7658
7486
  "false|array ob_list_handlers()",
@@ -7664,7 +7492,7 @@ var functionMap = {
7664
7492
  ],
7665
7493
  "oci_bind_array_by_name": [
7666
7494
  "bool oci_bind_array_by_name(resource stmt, string name, array &var, int max_table_length [, int max_item_length [, int type ]])",
7667
- "Bind a PHP array to an Oracle PL\/SQL type by name"
7495
+ "Bind a PHP array to an Oracle PL/SQL type by name"
7668
7496
  ],
7669
7497
  "oci_bind_by_name": [
7670
7498
  "bool oci_bind_by_name(resource stmt, string name, mixed &var, [, int maxlength [, int type]])",
@@ -7828,7 +7656,7 @@ var functionMap = {
7828
7656
  ],
7829
7657
  "oci_lob_is_equal": [
7830
7658
  "bool oci_lob_is_equal( object lob1, object lob2 )",
7831
- "Tests to see if two LOB\/FILE locators are equal"
7659
+ "Tests to see if two LOB/FILE locators are equal"
7832
7660
  ],
7833
7661
  "oci_lob_load": [
7834
7662
  "string oci_lob_load()",
@@ -7884,7 +7712,7 @@ var functionMap = {
7884
7712
  ],
7885
7713
  "oci_new_descriptor": [
7886
7714
  "object oci_new_descriptor(resource connection [, int type])",
7887
- "Initialize a new empty descriptor LOB\/FILE (LOB is default)"
7715
+ "Initialize a new empty descriptor LOB/FILE (LOB is default)"
7888
7716
  ],
7889
7717
  "oci_num_fields": [
7890
7718
  "int oci_num_fields(resource stmt)",
@@ -7956,7 +7784,7 @@ var functionMap = {
7956
7784
  ],
7957
7785
  "ocisetbufferinglob": [
7958
7786
  "bool ocisetbufferinglob( boolean flag )",
7959
- "Enables\/disables buffering for a LOB"
7787
+ "Enables/disables buffering for a LOB"
7960
7788
  ],
7961
7789
  "octdec": [
7962
7790
  "int octdec(string octal_number)",
@@ -8212,7 +8040,7 @@ var functionMap = {
8212
8040
  ],
8213
8041
  "openssl_pkcs7_decrypt": [
8214
8042
  "bool openssl_pkcs7_decrypt(string infilename, string outfilename, mixed recipcert [, mixed recipkey])",
8215
- "Decrypts the S\/MIME message in the file name infilename and output the results to the file name outfilename. recipcert is a CERT for one of the recipients. recipkey specifies the private key matching recipcert, if recipcert does not include the key"
8043
+ "Decrypts the S/MIME message in the file name infilename and output the results to the file name outfilename. recipcert is a CERT for one of the recipients. recipkey specifies the private key matching recipcert, if recipcert does not include the key"
8216
8044
  ],
8217
8045
  "openssl_pkcs7_encrypt": [
8218
8046
  "bool openssl_pkcs7_encrypt(string infile, string outfile, mixed recipcerts, array headers [, long flags [, long cipher]])",
@@ -8220,7 +8048,7 @@ var functionMap = {
8220
8048
  ],
8221
8049
  "openssl_pkcs7_sign": [
8222
8050
  "bool openssl_pkcs7_sign(string infile, string outfile, mixed signcert, mixed signkey, array headers [, long flags [, string extracertsfilename]])",
8223
- "Signs the MIME message in the file named infile with signcert\/signkey and output the result to file name outfile. headers lists plain text headers to exclude from the signed portion of the message, and should include to, from and subject as a minimum"
8051
+ "Signs the MIME message in the file named infile with signcert/signkey and output the result to file name outfile. headers lists plain text headers to exclude from the signed portion of the message, and should include to, from and subject as a minimum"
8224
8052
  ],
8225
8053
  "openssl_pkcs7_verify": [
8226
8054
  "bool openssl_pkcs7_verify(string filename, long flags [, string signerscerts [, array cainfo [, string extracerts [, string content]]]])",
@@ -8308,7 +8136,7 @@ var functionMap = {
8308
8136
  ],
8309
8137
  "openssl_x509_parse": [
8310
8138
  "array openssl_x509_parse(mixed x509 [, bool shortnames=true])",
8311
- "Returns an array of the fields\/values of the CERT"
8139
+ "Returns an array of the fields/values of the CERT"
8312
8140
  ],
8313
8141
  "openssl_x509_read": [
8314
8142
  "resource openssl_x509_read(mixed cert)",
@@ -8344,7 +8172,7 @@ var functionMap = {
8344
8172
  ],
8345
8173
  "parse_str": [
8346
8174
  "void parse_str(string encoded_string [, array result])",
8347
- "Parses GET\/POST\/COOKIE data and sets global variables"
8175
+ "Parses GET/POST/COOKIE data and sets global variables"
8348
8176
  ],
8349
8177
  "parse_url": [
8350
8178
  "mixed parse_url(string url, [int url_component])",
@@ -8504,7 +8332,7 @@ var functionMap = {
8504
8332
  ],
8505
8333
  "pg_escape_string": [
8506
8334
  "string pg_escape_string([resource connection,] string data)",
8507
- "Escape string for text\/char type"
8335
+ "Escape string for text/char type"
8508
8336
  ],
8509
8337
  "pg_execute": [
8510
8338
  "resource pg_execute([resource connection,] string stmtname, array params)",
@@ -9135,8 +8963,8 @@ var functionMap = {
9135
8963
  "Convert a quoted-printable string to an 8 bit string"
9136
8964
  ],
9137
8965
  "quoted_printable_encode": [
9138
- "string quoted_printable_encode(string str) *\/",
9139
- "PHP_FUNCTION(quoted_printable_encode) { char *str, *new_str; int str_len; size_t new_str_len; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \"s\", &str, &str_len) != SUCCESS) { return; } if (!str_len) { RETURN_EMPTY_STRING(); } new_str = (char *)php_quot_print_encode((unsigned char *)str, (size_t)str_len, &new_str_len); RETURN_STRINGL(new_str, new_str_len, 0); } \/* }}}"
8966
+ "string quoted_printable_encode(string str) */",
8967
+ "PHP_FUNCTION(quoted_printable_encode) { char *str, *new_str; int str_len; size_t new_str_len; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, \"s\", &str, &str_len) != SUCCESS) { return; } if (!str_len) { RETURN_EMPTY_STRING(); } new_str = (char *)php_quot_print_encode((unsigned char *)str, (size_t)str_len, &new_str_len); RETURN_STRINGL(new_str, new_str_len, 0); } /* }}}"
9140
8968
  ],
9141
8969
  "quotemeta": [
9142
8970
  "string quotemeta(string str)",
@@ -9204,7 +9032,7 @@ var functionMap = {
9204
9032
  ],
9205
9033
  "readline_info": [
9206
9034
  "mixed readline_info([string varname [, string newvalue]])",
9207
- "Gets\/sets various internal readline variables."
9035
+ "Gets/sets various internal readline variables."
9208
9036
  ],
9209
9037
  "readline_list_history": [
9210
9038
  "array readline_list_history(void)",
@@ -9536,7 +9364,7 @@ var functionMap = {
9536
9364
  ],
9537
9365
  "sinh": [
9538
9366
  "float sinh(float number)",
9539
- "Returns the hyperbolic sine of the number, defined as (exp(number) - exp(-number))\/2"
9367
+ "Returns the hyperbolic sine of the number, defined as (exp(number) - exp(-number))/2"
9540
9368
  ],
9541
9369
  "sleep": [
9542
9370
  "void sleep(int seconds)",
@@ -9704,11 +9532,11 @@ var functionMap = {
9704
9532
  ],
9705
9533
  "socket_getpeername": [
9706
9534
  "bool socket_getpeername(resource socket, string &addr[, int &port])",
9707
- "Queries the remote side of the given socket which may either result in host\/port or in a UNIX filesystem path, dependent on its type."
9535
+ "Queries the remote side of the given socket which may either result in host/port or in a UNIX filesystem path, dependent on its type."
9708
9536
  ],
9709
9537
  "socket_getsockname": [
9710
9538
  "bool socket_getsockname(resource socket, string &addr[, int &port])",
9711
- "Queries the remote side of the given socket which may either result in host\/port or in a UNIX filesystem path, dependent on its type."
9539
+ "Queries the remote side of the given socket which may either result in host/port or in a UNIX filesystem path, dependent on its type."
9712
9540
  ],
9713
9541
  "socket_last_error": [
9714
9542
  "int socket_last_error([resource socket])",
@@ -10000,7 +9828,7 @@ var functionMap = {
10000
9828
  ],
10001
9829
  "str_ireplace": [
10002
9830
  "mixed str_ireplace(mixed search, mixed replace, mixed subject [, int &replace_count])",
10003
- "Replaces all occurrences of search in haystack with replace \/ case-insensitive"
9831
+ "Replaces all occurrences of search in haystack with replace / case-insensitive"
10004
9832
  ],
10005
9833
  "str_pad": [
10006
9834
  "string str_pad(string input, int pad_length [, string pad_string [, int pad_type]])",
@@ -10048,7 +9876,7 @@ var functionMap = {
10048
9876
  ],
10049
9877
  "strcspn": [
10050
9878
  "int strcspn(string str, string mask [, start [, len]])",
10051
- "Finds length of initial segment consisting entirely of characters not found in mask. If start or\/and length is provide works like strcspn(substr($s,$start,$len),$bad_chars)"
9879
+ "Finds length of initial segment consisting entirely of characters not found in mask. If start or/and length is provide works like strcspn(substr($s,$start,$len),$bad_chars)"
10052
9880
  ],
10053
9881
  "stream_bucket_append": [
10054
9882
  "void stream_bucket_append(resource brigade, resource bucket)",
@@ -10072,11 +9900,11 @@ var functionMap = {
10072
9900
  ],
10073
9901
  "stream_context_get_default": [
10074
9902
  "resource stream_context_get_default([array options])",
10075
- "Get a handle on the default file\/stream context and optionally set parameters"
9903
+ "Get a handle on the default file/stream context and optionally set parameters"
10076
9904
  ],
10077
9905
  "stream_context_get_options": [
10078
9906
  "array stream_context_get_options(resource context|resource stream)",
10079
- "Retrieve options for a stream\/wrapper\/context"
9907
+ "Retrieve options for a stream/wrapper/context"
10080
9908
  ],
10081
9909
  "stream_context_get_params": [
10082
9910
  "array stream_context_get_params(resource context|resource stream)",
@@ -10084,7 +9912,7 @@ var functionMap = {
10084
9912
  ],
10085
9913
  "stream_context_set_default": [
10086
9914
  "resource stream_context_set_default(array options)",
10087
- "Set default file\/stream context, returns the context as a resource"
9915
+ "Set default file/stream context, returns the context as a resource"
10088
9916
  ],
10089
9917
  "stream_context_set_option": [
10090
9918
  "bool stream_context_set_option(resource context|resource stream, string wrappername, string optionname, mixed value)",
@@ -10128,7 +9956,7 @@ var functionMap = {
10128
9956
  ],
10129
9957
  "stream_get_meta_data": [
10130
9958
  "array stream_get_meta_data(resource fp)",
10131
- "Retrieves header\/meta data from streams\/file pointers"
9959
+ "Retrieves header/meta data from streams/file pointers"
10132
9960
  ],
10133
9961
  "stream_get_transports": [
10134
9962
  "array stream_get_transports()",
@@ -10152,7 +9980,7 @@ var functionMap = {
10152
9980
  ],
10153
9981
  "stream_set_blocking": [
10154
9982
  "bool stream_set_blocking(resource socket, int mode)",
10155
- "Set blocking\/non-blocking mode on a socket or stream"
9983
+ "Set blocking/non-blocking mode on a socket or stream"
10156
9984
  ],
10157
9985
  "stream_set_timeout": [
10158
9986
  "bool stream_set_timeout(resource stream, int seconds [, int microseconds])",
@@ -10216,7 +10044,7 @@ var functionMap = {
10216
10044
  ],
10217
10045
  "strftime": [
10218
10046
  "string strftime(string format [, int timestamp])",
10219
- "Format a local time\/date according to locale settings"
10047
+ "Format a local time/date according to locale settings"
10220
10048
  ],
10221
10049
  "strip_tags": [
10222
10050
  "string strip_tags(string str [, string allowable_tags])",
@@ -10268,7 +10096,7 @@ var functionMap = {
10268
10096
  ],
10269
10097
  "strptime": [
10270
10098
  "string strptime(string timestamp, string format)",
10271
- "Parse a time\/date generated with strftime()"
10099
+ "Parse a time/date generated with strftime()"
10272
10100
  ],
10273
10101
  "strrchr": [
10274
10102
  "string strrchr(string haystack, string needle)",
@@ -10288,7 +10116,7 @@ var functionMap = {
10288
10116
  ],
10289
10117
  "strspn": [
10290
10118
  "int strspn(string str, string mask [, start [, len]])",
10291
- "Finds length of initial segment consisting entirely of characters found in mask. If start or\/and length is provided works like strspn(substr($s,$start,$len),$good_chars)"
10119
+ "Finds length of initial segment consisting entirely of characters found in mask. If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars)"
10292
10120
  ],
10293
10121
  "strstr": [
10294
10122
  "string strstr(string haystack, string needle[, bool part])",
@@ -10452,7 +10280,7 @@ var functionMap = {
10452
10280
  ],
10453
10281
  "tanh": [
10454
10282
  "float tanh(float number)",
10455
- "Returns the hyperbolic tangent of the number, defined as sinh(number)\/cosh(number)"
10283
+ "Returns the hyperbolic tangent of the number, defined as sinh(number)/cosh(number)"
10456
10284
  ],
10457
10285
  "tempnam": [
10458
10286
  "string tempnam(string dir, string prefix)",
@@ -10536,7 +10364,7 @@ var functionMap = {
10536
10364
  ],
10537
10365
  "tidy_is_xml": [
10538
10366
  "boolean tidy_is_xml()",
10539
- "Indicates if the document is a generic (non HTML\/XHTML) XML document."
10367
+ "Indicates if the document is a generic (non HTML/XHTML) XML document."
10540
10368
  ],
10541
10369
  "tidy_parse_file": [
10542
10370
  "boolean tidy_parse_file(string file [, mixed config_options [, string encoding [, bool use_include_path]]])",
@@ -10580,7 +10408,7 @@ var functionMap = {
10580
10408
  ],
10581
10409
  "timezone_location_get": [
10582
10410
  "array timezone_location_get()",
10583
- "Returns location information for a timezone, including country code, latitude\/longitude and comments"
10411
+ "Returns location information for a timezone, including country code, latitude/longitude and comments"
10584
10412
  ],
10585
10413
  "timezone_name_from_abbr": [
10586
10414
  "string timezone_name_from_abbr(string abbr[, long gmtOffset[, long isdst]])",
@@ -10624,7 +10452,7 @@ var functionMap = {
10624
10452
  ],
10625
10453
  "trigger_error": [
10626
10454
  "void trigger_error(string messsage [, int error_type])",
10627
- "Generates a user-level error\/warning\/notice message"
10455
+ "Generates a user-level error/warning/notice message"
10628
10456
  ],
10629
10457
  "trim": [
10630
10458
  "string trim(string str [, string character_mask])",
@@ -10740,7 +10568,7 @@ var functionMap = {
10740
10568
  ],
10741
10569
  "variant_date_to_timestamp": [
10742
10570
  "int variant_date_to_timestamp(object variant)",
10743
- "Converts a variant date\/time value to unix timestamp"
10571
+ "Converts a variant date/time value to unix timestamp"
10744
10572
  ],
10745
10573
  "variant_div": [
10746
10574
  "mixed variant_div(mixed left, mixed right)",
@@ -11068,7 +10896,7 @@ var functionMap = {
11068
10896
  ],
11069
10897
  "xmlwriter_set_indent": [
11070
10898
  "bool xmlwriter_set_indent(resource xmlwriter, bool indent)",
11071
- "Toggle indentation on\/off - returns FALSE on error"
10899
+ "Toggle indentation on/off - returns FALSE on error"
11072
10900
  ],
11073
10901
  "xmlwriter_set_indent_string": [
11074
10902
  "bool xmlwriter_set_indent_string(resource xmlwriter, string indentString)",
@@ -11184,7 +11012,7 @@ var functionMap = {
11184
11012
  ],
11185
11013
  "xsl_xsltprocessor_import_stylesheet": [
11186
11014
  "void xsl_xsltprocessor_import_stylesheet(domdocument doc);",
11187
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html# Since:"
11015
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html# Since:"
11188
11016
  ],
11189
11017
  "xsl_xsltprocessor_register_php_functions": [
11190
11018
  "void xsl_xsltprocessor_register_php_functions([mixed $restrict]);",
@@ -11199,12 +11027,12 @@ var functionMap = {
11199
11027
  ""
11200
11028
  ],
11201
11029
  "xsl_xsltprocessor_set_profiling": [
11202
- "bool xsl_xsltprocessor_set_profiling(string filename) *\/",
11203
- "PHP_FUNCTION(xsl_xsltprocessor_set_profiling) { zval *id; xsl_object *intern; char *filename = NULL; int filename_len; DOM_GET_THIS(id); if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, \"s!\", &filename, &filename_len) == SUCCESS) { intern = (xsl_object *)zend_object_store_get_object(id TSRMLS_CC); if (intern->profiling) { efree(intern->profiling); } if (filename != NULL) { intern->profiling = estrndup(filename,filename_len); } else { intern->profiling = NULL; } RETURN_TRUE; } else { WRONG_PARAM_COUNT; } } \/* }}} end xsl_xsltprocessor_set_profiling"
11030
+ "bool xsl_xsltprocessor_set_profiling(string filename) */",
11031
+ "PHP_FUNCTION(xsl_xsltprocessor_set_profiling) { zval *id; xsl_object *intern; char *filename = NULL; int filename_len; DOM_GET_THIS(id); if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS() TSRMLS_CC, \"s!\", &filename, &filename_len) == SUCCESS) { intern = (xsl_object *)zend_object_store_get_object(id TSRMLS_CC); if (intern->profiling) { efree(intern->profiling); } if (filename != NULL) { intern->profiling = estrndup(filename,filename_len); } else { intern->profiling = NULL; } RETURN_TRUE; } else { WRONG_PARAM_COUNT; } } /* }}} end xsl_xsltprocessor_set_profiling"
11204
11032
  ],
11205
11033
  "xsl_xsltprocessor_transform_to_doc": [
11206
11034
  "domdocument xsl_xsltprocessor_transform_to_doc(domnode doc);",
11207
- "URL: http:\/\/www.w3.org\/TR\/2003\/WD-DOM-Level-3-Core-20030226\/DOM3-Core.html# Since:"
11035
+ "URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html# Since:"
11208
11036
  ],
11209
11037
  "xsl_xsltprocessor_transform_to_uri": [
11210
11038
  "int xsl_xsltprocessor_transform_to_uri(domdocument doc, string uri);",
@@ -11403,363 +11231,6 @@ var PhpCompletions = function() {
11403
11231
  exports.PhpCompletions = PhpCompletions;
11404
11232
  });
11405
11233
 
11406
- define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"], function(require, exports, module) {
11407
- "use strict";
11408
-
11409
- var oop = require("../../lib/oop");
11410
- var Behaviour = require("../behaviour").Behaviour;
11411
- var TokenIterator = require("../../token_iterator").TokenIterator;
11412
- var lang = require("../../lib/lang");
11413
-
11414
- var SAFE_INSERT_IN_TOKENS =
11415
- ["text", "paren.rparen", "punctuation.operator"];
11416
- var SAFE_INSERT_BEFORE_TOKENS =
11417
- ["text", "paren.rparen", "punctuation.operator", "comment"];
11418
-
11419
- var context;
11420
- var contextCache = {};
11421
- var initContext = function(editor) {
11422
- var id = -1;
11423
- if (editor.multiSelect) {
11424
- id = editor.selection.index;
11425
- if (contextCache.rangeCount != editor.multiSelect.rangeCount)
11426
- contextCache = {rangeCount: editor.multiSelect.rangeCount};
11427
- }
11428
- if (contextCache[id])
11429
- return context = contextCache[id];
11430
- context = contextCache[id] = {
11431
- autoInsertedBrackets: 0,
11432
- autoInsertedRow: -1,
11433
- autoInsertedLineEnd: "",
11434
- maybeInsertedBrackets: 0,
11435
- maybeInsertedRow: -1,
11436
- maybeInsertedLineStart: "",
11437
- maybeInsertedLineEnd: ""
11438
- };
11439
- };
11440
-
11441
- var getWrapped = function(selection, selected, opening, closing) {
11442
- var rowDiff = selection.end.row - selection.start.row;
11443
- return {
11444
- text: opening + selected + closing,
11445
- selection: [
11446
- 0,
11447
- selection.start.column + 1,
11448
- rowDiff,
11449
- selection.end.column + (rowDiff ? 0 : 1)
11450
- ]
11451
- };
11452
- };
11453
-
11454
- var CstyleBehaviour = function() {
11455
- this.add("braces", "insertion", function(state, action, editor, session, text) {
11456
- var cursor = editor.getCursorPosition();
11457
- var line = session.doc.getLine(cursor.row);
11458
- if (text == '{') {
11459
- initContext(editor);
11460
- var selection = editor.getSelectionRange();
11461
- var selected = session.doc.getTextRange(selection);
11462
- if (selected !== "" && selected !== "{" && editor.getWrapBehavioursEnabled()) {
11463
- return getWrapped(selection, selected, '{', '}');
11464
- } else if (CstyleBehaviour.isSaneInsertion(editor, session)) {
11465
- if (/[\]\}\)]/.test(line[cursor.column]) || editor.inMultiSelectMode) {
11466
- CstyleBehaviour.recordAutoInsert(editor, session, "}");
11467
- return {
11468
- text: '{}',
11469
- selection: [1, 1]
11470
- };
11471
- } else {
11472
- CstyleBehaviour.recordMaybeInsert(editor, session, "{");
11473
- return {
11474
- text: '{',
11475
- selection: [1, 1]
11476
- };
11477
- }
11478
- }
11479
- } else if (text == '}') {
11480
- initContext(editor);
11481
- var rightChar = line.substring(cursor.column, cursor.column + 1);
11482
- if (rightChar == '}') {
11483
- var matching = session.$findOpeningBracket('}', {column: cursor.column + 1, row: cursor.row});
11484
- if (matching !== null && CstyleBehaviour.isAutoInsertedClosing(cursor, line, text)) {
11485
- CstyleBehaviour.popAutoInsertedClosing();
11486
- return {
11487
- text: '',
11488
- selection: [1, 1]
11489
- };
11490
- }
11491
- }
11492
- } else if (text == "\n" || text == "\r\n") {
11493
- initContext(editor);
11494
- var closing = "";
11495
- if (CstyleBehaviour.isMaybeInsertedClosing(cursor, line)) {
11496
- closing = lang.stringRepeat("}", context.maybeInsertedBrackets);
11497
- CstyleBehaviour.clearMaybeInsertedClosing();
11498
- }
11499
- var rightChar = line.substring(cursor.column, cursor.column + 1);
11500
- if (rightChar === '}') {
11501
- var openBracePos = session.findMatchingBracket({row: cursor.row, column: cursor.column+1}, '}');
11502
- if (!openBracePos)
11503
- return null;
11504
- var next_indent = this.$getIndent(session.getLine(openBracePos.row));
11505
- } else if (closing) {
11506
- var next_indent = this.$getIndent(line);
11507
- } else {
11508
- CstyleBehaviour.clearMaybeInsertedClosing();
11509
- return;
11510
- }
11511
- var indent = next_indent + session.getTabString();
11512
-
11513
- return {
11514
- text: '\n' + indent + '\n' + next_indent + closing,
11515
- selection: [1, indent.length, 1, indent.length]
11516
- };
11517
- } else {
11518
- CstyleBehaviour.clearMaybeInsertedClosing();
11519
- }
11520
- });
11521
-
11522
- this.add("braces", "deletion", function(state, action, editor, session, range) {
11523
- var selected = session.doc.getTextRange(range);
11524
- if (!range.isMultiLine() && selected == '{') {
11525
- initContext(editor);
11526
- var line = session.doc.getLine(range.start.row);
11527
- var rightChar = line.substring(range.end.column, range.end.column + 1);
11528
- if (rightChar == '}') {
11529
- range.end.column++;
11530
- return range;
11531
- } else {
11532
- context.maybeInsertedBrackets--;
11533
- }
11534
- }
11535
- });
11536
-
11537
- this.add("parens", "insertion", function(state, action, editor, session, text) {
11538
- if (text == '(') {
11539
- initContext(editor);
11540
- var selection = editor.getSelectionRange();
11541
- var selected = session.doc.getTextRange(selection);
11542
- if (selected !== "" && editor.getWrapBehavioursEnabled()) {
11543
- return getWrapped(selection, selected, '(', ')');
11544
- } else if (CstyleBehaviour.isSaneInsertion(editor, session)) {
11545
- CstyleBehaviour.recordAutoInsert(editor, session, ")");
11546
- return {
11547
- text: '()',
11548
- selection: [1, 1]
11549
- };
11550
- }
11551
- } else if (text == ')') {
11552
- initContext(editor);
11553
- var cursor = editor.getCursorPosition();
11554
- var line = session.doc.getLine(cursor.row);
11555
- var rightChar = line.substring(cursor.column, cursor.column + 1);
11556
- if (rightChar == ')') {
11557
- var matching = session.$findOpeningBracket(')', {column: cursor.column + 1, row: cursor.row});
11558
- if (matching !== null && CstyleBehaviour.isAutoInsertedClosing(cursor, line, text)) {
11559
- CstyleBehaviour.popAutoInsertedClosing();
11560
- return {
11561
- text: '',
11562
- selection: [1, 1]
11563
- };
11564
- }
11565
- }
11566
- }
11567
- });
11568
-
11569
- this.add("parens", "deletion", function(state, action, editor, session, range) {
11570
- var selected = session.doc.getTextRange(range);
11571
- if (!range.isMultiLine() && selected == '(') {
11572
- initContext(editor);
11573
- var line = session.doc.getLine(range.start.row);
11574
- var rightChar = line.substring(range.start.column + 1, range.start.column + 2);
11575
- if (rightChar == ')') {
11576
- range.end.column++;
11577
- return range;
11578
- }
11579
- }
11580
- });
11581
-
11582
- this.add("brackets", "insertion", function(state, action, editor, session, text) {
11583
- if (text == '[') {
11584
- initContext(editor);
11585
- var selection = editor.getSelectionRange();
11586
- var selected = session.doc.getTextRange(selection);
11587
- if (selected !== "" && editor.getWrapBehavioursEnabled()) {
11588
- return getWrapped(selection, selected, '[', ']');
11589
- } else if (CstyleBehaviour.isSaneInsertion(editor, session)) {
11590
- CstyleBehaviour.recordAutoInsert(editor, session, "]");
11591
- return {
11592
- text: '[]',
11593
- selection: [1, 1]
11594
- };
11595
- }
11596
- } else if (text == ']') {
11597
- initContext(editor);
11598
- var cursor = editor.getCursorPosition();
11599
- var line = session.doc.getLine(cursor.row);
11600
- var rightChar = line.substring(cursor.column, cursor.column + 1);
11601
- if (rightChar == ']') {
11602
- var matching = session.$findOpeningBracket(']', {column: cursor.column + 1, row: cursor.row});
11603
- if (matching !== null && CstyleBehaviour.isAutoInsertedClosing(cursor, line, text)) {
11604
- CstyleBehaviour.popAutoInsertedClosing();
11605
- return {
11606
- text: '',
11607
- selection: [1, 1]
11608
- };
11609
- }
11610
- }
11611
- }
11612
- });
11613
-
11614
- this.add("brackets", "deletion", function(state, action, editor, session, range) {
11615
- var selected = session.doc.getTextRange(range);
11616
- if (!range.isMultiLine() && selected == '[') {
11617
- initContext(editor);
11618
- var line = session.doc.getLine(range.start.row);
11619
- var rightChar = line.substring(range.start.column + 1, range.start.column + 2);
11620
- if (rightChar == ']') {
11621
- range.end.column++;
11622
- return range;
11623
- }
11624
- }
11625
- });
11626
-
11627
- this.add("string_dquotes", "insertion", function(state, action, editor, session, text) {
11628
- if (text == '"' || text == "'") {
11629
- initContext(editor);
11630
- var quote = text;
11631
- var selection = editor.getSelectionRange();
11632
- var selected = session.doc.getTextRange(selection);
11633
- if (selected !== "" && selected !== "'" && selected != '"' && editor.getWrapBehavioursEnabled()) {
11634
- return getWrapped(selection, selected, quote, quote);
11635
- } else if (!selected) {
11636
- var cursor = editor.getCursorPosition();
11637
- var line = session.doc.getLine(cursor.row);
11638
- var leftChar = line.substring(cursor.column-1, cursor.column);
11639
- var rightChar = line.substring(cursor.column, cursor.column + 1);
11640
-
11641
- var token = session.getTokenAt(cursor.row, cursor.column);
11642
- var rightToken = session.getTokenAt(cursor.row, cursor.column + 1);
11643
- if (leftChar == "\\" && token && /escape/.test(token.type))
11644
- return null;
11645
-
11646
- var stringBefore = token && /string|escape/.test(token.type);
11647
- var stringAfter = !rightToken || /string|escape/.test(rightToken.type);
11648
-
11649
- var pair;
11650
- if (rightChar == quote) {
11651
- pair = stringBefore !== stringAfter;
11652
- } else {
11653
- if (stringBefore && !stringAfter)
11654
- return null; // wrap string with different quote
11655
- if (stringBefore && stringAfter)
11656
- return null; // do not pair quotes inside strings
11657
- var wordRe = session.$mode.tokenRe;
11658
- wordRe.lastIndex = 0;
11659
- var isWordBefore = wordRe.test(leftChar);
11660
- wordRe.lastIndex = 0;
11661
- var isWordAfter = wordRe.test(leftChar);
11662
- if (isWordBefore || isWordAfter)
11663
- return null; // before or after alphanumeric
11664
- if (rightChar && !/[\s;,.})\]\\]/.test(rightChar))
11665
- return null; // there is rightChar and it isn't closing
11666
- pair = true;
11667
- }
11668
- return {
11669
- text: pair ? quote + quote : "",
11670
- selection: [1,1]
11671
- };
11672
- }
11673
- }
11674
- });
11675
-
11676
- this.add("string_dquotes", "deletion", function(state, action, editor, session, range) {
11677
- var selected = session.doc.getTextRange(range);
11678
- if (!range.isMultiLine() && (selected == '"' || selected == "'")) {
11679
- initContext(editor);
11680
- var line = session.doc.getLine(range.start.row);
11681
- var rightChar = line.substring(range.start.column + 1, range.start.column + 2);
11682
- if (rightChar == selected) {
11683
- range.end.column++;
11684
- return range;
11685
- }
11686
- }
11687
- });
11688
-
11689
- };
11690
-
11691
-
11692
- CstyleBehaviour.isSaneInsertion = function(editor, session) {
11693
- var cursor = editor.getCursorPosition();
11694
- var iterator = new TokenIterator(session, cursor.row, cursor.column);
11695
- if (!this.$matchTokenType(iterator.getCurrentToken() || "text", SAFE_INSERT_IN_TOKENS)) {
11696
- var iterator2 = new TokenIterator(session, cursor.row, cursor.column + 1);
11697
- if (!this.$matchTokenType(iterator2.getCurrentToken() || "text", SAFE_INSERT_IN_TOKENS))
11698
- return false;
11699
- }
11700
- iterator.stepForward();
11701
- return iterator.getCurrentTokenRow() !== cursor.row ||
11702
- this.$matchTokenType(iterator.getCurrentToken() || "text", SAFE_INSERT_BEFORE_TOKENS);
11703
- };
11704
-
11705
- CstyleBehaviour.$matchTokenType = function(token, types) {
11706
- return types.indexOf(token.type || token) > -1;
11707
- };
11708
-
11709
- CstyleBehaviour.recordAutoInsert = function(editor, session, bracket) {
11710
- var cursor = editor.getCursorPosition();
11711
- var line = session.doc.getLine(cursor.row);
11712
- if (!this.isAutoInsertedClosing(cursor, line, context.autoInsertedLineEnd[0]))
11713
- context.autoInsertedBrackets = 0;
11714
- context.autoInsertedRow = cursor.row;
11715
- context.autoInsertedLineEnd = bracket + line.substr(cursor.column);
11716
- context.autoInsertedBrackets++;
11717
- };
11718
-
11719
- CstyleBehaviour.recordMaybeInsert = function(editor, session, bracket) {
11720
- var cursor = editor.getCursorPosition();
11721
- var line = session.doc.getLine(cursor.row);
11722
- if (!this.isMaybeInsertedClosing(cursor, line))
11723
- context.maybeInsertedBrackets = 0;
11724
- context.maybeInsertedRow = cursor.row;
11725
- context.maybeInsertedLineStart = line.substr(0, cursor.column) + bracket;
11726
- context.maybeInsertedLineEnd = line.substr(cursor.column);
11727
- context.maybeInsertedBrackets++;
11728
- };
11729
-
11730
- CstyleBehaviour.isAutoInsertedClosing = function(cursor, line, bracket) {
11731
- return context.autoInsertedBrackets > 0 &&
11732
- cursor.row === context.autoInsertedRow &&
11733
- bracket === context.autoInsertedLineEnd[0] &&
11734
- line.substr(cursor.column) === context.autoInsertedLineEnd;
11735
- };
11736
-
11737
- CstyleBehaviour.isMaybeInsertedClosing = function(cursor, line) {
11738
- return context.maybeInsertedBrackets > 0 &&
11739
- cursor.row === context.maybeInsertedRow &&
11740
- line.substr(cursor.column) === context.maybeInsertedLineEnd &&
11741
- line.substr(0, cursor.column) == context.maybeInsertedLineStart;
11742
- };
11743
-
11744
- CstyleBehaviour.popAutoInsertedClosing = function() {
11745
- context.autoInsertedLineEnd = context.autoInsertedLineEnd.substr(1);
11746
- context.autoInsertedBrackets--;
11747
- };
11748
-
11749
- CstyleBehaviour.clearMaybeInsertedClosing = function() {
11750
- if (context) {
11751
- context.maybeInsertedBrackets = 0;
11752
- context.maybeInsertedRow = -1;
11753
- }
11754
- };
11755
-
11756
-
11757
-
11758
- oop.inherits(CstyleBehaviour, Behaviour);
11759
-
11760
- exports.CstyleBehaviour = CstyleBehaviour;
11761
- });
11762
-
11763
11234
  define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"], function(require, exports, module) {
11764
11235
  "use strict";
11765
11236
 
@@ -11900,14 +11371,13 @@ oop.inherits(FoldMode, BaseFoldMode);
11900
11371
 
11901
11372
  });
11902
11373
 
11903
- define("ace/mode/javascript",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/javascript_highlight_rules","ace/mode/matching_brace_outdent","ace/range","ace/worker/worker_client","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"], function(require, exports, module) {
11374
+ define("ace/mode/javascript",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/javascript_highlight_rules","ace/mode/matching_brace_outdent","ace/worker/worker_client","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"], function(require, exports, module) {
11904
11375
  "use strict";
11905
11376
 
11906
11377
  var oop = require("../lib/oop");
11907
11378
  var TextMode = require("./text").Mode;
11908
11379
  var JavaScriptHighlightRules = require("./javascript_highlight_rules").JavaScriptHighlightRules;
11909
11380
  var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent;
11910
- var Range = require("../range").Range;
11911
11381
  var WorkerClient = require("../worker/worker_client").WorkerClient;
11912
11382
  var CstyleBehaviour = require("./behaviour/cstyle").CstyleBehaviour;
11913
11383
  var CStyleFoldMode = require("./folding/cstyle").FoldMode;
@@ -11938,7 +11408,7 @@ oop.inherits(Mode, TextMode);
11938
11408
  }
11939
11409
 
11940
11410
  if (state == "start" || state == "no_regex") {
11941
- var match = line.match(/^.*(?:\bcase\b.*\:|[\{\(\[])\s*$/);
11411
+ var match = line.match(/^.*(?:\bcase\b.*:|[\{\(\[])\s*$/);
11942
11412
  if (match) {
11943
11413
  indent += tab;
11944
11414
  }
@@ -12386,7 +11856,7 @@ var XmlBehaviour = function () {
12386
11856
 
12387
11857
  this.add("autoclosing", "insertion", function (state, action, editor, session, text) {
12388
11858
  if (text == '>') {
12389
- var position = editor.getCursorPosition();
11859
+ var position = editor.getSelectionRange().start;
12390
11860
  var iterator = new TokenIterator(session, position.row, position.column);
12391
11861
  var token = iterator.getCurrentToken() || iterator.stepBackward();
12392
11862
  if (!token || !(is(token, "tag-name") || is(token, "tag-whitespace") || is(token, "attribute-name") || is(token, "attribute-equals") || is(token, "attribute-value")))
@@ -12404,6 +11874,10 @@ var XmlBehaviour = function () {
12404
11874
  }
12405
11875
  while (!is(token, "tag-name")) {
12406
11876
  token = iterator.stepBackward();
11877
+ if (token.value == "<") {
11878
+ token = iterator.stepForward();
11879
+ break;
11880
+ }
12407
11881
  }
12408
11882
 
12409
11883
  var tokenRow = iterator.getCurrentTokenRow();
@@ -12980,7 +12454,7 @@ var attributeMap = {
12980
12454
  "label": {"form": 1, "for": 1},
12981
12455
  "input": {
12982
12456
  "type": {"text": 1, "password": 1, "hidden": 1, "checkbox": 1, "submit": 1, "radio": 1, "file": 1, "button": 1, "reset": 1, "image": 31, "color": 1, "date": 1, "datetime": 1, "datetime-local": 1, "email": 1, "month": 1, "number": 1, "range": 1, "search": 1, "tel": 1, "time": 1, "url": 1, "week": 1},
12983
- "accept": 1, "alt": 1, "autocomplete": {"on": 1, "off": 1}, "autofocus": {"autofocus": 1}, "checked": {"checked": 1}, "disabled": {"disabled": 1}, "form": 1, "formaction": 1, "formenctype": {"application/x-www-form-urlencoded": 1, "multipart/form-data": 1, "text/plain": 1}, "formmethod": {"get": 1, "post": 1}, "formnovalidate": {"formnovalidate": 1}, "formtarget": {"_blank": 1, "_self": 1, "_parent": 1, "_top": 1}, "height": 1, "list": 1, "max": 1, "maxlength": 1, "min": 1, "multiple": {"multiple": 1}, "pattern": 1, "placeholder": 1, "readonly": {"readonly": 1}, "required": {"required": 1}, "size": 1, "src": 1, "step": 1, "width": 1, "files": 1, "value": 1},
12457
+ "accept": 1, "alt": 1, "autocomplete": {"on": 1, "off": 1}, "autofocus": {"autofocus": 1}, "checked": {"checked": 1}, "disabled": {"disabled": 1}, "form": 1, "formaction": 1, "formenctype": {"application/x-www-form-urlencoded": 1, "multipart/form-data": 1, "text/plain": 1}, "formmethod": {"get": 1, "post": 1}, "formnovalidate": {"formnovalidate": 1}, "formtarget": {"_blank": 1, "_self": 1, "_parent": 1, "_top": 1}, "height": 1, "list": 1, "max": 1, "maxlength": 1, "min": 1, "multiple": {"multiple": 1}, "name": 1, "pattern": 1, "placeholder": 1, "readonly": {"readonly": 1}, "required": {"required": 1}, "size": 1, "src": 1, "step": 1, "width": 1, "files": 1, "value": 1},
12984
12458
  "button": {"autofocus": 1, "disabled": {"disabled": 1}, "form": 1, "formaction": 1, "formenctype": 1, "formmethod": 1, "formnovalidate": 1, "formtarget": 1, "name": 1, "value": 1, "type": {"button": 1, "submit": 1}},
12985
12459
  "select": {"autofocus": 1, "disabled": 1, "form": 1, "multiple": {"multiple": 1}, "name": 1, "size": 1, "readonly":{"readonly": 1}},
12986
12460
  "datalist": {},
@@ -13042,7 +12516,7 @@ var HtmlCompletions = function() {
13042
12516
  if (is(token, "attribute-value"))
13043
12517
  return this.getAttributeValueCompletions(state, session, pos, prefix);
13044
12518
  var line = session.getLine(pos.row).substr(0, pos.column);
13045
- if (/&[A-z]*$/i.test(line))
12519
+ if (/&[a-z]*$/i.test(line))
13046
12520
  return this.getHTMLEntityCompletions(state, session, pos, prefix);
13047
12521
 
13048
12522
  return [];
@@ -13222,14 +12696,14 @@ oop.inherits(PhpMode, TextMode);
13222
12696
  + unicode.packages.L
13223
12697
  + unicode.packages.Mn + unicode.packages.Mc
13224
12698
  + unicode.packages.Nd
13225
- + unicode.packages.Pc + "\_]+", "g"
12699
+ + unicode.packages.Pc + "_]+", "g"
13226
12700
  );
13227
12701
 
13228
12702
  this.nonTokenRe = new RegExp("^(?:[^"
13229
12703
  + unicode.packages.L
13230
12704
  + unicode.packages.Mn + unicode.packages.Mc
13231
12705
  + unicode.packages.Nd
13232
- + unicode.packages.Pc + "\_]|\s])+", "g"
12706
+ + unicode.packages.Pc + "_]|\\s])+", "g"
13233
12707
  );
13234
12708
 
13235
12709
 
@@ -13248,7 +12722,7 @@ oop.inherits(PhpMode, TextMode);
13248
12722
  }
13249
12723
 
13250
12724
  if (state == "start") {
13251
- var match = line.match(/^.*[\{\(\[\:]\s*$/);
12725
+ var match = line.match(/^.*[\{\(\[:]\s*$/);
13252
12726
  if (match) {
13253
12727
  indent += tab;
13254
12728
  }