summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Don't run tests in debug mode per default.murphy2006-10-191-3/+3
|
* Fixed coderay binary.murphy2006-10-191-2/+2
|
* Scanner tests:murphy2006-10-191-3/+3
| | | | - changed color of times from blue to white (blue is not well visible on black.)
* Delete and ignore sample/test.html.murphy2006-10-191-543/+0
|
* Improved fallback for scanner tests if Term::ANSIColor is not available.murphy2006-10-191-2/+6
|
* Ruby scanner: #{...} delimiters are now :inline_delimiter to solve CSS problem.murphy2006-10-1815-423/+517
| | | | | | New token: :inline_delimiter Scanner tests suite revamped: colorization, split up into methods.
* strange.in.rb test output fixed.murphy2006-10-181-5/+5
|
* Fixed besetzung.in.rb test.murphy2006-10-181-0/+0
|
* Thank PyKleur team in README.murphy2006-10-181-8/+15
|
* Fixed warning in bench.rb.murphy2006-10-189-63/+92
| | | | | | | | | | Ruby Scanner: improved handling of ambiguos values. - operator methods are now :ident instead of :operator - fancy_allowed and regexp_allowed are now value_expected - value_expected works in operator method calls - tests enhanced and adjusted Scanner tests: new diffed option, diff doesn't imply noassert anymore
* Ignore *.debug.diff generated by scanner tests.murphy2006-10-181-1/+1
|
* Fixed functional test.murphy2006-10-186-194/+202
| | | | | | | Fixed Ruby scanner (/= was scanned as regexp!) Made bench.rb run from any folder. Made scanner test diff function work via EDITOR instead of gvimdiff.
* Fixed test: sort plugin lists.murphy2006-10-171-2/+2
|
* Added functional test task and renamed all test task descriptions.murphy2006-10-172-18/+9
| | | | | | rake test now runs both functional and scanner tests! Deleted stupid classes test.
* Renamed CodeRay::Version to CodeRay::VERSION.murphy2006-10-171-1/+1
|
* Declared Version 0.7.4!murphy2006-10-175-7/+74
| | | | | | Plugin#all_plugin_names is now called #list. Added some basic functional tests and adjusted statistic.rake.
* Added a note about samples tests incompatibility.murphy2006-10-171-0/+1
|
* Go away, demos! >:-(murphy2006-10-1759-4252/+0
|