summaryrefslogtreecommitdiff
path: root/io.c
AgeCommit message (Expand)Author
2008-08-23* io.c (read_all): fptr->enc2 is 0 if no conversion.akr
2008-08-23* include/ruby/io.h (rb_io_t): remove path field and add pathv field.akr
2008-08-22* include/ruby/io.h (FMODE_TEXTMODE): defined.akr
2008-08-22* io.c (rb_io_pid): use PIDT2NUM.akr
2008-08-21* io.c (rb_file_open_generic): take filename as a VALUE.akr
2008-08-21* io.c (rb_io_s_sysopen): mode can be a Bignum.akr
2008-08-21* io.c (rb_io_extract_modeenc): notify coerced to caller.akr
2008-08-21* io.c (rb_io_extract_modeenc): use rb_check_to_integer to testakr
2008-08-21* io.c (rb_io_initialize): accept hash argument.akr
2008-08-21* io.c (io_extract_encoding_option): if internal encoding is notakr
2008-08-20* io.c (io_extract_encoding_option): enc2 is external encoding ifakr
2008-08-20* io.c (prep_io): local variable renamed.akr
2008-08-20* io.c (open_key_args): simplified.akr
2008-08-20* io.c (open_key_args): IO.foreach(path, rs, limit) didn't work.akr
2008-08-20* io.c (rb_file_sysopen_internal): unused function removed.akr
2008-08-20* io.c: use mode_t for the 3rd argument, permission, of open(2).akr
2008-08-20* io.c (io_set_encoding): removed.akr
2008-08-20* io.c (rb_file_open_internal): use rb_io_flags_modenum.akr
2008-08-20* io.c (rb_io_open_with_args): use rb_open_file instead of rb_io_open.akr
2008-08-20* io.c (rb_scan_open_args): extracted from rb_open_file.akr
2008-08-20* io.c (convconfig_t): new type.akr
2008-08-20* io.c (Init_IO): new constants: File::DSYNC, File::RSYNC andakr
2008-08-20* io.c (rb_open_file): don't lookup :mode and :perm in opt. it isakr
2008-08-20* io.c (open_key_args): meaningless MEMCPY removed.akr
2008-08-20* io.c (prep_io) [cygwin]: use FMODE_BINMODE instead of O_BINARY.akr
2008-08-19* io.c (parse_mode_enc): extracted from mode_enc.akr
2008-08-19* io.c (rb_io_flags_modenum): make it static.akr
2008-08-19* include/ruby/io.h (FMODE_TRUNC): new constant.akr
2008-08-19* io.c (fopen): macro for vms removed. fopen is not used now.akr
2008-08-19* include/ruby/io.h (rb_fopen): declaration removed.akr
2008-08-19* io.c (rb_io_flags_mode): use hexadecimal in error message.akr
2008-08-19* io.c (rb_io_flags_mode): add a prefix 0 to octal in error message.akr
2008-08-18* io.c (rb_open_file): encoding in mode string was ignored if perm isakr
2008-08-18fix preivous change.akr
2008-08-18* io.c (rb_open_file): don't access argv[-1] by akr
2008-08-18* io.c (rb_io_check_readable): side effect for STDIN removed.akr
2008-08-18* io.c (io_ungetbyte): renamed from io_ungetc.akr
2008-08-18* io.c (id_encode): removed.akr
2008-08-18* io.c (make_writeconv): if enc and enc2 is set, convertakr
2008-08-18* include/ruby/io.h (rb_io_t): new fields: writeconv,akr
2008-08-18* io.c (clear_readconv): extracted from rb_io_fptr_finalize.akr
2008-08-18* io.c (mode_enc): modify enc and enc2 consistently.akr
2008-08-18* io.c (io_enc_str): code conversion removed.akr
2008-08-18* io.c (io_shift_crbuf): add strp argument to append into existingakr
2008-08-18* io.c (io_enc_str_converted): new function.akr
2008-08-17* io.c (appendline): appendline cannot check character boundary.akr
2008-08-17* io.c (prepare_getline_args): io.gets(10,nil) should cause TypeError.akr
2008-08-17* include/ruby/encoding.h (rb_econv_putbackable): declared.akr
2008-08-16* include/ruby/io.h (rb_io_t): new fields: readconv, crbuf, crbuf_off,akr
2008-08-16* include/ruby/ruby.h (rb_intern_const): tiny optimization.nobu