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

880 Коммитов

Автор SHA1 Сообщение Дата
nobu 61cefc1359 suppress msys2 pathname conversion
* common.mk (TEST_EXCLUDES, EXCLUDE_TESTFRAMEWORK): use full spell
  long option.
* cygwin/GNUmakefile.in (MSYS2_ARG_CONV_EXCL): suppress path name
  conversions by msys2.  [ruby-dev:49525] [Bug #12199]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-21 11:18:31 +00:00
nobu 83e36bb5a6 testunit: negative filter
* test/lib/test/unit.rb (Options#non_options): make regexp name
  options prefixed with "!" negative filters.
* common.mk (TEST_EXCLUDES): use negative filter to exclude memory
  leak tests.  -x option excludes test files, not test methods.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-11 08:03:11 +00:00
nobu 47c00f30ab common.mk: dependency of prelude.o
* common.mk (prelude.o): fix missing dependency on iseq.h, for
  rb_compile_option_t.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-09 10:39:21 +00:00
nobu 199e910602 mkconfig.rb: cross_compiling option
* common.mk, tool/mkconfig.rb: set cross_compiling option from
  Makefile, but not from rbconfig.rb, which is just going to be
  created by this command.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-29 07:31:56 +00:00
duerst c1db3a49a4 * common.mk: Removed enc/unicode/casefold.h from automatic build because
some CI systems don't have gperf. Creation of enc/unicode/casefold.h
  is now possible with make unicode-up. This is intended as a temporary measure.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-08 00:44:10 +00:00
duerst 49ca434bcf * common.mk: Added two more precondition files for enc/unicode/casefold.h
* enc/unicode.c: Added shortening macros for enc/unicode/casefold.h
* enc/unicode/case-folding.rb: Fixed file encoding for CaseFolding.txt
  to ASCII-8BIT (should fix some ci errors). Clarified usage. Created
  class MapItem. Partially implemented class CaseMapping.
(with Kimihito Matsui)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-07 13:10:20 +00:00
duerst ee696372a8 * common.mk: using new option in recipe for enc/unicode/casefold.h
* enc/unicode/case-folding.rb: Correctly specify argument to new option.
(with Kimihito Matsui)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-07 02:16:12 +00:00
duerst 07ad033850 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2016-02-07 01:39:26 +00:00
nobu 10ff672a30 end of UNICODE_FILES
* common.mk (UNICODE_FILES): append empty END-OF-LIST to put
  backslashes uniformly.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-04 06:34:10 +00:00
duerst bb4f87127f * common.mk: Added Unicode data file SpecialCasing.txt to be additionally
downloaded (with Kimihito Matsui)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-04 05:42:35 +00:00
duerst 6ec7e30ce0 * common.mk: Introduce two variables (UNICODE_DATA_DIR and
UNICODE_SRC_DATA_DIR) to eliminate repetitions.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-02-04 02:54:02 +00:00
nobu 68241c2ea3 common.mk: update-bundled_gems
* common.mk (update-bundled_gems): to update version numbers in
  gems/bundled_gems file.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-30 01:49:05 +00:00
nobu e56b9b4383 common.mk: dependency of ripper.c
* common.mk (ext/ripper/ripper.c): explicit parse.y for nmake.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-25 07:49:26 +00:00
nobu 07e2cc3adb revert r53618 partially
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-25 07:45:54 +00:00
duerst 615d99b7e7 * common.mk: Simplifying Unicode data file download logic to make
it more reliable (including additional fix not in r53633) [Bug #12007]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-24 09:13:30 +00:00
hsbt 4bfda5d951 * common.mk: revert r53633. It broke rubyci and travis.
https://travis-ci.org/ruby/ruby/builds/104259623

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-23 11:55:32 +00:00
duerst 0d3d8a8cda git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2016-01-23 09:32:44 +00:00
nobu 655b18e914 common.mk: source dependency for nmake
* common.mk (ext/rbconfig/sizeof/sizes.c): separate the dependency
  with VPATH and the command, get rid of weird VPATH behavior of
  nmake.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-22 12:30:31 +00:00
nobu 184c7e660d common.mk: probes.dmyh for nmake
* common.mk (probes.dmyh): separate the dependency and the
  command, get rid of weird VPATH behavior of nmake.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-22 11:22:27 +00:00
nobu 4a01021002 vm_core.h: use RUBY_ASSERT
* vm_core.h (VM_ASSERT): use RUBY_ASSERT instead of rb_bug.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-22 08:37:36 +00:00
nobu 439224a590 RUBY_ASSERT
* error.c (rb_assert_failure): assertion with stack dump.
* ruby_assert.h (RUBY_ASSERT): new header for the assertion.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-22 08:33:55 +00:00
nobu e28260cc05 common.mk: update-config_files is back
* common.mk (update-config_files): move back from Makefile.in,
  needs to be here for .travis.yml.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-21 06:58:03 +00:00
usa 28efd93e18 * common.mk, Makefile.in: update-config.files is only for Unix
platforms.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-20 12:00:14 +00:00
duerst 3dcdb2c3b7 * common.mk: Added Unicode data file CaseFolding.txt to be additionally
downloaded (with Kimihito Matsui)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-19 08:04:21 +00:00
nobu fe20002cb5 make-snapshot: download first
* common.mk (update-download): split to download only, excluding
  VCS.

* make-snapshot: download config, Unicode data, gem, and external
  library files first.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-19 05:05:47 +00:00
nobu 0ca5d75c02 common.mk: fix dependency
* common.mk (.unicode-tables.time): should not depend on files
  which are not downloaded yet, but just the timestamp for them.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-19 02:39:07 +00:00
nobu e48375c112 common.mk: update-remote
* common.mk (update-remote): update by downloading remote files.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-19 02:30:17 +00:00
nobu 6c77004900 common.mk: UPDATE_LIBRARIES to yes
* common.mk (UPDATE_LIBRARIES): try to update unicode files by
  default.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-18 10:25:01 +00:00
nobu f78ab819bf common.mk: get rid of repeating same names
* common.mk (download-unicode-data): strip directory paths from
  the target names, to get rid of repeating same file names.

* tool/downloader.rb: add -p option for prefix.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-18 10:21:03 +00:00
hsbt 203e604f46 * common.mk: test-sample was changed to test-basic.
[Feature #11982][ruby-core:72823]
* basictest/runner.rb: ditto. rename from tool/rubytest.rb.
* basictest/test.rb: ditto. rename from sample/test.rb.
* defs/gmake.mk: picked from r53540
* sample/test.rb: backword compatibility for chkbuild.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-16 01:37:47 +00:00
naruse e0ea641755 Revert "* common.mk: test-sample was changed to test-basic."
This reverts r53537.
Fix chkbuild first.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-15 11:05:51 +00:00
hsbt 17238bce22 * common.mk: test-sample was changed to test-basic.
[Feature #11982][ruby-core:72823]
* basictest/runner.rb: ditto. rename from tool/rubytest.rb.
* basictest/test.rb: ditto. rename from sample/test.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-15 00:25:46 +00:00
naruse 0a641b4cc2 try sudo:false on travis
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-13 02:04:18 +00:00
eregon 9efd4dbe73 * common.mk: update URL and name for the Ruby spec suite.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-12 12:05:41 +00:00
nobu f6dcbf7472 nmake VPATH
* ext/rbconfig/sizeof/depend (sizes.c): add nmake VPATH prefix.
  reapply r53482 with '#' as separator not to be removed in
  make-snapshot.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09 08:49:56 +00:00
naruse 52ddf1f869 Revert r53482 "nmake VPATH"
it breaks `make dist`.
http://rubyci.s3.amazonaws.com/tk2-243-31075/ruby-trunk/log/20160109T034902Z.fail.html.gz

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09 07:24:56 +00:00
nobu 64e2285980 nmake VPATH
* ext/rbconfig/sizeof/depend (sizes.c): add nmake VPATH prefix.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09 03:33:20 +00:00
nobu 445e11da50 probes.h including dummy header
* Makefile.in, win32/Makefile.sub (probes.h): include dummy header
  instead of copying.

* common.mk (probes.dmyh): add nmake VPATH prefix.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09 03:32:43 +00:00
nobu bc8a7f9ab7 revert r53459, r53427, r53314
Revert "* tool/make-snapshot: fix for the changes of version.h in r53314."
Revert "* version.h (RUBY_BUILD_VERSION_STR_3): Workaround for old version of"
Revert "program version from API version"

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-09 00:19:16 +00:00
nobu bae170f34b common.mk: double quotes
* common.mk (ext/socket/constdefs.c): use double quotes to get rid
  of escape by caret in nmake.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-04 07:27:02 +00:00
nobu 04a913f26d common.mk: generate socket constdefs
* common.mk (ext/socket/constdefs.c): generate platform
  indenpendent constant definitions beforehand under the source
  tree at updating the working copy.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-04 07:16:09 +00:00
nobu 94519cbb3e common.mk: up in help
* common.mk (help): mention `up` target briefly.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-03 15:03:49 +00:00
nobu e05a853718 acinclude.m4: rename
* acinclude.m4: rename aclocal.m4, which should be generated by
  aclocal.  [ruby-core:72675] [Bug #11941]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-03 03:12:20 +00:00
eregon 6ec9331c2a * common.mk (help): Fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-30 17:20:28 +00:00
nobu 8c327b7f3a program version from API version
* configure.in, version.h (RUBY_PROGRAM_VERSION): extract version
  numbers from API version in include/ruby/version.h except for
  TEENY, to save matz job next year.
* win32/setup.mak (-version-): use program version.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-25 16:24:43 +00:00
nobu 00a47cf678 setup.mak: split release date
* win32/setup.mak (verconf.mk): split release date into year,
  month, and day.

* common.mk (RUBY_RELEASE_DATE): move from Makefile.in to share
  with win32/setup.mak.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-25 15:02:14 +00:00
naruse bec6c27fd5 * common.mk (fake.rb): $(arch)-fake.rb must depend miniruby because
it may depend miniruby.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24 07:21:30 +00:00
naruse 026066e950 * common.mk (ripper.c): r50045 wrongly replace $(PWD) with ../..
It is the top of build directory, not topsrcdir.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-24 07:21:28 +00:00
nobu d79b5e1921 common.mk: help of exam [ci skip]
* common.mk (help): mention `exam` target.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-12 08:31:45 +00:00
nobu 1d5c9d1001 common.mk: more opts
* common.mk (help): separate TESTOPTS and TESTS.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-12 08:28:15 +00:00