Log

Author Commit Date CI Message
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
Golmote bd275c29 2015-10-05T23:31:39 Merge pull request #792 from zeitgeist87/BashString Fix regression in Bash strings
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.
Golmote 7c7ab4ef 2015-10-05T08:55:17 Plugin: easing previewer: Add variable examples + add support for Sass variables
Golmote 3a1fb04a 2015-10-05T08:50:48 Plugin: color previewer: Add support for Sass variables
Golmote 6d94e037 2015-10-04T21:29:28 Run gulp
Golmote a6c0d028 2015-10-04T16:55:52 Release 1.1.0
Golmote 89faa9fd 2015-10-04T12:46:38 Add changelog
Golmote a220a2e6 2015-10-03T09:14:13 Merge branch 'gh-pages' of https://github.com/chaosshen/prism into gh-pages
Golmote 1ab46199 2015-10-03T09:08:57 Merge pull request #789 from zeitgeist87/BashString Remove Clike dependency from Bash
Chaos Shen 6268dc04 2015-10-02T23:14:44 Add check for extsting divs, making it reentrant.
Andreas Rohner 9acaaa15 2015-10-02T14:54:17 Remove Clike dependency from Bash The Bash language is actually very different from Clike. Only 'boolean', 'operator' and 'punctuation' are shared between them. 'operator' and 'punctuation' should be changed in the future, because Bash actually has slightly different operators. Since they share almost nothing, it makes sense to remove the dependency. This patch copies 'boolean', 'operator' and 'punctuation' from Clike, but doesn't change them. This patch also fixes a typo and adds the missing built-in keyword `let`. `let` is not in the POSIX-standard, but Bash and some other shells support it.
Golmote b57a096b 2015-10-02T11:07:27 Merge pull request #787 from zeitgeist87/BashString Add support for Here-Documents for the Bash language
Andreas Rohner 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.
Andreas Rohner 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
Andreas Rohner 5d74562e 2015-10-01T12:03:28 Move the Bash language into a function environment Moving the Bash language definition into a function environment allows for local variables, which are necessary for future changes.
Chaos Shen 3a346e5e 2015-09-30T17:31:15 Fix the problem of language label scrolling out of view with code by moving the label to a previous sibling of 'pre'.
Golmote 0e4d16fb 2015-09-30T08:55:58 Run gulp task
Golmote 414848db 2015-09-30T08:54:53 Merge pull request #782 from MakeNowJust/remove-undef Crystal dosen't have `undef` keyword since v0.8.0
TSUYUSATO Kitsune f178a640 2015-09-30T15:45:15 Crystal dosen't have `undef` keyword since v0.8.0
Golmote 4303c940 2015-09-29T07:51:35 Plugin Previewer: Easing: Fix markers url due to base href in plugin page
Golmote 92072584 2015-09-28T18:41:56 Add plugin Previewer: Easing to components
Golmote 93a53c77 2015-09-28T09:19:42 Merge branch 'gh-pages' into prism-batch
Golmote eab5b06e 2015-09-20T16:00:59 Add support for Batch (Fix #398)
Golmote 513137c7 2015-09-27T11:06:06 Merge pull request #773 from Golmote/previewer-easing Plugin: easing previewer
Golmote 89c5f34c 2015-09-27T11:04:37 Run gulp task
Golmote 5b473de2 2015-09-27T11:01:06 Merge pull request #780 from MakeNowJust/crystal-lang Crystal support
Golmote c48f55d0 2015-09-27T10:01:15 Added basic .editorconfig
TSUYUSATO Kitsune 239b95f0 2015-09-27T11:28:25 Fix something commented in #780
TSUYUSATO Kitsune 3bfc7fa2 2015-09-27T00:12:27 Add Crystal examples
TSUYUSATO Kitsune 4943abf4 2015-09-26T23:45:28 Add Crystal language definition
Golmote 0c543087 2015-09-25T08:39:49 Replace Typeplate with SitePoint on homepage. Fix #774
Golmote 0e93b417 2015-09-24T09:16:57 Fix code indentation style
Golmote 1316abcb 2015-09-24T09:15:16 Merge pull request #778 from zeitgeist87/gh-pages Improve performance by doing more work in the worker
Golmote 69ea994e 2015-09-24T09:03:36 Add support for vim. Closes #777
Andreas Rohner 09be99e7 2015-09-23T20:34:29 Improve performance by doing more work in the worker Currently the worker tokenizes the code and then turns it into a JSON string. This JSON string is sent back to the main thread as a message and parsed. Then it is turned into a HTML string and stored in the attribute env.highlightedCode. These conversions into JSON are unnecessary, because we can create the HTML string directly in the worker and send it as a message to the main thread. Signed-off-by: Andreas Rohner <andreas.rohner@gmx.net>
Golmote e62c88ed 2015-09-23T08:41:41 Add nginx to components, fixed basic highlighting, add a few tests
Golmote dc4fc19b 2015-09-23T08:23:23 Merge pull request #776 from westonganger/master Add Nginx
Golmote eadc18c1 2015-09-22T23:26:28 Run gulp task
Golmote ccb6566c 2015-09-22T23:26:10 Elixir: Fix empty comment + add test for issue #775
Golmote 2e637f07 2015-09-22T23:17:51 Merge pull request #775 from danielberkompas/fix-elixir-markdown-docs Highlight Elixir string markdown header correctly
Daniel Berkompas 220f1dfa 2015-09-22T08:25:13 Highlight Elixir string markdown header correctly Elixir allows markdown inside its triple-quote heredoc syntax. However, the "#" used in markdown headers is currently misinterpreted as a comment. So, if you write this: ```elixir @doc """ Get the first name of a user. - `user` - A User struct. user = %User{name: "Alice Winston"} User.first_name(user) "Alice" """ ``` Prism interprets the markdown headers as comments, not as part of the string, and this messes up the coloring. This can be fixed by adding a negative lookbehind, such that the comments regex matches "#" but not "##".
Golmote 211a41ce 2015-09-22T20:04:36 Merge pull request #771 from Golmote/prism-autoit Add support for AutoIt. Fix #453
Golmote bd3e9ea8 2015-09-22T20:03:26 Merge pull request #770 from Golmote/prism-keep-markup Keep Markup Plugin
Golmote 391b4406 2015-09-22T20:03:02 Merge branch 'gh-pages' into prism-keep-markup Conflicts: components.js
Golmote ed4ccfe7 2015-09-22T20:01:04 Merge pull request #766 from Golmote/prism-autoload Autoloader Plugin
Golmote b9a48c04 2015-09-22T20:00:15 Merge branch 'gh-pages' into prism-autoload Conflicts: components.js
Weston Ganger 114a6e1e 2015-09-22T10:40:37 Add Nginx
Weston Ganger f0182363 2015-09-22T10:13:12 removed vim
Weston Ganger 721af812 2015-09-22T10:06:16 reset state
Weston Ganger d0386c4e 2015-09-22T09:48:57 added vim support
Weston Ganger 5b64e94a 2015-09-22T08:57:40 added nginx highlighting
Weston Ganger d9ff350d 2015-09-22T08:40:55 Merge branch 'master' of github.com:westonganger/prism
Weston Ganger a0a3976e 2015-05-18T13:05:43 Added String Interpolation to Ruby fixes #580
Weston Ganger db93af48 2015-09-22T08:30:39 merging
Golmote 074947e6 2015-09-21T09:04:03 Plugin: easing previewer
Golmote 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")
Golmote 895bf46b 2015-09-20T16:25:21 Properly escape special replacement patterns ($) in Handlebars, PHP and Smarty. Fix #772
Golmote 3f386732 2015-09-17T08:56:50 Add support for AutoIt. Fix #453
Golmote 792e35cf 2015-09-16T22:38:15 C-like: optimized string regexp
Golmote aec312b1 2015-09-16T22:14:22 Merge branch 'gh-pages' into prism-keep-markup Conflicts: components.js
Golmote 6f69da62 2015-09-16T22:08:29 Keep Markup Plugin. Fix #495, fix #579
Golmote 2af797ca 2015-09-16T08:31:34 Basic: Added case insensitive flag to operators
Golmote 3ebc8539 2015-09-16T08:22:39 Add tests for Verilog
Golmote 795eb996 2015-09-16T08:22:27 Verilog: Rename to "Verilog", optimize string regexp, don't use captures unless needed
Golmote 44a11c2b 2015-09-16T07:55:58 Merge pull request #640 from a-rey/gh-pages adding system verilog language
Golmote 7feb135e 2015-09-16T07:53:42 Merge pull request #764 from Golmote/prism-bison Add support for Bison
Golmote 3669034d 2015-09-15T08:25:00 Add tests for diff
Golmote ef41c744 2015-09-15T08:15:33 Merge pull request #450 from uranusjr/diff Add diff syntax definition
Tzu-ping Chung e642a222 2015-09-15T13:32:16 Add diff syntax definition
Tzu-ping Chung df1abe99 2015-09-15T13:31:33 Fix prism-autohotkey.js line ending to LF
Golmote 3aadd5d9 2015-09-14T23:07:03 Git: Add support for unified diff. Fixes #769, fixes #357, closes #401
Golmote 112e0e8f 2015-09-14T08:16:48 Previewer color plugin: Fix Scss code
Golmote a6f117d0 2015-09-14T08:14:31 Previewer color plugin: Wait for before-highlight hook to insert tokens into grammar
Golmote 29760d77 2015-09-14T07:58:28 Add pages for previewer base and previewer color plugins
Lea Verou cf764c08 2015-09-13T16:10:27 Merge pull request #767 from Golmote/css-colors Plugin: color previewer
Golmote c75826aa 2015-09-12T11:59:27 Plugin: color previewer + base for more previewers
Golmote 44beac5f 2015-09-12T02:15:21 Merge pull request #758 from Golmote/tests-yaml Add tests for YAML
Golmote 66cb38e6 2015-09-11T08:21:57 Add tests for ABAP
Golmote 07491293 2015-09-11T08:21:38 ABAP: Simplified patterns, renamed all underscores to dashes
Golmote 804b9da0 2015-09-11T07:48:58 Run gulp + removed uneeded array in components
Golmote 75b0328b 2015-09-11T07:47:25 Merge pull request #636 from dellagustin/add_abap_language Add ABAP language
Golmote 0064ec86 2015-09-11T07:40:00 Autoloader Plugin: small fixes + code style
Golmote 42094eee 2015-09-10T09:09:03 Autoloader Plugin
Golmote a0127eb5 2015-09-09T21:44:29 Merge pull request #762 from AnujRNair/gh-pages Fixing coy theme + line numbers plugin overflowing on long blocks of text
Anuj Nair 47bf31ae 2015-09-09T12:22:05 Fixing coy theme + line numbers plugin when used in conjunction with bootstrap.
Golmote 47873495 2015-09-09T21:14:46 Merge pull request #757 from Golmote/tests-wiki Add tests for Wiki markup
Golmote e336007f 2015-09-09T21:06:24 Add support for Bison
Golmote 9bdcf2f3 2015-09-09T19:35:59 Merge pull request #756 from Golmote/tests-vhdl Add tests for VHDL
Golmote a522151b 2015-09-09T19:35:51 Merge pull request #755 from Golmote/tests-typescript Add tests for TypeScript
Golmote dd04c32f 2015-09-09T08:43:29 Merge pull request #630 from Golmote/prism-prolog Add support for Prolog
Golmote fe52a97c 2015-09-09T08:42:36 Add tests for Prolog
Golmote 48da80ab 2015-09-09T08:42:27 Prolog: Handle \r\n + add comment to explain operators
Golmote d1d971fa 2015-09-09T08:29:35 Merge branch 'gh-pages' into prism-prolog Conflicts: components.js
Golmote e47087b9 2015-09-09T08:27:56 Merge pull request #629 from Golmote/prism-processing Add support for Processing
Golmote 509da627 2015-09-09T08:27:16 Add tests for Processing
Golmote 2d394557 2015-09-09T08:27:06 Processing: Add missing XML type + fix function pattern
Golmote 73e16f37 2015-09-09T08:17:21 Merge branch 'gh-pages' into prism-processing Conflicts: components.js
Golmote 556c04de 2015-09-09T08:00:48 Merge pull request #628 from Golmote/prism-ocaml Add support for OCaml