| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
| |
* Fixed Scheme and SQL scanner tests after last bugfix.
* Removed obsolete Python test file.
|
|
|
|
|
|
|
|
| |
* added lots of built-in functions, constants, syntax rule fixes...
* automatic HTML/PHP document recognition; experimental!
* cYcnus style adjusted; inline_delimiter outside of token group has a style now.
* clean-up still not finished
|
|
|
|
|
| |
* Test cases added.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* coderay_suite: UTF-8 output is compared as binary.
* functional tests: cleaned up.
* test/unit: prevent Ruby 1.9 warning about circular require.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Fixed test after r305 broke it.
* [FIXED] Save last_token_dot state through comments.
C scanner:
* Added file_extension declaration.
** All scanners should have this.
* Code cleanup.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Based on pygment's implementation.
* The goal is to highlight both Python 2 and 3.
** print and exec will need special treatment.
* Still needs work; see TODOs in the code.
* Example files: PLEAC, pygments.
** The pygments.unistring code has very long lines which bother TextMate,
so I put this one in a separate file.
* Rating: 1 / 5 stars, "Poor support", because of problems with numeric literals.
* Added .py, .pyw and .py3 to FileType.
Else:
* Sorted lines in FileType::TypeFromExt.
|
| |
|
| |
|
|
|
|
|
|
| |
* 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...
|
| |
|
|
|
|
|
|
| |
* 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!
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 ;-)
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Based on JavaScript, does a good job, but may need more polish.
* Java::BuiltinTypes::List is a helper constant that contains 2389 Java types.
** The list was generated from TextMate's Java bundle with the help of SimpleRegexpScanner.
* I added the JRuby core classes as example code for testing (1.8 MB)
JavaScript Scanner:
* Fixed recognition of floats and algebraic signs.
** Still needs work - we need to distinguish i-1 from i+-1.
More changes:
* New: "SimpleRegexpScanner":http://murfy.de/simple-regexp-scanner
* Added new token class :annotation along with CSS styles.
** Should be useful for Python, too.
* coderay_suite warns if no scanner was found for this language.
* PluginHost#default can be called without parameter (will return default id)
|
|
|
|
|
|
|
|
|
|
| |
* Based on Stefan Walk's implementation, with fixes, enhancements and speedups.
* It seems to be fairly fast and highlights nicely.
* I added the styles for Ignis Draconis, S5, and YUI as example code for testing.
More changes:
* Added three new token classes, :important, :pseudo_class, and :value, along with CSS styles.
|
|
|
|
|
|
|
|
|
|
|
| |
* It's quite good and fast, but still a beta.
* I included Prototype and script.aculo.us as example code for testing.
More changes:
* Added two new token classes, :keyword and :key, along with CSS styles.
** Actually, we should use :keyword for most scanners that now use :reserved.
* HTML Encoder: The CSS parser understands multiple selectors separated by commas.
|
|
|
|
|
|
|
| |
* Added file_extensions to Delphi, XML, Debug, Scheme, and NitroXHTML scanners.
* Removed obsolete extension declarations from Scanner test suites.
* Minor cleanups.
|
| |
|
|
|
|
|
| |
* Cleanup in documentation.rake.
|
|
|
|
|
|
| |
* Tested with RedCloth 4.0.3.
* Also added :ee task for the Ruby Enterprise Edition (rubyee).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Ignore test/scanners/*/*.expected.html
|
|
|
|
|
|
|
|
| |
- make a copy of HTML output (named test.expected.html) when complete test was successful
- skip random test if ENV['only'] was set
- minor output improvements
- refactorized the progress output
|
| |
|
|
|
|
|
|
|
|
| |
- 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...)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|