Log

Author Commit Date CI Message
Golmote 804ed779 2015-10-16T08:00:50 Run gulp
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 2f7088d5 2015-10-14T07:56:35 Reduce size of image for U.S. Web Design Standards on homepage. (#785)
Golmote 79ebbf88 2015-10-14T07:53:41 Use screenshot instead of text logo for U.S. Web Design Standards on homepage. (#785)
Golmote e10d48be 2015-10-13T22:16:18 Add U.S. Web Design Standards on homepage. Fix #785
Lea Verou d754f46b 2015-10-13T15:47:43 Added @Golmote to the footer.
Golmote 9652d752 2015-10-13T21:39:58 Add some missing checks to prevent errors in IE8. Fix #9
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 1dae72b7 2015-10-13T21:12:18 Merge pull request #806 from vertax/gh-pages C#: Fixed detection of float numbers.
Alex Vertax 5728f919 2015-10-13T12:41:16 Fixed detection of float numbers.
Golmote a434c865 2015-10-10T16:45:44 Merge pull request #791 from Golmote/prism-previewer-angle Plugin: angle previewer
Golmote b938d2ce 2015-10-10T16:45:02 Merge branch 'gh-pages' into prism-previewer-angle Conflicts: components.js
Golmote 88173de6 2015-10-10T16:42:49 Merge pull request #790 from Golmote/prism-previewer-time Plugin: time previewer
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
Chaos Shen ad316a36 2015-10-10T17:51:31 Improve highlight: - add highlight for directives in C/C++ macros and C#/F# preprocessor lines; - add some predefined constants in C; - remove 'true' and 'false' from keyword list in JavaScript, they should be considered as boolean constant.
Golmote 68159d5b 2015-10-10T03:57:25 Add support for AsciiDoc
Golmote 0924b070 2015-10-07T08:03:31 Release 1.2.0
Golmote 05eaf476 2015-10-07T07:45:24 Merge branch 'master' into gh-pages
Golmote 7a6aed85 2015-10-07T07:37:32 Merge pull request #797 from podgorskiy/master Fixed components order.
unknown 06d3548f 2015-10-07T00:29:05 Fixed components order. In case if one component requires other, the required component should go first. Now components are sorted regarding their requirements.
Golmote fbe5b84c 2015-10-07T00:51:41 Update changelog
Golmote 9a63483e 2015-10-07T00:38:04 Merge pull request #783 from Golmote/prism-previewer-gradient Plugin: gradient previewer
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
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 2fcc7d05 2015-10-05T09:14:05 Plugin: angle previewer
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 1d61959b 2015-10-05T08:47:54 Plugin: gradient previewer: Add variable examples + add support for Sass variables
Golmote 752650e0 2015-10-03T09:13:04 Plugin: time previewer
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 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 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 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.
Golmote d37d6b86 2015-10-01T09:01:50 Previewer: gradient: Fix stylus var declaration + insert before Color Previewer if it exists
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 1ebac75a 2015-09-30T08:54:44 Plugin: gradient previewer
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