summaryrefslogtreecommitdiff
path: root/NEWS
AgeCommit message (Collapse)Author
2016-01-07version.c: no exit in ruby_show_copyrightnobu
* include/ruby/backward.h (ruby_show_copyright_to_die): for source code backward compatibility. * ruby.c (process_options): return Qtrue to exit the process successfully. * version.c (ruby_show_copyright): no longer exit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-06optparse.rb: into kwdargnobu
* lib/optparse.rb (OptionParser#order!): add `into` optional keyword argument to store the results. [Feature #11191] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-01* NEWS: mention about CSV's liberal_parsing option.kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24* ChangeLog, NEWS: added.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24* doc/{ChangeLog,NEWS}-2.3.0: moved.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24* NEWS: added entry for CGI.escapeHTML optimization.hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24add a ticket number [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24deprecate exposed internal functionsnobu
* error.c (rb_compile_error_with_enc, rb_compile_error), (rb_compile_bug): deprecate internal functions. * parse.y (parser_yyerror): construct exception message with source code and carret. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24NEWS: reduce redundancy w.r.t Socket+IO [ci skip]normal
No need to mention the same things in the same document multiple times. Use numeric references to point to previously-mentioned items. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24remove empty section [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24fix a typo [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24remove duplicated ticket number [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24* NEWS: renameko1
"Implementation changes" section to "Supported platform changes" section. * NEWS: add "Implementation improvements" and add several entries. * NEWS: add NEWS entries by Eric Wong. [ruby-core:72450] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-23io/console: fix gem build failure on Windowsnobu
* ext/io/console/extconf.rb: fix gem build failure on Windows. only win32_vk.inc is included in the gem and no dependencies for the header, so that gperf will not be mandatory. [ruby-core:72453] [Bug #11866] * ext/io/console/io-console.gemspec: include depend file and win32_vk header. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-22NEWS: add hint for Redmine URLs with issue number [ci skip]normal
This may not be obvious to folks who do not follow Ruby development. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-22* gems/bundled_gems: Upgrade the did_you_mean gem to 1.0.0yuki
* NEWS: Add news about the did_you_mean gem git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-22io-console.gemspec: BSD-2-Clausenobu
* ext/io/console/io-console.gemspec: change the license to BSD-2-Clause since "ruby" is no longer valid license as gem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-22io-console.gemspec: bump upnobu
* ext/io/console/io-console.gemspec: bump up to 0.4.4. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-22* NEWS: Added news entry of Psych 2.0.17hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-22* NEWS: Added news entry of RDoc 4.2.1hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-18NEWS: make precise the note of r53188nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-18stringio.c: separate encoding from buffernobu
* ext/stringio/stringio.c (strio_set_encoding): add StringIO's own encoding and separate it from the buffer string to override the encoding of string when reading. [ruby-core:72189] [Bug #11827] note that setting the encoding of its buffer string may cause unpredictable behavior. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-17NEWS: sort alphabeticallykazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16* ChangeLog: fix a typo in r53149.nagachika
* NEWS: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16NEWS: note IO#fadvise change [ruby-core:72168] [ci skip]normal
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-15* compar.c: Update doc for == [#7688] [ci-skip]marcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-15NEWS: added news about EBCDIC encodingduerst
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-12* ext/nkf/nkf-utf8/nkf.c: Merge nkf 2.1.4.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-11NEWS: sort alphabeticallykazu
* NEWS (Stdlib compatibility issues): sort classes/modules in alphabetical order. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-11NEWS: add note about Fiddle GVL releasenormal
* NEWS: note Fiddle GVL release [Feature #11607] * ext/fiddle/function.c (Init_fiddle_function): document above, too git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-11* NEWS: Mentioned rubygems-2.5.1hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-10* object.c (rb_inspect): dump inspected result with rb_str_escape()naruse
instead of raising Encoding::CompatibilityError. [Feature #11801] * string.c (rb_str_escape): added to dump given string like rb_str_inspect without quotes and always dump in US-ASCII like rb_str_dump. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-09* compile.c (iseq_compile_each): do not add debug informationko1
without --debug or --debug=frozen-string-literal option because String#dup slows down with debug information. [Feature #11725] * NEWS: apply about it. * test/ruby/test_rubyoptions.rb: catch up this fix with refactoring. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-09follow r53004kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-09References to tickets addedkazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-09update NEWS [ruby-core:71970]ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-09mark as experimentalko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-08* string.c (rb_str_init): now accepts new option parameter `encoding'.usa
[Feature #11785] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-08fix indent [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-08Add ticket numbers [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-08fix a typo [ci skip]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-08* introduce new ISeq binary format serializer/de-serializerko1
and a pre-compilation/runtime loader sample. [Feature #11788] * iseq.c: add new methods: * RubyVM::InstructionSequence#to_binary_format(extra_data = nil) * RubyVM::InstructionSequence.from_binary_format(binary) * RubyVM::InstructionSequence.from_binary_format_extra_data(binary) * compile.c: implement body of this new feature. * load.c (rb_load_internal0), iseq.c (rb_iseq_load_iseq): call RubyVM::InstructionSequence.load_iseq(fname) with loading script name if this method is defined. We can return any ISeq object as a result value. Otherwise loading will be continue as usual. This interface is not matured and is not extensible. So that we don't guarantee the future compatibility of this method. Basically, you should'nt use this method. * iseq.h: move ISEQ_MAJOR/MINOR_VERSION (and some definitions) from iseq.c. * encoding.c (rb_data_is_encoding), internal.h: added. * vm_core.h: add several supports for lazy load. * add USE_LAZY_LOAD macro to specify enable or disable of this feature. * add several fields to rb_iseq_t. * introduce new macro rb_iseq_check(). * insns.def: some check for lazy loading feature. * vm_insnhelper.c: ditto. * proc.c: ditto. * vm.c: ditto. * test/lib/iseq_loader_checker.rb: enabled iff suitable environment variables are provided. * test/runner.rb: enable lib/iseq_loader_checker.rb. * sample/iseq_loader.rb: add sample compiler and loader. $ ruby sample/iseq_loader.rb [dir] will compile all ruby scripts in [dir]. With default setting, this compile creates *.rb.yarb files in same directory of target .rb scripts. $ ruby -r sample/iseq_loader.rb [app] will run with enable to load compiled binary data. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-08mention about Enumerator::Lazy#grep_v in NEWSkazu
* NEWS: mention about Enumerator::Lazy#grep_v. [ruby-core:71845] [Feature #11773] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-08NEWS: indented heredoc [ci skip]nobu
* NEWS: mention about indented here document. [Feature #9098] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-07add a NEWS entry for r52917ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-06introduce rb_autoload_str to replace rb_autoloadnormal
rb_autoload_str may be safer by preventing premature GC. It can also be more efficient by passing a pre-frozen string that can be deduped using rb_fstring. Common autoload callers (e.g. rubygems, rdoc) already use string literals as the file argument. There seems to be no reason to expose rb_autoload_str to the public C API since autoload is not performance-critical. Applications may declare autoloads in Ruby code or via rb_funcall; so merely deprecate rb_autoload without exposing rb_autoload_str to new users. Running: valgrind -v ruby -rrdoc -rubygems -e exit shows a minor memory reduction (32-bit userspace) before: in use at exit: 1,600,621 bytes in 28,819 blocks total heap usage: 55,786 allocs, 26,967 frees, 6,693,790 bytes allocated after: in use at exit: 1,599,778 bytes in 28,789 blocks total heap usage: 55,739 allocs, 26,950 frees, 6,692,973 bytes allocated * include/ruby/intern.h (rb_autoload): deprecate * internal.h (rb_autoload_str): declare * load.c (rb_mod_autoload): use rb_autoload_str * variable.c (rb_autoload): become compatibility wrapper (rb_autoload_str): hoisted out from old rb_autoload [ruby-core:71369] [Feature #11664] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-25add NEWS entry about --debug=frozen-string-literalko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-24Drop support for BeOSnobu
* beos: Drop support for BeOS now that Haiku is stable. [Fix GH-1112] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-23Fix Struct#dig issue number [ci skip]nobu
* NEWS: Fix the issue number of `Struct#dig`, which should be [Feature #11688]. [Fix GH-1110] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-11-23Haiku now best effort supportnobu
* configure.in: remove obsolete workarounds for Haiku. * dln.c, file.c, io.c: remove obsolete Haiku workarounds. * thread_pthread.c: add stack bounds detection for Haiku. * signal.c: get stack pointer from signal context on Haiku. [ruby-core:67923] [Bug #10811] [Fix GH-1109] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e