2014-01-20 09:37:03 +00:00
|
|
|
|
-------------------------------------------------------------------
|
2014-02-06 18:08:05 +00:00
|
|
|
|
Thu Feb 6 18:00:20 UTC 2014 - coolo@suse.com
|
|
|
|
|
|
|
|
|
|
|
|
- updated to version 3.4.0
|
|
|
|
|
|
* 1 major enhancement:
|
|
|
|
|
|
|
|
|
|
|
|
* Replaced hand-written/optimized f'd-up lexer with an oedipus_lex
|
|
|
|
|
|
generated lexer. This makes it roughly 40-50% faster.
|
|
|
|
|
|
|
|
|
|
|
|
* 30 minor enhancements:
|
|
|
|
|
|
|
|
|
|
|
|
* 2.0: Added support for a.b c() do d end.e do |f| g end
|
|
|
|
|
|
* 2.0: Added support for a.b c() do d end.e f do |g| h end
|
|
|
|
|
|
* Added -s flag to ruby_parse_extract_error to output timings.
|
|
|
|
|
|
* Added RubyLexer #command_state and #last_state to deal with oedipus_lex differences.
|
|
|
|
|
|
* Added String#lineno and #lineno= because I'm a bad bad person.
|
|
|
|
|
|
* Added a bunch of RubyLexer scanning methods: beginning_of_line?, check, scan, etc.
|
|
|
|
|
|
* Added a bunch of process_* methods extracted from old yylex. process_amper, etc.
|
|
|
|
|
|
* Added lib/.document to save my laptop's battery from pain and suffering
|
|
|
|
|
|
* Adjust lineno when we lex a bunch of blank lines.
|
|
|
|
|
|
* Attach lineno to tIDENTIFIER values (strings, ugh)
|
|
|
|
|
|
* Cleaned up and re-ordered node_assign to be faster (ordered by actual occurrance).
|
|
|
|
|
|
* Extend RubyParserStuff#gettable to set the lineno if it comes in with the id.
|
|
|
|
|
|
* Extended RubyParserStuff#new_case to take line number.
|
|
|
|
|
|
* Finally dropped RPStringScanner's BS #current_line.
|
|
|
|
|
|
* Finally dropped RPStringScanner's BS line number calculation (lineno).
|
|
|
|
|
|
* Implemented Sexp#add_all since we now have a test case for it.
|
|
|
|
|
|
* Removed :call case of node_assign. I don't think it is possible.
|
|
|
|
|
|
* Removed RubyLexer #extra_lines_added. No longer used. Complex heredoc lineno's possible screwed up.
|
|
|
|
|
|
* Removed RubyLexer#parse_number. Handled by oedipus_lex.
|
|
|
|
|
|
* Removed RubyLexer#yacc_value now that next_token returns pairs.
|
|
|
|
|
|
* Removed RubyLexer's @src. Now taken care of by oedipus_lex.
|
|
|
|
|
|
* Removed RubyParser#advance. RubyParser#next_token takes care of everything now.
|
|
|
|
|
|
* Removed RubyParserExtras#arg_add. (presidentbeef! YAY!)
|
|
|
|
|
|
* Removed lib/gauntlet_rubyparser.rb. I just don't use it anymore. Too slow.
|
|
|
|
|
|
* RubyLexer#is_label_possible? doesn't need an arg
|
|
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
2014-01-20 09:37:03 +00:00
|
|
|
|
Mon Jan 20 09:29:11 UTC 2014 - coolo@suse.com
|
|
|
|
|
|
|
|
|
|
|
|
- updated to version 3.3.0
|
|
|
|
|
|
* Notes:
|
|
|
|
|
|
|
|
|
|
|
|
39 files failed to parse out of ~834k files makes this 99.9953% or 4.07σ.
|
|
|
|
|
|
|
|
|
|
|
|
* 15 minor enhancements:
|
|
|
|
|
|
|
|
|
|
|
|
* 2.0: Parse kwarg as lvars. (chastell)
|
|
|
|
|
|
* Added RubyLexer#beginning_of_line?, check(re), end_of_stream?
|
|
|
|
|
|
* Added RubyLexer#process_token_keyword.
|
|
|
|
|
|
* Added RubyLexer#scan, #matched, #beginning_of_line? and others to decouple from internals.
|
|
|
|
|
|
* Added lexing of \u### and \u{###}."
|
|
|
|
|
|
* Added optimizations for simple quoted symbols.
|
|
|
|
|
|
* Aliased Lexer#src to ss (since that is what it is).
|
|
|
|
|
|
* Allow for 20 in parser class name.
|
|
|
|
|
|
* Modified parsers line number calculations for defn nodes.
|
|
|
|
|
|
* Removed Env#dynamic, #dynamic?, #use, #used?
|
|
|
|
|
|
* Removed RubyLexer#tern. Introduced and disused during 3.0 alpha. (whitequark)
|
|
|
|
|
|
* Removed unused RubyLexer#warnings.
|
|
|
|
|
|
* Renamed *_RE consts to just * (IDENT_CHAR, ESC, etc).
|
|
|
|
|
|
* new_defn now sets arg node line number directly.
|
|
|
|
|
|
* zero byte is allowed in symbols for 1.9 / 2.0.
|
|
|
|
|
|
|
|
|
|
|
|
* 11 bug fixes:
|
|
|
|
|
|
|
|
|
|
|
|
* 2.0: Fixed paren-less kwargs in defn.
|
|
|
|
|
|
* Don't bother with regexp encoding options on 1.9+ to avoid warnings.
|
|
|
|
|
|
* Fix constant re-build on ruby 2.0 + rake 10.
|
|
|
|
|
|
* Fix lexing of %i with extra whitespace. (flori)
|
|
|
|
|
|
* Fixed RubyParserStuff#new_body to deal with nonsensical code better (begin-empty+else). (snatchev)
|
|
|
|
|
|
* Fixed bug lexing h[k]=begin ... end. Use your space bars people!
|
|
|
|
|
|
* Fixed env scoping in new lambdas.
|
|
|
|
|
|
* Fixed handling of single array arg in attrasgn.
|
|
|
|
|
|
* Fixed test to call RubyLexer#reset between assertions.
|
|
|
|
|
|
* No longer assigning ivar/cvars to env. Only locals should be in env.
|
|
|
|
|
|
* Refactored initialize and reset to more properly re-initialize as needed.
|
|
|
|
|
|
|
2013-07-30 20:36:43 +00:00
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
|
Tue Jul 30 18:46:52 UTC 2013 - coolo@suse.com
|
|
|
|
|
|
|
|
|
|
|
|
- updated to version 3.2.2
|
|
|
|
|
|
|
|
|
|
|
|
* 5 bug fixes:
|
|
|
|
|
|
|
|
|
|
|
|
* 1.9/2.0: fixed assocs in return args. (presidentbeef)
|
|
|
|
|
|
* Fixed handling of parse error when class is nested in multiple defs. (whitequark)
|
|
|
|
|
|
* Fixed lexing of %w[] w/ funny whitespace separators. (whitequark)
|
|
|
|
|
|
* Fixed more call nodes that have trailing comma syntax. (presidentbeef)
|
|
|
|
|
|
* Fixed more call_args slippage.
|
|
|
|
|
|
|
|
|
|
|
|
=== 3.2.1 / 2013-07-03
|
|
|
|
|
|
|
|
|
|
|
|
* 1 bug fix:
|
|
|
|
|
|
|
|
|
|
|
|
* 1.9/2.0: Trailing assocs were being munged into arrays. (presidentbeef)
|
|
|
|
|
|
|
|
|
|
|
|
=== 3.2.0 / 2013-07-02
|
|
|
|
|
|
|
|
|
|
|
|
* 1 major enhancement:
|
|
|
|
|
|
|
|
|
|
|
|
* Added (rough draft) 2.0 support. Still missing some small / rare things.
|
|
|
|
|
|
|
|
|
|
|
|
* 12 minor enhancements:
|
|
|
|
|
|
|
|
|
|
|
|
* Added %i(symbol-names...) support. (%I too)
|
|
|
|
|
|
* Added 140 more tests, jumping test count from 1376 to 2143. Yay for test reuse!
|
|
|
|
|
|
* Added RubyLexer#brace_nest.
|
|
|
|
|
|
* Added compare20 rake task to diff the grammar architecture against MRI.
|
|
|
|
|
|
* Added lpar_beg and paren_nest to lexer to track state of parens in stabbies
|
|
|
|
|
|
* Added shadow nodes for scoped block args.
|
|
|
|
|
|
* Compound RubyParser now defaults to 2.0.
|
|
|
|
|
|
* Fixed rake to < 10, because 10's file dependency handling is so very broken.
|
|
|
|
|
|
* Made it possible to specify version in bin/ruby_parse_extract_error w/ -v 18|19|20
|
|
|
|
|
|
* Refactored to RubyParserStuff::ENCODING_ORDER to allow custom tweaking of encoding guessing. (samlown)
|
|
|
|
|
|
* Switched `rake debug` to default to 2.0.
|
|
|
|
|
|
* Translated some fixes across 1.8 and 1.9 from 2.0.
|
|
|
|
|
|
|
|
|
|
|
|
* 42 bug fixes:
|
|
|
|
|
|
|
|
|
|
|
|
* 2.0: Fixed a number of block args scenarios w/ kwargs
|
|
|
|
|
|
* 2.0: Fixed args_tail mismatching against lexer.
|
|
|
|
|
|
* 2.0: Fixed assocs to return a hash node.
|
|
|
|
|
|
* 2.0: Fixed f_block_kw production.
|
|
|
|
|
|
* 2.0: Fixed f_block_kwarg production.
|
|
|
|
|
|
* 2.0: Fixed handling of stabby proc args in parens.
|
|
|
|
|
|
* 2.0: Fixed lexing of kwsplat nodes.
|
|
|
|
|
|
* 2.0: Implemented kwsplat nodes.
|
|
|
|
|
|
* Added tUBANG to lexer.
|
|
|
|
|
|
...
|
|
|
|
|
|
|
2013-03-19 19:52:13 +00:00
|
|
|
|
-------------------------------------------------------------------
|
2013-04-20 15:48:13 +00:00
|
|
|
|
Sat Apr 20 15:47:11 UTC 2013 - coolo@suse.com
|
|
|
|
|
|
|
|
|
|
|
|
- updated to version 3.1.3
|
|
|
|
|
|
* 2 bug fixes:
|
|
|
|
|
|
|
|
|
|
|
|
* Fixed begin w/ else but no rescue. (whitequark)
|
|
|
|
|
|
* Removed literal stripping from block_append. Not its job.
|
|
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
2013-03-19 19:52:13 +00:00
|
|
|
|
Tue Mar 19 19:51:44 UTC 2013 - coolo@suse.com
|
|
|
|
|
|
|
|
|
|
|
|
- updated to version 3.1.2
|
|
|
|
|
|
* 1 minor enhancement:
|
|
|
|
|
|
|
|
|
|
|
|
* OMG A SECURITY ISSUE FOR CODE NOBODY USES... EVER
|
|
|
|
|
|
|
2012-12-22 07:30:42 +00:00
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
|
Sat Dec 22 07:30:18 UTC 2012 - coolo@suse.com
|
|
|
|
|
|
|
|
|
|
|
|
- updated to version 3.1.1
|
|
|
|
|
|
* 1 minor enhancement:
|
|
|
|
|
|
|
|
|
|
|
|
* Added MOVE_TIMEOUT env var for ruby_parse_extract_error to move slow files to a sibling directory
|
|
|
|
|
|
|
|
|
|
|
|
* 4 bug fixes:
|
|
|
|
|
|
|
|
|
|
|
|
* 1.9: Fixed lexing of "0o". (whitequark)
|
|
|
|
|
|
* 1.9: Fixed parsing of unary plus on literals. (whitequark)
|
|
|
|
|
|
* Added timeout arg to RubyParser#process to pass through to the real parser
|
|
|
|
|
|
* Updated Synopsis to reflect new options for running RP. (louismullie)
|
|
|
|
|
|
|
2012-12-07 09:04:57 +00:00
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
|
Fri Dec 7 09:04:40 UTC 2012 - coolo@suse.com
|
|
|
|
|
|
|
|
|
|
|
|
- updated to version 3.1.0
|
|
|
|
|
|
* 2 minor enhancements:
|
|
|
|
|
|
|
|
|
|
|
|
* Added RubyParser.for_current_ruby to provide a parser that matches your runtime. (neilconway)
|
|
|
|
|
|
* Duck-typed IDENT_CHAR_RE instead of using RUBY_VERSION
|
|
|
|
|
|
|
|
|
|
|
|
* 3 bug fixes:
|
|
|
|
|
|
|
|
|
|
|
|
* Cleared out body comments in class/module/defn/defs
|
|
|
|
|
|
* Flipped lexer tests to US-ASCII to avoid encoding hell
|
|
|
|
|
|
* yyerror is now an alias for syntax_error
|
|
|
|
|
|
|
2012-11-27 20:01:47 +00:00
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
|
Tue Nov 27 20:01:10 UTC 2012 - coolo@suse.com
|
|
|
|
|
|
|
|
|
|
|
|
- updated to version 3.0.4
|
|
|
|
|
|
* 1 bug fix:
|
|
|
|
|
|
|
|
|
|
|
|
* RPStringScanner#lineno was still using byte offset, not char offset. (brynary)
|
|
|
|
|
|
|
|
|
|
|
|
* 1 minor enhancement:
|
|
|
|
|
|
|
|
|
|
|
|
* Improved error output on invalid char in expression.
|
|
|
|
|
|
|
|
|
|
|
|
* 1 bug fix:
|
|
|
|
|
|
|
|
|
|
|
|
* Fixed lexing of no-name ivars. (whitequark)
|
|
|
|
|
|
|
|
|
|
|
|
52 down makes 99.9767% or 3.7σ. 130 files failed to parse out of 558k.
|
|
|
|
|
|
|
|
|
|
|
|
* 4 minor enhancements:
|
|
|
|
|
|
|
|
|
|
|
|
* Added RP_TIMEOUT env var to override default timeout of 10 seconds.
|
|
|
|
|
|
* Minor optimization to RubyLexer#parse_number
|
|
|
|
|
|
* Only output parseerror output to stderr if $DEBUG.
|
|
|
|
|
|
* ruby_parse_extract_error modified to include 'it' blocks in its search.
|
|
|
|
|
|
|
|
|
|
|
|
* 7 bug fixes:
|
|
|
|
|
|
|
|
|
|
|
|
* 1.9: Fixed args in dot-call forms (eg f.(...)).
|
|
|
|
|
|
* 1.9: Fixed lexing stabby lambda w/ do/end
|
|
|
|
|
|
* Deal better with DOS files. Ugh.
|
|
|
|
|
|
* Fix line number of production after heredoc.
|
|
|
|
|
|
* Fixed RubyParser#process to reuse parser instances across calls.
|
|
|
|
|
|
* Fixed line numbers for several productions.
|
|
|
|
|
|
* new_call sets line number to smallest line number of members.
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-11-03 10:04:36 +00:00
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
|
Sat Nov 3 10:03:40 UTC 2012 - coolo@suse.com
|
|
|
|
|
|
|
|
|
|
|
|
- updated to version 3.0.1, see the long History.txt
|
|
|
|
|
|
|
2012-07-15 12:11:20 +00:00
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
|
Sun Jul 15 12:11:04 UTC 2012 - coolo@suse.com
|
|
|
|
|
|
|
|
|
|
|
|
- fix gem requires
|
|
|
|
|
|
|
2012-03-27 10:57:23 +00:00
|
|
|
|
-------------------------------------------------------------------
|
2012-04-17 10:19:24 +00:00
|
|
|
|
Mon Apr 9 18:41:31 UTC 2012 - coolo@suse.com
|
|
|
|
|
|
|
|
|
|
|
|
- update to 2.3.1
|
|
|
|
|
|
* Fixed line numbers at end of special var+whitespace (larsch)
|
|
|
|
|
|
* Holy crap I was smokin' something good... Fixed 1.9.3 warning
|
|
|
|
|
|
* Add -g flag to parser compile if DEBUG
|
|
|
|
|
|
* Lexer now embeds line number in yacc_value for keywords, helping fix up line numbers
|
|
|
|
|
|
* Fix method line numbers when no args and no parens (quix)
|
|
|
|
|
|
* Fixed line numbers on return/break/next w/ result expr. (pjnz)
|
|
|
|
|
|
* Fixed some lexing state in order to parse: 'f (1), 2' as 'f(1, 2)'. (invernizzi)
|
|
|
|
|
|
* Moved Keyword, Environment, and StackState inside of RubyParser
|
|
|
|
|
|
* Added proper dsym and dsym->sym support.
|
|
|
|
|
|
* Added extra (failing) tests for call/iter line number checking (quix)
|
|
|
|
|
|
* Fixed line numbers for certain call/iter edge cases
|
|
|
|
|
|
* Fixed parsing of: alias :"<<" :">>".
|
|
|
|
|
|
* Added new accessor canonicalize_conditions to toggle conditional canonicalization (on by default). (confused)
|
|
|
|
|
|
* Awesome cleanup: Replaced call to append_block by block_append. (Confusion)
|
|
|
|
|
|
* Fixed handling last line of =begin/=end. (raybaxter)
|
|
|
|
|
|
* Fixed source line numbers after heredocs. (jbarreneche)
|
|
|
|
|
|
* Switched to hoe's racc plugin to clean up rakefile and builds
|
|
|
|
|
|
* Fixed empty =begin/end.
|
|
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------
|
2012-03-27 10:57:23 +00:00
|
|
|
|
Mon Mar 26 15:09:44 UTC 2012 - cfarrell@suse.com
|
|
|
|
|
|
|
|
|
|
|
|
- license update: MIT
|
2012-03-27 10:57:42 +00:00
|
|
|
|
See README.txt
|
2012-03-27 10:57:23 +00:00
|
|
|
|
|
2010-09-06 14:31:25 +00:00
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
|
Mon Sep 6 14:30:28 UTC 2010 - mrueckert@suse.de
|
|
|
|
|
|
|
|
|
|
|
|
- update to version 2.0.5
|
|
|
|
|
|
* Started merging like lexical cases to try to squeeze some
|
|
|
|
|
|
optimization out
|
|
|
|
|
|
|
2010-06-11 18:01:03 +00:00
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
|
Fri Jun 11 10:00:01 UTC 2010 - mrueckert@suse.de
|
|
|
|
|
|
|
|
|
|
|
|
- use rubygems_requires macro
|
|
|
|
|
|
|
2009-12-25 01:50:17 +00:00
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
|
Fri Dec 25 01:47:22 UTC 2009 - prusnak@suse.cz
|
|
|
|
|
|
|
|
|
|
|
|
- update to 2.0.4
|
2010-09-06 14:31:25 +00:00
|
|
|
|
* Changed requires around to be more accurate.
|
|
|
|
|
|
* Fixed .autotest for minitest
|
|
|
|
|
|
* Fixed emacs escape lexing bug: "\C-\\" (maglev/gemstone)
|
|
|
|
|
|
* Fixed octal lexing edgecases. (maglev/gemstone)
|
|
|
|
|
|
* Fixed regexp lexing edgecases. (maglev/gemstone)
|
2009-12-25 01:50:17 +00:00
|
|
|
|
|
2009-08-18 19:55:52 +00:00
|
|
|
|
-------------------------------------------------------------------
|
|
|
|
|
|
Sun Jul 26 15:23:05 CEST 2009 - dmacvicar@suse.de
|
|
|
|
|
|
|
|
|
|
|
|
- initial package for 2.0.3
|
|
|
|
|
|
|