Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use autoload instead of require (speeds up CodeRay startup) for CodeRay, ↵ | murphy | 2010-06-29 | 4 | -75/+37 |
| | | | | Scanner, Tokens, and Encoders::HTML. | ||||
* | LOC encoder uses faster to_s encoder now and prints a more useful warning ↵ | murphy | 2010-06-29 | 1 | -51/+2 |
| | | | | when no scanner was assigned. | ||||
* | Encoder changes: The base class now serves as a complete to_s encoder, ↵ | murphy | 2010-06-29 | 1 | -3/+2 |
| | | | | | | concatenating all text tokens together. The Text encoder inherits this. Use Tokens#to_s to use this encoder. Also fixed an issue with automatically calculated FILE_EXTENSION being a symbol. | ||||
* | Cleaned up GZip helper library (moved into CodeRay namespace, removed String ↵ | murphy | 2010-06-29 | 3 | -244/+52 |
| | | | | extensions), improved FileType error message for ambiguous arguments. | ||||
* | Plugin: Added PluginHost#const_missing for plugin autoloading, fixed and ↵ | murphy | 2010-06-29 | 1 | -313/+330 |
| | | | | improved documentation, re-indented everything. | ||||
* | Encoder#to_proc is obsolete. | murphy | 2010-06-29 | 1 | -5/+0 |
| | |||||
* | Improved JSON encoder: Loading of json library in JRUBY, error messages, ↵ | murphy | 2010-06-29 | 1 | -35/+14 |
| | | | | "early death" by loading it when the encoder is loaded. | ||||
* | Removing tests from library files. They live now in test/unit. | murphy | 2010-06-29 | 10 | -428/+2 |
| | |||||
* | Added encoding header for Clojure scanner: Rember to put this on top when ↵ | murphy | 2010-06-29 | 1 | -0/+1 |
| | | | | using non-ASCII chars :) | ||||
* | Fixed code statistics (added executable and unit tests, removed double ↵ | murphy | 2010-06-29 | 1 | -3/+5 |
| | | | | counting of coderay.rb). | ||||
* | Added lots of unit tests. | murphy | 2010-06-29 | 18 | -1/+867 |
| | | | | Theses actually come from the library files; now they are included. Also, rake test and test:all don't test the scanners now; you have to start them using rake test:scanners. | ||||
* | Remove tests that belong into the new test/unit folder. | murphy | 2010-06-29 | 3 | -216/+0 |
| | |||||
* | Cleaning up functional tests: Automatically load all files in the folder. | murphy | 2010-06-29 | 1 | -4/+5 |
| | |||||
* | rake bench now uses line numbers (slower, but more realistic). | murphy | 2010-06-29 | 1 | -0/+1 |
| | |||||
* | Fixed for_redcloth test for the edge case that RedCloth is defined, but was ↵ | murphy | 2010-06-29 | 1 | -0/+1 |
| | | | | not loaded. | ||||
* | Cleaning up tests. | murphy | 2010-06-29 | 1 | -3/+3 |
| | |||||
* | A prototype implementation of "inside Regexp" detection for the Ruby ↵ | murphy | 2010-06-28 | 1 | -0/+455 |
| | | | | scanner. Would be nice for diffs. | ||||
* | More speedups for HTML encoding (numbering, CSS styles, Ruby 1.9). | murphy | 2010-06-27 | 5 | -39/+25 |
| | |||||
* | A little more documentation for Scanner. | murphy | 2010-06-27 | 1 | -2/+5 |
| | |||||
* | Benchmark script uses -Ofull option for pygmentize. | murphy | 2010-06-27 | 1 | -1/+1 |
| | |||||
* | Trying out a simplified, faster method of HTML encoding. | murphy | 2010-06-27 | 1 | -42/+41 |
| | |||||
* | Alpha style: Removed background color for :inline_delimiter. | murphy | 2010-06-27 | 1 | -2/+1 |
| | |||||
* | Updated for_redcloth test to latest Alpha style. | murphy | 2010-06-16 | 1 | -2/+2 |
| | |||||
* | Updated examples test to latest Alpha style. | murphy | 2010-06-16 | 1 | -4/+4 |
| | |||||
* | Fixed YAML scanner: strings should always be groups. | murphy | 2010-06-16 | 1 | -2/+4 |
| | |||||
* | Updated Alpha style: less bolded tokens, user-select:none for line numbers ↵ | murphy | 2010-06-16 | 2 | -34/+41 |
| | | | | (closes #226), removed osolete .rx .fu style. | ||||
* | Improved JavScript regexp recognition. | murphy | 2010-06-16 | 2 | -1/+2 |
| | |||||
* | Fixed PHP scanner: strings should always be groups. | murphy | 2010-06-15 | 1 | -1/+1 |
| | |||||
* | Added :string :modifier color for Alpha style. | murphy | 2010-06-15 | 1 | -0/+1 |
| | |||||
* | Updated generate:scanner task to include .debug.diff.html files in svn:ignore. | murphy | 2010-06-15 | 1 | -1/+1 |
| | |||||
* | Ticket #127: Clojure scanner by Licenser, yay! | murphy | 2010-06-15 | 3 | -1/+209 |
| | | | | | | It's still in development. The Scheme scanner, which Lice used as template, has some very bad code, and both scanner must be cleaned up (see #59). | ||||
* | Cleanups to the list of Changes; added toc command for Redmine. | murphy | 2010-06-11 | 1 | -2/+3 |
| | |||||
* | Fixing new executable test suite. | murphy | 2010-06-11 | 1 | -7/+9 |
| | |||||
* | Removing svn:executable flag from executable test suite file (how did that ↵ | murphy | 2010-06-11 | 1 | -0/+0 |
| | | | | happen?) | ||||
* | Added coderay executable tests. | murphy | 2010-06-11 | 5 | -4/+66 |
| | |||||
* | Fixed for_redcloth tests. | murphy | 2010-06-01 | 1 | -2/+2 |
| | |||||
* | Ruby scanner does no longer highlight \ at the end of the input as :error. ↵ | murphy | 2010-06-01 | 1 | -2/+5 |
| | | | | This is more friendly for intelligent diff highlighting. | ||||
* | Removed ftp.yaml from TextMate project. | murphy | 2010-06-01 | 1 | -7/+3 |
| | |||||
* | Updated TextMate project. | murphy | 2010-06-01 | 1 | -14/+12 |
| | |||||
* | Issue #227: Inline Diff Highlighting and improved intelligent diff | murphy | 2010-06-01 | 2 | -9/+94 |
| | | | | | | | | | highlighting for multi-line tokens. These are one of the most complex features of CodeRay now, and quite unique, I think. Of course, all of this is highly experimental, and not ready for production use. | ||||
* | Added ability to scan an Array of Strings as one with Scanner#tokenize. | murphy | 2010-06-01 | 2 | -3/+19 |
| | | | | | See issue #222. | ||||
* | Added Encoder#tokens, improved some error messages. | murphy | 2010-06-01 | 2 | -4/+6 |
| | |||||
* | Added :eyecatcher token type (for inline diff highlighting) and improved | murphy | 2010-06-01 | 4 | -16/+21 |
| | | | | | some nested styles. | ||||
* | Cleanups and extensions to Tokens (see issue #222). | murphy | 2010-06-01 | 2 | -43/+77 |
| | |||||
* | Use Text encoder instead of deprecated Tokens#text method. | murphy | 2010-06-01 | 1 | -1/+1 |
| | |||||
* | Cleanups in Encoders::HTML::Output. | murphy | 2010-06-01 | 4 | -10/+5 |
| | |||||
* | Fixed Text Encoder. | murphy | 2010-06-01 | 2 | -2/+29 |
| | |||||
* | Ruby scanner raises exception on unknown state. | murphy | 2010-05-21 | 1 | -0/+2 |
| | |||||
* | Fixed a bug in the YAML scanner (see #231). | murphy | 2010-05-21 | 2 | -4/+8 |
| | |||||
* | TextMate project. | murphy | 2010-05-19 | 1 | -25/+6 |
| |