tests


Log

Author Commit Date CI Message
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 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.
Tilo Prütz 6124c974 2020-02-19T20:03:29 YAML: Fixed highlighting of anchors and aliases (#2217)
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 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 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)
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
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.
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 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 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).
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.
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.
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 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.
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.
Michael Schmidt f460eafc 2019-10-19T14:31:27 Ruby: Added missing keywords (#2097) This adds the missing keywords `extend`, `include`, and `prepend`.
Michael Schmidt c187e229 2019-10-16T12:06:22 Added test for unused capturing groups (#1996) This adds a test that checks for unused capturing groups in patterns and another test which ensures that lookbehind groups are always the first thing being matched in a pattern.
Michael Schmidt cfac94ec 2019-10-16T11:41:51 Added SQF language (#2079) This adds support for the SQF language. https://community.bistudio.com/wiki/SQF_syntax
Michael Schmidt 0b771c90 2019-10-16T11:33:14 Added support for etlua (#2050) This adds support for etlua (Embedded Lua templating).
Michael Schmidt aaaa29a8 2019-10-16T11:28:54 Added support for ANTLR4 (#2063) This adds support for ANTLR4. Languages embedded via actions are not highlighted.
Michael Schmidt 2f3da7e8 2019-10-16T11:18:57 Added support for FTL (#2080) This adds support for FTL (Freemarker language).
Michael Schmidt fdb7de0d 2019-10-16T10:58:39 JavaScript: Added Optional Chaining and Nullish Coalescing (#2084) This adds support for optional chaining (`?.`) and nullish coalescing (`??`).
Simran 717ace02 2019-10-15T16:03:54 AQL: Disallow unclosed multiline comments again (#2089) This reverts commit f3c6ba590345b140a2306903a5396e28187466eb.
cedporter 07020c7a 2019-10-07T08:39:40 SAS: Minor improvements (#2085) * Reorder comment array to fix edge case added to comment_feature.test * Adjust datalines to allow for possible preceding spaces before the closing semicolon * Move comment in SAS object for correct syntax matching precedence * Add several more keywords
Michael Schmidt 0e5c48d1 2019-09-30T21:09:34 JS: Tokenize `:` as an operator (#2073) This changes the JS tokenization of `:` (colon) to `operator`.
Sooheon Kim 8ea685b8 2019-09-25T18:52:28 Clojure: Added multiline strings (lisp style) (#2061) This adds support for linebreaks in Clojure strings.
Michael Schmidt a7b95dd3 2019-09-24T17:38:09 Added support for syntax in Java 13 (#2060) This adds support for the new `yield` keyword and text blocks (triple quoted strings) which are both introduced in Java 13.
Simran 007c9af4 2019-09-18T18:32:47 Tests: Simplified error message format (#2056) The error messages will now only contain the actual token stream the failed test and a full path of the test file plus the line and column number of the position of the first difference between the expected token stream and the actual token stream.
Simran f3c6ba59 2019-09-18T14:57:34 AQL: Allow unclosed multi-line comments (#2058) AQL does not require multi-line comments to be closed. ArangoDB simply treats everything until the end of the query string as a comment in that case. This PR adjusts Prism to highlight such comments correctly.
Simran 899574eb 2019-09-16T18:12:48 AQL: More pseudo keywords (#2055) This adds `COUNT`, `CURRENT`, `KEEP`, and `PRUNE` to the list of keywords such that false positives are (mostly) avoided.
Simran 32a4c422 2019-09-12T21:40:54 AQL: Added missing keyword + minor improvements (#2047) This adds 5 missing keywords, fixes the operator pattern to support the array concatenation operator properly, and makes the number pattern stricter.
thomasdegroot18 c42f877d 2019-09-05T17:28:28 Added support for SPARQL language (#2033) This adds support for the SPARQL language. https://www.w3.org/TR/sparql11-query/
Ben Coman 1aabcd17 2019-09-05T00:10:59 Smalltalk: Fixed single quote character literal (#2041) This fixes the incorrect tokenization of the character literals of single quotes which were recognized as string delimiters.
Michael Schmidt 8403e453 2019-09-03T19:06:15 Added Inline color plugin (#2007) This adds a new plugin to display an inline preview of CSS colors as most IDEs do.
Michael Schmidt 010a0157 2019-09-03T17:45:53 D: Fixed strings (#2029) * Fixed D strings * Rebuilt
Michael Schmidt f7eaa618 2019-09-03T12:56:20 Added Robot Framework plain text format (#2034) This adds support for the Robot Framework plain text space separated format. https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#plain-text-format
Michael Schmidt 3fda5c95 2019-09-03T12:49:58 Added test for nice names (#1911) This adds a test which requires every token name to match a strict pattern to avoid inconsistent naming styles.
Michael Schmidt cc2cf3f7 2019-09-02T20:29:26 Added support for Solidity (#2031) This adds support for the Solidity language. https://solidity.readthedocs.io/en/v0.4.23/
Michael Schmidt fb618331 2019-09-02T20:22:18 Groovy: Minor improvements (#2036) This makes some minor improvements to the Groovy language definition. - Triple quoted strings now support backslash escapes - A single `.` will now be highlighted as `punctuation` instead of `operator` to be consistent with other languages.
Michael Schmidt 3fdb7d55 2019-09-02T20:08:04 Added support for AQL (#2025) This adds support for the AQL language. https://www.arangodb.com/docs/stable/aql/
Michael Schmidt 174ed103 2019-08-29T23:38:59 Core: Fixed greedy partial lookbehinds not working (#2030) This fixes the bug that greedy patterns with a lookbehind group did not support other top-level alternatives (e.g. `/foo|(lookbehind)bar/`) causing an error when used.
Michael Schmidt e864d518 2019-08-29T23:24:17 Core: Fixed greedy targeting bug (#1932) The `target` parameter defines the token which causes rematching. Rematching is done by recursively calling `matchGrammar` where `target` will be the current token name. The rematching is done if either a match was found or we reached the target token, whatever comes first. The bug is that a token is identified by its name. But the name alone doesn't uniquely identify a token in a grammar because many tokens can have the same name (array). This fixes this bug.
Michael Schmidt a7cf56b7 2019-08-29T16:25:02 Added suppprt for Zig (#2019) This adds support for the Zig language. https://ziglang.org/
Michael Schmidt 5b8a16d9 2019-08-29T16:15:05 Python: Fixed decorators (#2018) This adds a missing multiline flag to support more than one decorator.
Michael Schmidt 9f722586 2019-08-17T14:36:50 Added support for Firestore security rules (#2010) This adds support for Google Cloud Firestore security rules.
Michael Schmidt ebe363f4 2019-08-17T14:31:41 CSS Extras & PHP: Fixed too greedy number token (#2009) This fixes the too greedy number tokenization of CSS Extras which cause the placeholders of PHP (via markup templating) to be partly tokenized. The CSS extras number pattern was adjusted to solve the issue.
Michael Schmidt e2b99f40 2019-08-14T11:40:43 Added support for GDScript (#2006) This adds support for the GDScript language.
cedporter 076f6155 2019-08-08T15:16:31 SAS: Major improvements (#1981) This makes various improvements to the SAS language definition such as adding support for embedded SQL, missing keyword and language elements, more granular tokenizing, and many more.
Jakub Klímek 508d57ac 2019-08-06T15:30:24 Added RDF Turtle/TriG language (#2012) This adds support for the RDF Turtle/TriG language.
Michael Schmidt e7702ae1 2019-07-22T01:27:48 Diff: Added support for syntax highlighting inside diff blocks (#1889) This adds support for syntax highlighting inside diff blocks via a new plugin called: Diff Highlight.
Michael Schmidt c8844286 2019-07-21T22:59:46 Highlight JS tagged template literals (#1931) This adds support for highlighting embedded languages in JavaScript tagged template literals.
RunDevelopment a3a6d9ee 2019-07-20T12:59:11 Resolved conflict
Michael Schmidt 5d992fc5 2019-07-20T12:52:48 Added basic support for LilyPond (#1967) This adds very basic support for LilyPond. More advanced features weren't implemented because the author (me) has no idea about music.
Michael Schmidt c93c066b 2019-07-20T12:35:15 Added support for Splunk SPL (#1962) This adds support for Splunk SPL and corrects the position of the SQL in `components.json`.
Michael Schmidt e8811d22 2019-07-20T03:18:01 Scheme: Added support for rational number literals (#1964) This adds support for rational numbers like `2/3`.
Michael Schmidt bb84f98c 2019-07-15T23:22:20 Added support for DNS zone files (#1961) This adds support for DNS zone files. The highlighting is quite simple as every type and class is highlighted as `keyword`. This is intentional as other token names (e.g. `class-name`, `function`, `builtin`, ...) are not highlighted by every theme resulting in large portions of unstyled text for some themes.
Michael Schmidt b9ec6fd8 2019-07-13T15:52:36 Markdown: Improved URLs (#1955) This fixes the known issue that inline styles (bold, italic, strike) break URLs. Inline styles are now properly highlighted inside URLs.
Michael Schmidt d58d2aeb 2019-07-13T15:41:07 F#: Improved character literals (#1956) This adds support for all F# character escapes which should result in all characters being highlighted as such. The problem was that character literals with escape sequences longer than two characters were not recognized.
Michael Schmidt 7bd08327 2019-07-13T13:42:13 JavaScript: Private fields (#1950) This adds support for private fields in both JS and JS Extras. [Proposal](https://github.com/tc39/proposal-class-fields#private-fields).
dovisutu 4a2c90c1 2019-07-11T22:05:49 Visual Basic: Added support for interpolation strings (#1971) This makes string like `$"Foo bar"` highlight with `$`.
Brice Aldrich 858201c7 2019-07-10T21:45:22 Added support for PascaLIGO (#1947) This adds support for the [PascaLIGO language](http://ligolang.org).
Michael Schmidt 473f7fbd 2019-07-03T12:34:20 Added support for PC-Axis file format (#1940) This adds a new language for the PC-Axis file format.
Michael Schmidt de10bd1d 2019-07-01T19:55:12 Protobuf improvements (#1948) This makes numerous improvements to the Protobuf grammar adding (almost) full support for PB2 and PB3 syntax.
RunDevelopment e2c56f04 2019-06-24T23:11:51 Resolved conflicts
Michael Schmidt 11903721 2019-06-24T22:44:18 Markdown: Added support for complexly nested bold and italic expressions Some Markdown expressions which are both bold and italic (e.g. `***abc***`) were not correctly matched until now. This solves this issue.
RunDevelopment 986c9de0 2019-06-24T15:43:49 More strike tests
RunDevelopment 235fce74 2019-06-24T14:47:41 Improved tests
Paul "LeoNerd" Evans 4a0ed18d 2019-06-14T16:13:46 Add new keyword to the keyword test file
RunDevelopment 0b48301e 2019-06-12T15:46:07 Resolved conflicts
Michael Schmidt 6f53f749 2019-06-12T15:31:52 Added support for $$ equations (#1916)
Michael Schmidt 3e181241 2019-06-12T15:28:44 Added more examples & small TOML improvement (#1917) This adds some of the missing examples and makes a small improvement to TOML.
dovisutu feb1b6f5 2019-06-12T19:34:29 Add the 'struct' keyword to Julia (#1941) Added to the key word list and updated tests.
Alice M 363281b3 2019-06-10T13:29:03 Bash improvements (#1443) A bunch for improvements for Bash.
Michael Schmidt c33cf459 2019-06-09T10:37:20 Resolved conflicts
Michael Schmidt 73d964be 2019-06-08T20:15:08 Added support for JQ language (#1896) This adds support for the JQ language.
Michael Schmidt 3ba786cd 2019-06-02T15:08:24 Tests: `lookbehind` test for patterns (#1890) This adds a test which whether `lookbehind` (if set to `true`) is necessary for a given pattern.