summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Made CodeRay ready Ruby 1.9:murphy2006-10-172-2/+2
| | | | | | - tests failed because :symbol.is_a? String. - ...and Array#shuffle! is already built into Ruby 1.9
* Moved scanner tests into test/scanners.murphy2006-10-1576-9/+10
|
* benchmark.rake: fixed pathname murphy2006-10-151-1/+1
|
* Tests:murphy2006-10-1514-1004/+1125
| | | | | | | | | | | | | | | | - improved coderay_suite.rb (random and shuffled tests, max parameter, scannerlang->lang, sorted test cases...) - changed html output extension to .actual.html to svn:ignore them - fixed some tests (deleted $Id$ etc.) - made XHTML testcase work Scanners: - fixed HTML, Delphi and Nitro scanners thanks to new tests Engine: - Tokens#fix and #fix! added (yet to be tested) - improved Scanner#raise_inspect a bit Converted more files to UNIX format (go away, stinkin' \r!)
* Added import task to get updates from rubyforge trunk.murphy2006-10-151-0/+14
|
* Ruby scanner: deleted regexp highlighting (didn't work anyway)murphy2006-09-285-43/+66
| | | | | HTML highlighter: unknown token classes now yield a CSS class with that name instead of :error A new Ruby test
* Workaround for YAML gem index generation (f*ck Zlib!)murphy2006-07-112-4/+3
| | | | Updated README version
* Yes, added coderay_stylesheet executable.murphy2006-07-111-0/+4
|
* Fixed Plaintext scanner (crashed on empty text - ouch!!)murphy2006-07-112-2/+3
| | | | Added coderay_stylesheet executable (should be "coderay stylesheet css" or just "coderay sty" some day.)
* Ruby 1.8.2 is enough, so use >= instead of >.murphy2006-07-111-1/+1
|
* Set gem requirement for Ruby 1.8.2+.murphy2006-07-111-0/+1
|
* Updated gem.rake for Rubygems 0.9.0.murphy2006-07-111-1/+1
|
* Declared version 0.7.2.murphy2006-07-111-1/+1
| | | | changelog.txt updated.
* Ignore test outputs in test/delphi.murphy2006-07-110-0/+0
|
* Ignore html/tolkien.html.murphy2006-07-111-291/+0
|
* Finally, renamed nitro-xhtml to nitro. Subversion got in the way.murphy2006-07-113-0/+0
|
* Oups, I forgot the totally revamped test system.murphy2006-07-111-0/+150
|
* Ignore XML test output.murphy2006-07-111-198/+0
|
* Totally revamped test system. Nitro will be fixed soon.murphy2006-07-1145-14179/+40865
| | | | | A bunch of new tests. Delphi and XML are now tested, too. bench/example.dump deleted (depends on Ruby version, OS, whatever. Nothing for the repo.)
* rake test now runs in debug mode.murphy2006-07-1124-1662/+1662
| | | | All .rb files converted to UNIX format (where did the \r come from?)
* Changed error handling of all scanners: :error tokens are OK now, even in ↵murphy2006-07-1110-1547/+1586
| | | | | | | | | | | | | debug mode, but token kind is nil unless assigned. Small fixes for C and Ruby scanners. Renamed local variable type to kind in Ruby scanner. Improved RHTML scanner to recognize -%> as delimiter. HTML encoder: improved handling of malformed token strings. Fixed PluginHost#inspect including docu. Scanner#raise_inspect also shows state if given.
* Adjusted Test outputs after re-indentation.murphy2006-07-118-66/+66
|
* Big re-indenting - no more tabs!murphy2006-07-1064-3852/+3847
|
* Test case for open heredoc problem.murphy2006-07-102-0/+3
|
* Fixed another bug in the Ruby scanner, this time it was unfinished heredocs ↵murphy2006-07-093-575/+576
| | | | | | with empty delimiter. Fixed documentation uploading.
* Logo grafic added.murphy2006-07-091-0/+0
|
* [BUG] Fixed bug in Ruby-Scanner (input ends with unfinished escape in ↵murphy2006-07-093-0/+5
| | | | | | string) (thanks to bovi again.) Test case added.
* Link to new website in gem.murphy2006-07-051-1/+1
|
* Fixed FTP password retrieving when working directory is changed.murphy2006-06-281-6/+6
|
* Encoders::HTML: Removed option caching.murphy2006-06-281-9/+1
|
* Test suite didn'T work when LANG was set in environment.murphy2006-06-281-1/+1
|
* Fix:murphy2006-06-288-31/+43
| | | | | | | | | | | | | | HTML Scanner: Fixed a nasty bug with invalid entities. Thanks to Daniel Bovensiepen. Scanner: added Scanner.normify. Plugin: small documentation fix. Code statistic: added lib root folder rake_helpers/code_statistics.rb: added ability to include non-Ruby code in the statistics used it to count the mountain of test data There is some mixed space/tab indentation now. Complete 2-space-re-indentation will follow.
* Updated tests.murphy2006-05-112-1/+3
|
* new version: 0.7.1murphy2006-05-116-13/+47
| | | | | | | improved bin/coderay and included it into package added gem:install task added Duo#highlight (alias for encode) fixed a Plugin bug
* New Version: 0.7.0!murphy2006-04-1913-21/+28677
| | | | | | | | | | | Adjusted gem.rake. HTML scanner fixed. Enhanced filetype.rb: .rake files, xml, yaml (preparing for YAML scanner.) Enhanced test/ruby/1.in.rb. Added XML scanner with example. plugin.rb: made all_plugin_names public.
* README updated.murphy2006-04-161-10/+18
|
* Re-indented everything. Sorry to break the blame chain.murphy2006-04-1629-242/+275
|
* test.rake: debug tags deleted (use rake test diff=+)murphy2006-04-164-16/+15
| | | | | | gem.rake: renamed up_gem to upload and fixed. Rakefile: added upload meta task. ftp.rb: do login only once.
* test/suite.rb improved: now takes diff and lang arguments from rake.murphy2006-04-161-6/+7
|
* All scanners revisited not to produce errors unless in DEBUG mode. [thx@Daniel]murphy2006-04-1615-24/+47
| | | | | | | Fixed numerization for input not ending with \n. Added test cases in C scanner tests. Added WoNáDo as contributer for last Ruby scanner fix. Updated TODO.
* Rake tasks completely redone.murphy2006-04-1610-390/+280
| | | | rdoctask2.rb deleted; issues were fixed as of Rake 0.7.0.
* FOLDERS documentation added.murphy2006-04-153-6/+235
| | | | Rakefile updated.
* Moved remotelymurphy2006-04-151-101/+0
|
* Moved remotelymurphy2006-04-154-0/+0
|
* styles/_map.rb added. :cycnus is now default style. html/css.rb adjusted.murphy2006-04-159-45/+60
| | | | | | | | | | ROADMAP and TODO updated. Ruby scanner: Fixed a bug: Fancy strings don't allow \w delimiters. They _do_ also allow whitespace delimiters, but adding this would cause many scan errors. So I leave this bug unfixed.
* Large update: Scanners for HTML, RHTML and Nitro-XHTML added.murphy2006-04-1041-741/+2252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | CSS style changes/enhancments (mainly the new background color for inline code, affects all Ruby code.) Demos and tests adjusted. Plugin: new PluginHost::default method. Scanner: - New setup method - ability to re-use a scanner - ability to keep the tokens - minor changes to token caching and string flattening Encoder: Error if token content is neither String nor Symbol. HTML encoder: - more warnings for unclosed tokens - output now UTF-8 Ruby Scanner: - bug: symbols before => now do not include =; {:foo=>bar} is valid Ruby code - try to close all open tokens - constants now all with specific namespace (for speed, I hope) Styles: new :entity/en class. Test suite now gives hinted HTML output.
* Added HTML scanner!murphy2006-04-0411-13/+969
| | | | | | | Added test/html/suite.rb and tolkien.in.html test. Benchmark produces inline line numbers now. Minor changes to Ruby and C scanners. Rakefile: unit tests now in -d mode.
* Ruby Scanner: Capital methods (Kernel#Array etc.) are now highlighted as idents.murphy2006-03-245-58/+58
| | | | | Tests adjusted. highlight.rb updated.
* HTML Encoder: inline numerization corrected.murphy2006-03-2313-36/+186
| | | | | | | | New demo: demo/demo_html_list.rb. Some demos adjusted. C Scanner: error messages fixed. Rakefile: test_demos now in debug mode. test/suite.rb is using reusable Scanners now.
* Made caching demo more expressing.murphy2006-03-211-2/+2
|