aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
Commit message (Collapse)AuthorAgeFilesLines
* `$SAFE` as a process global state. [Feature #14250]ko12017-12-281-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * vm_core.h (rb_vm_t): move `rb_execution_context_t::safe_level` to `rb_vm_t::safe_level_` because `$SAFE` is a process (VM) global state. * vm_core.h (rb_proc_t): remove `rb_proc_t::safe_level` because `Proc` objects don't need to keep `$SAFE` at the creation. Also make `is_from_method` and `is_lambda` as 1 bit fields. * cont.c (cont_restore_thread): no need to keep `$SAFE` for Continuation. * eval.c (ruby_cleanup): use `rb_set_safe_level_force()` instead of access `vm->safe_level_` directly. * eval_jump.c: End procs `END{}` doesn't keep `$SAFE`. * proc.c (proc_dup): removed and introduce `rb_proc_dup` in vm.c. * safe.c (rb_set_safe_level): don't check `$SAFE` 1 -> 0 changes. * safe.c (safe_setter): use `rb_set_safe_level()`. * thread.c (rb_thread_safe_level): `Thread#safe_level` returns `$SAFE`. It should be obsolete. * transcode.c (load_transcoder_entry): `rb_safe_level()` only returns 0 or 1 so that this check is not needed. * vm.c (vm_proc_create_from_captured): don't need to keep `$SAFE` for Proc. * vm.c (rb_proc_create): renamed to `proc_create`. * vm.c (rb_proc_dup): moved from proc.c. * vm.c (vm_invoke_proc): do not need to set and restore `$SAFE` for `Proc#call`. * vm_eval.c (rb_eval_cmd): rename a local variable to represent clearer meaning. * lib/drb/drb.rb: restore `$SAFE`. * lib/erb.rb: restore `$SAFE`, too. * test/lib/leakchecker.rb: check `$SAFE == 0` at the end of tests. * test/rubygems/test_gem.rb: do not set `$SAFE = 1`. * bootstraptest/test_proc.rb: catch up this change. * spec/ruby/optional/capi/string_spec.rb: ditto. * test/bigdecimal/test_bigdecimal.rb: ditto. * test/fiddle/test_func.rb: ditto. * test/fiddle/test_handle.rb: ditto. * test/net/imap/test_imap_response_parser.rb: ditto. * test/pathname/test_pathname.rb: ditto. * test/readline/test_readline.rb: ditto. * test/ruby/test_file.rb: ditto. * test/ruby/test_optimization.rb: ditto. * test/ruby/test_proc.rb: ditto. * test/ruby/test_require.rb: ditto. * test/ruby/test_thread.rb: ditto. * test/rubygems/test_gem_specification.rb: ditto. * test/test_tempfile.rb: ditto. * test/test_tmpdir.rb: ditto. * test/win32ole/test_win32ole.rb: ditto. * test/win32ole/test_win32ole_event.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add NEWS for Ruby 2.6.0kazu2017-12-261-0/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Move from NEWS to doc/NEWS-2.5.0kazu2017-12-261-573/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: Fix typos [ci skip]kazu2017-12-251-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added gemification entry to NEWS file.hsbt2017-12-251-0/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: use of copy_file_range(2) isn't a new methodsorah2017-12-241-1/+2
| | | | | | [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: move the section to note ERB performancek0kubun2017-12-241-2/+2
| | | | | | | | | | I heard that notable performance improvements should be written to "Implementation Improvements". So I put the sentence here. Also, the sentence itself is fixed to be the same as Ruby 2.5 release note draft's one. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: note about ERB's rendering performancek0kubun2017-12-241-0/+3
| | | | | | | | | | | improvement. There is no specific ticket for it, but improving the ERB's performance was my largest passion that made me a Ruby committer. See r58735, r58842, r58904, r58905, r58916. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: Add a brief explanation for branch and method coveragemame2017-12-241-1/+65
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix grammatical mistake [ci skip]nobu2017-12-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: updates for WEBrick [ci skip]normal2017-12-241-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: fix typo [ci skip]normal2017-12-241-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: update for bigdecimal 1.3.4mrkn2017-12-241-4/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge rdoc-6.0.1.hsbt2017-12-231-1/+1
| | | | | | | | It fixes an installation error of activerecord. https://github.com/ruby/rdoc/issues/571 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Print backtrace in reverse order on IRB toosorah2017-12-231-0/+1
| | | | | | [Feature #8861] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RubyVM::InstructionSequence#trace_points.ko12017-12-231-0/+1
| | | | | | | | | | * iseq.c (iseqw_trace_points): add `RubyVM::InstructionSequence#trace_points` method for tools which want to manipulate ISeq (and traces). * test/ruby/test_iseq.rb: add a test for this method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RubyVM::InstructionSequence#each_child.ko12017-12-231-0/+6
| | | | | | | | | | * iseq.c (iseqw_each_child): add RubyVM::InstructionSequence#each_child method for tools which want to manipulate ISeq. * test/ruby/test_iseq.rb: add a test for this method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Postponing the Bundler merge.hsbt2017-12-221-6/+0
| | | | | | | I faced a big issue about Bundler with ruby core. I have no time to resolve it issue before 2.5 final release. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* open-uri defines URI.open defined as an alias.akr2017-12-211-0/+4
| | | | | | | | open-uri's Kernel.open will be deprecated in future. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added detailed version of Bundler on NEWS.hsbt2017-12-211-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb (Logger::LogDevice#open_logfile, #create_logfile):sonots2017-12-211-0/+7
| | | | | | Logger should be able to open only files [Bug #14212] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: update news for Psychstomar2017-12-201-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: "absent operator" is now called "absence operator"stomar2017-12-201-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: grammar fixesstomar2017-12-201-6/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update rdoc-6.0.0 entry on NEWS filehsbt2017-12-201-3/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update version number of Psychhsbt2017-12-191-1/+1
| | | | | | From: SHIBATA Hiroshi <hsbt@ruby-lang.org> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update RubyGems entry on NEWS file.hsbt2017-12-191-2/+5
| | | | | | From: SHIBATA Hiroshi <hsbt@ruby-lang.org> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: update for WEBrick Proc body responsesnormal2017-12-151-0/+1
| | | | | | Better late than never :x [Feature #855] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: updates about trivial GVL release changesnormal2017-12-151-0/+6
| | | | | | | No tickets, but all pretty trivial changes which avoids stalls on slow/non-responsive filesytems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typo [ci skip]kazu2017-12-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add [Feature #14143] to NEWSeregon2017-12-141-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: add entry for opensslrhe2017-12-141-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: grammar fixesstomar2017-12-141-15/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Implement String#undump to unescape String#dump-ed stringtadd2017-12-141-0/+1
| | | | | | [Feature #12275] [close GH-1765] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow empty path components in a URI [Bug #8352]knu2017-12-141-0/+4
| | | | | | | | | | | * generic.rb (URI::Generic#merge, URI::Generic#route_to): Fix a bug where a sequence of slashes in the path part gets collapsed to a single slash. According to the relevant RFCs and WHATWG URL Standard, empty path components are simply valid and there is no special treatment defined for them, so we just keep them as they are. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: bigdecimal 1.3.3mrkn2017-12-131-0/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: typo [DOC] [ci skip]sorah2017-12-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* pattern and modulo are not keyword argument [ci skip]kazu2017-12-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typos [ci skip]kazu2017-12-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* atime,mtime,ctime of File::Stat are instance methodskazu2017-12-121-1/+1
| | | | | | [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * remove trailing spaces.svn2017-12-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: polishsorah2017-12-121-88/+156
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS for Method#===a_matsuda2017-12-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS entry for [Feature #12882]shyouhei2017-12-121-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* error.c(exc_full_message): Exception#full_messagesorah2017-12-121-0/+4
| | | | | | | | | Add a method to retrieve a String expression of an exception, formatted in the same way that Ruby prints an uncaught exception out. [Feature #14141] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS entry for FrozenError [Feature #13224]shyouhei2017-12-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Integer#allbits?, Integer#anybits?, Integer#nobits? [Feature #12753]naruse2017-12-121-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: mention Process.last_statusmrkn2017-12-121-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mention support of emoji-related Unicode character properties in NEWSduerst2017-12-121-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS: add entry for r61137k0kubun2017-12-121-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e