ruby/enc
Jeremy Evans 6f3857f6a7 Support Encoding::Converter newline: :lf and :lf_newline options
Previously, newline: :lf was accepted but ignored.  Where it
should have been used was commented out code that didn't work,
but unlike all other invalid values, using newline: :lf did
not raise an error.

This adds support for newline: :lf and :lf_newline, for consistency
with newline: :cr and :cr_newline.  This is basically the same as
universal_newline, except that it only affects writing and not
reading due to RUBY_ECONV_NEWLINE_DECORATOR_WRITE_MASK.

Add tests for the File.open :newline option while here.

Fixes [Bug #12436]
2022-08-19 20:23:36 -07:00
..
jis gperf.sed: static declarations 2017-12-15 14:42:43 +00:00
trans Support Encoding::Converter newline: :lf and :lf_newline options 2022-08-19 20:23:36 -07:00
unicode Remove Unicode 13.0.0 related files 2022-03-16 08:30:04 +09:00
Makefile.in Resolve abi symbol references from miniruby to avoid circular deps 2022-08-04 16:29:22 +09:00
ascii.c Rename ENCINDEX_ASCII to ENCINDEX_ASCII_8BIT 2022-07-19 08:48:56 +02:00
big5.c
cesu_8.c remove UNREACHABLE 2019-06-24 16:01:46 +09:00
cp949.c Use https instead of http 2020-07-28 19:51:54 +09:00
depend Revert "enc/depend: fix out-of-src build with --with-static-linked-ext" (#5616) 2022-03-02 18:19:01 +09:00
ebcdic.h
emacs_mule.c
encdb.c decouple internal.h headers 2019-12-26 20:45:12 +09:00
encinit.c.erb [Feature #18249] Include ruby.h in extensions to have ABI version 2022-02-22 09:55:21 -05:00
euc_jp.c Use https instead of http 2020-07-28 19:51:54 +09:00
euc_kr.c
euc_tw.c
gb2312.c Init function is need to link statically 2019-08-10 01:41:50 +09:00
gb18030.c
gbk.c
iso_2022_jp.h
iso_8859.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 Use https instead of http 2020-07-28 19:51:54 +09:00
iso_8859_7.c
iso_8859_8.c Use https instead of http 2020-07-28 19:51:54 +09:00
iso_8859_9.c
iso_8859_10.c
iso_8859_11.c Use https instead of http 2020-07-28 19:51:54 +09:00
iso_8859_13.c
iso_8859_14.c
iso_8859_15.c
iso_8859_16.c
koi8_r.c
koi8_u.c
make_encmake.rb Refactor ERB version checking for keyword arguments 2018-02-27 11:12:23 +00:00
mktable.c
shift_jis.c Use https instead of http 2020-07-28 19:51:54 +09:00
shift_jis.h Add missing file 2017-12-01 14:08:13 +00:00
unicode.c Suppress warnings by gcc 10.1.0-RC-20200430 2020-05-04 12:28:24 +09:00
us_ascii.c
utf_7.h
utf_8.c
utf_16_32.h
utf_16be.c
utf_16le.c
utf_32be.c
utf_32le.c
windows_31j.c Use https instead of http 2020-07-28 19:51:54 +09:00
windows_1250.c Use https instead of http 2020-07-28 19:51:54 +09:00
windows_1251.c Use https instead of http 2020-07-28 19:51:54 +09:00
windows_1252.c Use https instead of http 2020-07-28 19:51:54 +09:00
windows_1253.c Use https instead of http 2020-07-28 19:51:54 +09:00
windows_1254.c Use https instead of http 2020-07-28 19:51:54 +09:00
windows_1257.c Use https instead of http 2020-07-28 19:51:54 +09:00
x_emoji.h enc/x_emoji.h: fixed dead-links [ci skip] 2019-12-24 10:33:32 +09:00