| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
For example, to create a stub for the Python Scanner, I can use:
rake generate:scanner NAME=python BASE=c EXT=py
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
It automates:
* generation of a new scanner class based on an existing scanner (JSON scanner as default)
* generation and initialization of a test suite folder
* addition of the generated files to SVN
It also helps a bit with _map.rb and file_type.rb, but is not editing the files.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* No more closing PRE tags in RedCloth output.
* Added j, j19, and test:functional:all tasks.
|
| |
|
|
|
|
|
|
|
| |
* handles url(...) outside of blocks
* handles @media
* handles [attribute=selectors] (too simple, added TODO)
|
| |
|
|
|
|
|
| |
* 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...
|
|
|
|
|
| |
* Also added jruby19 task (jruby --1.9 mode).
|
| |
|
|
|
|
|
|
| |
* The scanner test suite uses it and highlights the lines that
differ after a failed complete test in *.actual.html.
|
| |
|
|
|
|
|
|
|
| |
* Code inside ${...} is highlighted; works nested.
* various minor bugfixes
* Some string related problems remain. Groovy is strange!
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
'plugin/helper' syntax.
|
|
|
|
|
|
|
|
|
|
|
| |
* It inherits from Java Scanner, re-using some constants.
* Thanks to Stefan Weinmann for helping me with Groovy.
* PLEAC code used for testing.
* Some issues with remain with strings and regexps.
* Rating: 2 / 5 stars, "Basic support"
* Added .groovy and .gvy to FileType.
* CodeRay now supports a language that pygments doesn't support ;-)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Made benchmark script run 5 times to visualize JVM warmup for JRuby.
* Fixed encoding of example.ruby file.
* Compatible with latest pygments version.
Thanks to Charles Oliver Nutter and Yehuda Katz for the suggestions.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
With this change, upper case lang names are allowed like 'C'.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
YAML Scanner:
* Added another example (multiline).
* Added multiline string recognition.
* This should be enough for most people.
Else:
* New method: Scanner#column (very useful and fast!)
* Added new token type :doctype, used also by HTML scanner.
* coderay_suite: minor output tweaks.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* Added more YAML example files (website, database).
* Minor code cleanup in Scanner.
|
|
|
|
|
| |
* The last commit (r262) also belongs to ticket #34.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Simple and really nice scanner (I think), produces colorful output.
* Checked against strange examples from Ruby's JSON lib.
More changes:
* Changed version number. Finally!
* Added some token styles for :key token group.
* cYcnus style: chars inside of strings are highlighted purple instead of blue.
* murphy style needs work.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Highlights unified diffs, especially like the ones svn diff outputs.
* Changes to make highlighting of whole lines were necessary.
* I added two example files.
More changes:
* Added token classes :head, :delete, :insert, and :change along with styles.
* Added two new special token types: :begin_line and :end_line. They mark token groups that explicitly span whole lines and should be highlighted as such.
* The HTML encoder converts these new tokens to DIVs. May need more work.
* The Debug Encoder uses square brackets for line tokens.
* Some cleanups.
|
|
|
|
|
|
|
| |
* CSS styles are shortened more to optimize HTML output.
* Added a longer example file for the HTML Scanner.
* coderay_suite prints more accurate and sensible benchmarks.
|