From 9e2e337d45937a341514d1e385d7b2a664eaa99e Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke <marijnh@gmail.com> Date: Fri, 19 Feb 2016 17:41:37 +0100 Subject: [PATCH] Mark release 5.12.0 --- AUTHORS | 7 +++++++ CHANGELOG.md | 42 ++++++++++++++++++++++++++++++++++++++++++ doc/compress.html | 1 + doc/manual.html | 2 +- doc/releases.html | 23 +++++++++++++++++++++++ index.html | 2 +- lib/codemirror.js | 2 +- package.json | 2 +- 8 files changed, 77 insertions(+), 4 deletions(-) diff --git a/AUTHORS b/AUTHORS index 09fe9a893..741ba1e35 100644 --- a/AUTHORS +++ b/AUTHORS @@ -124,6 +124,7 @@ Daniel, Dao Quang Minh Daniele Di Sarli Daniel Faust Daniel Huigens +Daniel Kesler Daniel KJ Daniel Neel Daniel Parnell @@ -186,6 +187,7 @@ gekkoe Gerard Braad Gergely Hegykozi Giovanni Calò +Glebov Boris Glenn Jorde Glenn Ruehle Golevka @@ -255,6 +257,7 @@ John Engler John Lees-Miller John Snelson John Van Der Loo +Jon Ander Peñalba Jonas Döbertin Jonathan Malmaud jongalloway @@ -414,6 +417,7 @@ Patrick Stoica Patrick Strawderman Paul Garvin Paul Ivanov +Pavel Pavel Feldman Pavel Strashkin Paweł Bartkiewicz @@ -481,7 +485,9 @@ Stanislav Oaserele Stas Kobzar Stefan Borsje Steffen Beyer +Steffen Bruchmann Stephen Lavelle +Steve Champagne Steve O'Hara stoskov Stu Kennedy @@ -534,6 +540,7 @@ Yassin N. Hassan YNH Webdev Yunchi Luo Yuvi Panda +Zac Anger Zachary Dremann Zhang Hao zziuni diff --git a/CHANGELOG.md b/CHANGELOG.md index b702c3583..7eb70e9c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,45 @@ +## 5.12.0 (2015-02-19) + +### New features + +[Vim bindings](http://codemirror.net/demo/vim.html): Ctrl-Q is now an alias for Ctrl-V. + +[Vim bindings](http://codemirror.net/demo/vim.html): The Vim API now exposes an `unmap` method to unmap bindings. + +[active-line addon](http://codemirror.net/demo/activeline.html): This addon can now style the active line's gutter. + +[FCL mode](http://codemirror.net/mode/fcl/): Newly added. + +[SQL mode](http://codemirror.net/mode/sql/): Now has a Postgresql dialect. + +### Bugfixes + +Fix [issue](https://github.com/codemirror/CodeMirror/issues/3781) where trying to scroll to a horizontal position outside of the document's width could cause the gutter to be positioned incorrectly. + +Use absolute, rather than fixed positioning in the context-menu intercept hack, to work around a [problem](https://github.com/codemirror/CodeMirror/issues/3238) when the editor is inside a transformed parent container. + +Solve a [problem](https://github.com/codemirror/CodeMirror/issues/3821) where the horizontal scrollbar could hide text in Firefox. + +Fix a [bug](https://github.com/codemirror/CodeMirror/issues/3834) that caused phantom scroll space under the text in some situations. + +[Sublime Text bindings](http://codemirror.net/demo/sublime.html): Bind delete-line to Shift-Ctrl-K on OS X. + +[Markdown mode](http://codemirror.net/mode/markdown/): Fix [issue](https://github.com/codemirror/CodeMirror/issues/3787) where the mode would keep state related to fenced code blocks in an unsafe way, leading to occasional corrupted parses. + +[Markdown mode](http://codemirror.net/mode/markdown/): Ignore backslashes in code fragments. + +[Markdown mode](http://codemirror.net/mode/markdown/): Use whichever mode is registered as `text/html` to parse HTML. + +[Clike mode](http://codemirror.net/mode/clike/): Improve indentation of Scala `=>` functions. + +[Python mode](http://codemirror.net/mode/python/): Improve indentation of bracketed code. + +[HTMLMixed mode](http://codemirror.net/mode/htmlmixed/): Support multi-line opening tags for sub-languages (`<script>`, `<style>`, etc). + +[Spreadsheet mode](http://codemirror.net/mode/spreadsheet/): Fix bug where the mode did not advance the stream when finding a backslash. + +[XML mode](http://codemirror.net/mode/xml/): The mode now takes a `matchClosing` option to configure whether mismatched closing tags should be highlighted as errors. + ## 5.11.0 (2016-01-20) * New modes: [JSX](http://codemirror.net/mode/jsx/index.html), [literate Haskell](http://codemirror.net/mode/haskell-literate/index.html) diff --git a/doc/compress.html b/doc/compress.html index 517d57511..8f0d3e9f4 100644 --- a/doc/compress.html +++ b/doc/compress.html @@ -36,6 +36,7 @@ <input type="hidden" id="download" name="download" value="codemirror-compressed.js"/> <p>Version: <select id="version" onchange="setVersion(this);" style="padding: 1px;"> <option value="http://codemirror.net/">HEAD</option> + <option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=5.12.0;f=">5.12</option> <option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=5.11.0;f=">5.11</option> <option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=5.10.0;f=">5.10</option> <option value="http://marijnhaverbeke.nl/git/codemirror?a=blob_plain;hb=5.9.0;f=">5.9</option> diff --git a/doc/manual.html b/doc/manual.html index c48a35f90..8081d8ca4 100644 --- a/doc/manual.html +++ b/doc/manual.html @@ -69,7 +69,7 @@ <section class=first id=overview> <h2 style="position: relative"> User manual and reference guide - <span style="color: #888; font-size: 1rem; position: absolute; right: 0; bottom: 0">version 5.11.1</span> + <span style="color: #888; font-size: 1rem; position: absolute; right: 0; bottom: 0">version 5.12.0</span> </h2> <p>CodeMirror is a code-editor component that can be embedded in diff --git a/doc/releases.html b/doc/releases.html index 43ee82741..a8e15ac05 100644 --- a/doc/releases.html +++ b/doc/releases.html @@ -30,6 +30,29 @@ <h2>Version 5.x</h2> + <p class="rel">19-02-2016: <a href="http://codemirror.net/codemirror-5.12.zip">Version 5.12</a>:</p> + + <ul> + <li><a href="http://codemirror.net/demo/vim.html">Vim bindings</a>: Ctrl-Q is now an alias for Ctrl-V.</li> + <li><a href="http://codemirror.net/demo/vim.html">Vim bindings</a>: The Vim API now exposes an <code>unmap</code> method to unmap bindings.</li> + <li><a href="http://codemirror.net/demo/activeline.html">active-line addon</a>: This addon can now style the active line's gutter.</li> + <li><a href="http://codemirror.net/mode/fcl/">FCL mode</a>: Newly added.</li> + <li><a href="http://codemirror.net/mode/sql/">SQL mode</a>: Now has a Postgresql dialect.</li> + <li>Fix <a href="https://github.com/codemirror/CodeMirror/issues/3781">issue</a> where trying to scroll to a horizontal position outside of the document's width could cause the gutter to be positioned incorrectly.</li> + <li>Use absolute, rather than fixed positioning in the context-menu intercept hack, to work around a <a href="https://github.com/codemirror/CodeMirror/issues/3238">problem</a> when the editor is inside a transformed parent container.</li> + <li>Solve a <a href="https://github.com/codemirror/CodeMirror/issues/3821">problem</a> where the horizontal scrollbar could hide text in Firefox.</li> + <li>Fix a <a href="https://github.com/codemirror/CodeMirror/issues/3834">bug</a> that caused phantom scroll space under the text in some situations.</li> + <li><a href="http://codemirror.net/demo/sublime.html">Sublime Text bindings</a>: Bind delete-line to Shift-Ctrl-K on OS X.</li> + <li><a href="http://codemirror.net/mode/markdown/">Markdown mode</a>: Fix <a href="https://github.com/codemirror/CodeMirror/issues/3787">issue</a> where the mode would keep state related to fenced code blocks in an unsafe way, leading to occasional corrupted parses.</li> + <li><a href="http://codemirror.net/mode/markdown/">Markdown mode</a>: Ignore backslashes in code fragments.</li> + <li><a href="http://codemirror.net/mode/markdown/">Markdown mode</a>: Use whichever mode is registered as <code>text/html</code> to parse HTML.</li> + <li><a href="http://codemirror.net/mode/clike/">Clike mode</a>: Improve indentation of Scala <code>=></code> functions.</li> + <li><a href="http://codemirror.net/mode/python/">Python mode</a>: Improve indentation of bracketed code.</li> + <li><a href="http://codemirror.net/mode/htmlmixed/">HTMLMixed mode</a>: Support multi-line opening tags for sub-languages (<code><script></code>, <code><style></code>, etc).</li> + <li><a href="http://codemirror.net/mode/spreadsheet/">Spreadsheet mode</a>: Fix bug where the mode did not advance the stream when finding a backslash.</li> + <li><a href="http://codemirror.net/mode/xml/">XML mode</a>: The mode now takes a <code>matchClosing</code> option to configure whether mismatched closing tags should be highlighted as errors.</li> + </ul> + <p class="rel">20-01-2016: <a href="http://codemirror.net/codemirror-5.11.zip">Version 5.11</a>:</p> <ul> diff --git a/index.html b/index.html index 2bb1f41d1..1762598d8 100644 --- a/index.html +++ b/index.html @@ -96,7 +96,7 @@ </div> </div> <div class=actionsleft> - Get the current version: <a href="http://codemirror.net/codemirror.zip">5.11</a>.<br> + Get the current version: <a href="http://codemirror.net/codemirror.zip">5.12</a>.<br> You can see the <a href="https://github.com/codemirror/codemirror" title="Github repository">code</a> or<br> read the <a href="doc/releases.html">release notes</a>.<br> There is a <a href="doc/compress.html">minification helper</a>. diff --git a/lib/codemirror.js b/lib/codemirror.js index 14c8b7389..e803211bc 100644 --- a/lib/codemirror.js +++ b/lib/codemirror.js @@ -8886,7 +8886,7 @@ // THE END - CodeMirror.version = "5.11.1"; + CodeMirror.version = "5.12.0"; return CodeMirror; }); diff --git a/package.json b/package.json index f24c06fc2..0ff734e8c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codemirror", - "version":"5.11.1", + "version":"5.12.0", "main": "lib/codemirror.js", "description": "In-browser code editing made bearable", "license": "MIT", -- GitLab