tests


Log

Author Commit Date CI Message
Golmote 7dc1e453 2017-12-05T08:58:11 CSS and JS: Make CSS and JS inclusions in Markup greedy. Fix #1240
Golmote f41c5cd5 2017-11-29T08:35:55 JSX: Improve highlighting support. Fix #1235 and #1236
Golmote 9a542a00 2017-11-28T19:41:58 PHP: Add support for multi-line strings. Fix #1233
Valtteri Laitinen f234ea40 2017-11-20T23:34:38 Unicode characters in CSS properties (#1227) * Unicode characters in CSS properties Highlight Unicode characters in CSS properties correctly, for example “.foo { --bär: 3 }”. Optimized the “function” regex in the JavaScript definition: replaced “_a-zA-Z0-9” with “\w”, removed uppercase “A-Z” because the “i” flag is set. Used that regex for CSS but removed “$” and added “-”. * Add a test * Add minified versions * Update prism.js * Revert "Update prism.js" This reverts commit 241464ba1ba5e350b8483d926e73364f9e9d99c4. * Update prism.js too
Golmote d27b70dc 2017-11-11T23:42:44 Add support for Flow Fix #1216
Golmote 4cd4f01b 2017-10-22T15:02:28 MATLAB: Make strings greedy + handle line feeds better
Golmote ea380c6c 2017-10-22T15:00:54 Markup: Regexp optimisation + fix punctuation inside attr-value
Golmote c5810498 2017-10-22T14:55:20 LiveScript: Make interpolated strings greedy + fix variable and identifier regexps
Golmote 28de4e2e 2017-10-22T14:49:30 JSX: Regexp optimisation + handle spread operator as a whole
Golmote 3badd8a6 2017-10-21T10:10:32 Merge branch 'py-functions' of https://github.com/erinwild/prism into erinwild-py-functions # Conflicts: # components/prism-python.js # components/prism-python.min.js
Erin Wild 2169c995 2017-10-21T04:06:35 Add Python builtin function highlighting (#1205) * Add Python builtin function highlighting * Add builtin functions from Python 3.6 * Python: Add 'nonlocal' and 'None' keywords * Update tests for Python * Python: Remove duplicated builtins that are already keywords * Run gulp
Erin Wild 317f6908 2017-10-20T12:29:15 Update function test for Python and run gulp
Golmote 955c2ab5 2017-10-19T21:50:58 Fix inclusion tests for Pug
Golmote 6084f051 2017-10-10T08:50:42 Merge branch 'gh-pages' of https://github.com/jjcm/prism into jjcm-gh-pages # Conflicts: # plugins/autoloader/prism-autoloader.js # plugins/autoloader/prism-autoloader.min.js
Golmote 8ee2cd38 2017-10-10T08:35:13 JavaScript: Better highlighting of functions (#1190)
Jake Miller f680ee70 2017-10-10T15:05:49 Updated all instances of jade to be named pug.
Golmote 5ac0afb4 2017-09-16T12:58:50 Merge branch 'opencl' of https://github.com/Milania1/prism into Milania1-opencl # Conflicts: # plugins/autoloader/prism-autoloader.js # plugins/autoloader/prism-autoloader.min.js # plugins/show-language/prism-show-language.js # plugins/show-language/prism-show-language.min.js
Golmote 2e4f98f0 2017-09-09T14:00:10 Docker: Updated tests
Golmote c685ca35 2017-09-09T12:58:24 NSIS: Update tests
Golmote eaa8ebb4 2017-09-09T12:40:24 Merge branch 'n4js' of https://github.com/bsmith-n4/prism into bsmith-n4-n4js # Conflicts: # plugins/show-language/prism-show-language.js # plugins/show-language/prism-show-language.min.js
Golmote 44f0ed1b 2017-09-09T12:31:08 C: Update tests
Golmote 2e32fc7e 2017-09-09T10:51:00 Eiffel: Make strings greedy and update tests and example
Golmote ea14c25d 2017-09-09T10:50:12 Eiffel: Add test for class-name
Jan S. (Milania1) 1a628b8d 2017-08-17T22:12:51 Add OpenCL language support
bsmith 3208e348 2017-05-29T15:34:02 temporarily remove type annotation support
bsmith 98867cf0 2017-05-29T15:28:00 initial commit
Andreas Rohner 5df26e23 2017-05-13T09:57:11 Check for possible pre-existing marker strings in Smarty
Andreas Rohner 7a1a4042 2017-05-13T09:45:45 Check for possible pre-existing marker strings in Handlebars
Andreas Rohner 36bc560e 2017-05-13T09:34:37 Check for possible pre-existing marker strings in PHP
Andreas Rohner 1453fa7c 2017-05-08T22:37:39 Merge pull request #1100 from zeitgeist87/FixPHP Fix the PHP language
Andreas Rohner 1736f4aa 2017-02-08T01:36:27 Fix corner cases for the greedy flag By refactoring the tokenize() method into two separate methods, it is possible to recursively clean up any broken tokens left by the greedy feature. This should fix the issue 1075.
Andreas Rohner 3ce74880 2017-03-30T18:39:16 Add support for the <?= delimiter in PHP
Andreas Rohner 0a00d7f7 2017-02-10T17:10:19 Fix the PHP language This patch is an attempt to fix the PHP language, when it is combined with markup. The problem is, that markup has a higher priority than all other tokens. This leads to weird errors, where HTML tags are highlighted inside of comments #197. One solution to this was to set the `greedy` flag for the comment token, but this leads to far worse errors like #1097. This patch should fix both issues #197 and #1097, by switching the grammar to markup on the fly. One potential problem is, that it relies on the `<?php` tag to detect if markup is present. So if a PHP file contains only markup and no PHP code at all, the result will look broken.
Golmote 62cdaf80 2017-05-08T13:39:11 Ruby: Add support for =begin =end comments. Manual merge of #1121.
Golmote 88300817 2017-05-08T13:26:16 VB.Net: Add example + tests + fix regexps
Golmote 01a59d81 2017-05-08T12:54:33 Merge branch 'idleberg-gh-pages' into gh-pages # Conflicts: # components/prism-nsis.min.js
Golmote 48bbc397 2017-05-08T12:54:17 Fix tests for #1033
Golmote 3a157172 2017-05-08T12:53:16 Merge branch 'gh-pages' of https://github.com/idleberg/prism into idleberg-gh-pages # Conflicts: # components/prism-nsis.js # components/prism-nsis.min.js # tests/languages/nsis/constant_feature.test
Golmote 2094221b 2017-05-08T12:33:12 APL: Run gulp + updated test after #1126
Golmote 9f649fbe 2017-05-08T12:05:35 JavaScript: Properly match every operator as a whole token. Fix #1133
Golmote 867ea428 2017-03-02T08:26:05 JSX: Fix highlighting of attributes containing spaces
TSUYUSATO Kitsune 125bff10 2017-03-02T16:07:01 Update Crystal keywords (#1092) - Add `select`, `uninitialized` and `__END_LINE__` - Remove `ifdef`
Golmote c40de4f4 2017-02-08T08:39:03 JSX: Add test for spread inside tag
Golmote dfb6f17e 2017-02-07T23:21:20 C#: Fix wrong highlighting when three slashes appear inside string. Fix #1091
Golmote f531294f 2017-01-28T10:35:59 Add tests for Django
Golmote 3d42640e 2017-01-28T09:57:21 APL: Update test after #1072
Golmote 3cae6ce8 2016-11-19T12:16:31 Add support for Reason. Fix #1046
idleberg d0746065 2016-11-09T08:50:52 use real-world example
idleberg 2538ff9f 2016-11-09T08:45:51 add test for new patterns
Golmote 25cdd3f0 2016-11-09T02:01:40 Ini: Fix test after #1047
thesave dfc19413 2016-11-09T01:57:46 Add support for the Jolie language (#1014) * Added component for the Jolie language * Added Jolie among the supported components * update for merge - revised jolie component - added tests - added code example - minified with `gulp` * fixes * fixes * fixed Jolie html file example and highlight for punctuation * fixed indentation in test html file and added comma as punctuation
Rob Wu d75da8ee 2016-11-09T01:29:22 Fix order of decoding entities in groovy (#1049) (#1050)
Golmote 8b0520a8 2016-11-09T01:27:40 Ruby: Make strings greedy. Fixes #1048
Golmote b15d43b4 2016-11-09T01:24:55 Ruby: Fix test after #1023
Jan T. Sott 76ba1b83 2016-10-11T08:11:15 update patterns (#1032) Updated NSIS
Jan T. Sott 9c93b9a4 2016-10-10T23:52:45 update test cases
Golmote d1144d0b 2016-10-10T22:53:48 Test suite: fixed missing diff in error message
idleberg bf50d751 2016-10-10T13:16:04 move constants to separate file
Golmote 25a541d6 2016-09-28T21:16:33 JSON: Fixed issues with properties and strings + added tests. Fix #1025
Golmote ac21d337 2016-09-23T22:31:02 Update APL minified file + update test for iota underbar function
Golmote c1a0c1bd 2016-07-11T20:37:47 Added TestCase.runTestsWithHooks + add missing tests. Updated documentation for test suite.
Golmote 0224b7cc 2016-07-10T14:05:42 Merge pull request #994 from Golmote/prism-xojo Add support for Xojo. Fix #898
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 5e62f023 2016-07-04T20:13:26 Add support for Xojo. Fix #898
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 65619f7e 2016-07-03T03:20:53 Add support for Ada (generic). Closes #949
Golmote 268d01e3 2016-07-03T02:32:13 Add test for JS operators
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 9cfc8cb2 2016-06-18T19:39:36 Add support for LiveScript
Golmote 2607dcd9 2016-06-18T14:46:44 Add support for .properties files
Golmote e0180873 2016-06-16T08:15:59 Merge pull request #971 from Golmote/prism-graphql Add support for GraphQL
Golmote bfb559bf 2016-06-11T01:17:24 Add support for GraphQL
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.
wayward710 9bb8ddc5 2016-05-01T01:33:11 Added keyword tests for Bro and added a case to variable
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 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 6694e218 2016-04-29T16:56:32 Fix keyword_feature.test for the sas-language
Andreas Rohner 49cf8991 2016-03-08T15:03:59 Fix minor bug with new greedy-feature This fixes a minor bug that causes invalid highlighting in some edge cases, where two greedy patterns overlap each other.
Andreas Rohner c88036ca 2016-02-19T22:27:22 Add tests for new greedy-pattern feature and fix bug in Kotlin This patch adds tests for the new greedy-pattern feature and fixes a small bug in the Kotlin language, that resulted from that. It also cleans up some of the comments and refactors a few lines in the tokenloop.
Golmote 9a4b6fa3 2015-10-26T22:26:05 Use child processes to run each set of tests, in order to deal with the memory leak in vm.runInNewContext()
Golmote e8a31a50 2015-10-26T08:16:29 Merge pull request #814 from Golmote/prism-kotlin Add support for Kotlin
Golmote 90fbf0be 2015-10-26T08:08:13 Python: Highlight triple-quoted strings before comments. Fix #815
Golmote 81933ee8 2015-10-22T07:17:56 Merge pull request #813 from Golmote/prism-puppet Add support for Puppet configuration
Golmote f5db3463 2015-10-22T07:17:38 Merge pull request #812 from Golmote/prism-roboconf Add support for Roboconf
Golmote eb7aa969 2015-10-22T07:12:42 Add support for Kotlin
Golmote e7a623c5 2015-10-21T06:35:03 Merge branch 'gh-pages' into prism-haxe Conflicts: plugins/autoloader/prism-autoloader.js plugins/autoloader/prism-autoloader.min.js
Golmote 77c0b061 2015-10-21T06:32:15 Merge branch 'gh-pages' into prism-parser Conflicts: components.js
Golmote b7b1b6a9 2015-10-17T10:37:52 Merge branch 'gh-pages' into prism-oz Conflicts: components.js
Golmote a36bc4ae 2015-10-17T10:36:03 Merge pull request #804 from Golmote/prism-lua Add support for Lua
Golmote b43c5f3f 2015-10-17T10:35:30 Merge pull request #803 from Golmote/prism-icon Add support for Icon
Golmote 0b4e1d3d 2015-10-17T10:32:59 Add support for Puppet configuration
Golmote c9b40810 2015-10-16T08:50:33 Add support for Roboconf
Golmote 188c75cc 2015-10-16T08:00:22 Merge branch 'gh-pages' into prism-parigp Conflicts: plugins/show-language/prism-show-language.js plugins/show-language/prism-show-language.min.js
Golmote 6803ca03 2015-10-16T07:58:39 Merge pull request #800 from Golmote/prism-asciidoc Add support for AsciiDoc
Golmote e25da0da 2015-10-15T08:55:07 Add support for Haxe
Golmote 9b275c8f 2015-10-13T21:15:41 Merge pull request #795 from Golmote/prism-nix Add support for Nix