summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Python Scanner (issue #41) updated:murphy2009-06-133-541/+560
| | | | | | | | * class and method definitions are highlighted * improved keyword argument recognition (less false positives) * backticks are operators now * from/import support still missing
* New: Plugin.title (closes #96)murphy2009-06-097-1/+14
| | | | | | | The title saves the real name for a language, like "C++"...something that can't be deduced from the class name. And a version fix in the README.
* Benchmark: Actually, the abbreviation for second is s, not sec.murphy2009-06-091-4/+4
|
* Fixed XML Encoder; closes #94.murphy2009-06-091-1/+1
|
* Fixed an issue with predefined idents in the Python Scanner.murphy2009-06-071-0/+1
| | | | | * @file=@ should not be recognized as the predefined method @file@.
* Improved UTF-8 support for Ruby Scanner. Also fixed a minor bug.murphy2009-06-076-11/+98
| | | | | | | | | * closes #108 (new Ruby 1.9 call operator syntax sugar) * Added an example for unicode code. * automatic UTF-8 detection (experimental) * Still problems with different Ruby versions; new unicode test fails in Ruby 1.9 and JRuby.
* Removed obsolete :level property from HTML Encoder.murphy2009-06-071-1/+1
| | | | | Thanks to Gavin for pointing that out.
* Changed a $DEBUG raise into a puts (issue #99).murphy2009-05-021-1/+1
| | | | Thanks to sunaku for reporting this.
* RubyEE no longer included in test:all.murphy2009-04-221-1/+1
| | | | | It always reacts the same way as my default Ruby 1.8.
* Fixed a minor bug in the YAML scanner.murphy2009-04-221-1/+2
|
* Cleanups and minor fixes to PHP scanner (issue #36).murphy2009-04-222-27/+20
|
* More cleanup.murphy2009-04-221-4/+4
|
* SQL scanner cleanup (issue #33).murphy2009-04-222-12/+15
| | | | | * Increased size of the test suite random samples.
* Improved Python scanner (issue #41).murphy2009-04-2210-120/+221
| | | | | | | | * fixed numeric literals * better Python 3 support * bugfixes, optimizations * added two more test files
* Lots of improvements for the PHP scanner.murphy2009-04-223-614/+635
|
* Test cleanup.murphy2009-04-207-3121/+2990
| | | | | | * Fixed Scheme and SQL scanner tests after last bugfix. * Removed obsolete Python test file.
* Many improvements to PHP Scanner.murphy2009-04-205-1937/+2044
| | | | | | | | * 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
* FIXED: CaseIgnoringWordList respects default value (closes #97).murphy2009-04-202-0/+5
| | | | | * Test cases added.
* New: *PHP and SQL Scanners*murphy2009-04-2020-4/+13036
| | | | | | | | * 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.
* Added some version patches and other files.murphy2009-04-205-6/+1674
| | | | | | * The check-coderay-gem-stats.sh script prints the current rank of CodeRay in the RubyForge gem download statistics ^_^
* Fixed some test suite problems.murphy2009-04-204-20/+23
| | | | | | | * coderay_suite: UTF-8 output is compared as binary. * functional tests: cleaned up. * test/unit: prevent Ruby 1.9 warning about circular require.
* Added test outputs for Python.murphy2009-04-204-0/+36976
|
* Experimental Unicode support for Scanners in Ruby 1.9.murphy2009-04-202-2/+17
| | | | | | | * Python scanner uses it for idents. * Scanner#column method needed to be fixed for multibyte characters because StringScanner#pos still works on bytes.
* Updated some comments for XML and HTML encoder.murphy2009-04-202-1/+1
| | | | | | * XML encoder is actually broken! REXML fault? * Firefox can handle long HTML tables now.
* New: *JSON Encoder*murphy2009-04-201-0/+19
| | | | | Very simple. Not streamable yet.
* Java scanner:murphy2009-04-143-12/+14
| | | | | | | | | | | * 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.
* Added some CodeRay grafics: an icon and a rainbow Ruby-chan :)murphy2009-04-145-0/+0
| | | | | You can see them on the CodeRay website coderay.rubychan.de.
* New: *Python Scanner* (feature #41)murphy2009-04-146-14/+37068
| | | | | | | | | | | | | | | | * 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.
* 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
|