tests


Log

Author Commit Date CI Message
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
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
Golmote 132b2a43 2015-10-13T21:14:54 Add test after merge of #806 + run gulp
Golmote 2ba763e0 2015-10-13T21:08:49 Add support for Parser
Golmote d5ace6c2 2015-10-11T13:45:28 Add support for Oz
Golmote 1a4ff7ac 2015-10-11T10:38:10 Add support for Lua
Golmote 2d08fa90 2015-10-10T21:32:45 Add support for Icon
Golmote 6679e735 2015-10-10T16:38:02 Add support for PARI/GP
Golmote f1c41db9 2015-10-10T12:48:26 Increase mocha's timeout
Golmote e135947c 2015-10-10T12:48:04 Run gulp and update tests after #801 merge
Golmote 68159d5b 2015-10-10T03:57:25 Add support for AsciiDoc
Golmote 198bc99a 2015-10-07T00:28:30 Add support for Nix
Golmote ac6fe2ee 2015-10-06T22:40:37 Merge pull request #793 from zeitgeist87/BashString Substantially reduce wrongly highlighted stuff for Bash
Andreas Rohner c628ce24 2015-10-06T17:35:08 Support for command substitution for the Bash language Command substitution is a very important part of the Bash language. Every non trivial script uses it in one way or another. This patch adds support for it.
Andreas Rohner e83dcff6 2015-10-06T17:18:16 Add support for arithmetic environments for the Bash language Currently arithmetic operators are wrongly matched all over the place. For example the dash in `ls -la` is highlighted as a minus operator, but for Bash it is only a string. Another example would be a simple path like this `cat 801-file.txt`. Here `801` is wrongly highlighted as a number and `-` is highlighted as an operator. Bash only supports numbers and arithmetic operators inside of a so called arithemtic environment `$((3 + 4))`. By supporting this and limiting numbers and arithmetic operators to arithemtic environments, a lot of wrongly highlighted stuff can be avoided.
Andreas Rohner 0eeaff3e 2015-10-06T13:59:20 Fix built-in commands and functions for the Bash language Keywords and functions should not start with a boundary character, because this leads to lots of false matches. Bash actually only allows a few boundary characters for commands and functions. This patch replaces the \b with an explicit list of allowed characters. This improves the highlighting of pathnames enourmously. Some examples of invalid highlighting this patch fixes: cat /etc/passwd cat ./if/else/something-file.txt This patch also adds the built-in commands ":" and ".". : NOOP-command . Source command
Golmote 29643f4e 2015-10-06T08:48:21 Simplify patterns for <style> and <script> tags
Golmote 5ade8a58 2015-10-06T08:25:54 Test runner: Allow to run tests for only some languages
Golmote 6babaad4 2015-10-06T07:53:35 Merge pull request #781 from Golmote/prism-batch Prism batch
Andreas Rohner 256c3e12 2015-10-05T23:00:25 Fix regression in Bash strings In a recent patch the regex for single-quoted and double-quoted strings of the Bash language was split into two separate regexes to prevent the highlighting of variables inside of single-quoted strings. This causes a bug whenever a double-quoted string apears inside a single-quoted string, because the double-quoted string is matched first. '"foo"' The same problem exists with the newly introduced Here-Documents. This patch fixes the problem by matching Here-Documents first and merging the regexes for single-quoted and double-quoted strings again. This patch also adds testcases for this, to prevent future regressions.