nobu
0f9422ef23
* load.c (load_lock): warn for circular require. [ruby-core:20794],
...
[ruby-core:20797]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 02:25:42 +00:00
akr
13a468db17
* ext/socket/lib/socket.rb (Socket.tcp_server_sockets): extracted from
...
Socket.tcp_server_loop.
(Socket.accept_loop): ditto.
(Socket.unix_server_socket): extracted from Socket.unix_server_loop.
(Socket.unix_server_loop): use Socket.accept_loop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 23:36:43 +00:00
akr
2df1053c1d
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 23:30:46 +00:00
nobu
fe39ce87dd
* test/ruby/test_readpartial.rb (make_pipe): readpartial does not
...
work in text mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 23:21:10 +00:00
nobu
5ac71d9f9e
* cygwin/GNUmakefile.in (RUBYDEF): uses mkexports.rb on cygwin too.
...
* win32/mkexports.rb (Exports::Cygwin): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 23:18:30 +00:00
nobu
dc960b8729
* tool/generic_erb.rb: fixed typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 23:15:59 +00:00
nobu
42e0d76c25
* common.mk (Doxyfile): moved from Makefile.in.
...
* template/Doxyfile.tmpl: split from Doxyfile.in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 23:10:28 +00:00
nobu
209cfdcfb5
* win32/win32.c (rb_w32_write): use of cast expressions as lvalues
...
is deprecated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 23:01:43 +00:00
nobu
b256c5fb8f
* ext/socket/extconf.rb (in_pktinfo, in6_pktinfo),
...
ext/socket/ancdata.c: defined in w32api/ws2tcpip.h on cygwin but
cannot compile for some reason.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 22:58:03 +00:00
akr
e53c88a44f
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 22:31:50 +00:00
nobu
a1dd4a613a
* missing/langinfo.c (nl_langinfo_codeset): accepts iso-8859
...
fragment. [ruby-core:21757]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 22:02:16 +00:00
nobu
28155915a5
* mkconfig.rb (patchlevel): config.status may not contain
...
PATCHLEVEL even if other version numbers exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 22:01:26 +00:00
svn
04ae31eb24
* 2009-02-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 15:02:48 +00:00
akr
2b241a3395
add ML ref.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 15:02:44 +00:00
akr
9946e700c1
* ext/socket/raddrinfo.c (Init_addrinfo): add AddrInfo#to_s as an
...
alias of AddrInfo#to_sockaddr.
* ext/socket/option.c (Init_sockopt): add Socket::Option#to_s as an
alias of Socket::Option#data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 14:44:28 +00:00
matz
092861f37d
* array.c (rb_ary_sort_by_bang): RDoc update. [ruby-core:21742]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 12:05:06 +00:00
knu
2654904a1a
* enumerator.c: Introduce id_each to save rb_itern() and SYM2ID()
...
calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 11:50:49 +00:00
yugui
1d551324bb
adds a test case for r21955 and r21917.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 11:33:08 +00:00
akr
416ab0f7be
fix typos.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 11:09:19 +00:00
akr
352dcd9ee7
* test/socket/test_addrinfo.rb: use AddrInfo.getaddrinfo to generate
...
IPv6 address. AddrInfo.ip generates IPv4 address for IPv4 mapped
IPv6 address if --with-lookup-order-hack=INET.
[ruby-dev:37868]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 10:59:17 +00:00
matz
765a6be700
* array.c (rb_ary_sort_by_bang): new method. requested in
...
[ruby-core:21709]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 10:43:27 +00:00
matz
1d07fd73d8
* doc/NEWS-1.9.1: typo fixed: collect_all -> collect.
...
[ruby-core:21706]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 10:19:26 +00:00
akr
678b9240ca
strip trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 09:34:36 +00:00
nobu
083e01b006
* cygwin/GNUmakefile.in (dir.o, win32.o): depend on win32/dir.h.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 08:23:15 +00:00
usa
b204d48f76
* mkconfig.rb: patchlevel is somtimes minus.
...
* win32/resource.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 08:14:06 +00:00
akr
29bd89281b
* ext/socket/ancdata.c (cmsg_type_to_sym): add #ifdef for no IPv6
...
environment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 08:12:10 +00:00
akr
21675bb6a7
reduce test time.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 08:08:52 +00:00
nobu
ce44723cf8
* file.c (rb_find_file_ext): should not be infected from other
...
load paths.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 08:05:59 +00:00
nobu
aac16ed13e
* file.c (rb_home_dir): needs p on DOSISH.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 07:59:35 +00:00
nobu
043f665274
* dir.c (dir_s_home): new method. [ruby-core:21454]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 07:33:08 +00:00
nobu
4072b83916
eol-style
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 07:31:08 +00:00
akr
41eb896e09
* version.h: bump up to 1.9.2 patchlevel -1.
...
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
2009-02-02 07:07:59 +00:00
akr
5ad05f37a5
* ext/socket/socket.c (sock_initialize): make 3rd argument, protocol,
...
optional.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 05:55:56 +00:00
usa
57d85f32f5
* ext/socket/constants.c (cmsg_type_arg): INET6 check.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 05:23:23 +00:00
usa
197747f7d6
* win32/dir.h: forgot to commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 05:19:51 +00:00
akr
b41a9abb6a
* ext/socket/option.c: use INET6 instead of IPV6.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 05:18:55 +00:00
usa
bf23d53b94
* ext/socket/{options,raddrinfo}.c: use INET6 instead of AF_INET6 for
...
VC++6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 03:48:31 +00:00
shugo
a98cbcbf0b
* complex.c (f_signbit): regard NaN as a positive value.
...
[ruby-dev:37861].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 03:45:28 +00:00
nobu
ce720ca0dc
* sample/test.rb (valid_syntax?), test/ruby/test_system.rb
...
(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
2009-02-02 03:39:01 +00:00
akr
61fc0c6cf4
* ext/socket/rubysocket.h (cmsg_type_arg): declared.
...
(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
2009-02-02 02:51:02 +00:00
nobu
c618d018d8
eol-style
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 02:34:07 +00:00
usa
41e770944e
* win32/win32.c (open_dir_handle, rb_w32_opendir, move_to_next_entry,
...
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
2009-02-02 01:59:05 +00:00
akr
ef9206bbea
* ext/socket/rubysocket.h (rb_cSockOpt): declared.
...
(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
2009-02-02 01:53:02 +00:00
nobu
a2d8643e93
* vm.c (vm_backtrace_each): progname is not available at
...
initializing phase.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-02 00:49:40 +00:00
nobu
7b5c9eb041
r21932 was for [ruby-core:21619].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-01 23:52:39 +00:00
nobu
2478f1caaf
* lib/xmlrpc/server.rb (Server#serve): gets rid of hardcoded
...
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
2009-02-01 23:12:52 +00:00
nobu
a7b5c603b4
* vm.c (vm_backtrace_each): now takes an iterator function.
...
* 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-01 22:36:15 +00:00
svn
1c4e92c185
* 2009-02-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-01 21:53:19 +00:00
usa
9bd77cfd77
* encoding.c (rb_filesystem_encoding): Windows' filesystem encoding is
...
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
2009-02-01 21:53:14 +00:00
nobu
845103b751
* cont.c (rb_fiber_current), dln.c (dln_print_undef, dln_undefined),
...
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
2009-02-01 12:51:44 +00:00