aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/open3.rb (Open3.pipeline_start): new method.akr2008-12-053-28/+166
| | | | | | | (Open3.pipeline): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2008-12-051-27/+37
| | | | | | | | prefer :in over STDIN because STDIN.fileno may changed if STDIN.instance_eval { initialize 1 }. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (run_exec_dup2): !save is false if Qnil.akr2008-12-052-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_read, rb_w32_write, rb_w32_isatty): checkusa2008-12-052-0/+17
| | | | | | | | whether fd is valid. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (rb_iseq_parameters): proc arguments are always optional.nobu2008-12-054-22/+51
| | | | | | | * proc.c (get_proc_iseq, rb_proc_parameters): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_set_sequence): uses rb_compile_warning() fornobu2008-12-052-1/+7
| | | | | | | warning at compilation time. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (ruby_iseq_compile, ruby_iseq_translate_threaded_code),nobu2008-12-055-29/+42
| | | | | | | | | | (ruby_insns_name_array, ruby_iseq_build_from_ary): prefixed with ruby_. * iseq.c (ruby_iseq_load, ruby_insn_make_insn_table): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_cmp_m): fixed rdoc. pointed out by <Thomasnobu2008-12-052-2/+7
| | | | | | | C. Mitchell AT gmail.com> at [ruby-talk:321967] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc.akr2008-12-041-17/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_binwrite): arg.offset should be updated after retry.akr2008-12-042-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * load.c (rb_get_load_path): returns the load path withoutnobu2008-12-045-47/+90
| | | | | | | | | | | | | | | | | | | | touching. * load.c (rb_feature_provided): new function to return the loading path in addition to rb_provided(). * load.c (search_required): sets path if loading. * variable.c (autoload_provided): load paths are expanded to check if loading. * variable.c (autoload_node): keeps autoload mark while loading. [ruby-core:20235] * variable.c (rb_const_get_0): loops while autoload mark is set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb: skip some tests on win32.usa2008-12-041-7/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (sym_to_proc): tabified.nobu2008-12-041-8/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_read): ERROR_BROKEN_PIPE is not a real errorusa2008-12-043-3/+61
| | | | | | | | | | | at this point. * io.c (pipe_open): use rb_w32_spawn() instead of rb_w32_pipe_exec() to use our own redirection scheme. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (sym_to_proc): use hidden object.nobu2008-12-042-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): propagate taint status from format string tomatz2008-12-042-0/+6
| | | | | | result string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (run_exec_dup2): need to sort by reverted order whenusa2008-12-042-1/+19
| | | | | | | | restoring fds. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2008-12-042-10/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (sym_to_proc): caches Symbol procs, based on a patch fromnobu2008-12-042-2/+30
| | | | | | | Shumpei Akai <admin AT flexfrank.net>. [ruby-dev:37265] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-12-05svn2008-12-041-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2008-12-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2008-12-041-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (waitpid): fix bug of checking child slot.usa2008-12-042-1/+19
| | | | | | | | * win32/win32.c (FindChildSlotByHandle): new. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open3.rb (Open3.poutput3): new method.akr2008-12-043-10/+121
| | | | | | | | | (Open3.poutput2): ditto. (Open3.poutput2e): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * spec/default.mspec: follows changes in rubyspec project.yugui2008-12-042-8/+6
| | | | | | inherits configurations from ruby.1.9.mspec. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_complex.rb: added some tests.tadf2008-12-043-1/+48
| | | | | | | | * test/ruby/test_rational.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc.akr2008-12-041-29/+50
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open3.rb (Open3.popen3): simplified.akr2008-12-043-139/+327
| | | | | | | | | | | | | | (Open3.popen_run): extracted from Open3.popen3. (Open3.popen2): new method. (Open3.popen2e): new method. (Open3.pipeline_rw): new method. (Open3.pipeline_r): new method. (Open3.pipeline_w): new method. (Open3.pipeline_run): new private method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (check_exec_fds): resolve cascaded child fd reference.akr2008-12-043-17/+50
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/validator.rb (Gem#remove_leading_dot_dir): makematz2008-12-042-0/+6
| | | | | | this method private. a patch from okkez in [ruby-dev:37245] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c (ossl_ssl_read_nonblock):matz2008-12-043-6/+99
| | | | | | | OpenSSL::SSL::SSLSocket should implement read_nonblock. a patch from Aaron Patterson in [ruby-core:20277]. fix: #814 [ruby-core:20241] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/gserver.rb: fixed type in sample code. a report from Olegmatz2008-12-042-1/+6
| | | | | | Puchinin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/local_remote_options.rb (Gem#add_update_sources_option): matz2008-12-042-1/+6
| | | | | | little documentation fix. a patch from okkez. [ruby-dev:37271] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c (curses_getch): no ISPRINT(). [ruby-core:20294]matz2008-12-042-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c (window_getch): avoid ISPRINT() macro whichmatz2008-12-043-3/+14
| | | | | | | | has an issue with OpenSolaris. [ruby-core:20189] * signal.c (ruby_signal): EINVAL from sigaction(2) is not a bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (inspect_enumerator): Implement #inspect.knu2008-12-042-0/+68
| | | | | | | [ruby-dev:37248]-[ruby-dev:37263] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_obj_respond_to): Remove a duplicated rdocknu2008-12-042-10/+6
| | | | | | | comment and fix a markup error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: add entry.nagai2008-12-031-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/menu.rb: TkOptionMenubutton.new fails to treat nagai2008-12-031-2/+2
| | | | | | | 'parent' and 'variable' options on a Hash argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: bug fix. use ::RubyVM instead of ::VM [ruby-list:45676]nagai2008-12-033-3/+10
| | | | | | | * ext/tk/tcltklib.c: update RELEASE_DATE git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nurat_{to_s,inspect}): provides better representationtadf2008-12-033-10/+20
| | | | | | | | for in-finite imag part. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (f_signbit): NaN may be signed value.tadf2008-12-032-7/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc.akr2008-12-031-9/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-12-04svn2008-12-031-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (EXEC_OPTION_DUP2_CHILD): defined.akr2008-12-033-19/+154
| | | | | | | | | | | | (check_exec_redirect_fd): check :in, :out and :err. (check_exec_redirect): check [:child, fd]. (check_exec_fds): validate EXEC_OPTION_DUP2_CHILD array. (run_exec_dup2_child): new function. (rb_run_exec_options): call run_exec_dup2_child. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (expr): keyword_not can continue across newline.nobu2008-12-032-3/+8
| | | | | | | [ruby-core:20252] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (simple_default_value): returns simplest assignment only.nobu2008-12-032-3/+7
| | | | | | | [ruby-core:20237] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (check_exec_redirect): accept :in, :out, :err as redirectakr2008-12-033-0/+22
| | | | | | | target. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert.tadf2008-12-032-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c (ip_ruby_cmd, ip_invoke_with_position): mustnobu2008-12-032-11/+14
| | | | | | | not access internal union directly. [ruby-list:45670] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e