1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/enc
akr 74a2a7bdbf * enc/trans/newline.trans: new file.
* transcode_data.h (rb_trans_t): add last_tc field.

* transcode.c (UNIVERSAL_NEWLINE): defined.
  (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.
  (rb_trans_open): universal newline implemented.
  (more_output_buffer): take max_output argument instead ts.
  (output_replacement_character): take tc argument instead of ts.
  (transcode_loop): use last_tc field.
  (econv_init): add flags argument for rb_trans_open.
  (Init_transcode): Encoding::Converter::UNIVERSAL_NEWLINE defined.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-13 05:30:42 +00:00
..
trans * enc/trans/newline.trans: new file. 2008-08-13 05:30:42 +00:00
ascii.c
big5.c
cp949.c
depend * enc/depend: (transvpath_prefix): prefix has no extension, so replace 2008-08-12 06:19:00 +00:00
encdb.c
euc_jp.c
euc_kr.c
euc_tw.c
gb2312.c
gb18030.c
gbk.c
iso_2022_jp.h
iso_8859_1.c
iso_8859_2.c
iso_8859_3.c
iso_8859_4.c
iso_8859_5.c
iso_8859_6.c
iso_8859_7.c
iso_8859_8.c
iso_8859_9.c
iso_8859_10.c
iso_8859_11.c
iso_8859_13.c
iso_8859_14.c
iso_8859_15.c
iso_8859_16.c
koi8_r.c
koi8_u.c
make_encdb.rb
make_encmake.rb * enc/Makefile.in (.SUFFIXES): renamed to .trans. 2008-08-12 05:25:14 +00:00
Makefile.in * enc/Makefile.in (.SUFFIXES): renamed to .trans. 2008-08-12 05:25:14 +00:00
prelude.rb
shift_jis.c
unicode.c
us_ascii.c
utf_7.h
utf_8.c
utf_16be.c
utf_16le.c
utf_32be.c
utf_32le.c
windows_1251.c