aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * test/openssl/test_asn1.c: String#[]= doesnt't accept Integer.gotoyuzo2006-07-022-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-03matz2006-07-021-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_inspect): encode \b (\010) for escape.matz2006-07-022-0/+15
| | | | | | | | | [ruby-dev:28927] * string.c (rb_str_dump): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* cancelled r1.25tadf2006-07-021-3/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/racc/cparse/cparse.c: sync with original code, rev 1.7.aamine2006-07-022-3/+10
| | | | | | | * ext/racc/cparse/cparse.c: must require version.h to get RUBY_VERSION_CODE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/racc/cparse/cparse.c: sync with original source code, rev 1.6.aamine2006-07-022-48/+47
| | | | | | | * ext/racc/cparse/cparse.c: do not use rb_iterate to give a block to the method, use rb_block_call instead. [ruby-dev:28445] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_reopen): STDOUT.reopen(filename, "w+") didn't work.akr2006-07-022-2/+9
| | | | | | | | | (rb_io_reopen): STDOUT.reopen(File.open(filename, "w+")) didn't work. This commit is a result of hacks at the CodeFest Akihabara 2006 hosted by FSIJ. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-02matz2006-07-011-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (PUSH_FRAME): initialize frame->self. [ruby-dev:28911]matz2006-07-013-3/+10
| | | | | | | | | | | * configure.in: should test isinf for Solaris with GCC compiler. a patch from <ville.mattila at stonesoft.com>. [ruby-core:07791] * configure.in: -shared patch from Andrew Morrow <andrew.c.morrow at gmail.com>. [ruby-core:08100] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/webrick/utils.rb: use Proc#yield instead of Proc#call.gotoyuzo2006-07-011-0/+5
| | | | | | | [ruby-dev:28914] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/webrick/utils.rb: use Proc#yield instead of Proc#call.gotoyuzo2006-07-011-1/+1
| | | | | | | [ruby-dev:28914] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a note for cygwin empty UDP packet problem.akr2006-07-011-2/+6
| | | | | | | This commit is a result of hacks at the CodeFest Akihabara 2006 hosted by FSIJ. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_nonblock.rb: add timeout to send/receiveakr2006-07-012-2/+11
| | | | | | | | an empty UDP packet. [ruby-dev:28820] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fixed the alignment problems discussed in [ruby-dev:28667].ttate2006-06-304-34/+50
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-07-01ttate2006-06-301-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: should test isinf for Solaris with GCC compiler.matz2006-06-302-1/+8
| | | | | | | [ruby-core:08100] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httputils.rb (WEBrick::HTTPUtils._escape): shouldgotoyuzo2006-06-302-1/+7
| | | | | | | | use String#ord to get ascii code from the one-character string. [ruby-dev:28901] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-06-30gotoyuzo2006-06-301-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_mark_children): a bug in NODE_BLOCK_PASS marking.matz2006-06-292-3/+7
| | | | | | | [ruby-dev:28908] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: use ARGSPUSH instead of ARGSCAT to prevent too muchmatz2006-06-294-2/+22
| | | | | | | | | | | | | | | splat expansion. * eval.c (when_check): need to handle ARGSPUSH as well. * eval.c (block_orphan): lambda and proc from method are always orphan. * gc.c (gc_mark_children): proper marking for NODE_BLOCK_PASS and NODE_LAMBDA. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (SETUP_ARGS0): avoid GC problem.akr2006-06-292-1/+7
| | | | | | | [ruby-dev:28902] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_version): fix patchmatz2006-06-292-2/+5
| | | | | | | failure. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c: add RDoc document. a patch frommatz2006-06-297-38/+705
| | | | | | | mathew <meta at pobox.com>. [ruby-core:07050] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add optparse.rb to .document.drbrain2006-06-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RDoc patch by Robin Stocker <robin@nibor.org>drbrain2006-06-282-638/+491
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-06-29drbrain2006-06-281-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_cstr_to_dbl): underscores should appear onlymatz2006-06-282-7/+9
| | | | | | | between digits. [ruby-dev:28891] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_unix.rb: test_seqpacket_pair removed.akr2006-06-282-18/+5
| | | | | | | [ruby-dev:28846] git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@10416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-06-28matz2006-06-271-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@10403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-06-27eban2006-06-261-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@10400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert sock_sysaccept addition to [ruby-dev:28861].akr2006-06-262-4/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@10392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add extconf.h.akr2006-06-252-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e