aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ruby.h (struct RString): embed small strings.matz2006-08-3143-512/+484
| | | | | | | | | | (RSTRING_LEN): defined for accessing string members. (RSTRING_PTR): ditto. * string.c: use RSTRING_LEN and RSTRING_PTR. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_shuffle_bang): new method.matz2006-08-314-9/+65
| | | | | | | | | | | | | | * array.c (rb_ary_shuffle): ditto. * random.c (genrand_real): ditto. * random.c (genrand_int32): export the function. * random.c (Init_Random): initialize random seed at the beginning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/blt.rb: double dashes (--) option doesn't worknagai2006-08-312-2/+8
| | | | | | | | properly on some versions of BLT (wrong description on the manual of `blt::bgexec'?). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-08-31why2006-08-311-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_init): rename top_cref to ruby_top_cref and export,why2006-08-313-5/+15
| | | | | | | | | along with ruby_cref, for use by the sandbox. [ruby-core:08762] * node.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_sweep): typo fixed.matz2006-08-302-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_Integer): Integer(nil) should raise TypeError.matz2006-08-303-6/+18
| | | | | | | | | | | | [ruby-talk:210205] * object.c (nil_to_s): no longer returns empty string but "nil". [ruby-talk:210205] * lib/mkmf.rb: avoid COMMON_HEADERS being nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::handle_method):matz2006-08-302-1/+8
| | | | | | | | rdoc documents C module methods as instance methods. a patch in [ruby-core:08536]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-08-30nobu2006-08-301-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_hash): improve collision.nobu2006-08-304-12/+21
| | | | | | | | * string.c (rb_memhash): new generic function to calculate hash value for memory chunk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-08-29nobu2006-08-291-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_s_create): fixed memory leak, based on the patchnobu2006-08-292-5/+19
| | | | | | | by Kent Sibilev <ksruby at gmail.com>. fixed: [ruby-talk:211233] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Document and fix my commit.drbrain2006-08-281-0/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert.drbrain2006-08-282-4/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add digest.cdrbrain2006-08-281-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Make RDoc show up.drbrain2006-08-281-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix call-seq in RDoc.drbrain2006-08-281-5/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Include attributiondrbrain2006-08-278-39/+46
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* More comprehensive tests.drbrain2006-08-271-23/+45
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-08-28drbrain2006-08-271-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix documentation submitted by Rick Ohnemus. ruby-Bugs-5529. [ruby-core:08725]drbrain2006-08-272-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge Oniguruma 4.4.0kosako2006-08-278-130/+828
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 3.8.2.tadf2006-08-254-533/+1097
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-08-26tadf2006-08-251-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add regint.h and oniguruma.h to dependencekosako2006-08-253-4/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/wsdl/document/echo.rb: removed.usa2006-08-253-93/+8
| | | | | | | | * test/wsdl/document/test_rpc.rb: remove echo.rb after test. [ruby-dev:29337] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-08-25nobu2006-08-251-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (sym_call): check if the receiver is given.nobu2006-08-252-1/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/source.rb (REXML::IOSource#initialize): encoding have tonobu2006-08-223-5/+10
| | | | | | | be set with the accessor. fixed: [ruby-list:42737] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-08-23nobu2006-08-221-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb: parameter `to_addrs' might be an Array, .flatten is ↵aamine2006-08-222-1/+6
| | | | | | required. [ruby-dev:29316] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): fix regexp for euc-jp ↵naruse2006-08-222-2/+7
| | | | | | [ruby-dev:29344] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-08-22naruse2006-08-221-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (num_step): also return an enumerator object if no blocknobu2006-08-202-1/+7
| | | | | | | is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-08-20drbrain2006-08-201-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add TupleBag tests.drbrain2006-08-201-0/+150
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* accept hash argument of Symbol key.suke2006-08-193-6/+61
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-08-19nobu2006-08-191-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_rename): use errno if set properly.nobu2006-08-192-1/+12
| | | | | | | fixed: [ruby-dev:29293] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::out): specify -m0 to disable MIME decode. amatz2006-08-172-4/+9
| | | | | | | patch from Fujioka <fuj at rabbix.jp>. [ruby-dev:29284] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-08-18matz2006-08-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_stat_[rRwWxX]): check for super user.nobu2006-08-172-1/+32
| | | | | | | fixed: [ruby-core:08616] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fixed typo.nobu2006-08-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: added rdoc by Daniel Berger. [ruby-core:08177]nobu2006-08-172-4/+122
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-08-17nobu2006-08-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_byte): IO#getc returns one byte string now.nobu2006-08-162-1/+6
| | | | | | | fixed: [ruby-dev:29255] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (pre-install-local): remove unnecessary code.usa2006-08-162-2/+5
| | | | | | | [ruby-dev:29249] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_setuid, proc_setgid, proc_seteuid, proc_setegid):nobu2006-08-162-3/+36
| | | | | | | get rid of bogus implementations on Mac OS X. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (set_arg0): fill argv other than the first with an emptynobu2006-08-162-11/+11
| | | | | | | string instead of NULL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2006-08-16nobu2006-08-161-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e