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

1501 Коммитов

Автор SHA1 Сообщение Дата
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
Takashi Kokubun 6b5e712361
Make tool/vcs.rb compliant to BASERUBY
People seem to consider BASERUBY is either 1.8 or 1.9 now. Since this
file may be executed by BASERUBY from file2lastrev.rb, I think we should
not rely on Ruby 2.0 in this file for now.
2019-05-29 08:22:04 +09:00
Nobuyoshi Nakada 40e175b390
Clean a garbage [ci skip] 2019-05-28 14:20:59 +09:00
Jeremy Evans 05bc14d81a Fix building with 1.8 BASERUBY 2019-05-27 20:55:56 -07:00
Kazuhiro NISHIYAMA 706c816ad2
Escape dots in regexp 2019-05-24 19:03:29 +09:00
Martin Dürst c06f9e1d24 switch UNICODE_BETA to NO (one more try, first try didn't work)
Unicode version 12.1.0 was officially released on May 7th, 2019.
    There were no changes at all from the "real" beta
    published shortly after the new era name "Reiwa" was announced.
    So we can switch UNICODE_BETA back to NO.

    common.mk: switch UNICODE_BETA back to NO
    tool/downloader.rb: add additional conditions to avoid an error
                        when moving from beta to final
2019-05-24 18:22:36 +09:00
Nobuyoshi Nakada a205e24747
Make RUBY_REVISION full length 2019-05-22 23:53:21 +09:00
Nobuyoshi Nakada d819d97cf0
Default to the current branch
* tool/make-snapshot: default to the current branch if no branch
  but srcdir is given.
2019-05-22 23:52:51 +09:00
Nobuyoshi Nakada 8fb77acac7
Fix revision name
* tool/make-snapshot (package): dump to stringize GIT revisions
  properly.
2019-05-22 23:51:33 +09:00
Nobuyoshi Nakada 24684a81d2
Fix revision name
* tool/make-snapshot (package): use the last revision of the whole
  tree as the revision name, not a single file.

* tool/file2lastrev.rb: ditto.  dump without unnecessary subrange
  and literal quotes, to stringize SVN revisions properly.
2019-05-22 22:28:07 +09:00
Nobuyoshi Nakada 658f17b8ec
Fixed the method to delegate
* tool/vcs.rb (VCS::GITSVN.revision_name): should delegate to the
  same method of SVN, not an undefined method.
2019-05-22 22:28:02 +09:00
Nobuyoshi Nakada 23751a2681
leaked-globals: check if un-prefixed symbols leak externally 2019-05-16 23:34:01 +09:00
Nobuyoshi Nakada 79931dddba
Propagate parser_params to rb_yytnamerr 2019-05-10 22:02:54 +09:00
Hiroshi SHIBATA aa52464efd
15f45ae4d1 and 56528da3e broke the darwin environment.
Revert "Propagate parser_params to rb_yytnamerr"

This reverts commit 15f45ae4d1.
2019-05-10 21:48:02 +09:00
Hiroshi SHIBATA d4c8577a14 Revert "Fix for bison 2.3"
This reverts commit 56528da3ef.
2019-05-10 21:45:04 +09:00
Nobuyoshi Nakada 56528da3ef
Fix for bison 2.3 2019-05-10 16:58:51 +09:00
Nobuyoshi Nakada 15f45ae4d1
Propagate parser_params to rb_yytnamerr 2019-05-10 16:40:34 +09:00
Nobuyoshi Nakada 025206d0dd
Fallback to an invalid branch name if no branch found 2019-05-09 14:12:03 +09:00
Nobuyoshi Nakada eb84b33c86
Search a branch name at a detached head 2019-05-09 14:02:01 +09:00
Nobuyoshi Nakada d802698d3e
Push the current (topic) branch to the remote upstream 2019-05-09 10:01:31 +09:00
Nobuyoshi Nakada 4fabb74471
Show the commit command if dryrun 2019-05-09 10:00:48 +09:00