summaryrefslogtreecommitdiff
path: root/enc
AgeCommit message (Collapse)Author
2008-01-15* enc/Makefile.in: ditto.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-15* enc/utf_8.c: renamed as IANA name.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14* re.c (rb_char_to_option_kcode): use rb_enc_find_index() insteadmatz
of using fixed index value. * enc/Makefile.in (encsrcdir): make US-ASCII built-in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14* enc/us_ascii.c: wrong alias name: ANSI_X3.4-1986.matz
* rubytest.rb: add -I#{srcdir} to load encoding DLL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14* encoding.c (rb_locale_encoding): return US-ASCII when charmap is nil.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14Mon Jan 14 10:45:45 2008 Martin Duerst <duerst@it.aoyama.ac.jp>duerst
* enc/ascii.c: Exchanged order of arguments for one ENC_ALIAS git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-13* enc/*.c: add replicas and aliases.naruse
* enc/make_encdb.h: add duplicate and undefined check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-13* define replica encoding "CP949".naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-13* include/ruby/oniguruma.h: remove ONIG_ENCODING_* and OnigEncoding*naruse
which are not builtin. * regenc.{c,h} (onigenc_mb2_code_to_mbclen, onigenc_mb4_code_to_mbclen): fix prototype. * enc/big5.c, enc/euc_kr.c, enc/euc_tw.c, enc/gb18030.c, enc/koi8_r.c, enc/windows_1251.c: imported from Oniguruma. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-13* enc/make_encdb.h: sort encoding names by original name.naruse
* encoding.c, enc/*.c: define replicas and aliases. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-13* encoding.c (Init_Encoding): moved initialization from encdb.h.nobu
* enc/make_encdb.rb (enc_name_list): constified. * enc/make_encdb.rb (enc_init_db): moved some functions to encoding.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-13* encoding.c (ENCINDEX_EUC_JP, ENCINDEX_SJIS): removed.naruse
(rb_enc_init): EUC-JP and Shift_JIS are not builtin now. * enc/Makefile.in: ditto. * common.mk: ditto. * ruby.c (proc_options): ditto. * enc/shift_jis.c, enc/euc_jp.c: fixes for romove from builtin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-13* encoding.c (enc_table): packed all enc_table stuff.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-13* encoding.c (rb_enc_init): revert removing SJIS.naruse
* enc/sjis.c: move to enc/shift_jis.c, to make encoding name equal to filename for convinience of loading lib. * enc/shift_jis.c: moved from enc/sjis.c. * common.mk: follows enc/shift_jis.c. * enc/Makefile.in: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-13* enc/make_encdb.rb: set properties.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-12* enc/make_encdb.rb: should work on Ruby 1.8. [ruby-dev:33069]matz
* common.mk (encdb.h): pass enc dir from outside to make_encdb.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-12* enc/make_encdb.rb: added. search enc/*.c and make encoding database.naruse
* regenc.h (ENC_REPLICATE, ENC_ALIAS): added for defining replica encoding and encoding alias. * encoding.c (rb_enc_init): move alias definitions to enc/*.c. (rb_enc_find_index): search original of replica and alias when no encoding library. (rb_enc_name_list, rb_enc_aliases_enc_i, rb_enc_aliases_str_i, rb_enc_aliases, Encoding.name_list, Encoding.aliases): added. (Init_Encoding): init encdb. * enc/ascii.c, enc/us_ascii.c, enc/euc_jp.c, enc/sjis.c: add replica encoding and encoding alias difinition. * common.mk (dist-clean-local): add rule for remvoe encdb.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-08* enc/Makefile.in (BUILTIN_ENCS): UTF-{16,32}{BE,LE} are not builtin.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-08* encoding.c, Makefile.in, include/ruby/oniguruma.h,naruse
enc/Makefile.in: fix rules for UTF-{16,32}{BE,LE}. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-08* enc/utf_{16,32}{be,le}.c: renamed to match with encoding names.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-08* enc/utf_{16,32}{be,le}.c: renamed to match with encoding names.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-08 * enc/utf{16,32}_{be,le}.c: use &OnigEncodingName(*) instead ofusa
ONIG_ENCODING_*. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-08* regenc.c (onigenc_strlen_null, onigenc_str_bytelen_null): suppressednobu
warnings. * regenc.h, enc/unicode.c (onigenc_unicode_ctype_code_range): added encoding argument. * enc/utf{16,32}_{be,le}.c: added init functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-08* enc/utf{16,32}_{be,le}.c: imported from Oniguruma 5.9.1.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-03* enc/euc_jp.c: remove eucjp_ prefix. breakpoint can be specified asakr
euc_jp.c:mbc_enc_len. avoid needless conflict by merge. * enc/sjis.c: remove sjis_ prefix. * enc/utf8.c: remove utf8_ prefix. * enc/iso_8859_1.c: remove iso_8859_1_ prefix. * enc/iso_8859_2.c: remove iso_8859_2_ prefix. * enc/iso_8859_3.c: remove iso_8859_3_ prefix. * enc/iso_8859_4.c: remove iso_8859_4_ prefix. * enc/iso_8859_5.c: remove iso_8859_5_ prefix. * enc/iso_8859_6.c: remove iso_8859_6_ prefix. * enc/iso_8859_7.c: remove iso_8859_7_ prefix. * enc/iso_8859_8.c: remove iso_8859_8_ prefix. * enc/iso_8859_9.c: remove iso_8859_9_ prefix. * enc/iso_8859_10.c: remove iso_8859_10_ prefix. * enc/iso_8859_11.c: remove iso_8859_11_ prefix. * enc/iso_8859_13.c: remove iso_8859_13_ prefix. * enc/iso_8859_14.c: remove iso_8859_14_ prefix. * enc/iso_8859_15.c: remove iso_8859_15_ prefix. * enc/iso_8859_16.c: remove iso_8859_16_ prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-03* include/ruby/oniguruma.h: Oniguruma 1.9.1 merged.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-02* enc/us_ascii.c: add us_ascii_ prefix for functions to easeakr
setting breakpoint when debugging. * enc/euc_jp.c: add eucjp_ prefix. * enc/sjis.c: add sjis_ prefix. * enc/iso_8859_1.c: add iso_8859_1_ prefix. * enc/iso_8859_2.c: add iso_8859_2_ prefix. * enc/iso_8859_3.c: add iso_8859_3_ prefix. * enc/iso_8859_4.c: add iso_8859_4_ prefix. * enc/iso_8859_5.c: add iso_8859_5_ prefix. * enc/iso_8859_6.c: add iso_8859_6_ prefix. * enc/iso_8859_7.c: add iso_8859_7_ prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-01* enc/depend: dependency updated.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30* enc/depend: replace spaces by tabnaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-30* configure.in: rm largefile.h.naruse
* common.mk: clean golf, conf*, preludes, and so on. * enc/depend: silent and ignore error for rm. * enc/Makefile.in: should define prefix and exec_prefix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-29* enc/Makefile.in (DLDFLAGS): like as extensions. [ruby-core:14567]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-28Fri Dec 28 01:55:04 2007 Martin Duerst <duerst@it.aoyama.ac.jp>duerst
* transcode.c (transcode_dispatch): reverted some of the changes in r14746. * transcode.c, enc/trans/single_byte.c: Added conversions to/from US-ASCII and ASCII-8BIT (using data tables). * enc/trans/single_byte.c: Some spacing/ordering changes due to automatic data file generation. * transcode_data.h, transcode.c: Preliminary code for using micro-conversion functions. * test/ruby/test_transcode.rb: Added some tests for US-ASCII and ASCII-8BIT conversions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-27* lib/weakref.rb, lib/irb/ruby-lex.rb, lib/irb/lc/error.rb, ↵akr
enc/trans/japanese.c: change "illegal" to "invalid" in a context which doesn' t against a law. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25* enc/trans/japanese.c (rb_{from,to}_{SHIFT_JIS,EUC_JP}): inversednobu
from_encoding and to_encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25* enc/trans/japanese.c (rb_to_EUC_JP): fixed typo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25 * enc/trans/single_byte.c (Init_single_byte): renamed.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-25* common.mk (COMMONOBJS): transcode_data_*.c moved under enc/trans.nobu
* transcode_data.h (rb_transcoding, rb_transcoder): prefixed. * transcode.c (rb_register_transcoder, rb_declare_transcoder): split declaration and registration. [ruby-dev:32704] * transcode.c (transcode_dispatch): autoload pre-declared transcoder. * transcode.c (str_transcode): use rb_define_dummy_encoding(). * transcode.c (Init_transcode): initialize transcoder tables. * enc/trans/single_byte.c, enc/trans/japanese.c: moved from top. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-24* Makefile.in, configure.in, lib/mkmf.rb, */Makefile.sub: specifynobu
compiled output file name explicitly. * enc/Makefile.in, enc/depend: now makes compiler to put generated files under directories corresnponding to the each source. enc/trans supported. * enc/make_encmake.rb: evaluates depend file before Makefile.in so that the former can influence to CONFIG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22* enc/depend, enc/make_encmake.rb: use erb.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22* regenc.c (onigenc_ascii_is_code_ctype): moved from enc/ascii.c.akr
* regenc.h (onigenc_ascii_is_code_ctype): declared. * enc/ascii.c: use onigenc_ascii_is_code_ctype. * enc/us_ascii.c: new file for US-ASCII. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21* common.mk (enc.mk): depends on $(RBCONFIG) instead of rbconfig.rb.nobu
* encoding.c (Init_Encoding): ISO-8859-1 is no longer a replica. * regenc.h (OnigEncodingDefine): names of extension and encoding can differ. * enc/Makefile.in: always shared. * enc/depend (deffile): should not upcase. * enc/{ascii,euc_jp,sjis,utf8,iso_8859_{1..16}}.c: fix for Init. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20* common.mk (enc.mk): depends on rbconfig.rb.nobu
* regenc.h (OnigEncodingDefine): external encoding definition macro. * enc/Makefile.in: fix for linking. * enc/depend, enc/make_encmake.rb: fix for Windows. * enc/{ascii,euc_jp,sjis,utf8,iso_8859_{1..16}}.c: renamed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20* enc/iso_8859_{1..16}.c: renamed.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19* enc/iso8859_{1..16}.c: adjust for ruby.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19* enc/iso8859_{1..16}.c: imported from Onigiruma 5.9.0.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19* enc/Makefile.in (RM): added.nobu
* enc/depend (encs): sort in alpha-numeric order. * enc/depend (clean, distclean): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-18* enc/depend: get rid of target expanded as empty for nmake.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-17* configure.in (BUILTIN_ENCS): removed.nobu
* common.mk (enc.mk): pass BUILTIN_ENCS from command line. * enc/depend: ditto. * enc/make_encmake.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-17* common.mk (encs): added dependencies.nobu
* enc/Makefile.in, enc/depend, enc/make_encmake.rb: moved serb code. * lib/mkmf.rb (depend_rules): now takes content string, not file name. * win32/enc-setup.mak: overrides default target. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-17* common.mk (encs): new target to compile external encodings.nobu
* enc/Makefile.in: became a serb template. * enc/make_encmake.rb: creates enc.mk from enc/Makefile.in using serb. * lib/mkmf.rb (relative_from): moved from ext/extmk.rb. * lib/mkmf.rb ($extmk): true if under to top source directory, not only ext. * lib/mkmf.rb (depend_rules): extracted from create_makefile. * tool/serb.rb (serb): splitted from tool/compile_prelude.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e