aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * version.h: bump up to 1.9.2 patchlevel -1.akr2009-02-024-6/+17
| | | | | | | | | | yugui recommend "-1" strongly. * lib/rubygems/version.rb: accept negative patchlevel. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_initialize): make 3rd argument, protocol,akr2009-02-023-8/+24
| | | | | | | optional. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/constants.c (cmsg_type_arg): INET6 check.usa2009-02-022-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/dir.h: forgot to commit.usa2009-02-022-4/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/option.c: use INET6 instead of IPV6.akr2009-02-022-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/{options,raddrinfo}.c: use INET6 instead of AF_INET6 forusa2009-02-023-2/+9
| | | | | | | | VC++6. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (f_signbit): regard NaN as a positive value.shugo2009-02-022-1/+8
| | | | | | | [ruby-dev:37861]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb (valid_syntax?), test/ruby/test_system.rbnobu2009-02-023-4/+10
| | | | | | | | (TestSystem::valid_syntax?): use catch and throw instead of return inside BEGIN block. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/rubysocket.h (cmsg_type_arg): declared.akr2009-02-0210-0/+1259
| | | | | | | | | | | | | | | | | | | | | | (Init_ancdata): ditto. * ext/socket/init.c (Init_socket_init): call Init_ancdata. * ext/socket/constants.c (cmsg_type_arg): defined. * ext/socket/depend: add dependency for ancdata.o. * ext/socket/mkconstants.rb: generate scm_optname_to_int. more constants. * ext/socket/extconf.rb: add ancdata.o. * ext/socket/ancdata.c: new file. new method BasicSocket#{sendmsg,sendmsg_nonblock,recvmsg,recvmsg_nonblock} git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eol-stylenobu2009-02-020-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (open_dir_handle, rb_w32_opendir, move_to_next_entry,usa2009-02-022-27/+42
| | | | | | | | rb_w32_readdir, check_valid_dir): change backend API from A to W. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/rubysocket.h (rb_cSockOpt): declared.akr2009-02-0210-8/+428
| | | | | | | | | | | | | | | | | | | | | | | (sockopt_new): ditto. (Init_sockopt): ditto. * ext/socket/init.c (Init_socket_init): call Init_sockopt. * ext/socket/depend: add dependency for option.o * ext/socket/mkconstants.rb: generate intern_level, intern_so_optname, intern_ip_optname, intern_ipv6_optname, intern_tcp_optname, intern_udp_optname and intern_scm_optname. * ext/socket/extconf.rb: add option.o. * ext/socket/basicsocket.c (bsock_setsockopt): accept Socket::Option object. (bsock_getsockopt): return Socket::Option object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (vm_backtrace_each): progname is not available atnobu2009-02-022-2/+7
| | | | | | | initializing phase. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* r21932 was for [ruby-core:21619].nobu2009-02-011-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/server.rb (Server#serve): gets rid of hardcodednobu2009-02-018-16/+30
| | | | | | | | | | | | | | | | | | | | | | platform names. * lib/resolv.rb (Resolv::Hosts::DefaultFileName), (Resolv::DNS::Config.default_config_hash): tries win32/resolv on mswin64 too. * lib/rubygems/specification.rb (Gem::Specification#ruby_code): aded mswin64. * lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command): spawn is better to start a process in background. * ext/extmk.rb: uses FNM_SYSCASE. * instruby.rb: installs win32.h on mswin64 platform. [ruby-core:21722] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (vm_backtrace_each): now takes an iterator function.nobu2009-02-016-57/+76
| | | | | | | | | | | | | | * vm_core.h (rb_make_backtrace, rb_backtrace_each): added prototypes. * vm_dump.c (rb_vm_bugreport), vm_eval.c (rb_backtrace): gets rid of allocating objects. * vm_eval.c (rb_backtrace_each): new function which iterates over each backtrace info. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-02-02svn2009-02-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_filesystem_encoding): Windows' filesystem encoding isusa2009-02-012-1/+7
| | | | | | | | | sometimes ANSI code page and sometimes OEM code page. we should check whether code page is used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (rb_fiber_current), dln.c (dln_print_undef, dln_undefined),nobu2009-02-017-13/+13
| | | | | | | | | | | eval.c (rb_iterator_p, rb_need_block), load.c: (Init_load), ruby.c (uscore_get, rb_f_chop), st.c (stat_col), signal.c (rb_signal_buff_size, ruby_sig_finalize), thread.c (rb_thread_sleep_forever, rb_thread_sleep_deadly, rb_thread_alone): protoized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/raddrinfo.c (addrinfo_ipv4_private_p): new method.akr2009-02-013-1/+84
| | | | | | | | (addrinfo_ipv4_loopback_p): ditto. (addrinfo_ipv4_multicast_p): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (Switch#summarize): strips an equal sign fromnobu2009-02-012-1/+13
| | | | | | | | short option, and fills right sides in shorter lines. [ruby-talk:326414] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_const_get_0), vm_insnhelper.c (vm_get_ev_const):nobu2009-01-315-3/+22
| | | | | | | avoids infinite self recursion autoload. [ruby-core:21696] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc.akr2009-01-311-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb (assert_equal): show class in failureakr2009-01-312-0/+9
| | | | | | | message if meaningful. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix rdoc.akr2009-01-311-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS#each_address): don't query IPv6 addressakr2009-01-312-1/+18
| | | | | | | if the host has no global IPv6 address. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (STR2CSTR): removed.akr2009-01-315-26/+11
| | | | | | | | | | (rb_str2cstr): removed. * object.c (rb_str2cstr): removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/raddrinfo.c (addrinfo_ipv6_unspecified_p): new method.akr2009-01-313-3/+234
| | | | | | | | | | | | | | | | | (addrinfo_ipv6_loopback_p): ditto. (addrinfo_ipv6_multicast_p): ditto. (addrinfo_ipv6_linklocal_p): ditto. (addrinfo_ipv6_sitelocal_p): ditto. (addrinfo_ipv6_v4mapped_p): ditto. (addrinfo_ipv6_v4compat_p): ditto. (addrinfo_ipv6_mc_nodelocal_p): ditto. (addrinfo_ipv6_mc_linklocal_p): ditto. (addrinfo_ipv6_mc_sitelocal_p): ditto. (addrinfo_ipv6_mc_orglocal_p): ditto. (addrinfo_ipv6_mc_global_p): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2009-01-311-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * load.c (rb_require_safe): raises when the path to be loaded isnobu2009-01-312-1/+10
| | | | | | | tainted. [ruby-dev:37843] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (optflags): defaulted to -O3 to get rid of slug ofnobu2009-01-312-1/+6
| | | | | | | gcc 4.3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (List#accept, parse_in_order): n option is nonobu2009-01-312-4/+9
| | | | | | | longer needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-01-311-24/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#each_child): new method.akr2009-01-313-1/+37
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-01-311-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-01-31svn2009-01-301-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rbakr2009-01-302-1/+7
| | | | | | | | (Test::Unit::Assertions#assert_nothing_raised): supress warning. [ruby-core:21312] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref.akr2009-01-301-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#realdirpath): new method.akr2009-01-304-21/+89
| | | | | | | | [ruby-dev:36290] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_write): limit write size to 32KB if the fileusa2009-01-302-3/+23
| | | | | | | | seems to be console. [ruby-core:21613] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c (Init_curses): Curses#crmode andkouji2009-01-302-2/+8
| | | | | | | | Curses#nocrmode changes to the module function. fix #916 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot (prereq): remove enc.mk from tarball becauseusa2009-01-302-9/+6
| | | | | | | | BSD make checks $(srcdir)/enc.mk and try to run $(builddir)/enc.mk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/depend: extract comile rules to each target for VC++.usa2009-01-302-11/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (RUBYDEF): depends on makefiles.nobu2009-01-302-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cygwin/GNUmakefile.in (RUBYDEF): adds DATA to non-function symbolsnobu2009-01-302-1/+6
| | | | | | | which is not marked as T. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb (assert_respond_to): gets rid ofnobu2009-01-302-0/+10
| | | | | | | overcounting. [ruby-dev:37703] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2009-01-291-1/+45
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-01-30svn2009-01-291-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (rb_econv_init_by_convpath_i): make it static.akr2009-01-292-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * load.c (rb_feature_provided): should not calculate len by pointershugo2009-01-292-1/+7
| | | | | | | | subtraction because feature may be a expanded path. [ruby-core:21267] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e