Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Mar 11, 2012
  1. @akr

    * lib/tmpdir.rb: update document for changing

    akr authored
      FileUtils.remove_entry_secure to FileUtils.remove_entry.
    
    * NEWS: add incompatiblity note for lib/tmpdir.rb.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @akr

    cosmetic change.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Nov 19, 2011
  1. @akr

    * lib/pathname.rb (Pathname#find): return an enumerator if

    akr authored
      no block is given.
    
    * test/pathname/test_pathname.rb: add tests for above.
    
    [ruby-dev:44797] [Feature #5572]
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 22, 2011
  1. @akr

    * include/ruby/intern.h (rb_fd_set_cloexec): declared.

    akr authored
    * io.c (rb_fd_set_cloexec): new function.
      (ruby_dup): call rb_fd_set_cloexec to set close-on-exec flag.
      (rb_sysopen_internal): ditto.
      (rb_pipe): ditto.
      (io_reopen): ditto.
      (io_cntl): ditto.
    
    * process.c (rb_f_exec): change the default :close_others option to
      true.
      (rb_f_system): ditto.
      (move_fds_to_avoid_crash): call rb_fd_set_cloexec to set
      close-on-exec flag.
      (ruby_setsid): ditto.
      (rb_daemon): ditto.
    
    * thread_pthread.c (rb_thread_create_timer_thread): call
      rb_fd_set_cloexec to set close-on-exec flag.
    
    * ruby.c (load_file_internal): ditto.
    
    * file.c (rb_file_s_truncate): ditto.
      (file_load_ok): ditto.
    
    * random.c (fill_random_seed): ditto.
    
    * ext/pty/pty.c (chfunc): ditto.
      (get_device_once): ditto.
    
    * ext/openssl/ossl_bio.c (ossl_obj2bio): ditto.
    
    * ext/socket/init.c (rsock_socket): ditto.
      (rsock_s_accept_nonblock): ditto.
      (rsock_s_accept): ditto.
    
    * ext/socket/socket.c (rsock_sock_s_socketpair): ditto.
    
    * ext/socket/ancdata.c (discard_cmsg): ditto.
      (make_io_for_unix_rights): ditto.
    
    * ext/socket/unixsocket.c (unix_recv_io): ditto.
    
    * ext/io/console/console.c (console_dev): ditto.
    
    [ruby-core:38140] [Feature #5041]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @akr

    describe Resolv::DNS#timeouts= and Resolv::DNS::Config#timeouts=.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 7, 2011
  1. @akr

    * lib/net/http.rb (Net::HTTP#connect): support SNI (Server Name

    akr authored
      Indication) for HTTPS.  [ruby-dev:43164]
      http://stackoverflow.com/questions/4685736/openssl-server-name-indication-support-in-ruby
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Dec 9, 2010
  1. @akr

    * lib/webrick/accesslog.rb (WEBrick::AccessLog#format): support

    akr authored
      %{remote}p for logging remote (client) port number.
      [ruby-dev:42670]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Oct 6, 2010
  1. @akr

    describe URI::Generic#hostname and URI::Generic#hostname=.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Aug 30, 2010
  1. @akr

    describe that Time#strftime supports %:z and %::z.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 11, 2010
  1. @akr

    describe Time#round.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 7, 2010
  1. @akr

    describe new optional arugment for Pathname#realpath and Pathname#rea…

    akr authored
    …ldirpath.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 12, 2010
  1. @akr

    * prelude.rb (require_relative): use File.realpath. [ruby-dev:40040]

    akr authored
    * include/ruby/intern.h: declare rb_dir_getwd.
    
    * dir.c (rb_dir_getwd): copied from dir_s_getwd to export.
      (dir_s_getwd): use rb_dir_getwd.
    
    * file.c (rb_file_s_realpath): new method File.realpath.
      (rb_file_s_realdirpath): new method File.realdirpath.
    
    * lib/pathname.rb (Pathname#realpath): use File.realpath.
      (Pathname#realdirpath): use File.realdirpath.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jan 5, 2010
  1. @akr

    describe RbConfig.ruby.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Sep 23, 2009
  1. @akr

    * lib/thread.rb (ConditionVariable#wait): add timeout argument.

    akr authored
      [ruby-talk:346154]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @akr

    cosmetic change.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @akr

    describe Enumerable#chunk and Enumerable#slice_before.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Aug 19, 2009
  1. @akr

    * enumerator.c: implement Enumerator#{next_values,peek_values,feed}

    akr authored
      and StopIteration#result.  [ruby-dev:39109]
      (struct enumerator): replace no_next by stop_exc.
      new field feedvalue.
      (enumerator_mark): mark feedvalue and stop_exc.
      (enumerator_init): initialize feedvalue and stop_exc.
      (enumerator_init_copy): initialize feedvalue.
      (next_ii): send yield arguments as an array.  return feedvalue.
      (next_i): generate StopIteration exception here.  set result.
      (next_init): initialize feedvalue.
      (enumerator_next_values): new method Enumerator#next_values.
      (ary2sv): new function.
      (enumerator_peek_values): new method Enumerator#peek_values.
      (enumerator_feed): new method Enumerator#feed.
      (yielder_yield): return the yield value.
      (generator_each): return the iterator value.
      (stop_result): new method StopIteration#result.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jul 20, 2009
  1. @akr

    updated.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Jun 23, 2009
  1. @akr

    describe IO#fdatasync.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 12, 2009
  1. @akr

    * time.c: support fixed UTC offset. [ruby-dev:38326]

    akr authored
      (leap_year_v_p): new macro.
      (TIME_FIXOFF_P): new macro.
      (TIME_SET_FIXOFF): new macro.
      (time_init_0): renamed from time_init.
      (time_set_utc_offset): new function.
      (vtm_add_offset): new function.
      (utc_offset_arg): new function.
      (time_init_1): new function.
      (time_init): call time_init_0 or time_init_1 according argc.
      (validate_utc_offset): new function.
      (time_localtime_m): new function.
      (time_fixoff): new function.
      (time_getlocaltime): take optional UTC offset argument.
      (time_get_tm): support fixed UTC offset time.
      (Init_Time): make Time#{initialize,localtime,getlocal} varargs.
    
    * strftime.c (rb_strftime): vtm->zone can be NULL now.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 25, 2009
  1. @akr

    mention Time.{utc,gm,local,mktime} as incompatibility.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 21, 2009
  1. @akr

    updated.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @akr

    * time.c (time_arg): use the year argument as-is. [ruby-dev:38194]

    akr authored
    * lib/time.rb (Time.parse): interpret small year 0..99 as 1950..2049.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @akr

    describe about Time.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Apr 16, 2009
  1. @akr

    updated.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @akr

    * node.h (rb_notimplement_body_p): declared.

    akr authored
    * vm_method.c (Init_eval_method): suppress a warning.
    
    * io.c (rb_io_fsync): use rb_f_notimplement if not implemented.
      (rb_io_close_on_exec_p): ditto.
      (rb_io_set_close_on_exec): ditto.
      (rb_io_fcntl): ditto.
      (rb_f_syscall): ditto.
    
    * dir.c (dir_tell): ditto.
      (dir_seek): ditto.
      (dir_s_chroot): ditto.
    
    * process.c (proc_getpgrp): ditto.
      (proc_setpgrp): ditto.
      (proc_getpgid): ditto.
      (proc_setpgid): ditto.
      (proc_setsid): ditto.
      (proc_getpriority): ditto.
      (proc_setpriority): ditto.
      (proc_getrlimit): ditto.
      (proc_setrlimit): ditto.
      (p_sys_setuid): ditto.
      (p_sys_setruid): ditto.
      (p_sys_seteuid): ditto.
      (p_sys_setreuid): ditto.
      (p_sys_setresuid): ditto.
      (p_sys_setgid): ditto.
      (p_sys_setrgid): ditto.
      (p_sys_setegid): ditto.
      (p_sys_setregid): ditto.
      (p_sys_setreuid): ditto.
      (p_sys_setresgid): ditto.
      (p_sys_issetugid): ditto.
      (proc_getgroups): ditto.
      (proc_setgroups): ditto.
      (proc_initgroups): ditto.
      (proc_daemon): ditto.
      (rb_proc_times): ditto.
    
    * file.c (rb_file_s_lchown): ditto.
      (rb_file_s_link): ditto.
      (rb_file_s_symlink): ditto.
      (rb_file_s_readlink): ditto.
      (rb_file_s_truncate): ditto.
      (rb_file_truncate): ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. @akr

    * class.c (rb_define_method_id): use rb_define_notimplement_method_id

    akr authored
      if rb_f_notimplement is given.
      (rb_define_protected_method): ditto.
      (rb_define_private_method): ditto.
      (rb_define_method): use rb_define_method_id.
    
    * include/ruby/intern.h (rb_f_notimplement): declared.
      (rb_define_notimplement_method_id): declared.
    
    * proc.c (method_inspect): show not-implemented.
    
    * vm_method.c (notimplement_body): new variable.
      (rb_notimplement_body_p): new function.
      (rb_method_boundp): return false if not implemented.
      (rb_f_notimplement): new function.
      (rb_define_notimplement_method_id): new function.
    
    * process.c (rb_f_fork): use rb_f_notimplement if not implemented.
    
    * file.c (rb_file_s_lchmod): use rb_f_notimplement if not implemented.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 21, 2009
  1. @akr

    * ext/openssl/ossl_ssl.c (write_would_block): defined.

    akr authored
      (read_would_block): defined.
      (ossl_start_ssl): add nonblock argument.
      (ossl_ssl_connect): follow ossl_start_ssl change.
      (ossl_ssl_connect_nonblock): new method.
      (ossl_ssl_accept): follow ossl_start_ssl change.
      (ossl_ssl_accept_nonblock): new method.
      (ossl_ssl_read_internal): use write_would_block and
      read_would_block.
      (ossl_ssl_write_internal): ditto.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 20, 2009
  1. @akr

    * ext/openssl/lib/openssl/buffering.rb

    akr authored
      (OpenSSL::Buffering#write_nonblock): new method.
    
    * ext/openssl/ossl_ssl.c (ossl_ssl_write_nonblock): new method.
      (ossl_ssl_write_internal): defined.
      (ossl_ssl_write): use ossl_ssl_write_internal.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 19, 2009
  1. @akr

    update rdoc and NEWS.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 15, 2009
  1. @akr

    updated.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Mar 14, 2009
  1. @akr

    * string.c (rb_str_subpat): accept capture name.

    akr authored
      (rb_str_aref): follow above change.
      (rb_str_aref_m): pass the 2nd argument to rb_str_subpat.
      (rb_str_subpat_set): accept capture name.
      (rb_str_aset): follow above change.
      (rb_str_partition): ditto.
      (rb_str_aset_m): pass the 2nd argument to rb_str_subpat_set.
    
    * include/ruby/intern.h (rb_reg_backref_number): declared.
    
    * re.c (rb_reg_backref_number): defined.
    
      [ruby-core:21057]
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 26, 2009
  1. @akr

    * ext/socket/lib/socket.rb (BasicSocket#connect_address): new method.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on Feb 15, 2009
  1. @akr

    updated.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. @akr

    mention SecureRandom.urlsafe_base64.

    akr authored
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Something went wrong with that request. Please try again.