aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * hash.c (rb_hash_reject_bang): do not call rb_hash_foreach() if RHashglass2013-07-121-0/+5
| | | | | | has ntbl and it is empty. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (recursive_hash): use RHASH_SIZE() to check hash size.glass2013-07-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_size): use RHASH_SIZE().glass2013-07-111-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_values): set array capa to RHASH_SIZE().glass2013-07-111-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_keys): set array capa to RHASH_SIZE().glass2013-07-111-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32.c: fix infinite recursionnobu2013-07-111-0/+5
| | | | | | | * win32/win32.c (rb_w32_pow): undef pow to get rid of infinite recursive call. re-fix [Bug #8495]. [ruby-core:55923] [Bug #8621] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/registry.rb: remove workaroundnobu2013-07-111-1/+4
| | | | | | | | * ext/dl/win32/lib/win32/registry.rb (Win32::Registry::API#make_wstr): remove workaround to append WCHAR terminator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* transcode.c: fill terminatornobu2013-07-111-1/+3
| | | | | | | * transcode.c (str_encode_associate): fill terminator after conversion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: multi-byte terminatornobu2013-07-111-1/+9
| | | | | | | | | | | * string.c (rb_enc_str_new, rb_str_set_len, rb_str_resize): fill minimum length of the encoding as the terminator. * string.c (str_buf_cat, rb_str_buf_append, rb_str_splice_0): ditto. * string.c (str_make_independent_expand, rb_str_modify_expand): make the capacity enough for multi-byte terminator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: multi-byte terminatornobu2013-07-111-1/+4
| | | | | | | | * string.c (rb_string_value_cstr): fill minimum length of the encoding as the terminator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: check null charnobu2013-07-111-0/+5
| | | | | | | | * string.c (rb_string_value_cstr): check null char in char, not in byte. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: Replace confusing example for #reverse_each in overviewzzak2013-07-111-0/+6
| | | | | | | | Patch by Earl St Sauver [Fixes documenting-ruby/ruby-12] https://github.com/documenting-ruby/ruby/pull/12 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/drb/ut_eq.rb: Use localhost for drb tests [Bug #7311]zzak2013-07-111-0/+7
| | | | | | | | | Patch by Vit Ondruch [ruby-core:49101] * test/drb/ut_array.rb: ditto * test/drb/ut_array_drbssl.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c: Fix typo patch by @hynkle [Fixes GH-357]zzak2013-07-111-0/+5
| | | | | | | https://github.com/ruby/ruby/pull/357 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/securerandom.rb: Refactor conditions by Rafal Chmielzzak2013-07-111-0/+5
| | | | | | | [Fixes GH-326] https://github.com/ruby/ruby/pull/326 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c: Don't use toom3 after once karatsuba is choosen.akr2013-07-111-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | (mulfunc_t): New type. (bary_mul_toom3_start): Renamed from bary_mul. (bary_mul_karatsuba_start): Renamed from bary_mul. (bary_mul_balance_with_mulfunc): Renamed from bary_mul_balance and new argument, mulfunc, is added. (rb_big_mul_balance): Invoke bary_mul_balance_with_mulfunc with bary_mul_toom3_start. (bary_mul_karatsuba): Invoke bary_mul_karatsuba_start instead of bary_mul. (bary_mul_precheck): Extracted from bary_mul. (bary_mul_karatsuba_branch): Extracted from bary_mul. (bary_mul_karatsuba_start): New function to call bary_mul_precheck and bary_mul_karatsuba_branch. (bary_mul_toom3_branch): Extracted from bary_mul. (bary_mul_toom3_start): New function to call bary_mul_precheck and bary_mul_toom3_branch. (bary_mul): Just call bary_mul_toom3_start. Arguments for work memory are removed. (rb_cstr_to_inum): Follow the bary_mul change. (bigmul0): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* probes_to_wiki.rb: fix comment and reduce unnecessary arraynobu2013-07-111-0/+5
| | | | | | | * tool/probes_to_wiki.rb: fix usage comment. use Enumerable#grep which yields each elements to reduce unnecessary array. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_daemon): daemon(3) is implemented with fork(2).naruse2013-07-111-0/+5
| | | | | | Therefore it needs rb_thread_atfork(). (and revert r41903) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/probes_to_wiki.rb: adding a script to convert probes.d to wikitenderlove2013-07-101-0/+5
| | | | | | format for easy wiki updates. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * man/ri.1: Incorrect use of .Dd macro [Bug #8620] by Tristan Hillzzak2013-07-101-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb: Add example for __setobj__ and __getobj__zzak2013-07-101-0/+5
| | | | | | | [Bug #8615] Patch by Caleb Thompson git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb: Use :call-seq: for method signature rdoczzak2013-07-101-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb (#add): Remove incorrect rdoc for return valuezzak2013-07-101-0/+5
| | | | | | | [Bug #8567] Reported by Tim Pease. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: rb_str_subposnobu2013-07-101-0/+4
| | | | | | * string.c (rb_str_subpos): make public function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c: Add a static assertion for RBIGNUM_EMBED_LEN_MAX.akr2013-07-101-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_index): cache single byte flag and someglass2013-07-101-0/+5
| | | | | | cosmetic changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bary_2comp): Don't use bary_plus_one.akr2013-07-101-0/+5
| | | | | | | | (bary_add_one): Replaced by the implementation of bary_plus_one. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bignum.c: sizeof_bdigit_dblnobu2013-07-101-1/+3
| | | | | | * bignum.c (sizeof_bdigit_dbl): check sizeof(BDIGIT_DBL). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* internal.h: STATIC_ASSERTnobu2013-07-101-0/+4
| | | | | | * internal.h (STATIC_ASSERT): move from enum.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (SIZEOF_BDIGIT_DBL): Add a ifdef guard for test.akr2013-07-101-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove duplicated entrykazu2013-07-101-5/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Turns out [Fix GH-***] doesn't work while [Fixes GH-***] does.knu2013-07-101-8/+8
| | | | | | Fix existing tags for future reference. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* process.c: kill threads in daemon processnobu2013-07-101-0/+10
| | | | | | | * process.c (fork_daemon): kill the other threads all and abandon the kept mutexes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2013-07-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2013-07-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/net/http/test_http.rb (TestNetHTTP_v1_2#test_get,usa2013-07-101-0/+7
| | | | | | | | | TestNetHTTP_v1_2_chunked#test_get): shoudn't check HttpResponse#decode_content if Zlib is not available. ko1 complained via IRC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb: always require rubygems to stabilize rubygemsnaruse2013-07-101-0/+7
| | | | | | | | related status like whether Gem::Specification is defined or not. * tool/rbinstall.rb (Gem::Specification.unresolved_deps): define stub. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: Import RubyGems 2.1drbrain2013-07-091-0/+5
| | | | | | | * test/rubygems: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/ext/ext_conf_builder.rb: Remove siteconf file afterdrbrain2013-07-091-0/+12
| | | | | | | | | | | | | | building the gem. * test/rubygems/test_gem_ext_ext_conf_builder.rb: Test for the above. * lib/rubygems/psych_tree.rb (module Gem): Add backward compatibility for r41148 * test/rubygems/test_gem_package.rb: Add backward compatibility for double-slash elimination. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_parse.c (date_zone_to_diff): [ruby-core:55831].tadf2013-07-091-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bary_mul): x*1 is x.akr2013-07-091-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bary_mul_single): Invoke MEMZERO here.akr2013-07-091-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bary_mul1): No need to invoke MEMZERO at last.akr2013-07-091-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rexml/test_text.rb: Add missing tests for Text#<<.kou2013-07-091-4/+5
| | | | | | | Reported by nagachika. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils#chown_R): Do not skip traversal evenknu2013-07-091-0/+6
| | | | | | | if user and group are both nil, to be consistent with #chown and other commands. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rbknu2013-07-091-0/+6
| | | | | | | (TestFileUtils#assert_output_lines): New utility assertion method for testing verbose output. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_tracer.rb: catch up recent rubygems changes.ko12013-07-091-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/{dl,fiddle}/win32/lib/win32/registry.rb: hope that the finalusa2013-07-091-0/+6
| | | | | | | | resolution to fix the failure of test-all. and includes Win64 support (fixed a potential bug). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c: Fix rdoc for Kernel#<=>. [Fix GH-352]knu2013-07-091-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils#mode_to_s): Define mode_to_s() alsoknu2013-07-091-0/+5
| | | | | | as singleton method, or FileUtils.chmod fails in verbose mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e