akr
5388fb64d9
* lib/tempfile.rb (Tempfile.create): New method.
...
The method name is proposed by Shugo Maeda. [ruby-dev:47220]
[ruby-core:41478] [Feature #5707 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-20 13:50:47 +00:00
naruse
394d5dfa9b
* string.c (str_scrub): add ruby method String#scrub which verify and
...
fix invalid byte sequence.
* string.c (str_compat_and_valid): check given string is compatible
and valid with given encoding.
* transcode.c (str_transcode0): If invalid: :replace is specified for
String#encode, replace invalid byte sequence even if the destination
encoding equals to the source encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-19 17:50:38 +00:00
marcandre
2106aa1990
* lib/matrix.rb: Add Vector#cross_product, patch by Luis Ezcurdia
...
[fix GH-276] [rubyspec:81eec89a124]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-13 03:08:28 +00:00
akr
4329b14cfb
* lib/open-uri.rb: Support multiple fields with same field
...
name (like Set-Cookie).
(OpenURI::Meta#metas): New accessor to obtain fields as a Hash from
field name (string) to field values (array of strings).
[ruby-core:37734] [Bug #4964 ] reported by ren li.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-09 10:53:41 +00:00
akr
c4d8cc4eae
* lib/resolv.rb: Support LOC resources.
...
[ruby-core:23361] [Feature #1436 ] by JB Smith.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-06 14:52:48 +00:00
akr
9791353555
* lib/resolv.rb: Add one-shot multicast DNS support.
...
[ruby-core:53387] [Feature #8089 ] by Eric Hodel.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-06 14:32:34 +00:00
akr
4c1e97226f
* lib/resolv.rb (Resolv::DNS.fetch_resource): New method to obtain
...
full result.
[ruby-dev:43587] [Feature #4788 ] proposed by Makoto Kishimoto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-06 13:16:36 +00:00
akr
c3d1fde2b5
* ext/pathname/pathname.c (path_write): New method.
...
(path_binwrite): Ditto.
[ruby-core:49468] [Feature #7378 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-04 11:12:12 +00:00
akr
b81ea661db
* io.c (rb_io_seek_m): Accept :CUR, :END, :SET as "whence" argument.
...
(interpret_seek_whence): New function.
[ruby-dev:45818] [Feature #6643 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-03 12:25:09 +00:00
kazu
b87ba9f872
fix a typo in NEWS
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-03 11:43:42 +00:00
nobu
90e588777f
* remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-02 14:58:32 +00:00
akr
583c8e8915
* pack.c: Support Q! and q! for long long.
...
(natstr): Moved to toplevel. Add q and Q if there is long long type.
(endstr): Moved to toplevel.
(NATINT_PACK): Consider long long.
(NATINT_LEN_Q): New macro.
(pack_pack): Support Q! and q!.
(pack_unpack): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-02 11:28:57 +00:00
marcandre
246102b536
* NEWS: Be more precise about singleton_class.ancestors change
...
[Feature #8035 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-30 03:03:58 +00:00
drbrain
7a64cdeb55
* lib/rinda/ring.rb: Added documentation for multicast support.
...
* NEWS: Point to above documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23 20:36:42 +00:00
drbrain
646bcaa717
* lib/rinda/ring.rb: Add multicast support to Rinda::RingFinger and
...
Rinda::RingServer. [ruby-trunk - Bug #8073 ]
* test/rinda/test_rinda.rb: Test for the above.
* NEWS: Update with Rinda multicast support
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-03-23 20:10:11 +00:00
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