-
Notifications
You must be signed in to change notification settings - Fork 743
Comparing changes
Open a pull request
base repository: rouge-ruby/rouge
base: v3.8.0
head repository: rouge-ruby/rouge
compare: v3.9.0
- 10 commits
- 30 files changed
- 6 contributors
Commits on Aug 9, 2019
-
Add support for HTTP/2 to HTTP lexer (#1296)
The HTTP lexer only supports requests where the HTTP version is either 1.0 or 1.1. This means that HTTP/0.9 and HTTP/2 cause errors to be generated. This commit replaces the version checks with general numeric checks.
Configuration menu - View commit details
-
Copy full SHA for 1c6df45 - Browse repository at this point
Copy the full SHA 1c6df45View commit details -
Add new regex flags to JavaScript lexer (#875)
ES6 added two regex flags to JavaScript's regular expressions: `u` and `y`. This commit adds support for lexing these flags correctly.
Configuration menu - View commit details
-
Copy full SHA for eca34a1 - Browse repository at this point
Copy the full SHA eca34a1View commit details -
This commit adds a lexer for Haxe.
Configuration menu - View commit details
-
Copy full SHA for 669dc1e - Browse repository at this point
Copy the full SHA 669dc1eView commit details
Commits on Aug 14, 2019
-
Add HQL lexer and add types to SQL lexer (#880)
This commit adds a lexer for Hive Query Language (a dialect of SQL). In addition, it updates the SQL lexer to move certain keywords to a types category and tokenises these keywords with the `Name::Builtin` token (this is consistent with the approach of Pygments and Chroma). For keywords that can be used both in a type specification and as a function (e.g. `COLLATE`), the categorisation was based on the most common use of the keyword.
Configuration menu - View commit details
-
Copy full SHA for 30e1e8c - Browse repository at this point
Copy the full SHA 30e1e8cView commit details
Commits on Aug 15, 2019
-
Add support for first-class expressions to Terraform lexer (#1303)
Terraform 0.12 adds support for first-class expressions. Prior versions of Terraform required all non-literal expressions to be included as interpolated sequences inside strings. In addition, the demo and visual samples have been rationalised. This will assist in future updates to the Terraform lexer.
Configuration menu - View commit details
-
Copy full SHA for 917b39d - Browse repository at this point
Copy the full SHA 917b39dView commit details
Commits on Aug 19, 2019
-
Change method of saving MatLab built-in keywords (#1300)
To avoid instantiating a large number of strings, Rouge currently saves the list of built-in keywords for MatLab to a file that is only read when the MatLab lexer is in use. The keywords that are in this file are generated by a Rake task that extracts the keywords from the official MatLab documentation. Since the time that the Rake task was created, MathWorks (the creators of MatLab) have changed the way this page works such that it requires JavaScript to load. This breaks the Rake task. As an alternative, this commit includes the list of built-in keywords in a YAML file. This is consistent with some of the other lexers that have a large number of keywords (e.g. Apache lexer). It will, unfortunately, require copying and pasting for future updates.
Configuration menu - View commit details
-
Copy full SHA for 59624c1 - Browse repository at this point
Copy the full SHA 59624c1View commit details -
Fix use of preceding whitespace in comments in Q lexer (#858)
If there is more than one space before a single-line comment, the Q lexer does not tokenise the comment correctly. This commit fixes that bug.
Configuration menu - View commit details
-
Copy full SHA for 05d217d - Browse repository at this point
Copy the full SHA 05d217dView commit details -
Fix escaping/interpolating in string and charlist literals in Elixir …
…lexer (#1308) The Elixir lexer does not properly handle escaping and interpolating in string (`"foo"`) and charlist (`'foo'`) literals. This PR adds general escaping rules for use in strings as well as adding support for escaping and interpolating to charlist literals. It also rationalises the states used for string literals. Examples to confirm correct behaviour have been added to the visual sample.
Configuration menu - View commit details
-
Copy full SHA for 690f9ec - Browse repository at this point
Copy the full SHA 690f9ecView commit details -
This commit adds a lexer for embedded Elixir.
Configuration menu - View commit details
-
Copy full SHA for 1ab68f2 - Browse repository at this point
Copy the full SHA 1ab68f2View commit details
Commits on Aug 20, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 8533fea - Browse repository at this point
Copy the full SHA 8533feaView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.8.0...v3.9.0