aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * enc/trans/big5.trans, big5-tbl.rb:duerst2009-01-044-1/+13796
| | | | | | | | | | new Chinese Big5 transcoding (from Yoshihiro Kambayashi) * test/ruby/test_transcode.rb: added tests for the above (from Yoshihiro Kambayashi) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems.rb (Gem.set_home, Gem.set_paths): should not createnobu2009-01-044-34/+26
| | | | | | | | | | | | | | directories stealthily. [ruby-core:20990] * lib/rubygems.rb (Gem.find_home): expand_path deals with platform dependent envirionments. * lib/rdoc/ri/paths.rb (RDoc::HOMEDIR): ditto. * instruby.rb (gem): creates gem directories at installation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_filesystem_encoding, rb_locale_charmap): usesnobu2009-01-043-5/+19
| | | | | | | codepage on cygwin. [ruby-core:20994] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.nobu2009-01-040-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (ruby_float_step): extracted from num_step().nobu2009-01-043-21/+41
| | | | | | | | * range.c (range_step): uses ruby_float_step() for float range. [ruby-dev:37691] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): does not use both of makefile.rb andnobu2009-01-043-6/+14
| | | | | | | | | extconf.rb at the same time. * lib/mkmf.rb (DLLIB): depends on Makefile. [ruby-core:21096] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (constant_arg): constified.nobu2009-01-043-1/+14
| | | | | | | | | | * ext/socket/socket.c (optname_arg): cygwin does not have IPPROTO_IPV6. * ext/socket/mkconstants.rb (ipv6_optname_to_int): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c: redundant #ifdef removed.akr2009-01-032-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (maygvl_copy_stream_wait_read): renamed to add prefix toakr2009-01-032-17/+28
| | | | | | | | | | | | | express GVL state. (nogvl_copy_stream_wait_write): ditto. (nogvl_copy_stream_sendfile): ditto. (maygvl_copy_stream_read): ditto. (nogvl_copy_stream_write): ditto. (nogvl_copy_stream_read_write): ditto. (nogvl_copy_stream_func): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-01-04svn2009-01-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merged r20850, r17881, r16811, r16763, r16748, r15829, r15794 and r15698 ↵seki2009-01-033-135/+223
| | | | | | from ruby_1_8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* change encoding name.naruse2009-01-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, Makefile.in, win32/Makefile.sub (INSNS): move the macrousa2009-01-034-6/+15
| | | | | | | | | definition from common.mk to {Makefile.in,win32/Makefile.sub}. [ruby-dev:37678] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/chinese.trans: added for transcoding EUC-CN and GB12345.naruse2009-01-036-0/+30337
| | | | | | * enc/trans/GB/: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/euc-cn.c: renemed from gb2312.c because GB2312 isnaruse2009-01-031-0/+5
| | | | | | the name of a CSS. it's encoding name is "EUC-CN". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-01-03svn2009-01-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, Makefile.in, win32/Makefile.sub ($(INSNS), node_name.inc,usa2009-01-024-8/+59
| | | | | | | | | | known_errors.inc, miniprelude.c, newline.c): move rules from common.mk to {Makefile.in,win32/Makefile.sub) for nmake. [ruby-core:20993] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_sleep.rb (test_sleep_5sec): stop gc.mame2009-01-022-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c: don't apply socktype hack [ruby-core:184] forakr2009-01-022-4/+13
| | | | | | | | | | | sock_s_getaddrinfo. (sock_getaddrinfo): add socktype_hack argument. (sock_addrinfo): call sock_getaddrinfo with socktype_hack. (sock_s_getaddrinfo): call sock_getaddrinfo without socktype_hack. [ruby-dev:37674] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/missing.h, sprintf.c: get rid of a warning of VC++.usa2009-01-023-6/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/singleton.rb: fix documentation. [ruby-core:21038]matz2009-01-022-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c: use sigaction instead of sigset. [ruby-core:21021]mame2009-01-022-6/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_proc.rb: suppress error message.mame2009-01-022-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb (test_wait_and_sigchild): remove debugmame2009-01-022-1/+6
| | | | | | | output. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: rename family_to_str to intern_family.akr2009-01-023-13/+21
| | | | | | | | | | it returns ID now. * ext/socket/socket.c (ipaddr): use intern_family. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: use ID in the values ofakr2009-01-023-17/+29
| | | | | | | | | | family_to_str_hash. family_to_str returns a VALUE. * ext/socket/socket.c (ipaddr): follow family_to_str change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: refactored to gather stringizerakr2009-01-022-10/+42
| | | | | | | description. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: make common prefix optional.akr2009-01-023-16/+46
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: use hash for family_to_str to avoidakr2009-01-023-18/+32
| | | | | | | | | | | linear search. lenp argument removed. * ext/socket/socket.c (ipaddr): call family_to_str without lenp argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb (gen_int_to_name): don't compare constantsakr2009-01-022-12/+13
| | | | | | | in preprocessor because the constants may be enum. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb (gen_int_to_name): add lenp argument.akr2009-01-023-7/+13
| | | | | | | | * ext/socket/socket.c (ipaddr): follow argument change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (rb_signal_buff_size): defined for check whether signalnaruse2009-01-013-4/+23
| | | | | | | | | is in the buffer or not. * thread_pthread.c (thread_timer): don't exit the loop when signal is in the buffer. [ruby-dev:37637] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: check duplicates.akr2009-01-012-8/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (optname_arg): defined.akr2009-01-014-5/+87
| | | | | | | | | | | | | | (bsock_setsockopt): use optname_arg. (bsock_getsockopt): ditto. * ext/socket/mkconstants.rb: generate so_optname_to_int, ip_optname_to_int, ipv6_optname_to_int, tcp_optname_to_int and udp_optname_to_int. more constants. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (constant_arg): extracted from family_arg.akr2009-01-012-53/+26
| | | | | | | | | | (family_arg): use constant_arg. (socktype_arg): ditto. (level_arg): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* IPv6 test removed.akr2009-01-011-3/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (level_arg): defined.akr2009-01-014-2/+46
| | | | | | | | | | | (bsock_setsockopt): use level_arg. (bsock_getsockopt): ditto. * ext/socket/mkconstants.rb: generate level_to_int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (family_arg): accept symbols as well.akr2009-01-014-4/+23
| | | | | | | (socktype_arg): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_s_getaddrinfo): use socktype_arg.akr2009-01-012-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-01-02svn2009-01-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (family_arg): extracted fromakr2009-01-013-58/+76
| | | | | | | | | | | | | setup_domain_and_type. (socktype_arg): ditto. (udp_init): use family_arg. (sock_s_gethostbyaddr): ditto. (sock_s_getaddrinfo): ditto. (sock_s_getnameinfo): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * spec/default.mspec: fix for builddir != srcdiryugui2009-01-013-5/+14
| | | | | | | * Makefile.in: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_s_getnameinfo): use family_to_int.akr2009-01-013-8/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: check all alias possibility. akr2009-01-012-20/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: more possible aliases.akr2009-01-012-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: AF_ISO and AF_OSI may be aliased.akr2009-01-012-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (before_exec): it makes no sense for a conditionalshyouhei2009-01-012-1/+6
| | | | | | | expression to return a void value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_s_getaddrinfo): use family_to_int.akr2009-01-013-8/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c: include constants.h at top.akr2009-01-012-10/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: add valp argument for family_to_int andakr2009-01-013-16/+17
| | | | | | | | | | socktype_to_int. * ext/socket/socket.c (setup_domain_and_type): use valp argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e