summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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
* * array.c (rb_ary_times): taint (and untrust) status should bematz2008-11-252-1/+10
| | | | | | inherited by "ary * 0". [ruby-dev:37024] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (rb_strftime): should not swallow incompletematz2008-11-252-4/+14
| | | | | | | | | formatter, e.g. "%E". [ruby-dev:37170] fix: #787 * strftime.c (rb_strftime): clear flags before processing unknown formatter, e.g. "%i". [ruby-dev:37180] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (rb_strftime): "%^P" should convert to upper case.matz2008-11-252-1/+6
| | | | | | [ruby-dev:37180] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (FMT): use "%0d" formatter for zero padding, not "%.d".matz2008-11-252-2/+10
| | | | | | | | | [ruby-dev:37168] fix: #768 * strftime.c (rb_strftime): %s to use zero padding by default. [ruby-dev:37180] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/blt/tabset.rb, ext/tk/lib/tkextlib/blt/tabnotebook.rb: nagai2008-11-245-18/+189
| | | | | | | | fix many bugs. Now, those work properly. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (num_step): treat infinite step specially.matz2008-11-242-4/+14
| | | | | | [ruby-dev:37157] fix: #781. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb (strftime): ignores '_' flag for %[LN].tadf2008-11-243-0/+24
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_fork): stops the timer thread during fork.nobu2008-11-244-7/+18
| | | | | | | | | | [ruby-dev:37117] * thread.c (rb_thread_start_timer_thread): timer thread needs system_working to be set. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (rb_strftime): The # flag should work with %a, %A, %b,shugo2008-11-243-0/+30
| | | | | | | | %B, and %h. [ruby-dev:37162] * test/ruby/test_time.rb (test_strftime): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (register_sigaltstack): should not add externalmatz2008-11-242-8/+15
| | | | | | variable (with some cosmetic changes). [ruby-dev:37158] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (rb_strftime): A width specifier for %t and %n shouldshugo2008-11-243-10/+32
| | | | | | | | work. [ruby-dev:37160] * test/ruby/test_time.rb (test_strftime): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (rb_strftime): The precision of %0N should be 9.shugo2008-11-243-3/+9
| | | | | | | [ruby-dev:37156] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (rb_strftime): The default precision should be 1, notshugo2008-11-243-4/+16
| | | | | | | | 0. [ruby-dev:37155] * test/ruby/test_time.rb (test_strftime): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb (inspect): changed again.tadf2008-11-244-5/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-11-24svn2008-11-241-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb: r20251 reverted. The patched behavior do not roundmatz2008-11-242-28/+33
| | | | | | trip. [ruby-core:19988] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (default_handler, Init_signal): compile error ifyugui2008-11-232-0/+9
| | | | | | | USE_SIGALTSTACK is not defined. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-11-23svn2008-11-231-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (ALT_STACK_SIZE): 4KB is not enough on Mac OS X.yugui2008-11-232-0/+9
| | | | | | Uses SIGSTKSZ. this fixes [ruby-core:20040]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e