aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 2014-10-27svn2014-10-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_process.rb: reduce garbage during forksnormal2014-10-272-3/+11
| | | | | | | | | | * 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
* commit missduerst2014-10-261-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* template/insns.inc.tmpl, insns_info.inc.tmpl, known_errors.inc.tmpl,duerst2014-10-264-4/+4
| | | | | | 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
* parse.y: Ripper.sexp returns errornobu2014-10-264-3/+72
| | | | | | | * 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
* ChangeLog: remove conflict marknobu2014-10-261-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: improved comment.duerst2014-10-262-6/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* A test renamed.akr2014-10-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-10-26svn2014-10-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/win32ole/win32ole.c (ole_val2variant, ole_invoke): refactoring.suke2014-10-254-11/+26
| | | | | | | | | | | | 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
* * io.c (io_binwrite_string): Test writev() failure.akr2014-10-253-0/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/test-unicode_normalize.rb: added test_us_ascii.duerst2014-10-252-0/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/unicode_normalize/normalize.rb: added US_ASCIIduerst2014-10-252-0/+11
| | | | | | | | 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
* * remove trailing spaces.svn2014-10-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/test-unicode_normalize.rb: added ↵duerst2014-10-252-0/+11
| | | | | | test_raise_exception_for_non_unicode_encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/test-unicode_normalize.rb: removed unused function.duerst2014-10-252-8/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* template/unicode_norm_gen.tmpl: Adjusted name of generating file.duerst2014-10-252-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* template/unicode_norm_gen.tmpl: from tool/unicode_norm_gen.rbnobu2014-10-252-68/+85
| | | | | | | | * 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-25svn2014-10-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rake/cpu_counter.rb: use Etc.nprocessorsnobu2014-10-252-28/+58
| | | | | | | | | | * 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
* parse.y: fix fluent interface identifiernobu2014-10-243-0/+16
| | | | | | | | * 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
* parse.y: indentnobu2014-10-241-5/+5
| | | | | | * parse.y (parser_yylex): adjust indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (check_reserved_signal_): fix write count since r47991.kazu2014-10-242-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo [ci skip]kazu2014-10-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make-snapshot: fix gems updatenobu2014-10-241-12/+18
| | | | | | | | | * 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
* test_object.rb: for r48118nobu2014-10-231-2/+5
| | | | | | | * 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-24svn2014-10-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_method.c: get rid of cachenobu2014-10-231-1/+2
| | | | | | | | * 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
* common.mk: timestamp for update-unicodenobu2014-10-231-3/+8
| | | | | | | * 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
* fix typo [ci skip]kazu2014-10-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/-ext-/hash/test_delete.rb: assert deleted valuesnobu2014-10-232-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* hash.c: rb_hash_delete does not call the blocknobu2014-10-237-7/+65
| | | | | | | * 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
* test_unicode_normalize.rb: show error messagesnobu2014-10-231-23/+15
| | | | | | | | | | | * 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
* test_object.rb: avoid confusing ruby-mode.elnobu2014-10-231-3/+3
| | | | | | | * 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
* vm_method.c: no redefinition warnings for undefined methodsnobu2014-10-233-1/+13
| | | | | | | | * 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
* * lib/rexml/source.rb (REXML::IOSource#encoding_updated): Fix akou2014-10-233-1/+24
| | | | | | | | | | | | | | | | 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
* * test/rexml/test_encoding.rbkou2014-10-233-2/+13
| | | | | | | | | | | | | (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
* * test/rexml/test_encoding.rbkou2014-10-232-1/+8
| | | | | | | | | (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
* insns.def: add comments to def/opt_operand.defnormal2014-10-232-0/+6
| | | | | | | | | * 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
* test/ruby/test_process.rb: use io/wait instead of timeoutnormal2014-10-232-4/+9
| | | | | | | | | | | | 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
* test/ruby/test_process.rb: ensure exit! on fork failurenormal2014-10-232-2/+11
| | | | | | | * 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
* NEWS: Added String#unicode_normalize(|!|d?) [ci skip]duerst2014-10-232-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* class.c: delete expected keywords directlynobu2014-10-223-1/+24
| | | | | | | | * 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
* common.mk: update unicode files every timesnobu2014-10-222-3/+6
| | | | | | | * 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-23svn2014-10-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* common.mk: update source treenobu2014-10-222-3/+10
| | | | | | | * common.mk (after-update): update files under source tree. [ruby-core:65840] [Bug #10414] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/ssl.rb (DEFAULT_PARAMS): overridenagachika2014-10-222-0/+7
| | | | | | | options even if OpenSSL::SSL::OP_NO_SSLv3 is not defined. this is pointed out by Stephen Touset. [ruby-core:65711] [Bug #9424] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (prelude.c): add dependency to LIB_SRCS becauseusa2014-10-222-1/+7
| | | | | | | | enc/prelude.rb requires lib/unicode_normalize.rb, and it's also requires lib/unicode_normalize/tables.rb (=LIB_SRCS). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix PNaCl configure/link errors.yugui2014-10-223-3/+24
| | | | | | | | | | | | * configure.in (nacl_cv_cpu_nick): fix typo in PNaCl. (XCFLAGS) Add -isystem flag to pnacl and nacl-newlib (CXX): added * nacl/GNUmakefile.in (CXX): Added (PPROGRAM): Use clang++ instead of clang because libnacl_io depends on c++ std lib. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (build-ext): avoid trying to build dynamic librariesyugui2014-10-222-1/+6
| | | | | | if configured --with-static-linked-ext. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e