summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-27id.h.tmpl: ANDOP and OROPnobu
* template/id.h.tmpl (token_op_ids): define && and || for ripper. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-27parse.y: optimize IDs in rippernobu
* parse.y: optimize ripper_intern calls, ::, **, -@, +@, <=>, >=, <=, ==, ===, !=, =~, !~, <<, >>, and call. * parse.y: use initialized IDs, warn and warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-27symbol.h: optimize ID2SYMnobu
* symbol.h (rb_id2sym): optimize for predefined IDs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-27test_parser_events.rb: split test_binarynobu
* test/ripper/test_parser_events.rb (test_binary): split for each operators. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-27gc.c: fix no lazy sweep modenobu
* gc.c (gc_sweep_rest): sweep rest pages regardless of whether lazy sweep is enabled or not. based on the patch by Masahiro Ide at [ruby-dev:48706]. [Bug #10431] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-27* 2014-10-27svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-27test/ruby/test_process.rb: reduce garbage during forksnormal
* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking): reduce garbage during forks This seems to reduce failures on my memory-constrained VM when doing a full test-all. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-26commit missduerst
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-26template/insns.inc.tmpl, insns_info.inc.tmpl, known_errors.inc.tmpl,duerst
minsns.inc.tmpl: fixed path of generating script. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-26parse.y: Ripper.sexp returns errornobu
* ext/ripper/lib/ripper/sexp.rb (Ripper.sexp, Ripper.sexp_raw): return nil on error. [ruby-dev:48678] [Bug #10405] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-26ChangeLog: remove conflict marknobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-26string.c: improved comment.duerst
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-25A test renamed.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-25* 2014-10-26svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-25ext/win32ole/win32ole.c (ole_val2variant, ole_invoke): refactoring.suke
use ole_variant2variant to convert WIN32OLE_VARIANT object to VARIANT object. ext/win32ole/win32ole_variant.c: refactoring. add ole_variant2variant. ext/win32ole/win32ole_variant.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-25* io.c (io_binwrite_string): Test writev() failure.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-25test/test-unicode_normalize.rb: added test_us_ascii.duerst
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-25lib/unicode_normalize/normalize.rb: added US_ASCIIduerst
as trivially supported encoding (is always normalized, and may appear mixed in with UTF-8 or other Unicode encodings). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-25* remove trailing spaces.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-25test/test-unicode_normalize.rb: added ↵duerst
test_raise_exception_for_non_unicode_encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-25test/test-unicode_normalize.rb: removed unused function.duerst
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-25template/unicode_norm_gen.tmpl: Adjusted name of generating file.duerst
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-25template/unicode_norm_gen.tmpl: from tool/unicode_norm_gen.rbnobu
* template/unicode_norm_gen.tmpl: use generic_erb.rb to update if changed and manage timestamp, so that source tree on read-only filesystem works. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-25* 2014-10-25svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-25rake/cpu_counter.rb: use Etc.nprocessorsnobu
* lib/rake/cpu_counter.rb (count): prefer Etc.nprocessors, which is hundreds times faster. * test/rake/test_rake_cpu_counter.rb: add tests for features, and remove useless tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-24parse.y: fix fluent interface identifiernobu
* parse.y (parser_yylex): dispatch newline and space at fluent interface, so that the following identifier does not include the space. [ruby-dev:48684] [Bug #10411] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-24parse.y: indentnobu
* parse.y (parser_yylex): adjust indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-24* signal.c (check_reserved_signal_): fix write count since r47991.kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-24fix a typo [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-24make-snapshot: fix gems updatenobu
* tool/make-snapshot (package): call system and IO.popen with arguments array, add macros NULLCMD and RUNRUBY to update gems, and not subsitute string interpolations which are used in update-gems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-23test_object.rb: for r48118nobu
* test/ruby/test_object.rb: assertion for r48118. defined method should be called. [Bug #10421] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-23* 2014-10-24svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-23vm_method.c: get rid of cachenobu
* vm_method.c (rb_method_entry_make): get rid of storing method cache, so that the added method will be called later. [ruby-dev:48691] [Bug #10421] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-23common.mk: timestamp for update-unicodenobu
* common.mk (.update-unicode.time): timestamp not to download same files twice at one build. [Bug #10415] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-23fix typo [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-23test/-ext-/hash/test_delete.rb: assert deleted valuesnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-23hash.c: rb_hash_delete does not call the blocknobu
* hash.c (rb_hash_delete): now does not call the block given to the current method. [ruby-core:65861] [Bug #10413] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-23test_unicode_normalize.rb: show error messagesnobu
* test/test_unicode_normalize.rb (generate_test_normalize): defer building explicit error messages until assertion failed. this is 3% slower than @@debug = false. (generate_test_check_true): ditto. (generate_test_check_false): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-23test_object.rb: avoid confusing ruby-mode.elnobu
* test/ruby/test_object.rb: get rid of confusing ruby-mode.el string highlight. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-23vm_method.c: no redefinition warnings for undefined methodsnobu
* vm_method.c (rb_method_entry_make): warn redefinition only for already defined methods, but not for undefined methods. [ruby-dev:48691] [Bug #10421] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-23* lib/rexml/source.rb (REXML::IOSource#encoding_updated): Fix akou
bug that can't parse XML correctly when Encoding.default_internal is different with XML encoding. REXML::Source converts XML encoding on read. So IO should not convert XML encoding. Based on patch by NAKAMURA Usaku. [ruby-dev:48686] [Bug #10418] * test/rexml/test_encoding.rb (REXMLTests::EncodingTester#test_parse_utf16_with_utf8_default_internal): Add the for the above case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-23* test/rexml/test_encoding.rbkou
(REXMLTests::EncodingTester#test_parse_utf16): Use meaningful test name. "ticket" in the old test name means the ticket in REXML's issue tracker. The REXML's issue tracker was gone. So "ticket" is meaningless. * test/rexml/data/ticket_110_utf16.xml: Rename to ... * test/rexml/data/utf16.xml: ... this. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-23* test/rexml/test_encoding.rbkou
(REXMLTests::EncodingTester#test_ticket_110): Fix expected and actual order. Patch by NAKAMURA Usaku. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-23insns.def: add comments to def/opt_operand.defnormal
* insns.def (getlocal,setlocal): add comment to def/opt_operand.def I spent some time thinking about the same optimization before realizing it was already done. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-23test/ruby/test_process.rb: use io/wait instead of timeoutnormal
Occasionally I get timeout errors during this test on an overloaded system, so we may need to increase timeouts anyways. For now, avoid the overhead of thread creation for every read we do. * test/ruby/test_process.rb (test_deadlock_by_signal_at_forking): use IO#wait_readable instead of timeout git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-23test/ruby/test_process.rb: ensure exit! on fork failurenormal
* test/ruby/test_process.rb (test_deadlock_by_signal_at_forking): ensure exit! on fork failure git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-23NEWS: Added String#unicode_normalize(|!|d?) [ci skip]duerst
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-22class.c: delete expected keywords directlynobu
* class.c (unknown_keyword_error): delete expected keywords directly from raw table, so that the given block is not called. [ruby-core:65837] [Bug #10413] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-22common.mk: update unicode files every timesnobu
* common.mk (update-unicode): invert dependency to run every times. [ruby-core:65842] [Bug #10415] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-10-22* 2014-10-23svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e