aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
Commit message (Collapse)AuthorAgeFilesLines
* Prohibit nul-separated glob pattern [Feature #14643] (#2419)Nobuyoshi Nakada2019-09-021-0/+7
|
* Add Net::FTP#features and Net::FTP#optionShugo Maeda2019-09-021-0/+4
| | | | | Patch by darkphnx (Dan Wentworth) . Thanks! [Feature #15964]
* Get rid of interpreting BTS references as label-list [ci skip]Nobuyoshi Nakada2019-09-021-8/+8
|
* Note about ANYARGS in NEWSTakashi Kokubun2019-09-011-0/+3
| | | | | | | | Since 50f5a0a8d6e7ad89d6caff695a08dbd38edb7a6e, 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.
* NEWS: Hash-to-keywords automatic conversion is now warnedYusuke Endoh2019-08-311-0/+19
| | | | A follow up for 16c6984bb9..b5b3afadfa. [Feature #14183]
* lib/pp.rb: Use UnboundMethod#bind_call instead of .bind(obj).call(...)Yusuke Endoh2019-08-301-1/+1
| | | | Related to [Feature #15955].
* proc.c: Add UnboundMethod#bind_callYusuke Endoh2019-08-301-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | `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 ```
* NEWS: [Feature #16035] [ci skip]Nobuyoshi Nakada2019-08-291-0/+7
|
* Revert "Add pipeline operator [Feature #15799]"Nobuyoshi Nakada2019-08-291-11/+0
| | | | | | | | | | | | | This reverts commits: * d365fd5a024254d7c105a62a015a7ea29ccf3e5d * d780c3662484d6072b3a6945b840049de72c2096 * aa7211836b769231a2a8ef6b6ec2fd0ec882ef29 * 043f010c28e82ea38978bf8ed885416f133b5b75 * bb4dd7c6af05c7821d572e2592ea3d0cc748d81f * 043f010c28e82ea38978bf8ed885416f133b5b75 * f169043d81524b5b529f2c1e9c35437ba5bc3a7a http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/94645
* Minor wording fix in NEWS [ci skip]Takashi Kokubun2019-08-121-1/+1
| | | | pushing a trivial commit for testing post-receive hook
* Add details of fiber pool and coroutine selection to NEWS.Samuel Williams2019-07-181-0/+13
|
* Add features of IRB to NEWSaycabta2019-07-151-0/+6
|
* Add Reline section to NEWSaycabta2019-07-151-0/+5
|
* Fix a typo of Markdown of NEWSaycabta2019-07-151-1/+1
|
* The default charset of text/* media type is UTF-8.Tanaka Akira2019-07-151-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* NEWS: RubyVM.resolve_feature_path moved [ci skip]Kazuhiro NISHIYAMA2019-07-141-0/+7
|
* [DOC] Add missing headings [ci skip]Kazuhiro NISHIYAMA2019-07-141-0/+4
|
* [DOC] Fix a typo [ci skip]Kazuhiro NISHIYAMA2019-07-141-1/+1
|
* Describe about Pathname.glob.Tanaka Akira2019-07-141-0/+5
|
* Describe warning of open-uri.Tanaka Akira2019-07-141-0/+5
|
* NEWS: warning of flip-flop is reverted [ci skip]Kazuhiro NISHIYAMA2019-07-141-0/+2
|
* Add $LOAD_PATH.resolve_feature_path in NEWSBenoit Daloze2019-07-131-0/+4
|
* [DOC] Fix typos [ci skip]Kazuhiro NISHIYAMA2019-07-011-2/+2
|
* Add new encoding CESU-8 [Feature #15931]NARUSE, Yui2019-06-241-0/+4
|
* Update NEWS.Samuel Williams2019-06-241-0/+10
| | | | | - Add note regarding IA64 removal. - Add note about Thread allocation performance improvements.
* NEWS: Module#constant_source_locationNobuyoshi Nakada2019-06-231-0/+5
| | | | [Feature #10771]
* Add an optional `inherit` argument to Module#autoload?Jean Boussier2019-06-211-0/+7
| | | | | | [Feature #15777] Closes: https://github.com/ruby/ruby/pull/2173
* Fix a typo [ci skip]Kazuhiro NISHIYAMA2019-06-201-1/+1
|
* Added racc entry to NEWS.Hiroshi SHIBATA2019-06-201-0/+4
|
* Implement Complex#<=>Jeremy Evans2019-06-191-0/+7
| | | | | | | | | | | 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]
* Pipeline operator is experimental [ci skip]Kazuhiro NISHIYAMA2019-06-141-1/+1
|
* Add pipeline operator [Feature #15799]Nobuyoshi Nakada2019-06-131-0/+12
|
* IO#set_encoding_by_bomNobuyoshi Nakada2019-06-131-0/+7
| | | | | * io.c (rb_io_set_encoding_by_bom): IO#set_encoding_by_bom to set the encoding by BOM if exists. [Bug #15210]
* NEWS: Note about CGI.escapeHTML change [ci skip]Takashi Kokubun2019-06-051-0/+4
| | | | See https://github.com/ruby/ruby/pull/2226 for benchmark results.
* NEWS: move GC.compactNobuyoshi Nakada2019-06-021-9/+11
| | | | From "Implementation improvements" to "Core classes updates".
* NEWS: markup class and method namesNobuyoshi Nakada2019-06-021-3/+3
|
* [DOC] JIS X 0301 has been updatedNobuyoshi Nakada2019-05-311-3/+2
| | | | | | | | [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]
* Allow DelegateClass() to module_eval given blockJeremy Evans2019-05-301-0/+5
| | | | | | | | | | 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]
* Add FrozenError#receiverJeremy Evans2019-05-261-0/+9
| | | | | | | | | | | | | | | | | 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]
* Incremental syntax highlight for IRB source linesTakashi Kokubun2019-05-241-2/+2
| | | | Closes: https://github.com/ruby/ruby/pull/2202
* Enumerable#filter_map in NEWSNobuyoshi Nakada2019-05-231-0/+2
|
* New Time methods in NEWSNobuyoshi Nakada2019-05-231-0/+6
|
* Fix grammarMarcus Stollsteimer2019-05-041-2/+2
|
* parse.y: fix here-doc identifier with newlineNobuyoshi Nakada2019-04-291-0/+6
| | | | | | | | | | | | | | | * 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 ```
* NEWS: Moved "Integer#[] with range" to "Core classes updates"Nobuyoshi Nakada2019-04-291-7/+11
|
* Add "Integer#[] with range" to NEWSYusuke Endoh2019-04-291-1/+8
|
* Update NEWS for pattern matching [ci skip]Kazuki Tsujimoto2019-04-271-1/+1
|
* NEWS: Note about $TERM requirement [ci skip]Takashi Kokubun2019-04-271-1/+1
|
* NEWS: Credit goes to Pry [ci skip]Takashi Kokubun2019-04-261-3/+2
| | | | We must note this feature is heavily inspired by Pry.
* Add NEWS entry about IRB syntax highlight [ci skip]Takashi Kokubun2019-04-261-0/+6
| | | | | | | 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.