[MediaWiki-commits] [Gerrit] mediawiki...CodeMirror[master]: Update CodeMirror library to 5.30.0

2017-09-25 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/380678 )

Change subject: Update CodeMirror library to 5.30.0
..


Update CodeMirror library to 5.30.0

Bug: T176685
Change-Id: I551b3b335be9b9ec05625482a14c32cc994f8df1
---
M resources/lib/codemirror/AUTHORS
M resources/lib/codemirror/CHANGELOG.md
M resources/lib/codemirror/README.md
M resources/lib/codemirror/addon/edit/closebrackets.js
M resources/lib/codemirror/addon/hint/show-hint.js
M resources/lib/codemirror/addon/lint/css-lint.js
M resources/lib/codemirror/addon/lint/lint.js
M resources/lib/codemirror/addon/mode/simple.js
M resources/lib/codemirror/addon/search/search.js
M resources/lib/codemirror/addon/selection/mark-selection.js
M resources/lib/codemirror/addon/tern/tern.js
M resources/lib/codemirror/lib/codemirror.js
M resources/lib/codemirror/mode/gfm/gfm.js
M resources/lib/codemirror/mode/javascript/javascript.js
M resources/lib/codemirror/mode/markdown/markdown.js
M resources/lib/codemirror/mode/meta.js
M resources/lib/codemirror/mode/ruby/ruby.js
M resources/lib/codemirror/mode/soy/soy.js
M resources/lib/codemirror/mode/sql/sql.js
M resources/lib/codemirror/mode/vue/vue.js
20 files changed, 469 insertions(+), 239 deletions(-)

Approvals:
  jenkins-bot: Verified
  Kaldari: Looks good to me, approved



diff --git a/resources/lib/codemirror/AUTHORS b/resources/lib/codemirror/AUTHORS
index 280dea2..1264357 100644
--- a/resources/lib/codemirror/AUTHORS
+++ b/resources/lib/codemirror/AUTHORS
@@ -68,6 +68,7 @@
 Anton Kovalyov
 Apollo Zhu
 AQNOUCH Mohammed
+Aram Shatakhtsyan
 areos
 Arnab Bose
 Arsène von Wyss
@@ -155,6 +156,7 @@
 Daniel KJ
 Daniel Neel
 Daniel Parnell
+Daniel Thwaites
 Danila Malyutin
 Danny Yoo
 darealshinji
@@ -213,7 +215,9 @@
 Forbes Lindesay
 Ford_Lawnmower
 Forrest Oliphant
+Franco Catena
 Frank Wiegand
+Fredrik Borg
 Gabriel Gheorghian
 Gabriel Horner
 Gabriel Nahmias
@@ -255,6 +259,7 @@
 Hocdoc
 Hugues Malphettes
 Ian Beck
+Ian Davies
 Ian Dickinson
 Ian Wehrman
 Ian Wetherbee
@@ -376,6 +381,7 @@
 LM
 lochel
 Lorenzo Stoakes
+Louis Mauchet
 Luca Fabbri
 Luciano Longo
 Lu Fangjian
@@ -660,6 +666,7 @@
 wenli
 Wes Cossick
 Wesley Wiser
+Weston Ruter
 Will Binns-Smith
 Will Dean
 William Jamieson
diff --git a/resources/lib/codemirror/CHANGELOG.md 
b/resources/lib/codemirror/CHANGELOG.md
index 6cc7ed7..ff7d6e2 100644
--- a/resources/lib/codemirror/CHANGELOG.md
+++ b/resources/lib/codemirror/CHANGELOG.md
@@ -1,3 +1,27 @@
+## 5.30.0 (2017-09-20)
+
+### Bug fixes
+
+Fixed a number of issues with drawing right-to-left selections and mouse 
selection in bidirectional text.
+
+[search addon](http://codemirror.net/demo/search/): Fix crash when restarting 
search after doing empty search.
+
+[mark-selection addon](http://cm/doc/manual.html#addon_mark-selection): Fix 
off-by-one bug.
+
+[tern addon](http://codemirror.net/demo/tern.html): Fix bad request made when 
editing at the bottom of a large document.
+
+[javascript mode](http://codemirror.net/mode/javascript/): Improve parsing in 
a number of corner cases.
+
+[markdown mode](http://codemirror.net/mode/markdown/): Fix crash when a 
sub-mode doesn't support indentation, allow uppercase X in task lists.
+
+[gfm mode](http://codemirror.net/mode/gfm/): Don't highlight SHA1 'hashes' 
without numbers to avoid false positives.
+
+[soy mode](http://codemirror.net/mode/soy/): Support injected data and 
`@param` in comments.
+
+### New features
+
+[simple mode addon](http://codemirror.net/demo/simplemode.html): Allow groups 
in regexps when `token` isn't an array.
+
 ## 5.29.0 (2017-08-24)
 
 ### Bug fixes
@@ -54,7 +78,7 @@
 
 ### Bug fixes
 
-Fix crash in the [simple mode](http://codemirror.net/demo/simplemode.html) 
addon.
+Fix crash in the [simple mode](http://codemirror.net/demo/simplemode.html)< 
addon.
 
 ## 5.27.0 (2017-06-22)
 
diff --git a/resources/lib/codemirror/README.md 
b/resources/lib/codemirror/README.md
index 3328e3b..a3a351b 100644
--- a/resources/lib/codemirror/README.md
+++ b/resources/lib/codemirror/README.md
@@ -7,7 +7,8 @@
 CodeMirror is a versatile text editor implemented in JavaScript for
 the browser. It is specialized for editing code, and comes with over
 100 language modes and various addons that implement more advanced
-editing functionality.
+editing functionality. Every language comes with fully-featured code
+and syntax highlighting to help with reading and editing complex code.
 
 A rich programming API and a CSS theming system are available for
 customizing CodeMirror to fit your application, and extending it with
diff --git a/resources/lib/codemirror/addon/edit/closebrackets.js 
b/resources/lib/codemirror/addon/edit/closebrackets.js
index 01fdd96..36aec0d 100644
--- a/resources/lib/codemirror/addon/edit/closebrackets.js
+++ b/resources/lib/codemirror/addon/edit/closebrackets.js
@@ -23,6 +23,7 @@
   cm.state.closeBrackets = null;
 }
 if (va

[MediaWiki-commits] [Gerrit] mediawiki...CodeMirror[master]: Update CodeMirror library to 5.30.0

2017-09-25 Thread Pastakhov (Code Review)
Pastakhov has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/380678 )

Change subject: Update CodeMirror library to 5.30.0
..

Update CodeMirror library to 5.30.0

Bug: T176685
Change-Id: I551b3b335be9b9ec05625482a14c32cc994f8df1
---
M resources/lib/codemirror/AUTHORS
M resources/lib/codemirror/CHANGELOG.md
M resources/lib/codemirror/README.md
M resources/lib/codemirror/addon/edit/closebrackets.js
M resources/lib/codemirror/addon/hint/show-hint.js
M resources/lib/codemirror/addon/lint/css-lint.js
M resources/lib/codemirror/addon/lint/lint.js
M resources/lib/codemirror/addon/mode/simple.js
M resources/lib/codemirror/addon/search/search.js
M resources/lib/codemirror/addon/selection/mark-selection.js
M resources/lib/codemirror/addon/tern/tern.js
M resources/lib/codemirror/lib/codemirror.js
M resources/lib/codemirror/mode/gfm/gfm.js
M resources/lib/codemirror/mode/javascript/javascript.js
M resources/lib/codemirror/mode/markdown/markdown.js
M resources/lib/codemirror/mode/meta.js
M resources/lib/codemirror/mode/ruby/ruby.js
M resources/lib/codemirror/mode/soy/soy.js
M resources/lib/codemirror/mode/sql/sql.js
M resources/lib/codemirror/mode/vue/vue.js
20 files changed, 469 insertions(+), 239 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CodeMirror 
refs/changes/78/380678/1

diff --git a/resources/lib/codemirror/AUTHORS b/resources/lib/codemirror/AUTHORS
index 280dea2..1264357 100644
--- a/resources/lib/codemirror/AUTHORS
+++ b/resources/lib/codemirror/AUTHORS
@@ -68,6 +68,7 @@
 Anton Kovalyov
 Apollo Zhu
 AQNOUCH Mohammed
+Aram Shatakhtsyan
 areos
 Arnab Bose
 Arsène von Wyss
@@ -155,6 +156,7 @@
 Daniel KJ
 Daniel Neel
 Daniel Parnell
+Daniel Thwaites
 Danila Malyutin
 Danny Yoo
 darealshinji
@@ -213,7 +215,9 @@
 Forbes Lindesay
 Ford_Lawnmower
 Forrest Oliphant
+Franco Catena
 Frank Wiegand
+Fredrik Borg
 Gabriel Gheorghian
 Gabriel Horner
 Gabriel Nahmias
@@ -255,6 +259,7 @@
 Hocdoc
 Hugues Malphettes
 Ian Beck
+Ian Davies
 Ian Dickinson
 Ian Wehrman
 Ian Wetherbee
@@ -376,6 +381,7 @@
 LM
 lochel
 Lorenzo Stoakes
+Louis Mauchet
 Luca Fabbri
 Luciano Longo
 Lu Fangjian
@@ -660,6 +666,7 @@
 wenli
 Wes Cossick
 Wesley Wiser
+Weston Ruter
 Will Binns-Smith
 Will Dean
 William Jamieson
diff --git a/resources/lib/codemirror/CHANGELOG.md 
b/resources/lib/codemirror/CHANGELOG.md
index 6cc7ed7..ff7d6e2 100644
--- a/resources/lib/codemirror/CHANGELOG.md
+++ b/resources/lib/codemirror/CHANGELOG.md
@@ -1,3 +1,27 @@
+## 5.30.0 (2017-09-20)
+
+### Bug fixes
+
+Fixed a number of issues with drawing right-to-left selections and mouse 
selection in bidirectional text.
+
+[search addon](http://codemirror.net/demo/search/): Fix crash when restarting 
search after doing empty search.
+
+[mark-selection addon](http://cm/doc/manual.html#addon_mark-selection): Fix 
off-by-one bug.
+
+[tern addon](http://codemirror.net/demo/tern.html): Fix bad request made when 
editing at the bottom of a large document.
+
+[javascript mode](http://codemirror.net/mode/javascript/): Improve parsing in 
a number of corner cases.
+
+[markdown mode](http://codemirror.net/mode/markdown/): Fix crash when a 
sub-mode doesn't support indentation, allow uppercase X in task lists.
+
+[gfm mode](http://codemirror.net/mode/gfm/): Don't highlight SHA1 'hashes' 
without numbers to avoid false positives.
+
+[soy mode](http://codemirror.net/mode/soy/): Support injected data and 
`@param` in comments.
+
+### New features
+
+[simple mode addon](http://codemirror.net/demo/simplemode.html): Allow groups 
in regexps when `token` isn't an array.
+
 ## 5.29.0 (2017-08-24)
 
 ### Bug fixes
@@ -54,7 +78,7 @@
 
 ### Bug fixes
 
-Fix crash in the [simple mode](http://codemirror.net/demo/simplemode.html) 
addon.
+Fix crash in the [simple mode](http://codemirror.net/demo/simplemode.html)< 
addon.
 
 ## 5.27.0 (2017-06-22)
 
diff --git a/resources/lib/codemirror/README.md 
b/resources/lib/codemirror/README.md
index 3328e3b..a3a351b 100644
--- a/resources/lib/codemirror/README.md
+++ b/resources/lib/codemirror/README.md
@@ -7,7 +7,8 @@
 CodeMirror is a versatile text editor implemented in JavaScript for
 the browser. It is specialized for editing code, and comes with over
 100 language modes and various addons that implement more advanced
-editing functionality.
+editing functionality. Every language comes with fully-featured code
+and syntax highlighting to help with reading and editing complex code.
 
 A rich programming API and a CSS theming system are available for
 customizing CodeMirror to fit your application, and extending it with
diff --git a/resources/lib/codemirror/addon/edit/closebrackets.js 
b/resources/lib/codemirror/addon/edit/closebrackets.js
index 01fdd96..36aec0d 100644
--- a/resources/lib/codemirror/addon/edit/closebrackets.js
+++ b/resources/lib/codemirror/addon/edit/closebrackets.js
@@ -23,6 +23,7 @@
   cm.state.closeBrackets = null;