Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Filters: Cleanups, refactorization, tests. | murphy | 2009-12-30 | 3 | -6/+144 | |
| | ||||||
* | Cleanup, documentation. | murphy | 2009-12-30 | 1 | -9/+13 | |
| | ||||||
* | Added a test for XML literals in JavaScript (see issue #137). | murphy | 2009-12-30 | 2 | -0/+4 | |
| | ||||||
* | Copying changes and fixes for 0.9.0rc3 from terminal-encoder branch over to ↵ | murphy | 2009-12-28 | 27 | -1595/+2857 | |
| | | | | trunk. | |||||
* | Support for JRuby Nailgun: Use rake jng to run Ruby tasks with jruby --ng. | murphy | 2009-11-03 | 1 | -0/+5 | |
| | ||||||
* | Added a test case for loading plugin scanners. | murphy | 2009-10-20 | 2 | -0/+137 | |
| | ||||||
* | Updated PHP scanner (#36) | murphy | 2009-10-20 | 6 | -170/+370 | |
| | | | | | | | | * highlighting of class and function definitions * improved HTML/PHP detection * heredocs (simple) * a new test for classes | |||||
* | Made FileType work with Pathname (closes #118). | murphy | 2009-10-20 | 2 | -3/+15 | |
| | ||||||
* | Default rake task uses default Ruby version again. | murphy | 2009-10-19 | 1 | -1/+1 | |
| | ||||||
* | Updated PHP scanner: added a test, improved HTML/PHP detection, cleanup. | murphy | 2009-10-19 | 3 | -10/+10 | |
| | ||||||
* | Updating C scanner: | murphy | 2009-10-19 | 6 | -15/+192639 | |
| | | | | | | | | | | * Ruby 1.9 warnings (yeah, it's really a pain) * added DIRECTIVES * fixed a bug that highlighted // as an operator (bah!) * accept $ in variable names * accept intLL literals * recover silently from :include_expected on unexpected tokens | |||||
* | Updating scanners: Ruby 1.9 warnings, KINDS_NOT_LOC | murphy | 2009-10-19 | 7 | -7/+22 | |
| | | | | | * Also, DATABASE is a SQL keyword. | |||||
* | etc. Dont mind it. | murphy | 2009-10-19 | 3 | -12/+199 | |
| | ||||||
* | Updated scanner test suite: | murphy | 2009-10-19 | 1 | -11/+7 | |
| | | | | | fixing Ruby 1.9 warnings, tab width, exception for missing scanners | |||||
* | Renaming YAMLTests. | murphy | 2009-10-19 | 1 | -1/+1 | |
| | ||||||
* | Updated Python scanner (#41) | murphy | 2009-10-19 | 6 | -856/+941 | |
| | | | | | | | * Unicode support (kind of) * [from ...] import ... as construct highlighted as :include * added a test case for import statements | |||||
* | Updated JSON scanner: false, null, true are highlighted as :value now. | murphy | 2009-10-19 | 4 | -128/+133 | |
| | ||||||
* | Updated Groovy scanner: using word lists from Java scanner. | murphy | 2009-10-19 | 3 | -148/+140 | |
| | ||||||
* | Updated Java scanner: Higlighting of keywords according to java.sun.com. | murphy | 2009-10-19 | 2 | -2479/+2482 | |
| | | | | | | * added :reserved, :pre_constant, :exception classes for idents and keywords * "threadsafe" isn't a Java keyword | |||||
* | Updated Ruby scanner: | murphy | 2009-10-19 | 8 | -230/+239 | |
| | | | | | | | * cleanup (FIXMEs, dead code, comments) * improved value_expected detection using VALUE_EXPECTING_KEYWORDS * support for self.method style definitions | |||||
* | Updated CSS scanner: element selectors are highlighted as :type. | murphy | 2009-10-19 | 6 | -1373/+1381 | |
| | ||||||
* | JavaScript scanner updated: | murphy | 2009-10-19 | 8 | -938/+54893 | |
| | | | | | | | | | * false, null, true, undefined are :pre_constant now * fixed floats starting with a dot * added support for XML literals (cool!) * function definitions are detected and highlighted as :function * added Prototype, SunSpider and TraceMonkey tests as test code | |||||
* | New Scanner: *C++* (#76)! | murphy | 2009-10-19 | 11 | -1/+18380 | |
| | | | | | | There's a problem with the ternary operator (?:) and labels which needs to be fixed in C, C++ and PHP scanners. I'll get to that soon. | |||||
* | Removing C++ tests from C test suite. | murphy | 2009-10-19 | 2 | -1036/+0 | |
| | ||||||
* | Scanner sets KINDS_NOT_LOC, Tokens#scanner. | murphy | 2009-10-18 | 1 | -0/+4 | |
| | ||||||
* | Updated README. | murphy | 2009-10-18 | 1 | -2/+3 | |
| | ||||||
* | 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 | |
| | ||||||
* | Require token_classes from coderay.rb. | murphy | 2009-10-18 | 1 | -0/+1 | |
| | ||||||
* | 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 | |
| | ||||||
* | Testing for_redcloth and lines_of_code. | murphy | 2009-10-18 | 1 | -1/+48 | |
| | ||||||
* | Testing whether #dup works for WordList as expected. | murphy | 2009-10-18 | 1 | -0/+9 | |
| | ||||||
* | Fixed sample test. | murphy | 2009-10-10 | 1 | -4/+7 | |
| | ||||||
* | We don't need Tokens encoder any more. | murphy | 2009-10-10 | 1 | -44/+0 | |
| | ||||||
* | Adding some test code for Clojure. | murphy | 2009-10-03 | 1 | -0/+6820 | |
| | ||||||
* | Adding lists of PHP constants and functions (TODO). | murphy | 2009-10-03 | 3 | -0/+5849 | |
| | ||||||
* | 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 | 2 | -0/+49 | |
| | ||||||
* | 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. | |||||
* | Fixed for_redcloth for latest RedCloth (4.2.0+) versions (issue #119). | murphy | 2009-06-20 | 2 | -2/+2 | |
| | ||||||
* | Fixed an issue with the YAML class being redefined by the scanners tests. | murphy | 2009-06-17 | 1 | -1/+2 | |
| | ||||||
* | Forgotten test file. | murphy | 2009-06-13 | 1 | -779/+779 | |
| |