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

21112 Коммитов

Автор SHA1 Сообщение Дата
akr d0e9ac151e * ext/pathname/pathname.c (path_rmdir): Pathname#rmdir translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 21:08:19 +00:00
naruse ef5948f0dc Update NEWS to add about License.
On backporting License change, r29262 and r29265 should be backported.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 16:14:05 +00:00
naruse 84842f7784 Add BSDL file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 15:40:52 +00:00
naruse 2fe39b8864 * ext/readline/extconf.rb: Remove Readline 6 check because
Ruby's license is now GPLv3 compatible. [ruby-core:28736]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 15:40:15 +00:00
svn 1c96fb4371 * 2010-09-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 15:35:32 +00:00
naruse 2cd6800fd8 * COPYING: change Ruby's License from a dual license with GPLv2
to a dual license with 2-clause BSDL.
  [ruby-dev:42166] [ruby-core:31971]
  [ruby-dev:39167] [ruby-core:25272]

* COPYING.ja: ditto.

* BSDL: added. this is from The FreeBSD License.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 15:35:31 +00:00
akr 363ed27fa7 * ext/pathname/pathname.c (path_mkdir): Pathname#mkdir translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 12:07:43 +00:00
shyouhei cc9b6ba611 reverting; http://rubyforge.org/tracker/?func=detail&atid=4099&aid=28566&group_id=1040
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 07:56:04 +00:00
shyouhei 6bab4ea991 * lib/test/unit/assertions.rb (Test::Unit::Assertions::assert_nothing_raised):
should properly ignore MiniTest::Skip

	* lib/minitest/unit.rb (MiniTest::Assertions::assert_raises):
	  ditto.

	* test/net/imap/test_imap.rb: Properly skip SSL tests when
	  localhost is not 127.0.0.1.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 06:01:00 +00:00
shyouhei 64beb15dbc add ChangeLog entry for the previous one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 04:40:40 +00:00
shyouhei 0d58b7a4e6 * test/net/imap/test_imap.rb: "localhost" not guaranteed to
resolve to "127.0.0.1".  On my machine it is "::1" instead.
	  The problem is, you have to connect to the imaps server via
	  the canonical name written in a server certificate, and that
	  of the server.cert is "localhost".  So you have to listen to
	  the address of what "localhost" resolves to.  I think this
	  situation cannot be resolved in a handy manner because the
	  test "test_imaps_post_connection_check" is actually
	  expecting to connect to a server via an address other than
	  the CN.  On my machine several assertions won't pass because
	  the test cannot connect to the server.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 04:37:45 +00:00
nobu 61ee785c61 * io.c (rb_io_puts): fix for wide char encoding strings.
[ruby-dev:42212]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-15 00:12:05 +00:00
nobu 3f4a73f0e1 * ext/socket/raddrinfo.c (ruby_getaddrinfo__darwin): suppress a
warning.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-14 23:26:03 +00:00
nobu 757f5bcb97 * string.c (rb_str_times): mentioned about Hash argument. a patch
from Daniel Bovensiepen at [ruby-core:32386].

* sprintf.c (get_hash): ditto, and fix typo.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-14 22:27:54 +00:00
akr f84f164413 * ext/pathname/pathname.c (path_entries): Pathname#entries translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-14 22:23:09 +00:00
svn d3a0629afc * 2010-09-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-14 17:15:31 +00:00
tenderlove 204f8d6820 * ext/fiddle/closure.c : Don't use FFI closure alloc on OpenBSD.
Thanks Jeremy Evans! [ruby-core:32384]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-14 17:15:30 +00:00
akr bf77099923 * ext/pathname/pathname.c (path_s_getwd): Pathname.getwd and
Pathname.pwd translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-14 11:18:37 +00:00
akr 6d9b5fdffc * ext/pathname/pathname.c (path_s_glob): Pathname.glob translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 20:14:04 +00:00
svn 1428b74ff9 * 2010-09-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 16:02:36 +00:00
kanemoto 54886d0876 suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 16:02:35 +00:00
akr 878747437c * ext/pathname/pathname.c (path_zero_p): Pathname#zero? translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 11:48:58 +00:00
nobu ccd7af7e83 * test/openssl/test_bn.rb: property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 10:57:47 +00:00
nobu 4c916ec8b7 * ext/socket/rubysocket.h (__DARWIN_ALIGNBYTES): workaround of a
bug in system header of darwin 9.  [ruby-core:32341]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 10:56:52 +00:00
nobu 3e86bd8f3a * lib/mkmf.rb (try_do): fix typo. a patch from Peter Weldon
at [ruby-core:32327].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 09:11:58 +00:00
knu bed2696508 Make punctuation consistent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 07:58:47 +00:00
naruse 2590d7447a * util.c (ruby_strtod): reject Float('0x0.').
[ruby-dev:42239] Bug #3820

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 01:15:39 +00:00
naruse 1973984f90 Add ML ref [ruby-dev:42225] for r29237.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 01:15:36 +00:00
naruse 6ebb345dd7 * ext/openssl/ossl_bn.c (ossl_bn_is_prime): fix comparison
with rb_scan_args. Before this fix, OpenSSL::BN#prime?
  is fully broken.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-13 00:40:10 +00:00
svn f31eccfa18 * 2010-09-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-12 21:46:07 +00:00
akr a335ded4c9 * ext/pathname/pathname.c (path_writable_real_p):
Pathname#writable_real? translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-12 21:46:04 +00:00
tadf d50b19ff27 * lib/date.rb: [ruby-core:32096] Thanks Colin Bartlett.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-12 12:24:17 +00:00
akr 5cc5e1c5be * ext/pathname/pathname.c (path_world_writable_p):
Pathname#world_writable? translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-12 10:31:01 +00:00
akr a42f6882c8 * ext/pathname/pathname.c (path_writable_p): Pathname#writable?
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-12 00:26:19 +00:00
akr 3f0fd715f4 update document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-12 00:15:27 +00:00
akr 7bda092ee8 update document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-11 23:43:13 +00:00
akr d900ed31f7 * process.c (rlimit_resource_name2int): support more limits:
RLIMIT_MSGQUEUE, RLIMIT_NICE, RLIMIT_RTPRIO, RLIMIT_RTTIME and
  RLIMIT_SIGPENDING.
  (Init_process): ditto.
  patch by Run Paint Run Run.  [ruby-core:32262]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-11 23:38:44 +00:00
akr c755baf85f update document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-11 19:55:08 +00:00
svn 62c1171560 * 2010-09-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-11 19:28:09 +00:00
akr b4ac655acc * process.c (rlimit_resource_name2int): use STRCASECMP to avoid
ALLOCA_N.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-11 19:28:07 +00:00
nobu da47bbd1db * hash.c (ruby_setenv): raise if putenv and SetEnvironmentVariable
failed, because of the restriction of the size on Windows.
  based on a patch from Peter Weldon at [ruby-core:32304].  fix:
  Bug#3812, [ruby-core:32250]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-11 07:47:44 +00:00
drbrain 073e6ccc7b Add documentation for WEBrick's DigestAuth
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-11 06:21:51 +00:00
nobu 6329215dbf * include/ruby/intern.h (rb_set_kcode, rb_get_kcode): removed
zombie prototype declarations.  a patch from Eric Hodel
  at [ruby-core:32305].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-11 03:32:08 +00:00
akr 72e1df781b fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-11 00:19:10 +00:00
svn e13bd1ba01 * 2010-09-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-10 21:54:27 +00:00
akr 0f070a1f4b * ext/pathname/pathname.c (path_symlink_p): Pathname#symlink?
translated from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-10 21:54:24 +00:00
akr 1a8a6580e9 * ext/pathname/pathname.c (path_sticky_p): Pathname#sticky? translated
from pathname.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-10 14:04:07 +00:00
nahi a4fa58f9ab * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#continue): add
method for generating HTTP/1.1 100 continue response if the client
          expects it, otherwise does nothing.  Patch by Brian Candler.
          ref #855.

        * test/webrick/test_httprequest.rb: test added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-10 10:20:35 +00:00
nahi 7f438d8402 * ext/openssl/lib/openssl/x509-internal.rb: removed unused local
variable.

        * test/openssl/*: less warnings while test running with -w.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-10 08:54:50 +00:00
knu cb81b56de2 Mention rb_scan_args().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-10 08:20:47 +00:00