Граф коммитов

38 Коммитов

Автор SHA1 Сообщение Дата
akr 7930673c5d describe about Time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21 16:27:19 +00:00
akr 29655d072b updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-16 17:21:51 +00:00
akr 8e8ae2a9c5 * node.h (rb_notimplement_body_p): declared.
* 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
2009-04-16 16:58:06 +00:00
akr 8b27d153d2 * class.c (rb_define_method_id): use rb_define_notimplement_method_id
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
2009-04-16 14:17:14 +00:00
akr 7fd155cf0f * ext/openssl/ossl_ssl.c (write_would_block): defined.
(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
2009-03-21 06:56:33 +00:00
akr 17a085ea8c * ext/openssl/lib/openssl/buffering.rb
(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
2009-03-20 17:39:44 +00:00
akr 2208c990e1 update rdoc and NEWS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-19 15:31:24 +00:00
akr 7b713539ee updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-15 05:01:48 +00:00
akr f414bd65ae * string.c (rb_str_subpat): accept capture name.
(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
2009-03-14 18:04:21 +00:00
kazu 2f83f7a7f4 update doc (add Pathname#binread)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-27 19:51:56 +00:00
akr ecb22ce2c5 * ext/socket/lib/socket.rb (BasicSocket#connect_address): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-26 14:15:39 +00:00
nobu d968f62558 * NEWS: added Etc::{Passwd,Group}.each.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 16:59:06 +00:00
akr 1f125adde0 updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15 10:03:02 +00:00
akr 57394f1484 mention SecureRandom.urlsafe_base64.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15 09:42:00 +00:00
akr 1b4c1f715e * lib/time.rb (Time.parse): raise ArgumentError if Date._parse don't
extract date information.  [ruby-core:20912]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 22:03:28 +00:00
akr 7882b61a03 updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-12 12:57:14 +00:00
akr c645978f1c updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-11 01:38:02 +00:00
akr fdf5d80890 add getpeereid.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-11 01:30:05 +00:00
akr 7be3cdbc04 updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-10 11:59:16 +00:00
knu 03d38468ac Mention Enumerator#with_index.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-09 05:51:31 +00:00
akr 88f04bdd32 * ext/socket: AddrInfo is renamed to Addrinfo. [ruby-dev:37876]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-05 11:01:43 +00:00
akr 5127799e65 add Socket.pair.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 16:21:15 +00:00
akr 5493666330 updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 12:59:09 +00:00
kazu 9a7834730d add Dir.home
update s of new method(s)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 10:47:25 +00:00
kouji e2fc3f38af * NEWS: added comment for Readline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 12:28:07 +00:00
akr 8b729eed96 updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 07:55:03 +00:00
kazu 2b692644d9 * NEWS: add Array#sort_by!.
* array.c (rb_ary_sort_by_bang): RDoc update.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 07:36:55 +00:00
akr 8cc36df9c3 * lib/pathname.rb (Pathname#each_child): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-31 05:13:49 +00:00
akr e94e674d0e * lib/pathname.rb (Pathname#realdirpath): new method.
[ruby-dev:36290]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-30 12:50:55 +00:00
akr 75e0fde36b updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-17 16:46:37 +00:00
akr 52152a63aa * ext/socket/lib/socket.rb: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-17 13:04:03 +00:00
akr 80618e75aa * ext/socket/socket.c (bsock_shutdown): accept symbol/string as how.
(shutdown_how_arg): new function.

* ext/socket/mkconstants.rb: generate shutdown_how_to_int.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-08 14:20:47 +00:00
akr 3a0aa7f8d8 updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-07 22:21:40 +00:00
akr aa3665e782 describe a block for UNIXSocket.pair.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-31 15:11:33 +00:00
akr 95c474ec4d describe Buffering#read_nonblock.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-31 14:36:31 +00:00
akr 469d119ab9 updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-23 03:52:11 +00:00
akr 3a7daf882b * io.c (rb_io_s_pipe): IO.pipe can take a block.
(pipe_close): new function.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-22 12:27:26 +00:00
knu 1757d80076 - Remove doc/NEWS when we have doc/NEWS-1.9.1.
- Add NEWS for keeping changes since 1.9.1.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-12 09:46:28 +00:00