| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
Fixed numerization for input not ending with \n. Added test cases in C scanner tests.
Added WoNáDo as contributer for last Ruby scanner fix.
Updated TODO.
|
|
|
|
|
|
|
|
|
|
| |
ROADMAP and TODO updated.
Ruby scanner:
Fixed a bug: Fancy strings don't allow \w delimiters.
They _do_ also allow whitespace delimiters, but adding this would cause
many scan errors. So I leave this bug unfixed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Added test/html/suite.rb and tolkien.in.html test.
Benchmark produces inline line numbers now.
Minor changes to Ruby and C scanners.
Rakefile: unit tests now in -d mode.
|
|
|
|
|
| |
Tests adjusted.
highlight.rb updated.
|
|
|
|
|
|
|
|
| |
New demo: demo/demo_html_list.rb.
Some demos adjusted.
C Scanner: error messages fixed.
Rakefile: test_demos now in debug mode.
test/suite.rb is using reusable Scanners now.
|
|
|
|
|
|
|
|
| |
bench/caching.rb added t´for demonstrating this.
HTML Encoder: creates unwrapped output by default (still problems with that.)
Numerizing changed (doesn't try to prevent nesting errors)
Speedup: "::String" is faster.
|
| |
|
|
|
|
|
| |
Documentation cleanups.
|
|
|
|
|
|
| |
Added jarh.out.raydebug test output.
Fixed a typo in Rakefile.
|
|
|
|
|
| |
Changed HTML::CSS.load_stylesheet behaviour.
|
|
|
|
| |
Ignore latex encoder until it's finished.
|
| |
|
|
|
|
|
| |
besetzung.in.rb test added.
highlight.rb updated.
|
|
|
|
|
| |
demo_dump and demo_encoder updated for new YAML version.
Fixes in output.rb and numerization.rb
|
|
|
|
|
| |
I used it in my HTMLParser, so it became WordList instead of CodeRay::Scanners::Scanner::WordList.
Some functionality was added and changed, too. Speed should be the same.
|
|
|
|
|
|
| |
warnings)
test/ruby/quotes: second test case added
|
| |
|
|
|
|
|
|
|
|
| |
Changed recognition of numerics
+ and - prefixes now belong to the number.
tests and demos adjusted.
helpers/plugin.rb: Typo in doc.
|
|
|
|
|
|
|
|
|
|
| |
- helper method
- path names are expanded
encoders/html.rb, div.rb, span.rb, ruby.rb:
- using new methods (fixes problems with rdoc and test tasks):
renamed scanners/ruby/helper.rb to patterns.rb
encoders/statistic.rb: sorting made deterministic (for unit testing)
|
|
|
|
|
| |
Fixes in the coderay_rdoc_template.
|
|
|
|
|
|
|
|
| |
Demos adjusted
coderay.rb, encoders/html.rb, encoders/div.rb adjusted.
encoders/html/* files rebuild.
|
|
|
|
|
| |
ROADMAP and TODO updated
|
|
|
|
|
|
| |
_maps added; demos adjusted
TODO updated
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
new CaseIgnoringWordList class
simplified implementation
Performance gain should be small.
Adjusted scanner.rb and scanners/delphi.rb
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
html_css.rb: Bugfixes
CSS style scanning went for wrong range
moved some styles into the right place
html_output.rb:
numerization excluded
templates renamed
new LIST template
html_numerization.rb (new):
new :line_numbers style :list (beta)
Benchmarking:
Split Options into lines
:list style for testing
|
|
|
|
|
|
|
|
| |
coderay.rb: Added highlight functions
new demo/demo_highlight.rb
encoders/helpers/html_output.rb: Improved stylesheet method
Rakefile: smarter progress info on uploading
|
|
|
|
| |
test/ruby: added new targets
|
| |
|
|
|
|
| |
Test fixtures adjusted.
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
tokens.rb: orig_each alias deleted; using super now.
scanners/ruby.rb: experimental Regexp/Fancy string recognition for "method /.../" cases.
|
|
|
|
|
| |
encoders/helpers/html_css.rb and html_helper.rb: added :inline token
encoders/helpers/html_output.rb: made wrapped_in an attr_accessor; fixed option handling in numerize!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
encoders/null.rb: speeded up by hardcoding to_proc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some code cleanups.
Bugs fixed, scanner and encoder improved:
count.rb: marked Streamable
html_css.rb: style for inline numbers
html.rb: changed options; :line_numbers_offset is now :line_number_start
html_output.rb: offset for inline numbers fixed
html.rb: token text no longer changed by gsub! while highlighting (this is even faster!)
text.rb, plugin.rb: reindented
ruby.rb: eleminated multiple assignments for speed
tokens.rb: reindented, Tokens#to_s added, #<< returns self
Plugin system: bugs fixed, error messages improved.
|
|
|
|
| |
Massive changes for HTML output layout.
|
| |
|
| |
|