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

338 Коммитов

Автор SHA1 Сообщение Дата
nari 8283be280c * NEWS: describe RUBY_HEAP_SLOTS_GROWTH_FACTOR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-14 02:54:30 +00:00
drbrain f2a13e60d9 * lib/net/smtp.rb: Added Net::SMTP#rset method to implement the SMTP
RSET command.  [ruby-trunk - Feature #5373]
* NEWS:  ditto.
* test/net/smtp/test_smtp.rb:  Test for the above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-11 17:27:03 +00:00
kosaki cbd15bdb95 * NEWS (Mutex#owned?): no longer experimental.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-10 18:23:00 +00:00
marcandre dfde34cb3c * class.c (rb_mod_ancestors): Include singleton_class in ancestors list
[Feature #8035]

* test/ruby/test_module.rb (class): test for above

* test/ruby/marshaltestlib.rb (module): adapt test

* NEWS: list change

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-07 17:54:49 +00:00
kazu 1a76bf3911 fix major-mode for emacs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-25 00:44:08 +00:00
kazu beafa477f1 old ChangeLog and NEWS move to doc
* doc/NEWS-2.0.0: moved from NEWS
* doc/ChangeLog-2.0.0: moved ChangeLog older than created ruby_2_0_0 branch
* NEWS: NEWS for 2.1.0 that describes changes since 2.0.0
* ChangeLog: ChangeLog since created ruby_2_0_0 branch

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-25 00:41:07 +00:00
marcandre 87e0df89d2 * NEWS: Reorder and fix indent levels [ruby-core:52723]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-23 14:23:39 +00:00
marcandre 315c72e234 * NEWS: Fix RubyGems version [Bug #7920]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-23 13:57:30 +00:00
marcandre d52f95dc7a * NEWS: + Module.prepended and Module.prepend_features
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 23:18:47 +00:00
marcandre 8222a78e28 * NEWS: + Thread::Backtrace::Location
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 23:18:18 +00:00
marcandre a3d592b47a * NEWS: Add privacy of respond_to_missing? & al as a potential incompatibility
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 23:18:04 +00:00
marcandre 1727511e85 * NEWS: Fix ARGF#codepoints
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 23:17:49 +00:00
marcandre ed045985e7 * NEWS: Add that unused variables starting with _ won't generate a warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 23:17:35 +00:00
marcandre 15fcd78ff7 * NEWS: Add Enumerable::Lazy to list
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 23:17:21 +00:00
marcandre 11354e242a * NEWS: + RubyVM::InstructionSequence new methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 23:17:06 +00:00
marcandre 1ac0694c58 * NEWS: + ObjectSpace::WeakMap
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 23:16:52 +00:00
marcandre ca28854eef * NEWS: Specify that Proc#eql? was also removed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 23:16:38 +00:00
marcandre 3f8d180092 * NEWS: pending_interrupt? is both instance and singleton method
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 23:16:24 +00:00
marcandre e0003e074f * NEWS: Add Thread#pending_interrupt? and Thread.handle_interrupt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 23:16:10 +00:00
marcandre bc11b883a0 * NEWS: Floats are frozen too
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 23:15:55 +00:00
marcandre 10f953417b * NEWS: Add that Fixnums and Bignums are frozen
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 23:15:40 +00:00
naruse 062d2ee6f7 * ext/json: merge JSON 1.7.7.
This includes security fix. [CVE-2013-0269]
  d0a62f3ced
  https://groups.google.com/d/topic/rubyonrails-security/4_YvCpLzL58/discussion

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-12 03:05:45 +00:00
zzak a77af99a66 * NEWS: Add note about removal of CSV::load and CSV::dump from r39077
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-06 03:49:59 +00:00
nobu b3d12956b4 io-console.gemspec: bump
* ext/io/console/io-console.gemspec: bump.  [Bug #7762]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-03 07:54:29 +00:00
ktsj d127e92b85 * NEWS: add keyword arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-02 01:21:09 +00:00
marcandre 888ccebbb0 * NEWS: Improve wording
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-26 19:18:13 +00:00
tenderlove 89232d1dd9 updating news [Bug #6820]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-25 23:36:42 +00:00
sorah f1ef3d600d * NEWS (yaml): Write about bundled libyaml.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-24 10:56:47 +00:00
nobu cc6e6de22f re-fix documents
File.realdirpath(path) is not a shorthand for
File.dirname(File.realpath(path)), just does not err if the last
component does not exist.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-24 06:55:24 +00:00
nari 892e8efd47 fix documents. __dir__ is a shorthand File.realdirpath(__FILE__).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-24 05:35:05 +00:00
nari b5c0c4ee08 fix NEWS of __dir__
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-24 03:08:00 +00:00
drbrain cef8eae85d * NEWS (RDoc): Added mention of page support and markdown support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-24 01:28:47 +00:00
marcandre f031aec423 * NEWS: List Proc#== removal
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-23 20:05:42 +00:00
marcandre 884a6552b7 * NEWS: whitespace
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-23 20:05:21 +00:00
shugo 04fd9aceab * NEWS: remove description about `require "refinement"'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07 11:30:43 +00:00
nobu 04d244642d * NEWS: adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07 01:44:42 +00:00
ko1 bb70ca493f * NEWS: add a NEWS entry about RubyVM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-07 00:38:06 +00:00
knu c47c095b97 Deprecate #{lines,bytes,chars,codepoints} of IO-likes.
* io.c (rb_io_lines, rb_io_bytes, rb_io_chars, rb_io_codepoints):
  Deprecate IO#{lines,bytes,chars,codepoints} and those of ARGF.
  [Feature #6670]

* ext/stringio/stringio.c (strio_lines, strio_bytes, strio_chars)
  (strio_codepoints): Deprecate
  StringIO#{lines,bytes,chars,codepoints}. [Feature #6670]

* ext/zlib/zlib.c (rb_gzreader_lines, rb_gzreader_bytes):
  Deprecate Zlib::GzipReader#{lines,bytes}. [Feature #6670]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-22 17:22:04 +00:00
drbrain 570b766901 * lib/net/http.rb: Requests may be created with a URI which sets the
Host header.  Responses contain the requested URI for easier redirect
	  following.  [ruby-trunk - Feature #6482]
	* lib/net/http/generic_request.rb:  ditto.
	* lib/net/http/response.rb:  ditto.j
	* NEWS (net/http):  Updated for above.
	* test/net/http/test_http.rb:  Tests for above.
	* test/net/http/test_http.rb:  ditto.
	* test/net/http/test_httpresponse.rb:  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-21 20:36:07 +00:00
shugo f1f05e75cd * NEWS: fix the description for Refinements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-20 08:29:41 +00:00
emboss a158034789 * NEWS: announce AEAD encryption support in the OpenSSL extension.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-20 07:54:13 +00:00
nobu 30fbc5591d * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-20 01:52:47 +00:00
emboss a3b753b282 * ext/openssl/ossl.c: add OpenSSL.fips_mode= to allow enabling FIPS
mode manually.
* test/openssl/utils.rb: turn off FIPS mode for tests. This prevents
  OpenSSL installations with FIPS mode enabled by default from raising
  FIPS-related errors during the tests.
* test/openssl/test_fips.rb: add tests for FIPS-capable OpenSSL
  installations.
  [Feature #6946] [ruby-core:47345]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-20 00:29:07 +00:00
emboss 84f1dae9d6 * ext/openssl/lib/ssl.rb: Enable insertion of empty fragments as a
countermeasure for the BEAST attack by default. The default options
  of OpenSSL::SSL:SSLContext are now:
  OpenSSL::SSL::OP_ALL & ~OpenSSL::SSL::OP_DONT_INSERT_EMPTY_FRAGMENTS
  [Bug #5353] [ruby-core:39673]

* test/openssl/test_ssl.rb: Adapt tests to new SSLContext default.

* NEWS: Announce the new default.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-18 02:02:43 +00:00
kosaki 3bbffbc7dd Revert r38216 and r38221. Release manager mark this feature as "next minor".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-07 10:36:59 +00:00
kosaki a400c94d72 * lib/timeout.rb (Timeout#timeout): set
async_interrupt_timeing(:on_blocking) by default.
  [Bug #7503] [ruby-core:50524]

* test/test_timeout.rb (#test_timeout_blocking): test for the above.
* test/test_timeout.rb (test_timeout_immediate): ditto
* test/test_timeout.rb (test_timeout_immediate2): ditto.

* NEWS: news for the above.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-05 15:04:09 +00:00
kosaki bbfbf662cc * thread.c (rb_mutex_owned_p): new method that return current
thread have the target mutex or not. [Feature #7505] [ruby-dev:46697]
* test/ruby/test_thread.rb (test_mutex_owned, test_mutex_owned2):
  test for the above.
* NEWS: new for the above.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-04 16:02:07 +00:00
drbrain f8f5a9eb4e * .document: Add NEWS for `ri ruby:NEWS`
* NEWS:  Set format as rdoc
* doc/NEWS-1.8.7:  ditto
* doc/NEWS-1.9.1:  ditto
* doc/NEWS-1.9.2:  ditto
* doc/NEWS-1.9.3:  ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-03 19:12:03 +00:00
kazu 2c5c076009 adjust style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-03 15:08:00 +00:00
drbrain b5d8a0b339 * NEWS: Added RubyGems 2.0.0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-30 07:06:01 +00:00