summaryrefslogtreecommitdiff
path: root/lib/coderay
Commit message (Collapse)AuthorAgeFilesLines
...
* Added documentation to encoders; more code cleanups.murphy2010-03-3012-23/+113
|
* Renamed token_classes to token_kinds (closes #122).murphy2010-03-308-135/+155
| | | | | | | | | * *RENAMED* from ClassOfKind. The term "token class" is no longer used in CodeRay. Instead, tokens have _kinds_. * *RENAMED* TokenKindFilter to TokenClassFilter. * *ADDED* documentation on encoders affected by the term change. * *REMOVED* token kinds :attribute_name_fat, :attribute_value_fat, :operator_fat, :tag_fat, and :xml_text. * *ADDED* token kind :filename.
* Added new keywords and functions to SQL scanner (see #221, thanks to Joshua ↵murphy2010-03-301-2/+3
| | | | Galvez).
* Cleanups and updates for FileType.murphy2010-03-261-27/+28
| | | | | | * *REMOVED* @FileType#shebang@ is a protected method now. * *NEW*: Regonizes @.gemspec@, @.rjs@, @.rpdf@ extensions and @Capfile@ as Ruby.
* Plugin depends on -w instead of -d for warnings.murphy2010-03-261-1/+1
|
* Debug scanner supports line tokens; more cleanups.murphy2010-03-261-6/+66
|
* Cleanup to Scheme scanner; removed :operator_fat token kind.murphy2010-03-261-59/+61
|
* Cleanup and simplify HTML scanner.murphy2010-03-261-16/+21
|
* Fixed documentation of C scanner.murphy2010-03-261-2/+0
|
* Cleanups for C, C++, CSS, Delphi, Groovy, Java, PHP, Python, RHTML, XML, and ↵murphy2010-03-2611-111/+141
| | | | YAML scanners.
* Improvements and cleanups in JavaScript Scanner:murphy2010-03-261-17/+22
| | | | | - Added NaN and Infinity to list of predefined constants. - E4X: Don't keep state of XML scanner between calls.
* Cleanup of Nitro-XHTML Scanner.murphy2010-03-261-9/+10
|
* Cleanup of JSON Scanner.murphy2010-03-261-2/+9
|
* Cleanup of JSON Scanner.murphy2010-03-261-6/+9
|
* Cleanup of scanner map:murphy2010-03-261-2/+1
| | | | | | - removed :h - it's just a file extension, not a language name - removed :ecma - that's the name of an association, not a language - added :patch as an alias for :diff
* Improvements to the SQL scanner - more keywords, more colors :)murphy2010-03-211-10/+24
|
* A new color style using HSLA colors (alpha channel, issue #199)murphy2010-02-171-0/+145
|
* Documentation cleanup.murphy2010-02-131-2/+2
|
* Documentation.murphy2010-02-131-7/+10
|
* Renamed Terminal encoder, cleanups.murphy2010-01-062-7/+8
|
* Plaintext scanner speedup: Just returns string without scanning.murphy2010-01-061-2/+1
|
* Encoders::HTML#token's second parameter is no longer optional.murphy2010-01-061-1/+1
|
* Cleanups.murphy2010-01-061-2/+2
|
* New method Scanner#lang.murphy2010-01-011-0/+5
|
* Cleanup.murphy2010-01-011-1/+1
|
* Fixed: More file extensions for C++ scanner as suggested by Sander Cox.murphy2010-01-011-1/+16
|
* Fixed example tests.murphy2009-12-314-5/+77
| | | | | | | | | | | * test:clean task also deletes .expected.html files * LinesOfCode encoder can deal with tokens that have no scanner. Tests were added for this. * JSON encoder load rubygems if necessary. * NEW :loc as an alias for :lines_of_code * NEW Scanner methods marshal_dump, marshal_load FIXED Tokens dumping (failed while trying to dump @scanner)
* Cleanups.murphy2009-12-305-12/+8
|
* Using XML scanner for XML literals.murphy2009-12-301-4/+5
|
* Don't cache the CaseIgnoringWordLists.murphy2009-12-302-3/+3
|
* Documentation: Added warning about WordList caching.murphy2009-12-301-4/+18
|
* Documentation.murphy2009-12-301-2/+4
|
* JSON encoder: New format to preserve all information and be more accessible ↵murphy2009-12-301-2/+47
| | | | for JavaScript programmers (each token is an object). Also a refactorization. Added tests.
* Cleanup.murphy2009-12-301-2/+1
|
* Filters: Cleanups, refactorization, tests.murphy2009-12-303-6/+144
|
* Cleanup, documentation.murphy2009-12-301-9/+13
|
* Copying changes and fixes for 0.9.0rc3 from terminal-encoder branch over to ↵murphy2009-12-289-79/+372
| | | | trunk.
* Updated PHP scanner (#36)murphy2009-10-202-9/+43
| | | | | | | | * highlighting of class and function definitions * improved HTML/PHP detection * heredocs (simple) * a new test for classes
* Made FileType work with Pathname (closes #118).murphy2009-10-202-3/+15
|
* Updated PHP scanner: added a test, improved HTML/PHP detection, cleanup.murphy2009-10-191-10/+8
|
* Updating C scanner:murphy2009-10-191-14/+20
| | | | | | | | | | * 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_LOCmurphy2009-10-197-7/+22
| | | | | * Also, DATABASE is a SQL keyword.
* Updated Python scanner (#41)murphy2009-10-191-8/+41
| | | | | | | * 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.murphy2009-10-191-1/+6
|
* Updated Groovy scanner: using word lists from Java scanner.murphy2009-10-191-13/+5
|
* Updated Java scanner: Higlighting of keywords according to java.sun.com.murphy2009-10-191-11/+14
| | | | | | * added :reserved, :pre_constant, :exception classes for idents and keywords * "threadsafe" isn't a Java keyword
* Updated Ruby scanner:murphy2009-10-192-20/+29
| | | | | | | * 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.murphy2009-10-191-1/+9
|
* JavaScript scanner updated:murphy2009-10-191-5/+32
| | | | | | | | | * 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)!murphy2009-10-192-1/+200
| | | | | | 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.