-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Comparing changes
Open a pull request
base repository: PrismJS/prism
base: aba55105897299e61815e873f8fcce7063227927
head repository: PrismJS/prism
compare: 88a17b4ff586c8bbd0faf1b1524cee9e039fa580
Commits on Jul 24, 2019
-
npm: Updated dependencies to fix 122 vulnerabilities (#1997)
This updates mocha and its dependencies to fix 122 vulnerabilities.
Configuration menu - View commit details
-
Copy full SHA for 3af5d74 - Browse repository at this point
Copy the full SHA 3af5d74View commit details
Commits on Aug 5, 2019
-
Fixed alias example in extending page (#2011)
This fixes the example on how to add a language alias to a language definition.
Configuration menu - View commit details
-
Copy full SHA for 7cb65ee - Browse repository at this point
Copy the full SHA 7cb65eeView commit details
Commits on Aug 6, 2019
-
Added RDF Turtle/TriG language (#2012)
This adds support for the RDF Turtle/TriG language.
Configuration menu - View commit details
-
Copy full SHA for 508d57a - Browse repository at this point
Copy the full SHA 508d57aView commit details
Commits on Aug 8, 2019
-
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.
Configuration menu - View commit details
-
Copy full SHA for 076f615 - Browse repository at this point
Copy the full SHA 076f615View commit details -
SAS: Fixed
proc-args
token by removing backreferences from string p……attern (#2013) Because the `proc-args` pattern has a lookbehind capturing group, the `\1` in the string pattern will refer to the lookbehind group. This PR fixes this bug by replacing the old string pattern with old that doesn't use backreferences.
Configuration menu - View commit details
-
Copy full SHA for af5a36a - Browse repository at this point
Copy the full SHA af5a36aView commit details
Commits on Aug 14, 2019
-
Added support for GDScript (#2006)
This adds support for the GDScript language.
Configuration menu - View commit details
-
Copy full SHA for e2b99f4 - Browse repository at this point
Copy the full SHA e2b99f4View commit details
Commits on Aug 17, 2019
-
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.
Configuration menu - View commit details
-
Copy full SHA for ebe363f - Browse repository at this point
Copy the full SHA ebe363fView commit details -
Added support for Firestore security rules (#2010)
This adds support for Google Cloud Firestore security rules.
Configuration menu - View commit details
-
Copy full SHA for 9f72258 - Browse repository at this point
Copy the full SHA 9f72258View commit details
Commits on Aug 29, 2019
-
Python: Fixed decorators (#2018)
This adds a missing multiline flag to support more than one decorator.
Configuration menu - View commit details
-
Copy full SHA for 5b8a16d - Browse repository at this point
Copy the full SHA 5b8a16dView commit details -
Less: Fixed exponential backtracking (#2016)
This fixes the exponential backtracking in 2 of Less' patterns.
Configuration menu - View commit details
-
Copy full SHA for d03d19b - Browse repository at this point
Copy the full SHA d03d19bView commit details -
This adds support for the Zig language. https://ziglang.org/
Configuration menu - View commit details
-
Copy full SHA for a7cf56b - Browse repository at this point
Copy the full SHA a7cf56bView commit details -
Improved test page performance for Chromium (#2020)
This improves the performance of the test page for large chunks of text in Chromium-based browsers.
Configuration menu - View commit details
-
Copy full SHA for 3509f3e - Browse repository at this point
Copy the full SHA 3509f3eView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for e864d51 - Browse repository at this point
Copy the full SHA e864d51View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 174ed10 - Browse repository at this point
Copy the full SHA 174ed10View commit details
Commits on Aug 31, 2019
-
Core: Minor improvements (#1973)
This makes some minor improvements to Prism Core like refactoring and style clean up.
Configuration menu - View commit details
-
Copy full SHA for 2d858e0 - Browse repository at this point
Copy the full SHA 2d858e0View commit details
Commits on Sep 2, 2019
-
Turtle: Minor improvements (#2038)
This makes a few minor improvements to Turtle: - Multiline strings were too greedy and matched `"""a"""""` whole. - URLs (IRI) were too accepting. - The keyword patterns are now disjoint.
Configuration menu - View commit details
-
Copy full SHA for 8ccd258 - Browse repository at this point
Copy the full SHA 8ccd258View commit details -
This adds support for the AQL language. https://www.arangodb.com/docs/stable/aql/
Configuration menu - View commit details
-
Copy full SHA for 3fdb7d5 - Browse repository at this point
Copy the full SHA 3fdb7d5View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for fb61833 - Browse repository at this point
Copy the full SHA fb61833View commit details -
Added support for Solidity (#2031)
This adds support for the Solidity language. https://solidity.readthedocs.io/en/v0.4.23/
Configuration menu - View commit details
-
Copy full SHA for cc2cf3f - Browse repository at this point
Copy the full SHA cc2cf3fView commit details
Commits on Sep 3, 2019
-
Use modern JavaScript in the NodeJS usage section (#1942)
This updates the code examples in the NodeJS usage section to use modern JavaScript (ES6) features.
Configuration menu - View commit details
-
Copy full SHA for 5c68a55 - Browse repository at this point
Copy the full SHA 5c68a55View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 3fda5c9 - Browse repository at this point
Copy the full SHA 3fda5c9View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for f7eaa61 - Browse repository at this point
Copy the full SHA f7eaa61View commit details -
Doubly check the
manual
flag (#1957)This fixes the behavior of manual highlighting where it would highlight everything even with `manual: true`. This also adds doc as to how manual highlighting works.
Configuration menu - View commit details
-
Copy full SHA for d49f0f2 - Browse repository at this point
Copy the full SHA d49f0f2View commit details -
Made the download button its own plugin (#1840)
This makes the download button its own plugin instead of being part of File highlight.
Configuration menu - View commit details
-
Copy full SHA for c6c62a6 - Browse repository at this point
Copy the full SHA c6c62a6View commit details -
This removes the little script to show all tokens of a language and replaces it with a little UI to do the task on the Prism website.
Configuration menu - View commit details
-
Copy full SHA for 8a572af - Browse repository at this point
Copy the full SHA 8a572afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 010a015 - Browse repository at this point
Copy the full SHA 010a015View commit details -
Added Inline color plugin (#2007)
This adds a new plugin to display an inline preview of CSS colors as most IDEs do.
Configuration menu - View commit details
-
Copy full SHA for 8403e45 - Browse repository at this point
Copy the full SHA 8403e45View commit details -
Website: Fixed the Toolbar plusing's overflow issue (#1966)
This fixes the overflow issue of all Toolbar related plugins where some button were hidden behind the theme selection.
Configuration menu - View commit details
-
Copy full SHA for 56a8711 - Browse repository at this point
Copy the full SHA 56a8711View commit details
Commits on Sep 4, 2019
-
New Match Braces plugin (#1944)
This adds a new plugin to highlight matching braces in highlighted code.
Configuration menu - View commit details
-
Copy full SHA for 365faad - Browse repository at this point
Copy the full SHA 365faadView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 1aabcd1 - Browse repository at this point
Copy the full SHA 1aabcd1View commit details
Commits on Sep 5, 2019
-
Added support for SPARQL language (#2033)
This adds support for the SPARQL language. https://www.w3.org/TR/sparql11-query/
Configuration menu - View commit details
-
Copy full SHA for c42f877 - Browse repository at this point
Copy the full SHA c42f877View commit details -
Website: Use HTTPS link to alistapart.com (#2044)
This changes the link to alistapart.com to use HTTPS.
Configuration menu - View commit details
-
Copy full SHA for 8bcc1b8 - Browse repository at this point
Copy the full SHA 8bcc1b8View commit details -
Readme: Links now use HTTPS if available (#2045)
This changes some link of our README to use HTTPS wherever possible.
Configuration menu - View commit details
-
Copy full SHA for 6cd0738 - Browse repository at this point
Copy the full SHA 6cd0738View commit details
Commits on Sep 10, 2019
-
Added .github folder to npm ignore (#2052)
This adds the `.github` folder to `.npmignore` to exclude the directory from future releases.
Configuration menu - View commit details
-
Copy full SHA for 1af89e0 - Browse repository at this point
Copy the full SHA 1af89e0View commit details
Commits on Sep 12, 2019
-
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.
Configuration menu - View commit details
-
Copy full SHA for 32a4c42 - Browse repository at this point
Copy the full SHA 32a4c42View commit details
Commits on Sep 16, 2019
-
AQL: More pseudo keywords (#2055)
This adds `COUNT`, `CURRENT`, `KEEP`, and `PRUNE` to the list of keywords such that false positives are (mostly) avoided.
Configuration menu - View commit details
-
Copy full SHA for 899574e - Browse repository at this point
Copy the full SHA 899574eView commit details
Commits on Sep 18, 2019
-
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.
Configuration menu - View commit details
-
Copy full SHA for f3c6ba5 - Browse repository at this point
Copy the full SHA f3c6ba5View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 007c9af - Browse repository at this point
Copy the full SHA 007c9afView commit details
Commits on Sep 24, 2019
-
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.
Configuration menu - View commit details
-
Copy full SHA for a7b95dd - Browse repository at this point
Copy the full SHA a7b95ddView commit details
Commits on Sep 25, 2019
-
Clojure: Added multiline strings (lisp style) (#2061)
This adds support for linebreaks in Clojure strings.
Configuration menu - View commit details
-
Copy full SHA for 8ea685b - Browse repository at this point
Copy the full SHA 8ea685bView commit details
Commits on Sep 26, 2019
-
Issue template improvements (#2069)
This fixes a typo in the issue templates and comments out some instruction to make them invisible in the issue.
Configuration menu - View commit details
-
Copy full SHA for 53f07b1 - Browse repository at this point
Copy the full SHA 53f07b1View commit details
Commits on Sep 30, 2019
-
Added plugin descriptions to plugin list (#2076)
This adds plugin descriptions to the plugin lists on the website.
Configuration menu - View commit details
-
Copy full SHA for cdfa60a - Browse repository at this point
Copy the full SHA cdfa60aView commit details -
JS: Tokenize
:
as an operator (#2073)This changes the JS tokenization of `:` (colon) to `operator`.
Configuration menu - View commit details
-
Copy full SHA for 0e5c48d - Browse repository at this point
Copy the full SHA 0e5c48dView commit details
Commits on Oct 5, 2019
-
1
Configuration menu - View commit details
-
Copy full SHA for 5d07aa7 - Browse repository at this point
Copy the full SHA 5d07aa7View commit details
Commits on Oct 7, 2019
-
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
Configuration menu - View commit details
-
Copy full SHA for 07020c7 - Browse repository at this point
Copy the full SHA 07020c7View commit details
Commits on Oct 13, 2019
-
TypeScript: Added missing keyword
undefined
(#2088)This adds `undefined` to the list of keywords in TypeScript.
Configuration menu - View commit details
-
Copy full SHA for c8b48b9 - Browse repository at this point
Copy the full SHA c8b48b9View commit details
Commits on Oct 15, 2019
-
AQL: Disallow unclosed multiline comments again (#2089)
This reverts commit f3c6ba5.
Configuration menu - View commit details
-
Copy full SHA for 717ace0 - Browse repository at this point
Copy the full SHA 717ace0View commit details
Commits on Oct 16, 2019
-
JavaScript: Added Optional Chaining and Nullish Coalescing (#2084)
This adds support for optional chaining (`?.`) and nullish coalescing (`??`).
Configuration menu - View commit details
-
Copy full SHA for fdb7de0 - Browse repository at this point
Copy the full SHA fdb7de0View commit details -
This adds support for FTL (Freemarker language).
Configuration menu - View commit details
-
Copy full SHA for 2f3da7e - Browse repository at this point
Copy the full SHA 2f3da7eView commit details -
Minor improvements for C-like and Clojure (#2064)
All changed patterns are equivalent with the exception of `c-like.class-name.pattern` where the `\b` before `catch` is new.
Configuration menu - View commit details
-
Copy full SHA for 7db0cab - Browse repository at this point
Copy the full SHA 7db0cabView commit details
There are no files selected for viewing
This file was deleted.