Skip to content

Commit

Permalink
imported mruby-3.3.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
clerkma committed Apr 28, 2024
1 parent 6c57ce2 commit d758c77
Show file tree
Hide file tree
Showing 233 changed files with 8,872 additions and 5,979 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Run the shell script:
## Source

* TeX Live 2025/dev (`http://tug.org/svn/texlive/trunk/Build/source/`)
* mruby 3.2.0 (`http://mruby.org/downloads/`)
* mruby 3.3.0 (`http://mruby.org/downloads/`)

## How to Install

Expand Down
14 changes: 14 additions & 0 deletions src/mruby/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.DS_Store
.idea
.vscode
*.bak
*.iml
*.ipr
*.swp
*.tmp

/.yardoc
/bin
/build
/doc/api
/doc/capi
26 changes: 8 additions & 18 deletions src/mruby/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,37 +8,27 @@ root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 8
indent_style = tab
indent_size = 2
indent_style = space
insert_final_newline = true
tab_width = 8
trim_trailing_whitespace = true

[{Makefile,Makefile.*,makefile,*.mk}]
trim_trailing_whitespace = true
indent_style = tab
#max_line_length = 80

[*.{c,cc,C,cxx,cpp,h,hh,H,hxx,hpp,inc,y}]
indent_size = 2
indent_style = space
trim_trailing_whitespace = true
#[*.{c,cc,C,cxx,cpp,h,hh,H,hxx,hpp,inc,y}]
#max_line_length = 120

[{*.rb,Rakefile,rakefile,*.rake,*.gemspec,*.gembox}]
indent_size = 2
indent_style = space
trim_trailing_whitespace = true
#[{*.rb,Rakefile,rakefile,*.rake,*.gemspec,*.gembox}]
#max_line_length = 120

# limitation to US-ASCII
[*.bat]
end_of_line = crlf
indent_style = space
#max_line_length = 80

[*.{yaml,yml}]
indent_size = 2
indent_style = space
#[*.{yaml,yml}]

[*.md]
indent_size = 2
indent_style = space
#[*.md]
4 changes: 4 additions & 0 deletions src/mruby/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* text=auto eol=lf
*.bat text eol=crlf
*.cmd text eol=crlf
*.png binary
7 changes: 5 additions & 2 deletions src/mruby/.github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Basic set up

version: 2
updates:

# Maintain dependencies for Ruby
- package-ecosystem: "bundler"
directory: "/"
schedule:
interval: "daily"
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
Expand Down
50 changes: 50 additions & 0 deletions src/mruby/.github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
benchmark:
- any:
- changed-files:
- any-glob-to-any-file:
- benchmark/**/*
build:
- any:
- changed-files:
- any-glob-to-any-file:
- Makefile
- Rakefile
- build_config/**/*
- lib/**/*
- tasks/**/*
core:
- any:
- changed-files:
- any-glob-to-any-file:
- include/**/*
- mrblib/**/*
- src/**/*
- test/**/*
doc:
- any:
- changed-files:
- any-glob-to-any-file:
- CONTRIBUTING.md
- LEGAL
- LICENSE
- NEWS
- README.md
- SECURITY.md
- TODO.md
- doc/**/*
- examples/**/*
github:
- any:
- changed-files:
- any-glob-to-any-file:
- .github/**/*
mrbgems:
- any:
- changed-files:
- any-glob-to-any-file:
- mrbgems/**/*
oss-fuzz:
- any:
- changed-files:
- any-glob-to-any-file:
- oss-fuzz/**/*
6 changes: 6 additions & 0 deletions src/mruby/.github/linters/.markdown-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,11 @@ MD025: false
# MD026 no-trailing-punctuation - Trailing punctuation in heading
MD026: false

# MD033/no-inline-html - Inline HTML
MD033: false

# MD040 fenced-code-language - Fenced code blocks should have a language specified
MD040: false

# MD041 first-line-heading/first-line-h1 - First line in a file should be a top-level heading
MD041: false
2 changes: 2 additions & 0 deletions src/mruby/.github/linters/.yaml-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
extends: default

rules:
comments:
min-spaces-from-content: 1
document-start: disable
line-length: disable
truthy: false
6 changes: 4 additions & 2 deletions src/mruby/.github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
CXX: ${{ matrix.cxx }}
LD: ${{ matrix.cc }}
steps:
- uses: actions/checkout@v3
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v4
- name: Ruby version
run: ruby -v
- name: Compiler version
Expand All @@ -41,7 +42,8 @@ jobs:
env:
MRUBY_CONFIG: ci/msvc
steps:
- uses: actions/checkout@v3
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v4
- name: Ruby version
run: ruby -v
- name: Build and test
Expand Down
53 changes: 0 additions & 53 deletions src/mruby/.github/workflows/codeql-analysis.yml

This file was deleted.

15 changes: 15 additions & 0 deletions src/mruby/.github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# https://github.com/actions/labeler
name: Pull Request Labeler
on:
- pull_request_target
jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
15 changes: 3 additions & 12 deletions src/mruby/.github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# https://pre-commit.com/
name: Lint

on: [pull_request]
Expand All @@ -6,22 +7,12 @@ permissions:
contents: read

jobs:
misspell:
name: Check spelling with misspell
runs-on: ubuntu-latest
steps:
- name: Check Out
uses: actions/checkout@v3
- name: Install
run: wget -O - -q https://git.io/misspell | sh -s -- -b .
- name: Run misspell
run: git ls-files --empty-directory | xargs ./misspell -error
pre-commit:
name: Run pre-commit
runs-on: ubuntu-latest
steps:
- name: Check Out
uses: actions/checkout@v3
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v4
- name: Install
run: |
python -m pip install --upgrade pip
Expand Down
7 changes: 4 additions & 3 deletions src/mruby/.github/workflows/oss-fuzz.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# https://github.com/google/oss-fuzz
name: CIFuzz
on: [pull_request]
permissions:
Expand All @@ -10,16 +11,16 @@ jobs:
- name: Build Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
with:
oss-fuzz-project-name: 'mruby'
oss-fuzz-project-name: "mruby"
dry-run: false
- name: Run Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
with:
oss-fuzz-project-name: 'mruby'
oss-fuzz-project-name: "mruby"
fuzz-seconds: 600
dry-run: false
- name: Upload Crash
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: artifacts
Expand Down
11 changes: 6 additions & 5 deletions src/mruby/.github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# https://github.com/super-linter/super-linter
name: Super-Linter

on: [pull_request]
Expand All @@ -8,18 +9,18 @@ permissions:
jobs:
build:
permissions:
contents: read # for actions/checkout to fetch code
statuses: write # for github/super-linter/slim to mark status of each linter run
contents: read # for actions/checkout to fetch code
statuses: write # for github/super-linter/slim to mark status of each linter run
name: Lint Code Base
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
- name: Lint Code Base
uses: github/super-linter/slim@v4.10.1
uses: super-linter/super-linter/slim@v5.7.2
env:
ERROR_ON_MISSING_EXEC_BIT: true
VALIDATE_BASH: true
Expand Down
25 changes: 12 additions & 13 deletions src/mruby/.gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
*.lock
*.bak
*.bc
*.d
*.i
*.lock
*.o
*.orig
*.pdb
Expand All @@ -13,25 +13,24 @@
*.tmp
*~
.DS_Store
.ccls*
.ccmalloc
.svn
.vscode
.yardoc
.ccls*
compile_flags.txt
compile_commands.json
cscope.files
cscope.out
tags

/.git
/bin
/build
/mruby-source-*.gem

/benchmark/**/*.dat
/benchmark/*.pdf
/benchmark/*.png

/bin
/build
/doc/api
/doc/capi
/mruby-source-*.gem
compile_commands.json
compile_flags.txt
cscope.files
cscope.out
node_modules
tags
!Gemfile.lock
Loading

0 comments on commit d758c77

Please sign in to comment.