summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-01-09 * ext/socket/mkconstants.rb: define macro if default_value is passed.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-09* ext/tk/lib/tk.rb: rescue abnormal Encoding.locale_charmap value.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-09* common.mk (test-sample), rubytest.rb: use runruby.rbnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-09* 2009-01-09svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-09* test/ruby/test_process.rb (TestProcess::MANDATORY_ENVS): somenobu
platforms need environments for shared objects. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-08* ChangeLog: forgotten to commit.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-08 * instruby.rb: easy code contains fewer bugs.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-08* ext/socket/socket.c (bsock_shutdown): accept symbol/string as how.akr
(shutdown_how_arg): new function. * ext/socket/mkconstants.rb: generate shutdown_how_to_int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-08* ext/socket/mkconstants.rb (gen_name_to_int_func): generateakr
name_to_int functions, not only body. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-08* ext/socket/socket.c: don't use AI_NUMERICSERV for platforms whichakr
not define it as old Windows. [ruby-dev:37736] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-08* instruby.rb: should not depend on a library which does not existnobu
in 1.8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-07* ext/socket/socket.c (init_unix_addrinfo): don't return a value.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-07* lib/open-uri.rb (OpenURI.redirectable?): reverted https redirection.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-07updated.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-07* lib/test/unit/assertions.rb (assert_no_match): don't count up as twoakr
assertions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-07* ext/socket/socket.c (addrinfo_getnameinfo): use NI_DGRAM if socktypeakr
is SOCK_DGRAM. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-07* 2009-01-08svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-07* ext/socket/socket.c (host_str): add flags_ptr argument to specifyakr
AI_NUMERICHOST if host is numeric form. (port_str): add flags_ptr argument to specify AI_NUMERICSERV if port is numeric form. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-07* test/rubygems/test_gem.rb (test_self_user_home_user_drive_and_path): removed.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-07* ext/socket/socket.c (rb_cAddrInfo): new class AddrInfo.akr
(s_recvfrom): return AddrInfo as address. (s_recvfrom_nonblock): ditto. (sock_accept): ditto. (sock_accept_nonblock): ditto. (sock_sysaccept): ditto. (bsock_send): accept AddrInfo as address argument. (sock_connect): ditto. (sock_connect_nonblock): ditto. (sock_bind): ditto. (sock_s_unpack_sockaddr_in): ditto. (sock_s_unpack_sockaddr_un): ditto. (bsock_local_address): new method BasicSocket#local_address. (bsock_remote_address): new method BasicSocket#remote_address. (addrinfo_initialize): new method AddrInfo#initialize. (addrinfo_inspect): new method AddrInfo#inspect. (addrinfo_afamily): new method AddrInfo#afamily. (addrinfo_pfamily): new method AddrInfo#pfamily. (addrinfo_socktype): new method AddrInfo#socktype. (addrinfo_protocol): new method AddrInfo#protocol. (addrinfo_to_sockaddr): new method AddrInfo#to_sockaddr. (addrinfo_canonname): new method AddrInfo#canonname. (addrinfo_ip_p): new method AddrInfo#ip?. (addrinfo_ipv4_p): new method AddrInfo#ipv4?. (addrinfo_ipv6_p): new method AddrInfo#ipv6?. (addrinfo_unix_p): new method AddrInfo#unix?. (addrinfo_getnameinfo): new method AddrInfo#getnameinfo. (addrinfo_s_getaddrinfo): new method AddrInfo.getaddrinfo. (addrinfo_s_tcp): new method AddrInfo.tcp. (addrinfo_s_udp): new method AddrInfo.udp. (addrinfo_s_unix): new method AddrInfo.unix. (Init_socket): define new class and methods. (sock_getaddrinfo): apply socktype hack regardless of ai_flags. (addrinfo_new): defined. (get_afamily): ditto. (fd_socket_addrinfo): ditto. (io_socket_addrinfo): ditto. (SockAddrStringValue): ditto. (SockAddrStringValuePtr): ditto. (sockaddr_string_value): ditto. (sockaddr_string_value_ptr): ditto. (rb_addrinfo_t): ditto. (addrinfo_mark): ditto. (addrinfo_free): ditto. (addrinfo_s_allocate): ditto. (IS_ADDRINFO): ditto. (check_addrinfo): ditto. (get_addrinfo): ditto. (alloc_addrinfo): ditto. (init_addrinfo): ditto. (addrinfo_new): ditto. (call_getaddrinfo): ditto. (init_addrinfo_getaddrinfo): ditto. (make_inspectname): ditto. (addrinfo_firstonly_new): ditto. (addrinfo_list_new): ditto. (init_unix_addrinfo): ditto. (ai_get_afamily): ditto. * ext/socket/mkconstants.rb: generate intern_protocol_family, intern_socktype and intern_ipproto. [ruby-dev:37692] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-07* instruby.rb (man, gem): fixed errors.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-07* instruby.rb: use installed libraries. [ruby-core:21006]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-07* instruby.rb (gem), lib/rubygems/defaults.rb (Gem.default_dir):nobu
use version invariant configuration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-07* 2009-01-07svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-07* ext/socket/socket.c (ruby_getaddrinfo, ruby_getaddrinfo__aix):nobu
constified. * ext/socket/socket.c (ruby_getnameinfo__aix): protoized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-06* ext/socket/socket.c (io_call_close, io_close, pair_yield):nobu
unused unless socketpair exists. * ext/socket/getnameinfo.c (getnameinfo): moved conditinally used variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-06* cont.c (cont_restore_0): streamlined to ensure O(1) time. based onnobu
a patch by Brent Roman <brent AT mbari.org>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-05* 2009-01-06svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-05* io.c (rb_close_before_exec): more heuristics to detect maximum fd.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-05don't get a name for anonymous Unix socket.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-05* vm.c (rb_iseq_eval): fixed indent.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-05* missing/langinfo.c (nl_langinfo_0): fixed typos for SJIS.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-05* configure.in (cygwin): needs properly implemented nl_langinfo().nobu
[ruby-core:21110] * missing/langinfo.c: added as suggested at [ruby-core:21015], from http://www.cl.cam.ac.uk/~mgk25/ucs/langinfo.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-05 * encoding.c (rb_locale_charmap): use GetConsoleCP() instead ofusa
GetACP() because external encoding should be console's one. * encoding.c (rb_filesystem_encoding): use GetOEMCP() instead of GetACP() because VFAT/FAT32 uses OEM CP. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-05fix typos and cleanup spaceskazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-05* encoding.c (rb_filesystem_encoding): use ANSI codepage for filenobu
system on cygwin. * encoding.c (rb_locale_charmap): reverted. [ruby-core:21110] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-05* ext/curses/curses.c (free_window): use xfree instead of free.kazu
[ruby-dev:37200] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-05rdoc update.kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-05* ext/gdbm/gdbm.c (rb_gdbm_fetch): remove needless cast.kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-05* win32/win32.c (init_env): use user profile folder than personalnobu
folder. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-04* file.c (rb_file_s_stat): need type check for non string values.matz
[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: svn+ssh://ci.ruby-lang.org/ruby/trunk@21331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-04* range.c (range_step): should not add up errors on loops.matz
[ruby-dev:37691] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-04* random.c (rb_f_srand): update RDoc. [ruby-core:21113]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-04* 2009-01-05svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-04* range.c (range_max): max value from ... not defined for nonmatz
Integer Numeric end values. [ruby-dev:37690] fix: #974 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-04* ext/socket/socket.c (rb_getaddrinfo): defined for address lookup without GVL.akr
(struct getaddrinfo_arg): defined. (nogvl_getaddrinfo): defined. (rb_getnameinfo): defined for name lookup without GVL. (getnameinfo_arg): defined. (nogvl_getnameinfo): defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-04* enc/trans/gbk.trans, gbk-tbl.rb:duerst
new Chinese GBK 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@21315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-04* test/ruby/test_transcode.rb: added tests for GB2312duerst
(from Yoshihiro Kambayashi) * enc/trans/chinese.trans: set valid byte patterns for GB2312 and GB12345 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-04* enc/trans/big5.trans, big5-tbl.rb:duerst
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
2009-01-04* lib/rubygems.rb (Gem.set_home, Gem.set_paths): should not createnobu
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