summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * lib/pp.rb (PP::ObjectMixin#pretty_print): use to_s regardless ofakr2009-11-071-0/+5
| | | | | | | 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-071-0/+5
| | | | | | | 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-071-0/+5
| | | | | | [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-071-0/+16
| | | | | | | | | | | | | | | | | [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
* * lib/mkmf.rb (create_header): split the line by tabs.nobu2009-11-061-0/+4
| | | | 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-061-0/+5
| | | | | | 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-061-0/+5
| | | | | | 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-051-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25665 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
* * gem_prelude.rb (Gem.user_home): force_encoding(naruse2009-11-051-0/+5
| | | | | | Encoding.find('filesystem')). [ruby-core:26525] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (BEGIN): now local_push are local_pop are necessary innobu2009-11-041-0/+5
| | | | | | | ripper. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .document: add some README files to default rdoc's of trunk.naruse2009-11-041-0/+5
| | | | | | patched by Roger Pack [ruby-core:26459] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25649 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-041-0/+5
| | | | | | | 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-041-0/+5
| | | | | | | 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-041-0/+4
| | | | 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-041-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_check): moved other checks from GetDIR.nobu2009-11-031-1/+3
| | | | 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-031-0/+4
| | | | 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-031-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.akr2009-11-031-3/+3
| | | | 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-031-0/+5
| | | | | | 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
* * string.c (rb_str_upto): make next object before yield its block.naruse2009-11-031-0/+6
| | | | | | | 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-021-0/+12
| | | | | | | | | | | | | * 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-021-0/+5
| | | | | | | 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-021-0/+5
| | | | | | | | 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-021-0/+5
| | | | | | | | 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-021-0/+10
| | | | | | | | | | | | | 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
* * ext/dl/win32/lib/win32/registry.rb: update rdoc. [ruby-core:26022]naruse2009-11-021-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert r25623wanabe2009-11-021-11/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (fiber_free): don't free unallocated local_storage. see #1325.wanabe2009-11-011-0/+11
| | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@25623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c: fixed rdoc. [ruby-core:26457]naruse2009-11-011-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rb_cv_stack_grow_dir): fix for universal binary.nobu2009-11-011-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (sitehdrdir, vendorhdrdir): fixed default values.nobu2009-11-011-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (overlapped_socket_io, recvmsg, sendmsg): pass handlewanabe2009-11-011-0/+5
| | | | | | instead of pointer to CloseHandle(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (socket_s_ip_address_list): use FreeLibrary() towanabe2009-11-011-0/+5
| | | | | | | free HMODULE. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (GET_STACK_BOUNDS): refactored common code. based on anobu2009-10-311-0/+6
| | | | | | | | patch from Suraj N. Kurapati <sunaku AT gmail.com> in [ruby-core:26443]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_count): remove optimization using #size.matz2009-10-311-0/+7
| | | | | | | | revert r25560. * vm_eval.c (rb_funcall_no_recursive): remove method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (check_funcall): logic updated according tomatz2009-10-311-0/+12
| | | | | | | | | | | | | [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: http://svn.ruby-lang.org/repos/ruby/trunk@25601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTPResponse#each_response_header):nahi2009-10-311-0/+5
| | | | | | | cosmetic: '?\ ' -> '?\s' git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTPResponse#each_response_header):nahi2009-10-301-0/+8
| | | | | | | | | | accept multiline message header of HTTP response. see #1796. cf. RFC 2616 '4.2 Message Header'. * test/net/http/test_httpresponse.rb: added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (trnext): detect empty range and raise exception.matz2009-10-301-0/+5
| | | | | | [ruby-dev:39108] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (enum call_type): get rid of last comma.nobu2009-10-301-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (vm_call0, vm_call_super, rb_f_send, rb_f_public_send):nobu2009-10-301-1/+4
| | | | | | | fixed call_type. [ruby-dev:39581] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (rb_search_method_emtry, rb_method_call_status): splitnobu2009-10-301-0/+10
| | | | | | | | | | | | from rb_call0(). * vm_eval.c (rb_check_funcall): get rid of raising exceptions and hiding further exceptions. [ruby-dev:39584] * vm_eval.c (rb_funcall_no_recursive): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_blocking_region): reverted r25566, and addednobu2009-10-301-0/+6
| | | | | | | | description that no exception is allowed inside `func', instead. see [ruby-dev:39582] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32.c (recvmsg, sendmsg, link): shouldn't raise ruby's exceptionsusa2009-10-301-0/+6
| | | | | | | | | in the functions expected as system API. see [ruby-dev:39579] and [ruby-dev:39582] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_blocking_region): standard C doesn't acceptusa2009-10-301-0/+5
| | | | | | | | preprosessing directive within macro expansion. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_blocking_region): must ensure to unlock GVL.nobu2009-10-301-0/+5
| | | | | | | [ruby-dev:39579] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (RSTRING_END): trivial optimization.nobu2009-10-291-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e