summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* New: *JavaScript Scanner* (closes #23).murphy2008-09-1610-10/+14780
| | | | | | | | | | | * It's quite good and fast, but still a beta. * I included Prototype and script.aculo.us as example code for testing. More changes: * Added two new token classes, :keyword and :key, along with CSS styles. ** Actually, we should use :keyword for most scanners that now use :reserved. * HTML Encoder: The CSS parser understands multiple selectors separated by commas.
* Added more file extensions to Scannersmurphy2008-09-1610-15/+27
| | | | | | | * Added file_extensions to Delphi, XML, Debug, Scheme, and NitroXHTML scanners. * Removed obsolete extension declarations from Scanner test suites. * Minor cleanups.
* More cleanup of todo folder.murphy2008-09-123-573/+79
|
* Some cleanup for the toto folder.murphy2008-09-112-0/+142
|
* Fixed coderay/for_redcloth escaping.murphy2008-08-282-3/+42
|
* Changed CodeRay.for_redcloth into require 'coderay/for_redcloth'.murphy2008-08-284-47/+40
| | | | | * Cleanup in documentation.rake.
* dated version number to 0.7.9, deleted ROADMAP.murphy2008-08-283-18/+2
|
* Added CodeRay.for_redcloth with test and documentation.murphy2008-08-284-0/+66
| | | | | | * Tested with RedCloth 4.0.3. * Also added :ee task for the Ruby Enterprise Edition (rubyee).
* Changed coderay_suite's defaults: 'noassert' option is now 'assert'.murphy2008-08-111-8/+8
|
* Added diff task and a Redmine TODO.murphy2008-08-113-8/+669
|
* Fixed FileType: .html.erb is now recognized as rhtml.murphy2008-08-112-13/+21
|
* Increased default test sample size. Test will check more and take more time.murphy2008-08-061-1/+1
|
* Fixed rdoc in coderay.rb.murphy2008-08-062-5/+6
|
* Changed test suite to test even big files. I hope you have a fast machine.murphy2008-08-041-4/+4
|
* [KK] Just a little code cleanup and new task 187.murphy2008-07-295-86/+13
|
* Improved Ruby scanner to use +/- signs only when appropriate (tests adjusted.)murphy2008-01-218-54/+58
| | | | | Ignore test/scanners/*/*.expected.html
* Trying to fix doc task for 1.9murphy2008-01-211-2/+6
|
* Test suite improved:murphy2008-01-211-63/+68
| | | | | | | | - make a copy of HTML output (named test.expected.html) when complete test was successful - skip random test if ENV['only'] was set - minor output improvements - refactorized the progress output
* Added ruby.rails test to repository.murphy2008-01-212-0/+148518
|
* - fixed a bug in coderay_suite (break outside of loop?)murphy2008-01-125-27/+26
| | | | | | | | - made test and bench tasks run with all implementations - included term/ansicolor in lib (will need in some day anyway) as svn:external (this also means that tests will be colorful on all rubys) - incremented CodeRay version number (we're near...)
* Lib:murphy2008-01-0727-153/+334
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Encoder: removed a warning - Encoders::HTML: don't shadow outer variable - Plugin: move require_plugin into class namespace - Ruby Scanner: - "alias" keyword recognition - better regexp/division distinction - recognize ~, !, !=, and !~ as method names (partly Ruby 1.9 only) - reordered states for speed Tests: - updated coderay-suite to use gem instead of require_gem - general improvements (more colors!, new parameter: new, new syntax lang.test for only and new) - fixed ruby suite - adjusted a lot of Ruby tests (alias uses methods now) - new tests: ruby/operators, ruby/regexp Samples: - fixed/updated ('bout time) Rake tasks: - updated to use new rubygems API
* Added etc/todo (scanner drafts) and two TextMate project files.murphy2008-01-0776-0/+24418
|
* Ignore *.rbc files in bench/.murphy2007-11-220-0/+0
|
* - Ruby 1.9 fixesmurphy2007-11-223-2/+11
| | | | | | - rake commands for jruby and rubinius - absolutized CodeRay::Tokens::ClassOfKind
* Fixed FileType shebang recognition for empty files. [Jeremy Hinegardner]murphy2007-11-221-5/+24
|
* Declared version 0.7.7.murphy2007-04-253-3/+3
| | | | | Fix/clarification for JRuby (thx@bovi).
* Benchmark, comparison: replaced SilverCity with pygmentsmurphy2007-04-2411-37/+54
| | | | | | | A bit of code and documentation cleanup HTML encoder: fixed css class output for NO_HIGHLIGHT tokens when :info is set. Fixed Text encoder.
* Changed from GPL to LGPL; thanks to Jonathan Younger.murphy2007-02-251-257/+421
|
* ?murphy2007-01-012-338/+0
|
* Fixed pleac Scheme test and debug test folder.murphy2007-01-011-2/+2
|
* Added Scheme tests.murphy2007-01-012-0/+5179
|
* New Scanner: Scheme (thanks closure!)murphy2007-01-0113-18/+5391
| | | | | | | | | | | | | | | Test and example added. Token changed: operator_fat instead of operator_name (for use with LISP-like parentheses). Added file_extension for Scanners. Improved CodeRay::Suite: - uses scanners file extension now - example parameter is now named "only" - only param overwrite MAX_CODE_SIZE_TO_HIGHLIGHT
* Added tests for debug scanner and another ruby test case.murphy2007-01-0111-0/+668
| | | | | Added drafts for a comparison of CodeRa an Pygments features.
* Done:murphy2007-01-0134-130/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | General: - Declared version 0.7.6. - Moved WordList, CaseIgnoringWordList, Plugin, PluginHost and FileType into CodeRay namespace. CodeRay should be "clean" now, except for the String#to_unix helper function. - Fixed a bit of documentation. - CodeRay binary: Prepare for streaming switch. Scanners: - Added code= alias for string=. - Added streaming? method: Is this Scanner in streaming mode? - Enhanced error info a bit. - Ruby scanner: - Highlights Regexp heredocs now. They may be added to Ruby 1.9. - Speedups with better support for Ruby 1.9. - Change in whitespace handling (faster and cleaner now.) - Speed up some operator recognition (saving two string comparisons). - Declared C and Plaintext Scanners as Streamable. Tokens: - Changed Text/Block token recognition (#is_a? ::String for Ruby 1.9 support). - New method: Tokens#text yields the code string. - text_size fixed. - Token kind shortcuts (like r for reserved) are now defined in token_classes.rb (instead of encoders/html/classes.rb). Encoders: - Debug Scanner added. - Base encoder class adds to @out when encoding (if @out is set). - A little Tokens scanner speedup. - Text encoder uses text_token. - Statistic encoder counts block tokens. - Smaller changes in XML and HTML encoders. Styles: - cYcnus style defines a debug class now. Duo: - scanner and encoder are now methods. Scanner and Encoder are created (and cached) when needed, not earlier. - Documented. Tests: - Disabled encoder and scanner list check (breaks too often). - Added identity test, which checks if tokens#text matches the input. - Added nocolor switch. Developer tools: - Benchmark uses Encoder#file_extension for output now. - Rakefile: Support for 19, 18, yarv and ruby switches for easy comparing different Ruby versions. - Statistic: Demos are no longer tests.
* Added thanks to Andreas Schwarz and wrapped lines to 78.murphy2006-10-201-11/+22
|
* das2unix.murphy2006-10-201-82/+82
|
* Adjusted tests for rhtml and nitro.murphy2006-10-203-64/+64
| | | | | Changed default sizes for tests => much faster default tests.
* Fixed RHTML and NitroXHTML scanners to use new :inline_delimiter tokens.murphy2006-10-202-6/+6
|
* Ignore much-too-large Rails test.murphy2006-10-200-0/+0
|
* Improved output.murphy2006-10-201-19/+25
|
* Changed require to file_type.rb.murphy2006-10-201-1/+1
|
* Renamed filetype.rb to file_type.rb.murphy2006-10-201-0/+0
|
* Added Debug scanner (for .raydebug files).murphy2006-10-201-0/+60
|
* Improved Delphi scanner.murphy2006-10-203-2975/+2992
|
* Added WordList tests. Renamed Basic to BasicTest.murphy2006-10-203-5/+70
|
* WordList:murphy2006-10-202-36/+51
| | | | | | | | | | - fixed a bad bug (CaseIgnoringWordList wasn't case ignoring!) - code and doc cleanup - optional caching added - interface minimized (no more WordList.for) FileType: - added raybedug type (see next commits)
* dos2unix.murphy2006-10-201-19/+19
|
* Updated version number in README.murphy2006-10-191-3/+2
|
* HTML encoder: Fixed :css => :style output and made some code cleanup.murphy2006-10-191-8/+19
|
* Renamed samples/INFO to sampples/README.murphy2006-10-191-0/+0
|