aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix a typo.akr2009-11-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Retry on checking signal_received.naruse2009-11-051-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-05svn2009-11-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.akr2009-11-047-33/+33
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: entry for r25640.nobu2009-11-041-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (GetDIR): fixed a variable name.nobu2009-11-032-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (rb_fiber_start): fixed unconditional test.nobu2009-11-032-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.akr2009-11-0326-71/+71
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-04svn2009-11-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/win32/lib/win32/registry.rb: update rdoc. [ruby-core:26022]naruse2009-11-022-236/+246
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert r25623wanabe2009-11-022-17/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-02svn2009-11-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (fiber_free): don't free unallocated local_storage. see #1325.wanabe2009-11-012-4/+17
| | | | | | | | | | | | * 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): don't join half-baked fiber. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c: fixed rdoc. [ruby-core:26457]naruse2009-11-012-162/+158
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_STACK_GROW_DIRECTION): set return variable always.nobu2009-11-011-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rb_cv_stack_grow_dir): fix for universal binary.nobu2009-11-012-9/+43
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (sitehdrdir, vendorhdrdir): fixed default values.nobu2009-11-012-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (overlapped_socket_io, recvmsg, sendmsg): pass handlewanabe2009-11-012-3/+8
| | | | | | instead of pointer to CloseHandle(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (socket_s_ip_address_list): use FreeLibrary() towanabe2009-11-012-4/+9
| | | | | | | free HMODULE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (convert_type): Cleanup unused variablemarcandre2009-11-011-5/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cptr.c (rb_dlptr_ptr, rb_dlptr_ref) adding documentationtenderlove2009-11-012-0/+20
| | | | | | * test/dl/test_cptr.rb (test_ref_ptr) testing CPtr#ref and CPtr#ptr git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cptr.c (rb_dlptr_to_value) added documentationtenderlove2009-11-012-0/+11
| | | | | | * test/dl/test_cptr.rb (test_to_value) testing DL::CPtr#to_value git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cptr.c (rb_dlptr_size) splitting function to reduce complexitytenderlove2009-11-014-34/+110
| | | | | | | | | | | * ext/dl/cptr.c (rb_dlptr_null_p, rb_dlptr_aref, rb_dlptr_aset) adding documentation * ext/dl/dl.c (rb_dl_free) adding documentation * test/dl/test_cptr.rb (test_null?, test_size, test_size=, test_aref_aset) Improving test coverage * test/dl/test_dl2.rb (test_free_secure) improving test coverage git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_dl2.rb (**) testing malloc and realloctenderlove2009-11-012-0/+60
| | | | | | * ext/dl/dl.c (**) adding documentation git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (GET_STACK_BOUNDS): refactored common code. based on anobu2009-10-312-28/+21
| | | | | | | | patch from Suraj N. Kurapati <sunaku AT gmail.com> in [ruby-core:26443]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_count): remove optimization using #size.matz2009-10-313-21/+10
| | | | | | | | revert r25560. * vm_eval.c (rb_funcall_no_recursive): remove method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-01svn2009-10-311-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (check_funcall): logic updated according tomatz2009-10-312-16/+68
| | | | | | | | | | | | | [ruby-dev:39594]. search method entry, call if it exists; otherwise check method_missing, call if it was overridden, protecting exceptions; if NoMethodError happens, check method name. * vm_eval.c (vm_call0): use idMethodMissing. * vm_eval.c (rb_search_method_entry): typo fixed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTPResponse#each_response_header):nahi2009-10-312-1/+6
| | | | | | | cosmetic: '?\ ' -> '?\s' git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c (unpack_entries): fixed type.nobu2009-10-312-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e