summaryrefslogtreecommitdiffstats
path: root/lib/redmine/syntax_highlighting.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Line height is too large when previewing files with syntax highlighting if ↵Go MAEDA2019-02-031-0/+7
| | | | | | | | | the line terminators are CRLF (#30434). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17847 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Syntax highlighter: replace CodeRay with Rouge (#24681).Jean-Philippe Lang2018-09-291-18/+41
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17532 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use stored ref. to array holding supported languages symbols via a constant ↵Jean-Philippe Lang2017-06-061-2/+3
| | | | | | | | (#26055). Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16624 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Pull-up retrieve_supported_languages private class method (#26055).Jean-Philippe Lang2017-06-061-4/+10
| | | | | | Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16623 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove internal CodeRay scanners (#26055).Jean-Philippe Lang2017-06-061-1/+2
| | | | | | Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@16622 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Highlight language aliases are no more supported (#25634).Jean-Philippe Lang2017-05-271-1/+4
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@16568 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Helper methods to find out if a given language is supported (#25503).Jean-Philippe Lang2017-04-061-0/+16
| | | | | | Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@16501 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rescue syntax highlighter exceptions.Jean-Philippe Lang2013-12-231-1/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12451 e93f8b46-1217-0410-a6f0-8f06a7374b81
* prevent coderay "warning: already initialized constant" on Ruby 1.8.7 (#13692)Toshi MARUYAMA2013-06-041-1/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11925 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed line numbers from syntax highlightment.Jean-Philippe Lang2012-07-291-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10131 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2012-05-051-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updated CodeRay to 1.0.6.Etienne Massip2012-04-121-1/+1
| | | | | | Fixed multiline comments highlighting issue in file view (#7495). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9389 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update CodeRay version to 1.0 final (#4264).Etienne Massip2011-10-081-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7618 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/redmine/syntax_highlighting.rbToshi MARUYAMA2011-09-201-9/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7409 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes diff highlighting (#5199).Jean-Philippe Lang2010-03-281-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3619 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extract CodeRay calls to Redmine::SyntaxHighlighting (#2985).Jean-Philippe Lang2010-03-141-0/+56
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3584 e93f8b46-1217-0410-a6f0-8f06a7374b81