|
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
|
|
a522151b
|
2015-09-09T19:35:51
|
|
Merge pull request #755 from Golmote/tests-typescript
Add tests for TypeScript
|
|
fe52a97c
|
2015-09-09T08:42:36
|
|
Add tests for Prolog
|
|
509da627
|
2015-09-09T08:27:16
|
|
Add tests for Processing
|
|
fca15ae7
|
2015-09-09T07:59:58
|
|
Add tests for OCaml
|
|
cd58ab09
|
2015-09-09T07:37:02
|
|
Merge pull request #753 from Golmote/tests-twig
Add tests for Twig
|
|
c2431a7a
|
2015-09-09T07:36:55
|
|
Merge pull request #752 from Golmote/tests-swift
Add tests for Swift
|
|
dbc5e9c3
|
2015-09-08T19:56:50
|
|
Add tests for Pure
|
|
a6a27114
|
2015-09-08T19:09:37
|
|
Merge pull request #751 from Golmote/tests-stylus
Add tests for Stylus
|
|
42f81d85
|
2015-09-08T09:04:16
|
|
Add tests for Q
|
|
32fc1905
|
2015-09-08T08:13:23
|
|
Add tests for J
|
|
ca595b5e
|
2015-09-07T22:29:01
|
|
Add tests for Nim
|
|
dd417d7d
|
2015-09-07T21:52:09
|
|
Add tests for Monkey
|
|
d66235f2
|
2015-09-07T19:20:06
|
|
Merge pull request #749 from Golmote/tests-smarty
Add tests for Smarty
|
|
15e6cb18
|
2015-09-07T08:55:44
|
|
Add tests for BASIC
|
|
3645f0ec
|
2015-09-07T08:11:36
|
|
Add tests for Mizar
|
|
ec10faa0
|
2015-09-07T08:00:22
|
|
Merge pull request #748 from Golmote/tests-smalltalk
Add tests for Smalltalk
|
|
4c9b105e
|
2015-09-07T07:58:27
|
|
Add tests for MEL
|
|
53b6915d
|
2015-09-06T23:06:11
|
|
Merge branch 'gh-pages' of https://github.com/PrismJS/prism into gh-pages
|
|
4b9623e5
|
2015-09-06T23:05:08
|
|
Merge pull request #747 from Golmote/tests-scheme
Add tests for Scheme
|
|
4ed102df
|
2015-09-06T23:05:00
|
|
Merge pull request #746 from Golmote/tests-scala
Add tests for Scala
|
|
6dbea82c
|
2015-09-06T19:56:37
|
|
Qore: Add support for unescaped multi-line strings
|
|
a23f9b65
|
2015-09-06T19:47:04
|
|
Add tests for Inform 7
|
|
74949405
|
2015-09-06T19:03:04
|
|
Add tests for GLSL
|
|
5d976a65
|
2015-09-06T12:17:08
|
|
Merge pull request #745 from Golmote/tests-sql
Add tests for SQL
|
|
6206d31c
|
2015-09-06T12:17:01
|
|
Merge pull request #744 from Golmote/tests-scss
Add tests for Scss
|
|
eaad4681
|
2015-09-06T12:16:54
|
|
Merge pull request #743 from Golmote/tests-sass
Add tests for Sass
|
|
1c152ae1
|
2015-09-06T12:16:46
|
|
Merge pull request #742 from Golmote/tests-sas
Add tests for SAS
|
|
c101e54d
|
2015-09-06T12:16:39
|
|
Merge pull request #740 from Golmote/tests-rip
Add tests for Rip
|
|
6ca4c45c
|
2015-09-06T12:16:31
|
|
Merge pull request #739 from Golmote/tests-rest
Add tests for reST
|
|
947cc4b4
|
2015-09-06T12:16:23
|
|
Merge pull request #738 from Golmote/tests-r
Add tests for R
|
|
7126f6ff
|
2015-09-06T12:16:08
|
|
Merge pull request #737 from Golmote/tests-python
Add tests for Python
|
|
71e308ed
|
2015-09-06T12:16:01
|
|
Merge pull request #736 from Golmote/tests-php-extras
Add tests for PHP-extras
|
|
9436e7d3
|
2015-09-06T12:14:13
|
|
Add tests for D
|
|
78890e42
|
2015-09-06T11:19:47
|
|
Add tests for Textile
|
|
125e91ff
|
2015-09-05T18:52:14
|
|
Merge branch 'gh-pages' of https://github.com/temnoregg/prism into gh-pages + fixes + add example and tests
Conflicts:
components.js
|
|
e49f7cfd
|
2015-09-05T17:00:41
|
|
Add tests for Docker + optimized strings + fixed punctuation
|
|
206536bb
|
2015-09-05T16:36:45
|
|
Swift: Add tests for strings and string interpolation.
|
|
9a84c4b3
|
2015-09-05T16:28:41
|
|
Merge branch 'gh-pages' of https://github.com/PrismJS/prism into tests-swift
|
|
85ed18ff
|
2015-09-05T16:22:46
|
|
Merge pull request #735 from Golmote/tests-php
Add tests for PHP
|
|
a4bd334c
|
2015-09-05T16:22:39
|
|
Merge pull request #733 from Golmote/tests-perl
Add tests for Perl
|
|
11ff829f
|
2015-09-05T11:35:00
|
|
Tcl: Add operators and punctuation + add examples
|
|
a3e751a4
|
2015-09-05T11:19:11
|
|
Merge branch 'prism-markdown-tcl' of https://github.com/PeterChaplin/prism into gh-pages + add tests
Conflicts:
components.js
|
|
942a6ec7
|
2015-09-05T10:28:05
|
|
Merge branch 'LatexBranch' of https://github.com/zeitgeist87/prism into gh-pages + update tests
Conflicts:
components/prism-latex.js
components/prism-latex.min.js
|
|
8a99c975
|
2015-09-05T09:42:51
|
|
Add tests for Elixir
|