summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * encoding.c (rb_filesystem_encoding): use ANSI codepage for filenobu2009-01-052-10/+18
| | | | | | | | | system on cygwin. * encoding.c (rb_locale_charmap): reverted. [ruby-core:21110] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c (free_window): use xfree instead of free.kazu2009-01-052-1/+6
| | | | | | | [ruby-dev:37200] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.kazu2009-01-051-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/gdbm/gdbm.c (rb_gdbm_fetch): remove needless cast.kazu2009-01-052-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (init_env): use user profile folder than personalnobu2009-01-052-7/+29
| | | | | | | folder. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_stat): need type check for non string values.matz2009-01-042-9/+28
| | | | | | | | | [ruby-dev:37673] fix: #964 * file.c (rb_file_s_size, rb_file_s_atime, rb_file_s_mtime, rb_file_s_ctime, rb_f_test): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_step): should not add up errors on loops.matz2009-01-042-3/+11
| | | | | | [ruby-dev:37691] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (rb_f_srand): update RDoc. [ruby-core:21113]matz2009-01-042-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-01-05svn2009-01-041-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_max): max value from ... not defined for nonmatz2009-01-042-3/+11
| | | | | | Integer Numeric end values. [ruby-dev:37690] fix: #974 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (rb_getaddrinfo): defined for address lookup without GVL.akr2009-01-042-11/+91
| | | | | | | | | | | (struct getaddrinfo_arg): defined. (nogvl_getaddrinfo): defined. (rb_getnameinfo): defined for name lookup without GVL. (getnameinfo_arg): defined. (nogvl_getnameinfo): defined. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/gbk.trans, gbk-tbl.rb:duerst2009-01-044-1/+21932
| | | | | | | | | | new Chinese GBK transcoding (from Yoshihiro Kambayashi) * test/ruby/test_transcode.rb: added tests for the above (from Yoshihiro Kambayashi) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_transcode.rb: added tests for GB2312duerst2009-01-043-1/+60
| | | | | | | | | | (from Yoshihiro Kambayashi) * enc/trans/chinese.trans: set valid byte patterns for GB2312 and GB12345 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@21311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.nobu2009-01-040-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@21296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c: redundant #ifdef removed.akr2009-01-032-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@21288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-01-04svn2009-01-031-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@21286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* change encoding name.naruse2009-01-031-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@21282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-01-03svn2009-01-021-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@21277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/singleton.rb: fix documentation. [ruby-core:21038]matz2009-01-022-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@21275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_proc.rb: suppress error message.mame2009-01-022-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@21271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: refactored to gather stringizerakr2009-01-022-10/+42
| | | | | | | description. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: make common prefix optional.akr2009-01-023-16/+46
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@21265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: check duplicates.akr2009-01-012-8/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@21260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* IPv6 test removed.akr2009-01-011-3/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@21258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e