summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * test/ruby/test_rational.rb: add a test.mame2008-12-022-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_range.rb: add a test.mame2008-12-022-0/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_string.rb: add some tests.mame2008-12-022-0/+47
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-12-03svn2008-12-021-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (Init_pty): fix typo.mame2008-12-022-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open3.rb (Open3.popen3): merge hash options if given. akr2008-12-023-19/+298
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* move the previous comment.akr2008-12-022-26/+28
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add comment for select behavior on file descriptors over FD_SETSIZE.akr2008-12-021-0/+26
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/protocol.rb (Net::BufferedIO#rbuf_fill): usematz2008-12-022-3/+16
| | | | | | | | read_nonblock instead of sysread wrapped by timeout to boost performance. a patch from Aaron Patterson in [ruby-core:20191]. fix #806 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_tcp.rb (test_recvfrom): already can run on mswin32.usa2008-12-021-3/+2
| | | | | | | | * test/socket/test_tcp.rb (test_recvfrom, test_encoding): use IP address instead of host name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-12-02svn2008-12-021-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/socket/test_tcp.rb (test_recvfrom, test_encoding): shouldn't assumeusa2008-12-021-4/+4
| | | | | | | that th is not nil. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * set 1.9.1-p5000 into version number. [ruby-dev:36998]yugui2008-12-012-4/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (register_sigaltstack): no need to define on non-sigaltstackusa2008-12-012-2/+9
| | | | | | | | platform. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (rb_fiber_start): calls with exact argument number.nobu2008-12-013-2/+16
| | | | | | | [ruby-core:20088] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-12-01svn2008-12-011-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.nobu2008-12-010-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * man/rake.1: new manual pageyugui2008-11-302-0/+173
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* man/goruby.1: fix typoyugui2008-11-301-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_regexp.rb (TestRegexp#test_parse_curly_brace):yugui2008-11-302-1/+8
| | | | | | | now accepts quantifier on anchrs agian by r20391. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-11-30svn2008-11-291-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * man/irb.1 (EXAMPLES): new sectionyugui2008-11-292-0/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * man/irb.1: typo fixyugui2008-11-291-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (is_invalid_quantifier_target): Perl and old Rubymatz2008-11-292-0/+9
| | | | | | accepts quantifier on anchors. [ruby-core:20161] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_getaddrinfo): should have updated formatz2008-11-292-1/+6
| | | | | | Mac OS X. a patch from Shumpei Akai in [ruby-dev:37234] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-11-29svn2008-11-281-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (fiber_alloc): separate allocation and initialization.matz2008-11-282-17/+31
| | | | | | allow subclass to override #initialize. [ruby-core:20086] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_s_getaddrinfo): refactored to removematz2008-11-282-37/+23
| | | | | | code duplication regarding getaddrinfo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangLog: spell miss.keiju2008-11-281-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/foerwardable.rb: should be usable def_single_delegator forkeiju2008-11-282-18/+116
| | | | | | | | Class and Module. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (simple_default_value): extracts simplest defaultnobu2008-11-285-2/+273
| | | | | | | | | | | | | | | argument value. * iseq.c (rb_iseq_parameters): returns parameter list. * proc.c (get_proc_iseq, get_method_iseq): handles ifunc and bmethod. * proc.c (rb_proc_parameters, rb_method_parameters): added Proc#parameters and Method#parameters. [ruby-core:19759] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_DoDivmod): bigdecimalmatz2008-11-273-7/+10
| | | | | | | division (including modulo) should raise ZeroDivisionError as integer division. [incompatible] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-11-28svn2008-11-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flodivmod): floating point division should raisematz2008-11-273-3/+7
| | | | | | ZeroDivisionError as integer division. [incompatible] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_mark): still needs to check stack depth during GC.matz2008-11-272-6/+18
| | | | | | * gc.c (stack_check): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (rb_strftime): should add padding for %%.tadf2008-11-272-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (register_sigaltstack): stores alt stack for debugnobu2008-11-272-14/+19
| | | | | | | purpose. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (ruby_sigaction_t): added.nobu2008-11-271-4/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (ALT_STACK_SIZE): default minimum size is insufficientnobu2008-11-272-2/+17
| | | | | | | for method calls. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (ruby_stack_check): no check if using sigaltstack.nobu2008-11-274-4/+131
| | | | | | | | | | | | | | | | * signal.c (register_sigaltstack): minimum size is insufficient for method calls. * signal.c (sigsegv): handles stack overflow if possible. * thread.c (ruby_thread_stack_overflow): helper function to raise sysstack_error. * thread_pthread.c (ruby_stack_overflowed_p): checks for stack overflow. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-11-27svn2008-11-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_div2): should returnmatz2008-11-272-1/+12
| | | | | | | | | Integer for #div operation. * ext/bigdecimal/bigdecimal.c (BigDecimal_div2): should raise ZeroDivisionError if divisor is zero. [ruby-dev:37207] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (STRFTIME): use rb_strftime() recursively, instead ofmatz2008-11-262-9/+14
| | | | | | platform's strftime(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (VpException): bigdecimal zeromatz2008-11-264-9/+21
| | | | | | | | | | division should raise FloatDomainError if mode VP_EXCEPTION_ZERODIVIDE is set. [ruby-dev:37204] * ext/bigdecimal/bigdecimal.c (BigDecimal_mode): should handle VP_EXCEPTION_ZERODIVIDE. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add comment and test.akr2008-11-261-2/+32
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/gdbm/gdbm.c (rb_gdbm_nextkey): fix memory leak.kazu2008-11-262-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_to_r): raise exceptionmatz2008-11-252-12/+22
| | | | | | | | for nan/inf conversion. [ruby-dev:37187] fix #793 * ext/bigdecimal/bigdecimal.c (BigDecimal_to_i): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (VpAlloc): avoid ALLOCA_N() to avoidmatz2008-11-253-45/+70
| | | | | | | | | | | | | | segmentation fault caused by (insanely) long decimal values. [ruby-dev:37189] fix #794 * ext/bigdecimal/bigdecimal.c (BigDecimal_dump, BigDecimal_to_i, BigDecimal_to_f, BigDecimal_to_s, BigDecimal_split, BigDecimal_inspect): ditto. * ext/bigdecimal/bigdecimal.c (VpToString): small performance improvement. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-11-26svn2008-11-251-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (STRFTIME): should add padding for %[xXrR] etc.matz2008-11-252-1/+11
| | | | | | [ruby-dev:37185] fix: #792 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e