summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * test/socket/test_unix.rb: test_seqpacket_pair removed.akr2006-06-282-18/+5
| | | | | | | [ruby-dev:28846] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (when_check): arbitrary values are allowed after splats.nobu2006-06-282-2/+8
| | | | | | | fixed: [ruby-dev:28879] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (primary): remove meaningless else-only case statementmatz2006-06-282-16/+5
| | | | | | | syntax. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): problem to handle else part. [ruby-dev:28873]matz2006-06-272-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): support splat in when expression list.matz2006-06-272-52/+64
| | | | | | | | | | | [ruby-dev:28822] * eval.c (when_check): a new auxiliary function for case match. * eval.c (when_cond): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-06-28matz2006-06-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_cstr_to_dbl): should not skip '_' at the beginningmatz2006-06-273-13/+10
| | | | | | | | | of a string. [ruby-dev:28830] * bignum.c (rb_cstr_to_inum): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c: RDoc update for =~ method. a patch from Alex Youngmatz2006-06-275-31/+51
| | | | | | | | | | | | | | | | <alex at blackkettle.org>. [ruby-core:08068] * io.c (pipe_open): backout unnecessary fix on 2006-06-26. [ruby-dev:28865] * eval.c (rb_yield_0): exact argument number check now done only for lambda Proc. * eval.c (rb_yield_0): add check for number of arguments, if there's one lambda block parameter. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open): backout unnecessary fix on 2006-06-26.matz2006-06-271-21/+11
| | | | | | | | | | | | | [ruby-dev:28865] * eval.c (rb_yield_0): exact argument number check now done only for lambda Proc. * eval.c (rb_yield_0): add check for number of arguments, if there's one lambda block parameter. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c: forgot to update TCLTKLIB_RELEASE_DATE.nagai2006-06-273-7/+14
| | | | | | | | * ext/tk/lib/tk.rb (tk_tcl2ruby): [bug fix] somtimes fail to convert a tcl string to a ruby object if the tcl string includes "\n". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.h: define isascii on MinGW for msvcrt compatibility.eban2006-06-273-0/+10
| | | | | | | | * configure.in: set ac_cv_header_sys_time_h=no on MinGW for msvcrt compatibility. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/etc.c (setup_passwd, setup_group): allow bignum uid, gid andnobu2006-06-273-7/+25
| | | | | | | so on. [ruby-talk:199102] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0): avoid core dump. [ruby-dev:28840]akr2006-06-272-1/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add --system, --site, --home and --gems to limit ri search path.drbrain2006-06-264-36/+124
| | | | | | | Allow --doc-dir to be specified mulitple times. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (bsock_recv_nonblock): new methodakr2006-06-264-135/+141
| | | | | | | | | | | BasicSocket#recv_nonblock. (udp_recvfrom_nonblock): renamed from ip_recvfrom_nonblock. IPSocket#recvfrom_nonblock is moved to UDPSocket#recvfrom_nonblock. (unix_recvfrom_nonblock): removed. UNIXSocket#recvfrom_nonblock is removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-06-27eban2006-06-261-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ripper/eventids2.c (token_assoc): added tCHAR, which is notnobu2006-06-262-0/+6
| | | | | | | under 256 now. fixed: [ruby-dev:28832] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert sock_sysaccept addition to [ruby-dev:28861].akr2006-06-262-4/+21
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (call_trace_func): no check for argument number of thenobu2006-06-262-1/+6
| | | | | | | callback. fixed: [ruby-dev:28812] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_accept): revert to avoid ambiguity ofmatz2006-06-267-373/+475
| | | | | | | | | | | | | | | argument evaluation order. [ruby-dev:28861] * ext/socket/socket.c (sock_accept_nonblock): ditto. * io.c (pipe_open): avoid closing uninitialized file descriptors. a patch from <tommy at tmtm.org> [ruby-dev:28600] * parse.y: replace terminal token names with more descriptive name, i.e. kEND to keyword_end. [ruby-list:42477] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c (ip_delete): fix SEGV when a slave-ip is deletednagai2006-06-262-2/+5
| | | | | | | on callback. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, mkconfig.rb: catch-up for latest autoconf.nobu2006-06-253-20/+20
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add extconf.h.akr2006-06-252-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ML ref: [ruby-dev:28843]akr2006-06-250-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref.akr2006-06-251-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (paren_args): wrap $2 by escape_Qundef because it may beakr2006-06-252-1/+6
| | | | | | | Qundef. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* support some kind of method of word. [ruby-Bugs#3237]suke2006-06-253-14/+57
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* avoid Argument Error.suke2006-06-251-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* change test class name.suke2006-06-251-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-06-25eban2006-06-241-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add message for an assertion.akr2006-06-241-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refine previous description.akr2006-06-241-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): use rb_ary_new2 instead of rb_ary_new4 to avoidakr2006-06-243-6/+16
| | | | | | | | | | | | GC problem. (rb_yield_values): use rb_ary_new2 instead of rb_ary_new4. * array.c (rb_ary_new4): don't set len as n. make it safe with GC. [ruby-dev:28826] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-06-24eban2006-06-241-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add extconf.h to .cvsignore.akr2006-06-2425-0/+26
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h, lib/drb/drb.rb, lib/drb/invokemethod.rb: remove Values class.akr2006-06-234-3/+7
| | | | | | | [ruby-dev:28805] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fixed typo.nobu2006-06-231-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_block_pass): removed.nobu2006-06-232-81/+10
| | | | | | | | * eval.c (rb_thread_start_1): use rb_proc_yield() instead of rb_block_pass(). fixed: [ruby-dev:28794] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-06-23eban2006-06-231-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTPResponse): duplicated error 501;matz2006-06-232-1/+6
| | | | | | | HTTPInternalServerError should be error 500. [ruby-core:08037] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_mod_name): returns nil for anonymous modules.matz2006-06-222-2/+7
| | | | | | | [ruby-talk:198440] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-06-22eban2006-06-221-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_aref): "abc"[3] should not return an emptymatz2006-06-222-0/+11
| | | | | | | string but nil. [ruby-dev:28786] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_s_socketpair): try GC only once.akr2006-06-212-7/+14
| | | | | | | [ruby-dev:28778] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fixed an issue about mathn.tadf2006-06-212-2/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/getaddrinfo.c (freeaddrinfo, get_name): fixed typo.usa2006-06-214-5/+12
| | | | | | | | | * ext/tk/tcltklib.c (tcl_eval, tcl_global_eva): ditto. * ext/zlib/zlib.c (rscheck): constified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb (PP::PPMethods::seplist): should have preservedmatz2006-06-212-3/+8
| | | | | | | original reference to the array. [ruby-dev:28747] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (block_param): do not use multiple assignment for a solematz2006-06-216-38/+60
| | | | | | | | | | | | | | | block parameter. [ruby-dev:28710] * eval.c (rb_yield_0): pass a raw yielded value to a sole block parameter if a value is passed by yield. * eval.c (proc_invoke): args may not be an array. * eval.c (rb_proc_yield): pass original value without wrapping it in an array. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use fork to isolate rlimit effect.akr2006-06-211-7/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (method_call): remove (fn)(args) style lambdamatz2006-06-214-19/+34
| | | | | | | invocation, add fn.(args) instead. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e