summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fixed generate:scanner task; it now also sets the file_extension.murphy2009-04-142-2/+4
| | | | | | | For example, to create a stub for the Python Scanner, I can use: rake generate:scanner NAME=python BASE=c EXT=py
* Fixing sample tests.murphy2009-04-1411-109/+214
|
* Using the new :title option in coderay_suite.rb.murphy2009-04-141-1/+2
|
* Added a :title option for the HTML Encoder. Closes #55.murphy2009-04-142-2/+18
|
* Added a generate:scanner task for easy Scanner generation.murphy2009-04-141-0/+74
| | | | | | | | | | 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.
* JavaScript scanner: Fixed string keys (closes #85).murphy2009-02-202-83/+82
|
* Fixed highlighting in documentation (#86).murphy2009-02-201-1/+1
|
* Removed subversion $Id$ lines.murphy2009-02-208-16/+1
|
* Java scanner highlights interface declarations as :class.murphy2009-02-201-1/+1
|
* Fixed a bug in for_redcloth.rb (closes #87).murphy2009-02-185-2/+40
| | | | | | * No more closing PRE tags in RedCloth output. * Added j, j19, and test:functional:all tasks.
* Fixed documentation of CodeRay module (was not included by doc task).murphy2009-02-071-0/+1
|
* Fixed CSS scanner (closes #72).murphy2009-02-066-9/+1417
| | | | | | | * handles url(...) outside of blocks * handles @media * handles [attribute=selectors] (too simple, added TODO)
* Updated version number (to 0.9.0) and gem information.murphy2009-02-066-14/+14
|
* Ruby scanner: Even more fixes for control and meta escape sequences.murphy2009-02-063-9/+30
| | | | | * I think I got it right this time.
* Ruby scanner: Fixed rarely used \c, \C-, and \M- escape sequences.murphy2009-02-056-14/+46
| | | | | | | * JavaScript scanner: elaborate a comment * SimpleRegexpScanner: Just some testing with the Ruby stack. * coderay-lib.tmproj: I should just remove it from the repo...
* Fixed a Ruby 1.8 compatibility bug in Groovy Scanner.murphy2009-01-222-1/+5
| | | | | * Also added jruby19 task (jruby --1.9 mode).
* Added another Groovy test (thanks to raistlin77 again).murphy2009-01-222-0/+966
|
* New feature: HTML encode option :highlight_lines. See documentation.murphy2009-01-225-9/+37
| | | | | | * The scanner test suite uses it and highlights the lines that differ after a failed complete test in *.actual.html.
* Fixed JavaScript scanner, highlighting of strings as keys.murphy2009-01-221-4/+12
|
* Updated Groovy Scanner (feature #60).murphy2009-01-226-551/+645
| | | | | | | * Code inside ${...} is highlighted; works nested. * various minor bugfixes * Some string related problems remain. Groovy is strange!
* Updated cYcnus style (grayscale colors).murphy2009-01-131-5/+5
|
* Update for the Bash Scanner (todo).murphy2009-01-132-6/+4
|
* 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.