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

108 Коммитов

Автор SHA1 Сообщение Дата
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