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

1181 Коммитов

Автор SHA1 Сообщение Дата
mrkn 2a1b73ee40 * NEWS: describe a change of multiplication of Bignum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 16:00:45 +00:00
marcandre 22412ceda4 * NEWS: typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 06:33:14 +00:00
marcandre c8e2388257 * lib/matrix: Add LUP decomposition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 06:23:12 +00:00
marcandre 59a3d59496 * lib/matrix.rb: Allow non integer exponents for Matrix#**
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 06:21:24 +00:00
marcandre 004c34f9de * lib/matrix: Add Eigenvalue Decomposition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 06:13:35 +00:00
marcandre 376b825127 * lib/matrix: Add Matrix#round
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-01 06:10:40 +00:00
drbrain e75e7fcc9f * lib/rdoc: Update to RDoc 3.8 which contains fixes for documentation
in trunk.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-29 21:17:31 +00:00
marcandre 54bbc098fa * lib/matrix.rb: Matrix.zero can build rectangular matrices.
Vector#r should be called #magnitude

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-29 01:13:22 +00:00
marcandre de97e946f0 * lib/matrix.rb: Add Matrix#diagonal?, hermitian?, normal?, orthogonal?
permutation?, symmetric?, {lower|upper}triangular?, unitary?, zero?

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-29 01:11:19 +00:00
marcandre 22ffae4009 * lib/matrix.rb: Specialize Matrix#find_index to return [row, col]
and accept the same optional argument as #each

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-29 01:09:46 +00:00
marcandre dfc6bf9da8 * lib/matrix.rb: Matrix#each{_with_index} can iterate over a subset of the Matrix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-29 01:08:02 +00:00
drbrain 2619f216fe * lib/rake: Update rake to fix some bugs and hide deprecated features
from RDoc.
	* lib/rake/version.rb:  Bump version to 0.9.2.1 to distinguish it from
	  the released version.
	* NEWS:  ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-28 02:45:29 +00:00
drbrain 84ece95163 * lib/rdoc: Update to RDoc 3.7 (final)
* NEWS:  ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-28 02:28:25 +00:00
marcandre bad9f40714 * NEWS: rand and Random.rand now support range argument [ruby-dev:43427] #4605
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-27 15:42:50 +00:00
naruse e8e7ad8192 Add news about r30188 (Net::HTTPRequest#set_form).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-26 15:55:29 +00:00
drbrain d001539a05 * lib/rake: Import Rake 0.9.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-23 22:11:55 +00:00
nahi bf2e60cda7 * ext/openssl/ossl_x509name.c: Add X509::Name#hash_old as a wrapper
for X509_NAME_hash_old in OpenSSL 1.0.0. See #4805

* test/openssl/test_x509name.rb (test_hash): Make test pass with
  OpenSSL 1.0.0. 

* NEWS: Add it.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-23 13:51:55 +00:00
sorah ee80993690 * NEWS: Introduce --hide-skip on test/unit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-19 04:32:41 +00:00
emboss bec36af2d1 * NEWS: introduce PKey.read
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-12 20:52:25 +00:00
tadf fab22d5d29 * NEWS: wrote about changes of date.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-04 21:25:11 +00:00
sorah 7b3948f055 * io.c: Add File.write, File.binwrite. [Feature #1081] [ruby-core:21701]
* test/ruby/test_io.rb: Test for File.write, File.binwrite.

* NEWS: News for above.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-02 07:30:11 +00:00
mrkn 4752539e3f * NEWS: add new features of bigdecimal.
* ChangeLog: 2011-06-01 is Wednesday.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-01 03:37:02 +00:00
nahi b219a56c07 * lib/net/http.rb, lib/net/protocol.rb: Allow to configure to wait
server returning '100 continue' response befor sending HTTP request
  body. See NEWS for more detail. See #3622.
  Original patch is made by Eric Hodel <drbrain@segment7.net>.

* test/net/http/test_http.rb: test it.

* NEWS: Add new feature.

On my env (Ubuntu 11.04 64bit),
9510 tests, 2203824 assertions, 0 failures, 0 errors, 29 skips
->
9514 tests, 2203836 assertions, 0 failures, 0 errors, 29 skips


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-31 08:10:42 +00:00
tenderlove 4eaf3d4a51 * lib/yaml.rb: switch default YAML engine to Psych, old syck engine
may be enabled via YAML::ENGINE.yamler = "syck". [ruby-core:36374]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-23 19:05:47 +00:00
emboss b7576c3d7a * NEWS (openssl): Infinite length support. Different behavior of
Constructive and Primitive constructors.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-22 22:22:16 +00:00
drbrain f4b52722aa * lib/rdoc.rb: Update to RDoc 3.6.1, allows OpenSSL::Digest to be
found.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-15 23:00:21 +00:00
drbrain 0b6da24a5e * lib/rdoc.rb: Updated to RDoc 3.6
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-14 00:39:16 +00:00
emboss cb57042bee Sat May 14 04:19:06 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* NEWS: Describe altered behaviour for RSA and DSA public key
	encoding. [Ruby 1.9 - Bug #4421, Bug #4422]
	[ruby-core:35327,35328]

Previous revision: 31553



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-13 19:25:18 +00:00
kosaki 0a1e7d1568 * lib/fileutils.rb (FileUtils#chmod): accept symbolic mode argument.
The patch was written by takkanm. [ruby-core:26029][Feature #2190]

* lib/fileutils.rb (FileUtils#fu_mode): new helper function.
* lib/fileutils.rb (FileUtils#symbolic_modes_to_i): ditto.
* lib/fileutils.rb (FileUtils#mode_mask): ditto.
* lib/fileutils.rb (FileUtils#user_mask): ditto.

* test/fileutils/test_fileutils.rb (TestFileUtils#test_chmod_symbol_mode):
  new test for the above symbolic mode.
* test/fileutils/test_fileutils.rb (TestFileUtils#test_chmod_R): ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-01 16:16:05 +00:00
kosaki bd90dc80f2 * process.c (proc_getmaxgroups, proc_setmaxgroups): Process#maxgroups
and Process#maxgroups= now raise NotImplementedError if the
  platform don't support supplementary groups concept.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-10 16:54:02 +00:00
naruse 095b279464 [ruby-dev:43027] fixes #4280
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-09 02:59:04 +00:00
matz 1df42597d1 cancel subversion backfire. sorry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07 08:44:45 +00:00
matz eb807d42ec * gc.c (rb_gc_set_params): allow GC parameter configuration by
environment variables.  based on a patch from funny-falcon at
  https://gist.github.com/856296, but honors safe level.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-07 08:39:39 +00:00
naruse b49993b726 incompatibility arround REXML is reverted in r31008. ref #3990
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-03 08:53:44 +00:00
naruse b8b48f9d58 * string.c (rb_str_byteslice): Add String#byteslice. [ruby-core:35376]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-01 01:35:17 +00:00
sorah a790bd0bd7 * lib/test/unit.rb: Add new options; --jobs,-j,--ruby,--jobs-status,
--no-retry.
  [Feature #4415] [ruby-dev:43226],[ruby-dev:43222],[ruby-core:35294]
* lib/test/unit/parallel.rb: Used at test/unit --jobs(-j) option.
* test/csv/test_serialization.rb: test/unit parallel running ready.
* test/rake/test_file_task.rb: test/unit parallel running ready.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-22 03:36:38 +00:00
akr afe7aac47b * lib/net/http.rb (Net::HTTP#connect): support SNI (Server Name
Indication) for HTTPS.  [ruby-dev:43164]
  http://stackoverflow.com/questions/4685736/openssl-server-name-indication-support-in-ruby


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07 13:37:43 +00:00
drbrain 60f2c9cf5b Upgrade to RDoc 3.5.3. Fixes [Bug #4376]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07 07:07:12 +00:00
drbrain 8aa895294b Import RDoc 3.5.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-05 06:20:57 +00:00
drbrain cc2a16d94d Import RDoc 3.5.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-02 00:32:30 +00:00
kazu ff4085d6cf move under correct class
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-24 22:50:15 +00:00
ryan e798ccbacf Import rubygems 1.5.0 (release candidate)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-19 00:08:49 +00:00
nobu 281bdd3125 * NEWS (optparse): shell completion support.
* misc/README (rb_optparse.{bash,zzh}): for shell completion.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-01 02:03:59 +00:00
drbrain e2efe8e81d Import RDoc 3.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-28 22:08:56 +00:00
kazu 02a24aaedc * NEWS: add ARGF.write and so on.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-27 22:27:10 +00:00
kazu 4fefafb1e6 * NEWS: add new magic-comment. (warn-indent) [ruby-core:25442]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-27 22:27:07 +00:00
kazu c1c02696ae * NEWS: Add Zlib.deflate and Zlib.inflate. [ruby-dev:42833]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-27 16:48:14 +00:00
kazu 1ebba08dab * NEWS: remove #object_id. [ruby-dev:42840]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-22 16:49:39 +00:00
kazu 6a50d27231 * NEWS: add Module#private_constant and Module#public_constant.
[ruby-dev:39685][ruby-core:32698]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-21 23:59:42 +00:00
kazu 9241383352 sort and remove s
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-21 23:59:39 +00:00
kazu d5eea8c137 NEWS: add IO#advise.
[ruby-core:33110] [Ruby 1.9-Feature#4038]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-21 23:03:26 +00:00
kazu 13569788b2 * NEWS: add #__id__ and #object_id. [ruby-dev:42778]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-20 11:06:19 +00:00
drbrain 1695653f54 Update NEWS, add ChangeLog entry for RDoc 3.0.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-20 04:50:13 +00:00
akr d99801bbc8 * lib/webrick/accesslog.rb (WEBrick::AccessLog#format): support
%{remote}p for logging remote (client) port number.
  [ruby-dev:42670]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-09 10:16:50 +00:00
kazu 71f81f8136 * NEWS: add new encodings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-06 10:01:51 +00:00
kazu 8d7e9e5343 fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-06 10:01:40 +00:00
shyouhei 7911d42f1b * NEWS: entry for ruby_vm_at_exit().
* eval.c (ruby_cleanup): bug fix around at_exit (1) timing was
  wrong. (2) execution order was opposite.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-02 14:58:41 +00:00
naruse a0265b0662 * tool/enc-unicode.rb,
enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt,
  enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src:
  Add Age property to regexp. [ruby-core:33019]
  patched by Ammar Ali, tested by Run Paint Run Run

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-08 05:32:45 +00:00
kou 8114da9e6b * NEWS: fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-02 12:47:18 +00:00
kou 994f066f76 * lib/rexml/encoding.rb: use Ruby native encoding mechnism. [ruby-dev:42464]
* lib/rexml/encodings/: remove.

* lib/rexml/document.rb, lib/rexml/formatters/default.rb,
  lib/rexml/output.rb, lib/rexml/parseexception.rb,
  lib/rexml/parsers/baseparser.rb, lib/rexml/source.rb,
  lib/rexml/xmldecl.rb: use Ruby's native Encoding object.

* test/rexml/, test/rss/: follow the above encoding chagnes.

* NEWS: add REXML's incompatible change about encoding.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30 12:10:56 +00:00
naruse fc9176ac0e * tool/enc-unicode.rb,
enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt,
  enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src:
  Update Oniguruma for Unicode 6.
  patched by Run Paint Run Run. [ruby-core:32923] #3989

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-28 11:14:05 +00:00
naruse 5825359dd8 * pack.c (pack_pack): support endian modifiers: < and >.
[ruby-dev:42376] Feature #3491

* pack.c (pack_unpack): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-14 13:12:56 +00:00
naruse 0a8f047a98 * io.c (rb_io_putc): support multibyte characters.
[ruby-core:30697]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-12 06:18:11 +00:00
naruse 47cb5a93e5 * ext/stringio/stringio.c (strio_set_encoding):
StringIO#set_encoding can get 2nd argument and optional hash
  for API compatibility to IO. [ruby-dev:42356]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-10 21:54:22 +00:00
akr e5a47fb60e describe URI::Generic#hostname and URI::Generic#hostname=.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-06 03:31:36 +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
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
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
akr 0156faf5a2 describe that Time#strftime supports %:z and %::z.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-30 21:50:11 +00:00
knu d9dd3f9159 Mention String#prepend.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-27 21:50:06 +00:00
nobu 909477ec1d * file.c (null_device): move from io.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-27 06:26:41 +00:00
nobu f64358db7d * NEWS (IO::NULLL): add.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-27 03:45:24 +00:00
nobu e26c0d6d82 * NEWS: moved to doc/NEWS-1.9.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-27 01:48:58 +00:00
kazu c89bdea7c9 * NEWS: merge from branches/ruby_1_9_2, and move io/console.
[ruby-dev:41924]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-11 12:00:42 +00:00
nobu 4d5eee3602 * NEWS (Kernel#instance_eval): add an incompatible change since
the 1.9.1 release.  [ruby-core:31336]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-19 00:01:02 +00:00
knu 78a78b45d6 * vm_method.c (rb_method_boundp): Return false for protected
methods when called from Kernel#respond_to?. [ruby-dev:40461]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-05 07:11:44 +00:00
mame a2fde3fc79 * NEWS (zlib): new methods. [ruby-dev:41706] [Bug #3472]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-25 23:45:42 +00:00
mame 70003c05a7 * NEWS (stringio): new methods. [ruby-dev:41687] [Bug #3469]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23 14:47:00 +00:00
nobu c7d001465c * NEWS (ptr): new method and deprecated methods. [ruby-dev:41681]
* ext/pty/{README,README.ja}: ditto.

* ext/pty/pty.c (pty_check): add rdoc.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23 08:12:54 +00:00
nobu 60d6d93b28 * NEWS: Enumerable#join has been reverted. [ruby-core:30604]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-05 23:21:20 +00:00
knu e1ef999dad Mention deprecation of digest/hmac.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-03 14:59:44 +00:00
marcandre 1d06ff9761 * lib/set.rb (keep_if, select!): New methods [ruby-core:29749]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-30 13:19:09 +00:00
nobu 41874ab6a3 * NEWS (io/console): added IO#echo?.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09 15:56:58 +00:00
nobu b44618d5e5 * ext/io/console/console.c (console_set_raw): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09 15:54:17 +00:00
nobu 9f7feadf03 * NEWS (io/console): IO#noecho and IO#raw without block are
obsolete already.  [ruby-dev:41226]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08 14:09:47 +00:00
nobu 163f974208 * ext/io/console: imported. [ruby-dev:40897]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08 04:05:39 +00:00
mrkn ec0b0144b3 * NEWS: add rationalize methods of Complex, Float, Integer, NilClass, and Rational classes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-06 03:45:32 +00:00
marcandre 34ed81ea89 * NEWS: wording
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-05 14:31:10 +00:00
marcandre ec8b5d0625 * NEWS: List all changes to lib/matrix
* lib/matrix.rb: Improve doc and style. Trivial optimizations.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-02 05:43:29 +00:00
drbrain 40cd5e8a79 Merge fix for gem server, bump RubyGems version to 1.3.7
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-01 05:19:16 +00:00
drbrain 9111bbf818 Upgrade to RDoc 2.5.8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-01 05:06:21 +00:00
drbrain 336a8301f7 Import RDoc 2.5.7. Fixes #1318 and ruby-core:29780
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-27 03:45:22 +00:00
drbrain 400afca88a Update to RDoc 2.5.6
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-23 02:32:20 +00:00
drbrain a7df5ace7e Update to RDoc 2.5.5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-21 03:10:03 +00:00
kazu d49860bfbc NEWS: add Array#repeated_{combinationpermutation} [Feature #2981]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-16 22:30:16 +00:00
marcandre 5469cf0f3a * NEWS: Add {Hash,ENV}#{keep_if,select!}
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-11 16:50:33 +00:00
drbrain ff5366a705 Update to RDoc 2.5.3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-11 01:34:28 +00:00
drbrain 1325437297 * lib/rdoc: Import RDoc 2.5.2
* lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): Don't parse rdoc
  files, reverts r24976 in favor of include directive support in C
  parser.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-10 06:36:13 +00:00
marcandre 7cf6ecd9de * array.c (rb_ary_product): Accept a block [ruby-core:29045]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 21:56:34 +00:00
nobu 386962af11 * NEWS: added reverse_lookup option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-02 12:17:50 +00:00
naruse df932e66ce Add NEWS about hexadecimn floating point format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-01 22:19:04 +00:00
marcandre 1bf2b99d27 * NEWS: Update new methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-01 14:53:44 +00:00
kazu 91616a00ba * NEWS: add URI.decode and URI.encode to Obsoleted methods,
and fix typos. [ruby-dev:40852]

* NEWS: add Time#subsec.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 13:13:20 +00:00
wanabe c31129ffb8 * NEWS: add Thread#add_trace_func and Thread#set_trace_func.
* test/ruby/test_settracefunc.rb (test_thread_trace): add test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-26 14:55:00 +00:00
kazu 9c15f6f822 * NEWS: Array#{uniq,uniq!} can take a block. see [ruby-dev:37998]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 09:11:47 +00:00
kazu 21f56f6de9 * NEWS: add IO#autoclose=, IO#autoclose?, IO#codepoints, IO#each_codepoint.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 08:23:17 +00:00
kazu 98131a6da1 * NEWS: add Kernel#singleton_class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 03:39:00 +00:00
wanabe c46f71399a * proc.c (rb_method_location): return attr's location if it is setup.
[Feature #2084]

* NEWS: follow above.

* vm_method.c (rb_add_method): save attr's location.

* gc.c (mark_method_entry): mark attr's location.

* method.h (rb_method_definition_t): add member to save attr's location.

* vm_eval.c (vm_call0): follow above.

* vm_insnhelper.c (vm_call_method): ditto.

* vm_method.c (rb_method_definition_eq): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-22 11:44:01 +00:00
naruse e0250f59e0 Add NEWS and fix ChangeLog.
* new methods:
  * URI.encode_www_form
  * URI.decode_www_form
  * URI.encode_www_form_component
  * URI.decode_www_form_component

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-18 00:05:10 +00:00
mame 4f78e7fff4 * parse.y (rb_intern3): prohibit Symbol with an invalid encoding.
[ruby-core:24621]

* test/ruby/test_m17n_comb.rb: modify a test for above.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-16 16:26:04 +00:00
muraken 1eca24b1a5 * NEWS: emoji encodings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-12 12:35:39 +00:00
akr ebfe278914 describe Time#round.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-11 13:47:10 +00:00
akr dc50480f6f describe new optional arugment for Pathname#realpath and Pathname#realdirpath.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-07 07:13:31 +00:00
wanabe 4d8d6d9d63 * gc.c (gc_profile_total_time): add GC::Profiler.total_time.
* NEWS: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-04 04:51:43 +00:00
marcandre e09838c691 * NEWS: Adding Enumerable#each_entry to the new method list
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-04 02:29:07 +00:00
nobu e916ccc5cd * NEWS (socket): Socket.do_not_reverse_lookup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-03 14:52:23 +00:00
nobu 8a4c9b0b77 * array.c (rb_ary_rotate): new methods, Array#rotate! and
Array#rotate.  [ruby-dev:17194]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-21 02:15:48 +00:00
knu d8f265b332 * ext/digest/digest.c (rb_digest_instance_hexdigest_bang): Fix
rdoc.

* ext/digest/lib/digest.rb (Digest::Class.base64digest)
  (Digest::Instance#base64digest{,!}): New methods.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-17 19:12:10 +00:00
naruse cce8e77760 Add news.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-13 06:26:11 +00:00
akr 853dd6cabe * prelude.rb (require_relative): use File.realpath. [ruby-dev:40040]
* include/ruby/intern.h: declare rb_dir_getwd.

* dir.c (rb_dir_getwd): copied from dir_s_getwd to export.
  (dir_s_getwd): use rb_dir_getwd.

* file.c (rb_file_s_realpath): new method File.realpath.
  (rb_file_s_realdirpath): new method File.realdirpath.

* lib/pathname.rb (Pathname#realpath): use File.realpath.
  (Pathname#realdirpath): use File.realdirpath.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12 00:32:22 +00:00
knu af23025d77 * hash.c (ruby_setenv): ENV.[]= should raise an error if setenv(3)
or putenv(3) fails.  [ruby-dev:40023]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-11 03:58:39 +00:00
naruse dfa27de35e Add news: net/http merges net/https.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-09 04:37:53 +00:00
akr 4aa0d9f5c3 describe RbConfig.ruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-05 17:58:52 +00:00
yugui 295bc2fe25 removes the dtrace support. reverts r26239, r26238 and r26235.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-05 05:59:23 +00:00
naruse 623a79c376 Add Float::INFINITY and Float::NAN.
Current Unicode version of Regexp is 5.2.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-05 05:51:47 +00:00
yugui 72b199940d * trace.h: new file. wraps tracing mechanisms.
* defs/dtrace.d: new file. defined a dtrace provider "ruby".

* include/ruby/ruby.h (LIKELY): moved from vm.c.
  (UNLIKELY): ditto.
  (OBJSETUP): probe "object-create".
  (RUBY_EVENT_RESCUE): new event.

* vm_exec.c (DEBUG_ENTER_INSN): embeded a probe insn-entry into it.
  (DEBUG_END_INSN): insn-return.

* vm.c (LIKELY): moved into ruby.h.
  (UNLIKELY): ditto.
  (Init_BareVM): embeded a probe "raise" into it.

* variable.c (rb_class2name_without_alloc): new utility function.

* tool/rbinstall.rb (install?(:ext, :arch, :'ext-arch')): installs 
  dtrace.d if necessary.

* thread_pthread.c (add_signal_thread_list): probe "raise".
  (rb_thread_create_timer_thread): ditto.

* thread.c (rb_thread_schedule_rec): probes "thread-enter" and
  "thread-leave",
  (thread_start_func_2): ditto.
  (thread_cleanup_func): probe "thread-term"

* lib/mkmf.rb: supports dtrace postprocessor on making an extension.

* iseq.c (rb_vm_insn_name): new utility function.
  (rb_vm_insn_len): ditto.

* insns.def (hook): probes "method-etnry", "method-return", "line",
  and "rescue".

* compile.c (iseq_compile_each): adds a trace op for "rescue" probe.

* gc.c (garbage_collect): probes "gc-begin" and "gc-end".
  (obj_free): probe "object-free"
  (garbage_collect_with_gvl): probe "raise"
  (negative_size_allocation_error): ditto.
  (rb_memerror): ditto.

* eval.c (rb_rescue2): probe "rescue"
  (rb_longjmp): probe "raise"

* ext/probe/probe.c: new extension for application defined probes.

* ext/probe/extconf.rb: ditto.

* configure.in (--with-tracing-model): new option to choose a tracing
  mechanism.
  (DTRACE): new substitution. name of dtrace(1).
  (RUBY_TRACING_MODEL): new substitution.
  (DTRACE_OBJ): ditto.
  (MINIDTRACE_OBJ): ditto.
  (GOLFDTRACE_OBJ): ditto.
  (LIBRUBY_DTRACE_OBJ): ditto.
  (RUBY_DTRACE_POSTPROCESS): new macro. checks whether the dtrace on 
  the system needs postprocessing.
  (RUBY_DTRACE_BSD_BROKEN): new macro. checks whether the dtrace
  supports USDT.

* Makefile.in: 
  (DTRACE): new variable. name of dtrace(1).
  (TRACING_MODEL): new variable. name of the chosen tracing mechanism.
  (DTRACE_OBJ): same as the one in configure.in.
  (MINIDTRACE_OBJ): ditto.
  (GOLFDTRACE_OBJ): ditto.
  (LIBRUBY_DTRACE_OBJ): ditto.
  (CPPOUTFILE): new substitution. necessary for generating dtrace.d
  (trace_none.h): new target for TRACING_MODEL=none
  (RUBY_H_INCLUDES): appended a header for tracing.
  (distclean-local): also removes preprocessed version of dtrace.d
  ($(LIBRUBY_A)): needs $(LIBRUBY_DTRACE_OBJ) if dtrace needs 
  postprocessing.
  ($(PROGRAM)): ditto.
  (golf): ditto.
  (miniruby): ditto.
  ($(arch_hdrdir)/ruby/dtrace.d): new target. preprocessed verson 
  of defs/dtrace.d. generated if necessary.
  ($(arch_hdrdir)/ruby/trace_dtrace.h): new target.
  definition of probes.
  ($(LIBRUBY_DTRACE_OBJ)): new target. generated if dtrace needs 
  postprocessing.
  ($(DTRACE_OBJ)): ditto.
  ($(MINIDTRACE_OBJ)): ditto.
  ($(GOLFDTRACE_OBJ)): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-03 15:36:17 +00:00
akr 7728a17a27 * lib/thread.rb (ConditionVariable#wait): add timeout argument.
[ruby-talk:346154]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-23 14:01:07 +00:00
akr 98b0d9f922 cosmetic change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-23 11:30:09 +00:00
akr d3c6462788 describe Enumerable#chunk and Enumerable#slice_before.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-23 11:24:51 +00:00
nobu 126d6acc50 * NEWS: update for 1.9.2. based on a patch from Run Paint Run Run
in [ruby-core:25534].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-11 12:52:20 +00:00
akr 3b4949ffa8 * enumerator.c: implement Enumerator#{next_values,peek_values,feed}
and StopIteration#result.  [ruby-dev:39109]
  (struct enumerator): replace no_next by stop_exc.
  new field feedvalue.
  (enumerator_mark): mark feedvalue and stop_exc.
  (enumerator_init): initialize feedvalue and stop_exc.
  (enumerator_init_copy): initialize feedvalue.
  (next_ii): send yield arguments as an array.  return feedvalue.
  (next_i): generate StopIteration exception here.  set result.
  (next_init): initialize feedvalue.
  (enumerator_next_values): new method Enumerator#next_values.
  (ary2sv): new function.
  (enumerator_peek_values): new method Enumerator#peek_values.
  (enumerator_feed): new method Enumerator#feed.
  (yielder_yield): return the yield value.
  (generator_each): return the iterator value.
  (stop_result): new method StopIteration#result.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-19 16:36:00 +00:00
akr aea1193a96 updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-20 03:29:22 +00:00
kou 4365f6710d * NEWS, lib/rss/maker/base.rb, test/rss/test_maker_2.0.rb: add
item.guid.permanent_link? and item.guid.permanent_link=.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-27 04:45:24 +00:00
kou 23c14c3613 * NEWS: rss: 0.2.5 -> 0.2.7.
* lib/rss/rss.rb, test/rss/test_version.rb: 0.2.6 -> 0.2.7.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-27 04:41:36 +00:00
akr 907415bbb6 describe IO#fdatasync.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-23 17:01:58 +00:00
mame dfffa96baa * NEWS: add Time#to_r.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-22 12:39:22 +00:00
yugui c573aaf73f NEWS (--program-prefix and --program-suffix): describe r23368.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-20 14:04:04 +00:00
kou 1d2acd5664 * NEWS: add RSS::Maker.supported?(version).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-16 09:32:36 +00:00
akr f64e076260 * time.c: support fixed UTC offset. [ruby-dev:38326]
(leap_year_v_p): new macro.
  (TIME_FIXOFF_P): new macro.
  (TIME_SET_FIXOFF): new macro.
  (time_init_0): renamed from time_init.
  (time_set_utc_offset): new function.
  (vtm_add_offset): new function.
  (utc_offset_arg): new function.
  (time_init_1): new function.
  (time_init): call time_init_0 or time_init_1 according argc.
  (validate_utc_offset): new function.
  (time_localtime_m): new function.
  (time_fixoff): new function.
  (time_getlocaltime): take optional UTC offset argument.
  (time_get_tm): support fixed UTC offset time.
  (Init_Time): make Time#{initialize,localtime,getlocal} varargs.

* strftime.c (rb_strftime): vtm->zone can be NULL now.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-12 12:07:49 +00:00
akr 73aa1639bc mention Time.{utc,gm,local,mktime} as incompatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 06:04:40 +00:00
knu 2bb576e5ac * ext/zlib/zlib.c (Zlib::GzipFile#path): New method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-22 16:31:06 +00:00
akr 58c31ca6d8 updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21 18:38:20 +00:00
akr 16dc9e04cb * time.c (time_arg): use the year argument as-is. [ruby-dev:38194]
* lib/time.rb (Time.parse): interpret small year 0..99 as 1950..2049.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21 16:43:15 +00:00
akr 7930673c5d describe about Time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21 16:27:19 +00:00
akr 29655d072b updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-16 17:21:51 +00:00
akr 8e8ae2a9c5 * node.h (rb_notimplement_body_p): declared.
* vm_method.c (Init_eval_method): suppress a warning.

* io.c (rb_io_fsync): use rb_f_notimplement if not implemented.
  (rb_io_close_on_exec_p): ditto.
  (rb_io_set_close_on_exec): ditto.
  (rb_io_fcntl): ditto.
  (rb_f_syscall): ditto.

* dir.c (dir_tell): ditto.
  (dir_seek): ditto.
  (dir_s_chroot): ditto.

* process.c (proc_getpgrp): ditto.
  (proc_setpgrp): ditto.
  (proc_getpgid): ditto.
  (proc_setpgid): ditto.
  (proc_setsid): ditto.
  (proc_getpriority): ditto.
  (proc_setpriority): ditto.
  (proc_getrlimit): ditto.
  (proc_setrlimit): ditto.
  (p_sys_setuid): ditto.
  (p_sys_setruid): ditto.
  (p_sys_seteuid): ditto.
  (p_sys_setreuid): ditto.
  (p_sys_setresuid): ditto.
  (p_sys_setgid): ditto.
  (p_sys_setrgid): ditto.
  (p_sys_setegid): ditto.
  (p_sys_setregid): ditto.
  (p_sys_setreuid): ditto.
  (p_sys_setresgid): ditto.
  (p_sys_issetugid): ditto.
  (proc_getgroups): ditto.
  (proc_setgroups): ditto.
  (proc_initgroups): ditto.
  (proc_daemon): ditto.
  (rb_proc_times): ditto.

* file.c (rb_file_s_lchown): ditto.
  (rb_file_s_link): ditto.
  (rb_file_s_symlink): ditto.
  (rb_file_s_readlink): ditto.
  (rb_file_s_truncate): ditto.
  (rb_file_truncate): ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-16 16:58:06 +00:00
akr 8b27d153d2 * class.c (rb_define_method_id): use rb_define_notimplement_method_id
if rb_f_notimplement is given.
  (rb_define_protected_method): ditto.
  (rb_define_private_method): ditto.
  (rb_define_method): use rb_define_method_id.

* include/ruby/intern.h (rb_f_notimplement): declared.
  (rb_define_notimplement_method_id): declared.

* proc.c (method_inspect): show not-implemented.

* vm_method.c (notimplement_body): new variable.
  (rb_notimplement_body_p): new function.
  (rb_method_boundp): return false if not implemented.
  (rb_f_notimplement): new function.
  (rb_define_notimplement_method_id): new function.

* process.c (rb_f_fork): use rb_f_notimplement if not implemented.

* file.c (rb_file_s_lchmod): use rb_f_notimplement if not implemented.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-16 14:17:14 +00:00
akr 7fd155cf0f * ext/openssl/ossl_ssl.c (write_would_block): defined.
(read_would_block): defined.
  (ossl_start_ssl): add nonblock argument.
  (ossl_ssl_connect): follow ossl_start_ssl change.
  (ossl_ssl_connect_nonblock): new method.
  (ossl_ssl_accept): follow ossl_start_ssl change.
  (ossl_ssl_accept_nonblock): new method.
  (ossl_ssl_read_internal): use write_would_block and
  read_would_block.
  (ossl_ssl_write_internal): ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-21 06:56:33 +00:00
akr 17a085ea8c * ext/openssl/lib/openssl/buffering.rb
(OpenSSL::Buffering#write_nonblock): new method.

* ext/openssl/ossl_ssl.c (ossl_ssl_write_nonblock): new method.
  (ossl_ssl_write_internal): defined.
  (ossl_ssl_write): use ossl_ssl_write_internal.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-20 17:39:44 +00:00
akr 2208c990e1 update rdoc and NEWS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-19 15:31:24 +00:00
akr 7b713539ee updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-15 05:01:48 +00:00
akr f414bd65ae * string.c (rb_str_subpat): accept capture name.
(rb_str_aref): follow above change.
  (rb_str_aref_m): pass the 2nd argument to rb_str_subpat.
  (rb_str_subpat_set): accept capture name.
  (rb_str_aset): follow above change.
  (rb_str_partition): ditto.
  (rb_str_aset_m): pass the 2nd argument to rb_str_subpat_set.

* include/ruby/intern.h (rb_reg_backref_number): declared.

* re.c (rb_reg_backref_number): defined.

  [ruby-core:21057]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-14 18:04:21 +00:00
kazu 2f83f7a7f4 update doc (add Pathname#binread)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-27 19:51:56 +00:00
akr ecb22ce2c5 * ext/socket/lib/socket.rb (BasicSocket#connect_address): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-26 14:15:39 +00:00
nobu d968f62558 * NEWS: added Etc::{Passwd,Group}.each.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17 16:59:06 +00:00
akr 1f125adde0 updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15 10:03:02 +00:00
akr 57394f1484 mention SecureRandom.urlsafe_base64.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15 09:42:00 +00:00
akr 1b4c1f715e * lib/time.rb (Time.parse): raise ArgumentError if Date._parse don't
extract date information.  [ruby-core:20912]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14 22:03:28 +00:00
akr 7882b61a03 updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-12 12:57:14 +00:00
akr c645978f1c updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-11 01:38:02 +00:00
akr fdf5d80890 add getpeereid.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-11 01:30:05 +00:00
akr 7be3cdbc04 updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-10 11:59:16 +00:00
knu 03d38468ac Mention Enumerator#with_index.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-09 05:51:31 +00:00
akr 88f04bdd32 * ext/socket: AddrInfo is renamed to Addrinfo. [ruby-dev:37876]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-05 11:01:43 +00:00
akr 5127799e65 add Socket.pair.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 16:21:15 +00:00
akr 5493666330 updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 12:59:09 +00:00
kazu 9a7834730d add Dir.home
update s of new method(s)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04 10:47:25 +00:00
kouji e2fc3f38af * NEWS: added comment for Readline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 12:28:07 +00:00
akr 8b729eed96 updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 07:55:03 +00:00
kazu 2b692644d9 * NEWS: add Array#sort_by!.
* array.c (rb_ary_sort_by_bang): RDoc update.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03 07:36:55 +00:00
akr 8cc36df9c3 * lib/pathname.rb (Pathname#each_child): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-31 05:13:49 +00:00
akr e94e674d0e * lib/pathname.rb (Pathname#realdirpath): new method.
[ruby-dev:36290]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-30 12:50:55 +00:00
akr 75e0fde36b updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-17 16:46:37 +00:00
akr 52152a63aa * ext/socket/lib/socket.rb: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-17 13:04:03 +00:00
akr 80618e75aa * ext/socket/socket.c (bsock_shutdown): accept symbol/string as how.
(shutdown_how_arg): new function.

* ext/socket/mkconstants.rb: generate shutdown_how_to_int.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-08 14:20:47 +00:00
akr 3a0aa7f8d8 updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-07 22:21:40 +00:00
akr aa3665e782 describe a block for UNIXSocket.pair.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-31 15:11:33 +00:00
akr 95c474ec4d describe Buffering#read_nonblock.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-31 14:36:31 +00:00
akr 469d119ab9 updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-23 03:52:11 +00:00
akr 3a7daf882b * io.c (rb_io_s_pipe): IO.pipe can take a block.
(pipe_close): new function.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-22 12:27:26 +00:00
knu 1757d80076 - Remove doc/NEWS when we have doc/NEWS-1.9.1.
- Add NEWS for keeping changes since 1.9.1.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-12 09:46:28 +00:00