| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
at http://svn.rubychan.de/coderay-scanner-tests/trunk.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* cleanup (FIXMEs, dead code, comments)
* improved value_expected detection using VALUE_EXPECTING_KEYWORDS
* support for self.method style definitions
|
|
|
|
|
|
|
|
|
| |
* closes #108 (new Ruby 1.9 call operator syntax sugar)
* Added an example for unicode code.
* automatic UTF-8 detection (experimental)
* Still problems with different Ruby versions; new unicode test fails in
Ruby 1.9 and JRuby.
|
|
|
|
|
| |
* I think I got it right this time.
|
|
|
|
|
|
|
| |
* JavaScript scanner: elaborate a comment
* SimpleRegexpScanner: Just some testing with the Ruby stack.
* coderay-lib.tmproj: I should just remove it from the repo...
|
| |
|
|
|
|
|
| |
Ignore test/scanners/*/*.expected.html
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 drafts for a comparison of CodeRa an Pygments features.
|
|
|
|
|
|
| |
New token: :inline_delimiter
Scanner tests suite revamped: colorization, split up into methods.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Added test:clean task.
|
|
|