summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * test/ruby/test_comparable.rb (TestComparable#cmp): suppress warnings.nobu2009-11-081-16/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_callback.rb: eol-style.nobu2009-11-080-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_callback.rb (**) adding a callback test filetenderlove2009-11-081-0/+32
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cfunc.c (**) updating documentationtenderlove2009-11-082-6/+46
| | | | | | | * test/dl/test_cfunc.rb (test_ptr=, test_ptr) testing the pointer accessor methods on CFunc git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-08svn2009-11-071-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cptr.c (rb_dlptr_inspect): making inspect consistent acrosstenderlove2009-11-072-3/+3
| | | | | | | platforms * test/dl/test_cptr.rb (test_inspect): testing inspect git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb (PP::ObjectMixin#pretty_print): use to_s regardless ofakr2009-11-073-4/+7
| | | | | | | instance variables. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_push_frame): get rid of out-of-boundsnobu2009-11-074-2/+10
| | | | | | | access. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (VM_CALLEE_SETUP_ARG): revert r25521.matz2009-11-072-21/+15
| | | | | | [ruby-core:26427] [ruby-core:26447] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_push_frame): add CHECK_STACK_OVERFLOW.matz2009-11-074-14/+38
| | | | | | | | | | | | | | | | | [ruby-dev:39592] * eval.c (rb_longjmp): add 1 level backtrace for sysstack_error without calling any method to prevent further stack overflow. * eval.c (make_exception): don't call #exception for sysstack_error to prevent stack overflow. * proc.c (Init_Proc): don't freeze sysstack_error. * eval.c (rb_longjmp): move reentrant check after exception preparation. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cfunc.c (rb_dlcfunc_initialize): cleaning up C macrostenderlove2009-11-062-9/+53
| | | | | | | * ext/dl/cfunc.c (**): adding documentation * test/dl/test_cfunc.rb (test_set_calltype) testing calltype git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cptr.c (rb_dlptr_s_malloc, rb_dlptr_initialize): addingtenderlove2009-11-062-0/+35
| | | | | | | | documentation * test/dl/test_cptr.rb (**): testing that malloc works when passed free functions git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cptr.c (rb_dlptr_to_str, rb_dlptr_to_s) adding documentationtenderlove2009-11-062-4/+51
| | | | | | | * test/dl/test_cptr.rb (test_to_str, test_to_s) testing the stringification of DL::Ptr git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-07svn2009-11-061-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cptr.c (rb_dlptr_inspect, rb_dlptr_plus, rb_dlptr_minus)tenderlove2009-11-062-3/+43
| | | | | | | | documenting +, -, inspect * text/dl/test_cptr.rb (test_minus, test_plus, test_inspect) testing minus, plus, and inspect git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_header): split the line by tabs.nobu2009-11-062-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (MINIDLNOBJ): set default as dmydln.o.naruse2009-11-062-4/+6
| | | | | | Now LLVM clang seems to be able to build Ruby 1.9. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_filesystem_encindex): add fallback tonaruse2009-11-062-0/+6
| | | | | | ASCII-8BIT on Windows. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_case.rb: merged r25658 from ruby_1_8.kazu2009-11-052-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-06svn2009-11-051-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2009-11-051-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo.akr2009-11-051-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gem_prelude.rb (Gem.user_home): force_encoding(naruse2009-11-052-1/+6
| | | | | | Encoding.find('filesystem')). [ruby-core:26525] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Retry on checking signal_received.naruse2009-11-051-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 300 should be enough for testing cyclic byte succ.naruse2009-11-051-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (BEGIN): now local_push are local_pop are necessary innobu2009-11-042-4/+6
| | | | | | | ripper. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-05svn2009-11-041-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Decrease counts of tests which spend so long time.naruse2009-11-042-4/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add rdoc about objects can't Marshal#dump. [ruby-core:23314]naruse2009-11-041-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .document: add some README files to default rdoc's of trunk.naruse2009-11-042-1/+19
| | | | | | patched by Roger Pack [ruby-core:26459] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.akr2009-11-047-33/+33
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: entry for r25640.nobu2009-11-041-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/st.h (SIZEOF_ST_INDEX_T): moved from st.c fornobu2009-11-043-3/+8
| | | | | | | Init_RandomSeed(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (NUM2CHR): prefix __extension__ forshyouhei2009-11-042-1/+6
| | | | | | | braced-groups within expressions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (set_{internal,external}_encoding_once): fixed typos.nobu2009-11-042-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (mnew): Fix scope issue [ruby-core:26069]marcandre2009-11-042-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (rb_hash_start): moved from string.c.nobu2009-11-032-35/+37
| | | | | | | | | * random.c (Init_RandomSeed2): register global address before set. * random.c (Init_RandomSeed): initialize hashseed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_check): moved other checks from GetDIR.nobu2009-11-032-7/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (GetDIR): fixed a variable name.nobu2009-11-032-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (rb_fiber_start): fixed unconditional test.nobu2009-11-032-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_cptr.rb (test_to_ptr*): testing DL::CPtr#to_ptrtenderlove2009-11-032-7/+61
| | | | | | | * ext/dl/cptr.c (rb_dlptr_free_set, rb_dlptr_free_get, rb_dlptr_s_to_ptr): adding documentation, fixing indentation git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.akr2009-11-0326-71/+71
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cptr.c (rb_dlptr_eql, rb_dlptr_cmp): DL::CPtr#== and DL::CPtr#<=>tenderlove2009-11-033-1/+43
| | | | | | should not raise an exception when compared to a different object. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-04svn2009-11-031-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_upto): make next object before yield its block.naruse2009-11-033-3/+23
| | | | | | | fix: can modify original begin string of String#upto. [ruby-dev:26384] [ruby-dev:39626] #2327 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (fiber_free): don't free unallocated local_storage. see #1325.wanabe2009-11-022-2/+19
| | | | | | | | | | | | | * cont.c (cont_init): clear local_storage not to use current thread's. * cont.c (fiber_t_alloc, root_fiber_alloc): link itself always for a case that fiber_link_remove() is called before fiber_link_join(). * cont.c (fiber_init): clear cont->vm_stack and th->stack before root_fiber_alloc() in rb_fiber_current(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_exc_raise, rb_exc_fatal, rb_make_exception):nobu2009-11-022-3/+8
| | | | | | | suppressed shorten-64-to-32 warnings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (native_stop_timer_thread): delay joinning timerusa2009-11-022-1/+8
| | | | | | | | thread after unlocking mutex. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (native_stop_timer_thread): need to join timer threadusa2009-11-022-1/+6
| | | | | | | | only when really stopping it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_{pthread,win32}.c (native_stop_timer_thread): join the threadusa2009-11-024-3/+30
| | | | | | | | | | | | | here. * thread_{pthread,win32}.c (native_reset_timer_thread): new function. * thread.c (rb_thread_stop_timer_thread, rb_thread_reset_timer_thread): call above function instead of simply seting 0. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e