aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ChangeLog: update for r44772normal2014-01-301-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* benchmark/driver: avoid large alloc in driver processnormal2014-01-301-1/+1
| | | | | | | * benchmark/driver: avoid large alloc in driver process [ruby-core:59869] [Bug #9430] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-01-31svn2014-01-301-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_eval.c: compare method typenobu2014-01-301-1/+1
| | | | | | | * vm_eval.c (vm_call0_body): compare method type with VM_METHOD_TYPE_ZSUPER. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_eval.c: fix NoMethodError messagenobu2014-01-301-2/+3
| | | | | | * vm_eval.c (vm_call0_body): reuse method type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_eval.c: fix NoMethodError messagenobu2014-01-301-1/+2
| | | | | | | * vm_eval.c (vm_call0_body): fix NoMethodError message for refined method entry. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_eval.c: omit klassnobu2014-01-301-11/+10
| | | | | | | * vm_eval.c (rb_search_method_entry): also Qfalse and Qnil are immediate values, so have no RBASIC. omit klass, which is 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_eval.c: error message encodingnobu2014-01-301-10/+10
| | | | | | | * vm_eval.c (rb_search_method_entry): preserve encoding of method ID in error messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* object.c: error message encodingnobu2014-01-302-16/+39
| | | | | | | * object.c (convert_type, rb_convert_type, rb_check_convert_type), (rb_to_integer): preserve class name encoding error messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: use $@ instead of $(.TARGET) because .TARGET is notshugo2014-01-302-1/+6
| | | | | | | supported by GNU make. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_exception.rb: ignore SystemStackErrornobu2014-01-301-0/+1
| | | | | | | | | * test/ruby/test_exception.rb (test_machine_stackoverflow_by_define_method): ignore propagated SystemStackError, as well as test_machine_stackoverflow, which has not bee rescued in the child process by unknown reason. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-01-30svn2014-01-291-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/closure.c: use sizeof(*pcl) for correct sizeof value.mame2014-01-292-1/+6
| | | | | | [ruby-core:57599] [Bug #8978]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c: check socket on other than linuxnobu2014-01-292-0/+10
| | | | | | | | * io.c (nogvl_copy_stream_sendfile): check socket on other than linux, as sendfile(2) on non-socket fd works only on linux. [Feature #9427] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c: remove socket checknormal2014-01-292-2/+5
| | | | | | | * io.c (nogvl_copy_stream_sendfile): remove socket check [ruby-core:59856][Feature #9427] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* socket.c: suppress warningsnobu2014-01-291-0/+4
| | | | | | | * ext/socket/socket.c (rsock_socketpair0): suppress unused label warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: remove a duplicated entry at r44726.nagachika2014-01-291-6/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c: pass read_nonblock options to underlying IOtenderlove2014-01-283-1/+30
| | | | | | | | when SSL session has not been started. * test/openssl/test_ssl.rb: test for change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/closure.c: use sizeof(*pcl) for correct sizeof value.tenderlove2014-01-282-1/+6
| | | | | | [ruby-core:57599] [Bug #8978]. Thanks mame! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-01-29svn2014-01-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* doc/contributing.rdoc: allow/encourage other git hostsnormal2014-01-282-3/+15
| | | | | | | | | | | git is a distributed system, so make it clear to potential contributors that it does not and should not matter where their repositories are hosted. Furthermore, it should be possible to contribute to Open Source projects by relying only on Open Source tools, protocols and APIs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket: Avoid redundant fcntl/fstat syscalls for cloexecakr2014-01-286-20/+89
| | | | | | | | | sockets. Patch by Eric Wong. [ruby-core:59429] [Feature #9330] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (READ_FROM_CHILD): Apply the last hunk ofakr2014-01-282-1/+7
| | | | | | | | | 0001-process.c-avoid-EINTR-from-Process.spawn.patch written by Eric Wong in [Bug #8770]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread_pthread.c: use get_stacknobu2014-01-282-20/+33
| | | | | | | | * thread_pthread.c (ruby_init_stack, ruby_stack_overflowed_p): place get_stack above others to get stack boundary information. [ruby-core:60113] [Bug #9454] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c: rlimit is only available on Linux.naruse2014-01-282-1/+7
| | | | | | | At least r44712 breaks FreeBSD. [ruby-core:60113] [Bug #9454] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb: [DOC] Add examples for Set#intersect? and Set#disjoint?zzak2014-01-282-0/+18
| | | | | | | Patch by xavier nayrac [Bug #9331] [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (rb_zlib_adler32): [DOC] Add example for adler32zzak2014-01-282-1/+13
| | | | | | | Patch by Vajrasky Kok [Bug #9307] [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_core.h: rb_thread_struct::machinenobu2014-01-287-120/+124
| | | | | | | * vm_core.h (rb_thread_struct): aggregate cpu stuff into a struct, so that a debugger can show its content at once. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-01-28svn2014-01-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: use correct key for block when loading serialized iseqscharliesome2014-01-272-1/+7
| | | | | | | | * compile.c (iseq_build_from_ary_body): Use :blockptr instead of :block as hash key when loading serialized instruction sequences from arrays. [Bug #9455] [ruby-core:60146] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: remove a duplicated entry at r44712.nagachika2014-01-271-6/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread_pthread.c: cast to size_tnobu2014-01-271-1/+1
| | | | | | | * thread_pthread.c (ruby_stack_overflowed_p): range of rlim_cur may be larger than size_t. [ruby-core:60113] [Bug #9454] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* signal.c: static literal stringnobu2014-01-271-1/+1
| | | | | | | * signal.c (sigsegv): make message string static to suppress unnecessary copy. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-01-27svn2014-01-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread_pthread.c: get current main thread stack sizenobu2014-01-273-0/+30
| | | | | | | | * thread_pthread.c: get current main thread stack size, which may be expanded than allocated size at initialization, by rlimit(). [ruby-core:60113] [Bug #9454] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-01-26svn2014-01-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* localeinit.c: cp on cygwinnobu2014-01-251-1/+1
| | | | | | * localeinit.c (SIZEOF_CP_NAME, CP_FORMAT): needed on cygwin too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.ja.md, README.md: update the controller address of mailing lists.kazu2014-01-253-8/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* process.c: avoid EINTR from Process.spawnnobu2014-01-252-8/+37
| | | | | | | | | * process.c (send_child_error): retry write on EINTR to fix occasional Errno::EINTR from Process.spawn. * process.c (recv_child_error): retry read on EINTR to fix occasional Errno::EINTR from Process.spawn. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: assignment result of aset_withnobu2014-01-253-3/+21
| | | | | | | | * compile.c (iseq_compile_each): result of assignment should be its rhs instead of returned value from a method. [ruby-core:60071] [Bug #9448] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* compile.c: mark fstringnobu2014-01-251-0/+1
| | | | | | * compile.c (iseq_compile_each): fstring is need marking. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* insns.def: adjust stylenobu2014-01-251-4/+8
| | | | | | | * insns.def (opt_mod, opt_aset_with, opt_aref_with, opt_regexpmatch1): adjust style, do not cuddle else up. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* class.c: allow nil keyword_hashnobu2014-01-252-0/+7
| | | | | | | * class.c (rb_extract_keywords): treat nil keyword_hash same as 0, for the case rb_scan_args returns nil if no keyword hash. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-01-25svn2014-01-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* class.c: simplifynobu2014-01-251-12/+3
| | | | | | * class.c (rb_obj_methods): simplify without jump. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_backtrace.c: initialize flagnobu2014-01-241-1/+1
| | | | | | | * vm_backtrace.c (rb_backtrace_print_as_bugreport): initialize header-printed flag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_process.rb: clock_getres may not supportednobu2014-01-241-0/+2
| | | | | | | * test/ruby/test_process.rb (test_clock_getres): ignore if clock_getres is no supported, e.g., on old Linux. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-01-24svn2014-01-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/racc/rdoc/grammar.en.rdoc: [DOC] Correct grammar and typoszzak2014-01-242-44/+42
| | | | | | | Patch by Giorgos Tsiftsis [Bug #9429] [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb: try to wait a bit (0.1sec) when ruby processko12014-01-232-0/+7
| | | | | | | | | exits by signals because some SEGV tests fail because of not enough error output. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e