summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * 2009-11-17svn2009-11-161-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Adding yaml tests [ruby-core:26732]tenderlove2009-11-167-0/+231
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2009-11-162-84/+152
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_call_method): protected singleton methods ofshugo2009-11-164-2/+36
| | | | | | | | | | an object should not be able to called from other instances of the class of the object. [ruby-core:26761] * vm_eval.c (rb_method_call_status): ditto. * test/ruby/test_module.rb (test_protected_singleton_method): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (read_all): shift read buffer if exception occured.wanabe2009-11-162-1/+13
| | | | | | | pointed out in [ruby-dev:39702]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Rolled out last changeryan2009-11-161-3/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Minor cleanup to improve hash useryan2009-11-161-4/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix previous change.akr2009-11-151-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (read_all): don't call io_shift_cbuf until bufffering enough orwanabe2009-11-152-2/+17
| | | | | | | | | | | | econv_finished. [ruby-dev:39696] * io.c (more_char): don't call clear_readconv to read buffer after econv_finished. * io.c (appendline, rb_io_each_codepoint): clear readconv when done. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2009-11-151-1/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2009-11-151-0/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tests refined.akr2009-11-153-11/+38
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (rb_classext_t): annotate @internal.mame2009-11-152-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_filesystem_encindex): use default external encodingakr2009-11-153-2/+10
| | | | | | | | | | instead of locale encoding in Unix. * ruby.c (process_options): delay inifilesystem encoding initialization after default external encoding initialization. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2009-11-152-22/+83
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-16svn2009-11-151-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_cleanup_func): delete locking_mutex when threadmame2009-11-153-0/+32
| | | | | | | | | object become dummy because of fork. [ruby-core:26744] [ruby-core:26745] * bootstraptest/test_thread.rb: add a test for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_mod_init_copy): fix memory leak of Class#dup.mame2009-11-143-3/+16
| | | | | | [ruby-dev:39687] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (--with-opt-dir): ignore and suppress a warning.nobu2009-11-142-0/+8
| | | | | | | [ruby-dev:39684] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (ruby_setenv): get rid of crash in Solaris 8 and 10.nobu2009-11-142-1/+32
| | | | | | | [ruby-core:26668] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimalCmp): Fix comparisons [ruby-core:26646]marcandre2009-11-143-9/+25
| | | | | | * test/bigdecimal/test_bigdecimal.rb (class): Fix and improve tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/variable.rb (TkVariable::coerce): fix bug on a numeric value.nagai2009-11-132-4/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-14svn2009-11-131-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@25742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-13svn2009-11-121-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@25728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c: removed last comma of enum.nobu2009-11-121-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@25726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (native_thread_create): constified.nobu2009-11-122-13/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@25723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-12svn2009-11-111-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@25720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (ruby_setenv): use ruby_strdup().nobu2009-11-112-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (ruby_setenv): use ruby_strdup().nobu2009-11-111-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@25713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod): use dval() consistently.akr2009-11-102-10/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@25711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e