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

37969 Коммитов

Автор SHA1 Сообщение Дата
akr a08d6c5bd8 * common.mk (prereq): Don't depends on prelude.c and golf_prelude.c.
Since they depend on $(PREP) which is miniruby, they are rebuilt
  after miniruby is built, even if tarball contains them.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 15:55:34 +00:00
svn c6d52afda6 * 2014-11-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 15:22:11 +00:00
akr 7df1831bae * template/prelude.c.tmpl: Don't expand RbConfig::Config[...].
It is not used now.

* common.mk: prelude.c and golf_prelude.c doesn't depend on rbconfig.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 15:22:01 +00:00
akr afe02a2f19 Move the description about vfork.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 13:39:19 +00:00
ko1 d95aae32ce * NEWS: add an "Implementation changes" section.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 08:07:44 +00:00
drbrain 711ece42cd * lib/net/http.rb: Do not attempt SSL session resumption when the
session is expired.  [Bug #10533]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 07:09:48 +00:00
svn 49cb41192a * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 07:03:58 +00:00
svn 975bfe0a4d * append newline at EOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 07:03:55 +00:00
drbrain 3908d5d330 * lib/rake: Update to rake 10.4.0
* test/rake:  ditto.
* NEWS:  ditto.

* test/lib/minitest/unit.rb:  Add compatibility shim for minitest 5.
  This only provides minitest 5 unit test naming compatibility.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 07:03:36 +00:00
nobu f20f84d60a vcs.rb: make Time with proper offset
* tool/vcs.rb (get_revisions): use Time.new instead of Time.mktime
  which does not accept UTC offset, and offset manually for older
  versions than 1.9.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 06:26:26 +00:00
nobu 913ed016c1 common.mk: remove old gems
* common.mk (update-gems): remove old version gems after
  successfully downloaded.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 04:37:58 +00:00
kazu 25661ef5ad add gem name [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 03:18:39 +00:00
nobu 63aafb2004 process.c: initialize static IDs first
* process.c (Init_process): initialize static IDs before constant
  definitions.  [ruby-core:66445]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 03:14:45 +00:00
svn 8f79623184 * 2014-11-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 01:46:24 +00:00
normal cbf987c857 compile.c (iseq_build_callinfo_from_hash): hoist out
iseq_build_from_ary_body indentation was too deep for my little
terminal, so extract it so it is easier to add keyword support.

* compile.c (iseq_build_callinfo_from_hash): hoist out
  (iseq_build_from_ary_body): shorten callinfo case

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-25 01:46:11 +00:00
kou 7806df7095 * gems/bundled_gems: Update to 3.0.7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-24 14:03:54 +00:00
nobu 09fbd56e6f process.c: get rid of inadvertent ID pindown
* process.c (check_exec_redirect_fd, check_exec_redirect),
  (rb_execarg_addopt): get rid of inadvertent ID pindown.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-24 03:44:45 +00:00
nobu a6755b6e5f process.c: intern IDs
* process.c (Init_process): intern IDs at initialization.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-24 03:44:24 +00:00
nobu ec81f9c4cd marshal.c: literal method names
* marshal.c (check_dump_arg, check_load_arg): use literal method
  names, instead of converting from ID every time.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-24 03:43:59 +00:00
nobu 25bab786cb string.c: preserve encoding of global variable
* string.c (rb_str_setter): preserve encoding of global variable
  name in error message.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-23 17:03:48 +00:00
nobu b58802a3c1 iseq.c: preserve encoding at disassembling
* iseq.c (rb_insn_operand_intern): preserve encoding of method
  name in CALL_INFO at disassembling.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-23 17:03:32 +00:00
svn 31aed95862 * 2014-11-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-23 17:03:15 +00:00
nobu 9519f6193a io.c: preserve encodings
* io.c (must_respond_to): preserve encodings of variable name and
  class name in warning message.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-23 17:03:08 +00:00
nobu be5bbaf5dc parse.y: replace with TOK_INTERN
* parse.y (parse_gvar): replace with equivalent macro, TOK_INTERN,
  as well as other places.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-23 17:02:43 +00:00
ktsj 8d72937271 * gems/bundled_gems: upgraded to power_assert 0.2.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-23 03:37:53 +00:00
normal 83f0e9d6f1 trivial packing of rb_execarg, load_file_arg, args_info
* internal.h (struct rb_execarg): 160 => 144 bytes on x86-64
* ruby.c (struct load_file_arg): 48 => 40 bytes on x86-64
* vm_args.c (struct args_info): ditto

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-23 01:49:57 +00:00
normal 919b1aa5e9 ChangeLog: fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-23 01:49:45 +00:00
nobu 5aa9eb4616 elementdecl.rb: suppress warnings
* lib/rexml/dtd/elementdecl.rb (PATTERN_RE): comment out overridden
  constant, and '_' is included in '\w'.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-23 00:00:38 +00:00
nobu 237162a3b1 test_variable.rb: suppress warnings
* test/ruby/test_variable.rb (ruler4): suppress warning.
  (test_global_variable_poped, test_constant_poped): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-22 23:47:22 +00:00
svn 7fed49d221 * 2014-11-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-22 22:47:10 +00:00
nobu 4f160fa041 io.c: remove redundant assignment
* io.c (rb_io_sysread): Remove redundan assignment of 'n'.
  [Fix GH-767]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-22 22:46:57 +00:00
nobu f5063b7ea7 dummyparser.rb: on_rescue
* test/ripper/dummyparser.rb (on_rescue): add to turn exception
  class list into NodeList, to test exception class list.

* test/ripper/test_parser_events.rb (test_rescue_class): add
  missing test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-22 07:10:31 +00:00
nobu d551e813ca common.mk: keep verconf.h if unchanged
* common.mk (verconf.h): update only when changed to reduce
  unnecessary recompiling loadpath.c.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-22 07:10:20 +00:00
akr 3ca77ee9f8 * tool/make-snapshot: Specify PWD macro for make.
PWD environment variable may not exist.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-22 00:54:33 +00:00
tenderlove 570c028c7e * lib/resolv.rb: fall back if canonicalization fails.
Thanks Vit Ondruch for the patch!  [ruby-core:65836]

* test/resolv/test_dns.rb: test for patch

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-21 20:04:27 +00:00
nobu 8eb0c810b2 get rid of inadvertent ID creation
* object.c (rb_mod_const_get, rb_mod_const_defined): ditto.
* variable.c (rb_const_missing, rb_mod_const_missing): call
  const_missing without new ID to get rid of inadvertent ID
  creation.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-21 16:11:55 +00:00
svn df06c28442 * 2014-11-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-21 15:58:39 +00:00
nobu 4ecdc8f545 common.mk: use PWD with nmake
* common.mk (ext/ripper/ripper.c): move MAKEDIR to Makefile.sub.

* win32/Makefile.sub (PWD): set to $(MAKEDIR), nmake built-in macro.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-21 15:58:35 +00:00
naruse 31f9c8c09e * common.mk (ext/ripper/ripper.c): revert about srcdir and top_srcdir.
* common.mk (ext/ripper/ripper.c): use $(PWD) for Unix,
  $(MAKEDIR) for Windows.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-21 10:34:55 +00:00
kazu 78fad83795 fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-21 10:00:39 +00:00
akr 2aaba598d6 * tool/update-deps: Refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-21 09:12:56 +00:00
usa 539b39af23 * win32/Makefile.sub (top_srcdir): added because lacking this macro causes
build error at r48526.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-21 05:27:07 +00:00
akr 6ca202fcee Update dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-21 03:04:44 +00:00
akr 1199bae130 Forgot to commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-21 03:04:26 +00:00
akr 8d7f9b0e38 * tool/update-deps (in_makefile): Use FILES_NEED_VPATH and
FILES_CONFUSING.

* ext/objspace/extconf.rb: Add VPATH for id.h



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-21 03:04:10 +00:00
nobu 72de767e9b common.mk: fix dependencies
* common.mk (ext/ripper/ripper.c): fix dependencies for the case
  to make ripper.y and id.h under the build directory.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-21 00:10:25 +00:00
naruse c2bd5491f2 * common.mk (ext/ripper/ripper.c): id.h in VPATH may exist in the build
directory.

* common.mk (ext/ripper/ripper.c): $(RM) was not defined.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-20 23:45:44 +00:00
usa c1bad60408 * ext/openssl/lib/openssl/x509.rb
(OpenSSL::X509::Name::RFC2253DN::StringChar): get rid of a false
  positive assertion in ripper's test.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-20 15:39:03 +00:00
usa a23e9c7f13 * ChangeLog: missed at r48518.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-20 15:36:03 +00:00
usa 518ef56943 * ChangeLog: missed at r48516.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-11-20 15:35:14 +00:00