|
01a59d81
|
2017-05-08T12:54:33
|
|
Merge branch 'idleberg-gh-pages' into gh-pages
# Conflicts:
# components/prism-nsis.min.js
|
|
48bbc397
|
2017-05-08T12:54:17
|
|
Fix tests for #1033
|
|
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
|
|
2094221b
|
2017-05-08T12:33:12
|
|
APL: Run gulp + updated test after #1126
|
|
9f649fbe
|
2017-05-08T12:05:35
|
|
JavaScript: Properly match every operator as a whole token. Fix #1133
|
|
867ea428
|
2017-03-02T08:26:05
|
|
JSX: Fix highlighting of attributes containing spaces
|
|
125bff10
|
2017-03-02T16:07:01
|
|
Update Crystal keywords (#1092)
- Add `select`, `uninitialized` and `__END_LINE__`
- Remove `ifdef`
|
|
c40de4f4
|
2017-02-08T08:39:03
|
|
JSX: Add test for spread inside tag
|
|
dfb6f17e
|
2017-02-07T23:21:20
|
|
C#: Fix wrong highlighting when three slashes appear inside string. Fix #1091
|
|
f531294f
|
2017-01-28T10:35:59
|
|
Add tests for Django
|
|
3d42640e
|
2017-01-28T09:57:21
|
|
APL: Update test after #1072
|
|
3cae6ce8
|
2016-11-19T12:16:31
|
|
Add support for Reason. Fix #1046
|
|
d0746065
|
2016-11-09T08:50:52
|
|
use real-world example
|
|
2538ff9f
|
2016-11-09T08:45:51
|
|
add test for new patterns
|
|
25cdd3f0
|
2016-11-09T02:01:40
|
|
Ini: Fix test after #1047
|
|
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
|
|
d75da8ee
|
2016-11-09T01:29:22
|
|
Fix order of decoding entities in groovy (#1049) (#1050)
|
|
8b0520a8
|
2016-11-09T01:27:40
|
|
Ruby: Make strings greedy. Fixes #1048
|
|
b15d43b4
|
2016-11-09T01:24:55
|
|
Ruby: Fix test after #1023
|
|
76ba1b83
|
2016-10-11T08:11:15
|
|
update patterns (#1032)
Updated NSIS
|
|
9c93b9a4
|
2016-10-10T23:52:45
|
|
update test cases
|
|
bf50d751
|
2016-10-10T13:16:04
|
|
move constants to separate file
|
|
25a541d6
|
2016-09-28T21:16:33
|
|
JSON: Fixed issues with properties and strings + added tests. Fix #1025
|
|
ac21d337
|
2016-09-23T22:31:02
|
|
Update APL minified file + update test for iota underbar function
|
|
c1a0c1bd
|
2016-07-11T20:37:47
|
|
Added TestCase.runTestsWithHooks + add missing tests. Updated documentation for test suite.
|
|
0224b7cc
|
2016-07-10T14:05:42
|
|
Merge pull request #994 from Golmote/prism-xojo
Add support for Xojo. Fix #898
|
|
8f5f1fa9
|
2016-07-07T09:13:47
|
|
SCSS: Highlight parent selector
|
|
13fed767
|
2016-07-07T09:09:51
|
|
CSS-extras: match attribute inside selectors
|
|
d6b5c2f0
|
2016-07-07T09:01:32
|
|
SCSS: Highlight variables inside selectors and properties.
|
|
5e62f023
|
2016-07-04T20:13:26
|
|
Add support for Xojo. Fix #898
|
|
31ea66b6
|
2016-07-04T00:32:28
|
|
Allow for dots in Markup tag names, but not in HTML tags included in Textile. Fixes #888
|
|
65619f7e
|
2016-07-03T03:20:53
|
|
Add support for Ada (generic). Closes #949
|
|
268d01e3
|
2016-07-03T02:32:13
|
|
Add test for JS operators
|
|
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
|
|
9cfc8cb2
|
2016-06-18T19:39:36
|
|
Add support for LiveScript
|
|
2607dcd9
|
2016-06-18T14:46:44
|
|
Add support for .properties files
|
|
e0180873
|
2016-06-16T08:15:59
|
|
Merge pull request #971 from Golmote/prism-graphql
Add support for GraphQL
|
|
bfb559bf
|
2016-06-11T01:17:24
|
|
Add support for GraphQL
|
|
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.
|
|
9bb8ddc5
|
2016-05-01T01:33:11
|
|
Added keyword tests for Bro and added a case to variable
|
|
6f75735e
|
2016-04-30T15:43:07
|
|
Support for generic methods in csharp
|
|
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.
|
|
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.
|
|
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.
|
|
6694e218
|
2016-04-29T16:56:32
|
|
Fix keyword_feature.test for the sas-language
|
|
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.
|
|
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.
|
|
e8a31a50
|
2015-10-26T08:16:29
|
|
Merge pull request #814 from Golmote/prism-kotlin
Add support for Kotlin
|
|
90fbf0be
|
2015-10-26T08:08:13
|
|
Python: Highlight triple-quoted strings before comments. Fix #815
|
|
81933ee8
|
2015-10-22T07:17:56
|
|
Merge pull request #813 from Golmote/prism-puppet
Add support for Puppet configuration
|
|
f5db3463
|
2015-10-22T07:17:38
|
|
Merge pull request #812 from Golmote/prism-roboconf
Add support for Roboconf
|
|
eb7aa969
|
2015-10-22T07:12:42
|
|
Add support for Kotlin
|
|
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
|
|
77c0b061
|
2015-10-21T06:32:15
|
|
Merge branch 'gh-pages' into prism-parser
Conflicts:
components.js
|
|
b7b1b6a9
|
2015-10-17T10:37:52
|
|
Merge branch 'gh-pages' into prism-oz
Conflicts:
components.js
|
|
a36bc4ae
|
2015-10-17T10:36:03
|
|
Merge pull request #804 from Golmote/prism-lua
Add support for Lua
|
|
b43c5f3f
|
2015-10-17T10:35:30
|
|
Merge pull request #803 from Golmote/prism-icon
Add support for Icon
|
|
0b4e1d3d
|
2015-10-17T10:32:59
|
|
Add support for Puppet configuration
|
|
c9b40810
|
2015-10-16T08:50:33
|
|
Add support for Roboconf
|
|
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
|
|
6803ca03
|
2015-10-16T07:58:39
|
|
Merge pull request #800 from Golmote/prism-asciidoc
Add support for AsciiDoc
|
|
e25da0da
|
2015-10-15T08:55:07
|
|
Add support for Haxe
|
|
9b275c8f
|
2015-10-13T21:15:41
|
|
Merge pull request #795 from Golmote/prism-nix
Add support for Nix
|
|
132b2a43
|
2015-10-13T21:14:54
|
|
Add test after merge of #806 + run gulp
|
|
2ba763e0
|
2015-10-13T21:08:49
|
|
Add support for Parser
|
|
d5ace6c2
|
2015-10-11T13:45:28
|
|
Add support for Oz
|
|
1a4ff7ac
|
2015-10-11T10:38:10
|
|
Add support for Lua
|
|
2d08fa90
|
2015-10-10T21:32:45
|
|
Add support for Icon
|
|
6679e735
|
2015-10-10T16:38:02
|
|
Add support for PARI/GP
|
|
e135947c
|
2015-10-10T12:48:04
|
|
Run gulp and update tests after #801 merge
|
|
68159d5b
|
2015-10-10T03:57:25
|
|
Add support for AsciiDoc
|
|
198bc99a
|
2015-10-07T00:28:30
|
|
Add support for Nix
|
|
ac6fe2ee
|
2015-10-06T22:40:37
|
|
Merge pull request #793 from zeitgeist87/BashString
Substantially reduce wrongly highlighted stuff for Bash
|
|
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.
|
|
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.
|
|
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
|
|
29643f4e
|
2015-10-06T08:48:21
|
|
Simplify patterns for <style> and <script> tags
|
|
6babaad4
|
2015-10-06T07:53:35
|
|
Merge pull request #781 from Golmote/prism-batch
Prism batch
|
|
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.
|
|
71bf8e9a
|
2015-10-01T13:22:42
|
|
Add support for Here-Documents for the Bash language
This patch adds support for Here-Documents for the Bash language.
A Here-Document should be highlighted as a multiline string
and looks like this:
cat << EOF
foo bar
EOF
|
|
89b1f857
|
2015-10-01T12:21:46
|
|
Use a proper alias for the Bash-Shebang
This patch introduces a proper alias for the Bash-Shebang.
Additionally the variables are changed from the class "property"
to "variable". The tests also need to be updated.
|
|
f178a640
|
2015-09-30T15:45:15
|
|
Crystal dosen't have `undef` keyword since v0.8.0
|
|
93a53c77
|
2015-09-28T09:19:42
|
|
Merge branch 'gh-pages' into prism-batch
|
|
eab5b06e
|
2015-09-20T16:00:59
|
|
Add support for Batch (Fix #398)
|
|
4943abf4
|
2015-09-26T23:45:28
|
|
Add Crystal language definition
|
|
69ea994e
|
2015-09-24T09:03:36
|
|
Add support for vim. Closes #777
|
|
e62c88ed
|
2015-09-23T08:41:41
|
|
Add nginx to components, fixed basic highlighting, add a few tests
|
|
ccb6566c
|
2015-09-22T23:26:10
|
|
Elixir: Fix empty comment + add test for issue #775
|
|
211a41ce
|
2015-09-22T20:04:36
|
|
Merge pull request #771 from Golmote/prism-autoit
Add support for AutoIt. Fix #453
|
|
b2763e7d
|
2015-09-21T09:01:18
|
|
Sass: Highlight "-" as operator only if surrounded by spaces, in order to not break hyphenated values (e.g. "ease-in-out")
|
|
3f386732
|
2015-09-17T08:56:50
|
|
Add support for AutoIt. Fix #453
|
|
3ebc8539
|
2015-09-16T08:22:39
|
|
Add tests for Verilog
|
|
7feb135e
|
2015-09-16T07:53:42
|
|
Merge pull request #764 from Golmote/prism-bison
Add support for Bison
|
|
3669034d
|
2015-09-15T08:25:00
|
|
Add tests for diff
|
|
3aadd5d9
|
2015-09-14T23:07:03
|
|
Git: Add support for unified diff. Fixes #769, fixes #357, closes #401
|
|
44beac5f
|
2015-09-12T02:15:21
|
|
Merge pull request #758 from Golmote/tests-yaml
Add tests for YAML
|
|
66cb38e6
|
2015-09-11T08:21:57
|
|
Add tests for ABAP
|
|
47873495
|
2015-09-09T21:14:46
|
|
Merge pull request #757 from Golmote/tests-wiki
Add tests for Wiki markup
|
|
e336007f
|
2015-09-09T21:06:24
|
|
Add support for Bison
|
|
9bdcf2f3
|
2015-09-09T19:35:59
|
|
Merge pull request #756 from Golmote/tests-vhdl
Add tests for VHDL
|