Nobuyoshi Nakada
929d5fd3b9
Comparable#clamp with a range [Feature #14784 ]
2019-10-16 01:42:34 +09:00
Sutou Kouhei
95c420c4a6
Import StringScanner 1.0.3 ( #2553 )
2019-10-14 12:40:50 +09:00
Sutou Kouhei
92df7d98b6
Import CSV 3.1.2 ( #2547 )
2019-10-12 14:03:21 +09:00
Sutou Kouhei
412cd56766
Import REXML 3.2.3 ( #2548 )
2019-10-12 12:07:15 +09:00
Jeremy Evans
055a85d3d9
Update NEWS with Module#ruby2_keywords and a few other things
2019-10-07 12:56:52 -07:00
Prajjwal Singh
c8542ab484
Add: Array#intersection method
2019-10-07 15:59:12 +09:00
Nobuyoshi Nakada
550a6a6bc1
NEWS: marked up `**nil` [ci skip]
2019-09-28 13:51:27 +09:00
Nobuyoshi Nakada
d474243e8c
NEWS: Added module name to proc and lambda [ci skip]
...
RDoc cannot know if bare words are method name or not.
2019-09-28 13:51:09 +09:00
Jeremy Evans
fd0e214183
Update NEWS section on keyword argument separation [ci skip]
...
This may be too verbose, if so, maybe it should be moved lower in
the document, or to a separate document.
2019-09-27 09:44:59 -07:00
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