Yukihiro "Matz" Matsumoto
bdf2cf005e
Merge pull request #5357 from k0kubun/lock-depth
...
Skip --depth=1 when it's locked
2021-02-17 15:23:24 +09:00
Takashi Kokubun
6ac79a2c44
Skip --depth=1 when it's locked
2021-02-16 20:56:13 -08:00
Yukihiro "Matz" Matsumoto
cb43dda009
Merge pull request #5347 from shuujii/add--s-option-to-mrbc-for-make-variable-static
...
Add `-s` option to `mrbc` for make variable static
2021-02-17 12:43:45 +09:00
Yukihiro "Matz" Matsumoto
dee9168882
Merge pull request #5356 from mruby/dependabot/github_actions/actions/upload-artifact-v2.2.2
...
Bump actions/upload-artifact from v1 to v2.2.2
2021-02-16 13:54:24 +09:00
Yukihiro "Matz" Matsumoto
cb9225bcbf
Merge pull request #5355 from mruby/dependabot/github_actions/actions/cache-v2.1.4
...
Bump actions/cache from v2 to v2.1.4
2021-02-16 13:54:00 +09:00
dependabot[bot]
cf2fce93ec
Bump actions/upload-artifact from v1 to v2.2.2
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from v1 to v2.2.2.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v1...e448a9b857ee2131e752b06002bf0e093c65e571 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-02-16 04:23:03 +00:00
dependabot[bot]
1c8e1e20e4
Bump actions/cache from v2 to v2.1.4
...
Bumps [actions/cache](https://github.com/actions/cache ) from v2 to v2.1.4.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2...26968a09c0ea4f3e233fdddbafd1166051a095f6 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-02-16 04:23:03 +00:00
Yukihiro "Matz" Matsumoto
e2d4bedb7b
Merge pull request #5343 from jbampton/add-dependabot-config
...
feat: add Dependabot config file
2021-02-16 13:08:39 +09:00
Yukihiro "Matz" Matsumoto
d6164817f5
Use full-core gembox for clang-asan configuration.
...
For better coverage.
2021-02-16 12:55:19 +09:00
Yukihiro "Matz" Matsumoto
7470337a82
Update URL explaining alignment issue; close #5344
2021-02-16 12:50:31 +09:00
Yukihiro "Matz" Matsumoto
61370ca98c
Merge pull request #5350 from shuujii/refine-checking-for-trailing-whitespace
...
Refine checking for trailing whitespace [skip travis][skip appveyor]
2021-02-15 13:49:52 +09:00
Yukihiro "Matz" Matsumoto
2725755bc5
Merge pull request #5349 from shuujii/remove-trailing-tab-in-build_config-dreamcast_shelf.rb
...
Remove trailing tab in `build_config/dreamcast_shelf.rb` [ci skip]
2021-02-15 10:54:29 +09:00
Yukihiro "Matz" Matsumoto
330dd3f450
Merge pull request #5353 from dearblue/editorconfig
...
Introduce EditorConfig [skip ci]
2021-02-15 10:53:48 +09:00
dearblue
9b38dddc61
Introduce EditorConfig [skip ci]
2021-02-14 22:19:20 +09:00
Yukihiro "Matz" Matsumoto
3217febfe9
Merge pull request #5348 from dearblue/optable
...
Place optable in ROM
2021-02-14 17:49:00 +09:00
KOBAYASHI Shuji
4203e574e3
Refine checking for trailing whitespace [skip travis][skip appveyor]
...
* Include tabs in checking.
* Use `git grep` to avoid including `.git` directory.
* Avoid running `grep` multiple times.
2021-02-14 16:07:04 +09:00
KOBAYASHI Shuji
29dfadf0de
Remove trailing tab in build_config/dreamcast_shelf.rb [ci skip]
2021-02-14 16:02:02 +09:00
dearblue
297df70bc1
Place optable in ROM
2021-02-14 13:53:51 +09:00
KOBAYASHI Shuji
a6a76d8fd2
Add -s option to mrbc for make variable static
2021-02-14 11:55:53 +09:00
Yukihiro "Matz" Matsumoto
c3ec5861ac
Merge pull request #5346 from jbampton/clean-up-linters
...
refactor: add the spell checker Action to the Lint Action file
2021-02-13 18:25:27 +09:00
John Bampton
c263aec748
refactor: add the spell checker Action to the Lint Action file
...
Order jobs in workflow.
2021-02-13 18:58:48 +10:00
Yukihiro "Matz" Matsumoto
da6c4ed169
Merge pull request #5345 from jbampton/fix-missing-https-on-links
...
chore: fix missing HTTPS on links
2021-02-13 17:21:12 +09:00
John Bampton
6204244b41
chore: fix missing HTTPS on links
2021-02-13 18:17:47 +10:00
Yukihiro "Matz" Matsumoto
d04c651405
Merge pull request #5342 from jbampton/fix-spelling
...
chore: fix spelling
2021-02-13 16:38:02 +09:00
John Bampton
d52da3fe77
feat: add Dependabot config file
...
Set for GitHub Actions to check for update everyday.
When you add or update the dependabot.yml file, this triggers an immediate check for version updates. Any options that also affect security updates are used the next time a security alert triggers a pull request for a security update.
https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates
2021-02-13 17:37:30 +10:00
John Bampton
be40e9c783
chore: fix spelling
...
Normally a single spell checker can't find all the mistakes or check all types of code.
These mistakes were found by another spell checker inside my editor with a more manual sift / find.
2021-02-13 17:21:17 +10:00
Yukihiro "Matz" Matsumoto
9a9c95986a
Merge pull request #5341 from jbampton/check-for-trailing-whitespace
...
feat(CI): check for trailing whitespace
2021-02-13 15:46:51 +09:00
John Bampton
d55a74c418
feat(CI): check for trailing whitespace
...
Run on pull request only.
Use a shell script to check for trailing whitespace in all files.
Fail if trailing whitespace is found.
2021-02-13 16:37:46 +10:00
Yukihiro "Matz" Matsumoto
8e01fc8933
Merge pull request #5340 from jbampton/use-certified-actions
...
refactor: only use certified GitHub Actions to increase security
2021-02-13 15:19:34 +09:00
John Bampton
4c7ecbb8a6
refactor: only use certified GitHub Actions to increase security
...
Official -> "The individual jobs in a workflow can interact with (and compromise) other jobs. For example, a job querying the environment variables used by a later job, writing files to a shared directory that a later job processes, or even more directly by interacting with the Docker socket and inspecting other running containers and executing commands in them.
This means that a compromise of a single action within a workflow can be very significant, as that compromised action would have access to all secrets configured on your repository, and can use the GITHUB_TOKEN to write to the repository. Consequently, there is significant risk in sourcing actions from third-party repositories on GitHub. "
https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
2021-02-13 16:13:30 +10:00
Yukihiro "Matz" Matsumoto
acdd939d80
Merge pull request #5339 from shuujii/update-compile-prerequisites-in-doc-guides-compile.md
...
Update compile prerequisites in `doc/guides/compile.md` [ci skip]
2021-02-13 14:17:58 +09:00
Yukihiro "Matz" Matsumoto
94fb86f89b
parse.y: string buffer (tokbuf) can overflow.
...
Check if `esclen` is smaller than `len` (original string length).
2021-02-13 14:06:37 +09:00
KOBAYASHI Shuji
d470163b22
Update compile prerequisites in doc/guides/compile.md [ci skip]
...
Bison and gperf are optional.
2021-02-13 11:53:52 +09:00
Yukihiro "Matz" Matsumoto
adb50df71a
Update GitHub Actions.
...
- Remove Ubuntu-16.04
- Add Ubuntu-20.04 {gcc,clang}
2021-02-12 21:14:06 +09:00
Yukihiro "Matz" Matsumoto
5ba37db981
Merge pull request #5336 from shuujii/fix-build-mruby-catch-gem-without-presym
...
Fix build `mruby-catch` gem without presym
2021-02-12 21:11:59 +09:00
Yukihiro "Matz" Matsumoto
d3fbac4d53
Merge pull request #5335 from shuujii/add-UncaughtThrowError-tagvalue-for-Ruby-compatibility
...
Add `UncaughtThrowError#{tag,value}` for Ruby compatibility
2021-02-12 21:10:53 +09:00
Yukihiro "Matz" Matsumoto
5f71e0e754
Merge pull request #5337 from shuujii/remove-skip-ci-hack-to-GitHub-Actions
...
Remove "skip ci" hack to GitHub Actions [skip travis][skip appveyor]
2021-02-12 21:09:07 +09:00
KOBAYASHI Shuji
28729deed6
Remove "skip ci" hack to GitHub Actions [skip travis][skip appveyor]
...
GitHub Actions now supports "skip ci" natively:
https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/
2021-02-12 19:44:41 +09:00
KOBAYASHI Shuji
8ba7be0999
Fix build mruby-catch gem without presym
2021-02-12 19:19:32 +09:00
KOBAYASHI Shuji
955464ca3c
Add UncaughtThrowError#{tag,value} for Ruby compatibility
2021-02-12 19:09:18 +09:00
Yukihiro "Matz" Matsumoto
2af8e16cc6
include/mruby/array.h: ARY_LEN() should return mrb_int.
...
It used to return `mrb_ssize` but its size may differ from `mrb_int`,
e.g. `MRB_INT64` on `MRB_32BIT` architecture.
2021-02-12 16:57:33 +09:00
Yukihiro "Matz" Matsumoto
31051fd656
doc/mruby3.md: use relative path.
2021-02-12 15:39:19 +09:00
Yukihiro "Matz" Matsumoto
ca7cac8b31
Merge pull request #5334 from shuujii/avoid-possibility-of-reading-uninitialized-areas-in-h_check_modified
...
Avoid possibility of reading uninitialized areas in `h_check_modified()`
2021-02-12 15:38:59 +09:00
KOBAYASHI Shuji
453296a729
Avoid possibility of reading uninitialized areas in h_check_modified()
...
In `h_check_modified()`, in the case of `MRB_NO_BOXING`, `ht_ea()` or
`ht_ea_capa()` for AR may read uninitialized area. Therefore, do not use
those macros for AR in `MRB_NO_BOXING` (but in the case of `MRB_64BIT`,
`ht_ea_capa()` is the same as `ar_ea_capa()`, so use it).
fix #5332
2021-02-12 15:00:06 +09:00
Yukihiro "Matz" Matsumoto
22ffc1108b
src/print.c: stop warning with MRB_NO_STDIO.
2021-02-12 11:14:25 +09:00
Yukihiro "Matz" Matsumoto
793fbab7d5
Rename mrb_sleep.c to sleep.c in mruby-sleep gem.
2021-02-12 11:11:10 +09:00
Yukihiro "Matz" Matsumoto
a96bd02127
Update docs/guides/mrbgems.md; ref #5210
...
Binary gems description added, along with a few cosmetic changes.
2021-02-12 11:07:45 +09:00
Yukihiro "Matz" Matsumoto
5c130e8e7b
Do not collect linker options from binary gems; close #5210
...
Binary gems are mrbgems that set `spec.bins` in their `mrbgem.rake`,
and usually their names are prefixed with `mruby-bin-`.
2021-02-12 10:33:53 +09:00
Yukihiro "Matz" Matsumoto
69f8a52866
Update docs/guides/compile.md.
...
Especially description regarding the build process and `build` directory
structures, along with some typo fixes and cosmetic changes.
2021-02-12 10:27:10 +09:00
Yukihiro "Matz" Matsumoto
0db6e3eb6f
Rename mruby-catch.c to catch.c; ref #5328
2021-02-12 10:09:19 +09:00