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

44952 Коммитов

Автор SHA1 Сообщение Дата
naruse 30e54ac313 revision.h shouldn't depend ChangeLog
Maybe it needs vcs dependent ways.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 17:34:56 +00:00
naruse 4e9a5a3e3d Obsolete ChangeLog [Feature #12283]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 15:56:27 +00:00
usa e8ffc63c02 * test/ruby/test_optimization.rb (test_tailcall_interrupted_by_sigint):
ignore on Windows because we cannot handle signaled status of child
  ruby process on this platform.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 15:35:01 +00:00
svn a8206276e1 * 2016-11-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 15:33:10 +00:00
shugo fd9f38348c confirm that status.termsig is not nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 15:33:10 +00:00
shugo 90bf4a8edb * test/ruby/test_optimization.rb (test_tailcall_interrupted_by_sigint):
send SIGKILL if the child process doesn't die within 1 second.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 14:41:39 +00:00
naruse 76e047a843 remove debug sleep & exit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 14:01:21 +00:00
naruse f7f00b89e6 * tool/vcs.rb (export_changelog): generate ChangeLog file from
vcs's log. [Feature #12283]

* tool/make-snapshot (package): overwrite ChangeLog by generated
  ChangeLog.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 12:57:45 +00:00
hsbt cf96cfe729 * NEWS: Added entry for RDoc 5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 12:36:52 +00:00
hsbt 670b180242 * NEWS: ordered entries and adjust styles.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 12:36:47 +00:00
hsbt 9b09175d38 * NEWS: Added entry for [Feature #12160][ruby-core:74239]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 09:23:35 +00:00
hsbt 69dc53022b * NEWS: Added entry for r56624.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 09:18:30 +00:00
svn 17678b5a6d * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 06:58:26 +00:00
shugo 53938555eb * configure.in (-Wno-maybe-uninitialized): gcc 6 also shows the same
warnings as described in r49410.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 06:58:25 +00:00
nobu d2101310db include and prepend check no args
* eval.c (rb_mod_include, rb_mod_prepend): check if arguments are
  given, as well as Kernel#extend.  [ruby-dev:49854] [Bug #12887]
  [Fix GH-1470]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 05:42:53 +00:00
nobu 2456f869c8 ChangeLog: remove garbage lines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 05:39:01 +00:00
nobu 6082f061d1 ChangeLog: make us-ascii
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 05:38:59 +00:00
nobu 25aa35d46b ChangeLog: make us-ascii
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 05:22:41 +00:00
kazu 7ee5888490 add a ticket number [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 03:29:22 +00:00
svn eb6d1cfc9e * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 03:04:34 +00:00
shugo 8a2bd2b7f0 * test/rinda/test_rinda.rb (test_make_socket_ipv6_multicast,
test_make_socket_ipv6_multicast_hops): skip if IPv6 multicast
  address is not available.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 03:04:33 +00:00
nobu 493e488974 irb.rb: Binding#irb
* lib/irb.rb (Binding#irb): new method like Binding#pry.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 02:53:25 +00:00
shugo af3f52674a * test/net/smtp/test_smtp.rb (test_tls_connect, test_tls_connect):
use Socket.tcp_server_sockets in case localhost is resolved to ::1.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 02:50:51 +00:00
nobu 5e214d40d5 irb.rb: IRB::Irb#run
* lib/irb.rb (IRB::Irb#run): split from IRB.start.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 02:49:49 +00:00
nobu d903681a13 e2mmap.rb: remove old definition
* lib/e2mmap.rb (E2MM.def_exception): remove old definition if
  exists so that works multiple times.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 02:45:14 +00:00
shugo 75ca064623 Use Signal.signame instead of Signal.list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 01:20:44 +00:00
shugo 0de0e14dde * test/ruby/test_optimization.rb (test_tailcall_interrupted_by_sigint):
don't use sleep to run faster.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 01:06:45 +00:00
nobu 4b7fd61a05 process.c: PATH env in spawn
* process.c (rb_exec_fillarg): honor the given path environment
  variable.  [ruby-core:53103] [Bug #8004]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 00:58:49 +00:00
sho-h 840d23cb08 * doc/standard_library.rdoc: fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-06 00:10:49 +00:00
nobu a2acbf4b02 shell.rb: suppress warnings
* lib/shell.rb: initialize class instance variables and remove
  writer methods to be overwritten soon.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 23:58:02 +00:00
nobu 1b95e8ef9c e2mmap.rb: suppress a warning
* lib/e2mmap.rb (bind): eval with the location.  undefine
  predefined method before overwriting to suppress a warning.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 23:54:17 +00:00
svn f0e2194b0d * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 18:09:37 +00:00
svn 843231675f * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 18:09:37 +00:00
naruse 8c5ae8933a Add ChangeLog-2015 as an anchor of new ChangeLog see #12283
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 18:09:36 +00:00
a_matsuda 051ba7b0b4 Alias regist_scanner to register_scanner
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 16:56:52 +00:00
shugo 11c37ed390 * compile.c (tailcallable_p): disable tail call optimization for
toplevel, eval, and load to avoid SEGV when interrupted by SIGINT.
  [ruby-core:76327] [Bug #12576]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 16:42:27 +00:00
ko1 b0569e3dde * vm_insnhelper.h: rename REG_(CFP|PC|SP|EP) to VM_REG_....
[Bug #12527]

* vm_exec.c: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 16:31:25 +00:00
nobu a44c3bb26f dir.c: merge rb_glob2 into rb_glob
* dir.c (rb_glob): merge rb_glob2 which is used only here.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 15:49:29 +00:00
akr 7c7444bcd3 Enumerator::Lazy#chunk_while defined.
* enumerator.c (InitVM_Enumerator): Enumerator::Lazy#chunk_while
  defined.  [Fix GH-1186]
  https://github.com/ruby/ruby/pull/1186



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 15:46:48 +00:00
nobu 04ff7cf712 numeric.c: raise TypeError at wrong argument
* numeric.c (int_pos_p, int_neg_p): raise TypeError if not an
  Integer instead of returning nil.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 15:45:42 +00:00
ktsj 3f2f64dbeb * vm_eval.c (vm_call0_cfunc_with_frame): pass method id to
dtrace hook. follow up r56592.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 15:30:55 +00:00
akr 7d27c0a2d8 fix Resolv::LOC::Coord.create.
* lib/resolv.rb (Resolv::LOC::Coord.create): fixed.
  [ruby-core:72567] [Bug #11912] fixed by Eric Wong and Kazuhiro
  NISHIYAMA.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 15:19:21 +00:00
naruse 825e191296 * configure.in (-Wimplicit-fallthrough): gcc7 introduces case
fall through warnings but it is too noisy.
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7652

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 15:05:30 +00:00
svn e3142f8875 * 2016-11-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 15:02:18 +00:00
shugo a0842e7cd8 * numeric.c (rb_int_round): cast to SIGNED_VALUE to suppress
warnings by -Wsign-compare.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 15:02:17 +00:00
naruse 54a6cd84df * file.c (rb_home_dir_of): convert given username into filesystem
encoding. [ruby-core:76682] [Bug #12652]
  patched by Dāvis Mosāns

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 15:00:37 +00:00
akr a03411b63e fix vtm_add_offset yday on last day of year.
* time.c (vtm_add_offset): Fix yday on last day of year.
  [ruby-core:72878] [Bug #11994] Fixed by Andrew White.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 14:59:51 +00:00
shugo 85e749080e Add the ticket number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 14:49:39 +00:00
shugo 88243c5303 * lib/net/http.rb (Net::HTTP.post): new convenience method to send a POST request.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 14:39:06 +00:00
naruse 8ec6fcb2f6 * lib/net/http.rb (transport_request): other than HTTPContinue
in 1xx (HTTPInformation) also needs to continue. [Bug #12890]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-05 14:08:16 +00:00