Log

Author Commit Date CI Message
Dima Fitiskin 1cd81ff8 2016-08-11T12:39:49 Store data attributes in unescaped markup plugin. For example data-start for line-numbers plugin.
Valtteri Laitinen 3dd72198 2016-08-05T03:32:09 Make doctype case insensetive (#1009)
Valtteri Laitinen b2fa6d55 2016-07-29T20:37:25 Optimize images (#1007) * Optimize images Optimized images losslessly with ImageOptim. * Optimize favicon 403 → 209 B (48,1 % saving)
Valtteri Laitinen 218fd25c 2016-07-20T01:40:14 Restore `viewBox` to Prism logo (#1002) * Restore `viewBox` to Prism logo * Remove the line break
Valtteri Laitinen 5e568330 2016-07-19T18:20:18 Remove unneeded prefixed CSS (#989) This PR removes – prefixed `linear-gradient` – prefixed `box-shadow` – prefixed `border-radius` – prefixed `opacity` + legacy IE alternatives – `-moz-transition` (http://caniuse.com/css-transitions)
Golmote f69e5704 2016-07-14T23:52:51 Merge pull request #990 from valtlait/svg-logo Optimize Prism logo
Golmote bdca61bf 2016-07-14T12:01:52 Merge pull request #996 from Golmote/data-uri-highlight Data-URI Highlight plugin Fix #485
Golmote 1b19ff08 2016-07-14T11:31:41 Fix WPD plugin's page
Golmote 26267281 2016-07-14T11:27:02 Fix WPD at-rule detection + don't process if language is not handled + fix plugin's page
Golmote 36739b3f 2016-07-14T11:07:42 Merge pull request #998 from Golmote/before-insert-code-restore Don't restore env.code from backupCode in Handlebars, PHP and Smarty …
Golmote d8fefde6 2016-07-12T09:09:52 Don't restore env.code from backupCode in Handlebars, PHP and Smarty components
Golmote c1a0c1bd 2016-07-11T20:37:47 Added TestCase.runTestsWithHooks + add missing tests. Updated documentation for test suite.
Golmote 3dc8c9e1 2016-07-11T20:36:16 Don't insert space before ">" when there is no attributes
Golmote b6ab75b6 2016-07-11T07:56:02 Comment are not candidates for data-uri highlight plugin
Golmote e5587a76 2016-07-10T14:14:50 Added aria-hidden attributes on elements created by the Line Highlight and Line Numbers plugins. Fixes #574.
Golmote 0224b7cc 2016-07-10T14:05:42 Merge pull request #994 from Golmote/prism-xojo Add support for Xojo. Fix #898
Golmote 5f1b3826 2016-07-10T13:56:08 Data-URI Highlight plugin
Golmote 8f5f1fa9 2016-07-07T09:13:47 SCSS: Highlight parent selector
Golmote 13fed767 2016-07-07T09:09:51 CSS-extras: match attribute inside selectors
Golmote d6b5c2f0 2016-07-07T09:01:32 SCSS: Highlight variables inside selectors and properties.
Golmote fd09391e 2016-07-05T19:10:41 SCSS: Alias statement as keyword. Fix #246
Golmote 318aab39 2016-07-05T19:00:52 Make PHP comments greedy. Fix #197
Golmote 2b0cc8ab 2016-07-04T21:06:44 Xojo does not need to require Basic
Golmote 5e62f023 2016-07-04T20:13:26 Add support for Xojo. Fix #898
Golmote 5c815d35 2016-07-04T08:59:15 Add progress indicator on "Download all grammars" link on Autoloader plugin page
Golmote 0d0a0071 2016-07-04T08:46:47 Merge pull request #981 from Golmote/autoloader-download-all Download all grammars as a Zip directly from the Autoloader plugin page. Fix #960
Golmote 31ea66b6 2016-07-04T00:32:28 Allow for dots in Markup tag names, but not in HTML tags included in Textile. Fixes #888
Golmote 96719967 2016-07-03T23:43:37 Remove duplicated script on autoloader plugin page
Golmote 65619f7e 2016-07-03T03:20:53 Add support for Ada (generic). Closes #949
Golmote c9bdcd35 2016-07-03T02:37:29 Manual merge of #988. Closes #988, fixes #987.
Golmote 268d01e3 2016-07-03T02:32:13 Add test for JS operators
Golmote 8de64b6b 2016-07-03T02:32:02 Run gulp
Golmote b2de65ac 2016-07-03T02:27:43 Merge pull request #991 from valtlait/js-operators Add JS exponentiation & spread/rest operator
Valtteri Laitinen daef55f8 2016-07-01T02:23:23 JS: add exponentiation & spread/rest operator Add JavaScript `**` and `...` operators
Valtteri Laitinen a451d33e 2016-07-01T01:46:37 Optimize Prism logo Optimizations to Prism SVG logo: – remove XML prolog – remove `version` attribute (doesn’t have any effect) – remove unused `xlink` namespace – remove `viewBox` attribute (doesn’t have any effect in this context) – remove `px` units (it’s default unit) – optimize path data
Golmote 62e258c9 2016-06-27T01:28:46 Merge pull request #982 from Golmote/prism-livescript Add support for LiveScript
Golmote 9c5ffb5e 2016-06-27T01:26:39 Merge remote-tracking branch 'official/gh-pages' into prism-livescript Conflicts: plugins/show-language/prism-show-language.js plugins/show-language/prism-show-language.min.js
Golmote be6219a8 2016-06-27T01:21:50 Merge pull request #980 from Golmote/prism-properties Add support for .properties files
Lea Verou 4fda477e 2016-06-20T03:42:46 Merge pull request #977 from rbricheno/gh-pages Fix highlighting of empty comments in PowerShell
Golmote 9cfc8cb2 2016-06-18T19:39:36 Add support for LiveScript
Golmote 4a3cdfee 2016-06-18T15:45:25 Add a way to download all grammars as a Zip directly from the Autoloader plugin page
Golmote b4f34239 2016-06-18T15:01:08 Add a couple more details on how to use the Autoloader plugin
Golmote 2607dcd9 2016-06-18T14:46:44 Add support for .properties files
Golmote 9893489c 2016-06-18T14:18:27 Replace flags property of RegExp with a more compatible alternative
Andreas Rohner 912bdfe1 2016-06-18T08:16:48 Merge pull request #969 from atomantic/bash_npm adding `npm` to common function list
Golmote e0180873 2016-06-16T08:15:59 Merge pull request #971 from Golmote/prism-graphql Add support for GraphQL
Golmote a2633627 2016-06-16T08:14:11 Run gulp
Golmote 105be251 2016-06-16T08:11:46 Merge pull request #978 from nfagerlund/june2016_puppet_regexes Puppet highlighter: Fix over-greedy regexp detection
Nick Fagerlund b9a9de53 2016-06-15T16:17:08 Puppet highlighter: Fix over-greedy regexp detection The `regex` token was allowing /regexps/ to start after the word `node` or after any non-word character. This ends up being too greedy! For example, take this common code, using variable interpolation in a string that represents a file path: file { "${master_config_dir}/.ssh": ensure => file, owner => 'jenkins', group => 'jenkins', mode => '0600', } The highlighter will start a regexp at `/.ssh`, in the middle of the string, and continue for however many lines it takes to reach another slash. So instead, let's be more conservative about where we might find a regexp. I suggest: - After `node`. - After one of the following characters: `~=([{,` - This catches usage in variable assignment, the `=~`/`!~` operators, function calls, case statement and selector blocks, arrays, and data type objects that accept parameters (`Pattern[/.../]`, etc.). - After `=>` (and the lesser-used `+>`) for hashes and resource attributes. - At the start of a line, for, e.g., the LHS of the `in` operator. (I'm not 100% sure we should cover this case for a simple highlighter like Prism, and it's the one I'd most expect to cause problems later, but... I think it's ok...) This commit appears to fix the worst of the mid-string blowouts.
rbricheno 311a890e 2016-06-15T17:14:28 Fix highlighting of empty comments A single # on a line by itself with no other characters following it is a valid comment in powershell.
rbricheno 0e3e938d 2016-06-15T17:13:07 Fix highlighting of empty comments A single # on a line by itself with no other characters following it is a valid comment in powershell.
Andreas Rohner 500121ba 2016-06-11T09:12:05 Merge pull request #967 from zeitgeist87/ImprovedGreedyFlag Improvement to greedy-flag
Golmote bfb559bf 2016-06-11T01:17:24 Add support for GraphQL
Adam Eivy babdf740 2016-06-08T22:29:12 adding `npm` to common function list
Andreas Rohner 4a44f016 2016-06-05T07:39:15 Release 1.5.1
Andreas Rohner 740e8900 2016-06-05T07:33:36 Update CHANGELOG and auto-generated files
Andreas Rohner 9385c54f 2016-06-05T07:14:20 Add class that disables the normalize whitespace plugin
Andreas Rohner d80900cc 2016-06-04T19:52:38 Improvement to greedy-flag This patch expands the idea of the greedy flag and significantly improves it, by matching against the whole text instead of just the next couple of tokens. This does not only improve the results, but it should also slightly improve performance.
Andreas Rohner 1158e460 2016-06-03T11:34:01 Rearrange the `string` and `template-string` token in JavaScript It is more likely that single and double quotes appear in a template string, than backticks in a normal string. Fixes issue #963.
Andreas Rohner 0c4d8d7d 2016-06-03T09:18:06 Merge pull request #959 from rupl/75-async Allow for asynchronous loading of prism.js
Chris Ruppel f130680c 2016-05-29T11:15:59 Use requestAnimationFrame instead of setTimeout
Lea Verou b6b40ec0 2016-05-29T00:46:11 Merge pull request #958 from kaplanoah/gh-pages add delimeter and delimeters keywords to sql
Chris Ruppel 4eb7ee45 2016-05-26T11:27:03 Allow for asynchronous loading of prism.js
Noah Kaplan a9ef24e3 2016-05-25T11:50:45 add delimeter keywords to sql
Golmote abee2b75 2016-05-17T22:02:28 Merge pull request #957 from andeersg/lowercase-languages Use toLowerCase on language names
Anders Grendstadbakk acd9508f 2016-05-17T14:23:02 Use toLowerCase on language names
Lea Verou e45fd2eb 2016-05-16T15:26:51 Merge pull request #954 from kaplanoah/gh-pages add AUTO_INCREMENT and DATE keywords to sql
Noah Kaplan caea2afe 2016-05-15T20:38:26 add auto_increment and date sql keywords
Lea Verou 8b3c51dd 2016-05-12T11:30:15 Merge pull request #952 from TimvdLippe/diff-one-line Highlight diff lines with only + or -
Lea Verou bd3a0b82 2016-05-12T11:28:15 Merge pull request #953 from thedigitalman/patch-1 Fixed monospace typo
Scott McKee e6c34988 2016-05-12T14:13:30 Fixed monospace typo The original value was "monoscpace," and I changed it to "monospace."
Tim van der Lippe 4d0526fa 2016-05-12T11:30:53 Highlight diff lines with only + or -
Andreas Rohner 6ec9238a 2016-05-01T11:36:44 Merge pull request #946 from malcomio/gh-pages link to index for basic usage - fixes #945
Malcolm Young 6c772d85 2016-05-01T09:32:03 link to index for basic usage - fixes #945
Andreas Rohner f4912eed 2016-05-01T10:30:33 Release 1.5.0
Andreas Rohner dfb63ede 2016-05-01T10:13:54 Update CHANGELOG.md
Andreas Rohner daae21d3 2016-05-01T08:52:13 Merge pull request #944 from open-nsm/gh-pages Added keyword tests for Bro and added a case to variable
wayward710 9bb8ddc5 2016-05-01T01:33:11 Added keyword tests for Bro and added a case to variable
Lea Verou f40aff3e 2016-04-30T21:56:30 Merge pull request #893 from zeitgeist87/comment-escape Use a HTML-comment to escape code
Andreas Rohner 21dd0d14 2016-02-15T23:08:24 Use a HTML-comment to escape code
Andreas Rohner fd036d9e 2016-04-30T16:12:48 Merge branch 'master' into gh-pages
Andreas Rohner 8a83ec49 2016-04-30T16:11:09 Merge pull request #918 from eriklieben/jspm Added support for installing the npm package with JSPM
Andreas Rohner 6f75735e 2016-04-30T15:43:07 Support for generic methods in csharp
Andreas Rohner 964450e1 2016-04-30T13:35:01 Apply the new greedy flag to a few languages This patch applies the new greedy flag to a few languages and adds the corresponding test cases.
Andreas Rohner 9cbf9d77 2016-04-30T12:04:06 Update auto-generated values in the autoloader plugin The auotloader plugin contains a variable that is auto-generated by gulp. This variable was updated by the addition of the new language protobuf.
Andreas Rohner 8477e457 2016-04-30T11:58:43 Minor fix for the YAML language Recent changes to YAML caused it to fail some test cases. This patch fixes this minor problem, by excluding whitespace characters from the "key"-pattern.
Andreas Rohner 71e57594 2016-04-30T11:52:51 Add basic test cases for the Bro language This patch adds basic tests for the Bro language and it enables the greedy-flag for the string token.
Andreas Rohner 3eec2b75 2016-04-30T11:49:08 Add some simple test cases for the protobuf language This patch adds basic test cases for the protobuf language and fixes some whitespace issues. It also adds the missing requirement to the clike language to components.js.
Andreas Rohner 2746d7f3 2016-04-30T09:48:39 Document the newly added greedy-flag
Andreas Rohner 5b78124e 2016-04-30T09:48:11 Fix whitespace in extending.html
Lea Verou d25047d7 2016-04-29T14:50:46 Merge pull request #943 from larsks/bug/942 fix hilighting of YAML keys on first line of code block
Lars Kellogg-Stedman f19db819 2016-04-29T12:05:00 fix hilighting of YAML keys on first line of code block The YAML highlighter would fail to highlight a key if it occurred on the first line of a `<code>` block, as in: <pre><code>somekey: somevalue anotherkey: anothervalue</pre></code> This adds "beginning of file" as an acceptable marker for the start of a key. Resolves #942 and, it turns out, #649.
Andreas Rohner 6694e218 2016-04-29T16:56:32 Fix keyword_feature.test for the sas-language
Andreas Rohner f081b905 2016-04-29T16:39:46 Rename proto language into protobuf and add it to components.js
Andreas Rohner 58d87137 2016-04-29T16:32:22 Merge pull request #938 from just-boris/patch-1 add protobuf support
Andreas Rohner 5d725f7f 2016-04-29T16:12:26 Merge pull request #941 from coliff/patch-1 HTTPS links to twitter.com and w3.org + Google Analytics to HTTPS
Christian Oliff 8843a03a 2016-04-28T18:07:32 HTTPS links to twitter.com and w3.org + Google Analytics to HTTPS HTTPS links to twitter.com and w3.org (they are HTTPS anyway so it saves redirect) Updated Google Analytics URL to be HTTPS (recommended by Google)
Boris Serdiuk ae4a4f2f 2016-04-25T17:57:06 add protobuf support
Lea Verou 86cfe7fa 2016-04-23T19:55:39 Merge pull request #937 from andremw/patch-1 Adds closing parenthesis
André cd1a5468 2016-04-23T08:58:57 Adds closing parenthesis