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

53768 Коммитов

Автор SHA1 Сообщение Дата
shyouhei 686881d383 add _sp_inc_helpers.erb [ci skip]
Just add more room for comments.  This is a pure refactoring that does
not change anything but readability.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-26 00:58:26 +00:00
kazu 756b200ad6 [DOC] Remove heading with no content [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 16:11:18 +00:00
svn 1859c79190 * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 16:09:40 +00:00
kazu d16509f1f0 [DOC] Add doc/NEWS-2.6.0 [ci skip]
fix previous commit miss

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 16:09:39 +00:00
svn 848a53d2b5 * 2018-12-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 15:58:51 +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
k0kubun b5569b9ab2 erb.rb: print deprecation warning with warn level 1
This was planned to be removed in Ruby 2.7 at first, but I changed my
mind to just keep warning it in Ruby 2.7.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 13:57:28 +00:00
matz 3a0471faa0 version.h (RUBY_VERSION): 2.7.0 development has started.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 13:45:17 +00:00
nobu 8cfbaf943e Restore SOURCE_DATE_EPOCH
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 13:33:51 +00:00
nobu b52f145889 Set typeflag [Bug #15461]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 13:13:42 +00:00
svn 2336494ea3 * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 10:26:52 +00:00
naruse 4d89186598 Add a tool to update w.r-l.o files on release
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 10:26:51 +00:00
naruse 4937c6c7da Keep RUBY_RELEASE_DATE's definition
if it uses Y/M/D macros.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 09:34:35 +00:00
ko1 83515c6c32 fix a test by restoring value checking.
* test/ruby/test_literal.rb (test_hash_literal_frozen): restore value
  checking code which is removed accidentaly at r66466.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 07:21:45 +00:00
nobu d880245cbc io-console: bump to 0.4.7
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 03:24:31 +00:00
shyouhei bfcf0fe787 vm_insnhelper.c: use COLDFUNC
COLDFUNC is introduced in r66228.  Use it for pre-existing
__attribute__((__cold__)) usages.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 03:15:22 +00:00
kazu 67beaf224d [DOC] Fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 03:01:48 +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
mrkn 1bcc76338d Import bigdecimal 1.4.1
* https://github.com/ruby/bigdecimal/compare/v1.4.0..v1.4.1

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 01:17:59 +00:00
nobu 576aaec6f9 Mention rb_gc_register_mark_object [ci skip]
[Feature #9894]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-25 01:17:37 +00:00
naruse 5300cdc0c0 Add ruby_2_6 branch to .travis.yml
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-24 23:12:07 +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
stomar 014a9e0587 Small improvement in refinements docs
Move general statement about refinements of modules
from example to the top of the document.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-24 21:14:38 +00:00
svn 3c16862c85 * 2018-12-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-24 20:41:19 +00:00
stomar 9166fdac50 complex.c, object.c: [DOC] improve "exception: false" docs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-24 20:41:15 +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
knu e69dbc0961 Document the "cause" keyword argument for raise
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-24 08:11:49 +00:00
k0kubun 72c62dc086 test_win32ole_event.rb: use better retry strategy
because
https://ci.appveyor.com/project/ruby/ruby/builds/21208728/job/lm5k0lxnn51pcljl
seems to fail with just sleeping

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-24 03:50:39 +00:00
k0kubun 3bfd7f02c7 test_win32ole_event.rb: avoid unlimited retries
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-24 03:48:32 +00:00
ko1 a976acd603 remove "deprecated" for rb_frame_method_id_and_class [Bug #15300]
* include/ruby/backward.h (rb_frame_method_id_and_class): we had labeled
  `rb_frame_method_id_and_class()` as deprecated because MRI internal
  doesn't use it, but we found there are user of this API in external
  C-extensions. Now we don't have proper alternative API and no time
  to make alternative API, so I remove "deprecated" label.
  [Bug #15300]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-24 02:02:47 +00:00
nobu 04994454fd Compact AST::Node#inspect
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-24 01:56:21 +00:00
nobu d747ecc0c4 time.c: zone in fixoff mode
* time.c (time_set_utc_offset): reset zone when setting to fixoff
  mode.  while previously TZMODE_SET_FIXOFF has reset it always,
  the zone is kept for loaded zone since r65025.
  [ruby-core:90627] [Bug #15439]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-24 01:46:48 +00:00
nobu 483c7290f2 enumerator.c: fix inspect with the last empty hash
[ruby-core:90685] [Bug #15455]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-24 00:48:15 +00:00
mrkn 5c3be90ae0 Add test case of ArithmeticSequence#sum
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 18:54:51 +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
mrkn 8754b2391b Import bigdecimal-1.4.0
* https://github.com/ruby/bigdecimal/compare/v1.4.0.pre.20181220a..v1.4.0

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 18:32:01 +00:00
svn cd416f810e * 2018-12-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 15:02:23 +00:00
ko1 ff8a775c57 move checking code.
* gc.c (gc_mark_ptr): this check was introduced by accidentaly
  (this is why message is "...", crazy simple) for debugging.
  However, this check is useful because if there is T_NONE
  object here, we can't know which object points to it.
  For debugging reason, I remain this checking code and
  set reasonable error message.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 15:02:17 +00:00
ko1 4c9f3ce7b1 fix marking T_NONE object bug.
* array.c (rb_ary_splice): do not use RARRAY_PTR() here because it can cause
  GC because of rb_ary_detransient(). Here ary can contain T_NONE object
  because of increasing capacity and not initialized yet.

  error log: http://ci.rvm.jp/results/trunk-test@ruby-sky1/1557174


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 14:58:41 +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
aycabta 705eb9c110 Merge RDoc 6.1.0 from upstream
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 13:14:28 +00:00
nobu d397c89f88 Prohibit circular causes [Bug #15447]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 11:11:36 +00:00
nobu 71e458023d remove trailing spaces [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 11:11:35 +00:00
normal 37bba27b2c test/ruby/test_thread.rb (test_fork_while_parent_locked): rewrite to avoid OOM
Instead of using a torture test, trigger the condition for the old
segfault in [Bug #15383] exactly.

[ruby-core:90676] [Bug #15430]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 08:42:44 +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
nobu c20a1946a6 Restrict cause to an exception object [Bug #15447]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 05:49:43 +00:00
marcandre 9777547817 Struct#to_h: Add doc for block form.
Patch by Shuji Kobayashi [doc] [ci skip] [#15454]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 03:43:45 +00:00
k0kubun 9cc1120424 .travis.yml: refine explanation of no -j3 on osx [ci skip]
With travis_wait, we may not need -j3 for test-all anymore, but still we
need to avoid hanging on building Ruby somehow.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 01:58:33 +00:00
k0kubun 9e71ce687f test/fiddle/test_function.rb: loosen timeout
We're hitting `Expected |200 - 351| (151) to be <= 150.` in several places:
https://rubyci.org/logs/rubyci.s3.amazonaws.com/osx1012/ruby-trunk/log/20181215T094505Z.fail.html.gz
https://travis-ci.org/ruby/ruby/jobs/471483171

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 01:40:33 +00:00