mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
41 KiB
41 KiB
Prism Changelog
1.5.1 (2016-06-05)
Updated components
- Normalize Whitespace:
- FAdd class that disables the normalize whitespace plugin [
9385c54
]
- FAdd class that disables the normalize whitespace plugin [
- JavaScript Language:
- Rearrange the
string
andtemplate-string
token in JavaScript [1158e46
]
- Rearrange the
- SQL Language:
- Diff Language:
Other changes
- Allow for asynchronous loading of prism.js (#959)
- Use toLowerCase on language names (#957) [
acd9508
] - link to index for basic usage - fixes #945 (#946) [
6c772d8
] - Fixed monospace typo (#953) [
e6c3498
]
1.5.0 (2016-05-01)
New components
Updated components
- Keep Markup:
- Groovy Language:
- Fix double HTML-encoding bug in Groovy language [
24a0936
]
- Fix double HTML-encoding bug in Groovy language [
- Java Language:
- SAS Language:
- Add missing keywords for SAS (#922)
- YAML Language:
- C# Language:
- Support for generic methods in csharp [
6f75735
]
- Support for generic methods in csharp [
New plugins
Other changes
- Add JSPM support [
ad048ab
] - update linear-gradient syntax from
left
toto right
[cd234dc
] - Add after-property to allow ordering of plugins [
224b7a1
] - Partial solution for the "Comment-like substrings"-problem [
2705c50
] - Add property 'aliasTitles' to components.js [
54400fb
] - Add before-highlightall hook [
70a8602
] - Fix catastrophic backtracking regex issues in JavaScript [
ab65be2
]
1.4.1 (2016-02-03)
Other changes
- Fix DFS bug in Prism core [
b86c727
]
1.4.0 (2016-02-03)
New components
Updated components
- Show Language:
- JSX:
- File Highlight:
- Coy Theme:
- Show Invisibles:
New plugins
Other changes
- Use document.currentScript instead of document.getElementsByTagName() [
fa98743
] - Add prefix for Firefox selection and move prefixed rule first [
6d54717
] - No background for
<code>
in<pre>
[8c310bc
] - Fixing to initial copyright year [
69cbf7a
] - Simplify the “lang” regex [
417f54a
] - Fix broken heading links [
a7f9e62
] - Prevent infinite recursion in DFS [
02894e1
] - Fix incorrect page title [
544b56f
] - Link scss to webplatform wiki [
08d979a
] - Revert white-space to normal when code is inline instead of in a pre [
1a971b5
]
1.3.0 (2015-10-26)
New components
- AsciiDoc (#800) [
6803ca0
] - Haxe (#811) [
bd44341
] - Icon (#803) [
b43c5f3
] - __Kotlin (#814) [
e8a31a5
] - Lua (#804) [
a36bc4a
] - Nix (#795) [
9b275c8
] - Oz (#805) [
388c53f
] - PARI/GP (#802) [
253c035
] - Parser (#808) [
a953b3a
] - Puppet (#813) [
81933ee
] - Roboconf (#812) [
f5db346
]
Updated components
- C:
- C#:
- F#:
- JavaScript:
- Python:
New plugins
Other changes
- Increase mocha's timeout [
f1c41db
] - Prevent most errors in IE8. Fix #9 [
9652d75
] - Add U.S. Web Design Standards on homepage. Fix #785 [
e10d48b
,79ebbf8
,2f7088d
] - Added gulp task to autolink PRs and commits in changelog [
5ec4e4d
] - Use child processes to run each set of tests, in order to deal with the memory leak in vm.runInNewContext() [
9a4b6fa
]
1.2.0 (2015-10-07)
New components
Updated components
- ASP.NET:
- Simplified pattern for
<script>
[29643f4
]
- Simplified pattern for
- Bash:
- CSS:
- Simplified pattern for
<style>
[29643f4
]
- Simplified pattern for
- JavaScript:
- Simplified pattern for
<script>
[29643f4
]
- Simplified pattern for
New plugins
Updated plugins
-
Previewer: Color
- Add support for Sass variables [
3a1fb04
]
- Add support for Sass variables [
-
Previewer: Easing
- Add support for Sass variables [
7c7ab4e
]
- Add support for Sass variables [
Other changes
- Test runner: Allow to run tests for only some languages [
5ade8a5
] - Download page: Fixed wrong components order raising error in generated file (#797) [
7a6aed8
]
1.1.0 (2015-10-04)
New components
- ABAP (#636) [
75b0328
,0749129
] - APL (#308) [
1f45942
,33a295f
] - AutoIt (#771) [
211a41c
] - BASIC (#620) [
805a0ce
] - Bison (#764) [
7feb135
] - Crystal (#780) [
5b473de
,414848d
] - D (#613) [
b5e741c
] - Diff (#450) [
ef41c74
] - Docker (#576) [
e808352
] - Elixir (#614) [
a1c028c
,c451611
,2e637f0
,ccb6566
] - GLSL (#615) [
247da05
] - Inform 7 (#616) [
d2595b4
] - J (#623) [
0cc50b2
] - MEL (#618) [
8496c14
] - Mizar (#619) [
efde61d
] - Monkey (#621) [
fdd4a3c
] - nginx (#776) [
dc4fc19
,e62c88e
] - Nim (#622) [
af9c49a
] - OCaml (#628) [
556c04d
] - Processing (#629) [
e47087b
] - Prolog (#630) [
dd04c32
] - Pure (#626) [
9c276ab
] - Q (#624) [
c053c9e
] - Qore [
125e91f
] - Tcl [
a3e751a
,11ff829
] - Textile (#544) [
d0c6764
] - Verilog (#640) [
44a11c2
,795eb99
] - Vim [
69ea994
]
Updated components
- Bash:
- C:
- C-like:
- F#:
- Gherkin:
- Git:
- Go:
- Improved operator regexp + removed punctuation from it [
776ab90
]
- Improved operator regexp + removed punctuation from it [
- Haml:
- Handlebars:
- Haskell:
- Removed useless backslashes and parentheses + handle \r\n and \r + simplify number regexp + fix operator regexp [
1cc8d8e
]
- Removed useless backslashes and parentheses + handle \r\n and \r + simplify number regexp + fix operator regexp [
- HTTP:
- Fix indentation + Add multiline flag for more flexibility + Fix response status + Handle \r\n and \r [
aaa90f1
]
- Fix indentation + Add multiline flag for more flexibility + Fix response status + Handle \r\n and \r [
- Ini:
- Fix some regexps + remove unused flags [
53d5839
]
- Fix some regexps + remove unused flags [
- Jade:
- Add todo list + remove single-line comment pattern + simplified most patterns with m flag + handle \r\n and \r [
a79e838
]
- Add todo list + remove single-line comment pattern + simplified most patterns with m flag + handle \r\n and \r [
- Java:
- Fix number regexp + simplified number regexp and optimized operator regexp [
21e20b9
]
- Fix number regexp + simplified number regexp and optimized operator regexp [
- JavaScript:
- JSX:
- Julia:
- Simplify comment regexp + improved number regexp + improved operator regexp [
bcac7d4
]
- Simplify comment regexp + improved number regexp + improved operator regexp [
- Keyman:
- Move header statements above keywords [
23a444c
]
- Move header statements above keywords [
- LaTeX:
- Less:
- Remove useless part in property regexp [
80d8260
]
- Remove useless part in property regexp [
- LOLCODE:
- Removed useless parentheses [
8147c9b
]
- Removed useless parentheses [
- Makefile:
- Add known failures in example [
e0f8984
] - Handle \r\n in comments and strings + fix "-include" keyword
- Add known failures in example [
- Markup:
- MATLAB:
- Simplify string pattern to remove lookbehind [
a3cbecc
]
- Simplify string pattern to remove lookbehind [
- NASM:
- Converted indents to tabs, removed uneeded escapes, added lookbehinds [
a92e4bd
]
- Converted indents to tabs, removed uneeded escapes, added lookbehinds [
- NSIS:
- Objective-C:
- Pascal:
- Simplified regexps [
c03c8a4
]
- Simplified regexps [
- Perl:
- Simplified regexps + Made most string and regexp patterns multi-line + Added support for regexp's n flag + Added missing operators [
71b00cc
]
- Simplified regexps + Made most string and regexp patterns multi-line + Added support for regexp's n flag + Added missing operators [
- PHP:
- PHP Extras:
- Fix $this regexp + improve global regexp [
781fdad
]
- Fix $this regexp + improve global regexp [
- PowerShell:
- Update definitions for command/alias/operators [
14da55c
]
- Update definitions for command/alias/operators [
- Python:
- R:
- Fixed and simplified patterns [
c20c3ec
]
- Fixed and simplified patterns [
- reST:
- Simplified some patterns, fixed others, prevented blank comments to match, moved list-bullet down to prevent breaking quotes [
e6c6b85
]
- Simplified some patterns, fixed others, prevented blank comments to match, moved list-bullet down to prevent breaking quotes [
- Rip:
- Fixed some regexp + moved down numbers [
1093f7d
]
- Fixed some regexp + moved down numbers [
- Ruby:
- Rust:
- Simplified patterns and fixed operators [
6c8494f
]
- Simplified patterns and fixed operators [
- SAS:
- Simplified datalines and optimized operator patterns [
6ebb96f
]
- Simplified datalines and optimized operator patterns [
- Sass:
- Scala:
- Simplified patterns [
daf2597
]
- Simplified patterns [
- Scheme:
- Scss:
- Simplified patterns + fixed operators + don't match empty selectors [
672c167
]
- Simplified patterns + fixed operators + don't match empty selectors [
- Smalltalk:
- Simplified patterns [
d896622
]
- Simplified patterns [
- Smarty:
- SQL:
- Simplified regexp + fixed keywords and operators + add CHARSET keyword [
d49fec0
]
- Simplified regexp + fixed keywords and operators + add CHARSET keyword [
- Stylus:
- Rewrote the component entirely [
7729728
]
- Rewrote the component entirely [
- Swift:
- Twig:
- VHDL:
- Move operator overloading before strings, don't capture if not needed, handle \r\n and \r, fix numbers [
4533f17
]
- Move operator overloading before strings, don't capture if not needed, handle \r\n and \r, fix numbers [
- Wiki markup:
- Fixed emphasis + merged some url patterns + added TODOs [
8cf9e6a
]
- Fixed emphasis + merged some url patterns + added TODOs [
- YAML:
- Handled \r\n and \r, simplified some patterns, fixed "---" [
9e33e0a
]
- Handled \r\n and \r, simplified some patterns, fixed "---" [
New plugins
- Autoloader (#766) [
ed4ccfe
] - JSONP Highlight [
b2f14d9
] - Keep Markup (#770) [
bd3e9ea
] - Previewer: Base (#767) [
cf764c0
] - Previewer: Color (#767) [
cf764c0
] - Previewer: Easing (#773) [
513137c
,9207258
,4303c94
] - Remove initial line feed [
ed9f2b2
,b8d098e
]
Updated plugins
- Autolinker:
- Line Highlight:
- Line Numbers:
- Run in
complete
hook [3f4d918
] - Don't run if already exists [
c89bbdb
] - Don't run if block is empty. Fix #669 [
ee463e8
] - Correct calculation for number of lines (fix #385) [
14f3f80
] - Fix computation of line numbers for single-line code blocks. Fix #721 [
02b220e
] - Fixing word wrap on long code lines [
56b3d29
] - Fixing coy theme + line numbers plugin overflowing on long blocks of text (#762) [
a0127eb
]
- Run in
- Show Language:
Other changes
- Fixed link to David Peach article (#647) [
3f679f8
] - Added
complete
hook, which runs even when no grammar is found [e58b6c0
,fd54995
] - Added test suite runner (#588) [
956cd85
] - Added tests for every components
- Added
.gitattributes
to prevent line ending changes in test files [45ca8c8
] - Split plugins into 3 columns on Download page [
a88936a
] - Removed comment in components.js to make it easier to parse as JSON (#679) [
2cb1326
] - Updated README.md [
1388256
] - Updated documentation since the example was not relevant any more [
80aedb2
] - Fixed inline style for Coy theme [
52829b3
] - Prevent errors in nodeJS (#754) [
9f5c93c
,0356c58
] - Explicitly make the Worker close itself after highlighting, so that users have control on this behaviour when directly using Prism inside a Worker. Fix #492 [
e42a228
] - Added some language aliases: js for javascript, xml, html, mathml and svg for markup [
2f9fe1e
] - Download page: Add a "Select all" checkbox (#561) [
9a9020b
] - Download page: Don't add semicolon unless needed in generated code. Fix #273 [
5a5eec5
] - Add language counter on homepage [
889cda5
] - Improve performance by doing more work in the worker [
1316abc
] - Replace Typeplate with SitePoint on homepage. Fix #774 [
0c54308
] - Added basic
.editorconfig
[c48f55d
]
1.0.1 (2015-07-26)
New components
- Brainfuck (#611) [
3ede718
] - Keyman (#609) [
2698f82
,e9936c6
] - Makefile (#610) [
3baa61c
] - Sass (Sass) (fix #199) [
b081804
] - VHDL (#595) [
43e6157
]
Updated components
- ActionScript:
- Apache Configuration:
- Don't include the spaces in directive-inline [
e87efd8
]
- Don't include the spaces in directive-inline [
- AppleScript:
- ASP.NET:
- Prevent Markup tags from breaking ASP tags + fix MasterType directive [
1f0a336
]
- Prevent Markup tags from breaking ASP tags + fix MasterType directive [
- AutoHotkey:
- Bash:
- C:
- C#:
- Fix preprocessor pattern [
86311f5
]
- Fix preprocessor pattern [
- C++:
- Removed delete[] and new[] broken keywords [
42fbeef
]
- Removed delete[] and new[] broken keywords [
- C-like:
- CoffeeScript:
- Prevent strings from ending with a backslash [
cb6b824
]
- Prevent strings from ending with a backslash [
- CSS:
- Eiffel:
- Fix string patterns order + fix /= operator [
7d1b8d7
]
- Fix string patterns order + fix /= operator [
- Erlang:
- Fixed quoted functions, quoted atoms, variables and <= operator [
fa286aa
]
- Fixed quoted functions, quoted atoms, variables and <= operator [
- Fortran:
- Handlebars:
- JavaScript:
- Added support for 'y' and 'u' ES6 JavaScript regex flags (#596) [
5d99957
] - Added support for missing ES6 keywords in JavaScript (#596) [
ca68b87
] - Added
async
andawait
keywords (#575) [5458cec
] - Added support for Template strings + interpolation [
04f72b1
] - Added support for octal and binary numbers (#597) [
a8aa058
] - Improve regex performance of C-like strings and JS regexps [
476cbf4
]
- Added support for 'y' and 'u' ES6 JavaScript regex flags (#596) [
- Markup:
- Python:
- Ruby:
- Added support for string interpolation [
c36b123
]
- Added support for string interpolation [
- Scss:
- Swift:
Updated plugins
- File Highlight:
- Line Highlight:
Other changes
- Removed moot
version
property frombower.json
(#594) [4693499
] - Added repository to
bower.json
(#600) [8e5ebcc
] - Added
.DS_Store
to.gitignore
[1707e4e
] - Improve test drive page usability. Fix #591 [
fe60858
] - Fixed prism-core and prism-file-highlight to prevent errors in IE8 [
5f133c8
] - Add Ubuntu Mono font to font stack [
ed9d7e3
]
1.0.0 (2015-05-23)
- First release
- Supported languages:
- ActionScript
- Apache Configuration
- AppleScript
- ASP.NET (C#)
- AutoHotkey
- Bash
- C
- C#
- C++
- C-like
- CoffeeScript
- CSS
- CSS Extras
- Dart
- Eiffel
- Erlang
- F#
- Fortran
- Gherkin
- Git
- Go
- Groovy
- Haml
- Handlebars
- Haskell
- HTTP
- Ini
- Jade
- Java
- JavaScript
- Julia
- LaTeX
- Less
- LOLCODE
- Markdown
- Markup
- MATLAB
- NASM
- NSIS
- Objective-C
- Pascal
- Perl
- PHP
- PHP Extras
- PowerShell
- Python
- R
- React JSX
- reST
- Rip
- Ruby
- Rust
- SAS
- Sass (Scss)
- Scala
- Scheme
- Smalltalk
- Smarty
- SQL
- Stylus
- Swift
- Twig
- TypeScript
- Wiki markup
- YAML
- Plugins:
- Autolinker
- File Highlight
- Highlight Keywords
- Line Highlight
- Line Numbers
- Show Invisibles
- Show Language
- WebPlatform Docs