Update CodeMirror to 5.14.2
Added 5 new language modes: mbox, PowerShell, SAS, Web IDL and Yacas. Change-Id: I2c035d9cd813afb2d575e1b46be05586813fc869
This commit is contained in:
parent
65e550a18c
commit
ef0833da2a
gerrit-gwtui/src/main/java/net/codemirror/mode
gerrit-server/src/main/resources/com/google/gerrit/server/mime
lib/codemirror
@ -91,6 +91,7 @@ public class ModeInfo extends JavaScriptObject {
|
|||||||
Modes.I.lua(),
|
Modes.I.lua(),
|
||||||
Modes.I.markdown(),
|
Modes.I.markdown(),
|
||||||
Modes.I.mathematica(),
|
Modes.I.mathematica(),
|
||||||
|
Modes.I.mbox(),
|
||||||
Modes.I.mirc(),
|
Modes.I.mirc(),
|
||||||
Modes.I.mllike(),
|
Modes.I.mllike(),
|
||||||
Modes.I.modelica(),
|
Modes.I.modelica(),
|
||||||
@ -106,6 +107,7 @@ public class ModeInfo extends JavaScriptObject {
|
|||||||
Modes.I.perl(),
|
Modes.I.perl(),
|
||||||
Modes.I.php(),
|
Modes.I.php(),
|
||||||
Modes.I.pig(),
|
Modes.I.pig(),
|
||||||
|
Modes.I.powershell(),
|
||||||
Modes.I.properties(),
|
Modes.I.properties(),
|
||||||
Modes.I.protobuf(),
|
Modes.I.protobuf(),
|
||||||
Modes.I.puppet(),
|
Modes.I.puppet(),
|
||||||
@ -116,6 +118,7 @@ public class ModeInfo extends JavaScriptObject {
|
|||||||
Modes.I.rst(),
|
Modes.I.rst(),
|
||||||
Modes.I.ruby(),
|
Modes.I.ruby(),
|
||||||
Modes.I.rust(),
|
Modes.I.rust(),
|
||||||
|
Modes.I.sas(),
|
||||||
Modes.I.scheme(),
|
Modes.I.scheme(),
|
||||||
Modes.I.shell(),
|
Modes.I.shell(),
|
||||||
Modes.I.smalltalk(),
|
Modes.I.smalltalk(),
|
||||||
@ -145,8 +148,10 @@ public class ModeInfo extends JavaScriptObject {
|
|||||||
Modes.I.verilog(),
|
Modes.I.verilog(),
|
||||||
Modes.I.vhdl(),
|
Modes.I.vhdl(),
|
||||||
Modes.I.vue(),
|
Modes.I.vue(),
|
||||||
|
Modes.I.webidl(),
|
||||||
Modes.I.xml(),
|
Modes.I.xml(),
|
||||||
Modes.I.xquery(),
|
Modes.I.xquery(),
|
||||||
|
Modes.I.yacas(),
|
||||||
Modes.I.yaml_frontmatter(),
|
Modes.I.yaml_frontmatter(),
|
||||||
Modes.I.yaml(),
|
Modes.I.yaml(),
|
||||||
Modes.I.z80(),
|
Modes.I.z80(),
|
||||||
|
@ -76,6 +76,7 @@ public interface Modes extends ClientBundle {
|
|||||||
@Source("lua.js") @DoNotEmbed DataResource lua();
|
@Source("lua.js") @DoNotEmbed DataResource lua();
|
||||||
@Source("markdown.js") @DoNotEmbed DataResource markdown();
|
@Source("markdown.js") @DoNotEmbed DataResource markdown();
|
||||||
@Source("mathematica.js") @DoNotEmbed DataResource mathematica();
|
@Source("mathematica.js") @DoNotEmbed DataResource mathematica();
|
||||||
|
@Source("mbox.js") @DoNotEmbed DataResource mbox();
|
||||||
@Source("mirc.js") @DoNotEmbed DataResource mirc();
|
@Source("mirc.js") @DoNotEmbed DataResource mirc();
|
||||||
@Source("mllike.js") @DoNotEmbed DataResource mllike();
|
@Source("mllike.js") @DoNotEmbed DataResource mllike();
|
||||||
@Source("modelica.js") @DoNotEmbed DataResource modelica();
|
@Source("modelica.js") @DoNotEmbed DataResource modelica();
|
||||||
@ -91,6 +92,7 @@ public interface Modes extends ClientBundle {
|
|||||||
@Source("perl.js") @DoNotEmbed DataResource perl();
|
@Source("perl.js") @DoNotEmbed DataResource perl();
|
||||||
@Source("php.js") @DoNotEmbed DataResource php();
|
@Source("php.js") @DoNotEmbed DataResource php();
|
||||||
@Source("pig.js") @DoNotEmbed DataResource pig();
|
@Source("pig.js") @DoNotEmbed DataResource pig();
|
||||||
|
@Source("powershell.js") @DoNotEmbed DataResource powershell();
|
||||||
@Source("properties.js") @DoNotEmbed DataResource properties();
|
@Source("properties.js") @DoNotEmbed DataResource properties();
|
||||||
@Source("protobuf.js") @DoNotEmbed DataResource protobuf();
|
@Source("protobuf.js") @DoNotEmbed DataResource protobuf();
|
||||||
@Source("puppet.js") @DoNotEmbed DataResource puppet();
|
@Source("puppet.js") @DoNotEmbed DataResource puppet();
|
||||||
@ -101,6 +103,7 @@ public interface Modes extends ClientBundle {
|
|||||||
@Source("rst.js") @DoNotEmbed DataResource rst();
|
@Source("rst.js") @DoNotEmbed DataResource rst();
|
||||||
@Source("ruby.js") @DoNotEmbed DataResource ruby();
|
@Source("ruby.js") @DoNotEmbed DataResource ruby();
|
||||||
@Source("rust.js") @DoNotEmbed DataResource rust();
|
@Source("rust.js") @DoNotEmbed DataResource rust();
|
||||||
|
@Source("sas.js") @DoNotEmbed DataResource sas();
|
||||||
@Source("sass.js") @DoNotEmbed DataResource sass();
|
@Source("sass.js") @DoNotEmbed DataResource sass();
|
||||||
@Source("scheme.js") @DoNotEmbed DataResource scheme();
|
@Source("scheme.js") @DoNotEmbed DataResource scheme();
|
||||||
@Source("shell.js") @DoNotEmbed DataResource shell();
|
@Source("shell.js") @DoNotEmbed DataResource shell();
|
||||||
@ -133,8 +136,10 @@ public interface Modes extends ClientBundle {
|
|||||||
@Source("verilog.js") @DoNotEmbed DataResource verilog();
|
@Source("verilog.js") @DoNotEmbed DataResource verilog();
|
||||||
@Source("vhdl.js") @DoNotEmbed DataResource vhdl();
|
@Source("vhdl.js") @DoNotEmbed DataResource vhdl();
|
||||||
@Source("vue.js") @DoNotEmbed DataResource vue();
|
@Source("vue.js") @DoNotEmbed DataResource vue();
|
||||||
|
@Source("webidl.js") @DoNotEmbed DataResource webidl();
|
||||||
@Source("xml.js") @DoNotEmbed DataResource xml();
|
@Source("xml.js") @DoNotEmbed DataResource xml();
|
||||||
@Source("xquery.js") @DoNotEmbed DataResource xquery();
|
@Source("xquery.js") @DoNotEmbed DataResource xquery();
|
||||||
|
@Source("yacas.js") @DoNotEmbed DataResource yacas();
|
||||||
@Source("yaml-frontmatter.js") @DoNotEmbed DataResource yaml_frontmatter();
|
@Source("yaml-frontmatter.js") @DoNotEmbed DataResource yaml_frontmatter();
|
||||||
@Source("yaml.js") @DoNotEmbed DataResource yaml();
|
@Source("yaml.js") @DoNotEmbed DataResource yaml();
|
||||||
@Source("z80.js") @DoNotEmbed DataResource z80();
|
@Source("z80.js") @DoNotEmbed DataResource z80();
|
||||||
|
@ -119,6 +119,7 @@ m = text/x-objectivec
|
|||||||
macruby = text/x-ruby
|
macruby = text/x-ruby
|
||||||
map = application/json
|
map = application/json
|
||||||
markdown = text/x-markdown
|
markdown = text/x-markdown
|
||||||
|
mbox = application/mbox
|
||||||
md = text/x-markdown
|
md = text/x-markdown
|
||||||
mirc = text/mirc
|
mirc = text/mirc
|
||||||
mkd = text/x-markdown
|
mkd = text/x-markdown
|
||||||
@ -159,6 +160,9 @@ project.config = text/x-ini
|
|||||||
properties = text/x-ini
|
properties = text/x-ini
|
||||||
proto = text/x-protobuf
|
proto = text/x-protobuf
|
||||||
protobuf = text/x-protobuf
|
protobuf = text/x-protobuf
|
||||||
|
ps1 = application/x-powershell
|
||||||
|
psd1 = application/x-powershell
|
||||||
|
psm1 = application/x-powershell
|
||||||
py = text/x-python
|
py = text/x-python
|
||||||
pyw = text/x-python
|
pyw = text/x-python
|
||||||
pyx = text/x-cython
|
pyx = text/x-cython
|
||||||
@ -179,6 +183,7 @@ rss = application/xml
|
|||||||
rst = text/x-rst
|
rst = text/x-rst
|
||||||
README.md = text/x-gfm
|
README.md = text/x-gfm
|
||||||
s = text/x-gas
|
s = text/x-gas
|
||||||
|
sas = text/x-sas
|
||||||
sass = text/x-sass
|
sass = text/x-sass
|
||||||
scala = text/x-scala
|
scala = text/x-scala
|
||||||
scm = text/x-scheme
|
scm = text/x-scheme
|
||||||
@ -223,6 +228,7 @@ vhd = text/x-vhdl
|
|||||||
vhdl = text/x-vhdl
|
vhdl = text/x-vhdl
|
||||||
vm = text/velocity
|
vm = text/velocity
|
||||||
vtl = text/velocity
|
vtl = text/velocity
|
||||||
|
webidl = text/x-webidl
|
||||||
wsdl = application/xml
|
wsdl = application/xml
|
||||||
xhtml = text/html
|
xhtml = text/html
|
||||||
xml = application/xml
|
xml = application/xml
|
||||||
@ -233,6 +239,7 @@ xu = text/x-xu
|
|||||||
xy = application/xquery
|
xy = application/xquery
|
||||||
yaml = text/x-yaml
|
yaml = text/x-yaml
|
||||||
yml = text/x-yaml
|
yml = text/x-yaml
|
||||||
|
ys = text/x-yacas
|
||||||
zsh = text/x-sh
|
zsh = text/x-sh
|
||||||
z80 = text/x-z80
|
z80 = text/x-z80
|
||||||
1 = text/troff
|
1 = text/troff
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
include_defs('//lib/maven.defs')
|
include_defs('//lib/maven.defs')
|
||||||
include_defs('//lib/codemirror/cm.defs')
|
include_defs('//lib/codemirror/cm.defs')
|
||||||
|
|
||||||
VERSION = '5.13.4'
|
VERSION = '5.14.2'
|
||||||
TOP = 'META-INF/resources/webjars/codemirror/%s' % VERSION
|
TOP = 'META-INF/resources/webjars/codemirror/%s' % VERSION
|
||||||
TOP_MINIFIED = 'META-INF/resources/webjars/codemirror-minified/%s' % VERSION
|
TOP_MINIFIED = 'META-INF/resources/webjars/codemirror-minified/%s' % VERSION
|
||||||
|
|
||||||
maven_jar(
|
maven_jar(
|
||||||
name = 'codemirror-minified',
|
name = 'codemirror-minified',
|
||||||
id = 'org.webjars.npm:codemirror-minified:' + VERSION,
|
id = 'org.webjars.npm:codemirror-minified:' + VERSION,
|
||||||
sha1 = 'fb207d777aad82423d098c3660bd2ca72775bf6e',
|
sha1 = 'c69056d2a0e07432326e67ea8fe2abb91a065030',
|
||||||
attach_source = False,
|
attach_source = False,
|
||||||
license = 'codemirror-minified',
|
license = 'codemirror-minified',
|
||||||
visibility = [],
|
visibility = [],
|
||||||
@ -17,7 +17,7 @@ maven_jar(
|
|||||||
maven_jar(
|
maven_jar(
|
||||||
name = 'codemirror-original',
|
name = 'codemirror-original',
|
||||||
id = 'org.webjars.npm:codemirror:' + VERSION,
|
id = 'org.webjars.npm:codemirror:' + VERSION,
|
||||||
sha1 = '4130b0a7e998d304277a86062351cb9e2840cbfa',
|
sha1 = '1ed9697531be85c85edb70fcdf58f10045563f7b',
|
||||||
attach_source = False,
|
attach_source = False,
|
||||||
license = 'codemirror-original',
|
license = 'codemirror-original',
|
||||||
visibility = [],
|
visibility = [],
|
||||||
|
@ -100,6 +100,7 @@ CM_MODES = [
|
|||||||
'lua',
|
'lua',
|
||||||
'markdown',
|
'markdown',
|
||||||
'mathematica',
|
'mathematica',
|
||||||
|
'mbox',
|
||||||
'mirc',
|
'mirc',
|
||||||
'mllike',
|
'mllike',
|
||||||
'modelica',
|
'modelica',
|
||||||
@ -115,6 +116,7 @@ CM_MODES = [
|
|||||||
'perl',
|
'perl',
|
||||||
'php',
|
'php',
|
||||||
'pig',
|
'pig',
|
||||||
|
'powershell',
|
||||||
'properties',
|
'properties',
|
||||||
'protobuf',
|
'protobuf',
|
||||||
'puppet',
|
'puppet',
|
||||||
@ -125,6 +127,7 @@ CM_MODES = [
|
|||||||
'rst',
|
'rst',
|
||||||
'ruby',
|
'ruby',
|
||||||
'rust',
|
'rust',
|
||||||
|
'sas',
|
||||||
'sass',
|
'sass',
|
||||||
'scheme',
|
'scheme',
|
||||||
'shell',
|
'shell',
|
||||||
@ -157,8 +160,10 @@ CM_MODES = [
|
|||||||
'verilog',
|
'verilog',
|
||||||
'vhdl',
|
'vhdl',
|
||||||
'vue',
|
'vue',
|
||||||
|
'webidl',
|
||||||
'xml',
|
'xml',
|
||||||
'xquery',
|
'xquery',
|
||||||
|
'yacas',
|
||||||
'yaml-frontmatter',
|
'yaml-frontmatter',
|
||||||
'yaml',
|
'yaml',
|
||||||
'z80',
|
'z80',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user