aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/drb/invokemethod.rb: [DOC] nodoc InvokeMethod18Mixinzzak2013-07-232-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c (asn1time_to_time): Implement YYMMDDhhmmZdrbrain2013-07-223-3/+24
| | | | | | | | format for ASN.1 UTCTime. [ruby-trunk - Bug #8664] * test/openssl/test_asn1.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/streamlistener.rb: [DOC] Fix examples inzzak2013-07-222-6/+11
| | | | | | | REXML::StreamListener#entitydecl patch by Ippei Obayashi [Bug #8665] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: Import RubyGems from master as of commit b165260drbrain2013-07-2234-548/+1120
| | | | | | | * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bary_mulsub_1xN): New function.akr2013-07-222-31/+46
| | | | | | | | (bary_mul_toom3): Use bary_mulsub_1xN. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (KARATSUBA_BALANCED): New macro.akr2013-07-222-9/+23
| | | | | | | | | | | | | | | (TOOM3_BALANCED): Ditto. (bary_mul_balance_with_mulfunc): Use KARATSUBA_BALANCED and TOOM3_BALANCED. (rb_big_mul_balance): Relax a condition. (rb_big_mul_karatsuba): Use KARATSUBA_BALANCED. (rb_big_mul_toom3): Use TOOM3_BALANCED. (bary_mul_karatsuba_branch): Use KARATSUBA_BALANCED. (bary_mul_toom3_branch): Use TOOM3_BALANCED. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-07-23svn2013-07-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bigdivrem_mulsub): Extracted from bigdivrem1.akr2013-07-222-22/+42
| | | | | | | | (bigdivrem1): Use bary_add. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/tes_io.rb (test_copy_stream_bigcontent_fpos): rename duplicatednagachika2013-07-221-1/+1
| | | | | | test method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* readline.c: $SAFE 4nobu2013-07-221-1/+3
| | | | | | | * ext/readline/readline.c (readline_s_delete_text): call rb_secure only if level 4 is allowed. otherwise do nothing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_enumerate_chars): specify array capaglass2013-07-222-12/+21
| | | | | | | | with str_strlen(). * string.c (rb_str_enumerate_codepoints): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_enumerate_chars): specify array capa.glass2013-07-222-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fix typo.glass2013-07-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_each_char_size): performance implement byglass2013-07-222-10/+6
| | | | | | using rb_str_length(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix commit missnobu2013-07-221-0/+14
| | | | | | * ext/win32/lib/win32/importer.rb: miss to add at r41936. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_eval.c: Check_TypedStructnobu2013-07-224-9/+11
| | | | | | | * vm_eval.c (eval_string_with_cref): check by Check_TypedStruct instead of rb_obj_is_kind_of. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2013-07-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_resize_capa): use RARRAY_RAWPTR() becauseko12013-07-222-2/+7
| | | | | | | | this code creates no new references. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_memfill): added.ko12013-07-222-8/+23
| | | | | | | | | | | * array.c (rb_ary_initialize): use ary_memfill(). * array.c (rb_ary_fill): ditto. * array.c (rb_ary_slice_bang): use RARRAY_RAWPTR() because this code creates no new references. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_slot_sweep): need to add empty RVALUE as freeobj.ko12013-07-222-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_eval.c: use file argumentnobu2013-07-223-1/+12
| | | | | | | | * vm_eval.c (eval_string_with_cref): use the given file name unless eval even if scope is given. additional fix for [Bug #8436]. based on the patch by srawlins at [ruby-core:56099] [Bug #8662]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* readline.c: $SAFEnobu2013-07-221-1/+5
| | | | | | | * ext/readline/readline.c (readline_s_delete_text): $SAFE=4 is obsolete. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (Init_readline): addedkouji2013-07-224-2/+84
| | | | | | | | | Readline.delete_text. [ruby-dev:45789] [Feature #6626] * ext/readline/extconf.rb: check for rl_delete_text() in Readline library. Thanks, Nobuyoshi Nakada, for the patch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* date_parse.c: missing wdaynobu2013-07-213-1/+14
| | | | | | | * ext/date/date_parse.c (rfc2822_cb): check if wday is given, since it can be omitted. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* opttest.rb: adust stylesnobu2013-07-211-15/+55
| | | | | | | | * sample/optparse/opttest.rb: adjust indent and block stypes. use do/end wholly, put spaces around operators, and deep indent in parentheses. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-07-22svn2013-07-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bary_sq_fast): Refine expressions.akr2013-07-212-4/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bary_mul): Use simple multiplication if yl is small.akr2013-07-212-8/+36
| | | | | | | | | | (rb_cstr_to_inum): Invoke bigsq instead of bigmul0. (bigsq): Re-implemented. (bigmul0): Invoke bigsq if two arguments are identical. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bary_mul_toom3): New function based on bigmul1_toom3.akr2013-07-212-242/+416
| | | | | | | | | | | | | (bary_mul_toom3_branch): Call bary_mul_toom3. (rb_big_mul_toom3): Ditto. (bigmul1_toom3): Removed. (big_real_len): Ditto. (big_split): Ditto. (big_split3): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (proc_to_s): use PRIsVALUE to preserve the result encoding.ktsj2013-07-202-3/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_flatten): use NUM2INT to raise TypeError on 32bitnaruse2013-07-203-1/+15
| | | | | | platform. it's introduced by r42039 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-07-21svn2013-07-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (help): Fix environment variable name and argument.eregon2013-07-202-1/+7
| | | | | | | Actually it can also be a directory or any argument for test/unit runner. [Fixes GH-363] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: Document running a single test [Fixes GH-363]zzak2013-07-202-1/+6
| | | | | | | Patch by Avdi Grimm https://github.com/ruby/ruby/pull/363 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/*: whitespace patch by Sergio Campama [Fixes GH-364]zzak2013-07-2025-311/+316
| | | | | | | https://github.com/ruby/ruby/pull/364 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/regexp.rdoc: [DOC] Fix typo in example [Fixes GH-365]zzak2013-07-202-1/+6
| | | | | | | Patch by Juanito Fatas https://github.com/ruby/ruby/pull/365 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update a comment for Toom3.akr2013-07-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rename a() to b() and define a() for US-ASCIInaruse2013-07-201-49/+50
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_succ): add missing case NEIGHBOR_WRAPPED.naruse2013-07-203-1/+18
| | | | | | r42078 caused buggy behavior like "\xFF".b -> "\x01\xFF".b git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_resize): use simple memcpy because there are no newko12013-07-202-2/+6
| | | | | | | | references. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* safe.c: ruby_safe_level_4_warningnobu2013-07-202-0/+12
| | | | | | | * safe.c (ruby_safe_level_4_warning): define for old extension libraries. [Bug #8652] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_make_shared): make shared array shady.ko12013-07-202-2/+8
| | | | | | | | | Making non-shady shared array causes SEGV (see rubyci). It seems a bug around shared array. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: wchar succnobu2013-07-203-7/+64
| | | | | | | | | * string.c (enc_succ_char, enc_pred_char): consider wchar case. [ruby-core:56071] [Bug #8653] * string.c (rb_str_succ): do not replace with invalid char. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* encoding.c: add rb_enc_code_to_mbclennobu2013-07-203-0/+19
| | | | | | | | | | | * encoding.c (rb_enc_code_to_mbclen): add new function which returns mbclen from codepoint like as rb_enc_codelen() but 0 for invalid char. * include/ruby/encoding.h (rb_enc_code_to_mbclen): declaration and shortcut macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-07-20svn2013-07-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_io.rb: split test_copy_streamnobu2013-07-201-72/+158
| | | | | | * test/ruby/test_io.rb (TestIO#test_copy_stream): split huge test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: suppress warningnobu2013-07-191-1/+1
| | | | | | | * gc.c (heap_assign_slot): suppress implicit conversion warning. delta is not greater than sizeof(RVALUE). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: declare type_name() at the beggining of file.ko12013-07-192-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: reduce shady operations.ko12013-07-192-22/+48
| | | | | | | | | | | | | | | | | * array.c (rb_ary_modify, ary_make_partial, rb_ary_splice, rb_ary_replace, rb_ary_eql, rb_ary_compact_bang): use RARRAY_RAWPTR() instead of RARRAY_PTR(). * array.c (rb_ary_shift): use RARRAY_PTR_USE() without WB because there are not new relations. * array.c (ary_ensure_room_for_unshift): ditto. * array.c (rb_ary_sort_bang): ditto. * array.c (rb_ary_delete_at): ditto. * array.c (rb_ary_reverse_m): use RARRAY_RAWPTR() because there are not new relations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: reduce shade operations.ko12013-07-192-21/+33
| | | | | | | | | | | * array.c (rb_ary_modify): use RARRAY_RAWPTR(). * array.c (ary_make_substitution, rb_ary_s_create, ary_make_partial, rb_ary_splice, rb_ary_resize, rb_ary_rotate_m, rb_ary_times): use ary_memcpy(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e