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

44276 Коммитов

Автор SHA1 Сообщение Дата
nobu 162a8fdb7a rbinstall.rb: chdir to gem directory [ci skip]
* tool/rbinstall.rb (gem): load gemspec files under each
  directories, since some gemspecs read files there.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-04 06:15:58 +00:00
nobu 9a13630140 extmk.rb: no ext, no build_complete
* ext/extmk.rb (create_makefile): touch gem.build_complete only if
  building an extension library.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-04 05:27:48 +00:00
nobu 2dad8eae44 extmk.rb: fix gem.build_complete location
* ext/extmk.rb (timestamp_file): make build_complete file at the
  toplevel of the gem directory without target_prefix.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-04 05:05:20 +00:00
nobu fb2011f7f0 extmk.rb: expand target_prefix
* ext/extmk.rb (timestamp_file): should expand target_prefix in
  timestamp file name.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-04 04:56:56 +00:00
nobu f578e02345 extmk.rb: append target_prefix
* ext/extmk.rb (timestamp_file, create_makefile): should append
  target_prefix as RUBYARCHDIR does.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-04 04:44:06 +00:00
svn 14d538d27f * 2016-09-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-03 15:21:44 +00:00
sho-h ba32b53e48 * proc.c: [DOC] fix Object#define_singleton_method and
main.define_method return value. [ci skip]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-03 15:21:43 +00:00
svn e63546fb45 * 2016-09-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-03 02:28:32 +00:00
nobu dcc24cef2c thread_pthread.c: check stack on co-routine case
* thread_pthread.c (ruby_init_stack): check stack bounds even if
  get_main_stack succeeded, on the "co-routine" case.
  https://github.com/ruby/ruby/commit/53953ee#commitcomment-18887413

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-03 02:28:31 +00:00
nobu 7615362d64 internal.h: fix typos
* internal.h (MEMO_V1_SET, MEMO_V2_SET): fix typos.  use the macro
  parameter, not the local variable.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-02 07:07:01 +00:00
svn 4f40dafe89 * 2016-09-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-01 15:55:14 +00:00
nobu c06ec0bc3d extmk.rb: fix conflict of timestamp files
* ext/extmk.rb (timestamp_file): move extmk.rb specific tricks
  from lib/mkmf.rb.  keep RUBYCOMMONDIR prefix not to conflict
  with a timestamp file in the toplevel.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-01 15:55:13 +00:00
nobu cea6c9d2f5 mkmf.rb: architecture timestamp directories
* lib/mkmf.rb (timestamp_file): substitute TARGET_SO_DIR with
  RUBYARCHDIR seprately from other normal paths, to make timestamp
  files for architecture dependent directories separately.  and
  remove RUBYCOMMONDIR prefix.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-01 07:02:32 +00:00
nobu c929094b31 rbinstall.rb: prefix with space [ci skip]
* tool/rbinstall.rb (bin): exec via /bin/sh if the prefix contains
  space charaters, because shebang does not support that case in
  general.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-01 06:10:25 +00:00
nobu e3590ddb86 mkmf.rb: fix up r56053
* lib/mkmf.rb (timestamp_file): TARGET_SO_DIR is defaulted to
  RUBYARCHDIR but different for each extension libraries.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-01 05:54:25 +00:00
nobu 68d5d0f372 extmk.rb: hacks for bundled gems
* ext/extmk.rb (gems): move dirty hacks for bundled gems from
  mkmf.rb.
* lib/mkmf.rb (create_makefile): yield all configuration strings.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-01 05:24:19 +00:00
svn d8f4c6a5ff * 2016-09-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-01 03:58:02 +00:00
nobu 886bef681a no Borland make [ci skip]
* ext/extmk.rb: remove Borland make support.  Borland C++ has not
  been supported since years ago.

* lib/mkmf.rb: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-09-01 03:58:01 +00:00
nobu a6447af4da mkmf.rb: fix up r56047
* lib/mkmf.rb (create_makefile): install to $(RUBYARCHDIR) other
  than bundled extension libraries.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-31 11:27:24 +00:00
nobu 3b5da7e574 mkmf.rb: fix up r56047
* lib/mkmf.rb (create_makefile): TARGET_SO_DIR should not be the
  root directory when sodir is empty.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-31 11:20:45 +00:00
nobu 7f7aa9d442 extmk.rb: build_complete
* ext/extmk.rb (create_makefile): make gem.build_complete file
  under TARGET_SO_DIR and install it only when the gem build
  succeeded.  [ruby-core:77057] [Bug #12681]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-31 08:39:23 +00:00
nobu 1b6a42d968 mkmf.rb: TARGET_SO_DIR
* ext/extmk.rb: move TARGET_SO_DIR stuffs to mkmf.rb.
* lib/mkmf.rb (create_makefile): create target shared object files
  under $(TARGET_SO_DIR) which is $sodir if it is defined with
  $extout.  [ruby-core:77058] [Bug #12681]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-31 06:36:12 +00:00
nobu 506b45db9c mkmf.rb: separate timestamp files
* lib/mkmf.rb (timestamp_file): separate timestamp files for each
  architectures.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-31 02:41:31 +00:00
nobu d484b0a3b8 extmk.rb: filter gems
* ext/extmk.rb: filter gems as well as exts.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-31 02:03:07 +00:00
yui-knk 826da51bdb * doc/extension.ja.rdoc: [DOC] Fix a typo. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-30 16:54:06 +00:00
svn 2082d4241b * 2016-08-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-30 15:52:25 +00:00
nobu a846ecf59f extmk.rb: fix gem target directory name
* ext/extmk.rb: make the gems target directory under the expanded
  name.  [ruby-core:77102] [Bug #12714]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-30 15:52:24 +00:00
kazu 12da0d0dfa fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-30 12:40:56 +00:00
kazu a712198536 sort entries [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-30 12:40:55 +00:00
nobu f9e75e1a82 vm.c: unnecessary condition
* vm.c (vm_stat): remove unnecessary condition, when argc != 1 arg
  is always Qnil.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-30 07:29:59 +00:00
nobu c2d77880c0 Fix rdoc of OpenStruct.json_create [ci skip]
* ext/json/lib/json/add/ostruct.rb (OpenStruct.json_create):
  Correct documentation, fix the name of values.  [Fix GH-1421]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-30 06:27:29 +00:00
nobu 4b298ad77a Use qualified names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-30 06:22:30 +00:00
usa 0df79477bd * io.c (nogvl_fsync, nogvl_fdatasync): on Windows, just ignore if the
fd is associated to non-disk device.  if call fsync and/or fdatasync
  with such fds, it causes Errno::EBADF exception and the behavior is
  incomatible with ruby 2.1 and earlier unintendedly introduced.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-30 05:59:17 +00:00
naruse 8a1c7babec fix r56030 [Bug #12711]
check whether it was syscall or not by getting previous instruction.
syscall instruction is 0x0f 0x05.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-30 04:49:26 +00:00
okkez 564512db58 * doc/NEWS-2.1.0: fix method name
* doc/NEWS-2.2.0: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-30 00:44:34 +00:00
okkez 5bd53c4a2a * doc/NEWS-2.1.0: fix method name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-30 00:34:10 +00:00
svn 3bc4924e78 * 2016-08-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-29 18:43:18 +00:00
naruse 1d3665fd0d * vm_dump.c (backtrace): use rip in the saved context for the case
the SIGSEGV is received when the process is in userland.
  Note that ip in the stack should be used if the signal is received
  when it is in kernel (when it is calling syscall) [Bug #12711]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-29 18:43:17 +00:00
svn e38a2ec5c0 * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-29 05:47:11 +00:00
svn 09848085e7 * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-29 05:47:11 +00:00
rhe c9dc0164b8 import Ruby/OpenSSL 2.0.0.beta.1
* NEWS, {ext,test,sample}/openssl: Import Ruby/OpenSSL 2.0.0.beta.1.
  ext/openssl is now converted into a default gem. The full commit
  history since r55538 can be found at:
  https://github.com/ruby/openssl/compare/08e1881f5663...v2.0.0.beta.1
  [Feature #9612]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-29 05:47:09 +00:00
svn 28bf4d545f * 2016-08-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-29 05:47:08 +00:00
rhe e9c410659e assertions.rb: add an alias pend for skip
* test/lib/test/unit/assertions.rb (pend): Add an alias 'pend' for
  'skip'. This is required for test-unit compatibility. In particular,
  ext/openssl uses it.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-29 05:47:08 +00:00
svn 8842c27026 * 2016-08-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-28 08:53:23 +00:00
nobu 56695b35de thread_sync.c: alias_global_const
* thread_sync.c (alias_global_const): extract from a macro.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-28 08:53:22 +00:00
nobu 9387ff7315 multiple arguments
* array.c (rb_ary_concat_multi): take multiple arguments.  based
  on the patch by Satoru Horie.  [Feature #12333]
* string.c (rb_str_concat_multi, rb_str_prepend_multi): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-27 01:26:17 +00:00
nobu 0783f55cf8 parse.y: heredoc token
* parse.y (parser_heredoc_identifier): gather branches by quote
  char.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-26 23:26:03 +00:00
nobu f40be5e64a test_regex_casefold.rb: skip if no data file
* test/ruby/enc/test_regex_casefold.rb (setup): skip with error
  message if CaseFolding.txt does not present, instead of printing
  the message, which causes unknown command in parallel test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-26 16:08:40 +00:00
nobu 70da28c185 parse.y: STR_TERM_END
* parse.y (parser_parse_string): store the end of string literal
  mark in nd_term instead of nd_func.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-26 15:11:32 +00:00
svn 0e512b47fc * 2016-08-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-08-26 15:07:52 +00:00