Log

Author Commit Date CI Message
Michael Schmidt abb800dd 2020-04-09T00:39:09 gulp: Improved `inlineRegexSource` (#2296)
Michael Schmidt e6b2c6fc 2020-04-07T21:30:01 Command Line: Correctly rehighlight elements (#2291)
Michael Schmidt 9a49f78f 2020-04-07T20:32:39 Scheme: Improvements (#2263)
Michael Schmidt 893f2a79 2020-04-07T17:27:26 Line numbers: Exposed `_resizeElement` function (#2288)
Michael Schmidt 11053193 2020-04-05T14:31:56 gulp: Fixed language map (#2283)
Ben Gubler 0cfb6c5f 2020-04-04T13:04:08 EJS: Added `eta` alias (#2282)
Sam Chen fd432a5b 2020-04-04T21:50:48 Diff: Added `prefix` token (#2281) This adds a token to match line prefixes.
mAAdhaTTah 81670053 2020-04-03T21:04:41 1.20.0
Michael Schmidt 5b2a6cef 2020-04-04T03:04:25 Changelog for v1.20.0 (#2274)
Michael Schmidt 947a55bd 2020-03-29T18:30:31 C#: Fixed keywords in type lists blocking type names (#2277)
Michael Schmidt be909b18 2020-03-28T14:33:35 Added Treeview plugin (#2265)
Michael Schmidt 67afc5ad 2020-03-27T18:43:25 gulp: Inline regex source improvement (#2227) This removes more unnecessary escapes.
Michael Schmidt 5d7aab56 2020-03-26T23:30:29 Updated all String.propotype.replace calls for literal strings
Michael Schmidt 504a63ba 2020-03-26T23:18:33 CSS: Fixed url() containing "@" (#2272) This fixes URLs that contain the "@" character.
Christopher McComas 57eebced 2020-03-26T12:10:09 BBCode: Added "shortcode" alias (#2273) This adds a "shortcode" alias to BBCode to support Wordpress' ShortCode.
Michael Schmidt 2d4c94cd 2020-03-25T13:12:42 Core: Linked list implementation for matchGrammar (#1909) The token streams in `matchGrammar` are now backed by a linked list instead of an array. This guarantees O(1) time for all operations. The `matchGrammar` is now private.
Michael Schmidt c917a8ca 2020-03-25T11:44:33 C#: Removed invalid strings from example (#2266) C#'s example page contained some invalid strings.
Michael Schmidt 42b15463 2020-03-24T20:30:58 C# improvements (#1444) A complete rewrite of the C# language to support almost every feature of C# 8.0.
Cassie Jones 43efde2e 2020-03-23T17:44:09 Added support for LLVM IR (#2221) This adds support for LLVM's assembly language. https://llvm.org/docs/LangRef.html
Michael Schmidt e635260b 2020-03-21T17:38:16 Travis: Updated NodeJS versions (#2246)
James DiGioia 3c043338 2020-03-21T12:29:18 Remove self & document from IIFE arguments (#2258) If self or document don't exist, they'll error instead of getting to the checks. Fixes #2257.
Michael Schmidt 328d0e0e 2020-03-21T17:02:30 Bash: Added support for escaped quotes (#2256) Single and double quotes can be escaped via backslashes. Prism now supports these escapes.
Peter Budai 8119e57b 2020-03-16T21:17:45 Added support for Power Query (#2250) This adds support for Power Query. https://docs.microsoft.com/en-us/powerquery-m/
dependabot[bot] 2d5082ae 2020-03-14T16:11:59 Dependencies: Bump acorn from 6.1.1 to 6.4.1 (#2249) Bumps [acorn](https://github.com/acornjs/acorn) from 6.1.1 to 6.4.1. - [Release notes](https://github.com/acornjs/acorn/releases) - [Commits](https://github.com/acornjs/acorn/compare/6.1.1...6.4.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Peter Budai 9227853f 2020-03-13T21:52:26 Added support for DAX (#2248) This adds support for DAX (Data Analysis Expressions). https://docs.microsoft.com/en-us/dax/
Michael Schmidt 7d03ece4 2020-03-10T15:12:08 Tests: Added test for zero-width lookbehinds (#2220)
Michael Schmidt 8d2c5a3e 2020-03-10T15:11:13 Inline color: Support for (semi-)transparent colors and minor improvements (#2223) - This changes the inline preview to include a background image, so (semi-)transparent colors can be identified as such instead of blending with the background color of the current theme. - The black outline is now more transparent to better blend in with light themes. - The `transparent` color was added to CSS Extras. - This fixes the `parseHexColor` function.
Michael Schmidt bf4f7bfa 2020-03-10T14:59:46 Added support for Excel formula (#2219) This adds support for Excel's formula terms.
Michael Schmidt 1e3070a2 2020-03-07T18:06:01 Tests: Fixed optional dependencies in pattern tests (#2242) The pattern tests still used peer dependencies, so I updated them to use optional and modify dependencies instead.
Simon 462ad57e 2020-03-07T14:32:58 C++: Added C++20 keywords (#2236) This adds support for the ney keywords added in C++20. https://en.cppreference.com/w/cpp/keyword
Michael Schmidt 1f7a245c 2020-03-07T11:53:31 Added tests for examples (#2216) This adds a new test to validate the structure and syntax of all examples and moves the existing example test into the mocha test suite.
Michael Schmidt 26626ded 2020-03-07T11:43:10 OpenCL: Require C (#2231) This changes the language requirement of OpenCL from C++ to C making C++ optional.
Michael Schmidt 6232878b 2020-03-07T11:37:11 Examples: Updated content header (#2232) This changes the automatically generated header of examples on Prism's example page. The `overrideExampleHeader` option in `components.json` is no longer supported.
Sid Vishnoi a82770f8 2020-02-26T01:13:55 Website: Fixed Diff highlight plugin page title (#2233) The plugin page of Diff highlight had the wrong title.
Michael Schmidt fa630726 2020-02-24T23:57:55 C/C++: Improvemed `comment` pattern (#2229) This improves the `comment` pattern by allowing backslash-escaped line breaks in single-line comments.
Michael Schmidt 73c8a376 2020-02-24T23:56:07 Markdown: Added support for nested lists (#2228) This improves the support for nested lists by making the `code` pattern stricter.
Michael Schmidt 7d8ff7ea 2020-02-24T18:13:35 Fixed SAS' "peerDependencies" (#2230) SAS had a `"peerDependencies"` property in `components.json`. This has been replaced with an `"optional"` dependency.
Michael Schmidt bd16bd57 2020-02-24T14:43:16 Shell-Session: Improvements (#2208) - Added support for elevated shells starting commands with `#` instead of `$`. - The user and cwd info `bash` and `sh` print before the interactive shell will now be highlighted. - Changed the line ends of test files to CRLF.
Michael Schmidt 15983d52 2020-02-23T14:12:37 Added support for Solution (.sln) files (#2213) This adds support for VS Solution files. https://docs.microsoft.com/en-us/visualstudio/extensibility/internals/solution-dot-sln-file?view=vs-2019
Michael Schmidt 5362ba16 2020-02-23T14:06:24 YAML: Improvements (#2226) The patterns for tags, anchors, and aliases and their usage in other patterns are improved to match the YAML spec as close as possible.
Michael Schmidt c5de5aa8 2020-02-21T13:04:52 Ruby: Fixed exponential backtracking (#2225) This fixes the exponential backtracking in one of Ruby's regex patterns.
Tilo Prütz 6124c974 2020-02-19T20:03:29 YAML: Fixed highlighting of anchors and aliases (#2217)
Michael Schmidt f683972e 2020-02-19T12:26:45 Core: Faster Token.stringify (#2171) This removes temporary arrays in `Token.stringify`. All these changes make `Prism.highlight` about 10~23% faster.
Michael Schmidt e9dab85e 2020-02-18T22:17:05 Website: Added Coy bug to the known failures page. (#2170)
Michael Schmidt 674f4b35 2020-02-18T21:52:43 C/C++/OpenCL C: Improvements (#2196) This makes a few minor improvements to C and OpenCL C. Some of those improvements carry over to C++. For more details, see the pull request.
Nicolai Parlog 47910b5c 2020-02-18T21:45:03 Java: Added `record` keyword (#2185) This adds support for the new `record` keyword from Java 14.
Cat Stevens f941102e 2020-02-16T13:49:33 Added support for Factor (#2203) This adds support for the [Factor](https://factorcode.org) language.
Jason Tatton b24f7348 2020-02-14T21:55:32 Add Concurnas support (#2206) Concurnas is an open-source JVM programming language designed for building reliable, scalable, high performance concurrent, distributed and parallel systems. For more information please see: https://concurnas.com/
Michael Schmidt 238f1163 2020-02-08T17:07:33 Toolbar: `data-toolbar-order` is now inherited (#2205) The `data-toolbar-order` property is now inherited allowing for custom orderings/selections on an per-element basis.
Michael Schmidt 2e0eff76 2020-02-07T16:44:48 CSS: Added support for the selector function (#2201) This adds support for CSS 4's selector function. The selectors passed to the function will now be highlighted as such.
Michael Schmidt a7d67ca3 2020-02-04T15:17:11 VB: Added support for comments with line continuations (#2195)
Michael Schmidt 3b42536e 2020-02-04T13:47:56 PHPDoc: Fixed exponential backtracking (#2198) This fixed the exponential backtracking of the pattern which matched PHP classes.
Michael Schmidt 984e5d2e 2020-01-31T22:50:59 Core: Fixed scope problem in script mode (#2184) A function in Core was defined inside an `if` which isn't allowed in JS strict mode.
Taylor Buckner 0bf73dc7 2020-01-22T07:08:01 Added link to prism-liquibase Bash language extension. (#2191) In an effort to make some of our documentation easier to parse, Liquibase has published an extension to the Bash language to offer tokenization of Liquibase CLI commands.
Michael Schmidt 81e1c3dd 2020-01-18T17:23:39 Tests: Added new pattern check for octal escapes (#2189) This adds a new pattern check to disallow octal character escapes (e.g. `\12`).
Michael Schmidt 5450e24c 2020-01-15T15:04:09 Elixir: Added support for attributes names ending with `?` (#2182)
mAAdhaTTah 6fd5c96b 2020-01-13T08:39:40 1.19.0
mAAdhaTTah 275366f7 2020-01-13T08:39:18 Fix date in CHANGELOG
Michael Schmidt dc136fd3 2020-01-13T14:37:43 Updated changelog for 1.19.0 (#2169) This also includes a small update to the changelog generation to account for `dependencies.js`.
Saswat Padhi 2a570fd4 2020-01-12T02:23:06 OCaml: Improvements (#2179) - Added some missing keywords - Added highlighting for modules, labels, and constructors - Split polymorphic variant types and type variables
Saswat Padhi e5678a00 2020-01-12T02:13:05 Updated gulp to v4.0.2 (#2178)
Alex Kanunnikov ef4d29d9 2020-01-11T02:05:37 Handlebars: Added support for `:` and improved the `variable` pattern (#2172) This adds support for `:` as punctuation and removes the `.` from the list of allowed characters in the `variable` pattern as it is impossible to match because of the `punctuation` pattern.
Hari Gopal 543f04d7 2020-01-10T16:08:22 Custom Class: Fixed TypeError when mapper is undefined (#2167)
Michael Schmidt c40d96c6 2020-01-08T15:57:52 Added QML (#2139) This adds support for QML (Qt Modeling Language), a user interface markup language. https://en.wikipedia.org/wiki/QML https://doc.qt.io/qt-5/qtqml-index.html
cedporter 99d979a0 2020-01-07T09:10:22 SAS: Added CASL support (#2112) This adds CASL support, a scripting language used within PROC CAS in SAS. https://go.documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=pgmdiff&docsetTarget=p06ibhzb2bklaon1a86ili3wpil9.htm&locale=en
0xc14m1z fd857e7b 2020-01-06T19:12:49 JSX: Improved spread operator in tag attributes (#2159) This allows any number of spaces around JSX attribute spread expressions.
Michael Schmidt 86780457 2020-01-06T20:09:40 Added missing `.token` selector (#2161) This fixes lone `.namespace` rules without the .token component selector some themes had.
Michael Schmidt 0b539136 2020-01-06T14:39:45 Added checks for examples (#2128) This adds a check to `premerge` to detect missing and lone examples. All currently missing examples were added with some exceptions.
Michael Schmidt 0c2fe405 2020-01-06T14:38:47 Custom Class: Fixed examples (#2160) This adds a missing class to an example.
Michael Schmidt d7ad48f9 2020-01-06T13:50:17 Markdown: Better language detection for code blocks (#2114) This improves the language detection for code blocks by using only the first word instead of the whole expression and replacing some characters so languages like `c#` and `c++` are supported.
Michael Schmidt 191b4116 2020-01-06T13:28:17 Added silent option to `loadLanguages` (#2147) This adds an option to `loadLanguages` which prevents all warning messages.
RunDevelopment 1fbac169 2020-01-05T20:20:00 Changelog: Updated v1.18.0 release date
Michael Schmidt 1f3f8929 2020-01-05T20:11:53 JS: Added support for keywords after a spread operator (#2148) This PR fixes that keywords after a spread operator weren't highlighted. This is mainly for the `await` and `new` keywords.
Michael Schmidt a06aca06 2020-01-05T20:09:24 Adds a check redundant dependency declarations (#2142) This adds a test redundant dependency declarations (e.g. `require` + `optional` for the same component).
Michael Schmidt 59068d67 2020-01-05T20:03:41 Added documentation for new dependency API (#2141)
Christophe Eymard f018cf04 2020-01-05T20:03:12 JSX: Made `$` a valid character for attribute names (#2144)
David Grudl 694a81b8 2020-01-05T20:00:51 Added support for Latte & NEON (#2140) - Added support for templating system Latte https://latte.nette.org - Added support for NEON https://ne-on.org
Petrik de Heus 401d4b02 2020-01-05T19:59:16 Ruby: Override 'class-name' definition (#2135) Unlike other C-like languages, in Ruby objects don't get initialized by using `new Object` but `Object.new`. So whatever comes after `new` probably isn't a classname.
Alex Fedoseev 7f1c55b7 2020-01-05T21:57:33 ReasonML: Add support for single line comments (#2150)
Michael Schmidt 24c8f833 2020-01-05T19:56:14 PHP: Fixed exponential runtime of a pattern (#2157) This fixes the exponential runtime of the pattern used to identify PHP code embedded in HTML.
Michael Schmidt 199bdcae 2020-01-05T19:46:54 Dependencies: Improved `getLoader` (#2151) This removes many temporary arrays and introduces lazy dependency and alias resolving.
Michael Schmidt a23d8f84 2020-01-05T18:34:45 JS: Better regex detection (#2158) This improves the detection of regular expressions.
mAAdhaTTah 3c1fd1c8 2019-12-20T07:42:43 1.18.0
Michael Schmidt e20a2b71 2019-12-20T13:42:32 Create Changelog for 1.18.0 (#2136)
RunDevelopment 2f495905 2019-12-18T16:55:46 gulp: Fixed changes task This fixes an issue in the changes task where removed languages were causing a property access on `undefined`.
Michael Schmidt 7a4a0c7c 2019-12-16T12:49:21 Standardized dependency logic implementation (#1998) This adds a standard logic for handling dependencies between Prism components. Right now, the download page, the `loadLanguages` function, and the test suite use the new dependency system.
Michael Schmidt a7f70090 2019-12-02T14:10:53 Added new Filter highlightAll plugin (#2074) This adds a new plugin to Prism which allows users to filter which elements will be highlighted by the `highlightAll` and `highlightAllUnder` methods.
Michael Schmidt 9908ca69 2019-12-02T01:43:42 Robotframework: Renamed example file (#2126) This renames the example for the Robotframework language to match its id.
Michael Schmidt dab7998e 2019-11-16T10:40:14 Custom Class: New class adder feature (#2075) This adds a new `add` function to the Custom Class plugin which gives users the ability to easily add their own specific classes for existing tokens.
Asko Soukka baa78774 2019-11-16T00:59:18 Rename "robot-framework" to "robotframework" (#2113) This changes the id of the Robot Framework language.
Michael Schmidt 0fd062d5 2019-11-01T22:31:17 Core: Fixed null reference (#2106) The new defer logic in Prism Core did not handle that the script element might be null.
Michael Schmidt 631f1e34 2019-10-26T18:53:47 Added support for BrightScript (#2096) This adds support for BrightScript.
Michael Schmidt f31946b3 2019-10-25T21:53:29 Added support for Moonscript (#2100) This adds support for the Moonscript language.
Michael Schmidt aaf13aa6 2019-10-25T21:12:20 Added support for BBCode (#2095) This adds support for the BBCode markup language.
Michael Schmidt ee7fdbee 2019-10-25T21:09:57 Java: Added missing :: operator (#2101) This adds the `::` operator and removes the backreference for better performance.
Michael Schmidt 2108c60f 2019-10-25T17:34:50 Core: IE11 workaround for currentScript (#2104) This adds a new function `Prism.util.currentScript` which is a functionally equalent to `document.currentScript` but includes support for IE11.
Michael Schmidt a3785ec9 2019-10-25T17:05:23 Core: Fixed race condition caused by deferring the script (#2103) This fixes a race condition that can occur when deferring Prism components. For more details see #2102.
cedporter 3640b3f2 2019-10-23T11:45:12 SAS: Added support for embedded Groovy and Lua code (#2091) Like PROC SQL, PROC GROOVY and PROC LUA both contain syntax that should be treated as the language specified by the PROC, not SAS. This implements that highlighting.
Michael Schmidt 68d1c472 2019-10-20T10:59:47 Ruby: Made `true` and `false` booleans (#2098) This makes `true` and `false` `boolean` tokens. Previously they were tokenized as `keyword`.
Michael Schmidt 99994c58 2019-10-19T14:35:23 Markup: Improved doctype pattern (#2094) This changes Markup's `doctype` pattern to adhere to the XML spec more closely.