Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Scanner sets KINDS_NOT_LOC, Tokens#scanner. | murphy | 2009-10-18 | 1 | -0/+4 | |
| | ||||||
* | Tweaking colors for :pre_type, :pseudo_class and :exception. | murphy | 2009-10-18 | 1 | -3/+3 | |
| | ||||||
* | LinesOfCode: Language dependent via KINDS_NOT_LOC, documentation. | murphy | 2009-10-18 | 1 | -1/+16 | |
| | ||||||
* | TokenClassFilter: Support for :exclud => :all. | murphy | 2009-10-18 | 1 | -2/+3 | |
| | ||||||
* | Fixing Ruby 1.9 warnings. | murphy | 2009-10-18 | 1 | -2/+2 | |
| | ||||||
* | Fixing for_redcloth for latest RedCloth versions. | murphy | 2009-10-18 | 1 | -4/+9 | |
| | ||||||
* | tokens.rb: cleanup, Tokens#scanner, tests. | murphy | 2009-10-18 | 1 | -45/+49 | |
| | ||||||
* | Minor speedup for Ruby 1.9. | murphy | 2009-10-18 | 1 | -1/+3 | |
| | ||||||
* | Removing :procedure token class. | murphy | 2009-10-18 | 1 | -1/+1 | |
| | ||||||
* | We don't need Tokens encoder any more. | murphy | 2009-10-10 | 1 | -44/+0 | |
| | ||||||
* | Adding .dpr, .pas and .rxml to FileType::TypeFromExt list. | murphy | 2009-07-08 | 1 | -0/+3 | |
| | | | | | Thanks to 0xf30fc7 for the patch. | |||||
* | Added LinesOfCode encoder (issue #123) - simple version. | murphy | 2009-06-29 | 1 | -0/+19 | |
| | ||||||
* | Renamed TokenFilter to TokenClassFilter. | murphy | 2009-06-28 | 2 | -5/+5 | |
| | ||||||
* | Working around a problem with latest RedCloth versions (>= 4.2.0) (issue #119) | murphy | 2009-06-27 | 1 | -1/+8 | |
| | ||||||
* | Added a Filter class; filters inherit from it and yield tokens. | murphy | 2009-06-20 | 4 | -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. | murphy | 2009-06-20 | 7 | -15/+78 | |
| | | | | | | | | * Documentation for these methods. * Added two new encoders: CommentFilter < TokenFilter. * Simplified Text encoder. * Code cleanup in HTML encoder subclasses. | |||||
* | Python Scanner (issue #41) updated: | murphy | 2009-06-13 | 1 | -52/+71 | |
| | | | | | | | | * 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) | murphy | 2009-06-09 | 6 | -0/+13 | |
| | | | | | | | 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. | |||||
* | Fixed XML Encoder; closes #94. | murphy | 2009-06-09 | 1 | -1/+1 | |
| | ||||||
* | Fixed an issue with predefined idents in the Python Scanner. | murphy | 2009-06-07 | 1 | -0/+1 | |
| | | | | | * @file=@ should not be recognized as the predefined method @file@. | |||||
* | Improved UTF-8 support for Ruby Scanner. Also fixed a minor bug. | murphy | 2009-06-07 | 2 | -11/+30 | |
| | | | | | | | | | * 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. | murphy | 2009-06-07 | 1 | -1/+1 | |
| | | | | | Thanks to Gavin for pointing that out. | |||||
* | Changed a $DEBUG raise into a puts (issue #99). | murphy | 2009-05-02 | 1 | -1/+1 | |
| | | | | Thanks to sunaku for reporting this. | |||||
* | Fixed a minor bug in the YAML scanner. | murphy | 2009-04-22 | 1 | -1/+2 | |
| | ||||||
* | Cleanups and minor fixes to PHP scanner (issue #36). | murphy | 2009-04-22 | 1 | -25/+18 | |
| | ||||||
* | More cleanup. | murphy | 2009-04-22 | 1 | -4/+4 | |
| | ||||||
* | SQL scanner cleanup (issue #33). | murphy | 2009-04-22 | 1 | -8/+11 | |
| | | | | | * Increased size of the test suite random samples. | |||||
* | Improved Python scanner (issue #41). | murphy | 2009-04-22 | 3 | -19/+50 | |
| | | | | | | | | * fixed numeric literals * better Python 3 support * bugfixes, optimizations * added two more test files | |||||
* | Lots of improvements for the PHP scanner. | murphy | 2009-04-22 | 1 | -105/+126 | |
| | ||||||
* | Many improvements to PHP Scanner. | murphy | 2009-04-20 | 2 | -112/+219 | |
| | | | | | | | | * 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). | murphy | 2009-04-20 | 1 | -0/+1 | |
| | | | | | * Test cases added. | |||||
* | New: *PHP and SQL Scanners* | murphy | 2009-04-20 | 4 | -4/+456 | |
| | | | | | | | | * 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. | |||||
* | Experimental Unicode support for Scanners in Ruby 1.9. | murphy | 2009-04-20 | 2 | -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. | murphy | 2009-04-20 | 2 | -1/+1 | |
| | | | | | | * XML encoder is actually broken! REXML fault? * Firefox can handle long HTML tables now. | |||||
* | New: *JSON Encoder* | murphy | 2009-04-20 | 1 | -0/+19 | |
| | | | | | Very simple. Not streamable yet. | |||||
* | Java scanner: | murphy | 2009-04-14 | 2 | -5/+7 | |
| | | | | | | | | | | | * Fixed test after r305 broke it. * [FIXED] Save last_token_dot state through comments. C scanner: * Added file_extension declaration. ** All scanners should have this. * Code cleanup. | |||||
* | New: *Python Scanner* (feature #41) | murphy | 2009-04-14 | 2 | -14/+221 | |
| | | | | | | | | | | | | | | | | * Based on pygment's implementation. * The goal is to highlight both Python 2 and 3. ** print and exec will need special treatment. * Still needs work; see TODOs in the code. * Example files: PLEAC, pygments. ** The pygments.unistring code has very long lines which bother TextMate, so I put this one in a separate file. * Rating: 1 / 5 stars, "Poor support", because of problems with numeric literals. * Added .py, .pyw and .py3 to FileType. Else: * Sorted lines in FileType::TypeFromExt. | |||||
* | Fixed generate:scanner task; it now also sets the file_extension. | murphy | 2009-04-14 | 1 | -0/+1 | |
| | | | | | | | For example, to create a stub for the Python Scanner, I can use: rake generate:scanner NAME=python BASE=c EXT=py | |||||
* | Added a :title option for the HTML Encoder. Closes #55. | murphy | 2009-04-14 | 2 | -2/+18 | |
| | ||||||
* | JavaScript scanner: Fixed string keys (closes #85). | murphy | 2009-02-20 | 1 | -11/+10 | |
| | ||||||
* | Removed subversion $Id$ lines. | murphy | 2009-02-20 | 6 | -12/+0 | |
| | ||||||
* | Java scanner highlights interface declarations as :class. | murphy | 2009-02-20 | 1 | -1/+1 | |
| | ||||||
* | Fixed a bug in for_redcloth.rb (closes #87). | murphy | 2009-02-18 | 1 | -0/+1 | |
| | | | | | | * No more closing PRE tags in RedCloth output. * Added j, j19, and test:functional:all tasks. | |||||
* | Fixed CSS scanner (closes #72). | murphy | 2009-02-06 | 1 | -6/+28 | |
| | | | | | | | * handles url(...) outside of blocks * handles @media * handles [attribute=selectors] (too simple, added TODO) | |||||
* | Updated version number (to 0.9.0) and gem information. | murphy | 2009-02-06 | 1 | -1/+1 | |
| | ||||||
* | Ruby scanner: Even more fixes for control and meta escape sequences. | murphy | 2009-02-06 | 1 | -9/+14 | |
| | | | | | * I think I got it right this time. | |||||
* | Ruby scanner: Fixed rarely used \c, \C-, and \M- escape sequences. | murphy | 2009-02-05 | 2 | -1/+2 | |
| | | | | | | | * JavaScript scanner: elaborate a comment * SimpleRegexpScanner: Just some testing with the Ruby stack. * coderay-lib.tmproj: I should just remove it from the repo... | |||||
* | Fixed a Ruby 1.8 compatibility bug in Groovy Scanner. | murphy | 2009-01-22 | 1 | -1/+1 | |
| | | | | | * Also added jruby19 task (jruby --1.9 mode). | |||||
* | New feature: HTML encode option :highlight_lines. See documentation. | murphy | 2009-01-22 | 3 | -1/+23 | |
| | | | | | | * The scanner test suite uses it and highlights the lines that differ after a failed complete test in *.actual.html. | |||||
* | Fixed JavaScript scanner, highlighting of strings as keys. | murphy | 2009-01-22 | 1 | -4/+12 | |
| |