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

1521 Коммитов

Автор SHA1 Сообщение Дата
Nobuyoshi Nakada 19a4c42d61
Unescape #{} in the last commit title
Get rid of unknown escape sequence warning, as `#` is not a
special character in C.

```
version.c:126:26: warning: unknown escape sequence '\#' [-Wunknown-escape-sequence]
    fputs("last_commit=" RUBY_LAST_COMMIT_TITLE, stdout);
                         ^~~~~~~~~~~~~~~~~~~~~~
revision.h:4:42: note: expanded from macro 'RUBY_LAST_COMMIT_TITLE'
                                         ^~
```
2019-07-07 19:01:48 +09:00
Koichi Sasada 712a66b074 Revert "Avoid corrupting VM stack on inlined setlocal"
This reverts commit ea30dd7025.
because it fails when VM_CHECK_MODE=1.
2019-07-03 03:37:25 +09:00
Takashi Kokubun ea30dd7025
Avoid corrupting VM stack on inlined setlocal
setlocal relies on cfp->ep, and frame-omitted method inlining introduced
in Ruby 2.7 kept it wrong.

This change might slow down frame-omitted method inlining for cfp->ep
manipulation, and it obviously complicates the implementaion more. By
introducing an optimization that changes Ruby's local variable to C
local variable, we could optimize it and simplify the cfp->ep
manipulation later.

[Bug #15971]
2019-07-02 23:35:52 +09:00
Takashi Kokubun 0b858425e1
Use GitHub ruby.git for make-snapshot
Previously @hsbt disabled https git clone from git.ruby-lang.org.

Using git.ruby-lang.org for non-commit purposes is discouraged. GitHub
mirror is actually recommended because it's reliable than single-hosted
git.ruby-lang.org, the mirror is almost always well-maintained, and its
latency is very small (usually about 10s).

So we should just use GitHub here.

[Bug #15969]
2019-07-02 10:40:41 +09:00
Nobuyoshi Nakada 580b7600c7
Substitute autoconf variables by prereq.status 2019-07-02 09:44:37 +09:00
Nobuyoshi Nakada 83fed5a4ed
Adjust minitest file path 2019-07-02 09:37:18 +09:00
Nobuyoshi Nakada 5aed62454c
Adjust minitest file path 2019-07-02 09:26:11 +09:00
Hiroshi SHIBATA c68781e918 Split test files for test-framework that are test-unit and minitest to tool direcotry. 2019-07-02 07:59:54 +09:00
Hiroshi SHIBATA c3c0e3f5c9 Move to tool/lib from test/lib. 2019-07-02 07:59:54 +09:00
Nobuyoshi Nakada 7ff2bfed92
Alias "master" and "trunk" 2019-07-01 23:16:47 +09:00
Nobuyoshi Nakada acee938484
Default ASMEXT 2019-07-01 21:32:02 +09:00
Nobuyoshi Nakada be14f62caf
Default @debug to $DEBUG 2019-06-28 12:41:03 +09:00
Nobuyoshi Nakada 4562dad94c
Removed unused variable 2019-06-28 12:39:14 +09:00
Jeremy Evans 51361272f9 Respect --dest-dir when removing old default gems
Before this, tool/rbinstall would try to remove a gem file that
it may not have access too.

Fixes issue introduced in f550da512c.
2019-06-25 19:02:48 -07:00
Hiroshi SHIBATA 9b23aab290 Fixed the wrong path for io-console. 2019-06-25 15:56:20 +09:00
Nobuyoshi Nakada bdcfba547d
vcs.rb: handle --dryrun option 2019-06-23 22:35:10 +09:00
Nobuyoshi Nakada 8a1dd9b84b
Revert RUBY_RELEASE_DATE to date only 2019-06-21 23:48:49 +09:00
Hiroshi SHIBATA 71ebf6d8e5 Update sync task for the directory structure of cparse and ignore JRuby files. 2019-06-20 16:11:03 +09:00
Samuel Williams d17344cfc5 Remove IA64 support. 2019-06-19 23:30:04 +12:00
Hiroshi SHIBATA 4e218282d2 Added sync task for racc 2019-06-19 18:17:38 +09:00
Nobuyoshi Nakada a064e46762
Support Bison 3 2019-06-17 03:09:52 +09:00
nagachika 17e6536fe0 tool/redmine-backporter.rb: Change redmine git revisions URL path. 2019-06-16 11:59:59 +09:00
nagachika ee7999bb84 tool/redmine-backporter.rb: Add parens to fix condition for svn revision search. 2019-06-16 11:39:12 +09:00
Takashi Kokubun f0bfa71ab3
Use UTC for file2lastrev timezone
02155da7ba got a claim about sacrificing
ability to compare arbitrary `RUBY_DESCRIPTION`s without converting
timezones.

Because most of the people would be familiar with timezone conversion
with UTC but it'd be harder when it comes to JST, this commit just
changes the timezone in f42588f754 to UTC.

Another bonus in using UTC is that we can use a shorter variant of
ISO 8601 format like "2019-06-10T14:26:24Z" (the last Z part).
2019-06-10 23:31:07 +09:00
Takashi Kokubun 02155da7ba
Make file2lastrev timezone consistent with git log
Using the same timezone for all commits is convenient when just looking
dates in RUBY_DESCRIPTION, but usually we also check `git log` when
we're interested in the order of commits.
`git log` shows times in committer's timezone and forcing RUBY_RELEASE_DATE
to JST makes it harder to find a corresponding commit from `git log`.

Because this label is only used in development, I believe there's no
strict requirement to use traditional timezone for release here.

Also when building Ruby after committing from a non-JST timezone, I'd be
surprised to see a strange time (in a different timezone) for my very new
commit in `ruby -v`.
2019-06-10 22:35:32 +09:00
Nobuyoshi Nakada f42588f754
Make RUBY_RELEASE_DATE full on development
I cannot tell the order just by commit hashes.
2019-06-08 20:08:18 +09:00
Nobuyoshi Nakada c7477c3e1f
Moved Makefile.in under template 2019-06-07 09:09:58 +09:00
Nobuyoshi Nakada 200c840b95
Revert "Moved Makefile.in under template"
This reverts commits:
* 6f9d5fafe0
* bb3c89b643

And remove the dependency of Makefile on Makefile.in
transitionally.
2019-06-07 09:03:25 +09:00
Nobuyoshi Nakada 6f9d5fafe0
Moved Makefile.in under template 2019-06-07 08:44:37 +09:00
Takashi Kokubun f3c877e8de
Ignore ~/.gitconfig on tool/vcs.rb git commands
Because some `log.*` git configs may change the result of `git log`,
`RUBY_LAST_COMMIT_TITLE` can be wrongly formatted and break version.c
compilation. So the `git log` executions should not respect user's gitconfig.
2019-06-05 20:23:23 +09:00
Nobuyoshi Nakada 542d69c894
Revert "vcs.rb support non-inplace build"
This reverts commit 22cd402734.

It did not make sense due to a typo `@srcidr`.
2019-06-05 12:04:11 +09:00
Nobuyoshi Nakada a105831819
tool/runruby.rb: support RUNRUBY_USE_LLDB as well as RUNRUBY_USE_GDB 2019-06-05 11:11:45 +09:00
Nobuyoshi Nakada 26d02cc7cd
tool/runruby.rb: load the default lldb scripts 2019-06-05 11:11:45 +09:00
Nobuyoshi Nakada 5859ea1b1b
tool/runruby.rb: load .gdbinit explicitly 2019-06-05 11:11:44 +09:00
Nobuyoshi Nakada 39eae6bf89
tool/vcs.rb: return the commit date as the modified time 2019-06-04 21:27:46 +09:00
Nobuyoshi Nakada fade26afa7
colorize.rb: get rid of syntax errors on older versions 2019-06-04 18:10:49 +09:00
Nobuyoshi Nakada a57d6d2325
colorize.rb: make `colors_file` optional
[ci skip]
2019-06-04 18:08:35 +09:00
Nobuyoshi Nakada b0c35ff2db
colorize.rb: fix reading from test/colors
[ci skip]
2019-06-04 17:26:23 +09:00
Nobuyoshi Nakada 16cb1fb007
extlibs.rb: colorize
[ci skip]
2019-06-04 17:09:16 +09:00
Nobuyoshi Nakada 58fd27d3d8
colorize.rb: read `test/colors` file afer `$TEST_COLORS`
[ci skip]
2019-06-04 17:07:33 +09:00
Nobuyoshi Nakada 3102ca4c6e
Default GIT external encoding to UTF-8 🤷‍♂️
And dump the title as US-ASCII.
2019-06-03 12:54:33 +09:00
Nobuyoshi Nakada d180e40570
Add --limit option and default it to 20 2019-05-31 10:55:37 +09:00
Nobuyoshi Nakada 1e9057b54a
Prefer the current branch or tag name 2019-05-31 10:55:37 +09:00
Nobuyoshi Nakada fd658ec821
Define RUBY_FULL_REVISION
Only if the short revision differs from the full revision.
2019-05-31 10:55:37 +09:00
Nobuyoshi Nakada ab0c8cc021
Touch Unicode headers and the timestamp before packaging
Not to download Unicode data files at building from the packages.
2019-05-30 23:23:11 +09:00
Nobuyoshi Nakada f0945176c3
Fix missing `gitcmd` 2019-05-30 22:27:11 +09:00
NARUSE, Yui 22cd402734 vcs.rb support non-inplace build 2019-05-30 22:20:28 +09:00
Jeremy Evans f0ded36693 Use Regexp#match instead of #match for 1.9 BASERUBY support 2019-05-29 18:40:03 -07:00
Jeremy Evans d2ba80b5df Revert "Fix building with 1.8 BASERUBY"
This reverts commit 05bc14d81a.

We have decided that the cost of reintroducing support for 1.8
BASERUBY outweighs the benefit.  If you are still using 1.8 and want
to build master/trunk, build and install the latest release, and use
that as BASERUBY.
2019-05-29 18:03:21 -07:00
Takashi Kokubun 1a0c3d8dd6
Convert Enumerator to Array for Ruby 1.9.3
String#lines seems to return Enumerator in Ruby 1.9.3, and it does not
respond to #delete_if https://travis-ci.org/ruby/ruby/jobs/538559919
2019-05-29 15:04:45 +09:00