summaryrefslogtreecommitdiff
path: root/lib/coderay/encoder.rb
Commit message (Collapse)AuthorAgeFilesLines
* Made CodeRay ready Ruby 1.9:murphy2006-10-171-1/+1
| | | | | | - tests failed because :symbol.is_a? String. - ...and Array#shuffle! is already built into Ruby 1.9
* rake test now runs in debug mode.murphy2006-07-111-173/+173
| | | | All .rb files converted to UNIX format (where did the \r come from?)
* Big re-indenting - no more tabs!murphy2006-07-101-170/+170
|
* Re-indented everything. Sorry to break the blame chain.murphy2006-04-161-2/+0
|
* Large update: Scanners for HTML, RHTML and Nitro-XHTML added.murphy2006-04-101-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | CSS style changes/enhancments (mainly the new background color for inline code, affects all Ruby code.) Demos and tests adjusted. Plugin: new PluginHost::default method. Scanner: - New setup method - ability to re-use a scanner - ability to keep the tokens - minor changes to token caching and string flattening Encoder: Error if token content is neither String nor Symbol. HTML encoder: - more warnings for unclosed tokens - output now UTF-8 Ruby Scanner: - bug: symbols before => now do not include =; {:foo=>bar} is valid Ruby code - try to close all open tokens - constants now all with specific namespace (for speed, I hope) Styles: new :entity/en class. Test suite now gives hinted HTML output.
* bench/bench.rb: Added SilverCity benchmarkingmurphy2005-11-051-1/+1
| | | | | | | | | | | | | | | | | demo/demo_load_encoder.rb enhanced demo/demo_load_scanner.rb added .outs added plugin.rb: Fixed load_all encoder.rb, scanner.rb adjusted helpers/word_list.rb: Fixed a bug in CaseIgnoringWordList.new TODO: Updated new ROADMAP coderay.rb: increased Version number added Version System documentation
* encoder.rb: Added Encoder#file_extensionmurphy2005-10-291-0/+5
| | | | | | | | | plugin.rb: #load_plugin --> #load; no more debug messages encoders/html.rb: Documentation; hint system; moved NUMERIZABLE_WRAPPINGS to html_output.rb encoders/helpers/html_output.rb: made stylesheet a method; disabled code cell hint; fixed inline numerizing encoders/debug.rb: changed extension to 'raydebug' etc folder added included etc/raydebug.vim for cool vim highlighting
* Two new encoders: debug and xml.murphy2005-10-041-4/+21
| | | | | | | | | | | | | | | | encoder.rb: new token handling encoders/statistic.rb: using new handling ruby_helper.rb: small improvements ruby.rb: - escapes in subtoken - Float detection changed - some multi-char operators are now scanned as one token - def and module definition handling changed bin/coderay: improved, new interface (still in progress) plugin.rb: more expressive load error message
* After merge with Plugin branch.murphy2005-09-291-82/+15
|
* Re-indented encoder.rb and scanner.rb.murphy2005-09-291-212/+214
|
* Still working on Documentation.murphy2005-09-281-2/+2
| | | | Rakefile: fixed a status message.
* refactoring: encoder.rb: using get_scanner_optionsmurphy2005-09-281-1/+1
|
* enhanced CodeRay interfacemurphy2005-09-281-1/+1
| | | | | updated demo_css.rb Rakefile: rdoc_small task added
* Added $Id$ keyword.no author2005-09-261-17/+23
|
* New Repository, initial importno author2005-09-261-0/+210