aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * dln.c (rb_w32_check_imported): workaround for VC6.nobu2010-05-163-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (mnew): initialize a field. a patch from Takahiro Kambe.mame2010-05-162-0/+6
| | | | | | [ruby-dev:41312] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (setup_exception): let SystemStackError#backtrace return anmame2010-05-162-0/+6
| | | | | | single element array instead of string itself. [ruby-core:30196] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_read_escape, parser_tokadd_escape): allow a hex ormame2010-05-163-5/+11
| | | | | | | | octal encoded character after \c. This seemed to be prohibited at r13836, but its ChangeLog mentions nothing about this prohibition. So I assume this prohibition is not intended. [ruby-core:27229] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby/test_rubyoptions.rb (TestRubyOptions#test_segv_test):yugui2010-05-162-1/+6
| | | | | | fixes "NoMethodError: undefined method `[]=' for nil:NilClass" git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_conv_from_wchar): use ECONV_UNDEF_REPLACE.nobu2010-05-161-8/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (proc_binding): don't propagative filename and line_no ofmame2010-05-163-3/+16
| | | | | | | | binding that is created from C level. [ruby-dev:41322] * vm_eval.c (eval_string_with_cref): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (rb_w32_check_imported): check if extension library to benobu2010-05-164-24/+65
| | | | | | | loaded imports from different ruby dll. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (dln_find.o): fix dependency.nobu2010-05-162-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (dln_find.o): fix dependency.nobu2010-05-162-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (rb_loaderror): use locale string, not ascii-8bit.nobu2010-05-163-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (fiber_set_stack_location), iseq.c (prepare_iseq_build),nobu2010-05-163-4/+4
| | | | | | | node.c (dump_node): suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/missing.h (signbit): add missing prototype.nobu2010-05-162-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/json_tree.rb: using factory methods fortenderlove2010-05-162-10/+20
| | | | | | | node creation * ext/psych/lib/psych/visitors/yaml_tree.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (rb_iconv_sys_fail): fix number of arguments.nobu2010-05-162-1/+6
| | | | | | | a patch by Masaya TARUI <tarui AT prx.jp>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-05-16svn2010-05-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: can not load libruby.so if gcc is used withkanemoto2010-05-152-6/+7
| | | | | | | --enable-shared on AIX. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (rb_iconv_sys_fail): raise BrokenLibrary ifnobu2010-05-153-2/+19
| | | | | | | errno is not set. [ruby-dev:41317] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rubyoptions.rb (test_segv_test): VC runtime adds some messagesusa2010-05-141-2/+12
| | | | | | | when SEGV occurs git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb: skip some tests on Windows.usa2010-05-141-17/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_float): strip ".0" from end for rubyspec.nobu2010-05-132-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io_m17n.rb (test_textmode_paragraph_binaryread):nobu2010-05-131-2/+0
| | | | | | use opened pipes by with_pipe. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-05-14svn2010-05-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.c (rb_thread_struct): add a field for sigaltstack.mame2010-05-135-12/+30
| | | | | | | | | | * thread_pthread.c (thread_start_func_1): initialize machine stack information. * thread.c (thread_start_func_2): set sigaltstack for each sub thread. [ruby-core:24540] [ruby-core:30207] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/ffs.c (ffs): fixed for non-zero values.akr2010-05-132-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2010-05-131-0/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/scanf/test_scanf.rb (ScanfTests#each_test): yield in order.nobu2010-05-131-7/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/console/console.c (get_write_fd): return primary fd if nonobu2010-05-133-1/+15
| | | | | | io is tied for writing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io_m17n.rb (TestIO_M17N#test_cbuf_select),nobu2010-05-131-11/+11
| | | | | | (TestIO_M17N#test_textmode_paragraphmode): close pipes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (swallow): should use more_char() instead of fill_cbuf().usa2010-05-132-5/+6
| | | | | | | suggested by akr. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/console/console.c (console_set_echo, console_echo_p): usenobu2010-05-132-2/+7
| | | | | | primary fd. [ruby-dev:41309] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_invoke_block): iseq_t.type is VALUE.nobu2010-05-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb: skip some tests on Windows.usa2010-05-131-45/+62
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: Harmonize documentation, in particular regarding:marcandre2010-05-1312-275/+456
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - methods returning enumerators - array methods and argument naming (array -> ary, an_array -> new_ary) - minor improvements, typo fixed and styling issues Other documentation errors fixed: - return value was self instead of a new array (or vice-versa) for Array#{pop,shift,permutation,repeated_permutation,keep_if} - Array#rindex was missing the form with a block. * dir.c: ditto. * enum.c: ditto. Modified Enumerable#reverse_each' documentation to clarify that #each will be finish before any element is yielded. * error.c: ditto. * gc.c: ditto. * hash.c: ditto. * io.c: ditto. IO#{codepoints,each_codepoint} fixed as per [ruby-core:23948] * numeric.c: ditto. * range.c: ditto. * string.c: ditto. * struct.c: ditto. * vm_eval.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io_m17n.rb (test_stdin_external_encoding_with_reopen): skipusa2010-05-131-0/+1
| | | | | | | on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_float): use minimal representation.nobu2010-05-133-84/+58
| | | | | | | * numeric.c (ruby_dbl2cstr): split from rb_float_new. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h (rb_vm_get_sourceline): moved from eval_intern.h fornobu2010-05-133-1/+6
| | | | | | | vm_dump.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (swallow): small optimize.usa2010-05-131-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [Bug #1576]usa2010-05-131-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (swallow): support text mode and UTF-16/32 as internal encoding.usa2010-05-132-9/+48
| | | | | | | * io.c (io_shift_cbuf): read and throw it away when str is NULL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2010-05-130-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: link with ffs.obj.usa2010-05-132-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-05-13svn2010-05-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sdbm/_sdbm.c: include unistd.h before sdbm.h for off_t.akr2010-05-122-4/+10
| | | | | | | fix compilation problem on FreeBSD 6.4. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (rb_quad_pack): deprecated.akr2010-05-122-2/+7
| | | | | | | (rb_quad_unpack): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2010-05-121-8/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* new test file.akr2010-05-121-0/+73
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix the comment.akr2010-05-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (rb_big_abs_find_minbit): use ffs().akr2010-05-125-2/+63
| | | | | | | | | | | | * configure.in: check ffs(). * missing/ffs.c: new file. * include/ruby/missing.h (ffs): declared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_to_s): fixed broken output including nuls.nobu2010-05-122-2/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e