summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Updated Groovy scanner: using word lists from Java scanner.murphy2009-10-192-135/+135
|
* Updated Java scanner: Higlighting of keywords according to java.sun.com.murphy2009-10-191-2468/+2468
| | | | | | * added :reserved, :pre_constant, :exception classes for idents and keywords * "threadsafe" isn't a Java keyword
* Updated Ruby scanner:murphy2009-10-196-210/+210
| | | | | | | * cleanup (FIXMEs, dead code, comments) * improved value_expected detection using VALUE_EXPECTING_KEYWORDS * support for self.method style definitions
* Updated CSS scanner: element selectors are highlighted as :type.murphy2009-10-195-1372/+1372
|
* JavaScript scanner updated:murphy2009-10-197-933/+54861
| | | | | | | | | * false, null, true, undefined are :pre_constant now * fixed floats starting with a dot * added support for XML literals (cool!) * function definitions are detected and highlighted as :function * added Prototype, SunSpider and TraceMonkey tests as test code
* New Scanner: *C++* (#76)!murphy2009-10-199-0/+18180
| | | | | | There's a problem with the ternary operator (?:) and labels which needs to be fixed in C, C++ and PHP scanners. I'll get to that soon.
* Removing C++ tests from C test suite.murphy2009-10-192-1036/+0
|
* Testing for_redcloth and lines_of_code.murphy2009-10-181-1/+48
|
* Testing whether #dup works for WordList as expected.murphy2009-10-181-0/+9
|
* Added LinesOfCode encoder (issue #123) - simple version.murphy2009-06-291-0/+30
|
* Fixed for_redcloth for latest RedCloth (4.2.0+) versions (issue #119).murphy2009-06-202-2/+2
|
* Fixed an issue with the YAML class being redefined by the scanners tests.murphy2009-06-171-1/+2
|
* Forgotten test file.murphy2009-06-131-779/+779
|
* Python Scanner (issue #41) updated:murphy2009-06-132-489/+489
| | | | | | | | * class and method definitions are highlighted * improved keyword argument recognition (less false positives) * backticks are operators now * from/import support still missing
* Improved UTF-8 support for Ruby Scanner. Also fixed a minor bug.murphy2009-06-074-0/+68
| | | | | | | | | * 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.
* Cleanups and minor fixes to PHP scanner (issue #36).murphy2009-04-221-2/+2
|
* SQL scanner cleanup (issue #33).murphy2009-04-221-4/+4
| | | | | * Increased size of the test suite random samples.
* Improved Python scanner (issue #41).murphy2009-04-227-101/+171
| | | | | | | | * fixed numeric literals * better Python 3 support * bugfixes, optimizations * added two more test files
* Lots of improvements for the PHP scanner.murphy2009-04-222-509/+509
|
* 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-203-1825/+1825
| | | | | | | | * 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-201-0/+4
| | | | | * Test cases added.
* New: *PHP and SQL Scanners*murphy2009-04-2016-0/+12580
| | | | | | | | * 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.
* 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
|
* Java scanner:murphy2009-04-141-7/+7
| | | | | | | | | | | * 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.
* New: *Python Scanner* (feature #41)murphy2009-04-144-0/+36847
| | | | | | | | | | | | | | | | * 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.
* Using the new :title option in coderay_suite.rb.murphy2009-04-141-1/+2
|
* JavaScript scanner: Fixed string keys (closes #85).murphy2009-02-201-72/+72
|
* Fixed a bug in for_redcloth.rb (closes #87).murphy2009-02-181-2/+20
| | | | | | * No more closing PRE tags in RedCloth output. * Added j, j19, and test:functional:all tasks.
* Fixed CSS scanner (closes #72).murphy2009-02-065-3/+1389
| | | | | | | * handles url(...) outside of blocks * handles @media * handles [attribute=selectors] (too simple, added TODO)
* Ruby scanner: Even more fixes for control and meta escape sequences.murphy2009-02-062-0/+16
| | | | | * I think I got it right this time.
* Ruby scanner: Fixed rarely used \c, \C-, and \M- escape sequences.murphy2009-02-052-2/+28
| | | | | | | * JavaScript scanner: elaborate a comment * SimpleRegexpScanner: Just some testing with the Ruby stack. * coderay-lib.tmproj: I should just remove it from the repo...
* Added another Groovy test (thanks to raistlin77 again).murphy2009-01-222-0/+966
|
* New feature: HTML encode option :highlight_lines. See documentation.murphy2009-01-221-5/+11
| | | | | | * The scanner test suite uses it and highlights the lines that differ after a failed complete test in *.actual.html.
* Updated Groovy Scanner (feature #60).murphy2009-01-225-518/+588
| | | | | | | * Code inside ${...} is highlighted; works nested. * various minor bugfixes * Some string related problems remain. Groovy is strange!
* New: *Groovy Scanner* (feature #60)murphy2009-01-133-0/+21910
| | | | | | | | | | | * 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-131-2447/+2447
|
* Ruby Scanner: Shebang comments are highlighted as :doctype.murphy2009-01-135-48/+48
|
* Fixed a bug in Ruby scanner that broke tests with JRuby.murphy2009-01-111-3/+7
|
* Made plugin ids case-insensitive.murphy2009-01-011-1/+1
| | | | | With this change, upper case lang names are allowed like 'C'.
* Completed YAML Scanner (closes #34).murphy2009-01-0110-1190/+1234
| | | | | | | | | | | | | 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.
* JRuby fixes.murphy2008-12-252-3/+5
|
* Fixes for Ruby 1.9.murphy2008-12-2521-21/+2160
|
* Improved YAML Scanner (ticket #34).murphy2008-11-079-885/+1129
| | | | | | * Added more YAML example files (website, database). * Minor code cleanup in Scanner.
* Fixed tests and YAML Scanner (#34)murphy2008-10-201-2/+2
| | | | | * The last commit (r262) also belongs to ticket #34.
* New: *YAML* (#53). Preparing for version 0.8.1.murphy2008-10-2012-0/+9326
| | | | | | | | | | | | | | * 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-089-0/+1316
| | | | | | | | | | | | * 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-306-1/+4539
| | | | | | | | | | | | | | * 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-243-16/+957
| | | | | | | * 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.