summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup of debug encoder.murphy2010-10-151-12/+10
|
* Fixed Null encoder.murphy2010-10-151-8/+6
|
* Code cleanups in HTML encoder.murphy2010-10-151-29/+24
|
* Fixed Count encoder.murphy2010-10-151-0/+2
|
* Fixed line token classes when using hints.murphy2010-09-221-1/+5
|
* Fix invalid HTML markup for line tokens (use span + CSS instead of div).murphy2010-09-221-3/+3
|
* Fixed HTML encoder :hint => info option.murphy2010-08-231-1/+1
|
* Made token methods of JSON encoder public.murphy2010-06-291-4/+5
|
* Made token methods of Statisic encoder public.murphy2010-06-291-31/+33
|
* General cleanup to Encoders::HTML::Output module: Numbering is now a bit ↵murphy2010-06-291-19/+16
| | | | less obtrusive.
* General cleanup in this weird Encoders::HTML::Output module.murphy2010-06-291-52/+10
|
* Use autoload instead of require (speeds up CodeRay startup) for CodeRay, ↵murphy2010-06-291-5/+9
| | | | Scanner, Tokens, and Encoders::HTML.
* LOC encoder uses faster to_s encoder now and prints a more useful warning ↵murphy2010-06-291-51/+2
| | | | when no scanner was assigned.
* Encoder#to_proc is obsolete.murphy2010-06-291-5/+0
|
* Improved JSON encoder: Loading of json library in JRUBY, error messages, ↵murphy2010-06-291-35/+14
| | | | "early death" by loading it when the encoder is loaded.
* Removing tests from library files. They live now in test/unit.murphy2010-06-298-329/+2
|
* More speedups for HTML encoding (numbering, CSS styles, Ruby 1.9).murphy2010-06-273-33/+17
|
* Trying out a simplified, faster method of HTML encoding.murphy2010-06-271-42/+41
|
* Cleanups in Encoders::HTML::Output.murphy2010-06-013-10/+4
|
* Fixed Text Encoder.murphy2010-06-011-2/+25
|
* Cleanup, documentation and enhancements to the Filters:murphy2010-05-184-32/+111
| | | | | | | * TokenKindFilter handles groups (closes #223). * Added :docstring to the default KINDS_NOT_LOC list. * Also fixed a problem with the :tokens option in Scanners.
* Fixed a problem with line tokens when using :hint => :debug in the HTML encoder.murphy2010-05-051-2/+2
|
* Fixes for YAML encoder, Filter, and tests and API enhancements for Duo.murphy2010-05-052-10/+38
|
* Got rid of the old streaming system (see #142).murphy2010-05-018-8/+0
|
* Direct Streaming! See #142 and Changes.textile.murphy2010-05-0111-193/+338
|
* Fixed a buggy warning.murphy2010-04-281-1/+1
|
* Python scanner highlights docstrings as comments (see #190).murphy2010-04-021-1/+29
|
* New HTML Encoder option :line_number_anchors (closes #208).murphy2010-04-023-55/+53
| | | | | Also removed the :list wrapping style, and made a lot of cleanup in the styles. See Changes.textile.
* HTML encoder is HTML 5 and CSS 3 compatible (closes #215).murphy2010-04-022-6/+3
| | | | | | | | This also means it's incompatible to previous versions of HTML and CSS. Also, the output may not show correctly on IE. I officially drop support for Internet Explorer with no regrets.
* Upporting changes from 0.9.2 (vs. 0.9.1).murphy2010-03-312-5/+23
|
* Use new :alpha style be default. This means IE will have problems with the ↵murphy2010-03-311-1/+1
| | | | colors.
* Improved Terminal encoder (documentation, handling of line tokens).murphy2010-03-301-57/+81
|
* Added alias :remove_comments for CommentFilter.murphy2010-03-301-0/+1
|
* Added documentation to encoders; more code cleanups.murphy2010-03-3012-23/+113
|
* Renamed token_classes to token_kinds (closes #122).murphy2010-03-305-106/+135
| | | | | | | | | * *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.
* Renamed Terminal encoder, cleanups.murphy2010-01-062-7/+8
|
* Encoders::HTML#token's second parameter is no longer optional.murphy2010-01-061-1/+1
|
* Cleanups.murphy2010-01-061-2/+2
|
* Cleanup.murphy2010-01-011-1/+1
|
* Fixed example tests.murphy2009-12-313-4/+67
| | | | | | | | | | | * 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)
* 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
|
* Copying changes and fixes for 0.9.0rc3 from terminal-encoder branch over to ↵murphy2009-12-281-0/+137
| | | | trunk.
* LinesOfCode: Language dependent via KINDS_NOT_LOC, documentation.murphy2009-10-181-1/+16
|
* TokenClassFilter: Support for :exclud => :all.murphy2009-10-181-2/+3
|
* We don't need Tokens encoder any more.murphy2009-10-101-44/+0
|
* Added LinesOfCode encoder (issue #123) - simple version.murphy2009-06-291-0/+19
|
* Renamed TokenFilter to TokenClassFilter.murphy2009-06-282-5/+5
|
* Added a Filter class; filters inherit from it and yield tokens.murphy2009-06-203-11/+27
| | | | | | | You can write something like this now: @CodeRay.scan('puts "Hello, world"! # secret', :ruby).token_filter(:exclude => [:comment]).div@