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

897 Коммитов

Автор SHA1 Сообщение Дата
nobu 2d897a3d7d common.mk: use $(IFCHANGE) for mswin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-09 06:52:03 +00:00
nobu 2bd061f25e common.mk: ifchange for mkconfig.rb
* common.mk (RBCONFIG): use ifchange tool to see if the content is
  changed and update the timestamp file.
* tool/mkconfig.rb: remove ifchange features.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-09 06:32:18 +00:00
nobu cebc948747 fix date build
* common.mk (zonetabl.h): fix typo.

* ext/date/zonetab.list: remove forward declaration which may be
  conflict with the later definition.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-08 05:41:08 +00:00
nobu b5960a63b1 ext/date/zonetab.list: gperf timezone names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-08 01:09:23 +00:00
nobu b1b1f3ded2 des_tables.c: generation rule
* defs/gmake.mk (missing/des_tables.c): move the recipe from
  common.mk.  this is less common.

* missing/crypt.c (init_des): if des_tables.c is empty, initialize
  DES tables at runtime.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-04 02:40:04 +00:00
nobu 40c3c3ec6c crypt.h: remove initialized
* missing/crypt.h (struct crypt_data): remove unnecessary member
  "initialized".
* missing/crypt.c (des_setkey_r): nothing to be initialized in
  crypt_data.
* configure.in (struct crypt_data): check for "initialized" in
  struct crypt_data, which may be only in glibc, and isn't on AIX
  at least.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-04 01:54:54 +00:00
nobu e5b9d51ae5 common.mk: des_tables.c
* common.mk (missing-srcs): add rule for missing/des_tables.c.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-02 05:27:31 +00:00
nobu a8bfa9bdf1 use system crypt
* configure.in: revert r55237.  replace crypt, not crypt_r, and
  check if crypt is broken more.
* missing/crypt.c: move crypt_r.c
* string.c (rb_str_crypt): use crypt_r if provided by the system.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-01 06:58:21 +00:00
nobu 509f746740 common.mk: add dependency
* common.mk (string.o): now depends on crypt.h for crypt_r and
  struct crypt_data.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-01 02:45:20 +00:00
nobu 3c31685e11 use crypt_r
* string.c (rb_str_crypt): use reentrant crypt_r.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-01 00:48:08 +00:00
nobu e1d49beb5d separate crypt.h
* crypt.h: separate header file from missing/crypt.c.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-01 00:16:24 +00:00
shyouhei 42db62c195 * common.mk : sort lines, and add missing dependencies suggested
by tool/update-deps


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-05-24 03:43:59 +00:00
naruse 9bf0f4b910 Revert "common.mk: timestamp file for verconf.h"
This reverts commit r54748.
It breaks build.
http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20160424T120700Z.log.html.gz

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-24 15:08:25 +00:00
nobu c8d9ef864d common.mk: timestamp file for verconf.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-24 12:01:47 +00:00
naruse b80598a926 * common.mk (benchmark): order options for built-ruby and compare-ruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-15 06:39:49 +00:00
akr 9d8ef4ea20 Update dependencies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-11 11:50:00 +00:00
nobu 5396d8a1ab strftime.c: format in String
* strftime.c (rb_strftime_with_timespec): append formatted results
  to the given string with expanding, and also deal with NUL chars.
* strftime.c (rb_strftime, rb_strftime_timespec): return formatted
  string, not the length put in the given buffer.
* time.c (rb_strftime_alloc): no longer needs to retry with
  reallocating buffers.
* time.c (time_strftime): no longer needs to split by NUL chars.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-03-23 11:57:01 +00:00
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