|
e38986f9
|
2021-03-07T20:34:29
|
|
Added support for Rego (#2624)
|
|
8dbbbb35
|
2021-03-05T23:38:23
|
|
Markup: Added support for DOM event attributes (#2702)
|
|
bf4e7ba9
|
2021-03-05T16:44:13
|
|
Added support for ICU message format (#2745)
|
|
d85e30da
|
2021-03-05T16:38:11
|
|
Updated refa + fixed 2 cases of exp backtracking (#2774)
|
|
42d24fa2
|
2021-03-02T13:03:17
|
|
INI: Consistently mimic Win32 INI parsing (#2779)
|
|
e6c0d298
|
2021-03-02T01:49:34
|
|
Elixir: Added missing keyword and other improvements (#2773)
|
|
88fa72cf
|
2021-02-26T13:43:27
|
|
C++: Added missing keywords and modules (#2763)
|
|
e9314415
|
2021-02-23T20:44:32
|
|
Added support for Idris (#2755)
|
|
8019e2f6
|
2021-02-19T17:41:31
|
|
PHP: Improved constant support for PHP 8.1 enums (#2770)
This improves the highlighting of PHP 8.1 enums and class constants.
|
|
b0a6ec85
|
2021-02-19T11:11:51
|
|
Added support for CFScript (#2771)
|
|
f79b0eef
|
2021-02-18T20:35:36
|
|
PHP: Added support for PHP 8.1 enums (#2752)
|
|
3419fb77
|
2021-02-13T17:14:46
|
|
Added KuMir (#2760)
|
|
cf354ef5
|
2021-02-11T10:17:35
|
|
Swift: Added `some` keyword (#2756)
|
|
9f59f52d
|
2021-02-07T16:21:13
|
|
JSX: Added support for general spread expressions (#2754)
|
|
1dfc8271
|
2021-02-07T14:54:09
|
|
HTTP: Fixed body not being highlighted (#2734)
|
|
fd1081d2
|
2021-01-29T15:01:24
|
|
Added support for Squirrel (#2721)
|
|
30b0444f
|
2021-01-29T14:52:23
|
|
JSX: Added support for comments inside tags (#2728)
|
|
022f90a0
|
2021-01-29T14:49:40
|
|
JavaScript: Improved contextual keywords (#2713)
|
|
93dd83c2
|
2021-01-29T14:47:05
|
|
Docker: Improvements (#2720)
|
|
18c67b49
|
2021-01-27T21:13:03
|
|
Added support for PSL, PATROL Scripting Language (#2739)
|
|
bbc77d19
|
2021-01-24T15:51:37
|
|
Added support for URIs (#2708)
|
|
b37987d3
|
2021-01-24T15:42:50
|
|
Core: Fixed greedy rematching reach bug (#2705)
|
|
3f7d7453
|
2021-01-24T15:40:08
|
|
Added support for ChaiScript (#2706)
|
|
04ef309c
|
2021-01-20T20:12:58
|
|
PHP: Class names at the start of a string are now highlighted correctly (#2731)
Some class names at the start of the input string were not detected correctly due to the way greedy matching works. This fixes the issue by splitting the `class-name` rule into two rules, one before and one after the `keyword` rule that interfered and caused the issue.
|
|
6183fd9b
|
2021-01-19T00:43:03
|
|
HTTP: More granular tokenization (#2722)
|
|
a5d7178c
|
2021-01-17T14:34:24
|
|
F#: Fixed comment false positive (#2703)
F# has supports `(*)` to convert an operator into a function. This syntax collides with F# comments and produced false positives for comments. The comment pattern has been adjusted to not match `(*)`.
|
|
1f91868e
|
2021-01-17T14:29:35
|
|
Added support for DOT (#2690)
|
|
4e7b2a82
|
2021-01-17T01:45:05
|
|
HTTP: Allow root path in request line (#2711)
|
|
59f725d7
|
2021-01-10T04:57:59
|
|
Elixir: Added `defdelagate` keyword and highlighting for function/module names (#2709)
|
|
72962701
|
2021-01-08T22:22:50
|
|
Added support for V langauge (#2687)
|
|
6e34771f
|
2021-01-07T19:34:18
|
|
SQL: Added `ILIKE` operator (#2704)
Added `ILIKE` operator to sql keyword list and sorted the list alphabetically.
|
|
01af04ed
|
2021-01-07T02:01:16
|
|
PHP: Numeral syntax improvements (#2701)
Improves numeral literal handling in the Prism PHP component in two ways:
1. Since PHP 7.4, it is possible to use [underscore numeric separator](https://php.watch/versions/7.4/underscore_numeric_separator). Prism correctly handles this for decimal numbers, but not for binary, octal, and hex numerals although PHP supports the underscore separator for binary, octal, and hex numeric literals as well.
2. In upcoming PHP 8.1, PHP supports an [explicit octal numeral prefix `0o`/`0O`](https://php.watch/versions/8.1/explicit-octal-notation). The existing `0` prefix is not removed.
This commit updates the PHP number regex to accommodate both cases above, and expands the tests for new syntax.
|
|
0e61a7e1
|
2021-01-03T18:18:28
|
|
Scheme: Added support for high Unicode characters (#2693)
|
|
c83fd0b8
|
2021-01-01T18:19:06
|
|
Shell session: Commands prefixed with a path are now detected (#2686)
|
|
0a3932fe
|
2020-12-30T17:43:57
|
|
C-like: Made all comments greedy (#2680)
|
|
e644178b
|
2020-12-28T18:19:11
|
|
Added test for polynomial backtracking (#2597)
|
|
2af3e2c2
|
2020-12-22T20:52:55
|
|
Markdown: Improved URL tokenization (#2678)
It now tokenizes all parts of a URL except for braces.
|
|
8828500e
|
2020-12-22T10:54:55
|
|
Tests: Added strict checks for `Prism.languages.extend` (#2572)
|
|
f1541342
|
2020-12-01T23:10:29
|
|
CSP: Added missing directives and keywords (#2664)
This adds missing CSP and UISecurity directives and keywords.
|
|
a7ccc16d
|
2020-11-30T21:14:26
|
|
CSP: Do not highlight directive names with adjacent hyphens (#2662)
CSP tokens used `\b` to assert word boundaries but this is incorrect as CSP tokens may contain hyphens (`-`). This replaces the assertions will lookarounds that address the issue.
|
|
e01ecd00
|
2020-11-29T00:14:35
|
|
Scheme: Fixed number pattern (#2648)
|
|
05afbb10
|
2020-11-29T00:12:15
|
|
Added test for exponential backtracking (#2590)
This adds a simple test to detect certain causes of exponential backtracking.
|
|
8e76a978
|
2020-11-28T23:23:46
|
|
Shell-session: Fixed false positives because of links in command output (#2649)
|
|
0bb4f096
|
2020-11-28T23:05:53
|
|
JavaStackTrace: Added support stack frame element class loaders and modules (#2658)
|
|
0803525b
|
2020-11-27T15:00:35
|
|
Added support for DataWeave language (#2659)
|
|
5cf9cfbc
|
2020-11-25T23:53:33
|
|
Markdown: Added support for YAML front matter (#2634)
|
|
8fa8dd24
|
2020-11-25T22:59:40
|
|
Core: Fixed bug with greedy matching (#2632)
|
|
deb238a6
|
2020-11-23T21:07:44
|
|
SCSS: Added support for Sass modules (#2643)
|
|
8bfcc819
|
2020-11-21T01:17:39
|
|
Tests: Better pretty print (#2600)
This is a major improvement for the pretty-printer.
The main change is that `TokenStreamTransformer.prettyprint` now takes a Prism token stream instead of a simplified token stream. This means that it has a lot more information to work with and it uses that information.
It mostly behaves like the old pretty-printer with 3 main differences:
1. Tokens that contain a nested token stream that only contains a single string are printed as one line.
Example: `["namespace", ["java"]]`
2. The pretty-printer can now glue tokens together so that they are printed in a single line.
Example: `["number", "100"], ["operator", ".."], ["number", "100"]`
3. Line breaks in the input code may now cause empty lines in the output. Previously, only blank strings containing more at least 2 line breaks produce empty lines. This helps readability as it groups tokens together.
|
|
f0e2b70e
|
2020-11-20T17:09:54
|
|
Added support for Apex (#2622)
|
|
a5107d5c
|
2020-11-15T20:28:34
|
|
Kotlin: Added support for backticks in function names (#2489)
|
|
8831c706
|
2020-11-12T20:43:52
|
|
Added PromQL language (#2628)
|
|
2d3a1267
|
2020-11-06T23:50:40
|
|
Tests: Fixed sorted language list test (#2623)
|
|
7951ca24
|
2020-11-04T21:54:24
|
|
Scheme: Fixed function and function-like false positives (#2611)
|
|
0889bc7c
|
2020-11-04T21:44:48
|
|
Java: Improved package and class name detection (#2599)
|
|
0df60be1
|
2020-11-04T17:18:23
|
|
Tests: Stricter pattern for nice-token-names test (#2588)
|
|
25bdb494
|
2020-11-04T11:51:00
|
|
TSX: Temporary fix for the collisions of JSX tags and TS generics (#2596)
|
|
129faf5c
|
2020-11-04T11:48:51
|
|
C: Better class name and macro name detection (#2585)
|
|
00bf00e3
|
2020-10-26T14:49:26
|
|
Apache Configuration: Update directive-flag to match '=' (#2612)
|
|
093c8175
|
2020-10-23T20:58:36
|
|
Julia: Removed constants that are not exported by default (#2601)
* Remove Julia constants that are not exported by default
* Julia: build and fix test
|
|
df922d90
|
2020-10-16T22:20:59
|
|
PHP: Added support for PHP 8.0 features (#2591)
|
|
b04cbafe
|
2020-10-13T14:26:34
|
|
CSS: Better HTML `style` attribute tokenization (#2569)
|
|
73f81c89
|
2020-10-13T14:24:24
|
|
Java: Added Java 15 keywords (#2567)
|
|
38808e64
|
2020-10-13T14:03:42
|
|
PHP: Added support for PHP 7.4 + other major improvements (#2566)
|
|
1761513e
|
2020-10-05T18:01:19
|
|
PHP: Added `match` keyword (PHP 8.0) (#2574)
PHP introduces a new [`match` keyword in PHP 8.0](https://php.watch/versions/8.0/match-expression).
|
|
59853a52
|
2020-10-01T12:33:11
|
|
YAML: Improved key pattern (#2561)
|
|
cb75d9e2
|
2020-09-13T23:26:33
|
|
Added support for SML (#2537)
|
|
3b4f14ca
|
2020-09-13T23:25:43
|
|
Rust: Fixed Unicode char literals (#2550)
|
|
4d31e22a
|
2020-09-11T12:07:11
|
|
Added support for Birb (#2542)
|
|
f62ca787
|
2020-08-31T17:56:46
|
|
Regex: Changed how languages embed regexes (#2532)
|
|
e4f6ccac
|
2020-08-30T15:08:38
|
|
Scheme: Added support for R7RS syntax (#2525)
|
|
ad748a00
|
2020-08-30T18:16:21
|
|
Added PureScript language definition (#2526)
|
|
e023044c
|
2020-08-28T18:38:14
|
|
Haskell: Improvements (#2535)
|
|
c51ababb
|
2020-08-27T23:51:16
|
|
JS Extras: Highlight import and export bindings (#2533)
|
|
6c921801
|
2020-08-27T19:14:20
|
|
Shell session & bash: Highlight all commands after the start of any Heredoc string (#2509)
|
|
bafab634
|
2020-08-17T16:22:21
|
|
Tests: Added an option to accept the actual token stream (#2515)
|
|
5c33f0bb
|
2020-08-17T15:39:02
|
|
Added support for BSL (1C:Enterprise) (#2520)
|
|
004eaa74
|
2020-08-14T00:00:21
|
|
Added support for MongoDB syntax (#2518)
|
|
2da2beba
|
2020-08-12T13:10:38
|
|
Added support for Stan (#2490)
|
|
bf115f47
|
2020-08-11T15:33:48
|
|
Added support for TypoScript (#2505)
|
|
388ad996
|
2020-08-07T21:14:34
|
|
Add support for NaniScript (#2494)
|
|
158caf52
|
2020-07-30T22:54:34
|
|
JSON: Greedy comments (#2479)
Comments are now greedy allowing them to break strings, properties, and each other.
|
|
f0f8210c
|
2020-07-28T00:45:28
|
|
Batch: Fix escaped double quote (#2485)
|
|
649e51e5
|
2020-07-27T13:50:41
|
|
Added support for Dhall (#2473)
|
|
ed1df1e1
|
2020-07-22T17:27:00
|
|
Added support for YANG (#2467)
|
|
3fcce6fe
|
2020-07-22T18:12:01
|
|
Added support for .gitignore (#2481)
|
|
0c30c582
|
2020-07-22T17:45:05
|
|
EditorConfig: Trim spaces before key and section title (#2482)
The `key` and `section` tokens sometimes included leading spaces.
|
|
2ff40fe0
|
2020-07-18T15:29:33
|
|
Rust: Improvements (#2464)
|
|
2805ae35
|
2020-07-18T15:02:33
|
|
JSDoc: Improvements (#2466)
|
|
398e2943
|
2020-07-18T14:58:39
|
|
Added support for Cypher (#2459)
|
|
4f55052f
|
2020-07-18T14:53:05
|
|
JS: Improved regex detection (#2465)
|
|
bea7a585
|
2020-07-14T14:47:21
|
|
SQL: Added PostgreSQL `RETURNING` keyword (#2476)
|
|
40285203
|
2020-07-13T13:24:32
|
|
Core: Fixed greedy matching bug (#2032)
|
|
ed8fff91
|
2020-07-11T01:07:19
|
|
Added support for EditorConfig (#2471)
|
|
278316ca
|
2020-07-06T15:01:10
|
|
SAS: Improved macro string functions (#2463)
|
|
537a9e80
|
2020-07-05T15:22:39
|
|
CSP: Fixed directives (#2461)
|
|
a0a9f1ef
|
2020-07-02T17:46:04
|
|
SAS: Handle edge case of string macro functions (#2451)
|
|
7c66cfc4
|
2020-07-02T17:42:38
|
|
AutoHotkey: Added missing "format" built-in (#2450)
|
|
8a72fa6f
|
2020-06-29T13:09:56
|
|
C/C++: Improved macros and expressions (#2440)
|
|
681adeef
|
2020-06-28T03:16:17
|
|
Add extra newlines in pretty token streams (#2070)
The formatter for the simplified token streams of our test cases will now emit extra (empty) newlines if the tested code also has an empty line at those positions.
|