aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/tk/lib/tk/variable.rb: TkVariable#*(other) and /(other) have anagai2009-11-132-2/+7
| | | | | | | bug on handling of the "other" value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (rb_zlib_adler32): fix typo.mame2009-11-132-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_start_func_2): see first_func, not first_proc,nobu2009-11-132-3/+6
| | | | | | | to decide which to use. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_cptr.rb (**): using ruby_xfree instead of libc's freetenderlove2009-11-132-5/+5
| | | | | | * test/dl/test_func.rb (test_strdod): strtod needs a char ** argument git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (vm_xrealloc): use the given object space.nobu2009-11-132-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cptr.c (rb_dlptr_s_to_ptr): when wrapping a pointer it shouldtenderlove2009-11-122-1/+2
| | | | | | | keep a reference to the object it's wrapping * test/dl/test_func.rb use standard test methods git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-13svn2009-11-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/util.rb (CGI::pretty): fix the overflow bugxibbar2009-11-122-1/+6
| | | | | | if stripped string.[ruby-dev:37975] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/cgi/test_cgi_multipart.rb (_read):xibbar2009-11-121-5/+1
| | | | | | performance improvement in windows.[ruby-dev:39650] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/core.rb (read_from_cmdline): this code is better.xibbar2009-11-122-5/+6
| | | | | | [ruby-core:25991] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/telnet.rb: don't use simple delegate.xibbar2009-11-122-3/+6
| | | | | | because SimpleDelegate behavior changed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_win32.c (thread_errno): CreateThread does not set errno.nobu2009-11-122-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c: removed last comma of enum.nobu2009-11-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_create_core): moved failure handling fromnobu2009-11-124-9/+12
| | | | | | | native_thread_core(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (native_thread_create): constified.nobu2009-11-122-13/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .document: remove documents not in rdoc format untilnaruse2009-11-122-14/+6
| | | | | | rdoc supports non rdoc files. [ruby-core:26459] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile#initialize): option hash may not benobu2009-11-113-6/+31
| | | | | | | given. [ruby-core:26681] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-12svn2009-11-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (yielder_yield_push): Yielder#<< should return self.mame2009-11-112-1/+13
| | | | | | [ruby-dev:39660] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile#initialize): merge mode option.nobu2009-11-113-2/+10
| | | | | | | * lib/tmpdir.rb (Dir::Tmpname#create): splat options. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (ruby_setenv): use ruby_strdup().nobu2009-11-112-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (ruby_setenv): use ruby_strdup().nobu2009-11-111-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (ruby_setenv): also set CRT workarea. ref [ruby-core:25010]usa2009-11-112-18/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object, r_object0): use RHASH_IFNONE but not ifnonenobu2009-11-112-4/+9
| | | | | | | directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (blocking_region_begin): define before BLOCKING_REGION.akr2009-11-102-10/+16
| | | | | | | reported by Luis Lavena. [ruby-core:26670] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod): use dval() consistently.akr2009-11-102-10/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_func.rb (test_strtod): strtod test should not rely ontenderlove2009-11-101-2/+2
| | | | | | memory layout git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-11svn2009-11-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/matrix/test_matrix.rb (TestMatrix#test_rank):yugui2009-11-102-0/+103
| | | | | | added a test method for r24969. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_f_exec): fixed rdoc.nobu2009-11-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_f_exec, rb_f_system, rb_f_spawn): mentioned aboutnobu2009-11-093-5/+18
| | | | | | | | the shell to be used when the command line is single string. See [ruby-core:26652] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_gc_save_machine_context): don't save the stack pointerakr2009-11-092-17/+30
| | | | | | | | | | | | | | in this function. (RB_GC_SAVE_MACHINE_CONTEXT): call rb_gc_save_machine_context and save the stack pointer at caller side. (rb_thread_schedule_rec): use RB_GC_SAVE_MACHINE_CONTEXT instead of rb_gc_save_machine_context. (blocking_region_begin): changed to a macro. use RB_GC_SAVE_MACHINE_CONTEXT instead of rb_gc_save_machine_context. [ruby-dev:39659] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_each_line): rdoc fixmarcandre2009-11-092-5/+7
| | | | | | * ext/bigdecimal/bigdecimal.c (#infinite?, #nonzero?): rdoc fix git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (warnflags): add -Wno-long-long.nobu2009-11-093-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c: use RHASH_IFNONE but not ifnone directly.nobu2009-11-082-14/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_comparable.rb (TestComparable#cmp): suppress warnings.nobu2009-11-081-16/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_callback.rb: eol-style.nobu2009-11-080-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-08svn2009-11-071-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-07svn2009-11-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e