tests


Log

Author Commit Date CI Message
Golmote 5f9c078a 2018-03-25T13:46:42 Make ERB, Handlebars, PHP and Smarty highlight properly in NodeJS (#1367)
Golmote a6837d24 2018-03-24T12:25:27 C#: More generic class-name highlighting. Fix #1365
Golmote b26bbb83 2018-03-22T08:42:16 JSX: Fix highlighting of empty objects. Fix #1364
Golmote d2c026ef 2018-03-20T20:56:40 Powershell: Add lookbehind to fix function interpolation inside strings. Fix #1361
Golmote 0e1a8b75 2018-03-20T08:54:48 Tests: Use the new components.js file directly
Golmote 2b8321d3 2018-03-20T08:37:58 JSX: Add support for plain text inside tags (#1357) * JSX: Add support for plain text inside tags * JSX: Use a "plain-text" token to identify plain text * TSX: Add support for plain text * Fix test after merge
Golmote af834be6 2018-03-14T20:38:47 Markup: Make tags greedy. Fix #1356
Golmote f0e6249e 2018-03-13T08:24:08 JSX: Add test for #1342. Close #1342
Golmote cc80ccda 2018-03-13T08:15:56 Remove most of the cloning occurrences in language definitions.
Golmote efdccbfe 2018-03-12T20:28:06 Rust: Improve char pattern so that lifetime annotations are matched better. Fix #1353
Golmote 3599e6a3 2018-03-11T12:11:51 Add support for PL/SQL (#1338) * Add support for PL/SQL (Fix #1149) * Merge gh-pages
Golmote e6213acb 2018-03-11T12:02:50 Add support for ERB. Fix #1318
Golmote 9aed85e7 2018-03-08T23:16:46 C-like: Add test for inline comments inside multiline comments
Golmote 05bf67dc 2018-03-08T09:05:21 JSX: Allow for one level of nested curly braces inside tag attribute value. Fix #1335
Golmote 31a2a697 2018-03-08T08:43:54 Ruby: Ensure module syntax is not confused with symbols. Fix #1336
Golmote 0bc98ac1 2018-03-07T21:31:40 Add support for ARFF (Fix #653) (#1327)
Golmote 926f6f86 2018-03-07T21:23:21 Rust: Add support for lifetime-annotation and => operator. Fix #1339
Golmote de29d4a3 2018-03-07T08:50:40 SQL: Add missing keywords and functions, fix numbers
Golmote 4593837f 2018-03-05T08:43:22 Ruby: Add keywords "protected", "private" and "public"
Golmote 4cb9888d 2018-03-05T08:22:53 C#: Reorder keywords
Golmote 51bff80a 2018-03-04T18:42:41 Scheme: Don't highlight first number of a list as a function. Fix #1331
Tan-Vinh Nguyen f0b2c9e8 2018-03-04T15:43:39 Basic Syntax Highlighting for Liquid (#1326) * Basic Syntax Highlighting for Liquid [Liquid](http://shopify.github.io/liquid/), a template language by shopify It is used in Jekyll and add some basic highlighting * fix typo * Corrections and Improvements - move liquid above livescript - regnerate languages for show language plugin, after fixing typo - keywords - tablerow and endtablerow are keywords - add all keywords in test - add funtcions test * Minor Corrections comply to whitespace settings, use tabs instead of spaces for indentation
Golmote 63fc2152 2018-03-03T22:45:25 Bash: Add support for quoted command substitution. Fix #1287
Golmote 5d7223c9 2018-03-03T21:39:51 PHP: Add support for Heredoc and Nowdoc strings
Golmote 9f1f8d67 2018-03-03T20:53:08 PHP: Add support for string interpolation inside double-quoted strings. Fix #1146
tkjone 8b4d3bdc 2018-03-02T02:05:40 Add Clojure (#1311) * Add Clojure * Remove global flags * Simplify comment match * Update string regex * Update keyword regex to use non-capturing group * Update boolean regex to use non-capturing group * Add intro to prism-clojure example HTML * Remove duplicated comment test * Fix thread-first macro highlight Moved the thread-first macro (->) further up the group capture in order to have it properly highlight... * Add thread-last macro support * Add `nil` to the boolean capture I would like to rename the `boolean` group to something else as I don't believe it is accurate now that `nil` is there. * Update number regex to support hexidecimal * Remove global from keyword object * Add clojure.min Forgot to compile with gulp in the last commit. my bad. * Resolve operator regex note in code review * Add "nil" test * Fix test error - (>=) (==) (<=) * Add more tests to keywords * Fix indentation * Remove duplicate test * Remove duplicates partner from tests * Fix indentation? * Fix indentation... * Fix indentation!!
Golmote 3bc3e9cd 2018-03-02T00:33:04 Powershell: Add support for two levels of nested brackets inside namespace pattern. Fixes #1317
Jan T. Sott ad2948f5 2018-02-12T23:17:40 Add missing NSIS commands (#1289) * add missing commands * update tests
Jan T. Sott bd1e98bf 2018-02-10T00:38:50 Add support for NSIS 3.03 (#1288) * add missing separator * add NSIS 3.03 support * update tests * remove yarn.lock * gulp build * restore NSIS 3.02 tests
Mattias fbe82b86 2018-02-05T08:36:19 added tsx support (#1280) * added tsx support * fixed order in components.js and added tsx example file * escape less than and capitalize tsx
Mattias 5de1b1f6 2018-02-03T12:17:53 Improve typescript with builtins (#1277)
Andreas Lind 38df653e 2018-01-31T22:39:30 Fix passing of non-enumerable Error properties from the child test runner (#1276)
Andreas Lind b08cae56 2018-01-31T22:38:01 Add support for highlighting CSP, HSTS, and HPKP (#1275) * Add CSP support. * Add HPKP support. * Add HSTS support. * Updates based on feedback. * Updates based on feedback. * Updates based on feedback. * Updates based on feedback. * Updates based on feedback. * Updates based on feedback. * Updates based on Feedback. * Fix parentheses. * List csp, hpkp, and hsts in components.js * Add missing base64 chars to 'nonce-...' and 'sha-...' source expressions * Add support for 'sha384-...' and 'sha512-...' source expressions * Add tests and examples for csp * Add tests and examples for hsts * Add tests and examples for hpkp * hpkp: Include the sha256 hash in the directive itself Prevent the numbers in the base64 string from being classified as "safe" or "unsafe". * Rebuild the minified csp and hpkp components * Rebuild the "Show Language" plugin as well * Fix copy/paste error in test description
Iván Sanz Carasa 3da238fe 2018-01-28T10:44:38 Add C++ platform-independent types (#1271) * Add platform-independent types * Add tests and min
Ilias Van Peer d6da70e0 2018-01-16T08:40:39 Add Elm (elm-lang.org) support (#1174) * Add Elm (elm-lang.org) support * Simplify patterns and fix a few things inherited from haskell * Add example and minified file * Clean up comment pattern, drop redundant groups, tabs for indents
Ales Tsurko 84ed3edf 2018-01-02T10:58:10 add Io syntax (#1251) * add Io * Io: fix strings and operators, add tests * fix indent * add package-lock.json to gitignore * exclude gitignore and package.json changes * use tabs * io: apply requested changes * fix indent * fix indent * io: add example file
Andreas Rohner d134a3aa 2017-12-27T12:31:35 Add the C++11 raw string feature to the cpp language
Cocoa Oikawa cf840be1 2017-12-19T14:46:30 Add support for IchigoJam BASIC (#1246) * Add support for IchigoJam BASIC Hi. This PR adds support for [IchigoJam](https://ichigojam.net/), which is a board that using its own BASIC language, so I was not extending this from `basic`, but submit as a standalone language. If there're anything necessary to change, please reply to me and I'll respond to you ASAP. * Requested modifications have been made. And after digging into the docs, IchigoJam actually use a very small set of ```basic``` and it adds a different set of markers to its own ```basic``` language, so I just keep this as a standalone language. * fixed the regexp for comment, number, operator and punctuation For IchigoJam, the space is not required to be appeared after the ```'``` or ```REM```. Add support for binary and hex numbers Specified for IchigoJam Add ```[``` and ```]``` for IchigoJam * Add example code for IchigoJam. * Add test-suite for IchigoJam * Add prism-ichigojam.min.js
Kevin Zurawel 2ece18b4 2017-12-16T10:35:23 Add support for 6502 assembly (#1245) * Add support for 6502 assembly * Address PR feedback
Tuna Celik 0fffa9df 2017-12-06T20:27:49 Xeora Language implementation (#1239)
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