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

1283 Коммитов

Автор SHA1 Сообщение Дата
Jean Boussier eff15a269f [EXPERIMENTAL] Make NilClass#to_s, TrueClass#to_s and FalseClass#to_s return a frozen String
* Always the same frozen String for each of these values.
    * Avoids extra allocations whenever calling these 3 methods.
    * See [Feature #16150]
2019-09-27 13:52:33 +09:00
Nobuyoshi Nakada dd1e047fcb
NEWS: fixed markups and indent [ci skip]
C API updates:

* adjusted indent.
* marked up ANYARGS as RDoc.
2019-09-27 02:31:39 +09:00
Nobuyoshi Nakada 617fa3049a
NEWS: fixed markups and formatting [ci skip]
* got rid of inadvertent label lists.
* marked up resolve_feature_path method names.
* fixed indentation of UnboundMethod#bind_call and marked up as
  RDoc.
2019-09-27 00:48:48 +09:00
Jean Boussier 5b9d646944 Fix Module#name news and add a test 2019-09-26 23:29:49 +09:00
git 1070456bb8 * remove trailing spaces. [ci skip] 2019-09-26 20:25:42 +09:00
Jean Boussier 9d0866c7d7 [EXPERIMENTAL] Make Module#name return a frozen String
* Always the same frozen String for a given Module or Class.
    * Avoids extra allocations whenever calling Module#name.
    * See [Feature #16150]
2019-09-26 13:25:23 +02:00
Benoit Daloze 6ffc045a81 [EXPERIMENTAL] Make Symbol#to_s return a frozen String
* Always the same frozen String for a given Symbol.
* Avoids extra allocations whenever calling Symbol#to_s.
* See [Feature #16150]
2019-09-26 10:23:02 +02:00
Nobuyoshi Nakada 2683171994
[DOC] DOT is not a part of a receiver [ci skip]
[Feature #11297] [Feature #16123]
2019-09-20 16:43:39 +09:00
Hiroshi SHIBATA 9d25c652a9
Removed ThreadsWait from the ruby repository 2019-09-20 14:21:04 +09:00
Hiroshi SHIBATA 37c0839425
Removed Synchronizer from the ruby repository. 2019-09-20 14:06:22 +09:00
Hiroshi SHIBATA 3b56a0934f
Removed Shell from the ruby repository. 2019-09-20 12:56:18 +09:00
Hiroshi SHIBATA 67a6662032
Removed Scanf from the ruby repository. 2019-09-20 12:43:11 +09:00
Hiroshi SHIBATA a3b8501614
Removed CMath from the ruby repository. 2019-09-20 12:31:37 +09:00
Nobuyoshi Nakada b80df6e8e0
Update NEWS and documents [ci skip]
[Feature #11297] [Feature #16123]
2019-09-20 02:40:59 +09:00
NARUSE, Yui 5208c431be Separate Time#inspect from to_s and show subsec [Feature #15958] 2019-09-19 20:20:15 +09:00
Nobuyoshi Nakada 3a3f48fb8f
Comment lines can be placed between fluent dot now 2019-09-15 23:12:24 +09:00
Samuel Williams 9699a5c5bc
Update news regarding `Fiber#raise`. 2019-09-14 22:43:51 +12:00
Akinori MUSHA 1d4bd229b8
Implement Enumerator::Lazy#eager [Feature #15901] 2019-09-04 16:16:46 +09:00
Nobuyoshi Nakada 6f206b8ec6
Prohibit nul-separated glob pattern [Feature #14643] (#2419) 2019-09-02 15:08:53 +09:00
Shugo Maeda 633ae3278e
Add Net::FTP#features and Net::FTP#option
Patch by darkphnx (Dan Wentworth) .  Thanks!
[Feature #15964]
2019-09-02 14:43:51 +09:00
Nobuyoshi Nakada e9b271d1e2
Get rid of interpreting BTS references as label-list [ci skip] 2019-09-02 14:38:26 +09:00
Takashi Kokubun e13c0bb820
Note about ANYARGS in NEWS
Since 50f5a0a8d6, some C++ extensions
needed fixes like https://github.com/eagletmt/faml/pull/49 to make their
build succeed.

Thus it's worth noting that C API declarations are changed.
2019-09-01 15:00:27 +09:00
Yusuke Endoh a1e588d1a7 NEWS: Hash-to-keywords automatic conversion is now warned
A follow up for 16c6984bb9..b5b3afadfa.  [Feature #14183]
2019-08-31 07:03:27 +09:00
Yusuke Endoh c9fc82983c lib/pp.rb: Use UnboundMethod#bind_call instead of .bind(obj).call(...)
Related to [Feature #15955].
2019-08-30 11:13:00 +09:00
Yusuke Endoh 83c6a1ef45 proc.c: Add UnboundMethod#bind_call
`umethod.bind_call(obj, ...)` is semantically equivalent to
`umethod.bind(obj).call(...)`.  This idiom is used in some libraries to
call a method that is overridden.  The added method does the same
without allocation of intermediate Method object.  [Feature #15955]

```
class Foo
  def add_1(x)
    x + 1
  end
end
class Bar < Foo
  def add_1(x) # override
    x + 2
  end
end

obj = Bar.new
p obj.add_1(1) #=> 3
p Foo.instance_method(:add_1).bind(obj).call(1) #=> 2
p Foo.instance_method(:add_1).bind_call(obj, 1) #=> 2
```
2019-08-30 11:13:00 +09:00
Nobuyoshi Nakada 79117d4a9b
NEWS: [Feature #16035] [ci skip] 2019-08-29 22:06:37 +09:00
Nobuyoshi Nakada 2ed68d0ff9
Revert "Add pipeline operator [Feature #15799]"
This reverts commits:
* d365fd5a02
* d780c36624
* aa7211836b
* 043f010c28
* bb4dd7c6af05c7821d572e2592ea3d0cc748d81f
* 043f010c28
* f169043d81

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/94645
2019-08-29 15:27:59 +09:00
Takashi Kokubun f9149c5596
Minor wording fix in NEWS [ci skip]
pushing a trivial commit for testing post-receive hook
2019-08-12 19:13:38 +09:00
Samuel Williams 47c0cab248
Add details of fiber pool and coroutine selection to NEWS. 2019-07-18 20:54:54 +12:00
aycabta de0f192444 Add features of IRB to NEWS 2019-07-15 16:25:50 +09:00
aycabta 574e8a6812 Add Reline section to NEWS 2019-07-15 15:49:59 +09:00
aycabta 3a1d3556e2 Fix a typo of Markdown of NEWS 2019-07-15 15:46:08 +09:00
Tanaka Akira 8f7884761e The default charset of text/* media type is UTF-8.
Thanks for the patch  gareth (Gareth Adams).  [Bug #15933]

-------

Combines two small, but very related changes

1: Treat HTTPS the same as HTTP

Previously, OpenURI followed guidance in RFC2616/3.7.1:

> When no explicit charset parameter is provided by the sender, media
> subtypes of the "text" type are defined to have a default charset
> value of "ISO-8859-1" when received via HTTP.

However this RFC was written before TLS was established and OpenURI was
never updated to treat HTTPS traffic the same way. So, HTTPS documents
received a different default to HTTP documents.

This commit removes the scheme check so that all text/* documents
processed by OpenURI are treated the same way.

In theory this processing gets applied to FTP URIs too, but there's no
mechanism in OpenURI for FTP documents to have Content-Type metadata
appended to them, so this ends up being a no-op.

2: Change default charset for text/* to UTF-8

Replaces the default ISO-8859-1 charset previously defined in RFC2616 (now
obsoleted) with a UTF-8 charset as defined in RFC6838.

Fixes: https://bugs.ruby-lang.org/issues/15933
2019-07-15 09:36:52 +09:00
Kazuhiro NISHIYAMA 0df4a813ca
NEWS: RubyVM.resolve_feature_path moved [ci skip] 2019-07-14 20:33:41 +09:00
Kazuhiro NISHIYAMA 043e3d2cdc
[DOC] Add missing headings [ci skip] 2019-07-14 17:58:41 +09:00
Kazuhiro NISHIYAMA db64093f51
[DOC] Fix a typo [ci skip] 2019-07-14 17:56:38 +09:00
Tanaka Akira 5786df12f5 Describe about Pathname.glob. 2019-07-14 17:44:33 +09:00
Tanaka Akira 6bca4437de Describe warning of open-uri. 2019-07-14 17:22:13 +09:00
Kazuhiro NISHIYAMA 4f351111b8
NEWS: warning of flip-flop is reverted [ci skip] 2019-07-14 14:40:38 +09:00
Benoit Daloze 0a5463f764 Add $LOAD_PATH.resolve_feature_path in NEWS 2019-07-13 15:26:47 +02:00
Kazuhiro NISHIYAMA d3d903cb5f
[DOC] Fix typos [ci skip] 2019-07-01 00:48:11 +09:00
NARUSE, Yui 7f64a0b4db Add new encoding CESU-8 [Feature #15931] 2019-06-24 12:58:33 +09:00
Samuel Williams 096a45d3d2 Update NEWS.
- Add note regarding IA64 removal.
- Add note about Thread allocation performance improvements.
2019-06-24 01:28:23 +12:00
Nobuyoshi Nakada ef524c13d9
NEWS: Module#constant_source_location
[Feature #10771]
2019-06-23 01:46:38 +09:00
Jean Boussier fb85a42860
Add an optional `inherit` argument to Module#autoload?
[Feature #15777]

Closes: https://github.com/ruby/ruby/pull/2173
2019-06-21 17:28:37 +09:00
Kazuhiro NISHIYAMA e6fbdde229
Fix a typo [ci skip] 2019-06-20 17:40:08 +09:00
Hiroshi SHIBATA 557bcd8774 Added racc entry to NEWS. 2019-06-20 16:11:03 +09:00
Jeremy Evans b9ef35e4c6 Implement Complex#<=>
Implement Complex#<=> so that it is usable as an argument when
calling <=> on objects of other classes (since #coerce will coerce
such numbers to Complex).  If the complex number has a zero imaginary
part, and the other argument is a real number (or complex number with
zero imaginary part), return -1, 0, or 1.  Otherwise, return nil,
indicating the objects are not comparable.

Fixes [Bug #15857]
2019-06-19 10:50:58 -07:00
Kazuhiro NISHIYAMA d780c36624
Pipeline operator is experimental [ci skip] 2019-06-14 17:30:12 +09:00
Nobuyoshi Nakada f169043d81
Add pipeline operator [Feature #15799] 2019-06-13 18:44:32 +09:00
Nobuyoshi Nakada e717d6faa8
IO#set_encoding_by_bom
* io.c (rb_io_set_encoding_by_bom): IO#set_encoding_by_bom to set
  the encoding by BOM if exists.  [Bug #15210]
2019-06-13 18:13:05 +09:00
Takashi Kokubun 6dc0541ed3
NEWS: Note about CGI.escapeHTML change [ci skip]
See https://github.com/ruby/ruby/pull/2226 for benchmark results.
2019-06-05 22:29:54 +09:00
Nobuyoshi Nakada 09c09eb0db
NEWS: move GC.compact
From "Implementation improvements" to "Core classes updates".
2019-06-02 00:42:57 +09:00
Nobuyoshi Nakada 3afae5b572
NEWS: markup class and method names 2019-06-02 00:42:11 +09:00
Nobuyoshi Nakada 1457ad1ea7
[DOC] JIS X 0301 has been updated
[ruby-dev:50790]
* https://www.meti.go.jp/press/2019/05/20190520006/20190520006.html
* https://www.meti.go.jp/press/2019/05/20190520006/20190520006-2.pdf

[ci skip]
2019-05-31 19:20:59 +09:00
Jeremy Evans 1cd93f1cdf Allow DelegateClass() to module_eval given block
Methods that return classes often module_eval the given block
(e.g. Class.new and Struct.new).  This allows DelegateClass to
work similarly.  This makes it easier to use DelegateClass
directly without subclassing, so as not to create an unnecessary
subclass.

Implements [Feature #15842]
2019-05-30 18:34:45 -07:00
Jeremy Evans 39eadca76b Add FrozenError#receiver
Similar to NameError#receiver, this returns the object on which
the modification was attempted.  This is useful as it can pinpoint
exactly what is frozen.  In many cases when a FrozenError is
raised, you cannot determine from the context which object is
frozen that you attempted to modify.

Users of the current rb_error_frozen C function will have to switch
to using rb_error_frozen_object or the new rb_frozen_error_raise
in order to set the receiver of the FrozenError.

To allow the receiver to be set from Ruby, support an optional
second argument to FrozenError#initialize.

Implements [Feature #15751]
2019-05-26 11:09:21 -07:00
Takashi Kokubun b83119be9e
Incremental syntax highlight for IRB source lines
Closes: https://github.com/ruby/ruby/pull/2202
2019-05-24 23:54:52 -07:00
Nobuyoshi Nakada e72769ef81
Enumerable#filter_map in NEWS 2019-05-23 23:24:22 +09:00
Nobuyoshi Nakada ccb1652929
New Time methods in NEWS 2019-05-23 22:47:55 +09:00
Marcus Stollsteimer 8bf3040e30 Fix grammar 2019-05-04 15:02:20 +02:00
Nobuyoshi Nakada 330b376133
parse.y: fix here-doc identifier with newline
* parse.y (heredoc_identifier): quoted here-document identifier
  must end within the same line.

  the only corner case that here-document identifier can contain a
  newline is that the closing qoute is placed at the beginning of
  the next line, and has been warned since 2.4.

  ```ruby
  <<"EOS
  " # warning: here document identifier ends with a newline
  EOS
  ```
2019-04-29 12:49:59 +09:00
Nobuyoshi Nakada 6033423d68
NEWS: Moved "Integer#[] with range" to "Core classes updates" 2019-04-29 10:11:44 +09:00
Yusuke Endoh 50cbb21ba5 Add "Integer#[] with range" to NEWS 2019-04-29 01:17:27 +09:00
Kazuki Tsujimoto be8cf0d4f6
Update NEWS for pattern matching [ci skip] 2019-04-27 12:16:28 +09:00
Takashi Kokubun baad9e8a1c
NEWS: Note about $TERM requirement [ci skip] 2019-04-27 12:08:49 +09:00
Takashi Kokubun 2422316aea
NEWS: Credit goes to Pry [ci skip]
We must note this feature is heavily inspired by Pry.
2019-04-26 01:18:39 +09:00
Takashi Kokubun e64bab5f77
Add NEWS entry about IRB syntax highlight [ci skip]
Details: https://github.com/ruby/ruby/pull/2150

Note that this introduction is discussed with @aycabta who is allowed to
make some changes to IRB by the IRB maintainer, keiju.
2019-04-26 00:53:38 +09:00
Kazuhiro NISHIYAMA 790f6709ae
Mention warning of `$,`
see [r67606](3ee0648dc7)
2019-04-25 23:46:47 +09:00
Hiroshi SHIBATA 14dd8d6b37
Added cgit url. 2019-04-23 22:26:40 +09:00
Takashi Kokubun 5da52d1210
Migrate RUBY_VERSION/RUBY_DESCRIPTION to Git
from Subversion.

This behavior is tentative and not discussed well. The point of
discussion will be just the length of commit hash, and I thought we
should include this kind of change in 2.7.0-preview1 release even before
the length is fixed yet.

Let's discuss that afterwards and fix it later as needed. Naruse
suggested that length=10 is very unlikely to cause conflict, and thus
it's used by email notification and rubyci now. This behavior is in
favor of that for now.
2019-04-22 21:27:34 +09:00
kazu fdd3091274 Fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-21 15:04:06 +00:00
tenderlove 91793b8967 Add `GC.compact` again.
🙏

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-20 01:19:47 +00:00
nobu 4d1f86a1ff string.c: warn non-nil $;
* string.c (rb_str_split_m): warn use of non-nil $;.

* string.c (rb_fs_setter): warn when set to non-nil value.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-18 09:34:40 +00:00
hsbt 286f0b8ae3 Added rubygems and bundler entries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-17 13:20:02 +00:00
tenderlove 744e5df715 Reverting compaction for now
For some reason symbols (or classes) are being overridden in trunk

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-17 09:41:41 +00:00
k0kubun f399134e8f NEWS: note about recent changes around JIT [ci skip]
This diff is backported from the upcoming preview release note.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-17 09:24:48 +00:00
ktsj 9738f96fcf Introduce pattern matching [EXPERIMENTAL]
[ruby-core:87945] [Feature #14912]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-17 06:48:03 +00:00
tenderlove 3c55b643ae Adding `GC.compact` and compacting GC support.
This commit adds the new method `GC.compact` and compacting GC support.
Please see this issue for caveats:

  https://bugs.ruby-lang.org/issues/15626

[Feature #15626]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-17 03:17:25 +00:00
knu 3f7c6aea3e Mention SNI support in Net::IMAP
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-15 23:58:06 +00:00
kou 3791bdf080 Import CSV 3.0.9
This fixes test failures on Windows.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-15 02:05:03 +00:00
kou e3b6c7c7eb Import CSV 3.0.8
This includes performance improvements and backward incompatibility
fixes.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-14 21:01:51 +00:00
kazu 25c1fd3b90 Reverting all commits from r67479 to r67496 because of CI failures
Because hard to specify commits related to r67479 only.
So please commit again.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-10 09:15:21 +00:00
tenderlove 3ef4db15e9 Adding `GC.compact` and compacting GC support.
This commit adds the new method `GC.compact` and compacting GC support.
Please see this issue for caveats:

  https://bugs.ruby-lang.org/issues/15626

[Feature #15626]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-09 20:32:04 +00:00
nobu c09e35d7bb NEWS: [DOC] markup hyphens [ci skip]
* NEWS: [DOC] markup command line options, not to convert
  successive hyphens to an en-dash unintentionally.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-09 13:08:30 +00:00
nobu ed958ef37e NEWS: [DOC] fold lines [ci skip]
* NEWS: [DOC] fold lines not to make the BTS refereces wrong
  links, without a backslash.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-09 13:08:29 +00:00
duerst a2429de63c mention support for Unicode Version 12.1.0 (issue #15195) in NEWS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-09 09:41:00 +00:00
nobu 320c98b436 date: support for Reiwa, new Japanese era
[Feature #15742]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-09 01:27:36 +00:00
mame 95f7992b89 Introduce beginless range [Feature#14799]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-03 08:11:41 +00:00
kazu 0f64776745 NEWS: Fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-28 12:35:20 +00:00
k0kubun b6443c62f0 Note r67356 in NEWS [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-28 11:50:19 +00:00
kazu a72bc2e716 Fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-17 13:51:30 +00:00
k0kubun 46f5eb5b48 Update NEWS for --jit option changes [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-17 05:28:54 +00:00
nobu 12acc751e3 Numbered parameters [Feature #4475]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-17 05:21:18 +00:00
nobu 560bb32fb2 NEWS: adjust indents and escape brackets not to be labeled lists
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-15 01:19:31 +00:00
naruse a3a1199f41 fix wrong merge of conflict at r67217
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-11 13:00:31 +00:00
mame 76fc1ce0a7 The combination of non-Symbol keys and Symbol keys is now allowed again
Revert r64358.  [Bug #15658]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-11 12:48:33 +00:00
hsbt bc76d8a232 Removed from standard library. No one maintains it from Ruby 2.0.0.
[Bug #15652][ruby-core:91736]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-11 11:37:17 +00:00
knu 448262c81d Mention the addition of Enumerator::Yielder#to_proc in NEWS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-11 09:52:40 +00:00
duerst b3f641085e add news about Unicode version update (issue #15321) to NEWS [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-03-06 03:15:06 +00:00
nobu 673dc51c25 enum.c: Enumerable#tally
* enum.c (enum_tally): new methods Enumerable#tally, which group
  and count elements of the collection.  [Feature #11076]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-07 08:14:10 +00:00
nobu 009144e8ef NEWS: use note-list
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-02 06:38:09 +00:00
kou 24b57b102c Upgrade CSV to 3.0.4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-25 06:49:59 +00:00
kou cee0c36a08 Upgrade RSS to 0.2.8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-25 06:35:04 +00:00
k0kubun bfb684c029 NEWS: announce C99 requirement [ci skip]
[Misc #15347]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-10 08:22:23 +00:00
nobu 9f1fb0a17f proc.c: proc without block
* proc.c (proc_new): promoted lambda/proc/Proc.new with no block
  in a method called with a block to a warning/error.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-10 08:19:14 +00:00
nobu 67c5747369 Method reference operator
Introduce the new operator for method reference, `.:`.
[Feature #12125] [Feature #13581]
[EXPERIMENTAL]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-31 15:00:37 +00:00
kazu c14b9f9b63 [DOC] Move from NEWS to doc/NEWS-2.6.0 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 15:58:49 +00:00
kou 04e0609a06 Import REXML 3.1.9
It restores removed REXML::Parsers::BaseParser::UNQME_STR.
Because it's used by kramdown.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 02:26:30 +00:00
naruse f52aed0106 exception bactrace in reverse order is Ruby 2.5 feature
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-24 22:09:40 +00:00
hsbt 1cc8ff001d Added entry for RubyGems 3.0.1 to NEWS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-24 11:03:52 +00:00
stomar 0d072060ba NEWS: various improvements
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-24 10:52:44 +00:00
mrkn 325f9890de NEWS: Update for bigdecimal future plan
[ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 18:32:03 +00:00
aycabta 8a80a33bd1 Add RDoc section to NEWS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 13:15:17 +00:00
kou e5d634260e Import CSV 3.0.2
This includes performance improvement especially writing. Writing is
about 2 times faster.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 07:00:35 +00:00
marcandre 1e30df6f77 ostruct.rb: Accept block for to_h [#15451].
Patch by Shuji Kobayashi.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-22 17:05:03 +00:00
stomar 97587ed4e9 NEWS: small improvements
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-20 22:54:36 +00:00
kou 0d1abb904e rexml: upgrade to 3.1.8
See https://github.com/ruby/rexml/blob/master/NEWS.md for change summary.

Changes for spec/ has been reported: https://github.com/ruby/spec/pull/639


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-20 02:49:10 +00:00
hsbt 097ee409be Update entry of Psych on NEWS file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-19 12:57:19 +00:00
hsbt f43a333dee Update entry of RubyGems on NEWS file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-19 12:46:29 +00:00
mrkn 7d4bfb5308 NEWS: Note for the bigdecimal versions
The differences between bigdecimal 1.3.5, 1.4.0, and 1.5.0 are explained.

[ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-17 03:08:46 +00:00
naruse 96b32a0108 Merge nkf v2.1.5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-15 09:55:24 +00:00
mrkn 308360f13b NEWS: Fix description of BigDecimal.new [ci skip]
BigDecimal.new is restored, and will be removed on bigdecimal 1.5

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-14 03:45:32 +00:00
stomar 6b6b59f7fd NEWS: various fixes
Fix some typos; fix syntax in a code example; fix unintentional
description list for ticket numbers; other fixes.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-13 20:35:02 +00:00
marcandre fc4029b843 NEWS: Mention (1...) in addition to (1..) [DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-12 19:51:50 +00:00
ko1 7510eef748 remove `compiled_` prefix. [Feature #15287]
* vm_trace.c: remove `compiled_` prefix from the following methods:
  * `compiled_eval_script`
  * `compiled_instruction_sequence`
  [Feature #15287]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-12 15:45:06 +00:00
hsbt 1a1f9ecb30 Added entry of Psych.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-12 13:25:29 +00:00
akr c33e716d6d mention Pathname change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-12 05:38:59 +00:00
samuel 337cabf7df Fix location of NEWS for native coroutine.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-12 02:31:26 +00:00
hsbt e4922abde3 Update version number on Bundler section.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-12 00:17:59 +00:00
samuel ace30f4de8 Explain which architectures are supported in NEWS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-11 23:56:26 +00:00
samuel 61c2022595 Add NEWS about coroutine implementation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-11 23:49:29 +00:00
ko1 ed2ad8fc1e remove unused (redundant) chapter names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-11 07:31:23 +00:00
mame eec23088e4 NEWS: add a ticket number
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-11 04:26:04 +00:00
duerst 448e86d796 add clarification about details of update to Unicode 11.0.0 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-11 00:44:24 +00:00
kazu 8a758e87f2 Sort [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-10 23:52:59 +00:00
nobu 0c0ec3ad21 Add the deprecation of flip-flops to NEWS page [ci skip]
[Fix GH-2047]

From: Junichi Ito <jit@sonicgarden.jp>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-10 23:40:14 +00:00
ko1 1692ccaf9f add NEWS entries about script_compiled event
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-06 13:56:36 +00:00
hsbt 586e018c73 Added News entries about RubyGems and Bundler.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-06 13:19:06 +00:00
normal aa6dfe7103 NEWS: fix typo (maesured => measured) [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-06 10:09:35 +00:00
mame 0cd28199e5 load.c (RubyVM.resolve_feature_path): New method. [Feature #15230]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-06 06:40:54 +00:00
mrkn 5fa8b95d5f NEWS: update about bigdecimal [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-05 11:30:26 +00:00
mrkn 2810c12a99 Import bigdecimal 1.4.0.pre.20181205a
* https://github.com/ruby/bigdecimal/compare/74d25ef..v1.4.0.pre.20181205a

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-05 11:30:24 +00:00
duerst 433410a00f add update to Unicode 11.0.0 to NEWS [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-05 10:06:47 +00:00
mrkn f15cf0918a Revert bigdecimal 1.4.0 related commits
* Revert "Remove unnecessary linker flags"

  This reverts commit 49efa01579.

* Revert "Move dependency on gemspec"

  This reverts commit bfb64d4765.

* Revert "Remove unnecessary directory listing"

  This reverts commit 86661b5c60.

* Revert "* expand tabs."

  This reverts commit 35ada33f83.

* Revert "Import bigdecimal-1.4.0.pre-20181204a"

  This reverts commit 8891bb3bd6.

* Revert "ext/bigdecimal/bigdecimal.c: drop unused function"

  This reverts commit 5ceeea4da1.

* Revert "* expand tabs."

  This reverts commit e021386e90.

* Revert "Import bigdecimal-1.4.0.pre-20181130a"

  This reverts commit a0e438cd3c.

* Revert "NEWS: write about bigdecimal updates"

  This reverts commit 89455ff2ba.

* Revert "Fix rubyspec of bigdecimal for ruby <2.6"

  This reverts commit 4bcdeeb65e.

* Revert "Fix rubyspec against bigdecimal updates"

  This reverts commit c8fb30fc9e.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-05 04:01:53 +00:00
ko1 5ce533520e add a NEWS entry of TracePoint#enable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-03 13:39:42 +00:00
mrkn 89455ff2ba NEWS: write about bigdecimal updates
[ci skip]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-03 09:21:39 +00:00
shyouhei 37c22bd945 string.c: [DOC] deprecate String#crypt [ci skip] [Feature #14915]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-03 05:46:46 +00:00
mame ebff9dc10e object.c: Deprecate Object#=~ and add NilClass#=~`
Object#=~ always returns nil.  This behavior is not only unuseful but
also troublesome because it may hide a type error.

This change deprecates Object#=~.  For compatibility, NilClass#=~ is
newly introduced.  [Feature #15231]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-26 07:55:07 +00:00
nobu 2b9448fd77 NEWS: fix markup [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-25 06:07:28 +00:00