summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-01passed block should keep the lambda-nessnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-31* 2017-01-01svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-31Update submaintainer of default gems.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-31vm.c: fix return in lambdanobu
* vm.c (invoke_block_from_c_splattable): pass lambda-ness. * vm_eval.c (yield_under): invoke lambda proc properly. [ruby-core:78917] [Bug #13090] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-31* 2016-12-31svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-31* properties.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-31add benchmark for IO.copy_stream IO#write casenormal
I will attempt to reduce garbage in proposed fix for https://bugs.ruby-lang.org/issues/13085 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-30rational.c: memory leak in gcdnobu
* rational.c (rb_gcd_gmp): fix memory leak. patched by KISHIMOTO, Makoto <ksmakoto AT dd.iij4u.or.jp> in [ruby-dev:49934]. [Bug #13089] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-29* 2016-12-30svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-29test/ruby/test_pack.rb: fix test case added by r57187rhe
The test case for String#unpack added by r57187 is not properly testing because the String will be filled after the block invocation. [ruby-core:78841] [Bug #13075] Thanks to nagachika for pointing this out: http://d.hatena.ne.jp/nagachika/20161226/ruby_trunk_changes_57184_57194#r57187 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-29rational.c: refactor to_rnobu
* rational.c (read_num, read_rat_nos): refactor to curtail creating Rational objects. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-29rational.c: fix for mathnnobu
* rational.c (read_num, read_rat_nos): dispatch by the type of numerator, for mathn. [ruby-core:78893] [Bug #13084] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-29* 2016-12-29svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-29rational.c: canonicalizationnobu
* rational.c (canonicalization): define always regardless CANON, and remove unnecessary ifdefs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-28* 2016-12-28svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-28numeric.c: reduce fdivnobu
* numeric.c (rb_int_fdiv_double): reduce first for more precise result. [ruby-core:78886] [Bug #13078] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-27io.c: fix race between read and closenobu
* io.c (io_fillbuf): fix race between read and close and bail out in the case the IO gets closed before the reading thread achieve the lock. [ruby-core:78845] [Bug #13076] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-27revert a part of r57199usa
* io.c (io_fillbuf): revert a part of r57199 because it broke IO#getch. see also [Bug #13076] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-27cont.c: change fiber stack size doc [ci skip]normal
It's many years since we had tiny 4KB fiber stacks :< point to the manpage instead for current, larger sizes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-27io.c: use io_close to close ARGFnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-27io.c: ARGF fd leaknobu
* io.c (argf_next_argv): fix leak of fd after breaking in #each method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-27thread.c: fix race between read and closenobu
* thread.c (rb_thread_fd_close): wait until all threads using the fd finish the operation, not to free the buffer in use. [ruby-core:78845] [Bug #13076] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-27* 2016-12-27svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-27Ignored extracted gem files.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-26io.c: fix race between read and closenobu
* io.c (io_fillbuf): fix race between read and close, in the case the IO gets closed before the reading thread achieve the lock. [ruby-core:78845] [Bug #13076] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-26parse.y: preserve cmdarg stacknobu
* parse.y (do_body): preserve cmdarg stack around do/end block. [ruby-core:78837] [Bug #13073] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-26* properties.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-26Add NEWS for Ruby 2.5.0kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-26Move from NEWS to doc/NEWS-2.4.0kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-26vm_eval.c: Symbol#to_proc and instance_execnobu
* vm_eval.c (yield_under): should evaluate the proc on the first argument. [ruby-core:78839] [Bug #13074] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-26test/ruby/test_symbol.rb: use begin;end; hacknobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-26[Bug #12705]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-26get rid of sprintfnobu
* missing/strerror.c (strerror): use snprintf instead of sprintf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-26get rid of strcatnobu
* regerror.c (onig_vsnprintf_with_pattern): use memcpy with the known length instead of strcat. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-26get rid of strcpynobu
* addr2line.c (follow_debuglink): insert global_debug_dir by using memmove instead of copying to temporary buffer. * dln.c (dln_load): use memcpy with the known length instead of strcpy. * gc.c (rb_gc_unprotect_logging): use strdup instead of malloc and strcpy. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-26Makefile.sub: refine configuration checknobu
* win32/Makefile.sub (config.status): check configured target by reading from config.status, and remove version dependent values from config.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-26pack.c: avoid returning uninitialized Stringrhe
Fix unpacking with 'b', 'B', 'h' and 'H' format. Do not return an uninitialized String to Ruby before filling the content bytes. Fixes r11175 ("pack.c (pack_unpack): execute block if given with unpacked value instead of creating an array", 2006-10-15). [ruby-core:78841] [Bug #13075] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-26Makefile.sub: fix dependency of RUBYDEFnobu
* win32/Makefile.sub (RUBYDEF): fix dependency, win32/mkexports.rb requires rbconfig.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-25string.c: CRLF in paragraph modenobu
* string.c (rb_str_enumerate_lines): allow CRLF to separate paragraphs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-25string.c: consistent paragraph mode with IOnobu
* string.c (rb_str_enumerate_lines): in paragraph mode, do not include newlines which separate paragraphs, so that it will be consistent with IO#each_line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-25include/ruby/version.h: Update API version.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-25* 2016-12-26svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-25version.h (RUBY_VERSION): 2.5.0 development has started.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-25memory_status.c: support old Mac OSnobu
* ext/-test-/memory_status/memory_status.c (read_status): use TASK_BASIC_INFO instead of MACH_TASK_BASIC_INFO on old Mac OS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-25bignum.c: precise fdivnobu
* bignum.c (big_fdiv): more precise calculation. [ruby-dev:49915] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-25bignum.c (DBL_BIGDIG): make enumnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-25* 2016-12-25svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-25.gdbinit: refine rpnobu
* .gdbinit (rp): refine output of T_STRUCT and T_BIGNUM to show all elements. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-24regint.h: version for secure functionsnobu
* regint.h (xvsnprintf): secure version functions are not supported on old VC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-12-24hash.c: split long long literalsnobu
* hash.c (prime1, prime2): split long long literals for platforms where LL suffix is not supported, e.g., VC6. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e