Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
nobu 89fb3746ac localeinit.c: encindex.h
* localeinit.c: needs encindex.h for ENCINDEX_US_ASCII and
  ENCINDEX_ASCII.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-15 05:57:30 +00:00
nobu 09421c5da1 localeinit.c: locale_charmap rdoc [ci skip]
* localeinit.c (rb_locale_charmap): [RDOC] move
  Encoding.locale_charmap rdoc from encoding.c.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-09-07 05:47:34 +00:00
nobu 7a89049a76 encoding.c: find encoding index
* encoding.c (rb_locale_encindex): find encoding index without
  making a string object every time.  [ruby-core:58160] [Bug #9080]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-08-24 07:01:22 +00:00
akr 7cd76ab0c5 * internal.h: Include ruby.h and ruby/encoding.h to be
includable without prior inclusion.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-15 11:49:06 +00:00
nobu 88789fdeed localeinit.c: revert r46202
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-28 23:35:43 +00:00
nobu 0a946cde01 localeinit.c: fallback filesystem encoding to UTF-8
* localeinit.c (Init_enc_set_filesystem_encoding): fallback to
  UTF-8 on Mac OS X, just for convenience sake.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-28 04:27:45 +00:00
nobu b76f05e3ef localeinit.c: cp on cygwin
* localeinit.c (SIZEOF_CP_NAME, CP_FORMAT): needed on cygwin too.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-25 23:42:16 +00:00
nobu 0ddcb9489e localeinit.c: codepage format
* localeinit.c (SIZEOF_CP_NAME, CP_FORMAT): extract to share
  codepage formatting code.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-18 06:56:30 +00:00
nobu 5f2080048e localeinit.c: split
* localeinit.c (rb_locale_charmap, Init_enc_set_filesystem_encoding):
  move from encoding.c.
* miniinit.c (rb_locale_charmap, Init_enc_set_filesystem_encoding):
  define miniruby specific functions only.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-14 17:47:25 +00:00