update the new field, instead of options array.
- (rb_execarg_fixup)
-
use the new field.
- (save_env)
-
ditto.
- (rb_execarg_run_options)
-
ditto.
Sat Jun 23 16:27:01 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- internal.h (rb_execarg)
-
add rlimit_limits field.
- process.c (EXEC_OPTION_RLIMIT)
-
removed.
- (mark_exec_arg)
-
mark rlimit_limits field.
- (rb_execarg_addopt)
-
update the new fields, instead of options array.
- (run_exec_rlimit)
-
use the new field.
- (rb_execarg_run_options)
-
clear sarg using MEMZERO. use the new field.
Sat Jun 23 14:29:25 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- internal.h (rb_execarg)
-
add chdir_given and chdir_dir fields.
- process.c (EXEC_OPTION_CHDIR)
-
removed.
- (mark_exec_arg)
-
mark chdir_dir field.
- (rb_execarg_addopt)
-
update the new fields, instead of options array.
- (rb_execarg_run_options)
-
use the new fields.
Sat Jun 23 13:20:47 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- internal.h (rb_execarg)
-
add close_others_given, close_others_do and close_others_maxhint fields.
- process.c (EXEC_OPTION_CLOSE_OTHERS)
-
removed.
- (rb_execarg_addopt)
-
update the new fields, instead of options array.
- (check_exec_fds)
-
take eargp as an argument. update the close_others_maxhint field.
- (rb_execarg_fixup)
-
follow the argument change of check_exec_fds.
- (rb_execarg_run_options)
-
use the new fields.
Sat Jun 23 10:41:59 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- internal.h (rb_execarg)
-
add unsetenv_others_given and unsetenv_others_do fields.
- process.c (EXEC_OPTION_UNSETENV_OTHERS)
-
removed.
- (rb_execarg_addopt)
-
update the new fields, instead of options array.
- (rb_execarg_fixup)
-
use the new fields.
Sat Jun 23 09:35:47 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c
-
use the variable name “soptions” for sargp->options.
Sat Jun 23 09:17:49 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c
-
use the name “sargp” for struct rb_execarg variables consistently for saving process attributes.
- io.c
-
ditto.
Sat Jun 23 07:59:57 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c
-
use the name “eargp” for struct rb_execarg variables consistently except for saving process attributes.
- io.c
-
ditto.
- ext/pty/pty.c
-
ditto.
2012-06-22¶ ↑
Fri Jun 22 20:27:39 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- internal.h (rb_execarg)
-
add pgroup_given and pgroup_pgid fields.
- process.c (EXEC_OPTION_PGROUP)
-
removed.
- (rb_execarg_addopt)
-
update the new fields, instead of options array.
- (run_exec_pgroup)
-
take a struct rb_execarg argument. refer the new fields.
- (rb_execarg_run_options)
-
follow run_exec_pgroup change.
Fri Jun 22 18:48:51 2012 Kouhei Sutou<EMAIL_ADDRESS>↑
- README.EXT, README.EXT.ja
-
use “sval” for the third argument name of Data_Wrap_Struct(). Suggested by @satoh_fumiyasu. Thanks!!!
Fri Jun 22 18:04:26 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- iseq.c, vm_eval.c
-
set th->base_block properly. th->base_block is information for (a) parsing, (b) compiling and © setting up the frame to execute the program passed by `eval' method. For example, (1) parser need to know up-level variables to detect it is variable or method without paren. Befor (a), (b) and ©, VM set th->base_block by passed bindng
- (or previous frame information). After execute (a), (b) and ©, VM should clear th->base_block. However, if (a), (b) or © raises an exception, then th->base_block is not cleared. Problem is that the uncleared value th->balo_block is used for irrelevant iseq compilation. It causes SEGV or critical error. I tried to solve this problem
-
to clear them before exception, but finally I found out that it is difficult to do it (Ruby program can be run in many places). Because of this background, I set th->base_block before compiling iseq and restore it after compiling. Basically, th->base_block is dirty hack (similar to global variable) and this patch is also dirty.
- bootstraptest/test_eval.rb
-
add a test for above.
- internal.h
-
remove unused decl.
- iseq.c (rb_iseq_compile_with_option)
-
add base_block parameter. set th->base_block before compilation and restore it after compilation.
- ruby.c (require_libraries)
-
pass 0 as base_block instead of setting th->base_block
- tool/compile_prelude.rb (prelude_eval)
-
apply above changes.
- vm.c, vm_eval.c
-
ditto.
- vm_core.h
-
add comments.
Fri Jun 22 18:19:38 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c
-
pass struct rb_execarg value instead of its options field for saving process attribute changing functions.
- (save_redirect_fd)
-
take a struct rb_execarg argument.
- (run_exec_dup2)
-
ditto.
- (run_exec_close)
-
ditto.
- (run_exec_open)
-
ditto.
- (run_exec_dup2_child)
-
ditto.
- (run_exec_pgroup)
-
ditto.
- (run_exec_rlimit)
-
ditto.
- (save_env)
-
ditto.
- (rb_execarg_run_options)
-
follow the above functions change.
Fri Jun 22 17:55:48 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- test/ruby/test_backtrace.rb
-
decrease recursion depth to reduce consuming stack size.
Fri Jun 22 13:36:50 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- random.c (random_init, random_load)
-
cannot initialize frozen object again, nor with tainted/untrusted object. [Bug #6540]
Fri Jun 22 13:32:33 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- error.c (rb_check_copyable)
-
new function, to ensure the target is not frozen and the source is not tainted nor untrusted.
Fri Jun 22 05:55:20 2012 Eric Hodel<EMAIL_ADDRESS>↑
- eval.c (ruby_cleanup)
-
Fixed typo. Patch by Trever Dawe. Fixes #131 (github). [ruby-trunk - Bug #6619]
2012-06-21¶ ↑
Thu Jun 21 21:16:58 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_execarg_addopt)
-
take a VALUE argument instead of struct rb_execarg.
- (rb_exec_arg_addopt)
-
follow the rb_execarg_addopt change.
- (check_exec_options_i)
-
ditto.
- io.c (pipe_open)
-
follow the rb_execarg_addopt change.
- internal.h (rb_execarg_addopt)
-
follow the definition change.
Thu Jun 21 20:34:19 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_exec_fillarg)
-
take a VALUE argument instead of struct rb_execarg.
- (rb_check_exec_options)
-
ditto.
- (check_exec_options_i)
-
ditto.
Thu Jun 21 19:48:05 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_exec_async_signal_safe)
-
use rb_execarg_run_options instead of rb_run_exec_options_err.
- (rb_spawn_process)
-
ditto.
Thu Jun 21 19:02:43 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_exec_fillarg)
-
take a VALUE argument instead of struct rb_execarg.
- (rb_execarg_init)
-
follow the rb_exec_fillarg change.
Thu Jun 21 18:36:43 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_execarg_init)
-
take a VALUE argument instead of struct rb_execarg.
- (rb_execarg_new)
-
follow the rb_execarg_init change.
- (rb_exec_arg_init)
-
ditto.
- internal.h (rb_execarg_init)
-
follow the definition change.
Thu Jun 21 17:20:44 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (new_args_tail_gen)
-
fix GC problem of keyword rest argument. the wrapped struct should be bound to the wrapping node before assignment of child nodes, to get rid of the case the children are referred by only the struct pointer which is not a subject of GC. [ruby-core:45744]
Thu Jun 21 07:06:52 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- error.c (err_append)
-
rename err_append() to compile_err_append() and move definition body. err_append() is used only by compiling.
Thu Jun 21 06:21:54 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_execarg_fixup)
-
take a VALUE argument instead of struct rb_execarg.
- internal.h (rb_execarg_fixup)
-
follow the definition change.
- io.c (pipe_open)
-
follow rb_execarg_fixup change.
- ext/pty/pty.c (establishShell)
-
ditto.
2012-06-20¶ ↑
Wed Jun 20 18:27:03 2012 Yuki Yugui Sonoda<EMAIL_ADDRESS>↑
- common.mk
-
Add missing dependencies.
Wed Jun 20 21:25:37 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- internal.h (struct rb_execarg)
-
add umask_given and umask_mask fields.
- process.c (STATIC_ASSERT)
-
removed.
- (rb_execarg_addopt)
-
follow the rb_execarg change.
- (rb_execarg_run_options)
-
ditto.
Wed Jun 20 20:38:23 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- include/ruby/intern.h (struct rb_exec_arg)
-
refer Data object which contains struct rb_execarg.
- process.c
-
use struct rb_execarg instead of struct rb_exec_arg except functions declared in intern.h.
- (rb_exec_arg_addopt)
-
extract a pointer to struct rb_execarg from struct rb_exec_arg.
- (rb_exec_arg_init)
-
ditto.
- (rb_exec_arg_fixup)
-
ditto.
- (rb_run_exec_options_err)
-
ditto.
- (rb_run_exec_options)
-
ditto.
- (rb_exec_err)
-
ditto.
- (rb_exec)
-
ditto.
- io.c
-
use struct rb_execarg instead of struct rb_exec_arg.
- ext/pty/pty.c
-
ditto.
Wed Jun 20 19:13:25 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- internal.h (rb_execarg_new)
-
declared.
- (rb_execarg_get)
-
ditto.
- process.c (mark_exec_arg)
-
new function.
- (free_exec_arg)
-
ditto.
- (memsize_exec_arg)
-
ditto.
- (exec_arg_data_type)
-
defined.
- (rb_execarg_new)
-
new function.
- (rb_execarg_get)
-
ditto.
- (rb_f_exec)
-
use rb_execarg_new.
- (rb_spawn_internal)
-
ditto.
- (rb_f_spawn)
-
ditto.
- io.c (pipe_open_v)
-
use rb_execarg_new.
- (pipe_open_s)
-
ditto.
- ext/pty/pty.c (establishShell)
-
use rb_execarg_new.
Wed Jun 20 16:36:14 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- missing/setproctitle.c (environ)
-
use (*_NSGetEnviron()) instead of environ on Darwin for namespace cleanness, same as [ruby-core:00537]. [ruby-core:45615] [Bug #6576]
Wed Jun 20 11:33:04 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- process.c (rb_execarg_addopt)
-
always make Fixnum, and ignore higher bits in too large umask value.
Wed Jun 20 11:24:35 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/test/unit.rb (Test::Unit::Runner#_run_parallel)
-
deal with sudden-death of workers.
2012-06-19¶ ↑
Tue Jun 19 18:43:50 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- include/ruby/backward/rubysig.h
-
fix visibility. [Bug #6607]
Tue Jun 19 17:51:54 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- process.c (rb_execarg_run_options)
-
do not call any methods in the async-signal-safe function. mask has been checked with NUM2MODET() already and converted with LONG2NUM().
Tue Jun 19 11:59:56 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- ext/readline/readline.c (Init_readline)
-
don't set 0 to rl_catch_signals and rl_catch_sigwinch. [Bug #5423]
Tue Jun 19 11:52:59 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- ext/readline/readline.c (readline_s_get_special_prefixes)
-
suppress warning: uninitialized instance variable.
Tue Jun 19 11:43:16 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- ext/readline/readline.c (readline_getc)
-
fix editline compatibility broken by r36123. [Bug #6601]
2012-06-18¶ ↑
Mon Jun 18 20:34:20 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- time.c (init_leap_second_info)
-
fix non-ANSI function declaration.
Mon Jun 18 20:29:04 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- ruby.c (rb_f_sub)
-
use ansi style declaration.
- ruby.c (rb_f_gsub)
-
ditto.
- ruby.c (rb_f_chomp)
-
ditto.
Mon Jun 18 20:26:23 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- random.c (rb_random_int32)
-
get rid of “warning: constant 0x100000000 is so big it is long” warning.
Mon Jun 18 20:07:23 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- dir.c (dir_initialize)
-
get rid of “unused return: argc = rb_scan_args()” warning.
Mon Jun 18 19:31:20 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- include/ruby/missing.h
-
include math.h before checking INFINITY and NAN. Otherwise, strange macro redefinition will occur.
Mon Jun 18 19:12:37 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- array.c (ary_reverse)
-
use ansi style declaration.
Mon Jun 18 17:10:08 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- string.c (rb_str_subpos)
-
split from rb_str_substr. returns adjusted position for substring.
Mon Jun 18 10:42:57 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/readline/readline.c (readline_getc)
-
deal with ESC just followed by ASCII as meta prefix in incremental search mode. based on the patch from rctay (Tay Ray Chuan) at [ruby-core:45682]. [Bug #6601]
2012-06-17¶ ↑
Sun Jun 17 22:23:53 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- dir.c (rb_file_directory_p)
-
move documentation for Dir.exist? from file.c so that the proper description will be shown instead of the documentation of File.directory?. [ruby-core:45685]
Sun Jun 17 16:21:01 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- thread_win32.h (rb_thread_lock_t)
-
make a union for USE_WIN32_MUTEX. this internal is used only in thread_win32.c, but has to be complete to define rb_thread_t.
- thread_win32.c (native_mutex_lock, native_mutex_destroy)
-
fix for USE_WIN32_MUTEX.
- thread_win32.c (native_cond_timedwait_ms)
-
rename reserved pattern name. user defined symbols should not start with __.
2012-06-16¶ ↑
Sat Jun 16 19:24:01 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_core.c
-
define date_sg_t.
Sat Jun 16 18:46:57 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_tmx.h
-
offset in struct tmx_funcs is now int.
- ext/date/date_strftime.c
-
ditto.
- ext/date/date_core.c
-
ditto.
Sat Jun 16 18:31:46 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- eval.c (ruby_setup)
-
set running state in the normal case before popping a tag.
Sat Jun 16 07:46:03 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/test/unit.rb (Test::Unit::Runner#_run_parallel)
-
format workers results in the parent.
Sat Jun 16 07:12:56 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- tool/runruby.rb (File.realpath)
-
return real path of expanded path. [Bug #6598]
Sat Jun 16 07:12:28 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- bootstraptest/runner.rb (main)
-
ignore -j option for compatibility with test/unit.
Sat Jun 16 07:11:52 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/test/unit.rb (Test::Unit::Runner#puke)
-
modify only result and drop useless reports, not override entirely.
- lib/test/unit/parallel.rb (Test::Unit::Worker#_run_suite)
-
report unformatted results. formatting messages is not a workers task.
- lib/test/unit/parallel.rb (Test::Unit::Worker#puke)
-
store raw results.
Sat Jun 16 01:27:14 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/lib/psych.rb
-
bumping psych to 1.3.3
- ext/psych/psych.gemspec
-
ditto
2012-06-15¶ ↑
Fri Jun 15 20:54:28 2012 Kazuhiro NISHIYAMA<EMAIL_ADDRESS>↑
- vm_backtrace.c (backtrace_collect)
-
rename from backtreace_collect.
Fri Jun 15 19:22:13 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
remove VM_FRAME_MAGIC_FINISH (finish frame type). Before this commit: `finish frame' was place holder which indicates that VM loop needs to return function. If a C method calls a Ruby methods (a method written by Ruby), then VM loop will be (re-)invoked. When the Ruby method returns, then also VM loop should be escaped. `finish frame' has only one instruction `finish', which returns VM loop function. VM loop function executes `finish' instruction, then VM loop function returns itself. With such mechanism, `leave' instruction (which returns one frame from current scope) doesn't need to check that this `leave' should also return from VM loop function. Strictly, one branch can be removed from `leave' instruction. Consideration: However, pushing the `finish frame' needs costs because it needs several memory accesses. The number of pushing `finish frame' is greater than I had assumed. Of course, pushing `finish frame' consumes additional control frame. Moreover, recent processors has good branch prediction, with which we can ignore such trivial checking. After this commit: Finally, I decide to remove `finish frame' and `finish' instruction. Some parts of VM depend on `finish frame', so the new frame flag VM_FRAME_FLAG_FINISH is introduced. If this frame should escape from VM function loop, then the result of VM_FRAME_TYPE_FINISH_P(cfp) is true. `leave' instruction checks this flag every time. I measured performance on it. However on my environments, it improves some benchmarks and slows some benchmarks down. Maybe it is because of C compiler optimization parameters. I'll re-visit here if this cause problems.
- insns.def (leave, finish)
-
remove finish instruction.
- vm.c, vm_eval.c, vm_exec.c, vm_backtrace.c, vm_dump.c
-
apply above changes.
Fri Jun 15 19:11:23 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/test/unit.rb (Test::Unit::Runner#puke)
-
always add skipped results to the report for parallel test. [Bug #6595]
Fri Jun 15 09:01:35 2012 Yuki Yugui Sonoda<EMAIL_ADDRESS>↑
- nacl/pepper_main.c
-
Removed an unnecessary and erroneous inclusion.
2012-06-14¶ ↑
Thu Jun 14 22:59:56 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in (RUBY_CPPOUTFILE)
-
check if output is really sent to specified file to tell if -o option works. [ruby-dev:45742] [Bug#6591]
- configure.in (RUBY_CPPOUTFILE)
-
check if output file is actually created. [ruby-dev:45742] [Bug#6591]
Thu Jun 14 22:10:50 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (proc_exec_sh)
-
don't strip leading spaces of the script.
Thu Jun 14 15:54:02 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- file.c (rb_file_s_basename, rb_file_s_dirname)
-
documentation fix. File.basename and File.dirname support File::ALT_SEPARATOR.
Thu Jun 14 11:10:10 2012 Yuki Yugui Sonoda<EMAIL_ADDRESS>↑
- nacl/pepper_main.c
-
Applies the new embedding API to pepper_ruby.
Thu Jun 14 10:44:41 2012 Yuki Yugui Sonoda<EMAIL_ADDRESS>↑
- include/ruby/ruby.h
-
Grouped APIs for embedding CRuby interpreter.
- (ruby_setup, ruby_compile_main_from_file, ruby_compile_main_from_string, ruby_eval_main, ruby_set_script_name)
-
new APIs to embed CRuby.
- eval.c (ruby_setup)
-
Similar to ruby_init but returns an error code instead of exit(3) on error.
- (ruby_eval_main)
-
Similar to ruby_exec_node but returns the evaluation result.
- (ruby_eval_main_internal)
-
renamed from ruby_exec_internal.
- ruby.c (toplevel_context)
-
new helper function.
- (PREPARE_EVAL_MAIN)
-
moved.
- (process_options)
-
refactored with new functions.
- (parse_and_compile_main) new helper function. (ruby_compile_main_from_file, ruby_compile_main_from_string) new API (ruby_set_script_name)
-
new API.
Thu Jun 14 10:39:48 2012 Yuki Yugui Sonoda<EMAIL_ADDRESS>↑
- eval.c
-
Add doxygen comments.
- ruby.c
-
ditto.
- thread_pthread.c
-
ditto
- version.c
-
ditto.
- vm_core.h
-
ditto.
Thu Jun 14 10:16:07 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- configure.in
-
revert r36071 and add NetBSD to blacklist of -ansi.
Thu Jun 14 07:59:12 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- thread_pthread.c (get_stack)
-
Linux is the only OS which includes the size of guard page into the stack size.
Thu Jun 14 06:21:00 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/drb/drb.rb
-
Replace broken links to the English DRb book. Patch by Zachary Scott. [ruby-trunk - Bug #6544]
Thu Jun 14 06:17:47 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/observer.rb
-
Update broken link to the Programming Ruby book. Patch by Zachary Scott. [ruby-trunk - Bug #6536]
- lib/drb/drb.rb
-
ditto.
Thu Jun 14 05:23:05 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- regparse.c (PFETCH_READY)
-
suppress Wunused-but-set-variable.
- regparse.c (is_onechar_cclass)
-
restructured to clarify that c is used iff found == 1.
Thu Jun 14 02:54:17 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- configure.in
-
use -fbuiltin with -ansi -std=iso9899:199409. This prevents errors introduced by disabling builtin functions, which is the sub-effect of -ansi/-std. Now NetBSD can use -ansi -std=iso9899:199409. Maybe mingw, cygwin and darwin can also.
Thu Jun 14 02:53:30 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- Makefile.in
-
don't remove macros. now name2ctype uses macros.
- tool/enc-unicode.rb
-
add comment why it uses Hash#index.
- enc/unicode/{name2ctype.kwd,name2ctype.src,name2ctype.h.blt}
-
update to follow the current name2ctype.h. FYI current Unicode version is 6.1.
Thu Jun 14 00:16:59 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- lib/net/http/responses.rb, lib/webrick/httpstatus.rb
-
Add HTTP response codes added in RFCs 2817 and 4918. [ruby-core:45547] [Feature #6569]
- lib/net/http/responses.rb
-
Rename Net::HTTPMultipleChoice to Net::HTTPMultipleChoices, leaving the former as alias to the latter for backward compatibility. [ruby-core:45547] [Feature #6569]
- lib/net/http/responses.rb
-
Add comments about unused, still-in-draft and private extension response codes. [ruby-core:45547] [Feature #6569]
2012-06-13¶ ↑
Wed Jun 13 22:44:32 2012 Naohisa Goto<EMAIL_ADDRESS>↑
- test/dl/test_func.rb (test_qsort1, test_qsort2)
-
use TYPE_SIZE_T for size_t variables. [ruby-dev:45733] [Bug #6584]
Wed Jun 13 22:18:01 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in
-
remove -ansi and -std options for lgamma_r() and finite().
Wed Jun 13 21:46:34 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in
-
cygwin does not provide some declarations in strict ANSI mode.
Wed Jun 13 20:19:59 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_fork_internal)
-
move a variable declaration.
Wed Jun 13 17:54:38 2012 URABE Shyouhei<EMAIL_ADDRESS>↑
- regparse.c (PFETCH_READY)
-
this line was to suppress warning, but did emit warnings if -Wuninitialized was set. Assigning NULL instead if pfetch_prev should suffice the situation.
Wed Jun 13 17:51:05 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in
-
cygwin needs C99 for some stuff, e.g., pthread_attr_setstacksize, sched_yield.
Wed Jun 13 17:50:43 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- Makefile.in (.c.i)
-
add warnflags to make the result consistent with compilation.
Wed Jun 13 15:12:07 2012 URABE Shyouhei<EMAIL_ADDRESS>↑
- configure.in
-
On Windows platforms, system provided headers are VC++ optimized. That is, C++ habits are often contaminated into various headers. Most frequent situation is the use of // comments. We bypass ANSI C mode for them. Otherwise extension libs cannot include those headers.
Wed Jun 13 13:39:23 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- include/ruby/win32.h
-
get rid of C99 style one line comments.
Wed Jun 13 13:39:04 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- encoding.c (enc_alias_internal)
-
use strdup defined as macro.
Wed Jun 13 10:20:27 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- process.c (rb_exec_fillarg)
-
get rid of SIZE_T_MAX which may need more headers.
- process.c (rb_exec_fillarg)
-
fix array element size. “continue” and “readonly” exceeded the size.
- process.c (rb_exec_fillarg)
-
use shell if the first word is reserved or special built-in name. pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html
- process.c (rb_exec_fillarg)
-
treat '=' only in the first word. if the first word does not contain '=', it is the command name and environment assignments cannot be anymore.
2012-06-12¶ ↑
Tue Jun 12 23:45:36 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/mkmf.rb
-
add dummy clean-static target to prevent errors for the case real clean-static target doesn't exist.
Tue Jun 12 22:49:42 2012 Naohisa Goto<EMAIL_ADDRESS>↑
- process.c (rb_exec_arg_fixup)
-
fix compile error
Tue Jun 12 21:40:13 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_exec_fillarg)
-
treat '=' character as a meta character to detect assignments preceding command name.
Tue Jun 12 20:29:19 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- include/ruby/intern.h (rb_exec_arg_init)
-
deprecated.
- (rb_exec_arg_addopt)
-
ditto.
- (rb_exec_arg_fixup)
-
ditto.
- (rb_run_exec_options)
-
ditto.
- (rb_run_exec_options_err)
-
ditto.
- internal.h (rb_execarg_init)
-
declared.
- (rb_execarg_addopt)
-
ditto.
- (rb_execarg_fixup)
-
ditto.
- (rb_execarg_run_options)
-
ditto.
- process.c
-
call rb_execarg_addopt, rb_execarg_fixup, rb_execarg_run_options, rb_execarg_init.
- (rb_execarg_addopt)
-
renamed from rb_exec_arg_addopt.
- (rb_exec_arg_addopt)
-
stub to call rb_execarg_addopt.
- (rb_execarg_init)
-
renamed from rb_exec_arg_init.
- (rb_exec_arg_init)
-
stub to call rb_execarg_init.
- (rb_execarg_fixup)
-
renamed from rb_exec_arg_fixup.
- (rb_exec_arg_fixup)
-
stub to call rb_execarg_fixup.
- (rb_execarg_run_options)
-
renamed from rb_run_exec_options_err.
- (rb_run_exec_options_err)
-
stub to call rb_execarg_run_options.
- (rb_run_exec_options)
-
call rb_execarg_run_options.
- io.c
-
call rb_execarg_addopt, rb_execarg_fixup, rb_execarg_run_options, rb_execarg_init.
- ext/pty/pty.c (establishShell)
-
call rb_execarg_init and rb_execarg_fixup.
Tue Jun 12 18:39:59 2012 URABE Shyouhei<EMAIL_ADDRESS>↑
- configure.in
-
enable strict ANSI mode by default in case of GCC, requested by _ko1.
Tue Jun 12 06:40:23 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_exec_fillarg)
-
detect '#' as a meta character.
2012-06-11¶ ↑
Mon Jun 11 22:15:44 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- include/ruby/intern.h (rb_proc_exec_n)
-
deprecated.
- (rb_exec)
-
ditto.
- (rb_exec_err)
-
ditto.
- (rb_fork)
-
ditto.
- (rb_fork_err)
-
ditto.
Mon Jun 11 18:49:52 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- configure.in
-
on checking libexecinfo, don't specify /use/local. On FreeBSD people must specify –with-opt-dir or –with-execinfo-dir.
Mon Jun 11 12:14:37 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
remove lfp (local frame pointer) and rename dfp (dynamic frame pointer) to ep (environment pointer). This change make VM `normal' (similar to other interpreters). Before this commit: Each frame has two env pointers lfp and dfp. lfp points local environment which is method/class/toplevel frame. lfp is block pointer. dfp is block local frame. dfp points previous (parent) environment pointer. lfp == dfp when frame is method/class/toplevel. You can get lfp from dfp by traversing previous environment pointers. After this commit: Each frame has only `ep' to point respective environment. If there is parent environment, then ep points parent environment (as dfp). If there are no more environment, then ep points block pointer (as lfp). We call such ep as `LEP' (local EP). We add some macros to get LEP and to detect LEP or not. In short, we replace dfp and lfp with ep and LEP. rb_block_t and rb_binding_t member `lfp' and `dfp' are removed and member `ep' is added. rename rb_thread_t's member `local_lfp' and `local_svar' to `root_lep' and `root_svar'.
- (VM_EP_PREV_EP(ep))
-
get previous environment pointer. This macro assume that ep is not LEP.
- (VM_EP_BLOCK_PTR(ep))
-
get block pointer. This macro assume that ep is LEP.
- (VM_EP_LEP_P(ep))
-
detect ep is LEP or not.
- (VM_ENVVAL_BLOCK_PTR(ptr))
-
make block pointer.
- (VM_ENVVAL_BLOCK_PTR_P(v))
-
detect v is block pointer.
- (VM_ENVVAL_PREV_EP_PTR(ptr))
-
make prev environment pointer.
- (VM_ENVVAL_PREV_EP_PTR_P(v))
-
detect v is prev env pointer.
- vm.c
-
apply above changes.
- (VM_EP_LEP(ep))
-
get LEP.
- (VM_CF_LEP(cfp))
-
get LEP of cfp->ep.
- (VM_CF_PREV_EP(cfp))
-
utility function VM_EP_PREV_EP(cfp->ep).
- (VM_CF_BLOCK_PTR(cfp))
-
utility function VM_EP_BLOCK_PTR(cfp->ep).
- vm.c, vm_eval.c, vm_insnhelper.c, vm_insnhelper.h, insns.def
-
apply above changes.
- cont.c
-
ditto.
- eval.c, eval_intern.h
-
ditto.
- proc.c
-
ditto.
- thread.c
-
ditto.
- vm_dump.c
-
ditto.
- vm_exec.h
-
fix function name (on vm debug mode).
Mon Jun 11 11:52:18 2012 URABE Shyouhei<EMAIL_ADDRESS>↑
- compile.c (iseq_set_sequence)
-
nonstatic initializer of an aggregate type is a C99ism.
- compile.c (enum compile_array_type_t)
-
comma at the end of enum list is a C99ism.
- vm_backtrace.c (enum LOCATION_TYPE)
-
ditto.
Mon Jun 11 06:31:33 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_proc_exec_n)
-
revert the function removed at r35889.
Mon Jun 11 06:20:50 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- thread_pthread.c (rb_thread_create_timer_thread)
-
assign return value to the variable err.
Mon Jun 11 06:17:06 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- thread_pthread.c (native_cond_initialize)
-
fix typo in r36022. this cause a failure on FreeBSD 8.2 amd64. fbsd.rubyci.org/~chkbuild/ruby-trunk/log/20120610T130201Z.diff.html.gz
Mon Jun 11 05:21:57 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- .gdbinit (SDR)
-
add SDR function. It's only for VM debugging.
2012-06-10¶ ↑
Sun Jun 10 21:50:45 2012 Yuki Sonoda (Yugui<EMAIL_ADDRESS>↑
- nacl/nacl_config.rb
-
Fixed for 32bit hosts.
Sun Jun 10 20:23:14 2012 Yuki Sonoda (Yugui<EMAIL_ADDRESS>↑
- thread_pthread.c (timer_thread_sleep)
-
Extracted out a function from thread_timer(). Added an alternative implementation for platforms that lacks select(2) or pipe(2).
- (rb_thread_create_timer_thread, native_cond_initialize, native_cond_destroy)
-
Replaced wrong HAVE_XXX checks.
- configure.in (pthread_attr_init)
-
New check.
Sun Jun 10 21:30:11 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_exec_without_timer_thread)
-
renamed from rb_exec_err.
- (rb_exec_err)
-
new stub function to call rb_exec_without_timer_thread.
- (rb_f_exec)
-
call rb_exec_without_timer_thread.
- (rb_exec)
-
call rb_exec_without_timer_thread.
Sun Jun 10 21:13:10 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_fork)
-
call rb_fork_internal instead of rb_fork_err.
Sun Jun 10 20:55:59 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_fork_ruby)
-
call rb_fork_internal directly.
Sun Jun 10 20:19:40 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_fork_ruby)
-
new function.
- (rb_f_fork)
-
use rb_fork_ruby instead of rb_fork.
- (rb_daemon)
-
ditto.
- io.c (pipe_open)
-
use rb_fork_ruby instead of rb_fork.
- internal.h (rb_fork_ruby)
-
declared.
Sun Jun 10 18:58:16 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- lib/net/http/response.rb
-
Remove a duplicated rdoc and leave a pointer.
- lib/net/http/responses.rb
-
Add RFC numbers to base on.
Sun Jun 10 18:31:42 2012 Yuki Sonoda (Yugui<EMAIL_ADDRESS>↑
- configure.in (RUBY_NACL)
-
Warns if $PATH does not contain the path to NativeClient SDK. PATH variable redefinition in GNUmakefile does not work for GNU make 3.81.
Sun Jun 10 17:54:36 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- gc.h (IS_STACK_DIR_UPPER)
-
utility macro.
- thread_pthread.c (get_stack)
-
seems stack size does not include guard size on Mac OS X.
- thread_pthread.c (ruby_init_stack)
-
adjust stack size for offset of addr from the bottom.
Sun Jun 10 15:49:47 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (retry_fork)
-
call after_fork except in a child process.
- (rb_fork_internal)
-
restrict after_fork call condition.
Sun Jun 10 14:19:33 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- configure.in
-
NetBSD 6 adds libexecinfo but it only works on amd64<EMAIL_ADDRESS>Sun Jun 10 12:43:23 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_f_exec)
-
call rb_exec_async_signal_safe except on Mac OS X. cf. the comment in before_exec_non_async_signal_safe.
Sun Jun 10 12:15:18 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- io.c (popen_exec)
-
don't call rb_thread_atfork_before_exec. use rb_exec_async_signal_safe instead of rb_exec_err.
- (pipe_open)
-
use rb_fork_async_signal_safe instead of rb_fork_err.
Sun Jun 10 11:44:57 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_fork_internal)
-
call after_fork only unless chfunc_is_async_signal_safe.
Sun Jun 10 10:24:51 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_exec_async_signal_safe)
-
exported.
- ext/pty/extconf.rb
-
modify $INCFLAGS to include internal.h
- ext/pty/pty.c
-
include internal.h.
- (chfunc)
-
don't call rb_thread_atfork_before_exec. use rb_exec_async_signal_safe instead of rb_f_exec.
- (establishShell)
-
set up earg. use rb_fork_async_signal_safe instead of rb_fork_err.
- internal.h (rb_exec_async_signal_safe)
-
declared.
- (rb_fork_async_signal_safe)
-
declared.
Sun Jun 10 10:14:26 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_f_exec)
-
use rb_exec_arg_prepare.
Sun Jun 10 06:43:51 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c
-
split after_exec into async-signal-safe part and rest.
- (after_exec_async_signal_safe)
-
extracted from after_exec.
- (after_exec_non_async_signal_safe)
-
ditto.
- (after_exec)
-
call them.
- (rb_exec_async_signal_safe)
-
call after_exec_async_signal_safe.
- (rb_exec_err)
-
call after_exec_non_async_signal_safe instead of after_exec.
Sun Jun 10 01:37:18 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_fork_internal)
-
initialize exc.
Sun Jun 10 00:19:25 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c
-
don't use non async-signal-safe functions in a child process before exec, for invoking a command.
- (rb_exec_atfork)
-
call rb_exec_async_signal_safe only.
- (retry_fork)
-
take chfunc_is_async_signal_safe argument. call before_fork and after_fork only unless chfunc_is_async_signal_safe.
- (send_child_error)
-
take chfunc_is_async_signal_safe argument. send an exception only unless chfunc_is_async_signal_safe.
- (recv_child_error)
-
take chfunc_is_async_signal_safe argument. receive an exception only unless chfunc_is_async_signal_safe.
- (rb_fork_internal)
-
renamed from rb_fork_err and take chfunc_is_async_signal_safe argument. use rb_protect only unless chfunc_is_async_signal_safe.
- (rb_fork_err)
-
call rb_fork_internal with false as chfunc_is_async_signal_safe.
- (rb_fork_async_signal_safe)
-
call rb_fork_internal with true as chfunc_is_async_signal_safe.
- (rb_spawn_process)
-
call rb_fork_async_signal_safe instead of rb_fork_err.
2012-06-09¶ ↑
Sat Jun 9 23:57:03 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_fork_err)
-
rewrite a complex “if” statement.
Sat Jun 9 23:44:29 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (before_exec_async_signal_safe)
-
extracted from before_exec.
- (before_exec_non_async_signal_safe)
-
ditto.
- (before_exec)
-
call before_exec_async_signal_safe and before_exec_non_async_signal_safe.
- (rb_exec_async_signal_safe)
-
call before_exec_async_signal_safe.
- (rb_exec_err)
-
call before_exec_non_async_signal_safe instead of before_exec.
Sat Jun 9 23:36:53 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- iseq.c (iseq_load, insn_operand_intern, rb_iseq_disasm, rb_iseq_parameters)
-
use rb_id2str() instead of rb_id2name() to keep encoding.
- string.c (rb_str_symname_p)
-
new function that checks if the string is valid as a symbol name. split from sym_inspect().
Sat Jun 9 22:27:05 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (retry_fork)
-
rewrite a complex “for” statement by simple statements.
Sat Jun 9 21:50:04 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (retry_fork)
-
extracted from rb_fork_err.
- (send_child_error)
-
ditto.
- (recv_child_error)
-
ditto.
Sat Jun 9 17:21:48 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- iseq.c (iseq_load)
-
type is a symbol, and invalid as ID in common.
Sat Jun 9 10:57:14 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_exec_async_signal_safe)
-
extracted from rb_exec_err.
Sat Jun 9 09:31:07 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c
-
simplified because close_others option is always enabled by default.
- (rb_f_exec)
-
don't need to set the option.
- (rb_exec_arg_prepare)
-
don't need to set the option. don't need default_close_others argument.
- (rb_spawn_internal)
-
don't need to give default_close_others argument for rb_exec_arg_prepare. don't need default_close_others argument.
- (rb_spawn_err)
-
don't need to give default_close_others argument for rb_spawn_internal.
- (rb_spawn)
-
don't need to give default_close_others argument for rb_spawn_internal.
- (rb_f_system)
-
don't need to give default_close_others argument for rb_spawn_internal.
- (rb_f_spawn)
-
don't need to give default_close_others argument for rb_exec_arg_prepare.
Sat Jun 9 09:00:58 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_proc_exec)
-
call before_exec() here addition to rb_exec_err.
Sat Jun 9 08:30:52 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- thread_pthread.c (ruby_init_stack)
-
use stack info if possible.
Sat Jun 9 08:21:32 2012 Eric Hodel<EMAIL_ADDRESS>↑
- README.EXT (prepare extconf.rb)
-
Added note to see MakeMakefile for documentation of extconf.rb functions. Patch by Zachary Scott. [ruby-trunk - Feature #6522]
- README.EXT (Appendix C)
-
Removed in favor of MakeMakefile. Patch by Zachary Scott.
- lib/mkmf.rb
-
Merged documentation from README.EXT Appendix C. Patch by Zachary Scott.
Sat Jun 9 08:16:47 2012 Eric Hodel<EMAIL_ADDRESS>↑
- doc/re.rdoc
-
Completed wording in the description of the =~ operator. [ruby-trunk - Bug #6529]
Sat Jun 9 08:09:38 2012 Eric Hodel<EMAIL_ADDRESS>↑
- string.c (rb_str_start_with)
-
Removed “p” from start_with? examples to match other String method examples. [ruby-trunk - Bug #6553]
- string.c (rb_str_end_with)
-
Updated end_with? to use code markup instead of italic.
Sat Jun 9 07:56:03 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/benchmark.rb
-
Updated formatting of Benchmark documentation for consistency. [ruby-trunk - Bug #6533]
Sat Jun 9 07:46:26 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/delegate.rb
-
Added documentation for Delegator#!. Patch by Zachary Scott. [ruby-trunk - Feature #6534]
Sat Jun 9 07:39:50 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/net/http/responses.rb
-
Add RFC 6585 response codes. Patch by Sangil Jung. [ruby-trunk - Feature #6480]
- lib/net/http/response.rb
-
ditto
- lib/net/http.rb
-
ditto
- lib/webrick/httpstatus.rb
-
ditto
Sat Jun 9 01:24:28 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_exec_err)
-
before_exec() call moved from proc_exec_cmd and proc_exec_sh.
- (rb_proc_exec)
-
ditto.
Sat Jun 9 01:11:07 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- include/ruby/intern.h (rb_exec_arg_init)
-
declaration changed to return a value.
- process.c (rb_exec_arg_init)
-
return a value.
2012-06-08¶ ↑
Fri Jun 8 23:44:14 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c
-
don't check the availability of FD_CLOEXEC. It should be available if fork() is available.
- io.c
-
ditto.
Fri Jun 8 22:39:32 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_fork_err)
-
revert r35955. The condition needs !chfunc to close ep and ep. The catched exception is re-raised immediately after that if status is not NULL.
Fri Jun 8 19:43:33 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_exec_err)
-
after_exec() call moved from proc_exec_cmd and proc_exec_sh.
- (rb_proc_exec)
-
ditto.
Fri Jun 8 19:00:59 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (ARGV_COUNT)
-
unused macro removed.
- (ARGV_SIZE)
-
ditto.
- (ALLOC_ARGV)
-
ditto.
- (ALLOC_ARGV_WITH_STR)
-
ditto.
Fri Jun 8 16:19:33 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- test/runner.rb (src_testdir)
-
expand real path so that TestGem#test_self_find_files does not fail by aliased load path when srcdir contains a symbolic link.
- tool/runruby.rb (srcdir)
-
ditto.
Fri Jun 8 12:04:39 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- process.c (rb_fork_err)
-
error state in the child process is prior to exceptions in proc_syswait().
- process.c (rb_fork_err)
-
determine status on errors.
- ext/pty/pty.c (establishShell)
-
reraise exception if something raised during sleep.
- ext/pty/pty.c (establishShell)
-
now needs status to protect from exceptions in rb_fork_err().
2012-06-07¶ ↑
Thu Jun 7 22:13:05 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_fork_err)
-
Fix the condition to use rb_protect.
Thu Jun 7 20:29:12 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- include/ruby/intern.h
-
rb_exec_arg and related stuff moved back from internal.h
Thu Jun 7 15:53:03 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- .gdbinit
-
add function `trace_machine_instructions' to trace in native machine assemble. See bugs.ruby-lang.org/projects/ruby-trunk/wiki/MachineInstructionsTraceWithGDB for more details.
2012-06-06¶ ↑
Wed Jun 6 21:31:21 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (proc_exec_cmd) renamed from proc_exec_v. (proc_exec_sh)
-
renamed from rb_proc_exec_e.
- (proc_spawn_cmd_internal)
-
renamed from proc_spawn_v.
- (proc_spawn_cmd)
-
renamed from proc_spawn_n.
- (proc_spawn_sh)
-
renamed from proc_spawn.
Wed Jun 6 21:18:47 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- process.c (try_with_sh)
-
please take care of the macro defined by you.
Wed Jun 6 20:45:08 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (proc_exec_v)
-
don't call dln_find_exe_r here because it is not async-signal-safe and proc_exec_v is called in a child process. command_abspath field of rb_exec_arg.
- (rb_exec_fillarg)
-
call dln_find_exe_r and set command_abspath.
- (rb_exec_err)
-
Give the absolute path of the invoking command for proc_exec_v, instead of the command name.
- internal.h
-
add command_abspath field for rb_exec_arg.
Wed Jun 6 20:08:01 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (try_with_sh)
-
take envp argument.
- (exec_with_sh)
-
ditto. use it for execve.
- (proc_exec_v)
-
provide envp for try_with_sh.
Wed Jun 6 13:25:04 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/win32.c, include/ruby/win32.h (rb_w32_wrap_io_handle)
-
new API. this API wraps an I/O handle (HANDLE or SOCKET) and returns fd. the second parameter should be combination of O_*, for example, O_RDWR | O_BINARY | O_NOINHERIT.
- win32/win32.c, include/ruby/win32.h (rb_w32_unwrap_io_handle)
-
new API. this API unwraps an I/O handle and close the fd (not closes the handle itself). [Feature #4906] [ruby-core:37227]
Wed Jun 6 13:18:26 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/win32.c (rb_w32_close)
-
of course, console handle is not socket.
Wed Jun 6 12:37:43 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- process.c (rb_run_exec_options_err)
-
allocate a temporary buffer for run_exec_dup2() for restoring fds on non-fork environments.
Wed Jun 6 09:45:21 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/dl/test_c_{struct_entry,union_entity}.rb
-
sorry, typos.
Wed Jun 6 05:27:54 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_exec_fillarg)
-
check use_shell field before accessing a union field.
Wed Jun 6 04:58:44 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_spawn_process)
-
prog variable is not used for Unix.
Wed Jun 6 00:20:37 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- internal.h (rb_exec_arg_init)
-
change return type to void.
- process.c (rb_exec_arg_init)
-
don't return a value.
- (rb_exec_arg_prepare)
-
ditto.
- (rb_spawn_process)
-
don't take the prog argument. extract the information from earg.
- (rb_spawn_internal)
-
follow rb_spawn_process change.
- (rb_f_spawn)
-
ditto.
- io.c (pipe_open)
-
don't take the prog argument. extract the information from eargp.
- (pipe_open_v)
-
follow pipe_open change.
- (pipe_open_s)
-
ditto.
2012-06-05¶ ↑
Tue Jun 5 23:51:33 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- internal.h (rb_exec_arg)
-
use union to represent command invocation with/without shell.
- process.c
-
follow the rb_exec_arg change.
- io.c (pipe_open)
-
ditto.
Tue Jun 5 22:28:46 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- internal.h
-
rb_exec_arg and related stuff moved from intern.h
- include/ruby/intern.h (rb_proc_exec_n)
-
removed.
Tue Jun 5 21:57:22 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_exec_arg_fixup)
-
allocate a temporary buffer for run_exec_dup2 here because it should be async-signal-safe.
- (run_exec_dup2)
-
use the temporary buffer.
- (run_exec_dup2_tmpbuf_size)
-
new function.
- include/ruby/intern.h (rb_exec_arg)
-
add dup2_tmpbuf field.
Tue Jun 5 20:13:15 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- object.c (rb_obj_init_copy)
-
should check if trusted too.
Tue Jun 5 19:59:13 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (strtok)
-
declaration removed because it is not used.
Tue Jun 5 19:33:51 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (proc_spawn)
-
don't detect simple command line here because rb_exec_fillarg already did.
Tue Jun 5 19:21:10 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_exec_fillarg)
-
bail out a loop eagerly.
Tue Jun 5 19:15:14 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c
-
add comments about async-signal-safe.
- io.c
-
ditto.
Tue Jun 5 09:25:10 2012 Eric Hodel<EMAIL_ADDRESS>↑
- io.c
-
Edited documentation for IO and File open and new and Kernel#open for consistency and clarity.
2012-06-04¶ ↑
Mon Jun 4 21:53:56 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- win32/win32.c (rb_w32_sysinit)
-
let the system not display the critical-error-handler message box and the Windows Error Reporting dialog. [ruby-core:45389] [Bug #6535]
Mon Jun 4 19:36:25 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_exec_fillarg)
-
allocate one more element before beginning in argv_str for try_with_sh.
- internal.h (ARGVSTR2ARGC)
-
adjust for the above change.
- (ARGVSTR2ARGV)
-
ditto.
Mon Jun 4 19:17:06 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- internal.h (ARGVSTR2ARGC)
-
defined.
- (ARGVSTR2ARGV)
-
defined.
- process.c (proc_exec_v)
-
use ARGVSTR2ARGV.
- (rb_spawn_process)
-
use ARGVSTR2ARGC and ARGVSTR2ARGV.
- io.c (pipe_open)
-
use ARGVSTR2ARGV.
Mon Jun 4 16:13:00 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_insnhelper.h
-
remove magical code “lfp & 0x02”. Current VM doesn't use this bit.
- vm_core.h (RUBY_VM_GET_BLOCK_PTR)
-
added.
- eval.c (rb_block_given_p)
-
use RUBY_VM_GET_BLOCK_PTR().
- vm_eval.c (rb_f_block_given_p)
-
ditto.
Mon Jun 4 15:39:33 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- win32/win32.c (constat_apply)
-
apply VT100 functions. [ruby-core:44958] [Feature #6418]
- win32/win32.c (constat_parse)
-
parse some VT100 escape sequence.
Mon Jun 4 14:06:12 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- process.c (rb_exec_err)
-
should preserve errno.
Mon Jun 4 13:10:11 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/dl/test_c_{struct_entry,union_entity}.rb
-
broken require.
Mon Jun 4 12:01:21 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- test/ruby/test_backtrace.rb
-
fix test. Windows path includes `:' character.
Mon Jun 4 11:42:39 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h (rb_location_t)
-
fix type and field name.
- (1) rename rb_location_t to rb_iseq_location_t. (2) rename field names of rb_iseq_location_t to adjust RubyVM
-
:Backtrace::Location methods.
- compile.c
-
apply above changes.
- iseq.c
-
ditto.
- proc.c
-
ditto.
- vm*.c
-
ditto.
Mon Jun 4 11:40:28 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- marshal.c (r_object0)
-
also load TYPE_USRMARSHAL, TYPE_DATA using compatible loader.
Mon Jun 4 11:33:42 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- process.c (rb_run_exec_options_err)
-
restore save_env() call for non-fork environments.
- process.c (rb_exec_err)
-
restore environments after the failure of exec to fix [ruby-core:44093] [Bug #6249] on non-fork environments
Mon Jun 4 10:42:04 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- io.c (pipe_open)
-
follow up changes in r35889.
- process.c (proc_spawn_n)
-
now uses char ** instead of VALUE *.
- process.c (rb_spawn_process)
-
prog is now VALUE of String, not char *.
Mon Jun 4 06:12:43 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- marshal.c (r_object0)
-
remove old warning for _alloc.
Mon Jun 4 04:24:06 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- marshal.c
-
experimental test aborted.
- complex.c
-
ditto.
- rational.c
-
ditto.
- include/ruby/intern.h
-
ditto.
Mon Jun 4 00:45:18 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_spawn_process)
-
fix for Windows. not tested.
Mon Jun 4 00:11:51 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_proc_exec_e)
-
don't use ISSPACE(). f, r and v are not word separator in Bourne shell.
2012-06-03¶ ↑
Sun Jun 3 23:47:30 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- include/ruby/intern.h (rb_exec_arg)
-
remove argc and argv fields. add use_shell, argv_str and argv_buf fields.
- process.c (rb_proc_exec_e)
-
don't split shell command line arguments here to avoid memory allocation in a child process.
- (rb_exec_fillarg)
-
split shell command line arguments here.
- (proc_exec_v)
-
takes argv_str argument instead of argv.
- (rb_proc_exec_ne)
-
removed.
- (rb_proc_exec_n)
-
removed.
- (rb_run_exec_options_err)
-
don't initialize the removed fields.
- (rb_exec_err)
-
don't initialize the removed fields. call proc_exec_v directly instead of rb_proc_exec_ne.
- (rb_spawn_process)
-
use use_shell field.
Sun Jun 3 21:53:00 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- GPL
-
update text of GPLv2. [ruby-core:44488] [Bug #6328] www.gnu.org/licenses/gpl-2.0.txt
Sun Jun 3 21:22:52 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_exec_getargs)
-
remove rb_exec_arg argument.
Sun Jun 3 21:14:26 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- marshal.c
-
calls directly rb_{Complex,Rational}_marshal_load(). But now disabled. [experimental]
- complex.c
-
followed the above.
- rational.c
-
ditto.
- include/ruby/intern.h
-
ditto.
Sun Jun 3 21:18:17 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_check_argv)
-
use rb_str_new_frozen instead of rb_str_new4.
Sun Jun 3 20:10:52 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- process.c (rb_proc_exec_e)
-
extended version of rb_proc_exec() to call execle().
- (rb_proc_exec)
-
use rb_proc_exec_e().
- (rb_exec_err)
-
use rb_proc_exec_e().
Sun Jun 3 19:47:18 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- thread.c (vm_living_thread_num)
-
suppress a warning.
Sun Jun 3 17:23:52 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- use execve() to preserve environment variables when exec method is failed. [ruby-core
-
44093] [ruby-trunk - Bug #6249]
- include/ruby/intern.h (rb_exec_arg)
-
add envp_str and envp_buf field to store envp of execve().
- process.c (proc_exec_v)
-
takes envp_str as an argument and use it for execve().
- (rb_proc_exec_ne)
-
extended version of rb_proc_exec_n().
- (rb_proc_exec_n)
-
use rb_proc_exec_ne().
- (rb_proc_exec)
-
follow proc_exec_v() change.
- (fill_envp_buf_i)
-
new function.
- (rb_exec_arg_fixup)
-
set up envp_str and envp_buf.
- (save_env_i)
-
removed.
- (save_env)
-
removed.
- (rb_run_exec_options_err)
-
don't modify environment variables.
- (rb_exec_err)
-
use rb_proc_exec_ne().
Sun Jun 3 16:33:58 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- marshal.c
-
revert r35879 “now marshal_{load|dump} are external.”
- complex.c (nucomp_marshal__{dump,load})
-
should use rb_marshal_{dump,load}.
- rational.c (nurat_marshal__{dump,load})
-
ditto.
Sun Jun 3 14:13:58 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_core.c
-
checks whether the object is frozen or not.
Sun Jun 3 14:00:51 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- complex.c
-
wrote Complex#_dump and Complex::load. But now disabled (due to compatibility) [experimental].
- rational.c
-
wrote Rational#_dump and Rational::load. ditto.
Sun Jun 3 10:23:32 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- complex.c (nucomp_marshal_load)
-
[ruby-core:45394]
- rational.c (nurat_marshal_load)
-
ditto.
Sun Jun 3 03:15:46 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- regparse.c (onig_number_of_names)
-
suppress a warning.
Sun Jun 3 01:36:52 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_backtrace.c
-
change names.
- (1) Class name
-
RubyVM::FrameInfo -> RubyVM::Backtrace::Location.
- (2) Method name
-
RubyVM::FrameInfo.caller -> Kernel#caller_locations.
- (3) Instance methods of RubyVM
-
:FrameInfo (RubyVM::Backtrace::Location)
- (3-1) name -> label (3-2) basename -> base_label (basename is confusing with File.basename, 3-3) line_no -> lineno (We have already similar name IO#lineno, commented by kou [ruby-dev
-
45686]).
- test/ruby/test_backtrace.rb
-
apply above changes. And apply comment from kou [ruby-dev:45686].
Sun Jun 3 00:49:11 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- common.mk
-
fix to build vm_backtrace.c only itself (vm_backtrace.c is no longer included from vm.c). I hope this separation reduce compile time of vm.c.
- internal.h
-
ditto.
- vm.c, vm_core.h, vm_dump.c, vm_eval.c
-
ditto.
- vm_eval.c
-
some functions (callee, etc) moved to vm_backtrace.c.
Sun Jun 3 00:20:53 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_backtrace.c
-
added. Separate backtrace related functions to this file.
- vm.c, common.mk
-
ditto.
2012-06-02¶ ↑
Sat Jun 2 18:09:02 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- lib/ipaddr.rb
-
Inhibit zero-filled octets in an IPv4 address in all platforms. [ruby-dev:45671]
- lib/ipaddr.rb
-
Allow the x:x:x:x:x:x:d.d.d.d form not limited to IPv4 mapped/compatible addresses. This change also makes it possible for the parser to understand IPv4 mapped and compatible IPv6 addresses in non-compressed form.
- lib/ipaddr.rb
-
Stop exposing IPSocket.valid*? methods which were only usable on non-IPv6-ready platforms.
Sat Jun 2 16:59:00 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- string.c (rb_enc_cr_str_buf_cat)
-
don't reset coderange as unknown. the condition 'ptr_a8 && str_cr != ENC_CODERANGE_7BIT' means not unknown, str is also ASCII-8BIT because str_encindex == ptr_encindex, and nont (str_cr == ENC_CODERANGE_UNKNOWN) and str_cr != ENC_CODERANGE_7BIT means str_cr is valid because ASCII-8BIT can't be broken. [ruby-dev:45688] [Bug #6509]
Sat Jun 2 07:04:48 2012 Eric Hodel<EMAIL_ADDRESS>↑
- doc/re.rdoc (Performance)
-
Replaced incorrect example of reducing backtracking through anchoring with reduced backtracking through a range. [ruby-trunk - Bug #6525]
Sat Jun 2 06:34:15 2012 Eric Hodel<EMAIL_ADDRESS>↑
- doc/re.rdoc (Performance)
-
Removed useless sample output from final performance example and switched from match to #=~ for consistency. [ruby-trunk - Bug #6524]
2012-06-01¶ ↑
Fri Jun 1 09:30:53 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- object.c (class_or_module_required)
-
extract check for class or module.
Fri Jun 1 08:50:47 2012 Eric Hodel<EMAIL_ADDRESS>↑
- array.c
-
Updated Array documentation formatting. Patch by Zachary Scott. [ruby-trunk - Feature #6517]
Fri Jun 1 06:57:10 2012 Eric Hodel<EMAIL_ADDRESS>↑
- ext/dl/lib/dl/struct.rb (DL::CStructEntity#set_ctypes)
-
Refactored set_ctypes using newer ruby features to simplify its implementation.
- test/dl/test_c_struct_entry.rb (class DL)
-
Test to verify refactoring.
Fri Jun 1 06:40:25 2012 Eric Hodel<EMAIL_ADDRESS>↑
- object.c (Init_Object)
-
Restored Kernel documentation based on Pickaxe book documentation. Patch by Zachary Scott. [ruby-trunk - Feature #6521]
Fri Jun 1 06:29:42 2012 Eric Hodel<EMAIL_ADDRESS>↑
- object.c (rb_equal)
-
Let Object be a link in === documentation. Patch by Zachary Scott. [ruby-trunk - Feature #6518]
2012-05-31¶ ↑
Thu May 31 09:27:06 2012 Eric Hodel<EMAIL_ADDRESS>↑
- ext/dl/lib/dl/struct.rb (DL::CStructEntity::size)
-
Refactored ::size to remove unused variables and simplify using newer ruby features.
- test/dl/test_c_struct_entry.rb
-
Test to validate refactoring
Thu May 31 08:40:34 2012 Eric Hodel<EMAIL_ADDRESS>↑
- ext/dl/lib/dl/struct.rb (DL::CUnionEntity#set_ctypes)
-
Refactored set_types to reuse DL::CUnionEntity::size
- test/dl/test_c_union_entity.rb
-
Added test
Thu May 31 08:20:14 2012 Eric Hodel<EMAIL_ADDRESS>↑
- ext/dl/lib/dl/struct.rb (DL::CUnionEntity::size)
-
Fixed ::size to return the size of the union.
- test/dl/test_c_union_entity.rb
-
Test for DL::CUnionEntity::size
Thu May 31 07:45:43 2012 Eric Hodel<EMAIL_ADDRESS>↑
- ext/dl
-
Added documentation. Patch by Vincent Batts. [ruby-trunk - Bug #6496]
2012-05-30¶ ↑
Wed May 30 16:30:00 2012 Kenta Murata<EMAIL_ADDRESS>↑
- ext/bigdecimal/lib/bigdecimal/jacobian.rb, ext/bigdecimal/lib/bigdecimal/newton.rb
-
fix documentation comments. Patch by alperakgun from github.com/shyouhei/ruby/pull/8
Wed May 30 16:20:00 2012 Kenta Murata<EMAIL_ADDRESS>↑
- ext/bigdecimal/lib/bigdecimal/jacobian.rb (Jacobian#dfdxi)
-
fix jacobian to get stuck in an infinite loop when a solution is not found due to forget to increment nRetry counter. Patch by alperakgun from github.com/shyouhei/ruby/pull/8
Wed May 30 10:58:31 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- time.c (utc_offset_arg)
-
utc offset can be precision in seconds. e.g. old Europe/Lisbon (c.f. [ruby-dev:40066])
Wed May 30 06:20:29 2012 Eric Hodel<EMAIL_ADDRESS>↑
- error.c (exc_set_backtrace)
-
Updated documentation to indicate set_backtrace allows a string as well as an array of strings. [ruby-trunk - Bug #6501]
2012-05-29¶ ↑
Tue May 29 17:28:20 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- strftime.c (rb_strftime_with_timespec)
-
support GNU extension triple colons modifier. [EXPERIMENTAL]
- strftime.c (rb_strftime_with_timespec)
-
check conversion with locale modifier.
- strftime.c (rb_strftime_with_timespec)
-
colons are valid only for 'z' and must come just before it.
2012-05-28¶ ↑
Mon May 28 16:56:55 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/test/unit.rb (Test::Unit::Runner#_prepare_run)
-
StatusLineOutput needs job_status to be :replace.
Mon May 28 13:35:33 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- common.mk (do-install-*)
-
fix dependencies. based on the patch by nagachika at [ruby-dev:45683]. [Bug #6506]
Mon May 28 12:03:04 2012 Narihiro Nakamura<EMAIL_ADDRESS>↑
- gc.c (obj_free)
-
doesn't free a method table if it doesn't exist. [ruby-dev:44436]
- test/ruby/test_gc.rb (class TestGc)
-
added the test case for this issue.
2012-05-27¶ ↑
Sun May 27 23:37:48 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- benchmark/bm_vm1_lvar_init.rb
-
added. This benchmark measures a initialize time of non-used variable.
- benchmark/bm_vm1_lvar_set.rb
-
added. This benchmark measures a local variables initialization time.
- benchmark/bm_vm2_bigarray.rb
-
added. This benchmark mesures a big array literal creation time.
- benchmark/bm_vm2_bighash.rb
-
added. This benchmark mesures a big hash literal creation time.
- benchmark/bm*
-
change notation “i=0” to “i = 0”.
Sun May 27 13:33:26 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- benchmark/driver.rb
-
fix to continue benchmarks when an error is occurred.
Sun May 27 11:27:50 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/test/unit.rb (Test::Unit::Runner#_prepare_run)
-
fix operator precedence, so that platform and TERM should be counted.
Sun May 27 10:02:33 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_strftime.c
-
allows %Ok and %Ol.
Sun May 27 09:29:20 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_core.c
-
modified doc.
2012-05-26¶ ↑
Sat May 26 19:04:34 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_core.c
-
added description.
Sat May 26 18:14:57 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_strftime.c
-
reduced the code.
Sat May 26 18:08:59 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- time.c
-
modified doc.
- ext/date/date_core.c
-
ditto.
Sat May 26 17:05:45 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm.c (backtrace_*)
-
change type of lev and n from size_t to int. Also set type of rb_backtrace_t#backtrace_size to int. A patch from nobu.
- vm_eval.c
-
ditto.
Sat May 26 16:26:30 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- file.c (realpath_rec)
-
UNC prefix does not end with path separator, so new separator is needed after it.
Sat May 26 15:29:22 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- test/ruby/test_backtrace.rb (test_caller_lev)
-
decrease recursion size.
Sat May 26 13:50:48 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- NEWS
-
add Kernel#caller's second argument.
Sat May 26 13:40:29 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm.c (RubyVM::FrameInfo)
-
add a class to access each frame information. You don't need to parse strings from caller(). FrameInfo has the following methods: FrameInfo#name: method name, class name, etc with decorations. FrameInfo#basename: name without decorations. FrameInfo#line_no: line number. FrameInfo#filename: file name. FrameInfo#filepath: full filepath. FrameInfo#iseq: iseq if it is iseq frame (defined by ruby script) FrameInfo#to_s: return caller() method style string. RubyVM::FrameInfo.caller(n, lev) returns array of FrameInfo objects. The name “RubyVM::FrameInfo.caller” is long and ambiguous (it is confusing with Kernel::caller() method), we need to change the name before Ruby 2.0 release. Good names or comments are welcome.
- test/ruby/test_backtrace.rb
-
add a test for above change.
Sat May 26 12:18:09 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm.c (frame_info_to_str)
-
add `break'.
- vm.c (backtrace_object)
-
remove lev and n parameter. backtrace_object always returns all of backtrace information.
- vm.c (rb_backtrace_to_str_ary)
-
fix to use backtrace_object(). This change improve performance of caller(lev, n).
- benchmark/bm_vm3_backtrace.rb
-
added to check above improvement. FYI: measurement on my laptop, 1.9.3p229 needs 5.125 sec, and current trunk only needs 0.299sec.
Sat May 26 11:05:09 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm.c (rb_frame_info_t)
-
keep previous ISEQ frame info for CFUNC frame info. And fix to cache a calculated line_no of ISEQ frame info.
2012-05-25¶ ↑
Fri May 25 19:51:36 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_eval.c (rb_f_caller)
-
caller() method accepts second optional argument `n' which specify how many frames should return. For example, `caller(0, 1)' returns only one frame information which calls caller() method. If there are less than n frame information, then all frame information are returned. If n is 0, then always return []. This fix is part of [ruby-dev:42345] [Ruby 1.9-Feature#3917]. However, performance and features are not enough. RDoc is also not available.
- test/ruby/test_backtrace.rb
-
add a test for above.
Fri May 25 17:05:07 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm.c (oldbt_init, vm_backtrace_str_ary)
-
arg->data should be initialized before calling `backtrace_each()'.
Fri May 25 16:11:27 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- trunk/ext/-test-/printf/printf.c
-
change function names because of conflict with msvcrt. fixed build error of mswin.
Fri May 25 10:52:52 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm.c
-
refactoring backtrace related functions.
- (1) unify similar functions (rb_backtrace_each() and backtrace_object()). backtrace_each() is a unified function. variation
-
a) backtrace_object(): create backtrace object. b) vm_backtrace_str_ary(): create bt as an array of string. c) vm_backtrace_print(): print backtrace to specified file. d) rb_backtrace_print_as_bugreport(): print backtrace on bugreport style.
- vm_core.h, vm_dump.c, vm_eval.c
-
ditto.
- vm.c (backtrace_object(), vm_backtrace_str_ary())
-
fix to return a correct size of caller(lev) array. Let n be a “caller(0).size” then ln as caller(lev).size should be
- (n - lev). However, the previous implementation returns a wrong size array (ln > n - lev). [ruby-dev
-
45673]
- test/ruby/test_backtrace.rb
-
add tests for backtrace.
Fri May 25 08:51:39 2012 Eric Hodel<EMAIL_ADDRESS>↑
- enum.c (enum_count)
-
Enumerable#count no longer uses size when counting elements. Patch by Nobuhiro IMAI. [ruby-trunk - Bug #6473]
Fri May 25 01:15:39 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- sprintf.c (ruby__sfvextra)
-
[EXPERIMENTAL] use inspect instead of to_s if plus flag is given.
- vsnprintf.c (BSD_vfprintf)
-
pass sign flag.
Fri May 25 00:37:22 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- test/rubygems/test_gem_indexer.rb (setup, teardown)
-
save @tempdir to remove it properly. [Bug #5348]
2012-05-24¶ ↑
Thu May 24 23:36:51 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- vsnprintf.c (BSD_vfprintf)
-
[EXPERIMENTAL] object representation in rb_enc_vsprintf(). [Feature #5896]
Thu May 24 15:33:01 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_method.c (rb_method_defined_by)
-
removed. nobu pointed out that rb_method_basic_definition_p() is enough for last commit.
- error.c, eval_error.c
-
change for above.
Thu May 24 14:30:13 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm.c
-
add RubyVM::Backtrace object (btobj). Backtrace information contains an array consists of location information for each frames by string. RubyVM::Backtrace object is lightweight backtrace information, which contains complete information to generate traditional style backtrace (an array of strings) with faster generation. If someone accesses to backtrace information via Exception#backtrace, then convert a RubyVM::Backtrace object to traditional style backtrace. This change causes incompatibility on marshal dumped binary of Exception. If you have any trouble on it, please tell us before Ruby 2.0 release. Note that RubyVM::Backtrace object should not expose Ruby level.
- error.c, eval.c, vm_eval.c
-
ditto.
- internal.h
-
ditto.
- eval_error.c
-
fix to skip “set_backtrace” method invocation in creating an exception object if it call a normal set_backtrace method (defined by core).
- test/ruby/test_settracefunc.rb
-
fix for above change.
- vm_method.c (rb_method_defined_by)
-
added. This function checks that the given object responds with the given method by the given cfunc.
- benchmark/bm_vm2_raise1.rb, benchmark/bm_vm2_raise2.rb
-
add to measure exception creation speed. raise1 create exception objects from shallow stack frame. raise2 create exception objects from deep stack frame.
Thu May 24 12:07:46 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- io.c (io_strip_bom)
-
check EOF. [Bug #6487]
2012-05-23¶ ↑
Wed May 23 22:06:14 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/net/http/header.rb (Net::HTTPHeader#range)
-
fix broken parser of HTTP Range request. Old one can't parse invalid specs and multiple specs correctly.
Wed May 23 10:18:54 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/win32.c (finish_overlapped_socket, overlapped_socket_io)
-
replace ECONNABORTED to EPIPE in send, sendto and sendmsg to improve BSD socket compatibility. this change removes a failure on the test of net/ftp.
Wed May 23 05:35:58 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/net/http.rb
-
Broke up Net::HTTP into individual files. [ruby-trunk - Feature #6435]
- lib/net/http/backward.rb
-
ditto.
- lib/net/http/response.rb
-
ditto.
- lib/net/http/exceptions.rb
-
ditto.
- lib/net/http/responses.rb
-
ditto.
- lib/net/http/generic_request.rb
-
ditto.
- lib/net/http/header.rb
-
ditto.
- lib/net/http/request.rb
-
ditto.
- lib/net/http/proxy_delta.rb
-
ditto.
- lib/net/http/requests.rb
-
ditto.
Wed May 23 05:15:11 2012 Eric Hodel<EMAIL_ADDRESS>↑
- class.c (rb_mod_init_copy)
-
Clear the cached inspect string of a dup'd anonymous module or class. [ruby-trunk - Bug #6454]
- test/ruby/test_module.rb (class TestModule)
-
ditto
2012-05-22¶ ↑
Tue May 22 16:49:15 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- vm_core.h
-
add a data type rb_location_t to store iseq location information. rb_location_t#filename, filepath, name and line_no was moved from rb_iseq_t. rb_location_t#basename is a new field which is similar to `name' field without any decoration. `name' field contains some decoration such as `block in foo'. `basename' only contains `foo'. rb_iseq_t contains memory object of rb_location_t.
- iseq.c
-
setup rb_location_t for each rb_iseq_t memory objects.
- compile.c, proc.c, vm.c, vm_dump.c, vm_eval.c, vm_insnhelper.c, vm_method.c
-
support about it.
Tue May 22 00:45:05 2012 Yusuke Endoh<EMAIL_ADDRESS>↑
- struct.c (rb_struct_members)
-
Refactoring. As Struct#members had returned an array of String, the old code was needed to convert Symbols to Strings. But it is almost unnecessary because the method now returns an array of Symbols. A patch by Masaki Matsushita <glass.saga at gmail dot com> [Feature #6218] [ruby-dev:45451]
2012-05-21¶ ↑
Mon May 21 19:20:25 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/net/ftp.rb (Net::FTP#retrbinary)
-
close only if conn is not nil because transfercmd may fail and return nil.
- lib/net/ftp.rb (Net::FTP#retrlines)
-
ditto.
Mon May 21 15:10:28 2012 Akinori MUSHA<EMAIL_ADDRESS>↑
- ext/syslog/syslog.c
-
Classify constants and macros into several sub-modules. (Syslog::Priority, Syslog::Level, Syslog::Option and Syslog::Macros)
- ext/syslog/syslog.c (mSyslog_inspect)
-
Use rb_sprintf().
- ext/syslog/syslog.c (mSyslog_inspect)
-
Make sure self is a module before calling rb_class2name().
Mon May 21 12:44:11 2012 URABE Shyouhei<EMAIL_ADDRESS>↑
- .travis.yml (install)
-
It seems tcl/tk is skipped in Travis CI. Trying to fix the situation.
Mon May 21 12:11:25 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- enc/depend (ENCOBJS)
-
add dependencies.
- enc/make_encmake.rb (target_encodings)
-
extract dependencies.
Mon May 21 11:26:17 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/net/ftp.rb (Net::FTP#transfercmd)
-
rescue shutdown.
2012-05-20¶ ↑
Sun May 20 23:00:11 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/extmk.rb (extmake)
-
reopen $stdout to NULL, since setting $stdout cannot affect child processes.
Sun May 20 21:36:39 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- enc/shift_jis.c (code_to_mbclen)
-
return ONIGERR_INVALID_CODE_POINT_VALUE if the code is invalid.
- string.c (tr_next)
-
increment character until the code is a valid character. [ruby-dev:45652] [Bug #6450]
Sun May 20 12:25:10 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- Makefile.in (LIBRUBY_SO)
-
link EXTSOLIBS too.
- ext/extmk.rb (mf.macro)
-
use EXTSOLIBS instead of SOLIBS to get rid of discard libraries needed by default. [Bug #6462]
2012-05-19¶ ↑
Sat May 19 19:04:38 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/extmk.rb (command_output)
-
ENCOBJS is needed for all linked ruby, if –disable-shared and –with-static-linked-ext.
- ext/extmk.rb (command_output)
-
dmyext is needed as DLDOBJS if no static linked extensions.
- Makefile.in, common.mk (PROGRAM)
-
no extension libraries.
- common.mk (build-ext)
-
pass macros for libruby.so.
- ext/extmk.rb (command_output)
-
link extension libraries and encoding libraries into libruby.so, not ruby executable.
- ext/extmk.rb (command_output)
-
fold long macro lines.
- Makefile.in (LIBEXT)
-
add macro.
- configure.in (ENCOBJS, EXTOBJS)
-
use LIBEXT, not hardcoded suffix.
- Makefile.in (LIBRUBY_A)
-
fix typo. re-applying r35242.
Sat May 19 04:46:53 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- ext/openssl/extconf.rb
-
Use Logging::message instead of message.
- ext/zlib/extconf.rb
-
ditto.
2012-05-18¶ ↑
Fri May 18 18:13:44 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/mkmf.rb (MakeMakefile#configuration)
-
keep space at end of OUTFLAG and COUTFLAG. [ruby-dev:45650]
Fri May 18 17:39:42 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- thread_pthread.c (rb_thread_create_timer_thread)
-
Added error check when failing fcntl(). [Bug #6147] [ruby-dev:45364]
Fri May 18 17:41:00 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/extmk.rb (extmake)
-
link archives only, skip script only extension libraries.
Fri May 18 17:25:33 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- cont.c
-
bump up fiber machine stack size when running on 64bit arch. [Bug #6344] [ruby-dev:45554]
Fri May 18 15:20:56 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/uri/generic.rb (URI::Generic.build)
-
duplicate args before adding new items. (don't change arguments)
- lib/uri/generic.rb (URI::Generic.build)
-
use URI::Generic::COMPONENT if this method is called from URI::Generic.
- lib/uri/generic.rb (URI::Generic.build2)
-
escape only if the item is a String.
- lib/uri/generic.rb (URI::Generic.build2)
-
use DEFAULT_PARSER because it doesn't have parser method. [Bug #6420]
Fri May 18 15:54:07 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- ext/zlib/extconf.rb
-
Use an exception instead of bare puts.
Fri May 18 15:53:05 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- ext/psych/extconf.rb
-
Use an exception instead of bare abort.
Fri May 18 15:51:32 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- ext/fiddle/extconf.rb
-
Use an exception instead of bare abort.
Fri May 18 15:49:35 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- ext/readline/extconf.rb
-
Use an exception instead of bare exit.
Fri May 18 15:38:11 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- ext/ripper/extconf.rb
-
Use an exception instead of bare Logging.message.
Fri May 18 15:23:06 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- ext/openssl/extconf.rb
-
Clarify a message when hit Apple OpenSSL issue.
Fri May 18 15:14:32 2012 KOSAKI Motohiro<EMAIL_ADDRESS>↑
- ext/extmk.rb
-
Show a message when extconf.rb raised an exception.
- ext/openssl/extconf.rb
-
Use exception raising instead of message and/or abort. We want to display error message to console and logging into mkmf.log.
Fri May 18 06:14:07 2012 Eric Hodel<EMAIL_ADDRESS>↑
- ext/syslog/lib/syslog/logger.rb
-
Added Syslog::Logger which was ported from the SyslogLogger gem. [ruby-trunk - Feature #5096]
- NEWS
-
ditto.
- test/syslog/test_syslog_logger.rb
-
ditto.
Fri May 18 01:28:21 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/parser.c (transcode_string)
-
fix encoding index names. Thanks markizko for reporting.
2012-05-17¶ ↑
Thu May 17 23:03:58 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in
-
fix function name to be checked, to initialize rb_thread_cond_t properly.
- thread_pthread.c (native_cond_initialize, native_cond_destroy)
-
fix macro name.
Thu May 17 12:53:07 2012 Yuki Yugui Sonoda<EMAIL_ADDRESS>↑
- thread.c, thread_pthread.c
-
Moved pthread-specific preprocessor hacks to thread_pthread.c
Thu May 17 12:18:47 2012 Yuki Yugui Sonoda<EMAIL_ADDRESS>↑
- io.c
-
Fix a mistake on merging the patch in the previous commit.
Thu May 17 11:33:07 2012 Yuki Yugui Sonoda<EMAIL_ADDRESS>↑
- configure.in (RUBY_NACL)
-
New M4 func to configure variables for NaCl.
- (RUBY_NACL_CHECK_PEPPER_TYPES)
-
New M4 func to check the old names of Pepper interface types.
- (BTESTRUBY)
-
New variable to specify which ruby should be run on “make btest”. NaCl can run the built binary by sel_ldr, but it need rbconfig.rb. So this variable is distinguished from $MINIRUBY.
- thread_pthread.c
-
Disabled some features on NaCl.
- io.c
-
ditto.
- process.c
-
ditto.
- signal.c
-
ditto.
- file.c
-
ditto.
- missing/flock.c
-
ditto.
- nacl/pepper_main.c
-
An example implementation of Pepper application that embeds Ruby.
- nacl/example.html
-
An example of web page that uses the Pepper application.
- nacl/nacl-config.rb
-
Detects variants of NaCl SDK.
- nacl/GNUmakefile.in
-
Makefile template for NaCl specific build process.
- nacl/package.rb
-
script for packaging a NaCl-Ruby embedding application.
- nacl/reate_nmf.rb
-
Wrapper script of create_nmf.py
- dln.c (dln_load)
-
Added a hack to call on NaCl.
- util.c (ruby_getcwd)
-
Path to the current directory is not available on NaCl.
Thu May 17 10:54:58 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/tk/extconf.rb
-
add -l options to $libs not $LDFLAGS, to be passed to EXTLIBS in exts.mk.
- enc/encinit.c.erb
-
use %-lines to adjust indent in the generated file.
- lib/mkmf.rb (MakeMakefile#have_framework)
-
combine -framework option and its argument with an equal sign not to be separated in merge_libs.
- ext/tk/extconf.rb
-
ditto.
- ext/extmk.rb
-
EXTLDFLAGS also needs to be passed.
2012-05-16¶ ↑
Wed May 16 15:44:22 2012 Yuki Yugui Sonoda<EMAIL_ADDRESS>↑
- configure.in
-
Fix an unbalanced quote.
Wed May 16 15:43:10 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- ext/extmk.rb (exts.mk)
-
use double quotes instead of single quotes for commandline because it's not recognized as quotes on Windows.
Wed May 16 15:15:55 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in (LD)
-
enclose with single quotes but not double quotes not to expand command substitution.
Wed May 16 14:19:51 2012 Yuki Yugui Sonoda<EMAIL_ADDRESS>↑
- Makefile.in (ENCOBJS, EXTOBJS)
-
New variables to specify static linked libraries. Also reintroduces extinit.o, introduces encinit.o introduces encinit.o
- common.mk
-
Builds static libraries rather than shared objects if specified.
- configure.in (LD)
-
new substitution.
- enc/depend
-
Supports static linked libraries
- (libencs, libenc, libtrans)
-
New target.
- enc/encinit.c.erb
-
new template to generate the initialization of statically linked encodings.
- enc/make_encmake.rb (–module)
-
new flag to specify whether static or dynamic.
- transcode_data.h (TRANS_INIT)
-
New macro to get rid of the name collision of encoding initializers and transcoder initializers.
- ext/extmk.rb
-
Fixes the behavior on $extstatic is true.
- lib/mkmf.rb (clean-static)
-
new target to clean up static linked libraries.
- ruby.c (process_options)
-
New initializes statically linked encodings here.
Wed May 16 14:30:43 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- io.c
-
fixed a merge mistake of r33878, reported by nobu via IRC.
Wed May 16 06:59:41 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_strftime.c
-
should also be aware of flags on complex specifier.
Wed May 16 05:11:29 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/lib/psych/visitors/to_ruby.rb
-
fix a bug with string subclass dumping and loading.
- test/psych/test_array.rb
-
pertinent tests
- test/psych/test_string.rb
-
ditto
Wed May 16 01:31:21 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/lib/psych/visitors/to_ruby.rb
-
convert omap tagged maps to Psych::Omap objects rather than hashes. [Bug #6425]
- test/psych/test_omap.rb
-
pertinent test.
Wed May 16 01:15:45 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/lib/psych/visitors/yaml_tree.rb
-
keep a reference to custom coders so that GC does not impact dumped yaml reference ids.
2012-05-15¶ ↑
Tue May 15 23:59:48 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/test/unit.rb (Test::Unit::Options#setup_options)
-
add –color option.
- lib/test/unit.rb (Test::Unit::Runner#_prepare_run)
-
defer color code initialization to regard –color option.
2012-05-14¶ ↑
Mon May 14 16:28:36 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (f_arglist)
-
should reset lexical states after empty argument list with no parenthesis as well as parenthesized list, so that reserved name method definition work. [ruby-dev:45626] [Bug #6403]
Mon May 14 00:14:24 2012 CHIKANAGA Tomoyuki<EMAIL_ADDRESS>↑
- enumerator.c (lazy_take_func, lazy_take)
-
multiple calls of force/to_a method to Enumerator::Lazy#take should return same results. [ruby-dev:45634] [Bug #6428]
- test/ruby/test_lazy_enumerator.rb (test_take_recycle)
-
add test for above.
2012-05-13¶ ↑
Sun May 13 23:38:31 2012 CHIKANAGA Tomoyuki<EMAIL_ADDRESS>↑
- test/ruby/test_io.rb (test_flush_in_finalizer1)
-
don't use IO.for_fd to close IO objects. it create IO object with already closed fd, and cause occasional Errno::EBADF in following tests. [ruby-core:45020] [Bug #6228]
Sun May 13 23:32:16 2012 CHIKANAGA Tomoyuki<EMAIL_ADDRESS>↑
- test/ruby/test_io.rb (TestIO)
-
revert r35631. it broke the intent of test_flush_in_finalizer1. [ruby-core:43951] [Bug #6228]
Sun May 13 22:46:36 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- ext/etc/etc.c (passwd_ensure)
-
move endpwent() call from passwd_iterate to close /etc/passwd on exception.
- (group_ensure)
-
move endgrent() call from group_iterate to close /etc/group on exception.
Sun May 13 18:10:43 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_strftime.c
-
removed unused code and changed the style.
Sun May 13 17:37:56 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_strftime.c
-
refactored.
Sun May 13 06:40:12 2012 Luis Lavena<EMAIL_ADDRESS>↑
- test/ruby/test_io.rb (class TestIO)
-
Disable GC during IO tests to avoid file descriptors being GC'ed. Suggestion by Tomoyuki Chikanaga [ruby-core:43951][Bug #6228]
2012-05-12¶ ↑
Sat May 12 07:00:16 2012 Eric Hodel<EMAIL_ADDRESS>↑
- ext/sdbm/init.c
-
Added documentation. Patch by Justin Collins, cleanup by Zachary Scott. [ruby-trunk - #6410]
Sat May 12 06:02:03 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/fileutils.rb (cp_r)
-
Fixed cp_r example. Patch by TJ Koblentz from pull request #114. [ruby-trunk - Bug #6411]
Sat May 12 05:23:06 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- thread.c (rb_threadptr_execute_interrupts_common)
-
test_signal_requiring of test/ruby/test_signal.rb fail if the sub process is killed on waiting IO in lex_io_gets in rb_load_file in rb_load_internal in require. This is because
2012-05-11¶ ↑
Fri May 11 14:23:11 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (primary)
-
begin/end block should be isolated from outside. [ruby-dev:45631][Bug #6419]
Fri May 11 14:09:47 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/bigdecimal/bigdecimal.c (PUSH)
-
to prevent VALUE from GC, must not cast it to unsigned long, which may be shorter than VALUE, and the result can be mere garbage.
Fri May 11 09:51:07 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/test/unit.rb (Test::Unit::Runner#failed)
-
no unnecessary newlines if no reports to be displayed.
2012-05-10¶ ↑
Thu May 10 10:55:35 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- test/minitest/test_minitest_mock.rb
-
Correct requiring path to metametameta.rb.
- test/minitest/test_minitest_unit.rb
-
Correct requiring path to metametameta.rb.
Thu May 10 10:18:10 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (lex_state_name)
-
returns name for lex_state_e, for debug use.
2012-05-09¶ ↑
Wed May 9 16:36:01 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/mkmf.rb (MakeMakefile#pkg_config)
-
check if libs resulted from pkg-config works actually.
Wed May 9 16:01:38 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/imap.rb (decode_utf7, encode_utf7)
-
refactored by Nobuyoshi Nakada, to use String#encode.
Wed May 9 13:26:25 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- test/rubygems/test_gem_remote_fetcher.rb
-
skip OpenSSL dependent tests if not available.
Wed May 9 08:09:38 2012 Ryan Davis<EMAIL_ADDRESS>↑
- lib/minitest/*
-
Imported minitest 3.0.0 (r7435)
- test/minitest/*
-
ditto
- test/rubygems/*
-
Imported fixes for buggy use of assert_match and deprecated assert_block UNBUNCH YOUR PANTIES. THE TESTS DO NOT RUN CLEAN ON OSX.
Wed May 9 06:28:59 2012 Eric Hodel<EMAIL_ADDRESS>↑
- re.c (rb_reg_equal)
-
Removed incorrect example for Regexp#== with “n” option. [ruby-talk - Bug #6415]
Wed May 9 06:23:33 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_core.c
-
reverted.
Wed May 9 04:31:26 2012 Masatoshi SEKI<EMAIL_ADDRESS>↑
- lib/rinda/ring.rb (lookup_ring_any)
-
fix Rinda::RingFinger.primary hungs forever. [ruby-talk:395364]
2012-05-08¶ ↑
Tue May 8 21:09:00 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- include/ruby/win32.h (FD_SET)
-
change function to macro. To avoid buffer overflow when smaller FD_SETSIZE is used in ext libraries.
- win32/win32.c (rb_w32_fdset)
-
this function is not used anymore. But we leave this for compatibility.
- win32/win32.c (rb_w32_select_with_thread)
-
fix SEGV when smaller FD_SETSIZE is used in ext libraries. Dereference of fd_set pointer causes SEGV.
- test/-ext-/win32/test_fd_setsize.rb(TestFdSetSize)
-
add tests for above.
- ext/-test-/win32/fd_setsize/depend
-
ditto.
- ext/-test-/win32/fd_setsize/extconf.rb
-
ditto.
- ext/-test-/win32/fd_setsize/fd_setsize.c
-
ditto. [ruby-core:44588] [Bug #6352]
Tue May 8 20:44:46 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- io.c (io_unread)
-
fix IO#pos with mode 'r' bug on Windows. If the end of reading buffer is CR, io_unread() needs to unread one more byte. [ruby-core:44874] [Bug #6401]
- test/ruby/test_io_m17n.rb (TestIO_M17N#test_pos_with_buffer_end_cr)
-
add a test for above.
Tue May 8 13:38:17 2012 Ayumu AIZAWA<EMAIL_ADDRESS>↑
- ext/date/date_core.c
-
improving introduction in Date/DateTime documentation. patched by Daniel Kaufman via Github. github.com/ruby/ruby/pull/110
Tue May 8 13:36:02 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in (POSTLINK)
-
default to : command to get rid of flag only command, since BSD make does not work with it.
Tue May 8 13:35:10 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/test/unit.rb (MiniTest#run_test)
-
remove exact trace and get rid of IndexError, which could caused by modified $@ sometimes.
Tue May 8 11:21:27 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/minitest/metametameta.rb (MetaMetaMetaTestCase#assert_report)
-
support drive letter on Windows. yes, the original code is metameta.
Tue May 8 08:54:48 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/abbrev.rb
-
Fixed typo in abbrev pattern documentation. Based on patch by Mark Rushakoff. [ruby-trunk - #6346]
Tue May 8 07:44:18 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- ext/openssl/ossl_ssl.c (ossl_start_ssl)
-
remove useless rb_sys_fail before ossl_raise. this cause a test failure on Linux. u64.rubyci.org/~chkbuild/ruby-trunk/log/20120507T190102Z.log.html.gz
Tue May 8 05:35:18 2012 Eric Hodel<EMAIL_ADDRESS>↑
- object.c (Init_Object)
-
Added reference to variable.c where public_constant and private_constant documentation lives. [#6381]
Tue May 8 04:47:44 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/test/unit.rb (Test::Unit::Runner#output)
-
prefer local output to get rid of unexpected side effect in test/minitest/metametameta.rb.
- lib/test/unit.rb (MiniTest#run_test)
-
show the running test in $0.
- lib/test/unit.rb (Test::Unit::StatusLineOutput)
-
new class to output in status line.
- test/testunit/test_hideskip.rb (TestHideSkip#test_hideskip)
-
MiniTest#puke now reports Skipped messages only if verbose mode.
- test/testunit/test_sorting.rb (TestTestUnitSorting#test_sorting)
-
ditto.
- lib/test/unit.rb (Test::Unit::Runner#puke)
-
modify only result and drop useless reports, not override entirely.
- bootstraptest/runner.rb (exec_test, show_progress)
-
show rotators and pass/fail counts.
- sample/test.rb (PROGRESS)
-
refine output.
Tue May 8 02:34:26 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/minitest/unit.rb (assert_match)
-
refix of r35563. r35563 breaks the intention of the original change. github.com/seattlerb/minitest/commit/68858105b2eb11c85105ffac5f32b662c59397f3
- lib/minitest/unit.rb (refute_match)
-
ditto.
2012-05-07¶ ↑
Mon May 7 21:19:17 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- ext/json
-
Merge JSON 1.7.1. github.com/flori/json/commit/e5b9a9465c1159fae533bca320d950b772bcb4ac
Mon May 7 20:14:15 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- lib/securerandom.rb (random_bytes)
-
call to_int method for the argument at first.
Mon May 7 17:54:12 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/minitest/unit.rb (assert_match)
-
replace matcher only if both matcher and obj are String. fix r35541. [Bug #6405] DON'T COMMIT IF YOU CAN'T RUN TEST. FIX AS SOON AS POSSIBLE YOU BREAK TESTS. patched by ayumin. github.com/seattlerb/minitest/pull/124
- lib/minitest/unit.rb (refute_match)
-
ditto.
Mon May 7 13:41:00 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- Makefile.in (PROGRAM), configure.in (POSTLINK)
-
sign built program using RUBY_CODESIGN identity.
Mon May 7 13:03:55 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/imap.rb (body_type_attachment)
-
parse body type “ATTACHMENT”. [ruby-core:44849] [Bug #6397]
Mon May 7 10:49:36 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- ext/bigdecimal/bigdecimal.c (Init_bigdecimal)
-
define IDs before they are used. [ruby-core:44900] [Bug #6406]
Mon May 7 10:27:56 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/digest/rmd160/rmd160.c (RMD160_Update)
-
fix for huge data.
Mon May 7 10:23:04 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- test/fileutils/fileasserts.rb
-
use assert_equal, assert_match, and so on.
- test/ruby/enc/test_utf16.rb, test/ruby/enc/test_utf32.rb, test/ruby/test_io_m17n.rb (assert_str_equal)
-
ditto.
- test/rubygems/test_gem_remote_fetcher.rb (assert_data_from_{server,proxy})
-
ditto.
- test/test_pstore.rb (test_thread_safe)
-
ditto.
Mon May 7 10:16:30 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- test/rubygems/test_gem_installer.rb (TestGemInstaller#test_dir)
-
fix argument order. expected value must come first.
2012-05-06¶ ↑
Sun May 6 21:34:29 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- io.c (io_encoding_set)
-
suppress warnings. [ruby-dev:45627] this tmp1 is not required after r35538.
- addr2line.c
-
suppress warnings.
Sun May 6 18:39:39 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- compile.c (iseq_compile_each)
-
remove unused variable `size'.
Sun May 6 14:50:03 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- lib/securerandom.rb
-
show actual read length in an error message.
2012-05-05¶ ↑
Sat May 5 06:43:10 2012 Ryan Davis<EMAIL_ADDRESS>↑
- lib/minitest/*
-
Imported minitest 2.12.1 (r7323)
- test/minitest/*
-
ditto
Sat May 5 01:47:33 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- test/zlib/test_zlib.rb (test_inflate)
-
add a test for Zlib.inflate. patched by headius (Charles Nutter). [ruby-core:44859] [Bug #6398]
- test/zlib/test_zlib.rb (test_deflate)
-
add a test for Zlib.deflate.
Sat May 5 00:53:55 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- io.c (parse_mode_enc)
-
remove warnings 'Ignoring internal encoding'. [ruby-core:44455] [Bug #6324]
- io.c (io_encoding_set)
-
ditto.
2012-05-04¶ ↑
Fri May 4 07:19:02 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/rdoc/parser.rb (RDoc.binary?)
-
fix wrong regexp. [ruby-core:44798] [Bug #6393]
Fri May 4 01:33:20 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/rdoc/parser.rb (RDoc.alias_extension)
-
a real file is irrelevant to aliasing. [ruby-core:44796][Bug #6392]
- lib/rdoc/parser.rb (RDoc.zip?)
-
non-existent file will not be a zip file.
- lib/rdoc/parser.rb (RDoc.can_parse_by_name)
-
accept aliased extension file names.
- lib/rdoc/parser.rb (RDoc.binary?)
-
binary read data may have incomplete multibyte sequence. [ruby-core:44798][Bug #6393]
2012-05-02¶ ↑
Wed May 2 23:55:51 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/test/unit.rb (Test::Unit::RequireFiles#non_options)
-
expand real path to get rid of loading same files via symlinks.
Wed May 2 23:26:04 2012 CHIKANAGA Tomoyuki<EMAIL_ADDRESS>↑
- cont.c (rb_fiber_m_transfer)
-
improve sample code in Fiber#transfer documentation. emphasize the difference between transfer and resume.
Wed May 2 23:21:20 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (parser_yylex)
-
allow spaces between lambda arrow and parenthesis. [ruby-dev:45605][Feature #6390]
Wed May 2 19:06:30 2012 Ayumu AIZAWA<EMAIL_ADDRESS>↑
- cont.c (rb_fiber_m_transfer)
-
Improved Fiber documentation. patched by Anuj Dutta. [ruby-core:44540][Bug #6343]
Wed May 2 13:06:37 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- README, README.ja
-
reformatted using rdoc markup. based on the patches by zzak (Zachary Scott) in [Feature #6388].
- README, README.ja
-
updated the author's mail address.
Wed May 2 09:46:09 2012 Kouji Takao<EMAIL_ADDRESS>↑
- ext/readline/readline.c (Readline.special_prefixes=, Readline.special_prefixes)
-
new function. An original patch was created by nagachika. [Feature #5784]
2012-05-01¶ ↑
Tue May 1 22:18:45 2012 Kouji Takao<EMAIL_ADDRESS>↑
- ext/readline/readline.c (Readline.pre_input_hook, Readline.insert_text, Readline.redisplay)
-
new function. An original patch was created by nagachika. [Feature #5785]
Tue May 1 15:46:48 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- common.mk
-
“$(Q)-…” doesn't work on nmake.
Tue May 1 15:32:10 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- common.mk
-
replace '@' prefix to '$(Q)' to control build process outputs.
Tue May 1 14:17:59 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/openssl/deprecation.rb (OpenSSL.check_func)
-
check if header is available for macro compatibility.
Tue May 1 10:53:54 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/ruby/test_settracefunc.rb
-
ignore traces from another threads because Kernel#set_trace_func affects other threads.
Tue May 1 06:04:14 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/digest/sha2/sha2.c (REVERSE32)
-
explicitly cast since unsigned long may be larger than sha2_word32.
- ext/digest/sha2/sha2.c (SHA{256,512,384}_{Final,End})
-
should clear whole content, not pointer size.
- ext/digest/*/extconf.rb
-
use pkg_config to use same library with openssl. [ruby-core:44755][Bug #6379]
- ext/openssl/deprecation.rb
-
extract check for broken Apple OpenSSL.
Tue May 1 05:02:30 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in (optflags)
-
disable unsafe optimizations. [ruby-core:44679][Bug #6370]
2012-04-30¶ ↑
Mon Apr 30 23:36:49 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- lib/fileutils.rb (copy_metadata)
-
use File.lchown and File.lchmod to update meta data of symlinks.
Mon Apr 30 23:05:53 2012 CHIKANAGA Tomoyuki<EMAIL_ADDRESS>↑
- test/ruby/test_continuation.rb (tracing_with_set_trace_func)
-
don't call Continuation from other threads. [ruby-dev:45596] [Bug #6382]
Mon Apr 30 20:10:04 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- ext/zlib/extconf.rb
-
detect z_crc_t type which will be defined since zlib-1.2.7.
- ext/zlib/zlib.c (rb_zlib_crc_table)
-
use z_crc_t if available.
Mon Apr 30 09:02:15 2012 Ayumu AIZAWA<EMAIL_ADDRESS>↑
- ext/openssl/lib/openssl/ssl.rb
-
add hostname to “hostname does not match server cert.” error. patched by Wes Morgan via Github. github.com/ruby/ruby/pull/122
Mon Apr 30 04:43:53 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/lib/psych/json/yaml_events.rb
-
implicit styles should not be changeable for JSON events.
2012-04-29¶ ↑
Sun Apr 29 06:12:02 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (assoc, parser_yylex)
-
add syntax to splat keyword hash. [ruby-core:44591][Feature #6353]
- compile.c (compile_array_)
-
generate keyword splat insns.
- vm.c (m_core_hash_merge_kwd)
-
merge keyword hash into intermediate hash. leftward argument is prior currently.
2012-04-27¶ ↑
Fri Apr 27 12:34:23 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- ext/dl/cfunc.c (rb_dlcfunc_call)
-
should convert a Bignum value to unsigned long long on Win64. [ruby-core:44636][Bug #6364] reported by<EMAIL_ADDRESS>(ray linn)
Fri Apr 27 10:58:17 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- test/readline/test_readline.rb (setup)
-
avoid affected by user's inputrc file. [ruby-dev:45584][Bug #6357]
Fri Apr 27 01:45:05 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- thread.c (rb_threadptr_execute_interrupts_common)
-
handle timer_interrupt only on the first loop for the case to avoid the infinite loop like following case: * there is 2 Ruby threads (3 pthreads)
- (1) main thread is waiting at gvl_yield
-
112 (native_cond_wait)
- (2) sub thread works (3) sub thread waits at gvl_yield
-
133 (native_mutex_unlock)
- (4) main thread works (5) main thread goes to gvl_acquire_common (6) main thread call rb_wakeup_timer_thread (7) timer thread set timer interrupt to the main thread (8) main thread works (9) main thread waits at gvl_acquire_common
-
64 (native_cond_wait)
- (10) sub tread works (11) set sub thread as the current thread (12) run Ruby thread (13) …100ms (14) sub thread goes to rb_threadptr_execute_interrupts_common (15) sub thread call rb_thread_schedule_limits (16) sub thread call gvl_release_common (17) sub threads waits at gvl_yield
-
121 (native_cond_wait)
- (18) main threads works (19) main thread back to gvl_yield (20) set main thread as the current thread (21) main thread call gvl_yield (22) main thread waits at gvl_yield
-
112 (native_cond_wait) As described above, the main thread can't escape from rb_threadptr_execute_interrupts_common. See extended memo: bugs.ruby-lang.org/projects/ruby-trunk/wiki/R35480_ExtendedMemo
Fri Apr 27 07:15:07 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- ext/socket/socket.c (sock_s_pack_sockaddr_un)
-
support the longest path in sockaddr_un, really. reported by nagachika. d.hatena.ne.jp/nagachika/20120426/ruby_trunk_changes_35474_35476
2012-04-26¶ ↑
Thu Apr 26 12:28:06 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- ext/socket/raddrinfo.c (init_unix_addrinfo)
-
support the longest path in sockaddr_un.
- (inspect_sockaddr)
-
ditto.
- (addrinfo_mdump)
-
ditto.
- (addrinfo_mload)
-
ditto.
- (rsock_unixpath_str)
-
new function.
- (rsock_unixpath)
-
removed.
- (rsock_unixaddr)
-
use rsock_unixpath_str.
- ext/socket/socket.c (sock_s_pack_sockaddr_un)
-
support the longest path in sockaddr_un.
- (sock_s_unpack_sockaddr_un)
-
ditto.
- (sock_s_gethostbyaddr)
-
unused variable removed.
- ext/socket/unixsocket.c (rsock_init_unixsock)
-
support the longest path in sockaddr_un.
- ext/socket/rubysocket.h (rsock_unixpath_str)
-
declared.
- (rsock_unixpath)
-
removed.
- test/socket/test_unix.rb
-
comment out test_nul because abstract unix sockets may contain NULs.
Thu Apr 26 01:32:33 2012 CHIKANAGA Tomoyuki<EMAIL_ADDRESS>↑
- test/optparse/test_summary.rb (test_summary_containing_space)
-
add test for r35467. OptionParser#to_a shouldn't split banner by spaces.
2012-04-25¶ ↑
Wed Apr 25 23:02:46 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- ext/socket/raddrinfo.c (init_unix_addrinfo)
-
refine error message format.
- (addrinfo_mload)
-
show more information on “too long AF_UNIX path” error.
- (addrinfo_unix_path)
-
ditto for “too short AF_UNIX address” and “too long AF_UNIX address” error.
Wed Apr 25 05:46:12 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/optparse.rb (OptionParser#to_a)
-
split for each lines. [ruby-dev:45568][Bug #6348]
2012-04-24¶ ↑
Tue Apr 24 21:57:53 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- ext/socket/raddrinfo.c (init_unix_addrinfo)
-
show actual path length when it is too long for Unix socket.
- ext/socket/unixsocket.c (rsock_init_unixsock)
-
ditto.
- ext/socket/socket.c (sock_s_pack_sockaddr_un)
-
ditto.
Tue Apr 24 21:43:58 2012 Yusuke Endoh<EMAIL_ADDRESS>↑
- lib/net/smtp.rb (check_continue)
-
raise an error with an explanatory message. [ruby-core:35854] [Feature #4598]
Tue Apr 24 21:11:31 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/optparse.rb (OptionParser#to_a)
-
should split by end-of-line, and MUST TEST IT, MUST RUN THE TEST, MUST VERIFY BEFORE BACKPORT. [ruby-dev:45568][Bug #6348]
Tue Apr 24 19:59:31 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- enc/euc_jp.c
-
added EUC-JP-2004 and its alias EUC-JISX0213. [ruby-dev:45571] [Feature #6349] Requested by Kyouhei Yanagita<EMAIL_ADDRESS>- enc/trans/japanese_euc.trans
-
ditto.
- enc/trans/JIS/JISX0213-%UCS@{BMP,SIP}.src
-
JIS X 0213:2004 -> Unicode mapping table from NetBSD.
- enc/trans/JIS/UCS@{BMP,SIP}%JISX0213-.src
-
Unicode -> JIS X 0213:2004 mapping table from NetBSD.
- tool/transcode-tblgen.rb
-
added SIP support.
- test/ruby/test_transcode.rb
-
tests of above changes.
Tue Apr 24 18:12:13 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- compile.c
-
fix to output warning when the same literals are available as a condition of same case clause. And remove information ('#n') because we can find duplicated condition with explicit line numbers. [ruby-core:38343] [Ruby 1.9 - Bug #5068]
- test/ruby/test_syntax.rb
-
add a test for above.
Tue Apr 24 17:03:51 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/win32.c (waitpid)
-
need to check the return value of FindChildSlotByHandle() before passing poll_child_status(). this fixed a SEGV in test-all. reported by ko1 via IRC.
Tue Apr 24 16:04:39 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (parser_yylex)
-
EXPR_BEG by keywords is a start point of commands. [ruby-dev:45563][Bug #6347]
- parse.y (superclass)
-
ditto for superclass.
- parse.y (parser_parse_string, parser_here_document)
-
ditto for string interpolation.
- parse.y (parser_yylex)
-
ditto for singleton class.
Tue Apr 24 15:51:41 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/optparse.rb (OptionParser#to_a)
-
should split by end-of-line [ruby-dev:45568][Bug #6348]
- lib/optparse.rb (OptionParser#to_a)
-
String#to_a is no longer defined. [ruby-dev:45568][Bug #6348]
Tue Apr 24 10:54:34 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/drb/drbtest.rb ({DRbCore,DRbAry}#teardown)
-
cannot pass SIGTERM to another process on Windows, so use SIGINT instead.
Tue Apr 24 00:25:39 2012 Yusuke Endoh<EMAIL_ADDRESS>↑
- thread.c (rb_check_deadlock)
-
refine an error message of deadlock detection. [ruby-core:44336] [Bug #6288]
Tue Apr 24 00:14:42 2012 Yusuke Endoh<EMAIL_ADDRESS>↑
- parse.y (primary)
-
remove wrong “fixpos” that caused incorrect source_location of blocks. [ruby-core:42232] [Bug #5930]
- test/ruby/test_proc.rb
-
add a test for above.
2012-04-23¶ ↑
Mon Apr 23 22:56:08 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/iconv
-
deprecated. [Feature #6322]
Mon Apr 23 22:07:00 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- test/socket/test_unix.rb (bound_unix_socket)
-
make temporary filename shorter for less possibility of Unix socket path over 107 bytes when TMPDIR has long path.
Mon Apr 23 20:35:49 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/win32.c (szInternalCmds, internal_match, internal_cmd_match)
-
get rid of a segmentation fault with GCC 4.7.0. reported by<EMAIL_ADDRESS>(ray linn) at [ruby-core:44505] [Bug #6333], and patched by mame.
- test/ruby/test_system.rb (TestSystem#test_system)
-
test for it.
Mon Apr 23 20:11:02 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- lib/drb/ssl.rb
-
generate 1024 bits RSA key instead of 512 bits. OpenSSL 1.0.1 rejects 512 bits RSA key for TLS1.2 with SHA512. rt.openssl.org/Ticket/Display.html?id=2769&user=guest&pass=guest reported by Bohuslav Kabrda. [ruby-core:43844] [ruby-trunk - Bug #6221]
Mon Apr 23 19:54:33 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- test/drb/drbtest.rb
-
rescue Errno::ESRCH for Process.kill. reported by NARUSE, Yui. [ruby-dev:45551]
Mon Apr 23 14:16:45 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- .gdbinit (rb_ps_vm)
-
follow st_table's packing change.
Mon Apr 23 10:43:30 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in
-
disable rubygems not to load rbconfig.rb before fake.rb. [ruby-core:44492][Bug #6329]
2012-04-22¶ ↑
Sun Apr 22 20:26:06 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- lib/drb/extservm.rb (DRb::ExtServManager)
-
don't use /bin/sh to invoke service subprocess. mark detach threads for clean up.
- test/drb/drbtest.rb
-
clean up the service subprocess in teardown.
- test/drb/test_drb.rb
-
set @service_name for teardown.
- test/drb/test_drbunix.rb
-
ditto.
- test/drb/test_drbssl.rb
-
ditto. [ruby-dev:45547]
Sun Apr 22 07:51:29 2012 Tanaka Akira<EMAIL_ADDRESS>↑
- lib/drb/ssl.rb
-
close accepted TCP socket if SSL accept is failed. [ruby-dev:45541]
2012-04-21¶ ↑
Sat Apr 21 14:36:49 2012 Masatoshi SEKI<EMAIL_ADDRESS>↑
- test/rinda/test_rinda.rb
-
fix sticks on some tests problem [Bug #6272]
2012-04-20¶ ↑
Fri Apr 20 12:24:04 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rubygems/ssl_certs/AddTrustExternalCARoot.pem
-
Removed to avoid conflict with ca-bundle.pem
- lib/rubygems/ssl_certs/VerisignClass3PublicPrimaryCertificationAuthority-G2.pem
-
ditto.
- lib/rubygems/ssl_certs/Entrust_net-Secure-Server-Certification-Authority.pem
-
ditto.
Fri Apr 20 08:07:06 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rubygems
-
Update to RubyGems 1.8.23 which contains security fixes: RubyGems now disallows redirection from HTTPS to HTTP. RubyGems now verifies SSL connections. See github.com/rubygems/rubygems/blob/1.8/History.txt for changes since 1.8.22.
- test/rubygems
-
ditto.
2012-04-19¶ ↑
Thu Apr 19 16:33:53 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- strftime.c (rb_strftime_with_timespec)
-
fix carry-up bug and overwrite '+' with '-' if negative offset less than a hour. [ruby-core:44447][Bug #6323]
Thu Apr 19 09:39:57 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/-test-/win32/dln/extconf.rb
-
need import library for ordinal entry even on mingw. [ruby-core:44441][Bug #6320]
Thu Apr 19 09:35:15 2012 Eric Hodel<EMAIL_ADDRESS>↑
- random.c (random_init)
-
Clarify that the default seed is Random.new_seed, not zero. Based on patch by Roger Pack. [ruby-trunk - Bug #6313]
- random.c (rb_f_srand)
-
ditto.
Thu Apr 19 08:59:02 2012 Eric Hodel<EMAIL_ADDRESS>↑
- ext/curses/curses.c (window_nodelay)
-
Fixed call-seq of nodelay to include the '='. Improved description window.nodelay=.
Thu Apr 19 08:47:54 2012 Eric Hodel<EMAIL_ADDRESS>↑
- io.c (io_readpartial)
-
Document the output buffer parameter is overwritten with the read contents even when non-empty. Patch by yu nobuoka. [ruby-trunk - Bug #6285]
- io.c (io_read_nonblock)
-
ditto.
- io.c (io_read)
-
ditto.
- io.c (rb_io_sysread)
-
ditto.
- io.c (argf_read)
-
ditto.
- io.c (argf_readpartial)
-
ditto.
- ext/stringio/stringio.c (strio_read)
-
ditto.
- test/ruby/test_argf.rb (class TestArgf)
-
Add test for existing behavior of read outbuf.
- test/ruby/test_io.rb (class TestIO)
-
ditto.
- test/stringio/test_stringio.rb (class TestStringIO)
-
ditto.
2012-04-18¶ ↑
Wed Apr 18 22:58:55 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in (DOT, DOXYGEN)
-
use AC_CHECK_PROGS instead of AC_CHECK_PROG which needs the third argument. [ruby-core:44433] [Bug #6316]
- configure.in (PKG_CONFIG)
-
fix condition to skip older version of pkg-config. continue in backticks does not affect outside.
Wed Apr 18 13:59:40 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- win32/file.c (INVALID_FILE_ATTRIBUTES)
-
define for old SDK.
Wed Apr 18 10:22:54 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- strftime.c (rb_strftime_with_timespec)
-
add an interim digit for the timezone offset which is less than an hour.
Wed Apr 18 09:58:29 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rubygems/version.rb
-
Fixed init_with warning by calling into yaml_initialize (for syck) from psych's init_with
Wed Apr 18 09:03:43 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/rubygems
-
Update to RubyGems 1.8.22 plus r33517 and r35337 which were ported to the rubygems git repository. See github.com/rubygems/rubygems/blob/1.8/History.txt for changes since 1.8.11.
- test/rubygems
-
ditto.
2012-04-17¶ ↑
Tue Apr 17 22:18:48 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- strftime.c (rb_strftime_with_timespec)
-
fix padding of time zone offset. [ruby-dev:43287][Bug #4458]
Tue Apr 17 13:11:14 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- dln.c (rb_w32_check_imported)
-
skip ordinal entries. based on a patch by phasis68 (Heesob Park) at [ruby-core:44381]. [ruby-core:44371][Bug #6303]
2012-04-16¶ ↑
Mon Apr 16 18:22:14 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- spec/default.mspec
-
expand relative path for ruby_exe which uses them with Dir.chdir; it breaks relative paths, for example core/kernel/exec_spec.rb.
Mon Apr 16 16:22:40 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- win32/win32.c (gmtime_r, localtime_r)
-
POSIX compliant reentrant versions.
- configure.in (RUBY_MSVCRT_VERSION)
-
define on mingw too.
- win32/Makefile.sub (config.h)
-
prefix RT_VER with RUBY and make more descriptive to get rid of potential conflict.
Mon Apr 16 15:19:39 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in (NO_RUBY_VENDOR_LIB)
-
fix missing comma.
Mon Apr 16 09:42:50 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- lib/rubygems/remote_fetcher.rb (Gem::RemoteFetcher#download)
-
should use File.identical? to check the identity of the files. this fixed an error of a test on Windows.
2012-04-14¶ ↑
Sat Apr 14 12:55:03 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in (UNREACHABLE)
-
gcc 4.4 eliminates unreachable code if -O3 is given.
- win32/win32.c (child_result)
-
dropped colon.
Sat Apr 14 10:45:18 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/webrick/server.rb (WEBrick::GenericServer#start)
-
partially revert r35315.
- test/webrick/test_server.rb (test_start_exception)
-
received signal is delivered to the main thread, so it is needed to emulate it. patched by Eric Hodel. [ruby-core:44348] [Feature #6236]
Sat Apr 14 09:35:45 2012 Eric Hodel<EMAIL_ADDRESS>↑
- variable.c (trace_ev)
-
Removed “not reached” comment as this line is reached.
- variable.c (rb_obj_remove_instance_variable)
-
Replaced “not reached” comment with the UNREACHABLE macro.
- variable.c (rb_mod_const_missing)
-
ditto.
- variable.c (rb_mod_remove_cvar)
-
ditto.
- enum.c (first_i)
-
ditto.
- string.c (rb_str_aref)
-
ditto.
- string.c (str_byte_aref)
-
ditto.
- string.c (rb_to_id)
-
ditto.
- io.c (rb_io_fmode_modestr)
-
ditto.
- io.c (rb_io_oflags_modestr)
-
ditto.
- pack.c (num2i32)
-
ditto.
- vm_eval.c (rb_method_missing)
-
ditto.
- vm_eval.c (rb_f_throw)
-
ditto.
- dir.c (dir_read)
-
ditto.
- win32/win32.c (child_result)
-
ditto.
- struct.c (rb_struct_getmember)
-
ditto.
- struct.c (rb_struct_set)
-
ditto.
- struct.c (rb_struct_aref_id)
-
ditto.
- eval.c (rb_f_raise)
-
ditto.
- process.c (rb_f_exit_bang)
-
ditto.
- process.c (rb_f_exit)
-
ditto.
- process.c (rb_f_abort)
-
ditto.
- ext/-test-/iter/break.c (iter_break_value)
-
ditto.
- ext/pty/pty.c (pty_check)
-
ditto.
- ext/openssl/ossl_pkey.c (ossl_pkey_new)
-
ditto.
- ext/readline/readline.c (rb_remove_history)
-
ditto.
- ext/stringio/stringio.c (strio_unimpl)
-
ditto.
- numeric.c (num_sadded)
-
ditto.
- numeric.c (num_init_copy)
-
ditto.
- numeric.c (rb_num2ll)
-
ditto.
- numeric.c (rb_num2ull)
-
ditto.
- vm_insnhelper.c (call_cfunc)
-
ditto.
- ruby.c (opt_W_getter)
-
ditto.
- bignum.c (rb_big_coerce)
-
ditto.
- file.c (rb_f_test)
-
ditto.
Sat Apr 14 08:38:20 2012 Eric Hodel<EMAIL_ADDRESS>↑
- encoding.c (rb_enc_codepoint_len)
-
Use UNREACHABLE to avoid “control reaches end of non-void function” warnings. [ruby-trunk - Bug #6066]
- re.c (name_to_backref_number)
-
ditto.
- object.c (rb_Float)
-
ditto.
- io.c (io_readpartial)
-
ditto.
- io.c (io_read_nonblock)
-
ditto.
- pack.c (rb_uv_to_utf8)
-
ditto.
- proc.c (rb_method_entry_arity)
-
ditto.
- vm_method.c (rb_f_notimplement)
-
ditto.
- struct.c (rb_struct_aset_id)
-
ditto.
- class.c (rb_scan_args)
-
ditto.
- process.c (rlimit_resource_type)
-
ditto.
- process.c (rlimit_resource_value)
-
ditto.
- process.c (p_uid_switch)
-
ditto.
- process.c (p_gid_switch)
-
ditto.
- ext/digest/digest.c (rb_digest_instance_update)
-
ditto.
- ext/digest/digest.c (rb_digest_instance_finish)
-
ditto.
- ext/digest/digest.c (rb_digest_instance_reset)
-
ditto.
- ext/digest/digest.c (rb_digest_instance_block_length)
-
ditto.
- ext/bigdecimal/bigdecimal.c (BigDecimalCmp)
-
ditto.
- ext/dl/handle.c (rb_dlhandle_close)
-
ditto.
- ext/tk/tcltklib.c (pending_exception_check0)
-
ditto.
- ext/tk/tcltklib.c (pending_exception_check1)
-
ditto.
- ext/tk/tcltklib.c (ip_cancel_eval_core)
-
ditto.
- ext/tk/tcltklib.c (lib_get_reltype_name)
-
ditto.
- ext/tk/tcltklib.c (create_dummy_encoding_for_tk_core)
-
ditto.
- ext/tk/tkutil/tkutil.c (tk_hash_kv)
-
ditto.
- ext/openssl/ossl_ssl.c (ossl_ssl_session_reused)
-
ditto.
- ext/openssl/ossl_pkey_ec.c (ossl_ec_key_dsa_verify_asn1)
-
ditto.
- ext/openssl/ossl_pkey_ec.c (ossl_ec_point_is_at_infinit)
-
ditto.
- ext/openssl/ossl_pkey_ec.c (ossl_ec_point_is_on_curve)
-
ditto.
- ext/fiddle/conversions.c (generic_to_value)
-
ditto.
- ext/socket/raddrinfo.c (rsock_io_socket_addrinfo)
-
ditto.
- ext/socket/socket.c (sock_s_getnameinfo)
-
ditto.
- ext/ripper/eventids2.c (ripper_token2eventid)
-
ditto.
- cont.c (return_fiber)
-
ditto.
- dmydln.c (dln_load)
-
ditto.
- vm_insnhelper.c (vm_search_normal_superclass)
-
ditto.
- bignum.c (big_fdiv)
-
ditto.
- marshal.c (r_symlink)
-
ditto.
- marshal.c (r_symbol)
-
ditto.
2012-04-13¶ ↑
Fri Apr 13 17:12:09 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- hash.c (inspect_i)
-
keep string's coderange.
Fri Apr 13 15:26:51 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- hash.c (rb_hash_aset, rb_hash_update, rb_hash_update_by)
-
use st_update() to reduce evaluation of hash values.
Fri Apr 13 15:17:36 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/webrick/server.rb (WEBrick::GenericServer#stop)
-
fix r35303; this method is to deny new connections, not shutdown yet.
- lib/webrick/server.rb (WEBrick::GenericServer#start)
-
re-raise exception only when the exception is Interrupt (^C).
2012-04-12¶ ↑
Thu Apr 12 19:51:45 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_core.c
-
added some notes.
Thu Apr 12 07:10:37 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/uri/generic.rb (module URI)
-
URI now downcases the scheme to follow RFC 2396 section 3.1. [ruby-trunk - Feature #4551]
- test/uri/test_generic.rb (class URI)
-
Test for above
Thu Apr 12 06:15:44 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/net/protocol.rb (module Net)
-
Added ReadTimeout to match OpenTimeout. ReadTimeout is now raised by rbuf_fill instead of Timeout::Error to help users distinguish what type of timeout occurred. [ruby-trunk - Feature #6088]
- lib/net/pop.rb (module Net)
-
Updated documentation for ReadTimeout and OpenTimeout.
- lib/net/http.rb (module Net)
-
ditto
- lib/net/smtp.rb (module Net)
-
ditto
- lib/net/telnet.rb (module Net)
-
Net::ReadTimeout is now raised in waitfor to match Net::Protocol.
- test/net/http/test_http.rb
-
Updated Timeout::Error expectation to Net::ReadTimeout.
- test/net/ftp/test_ftp.rb
-
ditto
Thu Apr 12 05:27:01 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/webrick/server.rb (module WEBrick::GenericServer)
-
A server will now continue only when a StandardError subclass is raised. For other exception types the error will be logged at the fatal level and the server will safely stop. Based on a patch by Alex Young. [ruby-trunk - Feature #6236]
- test/webrick/test_server.rb
-
Test for new exception handling behavior. Join the server thread instead of busy-waiting for it to shut down to remove race conditions.
Thu Apr 12 03:50:44 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/test/unit.rb (Test::Unit:Runner::Worker#_run_suites)
-
call GC.start before running the test suites.
2012-04-11¶ ↑
Wed Apr 11 17:16:49 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- compile.c (compile_array, compile_array_)
-
Divide big array (or hash) literals into several blocks and concatenate them. There was a problem that a big array (hash) literal causes SystemStackError exception (stack overflow) because VM push all contents of the literal onto VM stack to make an array (or hash). To solve this issue, we make several arrays (hashes) and concatenate them to make a big array (hash) object. [ruby-dev:37701] [Bug #982]
- compile.c (iseq_compile_each, setup_args)
-
use modified compile_array.
- vm.c (m_core_hash_from_ary, m_core_hash_merge_ary, m_core_hash_merge_ptr)
-
added for above change.
- id.c (Init_id), parse.y
-
add core method ids.
- bootstraptest/test_literal.rb
-
add simple tests.
- bootstraptest/test_eval.rb
-
remove rescue clause to catch SystemStackError exception.
- test/ruby/test_literal.rb
-
add tests to check no stack overflow.
Wed Apr 11 22:31:19 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (rb_check_id_cstr)
-
new function to check if ID is registered with NUL-terminated C string.
- sprintf.c (rb_str_format)
-
avoid inadvertent symbol creation.
Wed Apr 11 20:28:36 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- io.c (rb_io_eof)
-
use eof() instead of io_fillbuf(). It's because io_unread() doesn't work properly when reading CRLF with read(length) and mode 'r'. [ruby-core:44189][Bug #6271]
- test/ruby/test_io_m17n.rb (TestIO_M17N#test_read_crlf_and_eof)
-
test for above.
Wed Apr 11 07:38:33 2012 Eric Hodel<EMAIL_ADDRESS>↑
- ext/digest/sha2/lib/sha2.rb (Digest#block_length)
-
Fixed method name in documentation examples. Patch by naleski via github.com/ruby/ruby/pull/115
Wed Apr 11 07:33:13 2012 Eric Hodel<EMAIL_ADDRESS>↑
- pack.c (pack_pack)
-
Warn when an invalid character is found in the format string when $VERBOSE is true. [ruby-trunk - Feature #5219]
- pack.c (pack_unpack)
-
ditto
- test/ruby/test_pack.rb (class TestPack)
-
Test for warnings on invalid format characters.
Wed Apr 11 06:11:10 2012 Eric Hodel<EMAIL_ADDRESS>↑
- string.c (rb_str_tr)
-
Documented use of \ to escape characters. [ruby-trunk - Bug #6161]
- string.c (rb_str_count)
-
ditto
Wed Apr 11 05:14:51 2012 Eric Hodel<EMAIL_ADDRESS>↑
- lib/abbrev.rb
-
Clarified that Abbrev#abbrev returns a Hash instead of an Array. Patch by Andrei Bocan. [ruby-trunk - Bug #6107]
Wed Apr 11 03:02:24 2012 Ayumu AIZAWA<EMAIL_ADDRESS>↑
- ext/ripper/lib/ripper/sexp.rb
-
fix spelling. patched by Jonathan Hinkle via github.com/ruby/ruby/pull/116
2012-04-10¶ ↑
Tue Apr 10 19:07:04 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- error.c (rb_enc_raise)
-
new function to raise an exception with the message in the given encoding. patched by now (Nikolai Weibull) at [ruby-core:41160]. [Feature #5650]
Tue Apr 10 18:19:32 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/net/http.rb (Net::HTTP#send_request_with_body_stream)
-
use IO.copy_stream for requests using body_stream. patched by Eric Wong. [ruby-core:40898] [Feature #5605]
Tue Apr 10 16:53:21 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- thread_pthread.c
-
add prototype declarations for older Mac OS X. [ruby-core:43376][Bug #6170]
Tue Apr 10 15:35:21 2012 Koichi Sasada<EMAIL_ADDRESS>↑
- compile.c (iseq_set_sequence)
-
show a hint if there are duplicated “when” clauses. [ruby-core:41502] [ruby-trunk - Feature #5716]
Tue Apr 10 09:57:00 2012 Eric Hodel<EMAIL_ADDRESS>↑
- string.c (rb_str_split_m)
-
Documented behavior of split on the empty string. [ruby-trunk - Feature #3575]
Tue Apr 10 09:48:31 2012 Eric Hodel<EMAIL_ADDRESS>↑
- ext/zlib/zlib.c (rb_deflate_s_deflate)
-
Fixed ruby example replacing NO_FLUSH with FINISH. [ruby-trunk - Bug #6273]
2012-04-09¶ ↑
Mon Apr 9 23:10:26 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- win32/win32.c (isUNCRoot, winnt_stat)
-
support long UNC. [ruby-core:30623][Feature #3399]
Mon Apr 9 15:16:01 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- parse.y (string_content, parser_yylex)
-
count brace nesting to dispatch embexpr_end. [ruby-core:43775][Bug #6211]
Mon Apr 9 08:01:15 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- ext/date/date_strftime.c
-
gets the value with range() consistently.
- ext/date/date_strftime.c (range)
-
now just replaces the given item.
Mon Apr 9 06:58:01 2012 Tadayoshi Funaba<EMAIL_ADDRESS>↑
- complex.c (nucomp_expt)
-
[ruby-core:44170].
Mon Apr 9 02:52:03 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- complex.c (nucomp_expt)
-
the result of f_complex_new2 may be a fixnum with mathn. [ruby-core:44170] [Bug #6267]
2012-04-08¶ ↑
Sun Apr 8 22:46:01 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- ext/json/generator/generator.c (generate_json_bignum)
-
add RB_GC_GUARD. fb.rubyci.org/~chkbuild/ruby-trunk/log/20120407T210301Z.diff.html.gz
Sun Apr 8 07:26:40 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler)
-
get keys and fetch values from it to prevent @timeout_info's error “can't add a new key into hash during iteration”.
Sun Apr 8 06:51:57 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- io.c (io_unread)
-
cast as long the value for extra_max. [ruby-core:44137] [Bug #6257]
Sun Apr 8 06:46:48 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#send_body_io)
-
use readpartial to get data even if the response is streaming data and each data is smaller than @buffer_size. patched by yu nobuoka. [ruby-dev:45471] [Bug #6230]
2012-04-07¶ ↑
Sat Apr 7 22:35:36 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- include/ruby/win32.h (rb_w32_aspawn_flags)
-
add the declaration of new function.
- process.c (enum)
-
add EXEC_OPTION_PGROUP and move the position above for the usage in proc_spawn_n().
- process.c (proc_spawn_n)
-
add an argument to pass new option `new_pgroup`. The option specifies CREATE_NEW_PROCESS_GROUP flag to CreateProcessW(). This flag is necessary for the usage of Process.kill on the subprocess on Windows.
- process.c (rb_exec_arg_addopt)
-
ditto.
- process.c (rb_spawn_process)
-
ditto.
- process.c (documentation for rb_f_spawn)
-
add documentation for new option `new_pgroup` of spawn.
- test/ruby/test_process.rb (TestProcess#test_execopts_new_pgroup)
-
add tests for option `new_pgroup`.
- test/ruby/test_thread.rb (TestThreadGroup#test_thread_timer_and_interrupt)
-
add option `new_pgroup: true` to spawn on Windows. It's needed for Process.kill on a subprocess.
- win32/win32.c (CreateChild)
-
add an argument to pass dwCreationFlags of CreateProcessW().
- win32/win32.c (rb_w32_spawn)
-
ditto.
- win32/win32.c (rb_w32_aspawn_flags)
-
add new function to pass dwCreationFlags.
- win32/win32.c (rb_w32_aspawn)
-
refactor to move the content to rb_w32_aspawn_flags(). [ruby-core:43245][Bug #6131]
Sat Apr 7 22:32:00 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- test/ruby/test_thread.rb (TestThreadGroup#test_thread_timer_and_interrupt)
-
skip on Windows. Process.kill cannot kill a subprocess if CREATE_NEW_PROCESS_GROUP flag is not specified in a call to CreateProcessW().
- win32/win32.c (CreateChild)
-
revert the usage of CREATE_NEW_PROCESS_GROUP flag for compatibility. [ruby-core:43245][Bug #6131]
Sat Apr 7 10:28:40 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/lib/psych.rb
-
bumping up psych version to match release.
- ext/psych/psych.gemspec
-
ditto
Sat Apr 7 02:07:00 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/parser.c
-
fall back to any encoding if the external encoding is wrong. [ruby-core:44163]
- test/psych/test_encoding.rb
-
fix test
2012-04-06¶ ↑
Fri Apr 6 14:27:04 2012 Kazuhiro NISHIYAMA<EMAIL_ADDRESS>↑
- Makefile.in ($(LIBRUBY_A))
-
fix typo.
2012-04-05¶ ↑
Thu Apr 5 13:26:15 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- missing/alloca.c (xmalloc, xfree)
-
use ruby version, not depending on RUBY_LIB_PREFIX. [ruby-dev:45492][Bug #6255]
2012-04-04¶ ↑
Wed Apr 4 13:06:39 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/ftp/ftp.rb (Net::FTP#close)
-
restore original read_timeout.
Wed Apr 4 10:33:31 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/ftp/ftp.rb (Net::FTP#close)
-
ignore exceptions from shutdown and read on closing.
Wed Apr 4 01:48:35 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/ftp/ftp.rb (Net::FTP#close)
-
close socket more gracefully.
- lib/ftp/ftp.rb (Net::BufferedSocket#shutdown)
-
added.
- test/net/ftp/test_ftp.rb (FTPTest#create_ftp_server)
-
wait socket with shutdown and read.
2012-04-03¶ ↑
Tue Apr 3 19:00:52 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/net/ftp/test_ftp.rb (FTPTest#create_ftp_server)
-
should wait a little before closing socket because if the client call Net::FTP#getmultiline the socket is suddenly closed by the server in the getline loop.
Tue Apr 3 18:33:38 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- process.c (setreuid, setregid)
-
suppress warnings. [ruby-core:43374][Bug #6169]
Tue Apr 3 10:18:27 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- enumerator.c (inspect_enumerator)
-
suppress uninitialized instance variable warnings. [ruby-dev:45449][Bug #6214] patched by no6v (Nobuhiro IMAI).
2012-04-02¶ ↑
Mon Apr 2 13:25:08 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/optparse/ac.rb
-
autoconf-like options.
Mon Apr 2 10:34:00 2012 eregon<EMAIL_ADDRESS>↑
- string.c (rb_str_start_with, rb_str_end_with)
-
raise an error if an argument is not convertible to a String. [ruby-core:40623][Bug #5536]
Mon Apr 2 03:35:25 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/webrick/server.rb (WEBrick::GenericServer)
-
close socket only if the socket is not closed yet.
2012-04-01¶ ↑
Sun Apr 1 23:03:18 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/net/ftp.rb (Net::BufferedSocket)
-
should delegate send() to @io for Net::FTP#abort and Net::FTP#status.
Sun Apr 1 00:41:56 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/ftp.rb
-
fixed the domain name in examples.
2012-03-31¶ ↑
Sat Mar 31 21:39:45 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler)
-
dup to prevent @timeout_info's “can't add a new key into hash during iteration”.
Sat Mar 31 14:22:59 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- hash.c (hash_default_value)
-
extract from rb_hash_aref(), to be shared with rb_hash_shift(), so that overriding Hash#default will be respected.
Sat Mar 31 14:16:02 2012 Sokolov Yura (funny-falcon<EMAIL_ADDRESS>↑
- hash.c
-
do not allocate st_table when it is not necessary.
Sat Mar 31 13:42:39 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/ftp.rb (read_timeout=, open_timeout=)
-
supported timeout.
Sat Mar 31 13:20:40 2012 Sokolov Yura (funny-falcon<EMAIL_ADDRESS>↑
- hash.c
-
remove unnecessary checks for Qundef in hash iterations. since hash use st_foreach_check for iterations, such checks are needless.
Sat Mar 31 10:13:24 2012 Sokolov Yura (funny-falcon<EMAIL_ADDRESS>↑
- st.c (st_foreach_check, st_foreach)
-
remove ancient check. This check are from initial ordered hash commit when first entry were created with entry->fore = entry->back = entry.
- st.c (st_delete)
-
use real_entries in st_delete for packed tables
Sat Mar 31 07:53:23 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- st.c (st_foreach_check)
-
remove the entry by replacing with never when ST_DELETE.
- hash.c (st_foreach_safe)
-
since table is not for VALUE, Qundef is not special value, so use 0 instead. therefore this function can be applied to only st_table which 0 is invalid as keys, e.g., IDs.
- hash.c
-
Qundef cannot be passed from st_foreach_check().
- hash.c, marshal.c, object.c, variable.c
-
fix callback argument types of iterators.
2012-03-29¶ ↑
Thu Mar 29 23:50:15 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- st.c (st_update)
-
pass pointer to key to the callback function.
Thu Mar 29 16:36:10 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- st.c (st_update)
-
add existing parameter to the callback function.
Thu Mar 29 16:35:32 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- lib/test/unit.rb (terminal_width, del_status_line, put_status)
-
extract as methods.
Thu Mar 29 10:16:05 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- thread_win32.c (TIME_QUANTUM_USEC)
-
10ms(= old setting) [experimental] cf. [Bug #6098]
Thu Mar 29 10:12:12 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- thread.c (rb_threadptr_execute_interrupts_common)
-
use defined TIME_QUANTUM_USEC instead of a magic number. there is no meanings to use different values for checking interval of interruption and thread switching limits. cf. [Bug #6098]
2012-03-28¶ ↑
Wed Mar 28 16:39:59 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- process.c (obj2uid, obj2gid)
-
allow strings as input user/group id. [ruby-core:40923][Feature #5610]
Wed Mar 28 15:06:18 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- marshal.c (r_symreal)
-
default to ASCII-8BIT for non-ascii symbols, otherwise it should be converted to US-ASCII in rb_intern_str() if possible. [ruby-core:43762][Bug #6209]
Wed Mar 28 08:44:24 2012 Aaron Patterson<EMAIL_ADDRESS>↑
- ext/psych/lib/psych.rb
-
updating version to match gem
- ext/psych/psych.gemspec
-
ditto
- ext/psych/lib/psych/visitors/to_ruby.rb
-
fixing deprecation warning
2012-03-27¶ ↑
Tue Mar 27 23:44:11 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- io.c (io_unread)
-
fixed memory leak. report by nagachika via IRC.
Tue Mar 27 22:44:23 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- configure.in (verconf.h)
-
separate load path specific stuff from config.h.
Tue Mar 27 22:43:40 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- win32/Makefile.sub
-
fix config.h path to include.
Tue Mar 27 17:08:08 2012 Kazuhiro NISHIYAMA<EMAIL_ADDRESS>↑
- win32/win32.c (check_if_dir)
-
fix memory leak.
Tue Mar 27 13:13:51 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- string.c (str_new_empty)
-
should copy also the encoding as an empty substring. [ruby-dev:45441][Bug #6206]
2012-03-26¶ ↑
Mon Mar 26 23:43:04 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/ftp.rb (parse227, parse228, parse229)
-
don't use $~.
Mon Mar 26 23:34:40 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/ftp.rb (parse227, parse228, parse229)
-
don't use local variables defined by named capture for other Ruby implementations such as Rubinius.
Mon Mar 26 23:19:03 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/ftp.rb (parse_pasv_port)
-
refactored.
Mon Mar 26 19:49:49 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- test/net/ftp/test_ftp.rb
-
add the test, which was forgotten in the previous commit.
Mon Mar 26 19:37:27 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- lib/net/ftp.rb (parse227, parse228, parse229)
-
refactored.
Mon Mar 26 11:46:23 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- enumerator.c (inspect_enumerator)
-
show method arguments of lazy enumerators correctly.
Mon Mar 26 13:51:23 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- win32/win32.c (check_if_dir, check_if_wdir)
-
fix for Visual C++ not to use S_ISDIR(). [Feature #2408]
- ruby.c (load_file_internal)
-
ditto.
Mon Mar 26 11:46:01 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ruby.c (load_file_internal)
-
bail out if the script is a directory. [Feature #2408]
- win32/win32.c (rb_w32_open, rb_w32_wopen)
-
check if the file is a directory when access denied, to set errno to EISDIR.
2012-03-25¶ ↑
Sun Mar 25 18:13:14 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- string.c (tr_setup_table)
-
fix multiple non latin argument for non latin (over 256 characters) tr-like methods. [ruby-core:43371] [Bug #6167]
Sun Mar 25 00:46:06 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- enumerator (lazy_initialize)
-
set the instance variable “receiver” to include the receiver to the return value of inspect on a lazy enumerator directly created by Enumerator::Lazy.new.
- enumerator (RETURN_LAZY)
-
don't set the instance variable “receiver”.
2012-03-24¶ ↑
Sat Mar 24 23:59:00 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- enumerator (enumerator_inspect)
-
include the original receiver and method name of Enumerator::Lazy in the result of inspect. [ruby-core:43345] [Bug #6159]
- enumerator (InitVM_Enumerator)
-
don't use rb_define_alias for some methods such as collect in order to make rb_frame_this_func() return the correct method names.
Sat Mar 24 22:22:18 2012 Sambasiva Rao Suda<EMAIL_ADDRESS>↑
- time.c (time_init_1)
-
Time.new will accept seconds as string or int. [ruby-core:43569][Bug #6193]
2012-03-23¶ ↑
Fri Mar 23 13:19:20 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- bignum.c (rb_str_to_inum)
-
must be ASCII compatible encoding as well as String#hex and String#oct. [ruby-core:43566][Bug #6192]
- string.c (rb_must_asciicompat)
-
check if ASCII compatible.
2012-03-22¶ ↑
Thu Mar 22 23:14:36 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- transcode.c (str_encode_bang, encoded_dup)
-
if nothing was transcoded, just set encoding but leave coderange unchanged as force_encoding. [ruby-core:43557][Bug #6190]
Thu Mar 22 22:30:44 2012 Hiroshi Shirosaki<EMAIL_ADDRESS>↑
- io.c (static int io_fflush)
-
add the definition. Use it in set_binary_mode_with_seek_cur().
- io.c (set_binary_mode_with_seek_cur)
-
refactoring to split the content into io_unread(). Fix the possibility of buffer overflow.
- io.c (io_unread)
-
add new implementation for Windows. Previous one caused invalid cursor position using IO#pos with OS text mode. New one fixes the bug.
- test/ruby/test_io_m17n.rb (TestIO_M17N#test_pos_dont_move_cursor_position)
-
add a test for above bug. [ruby-core:43497] [Bug #6179]
Thu Mar 22 19:55:08 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- win32/win32.c (rb_w32_fstat, rb_w32_fstati64)
-
convert FILETIME to time_t directly, not to be affected by TZ unnecessarily.
- win32/win32.c (unixtime_to_filetime)
-
convert time_t to FILETIME simply.
Thu Mar 22 13:43:31 2012 Nobuyoshi Nakada<EMAIL_ADDRESS>↑
- ext/openssl/ossl_pkey_rsa.c (rsa_generate)
-
fix argument type. [Bug #6094]
Thu Mar 22 11:14:10 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/ruby/test_io.rb (TestIO#test_pos_with_getc)
-
updated. see [ruby-core:43550]
2012-03-21¶ ↑
Wed Mar 21 17:57:57 2012 NARUSE, Yui<EMAIL_ADDRESS>↑
- regcomp.c
-
Merge Onigmo 3d855b30d574536d3ae600260208c6624ae4791c. [Bug#6143] [Bug#6144] [Bug#6145]
Wed Mar 21 17:01:55 2012 NAKAMURA Usaku<EMAIL_ADDRESS>↑
- test/ruby/test_io.rb (TestIO#test_pos_with_getc)
-
added. see [Bug #6179]
2012-03-19¶ ↑
Mon Mar 19 17:18:51 2012 Shugo Maeda<EMAIL_ADDRESS>↑
- enumerator.c (lazy_flat_map_func)
-
convert the block value to Array if it doesn't respond to each. [ruby-core:43334] [Bug #6155]
Mon Mar 19 16:34:14 2012 Shugo Maeda<EMAIL_ADDRESS>↑