diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-13 05:48:57 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-13 05:48:57 +0000 |
| commit | 0fa1e1f5137021d0e7f25ccca034081b21a86b7f (patch) | |
| tree | b342f2f72bb763982d4d89001d4e8dd1d368de03 /ChangeLog | |
| parent | f6144761ec56a481d21d194301f7d6ec59632855 (diff) | |
| download | ruby-0fa1e1f5137021d0e7f25ccca034081b21a86b7f.tar.gz ruby-0fa1e1f5137021d0e7f25ccca034081b21a86b7f.tar.xz ruby-0fa1e1f5137021d0e7f25ccca034081b21a86b7f.zip | |
* enc/trans/newline.trans (rb_crlf_newline): new transcoder.
(rb_cr_newline): new transcoder.
* transcode.c (trans_open_i): one more exra room for input newline
converter.
(rb_trans_open): crlf newline and cr newline implemented.
(Init_transcode): Encoding::Converter::CRLF_NEWLINE and
Encoding::Converter::LF_NEWLINE defined.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -1,3 +1,14 @@ +Wed Aug 13 14:45:37 2008 Tanaka Akira <akr@fsij.org> + + * enc/trans/newline.trans (rb_crlf_newline): new transcoder. + (rb_cr_newline): new transcoder. + + * transcode.c (trans_open_i): one more exra room for input newline + converter. + (rb_trans_open): crlf newline and cr newline implemented. + (Init_transcode): Encoding::Converter::CRLF_NEWLINE and + Encoding::Converter::LF_NEWLINE defined. + Wed Aug 13 14:22:16 2008 Tanaka Akira <akr@fsij.org> * enc/trans/newline.trans: new file. @@ -8,7 +19,7 @@ Wed Aug 13 14:22:16 2008 Tanaka Akira <akr@fsij.org> (CRLF_NEWLINE): defined. (CR_NEWLINE): defined. (rb_trans_open_by_transcoder_entries): initialize last_tc. - (trans_open_i): allocate one more room for newline converter. + (trans_open_i): allocate one more room for output newline converter. (rb_trans_open): universal newline implemented. (more_output_buffer): take max_output argument instead ts. (output_replacement_character): take tc argument instead of ts. |
