aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * bignum.c (rb_big_pack): use DIGSPERLONG and BITSPERDIG.akr2010-03-072-4/+9
| | | | | | | (rb_big_unpack): use DIGSPERLONG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c: Fix documentation for each/each_line/lines, bytes/each_byte,marcandre2010-03-074-124/+98
| | | | | | | | | | codepoints/each_code_point [ruby-core:23948] * string.c: ditto * ext/stringio/stringio.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* describe new optional arugment for Pathname#realpath and Pathname#realdirpath.akr2010-03-071-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2010-03-071-0/+39
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c: add optional basedir argument for realpath/realdirpath.akr2010-03-075-30/+102
| | | | | | | | | | | | | (realpath_internal): handle basedir. (rb_file_s_realpath): extract basedir from argument list. (rb_file_s_realdirpath): extract basedir from argument list. * lib/pathname.rb (realpath): pass basedir. (realdirpath): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (enc_set_filesystem_encoding):naruse2010-03-063-13/+9
| | | | | | | | | | filesystem encoding on Mac OS X is now default external encoding. so Mac OS X is now treated as one of Unix. [ruby-dev:40439] * file.c (file_path_convert): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-03-07svn2010-03-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (Hash#merge doc): Added explanation for form with block.marcandre2010-03-061-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* useless lines removed.akr2010-03-061-2/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c: fix the prototype of rb_big2ulong_pack.akr2010-03-062-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_s_write, rb_io_s_binwrite): delete File#write andmame2010-03-063-175/+17
| | | | | | | | | | #binwrite. It may take a long time to make them stable, so 1.9.2 should not include them. We need refactoring to implement them again. * test/ruby/test_io.rb: delete tests for them. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_s_binwrite): use mode "r+b" instead of "ab" to handlemame2010-03-063-9/+16
| | | | | | | | offset correctly. [ruby-core:28517] * test/ruby/test_io.rb: use assert_equal instead of assert. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-03-06svn2010-03-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (config.h): VC6 has __int64.usa2010-03-052-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (econv_opts): set :undef => :replace whennaruse2010-03-052-0/+10
| | | | | | :replace is given and :invalid is not given. [ruby-dev:40554] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open): suppressed a warning.nobu2010-03-053-5/+14
| | | | | | | | | * win32/win32.c (rb_w32_map_errno, winnt_stat, rb_chsize): ditto. * win32/win32.c (rb_w32_aspawn): get rid of overflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-03-05svn2010-03-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (signbit): defined on mingw.nobu2010-03-052-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add comment.akr2010-03-041-0/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (setup_exception): avoid line number 0 when settingmame2010-03-042-1/+11
| | | | | | $DEBUG=true. [ruby-dev:39116] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_s_write, io_s_binwrite): add File#write and #binwrite.mame2010-03-043-8/+182
| | | | | | | | [ruby-core:21701] * test/ruby/test_io.rb: add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ref.wanabe2010-03-041-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_profile_total_time): add GC::Profiler.total_time.wanabe2010-03-043-0/+33
| | | | | | * NEWS: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: Adding Enumerable#each_entry to the new method listmarcandre2010-03-041-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (m_log, m_exp): remove unused functions.naruse2010-03-042-24/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/lib/**/*.rb: not executable.nobu2010-03-043-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_env.rb (TestEnv#test_select_bang): add tests.mame2010-03-032-0/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_hash.rb (TestHash#test_keep_if): fix typo.kazu2010-03-032-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix rdoc.akr2010-03-031-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-03-04svn2010-03-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/transcode-tblgen.rb (HEX2): extracted from regexps.akr2010-03-032-11/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_real_check): raise TypeError instead of ArgumentErrormarcandre2010-03-033-2/+10
| | | | | | | | when argument is not a real as expected [ruby-core:28395] * rational.c (nurat_int_check): ditto (for integers) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb (Vector#each): Return self and optimization [ruby-core:28405]marcandre2010-03-032-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_select_bang): add #select! and keep_if to Hash.matz2010-03-033-0/+107
| | | | | | * hash.c (env_select_bang): ..and to ENV. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb (Vector#each2, collect2): small refactoring.matz2010-03-032-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb (Vector#each): make Vector enumerable. matz2010-03-032-0/+16
| | | | | | [ruby-core:28405] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_select_bang): select! removes all elements formatz2010-03-033-0/+76
| | | | | | | | which block returns false. [ruby-core:27286] * array.c (rb_ary_keep_if): #keep_if, new method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (signbig): defined.nobu2010-03-023-1/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub, symbian/setup (config.h): pack.c requiresnobu2010-03-025-6/+35
| | | | | | | SIZEOF_INT*_T now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_lines, rb_io_bytes, rb_io_chars, rb_io_codepoints):mame2010-03-022-81/+63
| | | | | | | change to alias to each_*, in similar way to ARGF and String. [ruby-core:23948] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regcomp.c (noname_disable_map): add NT_ANCHOR case.naruse2010-03-022-1/+39
| | | | | | | | | | Without this change, captured groups in anchors (look-ahead, look-behind, and so on) are not removed and unintended invalid backref error occur. [ruby-core:28235] * regcomp.c (renumber_by_map): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_closure.rb: forget to revert at r26764.muraken2010-03-022-130/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_find_file_ext_safe, rb_find_file_safe): skip argumentnobu2010-03-022-7/+25
| | | | | | | checks in file_expand_path(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_math.rb: Fix lgamma testmarcandre2010-03-022-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-03-02svn2010-03-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/oniguruma.h: updated to follow Oniguruma 5.9.2.matz2010-03-0116-173/+118
| | | | | | | | * re.c (make_regexp): use onig_new() instead of onig_alloc_init(). * re.c (rb_reg_to_s): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (pty_open): refine the path for master IO.akr2010-03-012-2/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (zstream_expand_buffer_into): remove compare different ↵takano322010-03-012-3/+7
| | | | | | type values warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-03-01svn2010-03-011-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (mingw): do not detect snprintf/vsnprintf.wanabe2010-03-012-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e