- thread_pthread.c (ubf_threads_empty)
-
renamed from check_signal_thread_list().
- thread_pthread.c (ubf_list_lock)
-
renamed from signal_thread_list_lock.
- thread_pthread.c (register_ubf_list)
-
large simplification by using ccan/list.h. bonus: removed malloc() and exit(EXIT_FAILURE).
- thread_pthread.c (unregister_ubf_list)
-
ditto.
- thread_pthread.c (ubf_threads_empty)
-
ditto.
- thread_pthread.c (ubf_wakeup_all_threads)
-
ditto.
- thread_pthread.c (print_signal_list)
-
removed.
Thu Oct 22 08:03:49 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- test/ruby/test_rand.rb (TestRand#test_default_seed)
-
add srand case.
Thu Oct 22 06:33:38 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- random.c (InitVM_Random)
-
move Random::DEFAULT initialization bits to Init_Random_default.
- random.c (Init_Random_default)
-
renamed from Init_RandomSeed2.
- random.c (Init_RandomSeedCore)
-
renamed from Init_RandomSeed.
Thu Oct 22 06:20:48 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- random.c (Init_RandomSeed)
-
move all Random::DEFAULT construction bits to Init_RandomSeed2. Random::DEFAULT and Ruby internal hashes are no longer shared their seed.
- random.c (Init_RandomSeed2)
-
ditto. And, kill evil rb_obj_reveal() stuff.
- random.c (init_hashseed)
-
add MT argument.
- random.c
-
(init_siphash): ditto.
- test/ruby/test_rand.rb (TestRand#test_default_seed)
-
new test for Random::DEFAULT::seed.
Thu Oct 22 05:23:48 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- random.c (init_hashseed, init_siphash)
-
extract initialize functions.
Thu Oct 22 01:01:34 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- configure.in
-
sort AC_CHECK_HEADERS() by alphabetical order.
Thu Oct 22 00:19:07 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- random.c (init_randomseed)
-
remove “initial” argument. It never be used from outside of this function.
Thu Oct 22 00:12:33 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- lib/securerandom.rb (SecureRandom::gen_random)
-
use /dev/urandom for initialize OpenSSL's rand.
Thu Oct 22 18:52:53 2015 Akinori MUSHA<EMAIL_ADDRESS>↑
- vm_eval.c (rb_f_loop)
-
When a loop is stopped by a StopIteration exception, return what the enumerator has returned instead of nil. [ruby-core:71133] [Feature #11498]
Thu Oct 22 18:25:10 2015 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/imap.rb (idle)
-
add a new argument timeout for keep-alive. [ruby-core:63693] [Bug #10031]
Thu Oct 22 15:30:08 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- compile.c (iseq_peephole_optimize)
-
peephole optimization for branchnil jumps.
- compile.c (iseq_compile_each)
-
generate save navigation operator code.
- insns.def (branchnil)
-
new opcode to pop the tos and branch if it is nil.
- parse.y (NEW_QCALL, call_op, parser_yylex)
-
parse token '.?'. [Feature #11537]
Thu Oct 22 13:16:19 2015 Guilherme Reis Campos<EMAIL_ADDRESS>↑
- dir.c (ruby_brace_expand)
-
glob brace expansion edge case fix. When there are closing braces '}' before a open brace '{' it must be ignored and considered as literal. [ruby-core:71138] [Bug #11609]
Thu Oct 22 13:13:49 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- io.c (argf_next_argv)
-
check ARGV element type, and try conversion if necessary. [ruby-core:71140] [Bug #11610]
Thu Oct 22 11:11:16 2015 Shugo Maeda<EMAIL_ADDRESS>↑
- test/net/ftp/test_ftp.rb
-
add tests for getbinaryfile and gettextfile.
2015-10-21¶ ↑
Wed Oct 21 12:10:04 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- ext/openssl/ossl_rand.c (ossl_rand_bytes)
-
RAND_bytes could be return -1 as an error. Therefore, added error handling.
- ext/openssl/ossl_pkey_dsa.c (dsa_generate)
-
ditto.
Wed Oct 21 09:04:09 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- include/ruby/util.h
-
remove a warning suppression C4723
Wed Oct 21 08:23:36 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- random.c
-
random_raw_seed don't use GRND_NONBLOCK. GRND_NONBLOCK mean the result might not have an enough cryptic strength and easy predictable. That's no good for SecureRandom.
Wed Oct 21 18:34:06 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (parser_magic_comment)
-
allow a sole magic comment without indicators, neither other non-space comments. [Feature #8976]
2015-10-20¶ ↑
Tue Oct 20 08:12:47 2015 Rei Odaira<EMAIL_ADDRESS>↑
- configure.in
-
pthread_getattr_np is broken on AIX. More specifically, the stack address and size returned are not correct.
Tue Oct 20 05:54:46 2015 Eric Wong<EMAIL_ADDRESS>↑
- ext/fiddle/closure.c (callback)
-
static function
2015-10-19¶ ↑
Mon Oct 19 10:33:46 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/socket/init.c (rsock_raise_socket_error)
-
get rid of a glibc bug. [ruby-core:71100] [Bug #11600]
Mon Oct 19 01:26:26 2015 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- file.c (rb_file_identical_p)
-
not necessary to compare the paths after comparing the file indexes on Windows. designate by kosaki.
2015-10-18¶ ↑
Sun Oct 18 17:26:53 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- common.mk
-
add a rule for explicit_bzero.o.
- configure.in
-
detect explicit_bzero and memset_s.
- include/ruby/missing.h
-
add explicit_bzero.
- random.c (init_randomseed)
-
use explicit_bzero() instead of memset(). memset could be eliminated by compiler optimization.
Sun Oct 18 21:17:27 2015 Tanaka Akira<EMAIL_ADDRESS>↑
- lib/open-uri.rb
-
Specify frozen_string_literal: true.
Sun Oct 18 14:37:56 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- random.c (fill_random_bytes_urandom)
-
add a comment why using O_NONBLOCK and O_NOCTTY.
Sun Oct 18 13:24:17 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- random.c (fill_random_bytes_syscall)
-
use ATOMIC_SET() for updating try_syscall.
Sun Oct 18 13:03:52 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- include/ruby/backward/util.h
-
Good-by Borland-C.
Sun Oct 18 13:03:09 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- common.mk
-
add a comment how to use “make test-all”
Sun Oct 18 12:59:22 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- common.mk
-
add comments how to use “make benchmark”
Sun Oct 18 12:58:15 2015 Tanaka Akira<EMAIL_ADDRESS>↑
- lib/securerandom.rb
-
Specify frozen_string_literal: true.
Sun Oct 18 11:22:52 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- dln.c
-
remove defined(__WATCOMC__).
Sun Oct 18 11:16:33 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- lib/mkmf.rb
-
Good-by Borland-C.
Sun Oct 18 11:04:36 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- numeric.c
-
Good-by Borland-C.
- include/ruby/backward/rubyio.h
-
ditto.
- include/ruby/backward/st.h
-
ditto.
- include/ruby/backward/util.h
-
ditto.
- include/ruby/backward/rubysig.h
-
ditto.
- include/ruby/backward/classext.h
-
ditto.
- dln.c
-
ditto.
- gc.c
-
ditto.
- win32/resource.rb
-
ditto.
- win32/dir.h
-
ditto.
- ext/tk/tcltklib.c
-
ditto.
- NEWS
-
announce that Borland-C is no longer supported.
Sun Oct 18 10:54:52 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- dln.c
-
simplify ifdef. _WIN32 and __CYGWIN__ are exclusive. see include/ruby/defines.h
- gc.c
-
ditto.
- ext/sdbm/_sdbm.c
-
ditto.
Sun Oct 18 10:42:19 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- ruby.c (open_load_file)
-
add a comment.
Sun Oct 18 10:12:46 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- file.c (rb_file_identical_p)
-
simplify ifdefs
Sun Oct 18 10:01:40 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- ChangeLog
-
Good-bye OS/2.
- common.mk
-
ditto.
- configure.in
-
ditto.
- dln_find.c
-
ditto.
- ext/Setup.emx
-
ditto.
- ext/extmk.rb
-
ditto.
- ext/socket/extconf.rb
-
ditto.
- ext/zlib/extconf.rb
-
ditto.
- file.c
-
ditto.
- include/ruby/defines.h
-
ditto.
- io.c
-
ditto.
- lib/mkmf.rb
-
ditto.
- missing/os2.c
-
ditto.
- process.c
-
ditto.
- ruby.c
-
ditto.
- NEWS
-
announce OS/2 is no longer supported.
Sun Oct 18 08:50:15 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- include/ruby/defines.h (DOSISH)
-
add comments.
Sun Oct 18 08:26:51 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- io.c (fptr_finalize)
-
don't release gvl if fptr is not writable. writable fd may block on close(2) when it's on NFS. But readonly fd doesn't. [Bug #11559] result: make benchmark OPTS=“-p bm_require_t -e ruby-trunk -e ruby-2.2.2” build-ruby: 0.171 ruby 2.3.0dev(r52151): 0.659 ruby 2.2.0p95 (r50295): 0.834
Sun Oct 18 09:32:58 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- file.c (ruby_is_fd_loadable)
-
this should be fail if st_mode is not regular file nor FIFO.
Sun Oct 18 09:20:17 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- ruby.c (open_load_file)
-
use rb_thread_wait_fd() instead of reopen.
Sun Oct 18 05:11:22 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- ruby.c (open_load_file)
-
reset O_NONBLOCK after open. Even if S_ISREG() is true, the file may be file on FUSE filesystem or something. We can't assume O_NONBLOCK is safe. Moreover, we should wait if the path is point to FIFO. That's FIFO semantics. GVL should be transparent from ruby script. Thus, just reopen without O_NONBLOCK for filling the requirements. [Bug #11060][Bug #11559]
- ruby.c (loadopen_func)
-
new for the above.
- file.c (ruby_is_fd_loadable)
-
new. for checks loadable file type of not.
- file.c (rb_file_load_ok)
-
use ruby_is_fd_loadble()
- internal.h
-
add ruby_is_fd_loadble()
- common.mk
-
now, ruby.o depend on thread.h.
- test/ruby/test_require.rb (TestRequire#test_loading_fifo_threading_success)
-
new test. This test successful case that loading from FIFO.
- test/ruby/test_require.rb (TestRequire#test_loading_fifo_threading_raise)
-
rename from test_loading_fifo_threading. You shouldn't rescue an exception if you test raise or not. Moreover, this case should be caught IOError because load(FIFO) should be blocked until given any input.
2015-10-17¶ ↑
Sat Oct 17 13:55:32 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- file.c (rb_file_expand_path_internal)
-
concatenate converted string to the result instead of making converted string and append it.
- string.c (rb_str_cat_conv_enc_opts)
-
from rb_str_conv_enc_opts, separate function to concatenate with transcoding.
Sat Oct 17 13:19:10 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ruby.c (load_file)
-
unify each preparations and clean-ups by merging load_file_internal and load_file_internal2, and remove nested rb_protect and rb_ensure.
Sat Oct 17 05:28:32 2015 Rei Odaira<EMAIL_ADDRESS>↑
- test/ruby/test_symbol.rb (test_symbol_fstr_leak)
-
add a warm-up code and check RSS to avoid false positive on AIX and false negative on Mac OS X. [Bug #10686]
2015-10-16¶ ↑
Fri Oct 16 15:54:37 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- file.c (rb_file_load_ok)
-
open in non-blocking mode withoout releasing GVL. don't care about others than regular files and directories. [ruby-dev:49272] [Bug #11559]
- ruby.c (load_file_internal)
-
ditto.
2015-10-15¶ ↑
Thu Oct 15 23:56:03 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- proc.c (rb_sym_to_proc)
-
make void env.
Thu Oct 15 13:37:23 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- proc.c (rb_sym_to_proc)
-
move from string.c and create a Proc with no environments. [ruby-core:71088] [Bug #11594]
Thu Oct 15 01:57:03 2015 CHIKANAGA Tomoyuki<EMAIL_ADDRESS>↑
- test/objspace/test_objspace.rb (test_trace_object_allocations_start_stop_clear)
-
clear object allocation table first to get rid of erroneous detection for obj3. [ruby-dev:49095] [Bug #11271]
Thu Oct 15 01:53:38 2015 Benoit Daloze<EMAIL_ADDRESS>↑
- test/ostruct/test_ostruct.rb
-
Add tests for OpenStruct#respond_to. Patch by @jeremy in [GH-1041]: github.com/ruby/ruby/pull/1041
Thu Oct 15 01:49:25 2015 Benoit Daloze<EMAIL_ADDRESS>↑
- lib/ostruct.rb
-
Finish defining OpenStruct attributes lazily. Patch by @sferik in [GH-1037]: github.com/ruby/ruby/pull/1037 This commit is an addendum to github.com/ruby/ruby/pull/1033. It: 1. lazily defines attribute accessors for copied and marshaled objects, 2. returns nil when an attribute reader is not defined, and 3. defines respond_to_missing? to maintain the same respond_to? behavior
2015-10-14¶ ↑
Wed Oct 14 16:56:50 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in
-
check for libunwind.h, which is not available in very old OS X SDK. [ruby-core:71080] [Bug #11591]
Wed Oct 14 14:11:42 2015 Brian Black<EMAIL_ADDRESS>↑
- iseq.c (rb_insn_operand_intern)
-
change kw in callinfo disasm from the number of keyword arguments to an ordered list of the keywords used. [Feature #11589]
Wed Oct 14 13:58:44 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (parser_nextc)
-
send a warning to ripper, not to STDERR always.
- parse.y (rb_warn1, rb_warning1)
-
move argument conversions to callers. PRIsVALUE is not valid in String#%.
Wed Oct 14 13:37:23 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- lib/racc/rdoc/grammar.en.rdoc
-
fix spell error. [fix GH-1053][ci skip] Patch by @Matrixbirds
2015-10-13¶ ↑
Tue Oct 13 22:06:50 2015 Tanaka Akira<EMAIL_ADDRESS>↑
- ext/socket/raddrinfo.c (rsock_fd_family)
-
Check sa_len.
Tue Oct 13 12:14:10 2015 Craig Davison<EMAIL_ADDRESS>↑
- ext/socket/rsock_addrinfo (rsock_addrinfo)
-
specify address family. [Fix GH-1052]
- ext/socket/udpsocket.c (udp_connect, udp_bind, udp_send)
-
address family by the receiver.
2015-10-11¶ ↑
Sun Oct 11 07:09:19 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_push_frame)
-
initialize other than sp (and ep) first for performance.
Sun Oct 11 06:21:50 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_eval.c, internal.h (rb_yield_1)
-
added for performance which doesn't check Qundef.
- numeric.c (int_dotimes)
-
use rb_yield_1.
Sun Oct 11 06:19:49 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_call_iseq_setup_normal)
-
setup sp first for performance.
Sun Oct 11 05:29:51 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm.c (invoke_block_from_c)
-
split this function into several functions.
- vm_insnhelper.c (vm_yield_callee_setup_arg)
-
remove this function because it is only delegation function.
Sun Oct 11 03:48:46 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- gc.c (newobj_of_slowpass)
-
fix typo (pass -> path). Pointed out by Yukihiro Matsumoto<EMAIL_ADDRESS>- gc.c (newobj_of_…)
-
`of' is unnecessary.
2015-10-10¶ ↑
Sat Oct 10 19:04:42 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/socket/udpsocket.c (udp_connect, udp_bind)
-
get open files inside ensure functions.
Sat Oct 10 18:35:12 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_call_method0)
-
do not propagate enable_fastpath, but pass dummy CC to prevent wrong caching.
Sat Oct 10 15:28:45 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- import a github pull request https
-
//github.com/ruby/ruby/pull/1050 by Kazuho Oku<EMAIL_ADDRESS>This pull request has the following commits.
- gc.c
-
reduce # of args to 6 (max. of register args on x86-64) so that the `newobj_of_slowpass` can be called via TCO.
- gc.c (newobj_of), string.c (str_duplicate)
-
for performance, the hot functions must be inlined.
- gc.c
-
for performance, preceding arguments of `.newobj_of.` must be same, so that the arg registers can be reused in case of TCO.
Sat Oct 10 08:52:21 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/socket/udpsocket.c (udp_connect, udp_bind, udp_send)
-
fix memory leaks at closed socket.
2015-10-09¶ ↑
Fri Oct 9 17:29:07 2015 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/ftp.rb (parse257)
-
refactor.
Fri Oct 9 16:42:26 2015 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/imap.rb
-
use frozen_string_literal: true.
- test/net/imap/test_imap.rb
-
ditto.
- test/net/imap/test_imap_response_parser.rb
-
ditto.
Fri Oct 9 15:52:28 2015 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/ftp.rb
-
use frozen_string_literal: true.
- test/net/ftp/test_buffered_socket.rb
-
ditto.
- test/net/ftp/test_ftp.rb
-
ditto.
- test/net/ftp/test_mlsx_entry.rb
-
ditto.
Fri Oct 9 14:12:35 2015 Shota Fukumori (sora_h<EMAIL_ADDRESS>↑
- ext/openssl/lib/openssl/ssl.rb
-
Revert r52082 because it was dropping TLS v1.1 support too. Supporting only TLS v1.2 is too early, because many popular websites still don't support it. For instance, Servers where aws-sdk connects to still don't support TLS v1.2 and it became broken. We should consider more carefully about this. [Fix GH-873] [Feature #11524]
Fri Oct 9 12:52:08 2015 Shugo Maeda<EMAIL_ADDRESS>↑
- compile.c (iseq_compile_each)
-
Dynamic string literals (e.g., “#{x}”) should not be frozen because they don't literally represent strings. twitter.com/shugomaeda/status/651937650027401216 twitter.com/yukihiro_matz/status/651942882312482817 twitter.com/yukihiro_matz/status/651980835181096960
Fri Oct 9 06:52:49 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- benchmark/prepare_require.rb
-
skip file creation if it already exist. Suggested by ko1.
Fri Oct 9 06:18:04 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- benchmark/bm_require.rb
-
new benchmark for require.
- benchmark/bm_require_thread.rb
-
new benchmark for conflicting require vs thread. like [Bug #11559]
- prepare_require.rb
-
new file for preparing above tests.
- prepare_require.rb
-
ditto.
2015-10-08¶ ↑
Thu Oct 8 14:10:45 2015 Zachary Scott<EMAIL_ADDRESS>↑
- ext/openssl/lib/openssl/ssl.rb
-
Default to TLSv1.2 and drop TLS v1 Patch provided by @claudijd [Fixes GH-873] [Feature #11524]: github.com/ruby/ruby/pull/873
2015-10-07¶ ↑
Wed Oct 7 22:55:02 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- test/minitest/metametameta.rb (with_output)
-
restore output to fix mixing test result output in worker responses.
Wed Oct 7 21:32:51 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- string.c (str_duplicate)
-
move from rb_str_resurrect to short circuit initialization.
Wed Oct 7 20:43:14 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- string.c (rb_str_resurrect)
-
fix resurrection of short enough to be embedded but not embedded string.
Wed Oct 7 20:17:29 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- gc.c (newobj_of)
-
divide fast path and slow path to avoid register savings for fast path. This idea is given by Kazuho Oku<EMAIL_ADDRESS>Wed Oct 7 17:30:50 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- string.c (rb_str_times)
-
optimize for the argument 0 and 1.
Wed Oct 7 01:20:46 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- gc.h, gc.c
-
introduce new debug function rb_obj_info_dump(VALUE obj) which prints the result of rb_raw_obj_info(…, obj).
Wed Oct 7 01:16:11 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_args.c
-
remove an unused field args_info::calling.
2015-10-06¶ ↑
Tue Oct 6 23:43:10 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- proc.c (rb_method_entry_min_max_arity)
-
should support OPTIMIZED_METHOD_TYPE_CALL.
Tue Oct 6 21:29:08 2015 Tanaka Akira<EMAIL_ADDRESS>↑
- lib/tmpdir.rb (Dir.tmpdir)
-
return duplicated string to be modify safely even when $SAFE > 0.
Tue Oct 6 19:24:38 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_call_method0)
-
use switch() for visibilities
Tue Oct 6 19:23:58 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- proc.c (Init_Proc)
-
Proc#call and others should be public.
Tue Oct 6 18:51:51 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- method.h
-
IMEMO_FL_USER3 and IMEMO_FL_USER4 is not needed any more.
Tue Oct 6 18:47:45 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- method.h
-
remove METHOD_ENTRY_SAFE(me) and related code because $SAFE = 3 and 4 is not available. Now, $SAFE is not checked on method dispatch at all.
- vm_eval.c, vm_insnhelper.c, vm_method.c
-
ditto.
Tue Oct 6 13:56:14 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- include/ruby/ruby.h
-
turn function macros into inline functions, for debuggers.
- include/ruby/ruby.h
-
turn constant macros into enums, for debuggers.
Tue Oct 6 13:48:05 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- method.h
-
typo fix. Patch by @davydovanton [fix GH-1032][ci skip]
Tue Oct 6 06:54:34 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- iseq.c (rb_iseq_free)
-
free iseq::variable_body to avoid memory leak.
Tue Oct 6 06:32:52 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- proc.c
-
enable optimization of Proc#call. [Feature #11569]
- NEWS
-
write about this optimization and incompatibilities.
- test/ruby/test_backtrace.rb
-
catch up this fix.
Tue Oct 6 04:41:03 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c
-
solve goto spaghetti. Change all goto statement across blocks to tail call functions.
Tue Oct 6 02:29:38 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- string.c (rb_str_resurrect)
-
optimize by short circuit to copy hidden string without checking length, encoding and so on.
2015-10-05¶ ↑
Mon Oct 5 23:08:17 2015 CHIKANAGA Tomoyuki<EMAIL_ADDRESS>↑
- test/ruby/test_thread.rb (test_handle_interrupt_blocking)
-
check if exception handling was postponed until sleep.
Mon Oct 5 22:25:49 2015 Tanaka Akira<EMAIL_ADDRESS>↑
- lib/pp.rb
-
Use frozen_string_literal: true.
- lib/prettyprint.rb
-
Ditto.
- lib/resolv.rb
-
Ditto.
- lib/tmpdir.rb
-
Ditto.
- test/test_pp.rb
-
Ditto.
- test/test_prettyprint.rb
-
Ditto.
- tool/transcode-tblgen.rb
-
Ditto.
Mon Oct 5 20:39:32 2015 Benoit Daloze<EMAIL_ADDRESS>↑
- test/ruby/test_thread.rb
-
fix potential race condition. The thread could have a “sleep” status because it tries to acquire the mutex, but does not have it yet.
Mon Oct 5 15:39:30 2015 Zachary Scott<EMAIL_ADDRESS>↑
- numeric.c
-
[DOC] Overview for Numeric class by Joe Corcoran This patch was created at ROSSConf Berlin 2015 [Bug #11555]
Mon Oct 5 15:34:56 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- proc.c (proc_new)
-
link ep to calling block. [ruby-core:70980] [Bug #11566]
Mon Oct 5 00:53:51 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- dir.c (rb_dir_getwd)
-
make ASCII-8BIT if filesystem encoding is US-ASCII, like as Dir.glob.
2015-10-04¶ ↑
Sun Oct 4 23:39:09 2015 Tanaka Akira<EMAIL_ADDRESS>↑
- enum.c (nmin_filter)
-
Fix limit value. patch by Helder Pereira. [Bug #11471] [ruby-core:70477]
Sun Oct 4 15:11:48 2015 NARUSE, Yui<EMAIL_ADDRESS>↑
- enc/euc_jp.c (mbc_case_fold)
-
check given string is valid or not, and if invalid, return 1. [Bug #11486]
Sun Oct 4 10:09:57 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- dir.c (rb_dir_getwd)
-
normalize OS path to UTF-8 on OS X.
Sun Oct 4 00:09:45 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- template/ruby-runner.c.in
-
wrapper to set dynamic loading path environment variable. /bin/sh on Mac OS X 10.11 (El Capitan) clears DYLD_LIBRARY_PATH. it must: - do nothing even if current directory is not present - do not set other environment variables, e.g. PWD, SHLVL, etc - do not open other FDs, e.g. pipes for timer thread
2015-10-02¶ ↑
Sun Oct 2 10:59:00 2015 schneems<EMAIL_ADDRESS>↑
- ext/pathname/lib/pathname.rb
-
freeze string literals for reduced object allocation. [Feature #11375] [ruby-core:70043]
Fri Oct 2 00:18:39 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
2015-09-30¶ ↑
Wed Sep 30 15:47:13 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm_args.c (vm_caller_setup_arg_block)
-
bypass Symbol#to_proc call to optimize symbol block passing.
Wed Sep 30 01:34:34 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (parser_free)
-
fix memory leak at syntax error when warn-indent is enabled.
2015-09-29¶ ↑
Tue Sep 29 22:27:50 2015 Benoit Daloze<EMAIL_ADDRESS>↑
- parse.y
-
fix minor typo. [ci skip][fix GH-1038]. Patch by @ltratt.
Tue Sep 29 16:37:29 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- compile.c (compile_dstr_fragments)
-
fix performance by omitting the first empty string only for keeping literal encoding if other literals are too. [ruby-core:70930] [Bug #11556]
- string.c (rb_str_append_literal)
-
append but keep encoding non US-ASCII.
2015-09-28¶ ↑
Mon Sep 28 17:40:17 2015 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/ftp.rb (mtime)
-
use usec instead of fractions to parse decimal fractions of a second correctly when the number of digits is not 6.
Mon Sep 28 16:07:08 2015 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/ftp.rb (mtime)
-
parse decimal fractions of a second as specified in RFC 3659.
Mon Sep 28 10:31:12 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- test/test_forwardable.rb
-
Write basic tests for lib/forwardable. [fix GH-1035] Patch by @kachick
2015-09-27¶ ↑
Sun Sep 27 23:32:46 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- class.c (rb_define_class, rb_define_class_id_under)
-
refine error messages.
- class.c (rb_define_module, rb_define_module_id_under)
-
ditto, and make consistent with class.
Sun Sep 27 18:44:43 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- ChangeLog
-
removed duplicated message.
Sun Sep 27 15:46:58 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ruby.c (process_options)
-
add an option to enable/disable frozen-string-literal. [Feature #8976]
- compile.c (iseq_compile_each)
-
override compile option by option given by pragma.
- iseq.c (rb_iseq_make_compile_option)
-
extract a function to overwrite rb_compile_option_t.
- parse.y (parser_set_compile_option_flag)
-
introduce pragma to override compile options.
- parse.y (magic_comments)
-
new pragma “frozen-string-literal”. [Feature #8976]
Sun Sep 27 08:16:35 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/ostruct.rb (delete_field)
-
do not raise NameError for existing keys. [Fix GH-1033]
Sun Sep 27 00:34:31 2015 Zachary Scott<EMAIL_ADDRESS>↑
- lib/ostruct.rb
-
Move method definitions for getter/setter to be lazy Patch by @sferik in [GH-1033]: github.com/ruby/ruby/pull/1033
2015-09-25¶ ↑
Fri Sep 25 10:07:25 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- lib/net/http.rb
-
removed unused variable. It's removed at r13648. [fix GH-1022] Patch by @nkondratyev
Fri Sep 25 09:48:27 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- gems/bundled_gems
-
upgrade to minitest-5.8.1
Fri Sep 25 09:47:12 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- id_table.c
-
fix typo. [ci skip][fix GH-1031] Patch @davydovanton
Fri Sep 25 07:54:05 2015 Rei Odaira<EMAIL_ADDRESS>↑
- test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_lock)
-
skip this test on AIX. The issue is the same as on Solaris. [ruby-dev:47631]
2015-09-24¶ ↑
Thu Sep 24 17:25:09 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (paren_args)
-
fix separator token at `foo::bar()` in ripper.
Thu Sep 24 00:00:17 2015 Rei Odaira<EMAIL_ADDRESS>↑
- complex.c
-
ruby/config.h must be included before math.h because it defines _LARGE_FILES on AIX and _LARGE_FILES must be defined before sys/types.h is included from math.h. [Bug #11483]
2015-09-23¶ ↑
Wed Sep 23 22:22:38 2015 Zachary Scott<EMAIL_ADDRESS>↑
- ext/openssl/ossl_pkcs12*
-
Remove svn commit id macro
Wed Sep 23 01:11:28 2015 Zachary Scott<EMAIL_ADDRESS>↑
- ext/openssl/*
-
Remove svn commit id macros to make sync easier
2015-09-22¶ ↑
Tue Sep 22 04:20:01 2015 Masatoshi SEKI<EMAIL_ADDRESS>↑
- test/drb/test_drb.rb
-
Run Rinda/DRb tests on localhost. [Fix GH-1027] patch by voxik.
- test/rinda/test_rinda.rb
-
ditto
2015-09-21¶ ↑
Mon Sep 21 20:53:39 2015 tbpgr<EMAIL_ADDRESS>↑
- test/win32ole/test_win32ole_event.rb
-
fix typo. swbemsink_avairable? => swbemsink_available? [Fix GH-1025]
2015-09-20¶ ↑
Sun Sep 20 10:07:35 2015 Anton Davydov<EMAIL_ADDRESS>↑
- cont.c (rb_callcc)
-
[DOC] append continuations example accros methods. [Fix GH-1026]
Sun Sep 20 03:20:21 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- iseq.c (rb_iseq_free)
-
free rb_iseq_t::body::cc_entries.
Sun Sep 20 02:46:34 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
split rb_call_info_t into several structs. * rb_call_info (ci) has compiled fixed information. * if ci->flag & VM_CALL_KWARG, then rb_call_info is also rb_call_info_with_kwarg. This technique reduce one word for major rb_call_info data. * rb_calling_info has temporary data (argc, blockptr, recv). for each method dispatch. This data is allocated only on machine stack. * rb_call_cache is for inline method cache. Before this patch, only rb_call_info_t data is passed. After this patch, above three structs are passed. This patch improves: * data locality (rb_call_info is now read-only data). * reduce memory consumption (rb_call_info_with_kwarg, rb_calling_info).
- compile.c
-
use above data.
- insns.def
-
ditto.
- iseq.c
-
ditto.
- vm_args.c
-
ditto.
- vm_eval.c
-
ditto.
- vm_insnhelper.c
-
ditto.
- vm_insnhelper.h
-
ditto.
- iseq.h
-
add iseq_compile_data::ci_index and iseq_compile_data::ci_kw_index.
- tool/instruction.rb
-
introduce TS_CALLCACHE operand type.
Sun Sep 20 02:18:10 2015 Tanaka Akira<EMAIL_ADDRESS>↑
- test/lib/envutil.rb
-
mkfifo command based File.mkfifo method definition removed.
2015-09-18¶ ↑
Fri Sep 18 20:11:11 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- file.c (rb_file_s_mkfifo)
-
implement File.mkfifo. [Feature #11536]
Fri Sep 18 16:56:19 2015 Shugo Maeda<EMAIL_ADDRESS>↑
- NEWS
-
add Net::FTP#mlst and Net::FTP#mlsd.
Fri Sep 18 07:39:22 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/objspace/objspace_dump.c (obj_type)
-
add IMEMO types to the heap dump information.
2015-09-17¶ ↑
Thu Sep 17 22:33:07 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- common.mk
-
fix command error with outside builddir.
Thu Sep 17 17:42:09 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- common.mk
-
separated test for test-framework from test-all task. They should be invoke at first before tests of test-all.
Thu Sep 17 12:05:54 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- test/ruby/test_dir.rb (TestDir#test_fileno)
-
s/?x/“x”/. Don't use tricky code, please.
2015-09-16¶ ↑
Wed Sep 16 20:49:56 2015 Masaki Suketa<EMAIL_ADDRESS>↑
- encindex.h
-
fix typo of last endif comment. [ci skip]
Wed Sep 16 20:39:26 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- variable.c (set_const_visibility)
-
fail if the class/module is frozen. [ruby-core:70828] [Bug #11532]
Wed Sep 16 17:16:43 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm_core.h (ENABLE_VM_OBJSPACE)
-
enable per-VM object space on Windows by default, as rb_w32_sysinit() no longer depends on ruby_xmalloc.
Wed Sep 16 15:08:17 2015 Akinori MUSHA<EMAIL_ADDRESS>↑
- doc/syntax/literals.rdoc (Strings)
-
[DOC] Revise the character literal part.
Wed Sep 16 14:55:33 2015 Akinori MUSHA<EMAIL_ADDRESS>↑
- doc/syntax/literals.rdoc (Strings)
-
[DOC] Document the full list of supported escape sequences in string literals.
Wed Sep 16 14:49:58 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- string.c (rb_str_setbyte)
-
keep the code range as possible.
Wed Sep 16 13:23:48 2015 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- doc/syntax/literals.rdoc (Strings)
-
mention about ?a literal.
Wed Sep 16 12:06:53 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- dir.c (glob_helper)
-
check pathtype once again by lstat(2) if dp->d_type is DT_UNKNOWN. XFS may return DT_UNKNOWN.
Wed Sep 16 03:49:19 2015 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- test/ruby/test_thread.rb (TestThread#test_mutex_synchronize)
-
insert waste loop for invoking preemptive thread context switch. [Bug #11496]
2015-09-15¶ ↑
Tue Sep 15 19:38:55 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- gc.c (rb_objspace_alloc, rb_objspace_free)
-
define always regardless ENABLE_VM_OBJSPACE, and free heap pages.
Tue Sep 15 15:15:41 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- win32/win32.c (rb_w32_sysinit, rb_w32_readdir)
-
compare by encoding index to get rid of encoding initialization before VM object space allocation.
- dir.c (fundamental_encoding_p, push_glob)
-
compare by encoding index immediately.
- enc/{ascii,us_ascii,utf_8}.c
-
set encoding indexes of fundamental built-in encodings so that usable as well as allocated rb_encoding before rb_enc_init().
- encindex.h
-
separate encoding index constants from internal.h.
Tue Sep 15 13:13:13 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- array.c (rb_ary_sort_bang, rb_ary_sort)
-
[DOC] correct block return values, which may be a negative or positive integer, not only -1 or +1.
Tue Sep 15 12:49:10 2015 Jason Barnabe<EMAIL_ADDRESS>↑
- array.c (rb_ary_sort_bang, rb_ary_sort)
-
[DOC] Correct description of array sort block return values. And also fix up the grammar a bit. [Fix GH-1020]
Tue Sep 15 12:44:32 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- util.c (ruby_qsort)
-
use BSD-style qsort_r if available.
2015-09-14¶ ↑
Mon Sep 14 19:26:34 2015 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/ftp.rb (parse_mlsx_entry)
-
parse pathnames including space correctly.
Mon Sep 14 11:12:10 2015 Anton Davydov<EMAIL_ADDRESS>↑
- lib/racc/rdoc/grammar.en.rdoc
-
[DOC] fix typo, “convertion” to “conversion”. [Fix GH-1016]
2015-09-13¶ ↑
Sun Sep 13 11:03:13 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- include/ruby/ruby.h
-
prefix RUBY or RB to global symbols to get rid of name conflicts with other headers.
- include/ruby/encoding.h, include/ruby/intern.h
-
ditto.
Sun Sep 13 09:38:51 2015 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/ftp.rb (size, modify, create, type, unique, perm, lang, media_type, charset)
-
new methods to return standard facts.
2015-09-12¶ ↑
Sat Sep 12 19:43:49 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_call_iseq_setup_normal)
-
do not clear local variables here. vm_push_frame() clears.
- vm_insnhelper.c (vm_call_iseq_setup_tailcall)
-
ditto.
- vm_insnhelper.c (vm_push_frame)
-
move check code to vm_check_frame(). Reorder initialization timing to reuse same values (sp).
- compile.c (rb_iseq_compile_node)
-
use iseq_set_exception_local_table() for ISEQ_TYPE_DEFINED_GUARD.
Sat Sep 12 23:06:51 2015 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/ftp.rb (file?, directory?, appendable?, creatable?, deletable?, enterable?, renamable?, listable?, directory_makable?, purgeable?, readable?, writable?)
-
new methods.
Sat Sep 12 21:27:22 2015 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/ftp.rb (FACT_PARSERS)
-
support system dependent facts UNIX.mode, UNIX.owner, UNIX.group, UNIX.ctime, and UNIX.atime.
Sat Sep 12 19:08:58 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- win32/win32.c (rb_w32_dup2)
-
should return the new fd on success, while msvcrt returns 0 wrongly.
Sat Sep 12 18:14:11 2015 Shugo Maeda<EMAIL_ADDRESS>↑
Sat Sep 12 18:00:35 2015 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/ftp.rb (TIME_PARSER)
-
use “Z” instead of “+00:00” to get UTC time. Thanks, Wilson Bilkovich.
Sat Sep 12 17:55:24 2015 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/ftp.rb (mlst, mlsd)
-
support new commands MLST and MLSD specified in RFC 3659.
Sat Sep 12 16:14:31 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- file.c
-
access()/eaccess() wrapping methods check more than just uid. [fix GH-1007][ci skip] Patch by @eam
Sat Sep 12 16:07:01 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- README.md
-
improve markdown rendering for readability. [fix GH-1015][ci skip] Patch by @Matrixbirds
Sat Sep 12 14:30:03 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- process.c (save_redirect_fd)
-
make saved FDs close-on-exec not to be inherited.
- process.c (run_exec_dup2)
-
restore close-on-exec flags too.
- win32/win32.c (fcntl)
-
implement F_GETFD, F_SETFD, and F_DUPFD_CLOEXEC.
Sat Sep 12 05:35:24 2015 Eric Wong<EMAIL_ADDRESS>↑
- rational.c (string_to_r_strict)
-
preserve encoding in exception
2015-09-11¶ ↑
Fri Sep 11 20:23:35 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
remove rb_call_info_t::aux.opt_pc.
- vm_insnhelper.c
-
introduce shortcut functions for opt_pc == 0 because opt_pc is always 0 on shortcut function.
Fri Sep 11 17:49:36 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- iseq.c
-
disable ISeq.load. It enabled accidentally at r51794.
Fri Sep 11 11:15:12 2015 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/ftp.rb (size, mdtm, system)
-
parse responses according to RFC 959 and 3659, where reply codes must be followed by SP.
- lib/net/ftp.rb (system)
-
remove LF from the return value.
2015-09-10¶ ↑
Thu Sep 10 22:48:49 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (literal_concat_gen, evstr2dstr_gen)
-
keep literal encoding beginning with an interpolation same as the source file encoding. [ruby-core:70703] [Bug #11519]
Thu Sep 10 22:15:51 2015 Joe Rafaniello<EMAIL_ADDRESS>↑
- process.c (rb_f_spawn)
-
Be more specific regarding “other values” by having “non-zero positive integers” Add nil, the default value, as a possible value and what it means. Try to use more consistent language. [Fix GH-1008]
Thu Sep 10 15:16:02 2015 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/ftp.rb (getmultiline)
-
refactor.
Thu Sep 10 12:17:28 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- compile.c (iseq_build_from_ary_body)
-
register cdhash to the iseq constant body instead of compile time mark array, not to get GCed. [ruby-core:70708] [Feature #8543]
2015-09-09¶ ↑
Wed Sep 9 18:16:14 2015 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- lib/rubygems/stub_specification.rb (Gem::StubSpecification#data)
-
should not change the value of $. when `require`ing gems. this fixed test failures introduced by r51813.
Wed Sep 9 16:55:45 2015 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- ruby.c (usage, enable_option, disable_option, process_options)
-
new option `–disable-did_you_mean`.
- gem_prelude.rb
-
now requires did_you_mean gem by default if available.
Wed Sep 9 13:38:56 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- tool/extlibs.rb (do_patch)
-
let “patch” command change the working directory and open the patch file there, instead of spawn options, so that proper error message will be shown by the command not just “chdir” or “open”.
Wed Sep 9 11:33:05 2015 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- common.mk (update-gems)
-
use BASERUBY instead of RUNRUBY.
Wed Sep 9 11:08:59 2015 Zachary Scott<EMAIL_ADDRESS>↑
- lib/delegate.rb
-
Remove backtrace cleaning for delegated methods This patch was provided by Rafael Franca and greatly improves performance when an exception is raised. [Bug #11461]
Wed Sep 9 10:05:41 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- test/rubygems/test_config.rb
-
fix broken tests for Windows platform.
Wed Sep 9 07:46:32 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- lib/rubygems
-
Update to RubyGems HEAD(fe61e4c112). this version contains new feature that warn invalid SPDX license identifiers. github.com/rubygems/rubygems/pull/1249 and #1032, #1023, #1332, #1328, #1306, #1321, #1324
- test/rubygems
-
ditto.
2015-09-08¶ ↑
Tue Sep 8 23:17:36 2015 Yuki Nishijima<EMAIL_ADDRESS>↑
- gems/bundled_gems
-
Upgrade the did_you_mean gem to 1.0.0.beta2.
Tue Sep 8 23:09:28 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- io.c (rb_io_s_popen)
-
do not wait the child process during being killed. [ruby-core:70671] [Bug #11510]
Tue Sep 8 22:18:04 2015 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- gems/bundled_gems
-
revert because ruby trunk never be able to install the did_you_mean gem. retry after enough test.
Tue Sep 8 21:48:22 2015 Yuki Nishijima<EMAIL_ADDRESS>↑
- gems/bundled_gems
-
Automatically install the did_you_mean gem as a bundled gem. [Feature #11252]
Tue Sep 8 17:17:48 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
remove rb_call_info_t::blockiseq.
- insns.def (send, invokesuper)
-
pass blockiseq explicitly.
- compile.c
-
catch up this fix.
- iseq.c
-
ditto.
- vm_args.c
-
ditto.
- iseq.c (ISEQ_MINOR_VERSION)
-
2->3 because instruction spec was changed.
Tue Sep 8 15:01:19 2015 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/ftp.rb (list)
-
fetch all the lines before yielding a block to allow other commands in the block. [Feature #11454] Patched by Srikanth Shreenivas.
Tue Sep 8 12:05:00 2015 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/win32.c (rb_w32_read_reparse_point)
-
return correct required buffer size for IO_REPARSE_TAG_MOUNT_POINT.
Tue Sep 8 00:14:43 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- process.c (rb_execarg_parent_start1)
-
raise with the target path name when open() failed.
2015-09-07¶ ↑
Mon Sep 7 23:45:28 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- process.c (rb_exec_fail)
-
raise with the target directory name when chdir() failed. pointed out by sorah.
Mon Sep 7 22:05:28 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- win32/win32.c (insert)
-
should use plain strdup() instead of ruby_strdup() at startup time, and plain free()ed in cmdglob().
Mon Sep 7 16:49:30 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm_core.h (rb_vm_struct)
-
define objspace always regardless ENABLE_VM_OBJSPACE.
Mon Sep 7 15:54:58 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ruby_atomic.h (ATOMIC_VALUE_CAS)
-
fix typo. TODO: make arguments of all CAS macros consistent.
2015-09-06¶ ↑
Sun Sep 6 16:07:22 2015 Eric Wong<EMAIL_ADDRESS>↑
- ccan/list/list.h
-
suppress unused argument warnings [ccan commit 6aaca17e07588997417a73fac19dcf0ff17ed81b]
2015-09-05¶ ↑
Sat Sep 5 11:39:52 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/rss/rss.rb (Time#w3cdtf)
-
fix zero-trimmed width of fraction digits. [ruby-core:70667] [Bug #11509]
Sat Sep 5 08:28:58 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- hash.c (rb_hash_equal, rb_hash_eql)
-
[DOC] the orders of each hashes are not compared. [Bug #11508]
2015-09-04¶ ↑
Fri Sep 4 23:26:22 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- include/ruby/win32.h
-
fix macro name for VC runtime version, RT_VER is only in Makefile.
Fri Sep 4 17:46:17 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- doc/contributing.rdoc
-
fix configuration option. [ci skip] [fix GH-1009]
Fri Sep 4 04:46:54 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- iseq.c (iseq_memsize)
-
functions for wrapper object should have iseqw_ prefix.
2015-09-03¶ ↑
Thu Sep 3 21:12:12 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/cgi/session.rb (create_new_id)
-
use SHA512 instead of MD5. pointed out by SARWAR JAHAN.
Thu Sep 3 20:29:18 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- gc.c (rb_raw_obj_info)
-
iseq->body->location.first_lineno is Fixnum.
Thu Sep 3 17:54:26 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm_eval.c (raise_method_missing)
-
“names” should be singular. pointed out by Filip Bartuzi.
Thu Sep 3 17:50:09 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- gc.c (rb_raw_obj_info)
-
should support IMEMO/iseq.
Thu Sep 3 10:07:49 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm_eval.c (raise_method_missing)
-
refine error messages when a symbol is not given. [Fix GH-1013]
2015-09-02¶ ↑
Wed Sep 2 18:49:55 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- ext/psych/*
-
merge psych master(8737e5b). It contains following fixes. github.com/tenderlove/psych/pull/242 github.com/tenderlove/psych/pull/246 [ruby-list:50219]
- test/psych/*
-
ditto.
Wed Sep 2 18:04:13 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.h (GET_PC_COUNT)
-
remove unused macro.
Wed Sep 2 17:18:37 2015 Chris Schneider<EMAIL_ADDRESS>↑
- process.c (proc_detach)
-
[DOC] fix typo “intent” as “intend” in rdoc. [Fix GH-1011]
Wed Sep 2 16:58:21 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- file.c (rb_realpath_internal)
-
use filesystem encoding if the argument is in ASCII encodings.
- win32/file.c (rb_readlink)
-
needs the result encoding.
2015-09-01¶ ↑
Tue Sep 1 18:37:15 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- test/thread/test_queue.rb
-
catch up last commit.
Tue Sep 1 18:16:32 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- thread_sync.c (queue_do_close)
-
ignore multiple close to allow multiple producers. bugs.ruby-lang.org/issues/10600#note-14
Tue Sep 1 18:06:26 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- thread_tools.c
-
rename thread_tools.c to thread_sync.c.
2015-08-31¶ ↑
Mon Aug 31 17:04:45 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- class.c (move_refined_method)
-
should insert a write barrier from an original class to a created (cloned) method entry.
- test/ruby/test_refinement.rb
-
add a test.
2015-08-30¶ ↑
Sun Aug 30 02:42:22 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/ossl_ssl.c (ossl_ssl_method_tab)
-
Only add SSLv3 support if the SSL library supports it. Thanks Kurt Roeckx<EMAIL_ADDRESS>[Bug #11376]
- ext/openssl/extconf.rb
-
check for SSLv3 support in the SSL implementation.
- test/openssl/test_ssl.rb (class OpenSSL)
-
Skip tests that need SSLv3 if there is no support.
2015-08-28¶ ↑
Fri Aug 28 16:05:09 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- lib/rdoc/*
-
Update rdoc master(cfffed5) github.com/rdoc/rdoc/pull/337 github.com/rdoc/rdoc/pull/367
Fri Aug 28 10:16:20 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm.c (hook_before_rewind)
-
prevent kicking :return event while finishing vm_exec func because invoke_block_from_c() kick a :return event for bmethods. [Bug #11492]
- test/ruby/test_settracefunc.rb
-
add a test.
2015-08-27¶ ↑
Thu Aug 27 18:05:42 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- lib/webrick/server.rb
-
use IO::NULL instead of '/dev/null'
- test/ruby/test_string.rb
-
ditto.
Thu Aug 27 15:24:57 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- compile.c (iseq_set_sequence)
-
rename variable names to make it readable.
Thu Aug 27 07:45:34 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- thread_tools.c
-
add Queue#close and SizedQueue#close. [Feature #10600] Trying to deq from a closed empty queue return nil if exception parameter equals to false (default). If exception parameter is truthy, it raises ClosedQueueError (< StopIteration). ClosedQueueError inherits StopIteration so that you can write: loop{ e = q.deq; (using e) } Trying to close a closed queue raises ClosedQueueError. Blocking threads to wait deq for Queue and SizedQueue will be restarted immediately by returning nil (exception=false) or raising a ClosedQueueError (exception=true). Blocking threads to wait enq for SizedQueue will be restarted by raising a ClosedQueueError immediately. The above specification is not proposed specification, so that we need to continue discussion to conclude specification this method.
- test/thread/test_queue.rb
-
add tests originally written by John Anderson and modify detailed behavior.
2015-08-26¶ ↑
Wed Aug 26 10:52:02 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- re.c (rb_memsearch_wchar, rb_memsearch_qchar)
-
test matching till the end of string. [ruby-core:70592] [Bug #11488]
- test/ruby/test_m17n.rb (test_include?, test_index)
-
add tests by Tom Stuart.
Wed Aug 26 09:26:00 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- id_table.c (list_table_extend, hash_table_extend)
-
remove C99 features. [ruby-dev:49239] [Bug #11487]
2015-08-25¶ ↑
Tue Aug 25 06:34:43 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- win32/win32.c (w32_symlink)
-
implement symlink().
2015-08-24¶ ↑
Mon Aug 24 16:01:19 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- encoding.c (rb_locale_encindex)
-
find encoding index without making a string object every time. [ruby-core:58160] [Bug #9080]
2015-08-22¶ ↑
Sat Aug 22 15:43:12 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm_eval.c (check_funcall_failed, check_funcall_missing)
-
cache results of respond_to? and respond_to_missing?, and search a public method only for compatibility with rb_respond_to.
Sat Aug 22 08:23:32 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- ext/thread/thread.c
-
move definitions of Queue, SizedQueue and ConditionalVariables to thread_tools.c. In other words, such classes are built-in. [Feature #8919] At first, I planned to embed only a Queue class. However, rubygems requires 'thread.rb' (rubygems are required at first, when launch MRI without –disable-gems). So most of people require 'thread.rb' as an embedded library. Now, ext/thread/thread.c is empty, only for a dummy for compatibility.
- thread.c
-
move a definition of Mutex class to thread_tools.c. And define Mutex class under Thread (so now Mutex is Thread::Mutex). Because other thread related classes are also defined under Thread. We remain ::Mutex as Thread::Mutex. Only an inspect result is changed.
- common.mk
-
add dependency from thread.o to thread_tools.c.
Sat Aug 22 05:31:37 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_opts.h, iseq.c, iseq.h
-
add compile option to force frozen string literals. [Feature #11473] This addition is not specification change, but to try frozen string literal world discussed on [Feature #11473]. You can try frozen string literal world using this magical line: RubyVM::InstructionSequence.compile_option = {frozen_string_literal: true} Note that this is a global compilation option, so that you need to compile another script like that: p 'foo'.frozen? #=> false RubyVM::InstructionSequence.compile_option = {frozen_string_literal: true} p 'foo'.frozen? #=> false, because this line is already compiled. p eval(“'foo'.frozen?”) #=> true Details: * String literals are deduped by rb_fstring(). * Dynamic string literals (“…#{xyz}…”) is now only frozen, not deduped. Maybe you have other ideas. Now, please do not use this option on your productions :) Of course, current specification can be changed.
- compile.c
-
ditto.
- test/ruby/test_iseq.rb
-
add a test.
Sat Aug 22 02:53:12 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/*
-
update to Psych 2.0.14
- test/psych/*
-
ditto
2015-08-21¶ ↑
Fri Aug 21 19:58:48 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- ext/objspace/objspace.c
-
add a new method ObjectSpace.count_symbols. [Feature #11158]
- symbol.c (rb_sym_immortal_count)
-
added to count immortal symbols.
- symbol.h
-
ditto.
- test/objspace/test_objspace.rb
-
add a test for this method.
- NEWS
-
describe about this method.
Fri Aug 21 19:48:17 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- win32/Makefile.sub ($(LIBRUBY_SO))
-
needs additional libraries for extension libraries to link statically. [ruby-core:70499] [Feature #9018]
Fri Aug 21 18:49:22 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- include/ruby/ruby.h, cont.c, vm_trace.c
-
add a new event fiber_switch. We need more discussion about this feature so that I don't write it on NEWS. [Feature #11348]
- test/ruby/test_settracefunc.rb
-
add tests.
Fri Aug 21 17:32:42 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_invoke_block)
-
we should not expect ci->argc is stable after invoking a block. [Bug #11451]
- test/ruby/test_yield.rb
-
add a test. This test script is given by Alex Dowad.
Fri Aug 21 06:35:50 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- test/openssl/test_ssl_session.rb
-
Fix tests so that they take in to account OpenSSL installations that have SSLv3 disabled by default. Thanks Jeremy Evans<EMAIL_ADDRESS>for the patches. [Bug #11366] [Bug #11367]
2015-08-20¶ ↑
Thu Aug 20 22:19:17 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm_method.c (basic_obj_respond_to)
-
call respond_to_missing? only when redefined. [ruby-core:70460] [Bug #11465]
Thu Aug 20 14:13:27 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm_eval.c (check_funcall_respond_to)
-
share the behavior with rb_obj_respond_to. [ruby-core:70460] [Bug #11465]
- vm_method.c (vm_respond_to)
-
extract from rb_obj_respond_to and merge r39881.
Thu Aug 20 08:53:09 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm_method.c (rb_obj_respond_to)
-
reuse found method entry instead of searching same entry repeatedly.
Thu Aug 20 08:31:17 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- dir.c (replace_real_basename), win32/win32.c (opendir_internal)
-
check reparse point tags and treat supported tags only as symbolic links. [ruby-core:70454] [Bug #11462]
2015-08-19¶ ↑
Wed Aug 19 23:59:28 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/lib/openssl/ssl.rb (module OpenSSL)
-
add OP_ALL to existing options rather than just setting it. Some vendors apply custom patches to their versions of OpenSSL that set default values for options. This commit respects the custom patches they've applied.
- test/openssl/test_ssl.rb (class OpenSSL)
-
check that OP_ALL has been added to the options.
Wed Aug 19 23:55:29 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- process.c (rb_f_spawn)
-
[DOC] elaborate environment variable values. [ruby-core:70456] [Bug #11463]
Wed Aug 19 23:48:06 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- win32/win32.c (winnt_lstat)
-
check reparse point tags and treat supported tags only as symbolic links. [ruby-core:70454] [Bug #11462]
2015-08-18¶ ↑
Tue Aug 18 20:05:49 2015 NARUSE, Yui<EMAIL_ADDRESS>↑
- thread_pthread.c (reserve_stack)
-
ensure the memory is really allocated. [Bug #11457]
Tue Aug 18 17:19:21 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (IS_BEG)
-
include labeled argument state, which was EXPR_LABELARG. [ruby-dev:49221] [Bug #11456]
Tue Aug 18 16:16:21 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- include/ruby/ruby.h (RClass)
-
define only in C, `__attribute__` between `struct` and the name can't compile with g++. [ruby-core:70297] [Bug #11426]
2015-08-17¶ ↑
Mon Aug 17 20:56:36 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y
-
fix syntax error at do-block after a conditional operator. separate label-allowed and after-a-label states from others as bit flags. [ruby-dev:48790] [Bug #10653]
Mon Aug 17 11:57:36 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- io.c (rb_io_each_codepoint)
-
raise an exception at incomplete character before EOF when conversion takes place. [Bug #11444]
2015-08-16¶ ↑
Sun Aug 16 17:33:45 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- gems/bundled_gems
-
update latest version of bundled gems. It includes minitest-5.8.0 and test-unit 3.1.3.
Sun Aug 16 17:24:10 2015 Kazuki Tsujimoto<EMAIL_ADDRESS>↑
- gc.c (gc_mark_children)
-
check if RCLASS_EXT is valid before marking. This fixes the following test failure introduced in r51126: make test-all TESTOPTS='–gc-stress ruby/test_refinement.rb'
2015-08-15¶ ↑
Sat Aug 15 10:51:08 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/win32/lib/win32/registry.rb (API#SetValue)
-
data size should be in bytes, not in chars. [ruby-core:70365] [Bug #11439]
Sat Aug 15 10:15:20 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- io.c (rb_io_each_codepoint)
-
read more data when read partially. [ruby-core:70379] [Bug #11444]
Sat Aug 15 04:33:39 2015 Eric Wong<EMAIL_ADDRESS>↑
- hash.c (any_hash)
-
skip rb_objid_hash for static syms
- (rb_num_hash_start)
-
extract from rb_ident_hash
- (rb_objid_hash)
-
call rb_num_hash_start
- (rb_ident_hash)
-
ditto [ruby-core:70181] [Feature #11405]
Sat Aug 15 04:16:13 2015 Eric Wong<EMAIL_ADDRESS>↑
- iseq.c (rb_iseq_mark)
-
reduce NULL checks
2015-08-14¶ ↑
Fri Aug 14 18:50:57 2015 Eric Wong<EMAIL_ADDRESS>↑
- method.h (METHOD_ENTRY_VISI_SET)
-
cast visi to int
- (METHOD_ENTRY_FLAGS_SET)
-
ditto
Fri Aug 14 18:43:11 2015 Eric Wong<EMAIL_ADDRESS>↑
- process.c (close_unless_reserved)
-
add extra check
- (dup2_with_divert)
-
remove
- (redirect_dup2)
-
use dup2 without divert
- (before_exec_non_async_signal_safe)
-
adjust call + comment
- (rb_f_exec)
-
stop timer thread for all OSes
- (rb_exec_without_timer_thread)
-
remove
- eval.c (ruby_cleanup)
-
adjust call
- thread.c (rb_thread_stop_timer_thread)
-
always close pipes
- thread_pthread.c (struct timer_thread_pipe)
-
add writing field, mark owner_process volatile for signal handlers
- (rb_thread_wakeup_timer_thread_fd)
-
check valid FD
- (rb_thread_wakeup_timer_thread)
-
set writing flag to prevent close
- (rb_thread_wakeup_timer_thread_low)
-
ditto
- (CLOSE_INVALIDATE)
-
new macro
- (close_invalidate)
-
new function
- (close_communication_pipe)
-
removed
- (setup_communication_pipe_internal)
-
make errors non-fatal
- (setup_communication_pipe)
-
ditto
- (thread_timer)
-
close reading ends inside timer thread
- (rb_thread_create_timer_thread)
-
make errors non-fatal
- (native_stop_timer_thread)
-
close write ends only, always, wait for signal handlers to finish
- (rb_divert_reserved_fd)
-
remove
- thread_win32.c (native_stop_timer_thread)
-
adjust (untested)
- (rb_divert_reserved_fd)
-
remove
- vm_core.h
-
adjust prototype [ruby-core:70386] [Bug #11336]
Fri Aug 14 18:40:43 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/win32/lib/win32/registry.rb (API#SetValue)
-
add terminator size, not 1 byte. [ruby-core:70365] [Bug #11439]
2015-08-13¶ ↑
Thu Aug 13 22:49:42 2015 Juanito Fatas<EMAIL_ADDRESS>↑
- lib/timeout.rb (Timeout#timeout)
-
freeze a string message to reduce string allocations. [Fix GH-996]
Thu Aug 13 17:42:34 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h (rb_call_info_kw_arg_bytes)
-
move the definition to iseq.h because this function is shared with iseq.c and compile.c.
Thu Aug 13 14:36:31 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- object.c (rb_num_to_dbl)
-
move from num2dbl_with_to_f in math.c.
Thu Aug 13 09:01:25 2015 Eric Wong<EMAIL_ADDRESS>↑
- load.c (features_index_add)
-
avoid repeat calculation
2015-08-12¶ ↑
Wed Aug 12 21:57:31 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- id_table.c
-
IMPL() macro accept op as _opname instead of opname because jemalloc seems to replace the word `free' to `je_free'.
Wed Aug 12 21:51:11 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- id_table.c (mix_id_table_insert)
-
fix memory leak.
Wed Aug 12 21:17:38 2015 Eric Wong<EMAIL_ADDRESS>↑
- iseq.c (iseq_memsize)
-
reimplement for wrapper
- (param_keyword_size)
-
extracted from iseq_memsize
- (iseqw_mark)
-
new mark function
- (iseqw_data_type)
-
new data type
- (iseqw_new)
-
wrap as iseqw_data_type
- (iseqw_check)
-
adjust for wrapper
- (Init_ISeq)
-
remove iseqw_iseq_key initialization
- test/objspace/test_objspace.rb
-
new test [ruby-core:70344] [Feature #11435]
Wed Aug 12 21:15:27 2015 Eric Wong<EMAIL_ADDRESS>↑
- vm_core.h (rb_call_info_kw_arg_bytes)
-
extract from compile.c
- compile.c (iseq_build_callinfo_from_hash)
-
use above function
Wed Aug 12 18:00:17 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- class.c (move_refined_method)
-
same as the last commit.
Wed Aug 12 17:57:53 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- class.c, gc.c vm.c
-
use ID_TABLE_* instead of ST_*
Wed Aug 12 17:05:36 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- id_table.h
-
introduce ID key table. [Feature #11420] This table only manage ID->VALUE table to reduce overhead of st. Some functions prefixed rb_id_table_* are provided.
- id_table.c
-
implement rb_id_table_*. There are several algorithms to implement it. Now, there are roughly 4 types: * st * array * hash (implemented by Yura Sokolov) * mix of array and hash The macro ID_TABLE_IMPL can choose implementation. You can see detailes about them at the head of id_table.c. At the default, I choose 34 (mix of list and hash). This is not final decision. Please report your suitable parameters or your data structure. * symbol.c: introduce rb_id_serial_t and rb_id_to_serial() to represent ID by serial number. * internal.h: use id_table for method tables. * class.c, gc.c, marshal.c, vm.c, vm_method.c: ditto.
Wed Aug 12 05:19:11 2015 Eric Wong<EMAIL_ADDRESS>↑
- parse.y (rb_parser_compile_cstr)
-
remove volatile arg
- (rb_parser_compile_string)
-
ditto
- (rb_parser_compile_file)
-
ditto
- (rb_parser_compile_string_path)
-
ditto
- (rb_parser_compile_file_path)
-
ditto [ruby-core:70323] [Misc #11431]
2015-08-11¶ ↑
Tue Aug 11 22:59:57 2015 Tanaka Akira<EMAIL_ADDRESS>↑
- numeric.c (Init_Numeric)
-
Fix document for Float::MIN and Float::EPSILON.
Tue Aug 11 15:22:31 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- include/ruby/ruby.h (ALLOCV_N)
-
check integer overflow, as well as ruby_xmalloc2. pointed out by Paul <pawlkt AT gmail.com>.
Tue Aug 11 14:57:09 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- array.c (rb_ary_repeated_permutation)
-
fix buffer size, ALLOCV_N already multiplies element size.
Tue Aug 11 12:13:20 2015 Jeremy Evans<EMAIL_ADDRESS>↑
- test/openssl/test_ssl.rb
-
Fix LocalJumpErrors being raised in OpenSSL tests. [ruby-core:70020][Bug #11368]
Tue Aug 11 11:54:13 2015 Alexey Lipnyagov<EMAIL_ADDRESS>↑
- string.c
-
Fix documentation for String#slice [ruby-core:70298][Bug #11427]
Tue Aug 11 11:53:28 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (superclass)
-
make superclass rule optional and allow any contents without a terminator. [EXPERIMENTAL]
Tue Aug 11 10:58:42 2015 Juanito Fatas<EMAIL_ADDRESS>↑
- string.c
-
[DOC] Make end_with? example doc symmetry with start_with? [fix GH-992][ci skip]
Tue Aug 11 10:51:19 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- test/ruby/test_array.rb
-
Add test for `Array#flatten` with level 1 [fix GH-986] Patch @yui-knk
Tue Aug 11 10:48:16 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- enum.c
-
added doc for Enumerable#zip [fix GH-985] Patch by @yui-knk
- test/ruby/test_enum.rb
-
added tests for Enumerable#zip [fix GH-985] Patch @yui-knk
Tue Aug 11 10:33:26 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- vm_method.c
-
typo fix [fix GH-993][ci skip] Patch by @0x0dea
- test/ruby/test_refinement.rb
-
ditto.
2015-08-09¶ ↑
Sun Aug 9 14:15:54 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm.c (Init_vm_objects, rb_vm_fstring_table)
-
use frozen_strings table in rb_vm_t. [ruby-core:70274] [Bug #11423]
2015-08-08¶ ↑
Sat Aug 8 03:59:51 2015 Zachary Scott<EMAIL_ADDRESS>↑
- object.c
-
[DOC] Improve grammar for Module#=== Patch by @SkyBirdSoar in documenting-ruby/ruby#52: github.com/documenting-ruby/ruby/pull/52
Sat Aug 8 03:39:33 2015 Zachary Scott<EMAIL_ADDRESS>↑
- hash.c
-
[DOC] Improve description of symbol key syntax Patch by Raphael Das Gupta in documenting-ruby/ruby#51: github.com/documenting-ruby/ruby/pull/51
2015-08-07¶ ↑
Fri Aug 7 21:04:19 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (parser_params)
-
turn in_def and in_single into bit flags and reduce the size by 2-words.
- parse.y (parser_params)
-
remove redundant prefixes.
- parse.y (yylex)
-
non-pure parser has not been supported since merger of ripper. change argument types from void pointers.
Fri Aug 7 17:07:56 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- proc.c (method_super_method)
-
uncallable method entry does not have the defined class, use the owner instead. [ruby-core:70254] [Bug #11419]
- test/ruby/test_method.rb (test_super_method_unbound)
-
add test by Akira Matsuda.
2015-08-06¶ ↑
Thu Aug 6 10:49:57 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- node.c (rb_alloc_tmp_buffer)
-
round up the size and check the range.
- ruby_atomic.h (ATOMIC_VALUE_EXCHANGE, ATOMIC_VALUE_CAS)
-
add atomic operations for VALUE.
Thu Aug 6 08:15:49 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/lib/openssl/ssl.rb (module OpenSSL)
-
move SSLSocket#sysclose to Ruby.
- ext/openssl/ossl_ssl.c (ossl_ssl_close)
-
ditto
Thu Aug 6 07:57:21 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/lib/openssl/ssl.rb (module OpenSSL)
-
move nonblock enable to SSLSocket#initialize and remove Nonblock module.
Thu Aug 6 07:53:47 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/lib/openssl/ssl.rb (module OpenSSL)
-
move OpenSSL::SSL::SSLSocket#initialize to Ruby.
- ext/openssl/ossl_ssl.c
-
ditto
Thu Aug 6 02:25:31 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- node.c (rb_alloc_tmp_buffer)
-
use NODE_ALLOCA to mark locations like as builtin alloca. [ruby-core:70251] [Bug #11418]
2015-08-05¶ ↑
Wed Aug 5 14:37:55 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- transcode.c (rb_econv_open0)
-
rb_econv_t::source_encoding_name and rb_econv_t::destination_encoding_name should refer static strings always or NULL. [ruby-core:70247] [Bug #11416]
2015-08-04¶ ↑
Tue Aug 4 16:53:43 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/lib/openssl/ssl.rb (module OpenSSL)
-
extract callback lookup to private Ruby methods. This means we can keep the default DH callback logic hidden from consumers. Also, since the SSLSocket always has a context, we can remove conditionals about that instance.
- ext/openssl/ossl_ssl.c
-
move callback lookup methods to private Ruby methods.
Tue Aug 4 16:40:26 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- test/ruby/test_module.rb
-
should not expect a method table ordering. [Feature #11414]
Tue Aug 04 15:30:04 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- proc.c (rb_block_clear_env_self)
-
clear by Qfalse instead of Qnil. [Bug #11409]
- test/ruby/test_eval.rb
-
add tests for this issue, written by @0x0dea. github.com/ruby/ruby/pull/988
Tue Aug 4 12:12:14 2015 Eric Wong<EMAIL_ADDRESS>↑
- variable.c
-
wrap long lines
Tue Aug 4 09:32:30 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- proc.c
-
Removing duplicate doc [fix GH-987][ci skip] Patch by @ronakjangir47
Tue Aug 4 09:21:58 2015 Richard Schneeman<EMAIL_ADDRESS>↑
- doc/contributing.rdoc
-
fixed wrong instructions with OS X [fix GH-989][ci skip] Patch by @schneems
2015-08-03¶ ↑
Mon Aug 3 10:08:33 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- re.c (rb_memsearch)
-
should match only char boundaries in wide character encodings. [ruby-core:70220] [Bug #11413]
2015-08-02¶ ↑
Sun Aug 2 07:01:17 2015 Eric Wong<EMAIL_ADDRESS>↑
- ext/openssl/lib/openssl/buffering.rb (gets)
-
avoid comparing fixnum with nil
- test/openssl/test_pair.rb
-
test gets with limit when EOF is hit Thanks to Bar Hofesh<EMAIL_ADDRESS>for the bug report and testing. [ruby-core:70149] [Bug #11400]
2015-08-01¶ ↑
Sat Aug 1 17:13:15 2015 Kazuki Tsujimoto<EMAIL_ADDRESS>↑
- lib/net/http/response.rb (Net::HTTPResponse::Inflater#finish)
-
fix a bug that empty gzipped response body causes Zlib::BufError. [ruby-core:68846] [Bug #11058]
- test/net/http/test_httpresponse.rb
-
tests for the above.
Sat Aug 1 17:05:18 2015 Kazuki Tsujimoto<EMAIL_ADDRESS>↑
- lib/net/http/response.rb (Net::HTTPResponse#inflater)
-
fix TypeError. An exception object might be nil. [ruby-core:68846] [Bug #11058]
Sat Aug 1 09:09:46 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/ossl_ssl.c (ossl_sslctx_setup)
-
Implement SSLContext#options and options= using SSL_CTX_set_options and SSL_CTX_get_options. This reduces the number of ivars we need and simplifies `ossl_sslctx_setup`.
- ext/openssl/lib/openssl/ssl.rb (module OpenSSL)
-
Default `options` to SSL_OP_ALL
Sat Aug 1 06:54:36 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/ossl_ssl.c (Init_ossl_ssl)
-
OpenSSL declares these constants as longs, so we should follow that and use LONG2NUM. git.io/vOqxD
Sat Aug 1 04:06:29 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/ossl_ssl.c (ossl_call_tmp_dh_callback)
-
change callback to return the Ruby dh (or ecdh) object that the caller cares about instead of doing rb_iv_get / set to communicate. This means we can remove an rb_iv_get call, and only use the set calls for their intended purpose (to prevent the object from being GC'd).
- ext/openssl/ossl_ssl.c (ossl_tmp_dh_callback)
-
ditto
- ext/openssl/ossl_ssl.c (ossl_call_tmp_ecdh_callback)
-
ditto
- ext/openssl/ossl_ssl.c (ossl_tmp_ecdh_callback)
-
ditto
Sat Aug 1 03:49:31 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/ossl_ssl.c (ossl_call_tmp_dh_callback)
-
Similarly to the tmp_ecdh_callback, the SSLSocket instance always holds a reference to the SSLContext object (it's always set in `initialize`). The SSLContext holds a reference to the tmp_dh_callback. Ask the context for the callback instead of storing the callback in two places.
Sat Aug 1 03:43:10 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/ossl_ssl.c (ossl_call_tmp_dh_callback)
-
create an array and use `rb_apply` to clean up calls to `rb_protect`.
- ext/openssl/ossl_ssl.c (ossl_tmp_dh_callback)
-
ditto
Sat Aug 1 03:27:12 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/ossl_ssl.c (ossl_call_tmp_ecdh_callback)
-
The SSL socket always holds a reference to the SSLContext object, which will have the callback object. Ask the context for the callback instead of storing the callback in two places.
Sat Aug 1 03:14:07 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/lib/openssl/ssl.rb (module OpenSSL)
-
convert `tmp_dh_callback` to Ruby, and call it when setting up an SSL connection. This allows us to move the “default” behavior to the reader method.
- ext/openssl/ossl_ssl.c
-
call the tmp_dh_callback instead of accessing the SSLContext's internals.
2015-07-31¶ ↑
Fri Jul 31 23:34:27 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- .travis.yml
-
update libssl before running tests. Thanks to Chris Sinjakli<EMAIL_ADDRESS>for figuring out the travis settings!
Fri Jul 31 21:34:49 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- load.c (rb_require_internal)
-
use rb_load_internal0 not to raise a exception to be caught.
2015-07-30¶ ↑
Thu Jul 30 13:19:54 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- variable.c (rb_const_get_0)
-
warn deprecated constant reference.
- variable.c (rb_mod_deprecate_constant)
-
mark constants to be warned as deprecated. [Feature #11398]
Thu Jul 30 11:53:54 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- thread.c (rb_thread_s_handle_interrupt)
-
make identity hash, to compare masking classes just by their IDs.
Thu Jul 30 11:52:55 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- load.c (rb_load_internal0)
-
stop separating exits at loading from exits from execution. TAG_FATAL is the only case that `errinfo` is a Fixnum, and should continue to exit by JUMP_TAG but not raising as an ordinary exception. [ruby-core:70169] [Bug #11404]
Thu Jul 30 10:42:27 2015 Alex Dowad<EMAIL_ADDRESS>↑
- load.c (rb_load_internal0)
-
extra check before returning TAG_RAISE when a non-local transfer of control happens while loading and parsing a Ruby source file. [ruby-core:70169] [Bug #11404]
Thu Jul 30 08:48:42 2015 Eric Wong<EMAIL_ADDRESS>↑
- st.c (find_entry)
-
constify st_table*
- (find_packed_index_from)
-
ditto
- (find_packed_index)
-
ditto
- (get_keys)
-
ditto
- (get_values)
-
ditto
Thu Jul 30 04:29:25 2015 Eric Wong<EMAIL_ADDRESS>↑
- benchmark/bm_hash_aref_dsym.rb
-
new benchmark
- benchmark/bm_hash_aref_dsym_long.rb
-
ditto
- benchmark/bm_hash_aref_fix.rb
-
ditto
2015-07-29¶ ↑
Wed Jul 29 21:38:41 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- hash.c (any_hash), symbol.c (dsymbol_alloc)
-
fix dynamic symbol hash value by restricting in Fixnum range, that is `long`.
Wed Jul 29 17:25:46 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- hash.c (rb_obj_hash)
-
move in order to share with rb_any_hash.
Wed Jul 29 16:00:22 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- string.c (str_buf_cat)
-
consider empty non-embed string case, not to loop infinitely. [ruby-core:70074] [Bug #11383]
Wed Jul 29 15:25:19 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm_eval.c (send_internal)
-
set method_missing_reason before invoking overriding method_missing method so that the default method_missing can achieve it properly. [ruby-core:68515] [Bug #10969]
Wed Jul 29 14:54:16 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- hash.c (rb_sym_hash)
-
return same value as rb_any_hash() of Symbol. [Bug #9381]
- hash.c (rb_any_hash)
-
fix Float hash. rb_dbl_hash() returns a Fixnum, but not a long. [Bug #9381]
Wed Jul 29 11:07:10 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- internal.h (LIKELY, UNLIKELY)
-
make a boolean to enforce 1 or 0.
Wed Jul 29 10:44:43 2015 Alex Dowad<EMAIL_ADDRESS>↑
- gc.c
-
document argument passed to finalizer proc. [fix GH-976][ci skip] Patch by @alexdowad
Wed Jul 29 10:36:58 2015 NARUSE, Yui<EMAIL_ADDRESS>↑
- io.c (rb_io_extract_modeenc)
-
add option parameter `flags' to append extra oflags to normal mode. [Feature #11253] [ruby-core:69539]
Wed Jul 29 04:54:47 2015 Eric Wong<EMAIL_ADDRESS>↑
- test/rubygems/test_gem_remote_fetcher.rb
-
pre-generate test key [ruby-core:70151] [Bug #11397]
2015-07-28¶ ↑
Tue Jul 28 10:32:09 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- internal.h (struct RClass)
-
moved from ruby/ruby.h to hide the internals.
Tue Jul 28 08:48:29 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in (RUBY_TYPE_ATTRIBUTE)
-
attribute declaration for types.
Tue Jul 28 07:23:03 2015 Eric Wong<EMAIL_ADDRESS>↑
- symbol.h (struct RSymbol)
-
add hashval field
- symbol.c (dsymbol_alloc)
-
setup hashval field once
- hash.c (rb_any_hash)
-
return RSymbol->hashval directly
- common.mk
-
hash.o depends on symbol.h Thanks to Bruno Escherl<EMAIL_ADDRESS>for the bug report [ruby-core:70129] [Bug #11396]
Tue Jul 28 03:26:15 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/lib/openssl/ssl.rb (module OpenSSL)
-
raise a more helpful exception when verifying the peer connection and an anonymous cipher has been selected. [ruby-core:68330] [Bug #10910] Thanks to Chris Sinjakli<EMAIL_ADDRESS>for the patch.
- test/openssl/test_ssl.rb (class OpenSSL)
-
test for change
2015-07-27¶ ↑
Mon Jul 27 13:24:11 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- template/id.h.tmpl (ID2ATTRSET)
-
remove an unused macro.
Mon Jul 27 12:21:15 2015 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/openssl/test_ssl.rb
-
run tests on non-Unix platforms.
2015-07-26¶ ↑
Sun Jul 26 19:21:31 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/openssl/ossl_ssl.c (ossl_ssl_alpn_protocol)
-
fix condition to compile, needs ALPN to be available. [Feature #9390]
Sun Jul 26 11:29:01 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- signal.c (default_handler, Init_signal)
-
discard SIGSYS, ENOSYS should raise a SystemCallError always instead.
Sun Jul 26 10:26:35 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/ossl_ssl.c (ossl_call_servername_cb)
-
set the ssl context object returned by the servername callback on to the socket as an instance variable. If the callback allocated a new context object and didn't keep a reference to it, it could be GC'd out from under the socket object.
- test/openssl/test_ssl.rb (class OpenSSL)
-
test for change.
Sun Jul 26 10:07:26 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- test/openssl/test_ssl.rb (class OpenSSL)
-
add test coverage around OpenSSL::SSL::SSLContext#servername_cb
Sun Jul 26 09:10:32 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- gems/bundled_gems
-
update latest version of bundled power_assert.
Sun Jul 26 08:49:28 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- test/rubygems/test_gem_remote_fetcher.rb
-
backport rubygems upstream change for OpenSSL key length. see detail to github.com/rubygems/rubygems/pull/1290
Sun Jul 26 08:33:03 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/lib/openssl/pkey.rb
-
implement DEFAULT_512 and DEFAULT_1024 constants in Ruby.
- ext/openssl/lib/openssl/ssl.rb (module OpenSSL)
-
Ask PKey for the default DH callback since it already must check whether openssl has been compiled with DH support.
- ext/openssl/ossl_pkey_dh.c (OSSL_PKEY_BN)
-
Remove C definitions of DEFAULT_512 and DEFAULT_1024
- ext/openssl/ossl_pkey_dh.c (Init_ossl_dh)
-
ditto
- test/openssl/test_pkey_dh.rb (class OpenSSL)
-
add test to ensure the Ruby definitions are the same as the C definitions were.
Sun Jul 26 08:14:59 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/lib/openssl/ssl.rb (module OpenSSL)
-
support specifically setting the tmp_dh_callback to nil.
- ext/openssl/ossl_ssl.c (Init_ossl_ssl)
-
ditto
- test/openssl/test_pair.rb (module OpenSSL)
-
add a test
Sun Jul 26 07:47:14 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/lib/openssl/ssl.rb (module OpenSSL)
-
move the default tmp_dh_callback Ruby code and set it as a default in `initialize`.
- ext/openssl/ossl_pkey_dh.c (static unsigned char DEFAULT_DH_512_GEN)
-
move this constant to Ruby.
- ext/openssl/ossl_pkey_dh.c (static unsigned char DEFAULT_DH_1024_GEN)
-
ditto
- ext/openssl/ossl_pkey_dh.c (Init_ossl_dh)
-
ditto
- ext/openssl/ossl_ssl.c (ossl_tmp_dh_callback)
-
ditto
- ext/openssl/ossl_ssl.c (ossl_sslctx_setup)
-
tmp_dh_callback should always be set, so we can remove this conditional
Sun Jul 26 06:22:24 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- test/openssl/test_pair.rb
-
add a test ensuring that the default DH callback is used when no DH callback is specified.
Sun Jul 26 04:08:27 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/lib/openssl/ssl.rb (module OpenSSL)
-
add missing instance variables to squash warnings with alpn.
Sun Jul 26 03:42:19 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/lib/openssl/ssl.rb (module OpenSSL)
-
move OpenSSL::SSL::SSLContext#initialize implementation to pure Ruby.
- ext/openssl/ossl_ssl.c (ossl_sslctx_initialize)
-
ditto
- ext/openssl/ossl_ssl.c (Init_ossl_ssl)
-
ditto
2015-07-25¶ ↑
Sat Jul 25 21:03:45 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- random.c (fill_random_bytes_syscall)
-
get rid of blocking when no entropy is available. based on the patch by mame in [ruby-core:70114]. [Bug #11395]
Sat Jul 25 11:05:31 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- string.c (str_replace_shared_without_enc)
-
fill the terminator of embedded strings in wide char encodings.
Sat Jul 25 06:38:36 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
size should be unsigned. * rb_call_info_t::index * rb_iseq_constant_body::stack_max * rb_iseq_constant_body::local_size * rb_iseq_constant_body::param::size * rb_iseq_constant_body::local_table_size * rb_iseq_constant_body::is_size * rb_iseq_constant_body::callinfo_size
- iseq.h
-
same for iseq_catch_table::size.
- compile.c
-
catch up these fix.
- iseq.c
-
ditto.
- proc.c
-
ditto.
- vm.c
-
ditto.
- vm_args.c
-
ditto.
- vm_eval.c
-
ditto.
- vm_insnhelper.c
-
ditto.
Sat Jul 25 06:00:09 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
constify rb_iseq_constant_body::line_info_table.
- iseq.c
-
catch up this fix.
Sat Jul 25 05:56:43 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
constify rb_iseq_constant_body::param::opt_table and rb_iseq_constant_body::param::keyword.
- compile.c
-
catch up this fix.
Sat Jul 25 04:47:01 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
constify rb_iseq_constant_body::catch_table.
- compile.c (iseq_set_exception_table)
-
catch up this fix.
- iseq.c
-
ditto.
- vm.c (vm_exec)
-
ditto.
2015-07-24¶ ↑
Fri Jul 24 21:29:54 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- st.c (EQUAL, st_delete_safe)
-
fix arguments order to compare function, searching key is the first and stored key is the second always.
Fri Jul 24 21:27:29 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- string.c (fstr_update_callback)
-
fstring must not be a shared string, or the content without RSTRING_FSTR may be freed. [ruby-dev:49188] [Bug #11386]
Fri Jul 24 20:09:43 2015 Naohisa Goto<EMAIL_ADDRESS>↑
- test/rinda/test_rinda.rb (RingIPv6#prepare_ipv6)
-
prevent to use IPv6 loopback interface for Rinda::TestRingFinger#test_make_socket_ipv6_multicast and Rinda::TestRingFinger#test_make_socket_ipv6_multicast_hops. The tests are skipped if there are no IPv6 devices other than the loopback device. [Bug #11394] [ruby-dev:49199]
- test/rinda/test_rinda.rb (test_make_socket_ipv6_multicast)
-
ditto for Rinda::TestRingServer#test_make_socket_ipv6_multicast.
- test/rinda/test_rinda.rb (test_ring_server_ipv6_multicast)
-
ditto for Rinda::TestRingServer#test_ring_server_ipv6_multicast.
Fri Jul 24 16:35:55 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- string.c (fstr_update_callback)
-
pool bare strings only.
- string.c (rb_fstring)
-
return the original string with sharing a fstring if it has extra attributes, not the fstring itself. [ruby-dev:49188] [Bug #11386]
Fri Jul 24 16:35:34 2015 yui-knk<EMAIL_ADDRESS>↑
- file.c (rb_file_s_extname)
-
[DOC] add an example.
- test/ruby/test_path.rb (test_extname)
-
add tests. [Fix GH-978] * path starts with dot ('.a.rb') * path includes dir name ('a/b/d/test.rb') * path includes dir name and dir name starts with dot
2015-07-23¶ ↑
Thu Jul 23 18:50:43 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
constify rb_iseq_constant_body::local_table and rb_iseq_param_keyword::table and rb_iseq_param_keyword::default_values.
- compile.c
-
catch up this fix.
- iseq.c
-
ditto.
Thu Jul 23 17:30:43 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
constify rb_iseq_constant_body::iseq_encoded and rb_control_frame_t::pc.
- compile.c (rb_iseq_translate_threaded_code)
-
catch up this fix.
- iseq.c
-
ditto.
- vm_exec.c (vm_exec_core)
-
ditto.
Thu Jul 23 10:25:46 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- include/ruby/ruby.h
-
add raw FL macros, which assume always the argument object is not a special constant.
- internal.h (STR_EMBED_P, STR_SHARED_P)
-
valid only for T_STRING.
- string.c
-
deal with taint flags directly across String instances.
Thu Jul 23 09:05:28 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (lambda_body)
-
pop cmdarg stack for lookahead token. [ruby-core:70067] [Bug #11380]
Thu Jul 23 04:03:03 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/ossl_ssl.c
-
fix tests by not setting the instance variable on the frozen ssl instance.
Thu Jul 23 03:32:26 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/ossl_ssl.c
-
add ECDH callback support. [Feature #11356]
- test/openssl/test_pair.rb
-
test for ECDH callback support
Thu Jul 23 03:29:49 2015 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/openssl/ossl_ssl.c
-
add ALPN support. [Feature #9390]
- ext/openssl/extconf.rb
-
detect ALPN support in OpenSSL
- test/openssl/test_ssl.rb
-
test for ALPN
2015-07-22¶ ↑
Wed Jul 22 23:44:17 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- string.c (rb_str_reverse)
-
reversed string is not a substring, and should not set coderange of the original string. [ruby-dev:49189] [Bug #11387]
Wed Jul 22 20:17:51 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
modify layout of rb_iseq_constant_body. Move frequent accessing fields to upper part.
Wed Jul 22 19:57:47 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
remove unused declaration of iseq_compile_data_ensure_node_stack.
Wed Jul 22 19:52:45 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
separate rb_iseq_body into rb_iseq_constant_body and rb_iseq_variable_body (rb_iseq_t::variable_body). rb_iseq_variable_body can be modified after compilation.
- compile.c
-
use rb_iseq_t::variable_body.
- iseq.c
-
ditto.
- thread.c
-
ditto.
Wed Jul 22 17:50:35 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- lib/matrix/eigenvalue_decomposition.rb
-
refine code style. [fix GH-959][ci skip] Patch by @bogdanvlviv
Wed Jul 22 15:48:47 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- test/ruby/test_range.rb
-
Add test case for Range#end with exclude_end true case. [fix GH-968] Patch by @yui-knk
Wed Jul 22 09:45:31 2015 Maksim Sitnikov<EMAIL_ADDRESS>↑
- numeric.c (num_coerce)
-
[DOC] fix doc for Numeric#coerce, missing '+'. [Fix GH-974]
Wed Jul 22 07:24:18 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- make rb_iseq_t T_IMEMO object (type is imemo_iseq). All contents of previous rb_iseq_t is in rb_iseq_t
-
:body. Remove rb_iseq_t::self because rb_iseq_t is an object. RubyVM::InstructionSequence is wrapper object points T_IMEMO/iseq. So RubyVM::ISeq.of(something) method returns different wrapper objects but they point the same T_IMEMO/iseq object. This patch is big, but most of difference is replacement of iseq->xxx to iseq->body->xxx.
- (previous) rb_iseq_t
-
:compile_data is also located to rb_iseq_t::compile_data. It was moved from rb_iseq_body::compile_data. Now rb_iseq_t has empty two pointers. I will split rb_iseq_body data into static data and dynamic data.
- compile.c
-
rename some functions/macros. Now, we don't need to separate iseq and iseqval (only VALUE).
- eval.c (ruby_exec_internal)
-
`n' is rb_iseq_t (T_IMEMO/iseq).
- ext/objspace/objspace.c (count_imemo_objects)
-
count T_IMEMO/iseq.
- gc.c
-
check T_IMEMO/iseq.
- internal.h
-
add imemo_type::imemo_iseq.
- iseq.c
-
define RubyVM::InstructionSequence as T_OBJECT. Methods are implemented by functions named iseqw_.…
- load.c (rb_load_internal0)
-
rb_iseq_new_top() returns rb_iseq_t (T_IMEMO/iesq).
- method.h (rb_add_method_iseq)
-
accept rb_iseq_t (T_IMEMO/iseq).
- vm_core.h (GetISeqPtr)
-
removed because it is not T_DATA now.
- vm_core.h (struct rb_iseq_body)
-
remove padding for [Bug #10037].
Wed Jul 22 07:15:33 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- ext/objspace/objspace.c (total_i)
-
no need to skip singleton classes.
Wed Jul 22 06:37:54 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
constify rb_call_info_t::kw_arg, rb_control_frame_t::iseq and rb_control_frame_t::block_iseq.
- iseq.c (iseq_free)
-
catch up this fix.
- vm.c
-
ditto.
- vm_dump.c
-
ditto.
Wed Jul 22 06:25:45 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
constify rb_call_info_t::blockiseq and rb_block_t::iseq.
- vm.c, vm_insnhelper.c
-
catch up this fix.
- iseq.c (iseq_data_to_ary)
-
constify the first iseq parameter.
- vm_insnhelper.c (vm_make_proc_with_iseq)
-
ditto.
Wed Jul 22 06:17:35 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- method.h
-
constify rb_method_iseq_t::iseqptr.
- proc.c (rb_method_entry_min_max_arity)
-
catch up this fix.
- vm_insnhelper.c (def_iseq_ptr)
-
constify.
Wed Jul 22 03:37:39 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- gc.c (internal_object_p)
-
Now a singleton classes appear by ObjectSpace.each_object. [Bug #11360]
- test/ruby/test_objectspace.rb
-
add a test about it.
2015-07-21¶ ↑
Tue Jul 21 21:21:33 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- thread.c (do_select)
-
replace switch and goto with a loop to suppress maybe-uninitialized warnings by gcc6.
- thread.c (set_unblock_function, rb_wait_for_single_fd)
-
ditto.
Tue Jul 21 20:32:33 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- test/ruby/test_range.rb
-
Add test for Range#hash [fix GH-969] Patch by @yui-knk
Tue Jul 21 19:43:20 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- compile.c
-
constify the first parameter (iseq). * iseq_add_mark_object() * iseq_add_mark_object_compile_time()
- iseq.c, iseq.h (rb_iseq_add_mark_object)
-
ditto.
Tue Jul 21 16:18:48 2015 Eric Wong<EMAIL_ADDRESS>↑
- test/socket/test_nonblock.rb
-
increase buffer sizes to OpenBSD limits. Thanks to Jeremy Evans<EMAIL_ADDRESS>[ruby-core:70058]
Tue Jul 21 16:08:53 2015 Eric Wong<EMAIL_ADDRESS>↑
- load.c (ruby_dln_librefs)
-
make static
Tue Jul 21 13:36:54 2015 yuuji.yaginuma<EMAIL_ADDRESS>↑
- lib/optparse.rb (complete)
-
[DOC] fix typo. [Fix GH-973]
Tue Jul 21 05:20:21 2015 Eric Wong<EMAIL_ADDRESS>↑
- io.c (nogvl_wait_for_single_fd)
-
new function for Linux
- (maygvl_copy_stream_wait_read)
-
Linux-specific version
- (nogvl_copy_stream_wait_write)
-
use nogvl_wait_for_single_fd [ruby-core:70051] [Feature #11377]
2015-07-20¶ ↑
Mon Jul 20 15:04:30 2015 Eric Wong<EMAIL_ADDRESS>↑
- parse.y (parser_initialize)
-
avoid redundant zero-ing
Mon Jul 20 12:12:05 2015 Eric Wong<EMAIL_ADDRESS>↑
- parse.y (struct parser_params)
-
pack: 88 => 256 bytes on 64-bit [ruby-core:70034] [Feature #11371]
2015-07-19¶ ↑
Sun Jul 19 14:29:18 2015 windwiny<EMAIL_ADDRESS>↑
- ext/pty/pty.c
-
[DOC] fix example typo, an old name at move from PTY.open. [Fix GH-972]
2015-07-18¶ ↑
Sat Jul 18 21:29:19 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- thread.c (vm_check_ints_blocking)
-
gather common statements at the end, and prefer LIKELY for Visual C optimization.
Sat Jul 18 20:44:56 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- load.c (rb_load_internal0)
-
do not raise any exceptions but return the result tag state.
- load.c (rb_load_protect)
-
reduce nested EXEC_TAGs.
Sat Jul 18 19:52:17 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- gc.c (run_finalizer)
-
set and restore safe level here to reduce nested EXEC_TAGs.
Sat Jul 18 18:45:22 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- eval.c (ruby_cleanup)
-
error_handle() returns exit status to the system, not internal error state, do not convert the exit status again.
Sat Jul 18 10:29:03 2015 Eric Wong<EMAIL_ADDRESS>↑
- test/ruby/test_process.rb
-
test thread+sigs work after failed exec
Sat Jul 18 07:20:18 2015 Jeremy Evans<EMAIL_ADDRESS>↑
- test/socket/test_nonblock
-
use smaller buffer for sendmsg [ruby-core:70016] [Bug #11364]
Sat Jul 18 07:04:24 2015 Eric Wong<EMAIL_ADDRESS>↑
- signal.c (trap_handler)
-
cleanup to use RSTRING_GETMEM + memcmp
Sat Jul 18 02:53:06 2015 Eric Wong<EMAIL_ADDRESS>↑
- io.c (argf_read_nonblock)
-
support `exception: false'
- (io_nonblock_eof)
-
new function
- (io_read_nonblock)
-
use io_nonblock_eof
- (argf_getpartial)
-
accept kwargs hash for `exception: false'
- test/ruby/test_argf.rb (test_read_nonblock)
-
new test
- NEWS
-
add item for ARGF.read_nonblock [ruby-core:70000] [Feature #11358]
2015-07-17¶ ↑
Fri Jul 17 23:51:31 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm_eval.c (rb_eval_cmd)
-
$SAFE=4 has been deprecated.
Fri Jul 17 22:18:09 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- compile.c (iseq_compile_each)
-
use enum ruby_tag_type names.
- vm_core.h (ruby_tag_type)
-
move from eval_intern.h for compiling break/next/redo/return.
Fri Jul 17 15:39:19 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- include/ruby/encoding.h (ENC_CODERANGE_CLEAN_P)
-
predicate that tells if the coderange is clean, that is 7bit or valid, and no needs to scrub.
- re.c (rb_reg_expr_str)
-
use ENC_CODERANGE_CLEAN_P.
- string.c (enc_strlen, rb_enc_cr_str_buf_cat, rb_str_scrub)
-
ditto.
- string.c (rb_str_enumerate_chars)
-
ditto, and suppress a warning by gcc6.
Fri Jul 17 15:36:52 2015 yui-knk<EMAIL_ADDRESS>↑
- test/ruby/test_range.rb (test_first_last)
-
Add test for `Range.new`. [Fix GH-971]
Fri Jul 17 15:36:40 2015 yui-knk<EMAIL_ADDRESS>↑
- test/ruby/test_range.rb (test_first_last)
-
Add assertions to test of `Range#last` with exclude_end true case. [Fix GH-970]
Fri Jul 17 09:59:14 2015 Eric Wong<EMAIL_ADDRESS>↑
- thread.c (rb_thread_alone)
-
simplify
Fri Jul 17 09:58:32 2015 Eric Wong<EMAIL_ADDRESS>↑
- lib/rinda/tuplespace.rb
-
remove enumerator require
- test/pathname/test_pathname.rb
-
ditto
Fri Jul 17 05:33:58 2015 Eric Wong<EMAIL_ADDRESS>↑
- iseq.c (rb_iseq_compile_with_option)
-
reuse result of previous GET_THREAD() call
- thread.c (thread_create_core)
-
ditto
- (rb_mutex_trylock)
-
ditto
- (rb_mutex_lock)
-
ditto
- process.c (rb_waitpid)
-
avoid multiple eval from RUBY_VM_CHECK_INTS
- thread.c (rb_thread_check_ints)
-
ditto
2015-07-16¶ ↑
Thu Jul 16 19:12:30 2015 Eric Wong<EMAIL_ADDRESS>↑
- thread.c (mutex_alloc)
-
remove needless volatile
Thu Jul 16 22:05:29 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
constify rb_iseq_t::parent_iseq. rb_iseq_t::local_iseq is not constant data because local_iseq::flip_cnt can be modified (commented).
- compile.c
-
catch up this fix.
- iseq.c
-
ditto.
- vm_insnhelper.c
-
ditto.
Thu Jul 16 21:47:47 2015 Naohisa Goto<EMAIL_ADDRESS>↑
- process.c (redirect_dup2)
-
when the new FD of dup2() conflicts with one of the timer thread FDs, the internal FD is diverted. [Bug #11336] [ruby-core:69886] [Bug #11350] [ruby-core:69961]
- process.c (dup2_with_divert)
-
new function for the above purpose.
- thread_pthread.c (rb_divert_reserved_fd)
-
new function for diverting reserved FD. If the given FD is the same as one of the reserved FDs, the reserved FD number is internally changed. It returns -1 when error. Otherwise, returns 0. It also returns 0 if there is no need to change reserved FD number.
- thread_win32.c (rb_divert_reserved_fd)
-
always returns 0 because of no reserved FDs.
- internal.h (rb_divert_reserved_fd)
-
prototype declaration. It is Ruby internal use only.
Thu Jul 16 21:47:46 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- iseq.c (rb_iseq_disasm)
-
rename rb_iseq_t *iseqdat to iseq and VALUE *iseq to code.
- iseq.c (rb_iseq_disasm_insn)
-
ditto.
Thu Jul 16 14:34:24 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vm.c (REWIND_CFP)
-
keep the arguments region inside the valid value stack. [ruby-core:69969] [Bug #11352]
Thu Jul 16 11:38:21 2015 Eric Wong<EMAIL_ADDRESS>↑
- process.c (close_unless_reserved)
-
declare type of `fd' arg
Thu Jul 16 08:47:29 2015 Eric Wong<EMAIL_ADDRESS>↑
- load.c (rb_construct_expanded_load_path)
-
fstring expanded path
- (get_loaded_features_index)
-
fstring feature path
- (rb_provide_feature)
-
ditto [ruby-core:69871] [Feature #11331]
Thu Jul 16 02:56:14 2015 Eric Wong<EMAIL_ADDRESS>↑
- thread.c (thread_initialize)
-
avoid RSTRING_PTR and NUMT2INT
Thu Jul 16 01:00:46 2015 Naohisa Goto<EMAIL_ADDRESS>↑
- test/ruby/test_process.rb (test_exec_close_reserved_fd)
-
test for [Bug #11353]
Thu Jul 16 00:35:42 2015 Kazuhiro NISHIYAMA<EMAIL_ADDRESS>↑
- .gitignore
-
ignore version.i.
2015-07-15¶ ↑
Wed Jul 15 23:40:32 2015 Naohisa Goto<EMAIL_ADDRESS>↑
- test/ruby/test_process.rb (test_deadlock_by_signal_at_forking)
-
use RUBY (= EnvUtil.rubybin)
Wed Jul 15 23:01:22 2015 Naohisa Goto<EMAIL_ADDRESS>↑
- process.c (redirect_close, parent_redirect_close)
-
should not close reserved FD. It should be closed in the exec system call due to the O_CLOEXEC or FD_CLOEXEC flag. [Bug #11353] [ruby-core:69977]
- process.c (close_unless_reserved)
-
new function to close FD unless it is reserved for internal communication.
- thread_pthread.c (rb_reserved_fd_p)
-
should check owner_process pid to avoid false positive in forked child process.
Wed Jul 15 18:31:18 2015 Eric Wong<EMAIL_ADDRESS>↑
- proc.c (proc_mark)
-
remove redundant check
- vm.c (env_mark)
-
ditto
Wed Jul 15 17:27:40 2015 Eric Wong<EMAIL_ADDRESS>↑
- iseq.c (iseq_mark)
-
remove check for data pointer
- proc.c (binding_mark)
-
ditto
- vm.c (rb_thread_mark)
-
ditto
- vm_trace.c (tp_mark)
-
ditto
Wed Jul 15 16:55:04 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- encoding.c (enc_autoload)
-
drop dummy encoding flag from the loaded encoding index. this flag is used only in this source.
Wed Jul 15 14:39:29 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm.c (vm_make_env_each)
-
add comments about env layout. Do not use `i' to specify `new_ep'.
- vm.c (rb_proc_create, rb_vm_make_proc_lambda)
-
envval is not used.
Wed Jul 15 08:59:19 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- gc.h (RUBY_MARK_UNLESS_NULL)
-
evaluate the argument only once to get rid of inadvertent side effects.
Wed Jul 15 02:53:11 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h, vm.c
-
remove rb_proc_t::envval because we can know it via rb_proc_t::block::ep. rb_vm_proc_envval(const rb_proc_t *proc) returns an Env object which the Proc object use.
- proc.c
-
catch up this fix.
- vm_dump.c (rb_vmdebug_proc_dump_raw)
-
ditto.
Wed Jul 15 02:27:22 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h, vm.c
-
remove rb_env_t::prev_envval because we can know it via env->ep. rb_vm_env_prev_envval(env) returns prev_envval via env->ep.
- vm_core.h (rb_vm_env_local_variables)
-
change parameter type from VALUE (T_DATA/env) to `const rb_env_t *' to make same as rb_vm_env_prev_envval().
- proc.c
-
catch up these changes.
- vm_dump.c
-
ditto.
- vm.c
-
rename macros. * ENV_IN_HEAP_P() to VM_EP_IN_HEAP_P() because it uses ep. * ENV_VAL() to VM_ENV_EP_ENVVAL() because it is too short.
Wed Jul 15 01:09:09 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm.c
-
refactoring Proc/Env related code.
- vm_core.h
-
remove blockprocval field from rb_proc_t and rb_binding_t. Instead of this field, mark given block in Proc at rb_env_t::env.
- vm.c (vm_make_env_each)
-
make an Env object with this layout. And also simplify parameters.
- proc.c
-
catch up this fix.
- vm_core.h
-
remove rb_env_t::local_size because it is not used.
- vm_dump.c (rb_vmdebug_env_dump_raw)
-
catch up this fix.
- vm_core.h (rb_vm_make_env_object)
-
remove rb_vm_make_env_object() because it is only referred from vm.c.
- vm_eval.c (eval_string_with_cref)
-
catch up this fix.
Wed Jul 15 00:03:36 2015 Kazuhiro NISHIYAMA<EMAIL_ADDRESS>↑
- gc.c (__has_feature)
-
move into internal.h.
- internal.h (__has_feature)
-
ditto.
- internal.h (__has_extension)
-
new macro.
- internal.h (STATIC_ASSERT)
-
use _Static_assert with clang. [ruby-core:69931] [Bug #11343]
Wed Jul 15 00:00:00 2015 Kazuhiro NISHIYAMA<EMAIL_ADDRESS>↑
- random.c (fill_random_bytes_syscall)
-
fix compile error with clang. [ruby-core:69931] [Bug #11343]
2015-07-14¶ ↑
Tue Jul 14 11:22:42 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#register)
-
notify the handler thread of new timeout registration.
- lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#initialize)
-
make sleep intervals adaptive than fixed period intervals.
- lib/webrick/server.rb (WEBrick::GenericServer#start)
-
flush shutdown pipe.
- lib/webrick/server.rb (WEBrick::GenericServer#stop)
-
request the server to stop immediately by sending data via shutdown pipe.
2015-07-13¶ ↑
Mon Jul 13 23:58:08 2015 Stefano Tortarolo<EMAIL_ADDRESS>↑
- lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#do_CONNECT)
-
fix typos in debugger statements. [Fix GH-967]
Mon Jul 13 19:11:35 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/timeout.rb (timeout)
-
warn as deprecated for a long time.
Mon Jul 13 01:37:27 2015 Zachary Scott<EMAIL_ADDRESS>↑
- ext/openssl/ossl.c
-
[DOC] Backport b9ea8ef at ruby/openssl [Bug #11345] Thanks to Tomoya Chiba for the report and help with patch.
2015-07-12¶ ↑
Sun Jul 12 09:20:02 2015 Shota Fukumori<EMAIL_ADDRESS>↑
- ext/socket/basicsocket.c
-
[DOC] typo (Errno::AGAIN -> Errno::EAGAIN)
- ext/socket/socket.c
-
ditto
- ext/socket/tcpserver.c
-
ditto
- ext/socket/udpsocket.c
-
ditto
- ext/socket/unixserver.c
-
ditto
- io.c
-
ditto
Sun Jul 12 06:42:23 2015 ksss<EMAIL_ADDRESS>↑
- test/stringio/test_stringio.rb (test_sysread)
-
add a test for IO::generic_readable#sysread. [Fix GH-966]
2015-07-11¶ ↑
Sat Jul 11 21:16:34 2015 ksss<EMAIL_ADDRESS>↑
- ext/stringio/stringio.c (Init_stringio)
-
[DOC] Fix an example, IO::generic_writable#puts should be set “n” at last. [Fix GH-965]
Sat Jul 11 12:45:51 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/timeout.rb (Timeout#timeout)
-
remove regexp with wrong line number and fix caller depth.
2015-07-10¶ ↑
Fri Jul 10 22:05:50 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/timeout.rb (ExitException)
-
removed internal exception class and use Timeout::Error instead, as using throw/catch to isolate each timeouts now. [ruby-dev:49179] [Bug #11344]
Fri Jul 10 17:41:54 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- dir.c (is_case_sensitive)
-
get attributes by the file descriptor of open directory, instead of using mount point name.
Fri Jul 10 10:46:02 2015 ksss<EMAIL_ADDRESS>↑
- ext/stringio/stringio.c (writable)
-
remove unnecessary check for deprecated safe level 4. [Fix GH-963]
2015-07-09¶ ↑
Thu Jul 9 15:07:12 2015 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/win32.c (waitpid)
-
return immediately if interrupted. reported by <takkanm AT gmail.com> [ruby-dev:49176] [Bug #11340]
Thu Jul 9 13:03:46 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_search_super_method)
-
use CI_SET_FASTPATH().
Thu Jul 9 11:07:06 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
remove rb_call_info_t::klass because rb_callable_method_entry_t has information about defined class.
- vm_insnhelper.c (vm_search_method)
-
don't set ci->klass because it is removed.
- vm_insnhelper.c (rb_equal_opt)
-
ditto.
- vm_insnhelper.c (vm_search_superclass)
-
removed because it is too simple to write code directly.
- vm_insnhelper.c (vm_defined)
-
don't use vm_search_superclass(). This fix avoid searching current callable `me' twice.
- vm_insnhelper.c (vm_search_super_method)
-
ditto.
Thu Jul 9 10:03:10 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- lib/net/http/responses.rb
-
Added 308 status to CODE_TO_OBJ list. [fix GH-961] Patch by @billinghamj
Thu Jul 9 09:34:14 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h (rb_control_frame_t)
-
fix comments (layout index).
Thu Jul 9 09:25:50 2015 Zachary Scott<EMAIL_ADDRESS>↑
- parse.y
-
Improve duplicate key warning with patch by @andremedeiros [Fix GH-938] github.com/ruby/ruby/pull/938 [Bug #11327]
2015-07-08¶ ↑
Wed Jul 8 07:43:01 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- lib/csv.rb
-
typo fix [ci skip][fix GH-958] Patch by @henrik
Wed Jul 8 04:42:27 2015 Eric Wong<EMAIL_ADDRESS>↑
- iseq.c (iseq_data_to_ary)
-
dump kw_arg as symbol
- test/-ext-/iseq_load/test_iseq_load.rb
-
test kw_arg roundtrip [ruby-core:69891] [Bug #11338]
2015-07-07¶ ↑
Tue Jul 7 18:18:41 2015 Kazuhiro NISHIYAMA<EMAIL_ADDRESS>↑
- random.c (fill_random_bytes_syscall)
-
fix compile error.
Tue Jul 7 16:47:30 2015 Eric Wong<EMAIL_ADDRESS>↑
- compile.c (COMPILE_ERROR)
-
reduce GET_THREAD() calls
Tue Jul 7 16:39:04 2015 Eric Wong<EMAIL_ADDRESS>↑
- random.c (fill_random_bytes_syscall)
-
return -1 for error
- random.c (fill_random_bytes)
-
try urandom on syscall failure
Tue Jul 7 15:02:18 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- file.c (rb_str_normalize_ospath)
-
skip invalid byte sequence not to loop infinitely. this case usually does not happen as the input name should come from real file systems.
Tue Jul 7 14:40:08 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_backtrace.c
-
remove debug flag introduced accidentally.
Tue Jul 7 12:05:37 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- cont.c (cont_free)
-
remove mysterious fflush() introduced at r19890, maybe accidentally.
Tue Jul 7 11:45:14 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- proc.c (rb_method_call)
-
because data->me should be non-NULL, do not check data->me
- proc.c (method_inspect)
-
ditto.
Tue Jul 7 11:37:25 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
remove rb_iseq_t::orig because rb_iseq_clone() no longer exists.
- iseq.c
-
don't use rb_iseq_t::orig.
Tue Jul 07 11:25:57 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- iseq.c, internal.h (rb_iseq_clone)
-
removed because we don't need to clone iseq any more.
- class.c (clone_method)
-
share iseq between cloned methods. All of method dependent information are able to refer from method entry.
Tue Jul 7 04:42:25 2015 Eric Wong<EMAIL_ADDRESS>↑
- string.c (Init_String)
-
use rb_str_freeze for String#freeze to resize internal buffer [ruby-core:69870] [Feature #11330]
Tue Jul 7 04:12:32 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm.c (vm_define_method)
-
remove an unused local variable.
Tue Jul 7 03:57:28 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
remove rb_iseq_t::defined_method_id because it is not needed.
- eval.c (frame_func_id)
-
simplify. rb_callable_method_entry_t has enough information.
- eval.c (frame_called_id)
-
ditto.
- iseq.c (prepare_iseq_build)
-
catch up this fix.
- proc.c (rb_mod_define_method)
-
ditto.
- vm.c (vm_define_method)
-
ditto.
Tue Jul 7 03:47:26 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
remove a useless declaration.
Tue Jul 7 03:33:20 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
remove rb_iseq_t::klass to reduce dynamic data.
- internal.h, iseq.c (rb_iseq_klass)
-
remove it because rb_iseq_t::klass is removed.
- vm_insnhelper.c (vm_super_outside)
-
do not see cfp->iseq, but check callable method entry on a frame. This fix simplify the logic to search super class.
- test/ruby/test_method.rb
-
support super() from Proc. Now, [Bug #4881] and [Bug #3136] was solved.
- proc.c (rb_mod_define_method)
-
catch up this change.
- vm.c (vm_define_method)
-
ditto.
- vm_backtrace.c (rb_profile_frames)
-
now, each `frame' objects are rb_callable_method_entry_t data or iseq VALUEs. This fix introduce minor compatibility issue that rb_profile_frame_label() always returns rb_profile_frame_base_label().
- test/-ext-/debug/test_profile_frames.rb
-
catch up this change.
Tue Jul 7 01:52:14 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- cont.c (fiber_init)
-
initialize control frame correctly. This fix does not affect any ordinal execution, but affects debug prints.
2015-07-06¶ ↑
Mon Jul 6 17:59:05 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.c (vm_search_super_method)
-
do not skip calling same methods in super. [Bug #3351]
- test/ruby/test_super.rb
-
fix a test.
Mon Jul 6 17:59:11 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- ext/tk/tcltklib.c
-
removed deprecated safe level.
Mon Jul 6 17:16:37 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- method.h, proc.c (rb_method_entry_location)
-
make it static and remove prefix `rb_' because it is used only in proc.c.
Mon Jul 6 16:42:10 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- test/lib/memory_status.rb
-
removed redundant path.
Mon Jul 6 01:18:11 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- test/lib/test/unit/parallel.rb
-
make @@project_dir one level upper as this file had moved one level deeper.
2015-07-05¶ ↑
Sun Jul 5 23:54:10 2015 mizokami<EMAIL_ADDRESS>↑
- lib/optparse.rb
-
[DOC] Fix typo.
Sun Jul 5 18:25:37 2015 Eric Wong<EMAIL_ADDRESS>↑
- gc.c (gc_profile_record_get)
-
fix spelling error in keys
Sun Jul 5 14:49:01 2015 CHIKANAGA Tomoyuki<EMAIL_ADDRESS>↑
- README.md
-
fix a typo pointed out by raoulvdberge. github.com/ruby/ruby/pull/953#commitcomment-11998186
Sun Jul 5 12:56:20 2015 Irvi Firqotul Aini<EMAIL_ADDRESS>↑
- README.md
-
Added link HowToReport bugs.
Sun Jul 5 10:51:48 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- array.c (rb_ary_sort_bang)
-
the original array may not be embedded even if a substitution array is embedded, as it is embedded when the original array is short enough but not embedded. [ruby-dev:49166] [Bug #11332]
Sun Jul 5 09:31:40 2015 Eric Wong<EMAIL_ADDRESS>↑
- test/ruby/test_process.rb
-
test for fd=3 usability in child
2015-07-04¶ ↑
Sat Jul 4 19:43:31 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
Sat Jul 4 19:39:08 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
Sat Jul 4 14:38:43 2015 Eric Wong<EMAIL_ADDRESS>↑
- enum.c (zip_ary)
-
remove volatile, use RB_GC_GUARD
- (zip_i)
-
ditto
Sat Jul 4 10:42:57 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/rubygems/test_case.rb (teardown)
-
do not delete features loaded from the original load paths, the same libraries should be loaded again when the same features are required. [ruby-dev:49031] [Bug #11222]
Sat Jul 4 09:38:52 2015 Eric Wong<EMAIL_ADDRESS>↑
- vm.c (rb_vm_mark)
-
reduce branches for always-set VM fields
- (rb_vm_add_root_module)
-
ditto
2015-07-03¶ ↑
Fri Jul 03 20:05:10 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- method.h
-
introduce rb_callable_method_entry_t to remove rb_control_frame_t::klass. [Bug #11278], [Bug #11279] rb_method_entry_t data belong to modules/classes. rb_method_entry_t::owner points defined module or class. module M def foo; end end In this case, owner is M. rb_callable_method_entry_t data belong to only classes. For modules, MRI creates corresponding T_ICLASS internally. rb_callable_method_entry_t can also belong to T_ICLASS. rb_callable_method_entry_t::defined_class points T_CLASS or T_ICLASS. rb_method_entry_t data for classes (not for modules) are also rb_callable_method_entry_t data because it is completely same data. In this case, rb_method_entry_t::owner == rb_method_entry_t::defined_class. For example, there are classes C and D, and includes M, class C; include M; end class D; include M; end then, two T_ICLASS objects for C's super class and D's super class will be created. When C.new.foo is called, then M#foo is searched and rb_callable_method_t data is used by VM to invoke M#foo. rb_method_entry_t data is only one for M#foo. However, rb_callable_method_entry_t data are two (and can be more). It is proportional to the number of including (and prepending) classes (the number of T_ICLASS which point to the module). Now, created rb_callable_method_entry_t are collected when the original module M was modified. We can think it is a cache. We need to select what kind of method entry data is needed. To operate definition, then you need to use rb_method_entry_t. You can access them by the following functions. * rb_method_entry(VALUE klass, ID id); * rb_method_entry_with_refinements(VALUE klass, ID id); * rb_method_entry_without_refinements(VALUE klass, ID id); * rb_resolve_refined_method(VALUE refinements, const rb_method_entry_t *me); To invoke methods, then you need to use rb_callable_method_entry_t which you can get by the following APIs corresponding to the above listed functions. * rb_callable_method_entry(VALUE klass, ID id); * rb_callable_method_entry_with_refinements(VALUE klass, ID id); * rb_callable_method_entry_without_refinements(VALUE klass, ID id); * rb_resolve_refined_method_callable(VALUE refinements, const rb_callable_method_entry_t *me); VM pushes rb_callable_method_entry_t, so that rb_vm_frame_method_entry() returns rb_callable_method_entry_t. You can check a super class of current method by rb_callable_method_entry_t::defined_class.
- method.h
-
renamed from rb_method_entry_t::klass to rb_method_entry_t::owner.
- internal.h
-
add rb_classext_struct::callable_m_tbl to cache rb_callable_method_entry_t data. We need to consider about this field again because it is only active for T_ICLASS.
- class.c (method_entry_i)
-
ditto.
- class.c (rb_define_attr)
-
rb_method_entry() does not takes defined_class_ptr.
- gc.c (mark_method_entry)
-
mark RCLASS_CALLABLE_M_TBL() for T_ICLASS.
- cont.c (fiber_init)
-
rb_control_frame_t::klass is removed.
- proc.c
-
fix `struct METHOD' data structure because rb_callable_method_t has all information.
- vm_core.h
-
remove several fields. * rb_control_frame_t::klass. * rb_block_t::klass. And catch up changes.
- eval.c
-
catch up changes.
- gc.c
-
ditto.
- insns.def
-
ditto.
- vm.c
-
ditto.
- vm_args.c
-
ditto.
- vm_backtrace.c
-
ditto.
- vm_dump.c
-
ditto.
- vm_eval.c
-
ditto.
- vm_insnhelper.c
-
ditto.
- vm_method.c
-
ditto.
Fri Jul 3 14:30:18 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- win32/file.c
-
some mingw compilers need a tweek for the declarations of _wfreopen_s. [Bug #11320]
Fri Jul 3 12:25:19 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- transcode.c (rb_econv_set_replacement)
-
target encoding name can be empty now. [ruby-core:69841] [Bug #11324]
Fri Jul 3 07:21:06 2015 Eric Wong<EMAIL_ADDRESS>↑
- benchmark/bm_io_nonblock_noex.rb
-
new benchmark
- ext/openssl/ossl_ssl.c (no_exception_p)
-
new function
- (ossl_start_ssl)
-
adjust for no_exception_p
- (ossl_ssl_connect)
-
adjust ossl_start_ssl call
- (ossl_ssl_connect_nonblock)
-
ditto
- (ossl_ssl_accept)
-
ditto
- (ossl_ssl_accept_nonblock)
-
ditto
- (ossl_ssl_read_internal)
-
adjust for no_exception_p
- (ossl_ssl_write_internal)
-
ditto
- (ossl_ssl_write)
-
adjust ossl_write_internal call
- (ossl_ssl_write_nonblock)
-
ditto
- ext/stringio/stringio.c (strio_read_nonblock)
-
delay exception check
- io.c (no_exception_p)
-
new function
- (io_getpartial)
-
call no_exception_p
- (io_readpartial)
-
adjust for io_getpartial
- (get_kwargs_exception)
-
remove
- (io_read_nonblock)
-
adjust for io_getpartial, check no_exception_p on EOF
- (io_write_nonblock)
-
call no_exception_p
- (rb_io_write_nonblock)
-
do not check `exception: false'
- (argf_getpartial)
-
adjust for io_getpartial [ruby-core:69778] [Feature #11318]
Fri Jul 3 07:13:11 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- dir.c (replace_real_basename)
-
Win32 API does not set errno, get the last error by GetLastError() and map to errno. [Bug #10015]
2015-07-02¶ ↑
Thu Jul 2 21:32:06 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- dir.c (replace_real_basename)
-
show warnings at errors. [Bug #10015]
Thu Jul 2 18:39:20 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- gc.c
-
remove `#define RGENGC_OBJ_INFO 1' line introduced to debug Bug #11244.
Thu Jul 2 18:34:26 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- gc.c (rb_raw_obj_info)
-
separated from rb_obj_info(). Fill internal object information into passed buffer.
- gc.h
-
declare rb_raw_obj_info().
Thu Jul 2 16:15:04 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- dir.c (replace_real_basename)
-
update path type by the target attributes if possible, to improve the performance. [Bug #10015]
Thu Jul 2 14:45:53 2015 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- st.c
-
get rid of VC++'s warnings of C4700 (uninitialized local variable used). I think that these are wrong, but should shut them up.
Thu Jul 2 14:15:50 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/rubygems.rb (Gem.load_path_insert_index)
-
search @gem_prelude_index first.
- lib/rubygems/test_case.rb (Gem::TestCase#setup)
-
keep already expanded paths to preserve instance variables.
Thu Jul 2 14:12:01 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ruby.c (process_options)
-
also copy initial load path marks at setting load paths encoding.
Thu Jul 2 12:26:11 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- test/rubygems/test_gem_server.rb (process_based_port)
-
use dynamically chosen port numbers to get rid of conflicts.
Thu Jul 2 11:58:59 2015 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/rubygems/test_gem_specification.rb
-
skip tests which the platform does not permit the filename of its test file.
Thu Jul 2 11:36:20 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- test/rubygems/test_gem_resolver_git_specification.rb
-
require rubygems/installer.rb before Gem::TestCase#setup runs, otherwise as Gem::TestCase#teardown restores $LOADED_FEATURES to the state at that time, the requiring the file in GitSpecification#install method causes a lot of constant redefinitions.
Thu Jul 2 10:43:36 2015 Eric Wong<EMAIL_ADDRESS>↑
- ext/socket/rubysocket.h
-
flags for common socket families
- (rsock_getfamily)
-
update signature
- include/ruby/io.h
-
comment socket FMODE flags
- ext/socket/init.c (rsock_getfamily)
-
memoize family
- ext/socket/basicsocket.c
-
adjust rsock_getfamily calls
- ext/socket/ancdata.c
-
ditto [ruby-core:69713] [Feature #11298]
Thu Jul 2 10:30:01 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- lib/rubygems/resolver.rb
-
fixed NameError of Gem::Util::NULL_DEVICE.
Thu Jul 2 09:51:44 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- lib/rubygems/resolver.rb
-
fix error of null device reference with DOSISH platform.
Thu Jul 2 06:49:44 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- lib/rubygems
-
Update to RubyGems HEAD(c202db2). this version contains many enhancements see git.io/vtNwF
- test/rubygems
-
ditto.
2015-07-01¶ ↑
Wed Jul 1 23:50:34 2015 Kazuhiro NISHIYAMA<EMAIL_ADDRESS>↑
- test/net/http/test_httpresponse.rb (HTTPResponseTest#test_read_body_content_encoding_deflate_uppercase)
-
fix a failure without zlib.
Wed Jul 1 10:54:56 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
Wed Jul 1 09:30:36 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- struct.c (struct_set_members)
-
hide internal back_members object, and members object does not need to be duped as it should be frozen and hidden.
Wed Jul 1 09:28:47 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- struct.c (struct_member_pos)
-
revert r51080 to fix other implicit conversions but cast the return value to fix the previous implicit conversion.
Wed Jul 1 08:47:24 2015 NARUSE, Yui<EMAIL_ADDRESS>↑
- struct.c (struct_member_pos)
-
avoid implicit conversion loses integer precision: 'long' to 'int'.
Wed Jul 1 05:57:03 2015 Eric Wong<EMAIL_ADDRESS>↑
- vm_method.c (rb_add_method_iseq)
-
add RB_GC_GUARD
- class.c (clone_method)
-
remove RB_GC_GUARD
- struct.c (define_aref_method)
-
ditto
- (define_aset_method)
-
ditto
- vm.c (vm_define_method)
- iseq.c (rb_iseq_clone)
-
add RB_GC_GUARD
Wed Jul 1 05:43:58 2015 Eric Wong<EMAIL_ADDRESS>↑
- struct.c (AREF_HASH_THRESHOLD)
-
new macro
- (id_back_members)
-
new ID
- (struct_member_pos_ideal)
-
new function
- (struct_member_pos_probe)
-
ditto
- (struct_set_members)
-
ditto
- (struct_member_pos)
-
ditto
- (rb_struct_getmember)
-
use struct_member_pos for O(1) access
- (rb_struct_aref_sym)
-
ditto
- (rb_struct_aset_sym)
-
ditto
- (setup_struct)
-
call struct_set_members
- (struct_define_without_accessor)
-
ditto
- (Init_Struct)
-
initialize members_back [ruby-core:66851] [ruby-core:69705] [ruby-core:69821]
2015-06-30¶ ↑
Tue Jun 30 23:12:08 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- io.c (rb_io_reopen)
-
FilePathValue() ensures the path NUL-terminated and frozen, so it is unnecessary to make it shared.
Tue Jun 30 23:11:53 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- dir.c (check_dirname)
-
ensure path name NUL-terminated for SHARABLE_MIDDLE_SUBSTRING.
- io.c (rb_sysopen)
-
ditto.
Tue Jun 30 18:38:16 2015 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/file.c (rb_freopen)
-
need to terminate by NUL.
Tue Jun 30 17:28:25 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- io.c (rb_io_reopen)
-
freopen(3) with OS encoding path. [ruby-core:69780] [Bug #11320]
- win32/file.c (rb_freopen)
-
wrapper of wchar version freopen(3). use _wfreopen_s() if available.
Tue Jun 30 08:24:08 2015 Eric Wong<EMAIL_ADDRESS>↑
- io.c (rb_io_oflags_modestr)
-
handle O_TRUNC correctly
- test/ruby/test_io.rb (test_reopen_stdio)
-
new test Patch-by: cremno phobia<EMAIL_ADDRESS>[ruby-core:69779] [Bug #11319]
Tue Jun 30 02:47:02 2015 Eric Wong<EMAIL_ADDRESS>↑
- include/ruby/st.h (struct st_table)
-
hide struct list_head
- st.c (struct st_table_entry)
-
adjust struct
- (head, tail)
-
remove shortcut macros
- (st_head)
-
new wrapper function
- (st_init_table_with_size)
-
adjust to new struct and API
- (st_clear)
-
ditto
- (add_direct)
-
ditto
- (unpack_entries)
-
ditto
- (rehash)
-
ditto
- (st_copy)
-
ditto
- (remove_entry)
-
ditto
- (st_shift)
-
ditto
- (st_foreach_check)
-
ditto
- (st_foreach)
-
ditto
- (get_keys)
-
ditto
- (get_values)
-
ditto
- (st_values_check)
-
ditto
- (st_reverse_foreach_check)
-
ditto (unused)
- (st_reverse_foreach)
-
ditto (unused) [ruby-core:69726] [Misc #10278]
2015-06-29¶ ↑
Mon Jun 29 17:38:01 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- insns.def (defineclass)
-
do not quote unprintable characters at raising an exception.
Mon Jun 29 16:01:24 2015 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/net/http/response.rb (inflater)
-
CONTENT_ENCODING can be upper case. [ruby-core:69670] [Bug #11285] patched by Andy Chu
Mon Jun 29 14:50:08 2015 Shugo Maeda<EMAIL_ADDRESS>↑
- eval.c (add_activated_refinement)
-
should not include the original class.
Mon Jun 29 12:09:10 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- README.md
-
tweak styles. [fix GH-945][ci skip] Patch by @bryndyment
Mon Jun 29 07:23:55 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- template/sizes.c.tmpl
-
extract RUBY_DEFINT to define sizes of types checked by configure.in, and fix size of intptr_t in universal binary.
Mon Jun 29 02:10:10 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- insns.def (defineclass)
-
preserve encoding of name in error messages for super class mismatch.
- insns.def (defineclass)
-
preserve encoding of name in error messages for non-class super.
- insns.def (defineclass)
-
preserve encoding of name in error messages when already defined but type mismatch.
2015-06-28¶ ↑
Sun Jun 28 12:07:35 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- class.c (rb_define_class_id_under)
-
raise TypeError exception same as ruby level class definition when superclass mismatch.
2015-06-26¶ ↑
Fri Jun 26 12:48:37 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- transcode.c (load_transcoder_entry)
-
fix transcoder loading race condition, by waiting in require. [ruby-dev:49106] [Bug #11277]
Fri Jun 26 07:53:56 2015 Eric Wong<EMAIL_ADDRESS>↑
- enum.c (enum_minmax)
-
simplify return value creation
- test/ruby/test_enum.rb
-
test behavior on empty
- hash.c (rb_hash_fetch_m)
-
remove unnecessary volatile since r41597
- (env_reject_bang)
-
trade volatile for GC guard
- (env_select)
-
ditto
- (env_select_bang)
-
ditto
- (env_keep_if)
-
ditto
- (rb_env_clear)
-
ditto
2015-06-25¶ ↑
Thu Jun 25 21:24:28 2015 Naohisa Goto<EMAIL_ADDRESS>↑
- test/-ext-/popen_deadlock/test_popen_deadlock.rb
-
test [Bug #11265]
- ext/-test-/popen_deadlock/infinite_loop_dlsym.c
-
new ext to call dlsym(3) infinitely without GVL, used in the above test.
- ext/-test-/popen_deadlock/extconf.rb
-
extconf.rb for the above ext. Currently, only enabled on Solaris (main target) and Linux
Thu Jun 25 19:24:25 2015 Naohisa Goto<EMAIL_ADDRESS>↑
- configure.in
-
not to use vfork on Solaris to avoid deadlock occurred in vfork(2) with multi-threading and dynamic linker on Solaris. [Bug #11265] [ruby-dev:49089]
Thu Jun 25 18:25:41 2015 Naohisa Goto<EMAIL_ADDRESS>↑
- test/lib/envutil.rb (Test::Unit::Assertions#assert_no_memory_leak)
-
NO_MEMORY_LEAK_ENVS is moved to Memory::NO_MEMORY_LEAK_ENVS to reduce child executions during test-all on Solaris.
- test/lib/memory_status.rb (Memory::NO_MEMORY_LEAK_ENVS)
-
ditto.
Thu Jun 25 17:32:33 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_method.c (rb_method_entry_create)
-
need to call method_definition_reset() if def is given. Actually, `me' is a new object, so we don't need to call it. It is just to make sure.
- vm_method.c (method_definition_reset)
-
remove duplicated insertion.
- vm_method.c (rb_method_entry_clone)
-
assign dst->def here, not in method_definition_reset().
Thu Jun 25 16:44:54 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_method.c
-
make a rb_method_definition_t data (def) after making a rb_method_entry_t data (me). Normally, `me' points `def'. Some Ruby objects pointed from `def' and objects are marked by `me' (mark_method_entry() in gc.c). However, `def' is built before making a `me', then nobody can mark objects pointed from `def' before making (and pointing from) `me'. I hope this patch solve #11244.
- vm_method.c
-
remove `rb_' prefix from some static functions.
- method.h (rb_method_entry_create)
-
constify
- gc.c (mark_method_entry)
-
add checking `def' and `def->body.iseq.iseqptr' availability because they can be NULL.
Thu Jun 25 14:14:16 2015 takiy33<EMAIL_ADDRESS>↑
- test/test_prime.rb (test_eratosthenes_works_fine_after_timeout)
-
use spaces instead of TABs in ruby codes. [Fix GH-944]
Thu Jun 25 07:08:35 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- gc.c (obj_info, method_type_name)
-
show method type name in a string instead of a number.
Thu Jun 25 06:49:25 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- gc.c (obj_info)
-
show more details for T_IMEMO/imemo_ment.
Thu Jun 25 06:40:46 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_method.c (rb_method_definition_reset)
-
need a WB for VM_METHOD_TYPE_ATTRSET.
Thu Jun 25 03:33:21 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- gc.c (RGENGC_OBJ_INFO, obj_info)
-
add a macro to enable/disable rich obj_info() output. At the default, the value of RGENGC_OBJ_INFO is
- gc.c (RGENGC_OBJ_INFO)
-
force enable it to debug #11244.
- gc.c (gc_mark_ptr)
-
print more details with obj_info().
- gc.c (gc_mark_children)
-
remove useless debug prints.
Thu Jun 25 02:40:33 2015 Eric Wong<EMAIL_ADDRESS>↑
- ext/openssl/ossl_ssl.c (ossl_ssl_read_internal)
-
do not process kwargs in blocking mode
- test/openssl/test_ssl.rb
-
test sysread
2015-06-24¶ ↑
Wed Jun 24 16:54:11 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- gc.c (gc_mark_children)
-
add additional debug code for #11244.
Wed Jun 24 16:05:42 2015 Eric Wong<EMAIL_ADDRESS>↑
- string.c (rb_str_justify)
-
use RB_GC_GUARD
Wed Jun 24 14:25:17 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- gc.c (gc_mark_ptr)
-
add a check code for #11244. It should be removed later. But we can remain this check because it is only a branch.
Wed Jun 24 12:49:11 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- string.c (rb_fstring_cstr)
-
new function to make a fstring from a string literal.
- internal.h (rb_fstring_lit)
-
new macro to make a fstring from a string literal.
- include/ruby/intern.h (rb_strlen_lit)
-
new macro to get the length of a string literal, borrowed from e4afd53 at mruby/mruby.
Wed Jun 24 12:21:16 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- re.c
-
Update documentation for Regexp class. [fix GH-937][ci skip] Patch by @davydovanton
Wed Jun 24 09:23:03 2015 Eric Wong<EMAIL_ADDRESS>↑
- variable.c (generic_ivar_set)
-
remove FL_ABLE check
- (gen_ivar_copy)
-
ditto [ruby-core:69715]
Wed Jun 24 08:28:15 2015 Eric Wong<EMAIL_ADDRESS>↑
- ext/socket/ancdata.c (bsock_recvmsg_internal)
-
reduce stack use [ruby-core:69595] [Feature #11263]
2015-06-23¶ ↑
Tue Jun 23 14:32:42 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- error.c (name_err_receiver)
-
raise ArgumentError if no receiver is available on this exception object. [Feature #10881]
Tue Jun 23 09:48:34 2015 Eric Wong<EMAIL_ADDRESS>↑
- dir.c (check_dirname)
-
avoid volatile, use return value
- (dir_s_chroot, dir_s_mkdir, dir_s_rmdir)
-
adjust callers
Tue Jun 23 06:37:10 2015 Eric Wong<EMAIL_ADDRESS>↑
- struct.c (struct_ivar_get)
-
cache member definition in a subclass Thanks to Sokolov Yura aka funny_falcon<EMAIL_ADDRESS>in bugs.ruby-lang.org/issues/10585
Tue Jun 23 04:58:06 2015 Eric Wong<EMAIL_ADDRESS>↑
- benchmark/bm_vm2_struct_big_href_hi.rb
-
new benchmark
- benchmark/bm_vm2_struct_big_href_lo.rb
-
ditto
- benchmark/bm_vm2_struct_big_hset.rb
-
ditto
- benchmark/bm_vm2_struct_small_href.rb
-
ditto
- benchmark/bm_vm2_struct_small_hset.rb
-
ditto Thanks to Sokolov Yura aka funny_falcon<EMAIL_ADDRESS>in bugs.ruby-lang.org/issues/10585
2015-06-22¶ ↑
Mon Jun 22 18:08:48 2015 Naohisa Goto<EMAIL_ADDRESS>↑
- test/lib/test/unit.rb (Test::Unit::Parallel#start_watchdog)
-
removed because it has been meaningless since r36385. [Bug #11288]
- test/lib/test/unit.rb (Test::Unit::Parallel#_run_parallel)
-
delete lines related to the removed start_watchdog method
2015-06-21¶ ↑
Sun Jun 21 23:52:46 2015 Kazuhiro NISHIYAMA<EMAIL_ADDRESS>↑
- NEWS
-
mention about Array#bsearch_index and Hash#fetch_values.
Sun Jun 21 23:46:27 2015 Kazuhiro NISHIYAMA<EMAIL_ADDRESS>↑
- NEWS
-
add a reference to a ticket.
Sun Jun 21 20:28:09 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- internal.h (roomof)
-
extract from type_roomof, and move from bignum.c.
Sun Jun 21 18:32:37 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ruby_atomic.h (ATOMIC_PTR_CAS)
-
define by generic CAS macro, not via size_t, to suppress a warning by mingw gcc.
Sun Jun 21 05:31:41 2015 Shota Fukumori<EMAIL_ADDRESS>↑
- ext/objspace/objspace_dump.c(dump_object)
-
Return empty JSON object when passed object is a special const, instead of SEGV. Based patch by Kohei Suzuki (eagletmt). [ruby-core:69692] [Bug #11291]
- test/objspace/test_objspace.rb(test_dump_special_consts)
-
Test for above fix.
2015-06-20¶ ↑
Sat Jun 20 03:56:58 2015 Yusuke Endoh<EMAIL_ADDRESS>↑
- enc/make_encmake.rb
-
the list of encoding extension libraries must not include encinit.c itself. It caused “undefined reference to Init_encinit”.
Sat Jun 20 02:03:53 2015 Naohisa Goto<EMAIL_ADDRESS>↑
- process.c (rb_execarg_parent_start1)
-
new macro ALWAYS_NEED_ENVP to generate envp_str anytime on Solaris 10 (or earlier version of Solaris) to avoid calling execv() which is async-signal unsafe on Solaris 10. [Bug #11265] [ruby-dev:49089]
- process.c (exec_with_sh, proc_exec_cmd)
-
On Solaris 10, because ALWAYS_NEED_ENVP is 1 and envp_str is always generated, execv() in exec_with_sh() and proc_exec_cmd() are never called. To guarantee this, execv() is replaced by a macro to print out error message on Solaris 10.
- process.c (proc_exec_sh)
-
Because proc_exec_sh() may be called by rb_proc_exec() with envp_str = Qfalse, execl() is replaced by a macro that calls execle() with “extern char **environ” traditional global variable on Solaris 10. TODO: This may be unsafe and should be changed in the future. Although rb_proc_exec() is not used from inside current version of ruby, it may be called by third-party extensions.
Sat Jun 20 01:10:13 2015 Kazuhiro NISHIYAMA<EMAIL_ADDRESS>↑
- NEWS
-
mention about $SAFE.
2015-06-19¶ ↑
Fri Jun 19 14:53:35 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- proc.c (rb_mod_define_method)
-
now requires a block direct to this method call. [ruby-core:69655] [Bug #11283]
Fri Jun 19 13:54:43 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- proc.c (rb_mod_define_method)
-
get rid of inadvertent ID creations at error.
Fri Jun 19 07:58:11 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/extmk.rb
-
if no with-ext option is given, default to enable everything. [ruby-dev:49108] [Bug #11280]
Fri Jun 19 06:30:07 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- bootstraptest/test_method.rb
-
remove a test because $SAFE=2 was obsolete. Please check btest, too.
2015-06-18¶ ↑
Thu Jun 18 23:51:51 2015 Kazuhiro NISHIYAMA<EMAIL_ADDRESS>↑
- bin/erb
-
$SAFE=3 is obsolete.
Thu Jun 18 23:45:11 2015 Kazuhiro NISHIYAMA<EMAIL_ADDRESS>↑
- safe.c
-
removed needless doc related $SAFE=2
Thu Jun 18 23:38:07 2015 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- thread.c (rb_thread_safe_level)
-
fix document. $SAFE=3 is obsolete. [ci skip]
Thu Jun 18 23:25:51 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/extmk.rb
-
configure intersection of with-ext and not without-ext, as withouts is no longer true by default if with-ext option is given. [ruby-dev:49108] [Bug #11280]
Thu Jun 18 23:20:46 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- include/ruby/ruby.h
-
$SAFE=2 is now obsolete.
- dir.c, ext/fiddle/handle.c, ext/socket/basicsocket.c, file.c gc.c, io.c, process.c, safe.c, signal.c, win32/file.c
-
removed code for $SAFE=2
- test/erb/test_erb.rb, test/fiddle/test_handle.rb test/ruby/test_env.rb
-
removed tests for $SAFE=2.
Thu Jun 18 22:50:07 2015 Yusuke Endoh<EMAIL_ADDRESS>↑
- enc/make_encmake.rb
-
added –transes and –no-transes options.
Thu Jun 18 18:24:12 2015 Eric Wong<EMAIL_ADDRESS>↑
- test/socket/test_unix.rb
-
replace sleep with select
Thu Jun 18 17:59:06 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- vm.c (rb_vm_control_frame_id_and_class)
-
remove useless codes. `me' knows ID and owner class.
Thu Jun 18 16:58:35 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- method.h
-
constify rb_method_alias_struct::original_me and rb_method_refined_struct::orig_me.
- class.c (move_refined_method)
-
use RB_OBJ_WRITE() for me->def->body.refined.orig_me.
Thu Jun 18 14:35:28 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- ext/objspace/objspace.c (count_imemo_objects)
-
support imemo_ment.
Thu Jun 18 13:32:46 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- error.c (name_err_receiver)
-
add NameError#receiver method. [Feature #10881]
Thu Jun 18 10:00:06 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- safe.c
-
removed needless doc related $SAFE=3
Thu Jun 18 09:59:23 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- safe.c
-
rename old method name for $SAFE=3
Thu Jun 18 06:02:42 2015 Eric Wong<EMAIL_ADDRESS>↑
- compile.c (get_exception_sym2type, iseq_build_from_ary_body)
-
rely on %+PRIsVALUE instead of calling rb_inspect directly
2015-06-17¶ ↑
Wed Jun 17 20:59:25 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- common.mk (ENC_MK)
-
needs fake.rb if cross compilation. [ruby-dev:49098] [Bug #11272]
Wed Jun 17 20:23:29 2015 Tanaka Akira<EMAIL_ADDRESS>↑
- ext/rbconfig/sizeof/extconf.rb
-
Check __float80.
Wed Jun 17 15:15:53 2015 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- safe.c (safe_setter)
-
of course, don't have to warn the limitation of $SAFE=3 after it's removed.
Wed Jun 17 14:29:43 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- include/ruby/ruby.h
-
$SAFE=3 is now obsolete.
- ext/socket/init.c, ext/socket/socket.c, ext/socket/tcpsocket.c ext/socket/udpsocket.c, gc.c, object.c, re.c, safe.c
-
removed code for $SAFE=3
- bootstraptest/test_method.rb, test/erb/test_erb.rb, test/ruby/test_dir.rb test/ruby/test_file.rb, test/ruby/test_method.rb, test/ruby/test_regexp.rb test/ruby/test_thread.rb
-
remove tests for $SAFE=3
Wed Jun 17 12:13:33 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- ChangeLog
-
added contributor name.
Wed Jun 17 10:57:28 2015 SHIBATA Hiroshi<EMAIL_ADDRESS>↑
- lib/csv.rb
-
accept to use Range object for row selection. contributed by Mitsutaka Mimura. [Feature #11267]
Wed Jun 17 09:50:12 2015 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/rdoc/servlet.rb (documentation_search, root_search)
-
requires json for JSON#dump and fix sporadic failures due to the loading order.
2015-06-16¶ ↑
Tue Jun 16 19:19:53 2015 Tanaka Akira<EMAIL_ADDRESS>↑
- ext/rbconfig/sizeof/extconf.rb
-
Check several types defined in C99 and x86_64 ABI.
- template/sizes.c.tmpl
-
Relax a pattern for types.
Tue Jun 16 17:37:01 2015 Koichi Sasada<EMAIL_ADDRESS>↑
- test/objspace/test_objspace.rb
-
relax pattern because uncollectible flag and marked flag can be false at major GC. [Bug #10852]
Tue Jun 16 04:50:44 2015 Eric Wong<EMAIL_ADDRESS>↑
- ext/socket/basicsocket.c (bsock_recv)
-
document outbuf
- ext/socket/unixsocket.c (unix_recvfrom)
-
ditto
- ext/socket/init.c (rsock_strbuf, recvfrom_locktmp)
-
new functions
- (rsock_s_recvfrom)
-
support destination buffer as 3rd arg
- (rsock_s_recvfrom_nonblock)
-
ditto
- string.c (rb_str_locktmp_ensure)
-
export for internal ext
- test/socket/test_nonblock.rb
-
test recv_nonblock
- test/socket/test_unix.rb
-