summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Updated README.murphy2009-10-181-2/+3
|
* Tweaking colors for :pre_type, :pseudo_class and :exception.murphy2009-10-181-3/+3
|
* LinesOfCode: Language dependent via KINDS_NOT_LOC, documentation.murphy2009-10-181-1/+16
|
* TokenClassFilter: Support for :exclud => :all.murphy2009-10-181-2/+3
|
* Fixing Ruby 1.9 warnings.murphy2009-10-181-2/+2
|
* Require token_classes from coderay.rb.murphy2009-10-181-0/+1
|
* Fixing for_redcloth for latest RedCloth versions.murphy2009-10-181-4/+9
|
* tokens.rb: cleanup, Tokens#scanner, tests.murphy2009-10-181-45/+49
|
* Minor speedup for Ruby 1.9.murphy2009-10-181-1/+3
|
* Removing :procedure token class.murphy2009-10-181-1/+1
|
* Testing for_redcloth and lines_of_code.murphy2009-10-181-1/+48
|
* Testing whether #dup works for WordList as expected.murphy2009-10-181-0/+9
|
* Fixed sample test.murphy2009-10-101-4/+7
|
* We don't need Tokens encoder any more.murphy2009-10-101-44/+0
|
* Adding some test code for Clojure.murphy2009-10-031-0/+6820
|
* Adding lists of PHP constants and functions (TODO).murphy2009-10-033-0/+5849
|
* Adding .dpr, .pas and .rxml to FileType::TypeFromExt list.murphy2009-07-081-0/+3
| | | | | Thanks to 0xf30fc7 for the patch.
* Added LinesOfCode encoder (issue #123) - simple version.murphy2009-06-292-0/+49
|
* Renamed TokenFilter to TokenClassFilter.murphy2009-06-282-5/+5
|
* Working around a problem with latest RedCloth versions (>= 4.2.0) (issue #119)murphy2009-06-271-1/+8
|
* Added a Filter class; filters inherit from it and yield tokens.murphy2009-06-204-17/+34
| | | | | | | You can write something like this now: @CodeRay.scan('puts "Hello, world"! # secret', :ruby).token_filter(:exclude => [:comment]).div@
* * Improved implementation of Encoder *token callbacks.murphy2009-06-207-15/+78
| | | | | | | | * Documentation for these methods. * Added two new encoders: CommentFilter < TokenFilter. * Simplified Text encoder. * Code cleanup in HTML encoder subclasses.
* Fixed for_redcloth for latest RedCloth (4.2.0+) versions (issue #119).murphy2009-06-202-2/+2
|
* Fixed an issue with the YAML class being redefined by the scanners tests.murphy2009-06-171-1/+2
|
* Forgotten test file.murphy2009-06-131-779/+779
|
* Python Scanner (issue #41) updated:murphy2009-06-133-541/+560
| | | | | | | | * class and method definitions are highlighted * improved keyword argument recognition (less false positives) * backticks are operators now * from/import support still missing
* New: Plugin.title (closes #96)murphy2009-06-097-1/+14
| | | | | | | The title saves the real name for a language, like "C++"...something that can't be deduced from the class name. And a version fix in the README.
* Benchmark: Actually, the abbreviation for second is s, not sec.murphy2009-06-091-4/+4
|
* Fixed XML Encoder; closes #94.murphy2009-06-091-1/+1
|
* Fixed an issue with predefined idents in the Python Scanner.murphy2009-06-071-0/+1
| | | | | * @file=@ should not be recognized as the predefined method @file@.
* Improved UTF-8 support for Ruby Scanner. Also fixed a minor bug.murphy2009-06-076-11/+98
| | | | | | | | | * closes #108 (new Ruby 1.9 call operator syntax sugar) * Added an example for unicode code. * automatic UTF-8 detection (experimental) * Still problems with different Ruby versions; new unicode test fails in Ruby 1.9 and JRuby.
* Removed obsolete :level property from HTML Encoder.murphy2009-06-071-1/+1
| | | | | Thanks to Gavin for pointing that out.
* Changed a $DEBUG raise into a puts (issue #99).murphy2009-05-021-1/+1
| | | | Thanks to sunaku for reporting this.
* RubyEE no longer included in test:all.murphy2009-04-221-1/+1
| | | | | It always reacts the same way as my default Ruby 1.8.
* Fixed a minor bug in the YAML scanner.murphy2009-04-221-1/+2
|
* Cleanups and minor fixes to PHP scanner (issue #36).murphy2009-04-222-27/+20
|
* More cleanup.murphy2009-04-221-4/+4
|
* SQL scanner cleanup (issue #33).murphy2009-04-222-12/+15
| | | | | * Increased size of the test suite random samples.
* Improved Python scanner (issue #41).murphy2009-04-2210-120/+221
| | | | | | | | * fixed numeric literals * better Python 3 support * bugfixes, optimizations * added two more test files
* Lots of improvements for the PHP scanner.murphy2009-04-223-614/+635
|
* Test cleanup.murphy2009-04-207-3121/+2990
| | | | | | * Fixed Scheme and SQL scanner tests after last bugfix. * Removed obsolete Python test file.
* Many improvements to PHP Scanner.murphy2009-04-205-1937/+2044
| | | | | | | | * added lots of built-in functions, constants, syntax rule fixes... * automatic HTML/PHP document recognition; experimental! * cYcnus style adjusted; inline_delimiter outside of token group has a style now. * clean-up still not finished
* FIXED: CaseIgnoringWordList respects default value (closes #97).murphy2009-04-202-0/+5
| | | | | * Test cases added.
* New: *PHP and SQL Scanners*murphy2009-04-2020-4/+13036
| | | | | | | | * Both not well tested yet, preview versions. * Some example code for both languages. * PHP scanner original by Stefan Walk. * SQL scanner using code by Keith Pitt and Josh Goebel.
* Added some version patches and other files.murphy2009-04-205-6/+1674
| | | | | | * The check-coderay-gem-stats.sh script prints the current rank of CodeRay in the RubyForge gem download statistics ^_^
* Fixed some test suite problems.murphy2009-04-204-20/+23
| | | | | | | * coderay_suite: UTF-8 output is compared as binary. * functional tests: cleaned up. * test/unit: prevent Ruby 1.9 warning about circular require.
* Added test outputs for Python.murphy2009-04-204-0/+36976
|
* Experimental Unicode support for Scanners in Ruby 1.9.murphy2009-04-202-2/+17
| | | | | | | * Python scanner uses it for idents. * Scanner#column method needed to be fixed for multibyte characters because StringScanner#pos still works on bytes.
* Updated some comments for XML and HTML encoder.murphy2009-04-202-1/+1
| | | | | | * XML encoder is actually broken! REXML fault? * Firefox can handle long HTML tables now.
* New: *JSON Encoder*murphy2009-04-201-0/+19
| | | | | Very simple. Not streamable yet.