summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2013-07-12* lib/rubygems/psych_additions.rb: Ignore Psych docs herezzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-12* ext/fiddle/win32/lib/win32/registry.rbusa
(Win32::Registry::API#make_wstr): same as r41922. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-12encoding.c: refill terminator at associating encodingnobu
* encoding.c (rb_enc_associate_index): refill the terminator if it becomes longer than before. [ruby-dev:47500] [Bug #8624] * string.c (str_null_char, str_fill_term): get rid of out of bound access. * string.c (rb_str_fill_terminator): add a parameter for the length of new terminator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-12* hash.c (rb_hash_reject_bang): do not call rb_hash_foreach() if RHashglass
has ntbl and it is empty. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-12* hash.c (recursive_hash): use RHASH_SIZE() to check hash size.glass
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-11* hash.c (rb_hash_size): use RHASH_SIZE().glass
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-11* hash.c (rb_hash_values): set array capa to RHASH_SIZE().glass
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-11* hash.c (rb_hash_keys): set array capa to RHASH_SIZE().glass
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-11win32.c: fix infinite recursionnobu
* 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
2013-07-11win32/registry.rb: remove workaroundnobu
* 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
2013-07-11transcode.c: fill terminatornobu
* 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
2013-07-11string.c: multi-byte terminatornobu
* 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
2013-07-11string.c: multi-byte terminatornobu
* 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
2013-07-11string.c: check null charnobu
* 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
2013-07-11* array.c: Replace confusing example for #reverse_each in overviewzzak
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
2013-07-11* test/drb/ut_eq.rb: Use localhost for drb tests [Bug #7311]zzak
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
2013-07-11* sprintf.c: Fix typo patch by @hynkle [Fixes GH-357]zzak
https://github.com/ruby/ruby/pull/357 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-11* lib/securerandom.rb: Refactor conditions by Rafal Chmielzzak
[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
2013-07-11* bignum.c: Don't use toom3 after once karatsuba is choosen.akr
(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
2013-07-11probes_to_wiki.rb: fix comment and reduce unnecessary arraynobu
* 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
2013-07-11* process.c (rb_daemon): daemon(3) is implemented with fork(2).naruse
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
2013-07-10* tool/probes_to_wiki.rb: adding a script to convert probes.d to wikitenderlove
format for easy wiki updates. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-10* man/ri.1: Incorrect use of .Dd macro [Bug #8620] by Tristan Hillzzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-10* lib/delegate.rb: Add example for __setobj__ and __getobj__zzak
[Bug #8615] Patch by Caleb Thompson git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-10* lib/logger.rb: Use :call-seq: for method signature rdoczzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-10* lib/logger.rb (#add): Remove incorrect rdoc for return valuezzak
[Bug #8567] Reported by Tim Pease. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-10string.c: rb_str_subposnobu
* 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
2013-07-10* bignum.c: Add a static assertion for RBIGNUM_EMBED_LEN_MAX.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-10* string.c (rb_str_index): cache single byte flag and someglass
cosmetic changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-10* bignum.c (bary_2comp): Don't use bary_plus_one.akr
(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
2013-07-10bignum.c: sizeof_bdigit_dblnobu
* 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
2013-07-10internal.h: STATIC_ASSERTnobu
* 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
2013-07-10* bignum.c (SIZEOF_BDIGIT_DBL): Add a ifdef guard for test.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-10remove duplicated entrykazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-10Turns out [Fix GH-***] doesn't work while [Fixes GH-***] does.knu
Fix existing tags for future reference. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-10process.c: kill threads in daemon processnobu
* 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
2013-07-10fix a typokazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-10fix typoskazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-10* test/net/http/test_http.rb (TestNetHTTP_v1_2#test_get,usa
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
2013-07-10* tool/rbinstall.rb: always require rubygems to stabilize rubygemsnaruse
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
2013-07-09* lib/rubygems: Import RubyGems 2.1drbrain
* test/rubygems: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-09* lib/rubygems/ext/ext_conf_builder.rb: Remove siteconf file afterdrbrain
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
2013-07-09 * ext/date/date_parse.c (date_zone_to_diff): [ruby-core:55831].tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-09* bignum.c (bary_mul): x*1 is x.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-09* bignum.c (bary_mul_single): Invoke MEMZERO here.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-09* bignum.c (bary_mul1): No need to invoke MEMZERO at last.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-09* test/rexml/test_text.rb: Add missing tests for Text#<<.kou
Reported by nagachika. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-09* lib/fileutils.rb (FileUtils#chown_R): Do not skip traversal evenknu
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
2013-07-09* test/fileutils/test_fileutils.rbknu
(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
2013-07-09* test/test_tracer.rb: catch up recent rubygems changes.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e