| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
bugs; cleanups; dropped NitroXHTML scanner; improved tests
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- removed :h - it's just a file extension, not a language name
- removed :ecma - that's the name of an association, not a language
- added :patch as an alias for :diff
|
|
|
|
|
|
| |
There's a problem with the ternary operator (?:) and labels which
needs to be fixed in C, C++ and PHP scanners. I'll get to that soon.
|
|
|
|
|
|
|
|
| |
* Both not well tested yet, preview versions.
* Some example code for both languages.
* PHP scanner original by Stefan Walk.
* SQL scanner using code by Keith Pitt and Josh Goebel.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Based on the YAML scanner from Jamis Buck's Syntax lib.
* Some YAML examples from Ruby gems.
* Doesn't handle string yet; alpha state.
More changes:
* coderay_suite: new parameter "fast" makes testing faster (for development).
* Changed the title of HTML page output (Page Encoder).
* FileType: Added new file types.
* cYcnus style: simplified some token group styles.
* Cleanup in CSS and HTML Scanners.
|
|
|
|
|
|
|
| |
* Added file_extensions to Delphi, XML, Debug, Scheme, and NitroXHTML scanners.
* Removed obsolete extension declarations from Scanner test suites.
* Minor cleanups.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
debug mode, but token kind is nil unless assigned.
Small fixes for C and Ruby scanners.
Renamed local variable type to kind in Ruby scanner.
Improved RHTML scanner to recognize -%> as delimiter.
HTML encoder: improved handling of malformed token strings.
Fixed PluginHost#inspect including docu.
Scanner#raise_inspect also shows state if given.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
_maps added; demos adjusted
TODO updated
|