summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Added test:all rake task for testing CodeRay on all platforms.murphy2009-01-131-26/+43
|
* README: Added thanks to JRuby developers and some reformatting.murphy2009-01-131-4/+6
|
* Plugin.helper can be used to load helpers from other plugins using the ↵murphy2009-01-131-1/+9
| | | | 'plugin/helper' syntax.
* New: *Groovy Scanner* (feature #60)murphy2009-01-135-0/+22159
| | | | | | | | | | | * 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 ;-)
* Java Scanner: remove :regexp cases, use :pre_type for built-in types.murphy2009-01-132-2457/+2450
|
* Ruby Scanner: Shebang comments are highlighted as :doctype.murphy2009-01-136-48/+52
|
* Improved benchmark script.murphy2009-01-123-10094/+10098
| | | | | | | | | * 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.
* Fixed gem task.murphy2009-01-121-2/+2
|
* Added rake task to copy the generated documentation over to the CodeRay website.murphy2009-01-121-0/+5
|
* Fixed documentation links.murphy2009-01-124-13/+9
|
* Fixed a bug in Ruby scanner that broke tests with JRuby.murphy2009-01-112-4/+9
|
* Fixed documentation, moved README into lib folder.murphy2009-01-055-32/+18
|
* Added js alias for JavaScript.murphy2009-01-041-0/+1
|
* Added scanner proposals.murphy2009-01-042-0/+317
|
* Made plugin ids case-insensitive.murphy2009-01-016-12/+18
| | | | | With this change, upper case lang names are allowed like 'C'.
* Updated README.murphy2009-01-011-31/+27
|
* Completed YAML Scanner (closes #34).murphy2009-01-0115-1218/+1272
| | | | | | | | | | | | | 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.
* Removed yarv task.murphy2009-01-011-4/+0
|
* Less verbose rake output, but with Ruby version.murphy2008-12-252-1/+4
|
* Added Star Rating draft to repo and etc folder to coderay-lib.tmproj.murphy2008-12-252-8/+53
|
* JRuby fixes.murphy2008-12-253-5/+8
|
* Fixes for Ruby 1.9.murphy2008-12-2528-83/+2228
|
* Improved YAML Scanner (ticket #34).murphy2008-11-0711-896/+1164
| | | | | | * Added more YAML example files (website, database). * Minor code cleanup in Scanner.
* Fixed tests and YAML Scanner (#34)murphy2008-10-202-3/+3
| | | | | * The last commit (r262) also belongs to ticket #34.
* New: *YAML* (#53). Preparing for version 0.8.1.murphy2008-10-2020-9/+9557
| | | | | | | | | | | | | | * 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.
* New: *JSON* (closes #53). Version 0.8 is near!murphy2008-10-0813-42/+1433
| | | | | | | | | | | | * 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.
* New: *Simple Diff Scanner* (closes #22).murphy2008-09-3017-15/+4729
| | | | | | | | | | | | | | * 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.
* Optimized CSS styles, improved coderay_suite, new HTML test.murphy2008-09-244-17/+958
| | | | | | | * 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.
* Fixed the test for Java Scanner.murphy2008-09-211-2/+2
|
* Forgot to remove a line from SimpleRegexpScanner that I used for ↵murphy2008-09-211-2/+0
| | | | Scanners::Java::BuiltinTypes.
* New: *Java Scanner* (closes #42).murphy2008-09-2114-94/+103555
| | | | | | | | | | | | | | | | | | | * 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)
* New: *CSS Scanner* (closes #29).murphy2008-09-1810-1/+18142
| | | | | | | | | | * 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.
* New: *JavaScript Scanner* (closes #23).murphy2008-09-1610-10/+14780
| | | | | | | | | | | * 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 more file extensions to Scannersmurphy2008-09-1610-15/+27
| | | | | | | * Added file_extensions to Delphi, XML, Debug, Scheme, and NitroXHTML scanners. * Removed obsolete extension declarations from Scanner test suites. * Minor cleanups.
* More cleanup of todo folder.murphy2008-09-123-573/+79
|
* Some cleanup for the toto folder.murphy2008-09-112-0/+142
|
* Fixed coderay/for_redcloth escaping.murphy2008-08-282-3/+42
|
* Changed CodeRay.for_redcloth into require 'coderay/for_redcloth'.murphy2008-08-284-47/+40
| | | | | * Cleanup in documentation.rake.
* dated version number to 0.7.9, deleted ROADMAP.murphy2008-08-283-18/+2
|
* Added CodeRay.for_redcloth with test and documentation.murphy2008-08-284-0/+66
| | | | | | * Tested with RedCloth 4.0.3. * Also added :ee task for the Ruby Enterprise Edition (rubyee).
* Changed coderay_suite's defaults: 'noassert' option is now 'assert'.murphy2008-08-111-8/+8
|
* Added diff task and a Redmine TODO.murphy2008-08-113-8/+669
|
* Fixed FileType: .html.erb is now recognized as rhtml.murphy2008-08-112-13/+21
|
* Increased default test sample size. Test will check more and take more time.murphy2008-08-061-1/+1
|
* Fixed rdoc in coderay.rb.murphy2008-08-062-5/+6
|
* Changed test suite to test even big files. I hope you have a fast machine.murphy2008-08-041-4/+4
|
* [KK] Just a little code cleanup and new task 187.murphy2008-07-295-86/+13
|
* Improved Ruby scanner to use +/- signs only when appropriate (tests adjusted.)murphy2008-01-218-54/+58
| | | | | Ignore test/scanners/*/*.expected.html
* Trying to fix doc task for 1.9murphy2008-01-211-2/+6
|
* Test suite improved:murphy2008-01-211-63/+68
| | | | | | | | - 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