Ruby commits

RevisionAuthorDateDescription
19153akr05 Sep 2008 07:30:35

* include/ruby/io.h (rb_io_modestr_fmode): renamed from
rb_io_mode_flags.
(rb_io_modestr_oflags): renamed from rb_io_mode_modenum.
(rb_io_oflags_fmode): renamed from rb_io_modenum_flags.
(rb_io_mode_flags): defined as a macro.
(rb_io_modenum_flags): ditto.

* io.c: follow the renaming with consistency.

* process.c (check_exec_redirect): call rb_io_modestr_oflags.

* ext/pty/depend: pty.o depends on io.h.

19152akr05 Sep 2008 07:16:28

* enc/trans/newline.trans (universal_newline_finish): new function.

19151akr05 Sep 2008 07:10:53

add tests.

19150akr05 Sep 2008 07:08:10

* include/ruby/io.h (rb_io_mode_modenum): moved from
include/ruby/intern.h.

19149akr05 Sep 2008 06:59:58

* io.c (MODENUM_MAX): removed.

19148nobu05 Sep 2008 05:37:55

* io.c (copy_stream_fallback_body): use read method unless readpartial
is available. [ruby-dev:36124]

19147nobu05 Sep 2008 05:16:34

* ext/iconv/iconv.c (iconv_create): strips glibc style option before
charset mapping. retris without options if they seemed causing
error, and warns. [ruby-dev:36147]

19146ko104 Sep 2008 14:23:27

* iseq.c (iseq_data_to_ary): make it static.
* thread.c (thgroup_enclose): ditto.

19145ko104 Sep 2008 13:58:53

* vm.c (thread_recycle_stack_slot, thread_recycle_stack_count):
make it static.

19144ko104 Sep 2008 13:41:40

* thread.c (rb_thread_critical): removed.

19143akr04 Sep 2008 12:22:57

* io.c (argf_mark): mark p->encs.ecopts.

19142akr04 Sep 2008 11:46:18

* transcode_data.h (rb_transcoder): rename fields:
from_encoding -> src_encoding, to_encoding -> dst_encoding.

* transcode.c: follow the renaming.

19141akr04 Sep 2008 11:35:30

* transcode.c: variables renamed for consistency.