Граф коммитов

8222 Коммитов

Автор SHA1 Сообщение Дата
why 50068c98ab 2006-08-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-31 04:14:55 +00:00
why a6487b236a * eval.c (ruby_init): rename top_cref to ruby_top_cref and export,
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
2006-08-31 04:14:53 +00:00
matz b22fc4ebb6 * gc.c (gc_sweep): typo fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-30 09:49:41 +00:00
matz e8f43ad081 * object.c (rb_Integer): Integer(nil) should raise TypeError.
[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
2006-08-30 09:46:57 +00:00
matz 51525e12b8 * lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::handle_method):
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-30 09:39:47 +00:00
nobu 2aaf22a9a1 2006-08-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-30 03:02:37 +00:00
nobu 59b1cef2f1 * numeric.c (flo_hash): improve collision.
* 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-30 03:02:35 +00:00
nobu 74ef5a647f 2006-08-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-29 10:11:29 +00:00
nobu 99bed88c85 * hash.c (rb_hash_s_create): fixed memory leak, based on the patch
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
2006-08-29 10:11:27 +00:00
drbrain 5d7609be1b Document and fix my commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-28 02:33:40 +00:00
drbrain 657b626899 Revert.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-28 02:33:04 +00:00
drbrain a4e85a53e5 Add digest.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-28 02:32:47 +00:00
drbrain cfdb83349e Make RDoc show up.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-28 02:31:58 +00:00
drbrain 6322272cea Fix call-seq in RDoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-28 02:31:34 +00:00
drbrain 6e83a71d3b Include attribution
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-27 23:03:20 +00:00
drbrain 92b0eb1f42 More comprehensive tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-27 22:52:21 +00:00
drbrain ddec6278cb 2006-08-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-27 22:25:11 +00:00
drbrain b963ffbf1d Fix documentation submitted by Rick Ohnemus. ruby-Bugs-5529. [ruby-core:08725]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-27 22:25:08 +00:00
kosako 0046f355c1 merge Oniguruma 4.4.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-27 12:58:22 +00:00
tadf 0384b2330c updated based on date2 3.8.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-25 23:09:30 +00:00
tadf 9b4bc065fe 2006-08-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-25 23:09:24 +00:00
kosako 1384f4689b add regint.h and oniguruma.h to dependence
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-25 12:38:28 +00:00
usa 8c65115c20 * test/wsdl/document/echo.rb: removed.
* 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-25 11:38:34 +00:00
nobu dc46d4a455 2006-08-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-25 07:06:18 +00:00
nobu 2e61b69722 * object.c (sym_call): check if the receiver is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-25 07:06:15 +00:00
nobu 319d2b185b * lib/rexml/source.rb (REXML::IOSource#initialize): encoding have to
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-22 15:25:43 +00:00
nobu 4da7e2b955 2006-08-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-22 15:25:39 +00:00
aamine 575f94043f * lib/net/smtp.rb: parameter `to_addrs' might be an Array, .flatten is required. [ruby-dev:29316]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-22 10:21:31 +00:00
naruse 2d99616ec8 * ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): fix regexp for euc-jp [ruby-dev:29344]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-22 03:41:46 +00:00
naruse e7c9022cff 2006-08-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-22 03:41:42 +00:00
nobu a35efc05ad * numeric.c (num_step): also return an enumerator object if no block
is given.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-20 02:47:13 +00:00
drbrain b8e1343f5e 2006-08-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-20 00:45:45 +00:00
drbrain 28b7dd0d53 Add TupleBag tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-20 00:45:42 +00:00
suke 0c2571d621 accept hash argument of Symbol key.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-19 07:53:27 +00:00
nobu ddf79e9b6d 2006-08-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-19 02:29:21 +00:00
nobu f50c13da99 * file.c (rb_file_s_rename): use errno if set properly.
fixed: [ruby-dev:29293]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-19 02:29:18 +00:00
matz 34deabcbac * lib/cgi.rb (CGI::out): specify -m0 to disable MIME decode. a
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-17 17:06:52 +00:00
matz 4138876882 2006-08-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-17 17:06:16 +00:00
nobu 79b82a8749 * file.c (rb_stat_[rRwWxX]): check for super user.
fixed: [ruby-core:08616]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-17 10:15:55 +00:00
nobu 5d863ccbac * ChangeLog: fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-17 06:21:20 +00:00
nobu 74eced22e9 * lib/mkmf.rb: added rdoc by Daniel Berger. [ruby-core:08177]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-17 05:47:50 +00:00
nobu eb73164cec 2006-08-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-17 05:47:30 +00:00
nobu 81b5dcb2a1 * marshal.c (r_byte): IO#getc returns one byte string now.
fixed: [ruby-dev:29255]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-16 08:47:18 +00:00
usa f2cc277216 * common.mk (pre-install-local): remove unnecessary code.
[ruby-dev:29249]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-16 08:24:00 +00:00
nobu efff5bc946 * process.c (proc_setuid, proc_setgid, proc_seteuid, proc_setegid):
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
2006-08-16 02:46:10 +00:00
nobu 59f4ea7387 * ruby.c (set_arg0): fill argv other than the first with an empty
string instead of NULL.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-16 02:11:21 +00:00
nobu 615543bf1f 2006-08-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-16 02:09:48 +00:00
aamine f4f7bc09e4 fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-15 02:27:19 +00:00
aamine a03909606e * lib/net/smtp.rb: support SMTP/SSL. Thanks Kazuhiro NISHIYAMA.
* lib/net/smtp.rb: new method SMTP.use_ssl?
* lib/net/smtp.rb: new method SMTP.enable_ssl.
* lib/net/smtp.rb: new method SMTP.disable_ssl.
* lib/net/smtp.rb: new method SMTP.default_ssl_port.
* lib/net/smtp.rb: new method SMTP.default_tls_port.
* lib/net/smtp.rb: now SMTP#enable_tls accepts a SSLContext object, instead of a verity and cert.  [FEATURE CHANGE]
* lib/net/smtp.rb: new method SMTP.ssl_context.
* lib/net/smtp.rb: new method SMTP.default_ssl_context.
* lib/net/smtp.rb: export SMTP.authenticate.
* lib/net/smtp.rb: export SMTP.auth_plain.
* lib/net/smtp.rb: export SMTP.auth_login.
* lib/net/smtp.rb: export SMTP.auth_cram_md5.
* lib/net/smtp.rb: export SMTP.starttls.
* lib/net/smtp.rb: export SMTP.helo.
* lib/net/smtp.rb: export SMTP.ehlo.
* lib/net/smtp.rb: export SMTP.mailfrom.
* lib/net/smtp.rb: export SMTP.rcptto.
* lib/net/smtp.rb: export SMTP.rcptto_list.
* lib/net/smtp.rb: export SMTP.data.
* lib/net/smtp.rb: export SMTP.quit.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-15 02:21:59 +00:00
aamine e86b8053d2 2006-08-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-15 02:21:55 +00:00