diff --git a/.github/workflows/build-mruby-compiler.android.yaml b/.github/workflows/build-mruby-compiler.android.yaml index 670f6292..af01199c 100644 --- a/.github/workflows/build-mruby-compiler.android.yaml +++ b/.github/workflows/build-mruby-compiler.android.yaml @@ -5,8 +5,8 @@ on: workflow_dispatch: env: - MRUBY_DIR: ${{ github.workspace }}/src/MRubyCS.Compiler/mruby - CONFIG_DIR: ${{ github.workspace }}/src/MRubyCS.Compiler + MRUBY_DIR: ${{ github.workspace }}/src/ChibiRuby.Compiler/mruby + CONFIG_DIR: ${{ github.workspace }}/src/ChibiRuby.Compiler jobs: build-android: diff --git a/.github/workflows/build-mruby-compiler.ios.yaml b/.github/workflows/build-mruby-compiler.ios.yaml index f0222dfc..97ef8724 100644 --- a/.github/workflows/build-mruby-compiler.ios.yaml +++ b/.github/workflows/build-mruby-compiler.ios.yaml @@ -5,8 +5,8 @@ on: workflow_dispatch: env: - MRUBY_DIR: ${{ github.workspace }}/src/MRubyCS.Compiler/mruby - CONFIG_DIR: ${{ github.workspace }}/src/MRubyCS.Compiler + MRUBY_DIR: ${{ github.workspace }}/src/ChibiRuby.Compiler/mruby + CONFIG_DIR: ${{ github.workspace }}/src/ChibiRuby.Compiler jobs: build-ios: diff --git a/.github/workflows/build-mruby-compiler.linux.yaml b/.github/workflows/build-mruby-compiler.linux.yaml index b738e12b..d6aae74d 100644 --- a/.github/workflows/build-mruby-compiler.linux.yaml +++ b/.github/workflows/build-mruby-compiler.linux.yaml @@ -5,10 +5,10 @@ on: workflow_dispatch: env: - MRUBY_DIR: ${{ github.workspace }}/src/MRubyCS.Compiler/mruby - CONFIG_DIR: ${{ github.workspace }}/src/MRubyCS.Compiler - BENCHMARK_MRUBY_DIR: ${{ github.workspace }}/sandbox/MRubyCS.Benchmark/mruby - BENCHMARK_CONFIG_DIR: ${{ github.workspace }}/sandbox/MRubyCS.Benchmark + MRUBY_DIR: ${{ github.workspace }}/src/ChibiRuby.Compiler/mruby + CONFIG_DIR: ${{ github.workspace }}/src/ChibiRuby.Compiler + BENCHMARK_MRUBY_DIR: ${{ github.workspace }}/sandbox/ChibiRuby.Benchmark/mruby + BENCHMARK_CONFIG_DIR: ${{ github.workspace }}/sandbox/ChibiRuby.Benchmark jobs: build-linux: diff --git a/.github/workflows/build-mruby-compiler.macOS.yaml b/.github/workflows/build-mruby-compiler.macOS.yaml index 4ba2eb47..e6202b2e 100644 --- a/.github/workflows/build-mruby-compiler.macOS.yaml +++ b/.github/workflows/build-mruby-compiler.macOS.yaml @@ -4,10 +4,10 @@ on: workflow_dispatch: env: - MRUBY_DIR: ${{ github.workspace }}/src/MRubyCS.Compiler/mruby - CONFIG_DIR: ${{ github.workspace }}/src/MRubyCS.Compiler - BENCHMARK_MRUBY_DIR: ${{ github.workspace }}/sandbox/MRubyCS.Benchmark/mruby - BENCHMARK_CONFIG_DIR: ${{ github.workspace }}/sandbox/MRubyCS.Benchmark + MRUBY_DIR: ${{ github.workspace }}/src/ChibiRuby.Compiler/mruby + CONFIG_DIR: ${{ github.workspace }}/src/ChibiRuby.Compiler + BENCHMARK_MRUBY_DIR: ${{ github.workspace }}/sandbox/ChibiRuby.Benchmark/mruby + BENCHMARK_CONFIG_DIR: ${{ github.workspace }}/sandbox/ChibiRuby.Benchmark jobs: build-macOS: diff --git a/.github/workflows/build-mruby-compiler.wasm.yaml b/.github/workflows/build-mruby-compiler.wasm.yaml index d4ceeebb..3ba26d7f 100644 --- a/.github/workflows/build-mruby-compiler.wasm.yaml +++ b/.github/workflows/build-mruby-compiler.wasm.yaml @@ -5,8 +5,8 @@ on: workflow_dispatch: env: - MRUBY_DIR: ${{ github.workspace }}/src/MRubyCS.Compiler/mruby - CONFIG_DIR: ${{ github.workspace }}/src/MRubyCS.Compiler + MRUBY_DIR: ${{ github.workspace }}/src/ChibiRuby.Compiler/mruby + CONFIG_DIR: ${{ github.workspace }}/src/ChibiRuby.Compiler jobs: build-wasm: diff --git a/.github/workflows/build-mruby-compiler.windows.yaml b/.github/workflows/build-mruby-compiler.windows.yaml index 7b1e720e..376ba2c3 100644 --- a/.github/workflows/build-mruby-compiler.windows.yaml +++ b/.github/workflows/build-mruby-compiler.windows.yaml @@ -4,10 +4,10 @@ on: workflow_dispatch: env: - MRUBY_DIR: ${{ github.workspace }}\src/MRubyCS.Compiler\mruby - CONFIG_DIR: ${{ github.workspace }}\src/MRubyCS.Compiler - BENCHMARK_MRUBY_DIR: ${{ github.workspace }}\sandbox/MRubyCS.Benchmark\mruby - BENCHMARK_CONFIG_DIR: ${{ github.workspace }}\sandbox/MRubyCS.Benchmark + MRUBY_DIR: ${{ github.workspace }}\src/ChibiRuby.Compiler\mruby + CONFIG_DIR: ${{ github.workspace }}\src/ChibiRuby.Compiler + BENCHMARK_MRUBY_DIR: ${{ github.workspace }}\sandbox/ChibiRuby.Benchmark\mruby + BENCHMARK_CONFIG_DIR: ${{ github.workspace }}\sandbox/ChibiRuby.Benchmark jobs: build-windows: @@ -38,7 +38,7 @@ jobs: run: | rake clean rm -fr ./build - MRUBY_CONFIG=${GITHUB_WORKSPACE}/src/MRubyCS.Compiler/build_config.windows.rb rake + MRUBY_CONFIG=${GITHUB_WORKSPACE}/src/ChibiRuby.Compiler/build_config.windows.rb rake - uses: actions/upload-artifact@v4 id: upload-windows-build @@ -52,7 +52,7 @@ jobs: run: | rake clean rm -fr ./build - MRUBY_CONFIG=${GITHUB_WORKSPACE}/sandbox/MRubyCS.Benchmark/build_config.windows.rb rake + MRUBY_CONFIG=${GITHUB_WORKSPACE}/sandbox/ChibiRuby.Benchmark/build_config.windows.rb rake - uses: actions/upload-artifact@v4 id: upload-benchmark-build diff --git a/.github/workflows/update-version-number.yaml b/.github/workflows/update-version-number.yaml index e0b10086..65a92ed9 100644 --- a/.github/workflows/update-version-number.yaml +++ b/.github/workflows/update-version-number.yaml @@ -75,12 +75,12 @@ jobs: - name: Update README.md ${{ steps.configure.outputs.git-tag }} run: | - ruby -i -pe 'gsub(%r{(https://github.com/hadashiA/MRubyCS.git\?path=src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity#)[\d\.]+}, %q{\1${{ steps.configure.outputs.git-tag }}})' README.md - ruby -i -pe 'gsub(%r{(https://github.com/hadashiA/MRubyCS.git\?path=src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity#)[\d\.]+}, %q{\1${{ steps.configure.outputs.git-tag }}})' README.md + ruby -i -pe 'gsub(%r{(https://github.com/hadashiA/ChibiRuby.git\?path=src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity#)[\d\.]+}, %q{\1${{ steps.configure.outputs.git-tag }}})' README.md + ruby -i -pe 'gsub(%r{(https://github.com/hadashiA/ChibiRuby.git\?path=src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity#)[\d\.]+}, %q{\1${{ steps.configure.outputs.git-tag }}})' README.md - name: Update package.json ${{ steps.configure.outputs.git-tag }} run: | - ruby -i -pe 'gsub(/"version"\s*:\s*"([\w\.-]+)"/, %q{"version": "${{ steps.configure.outputs.git-tag }}"})' src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/package.json - ruby -i -pe 'gsub(/"version"\s*:\s*"([\w\.-]+)"/, %q{"version": "${{ steps.configure.outputs.git-tag }}"})' src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/package.json + ruby -i -pe 'gsub(/"version"\s*:\s*"([\w\.-]+)"/, %q{"version": "${{ steps.configure.outputs.git-tag }}"})' src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/package.json + ruby -i -pe 'gsub(/"version"\s*:\s*"([\w\.-]+)"/, %q{"version": "${{ steps.configure.outputs.git-tag }}"})' src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/package.json ruby -i -pe 'gsub(/"version"\s*:\s*"([\w\.-]+)"/, %q{"version": "${{ steps.configure.outputs.git-tag }}"})' editor-extensions/vscode/package.json - name: Check update on git diff --git a/.gitignore b/.gitignore index d005fd84..2b47f110 100644 --- a/.gitignore +++ b/.gitignore @@ -482,14 +482,14 @@ $RECYCLE.BIN/ # Unity -src/MRubyCS.Unity/Library/* -src/MRubyCS.Unity/Temp/* -src/MRubyCS.Unity/Logs/* -src/MRubyCS.Unity/*.csproj -src/MRubyCS.Unity/*.sln -src/MRubyCS.Unity/UserSettings -!src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity -!src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity - -src/MRubyCS.Unity/Assets/Packages/* +src/ChibiRuby.Unity/Library/* +src/ChibiRuby.Unity/Temp/* +src/ChibiRuby.Unity/Logs/* +src/ChibiRuby.Unity/*.csproj +src/ChibiRuby.Unity/*.sln +src/ChibiRuby.Unity/UserSettings +!src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity +!src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity + +src/ChibiRuby.Unity/Assets/Packages/* diff --git a/.gitmodules b/.gitmodules index 2674affe..c637a7a5 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,10 +1,10 @@ -[submodule "src/MRubyCS.Compiler/mruby"] - path = src/MRubyCS.Compiler/mruby +[submodule "src/ChibiRuby.Compiler/mruby"] + path = src/ChibiRuby.Compiler/mruby url = https://github.com/mruby/mruby.git -[submodule "sandbox/MRubyCS.Benchmark/mruby"] - path = sandbox/MRubyCS.Benchmark/mruby +[submodule "sandbox/ChibiRuby.Benchmark/mruby"] + path = sandbox/ChibiRuby.Benchmark/mruby url = https://github.com/mruby/mruby.git -[submodule "src/MRubyCS.Compiler/mruby-compiler2"] - path = src/MRubyCS.Compiler/mruby-compiler2 +[submodule "src/ChibiRuby.Compiler/mruby-compiler2"] + path = src/ChibiRuby.Compiler/mruby-compiler2 url = git@github.com:hadashiA/mruby-compiler2.git branch = master diff --git a/ChibiRuby.slnx b/ChibiRuby.slnx new file mode 100644 index 00000000..2fcac744 --- /dev/null +++ b/ChibiRuby.slnx @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Directory.Build.props b/Directory.Build.props index 77e63922..ee9c0b75 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -3,7 +3,7 @@ 0.108.0 hadashiA - https://github.com/hadashiA/MRubyCS + https://github.com/hadashiA/ChibiRuby $(PackageProjectUrl) git MIT diff --git a/MRubyCS.slnx b/MRubyCS.slnx deleted file mode 100644 index 16924bb1..00000000 --- a/MRubyCS.slnx +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/README.md b/README.md index f42d3c6e..f72744e2 100644 --- a/README.md +++ b/README.md @@ -1,39 +1,28 @@ -# mruby/cs +# ChibiRuby -MRubyCS is a pure C# [mruby](https://github.com/mruby/mruby) virtual machine implementation It combines high Ruby-level compatibility with the performance and extensibility of modern C#. +ChibiRuby is a pure C# [mruby](https://github.com/mruby/mruby) virtual machine implementation. It combines high Ruby-level compatibility with the performance and extensibility of modern C#. Easily embed Ruby into Unity or .NET—empowering users to script game logic while keeping your core engine in C#. > [!NOTE] -> [VitalRouter.MRuby](https://github.com/hadashiA/VitalRouter) provides a high-level framework for integrating MRubyCS with Unity (and .NET), including command routing and script lifecycle management. +> [VitalRouter.MRuby](https://github.com/hadashiA/VitalRouter) provides a high-level framework for integrating ChibiRuby with Unity (and .NET), including command routing and script lifecycle management. ## Why mruby? -Ruby's elegant, expressive syntax makes it ideal for building DSLs (Domain-Specific Languages). Game designers and scenario writers can describe complex game logic — event triggers, dialogue trees, AI behavior — in clean, readable scripts without wrestling with C-like syntax. +Ruby's clean, expressive syntax makes it perfect for building DSLs. Game designers and scenario writers can describe game logic — event triggers, dialogue trees, and AI behavior — in simple, readable scripts. ```ruby # Example: game event DSL -scene :throne_room_betrayal do - sequence do - camera.focus_on :king, over: 1.2.seconds - king.say "You have served me well, knight." - wait 0.5.seconds - advisor.move_to :behind_king - advisor.say "Too well, perhaps." - - choice do - option "Draw your sword" do - player.equip :longsword - goto :combat_phase - end +with(:Yogoroza) do + talk "Who are you?" + motion :suprize +end - option "Kneel" do - player.animate :kneel - king.say "Loyalty. How rare." - complete_scene - end - end - end +with(:BlackCat) do + talk "It's you, isn't it." + motion :laugh + talk "You seem to be gradually forgetting who you are." + talk "Isn't that right?" end ``` @@ -46,12 +35,12 @@ end - **Pure C# implementation/Zero native dependencies mruby VM** — runs anywhere Unity/.NET runs. No per-platform native builds to maintain. - **High performance** — leverages .NET JIT, GC, and modern C# optimizations with minimal overhead. - **Ruby compatible** — all opcodes implemented; passes mruby's official test suite - - [Syntax](https://github.com/hadashiA/MRubyCS/blob/main/tests/MRubyCS.Tests/ruby/test/syntax.rb), [Literals](https://github.com/hadashiA/MRubyCS/blob/main/tests/MRubyCS.Tests/ruby/test/literals.rb), [Lang](https://github.com/hadashiA/MRubyCS/blob/main/tests/MRubyCS.Tests/ruby/test/lang.rb), [Methods](https://github.com/hadashiA/MRubyCS/blob/main/tests/MRubyCS.Tests/ruby/test/methods.rb), [Module](https://github.com/hadashiA/MRubyCS/blob/main/tests/MRubyCS.Tests/ruby/test/module.rb), [Exception](https://github.com/hadashiA/MRubyCS/blob/main/tests/MRubyCS.Tests/ruby/test/exception.rb), ... - - Supported classes/modules and their method signatures are published as RBS files under [`sig/`](https://github.com/hadashiA/MRubyCS/tree/main/sig) — [`Array`](https://github.com/hadashiA/MRubyCS/blob/main/sig/array.rbs), [`Hash`](https://github.com/hadashiA/MRubyCS/blob/main/sig/hash.rbs), [`String`](https://github.com/hadashiA/MRubyCS/blob/main/sig/string.rbs), [`Integer`](https://github.com/hadashiA/MRubyCS/blob/main/sig/integer.rbs), [`Float`](https://github.com/hadashiA/MRubyCS/blob/main/sig/float.rbs), [`Range`](https://github.com/hadashiA/MRubyCS/blob/main/sig/range.rbs), [`Proc`](https://github.com/hadashiA/MRubyCS/blob/main/sig/proc.rbs), [`Symbol`](https://github.com/hadashiA/MRubyCS/blob/main/sig/symbol.rbs), [`Fiber`](https://github.com/hadashiA/MRubyCS/blob/main/sig/fiber.rbs), [`Time`](https://github.com/hadashiA/MRubyCS/blob/main/sig/time.rbs), [`Random`](https://github.com/hadashiA/MRubyCS/blob/main/sig/random.rbs), [`Enumerable`](https://github.com/hadashiA/MRubyCS/blob/main/sig/enumerable.rbs), [`Comparable`](https://github.com/hadashiA/MRubyCS/blob/main/sig/comparable.rbs), etc. - - Enumerable extensions (mruby-enum-ext): see [`sig/enumerable.rbs`](https://github.com/hadashiA/MRubyCS/blob/main/sig/enumerable.rbs) + - [Syntax](https://github.com/hadashiA/ChibiRuby/blob/main/tests/ChibiRuby.Tests/ruby/test/syntax.rb), [Literals](https://github.com/hadashiA/ChibiRuby/blob/main/tests/ChibiRuby.Tests/ruby/test/literals.rb), [Lang](https://github.com/hadashiA/ChibiRuby/blob/main/tests/ChibiRuby.Tests/ruby/test/lang.rb), [Methods](https://github.com/hadashiA/ChibiRuby/blob/main/tests/ChibiRuby.Tests/ruby/test/methods.rb), [Module](https://github.com/hadashiA/ChibiRuby/blob/main/tests/ChibiRuby.Tests/ruby/test/module.rb), [Exception](https://github.com/hadashiA/ChibiRuby/blob/main/tests/ChibiRuby.Tests/ruby/test/exception.rb), ... + - Supported classes/modules and their method signatures are published as RBS files under [`sig/`](https://github.com/hadashiA/ChibiRuby/tree/main/sig) — [`Array`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/array.rbs), [`Hash`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/hash.rbs), [`String`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/string.rbs), [`Integer`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/integer.rbs), [`Float`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/float.rbs), [`Range`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/range.rbs), [`Proc`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/proc.rbs), [`Symbol`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/symbol.rbs), [`Fiber`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/fiber.rbs), [`Time`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/time.rbs), [`Random`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/random.rbs), [`Enumerable`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/enumerable.rbs), [`Comparable`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/comparable.rbs), etc. + - Enumerable extensions (mruby-enum-ext): see [`sig/enumerable.rbs`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/enumerable.rbs) - **Optional (opt-in)** — see [Optional Classes](#optional-classes-opt-in) - - [`Regexp`](https://github.com/hadashiA/MRubyCS/blob/main/sig/regexp.rbs) / [`MatchData`](https://github.com/hadashiA/MRubyCS/blob/main/sig/match_data.rbs) (via `mrb.DefineRegexp()`) - - [`IO`](https://github.com/hadashiA/MRubyCS/blob/main/sig/io.rbs) / [`File`](https://github.com/hadashiA/MRubyCS/blob/main/sig/file.rbs) / `IOError` (via `mrb.DefineIO()`) + - [`Regexp`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/regexp.rbs) / [`MatchData`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/match_data.rbs) (via `mrb.DefineRegexp()`) + - [`IO`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/io.rbs) / [`File`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/file.rbs) / `IOError` (via `mrb.DefineIO()`) - **Fiber & async/await integration** — suspend Ruby execution and await C# async methods without blocking threads. - **Debugger (DAP)** — line breakpoints, stepping, locals view, and expression evaluation. Attach from VSCode / JetBrains / Zed to a running Unity or .NET host over TCP. See [Debugger](#debugger). - **Prism-based compiler** — uses [mruby-compiler2](https://github.com/picoruby/mruby-compiler2), the next-generation mruby compiler built on [Prism](https://github.com/ruby/prism) (the official CRuby parser), for more accurate and modern Ruby syntax support. @@ -60,11 +49,11 @@ end In the .NET JIT environment, execution speeds are equal to or faster than the original native mruby. -ss 2026-03-04 22 11 01 +ChibiRuby vs mruby benchmark The above results were obtained on macOS with Apple M4 over 10 iterations. -Please refer to the following for the [benchmark code](https://github.com/hadashiA/MRubyCS/tree/main/sandbox/MRubyCS.Benchmark). +Please refer to the following for the [benchmark code](https://github.com/hadashiA/ChibiRuby/tree/main/sandbox/ChibiRuby.Benchmark). ## Limitations @@ -120,18 +109,18 @@ Please refer to the following for the [benchmark code](https://github.com/hadash > [!WARNING] > The current version supports mruby 4.0 bytecode. > Versions 0.70.0 and older supported mruby 3.0 bytecode. -> If you have bytecode from an older MRubyCS.Compiler (or mrbc), please regenerate it with the latest version. +> If you have bytecode from an older ChibiRuby.Compiler (or mrbc), please regenerate it with the latest version. ### NuGet | Package | Description | Latest version | |:----------|:----------------------------------------------------------------------------------|----------------| -| MRubyCS | Main package. A mruby vm implementation. | [![NuGet](https://img.shields.io/nuget/v/MRubyCS)](https://www.nuget.org/packages/MRubyCS) | -| MRubyCS.Compiler | Compile ruby source code utility. (Native binding) | [![NuGet](https://img.shields.io/nuget/v/MRubyCS.Compiler)](https://www.nuget.org/packages/MRubyCS.Compiler) | -| MRubyCS.Compiler.Cli | dotnet tool for compiling Ruby source to bytecode | [![NuGet](https://img.shields.io/nuget/v/MRubyCS.Compiler.Cli)](https://www.nuget.org/packages/MRubyCS.Compiler.Cli) | -| MRubyCS.Serializer | Converting Ruby and C# Objects Between Each Other | [![NuGet](https://img.shields.io/nuget/v/MRubyCS.Serializer)](https://www.nuget.org/packages/MRubyCS.Serializer) | -| MRubyCS.Debugger | Protocol-agnostic debugger core (breakpoints, stepping, `binding.irb` suspension) | [![NuGet](https://img.shields.io/nuget/v/MRubyCS.Debugger)](https://www.nuget.org/packages/MRubyCS.Debugger) | -| MRubyCS.Debugger.Dap | DAP server (TCP) for any DAP-compatible editor — see [Debugger](#debugger) | [![NuGet](https://img.shields.io/nuget/v/MRubyCS.Debugger.Dap)](https://www.nuget.org/packages/MRubyCS.Debugger.Dap) | +| ChibiRuby | Main package. A mruby vm implementation. | [![NuGet](https://img.shields.io/nuget/v/ChibiRuby)](https://www.nuget.org/packages/ChibiRuby) | +| ChibiRuby.Compiler | Compile ruby source code utility. (Native binding) | [![NuGet](https://img.shields.io/nuget/v/ChibiRuby.Compiler)](https://www.nuget.org/packages/ChibiRuby.Compiler) | +| ChibiRuby.Compiler.Cli | dotnet tool for compiling Ruby source to bytecode | [![NuGet](https://img.shields.io/nuget/v/ChibiRuby.Compiler.Cli)](https://www.nuget.org/packages/ChibiRuby.Compiler.Cli) | +| ChibiRuby.Serializer | Converting Ruby and C# Objects Between Each Other | [![NuGet](https://img.shields.io/nuget/v/ChibiRuby.Serializer)](https://www.nuget.org/packages/ChibiRuby.Serializer) | +| ChibiRuby.Debugger | Protocol-agnostic debugger core (breakpoints, stepping, `binding.irb` suspension) | [![NuGet](https://img.shields.io/nuget/v/ChibiRuby.Debugger)](https://www.nuget.org/packages/ChibiRuby.Debugger) | +| ChibiRuby.Debugger.Dap | DAP server (TCP) for any DAP-compatible editor — see [Debugger](#debugger) | [![NuGet](https://img.shields.io/nuget/v/ChibiRuby.Debugger.Dap)](https://www.nuget.org/packages/ChibiRuby.Debugger.Dap) | ### Unity @@ -139,23 +128,23 @@ Please refer to the following for the [benchmark code](https://github.com/hadash > Requirements: Unity 2021.3 or later. > [!IMPORTANT] -> As of v0.107.0, MRubyCS.Compiler is distributed via NuGetForUnity. Users of earlier versions should refer to this migration guide. [v0.107.0](https://github.com/hadashiA/MRubyCS/releases/tag/0.107.0) +> As of v0.107.0, ChibiRuby.Compiler is distributed via NuGetForUnity. Users of earlier versions should refer to this migration guide. [v0.107.0](https://github.com/hadashiA/ChibiRuby/releases/tag/0.107.0) 1. Install [NuGetForUnity](https://github.com/GlitchEnzo/NuGetForUnity) (v4.3.0 or later — required for native plugin support). 2. Install following packages via NuGetForUnity - Utf8StringInterpolation - - MRubyCS - - (Optional) MRubyCS.Compiler — runtime Ruby compiler. Native binaries (macOS, Linux, Windows, Android, iOS, WebGL) ship inside the NuGet package. - - (Optional) MRubyCS.Serializer -3. (Optional) For an Editor extension that auto-imports `.rb` / `.mrb` files as `TextAsset` subassets, install `MRubyCS.Compiler` Unity package as well — see [Unity AssetImporter](#unity-assetimporter). + - ChibiRuby + - (Optional) ChibiRuby.Compiler — runtime Ruby compiler. Native binaries (macOS, Linux, Windows, Android, iOS, WebGL) ship inside the NuGet package. + - (Optional) ChibiRuby.Serializer +3. (Optional) For an Editor extension that auto-imports `.rb` / `.mrb` files as `TextAsset` subassets, install `ChibiRuby.Compiler` Unity package as well — see [Unity AssetImporter](#unity-assetimporter). > [!NOTE] > **For macOS Editor users** > > NuGetForUnity v4.3.0's default `NativeRuntimeSettings` ships broken Editor settings for the `osx-arm64` / `osx-x64` runtimes (the Apple Silicon variant has no Editor target, and the Intel variant defaults to "Any CPU"), so `libmruby.dylib` may fail to load in the Editor. > A fix has been submitted upstream — [NuGetForUnity#755](https://github.com/GlitchEnzo/NuGetForUnity/pull/755). Once that is merged and released, this workaround will no longer be needed. In the meantime, fix the two dylibs from Unity's Inspector: -> 1. In the Project window, select `Assets/Packages/MRubyCS.Compiler.*/runtimes/osx-arm64/native/libmruby.dylib`. In the Inspector, under **Platform settings → Editor**, check **Include Platforms → Editor**, set **CPU** to `ARM64`, set **OS** to `OSX`, then click **Apply**. -> 2. Select `Assets/Packages/MRubyCS.Compiler.*/runtimes/osx-x64/native/libmruby.dylib`. In the Inspector, under **Platform settings → Editor**, **uncheck** Editor (or set **CPU** to `x86_64` and **OS** to `OSX` if you want it kept for Intel Editors), then click **Apply**. +> 1. In the Project window, select `Assets/Packages/ChibiRuby.Compiler.*/runtimes/osx-arm64/native/libmruby.dylib`. In the Inspector, under **Platform settings → Editor**, check **Include Platforms → Editor**, set **CPU** to `ARM64`, set **OS** to `OSX`, then click **Apply**. +> 2. Select `Assets/Packages/ChibiRuby.Compiler.*/runtimes/osx-x64/native/libmruby.dylib`. In the Inspector, under **Platform settings → Editor**, **uncheck** Editor (or set **CPU** to `x86_64` and **OS** to `OSX` if you want it kept for Intel Editors), then click **Apply**. > 3. Right-click each of the two `libmruby.dylib` files in the Project window and choose **Reimport**. NuGetForUnity skips reprocessing assets that already have its label, so the explicit reimport is required to apply the corrected Editor/CPU settings. ## Basic Usage @@ -197,15 +186,15 @@ You can choose whether to deploy precompiled bytecode or raw source code: Pre-compile Ruby source to `.mrb` bytecode with the CLI tool: ```bash -dotnet tool install -g MRubyCS.Compiler.Cli +dotnet tool install -g ChibiRuby.Compiler.Cli mruby-compiler fibonacci.rb -o fibonacci.mrb ``` Or with the C# API: ```cs -using MRubyCS; -using MRubyCS.Compiler; +using ChibiRuby; +using ChibiRuby.Compiler; var mrb = MRubyState.Create(); var compiler = MRubyCompiler.Create(mrb); @@ -227,7 +216,7 @@ File.WriteAllBytes("fibonacci.mrb", compilation.AsBytecode()); Then execute the pre-compiled bytecode: ```cs -using MRubyCS; +using ChibiRuby; var mrb = MRubyState.Create(); var bytecode = File.ReadAllBytes("/path/to/fibonacci.mrb"); @@ -239,13 +228,13 @@ result.IntegerValue //=> 55 #### Option B: Using Compiler library (runtime compile) ```bash -dotnet add package MRubyCS -dotnet add package MRubyCS.Compiler +dotnet add package ChibiRuby +dotnet add package ChibiRuby.Compiler ``` ```cs -using MRubyCS; -using MRubyCS.Compiler; +using ChibiRuby; +using ChibiRuby.Compiler; var mrb = MRubyState.Create(); var compiler = MRubyCompiler.Create(mrb); @@ -262,7 +251,7 @@ var result = compiler.LoadSourceCode(""" result.IntegerValue //=> 55 ``` -See also [MRubyCS.Compiler (library)](#mrubycscompiler-library) for installation details. +See also [ChibiRuby.Compiler (library)](#chibirubycompiler-library) for installation details. #### Irep @@ -283,10 +272,10 @@ mrb.Execute(irep); #### Compiler Reference -The MRubyCS runtime is pure C#, but the mrb compiler uses the native prism compiler. +The ChibiRuby runtime is pure C#, but the mrb compiler uses the native prism compiler. Note that the compiler's supported target platforms are subject to the following limitations. -##### MRubyCS.Compiler.Cli (dotnet tool) +##### ChibiRuby.Compiler.Cli (dotnet tool) The `mruby-compiler` CLI supports additional output formats beyond simple `.mrb`: @@ -299,7 +288,7 @@ $ mruby-compiler input.rb -o Bytecode.cs --format csharp --csharp-namespace MyAp ``` > [!TIP] -> For local tool installation, use `dotnet tool install MRubyCS.Compiler.Cli` and run with `dotnet mruby-compiler`. +> For local tool installation, use `dotnet tool install ChibiRuby.Compiler.Cli` and run with `dotnet mruby-compiler`. | Option | Description | |:-------|:------------| @@ -320,9 +309,9 @@ $ rake $ ./build/host/bin/mrbc -o output.mrb input.rb ``` -##### MRubyCS.Compiler (library) +##### ChibiRuby.Compiler (library) -`MRubyCS.Compiler` is a thin wrapper of the C# API for the native compiler. +`ChibiRuby.Compiler` is a thin wrapper of the C# API for the native compiler. NOTE: This is a wrapper for native compilers. Currently, the following platforms are supported: @@ -336,21 +325,21 @@ NOTE: This is a wrapper for native compilers. Currently, the following platforms | WebAssembly | wasm32 (Unity WebGL / .NET Browser WASM) | `browser-wasm` | ```bash -dotnet add package MRubyCS.Compiler +dotnet add package ChibiRuby.Compiler ``` -**Unity**: install `MRubyCS.Compiler` via [NuGetForUnity](https://github.com/GlitchEnzo/NuGetForUnity) (v4.3.0 or later). The native compiler binaries (`libmruby.dylib` / `.so` / `.dll`) are bundled in the NuGet package and resolved automatically. +**Unity**: install `ChibiRuby.Compiler` via [NuGetForUnity](https://github.com/GlitchEnzo/NuGetForUnity) (v4.3.0 or later). The native compiler binaries (`libmruby.dylib` / `.so` / `.dll`) are bundled in the NuGet package and resolved automatically. If you also want the Editor extension that auto-imports `.rb` / `.mrb` files as `TextAsset` subassets, additionally install the Unity package. Open Window > Package Manager, click [+] > Add package from git URL, and enter: ``` -https://github.com/hadashiA/MRubyCS.git?path=src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity#0.108.0 +https://github.com/hadashiA/ChibiRuby.git?path=src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity#0.108.0 ``` See [Unity AssetImporter](#unity-assetimporter) for details. ```cs -using MRubyCS.Compiler; +using ChibiRuby.Compiler; var source = """ def f(a) @@ -412,7 +401,7 @@ Addressables.LoadAssetAsync("Assets/hoge.rb[hoge.mrb]") Bundling pre-compiled `.mrb` bytecode via the importer is the production path, but it is **not** the only option. -In environments where MRubyCS.Compiler is supported (macOS, Windows, Linux), it is possible to dynamically load .rb source code at any time, even while it is running. +In environments where ChibiRuby.Compiler is supported (macOS, Windows, Linux), it is possible to dynamically load .rb source code at any time, even while it is running. - **Hot-reload Ruby scripts in Play Mode** — re-`LoadSourceCode` a modified `.rb` file without exiting Play Mode and reattaching the player. @@ -957,8 +946,8 @@ Some bundled classes are **not** registered by `MRubyState.Create()` so that emb | Enable with | Adds | |---|---| -| `mrb.DefineRegexp()` | [`Regexp`](https://github.com/hadashiA/MRubyCS/blob/main/sig/regexp.rbs), [`MatchData`](https://github.com/hadashiA/MRubyCS/blob/main/sig/match_data.rbs), and regexp-related `String` methods (`=~` / `match` / `sub` / `gsub` / `scan` / `index`) | -| `mrb.DefineIO()` | [`IO`](https://github.com/hadashiA/MRubyCS/blob/main/sig/io.rbs), [`File`](https://github.com/hadashiA/MRubyCS/blob/main/sig/file.rbs), `IOError` | +| `mrb.DefineRegexp()` | [`Regexp`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/regexp.rbs), [`MatchData`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/match_data.rbs), and regexp-related `String` methods (`=~` / `match` / `sub` / `gsub` / `scan` / `index`) | +| `mrb.DefineIO()` | [`IO`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/io.rbs), [`File`](https://github.com/hadashiA/ChibiRuby/blob/main/sig/file.rbs), `IOError` | Both calls are idempotent and must be made **before** compiling/running Ruby code that references the classes. @@ -1030,13 +1019,13 @@ When a `FiberScheduler` is installed, `IO`/`File` reads and writes route through ## Fiber (Coroutine) -MRubyCS supports Ruby Fibers, which are lightweight concurrency primitives that allow you to pause and resume code execution. In addition to standard Ruby Fiber features, MRubyCS provides seamless integration with C#'s async/await pattern. +ChibiRuby supports Ruby Fibers, which are lightweight concurrency primitives that allow you to pause and resume code execution. In addition to standard Ruby Fiber features, ChibiRuby provides seamless integration with C#'s async/await pattern. ### Basic Fiber Usage ```cs -using MRubyCS; -using MRubyCS.Compiler; +using ChibiRuby; +using ChibiRuby.Compiler; // Create state and compiler var mrb = MRubyState.Create(); @@ -1089,7 +1078,7 @@ fiber.Resume(); //=> 600 ### Async/Await Integration -MRubyCS provides unique C# async integration features for working with Fibers: +ChibiRuby provides unique C# async integration features for working with Fibers: ```cs // Wait for fiber to terminate @@ -1138,7 +1127,7 @@ await foreach (var value in fiber.AsAsyncEnumerable()) } ``` -MRubyCS supports multiple consumers waiting for fiber results simultaneously: +ChibiRuby supports multiple consumers waiting for fiber results simultaneously: ```cs using var compilation = compiler.Compile(code); @@ -1376,7 +1365,7 @@ Override example — `UnityFiberScheduler` that routes `sleep` / `Thread.pass` t using UnityEngine; using System; using System.Threading; -using MRubyCS; +using ChibiRuby; class UnityFiberScheduler : MRubyFiberScheduler { @@ -1412,7 +1401,7 @@ Contract: - **Exceptions are deliverable to Ruby.** Any exception inside `Await`'s body is wrapped and delivered as a Ruby exception on resume; surrounding `begin/rescue` catches it. - **No double-parking.** A fiber is only parked under one wait at a time. `Suspend` throws `InvalidOperationException` on a re-park; subclass overrides should preserve this. -See [`MRubyFiberScheduler.cs`](src/MRubyCS/MRubyFiberScheduler.cs) for the complete reference implementation. +See [`MRubyFiberScheduler.cs`](src/ChibiRuby/MRubyFiberScheduler.cs) for the complete reference implementation. ## Debugger @@ -1426,9 +1415,9 @@ By executing MRubyDapServer.StartAsync, the Debug Adapter Protocol TCP server be Any DAP-compatible editor can perform an Attach to the process in this state. ```cs -using MRubyCS; -using MRubyCS.Compiler; -using MRubyCS.Debugger.Dap; +using ChibiRuby; +using ChibiRuby.Compiler; +using ChibiRuby.Debugger.Dap; var mrb = MRubyState.Create(); var compiler = MRubyCompiler.Create(mrb); @@ -1444,7 +1433,7 @@ mrb.LoadBytecode(compilation.AsBytecode()); ``` -End-to-end demos: [`sandbox/DebuggerEmbeddedSample`](./sandbox/DebuggerEmbeddedSample) (dotnet console host) and [`src/MRubyCS.Unity/Assets/SampleBehaviour.cs`](./src/MRubyCS.Unity/Assets/SampleBehaviour.cs) (Unity MonoBehaviour). +End-to-end demos: [`sandbox/SampleDebuggerEmbedded`](./sandbox/SampleDebuggerEmbedded) (dotnet console host) and [`src/ChibiRuby.Unity/Assets/SampleBehaviour.cs`](./src/ChibiRuby.Unity/Assets/SampleBehaviour.cs) (Unity MonoBehaviour). ### Editor setup @@ -1452,7 +1441,7 @@ VSCode and Zed need a small extension to register the `mruby-cs` debug type; Rid #### VSCode -1. **Install the extension** — download `mruby-cs-debugger-*.vsix` from the [latest release](https://github.com/hadashiA/MRubyCS/releases/latest), then install it via either: +1. **Install the extension** — download `mruby-cs-debugger-*.vsix` from the [latest release](https://github.com/hadashiA/ChibiRuby/releases/latest), then install it via either: - **VSCode UI**: Extensions panel → `...` menu → **Install from VSIX…** → pick the downloaded file. - **CLI**: `code --install-extension mruby-cs-debugger-*.vsix`. @@ -1480,7 +1469,7 @@ VSCode and Zed need a small extension to register the `mruby-cs` debug type; Rid 2. **Add a Debug Adapter Protocol run configuration**: - **Run → Edit Configurations…** → **+** → **Debug Adapter Protocol**. - In the **Server** tab, click **create a new server**. - - In the dialog: pick a name (e.g. `MRubyCS DAP`), set **Connection type** to **TCP socket**, **Host** = `127.0.0.1`, **Port** = `4711`. Save. + - In the dialog: pick a name (e.g. `ChibiRuby DAP`), set **Connection type** to **TCP socket**, **Host** = `127.0.0.1`, **Port** = `4711`. Save. - Back in the run configuration, select the server you just created from the dropdown.

@@ -1522,7 +1511,7 @@ Once host + editor are wired: 4. Use the editor's debug controls (**Continue** / **Step Over** / **Step In** / **Step Out**) and the REPL pane (variables view + expression evaluation) as usual. > [!NOTE] -> Please ensure that MRubyCSCompiler passes the filename when compiling Ruby. +> Please ensure that ChibiRubyCompiler passes the filename when compiling Ruby. > APIs such as CompileFile or Unity's ScriptedImporter resolve the filename automatically. > When compiling without going through a file, such as with Compile(bytes), the debugger will not work unless the file path is passed as an additional argument. @@ -1581,7 +1570,7 @@ By introducing the following packages, serialization of Unity-specific types wil Open the Package Manager window by selecting Window > Package Manager, then click on [+] > Add package from git URL and enter the following URL: ``` -https://github.com/hadashiA/MRubyCS.git?path=src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity#0.108.0 +https://github.com/hadashiA/ChibiRuby.git?path=src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity#0.108.0 ``` | mruby | C# | diff --git a/docs/benchmark.webp b/docs/benchmark.webp new file mode 100644 index 00000000..f7a13e2a Binary files /dev/null and b/docs/benchmark.webp differ diff --git a/editor-extensions/vscode/README.md b/editor-extensions/vscode/README.md index f8271e90..a782b73d 100644 --- a/editor-extensions/vscode/README.md +++ b/editor-extensions/vscode/README.md @@ -1,6 +1,6 @@ # mruby/cs Debugger (VSCode) -DAP-based debug adapter for [MRubyCS](https://github.com/hadashiA/MRubyCS). Pause at +DAP-based debug adapter for [ChibiRuby](https://github.com/hadashiA/ChibiRuby). Pause at `binding.irb`, inspect locals, and evaluate arbitrary Ruby in the Debug Console. ## Phase 1 capabilities @@ -33,7 +33,7 @@ write a `launch.json` (see below). ### Attach mode (typical for embedded hosts) -Your C# / Unity host has its own startup and embeds MRubyCS for scripting. It exposes a +Your C# / Unity host has its own startup and embeds ChibiRuby for scripting. It exposes a DAP listener via `MRubyDapTcpServer.Listen(...)`. You launch the host first; VSCode attaches over TCP. @@ -49,7 +49,7 @@ attaches over TCP. } ``` -See `sandbox/DebuggerEmbeddedSample/` for a complete working host. +See `sandbox/SampleDebuggerEmbedded/` for a complete working host. ### Launch mode (single .rb file) @@ -74,7 +74,7 @@ itself. Useful for one-off scripts without writing host code. From the repo root: ```sh -dotnet build -c Release src/MRubyCS.Debugger.Cli/MRubyCS.Debugger.Cli.csproj +dotnet build -c Release src/ChibiRuby.Debugger.Cli/ChibiRuby.Debugger.Cli.csproj ``` You have two ways to make the adapter discoverable to VSCode: @@ -82,9 +82,9 @@ You have two ways to make the adapter discoverable to VSCode: #### Option A — `dotnet tool` install (clean, but requires a re-install on each rebuild) ```sh -cd src/MRubyCS.Debugger.Cli +cd src/ChibiRuby.Debugger.Cli dotnet pack -c Release -dotnet tool install -g --add-source ./nupkg MRubyCS.Debugger.Cli +dotnet tool install -g --add-source ./nupkg ChibiRuby.Debugger.Cli # `mruby-debug` is now on your PATH (~/.dotnet/tools/mruby-debug) ``` @@ -102,7 +102,7 @@ In your `.vscode/launch.json`: "program": "${file}", "adapterCommand": "dotnet", "adapterArgs": [ - "/abs/path/to/MRubyCS-Debugger/src/MRubyCS.Debugger.Cli/bin/Debug/net9.0/MRubyCS.Debugger.Cli.dll" + "/abs/path/to/ChibiRuby-Debugger/src/ChibiRuby.Debugger.Cli/bin/Debug/net9.0/ChibiRuby.Debugger.Cli.dll" ] } ``` diff --git a/editor-extensions/vscode/examples/.vscode/launch.json b/editor-extensions/vscode/examples/.vscode/launch.json index a8bc9877..b058e3a6 100644 --- a/editor-extensions/vscode/examples/.vscode/launch.json +++ b/editor-extensions/vscode/examples/.vscode/launch.json @@ -14,7 +14,7 @@ "program": "${workspaceFolder}/sample.rb", "adapterCommand": "dotnet", "adapterArgs": [ - "${workspaceFolder}/../../../src/MRubyCS.Debugger.Cli/bin/Debug/net9.0/MRubyCS.Debugger.Cli.dll" + "${workspaceFolder}/../../../src/ChibiRuby.Debugger.Cli/bin/Debug/net9.0/ChibiRuby.Debugger.Cli.dll" ] } ] diff --git a/editor-extensions/vscode/package.json b/editor-extensions/vscode/package.json index c7749f70..5f868b8d 100644 --- a/editor-extensions/vscode/package.json +++ b/editor-extensions/vscode/package.json @@ -1,7 +1,7 @@ { "name": "mruby-cs-debugger", "displayName": "mruby/cs Debugger", - "description": "DAP debug adapter for MRubyCS (mruby on .NET).", + "description": "DAP debug adapter for ChibiRuby (mruby on .NET).", "version": "0.108.0", "publisher": "hadashiA", "engines": { @@ -86,7 +86,7 @@ "configurationSnippets": [ { "label": "mruby/cs: Launch current file", - "description": "Debug the active .rb file with MRubyCS.", + "description": "Debug the active .rb file with ChibiRuby.", "body": { "type": "mruby-cs", "request": "launch", diff --git a/editor-extensions/zed/Cargo.lock b/editor-extensions/zed/Cargo.lock index 826c14d5..bbe44776 100644 --- a/editor-extensions/zed/Cargo.lock +++ b/editor-extensions/zed/Cargo.lock @@ -750,7 +750,7 @@ dependencies = [ ] [[package]] -name = "zed_mruby_cs" +name = "zed_chibi_ruby" version = "0.1.0" dependencies = [ "serde_json", diff --git a/editor-extensions/zed/Cargo.toml b/editor-extensions/zed/Cargo.toml index b349f3d8..2ce5977d 100644 --- a/editor-extensions/zed/Cargo.toml +++ b/editor-extensions/zed/Cargo.toml @@ -1,12 +1,12 @@ [package] -name = "zed_mruby_cs" +name = "zed_chibi_ruby" version = "0.1.0" edition = "2021" publish = false license = "MIT" [lib] -path = "src/mruby_cs.rs" +path = "src/chibi_ruby.rs" crate-type = ["cdylib"] [dependencies] diff --git a/editor-extensions/zed/README.md b/editor-extensions/zed/README.md index 86120a21..da99929a 100644 --- a/editor-extensions/zed/README.md +++ b/editor-extensions/zed/README.md @@ -1,7 +1,7 @@ # mruby/cs Debug Adapter for Zed -Bridges Zed's built-in DAP UI to [`MRubyDapServer`](../../src/MRubyCS.Debugger.Dap/), -the debug server that ships inside the MRubyCS host process (typically Unity). +Bridges Zed's built-in DAP UI to [`MRubyDapServer`](../../src/ChibiRuby.Debugger.Dap/), +the debug server that ships inside the ChibiRuby host process (typically Unity). The extension itself ships no binary — it only tells Zed: diff --git a/editor-extensions/zed/extension.toml b/editor-extensions/zed/extension.toml index 6ea7ef96..1c4dc0fb 100644 --- a/editor-extensions/zed/extension.toml +++ b/editor-extensions/zed/extension.toml @@ -3,10 +3,10 @@ name = "mruby/cs Debug Adapter" version = "0.1.0" schema_version = 1 authors = ["hadashiA"] -description = "DAP bridge for MRubyCS — attach to MRubyDapServer running inside a Unity host (or any .NET host) over TCP." -repository = "https://github.com/hadashiA/MRubyCS" +description = "DAP bridge for ChibiRuby — attach to MRubyDapServer running inside a Unity host (or any .NET host) over TCP." +repository = "https://github.com/hadashiA/ChibiRuby" # Registers the "mruby-cs" adapter name so .zed/debug.json's `"adapter": "mruby-cs"` # resolves here. The actual TCP host/port comes from the user's `tcp_connection` -# field (defaulted to 127.0.0.1:4711 in src/mruby_cs.rs). +# field (defaulted to 127.0.0.1:4711 in src/chibi_ruby.rs). [debug_adapters.mruby-cs] diff --git a/editor-extensions/zed/src/mruby_cs.rs b/editor-extensions/zed/src/chibi_ruby.rs similarity index 96% rename from editor-extensions/zed/src/mruby_cs.rs rename to editor-extensions/zed/src/chibi_ruby.rs index 5f200b82..edb3a913 100644 --- a/editor-extensions/zed/src/mruby_cs.rs +++ b/editor-extensions/zed/src/chibi_ruby.rs @@ -1,4 +1,4 @@ -// Zed extension for the MRubyCS DAP server. +// Zed extension for the ChibiRuby DAP server. // // All this extension does is tell Zed: "when the user picks the `mruby-cs` adapter, // don't spawn a process — open a TCP connection to the host they specified (or @@ -24,9 +24,9 @@ const ADAPTER_NAME: &str = "mruby-cs"; const DEFAULT_HOST: u32 = 0x7F00_0001; // 127.0.0.1, packed network-order u32 per Zed's API. const DEFAULT_PORT: u16 = 4711; -struct MRubyCsExtension; +struct ChibiRubyExtension; -impl Extension for MRubyCsExtension { +impl Extension for ChibiRubyExtension { fn new() -> Self { Self } @@ -82,7 +82,7 @@ impl Extension for MRubyCsExtension { } } -zed::register_extension!(MRubyCsExtension); +zed::register_extension!(ChibiRubyExtension); fn ensure_known_adapter(adapter_name: &str) -> Result<(), String> { if adapter_name == ADAPTER_NAME { diff --git a/mrubycs.webp b/mrubycs.webp deleted file mode 100644 index c6c24ba7..00000000 Binary files a/mrubycs.webp and /dev/null differ diff --git a/sandbox/MRubyCS.Benchmark/BenchmarkConfig.cs b/sandbox/ChibiRuby.Benchmark/BenchmarkConfig.cs similarity index 91% rename from sandbox/MRubyCS.Benchmark/BenchmarkConfig.cs rename to sandbox/ChibiRuby.Benchmark/BenchmarkConfig.cs index 3d677db9..c6f7a34a 100644 --- a/sandbox/MRubyCS.Benchmark/BenchmarkConfig.cs +++ b/sandbox/ChibiRuby.Benchmark/BenchmarkConfig.cs @@ -2,7 +2,7 @@ using BenchmarkDotNet.Diagnosers; using BenchmarkDotNet.Jobs; -namespace MRubyCS.Benchmark; +namespace ChibiRuby.Benchmark; class BenchmarkConfig : ManualConfig { diff --git a/sandbox/MRubyCS.Benchmark/MRubyCS.Benchmark.csproj b/sandbox/ChibiRuby.Benchmark/ChibiRuby.Benchmark.csproj similarity index 81% rename from sandbox/MRubyCS.Benchmark/MRubyCS.Benchmark.csproj rename to sandbox/ChibiRuby.Benchmark/ChibiRuby.Benchmark.csproj index 1ce51bdd..c1f01d8f 100644 --- a/sandbox/MRubyCS.Benchmark/MRubyCS.Benchmark.csproj +++ b/sandbox/ChibiRuby.Benchmark/ChibiRuby.Benchmark.csproj @@ -6,7 +6,7 @@ true enable false - MRubyCS.Benchmark + ChibiRuby.Benchmark @@ -20,8 +20,8 @@ - - + + diff --git a/sandbox/MRubyCS.Benchmark/MRubyBenchmarkBase.cs b/sandbox/ChibiRuby.Benchmark/MRubyBenchmarkBase.cs similarity index 84% rename from sandbox/MRubyCS.Benchmark/MRubyBenchmarkBase.cs rename to sandbox/ChibiRuby.Benchmark/MRubyBenchmarkBase.cs index 042dff45..eaa3f4e9 100644 --- a/sandbox/MRubyCS.Benchmark/MRubyBenchmarkBase.cs +++ b/sandbox/ChibiRuby.Benchmark/MRubyBenchmarkBase.cs @@ -1,6 +1,6 @@ using BenchmarkDotNet.Attributes; -namespace MRubyCS.Benchmark; +namespace ChibiRuby.Benchmark; [Config(typeof(BenchmarkConfig))] public abstract class MRubyBenchmarkBase(string filename) @@ -20,9 +20,9 @@ public void GlobalCleanup() } [Benchmark] - public void MRubyCS() + public void ChibiRuby() { - scriptLoader.RunMRubyCS(); + scriptLoader.RunChibiRuby(); } [Benchmark] diff --git a/sandbox/MRubyCS.Benchmark/NativeMethods.cs b/sandbox/ChibiRuby.Benchmark/NativeMethods.cs similarity index 94% rename from sandbox/MRubyCS.Benchmark/NativeMethods.cs rename to sandbox/ChibiRuby.Benchmark/NativeMethods.cs index ab818cfa..a0aa4db6 100644 --- a/sandbox/MRubyCS.Benchmark/NativeMethods.cs +++ b/sandbox/ChibiRuby.Benchmark/NativeMethods.cs @@ -4,7 +4,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace MRubyCS.Benchmark; +namespace ChibiRuby.Benchmark; [StructLayout(LayoutKind.Sequential)] struct MrbStateNative; @@ -156,7 +156,7 @@ protected override unsafe bool ReleaseHandle() unsafe class NativeMethods { - const string DllName = "libmrubycs_benchmark_helper"; + const string DllName = "libchibiruby_benchmark_helper"; static NativeMethods() { @@ -214,7 +214,7 @@ static IntPtr DllImportResolver(string libraryName, Assembly assembly, DllImport [DllImport(DllName, EntryPoint = "mrb_load_proc", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] public static extern MrbValueNative MrbLoadProc(MrbStateNative* mrb, RProcNative *proc); - [DllImport(DllName, EntryPoint = "mrubycs_mrbc_compile_to_proc", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] + [DllImport(DllName, EntryPoint = "chibiruby_mrbc_compile_to_proc", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] public static extern int MrbcsCompileToProc( MrbStateNative* mrb, byte* source, @@ -222,6 +222,6 @@ public static extern int MrbcsCompileToProc( RProcNative** proc, byte** errorMessage); - [DllImport(DllName, EntryPoint = "mrubycs_mrbc_release_proc", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] + [DllImport(DllName, EntryPoint = "chibiruby_mrbc_release_proc", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] public static extern int MrbcsReleaseProc(MrbStateNative* mrb, RProcNative* procPtr); } diff --git a/sandbox/MRubyCS.Benchmark/Program.cs b/sandbox/ChibiRuby.Benchmark/Program.cs similarity index 95% rename from sandbox/MRubyCS.Benchmark/Program.cs rename to sandbox/ChibiRuby.Benchmark/Program.cs index b9186db5..4bdd43ba 100644 --- a/sandbox/MRubyCS.Benchmark/Program.cs +++ b/sandbox/ChibiRuby.Benchmark/Program.cs @@ -1,7 +1,7 @@ using System.Reflection; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Running; -using MRubyCS.Benchmark; +using ChibiRuby.Benchmark; BenchmarkSwitcher.FromAssembly(Assembly.GetEntryAssembly()!).Run(args); diff --git a/sandbox/MRubyCS.Benchmark/RubyScriptLoader.cs b/sandbox/ChibiRuby.Benchmark/RubyScriptLoader.cs similarity index 93% rename from sandbox/MRubyCS.Benchmark/RubyScriptLoader.cs rename to sandbox/ChibiRuby.Benchmark/RubyScriptLoader.cs index a4a976f2..baa2dcf9 100644 --- a/sandbox/MRubyCS.Benchmark/RubyScriptLoader.cs +++ b/sandbox/ChibiRuby.Benchmark/RubyScriptLoader.cs @@ -2,9 +2,9 @@ using System.IO; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using MRubyCS.Compiler; +using ChibiRuby.Compiler; -namespace MRubyCS.Benchmark; +namespace ChibiRuby.Benchmark; unsafe class RubyScriptLoader : IDisposable { @@ -14,7 +14,7 @@ unsafe class RubyScriptLoader : IDisposable readonly MRubyCompiler mrubyCSCompiler; bool disposed; - Irep? currentMRubyCSIrep; + Irep? currentChibiRubyIrep; RProcHandle? currentMRubyNativeProc; public RubyScriptLoader() @@ -53,7 +53,7 @@ static void RegisterMathModule(MRubyState state) public void PreloadScript(ReadOnlySpan source) { using var compilation = mrubyCSCompiler.Compile(source); - currentMRubyCSIrep = compilation.ToIrep(); + currentChibiRubyIrep = compilation.ToIrep(); currentMRubyNativeProc?.Dispose(); @@ -87,9 +87,9 @@ public void PreloadScriptFromFile(string fileName) PreloadScript(source); } - public MRubyValue RunMRubyCS() + public MRubyValue RunChibiRuby() { - return mrubyCSState.Execute(currentMRubyCSIrep!); + return mrubyCSState.Execute(currentChibiRubyIrep!); } public MrbValueNative RunMRubyNative() diff --git a/sandbox/MRubyCS.Benchmark/build_config.linux.rb b/sandbox/ChibiRuby.Benchmark/build_config.linux.rb similarity index 87% rename from sandbox/MRubyCS.Benchmark/build_config.linux.rb rename to sandbox/ChibiRuby.Benchmark/build_config.linux.rb index c3796a46..f68b5ba6 100644 --- a/sandbox/MRubyCS.Benchmark/build_config.linux.rb +++ b/sandbox/ChibiRuby.Benchmark/build_config.linux.rb @@ -4,7 +4,7 @@ conf.gem core: 'mruby-compiler' conf.gem core: 'mruby-string-ext' conf.gem core: 'mruby-math' - conf.gem './mrbgems/mrubycs-benchmark-helper' + conf.gem './mrbgems/chibiruby-benchmark-helper' conf.disable_presym conf.cc.defines = %w(MRB_WORD_BOXING MRB_NO_PRESYM) @@ -17,7 +17,7 @@ conf.gem core: 'mruby-compiler' conf.gem core: 'mruby-string-ext' conf.gem core: 'mruby-math' - conf.gem './mrbgems/mrubycs-benchmark-helper' + conf.gem './mrbgems/chibiruby-benchmark-helper' conf.cc.command = 'aarch64-linux-gnu-gcc' conf.linker.command = 'aarch64-linux-gnu-gcc' diff --git a/sandbox/MRubyCS.Benchmark/build_config.macOS.rb b/sandbox/ChibiRuby.Benchmark/build_config.macOS.rb similarity index 86% rename from sandbox/MRubyCS.Benchmark/build_config.macOS.rb rename to sandbox/ChibiRuby.Benchmark/build_config.macOS.rb index 07f20f6c..ce828896 100644 --- a/sandbox/MRubyCS.Benchmark/build_config.macOS.rb +++ b/sandbox/ChibiRuby.Benchmark/build_config.macOS.rb @@ -4,7 +4,7 @@ conf.gem core: 'mruby-compiler' conf.gem core: 'mruby-string-ext' conf.gem core: 'mruby-math' - conf.gem './mrbgems/mrubycs-benchmark-helper' + conf.gem './mrbgems/chibiruby-benchmark-helper' conf.disable_presym conf.cc.defines = %w(MRB_WORD_BOXING MRB_NO_PRESYM) diff --git a/sandbox/MRubyCS.Benchmark/build_config.windows.rb b/sandbox/ChibiRuby.Benchmark/build_config.windows.rb similarity index 82% rename from sandbox/MRubyCS.Benchmark/build_config.windows.rb rename to sandbox/ChibiRuby.Benchmark/build_config.windows.rb index 074c7047..1cf95f12 100644 --- a/sandbox/MRubyCS.Benchmark/build_config.windows.rb +++ b/sandbox/ChibiRuby.Benchmark/build_config.windows.rb @@ -4,7 +4,7 @@ conf.gem core: 'mruby-compiler' conf.gem core: 'mruby-string-ext' conf.gem core: 'mruby-math' - conf.gem './mrbgems/mrubycs-benchmark-helper' + conf.gem './mrbgems/chibiruby-benchmark-helper' conf.disable_presym conf.cc.defines = %w(MRB_WORD_BOXING MRB_NO_PRESYM) diff --git a/sandbox/MRubyCS.Benchmark/mrbgems/mrubycs-benchmark-helper/mrubycs-benchmark-helper.def b/sandbox/ChibiRuby.Benchmark/mrbgems/chibiruby-benchmark-helper/chibiruby-benchmark-helper.def similarity index 52% rename from sandbox/MRubyCS.Benchmark/mrbgems/mrubycs-benchmark-helper/mrubycs-benchmark-helper.def rename to sandbox/ChibiRuby.Benchmark/mrbgems/chibiruby-benchmark-helper/chibiruby-benchmark-helper.def index 73569846..a0009f7b 100644 --- a/sandbox/MRubyCS.Benchmark/mrbgems/mrubycs-benchmark-helper/mrubycs-benchmark-helper.def +++ b/sandbox/ChibiRuby.Benchmark/mrbgems/chibiruby-benchmark-helper/chibiruby-benchmark-helper.def @@ -1,4 +1,4 @@ -LIBRARY libmrubycs_benchmark_helper.dll +LIBRARY libchibiruby_benchmark_helper.dll EXPORTS mrb_open mrb_close @@ -8,6 +8,6 @@ EXPORTS mrb_load_irep_buf mrb_load_proc mrb_gc_unregister - mrubycs_mrbc_compile - mrubycs_mrbc_compile_to_proc - mrubycs_mrbc_release_proc + chibiruby_mrbc_compile + chibiruby_mrbc_compile_to_proc + chibiruby_mrbc_release_proc diff --git a/sandbox/MRubyCS.Benchmark/mrbgems/mrubycs-benchmark-helper/mrbgem.rake b/sandbox/ChibiRuby.Benchmark/mrbgems/chibiruby-benchmark-helper/mrbgem.rake similarity index 86% rename from sandbox/MRubyCS.Benchmark/mrbgems/mrubycs-benchmark-helper/mrbgem.rake rename to sandbox/ChibiRuby.Benchmark/mrbgems/chibiruby-benchmark-helper/mrbgem.rake index c1c9690d..bb1e109f 100644 --- a/sandbox/MRubyCS.Benchmark/mrbgems/mrubycs-benchmark-helper/mrbgem.rake +++ b/sandbox/ChibiRuby.Benchmark/mrbgems/chibiruby-benchmark-helper/mrbgem.rake @@ -1,4 +1,4 @@ -MRuby::Gem::Specification.new('mrubycs-benchmark-helper') do |spec| +MRuby::Gem::Specification.new('chibiruby-benchmark-helper') do |spec| spec.license = 'MIT' spec.authors = 'hadashiA' end @@ -15,7 +15,7 @@ MRuby.each_target do 'so' end - mruby_sharedlib = "#{build_dir}/lib/libmrubycs_benchmark_helper.#{sharedlib_ext}" + mruby_sharedlib = "#{build_dir}/lib/libchibiruby_benchmark_helper.#{sharedlib_ext}" products << mruby_sharedlib @@ -25,7 +25,7 @@ MRuby.each_target do is_vc = primary_toolchain == 'visualcpp' is_mingw = ENV['OS'] == 'Windows_NT' && cc.command.start_with?('gcc') - deffile = "#{File.dirname(__FILE__)}/mrubycs-benchmark-helper.def" + deffile = "#{File.dirname(__FILE__)}/chibiruby-benchmark-helper.def" flags = [] flags_after_libraries = [] diff --git a/sandbox/MRubyCS.Benchmark/mrbgems/mrubycs-benchmark-helper/src/mrubycs-benchmark-helper.c b/sandbox/ChibiRuby.Benchmark/mrbgems/chibiruby-benchmark-helper/src/chibiruby-benchmark-helper.c similarity index 90% rename from sandbox/MRubyCS.Benchmark/mrbgems/mrubycs-benchmark-helper/src/mrubycs-benchmark-helper.c rename to sandbox/ChibiRuby.Benchmark/mrbgems/chibiruby-benchmark-helper/src/chibiruby-benchmark-helper.c index e13b2d90..e8e0a8f3 100644 --- a/sandbox/MRubyCS.Benchmark/mrbgems/mrubycs-benchmark-helper/src/mrubycs-benchmark-helper.c +++ b/sandbox/ChibiRuby.Benchmark/mrbgems/chibiruby-benchmark-helper/src/chibiruby-benchmark-helper.c @@ -5,7 +5,7 @@ #include #include #include -#include "mrubycs-benchmark-helper.h" +#include "chibiruby-benchmark-helper.h" #define MRBCS_OK 0 #define MRBCS_FAILED -1 @@ -13,7 +13,7 @@ mrb_value mrb_get_backtrace(mrb_state*); int mrb_dump_irep(mrb_state *mrb, const mrb_irep *irep, uint8_t flags, uint8_t **bin, size_t *bin_size); -extern int32_t mrubycs_mrbc_compile(mrb_state *mrb, +extern int32_t chibiruby_mrbc_compile(mrb_state *mrb, const uint8_t *source, uint32_t source_length, uint8_t **bin, @@ -65,7 +65,7 @@ extern int32_t mrubycs_mrbc_compile(mrb_state *mrb, } -extern int32_t mrubycs_mrbc_compile_to_proc(mrb_state *mrb, +extern int32_t chibiruby_mrbc_compile_to_proc(mrb_state *mrb, const uint8_t *source, uint32_t source_length, struct RProc **proc, @@ -108,17 +108,17 @@ extern int32_t mrubycs_mrbc_compile_to_proc(mrb_state *mrb, return MRBCS_OK; } -extern void mrubycs_mrbc_release_proc(mrb_state *mrb, struct RProc *proc) +extern void chibiruby_mrbc_release_proc(mrb_state *mrb, struct RProc *proc) { mrb_value v = mrb_obj_value(proc); mrb_gc_unregister(mrb, v); } -void mrb_mrubycs_benchmark_helper_gem_init(mrb_state *mrb) +void mrb_chibiruby_benchmark_helper_gem_init(mrb_state *mrb) { } -void mrb_mrubycs_benchmark_helper_gem_final(mrb_state *mrb) +void mrb_chibiruby_benchmark_helper_gem_final(mrb_state *mrb) { } diff --git a/sandbox/MRubyCS.Benchmark/mrbgems/mrubycs-benchmark-helper/src/mrubycs-benchmark-helper.h b/sandbox/ChibiRuby.Benchmark/mrbgems/chibiruby-benchmark-helper/src/chibiruby-benchmark-helper.h similarity index 77% rename from sandbox/MRubyCS.Benchmark/mrbgems/mrubycs-benchmark-helper/src/mrubycs-benchmark-helper.h rename to sandbox/ChibiRuby.Benchmark/mrbgems/chibiruby-benchmark-helper/src/chibiruby-benchmark-helper.h index b52bd2b9..dc2d8ab7 100644 --- a/sandbox/MRubyCS.Benchmark/mrbgems/mrubycs-benchmark-helper/src/mrubycs-benchmark-helper.h +++ b/sandbox/ChibiRuby.Benchmark/mrbgems/chibiruby-benchmark-helper/src/chibiruby-benchmark-helper.h @@ -4,7 +4,7 @@ #include #include -extern int32_t mrubycs_mrbc_compile(mrb_state *mrb, +extern int32_t chibiruby_mrbc_compile(mrb_state *mrb, const uint8_t *source, uint32_t source_length, uint8_t **bin, @@ -12,12 +12,12 @@ extern int32_t mrubycs_mrbc_compile(mrb_state *mrb, char **error_message); -extern int32_t mrubycs_mrbc_compile_to_proc(mrb_state *mrb, +extern int32_t chibiruby_mrbc_compile_to_proc(mrb_state *mrb, const uint8_t *source, uint32_t source_length, struct RProc **proc, char **error_message); -extern void mrubycs_mrbc_release_proc(mrb_state *mrb, struct RProc *proc); +extern void chibiruby_mrbc_release_proc(mrb_state *mrb, struct RProc *proc); #endif diff --git a/sandbox/MRubyCS.Benchmark/mruby b/sandbox/ChibiRuby.Benchmark/mruby similarity index 100% rename from sandbox/MRubyCS.Benchmark/mruby rename to sandbox/ChibiRuby.Benchmark/mruby diff --git a/sandbox/MRubyCS.Benchmark/ruby/bm_ao_render.rb b/sandbox/ChibiRuby.Benchmark/ruby/bm_ao_render.rb similarity index 100% rename from sandbox/MRubyCS.Benchmark/ruby/bm_ao_render.rb rename to sandbox/ChibiRuby.Benchmark/ruby/bm_ao_render.rb diff --git a/sandbox/MRubyCS.Benchmark/ruby/bm_fib.rb b/sandbox/ChibiRuby.Benchmark/ruby/bm_fib.rb similarity index 100% rename from sandbox/MRubyCS.Benchmark/ruby/bm_fib.rb rename to sandbox/ChibiRuby.Benchmark/ruby/bm_fib.rb diff --git a/sandbox/MRubyCS.Benchmark/ruby/bm_numeric_op.rb b/sandbox/ChibiRuby.Benchmark/ruby/bm_numeric_op.rb similarity index 100% rename from sandbox/MRubyCS.Benchmark/ruby/bm_numeric_op.rb rename to sandbox/ChibiRuby.Benchmark/ruby/bm_numeric_op.rb diff --git a/sandbox/MRubyCS.Benchmark/ruby/bm_so_mandelbrot.rb b/sandbox/ChibiRuby.Benchmark/ruby/bm_so_mandelbrot.rb similarity index 100% rename from sandbox/MRubyCS.Benchmark/ruby/bm_so_mandelbrot.rb rename to sandbox/ChibiRuby.Benchmark/ruby/bm_so_mandelbrot.rb diff --git a/sandbox/MRubyCS.Benchmark/runtimes/linux-x64/native/libmrubycs_benchmark_helper.so b/sandbox/ChibiRuby.Benchmark/runtimes/linux-arm64/native/libchibiruby_benchmark_helper.so similarity index 94% rename from sandbox/MRubyCS.Benchmark/runtimes/linux-x64/native/libmrubycs_benchmark_helper.so rename to sandbox/ChibiRuby.Benchmark/runtimes/linux-arm64/native/libchibiruby_benchmark_helper.so index b0446e30..3dd8b6e6 100755 Binary files a/sandbox/MRubyCS.Benchmark/runtimes/linux-x64/native/libmrubycs_benchmark_helper.so and b/sandbox/ChibiRuby.Benchmark/runtimes/linux-arm64/native/libchibiruby_benchmark_helper.so differ diff --git a/sandbox/MRubyCS.Benchmark/runtimes/linux-arm64/native/libmrubycs_benchmark_helper.so b/sandbox/ChibiRuby.Benchmark/runtimes/linux-x64/native/libchibiruby_benchmark_helper.so similarity index 95% rename from sandbox/MRubyCS.Benchmark/runtimes/linux-arm64/native/libmrubycs_benchmark_helper.so rename to sandbox/ChibiRuby.Benchmark/runtimes/linux-x64/native/libchibiruby_benchmark_helper.so index c55e7fae..a927babd 100755 Binary files a/sandbox/MRubyCS.Benchmark/runtimes/linux-arm64/native/libmrubycs_benchmark_helper.so and b/sandbox/ChibiRuby.Benchmark/runtimes/linux-x64/native/libchibiruby_benchmark_helper.so differ diff --git a/sandbox/MRubyCS.Benchmark/runtimes/osx-arm64/native/libmrubycs_benchmark_helper.dylib b/sandbox/ChibiRuby.Benchmark/runtimes/osx-arm64/native/libchibiruby_benchmark_helper.dylib similarity index 81% rename from sandbox/MRubyCS.Benchmark/runtimes/osx-arm64/native/libmrubycs_benchmark_helper.dylib rename to sandbox/ChibiRuby.Benchmark/runtimes/osx-arm64/native/libchibiruby_benchmark_helper.dylib index 78bc87dc..8f297c3d 100755 Binary files a/sandbox/MRubyCS.Benchmark/runtimes/osx-arm64/native/libmrubycs_benchmark_helper.dylib and b/sandbox/ChibiRuby.Benchmark/runtimes/osx-arm64/native/libchibiruby_benchmark_helper.dylib differ diff --git a/sandbox/ChibiRuby.Benchmark/runtimes/win-x64/native/libchibiruby_benchmark_helper.dll b/sandbox/ChibiRuby.Benchmark/runtimes/win-x64/native/libchibiruby_benchmark_helper.dll new file mode 100644 index 00000000..6ee5c665 Binary files /dev/null and b/sandbox/ChibiRuby.Benchmark/runtimes/win-x64/native/libchibiruby_benchmark_helper.dll differ diff --git a/sandbox/DebuggerEmbeddedSample/DebuggerEmbeddedSample.csproj b/sandbox/DebuggerEmbeddedSample/DebuggerEmbeddedSample.csproj deleted file mode 100644 index fab0d1e3..00000000 --- a/sandbox/DebuggerEmbeddedSample/DebuggerEmbeddedSample.csproj +++ /dev/null @@ -1,22 +0,0 @@ - - - - Exe - net9.0 - enable - enable - DebuggerEmbeddedSample - - - - - - - - - - - - - - diff --git a/sandbox/MRubyCS.Benchmark/runtimes/win-x64/native/libmrubycs_benchmark_helper.dll b/sandbox/MRubyCS.Benchmark/runtimes/win-x64/native/libmrubycs_benchmark_helper.dll deleted file mode 100644 index 0f9a9510..00000000 Binary files a/sandbox/MRubyCS.Benchmark/runtimes/win-x64/native/libmrubycs_benchmark_helper.dll and /dev/null differ diff --git a/sandbox/MRubyCS.ConsoleApp/Program.cs b/sandbox/SampleConsoleApp/Program.cs similarity index 98% rename from sandbox/MRubyCS.ConsoleApp/Program.cs rename to sandbox/SampleConsoleApp/Program.cs index 82b1f67a..ba43a9cf 100644 --- a/sandbox/MRubyCS.ConsoleApp/Program.cs +++ b/sandbox/SampleConsoleApp/Program.cs @@ -3,8 +3,8 @@ using System.Buffers; using System.Text; -using MRubyCS; -using MRubyCS.Compiler; +using ChibiRuby; +using ChibiRuby.Compiler; using System.Reflection; using System.Runtime.CompilerServices; using JitInspect; diff --git a/sandbox/MRubyCS.ConsoleApp/MRubyCS.ConsoleApp.csproj b/sandbox/SampleConsoleApp/SampleConsoleApp.csproj similarity index 80% rename from sandbox/MRubyCS.ConsoleApp/MRubyCS.ConsoleApp.csproj rename to sandbox/SampleConsoleApp/SampleConsoleApp.csproj index 2091efb9..7ec7afea 100644 --- a/sandbox/MRubyCS.ConsoleApp/MRubyCS.ConsoleApp.csproj +++ b/sandbox/SampleConsoleApp/SampleConsoleApp.csproj @@ -17,8 +17,8 @@ - - + + diff --git a/sandbox/MRubyCS.ConsoleApp/ruby/fib.rb b/sandbox/SampleConsoleApp/ruby/fib.rb similarity index 100% rename from sandbox/MRubyCS.ConsoleApp/ruby/fib.rb rename to sandbox/SampleConsoleApp/ruby/fib.rb diff --git a/sandbox/MRubyCS.ConsoleApp/ruby/test.rb b/sandbox/SampleConsoleApp/ruby/test.rb similarity index 100% rename from sandbox/MRubyCS.ConsoleApp/ruby/test.rb rename to sandbox/SampleConsoleApp/ruby/test.rb diff --git a/sandbox/DebuggerEmbeddedSample/.vscode/launch.json b/sandbox/SampleDebuggerEmbedded/.vscode/launch.json similarity index 100% rename from sandbox/DebuggerEmbeddedSample/.vscode/launch.json rename to sandbox/SampleDebuggerEmbedded/.vscode/launch.json diff --git a/sandbox/DebuggerEmbeddedSample/Program.cs b/sandbox/SampleDebuggerEmbedded/Program.cs similarity index 90% rename from sandbox/DebuggerEmbeddedSample/Program.cs rename to sandbox/SampleDebuggerEmbedded/Program.cs index 85a8c3ae..eea5daf9 100644 --- a/sandbox/DebuggerEmbeddedSample/Program.cs +++ b/sandbox/SampleDebuggerEmbedded/Program.cs @@ -1,12 +1,12 @@ -// Minimal embedded host that demonstrates how to wire up MRubyCS.Debugger.Dap from a -// regular C# application. Run with `dotnet run --project sandbox/DebuggerEmbeddedSample` +// Minimal embedded host that demonstrates how to wire up ChibiRuby.Debugger.Dap from a +// regular C# application. Run with `dotnet run --project sandbox/SampleDebuggerEmbedded` // and the program will block at the first binding.irb call until a DAP client (e.g. // VSCode with the mruby-cs-debugger extension) attaches to 127.0.0.1:4711. using System.Net; -using MRubyCS; -using MRubyCS.Compiler; -using MRubyCS.Debugger.Dap; +using ChibiRuby; +using ChibiRuby.Compiler; +using ChibiRuby.Debugger.Dap; var mrb = MRubyState.Create(); var compiler = MRubyCompiler.Create(mrb); diff --git a/sandbox/SampleDebuggerEmbedded/SampleDebuggerEmbedded.csproj b/sandbox/SampleDebuggerEmbedded/SampleDebuggerEmbedded.csproj new file mode 100644 index 00000000..a5766467 --- /dev/null +++ b/sandbox/SampleDebuggerEmbedded/SampleDebuggerEmbedded.csproj @@ -0,0 +1,22 @@ + + + + Exe + net9.0 + enable + enable + SampleDebuggerEmbedded + + + + + + + + + + + + + + diff --git a/sandbox/DebuggerEmbeddedSample/scenarios/quest.rb b/sandbox/SampleDebuggerEmbedded/scenarios/quest.rb similarity index 100% rename from sandbox/DebuggerEmbeddedSample/scenarios/quest.rb rename to sandbox/SampleDebuggerEmbedded/scenarios/quest.rb diff --git a/sig/array.rbs b/sig/array.rbs index 32565488..c1ea971b 100644 --- a/sig/array.rbs +++ b/sig/array.rbs @@ -1,5 +1,5 @@ # -# Source: MRubyCS.StdLib.ArrayMembers +# Source: ChibiRuby.StdLib.ArrayMembers # Ordered, integer-indexed collection of objects. The base concrete container in Ruby -- supports indexing, slicing, iteration via each, and conversion via to_a. Mutable; many in-place methods end in !. class Array[Elem] < Object diff --git a/sig/basic_object.rbs b/sig/basic_object.rbs index 95aceaa9..5c7af717 100644 --- a/sig/basic_object.rbs +++ b/sig/basic_object.rbs @@ -1,5 +1,5 @@ # -# Source: MRubyCS.StdLib.BasicObjectMembers +# Source: ChibiRuby.StdLib.BasicObjectMembers # Root of the Ruby class hierarchy -- has no superclass and an intentionally minimal API. Used as a base for proxy/builder objects that need to avoid inheriting Object/Kernel methods (e.g. method_missing delegators). Most code should inherit from Object instead. class BasicObject diff --git a/sig/class.rbs b/sig/class.rbs index 101d90db..ec65caa8 100644 --- a/sig/class.rbs +++ b/sig/class.rbs @@ -1,5 +1,5 @@ # -# Source: MRubyCS.StdLib.ClassMembers +# Source: ChibiRuby.StdLib.ClassMembers # A Ruby class object -- a Module that can be instantiated via new. Every object has a class (reachable via obj.class), and classes themselves are first-class objects. Class.new creates an anonymous class; subclassing is done with class Foo < Bar. class Class < Module diff --git a/sig/comparable.rbs b/sig/comparable.rbs index 48209cbd..00b56aeb 100644 --- a/sig/comparable.rbs +++ b/sig/comparable.rbs @@ -1,5 +1,5 @@ # -# Source: src/MRubyCS/StdLib/lib.rb (via rbs prototype rb) +# Source: src/ChibiRuby/StdLib/lib.rb (via rbs prototype rb) # # Comparable diff --git a/sig/enumerable.rbs b/sig/enumerable.rbs index 3c9fcd77..8b6628ab 100644 --- a/sig/enumerable.rbs +++ b/sig/enumerable.rbs @@ -1,5 +1,5 @@ # -# Source: MRubyCS.StdLib.EnumerableMembers +# Source: ChibiRuby.StdLib.EnumerableMembers # Mixin providing collection traversal, searching, and sorting methods on top of a host-defined each. Including classes get map, select, reduce, sort, min/max, and many more for free. Most methods are implemented in Ruby (see StdLib/lib.rb); this C# class only hosts internal helpers. module Enumerable diff --git a/sig/enumerator.rbs b/sig/enumerator.rbs index 437ad984..9983063d 100644 --- a/sig/enumerator.rbs +++ b/sig/enumerator.rbs @@ -1,5 +1,5 @@ # -# Source: src/MRubyCS/StdLib/lib.rb (via rbs prototype rb) +# Source: src/ChibiRuby/StdLib/lib.rb (via rbs prototype rb) # # Enumerator diff --git a/sig/exception.rbs b/sig/exception.rbs index 12f2f06b..051e7ce1 100644 --- a/sig/exception.rbs +++ b/sig/exception.rbs @@ -1,5 +1,5 @@ # -# Source: MRubyCS.StdLib.ExceptionMembers +# Source: ChibiRuby.StdLib.ExceptionMembers # Root of the exception class hierarchy. Wraps a message and an optional backtrace; raised via raise and caught with rescue. User code should usually subclass StandardError, not Exception directly, since a bare rescue only catches StandardError descendants. class Exception < Object diff --git a/sig/false_class.rbs b/sig/false_class.rbs index 5ab5f82c..3f9db20e 100644 --- a/sig/false_class.rbs +++ b/sig/false_class.rbs @@ -1,5 +1,5 @@ # -# Source: MRubyCS.StdLib.FalseClassMembers +# Source: ChibiRuby.StdLib.FalseClassMembers # The class of the singleton false value. Along with nil, this is one of the only two falsy values in Ruby -- every other object, including 0 and the empty string, is truthy. class FalseClass < Object diff --git a/sig/fiber.rbs b/sig/fiber.rbs index 9c390eaa..e6397a7b 100644 --- a/sig/fiber.rbs +++ b/sig/fiber.rbs @@ -1,7 +1,7 @@ # -# Source: MRubyCS.StdLib.FiberMembers +# Source: ChibiRuby.StdLib.FiberMembers -# Cooperatively-scheduled coroutine. A Fiber runs a block until it calls Fiber.yield, at which point control returns to whoever called resume; the next resume continues from the yield point. In MRubyCS, fibers also drive async/await interop via the active fiber scheduler. +# Cooperatively-scheduled coroutine. A Fiber runs a block until it calls Fiber.yield, at which point control returns to whoever called resume; the next resume continues from the yield point. In ChibiRuby, fibers also drive async/await interop via the active fiber scheduler. class Fiber < Object # Initializes a new Fiber with the given block as its body. # diff --git a/sig/file.rbs b/sig/file.rbs index c1d2fa23..050d5309 100644 --- a/sig/file.rbs +++ b/sig/file.rbs @@ -1,7 +1,7 @@ # -# Source: MRubyCS.StdLib.FileMembers +# Source: ChibiRuby.StdLib.FileMembers -# Filesystem I/O -- a subclass of IO for reading and writing files on disk. Opened via File.open(path, mode); the block form (File.open(path) { |f| ... }) auto-closes the handle. In MRubyCS, path/mode handling is delegated to the host runtime via .NET file APIs. +# Filesystem I/O -- a subclass of IO for reading and writing files on disk. Opened via File.open(path, mode); the block form (File.open(path) { |f| ... }) auto-closes the handle. In ChibiRuby, path/mode handling is delegated to the host runtime via .NET file APIs. class File < IO # File.open(path, mode = "r") -- open the file, return an RFile. The block form (File.open(path) { |f| ... } with auto-close) is implemented in Ruby on top of this method (see StdLib/lib.rb) so the block can yield/sleep/I/O without crossing a C# stack frame (EnsureValidFiberBoundary). def self.open: (String, ?String) -> File | (String, ?String) { (File) -> untyped } -> untyped diff --git a/sig/float.rbs b/sig/float.rbs index 685b7340..50b58cc7 100644 --- a/sig/float.rbs +++ b/sig/float.rbs @@ -1,5 +1,5 @@ # -# Source: MRubyCS.StdLib.FloatMembers +# Source: ChibiRuby.StdLib.FloatMembers # IEEE 754 double-precision floating-point number. Created by literals with a decimal point or exponent (e.g. 1.5, 2e10), or by mixed arithmetic with Integer. Values are immutable; Float implements Comparable and supports the usual arithmetic operators. class Float < Numeric diff --git a/sig/hash.rbs b/sig/hash.rbs index 5431a037..277f08df 100644 --- a/sig/hash.rbs +++ b/sig/hash.rbs @@ -1,5 +1,5 @@ # -# Source: MRubyCS.StdLib.HashMembers +# Source: ChibiRuby.StdLib.HashMembers # Unordered mapping from keys to values (insertion order is preserved on iteration, matching CRuby). Keys must implement hash and eql?; lookup is via h[key]. Hash is mutable, includes Enumerable, and supports a default value or default-proc fallback when a key is missing. class Hash[K, V] < Object diff --git a/sig/integer.rbs b/sig/integer.rbs index bf6a1a9a..84491769 100644 --- a/sig/integer.rbs +++ b/sig/integer.rbs @@ -1,7 +1,7 @@ # -# Source: MRubyCS.StdLib.IntegerMembers +# Source: ChibiRuby.StdLib.IntegerMembers -# Arbitrary-precision-style integer (backed by a 64-bit value in MRubyCS). Created by integer literals like 42 or 0xff, and used for counting, indexing, and bit manipulation. Integer is immutable, includes Comparable, and supports the full set of numeric and bitwise operators. +# Arbitrary-precision-style integer (backed by a 64-bit value in ChibiRuby). Created by integer literals like 42 or 0xff, and used for counting, indexing, and bit manipulation. Integer is immutable, includes Comparable, and supports the full set of numeric and bitwise operators. class Integer < Numeric # Returns self raised to the power of the argument. # diff --git a/sig/io.rbs b/sig/io.rbs index 95ffb3a6..7a59e954 100644 --- a/sig/io.rbs +++ b/sig/io.rbs @@ -1,7 +1,7 @@ # -# Source: MRubyCS.StdLib.IOMembers +# Source: ChibiRuby.StdLib.IOMembers -# Base class for byte streams -- files, sockets, pipes, and the like. Provides read, write, gets, puts, and friends. Subclassed by File for filesystem access. In MRubyCS, instances wrap a .NET Stream. +# Base class for byte streams -- files, sockets, pipes, and the like. Provides read, write, gets, puts, and friends. Subclassed by File for filesystem access. In ChibiRuby, instances wrap a .NET Stream. class IO < Object # Reads up to the given number of bytes from self; with no argument, reads to end-of-stream. Returns nil at EOF. # diff --git a/sig/kernel.rbs b/sig/kernel.rbs index 1f40b085..7bcf3de3 100644 --- a/sig/kernel.rbs +++ b/sig/kernel.rbs @@ -1,5 +1,5 @@ # -# Source: MRubyCS.StdLib.KernelMembers +# Source: ChibiRuby.StdLib.KernelMembers # Mixin included by Object that provides the methods available on every object: puts, raise, require, send, respond_to?, etc. Top-level defs become private Kernel methods, which is why they can be called anywhere without an explicit receiver. module Kernel diff --git a/sig/match_data.rbs b/sig/match_data.rbs index c1daa839..556306dd 100644 --- a/sig/match_data.rbs +++ b/sig/match_data.rbs @@ -1,5 +1,5 @@ # -# Source: MRubyCS.StdLib.MatchDataMembers +# Source: ChibiRuby.StdLib.MatchDataMembers # Result of a successful regexp match -- returned by Regexp#match and available as the $~ implicit variable after a match. Indexing (md[0], md[1], ...) returns the matched substring or capture groups; named captures are accessed by symbol or string. class MatchData < Object diff --git a/sig/module.rbs b/sig/module.rbs index ce4d4faf..c56e2fbe 100644 --- a/sig/module.rbs +++ b/sig/module.rbs @@ -1,5 +1,5 @@ # -# Source: MRubyCS.StdLib.ModuleMembers +# Source: ChibiRuby.StdLib.ModuleMembers # A named bundle of methods and constants that can be mixed into classes via include, prepend, or extend. Class is itself a subclass of Module, so most reflective and metaprogramming methods (e.g. define_method, const_set, ancestors) live here. class Module < Object diff --git a/sig/name_error.rbs b/sig/name_error.rbs index 697a9e15..0535d056 100644 --- a/sig/name_error.rbs +++ b/sig/name_error.rbs @@ -1,5 +1,5 @@ # -# Source: src/MRubyCS/StdLib/lib.rb (via rbs prototype rb) +# Source: src/ChibiRuby/StdLib/lib.rb (via rbs prototype rb) # # Raised when a name (constant, variable, or method) cannot be resolved. diff --git a/sig/nil_class.rbs b/sig/nil_class.rbs index 3653694e..48c05ba1 100644 --- a/sig/nil_class.rbs +++ b/sig/nil_class.rbs @@ -1,5 +1,5 @@ # -# Source: MRubyCS.StdLib.NilClassMembers +# Source: ChibiRuby.StdLib.NilClassMembers # The class of the singleton nil value. Returned by methods that have no meaningful value, used as the implicit return of empty method bodies, and one of the only two falsy values in Ruby (the other being false). class NilClass < Object diff --git a/sig/no_method_error.rbs b/sig/no_method_error.rbs index 868a7365..c43ec267 100644 --- a/sig/no_method_error.rbs +++ b/sig/no_method_error.rbs @@ -1,5 +1,5 @@ # -# Source: src/MRubyCS/StdLib/lib.rb (via rbs prototype rb) +# Source: src/ChibiRuby/StdLib/lib.rb (via rbs prototype rb) # # Raised when a method is called on a receiver that does not respond to it. diff --git a/sig/numeric.rbs b/sig/numeric.rbs index 8765ccf5..33ae586f 100644 --- a/sig/numeric.rbs +++ b/sig/numeric.rbs @@ -1,5 +1,5 @@ # -# Source: MRubyCS.StdLib.NumericMembers +# Source: ChibiRuby.StdLib.NumericMembers # Abstract base class for numeric types -- the parent of Integer and Float. Defines coercion rules and shared behaviour like abs, zero?, and nonzero?. Includes Comparable; values are immutable. class Numeric < Object diff --git a/sig/object.rbs b/sig/object.rbs index 3663ff5b..3b682a5a 100644 --- a/sig/object.rbs +++ b/sig/object.rbs @@ -1,7 +1,7 @@ # -# Source: MRubyCS.StdLib.ObjectMembers +# Source: ChibiRuby.StdLib.ObjectMembers -# Object has no direct method definitions in MRubyCS -- its public API surface comes entirely through include Kernel (wired in MRubyState.InitObject). This placeholder exists so the rbs generator emits sig/object.rbs with the proper header and include Kernel. +# Object has no direct method definitions in ChibiRuby -- its public API surface comes entirely through include Kernel (wired in MRubyState.InitObject). This placeholder exists so the rbs generator emits sig/object.rbs with the proper header and include Kernel. class Object < BasicObject include Kernel diff --git a/sig/proc.rbs b/sig/proc.rbs index 273e0424..7a0bec31 100644 --- a/sig/proc.rbs +++ b/sig/proc.rbs @@ -1,5 +1,5 @@ # -# Source: MRubyCS.StdLib.ProcMembers +# Source: ChibiRuby.StdLib.ProcMembers # A first-class callable created from a block. Capture a block as a Proc with Proc.new, proc { ... }, or the &block parameter form; invoke with call, [], or .(). Lambdas (->) are Procs with stricter arity and return semantics. class Proc < Object diff --git a/sig/random.rbs b/sig/random.rbs index 341398f7..c661961e 100644 --- a/sig/random.rbs +++ b/sig/random.rbs @@ -1,7 +1,7 @@ # -# Source: MRubyCS.StdLib.RandomMembers +# Source: ChibiRuby.StdLib.RandomMembers -# Seeded pseudo-random number generator. Random.new(seed) creates an independent stream; Kernel#rand and Kernel#srand delegate to a shared default instance. Backed by .NET's Random in MRubyCS, so the sequence is not bit-compatible with CRuby. +# Seeded pseudo-random number generator. Random.new(seed) creates an independent stream; Kernel#rand and Kernel#srand delegate to a shared default instance. Backed by .NET's Random in ChibiRuby, so the sequence is not bit-compatible with CRuby. class Random < Object # Initializes a new Random instance, optionally with a fixed seed. # diff --git a/sig/range.rbs b/sig/range.rbs index a117ff96..1ce2969e 100644 --- a/sig/range.rbs +++ b/sig/range.rbs @@ -1,5 +1,5 @@ # -# Source: MRubyCS.StdLib.RangeMembers +# Source: ChibiRuby.StdLib.RangeMembers # An interval between two values, written as begin..end (inclusive) or begin...end (exclusive of end). Used for iteration ((1..10).each), membership tests ((1..10).include?(x)), and array slicing. Includes Enumerable when the endpoints support succ. class Range[Elem] < Object diff --git a/sig/regexp.rbs b/sig/regexp.rbs index 200ecb41..2d562f79 100644 --- a/sig/regexp.rbs +++ b/sig/regexp.rbs @@ -1,7 +1,7 @@ # -# Source: MRubyCS.StdLib.RegexpMembers +# Source: ChibiRuby.StdLib.RegexpMembers -# Regular expression literal -- written as /pattern/flags. Matching against a String via =~ or match returns a MatchData (or nil on no match). In MRubyCS, the pattern is translated to and executed by .NET's Regex, so some Ruby-specific syntax may differ. +# Regular expression literal -- written as /pattern/flags. Matching against a String via =~ or match returns a MatchData (or nil on no match). In ChibiRuby, the pattern is translated to and executed by .NET's Regex, so some Ruby-specific syntax may differ. class Regexp < Object # Constructs a new Regexp from the given pattern string and option flags. When the first argument is itself a Regexp, returns a copy. # diff --git a/sig/stop_iteration.rbs b/sig/stop_iteration.rbs index ca388652..2294d48e 100644 --- a/sig/stop_iteration.rbs +++ b/sig/stop_iteration.rbs @@ -1,5 +1,5 @@ # -# Source: src/MRubyCS/StdLib/lib.rb (via rbs prototype rb) +# Source: src/ChibiRuby/StdLib/lib.rb (via rbs prototype rb) # # Raised by Enumerator#next when iteration has finished. Internal diff --git a/sig/string.rbs b/sig/string.rbs index 5c56400b..17a10804 100644 --- a/sig/string.rbs +++ b/sig/string.rbs @@ -1,5 +1,5 @@ # -# Source: MRubyCS.StdLib.StringMembers +# Source: ChibiRuby.StdLib.StringMembers # Mutable sequence of bytes, usually interpreted as UTF-8 text. Indexing returns substrings or single characters; many methods come in pairs of pure (upcase) and in-place (upcase!) variants. Includes Comparable. String literals are frozen by some host configurations but mutable by default. class String < Object diff --git a/sig/symbol.rbs b/sig/symbol.rbs index 04a708c9..015cce36 100644 --- a/sig/symbol.rbs +++ b/sig/symbol.rbs @@ -1,5 +1,5 @@ # -# Source: MRubyCS.StdLib.SymbolMembers +# Source: ChibiRuby.StdLib.SymbolMembers # Interned, immutable identifier -- written :name. Two symbols with the same name are the same object, which makes them efficient as hash keys, method names, and tag values. Convert to and from strings with to_s and String#to_sym. class Symbol < Object diff --git a/sig/thread.rbs b/sig/thread.rbs index a4633a0c..34920f3d 100644 --- a/sig/thread.rbs +++ b/sig/thread.rbs @@ -1,7 +1,7 @@ # -# Source: MRubyCS.StdLib.ThreadMembers +# Source: ChibiRuby.StdLib.ThreadMembers -# MRubyCS does not implement OS threads (the VM is single-threaded); the Thread class exists primarily to host CRuby-compatible cooperative-scheduling entry points such as Thread.pass. +# ChibiRuby does not implement OS threads (the VM is single-threaded); the Thread class exists primarily to host CRuby-compatible cooperative-scheduling entry points such as Thread.pass. class Thread < Object # Thread.pass -- CRuby-compatible cooperative yield. Hands control back to the MRubyFiberScheduler so other in-flight fibers and host async work can run before this fiber is resumed. No-op at the root fiber or when no scheduler is installed. # diff --git a/sig/time.rbs b/sig/time.rbs index 5e7bcc1f..580d000a 100644 --- a/sig/time.rbs +++ b/sig/time.rbs @@ -1,7 +1,7 @@ # -# Source: MRubyCS.StdLib.TimeMembers +# Source: ChibiRuby.StdLib.TimeMembers -# A point in time, accurate to sub-second precision. Created with Time.now, Time.at, or Time.utc/Time.local; supports arithmetic with Numeric seconds and comparison via <=>. Backed by .NET's DateTimeOffset in MRubyCS. +# A point in time, accurate to sub-second precision. Created with Time.now, Time.at, or Time.utc/Time.local; supports arithmetic with Numeric seconds and comparison via <=>. Backed by .NET's DateTimeOffset in ChibiRuby. class Time < Object include Comparable diff --git a/sig/true_class.rbs b/sig/true_class.rbs index 59cac029..ed54b193 100644 --- a/sig/true_class.rbs +++ b/sig/true_class.rbs @@ -1,5 +1,5 @@ # -# Source: MRubyCS.StdLib.TrueClassMembers +# Source: ChibiRuby.StdLib.TrueClassMembers # The class of the singleton true value. Note that in Ruby every object except nil and false is truthy, so true itself is just one specific truthy value. class TrueClass < Object diff --git a/src/MRubyCS.Compiler.Cli/MRubyCS.Compiler.Cli.csproj b/src/ChibiRuby.Compiler.Cli/ChibiRuby.Compiler.Cli.csproj similarity index 84% rename from src/MRubyCS.Compiler.Cli/MRubyCS.Compiler.Cli.csproj rename to src/ChibiRuby.Compiler.Cli/ChibiRuby.Compiler.Cli.csproj index a7c1ef32..29611d91 100644 --- a/src/MRubyCS.Compiler.Cli/MRubyCS.Compiler.Cli.csproj +++ b/src/ChibiRuby.Compiler.Cli/ChibiRuby.Compiler.Cli.csproj @@ -19,8 +19,8 @@ - - + + diff --git a/src/MRubyCS.Compiler.Cli/Program.cs b/src/ChibiRuby.Compiler.Cli/Program.cs similarity index 99% rename from src/MRubyCS.Compiler.Cli/Program.cs rename to src/ChibiRuby.Compiler.Cli/Program.cs index 20753af0..8ea7a431 100644 --- a/src/MRubyCS.Compiler.Cli/Program.cs +++ b/src/ChibiRuby.Compiler.Cli/Program.cs @@ -1,8 +1,8 @@ using System.Buffers; using System.Text; using ConsoleAppFramework; -using MRubyCS; -using MRubyCS.Compiler; +using ChibiRuby; +using ChibiRuby.Compiler; var app = ConsoleApp.Create(); app.Add(); diff --git a/src/MRubyCS.Compiler/BomHelper.cs b/src/ChibiRuby.Compiler/BomHelper.cs similarity index 95% rename from src/MRubyCS.Compiler/BomHelper.cs rename to src/ChibiRuby.Compiler/BomHelper.cs index 08d882d0..b605f407 100644 --- a/src/MRubyCS.Compiler/BomHelper.cs +++ b/src/ChibiRuby.Compiler/BomHelper.cs @@ -1,7 +1,7 @@ using System; using System.Text; -namespace MRubyCS.Compiler +namespace ChibiRuby.Compiler { static class BomHelper { diff --git a/src/MRubyCS.Compiler/MRubyCS.Compiler.csproj b/src/ChibiRuby.Compiler/ChibiRuby.Compiler.csproj similarity index 91% rename from src/MRubyCS.Compiler/MRubyCS.Compiler.csproj rename to src/ChibiRuby.Compiler/ChibiRuby.Compiler.csproj index 7e90bc87..cf3bd552 100644 --- a/src/MRubyCS.Compiler/MRubyCS.Compiler.csproj +++ b/src/ChibiRuby.Compiler/ChibiRuby.Compiler.csproj @@ -6,15 +6,15 @@ true osx-arm64;osx-x64;linux-x64;linux-arm64;win-x64;android-arm64;android-x64;ios-arm64;iossimulator-arm64;browser-wasm 13 - Native binding for the mruby compiler for use from C# and MRubyCS + Native binding for the mruby compiler for use from C# and ChibiRuby - + - + diff --git a/src/MRubyCS.Compiler/CompilationResult.cs b/src/ChibiRuby.Compiler/CompilationResult.cs similarity index 98% rename from src/MRubyCS.Compiler/CompilationResult.cs rename to src/ChibiRuby.Compiler/CompilationResult.cs index b611e39e..3dbc25d4 100644 --- a/src/MRubyCS.Compiler/CompilationResult.cs +++ b/src/ChibiRuby.Compiler/CompilationResult.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace MRubyCS.Compiler +namespace ChibiRuby.Compiler { public class CompilationResult : IDisposable { diff --git a/src/MRubyCS.Compiler/Diagnostics.cs b/src/ChibiRuby.Compiler/Diagnostics.cs similarity index 95% rename from src/MRubyCS.Compiler/Diagnostics.cs rename to src/ChibiRuby.Compiler/Diagnostics.cs index 621da0db..7b5243e8 100644 --- a/src/MRubyCS.Compiler/Diagnostics.cs +++ b/src/ChibiRuby.Compiler/Diagnostics.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Compiler +namespace ChibiRuby.Compiler { public enum DiagnosticSeverity { diff --git a/src/MRubyCS.Compiler/MRubyCompiler.cs b/src/ChibiRuby.Compiler/MRubyCompiler.cs similarity index 99% rename from src/MRubyCS.Compiler/MRubyCompiler.cs rename to src/ChibiRuby.Compiler/MRubyCompiler.cs index e7856561..a787387f 100644 --- a/src/MRubyCS.Compiler/MRubyCompiler.cs +++ b/src/ChibiRuby.Compiler/MRubyCompiler.cs @@ -4,7 +4,7 @@ using System.Threading; using System.Threading.Tasks; -namespace MRubyCS.Compiler +namespace ChibiRuby.Compiler { public class MRubyCompileException(string message) : Exception(message); diff --git a/src/MRubyCS.Compiler/MrbNativeBytesHandle.cs b/src/ChibiRuby.Compiler/MrbNativeBytesHandle.cs similarity index 96% rename from src/MRubyCS.Compiler/MrbNativeBytesHandle.cs rename to src/ChibiRuby.Compiler/MrbNativeBytesHandle.cs index b1cbd2dc..7938ba29 100644 --- a/src/MRubyCS.Compiler/MrbNativeBytesHandle.cs +++ b/src/ChibiRuby.Compiler/MrbNativeBytesHandle.cs @@ -1,7 +1,7 @@ using System; using System.Runtime.InteropServices; -namespace MRubyCS.Compiler +namespace ChibiRuby.Compiler { public class MrbNativeBytesHandle : SafeHandle { diff --git a/src/MRubyCS.Compiler/MrbStateHandle.cs b/src/ChibiRuby.Compiler/MrbStateHandle.cs similarity index 95% rename from src/MRubyCS.Compiler/MrbStateHandle.cs rename to src/ChibiRuby.Compiler/MrbStateHandle.cs index 0be6e0a8..3aa18c34 100644 --- a/src/MRubyCS.Compiler/MrbStateHandle.cs +++ b/src/ChibiRuby.Compiler/MrbStateHandle.cs @@ -1,7 +1,7 @@ using System; using System.Runtime.InteropServices; -namespace MRubyCS.Compiler +namespace ChibiRuby.Compiler { class MrbStateHandle : SafeHandle { diff --git a/src/MRubyCS.Compiler/MrcCContextHandle.cs b/src/ChibiRuby.Compiler/MrcCContextHandle.cs similarity index 98% rename from src/MRubyCS.Compiler/MrcCContextHandle.cs rename to src/ChibiRuby.Compiler/MrcCContextHandle.cs index d6b99f05..a52d307c 100644 --- a/src/MRubyCS.Compiler/MrcCContextHandle.cs +++ b/src/ChibiRuby.Compiler/MrcCContextHandle.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Runtime.InteropServices; -namespace MRubyCS.Compiler +namespace ChibiRuby.Compiler { class MrcCContextHandle : SafeHandle { diff --git a/src/MRubyCS.Compiler/NativeMethods.cs b/src/ChibiRuby.Compiler/NativeMethods.cs similarity index 95% rename from src/MRubyCS.Compiler/NativeMethods.cs rename to src/ChibiRuby.Compiler/NativeMethods.cs index be7008dc..c304e279 100644 --- a/src/MRubyCS.Compiler/NativeMethods.cs +++ b/src/ChibiRuby.Compiler/NativeMethods.cs @@ -3,7 +3,7 @@ using System.Reflection; using System.Runtime.InteropServices; -namespace MRubyCS.Compiler +namespace ChibiRuby.Compiler { [StructLayout(LayoutKind.Explicit)] struct MrbState { } @@ -62,7 +62,7 @@ unsafe class NativeMethods [DllImport(DllName, EntryPoint = "mrb_close", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] public static extern void MrbClose(MrbState* mrb); - [DllImport(DllName, EntryPoint = "mrubycs_free", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] + [DllImport(DllName, EntryPoint = "chibiruby_free", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] public static extern void MrcFree(void* ptr); [DllImport(DllName, EntryPoint = "mrc_ccontext_new", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] diff --git a/src/MRubyCS.Compiler/Rakefile b/src/ChibiRuby.Compiler/Rakefile similarity index 100% rename from src/MRubyCS.Compiler/Rakefile rename to src/ChibiRuby.Compiler/Rakefile diff --git a/src/MRubyCS.Compiler/build_config.android.rb b/src/ChibiRuby.Compiler/build_config.android.rb similarity index 88% rename from src/MRubyCS.Compiler/build_config.android.rb rename to src/ChibiRuby.Compiler/build_config.android.rb index 2e4c0461..2fe2648a 100644 --- a/src/MRubyCS.Compiler/build_config.android.rb +++ b/src/ChibiRuby.Compiler/build_config.android.rb @@ -5,7 +5,7 @@ toolchain :android, arch: 'arm64-v8a', sdk_version: 24, toolchain: :clang conf.gem './mruby-compiler2' - conf.gem './mrbgems/mrubycs-compiler' + conf.gem './mrbgems/chibiruby-compiler' conf.compilers.each do |cc| cc.defines = %w(MRB_WORD_BOXING MRC_TARGET_MRUBY MRC_ALLOC_LIBC) @@ -16,7 +16,7 @@ toolchain :android, arch: 'x86_64', sdk_version: 24, toolchain: :clang conf.gem './mruby-compiler2' - conf.gem './mrbgems/mrubycs-compiler' + conf.gem './mrbgems/chibiruby-compiler' conf.compilers.each do |cc| cc.defines = %w(MRB_WORD_BOXING MRC_TARGET_MRUBY MRC_ALLOC_LIBC) diff --git a/src/MRubyCS.Compiler/build_config.iOS.rb b/src/ChibiRuby.Compiler/build_config.iOS.rb similarity index 96% rename from src/MRubyCS.Compiler/build_config.iOS.rb rename to src/ChibiRuby.Compiler/build_config.iOS.rb index d29b87ea..36fa333f 100644 --- a/src/MRubyCS.Compiler/build_config.iOS.rb +++ b/src/ChibiRuby.Compiler/build_config.iOS.rb @@ -20,7 +20,7 @@ def ios_ar conf.toolchain :clang conf.gem './mruby-compiler2' - conf.gem './mrbgems/mrubycs-compiler' + conf.gem './mrbgems/chibiruby-compiler' sdk, arch, min_flag = case target when 'ios-arm64' diff --git a/src/MRubyCS.Compiler/build_config.linux.rb b/src/ChibiRuby.Compiler/build_config.linux.rb similarity index 94% rename from src/MRubyCS.Compiler/build_config.linux.rb rename to src/ChibiRuby.Compiler/build_config.linux.rb index a8b99ed9..c62d2f74 100644 --- a/src/MRubyCS.Compiler/build_config.linux.rb +++ b/src/ChibiRuby.Compiler/build_config.linux.rb @@ -3,7 +3,7 @@ conf.toolchain :gcc conf.gem './mruby-compiler2' - conf.gem './mrbgems/mrubycs-compiler' + conf.gem './mrbgems/chibiruby-compiler' # Note: mruby 4.0 removed MRB_NO_PRESYM and `disable_presym`; presym is always on. conf.compilers.each do |cc| @@ -31,7 +31,7 @@ conf.toolchain :gcc conf.gem './mruby-compiler2' - conf.gem './mrbgems/mrubycs-compiler' + conf.gem './mrbgems/chibiruby-compiler' conf.cc.command = 'aarch64-linux-gnu-gcc' conf.linker.command = 'aarch64-linux-gnu-gcc' diff --git a/src/MRubyCS.Compiler/build_config.macOS.rb b/src/ChibiRuby.Compiler/build_config.macOS.rb similarity index 89% rename from src/MRubyCS.Compiler/build_config.macOS.rb rename to src/ChibiRuby.Compiler/build_config.macOS.rb index f5f36283..adacb8e9 100644 --- a/src/MRubyCS.Compiler/build_config.macOS.rb +++ b/src/ChibiRuby.Compiler/build_config.macOS.rb @@ -3,7 +3,7 @@ #conf.gem core: 'mruby-compiler' conf.gem './mruby-compiler2' - conf.gem './mrbgems/mrubycs-compiler' + conf.gem './mrbgems/chibiruby-compiler' # Note: mruby 4.0 removed MRB_NO_PRESYM and `disable_presym`; presym is always on. conf.cc.defines = %w(MRB_WORD_BOXING MRC_TARGET_MRUBY MRC_ALLOC_LIBC) @@ -15,7 +15,7 @@ conf.toolchain :clang conf.gem './mruby-compiler2' - conf.gem './mrbgems/mrubycs-compiler' + conf.gem './mrbgems/chibiruby-compiler' # Note: mruby 4.0 removed MRB_NO_PRESYM and `disable_presym`; presym is always on. conf.cc.defines = %w(MRB_WORD_BOXING MRC_TARGET_MRUBY MRC_ALLOC_LIBC) diff --git a/src/MRubyCS.Compiler/build_config.macOS.rb.lock b/src/ChibiRuby.Compiler/build_config.macOS.rb.lock similarity index 100% rename from src/MRubyCS.Compiler/build_config.macOS.rb.lock rename to src/ChibiRuby.Compiler/build_config.macOS.rb.lock diff --git a/src/MRubyCS.Compiler/build_config.wasm.rb b/src/ChibiRuby.Compiler/build_config.wasm.rb similarity index 93% rename from src/MRubyCS.Compiler/build_config.wasm.rb rename to src/ChibiRuby.Compiler/build_config.wasm.rb index 38ed0b74..bab13fcc 100644 --- a/src/MRubyCS.Compiler/build_config.wasm.rb +++ b/src/ChibiRuby.Compiler/build_config.wasm.rb @@ -8,7 +8,7 @@ conf.toolchain :emscripten conf.gem './mruby-compiler2' - conf.gem './mrbgems/mrubycs-compiler' + conf.gem './mrbgems/chibiruby-compiler' conf.compilers.each do |cc| cc.defines = %w(MRB_WORD_BOXING MRC_TARGET_MRUBY MRC_ALLOC_LIBC) diff --git a/src/MRubyCS.Compiler/build_config.windows.rb b/src/ChibiRuby.Compiler/build_config.windows.rb similarity index 85% rename from src/MRubyCS.Compiler/build_config.windows.rb rename to src/ChibiRuby.Compiler/build_config.windows.rb index 722703cc..6e49fa34 100644 --- a/src/MRubyCS.Compiler/build_config.windows.rb +++ b/src/ChibiRuby.Compiler/build_config.windows.rb @@ -2,7 +2,7 @@ conf.toolchain conf.gem './mruby-compiler2' - conf.gem './mrbgems/mrubycs-compiler' + conf.gem './mrbgems/chibiruby-compiler' # Note: mruby 4.0 removed MRB_NO_PRESYM and `disable_presym`; presym is always on. conf.cc.defines = %w(MRB_WORD_BOXING MRC_TARGET_MRUBY MRC_ALLOC_LIBC) diff --git a/src/MRubyCS.Compiler/mrbgems/mrubycs-compiler/mrubycs-compiler.def b/src/ChibiRuby.Compiler/mrbgems/chibiruby-compiler/chibiruby-compiler.def similarity index 91% rename from src/MRubyCS.Compiler/mrbgems/mrubycs-compiler/mrubycs-compiler.def rename to src/ChibiRuby.Compiler/mrbgems/chibiruby-compiler/chibiruby-compiler.def index 08ee2b36..d0c6458a 100644 --- a/src/MRubyCS.Compiler/mrbgems/mrubycs-compiler/mrubycs-compiler.def +++ b/src/ChibiRuby.Compiler/mrbgems/chibiruby-compiler/chibiruby-compiler.def @@ -3,7 +3,7 @@ EXPORTS mrb_open mrb_close mrb_free - mrubycs_free + chibiruby_free mrc_ccontext_new mrc_ccontext_free mrc_load_string_cxt diff --git a/src/MRubyCS.Compiler/mrbgems/mrubycs-compiler/mrbgem.rake b/src/ChibiRuby.Compiler/mrbgems/chibiruby-compiler/mrbgem.rake similarity index 92% rename from src/MRubyCS.Compiler/mrbgems/mrubycs-compiler/mrbgem.rake rename to src/ChibiRuby.Compiler/mrbgems/chibiruby-compiler/mrbgem.rake index d79b7895..2a3567a1 100644 --- a/src/MRubyCS.Compiler/mrbgems/mrubycs-compiler/mrbgem.rake +++ b/src/ChibiRuby.Compiler/mrbgems/chibiruby-compiler/mrbgem.rake @@ -1,4 +1,4 @@ -MRuby::Gem::Specification.new('mrubycs-compiler') do |spec| +MRuby::Gem::Specification.new('chibiruby-compiler') do |spec| spec.license = 'MIT' spec.authors = 'hadashiA' end @@ -27,7 +27,7 @@ MRuby.each_target do is_vc = primary_toolchain == 'visualcpp' is_mingw = ENV['OS'] == 'Windows_NT' && cc.command.start_with?('gcc') - deffile = "#{File.dirname(__FILE__)}/mrubycs-compiler.def" + deffile = "#{File.dirname(__FILE__)}/chibiruby-compiler.def" flags = [] flags_after_libraries = [] diff --git a/src/ChibiRuby.Compiler/mrbgems/chibiruby-compiler/src/chibiruby-compiler.c b/src/ChibiRuby.Compiler/mrbgems/chibiruby-compiler/src/chibiruby-compiler.c new file mode 100644 index 00000000..16db01f6 --- /dev/null +++ b/src/ChibiRuby.Compiler/mrbgems/chibiruby-compiler/src/chibiruby-compiler.c @@ -0,0 +1,15 @@ +#include +#include + +void chibiruby_free(void *ptr) +{ + free(ptr); +} + +void mrb_chibiruby_compiler_gem_init(mrb_state *mrb) +{ +} + +void mrb_chibiruby_compiler_gem_final(mrb_state *mrb) +{ +} diff --git a/src/MRubyCS.Compiler/mrbgems/mrubycs-compiler/src/mrubycs-compiler.h b/src/ChibiRuby.Compiler/mrbgems/chibiruby-compiler/src/chibiruby-compiler.h similarity index 56% rename from src/MRubyCS.Compiler/mrbgems/mrubycs-compiler/src/mrubycs-compiler.h rename to src/ChibiRuby.Compiler/mrbgems/chibiruby-compiler/src/chibiruby-compiler.h index 12622596..768db0e7 100644 --- a/src/MRubyCS.Compiler/mrbgems/mrubycs-compiler/src/mrubycs-compiler.h +++ b/src/ChibiRuby.Compiler/mrbgems/chibiruby-compiler/src/chibiruby-compiler.h @@ -1,6 +1,6 @@ #ifndef MRUBYCS_COMPILER_H #define MRUBYCS_COMPILER_H -void mrubycs_compiler_prism_xallocator_init(); +void chibiruby_compiler_prism_xallocator_init(); #endif diff --git a/src/MRubyCS.Compiler/mruby b/src/ChibiRuby.Compiler/mruby similarity index 100% rename from src/MRubyCS.Compiler/mruby rename to src/ChibiRuby.Compiler/mruby diff --git a/src/MRubyCS.Compiler/mruby-compiler2 b/src/ChibiRuby.Compiler/mruby-compiler2 similarity index 100% rename from src/MRubyCS.Compiler/mruby-compiler2 rename to src/ChibiRuby.Compiler/mruby-compiler2 diff --git a/src/MRubyCS.Compiler/runtimes/android-arm64/native/libmruby.so b/src/ChibiRuby.Compiler/runtimes/android-arm64/native/libmruby.so similarity index 72% rename from src/MRubyCS.Compiler/runtimes/android-arm64/native/libmruby.so rename to src/ChibiRuby.Compiler/runtimes/android-arm64/native/libmruby.so index d794ec0e..d2db1926 100755 Binary files a/src/MRubyCS.Compiler/runtimes/android-arm64/native/libmruby.so and b/src/ChibiRuby.Compiler/runtimes/android-arm64/native/libmruby.so differ diff --git a/src/MRubyCS.Compiler/runtimes/android-x64/native/libmruby.so b/src/ChibiRuby.Compiler/runtimes/android-x64/native/libmruby.so similarity index 80% rename from src/MRubyCS.Compiler/runtimes/android-x64/native/libmruby.so rename to src/ChibiRuby.Compiler/runtimes/android-x64/native/libmruby.so index 60fcef69..eb42b2eb 100755 Binary files a/src/MRubyCS.Compiler/runtimes/android-x64/native/libmruby.so and b/src/ChibiRuby.Compiler/runtimes/android-x64/native/libmruby.so differ diff --git a/src/MRubyCS.Compiler/runtimes/browser-wasm/native/libmruby.a b/src/ChibiRuby.Compiler/runtimes/browser-wasm/native/libmruby.a similarity index 69% rename from src/MRubyCS.Compiler/runtimes/browser-wasm/native/libmruby.a rename to src/ChibiRuby.Compiler/runtimes/browser-wasm/native/libmruby.a index 059e8cf1..4490ebf5 100644 Binary files a/src/MRubyCS.Compiler/runtimes/browser-wasm/native/libmruby.a and b/src/ChibiRuby.Compiler/runtimes/browser-wasm/native/libmruby.a differ diff --git a/src/MRubyCS.Compiler/runtimes/ios-arm64/native/libmruby.a b/src/ChibiRuby.Compiler/runtimes/ios-arm64/native/libmruby.a similarity index 75% rename from src/MRubyCS.Compiler/runtimes/ios-arm64/native/libmruby.a rename to src/ChibiRuby.Compiler/runtimes/ios-arm64/native/libmruby.a index 34fd27e0..2cf54e14 100644 Binary files a/src/MRubyCS.Compiler/runtimes/ios-arm64/native/libmruby.a and b/src/ChibiRuby.Compiler/runtimes/ios-arm64/native/libmruby.a differ diff --git a/src/MRubyCS.Compiler/runtimes/iossimulator-arm64/native/libmruby.a b/src/ChibiRuby.Compiler/runtimes/iossimulator-arm64/native/libmruby.a similarity index 75% rename from src/MRubyCS.Compiler/runtimes/iossimulator-arm64/native/libmruby.a rename to src/ChibiRuby.Compiler/runtimes/iossimulator-arm64/native/libmruby.a index b05955b5..957934de 100644 Binary files a/src/MRubyCS.Compiler/runtimes/iossimulator-arm64/native/libmruby.a and b/src/ChibiRuby.Compiler/runtimes/iossimulator-arm64/native/libmruby.a differ diff --git a/src/MRubyCS.Compiler/runtimes/linux-arm64/native/libmruby.so b/src/ChibiRuby.Compiler/runtimes/linux-arm64/native/libmruby.so similarity index 71% rename from src/MRubyCS.Compiler/runtimes/linux-arm64/native/libmruby.so rename to src/ChibiRuby.Compiler/runtimes/linux-arm64/native/libmruby.so index 3979fc9f..de5b3997 100755 Binary files a/src/MRubyCS.Compiler/runtimes/linux-arm64/native/libmruby.so and b/src/ChibiRuby.Compiler/runtimes/linux-arm64/native/libmruby.so differ diff --git a/src/MRubyCS.Compiler/runtimes/linux-x64/native/libmruby.so b/src/ChibiRuby.Compiler/runtimes/linux-x64/native/libmruby.so similarity index 88% rename from src/MRubyCS.Compiler/runtimes/linux-x64/native/libmruby.so rename to src/ChibiRuby.Compiler/runtimes/linux-x64/native/libmruby.so index f424d9cb..8ef70543 100755 Binary files a/src/MRubyCS.Compiler/runtimes/linux-x64/native/libmruby.so and b/src/ChibiRuby.Compiler/runtimes/linux-x64/native/libmruby.so differ diff --git a/src/MRubyCS.Compiler/runtimes/osx-arm64/native/libmruby.dylib b/src/ChibiRuby.Compiler/runtimes/osx-arm64/native/libmruby.dylib similarity index 74% rename from src/MRubyCS.Compiler/runtimes/osx-arm64/native/libmruby.dylib rename to src/ChibiRuby.Compiler/runtimes/osx-arm64/native/libmruby.dylib index 4eb319e9..36e077f5 100755 Binary files a/src/MRubyCS.Compiler/runtimes/osx-arm64/native/libmruby.dylib and b/src/ChibiRuby.Compiler/runtimes/osx-arm64/native/libmruby.dylib differ diff --git a/src/MRubyCS.Compiler/runtimes/osx-x64/native/libmruby.dylib b/src/ChibiRuby.Compiler/runtimes/osx-x64/native/libmruby.dylib similarity index 76% rename from src/MRubyCS.Compiler/runtimes/osx-x64/native/libmruby.dylib rename to src/ChibiRuby.Compiler/runtimes/osx-x64/native/libmruby.dylib index 9eccc223..4c298b6f 100755 Binary files a/src/MRubyCS.Compiler/runtimes/osx-x64/native/libmruby.dylib and b/src/ChibiRuby.Compiler/runtimes/osx-x64/native/libmruby.dylib differ diff --git a/src/MRubyCS.Compiler/runtimes/win-x64/native/libmruby.dll b/src/ChibiRuby.Compiler/runtimes/win-x64/native/libmruby.dll similarity index 69% rename from src/MRubyCS.Compiler/runtimes/win-x64/native/libmruby.dll rename to src/ChibiRuby.Compiler/runtimes/win-x64/native/libmruby.dll index b1ddbdc6..a180d081 100644 Binary files a/src/MRubyCS.Compiler/runtimes/win-x64/native/libmruby.dll and b/src/ChibiRuby.Compiler/runtimes/win-x64/native/libmruby.dll differ diff --git a/src/ChibiRuby.Debugger.Dap/ChibiRuby.Debugger.Dap.csproj b/src/ChibiRuby.Debugger.Dap/ChibiRuby.Debugger.Dap.csproj new file mode 100644 index 00000000..d1dbabb4 --- /dev/null +++ b/src/ChibiRuby.Debugger.Dap/ChibiRuby.Debugger.Dap.csproj @@ -0,0 +1,24 @@ + + + + net8.0;net9.0;net10.0;netstandard2.1 + enable + 13 + Debug Adapter Protocol (DAP) server for ChibiRuby.Debugger. Plug into any DAP-compatible editor (VSCode, Zed, JetBrains, Neovim, etc.). + + + + + + + + + + + + + + + + + diff --git a/src/MRubyCS.Debugger.Dap/Log.cs b/src/ChibiRuby.Debugger.Dap/Log.cs similarity index 86% rename from src/MRubyCS.Debugger.Dap/Log.cs rename to src/ChibiRuby.Debugger.Dap/Log.cs index 321bcff3..36eabcca 100644 --- a/src/MRubyCS.Debugger.Dap/Log.cs +++ b/src/ChibiRuby.Debugger.Dap/Log.cs @@ -1,6 +1,6 @@ using System; -namespace MRubyCS.Debugger.Dap; +namespace ChibiRuby.Debugger.Dap; public enum LogLevel { diff --git a/src/MRubyCS.Debugger.Dap/MRubyDapMessageHandler.cs b/src/ChibiRuby.Debugger.Dap/MRubyDapMessageHandler.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/MRubyDapMessageHandler.cs rename to src/ChibiRuby.Debugger.Dap/MRubyDapMessageHandler.cs index f955dcec..3748a3b1 100644 --- a/src/MRubyCS.Debugger.Dap/MRubyDapMessageHandler.cs +++ b/src/ChibiRuby.Debugger.Dap/MRubyDapMessageHandler.cs @@ -6,10 +6,10 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -using MRubyCS.Compiler; -using MRubyCS.Debugger.Dap.Protocol; +using ChibiRuby.Compiler; +using ChibiRuby.Debugger.Dap.Protocol; -namespace MRubyCS.Debugger.Dap; +namespace ChibiRuby.Debugger.Dap; ///

/// Per-session DAP protocol handler. Transport-agnostic (operates on a PipeReader/Writer pair). diff --git a/src/MRubyCS.Debugger.Dap/MRubyDapServer.cs b/src/ChibiRuby.Debugger.Dap/MRubyDapServer.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/MRubyDapServer.cs rename to src/ChibiRuby.Debugger.Dap/MRubyDapServer.cs index 0e1c3ce5..d88f2993 100644 --- a/src/MRubyCS.Debugger.Dap/MRubyDapServer.cs +++ b/src/ChibiRuby.Debugger.Dap/MRubyDapServer.cs @@ -4,9 +4,9 @@ using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; -using MRubyCS.Compiler; +using ChibiRuby.Compiler; -namespace MRubyCS.Debugger.Dap; +namespace ChibiRuby.Debugger.Dap; /// /// TCP listener for DAP. One at a time per server diff --git a/src/MRubyCS.Debugger.Dap/Protocol/AttachRequest.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/AttachRequest.g.cs similarity index 81% rename from src/MRubyCS.Debugger.Dap/Protocol/AttachRequest.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/AttachRequest.g.cs index f9f4062f..937c5991 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/AttachRequest.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/AttachRequest.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class AttachRequest : Request { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/AttachRequestArguments.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/AttachRequestArguments.g.cs similarity index 75% rename from src/MRubyCS.Debugger.Dap/Protocol/AttachRequestArguments.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/AttachRequestArguments.g.cs index 20c5eb7a..cdfbb5b5 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/AttachRequestArguments.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/AttachRequestArguments.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Arguments for `attach` request. Additional attributes are implementation specific. @@ -17,7 +17,7 @@ public partial class AttachRequestArguments public object? Restart { get; set; } /// - /// MRubyCS adapter-specific: absolute path to the Ruby script the host is running (used to resolve relative source paths in stack frames). + /// ChibiRuby adapter-specific: absolute path to the Ruby script the host is running (used to resolve relative source paths in stack frames). /// public string? Program { get; set; } } diff --git a/src/MRubyCS.Debugger.Dap/Protocol/AttachResponse.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/AttachResponse.g.cs similarity index 72% rename from src/MRubyCS.Debugger.Dap/Protocol/AttachResponse.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/AttachResponse.g.cs index eace8f45..76c12fdf 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/AttachResponse.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/AttachResponse.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class AttachResponse : Response { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Breakpoint.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Breakpoint.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Breakpoint.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Breakpoint.g.cs index f27129db..d7b44171 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Breakpoint.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Breakpoint.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Information about a breakpoint created in `setBreakpoints`, `setFunctionBreakpoints`, `setInstructionBreakpoints`, or `setDataBreakpoints` requests. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/BreakpointMode.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/BreakpointMode.g.cs similarity index 95% rename from src/MRubyCS.Debugger.Dap/Protocol/BreakpointMode.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/BreakpointMode.g.cs index 64a0526f..8148a402 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/BreakpointMode.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/BreakpointMode.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// A `BreakpointMode` is provided as a option when setting breakpoints on sources or instructions. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/BreakpointReason.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/BreakpointReason.g.cs similarity index 93% rename from src/MRubyCS.Debugger.Dap/Protocol/BreakpointReason.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/BreakpointReason.g.cs index 448b918e..a4cf2a80 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/BreakpointReason.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/BreakpointReason.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// A machine-readable explanation of why a breakpoint may not be verified. If a breakpoint is verified or a specific reason is not known, the adapter should omit this property. Possible values include: diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Capabilities.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Capabilities.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Capabilities.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Capabilities.g.cs index 13a6bfdd..9c9fb775 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Capabilities.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Capabilities.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Information about the capabilities of a debug adapter. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Checksum.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Checksum.g.cs similarity index 91% rename from src/MRubyCS.Debugger.Dap/Protocol/Checksum.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Checksum.g.cs index 97662f94..d6a2cc1f 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Checksum.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Checksum.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// The checksum of an item calculated by the specified algorithm. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ChecksumAlgorithm.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ChecksumAlgorithm.g.cs similarity index 85% rename from src/MRubyCS.Debugger.Dap/Protocol/ChecksumAlgorithm.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ChecksumAlgorithm.g.cs index 93be82a2..ad71be31 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ChecksumAlgorithm.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ChecksumAlgorithm.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Names of checksum algorithms that may be supported by a debug adapter. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ColumnDescriptor.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ColumnDescriptor.g.cs similarity index 96% rename from src/MRubyCS.Debugger.Dap/Protocol/ColumnDescriptor.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ColumnDescriptor.g.cs index f8d8da89..6ce1a2d6 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ColumnDescriptor.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ColumnDescriptor.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// A `ColumnDescriptor` specifies what module attribute to show in a column of the modules view, how to format it, diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ColumnDescriptorType.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ColumnDescriptorType.g.cs similarity index 86% rename from src/MRubyCS.Debugger.Dap/Protocol/ColumnDescriptorType.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ColumnDescriptorType.g.cs index 65fd95f2..52dc1f6e 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ColumnDescriptorType.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ColumnDescriptorType.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Datatype of values in this column. Defaults to `string` if not specified. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ConfigurationDoneArguments.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ConfigurationDoneArguments.g.cs similarity index 82% rename from src/MRubyCS.Debugger.Dap/Protocol/ConfigurationDoneArguments.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ConfigurationDoneArguments.g.cs index 77fbbf5d..01fc605b 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ConfigurationDoneArguments.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ConfigurationDoneArguments.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Arguments for `configurationDone` request. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ConfigurationDoneRequest.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ConfigurationDoneRequest.g.cs similarity index 81% rename from src/MRubyCS.Debugger.Dap/Protocol/ConfigurationDoneRequest.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ConfigurationDoneRequest.g.cs index b5cc76a3..82c45ba1 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ConfigurationDoneRequest.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ConfigurationDoneRequest.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class ConfigurationDoneRequest : Request { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ConfigurationDoneResponse.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ConfigurationDoneResponse.g.cs similarity index 74% rename from src/MRubyCS.Debugger.Dap/Protocol/ConfigurationDoneResponse.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ConfigurationDoneResponse.g.cs index 27d6f682..ffff18f3 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ConfigurationDoneResponse.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ConfigurationDoneResponse.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class ConfigurationDoneResponse : Response { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ContinueArguments.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ContinueArguments.g.cs similarity index 93% rename from src/MRubyCS.Debugger.Dap/Protocol/ContinueArguments.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ContinueArguments.g.cs index df42e940..c527c24d 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ContinueArguments.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ContinueArguments.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Arguments for `continue` request. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ContinueRequest.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ContinueRequest.g.cs similarity index 80% rename from src/MRubyCS.Debugger.Dap/Protocol/ContinueRequest.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ContinueRequest.g.cs index 3aaa031a..6d27ef86 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ContinueRequest.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ContinueRequest.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class ContinueRequest : Request { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ContinueResponse.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ContinueResponse.g.cs similarity index 80% rename from src/MRubyCS.Debugger.Dap/Protocol/ContinueResponse.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ContinueResponse.g.cs index 99bbe8e1..e9e770c9 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ContinueResponse.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ContinueResponse.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class ContinueResponse : Response { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ContinueResponseBody.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ContinueResponseBody.g.cs similarity index 89% rename from src/MRubyCS.Debugger.Dap/Protocol/ContinueResponseBody.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ContinueResponseBody.g.cs index bf2d7c49..6c7c4640 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ContinueResponseBody.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ContinueResponseBody.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// If omitted or set to `true`, this response signals to the client that all threads have been resumed. The value `false` indicates that not all threads were resumed. public readonly partial record struct ContinueResponseBody(bool? AllThreadsContinued = default); diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ContinuedEvent.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ContinuedEvent.g.cs similarity index 79% rename from src/MRubyCS.Debugger.Dap/Protocol/ContinuedEvent.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ContinuedEvent.g.cs index 0cc72a31..d29eab5f 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ContinuedEvent.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ContinuedEvent.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class ContinuedEvent : Event { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ContinuedEventBody.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ContinuedEventBody.g.cs similarity index 91% rename from src/MRubyCS.Debugger.Dap/Protocol/ContinuedEventBody.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ContinuedEventBody.g.cs index c8528a4d..3c3a7160 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ContinuedEventBody.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ContinuedEventBody.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// The thread which was continued. /// If omitted or set to `true`, this event signals to the client that all threads have been resumed. The value `false` indicates that not all threads were resumed. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/DisconnectArguments.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/DisconnectArguments.g.cs similarity index 96% rename from src/MRubyCS.Debugger.Dap/Protocol/DisconnectArguments.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/DisconnectArguments.g.cs index 592eaa70..e80d3315 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/DisconnectArguments.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/DisconnectArguments.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Arguments for `disconnect` request. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/DisconnectRequest.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/DisconnectRequest.g.cs similarity index 80% rename from src/MRubyCS.Debugger.Dap/Protocol/DisconnectRequest.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/DisconnectRequest.g.cs index 12a855bb..e058c803 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/DisconnectRequest.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/DisconnectRequest.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class DisconnectRequest : Request { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/DisconnectResponse.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/DisconnectResponse.g.cs similarity index 73% rename from src/MRubyCS.Debugger.Dap/Protocol/DisconnectResponse.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/DisconnectResponse.g.cs index c6396fc3..d9868ab2 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/DisconnectResponse.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/DisconnectResponse.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class DisconnectResponse : Response { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ErrorResponse.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ErrorResponse.g.cs similarity index 79% rename from src/MRubyCS.Debugger.Dap/Protocol/ErrorResponse.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ErrorResponse.g.cs index 6bd2cb51..fb1c9e1a 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ErrorResponse.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ErrorResponse.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class ErrorResponse : Response { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ErrorResponseBody.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ErrorResponseBody.g.cs similarity index 82% rename from src/MRubyCS.Debugger.Dap/Protocol/ErrorResponseBody.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ErrorResponseBody.g.cs index 214c2e4a..de90283b 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ErrorResponseBody.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ErrorResponseBody.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// A structured error message. public readonly partial record struct ErrorResponseBody(Message? Error = null); diff --git a/src/MRubyCS.Debugger.Dap/Protocol/EvaluateArguments.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/EvaluateArguments.g.cs similarity index 97% rename from src/MRubyCS.Debugger.Dap/Protocol/EvaluateArguments.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/EvaluateArguments.g.cs index 1cbad2c3..7c6e36f0 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/EvaluateArguments.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/EvaluateArguments.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Arguments for `evaluate` request. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/EvaluateRequest.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/EvaluateRequest.g.cs similarity index 80% rename from src/MRubyCS.Debugger.Dap/Protocol/EvaluateRequest.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/EvaluateRequest.g.cs index 31ca7254..98b3469f 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/EvaluateRequest.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/EvaluateRequest.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class EvaluateRequest : Request { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/EvaluateResponse.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/EvaluateResponse.g.cs similarity index 80% rename from src/MRubyCS.Debugger.Dap/Protocol/EvaluateResponse.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/EvaluateResponse.g.cs index 89988a6a..24185448 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/EvaluateResponse.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/EvaluateResponse.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class EvaluateResponse : Response { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/EvaluateResponseBody.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/EvaluateResponseBody.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/EvaluateResponseBody.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/EvaluateResponseBody.g.cs index 70d6879e..a8bb00f7 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/EvaluateResponseBody.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/EvaluateResponseBody.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class EvaluateResponseBody { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Event.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Event.g.cs similarity index 88% rename from src/MRubyCS.Debugger.Dap/Protocol/Event.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Event.g.cs index 777ab62f..d95c6172 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Event.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Event.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class Event : ProtocolMessage { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ExceptionBreakpointsFilter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ExceptionBreakpointsFilter.g.cs similarity index 97% rename from src/MRubyCS.Debugger.Dap/Protocol/ExceptionBreakpointsFilter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ExceptionBreakpointsFilter.g.cs index 2c102bbc..e092b2e9 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ExceptionBreakpointsFilter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ExceptionBreakpointsFilter.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// An `ExceptionBreakpointsFilter` is shown in the UI as an filter option for configuring how exceptions are dealt with. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/AttachRequestArgumentsFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/AttachRequestArgumentsFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/AttachRequestArgumentsFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/AttachRequestArgumentsFormatter.g.cs index 6cd80e48..9468ec2e 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/AttachRequestArgumentsFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/AttachRequestArgumentsFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class AttachRequestArgumentsFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/AttachRequestFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/AttachRequestFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/AttachRequestFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/AttachRequestFormatter.g.cs index 19dd0ca0..c8f412e2 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/AttachRequestFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/AttachRequestFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class AttachRequestFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/AttachResponseFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/AttachResponseFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/AttachResponseFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/AttachResponseFormatter.g.cs index 3fd1d5a3..b2b79be8 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/AttachResponseFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/AttachResponseFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class AttachResponseFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/BreakpointFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/BreakpointFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/BreakpointFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/BreakpointFormatter.g.cs index 9a023b6d..de5da6c9 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/BreakpointFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/BreakpointFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class BreakpointFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/BreakpointModeFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/BreakpointModeFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/BreakpointModeFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/BreakpointModeFormatter.g.cs index 72c9cabd..550b4a3b 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/BreakpointModeFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/BreakpointModeFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class BreakpointModeFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/BreakpointReasonFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/BreakpointReasonFormatter.g.cs similarity index 97% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/BreakpointReasonFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/BreakpointReasonFormatter.g.cs index 5234bd27..e7620537 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/BreakpointReasonFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/BreakpointReasonFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class BreakpointReasonFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/CapabilitiesFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/CapabilitiesFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/CapabilitiesFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/CapabilitiesFormatter.g.cs index 4e2f498a..d9ec06b7 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/CapabilitiesFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/CapabilitiesFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class CapabilitiesFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ChecksumAlgorithmFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ChecksumAlgorithmFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ChecksumAlgorithmFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ChecksumAlgorithmFormatter.g.cs index 7ed76bd8..1a310d29 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ChecksumAlgorithmFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ChecksumAlgorithmFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ChecksumAlgorithmFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ChecksumFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ChecksumFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ChecksumFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ChecksumFormatter.g.cs index e7ad7ddc..f25ae5f5 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ChecksumFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ChecksumFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ChecksumFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ColumnDescriptorFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ColumnDescriptorFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ColumnDescriptorFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ColumnDescriptorFormatter.g.cs index 0420129b..348b5523 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ColumnDescriptorFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ColumnDescriptorFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ColumnDescriptorFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ColumnDescriptorTypeFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ColumnDescriptorTypeFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ColumnDescriptorTypeFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ColumnDescriptorTypeFormatter.g.cs index 4c230d25..3dde767b 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ColumnDescriptorTypeFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ColumnDescriptorTypeFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ColumnDescriptorTypeFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ConfigurationDoneArgumentsFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ConfigurationDoneArgumentsFormatter.g.cs similarity index 97% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ConfigurationDoneArgumentsFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ConfigurationDoneArgumentsFormatter.g.cs index 1cd8dc44..83d60194 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ConfigurationDoneArgumentsFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ConfigurationDoneArgumentsFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ConfigurationDoneArgumentsFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ConfigurationDoneRequestFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ConfigurationDoneRequestFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ConfigurationDoneRequestFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ConfigurationDoneRequestFormatter.g.cs index d3e68ecd..72d09b21 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ConfigurationDoneRequestFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ConfigurationDoneRequestFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ConfigurationDoneRequestFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ConfigurationDoneResponseFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ConfigurationDoneResponseFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ConfigurationDoneResponseFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ConfigurationDoneResponseFormatter.g.cs index dfc20cc3..16e41da4 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ConfigurationDoneResponseFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ConfigurationDoneResponseFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ConfigurationDoneResponseFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ContinueArgumentsFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ContinueArgumentsFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ContinueArgumentsFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ContinueArgumentsFormatter.g.cs index 3d1fc210..4b4ce4a3 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ContinueArgumentsFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ContinueArgumentsFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ContinueArgumentsFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ContinueRequestFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ContinueRequestFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ContinueRequestFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ContinueRequestFormatter.g.cs index a413036c..c814cc48 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ContinueRequestFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ContinueRequestFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ContinueRequestFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ContinueResponseBodyFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ContinueResponseBodyFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ContinueResponseBodyFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ContinueResponseBodyFormatter.g.cs index 60899909..91e4880c 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ContinueResponseBodyFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ContinueResponseBodyFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ContinueResponseBodyFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ContinueResponseFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ContinueResponseFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ContinueResponseFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ContinueResponseFormatter.g.cs index d20d3858..e73199e9 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ContinueResponseFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ContinueResponseFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ContinueResponseFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ContinuedEventBodyFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ContinuedEventBodyFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ContinuedEventBodyFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ContinuedEventBodyFormatter.g.cs index df937dff..99acf2f3 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ContinuedEventBodyFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ContinuedEventBodyFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ContinuedEventBodyFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ContinuedEventFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ContinuedEventFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ContinuedEventFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ContinuedEventFormatter.g.cs index 8e0798a0..5eba9db7 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ContinuedEventFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ContinuedEventFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ContinuedEventFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/DisconnectArgumentsFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/DisconnectArgumentsFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/DisconnectArgumentsFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/DisconnectArgumentsFormatter.g.cs index 68156d6a..c52ae272 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/DisconnectArgumentsFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/DisconnectArgumentsFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class DisconnectArgumentsFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/DisconnectRequestFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/DisconnectRequestFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/DisconnectRequestFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/DisconnectRequestFormatter.g.cs index 894e4bff..423d911c 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/DisconnectRequestFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/DisconnectRequestFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class DisconnectRequestFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/DisconnectResponseFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/DisconnectResponseFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/DisconnectResponseFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/DisconnectResponseFormatter.g.cs index 9b4c6555..35290ada 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/DisconnectResponseFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/DisconnectResponseFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class DisconnectResponseFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ErrorResponseBodyFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ErrorResponseBodyFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ErrorResponseBodyFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ErrorResponseBodyFormatter.g.cs index 055c1027..c16161a0 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ErrorResponseBodyFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ErrorResponseBodyFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ErrorResponseBodyFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ErrorResponseFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ErrorResponseFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ErrorResponseFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ErrorResponseFormatter.g.cs index 8c95283a..f1ad48ad 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ErrorResponseFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ErrorResponseFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ErrorResponseFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/EvaluateArgumentsFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/EvaluateArgumentsFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/EvaluateArgumentsFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/EvaluateArgumentsFormatter.g.cs index f2a29b7c..e1e8def6 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/EvaluateArgumentsFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/EvaluateArgumentsFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class EvaluateArgumentsFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/EvaluateRequestFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/EvaluateRequestFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/EvaluateRequestFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/EvaluateRequestFormatter.g.cs index 4cabb8d2..a3efde4e 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/EvaluateRequestFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/EvaluateRequestFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class EvaluateRequestFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/EvaluateResponseBodyFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/EvaluateResponseBodyFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/EvaluateResponseBodyFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/EvaluateResponseBodyFormatter.g.cs index fcb63813..045473ad 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/EvaluateResponseBodyFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/EvaluateResponseBodyFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class EvaluateResponseBodyFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/EvaluateResponseFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/EvaluateResponseFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/EvaluateResponseFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/EvaluateResponseFormatter.g.cs index 387a55e8..1e0b9aab 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/EvaluateResponseFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/EvaluateResponseFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class EvaluateResponseFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/EventFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/EventFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/EventFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/EventFormatter.g.cs index e272fc65..240a53ad 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/EventFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/EventFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class EventFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ExceptionBreakpointsFilterFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ExceptionBreakpointsFilterFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ExceptionBreakpointsFilterFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ExceptionBreakpointsFilterFormatter.g.cs index 88f9da0b..79c350e0 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ExceptionBreakpointsFilterFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ExceptionBreakpointsFilterFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ExceptionBreakpointsFilterFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/InitializeRequestArgumentsFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/InitializeRequestArgumentsFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/InitializeRequestArgumentsFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/InitializeRequestArgumentsFormatter.g.cs index 05edef93..4d7c7f23 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/InitializeRequestArgumentsFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/InitializeRequestArgumentsFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class InitializeRequestArgumentsFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/InitializeRequestFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/InitializeRequestFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/InitializeRequestFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/InitializeRequestFormatter.g.cs index b67e9a58..b06e0305 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/InitializeRequestFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/InitializeRequestFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class InitializeRequestFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/InitializeResponseFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/InitializeResponseFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/InitializeResponseFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/InitializeResponseFormatter.g.cs index 6deb0051..f57927a0 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/InitializeResponseFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/InitializeResponseFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class InitializeResponseFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/InitializedEventFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/InitializedEventFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/InitializedEventFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/InitializedEventFormatter.g.cs index dece88fa..974df002 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/InitializedEventFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/InitializedEventFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class InitializedEventFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/LaunchRequestArgumentsFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/LaunchRequestArgumentsFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/LaunchRequestArgumentsFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/LaunchRequestArgumentsFormatter.g.cs index 2cd4b226..f0d3c3b9 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/LaunchRequestArgumentsFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/LaunchRequestArgumentsFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class LaunchRequestArgumentsFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/LaunchRequestFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/LaunchRequestFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/LaunchRequestFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/LaunchRequestFormatter.g.cs index f942f866..b00ae5fe 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/LaunchRequestFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/LaunchRequestFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class LaunchRequestFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/LaunchResponseFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/LaunchResponseFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/LaunchResponseFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/LaunchResponseFormatter.g.cs index b767a495..1947f56d 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/LaunchResponseFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/LaunchResponseFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class LaunchResponseFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/MessageFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/MessageFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/MessageFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/MessageFormatter.g.cs index 6778cf96..dd49ed78 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/MessageFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/MessageFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class MessageFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/NextArgumentsFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/NextArgumentsFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/NextArgumentsFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/NextArgumentsFormatter.g.cs index c7510482..2c4a4f64 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/NextArgumentsFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/NextArgumentsFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class NextArgumentsFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/NextRequestFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/NextRequestFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/NextRequestFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/NextRequestFormatter.g.cs index e63fe48a..b1e3c548 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/NextRequestFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/NextRequestFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class NextRequestFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/NextResponseFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/NextResponseFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/NextResponseFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/NextResponseFormatter.g.cs index 1e99b743..7a536dc6 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/NextResponseFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/NextResponseFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class NextResponseFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/OutputEventBodyFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/OutputEventBodyFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/OutputEventBodyFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/OutputEventBodyFormatter.g.cs index e9ea976c..b643c7ce 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/OutputEventBodyFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/OutputEventBodyFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class OutputEventBodyFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/OutputEventBodyGroupFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/OutputEventBodyGroupFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/OutputEventBodyGroupFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/OutputEventBodyGroupFormatter.g.cs index 6252618c..080342a4 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/OutputEventBodyGroupFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/OutputEventBodyGroupFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class OutputEventBodyGroupFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/OutputEventFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/OutputEventFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/OutputEventFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/OutputEventFormatter.g.cs index ee91f869..4026aa8d 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/OutputEventFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/OutputEventFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class OutputEventFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/PauseArgumentsFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/PauseArgumentsFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/PauseArgumentsFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/PauseArgumentsFormatter.g.cs index d7250081..09b1ba69 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/PauseArgumentsFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/PauseArgumentsFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class PauseArgumentsFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/PauseRequestFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/PauseRequestFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/PauseRequestFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/PauseRequestFormatter.g.cs index a429849e..a2ae8995 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/PauseRequestFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/PauseRequestFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class PauseRequestFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/PauseResponseFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/PauseResponseFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/PauseResponseFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/PauseResponseFormatter.g.cs index cbb844b2..ceb9fe88 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/PauseResponseFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/PauseResponseFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class PauseResponseFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ProtocolMessageFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ProtocolMessageFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ProtocolMessageFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ProtocolMessageFormatter.g.cs index 312d911a..8b44d612 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ProtocolMessageFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ProtocolMessageFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ProtocolMessageFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/RequestFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/RequestFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/RequestFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/RequestFormatter.g.cs index ef60e6aa..697da56f 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/RequestFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/RequestFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class RequestFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ResponseFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ResponseFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ResponseFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ResponseFormatter.g.cs index 1cd211e6..8841e957 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ResponseFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ResponseFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ResponseFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ScopeFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ScopeFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ScopeFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ScopeFormatter.g.cs index 667fe3e9..860ce658 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ScopeFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ScopeFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ScopeFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ScopesArgumentsFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ScopesArgumentsFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ScopesArgumentsFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ScopesArgumentsFormatter.g.cs index 99fd5232..779920f4 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ScopesArgumentsFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ScopesArgumentsFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ScopesArgumentsFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ScopesRequestFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ScopesRequestFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ScopesRequestFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ScopesRequestFormatter.g.cs index 616b16b2..b066ebfc 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ScopesRequestFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ScopesRequestFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ScopesRequestFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ScopesResponseBodyFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ScopesResponseBodyFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ScopesResponseBodyFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ScopesResponseBodyFormatter.g.cs index fba97c7c..a33904a2 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ScopesResponseBodyFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ScopesResponseBodyFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ScopesResponseBodyFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ScopesResponseFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ScopesResponseFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ScopesResponseFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ScopesResponseFormatter.g.cs index 5fc3263b..d217a77d 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ScopesResponseFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ScopesResponseFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ScopesResponseFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/SetBreakpointsArgumentsFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SetBreakpointsArgumentsFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/SetBreakpointsArgumentsFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SetBreakpointsArgumentsFormatter.g.cs index b1531012..8a4c376b 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/SetBreakpointsArgumentsFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SetBreakpointsArgumentsFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class SetBreakpointsArgumentsFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/SetBreakpointsRequestFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SetBreakpointsRequestFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/SetBreakpointsRequestFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SetBreakpointsRequestFormatter.g.cs index f7c31fa1..b31b2297 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/SetBreakpointsRequestFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SetBreakpointsRequestFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class SetBreakpointsRequestFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/SetBreakpointsResponseBodyFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SetBreakpointsResponseBodyFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/SetBreakpointsResponseBodyFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SetBreakpointsResponseBodyFormatter.g.cs index a12c3a7b..d419a342 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/SetBreakpointsResponseBodyFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SetBreakpointsResponseBodyFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class SetBreakpointsResponseBodyFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/SetBreakpointsResponseFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SetBreakpointsResponseFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/SetBreakpointsResponseFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SetBreakpointsResponseFormatter.g.cs index 20242401..d82c1421 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/SetBreakpointsResponseFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SetBreakpointsResponseFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class SetBreakpointsResponseFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/SourceBreakpointFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SourceBreakpointFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/SourceBreakpointFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SourceBreakpointFormatter.g.cs index 0f3830fe..0c8202f6 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/SourceBreakpointFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SourceBreakpointFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class SourceBreakpointFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/SourceFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SourceFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/SourceFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SourceFormatter.g.cs index 085bdc6c..555b981a 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/SourceFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SourceFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class SourceFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/SourcePresentationHintFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SourcePresentationHintFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/SourcePresentationHintFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SourcePresentationHintFormatter.g.cs index d1bec1f4..46951487 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/SourcePresentationHintFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SourcePresentationHintFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class SourcePresentationHintFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackFrameFormatFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackFrameFormatFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackFrameFormatFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackFrameFormatFormatter.g.cs index 01e486bc..7532b11b 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackFrameFormatFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackFrameFormatFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class StackFrameFormatFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackFrameFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackFrameFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackFrameFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackFrameFormatter.g.cs index 8a119981..ee89882f 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackFrameFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackFrameFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class StackFrameFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackFramePresentationHintFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackFramePresentationHintFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackFramePresentationHintFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackFramePresentationHintFormatter.g.cs index a6dc589e..10d8386c 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackFramePresentationHintFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackFramePresentationHintFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class StackFramePresentationHintFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackTraceArgumentsFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackTraceArgumentsFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackTraceArgumentsFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackTraceArgumentsFormatter.g.cs index 60af61d1..cb497894 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackTraceArgumentsFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackTraceArgumentsFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class StackTraceArgumentsFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackTraceRequestFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackTraceRequestFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackTraceRequestFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackTraceRequestFormatter.g.cs index ecf998bc..1973ad33 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackTraceRequestFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackTraceRequestFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class StackTraceRequestFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackTraceResponseBodyFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackTraceResponseBodyFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackTraceResponseBodyFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackTraceResponseBodyFormatter.g.cs index 80138f40..8e4da80a 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackTraceResponseBodyFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackTraceResponseBodyFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class StackTraceResponseBodyFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackTraceResponseFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackTraceResponseFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackTraceResponseFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackTraceResponseFormatter.g.cs index 1fbc6b3a..5147cf2a 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StackTraceResponseFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StackTraceResponseFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class StackTraceResponseFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StepInArgumentsFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StepInArgumentsFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/StepInArgumentsFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StepInArgumentsFormatter.g.cs index d14e03d3..89a38686 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StepInArgumentsFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StepInArgumentsFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class StepInArgumentsFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StepInRequestFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StepInRequestFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/StepInRequestFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StepInRequestFormatter.g.cs index deed7dea..be90248c 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StepInRequestFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StepInRequestFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class StepInRequestFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StepInResponseFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StepInResponseFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/StepInResponseFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StepInResponseFormatter.g.cs index aab3d066..9b868fc2 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StepInResponseFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StepInResponseFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class StepInResponseFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StepOutArgumentsFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StepOutArgumentsFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/StepOutArgumentsFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StepOutArgumentsFormatter.g.cs index 169ef684..35015036 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StepOutArgumentsFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StepOutArgumentsFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class StepOutArgumentsFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StepOutRequestFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StepOutRequestFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/StepOutRequestFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StepOutRequestFormatter.g.cs index a40bacef..a98018e1 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StepOutRequestFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StepOutRequestFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class StepOutRequestFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StepOutResponseFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StepOutResponseFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/StepOutResponseFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StepOutResponseFormatter.g.cs index af53344b..562d1a51 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StepOutResponseFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StepOutResponseFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class StepOutResponseFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/SteppingGranularityFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SteppingGranularityFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/SteppingGranularityFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SteppingGranularityFormatter.g.cs index 39d6a222..d2e83ece 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/SteppingGranularityFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/SteppingGranularityFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class SteppingGranularityFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StoppedEventBodyFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StoppedEventBodyFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/StoppedEventBodyFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StoppedEventBodyFormatter.g.cs index 11784e3b..4a3d3d99 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StoppedEventBodyFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StoppedEventBodyFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class StoppedEventBodyFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StoppedEventFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StoppedEventFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/StoppedEventFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StoppedEventFormatter.g.cs index 83942726..94676d10 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/StoppedEventFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/StoppedEventFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class StoppedEventFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/TerminateArgumentsFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/TerminateArgumentsFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/TerminateArgumentsFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/TerminateArgumentsFormatter.g.cs index 26091b9e..aff29ff2 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/TerminateArgumentsFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/TerminateArgumentsFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class TerminateArgumentsFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/TerminateRequestFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/TerminateRequestFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/TerminateRequestFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/TerminateRequestFormatter.g.cs index 091c9fd4..6c609211 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/TerminateRequestFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/TerminateRequestFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class TerminateRequestFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/TerminateResponseFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/TerminateResponseFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/TerminateResponseFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/TerminateResponseFormatter.g.cs index 5b173be9..9f178055 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/TerminateResponseFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/TerminateResponseFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class TerminateResponseFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/TerminatedEventBodyFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/TerminatedEventBodyFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/TerminatedEventBodyFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/TerminatedEventBodyFormatter.g.cs index ef22d59a..90dbb2b2 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/TerminatedEventBodyFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/TerminatedEventBodyFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class TerminatedEventBodyFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/TerminatedEventFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/TerminatedEventFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/TerminatedEventFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/TerminatedEventFormatter.g.cs index ea96384e..5363e6ea 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/TerminatedEventFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/TerminatedEventFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class TerminatedEventFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ThreadFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ThreadFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ThreadFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ThreadFormatter.g.cs index 0800cd25..9bb88d64 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ThreadFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ThreadFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ThreadFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ThreadsRequestFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ThreadsRequestFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ThreadsRequestFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ThreadsRequestFormatter.g.cs index 3ef3564a..82f90bf5 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ThreadsRequestFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ThreadsRequestFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ThreadsRequestFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ThreadsResponseBodyFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ThreadsResponseBodyFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ThreadsResponseBodyFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ThreadsResponseBodyFormatter.g.cs index 701fa316..ab039e47 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ThreadsResponseBodyFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ThreadsResponseBodyFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ThreadsResponseBodyFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ThreadsResponseFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ThreadsResponseFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ThreadsResponseFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ThreadsResponseFormatter.g.cs index 92070cc9..d214303d 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ThreadsResponseFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ThreadsResponseFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ThreadsResponseFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ValueFormatFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ValueFormatFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/ValueFormatFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ValueFormatFormatter.g.cs index 2d2ad5fc..bff521e8 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/ValueFormatFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/ValueFormatFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class ValueFormatFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariableFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariableFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariableFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariableFormatter.g.cs index c9659b00..76cfa240 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariableFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariableFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class VariableFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariablePresentationHintFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariablePresentationHintFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariablePresentationHintFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariablePresentationHintFormatter.g.cs index f7ea5fa5..22396a13 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariablePresentationHintFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariablePresentationHintFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class VariablePresentationHintFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariablesArgumentsFilterFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariablesArgumentsFilterFormatter.g.cs similarity index 97% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariablesArgumentsFilterFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariablesArgumentsFilterFormatter.g.cs index f6608739..d41da92d 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariablesArgumentsFilterFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariablesArgumentsFilterFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class VariablesArgumentsFilterFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariablesArgumentsFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariablesArgumentsFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariablesArgumentsFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariablesArgumentsFormatter.g.cs index 744900a0..5aa286af 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariablesArgumentsFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariablesArgumentsFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class VariablesArgumentsFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariablesRequestFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariablesRequestFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariablesRequestFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariablesRequestFormatter.g.cs index e5e979c2..cd10deb0 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariablesRequestFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariablesRequestFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class VariablesRequestFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariablesResponseBodyFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariablesResponseBodyFormatter.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariablesResponseBodyFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariablesResponseBodyFormatter.g.cs index 1dc0a117..234bfe6b 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariablesResponseBodyFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariablesResponseBodyFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class VariablesResponseBodyFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariablesResponseFormatter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariablesResponseFormatter.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariablesResponseFormatter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariablesResponseFormatter.g.cs index cd01d7ee..5dcfd3e9 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Formatters/VariablesResponseFormatter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Formatters/VariablesResponseFormatter.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; static partial class VariablesResponseFormatter { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/InitializeRequest.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/InitializeRequest.g.cs similarity index 81% rename from src/MRubyCS.Debugger.Dap/Protocol/InitializeRequest.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/InitializeRequest.g.cs index d2d43a34..06e49eef 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/InitializeRequest.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/InitializeRequest.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class InitializeRequest : Request { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/InitializeRequestArguments.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/InitializeRequestArguments.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/InitializeRequestArguments.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/InitializeRequestArguments.g.cs index 004e52ab..7e55f711 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/InitializeRequestArguments.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/InitializeRequestArguments.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Arguments for `initialize` request. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/InitializeResponse.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/InitializeResponse.g.cs similarity index 85% rename from src/MRubyCS.Debugger.Dap/Protocol/InitializeResponse.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/InitializeResponse.g.cs index 16af0b45..a00f3773 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/InitializeResponse.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/InitializeResponse.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class InitializeResponse : Response { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/InitializedEvent.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/InitializedEvent.g.cs similarity index 72% rename from src/MRubyCS.Debugger.Dap/Protocol/InitializedEvent.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/InitializedEvent.g.cs index 28c20b05..f7645604 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/InitializedEvent.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/InitializedEvent.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class InitializedEvent : Event { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/LaunchRequest.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/LaunchRequest.g.cs similarity index 81% rename from src/MRubyCS.Debugger.Dap/Protocol/LaunchRequest.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/LaunchRequest.g.cs index 9a139ee5..f4382012 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/LaunchRequest.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/LaunchRequest.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class LaunchRequest : Request { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/LaunchRequestArguments.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/LaunchRequestArguments.g.cs similarity index 84% rename from src/MRubyCS.Debugger.Dap/Protocol/LaunchRequestArguments.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/LaunchRequestArguments.g.cs index 7176c42c..0263f348 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/LaunchRequestArguments.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/LaunchRequestArguments.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Arguments for `launch` request. Additional attributes are implementation specific. @@ -22,7 +22,7 @@ public partial class LaunchRequestArguments public object? Restart { get; set; } /// - /// MRubyCS adapter-specific: absolute path to the Ruby script to load and run on launch. + /// ChibiRuby adapter-specific: absolute path to the Ruby script to load and run on launch. /// public string? Program { get; set; } } diff --git a/src/MRubyCS.Debugger.Dap/Protocol/LaunchResponse.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/LaunchResponse.g.cs similarity index 72% rename from src/MRubyCS.Debugger.Dap/Protocol/LaunchResponse.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/LaunchResponse.g.cs index 97e788c5..06360dc3 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/LaunchResponse.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/LaunchResponse.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class LaunchResponse : Response { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Message.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Message.g.cs similarity index 97% rename from src/MRubyCS.Debugger.Dap/Protocol/Message.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Message.g.cs index ab04ee76..6b1b5f51 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Message.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Message.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// A structured message object. Used to return errors from requests. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/NextArguments.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/NextArguments.g.cs similarity index 93% rename from src/MRubyCS.Debugger.Dap/Protocol/NextArguments.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/NextArguments.g.cs index fe2ae734..f17915aa 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/NextArguments.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/NextArguments.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Arguments for `next` request. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/NextRequest.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/NextRequest.g.cs similarity index 79% rename from src/MRubyCS.Debugger.Dap/Protocol/NextRequest.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/NextRequest.g.cs index a155d825..2e1ed845 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/NextRequest.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/NextRequest.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class NextRequest : Request { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/NextResponse.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/NextResponse.g.cs similarity index 72% rename from src/MRubyCS.Debugger.Dap/Protocol/NextResponse.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/NextResponse.g.cs index b1455ab6..8a4bab54 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/NextResponse.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/NextResponse.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class NextResponse : Response { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/OutputEvent.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/OutputEvent.g.cs similarity index 79% rename from src/MRubyCS.Debugger.Dap/Protocol/OutputEvent.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/OutputEvent.g.cs index 0974de60..4f388ad5 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/OutputEvent.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/OutputEvent.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class OutputEvent : Event { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/OutputEventBody.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/OutputEventBody.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/OutputEventBody.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/OutputEventBody.g.cs index 0d7e9fdf..c9d58abc 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/OutputEventBody.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/OutputEventBody.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class OutputEventBody { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/OutputEventBodyGroup.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/OutputEventBodyGroup.g.cs similarity index 85% rename from src/MRubyCS.Debugger.Dap/Protocol/OutputEventBodyGroup.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/OutputEventBodyGroup.g.cs index 18c76c46..adfec791 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/OutputEventBodyGroup.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/OutputEventBodyGroup.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Support for keeping an output log organized by grouping related messages. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/PauseArguments.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/PauseArguments.g.cs similarity index 85% rename from src/MRubyCS.Debugger.Dap/Protocol/PauseArguments.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/PauseArguments.g.cs index 7b08d5a3..7e1f2cf9 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/PauseArguments.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/PauseArguments.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Arguments for `pause` request. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/PauseRequest.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/PauseRequest.g.cs similarity index 79% rename from src/MRubyCS.Debugger.Dap/Protocol/PauseRequest.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/PauseRequest.g.cs index 986e60e2..80a70d1d 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/PauseRequest.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/PauseRequest.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class PauseRequest : Request { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/PauseResponse.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/PauseResponse.g.cs similarity index 72% rename from src/MRubyCS.Debugger.Dap/Protocol/PauseResponse.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/PauseResponse.g.cs index c74b6b64..575fdbd6 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/PauseResponse.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/PauseResponse.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class PauseResponse : Response { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ProtocolMessage.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ProtocolMessage.g.cs similarity index 94% rename from src/MRubyCS.Debugger.Dap/Protocol/ProtocolMessage.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ProtocolMessage.g.cs index ee652bd8..627b1b2c 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ProtocolMessage.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ProtocolMessage.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Base class of requests, responses, and events. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ProtocolSerializer.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ProtocolSerializer.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/ProtocolSerializer.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ProtocolSerializer.g.cs index f6ece1c2..f535a4b0 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ProtocolSerializer.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ProtocolSerializer.g.cs @@ -5,7 +5,7 @@ using System; using System.Buffers; -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public sealed class NoJsonSerializerOptions { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Request.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Request.g.cs similarity index 89% rename from src/MRubyCS.Debugger.Dap/Protocol/Request.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Request.g.cs index 3b31460c..cabcae9e 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Request.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Request.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public abstract partial class Request : ProtocolMessage { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Response.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Response.g.cs similarity index 96% rename from src/MRubyCS.Debugger.Dap/Protocol/Response.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Response.g.cs index e09bbf4d..3355301d 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Response.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Response.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class Response : ProtocolMessage { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Scope.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Scope.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Scope.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Scope.g.cs index df1507f1..763ccf08 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Scope.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Scope.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// A `Scope` is a named container for variables. Optionally a scope can map to a source or a range within a source. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ScopesArguments.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ScopesArguments.g.cs similarity index 91% rename from src/MRubyCS.Debugger.Dap/Protocol/ScopesArguments.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ScopesArguments.g.cs index 5e786804..c7b2eed0 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ScopesArguments.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ScopesArguments.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Arguments for `scopes` request. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ScopesRequest.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ScopesRequest.g.cs similarity index 79% rename from src/MRubyCS.Debugger.Dap/Protocol/ScopesRequest.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ScopesRequest.g.cs index 7784b988..33933d13 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ScopesRequest.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ScopesRequest.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class ScopesRequest : Request { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ScopesResponse.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ScopesResponse.g.cs similarity index 79% rename from src/MRubyCS.Debugger.Dap/Protocol/ScopesResponse.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ScopesResponse.g.cs index f110d954..1e2f34f7 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ScopesResponse.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ScopesResponse.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class ScopesResponse : Response { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ScopesResponseBody.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ScopesResponseBody.g.cs similarity index 85% rename from src/MRubyCS.Debugger.Dap/Protocol/ScopesResponseBody.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ScopesResponseBody.g.cs index 389e7681..d241ca88 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ScopesResponseBody.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ScopesResponseBody.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// The scopes of the stack frame. If the array has length zero, there are no scopes available. public readonly partial record struct ScopesResponseBody(Scope[] Scopes); diff --git a/src/MRubyCS.Debugger.Dap/Protocol/SetBreakpointsArguments.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/SetBreakpointsArguments.g.cs similarity index 95% rename from src/MRubyCS.Debugger.Dap/Protocol/SetBreakpointsArguments.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/SetBreakpointsArguments.g.cs index fb9b00cc..e07c8408 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/SetBreakpointsArguments.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/SetBreakpointsArguments.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Arguments for `setBreakpoints` request. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/SetBreakpointsRequest.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/SetBreakpointsRequest.g.cs similarity index 81% rename from src/MRubyCS.Debugger.Dap/Protocol/SetBreakpointsRequest.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/SetBreakpointsRequest.g.cs index da1ecef4..2c39e6c4 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/SetBreakpointsRequest.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/SetBreakpointsRequest.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class SetBreakpointsRequest : Request { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/SetBreakpointsResponse.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/SetBreakpointsResponse.g.cs similarity index 81% rename from src/MRubyCS.Debugger.Dap/Protocol/SetBreakpointsResponse.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/SetBreakpointsResponse.g.cs index 25070e21..cf0b4ca9 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/SetBreakpointsResponse.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/SetBreakpointsResponse.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class SetBreakpointsResponse : Response { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/SetBreakpointsResponseBody.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/SetBreakpointsResponseBody.g.cs similarity index 90% rename from src/MRubyCS.Debugger.Dap/Protocol/SetBreakpointsResponseBody.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/SetBreakpointsResponseBody.g.cs index 97e032f4..73fc0679 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/SetBreakpointsResponseBody.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/SetBreakpointsResponseBody.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// Information about the breakpoints. /// The array elements are in the same order as the elements of the `breakpoints` (or the deprecated `lines`) array in the arguments. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Source.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Source.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/Source.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Source.g.cs index 6455de9d..8f523871 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Source.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Source.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// A `Source` is a descriptor for source code. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/SourceBreakpoint.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/SourceBreakpoint.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/SourceBreakpoint.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/SourceBreakpoint.g.cs index 122a2841..7884f342 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/SourceBreakpoint.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/SourceBreakpoint.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Properties of a breakpoint or logpoint passed to the `setBreakpoints` request. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/SourcePresentationHint.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/SourcePresentationHint.g.cs similarity index 89% rename from src/MRubyCS.Debugger.Dap/Protocol/SourcePresentationHint.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/SourcePresentationHint.g.cs index 437201dd..4c15874f 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/SourcePresentationHint.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/SourcePresentationHint.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// A hint for how to present the source in the UI. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/StackFrame.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/StackFrame.g.cs similarity index 98% rename from src/MRubyCS.Debugger.Dap/Protocol/StackFrame.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/StackFrame.g.cs index 132f9e78..67d6d5e6 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/StackFrame.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/StackFrame.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// A Stackframe contains the source location. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/StackFrameFormat.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/StackFrameFormat.g.cs similarity index 96% rename from src/MRubyCS.Debugger.Dap/Protocol/StackFrameFormat.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/StackFrameFormat.g.cs index b89a6cbe..4ed1136c 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/StackFrameFormat.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/StackFrameFormat.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class StackFrameFormat : ValueFormat { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/StackFramePresentationHint.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/StackFramePresentationHint.g.cs similarity index 91% rename from src/MRubyCS.Debugger.Dap/Protocol/StackFramePresentationHint.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/StackFramePresentationHint.g.cs index 9d2e1950..fda6f02b 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/StackFramePresentationHint.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/StackFramePresentationHint.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// A hint for how to present this frame in the UI. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/StackTraceArguments.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/StackTraceArguments.g.cs similarity index 96% rename from src/MRubyCS.Debugger.Dap/Protocol/StackTraceArguments.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/StackTraceArguments.g.cs index 6be3b5f8..3a0c3342 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/StackTraceArguments.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/StackTraceArguments.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Arguments for `stackTrace` request. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/StackTraceRequest.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/StackTraceRequest.g.cs similarity index 81% rename from src/MRubyCS.Debugger.Dap/Protocol/StackTraceRequest.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/StackTraceRequest.g.cs index 23d39079..12028b35 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/StackTraceRequest.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/StackTraceRequest.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class StackTraceRequest : Request { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/StackTraceResponse.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/StackTraceResponse.g.cs similarity index 80% rename from src/MRubyCS.Debugger.Dap/Protocol/StackTraceResponse.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/StackTraceResponse.g.cs index b39d5223..73e26e61 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/StackTraceResponse.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/StackTraceResponse.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class StackTraceResponse : Response { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/StackTraceResponseBody.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/StackTraceResponseBody.g.cs similarity index 95% rename from src/MRubyCS.Debugger.Dap/Protocol/StackTraceResponseBody.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/StackTraceResponseBody.g.cs index c439f73f..8f7a5e5e 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/StackTraceResponseBody.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/StackTraceResponseBody.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// The frames of the stack frame. If the array has length zero, there are no stack frames available. /// This means that there is no location information available. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/StepInArguments.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/StepInArguments.g.cs similarity index 95% rename from src/MRubyCS.Debugger.Dap/Protocol/StepInArguments.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/StepInArguments.g.cs index 5a1a685f..095f8640 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/StepInArguments.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/StepInArguments.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Arguments for `stepIn` request. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/StepInRequest.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/StepInRequest.g.cs similarity index 80% rename from src/MRubyCS.Debugger.Dap/Protocol/StepInRequest.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/StepInRequest.g.cs index 43f05933..01f91159 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/StepInRequest.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/StepInRequest.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class StepInRequest : Request { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/StepInResponse.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/StepInResponse.g.cs similarity index 72% rename from src/MRubyCS.Debugger.Dap/Protocol/StepInResponse.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/StepInResponse.g.cs index 97fbdbcc..0e8e6fea 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/StepInResponse.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/StepInResponse.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class StepInResponse : Response { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/StepOutArguments.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/StepOutArguments.g.cs similarity index 93% rename from src/MRubyCS.Debugger.Dap/Protocol/StepOutArguments.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/StepOutArguments.g.cs index e1bb3630..679db757 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/StepOutArguments.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/StepOutArguments.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Arguments for `stepOut` request. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/StepOutRequest.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/StepOutRequest.g.cs similarity index 79% rename from src/MRubyCS.Debugger.Dap/Protocol/StepOutRequest.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/StepOutRequest.g.cs index 7cdfd3da..1a8576aa 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/StepOutRequest.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/StepOutRequest.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class StepOutRequest : Request { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/StepOutResponse.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/StepOutResponse.g.cs similarity index 72% rename from src/MRubyCS.Debugger.Dap/Protocol/StepOutResponse.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/StepOutResponse.g.cs index 8608c537..b6c35613 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/StepOutResponse.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/StepOutResponse.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class StepOutResponse : Response { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/SteppingGranularity.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/SteppingGranularity.g.cs similarity index 86% rename from src/MRubyCS.Debugger.Dap/Protocol/SteppingGranularity.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/SteppingGranularity.g.cs index 86055789..7cb3a43a 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/SteppingGranularity.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/SteppingGranularity.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// The granularity of one 'step' in the stepping requests `next`, `stepIn`, `stepOut`, and `stepBack`. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/StoppedEvent.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/StoppedEvent.g.cs similarity index 79% rename from src/MRubyCS.Debugger.Dap/Protocol/StoppedEvent.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/StoppedEvent.g.cs index f8bfa832..f1c44dae 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/StoppedEvent.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/StoppedEvent.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class StoppedEvent : Event { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/StoppedEventBody.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/StoppedEventBody.g.cs similarity index 97% rename from src/MRubyCS.Debugger.Dap/Protocol/StoppedEventBody.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/StoppedEventBody.g.cs index 41eb2593..f9b0bcfa 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/StoppedEventBody.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/StoppedEventBody.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class StoppedEventBody { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/TerminateArguments.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/TerminateArguments.g.cs similarity index 88% rename from src/MRubyCS.Debugger.Dap/Protocol/TerminateArguments.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/TerminateArguments.g.cs index a45ef5b0..d84926ed 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/TerminateArguments.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/TerminateArguments.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Arguments for `terminate` request. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/TerminateRequest.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/TerminateRequest.g.cs similarity index 80% rename from src/MRubyCS.Debugger.Dap/Protocol/TerminateRequest.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/TerminateRequest.g.cs index 15a4e86d..4cf8129d 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/TerminateRequest.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/TerminateRequest.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class TerminateRequest : Request { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/TerminateResponse.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/TerminateResponse.g.cs similarity index 73% rename from src/MRubyCS.Debugger.Dap/Protocol/TerminateResponse.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/TerminateResponse.g.cs index 96a5389d..fd8a04a0 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/TerminateResponse.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/TerminateResponse.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class TerminateResponse : Response { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/TerminatedEvent.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/TerminatedEvent.g.cs similarity index 79% rename from src/MRubyCS.Debugger.Dap/Protocol/TerminatedEvent.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/TerminatedEvent.g.cs index 1492f52c..a2266aaa 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/TerminatedEvent.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/TerminatedEvent.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class TerminatedEvent : Event { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/TerminatedEventBody.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/TerminatedEventBody.g.cs similarity index 91% rename from src/MRubyCS.Debugger.Dap/Protocol/TerminatedEventBody.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/TerminatedEventBody.g.cs index e89c531d..4c43caf4 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/TerminatedEventBody.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/TerminatedEventBody.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// A debug adapter may set `restart` to true (or to an arbitrary object) to request that the client restarts the session. /// The value is not interpreted by the client and passed unmodified as an attribute `__restart` to the `launch` and `attach` requests. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Thread.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Thread.g.cs similarity index 87% rename from src/MRubyCS.Debugger.Dap/Protocol/Thread.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Thread.g.cs index bfcbf382..2e7935ba 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Thread.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Thread.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// A Thread diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ThreadsRequest.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ThreadsRequest.g.cs similarity index 72% rename from src/MRubyCS.Debugger.Dap/Protocol/ThreadsRequest.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ThreadsRequest.g.cs index e353de37..1d7758ce 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ThreadsRequest.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ThreadsRequest.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class ThreadsRequest : Request { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ThreadsResponse.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ThreadsResponse.g.cs similarity index 79% rename from src/MRubyCS.Debugger.Dap/Protocol/ThreadsResponse.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ThreadsResponse.g.cs index d21006a3..63b1e04b 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ThreadsResponse.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ThreadsResponse.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class ThreadsResponse : Response { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ThreadsResponseBody.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ThreadsResponseBody.g.cs similarity index 81% rename from src/MRubyCS.Debugger.Dap/Protocol/ThreadsResponseBody.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ThreadsResponseBody.g.cs index 1fbdaf7f..4346bc74 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ThreadsResponseBody.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ThreadsResponseBody.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// All threads. public readonly partial record struct ThreadsResponseBody(Thread[] Threads); diff --git a/src/MRubyCS.Debugger.Dap/Protocol/ValueFormat.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/ValueFormat.g.cs similarity index 86% rename from src/MRubyCS.Debugger.Dap/Protocol/ValueFormat.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/ValueFormat.g.cs index cfe74338..e87b950c 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/ValueFormat.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/ValueFormat.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Provides formatting information for a value. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/Variable.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/Variable.g.cs similarity index 99% rename from src/MRubyCS.Debugger.Dap/Protocol/Variable.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/Variable.g.cs index 5ecd3cbc..6b5c5977 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/Variable.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/Variable.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// A Variable is a name/value pair. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/VariablePresentationHint.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/VariablePresentationHint.g.cs similarity index 97% rename from src/MRubyCS.Debugger.Dap/Protocol/VariablePresentationHint.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/VariablePresentationHint.g.cs index 0cb2550b..b0c60e2d 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/VariablePresentationHint.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/VariablePresentationHint.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Properties of a variable that can be used to determine how to render the variable in the UI. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/VariablesArguments.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/VariablesArguments.g.cs similarity index 97% rename from src/MRubyCS.Debugger.Dap/Protocol/VariablesArguments.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/VariablesArguments.g.cs index 11869af0..9e4316ec 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/VariablesArguments.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/VariablesArguments.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Arguments for `variables` request. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/VariablesArgumentsFilter.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/VariablesArgumentsFilter.g.cs similarity index 85% rename from src/MRubyCS.Debugger.Dap/Protocol/VariablesArgumentsFilter.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/VariablesArgumentsFilter.g.cs index 7c9cce4f..d17762e0 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/VariablesArgumentsFilter.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/VariablesArgumentsFilter.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// /// Filter to limit the child variables to either named or indexed. If omitted, both types are fetched. diff --git a/src/MRubyCS.Debugger.Dap/Protocol/VariablesRequest.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/VariablesRequest.g.cs similarity index 80% rename from src/MRubyCS.Debugger.Dap/Protocol/VariablesRequest.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/VariablesRequest.g.cs index f30d6c5a..76d564aa 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/VariablesRequest.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/VariablesRequest.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class VariablesRequest : Request { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/VariablesResponse.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/VariablesResponse.g.cs similarity index 80% rename from src/MRubyCS.Debugger.Dap/Protocol/VariablesResponse.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/VariablesResponse.g.cs index 7da96d48..c05f0fb3 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/VariablesResponse.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/VariablesResponse.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; public partial class VariablesResponse : Response { diff --git a/src/MRubyCS.Debugger.Dap/Protocol/VariablesResponseBody.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/VariablesResponseBody.g.cs similarity index 85% rename from src/MRubyCS.Debugger.Dap/Protocol/VariablesResponseBody.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/VariablesResponseBody.g.cs index fa043ff2..cfeea441 100644 --- a/src/MRubyCS.Debugger.Dap/Protocol/VariablesResponseBody.g.cs +++ b/src/ChibiRuby.Debugger.Dap/Protocol/VariablesResponseBody.g.cs @@ -2,7 +2,7 @@ #nullable enable #pragma warning disable -namespace MRubyCS.Debugger.Dap.Protocol; +namespace ChibiRuby.Debugger.Dap.Protocol; /// All (or a range) of variables for the given variable reference. public readonly partial record struct VariablesResponseBody(Variable[] Variables); diff --git a/src/MRubyCS.Debugger.Dap/Protocol/_IsExternalInitShim.g.cs b/src/ChibiRuby.Debugger.Dap/Protocol/_IsExternalInitShim.g.cs similarity index 100% rename from src/MRubyCS.Debugger.Dap/Protocol/_IsExternalInitShim.g.cs rename to src/ChibiRuby.Debugger.Dap/Protocol/_IsExternalInitShim.g.cs diff --git a/src/MRubyCS.Debugger.Dap/Schema/.gitignore b/src/ChibiRuby.Debugger.Dap/Schema/.gitignore similarity index 100% rename from src/MRubyCS.Debugger.Dap/Schema/.gitignore rename to src/ChibiRuby.Debugger.Dap/Schema/.gitignore diff --git a/src/MRubyCS.Debugger.Dap/Schema/build-schema.sh b/src/ChibiRuby.Debugger.Dap/Schema/build-schema.sh similarity index 95% rename from src/MRubyCS.Debugger.Dap/Schema/build-schema.sh rename to src/ChibiRuby.Debugger.Dap/Schema/build-schema.sh index 4e672d85..2a31bf4e 100755 --- a/src/MRubyCS.Debugger.Dap/Schema/build-schema.sh +++ b/src/ChibiRuby.Debugger.Dap/Schema/build-schema.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Fetch the upstream DAP JSON Schema and deep-merge our MRubyCS overlay on top. +# Fetch the upstream DAP JSON Schema and deep-merge our ChibiRuby overlay on top. # Output: dap-schema.json (the file fed to NoJsonSchema). Commit the result so # regeneration doesn't require network access. # diff --git a/src/MRubyCS.Debugger.Dap/Schema/dap-schema.json b/src/ChibiRuby.Debugger.Dap/Schema/dap-schema.json similarity index 99% rename from src/MRubyCS.Debugger.Dap/Schema/dap-schema.json rename to src/ChibiRuby.Debugger.Dap/Schema/dap-schema.json index 12a166fd..1f6c4b4b 100644 --- a/src/MRubyCS.Debugger.Dap/Schema/dap-schema.json +++ b/src/ChibiRuby.Debugger.Dap/Schema/dap-schema.json @@ -1547,7 +1547,7 @@ }, "program": { "type": "string", - "description": "MRubyCS adapter-specific: absolute path to the Ruby script to load and run on launch." + "description": "ChibiRuby adapter-specific: absolute path to the Ruby script to load and run on launch." } } }, @@ -1606,7 +1606,7 @@ }, "program": { "type": "string", - "description": "MRubyCS adapter-specific: absolute path to the Ruby script the host is running (used to resolve relative source paths in stack frames)." + "description": "ChibiRuby adapter-specific: absolute path to the Ruby script the host is running (used to resolve relative source paths in stack frames)." } } }, diff --git a/src/MRubyCS.Debugger.Dap/Schema/dap-schema.overlay.json b/src/ChibiRuby.Debugger.Dap/Schema/dap-schema.overlay.json similarity index 75% rename from src/MRubyCS.Debugger.Dap/Schema/dap-schema.overlay.json rename to src/ChibiRuby.Debugger.Dap/Schema/dap-schema.overlay.json index f2a4c105..3862ac61 100644 --- a/src/MRubyCS.Debugger.Dap/Schema/dap-schema.overlay.json +++ b/src/ChibiRuby.Debugger.Dap/Schema/dap-schema.overlay.json @@ -1,5 +1,5 @@ { - "_comment_overlay_purpose": "MRubyCS additions to the upstream DAP schema. Applied by build-schema.sh via jq deep-merge. Two kinds of additions: (1) OpenAPI-style discriminator on `Request` so NoJsonSchema can polymorphically dispatch by `command` (drops a 17-arm manual switch in the handler); (2) adapter-specific fields the upstream schema doesn't model (currently just `program` on launch/attach arguments).", + "_comment_overlay_purpose": "ChibiRuby additions to the upstream DAP schema. Applied by build-schema.sh via jq deep-merge. Two kinds of additions: (1) OpenAPI-style discriminator on `Request` so NoJsonSchema can polymorphically dispatch by `command` (drops a 17-arm manual switch in the handler); (2) adapter-specific fields the upstream schema doesn't model (currently just `program` on launch/attach arguments).", "definitions": { @@ -49,11 +49,11 @@ }, "LaunchRequestArguments": { - "_comment_program": "MRubyCS adapter-specific: absolute path to the Ruby script to load. The standard DAP launch arguments are extension-points (`Additional attributes are implementation specific`), so it's legitimate to extend the schema here rather than tack it on at deserialize time.", + "_comment_program": "ChibiRuby adapter-specific: absolute path to the Ruby script to load. The standard DAP launch arguments are extension-points (`Additional attributes are implementation specific`), so it's legitimate to extend the schema here rather than tack it on at deserialize time.", "properties": { "program": { "type": "string", - "description": "MRubyCS adapter-specific: absolute path to the Ruby script to load and run on launch." + "description": "ChibiRuby adapter-specific: absolute path to the Ruby script to load and run on launch." } } }, @@ -62,7 +62,7 @@ "properties": { "program": { "type": "string", - "description": "MRubyCS adapter-specific: absolute path to the Ruby script the host is running (used to resolve relative source paths in stack frames)." + "description": "ChibiRuby adapter-specific: absolute path to the Ruby script the host is running (used to resolve relative source paths in stack frames)." } } } diff --git a/src/ChibiRuby.Debugger/ChibiRuby.Debugger.csproj b/src/ChibiRuby.Debugger/ChibiRuby.Debugger.csproj new file mode 100644 index 00000000..0fced682 --- /dev/null +++ b/src/ChibiRuby.Debugger/ChibiRuby.Debugger.csproj @@ -0,0 +1,20 @@ + + + + net8.0;net9.0;net10.0;netstandard2.1 + enable + 13 + Debugger core for ChibiRuby. Protocol-agnostic primitives for breakpoints, stepping, and binding.irb suspension. + + + + + + + + + + + + + diff --git a/src/MRubyCS.Debugger/EvalResult.cs b/src/ChibiRuby.Debugger/EvalResult.cs similarity index 85% rename from src/MRubyCS.Debugger/EvalResult.cs rename to src/ChibiRuby.Debugger/EvalResult.cs index cf62422c..c07cf539 100644 --- a/src/MRubyCS.Debugger/EvalResult.cs +++ b/src/ChibiRuby.Debugger/EvalResult.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Debugger; +namespace ChibiRuby.Debugger; public sealed class EvalResult { diff --git a/src/MRubyCS.Debugger/IDebuggerClient.cs b/src/ChibiRuby.Debugger/IDebuggerClient.cs similarity index 93% rename from src/MRubyCS.Debugger/IDebuggerClient.cs rename to src/ChibiRuby.Debugger/IDebuggerClient.cs index c7f2415d..f81a4814 100644 --- a/src/MRubyCS.Debugger/IDebuggerClient.cs +++ b/src/ChibiRuby.Debugger/IDebuggerClient.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Debugger; +namespace ChibiRuby.Debugger; /// Connector between and an outer protocol (DAP, test harness, ...). public interface IDebuggerClient diff --git a/src/MRubyCS.Debugger/MRubyDebugger.cs b/src/ChibiRuby.Debugger/MRubyDebugger.cs similarity index 98% rename from src/MRubyCS.Debugger/MRubyDebugger.cs rename to src/ChibiRuby.Debugger/MRubyDebugger.cs index 23133182..dff5a291 100644 --- a/src/MRubyCS.Debugger/MRubyDebugger.cs +++ b/src/ChibiRuby.Debugger/MRubyDebugger.cs @@ -5,9 +5,9 @@ using System.Text; using System.Threading; using System.Threading.Tasks; -using MRubyCS.Compiler; +using ChibiRuby.Compiler; -namespace MRubyCS.Debugger; +namespace ChibiRuby.Debugger; public sealed class BreakpointInfo { @@ -319,7 +319,7 @@ void HandleEval(RBinding binding, EvalCommand cmd) // mrc has no upper-scope hook for compilation; hydrate the eval scope at the source // level via a temporary global + per-local prefix that copies captured locals into // the eval's own scope. Read-only — assignments don't write back. - var bindingGlobal = mrb.Intern("$__mrubycs_dbg_binding"u8); + var bindingGlobal = mrb.Intern("$__chibiruby_dbg_binding"u8); var hadPrevGlobal = mrb.GlobalVariableDefined(bindingGlobal); var prevGlobalValue = hadPrevGlobal ? mrb.GetGlobalVariable(bindingGlobal) : MRubyValue.Nil; mrb.SetGlobalVariable(bindingGlobal, new MRubyValue(binding)); @@ -408,13 +408,13 @@ string BuildBindingScopedSource(RBinding binding, string userSource) // `binding.local_variable_set / get / local_variables` operates on the outer // scope, not on a fresh binding for the eval scope. Skip the shadow if the // user's scope already has a local named `binding` (rare; collision falls back - // to using `$__mrubycs_dbg_binding` directly). + // to using `$__chibiruby_dbg_binding` directly). var bindingSym = mrb.Intern("binding"u8); var userHasBinding = false; foreach (var n in names) if (n == bindingSym) { userHasBinding = true; break; } if (!userHasBinding) { - sb.Append("binding=$__mrubycs_dbg_binding;"); + sb.Append("binding=$__chibiruby_dbg_binding;"); } foreach (var name in names) @@ -423,7 +423,7 @@ string BuildBindingScopedSource(RBinding binding, string userSource) var ident = Encoding.UTF8.GetString(mrb.NameOf(name).AsSpan()); if (!IsPlainIdentifier(ident)) continue; sb.Append(ident); - sb.Append("=$__mrubycs_dbg_binding.local_variable_get(:"); + sb.Append("=$__chibiruby_dbg_binding.local_variable_get(:"); sb.Append(ident); sb.Append(");"); } diff --git a/src/MRubyCS.Debugger/StopReason.cs b/src/ChibiRuby.Debugger/StopReason.cs similarity index 90% rename from src/MRubyCS.Debugger/StopReason.cs rename to src/ChibiRuby.Debugger/StopReason.cs index c50429ce..e28d3cea 100644 --- a/src/MRubyCS.Debugger/StopReason.cs +++ b/src/ChibiRuby.Debugger/StopReason.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Debugger; +namespace ChibiRuby.Debugger; public enum StopReason { diff --git a/src/MRubyCS.Serializer.SourceGenerator/MRubyCS.Serializer.SourceGenerator.csproj b/src/ChibiRuby.Serializer.SourceGenerator/ChibiRuby.Serializer.SourceGenerator.csproj similarity index 100% rename from src/MRubyCS.Serializer.SourceGenerator/MRubyCS.Serializer.SourceGenerator.csproj rename to src/ChibiRuby.Serializer.SourceGenerator/ChibiRuby.Serializer.SourceGenerator.csproj diff --git a/src/MRubyCS.Serializer.SourceGenerator/MRubyCSSerializerSourceGenerator.cs b/src/ChibiRuby.Serializer.SourceGenerator/ChibiRubySerializerSourceGenerator.cs similarity index 96% rename from src/MRubyCS.Serializer.SourceGenerator/MRubyCSSerializerSourceGenerator.cs rename to src/ChibiRuby.Serializer.SourceGenerator/ChibiRubySerializerSourceGenerator.cs index dbcdce77..ea5613fc 100644 --- a/src/MRubyCS.Serializer.SourceGenerator/MRubyCSSerializerSourceGenerator.cs +++ b/src/ChibiRuby.Serializer.SourceGenerator/ChibiRubySerializerSourceGenerator.cs @@ -2,16 +2,16 @@ using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; -namespace MRubyCS.Serializer.SourceGenerator; +namespace ChibiRuby.Serializer.SourceGenerator; [Generator] -public class MRubyCSSerializerSourceGenerator : IIncrementalGenerator +public class ChibiRubySerializerSourceGenerator : IIncrementalGenerator { public void Initialize(IncrementalGeneratorInitializationContext context) { var serializableProvider = context.SyntaxProvider .ForAttributeWithMetadataName( - "MRubyCS.Serializer.MRubyObjectAttribute", + "ChibiRuby.Serializer.MRubyObjectAttribute", static (node, cancellation) => node is ClassDeclarationSyntax or StructDeclarationSyntax or RecordDeclarationSyntax, static (context, cancellation) => context); @@ -111,8 +111,8 @@ static bool TryEmitMRubyObjectType( #pragma warning disable CS8631 // The type cannot be used as type parameter in the generic type or method using System; -using MRubyCS; -using MRubyCS.Serializer; +using ChibiRuby; +using ChibiRuby.Serializer; """); var ns = typeMeta.Symbol.ContainingNamespace; @@ -184,7 +184,7 @@ static bool TryEmitFormatter( : $"{typeMeta.FullTypeName}?"; stringBuilder.AppendLine($$""" - [global::MRubyCS.Serializer.Preserve] + [global::ChibiRuby.Serializer.Preserve] public class {{typeMeta.TypeName}}GeneratedFormatter : IMRubyValueFormatter<{{returnType}}> { """); @@ -218,10 +218,10 @@ public class {{typeMeta.TypeName}}GeneratedFormatter : IMRubyValueFormatter<{{re static bool TryEmitRegisterMethod(MRubyObjectTypeMeta typeMeta, StringBuilder stringBuilder, in SourceProductionContext context) { stringBuilder.AppendLine($$""" - [global::MRubyCS.Serializer.Preserve] + [global::ChibiRuby.Serializer.Preserve] public static void __RegisterMRubyValueFormatter() { - global::MRubyCS.Serializer.GeneratedResolver.Register(new {{typeMeta.TypeName}}GeneratedFormatter()); + global::ChibiRuby.Serializer.GeneratedResolver.Register(new {{typeMeta.TypeName}}GeneratedFormatter()); } """); @@ -239,7 +239,7 @@ static bool TryEmitSerializeMethod( : $"{typeMeta.FullTypeName}?"; stringBuilder.AppendLine($$""" - [global::MRubyCS.Serializer.Preserve] + [global::ChibiRuby.Serializer.Preserve] public MRubyValue Serialize({{inputType}} value, MRubyState state, MRubyValueSerializerOptions options) { """); @@ -320,7 +320,7 @@ static bool TryEmitDeserializeMethod( ? typeMeta.FullTypeName : $"{typeMeta.FullTypeName}?"; stringBuilder.AppendLine($$""" - [global::MRubyCS.Serializer.Preserve] + [global::ChibiRuby.Serializer.Preserve] public {{returnType}} Deserialize(MRubyValue value, MRubyState state, MRubyValueSerializerOptions options) { """); diff --git a/src/MRubyCS.Serializer.SourceGenerator/DiagnosticsDescriptors.cs b/src/ChibiRuby.Serializer.SourceGenerator/DiagnosticsDescriptors.cs similarity index 96% rename from src/MRubyCS.Serializer.SourceGenerator/DiagnosticsDescriptors.cs rename to src/ChibiRuby.Serializer.SourceGenerator/DiagnosticsDescriptors.cs index 2ffa2202..0bdd1fed 100644 --- a/src/MRubyCS.Serializer.SourceGenerator/DiagnosticsDescriptors.cs +++ b/src/ChibiRuby.Serializer.SourceGenerator/DiagnosticsDescriptors.cs @@ -2,11 +2,11 @@ using Microsoft.CodeAnalysis; -namespace MRubyCS.Serializer.SourceGenerator; +namespace ChibiRuby.Serializer.SourceGenerator; static class DiagnosticDescriptors { - const string Category = "MRubyCS.Serializer.SourceGenerator"; + const string Category = "ChibiRuby.Serializer.SourceGenerator"; public static readonly DiagnosticDescriptor UnexpectedErrorDescriptor = new( id: "MRBCS001", diff --git a/src/MRubyCS.Serializer.SourceGenerator/MRubyObjectMemberMeta.cs b/src/ChibiRuby.Serializer.SourceGenerator/MRubyObjectMemberMeta.cs similarity index 97% rename from src/MRubyCS.Serializer.SourceGenerator/MRubyObjectMemberMeta.cs rename to src/ChibiRuby.Serializer.SourceGenerator/MRubyObjectMemberMeta.cs index 147ef377..7dc77122 100644 --- a/src/MRubyCS.Serializer.SourceGenerator/MRubyObjectMemberMeta.cs +++ b/src/ChibiRuby.Serializer.SourceGenerator/MRubyObjectMemberMeta.cs @@ -2,9 +2,9 @@ using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; -using MRubyCS.SourceGenerator; +using ChibiRuby.SourceGenerator; -namespace MRubyCS.Serializer.SourceGenerator; +namespace ChibiRuby.Serializer.SourceGenerator; class MRubyObjectMemberMeta { diff --git a/src/MRubyCS.Serializer.SourceGenerator/MRubyObjectTypeMeta.cs b/src/ChibiRuby.Serializer.SourceGenerator/MRubyObjectTypeMeta.cs similarity index 98% rename from src/MRubyCS.Serializer.SourceGenerator/MRubyObjectTypeMeta.cs rename to src/ChibiRuby.Serializer.SourceGenerator/MRubyObjectTypeMeta.cs index 92b76b88..d4497e3b 100644 --- a/src/MRubyCS.Serializer.SourceGenerator/MRubyObjectTypeMeta.cs +++ b/src/ChibiRuby.Serializer.SourceGenerator/MRubyObjectTypeMeta.cs @@ -2,7 +2,7 @@ using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; -namespace MRubyCS.Serializer.SourceGenerator; +namespace ChibiRuby.Serializer.SourceGenerator; class MRubyObjectTypeMeta { diff --git a/src/MRubyCS.Serializer.SourceGenerator/NamingRule.cs b/src/ChibiRuby.Serializer.SourceGenerator/NamingRule.cs similarity index 99% rename from src/MRubyCS.Serializer.SourceGenerator/NamingRule.cs rename to src/ChibiRuby.Serializer.SourceGenerator/NamingRule.cs index 9d652f62..a0c8e740 100644 --- a/src/MRubyCS.Serializer.SourceGenerator/NamingRule.cs +++ b/src/ChibiRuby.Serializer.SourceGenerator/NamingRule.cs @@ -1,6 +1,6 @@ using System.Runtime.CompilerServices; -namespace MRubyCS.SourceGenerator; +namespace ChibiRuby.SourceGenerator; public enum NamingConvention { diff --git a/src/MRubyCS.Serializer.SourceGenerator/ReferenceSymbols.cs b/src/ChibiRuby.Serializer.SourceGenerator/ReferenceSymbols.cs similarity index 77% rename from src/MRubyCS.Serializer.SourceGenerator/ReferenceSymbols.cs rename to src/ChibiRuby.Serializer.SourceGenerator/ReferenceSymbols.cs index 8026ad59..ccf5490c 100644 --- a/src/MRubyCS.Serializer.SourceGenerator/ReferenceSymbols.cs +++ b/src/ChibiRuby.Serializer.SourceGenerator/ReferenceSymbols.cs @@ -1,21 +1,21 @@ using Microsoft.CodeAnalysis; -namespace MRubyCS.Serializer.SourceGenerator; +namespace ChibiRuby.Serializer.SourceGenerator; public class ReferenceSymbols { public static ReferenceSymbols? Create(Compilation compilation) { - var mrubyObjectAttribute = compilation.GetTypeByMetadataName("MRubyCS.Serializer.MRubyObjectAttribute"); + var mrubyObjectAttribute = compilation.GetTypeByMetadataName("ChibiRuby.Serializer.MRubyObjectAttribute"); if (mrubyObjectAttribute is null) return null; return new ReferenceSymbols { MRubyObjectAttribute = mrubyObjectAttribute, - MRubyMemberAttribute = compilation.GetTypeByMetadataName("MRubyCS.Serializer.MRubyMemberAttribute")!, - MRubyIgnoreAttribute = compilation.GetTypeByMetadataName("MRubyCS.Serializer.MRubyIgnoreAttribute")!, - MRubyConstructorAttribute = compilation.GetTypeByMetadataName("MRubyCS.Serializer.MRubyConstructorAttribute")!, + MRubyMemberAttribute = compilation.GetTypeByMetadataName("ChibiRuby.Serializer.MRubyMemberAttribute")!, + MRubyIgnoreAttribute = compilation.GetTypeByMetadataName("ChibiRuby.Serializer.MRubyIgnoreAttribute")!, + MRubyConstructorAttribute = compilation.GetTypeByMetadataName("ChibiRuby.Serializer.MRubyConstructorAttribute")!, }; } diff --git a/src/MRubyCS.Serializer.SourceGenerator/StringBuilderExtensions.cs b/src/ChibiRuby.Serializer.SourceGenerator/StringBuilderExtensions.cs similarity index 90% rename from src/MRubyCS.Serializer.SourceGenerator/StringBuilderExtensions.cs rename to src/ChibiRuby.Serializer.SourceGenerator/StringBuilderExtensions.cs index 37251e93..ba68a28b 100644 --- a/src/MRubyCS.Serializer.SourceGenerator/StringBuilderExtensions.cs +++ b/src/ChibiRuby.Serializer.SourceGenerator/StringBuilderExtensions.cs @@ -1,6 +1,6 @@ using System.Text; -namespace MRubyCS.Serializer.SourceGenerator; +namespace ChibiRuby.Serializer.SourceGenerator; public static class StringBuilderExtensions { diff --git a/src/MRubyCS.Serializer.SourceGenerator/SymbolExtensions.cs b/src/ChibiRuby.Serializer.SourceGenerator/SymbolExtensions.cs similarity index 98% rename from src/MRubyCS.Serializer.SourceGenerator/SymbolExtensions.cs rename to src/ChibiRuby.Serializer.SourceGenerator/SymbolExtensions.cs index c16d7454..99c6b7cd 100644 --- a/src/MRubyCS.Serializer.SourceGenerator/SymbolExtensions.cs +++ b/src/ChibiRuby.Serializer.SourceGenerator/SymbolExtensions.cs @@ -1,6 +1,6 @@ using Microsoft.CodeAnalysis; -namespace MRubyCS.Serializer.SourceGenerator; +namespace ChibiRuby.Serializer.SourceGenerator; static class SymbolExtensions { diff --git a/src/MRubyCS.Serializer/Attributes.cs b/src/ChibiRuby.Serializer/Attributes.cs similarity index 94% rename from src/MRubyCS.Serializer/Attributes.cs rename to src/ChibiRuby.Serializer/Attributes.cs index 407d622a..5b254b2a 100644 --- a/src/MRubyCS.Serializer/Attributes.cs +++ b/src/ChibiRuby.Serializer/Attributes.cs @@ -1,6 +1,6 @@ using System; -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class PreserveAttribute : Attribute; diff --git a/src/MRubyCS.Serializer/MRubyCS.Serializer.csproj b/src/ChibiRuby.Serializer/ChibiRuby.Serializer.csproj similarity index 57% rename from src/MRubyCS.Serializer/MRubyCS.Serializer.csproj rename to src/ChibiRuby.Serializer/ChibiRuby.Serializer.csproj index a2a5c327..cdc4ad2f 100644 --- a/src/MRubyCS.Serializer/MRubyCS.Serializer.csproj +++ b/src/ChibiRuby.Serializer/ChibiRuby.Serializer.csproj @@ -3,17 +3,17 @@ net8.0;net9.0;net10.0;netstandard2.1 12 enable - A plugin for MRubyCS that enables conversion between C# and mruby objects. + A plugin for ChibiRuby that enables conversion between C# and mruby objects. - + - - + + Analyzer false @@ -21,7 +21,7 @@ - diff --git a/src/MRubyCS.Serializer/Exceptions.cs b/src/ChibiRuby.Serializer/Exceptions.cs similarity index 97% rename from src/MRubyCS.Serializer/Exceptions.cs rename to src/ChibiRuby.Serializer/Exceptions.cs index efa0245d..c24337de 100644 --- a/src/MRubyCS.Serializer/Exceptions.cs +++ b/src/ChibiRuby.Serializer/Exceptions.cs @@ -1,6 +1,6 @@ using System; -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class MRubySerializationException(string message) : Exception(message) { diff --git a/src/MRubyCS.Serializer/Formatters/BooleanFormatter.cs b/src/ChibiRuby.Serializer/Formatters/BooleanFormatter.cs similarity index 93% rename from src/MRubyCS.Serializer/Formatters/BooleanFormatter.cs rename to src/ChibiRuby.Serializer/Formatters/BooleanFormatter.cs index df4cd054..e66d3346 100644 --- a/src/MRubyCS.Serializer/Formatters/BooleanFormatter.cs +++ b/src/ChibiRuby.Serializer/Formatters/BooleanFormatter.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class BooleanFormatter : IMRubyValueFormatter { diff --git a/src/MRubyCS.Serializer/Formatters/CollectionFormatters.cs b/src/ChibiRuby.Serializer/Formatters/CollectionFormatters.cs similarity index 99% rename from src/MRubyCS.Serializer/Formatters/CollectionFormatters.cs rename to src/ChibiRuby.Serializer/Formatters/CollectionFormatters.cs index b98c7406..a9a778d5 100644 --- a/src/MRubyCS.Serializer/Formatters/CollectionFormatters.cs +++ b/src/ChibiRuby.Serializer/Formatters/CollectionFormatters.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Collections.ObjectModel; -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class ArrayFormatter : IMRubyValueFormatter { diff --git a/src/MRubyCS.Serializer/Formatters/EnumAsStringFormatter.cs b/src/ChibiRuby.Serializer/Formatters/EnumAsStringFormatter.cs similarity index 98% rename from src/MRubyCS.Serializer/Formatters/EnumAsStringFormatter.cs rename to src/ChibiRuby.Serializer/Formatters/EnumAsStringFormatter.cs index f77eb7b9..385f2cc7 100644 --- a/src/MRubyCS.Serializer/Formatters/EnumAsStringFormatter.cs +++ b/src/ChibiRuby.Serializer/Formatters/EnumAsStringFormatter.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class EnumAsStringFormatter : IMRubyValueFormatter where T : Enum { diff --git a/src/MRubyCS.Serializer/Formatters/FixnumFormatter.cs b/src/ChibiRuby.Serializer/Formatters/FixnumFormatter.cs similarity index 99% rename from src/MRubyCS.Serializer/Formatters/FixnumFormatter.cs rename to src/ChibiRuby.Serializer/Formatters/FixnumFormatter.cs index ba2cc451..b2a395c8 100644 --- a/src/MRubyCS.Serializer/Formatters/FixnumFormatter.cs +++ b/src/ChibiRuby.Serializer/Formatters/FixnumFormatter.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class ByteFormatter : IMRubyValueFormatter { diff --git a/src/MRubyCS.Serializer/Formatters/FloatFormatter.cs b/src/ChibiRuby.Serializer/Formatters/FloatFormatter.cs similarity index 98% rename from src/MRubyCS.Serializer/Formatters/FloatFormatter.cs rename to src/ChibiRuby.Serializer/Formatters/FloatFormatter.cs index f8256ea2..d7c8957f 100644 --- a/src/MRubyCS.Serializer/Formatters/FloatFormatter.cs +++ b/src/ChibiRuby.Serializer/Formatters/FloatFormatter.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class Float32Formatter : IMRubyValueFormatter { diff --git a/src/MRubyCS.Serializer/Formatters/GuidFormatter.cs b/src/ChibiRuby.Serializer/Formatters/GuidFormatter.cs similarity index 95% rename from src/MRubyCS.Serializer/Formatters/GuidFormatter.cs rename to src/ChibiRuby.Serializer/Formatters/GuidFormatter.cs index 9595a165..2d3b5d7c 100644 --- a/src/MRubyCS.Serializer/Formatters/GuidFormatter.cs +++ b/src/ChibiRuby.Serializer/Formatters/GuidFormatter.cs @@ -1,6 +1,6 @@ using System; -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class UriFormatter : IMRubyValueFormatter { diff --git a/src/MRubyCS.Serializer/Formatters/MRubyValueMRubyValueFormatter.cs b/src/ChibiRuby.Serializer/Formatters/MRubyValueMRubyValueFormatter.cs similarity index 93% rename from src/MRubyCS.Serializer/Formatters/MRubyValueMRubyValueFormatter.cs rename to src/ChibiRuby.Serializer/Formatters/MRubyValueMRubyValueFormatter.cs index 04778af6..1e1c83b1 100644 --- a/src/MRubyCS.Serializer/Formatters/MRubyValueMRubyValueFormatter.cs +++ b/src/ChibiRuby.Serializer/Formatters/MRubyValueMRubyValueFormatter.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class MRubyValueMRubyValueFormatter : IMRubyValueFormatter { diff --git a/src/MRubyCS.Serializer/Formatters/NullableFormatter.cs b/src/ChibiRuby.Serializer/Formatters/NullableFormatter.cs similarity index 95% rename from src/MRubyCS.Serializer/Formatters/NullableFormatter.cs rename to src/ChibiRuby.Serializer/Formatters/NullableFormatter.cs index 381311dd..4e69922e 100644 --- a/src/MRubyCS.Serializer/Formatters/NullableFormatter.cs +++ b/src/ChibiRuby.Serializer/Formatters/NullableFormatter.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class NullableFormatter : IMRubyValueFormatter where T : struct { diff --git a/src/MRubyCS.Serializer/Formatters/PrimitiveObjectFormatter.cs b/src/ChibiRuby.Serializer/Formatters/PrimitiveObjectFormatter.cs similarity index 99% rename from src/MRubyCS.Serializer/Formatters/PrimitiveObjectFormatter.cs rename to src/ChibiRuby.Serializer/Formatters/PrimitiveObjectFormatter.cs index 314d998c..ef5d7e62 100644 --- a/src/MRubyCS.Serializer/Formatters/PrimitiveObjectFormatter.cs +++ b/src/ChibiRuby.Serializer/Formatters/PrimitiveObjectFormatter.cs @@ -1,7 +1,7 @@ using System.Collections; using System.Collections.Generic; -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class PrimitiveObjectFormatter : IMRubyValueFormatter { diff --git a/src/MRubyCS.Serializer/Formatters/RObjectFormatter.cs b/src/ChibiRuby.Serializer/Formatters/RObjectFormatter.cs similarity index 93% rename from src/MRubyCS.Serializer/Formatters/RObjectFormatter.cs rename to src/ChibiRuby.Serializer/Formatters/RObjectFormatter.cs index f737245a..4ffb30ec 100644 --- a/src/MRubyCS.Serializer/Formatters/RObjectFormatter.cs +++ b/src/ChibiRuby.Serializer/Formatters/RObjectFormatter.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class RObjectFormatter : IMRubyValueFormatter where T : RObject { diff --git a/src/MRubyCS.Serializer/Formatters/StringFormatter.cs b/src/ChibiRuby.Serializer/Formatters/StringFormatter.cs similarity index 97% rename from src/MRubyCS.Serializer/Formatters/StringFormatter.cs rename to src/ChibiRuby.Serializer/Formatters/StringFormatter.cs index d59e7ccf..a56fe125 100644 --- a/src/MRubyCS.Serializer/Formatters/StringFormatter.cs +++ b/src/ChibiRuby.Serializer/Formatters/StringFormatter.cs @@ -1,6 +1,6 @@ using System; -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class NullableStringFormatter : IMRubyValueFormatter { diff --git a/src/MRubyCS.Serializer/Formatters/SymbolFormatter.cs b/src/ChibiRuby.Serializer/Formatters/SymbolFormatter.cs similarity index 94% rename from src/MRubyCS.Serializer/Formatters/SymbolFormatter.cs rename to src/ChibiRuby.Serializer/Formatters/SymbolFormatter.cs index 635ca22a..a69cea91 100644 --- a/src/MRubyCS.Serializer/Formatters/SymbolFormatter.cs +++ b/src/ChibiRuby.Serializer/Formatters/SymbolFormatter.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class SymbolFormatter : IMRubyValueFormatter { diff --git a/src/MRubyCS.Serializer/Formatters/TimeFormatter.cs b/src/ChibiRuby.Serializer/Formatters/TimeFormatter.cs similarity index 97% rename from src/MRubyCS.Serializer/Formatters/TimeFormatter.cs rename to src/ChibiRuby.Serializer/Formatters/TimeFormatter.cs index 02009800..ebd3e6da 100644 --- a/src/MRubyCS.Serializer/Formatters/TimeFormatter.cs +++ b/src/ChibiRuby.Serializer/Formatters/TimeFormatter.cs @@ -1,7 +1,7 @@ using System; -using MRubyCS.StdLib; +using ChibiRuby.StdLib; -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class DateTimeFormatter : IMRubyValueFormatter { diff --git a/src/MRubyCS.Serializer/Formatters/TupleFormatter.cs b/src/ChibiRuby.Serializer/Formatters/TupleFormatter.cs similarity index 99% rename from src/MRubyCS.Serializer/Formatters/TupleFormatter.cs rename to src/ChibiRuby.Serializer/Formatters/TupleFormatter.cs index 5be1c4e0..b261a4cc 100644 --- a/src/MRubyCS.Serializer/Formatters/TupleFormatter.cs +++ b/src/ChibiRuby.Serializer/Formatters/TupleFormatter.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; class KeyValuePairFormatter : IMRubyValueFormatter> { diff --git a/src/MRubyCS.Serializer/Formatters/UriFormatter.cs b/src/ChibiRuby.Serializer/Formatters/UriFormatter.cs similarity index 95% rename from src/MRubyCS.Serializer/Formatters/UriFormatter.cs rename to src/ChibiRuby.Serializer/Formatters/UriFormatter.cs index 44cf21a2..5336b62b 100644 --- a/src/MRubyCS.Serializer/Formatters/UriFormatter.cs +++ b/src/ChibiRuby.Serializer/Formatters/UriFormatter.cs @@ -1,6 +1,6 @@ using System; -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class GuidFormatter : IMRubyValueFormatter { diff --git a/src/MRubyCS.Serializer/Formatters/VersionFormatter.cs b/src/ChibiRuby.Serializer/Formatters/VersionFormatter.cs similarity index 95% rename from src/MRubyCS.Serializer/Formatters/VersionFormatter.cs rename to src/ChibiRuby.Serializer/Formatters/VersionFormatter.cs index fc058e3f..56f1fb9c 100644 --- a/src/MRubyCS.Serializer/Formatters/VersionFormatter.cs +++ b/src/ChibiRuby.Serializer/Formatters/VersionFormatter.cs @@ -1,6 +1,6 @@ using System; -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class VersionFormatter : IMRubyValueFormatter { diff --git a/src/MRubyCS.Serializer/IMRubyValueFormatter.cs b/src/ChibiRuby.Serializer/IMRubyValueFormatter.cs similarity index 89% rename from src/MRubyCS.Serializer/IMRubyValueFormatter.cs rename to src/ChibiRuby.Serializer/IMRubyValueFormatter.cs index b4669096..1fc03487 100644 --- a/src/MRubyCS.Serializer/IMRubyValueFormatter.cs +++ b/src/ChibiRuby.Serializer/IMRubyValueFormatter.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public interface IMRubyValueFormatter; diff --git a/src/MRubyCS.Serializer/IMRubyValueFormatterResolver.cs b/src/ChibiRuby.Serializer/IMRubyValueFormatterResolver.cs similarity index 97% rename from src/MRubyCS.Serializer/IMRubyValueFormatterResolver.cs rename to src/ChibiRuby.Serializer/IMRubyValueFormatterResolver.cs index 5a99c41e..4ac29a03 100644 --- a/src/MRubyCS.Serializer/IMRubyValueFormatterResolver.cs +++ b/src/ChibiRuby.Serializer/IMRubyValueFormatterResolver.cs @@ -2,7 +2,7 @@ using System.Runtime.CompilerServices; using System.Runtime.ExceptionServices; -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public interface IMRubyFormatterRegister { diff --git a/src/MRubyCS.Serializer/MRubyStateExtensions.cs b/src/ChibiRuby.Serializer/MRubyStateExtensions.cs similarity index 92% rename from src/MRubyCS.Serializer/MRubyStateExtensions.cs rename to src/ChibiRuby.Serializer/MRubyStateExtensions.cs index 5941f1ee..01bb313a 100644 --- a/src/MRubyCS.Serializer/MRubyStateExtensions.cs +++ b/src/ChibiRuby.Serializer/MRubyStateExtensions.cs @@ -1,6 +1,6 @@ using System; -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public static class MRubyStateExtensions { diff --git a/src/MRubyCS.Serializer/MRubyValueSerializer.cs b/src/ChibiRuby.Serializer/MRubyValueSerializer.cs similarity index 95% rename from src/MRubyCS.Serializer/MRubyValueSerializer.cs rename to src/ChibiRuby.Serializer/MRubyValueSerializer.cs index bdf0bc66..d85093ee 100644 --- a/src/MRubyCS.Serializer/MRubyValueSerializer.cs +++ b/src/ChibiRuby.Serializer/MRubyValueSerializer.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public static partial class MRubyValueSerializer { diff --git a/src/MRubyCS.Serializer/MRubyValueSerializerOptions.cs b/src/ChibiRuby.Serializer/MRubyValueSerializerOptions.cs similarity index 95% rename from src/MRubyCS.Serializer/MRubyValueSerializerOptions.cs rename to src/ChibiRuby.Serializer/MRubyValueSerializerOptions.cs index 495a2e24..d0799aa3 100644 --- a/src/MRubyCS.Serializer/MRubyValueSerializerOptions.cs +++ b/src/ChibiRuby.Serializer/MRubyValueSerializerOptions.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class MRubyValueSerializerOptions { diff --git a/src/MRubyCS.Serializer/NamingConventionMutator.cs b/src/ChibiRuby.Serializer/NamingConventionMutator.cs similarity index 99% rename from src/MRubyCS.Serializer/NamingConventionMutator.cs rename to src/ChibiRuby.Serializer/NamingConventionMutator.cs index 626209f8..5132a0d2 100644 --- a/src/MRubyCS.Serializer/NamingConventionMutator.cs +++ b/src/ChibiRuby.Serializer/NamingConventionMutator.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; using System; using System.Runtime.CompilerServices; diff --git a/src/MRubyCS.Serializer/Resolvers/BuiltinResolver.cs b/src/ChibiRuby.Serializer/Resolvers/BuiltinResolver.cs similarity index 99% rename from src/MRubyCS.Serializer/Resolvers/BuiltinResolver.cs rename to src/ChibiRuby.Serializer/Resolvers/BuiltinResolver.cs index ebd94d15..d3496c79 100644 --- a/src/MRubyCS.Serializer/Resolvers/BuiltinResolver.cs +++ b/src/ChibiRuby.Serializer/Resolvers/BuiltinResolver.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Collections.ObjectModel; -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class BuiltinResolver : IMRubyValueFormatterResolver { diff --git a/src/MRubyCS.Serializer/Resolvers/CompositeResolver.cs b/src/ChibiRuby.Serializer/Resolvers/CompositeResolver.cs similarity index 98% rename from src/MRubyCS.Serializer/Resolvers/CompositeResolver.cs rename to src/ChibiRuby.Serializer/Resolvers/CompositeResolver.cs index 033bc1b9..7c681fe5 100644 --- a/src/MRubyCS.Serializer/Resolvers/CompositeResolver.cs +++ b/src/ChibiRuby.Serializer/Resolvers/CompositeResolver.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Linq; -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public static class CompositeResolver { diff --git a/src/MRubyCS.Serializer/Resolvers/GeneratedResolver.cs b/src/ChibiRuby.Serializer/Resolvers/GeneratedResolver.cs similarity index 97% rename from src/MRubyCS.Serializer/Resolvers/GeneratedResolver.cs rename to src/ChibiRuby.Serializer/Resolvers/GeneratedResolver.cs index 24a55354..a23bb8d2 100644 --- a/src/MRubyCS.Serializer/Resolvers/GeneratedResolver.cs +++ b/src/ChibiRuby.Serializer/Resolvers/GeneratedResolver.cs @@ -1,7 +1,7 @@ using System; using System.Reflection; -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class GeneratedResolver : IMRubyValueFormatterResolver { diff --git a/src/MRubyCS.Serializer/Resolvers/PrimitiveObjectResolver.cs b/src/ChibiRuby.Serializer/Resolvers/PrimitiveObjectResolver.cs similarity index 94% rename from src/MRubyCS.Serializer/Resolvers/PrimitiveObjectResolver.cs rename to src/ChibiRuby.Serializer/Resolvers/PrimitiveObjectResolver.cs index 6101d9e7..b00a1293 100644 --- a/src/MRubyCS.Serializer/Resolvers/PrimitiveObjectResolver.cs +++ b/src/ChibiRuby.Serializer/Resolvers/PrimitiveObjectResolver.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public class PrimitiveObjectResolver : IMRubyValueFormatterResolver { diff --git a/src/MRubyCS.Serializer/Resolvers/StandardResolver.cs b/src/ChibiRuby.Serializer/Resolvers/StandardResolver.cs similarity index 97% rename from src/MRubyCS.Serializer/Resolvers/StandardResolver.cs rename to src/ChibiRuby.Serializer/Resolvers/StandardResolver.cs index 699927db..f227a4e8 100644 --- a/src/MRubyCS.Serializer/Resolvers/StandardResolver.cs +++ b/src/ChibiRuby.Serializer/Resolvers/StandardResolver.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Serializer; +namespace ChibiRuby.Serializer; public sealed class StandardResolver : IMRubyValueFormatterResolver { diff --git a/src/MRubyCS.SourceGenerator/MRubyCS.SourceGenerator.csproj b/src/ChibiRuby.SourceGenerator/ChibiRuby.SourceGenerator.csproj similarity index 100% rename from src/MRubyCS.SourceGenerator/MRubyCS.SourceGenerator.csproj rename to src/ChibiRuby.SourceGenerator/ChibiRuby.SourceGenerator.csproj diff --git a/src/MRubyCS.SourceGenerator/MRubyCSSourceGenerator.cs b/src/ChibiRuby.SourceGenerator/ChibiRubySourceGenerator.cs similarity index 98% rename from src/MRubyCS.SourceGenerator/MRubyCSSourceGenerator.cs rename to src/ChibiRuby.SourceGenerator/ChibiRubySourceGenerator.cs index fc5e1066..750bdf9b 100644 --- a/src/MRubyCS.SourceGenerator/MRubyCSSourceGenerator.cs +++ b/src/ChibiRuby.SourceGenerator/ChibiRubySourceGenerator.cs @@ -1,6 +1,6 @@ using System.Text; -namespace MRubyCS.SourceGenerator; +namespace ChibiRuby.SourceGenerator; using Microsoft.CodeAnalysis; @@ -33,7 +33,7 @@ public ConstSymbolDefinition(int index, string symbolName, string variableName) } [Generator(LanguageNames.CSharp)] -public class MRubyCSSourceGenerator : IIncrementalGenerator +public class ChibiRubySourceGenerator : IIncrementalGenerator { static readonly KeyValuePair[] KnownSymbols = [ @@ -182,7 +182,7 @@ public void Initialize(IncrementalGeneratorInitializationContext context) using System; using System.Runtime.CompilerServices; -namespace MRubyCS; +namespace ChibiRuby; static class Names { diff --git a/src/MRubyCS.SourceGenerator/Polyfills.cs b/src/ChibiRuby.SourceGenerator/Polyfills.cs similarity index 100% rename from src/MRubyCS.SourceGenerator/Polyfills.cs rename to src/ChibiRuby.SourceGenerator/Polyfills.cs diff --git a/src/MRubyCS.SourceGenerator/RbsGenerator.cs b/src/ChibiRuby.SourceGenerator/RbsGenerator.cs similarity index 98% rename from src/MRubyCS.SourceGenerator/RbsGenerator.cs rename to src/ChibiRuby.SourceGenerator/RbsGenerator.cs index 69a01134..f2db0e5f 100644 --- a/src/MRubyCS.SourceGenerator/RbsGenerator.cs +++ b/src/ChibiRuby.SourceGenerator/RbsGenerator.cs @@ -9,7 +9,7 @@ using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Text; -namespace MRubyCS.SourceGenerator; +namespace ChibiRuby.SourceGenerator; internal sealed record RubyTypeInfo( string RubyName, @@ -66,15 +66,15 @@ public override int GetHashCode() internal static class RbsGenerator { - public const string RubyClassAttributeName = "MRubyCS.RubyClassAttribute"; - public const string RubyModuleAttributeName = "MRubyCS.RubyModuleAttribute"; - public const string RubyDefAttributeName = "MRubyCS.RubyDefAttribute"; + public const string RubyClassAttributeName = "ChibiRuby.RubyClassAttribute"; + public const string RubyModuleAttributeName = "ChibiRuby.RubyModuleAttribute"; + public const string RubyDefAttributeName = "ChibiRuby.RubyDefAttribute"; public static void Register(IncrementalGeneratorInitializationContext context, IReadOnlyDictionary knownSymbols) { var options = context.AnalyzerConfigOptionsProvider.Select((p, _) => { - p.GlobalOptions.TryGetValue("build_property.MRubyCSGenerator_RbsOutputDirectory", out var dir); + p.GlobalOptions.TryGetValue("build_property.ChibiRubyGenerator_RbsOutputDirectory", out var dir); var isDesignTime = p.GlobalOptions.TryGetValue("build_property.DesignTimeBuild", out var dt) && dt == "true"; return new RbsOptions(dir, isDesignTime); }); @@ -474,7 +474,7 @@ static void Emit(SourceProductionContext spc, ImmutableArray types var first = kv.Value[0]; var sb = new StringBuilder(); sb.AppendLine("# "); - sb.AppendLine("# Source: src/MRubyCS/StdLib/lib.rb (via rbs prototype rb)"); + sb.AppendLine("# Source: src/ChibiRuby/StdLib/lib.rb (via rbs prototype rb)"); sb.AppendLine(); // Emit captured pre-class comments (from lib.rbs) above the header. foreach (var hc in first.HeaderComments) sb.AppendLine(hc); diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity.meta b/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity.meta rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity.meta diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor.meta b/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor.meta rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor.meta diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/MRubyCS.Compiler.Editor.asmdef b/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/ChibiRuby.Compiler.Editor.asmdef similarity index 78% rename from src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/MRubyCS.Compiler.Editor.asmdef rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/ChibiRuby.Compiler.Editor.asmdef index c7020284..e265fd17 100644 --- a/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/MRubyCS.Compiler.Editor.asmdef +++ b/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/ChibiRuby.Compiler.Editor.asmdef @@ -1,5 +1,5 @@ { - "name": "MRubyCS.Compiler.Editor", + "name": "ChibiRuby.Compiler.Editor", "rootNamespace": "", "references": [], "includePlatforms": [ @@ -9,8 +9,8 @@ "allowUnsafeCode": false, "overrideReferences": true, "precompiledReferences": [ - "MRubyCS.dll", - "MRubyCS.Compiler.dll", + "ChibiRuby.dll", + "ChibiRuby.Compiler.dll", "Mono.Cecil.dll" ], "autoReferenced": false, diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/MRubyCS.Compiler.Editor.asmdef.meta b/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/ChibiRuby.Compiler.Editor.asmdef.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/MRubyCS.Compiler.Editor.asmdef.meta rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/ChibiRuby.Compiler.Editor.asmdef.meta diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/MRubyBytecodeScriptedImporter.cs b/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/MRubyBytecodeScriptedImporter.cs similarity index 93% rename from src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/MRubyBytecodeScriptedImporter.cs rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/MRubyBytecodeScriptedImporter.cs index 7c1aa9ac..d4922c25 100644 --- a/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/MRubyBytecodeScriptedImporter.cs +++ b/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/MRubyBytecodeScriptedImporter.cs @@ -2,7 +2,7 @@ using UnityEditor.AssetImporters; using UnityEngine; -namespace MRubyCS.Compiler.Editor +namespace ChibiRuby.Compiler.Editor { [ScriptedImporter(1, "mrb")] public class MRubyByteCodeScriptedImporter : ScriptedImporter diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/MRubyBytecodeScriptedImporter.cs.meta b/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/MRubyBytecodeScriptedImporter.cs.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/MRubyBytecodeScriptedImporter.cs.meta rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/MRubyBytecodeScriptedImporter.cs.meta diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/RewriteDllImportToInternal.cs b/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/RewriteDllImportToInternal.cs similarity index 95% rename from src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/RewriteDllImportToInternal.cs rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/RewriteDllImportToInternal.cs index 7b1bde95..c1cb8118 100644 --- a/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/RewriteDllImportToInternal.cs +++ b/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/RewriteDllImportToInternal.cs @@ -6,7 +6,7 @@ using UnityEditor.Build; using UnityEditor.Build.Reporting; -namespace MRubyCS.Compiler.Editor +namespace ChibiRuby.Compiler.Editor { // On iOS and WebGL, native plugins are statically linked into the host // binary (Xcode app / wasm module), so [DllImport("libmruby")] must @@ -17,7 +17,7 @@ public sealed class RewriteDllImportToInternal : IPostBuildPlayerScriptDLLs { const string SourceModule = "libmruby"; const string TargetModule = "__Internal"; - const string AssemblyFileName = "MRubyCS.Compiler.dll"; + const string AssemblyFileName = "ChibiRuby.Compiler.dll"; public int callbackOrder => 0; diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/RewriteDllImportToInternal.cs.meta b/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/RewriteDllImportToInternal.cs.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/RewriteDllImportToInternal.cs.meta rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/RewriteDllImportToInternal.cs.meta diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/RubyScriptedImporter.cs b/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/RubyScriptedImporter.cs similarity index 88% rename from src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/RubyScriptedImporter.cs rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/RubyScriptedImporter.cs index 606115f5..7d4af304 100644 --- a/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/RubyScriptedImporter.cs +++ b/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/RubyScriptedImporter.cs @@ -2,7 +2,7 @@ using UnityEditor.AssetImporters; using UnityEngine; -namespace MRubyCS.Compiler.Editor +namespace ChibiRuby.Compiler.Editor { [ScriptedImporter(1, "rb")] public class RubyScriptedImporter : ScriptedImporter @@ -30,11 +30,11 @@ public override void OnImportAsset(AssetImportContext ctx) { if (x.Severity is DiagnosticSeverity.Error or DiagnosticSeverity.GeneratorError) { - ctx.LogImportError($"[MRubyCS.Compiler] {ctx.assetPath}: {x}", rbAsset); + ctx.LogImportError($"[ChibiRuby.Compiler] {ctx.assetPath}: {x}", rbAsset); } else { - ctx.LogImportWarning($"[MRubyCS.Compiler] {ctx.assetPath}: {x}", rbAsset); + ctx.LogImportWarning($"[ChibiRuby.Compiler] {ctx.assetPath}: {x}", rbAsset); } } if (compilationResult.HasError) diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/RubyScriptedImporter.cs.meta b/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/RubyScriptedImporter.cs.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/RubyScriptedImporter.cs.meta rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/RubyScriptedImporter.cs.meta diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/csc.rsp b/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/csc.rsp similarity index 100% rename from src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/csc.rsp rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/csc.rsp diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/csc.rsp.meta b/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/csc.rsp.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Editor/csc.rsp.meta rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Editor/csc.rsp.meta diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Runtime.meta b/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Runtime.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/Runtime.meta rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/Runtime.meta diff --git a/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/package.json b/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/package.json new file mode 100644 index 00000000..69578299 --- /dev/null +++ b/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/package.json @@ -0,0 +1,12 @@ +{ + "name": "jp.hadashikick.chibiruby-compiler", + "displayName": "ChibiRuby.Compiler", + "version": "0.108.0", + "unity": "2021.3", + "description": "Unity Editor extension for ChibiRuby.Compiler (ScriptedImporter for .rb / .mrb). Requires the ChibiRuby.Compiler NuGet package installed via NuGetForUnity.", + "keywords": ["mruby", "ruby"], + "license": "MIT", + "documentationUrl": "https://github.com/hadashiA/ChibiRuby", + "changelogUrl": "https://github.com/hadashiA/ChibiRuby/releases", + "licensesUrl": "https://github.com/hadashiA/ChibiRuby/blob/master/LICENSE" +} diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/package.json.meta b/src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/package.json.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/package.json.meta rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Compiler.Unity/package.json.meta diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity.meta b/src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity.meta rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity.meta diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/Runtime.meta b/src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/Runtime.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/Runtime.meta rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/Runtime.meta diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/Runtime/MRubyCS.Serializer.Unity.asmdef b/src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/Runtime/ChibiRuby.Serializer.Unity.asmdef similarity index 75% rename from src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/Runtime/MRubyCS.Serializer.Unity.asmdef rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/Runtime/ChibiRuby.Serializer.Unity.asmdef index 65b2d22c..f842d3a1 100644 --- a/src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/Runtime/MRubyCS.Serializer.Unity.asmdef +++ b/src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/Runtime/ChibiRuby.Serializer.Unity.asmdef @@ -1,5 +1,5 @@ { - "name": "MRubyCS.Serializer.Unity", + "name": "ChibiRuby.Serializer.Unity", "rootNamespace": "", "references": [], "includePlatforms": [], @@ -7,8 +7,8 @@ "allowUnsafeCode": false, "overrideReferences": true, "precompiledReferences": [ - "MRubyCS.dll", - "MRubyCS.Serializer.dll" + "ChibiRuby.dll", + "ChibiRuby.Serializer.dll" ], "autoReferenced": false, "defineConstraints": [], diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/Runtime/MRubyCS.Serializer.Unity.asmdef.meta b/src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/Runtime/ChibiRuby.Serializer.Unity.asmdef.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/Runtime/MRubyCS.Serializer.Unity.asmdef.meta rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/Runtime/ChibiRuby.Serializer.Unity.asmdef.meta diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/Runtime/UnityFormatters.cs b/src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/Runtime/UnityFormatters.cs similarity index 99% rename from src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/Runtime/UnityFormatters.cs rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/Runtime/UnityFormatters.cs index 003756da..b955b957 100644 --- a/src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/Runtime/UnityFormatters.cs +++ b/src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/Runtime/UnityFormatters.cs @@ -1,7 +1,7 @@ using Unity.Collections; using UnityEngine; -namespace MRubyCS.Serializer.Unity +namespace ChibiRuby.Serializer.Unity { class Vector2Formatter : IMRubyValueFormatter { diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/Runtime/UnityFormatters.cs.meta b/src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/Runtime/UnityFormatters.cs.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/Runtime/UnityFormatters.cs.meta rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/Runtime/UnityFormatters.cs.meta diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/Runtime/UnityResolver.cs b/src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/Runtime/UnityResolver.cs similarity index 98% rename from src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/Runtime/UnityResolver.cs rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/Runtime/UnityResolver.cs index 5fc9ea68..a01ea51b 100644 --- a/src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/Runtime/UnityResolver.cs +++ b/src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/Runtime/UnityResolver.cs @@ -3,7 +3,7 @@ using Unity.Collections; using UnityEngine; -namespace MRubyCS.Serializer.Unity +namespace ChibiRuby.Serializer.Unity { public class UnityResolver : IMRubyValueFormatterResolver { diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/Runtime/UnityResolver.cs.meta b/src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/Runtime/UnityResolver.cs.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/Runtime/UnityResolver.cs.meta rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/Runtime/UnityResolver.cs.meta diff --git a/src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/package.json b/src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/package.json new file mode 100644 index 00000000..fe6a570a --- /dev/null +++ b/src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/package.json @@ -0,0 +1,12 @@ +{ + "name": "jp.hadashikick.chibiruby-serializer", + "displayName": "ChibiRuby.Serializer", + "version": "0.108.0", + "unity": "2021.3", + "description": "ChibiRuby serializer extensions for unity", + "keywords": ["mruby", "ruby"], + "license": "MIT", + "documentationUrl": "https://github.com/hadashiA/ChibiRuby", + "changelogUrl": "https://github.com/hadashiA/ChibiRuby/releases", + "licensesUrl": "https://github.com/hadashiA/ChibiRuby/blob/master/LICENSE" +} diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/package.json.meta b/src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/package.json.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/package.json.meta rename to src/ChibiRuby.Unity/Assets/ChibiRuby.Serializer.Unity/package.json.meta diff --git a/src/MRubyCS.Unity/Assets/InputSystem_Actions.inputactions b/src/ChibiRuby.Unity/Assets/InputSystem_Actions.inputactions similarity index 100% rename from src/MRubyCS.Unity/Assets/InputSystem_Actions.inputactions rename to src/ChibiRuby.Unity/Assets/InputSystem_Actions.inputactions diff --git a/src/MRubyCS.Unity/Assets/InputSystem_Actions.inputactions.meta b/src/ChibiRuby.Unity/Assets/InputSystem_Actions.inputactions.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/InputSystem_Actions.inputactions.meta rename to src/ChibiRuby.Unity/Assets/InputSystem_Actions.inputactions.meta diff --git a/src/MRubyCS.Unity/Assets/NuGet.config b/src/ChibiRuby.Unity/Assets/NuGet.config similarity index 100% rename from src/MRubyCS.Unity/Assets/NuGet.config rename to src/ChibiRuby.Unity/Assets/NuGet.config diff --git a/src/MRubyCS.Unity/Assets/NuGet.config.meta b/src/ChibiRuby.Unity/Assets/NuGet.config.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/NuGet.config.meta rename to src/ChibiRuby.Unity/Assets/NuGet.config.meta diff --git a/src/MRubyCS.Unity/Assets/Packages.meta b/src/ChibiRuby.Unity/Assets/Packages.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/Packages.meta rename to src/ChibiRuby.Unity/Assets/Packages.meta diff --git a/src/MRubyCS.Unity/Assets/Readme.asset b/src/ChibiRuby.Unity/Assets/Readme.asset similarity index 100% rename from src/MRubyCS.Unity/Assets/Readme.asset rename to src/ChibiRuby.Unity/Assets/Readme.asset diff --git a/src/MRubyCS.Unity/Assets/Readme.asset.meta b/src/ChibiRuby.Unity/Assets/Readme.asset.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/Readme.asset.meta rename to src/ChibiRuby.Unity/Assets/Readme.asset.meta diff --git a/src/MRubyCS.Unity/Assets/SampleBehaviour.cs b/src/ChibiRuby.Unity/Assets/SampleBehaviour.cs similarity index 96% rename from src/MRubyCS.Unity/Assets/SampleBehaviour.cs rename to src/ChibiRuby.Unity/Assets/SampleBehaviour.cs index 5d576915..09e20d66 100644 --- a/src/MRubyCS.Unity/Assets/SampleBehaviour.cs +++ b/src/ChibiRuby.Unity/Assets/SampleBehaviour.cs @@ -1,9 +1,9 @@ using System; using System.IO; using System.Threading.Tasks; -using MRubyCS; -using MRubyCS.Compiler; -using MRubyCS.Debugger.Dap; +using ChibiRuby; +using ChibiRuby.Compiler; +using ChibiRuby.Debugger.Dap; using UnityEngine; public class SampleBehaviour : MonoBehaviour diff --git a/src/MRubyCS.Unity/Assets/SampleBehaviour.cs.meta b/src/ChibiRuby.Unity/Assets/SampleBehaviour.cs.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/SampleBehaviour.cs.meta rename to src/ChibiRuby.Unity/Assets/SampleBehaviour.cs.meta diff --git a/src/MRubyCS.Unity/Assets/Scenes.meta b/src/ChibiRuby.Unity/Assets/Scenes.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/Scenes.meta rename to src/ChibiRuby.Unity/Assets/Scenes.meta diff --git a/src/MRubyCS.Unity/Assets/Scenes/SampleScene.unity b/src/ChibiRuby.Unity/Assets/Scenes/SampleScene.unity similarity index 100% rename from src/MRubyCS.Unity/Assets/Scenes/SampleScene.unity rename to src/ChibiRuby.Unity/Assets/Scenes/SampleScene.unity diff --git a/src/MRubyCS.Unity/Assets/Scenes/SampleScene.unity.meta b/src/ChibiRuby.Unity/Assets/Scenes/SampleScene.unity.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/Scenes/SampleScene.unity.meta rename to src/ChibiRuby.Unity/Assets/Scenes/SampleScene.unity.meta diff --git a/src/MRubyCS.Unity/Assets/Settings.meta b/src/ChibiRuby.Unity/Assets/Settings.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/Settings.meta rename to src/ChibiRuby.Unity/Assets/Settings.meta diff --git a/src/MRubyCS.Unity/Assets/Settings/DefaultVolumeProfile.asset b/src/ChibiRuby.Unity/Assets/Settings/DefaultVolumeProfile.asset similarity index 100% rename from src/MRubyCS.Unity/Assets/Settings/DefaultVolumeProfile.asset rename to src/ChibiRuby.Unity/Assets/Settings/DefaultVolumeProfile.asset diff --git a/src/MRubyCS.Unity/Assets/Settings/DefaultVolumeProfile.asset.meta b/src/ChibiRuby.Unity/Assets/Settings/DefaultVolumeProfile.asset.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/Settings/DefaultVolumeProfile.asset.meta rename to src/ChibiRuby.Unity/Assets/Settings/DefaultVolumeProfile.asset.meta diff --git a/src/MRubyCS.Unity/Assets/Settings/Mobile_RPAsset.asset b/src/ChibiRuby.Unity/Assets/Settings/Mobile_RPAsset.asset similarity index 100% rename from src/MRubyCS.Unity/Assets/Settings/Mobile_RPAsset.asset rename to src/ChibiRuby.Unity/Assets/Settings/Mobile_RPAsset.asset diff --git a/src/MRubyCS.Unity/Assets/Settings/Mobile_RPAsset.asset.meta b/src/ChibiRuby.Unity/Assets/Settings/Mobile_RPAsset.asset.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/Settings/Mobile_RPAsset.asset.meta rename to src/ChibiRuby.Unity/Assets/Settings/Mobile_RPAsset.asset.meta diff --git a/src/MRubyCS.Unity/Assets/Settings/Mobile_Renderer.asset b/src/ChibiRuby.Unity/Assets/Settings/Mobile_Renderer.asset similarity index 100% rename from src/MRubyCS.Unity/Assets/Settings/Mobile_Renderer.asset rename to src/ChibiRuby.Unity/Assets/Settings/Mobile_Renderer.asset diff --git a/src/MRubyCS.Unity/Assets/Settings/Mobile_Renderer.asset.meta b/src/ChibiRuby.Unity/Assets/Settings/Mobile_Renderer.asset.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/Settings/Mobile_Renderer.asset.meta rename to src/ChibiRuby.Unity/Assets/Settings/Mobile_Renderer.asset.meta diff --git a/src/MRubyCS.Unity/Assets/Settings/PC_RPAsset.asset b/src/ChibiRuby.Unity/Assets/Settings/PC_RPAsset.asset similarity index 100% rename from src/MRubyCS.Unity/Assets/Settings/PC_RPAsset.asset rename to src/ChibiRuby.Unity/Assets/Settings/PC_RPAsset.asset diff --git a/src/MRubyCS.Unity/Assets/Settings/PC_RPAsset.asset.meta b/src/ChibiRuby.Unity/Assets/Settings/PC_RPAsset.asset.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/Settings/PC_RPAsset.asset.meta rename to src/ChibiRuby.Unity/Assets/Settings/PC_RPAsset.asset.meta diff --git a/src/MRubyCS.Unity/Assets/Settings/PC_Renderer.asset b/src/ChibiRuby.Unity/Assets/Settings/PC_Renderer.asset similarity index 100% rename from src/MRubyCS.Unity/Assets/Settings/PC_Renderer.asset rename to src/ChibiRuby.Unity/Assets/Settings/PC_Renderer.asset diff --git a/src/MRubyCS.Unity/Assets/Settings/PC_Renderer.asset.meta b/src/ChibiRuby.Unity/Assets/Settings/PC_Renderer.asset.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/Settings/PC_Renderer.asset.meta rename to src/ChibiRuby.Unity/Assets/Settings/PC_Renderer.asset.meta diff --git a/src/MRubyCS.Unity/Assets/Settings/SampleSceneProfile.asset b/src/ChibiRuby.Unity/Assets/Settings/SampleSceneProfile.asset similarity index 100% rename from src/MRubyCS.Unity/Assets/Settings/SampleSceneProfile.asset rename to src/ChibiRuby.Unity/Assets/Settings/SampleSceneProfile.asset diff --git a/src/MRubyCS.Unity/Assets/Settings/SampleSceneProfile.asset.meta b/src/ChibiRuby.Unity/Assets/Settings/SampleSceneProfile.asset.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/Settings/SampleSceneProfile.asset.meta rename to src/ChibiRuby.Unity/Assets/Settings/SampleSceneProfile.asset.meta diff --git a/src/MRubyCS.Unity/Assets/Settings/UniversalRenderPipelineGlobalSettings.asset b/src/ChibiRuby.Unity/Assets/Settings/UniversalRenderPipelineGlobalSettings.asset similarity index 100% rename from src/MRubyCS.Unity/Assets/Settings/UniversalRenderPipelineGlobalSettings.asset rename to src/ChibiRuby.Unity/Assets/Settings/UniversalRenderPipelineGlobalSettings.asset diff --git a/src/MRubyCS.Unity/Assets/Settings/UniversalRenderPipelineGlobalSettings.asset.meta b/src/ChibiRuby.Unity/Assets/Settings/UniversalRenderPipelineGlobalSettings.asset.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/Settings/UniversalRenderPipelineGlobalSettings.asset.meta rename to src/ChibiRuby.Unity/Assets/Settings/UniversalRenderPipelineGlobalSettings.asset.meta diff --git a/src/ChibiRuby.Unity/Assets/packages.config b/src/ChibiRuby.Unity/Assets/packages.config new file mode 100644 index 00000000..71369eba --- /dev/null +++ b/src/ChibiRuby.Unity/Assets/packages.config @@ -0,0 +1,11 @@ +¼?xml version="1.0" encoding="utf-8"?> + + + + + + + + + + diff --git a/src/MRubyCS.Unity/Assets/packages.config.meta b/src/ChibiRuby.Unity/Assets/packages.config.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/packages.config.meta rename to src/ChibiRuby.Unity/Assets/packages.config.meta diff --git a/src/MRubyCS.Unity/Assets/ruby.meta b/src/ChibiRuby.Unity/Assets/ruby.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/ruby.meta rename to src/ChibiRuby.Unity/Assets/ruby.meta diff --git a/src/MRubyCS.Unity/Assets/ruby/.vscode/launch.json b/src/ChibiRuby.Unity/Assets/ruby/.vscode/launch.json similarity index 100% rename from src/MRubyCS.Unity/Assets/ruby/.vscode/launch.json rename to src/ChibiRuby.Unity/Assets/ruby/.vscode/launch.json diff --git a/src/MRubyCS.Unity/Assets/ruby/sample.rb b/src/ChibiRuby.Unity/Assets/ruby/sample.rb similarity index 100% rename from src/MRubyCS.Unity/Assets/ruby/sample.rb rename to src/ChibiRuby.Unity/Assets/ruby/sample.rb diff --git a/src/MRubyCS.Unity/Assets/ruby/sample.rb.meta b/src/ChibiRuby.Unity/Assets/ruby/sample.rb.meta similarity index 100% rename from src/MRubyCS.Unity/Assets/ruby/sample.rb.meta rename to src/ChibiRuby.Unity/Assets/ruby/sample.rb.meta diff --git a/src/MRubyCS.Unity/Packages/manifest.json b/src/ChibiRuby.Unity/Packages/manifest.json similarity index 100% rename from src/MRubyCS.Unity/Packages/manifest.json rename to src/ChibiRuby.Unity/Packages/manifest.json diff --git a/src/MRubyCS.Unity/Packages/packages-lock.json b/src/ChibiRuby.Unity/Packages/packages-lock.json similarity index 100% rename from src/MRubyCS.Unity/Packages/packages-lock.json rename to src/ChibiRuby.Unity/Packages/packages-lock.json diff --git a/src/MRubyCS.Unity/ProjectSettings/AudioManager.asset b/src/ChibiRuby.Unity/ProjectSettings/AudioManager.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/AudioManager.asset rename to src/ChibiRuby.Unity/ProjectSettings/AudioManager.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/ClusterInputManager.asset b/src/ChibiRuby.Unity/ProjectSettings/ClusterInputManager.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/ClusterInputManager.asset rename to src/ChibiRuby.Unity/ProjectSettings/ClusterInputManager.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/DynamicsManager.asset b/src/ChibiRuby.Unity/ProjectSettings/DynamicsManager.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/DynamicsManager.asset rename to src/ChibiRuby.Unity/ProjectSettings/DynamicsManager.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/EditorBuildSettings.asset b/src/ChibiRuby.Unity/ProjectSettings/EditorBuildSettings.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/EditorBuildSettings.asset rename to src/ChibiRuby.Unity/ProjectSettings/EditorBuildSettings.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/EditorSettings.asset b/src/ChibiRuby.Unity/ProjectSettings/EditorSettings.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/EditorSettings.asset rename to src/ChibiRuby.Unity/ProjectSettings/EditorSettings.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/GraphicsSettings.asset b/src/ChibiRuby.Unity/ProjectSettings/GraphicsSettings.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/GraphicsSettings.asset rename to src/ChibiRuby.Unity/ProjectSettings/GraphicsSettings.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/InputManager.asset b/src/ChibiRuby.Unity/ProjectSettings/InputManager.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/InputManager.asset rename to src/ChibiRuby.Unity/ProjectSettings/InputManager.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/MemorySettings.asset b/src/ChibiRuby.Unity/ProjectSettings/MemorySettings.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/MemorySettings.asset rename to src/ChibiRuby.Unity/ProjectSettings/MemorySettings.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/MultiplayerManager.asset b/src/ChibiRuby.Unity/ProjectSettings/MultiplayerManager.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/MultiplayerManager.asset rename to src/ChibiRuby.Unity/ProjectSettings/MultiplayerManager.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/NavMeshAreas.asset b/src/ChibiRuby.Unity/ProjectSettings/NavMeshAreas.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/NavMeshAreas.asset rename to src/ChibiRuby.Unity/ProjectSettings/NavMeshAreas.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/PackageManagerSettings.asset b/src/ChibiRuby.Unity/ProjectSettings/PackageManagerSettings.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/PackageManagerSettings.asset rename to src/ChibiRuby.Unity/ProjectSettings/PackageManagerSettings.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/Packages/com.github-glitchenzo.nugetforunity/NativeRuntimeSettings.json b/src/ChibiRuby.Unity/ProjectSettings/Packages/com.github-glitchenzo.nugetforunity/NativeRuntimeSettings.json similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/Packages/com.github-glitchenzo.nugetforunity/NativeRuntimeSettings.json rename to src/ChibiRuby.Unity/ProjectSettings/Packages/com.github-glitchenzo.nugetforunity/NativeRuntimeSettings.json diff --git a/src/MRubyCS.Unity/ProjectSettings/Physics2DSettings.asset b/src/ChibiRuby.Unity/ProjectSettings/Physics2DSettings.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/Physics2DSettings.asset rename to src/ChibiRuby.Unity/ProjectSettings/Physics2DSettings.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/PresetManager.asset b/src/ChibiRuby.Unity/ProjectSettings/PresetManager.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/PresetManager.asset rename to src/ChibiRuby.Unity/ProjectSettings/PresetManager.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/ProjectSettings.asset b/src/ChibiRuby.Unity/ProjectSettings/ProjectSettings.asset similarity index 99% rename from src/MRubyCS.Unity/ProjectSettings/ProjectSettings.asset rename to src/ChibiRuby.Unity/ProjectSettings/ProjectSettings.asset index ec8e8a0a..6c949e77 100644 --- a/src/MRubyCS.Unity/ProjectSettings/ProjectSettings.asset +++ b/src/ChibiRuby.Unity/ProjectSettings/ProjectSettings.asset @@ -13,7 +13,7 @@ PlayerSettings: useOnDemandResources: 0 accelerometerFrequency: 60 companyName: DefaultCompany - productName: MRubyCS.Compiler.Unity + productName: ChibiRuby.Compiler.Unity defaultCursor: {fileID: 0} cursorHotspot: {x: 0, y: 0} m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} @@ -837,14 +837,14 @@ PlayerSettings: editorAssembliesCompatibilityLevel: 1 m_RenderingPath: 1 m_MobileRenderingPath: 1 - metroPackageName: MRubyCS.Compiler.Unity + metroPackageName: ChibiRuby.Compiler.Unity metroPackageVersion: metroCertificatePath: metroCertificatePassword: metroCertificateSubject: metroCertificateIssuer: metroCertificateNotAfter: 0000000000000000 - metroApplicationDescription: MRubyCS.Compiler.Unity + metroApplicationDescription: ChibiRuby.Compiler.Unity wsaImages: {} metroTileShortName: metroTileShowName: 0 @@ -918,7 +918,7 @@ PlayerSettings: cloudProjectId: 946152fd-16fd-4300-8840-6170b73af72d framebufferDepthMemorylessMode: 0 qualitySettingsNames: [] - projectName: MRubyCS.Compiler.Unity + projectName: ChibiRuby.Compiler.Unity organizationId: hadashikick cloudEnabled: 0 legacyClampBlendShapeWeights: 0 diff --git a/src/MRubyCS.Unity/ProjectSettings/ProjectVersion.txt b/src/ChibiRuby.Unity/ProjectSettings/ProjectVersion.txt similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/ProjectVersion.txt rename to src/ChibiRuby.Unity/ProjectSettings/ProjectVersion.txt diff --git a/src/MRubyCS.Unity/ProjectSettings/QualitySettings.asset b/src/ChibiRuby.Unity/ProjectSettings/QualitySettings.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/QualitySettings.asset rename to src/ChibiRuby.Unity/ProjectSettings/QualitySettings.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/SceneTemplateSettings.json b/src/ChibiRuby.Unity/ProjectSettings/SceneTemplateSettings.json similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/SceneTemplateSettings.json rename to src/ChibiRuby.Unity/ProjectSettings/SceneTemplateSettings.json diff --git a/src/MRubyCS.Unity/ProjectSettings/ShaderGraphSettings.asset b/src/ChibiRuby.Unity/ProjectSettings/ShaderGraphSettings.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/ShaderGraphSettings.asset rename to src/ChibiRuby.Unity/ProjectSettings/ShaderGraphSettings.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/TagManager.asset b/src/ChibiRuby.Unity/ProjectSettings/TagManager.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/TagManager.asset rename to src/ChibiRuby.Unity/ProjectSettings/TagManager.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/TimeManager.asset b/src/ChibiRuby.Unity/ProjectSettings/TimeManager.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/TimeManager.asset rename to src/ChibiRuby.Unity/ProjectSettings/TimeManager.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/URPProjectSettings.asset b/src/ChibiRuby.Unity/ProjectSettings/URPProjectSettings.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/URPProjectSettings.asset rename to src/ChibiRuby.Unity/ProjectSettings/URPProjectSettings.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/UnityConnectSettings.asset b/src/ChibiRuby.Unity/ProjectSettings/UnityConnectSettings.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/UnityConnectSettings.asset rename to src/ChibiRuby.Unity/ProjectSettings/UnityConnectSettings.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/VFXManager.asset b/src/ChibiRuby.Unity/ProjectSettings/VFXManager.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/VFXManager.asset rename to src/ChibiRuby.Unity/ProjectSettings/VFXManager.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/VersionControlSettings.asset b/src/ChibiRuby.Unity/ProjectSettings/VersionControlSettings.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/VersionControlSettings.asset rename to src/ChibiRuby.Unity/ProjectSettings/VersionControlSettings.asset diff --git a/src/MRubyCS.Unity/ProjectSettings/XRSettings.asset b/src/ChibiRuby.Unity/ProjectSettings/XRSettings.asset similarity index 100% rename from src/MRubyCS.Unity/ProjectSettings/XRSettings.asset rename to src/ChibiRuby.Unity/ProjectSettings/XRSettings.asset diff --git a/src/MRubyCS/ArgumentSpec.cs b/src/ChibiRuby/ArgumentSpec.cs similarity index 99% rename from src/MRubyCS/ArgumentSpec.cs rename to src/ChibiRuby/ArgumentSpec.cs index a758fb26..875ae8cf 100644 --- a/src/MRubyCS/ArgumentSpec.cs +++ b/src/ChibiRuby/ArgumentSpec.cs @@ -1,6 +1,6 @@ using System; -namespace MRubyCS; +namespace ChibiRuby; /// /// diff --git a/src/MRubyCS/Attributes.cs b/src/ChibiRuby/Attributes.cs similarity index 93% rename from src/MRubyCS/Attributes.cs rename to src/ChibiRuby/Attributes.cs index 991caf25..09cf289d 100644 --- a/src/MRubyCS/Attributes.cs +++ b/src/ChibiRuby/Attributes.cs @@ -1,9 +1,9 @@ using System; using System.Diagnostics; -namespace MRubyCS; +namespace ChibiRuby; -// These attributes are read only by the MRubyCS.SourceGenerator at compile time +// These attributes are read only by the ChibiRuby.SourceGenerator at compile time // to emit .rbs signature files. [Conditional] strips them from emitted metadata // (unless MRUBYCS_RBS_KEEP is defined), so they cost nothing in the shipped dll. diff --git a/src/MRubyCS/Backtrace.cs b/src/ChibiRuby/Backtrace.cs similarity index 98% rename from src/MRubyCS/Backtrace.cs rename to src/ChibiRuby/Backtrace.cs index 103b97cc..a5c84d30 100644 --- a/src/MRubyCS/Backtrace.cs +++ b/src/ChibiRuby/Backtrace.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; using System.Text; -using MRubyCS.Internals; +using ChibiRuby.Internals; -namespace MRubyCS; +namespace ChibiRuby; public struct BacktraceLocation { diff --git a/src/MRubyCS/MRubyCS.csproj b/src/ChibiRuby/ChibiRuby.csproj similarity index 72% rename from src/MRubyCS/MRubyCS.csproj rename to src/ChibiRuby/ChibiRuby.csproj index 50329c52..c69809ee 100644 --- a/src/MRubyCS/MRubyCS.csproj +++ b/src/ChibiRuby/ChibiRuby.csproj @@ -9,11 +9,11 @@ - - - - - + + + + + @@ -31,17 +31,17 @@ - + Analyzer false - $(MSBuildProjectDirectory)/../../sig + $(MSBuildProjectDirectory)/../../sig - + diff --git a/src/MRubyCS/IMRubyDebuggerHook.cs b/src/ChibiRuby/IMRubyDebuggerHook.cs similarity index 96% rename from src/MRubyCS/IMRubyDebuggerHook.cs rename to src/ChibiRuby/IMRubyDebuggerHook.cs index 543c6653..f640cfdd 100644 --- a/src/MRubyCS/IMRubyDebuggerHook.cs +++ b/src/ChibiRuby/IMRubyDebuggerHook.cs @@ -1,4 +1,4 @@ -namespace MRubyCS; +namespace ChibiRuby; /// Optional VM-side hook installed via . Invoked on the VM thread. public interface IMRubyDebuggerHook diff --git a/src/MRubyCS/Internals/AsciiCode.cs b/src/ChibiRuby/Internals/AsciiCode.cs similarity index 99% rename from src/MRubyCS/Internals/AsciiCode.cs rename to src/ChibiRuby/Internals/AsciiCode.cs index 2e81f153..1e9a42b7 100644 --- a/src/MRubyCS/Internals/AsciiCode.cs +++ b/src/ChibiRuby/Internals/AsciiCode.cs @@ -1,7 +1,7 @@ using System; using System.Runtime.CompilerServices; -namespace MRubyCS.Internals; +namespace ChibiRuby.Internals; static class Utf8Helper { diff --git a/src/MRubyCS/Internals/ClassPath.cs b/src/ChibiRuby/Internals/ClassPath.cs similarity index 99% rename from src/MRubyCS/Internals/ClassPath.cs rename to src/ChibiRuby/Internals/ClassPath.cs index f3d298e6..d6e9d965 100644 --- a/src/MRubyCS/Internals/ClassPath.cs +++ b/src/ChibiRuby/Internals/ClassPath.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace MRubyCS.Internals; +namespace ChibiRuby.Internals; struct ClassPath { diff --git a/src/MRubyCS/Internals/MRubyCallInfo.cs b/src/ChibiRuby/Internals/MRubyCallInfo.cs similarity index 99% rename from src/MRubyCS/Internals/MRubyCallInfo.cs rename to src/ChibiRuby/Internals/MRubyCallInfo.cs index 0b4d1da1..701cd9c1 100644 --- a/src/MRubyCS/Internals/MRubyCallInfo.cs +++ b/src/ChibiRuby/Internals/MRubyCallInfo.cs @@ -6,11 +6,11 @@ #if NET7_0_OR_GREATER using static System.Runtime.InteropServices.MemoryMarshal; #else -using static MRubyCS.Internal.MemoryMarshalEx; +using static ChibiRuby.Internal.MemoryMarshalEx; #endif using System.Threading; -namespace MRubyCS.Internals; +namespace ChibiRuby.Internals; public enum CallerType { diff --git a/src/MRubyCS/Internals/MultiConsumerValueTaskSource.cs b/src/ChibiRuby/Internals/MultiConsumerValueTaskSource.cs similarity index 99% rename from src/MRubyCS/Internals/MultiConsumerValueTaskSource.cs rename to src/ChibiRuby/Internals/MultiConsumerValueTaskSource.cs index f976912a..897205a8 100644 --- a/src/MRubyCS/Internals/MultiConsumerValueTaskSource.cs +++ b/src/ChibiRuby/Internals/MultiConsumerValueTaskSource.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; using System.Threading.Tasks.Sources; -namespace MRubyCS.Internals; +namespace ChibiRuby.Internals; public class MultiConsumerValueTaskNotifier { diff --git a/src/MRubyCS/Internals/NamingRule.cs b/src/ChibiRuby/Internals/NamingRule.cs similarity index 99% rename from src/MRubyCS/Internals/NamingRule.cs rename to src/ChibiRuby/Internals/NamingRule.cs index 85e7f80f..c5dbc491 100644 --- a/src/MRubyCS/Internals/NamingRule.cs +++ b/src/ChibiRuby/Internals/NamingRule.cs @@ -2,7 +2,7 @@ using System.Buffers; using System.Runtime.CompilerServices; -namespace MRubyCS.Internals; +namespace ChibiRuby.Internals; static class NamingRule { diff --git a/src/MRubyCS/Internals/Operands.cs b/src/ChibiRuby/Internals/Operands.cs similarity index 99% rename from src/MRubyCS/Internals/Operands.cs rename to src/ChibiRuby/Internals/Operands.cs index e8da46f5..191a50a2 100644 --- a/src/MRubyCS/Internals/Operands.cs +++ b/src/ChibiRuby/Internals/Operands.cs @@ -1,7 +1,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace MRubyCS.Internals; +namespace ChibiRuby.Internals; enum OperandType { diff --git a/src/MRubyCS/Internals/Shims/CancellationToken.cs b/src/ChibiRuby/Internals/Shims/CancellationToken.cs similarity index 100% rename from src/MRubyCS/Internals/Shims/CancellationToken.cs rename to src/ChibiRuby/Internals/Shims/CancellationToken.cs diff --git a/src/MRubyCS/Internals/Shims/CollectionsMarshal.cs b/src/ChibiRuby/Internals/Shims/CollectionsMarshal.cs similarity index 100% rename from src/MRubyCS/Internals/Shims/CollectionsMarshal.cs rename to src/ChibiRuby/Internals/Shims/CollectionsMarshal.cs diff --git a/src/MRubyCS/Internals/Shims/MemoryMarshalEx.cs b/src/ChibiRuby/Internals/Shims/MemoryMarshalEx.cs similarity index 94% rename from src/MRubyCS/Internals/Shims/MemoryMarshalEx.cs rename to src/ChibiRuby/Internals/Shims/MemoryMarshalEx.cs index bea376da..691e2e5b 100644 --- a/src/MRubyCS/Internals/Shims/MemoryMarshalEx.cs +++ b/src/ChibiRuby/Internals/Shims/MemoryMarshalEx.cs @@ -4,7 +4,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace MRubyCS.Internal; +namespace ChibiRuby.Internal; static class MemoryMarshalEx { [MethodImpl(MethodImplOptions.AggressiveInlining)] diff --git a/src/MRubyCS/Internals/SymbolHelpers.cs b/src/ChibiRuby/Internals/SymbolHelpers.cs similarity index 95% rename from src/MRubyCS/Internals/SymbolHelpers.cs rename to src/ChibiRuby/Internals/SymbolHelpers.cs index 252eb2bc..20479fbd 100644 --- a/src/MRubyCS/Internals/SymbolHelpers.cs +++ b/src/ChibiRuby/Internals/SymbolHelpers.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Internals; +namespace ChibiRuby.Internals; internal static class SymbolHelpers { diff --git a/src/MRubyCS/Internals/TypeObjectUnion.cs b/src/ChibiRuby/Internals/TypeObjectUnion.cs similarity index 98% rename from src/MRubyCS/Internals/TypeObjectUnion.cs rename to src/ChibiRuby/Internals/TypeObjectUnion.cs index 7169280b..92d484de 100644 --- a/src/MRubyCS/Internals/TypeObjectUnion.cs +++ b/src/ChibiRuby/Internals/TypeObjectUnion.cs @@ -2,7 +2,7 @@ using System.Diagnostics; using System.Runtime.CompilerServices; -namespace MRubyCS.Internals; +namespace ChibiRuby.Internals; [DebuggerDisplay("Value = {BoxedValue}")] readonly struct TypeObjectUnion : IEquatable diff --git a/src/MRubyCS/Irep.cs b/src/ChibiRuby/Irep.cs similarity index 99% rename from src/MRubyCS/Irep.cs rename to src/ChibiRuby/Irep.cs index d996beca..ad36a28f 100644 --- a/src/MRubyCS/Irep.cs +++ b/src/ChibiRuby/Irep.cs @@ -1,6 +1,6 @@ using System.Runtime.CompilerServices; -namespace MRubyCS; +namespace ChibiRuby; public enum CatchHandlerType : byte { diff --git a/src/MRubyCS/IrepDebugInfo.cs b/src/ChibiRuby/IrepDebugInfo.cs similarity index 99% rename from src/MRubyCS/IrepDebugInfo.cs rename to src/ChibiRuby/IrepDebugInfo.cs index 1ed2bb5e..787eb290 100644 --- a/src/MRubyCS/IrepDebugInfo.cs +++ b/src/ChibiRuby/IrepDebugInfo.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace MRubyCS; +namespace ChibiRuby; /// Format of the per-pc line table inside an . public enum DebugLineType : byte diff --git a/src/MRubyCS/MRubyFiberScheduler.cs b/src/ChibiRuby/MRubyFiberScheduler.cs similarity index 98% rename from src/MRubyCS/MRubyFiberScheduler.cs rename to src/ChibiRuby/MRubyFiberScheduler.cs index 42832ddf..e02ef927 100644 --- a/src/MRubyCS/MRubyFiberScheduler.cs +++ b/src/ChibiRuby/MRubyFiberScheduler.cs @@ -3,7 +3,7 @@ using System.Threading; using System.Threading.Tasks; -namespace MRubyCS; +namespace ChibiRuby; /// /// Handle returned by . Holds a @@ -75,7 +75,7 @@ public class MRubyFiberScheduler : IDisposable public CancellationToken DisposalToken => disposeSource.Token; /// - /// Bind this scheduler to the given . Invoked + /// Bind this scheduler to the given . Invoked /// once by . /// public virtual void Attach(MRubyState mrb) => MRubyState = mrb; @@ -84,7 +84,7 @@ public class MRubyFiberScheduler : IDisposable /// Park the current fiber, run from the caller's /// thread (sync prefix runs there), and resume the fiber with body's /// result once it completes. The body receives the bound - /// . + /// . /// /// /// On from body, the fiber diff --git a/src/MRubyCS/MRubyLongJumpException.cs b/src/ChibiRuby/MRubyLongJumpException.cs similarity index 93% rename from src/MRubyCS/MRubyLongJumpException.cs rename to src/ChibiRuby/MRubyLongJumpException.cs index 016e7654..f3e5f59e 100644 --- a/src/MRubyCS/MRubyLongJumpException.cs +++ b/src/ChibiRuby/MRubyLongJumpException.cs @@ -1,6 +1,6 @@ using System; -namespace MRubyCS; +namespace ChibiRuby; public class MRubyLongJumpException(string message) : Exception(message); diff --git a/src/MRubyCS/MRubyMethod.cs b/src/ChibiRuby/MRubyMethod.cs similarity index 99% rename from src/MRubyCS/MRubyMethod.cs rename to src/ChibiRuby/MRubyMethod.cs index a3e2b3af..98c57671 100644 --- a/src/MRubyCS/MRubyMethod.cs +++ b/src/ChibiRuby/MRubyMethod.cs @@ -1,7 +1,7 @@ using System; using System.Runtime.CompilerServices; -namespace MRubyCS; +namespace ChibiRuby; public delegate MRubyValue MRubyFunc(MRubyState state, MRubyValue self); diff --git a/src/MRubyCS/MRubyRaiseException.cs b/src/ChibiRuby/MRubyRaiseException.cs similarity index 98% rename from src/MRubyCS/MRubyRaiseException.cs rename to src/ChibiRuby/MRubyRaiseException.cs index 89479083..a68c343a 100644 --- a/src/MRubyCS/MRubyRaiseException.cs +++ b/src/ChibiRuby/MRubyRaiseException.cs @@ -1,7 +1,7 @@ using System; using System.Text; -namespace MRubyCS; +namespace ChibiRuby; public class MRubyRaiseException( string message, diff --git a/src/MRubyCS/MRubyState.Arguments.cs b/src/ChibiRuby/MRubyState.Arguments.cs similarity index 99% rename from src/MRubyCS/MRubyState.Arguments.cs rename to src/ChibiRuby/MRubyState.Arguments.cs index 4a1f35c2..686985eb 100644 --- a/src/MRubyCS/MRubyState.Arguments.cs +++ b/src/ChibiRuby/MRubyState.Arguments.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Runtime.CompilerServices; -namespace MRubyCS; +namespace ChibiRuby; partial class MRubyState { diff --git a/src/MRubyCS/MRubyState.Binding.cs b/src/ChibiRuby/MRubyState.Binding.cs similarity index 99% rename from src/MRubyCS/MRubyState.Binding.cs rename to src/ChibiRuby/MRubyState.Binding.cs index 1c332cf0..6eab3cbb 100644 --- a/src/MRubyCS/MRubyState.Binding.cs +++ b/src/ChibiRuby/MRubyState.Binding.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace MRubyCS; +namespace ChibiRuby; /// Snapshot for / . public readonly struct CallStateSnapshot diff --git a/src/MRubyCS/MRubyState.Class.cs b/src/ChibiRuby/MRubyState.Class.cs similarity index 99% rename from src/MRubyCS/MRubyState.Class.cs rename to src/ChibiRuby/MRubyState.Class.cs index 20375cd3..c2aba416 100644 --- a/src/MRubyCS/MRubyState.Class.cs +++ b/src/ChibiRuby/MRubyState.Class.cs @@ -1,7 +1,7 @@ using System; using System.Runtime.CompilerServices; -namespace MRubyCS; +namespace ChibiRuby; public sealed class ClassDefineOptions(MRubyState state, RClass c) { diff --git a/src/MRubyCS/MRubyState.Dump.cs b/src/ChibiRuby/MRubyState.Dump.cs similarity index 99% rename from src/MRubyCS/MRubyState.Dump.cs rename to src/ChibiRuby/MRubyState.Dump.cs index b0617897..9b8ff71e 100644 --- a/src/MRubyCS/MRubyState.Dump.cs +++ b/src/ChibiRuby/MRubyState.Dump.cs @@ -1,15 +1,15 @@ using System; using System.Buffers; using System.Runtime.CompilerServices; -using MRubyCS.Internals; +using ChibiRuby.Internals; using static Utf8StringInterpolation.Utf8String; #if NET7_0_OR_GREATER using static System.Runtime.InteropServices.MemoryMarshal; #else -using static MRubyCS.Internal.MemoryMarshalEx; +using static ChibiRuby.Internal.MemoryMarshalEx; #endif -namespace MRubyCS; +namespace ChibiRuby; partial class MRubyState { diff --git a/src/MRubyCS/MRubyState.Error.cs b/src/ChibiRuby/MRubyState.Error.cs similarity index 99% rename from src/MRubyCS/MRubyState.Error.cs rename to src/ChibiRuby/MRubyState.Error.cs index 5c76a4c1..d0fb370a 100644 --- a/src/MRubyCS/MRubyState.Error.cs +++ b/src/ChibiRuby/MRubyState.Error.cs @@ -1,10 +1,10 @@ using System; using System.Buffers; using System.Diagnostics.CodeAnalysis; -using MRubyCS.Internals; +using ChibiRuby.Internals; using Utf8StringInterpolation; -namespace MRubyCS; +namespace ChibiRuby; partial class MRubyState { diff --git a/src/MRubyCS/MRubyState.Fiber.cs b/src/ChibiRuby/MRubyState.Fiber.cs similarity index 98% rename from src/MRubyCS/MRubyState.Fiber.cs rename to src/ChibiRuby/MRubyState.Fiber.cs index d09f10f0..71f61050 100644 --- a/src/MRubyCS/MRubyState.Fiber.cs +++ b/src/ChibiRuby/MRubyState.Fiber.cs @@ -1,7 +1,7 @@ using System; -using MRubyCS.Internals; +using ChibiRuby.Internals; -namespace MRubyCS; +namespace ChibiRuby; partial class MRubyState { diff --git a/src/MRubyCS/MRubyState.Init.cs b/src/ChibiRuby/MRubyState.Init.cs similarity index 99% rename from src/MRubyCS/MRubyState.Init.cs rename to src/ChibiRuby/MRubyState.Init.cs index 057d415a..e7ad112b 100644 --- a/src/MRubyCS/MRubyState.Init.cs +++ b/src/ChibiRuby/MRubyState.Init.cs @@ -1,11 +1,11 @@ using System; using System.Buffers; using System.Runtime.CompilerServices; -using MRubyCS.Internals; -using MRubyCS.StdLib; +using ChibiRuby.Internals; +using ChibiRuby.StdLib; using Utf8StringInterpolation; -namespace MRubyCS; +namespace ChibiRuby; public partial class MRubyState : IDisposable { @@ -710,7 +710,7 @@ void InitFiber() void InitThread() { - // Stub Thread class — MRubyCS doesn't expose OS threads. It exists + // Stub Thread class — ChibiRuby doesn't expose OS threads. It exists // to host CRuby-compatible cooperative-scheduling entry points // (notably Thread.pass) that fan out to the fiber scheduler. var threadClass = DefineClass(Intern("Thread"u8), ObjectClass, MRubyVType.Object); diff --git a/src/MRubyCS/MRubyState.Markers.cs b/src/ChibiRuby/MRubyState.Markers.cs similarity index 99% rename from src/MRubyCS/MRubyState.Markers.cs rename to src/ChibiRuby/MRubyState.Markers.cs index 3655935f..e8c52722 100644 --- a/src/MRubyCS/MRubyState.Markers.cs +++ b/src/ChibiRuby/MRubyState.Markers.cs @@ -3,7 +3,7 @@ // ReSharper disable InconsistentNaming // ReSharper disable MemberCanBePrivate.Local -namespace MRubyCS; +namespace ChibiRuby; partial class MRubyState { diff --git a/src/MRubyCS/MRubyState.Object.cs b/src/ChibiRuby/MRubyState.Object.cs similarity index 99% rename from src/MRubyCS/MRubyState.Object.cs rename to src/ChibiRuby/MRubyState.Object.cs index d835b5bd..bb325add 100644 --- a/src/MRubyCS/MRubyState.Object.cs +++ b/src/ChibiRuby/MRubyState.Object.cs @@ -2,11 +2,11 @@ using System.Buffers; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -using MRubyCS.Internals; -using MRubyCS.StdLib; +using ChibiRuby.Internals; +using ChibiRuby.StdLib; using Utf8StringInterpolation; -namespace MRubyCS; +namespace ChibiRuby; partial class MRubyState { diff --git a/src/MRubyCS/MRubyState.Variable.cs b/src/ChibiRuby/MRubyState.Variable.cs similarity index 99% rename from src/MRubyCS/MRubyState.Variable.cs rename to src/ChibiRuby/MRubyState.Variable.cs index ae95c66d..2e835def 100644 --- a/src/MRubyCS/MRubyState.Variable.cs +++ b/src/ChibiRuby/MRubyState.Variable.cs @@ -1,6 +1,6 @@ -using MRubyCS.StdLib; +using ChibiRuby.StdLib; -namespace MRubyCS; +namespace ChibiRuby; partial class MRubyState { diff --git a/src/MRubyCS/MRubyState.Vm.cs b/src/ChibiRuby/MRubyState.Vm.cs similarity index 99% rename from src/MRubyCS/MRubyState.Vm.cs rename to src/ChibiRuby/MRubyState.Vm.cs index 37393aa3..6eac5102 100644 --- a/src/MRubyCS/MRubyState.Vm.cs +++ b/src/ChibiRuby/MRubyState.Vm.cs @@ -5,17 +5,17 @@ using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; -using MRubyCS.Internals; -using MRubyCS.StdLib; +using ChibiRuby.Internals; +using ChibiRuby.StdLib; #if NET7_0_OR_GREATER using static System.Runtime.InteropServices.MemoryMarshal; #else -using static MRubyCS.Internal.MemoryMarshalEx; +using static ChibiRuby.Internal.MemoryMarshalEx; #endif // ReSharper disable UnreachableSwitchArmDueToIntegerAnalysis -namespace MRubyCS; +namespace ChibiRuby; enum VmSignal : byte { Next, JumpAndNext, Return } diff --git a/src/MRubyCS/MRubyValue.cs b/src/ChibiRuby/MRubyValue.cs similarity index 99% rename from src/MRubyCS/MRubyValue.cs rename to src/ChibiRuby/MRubyValue.cs index 499a4f1e..b6883b95 100644 --- a/src/MRubyCS/MRubyValue.cs +++ b/src/ChibiRuby/MRubyValue.cs @@ -3,7 +3,7 @@ using System.Runtime.CompilerServices; using Utf8StringInterpolation; -namespace MRubyCS; +namespace ChibiRuby; public enum MRubyVType { diff --git a/src/MRubyCS/MRubyValueEqualityComparer.cs b/src/ChibiRuby/MRubyValueEqualityComparer.cs similarity index 96% rename from src/MRubyCS/MRubyValueEqualityComparer.cs rename to src/ChibiRuby/MRubyValueEqualityComparer.cs index 3edfad93..7f14aeb9 100644 --- a/src/MRubyCS/MRubyValueEqualityComparer.cs +++ b/src/ChibiRuby/MRubyValueEqualityComparer.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace MRubyCS; +namespace ChibiRuby; public sealed class MRubyValueEqualityComparer(MRubyState state) : IEqualityComparer { diff --git a/src/MRubyCS/MethodTable.cs b/src/ChibiRuby/MethodTable.cs similarity index 97% rename from src/MRubyCS/MethodTable.cs rename to src/ChibiRuby/MethodTable.cs index 2137e8e9..10554c8a 100644 --- a/src/MRubyCS/MethodTable.cs +++ b/src/ChibiRuby/MethodTable.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Runtime.CompilerServices; -namespace MRubyCS; +namespace ChibiRuby; class MethodTable { diff --git a/src/MRubyCS/OpCode.cs b/src/ChibiRuby/OpCode.cs similarity index 99% rename from src/MRubyCS/OpCode.cs rename to src/ChibiRuby/OpCode.cs index 5617e3ab..6300932a 100644 --- a/src/MRubyCS/OpCode.cs +++ b/src/ChibiRuby/OpCode.cs @@ -1,4 +1,4 @@ -namespace MRubyCS; +namespace ChibiRuby; /// /// diff --git a/src/MRubyCS/RArray.cs b/src/ChibiRuby/RArray.cs similarity index 99% rename from src/MRubyCS/RArray.cs rename to src/ChibiRuby/RArray.cs index db56b5f2..c27ae8b0 100644 --- a/src/MRubyCS/RArray.cs +++ b/src/ChibiRuby/RArray.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Runtime.CompilerServices; -namespace MRubyCS; +namespace ChibiRuby; public sealed class RArray : RObject, IEnumerable { diff --git a/src/MRubyCS/RBasic.cs b/src/ChibiRuby/RBasic.cs similarity index 98% rename from src/MRubyCS/RBasic.cs rename to src/ChibiRuby/RBasic.cs index e62bffec..55087428 100644 --- a/src/MRubyCS/RBasic.cs +++ b/src/ChibiRuby/RBasic.cs @@ -1,6 +1,6 @@ using System; -namespace MRubyCS; +namespace ChibiRuby; [Flags] public enum MRubyObjectFlags : byte diff --git a/src/MRubyCS/RBinding.cs b/src/ChibiRuby/RBinding.cs similarity index 99% rename from src/MRubyCS/RBinding.cs rename to src/ChibiRuby/RBinding.cs index 0bc51b42..b6c3f441 100644 --- a/src/MRubyCS/RBinding.cs +++ b/src/ChibiRuby/RBinding.cs @@ -1,8 +1,8 @@ using System; using System.Collections.Generic; -using MRubyCS.Internals; +using ChibiRuby.Internals; -namespace MRubyCS; +namespace ChibiRuby; /// A Ruby Binding: self + locals + source position of a Ruby frame. public sealed class RBinding : RObject diff --git a/src/MRubyCS/RBreak.cs b/src/ChibiRuby/RBreak.cs similarity index 93% rename from src/MRubyCS/RBreak.cs rename to src/ChibiRuby/RBreak.cs index c36dd271..36c250c8 100644 --- a/src/MRubyCS/RBreak.cs +++ b/src/ChibiRuby/RBreak.cs @@ -1,4 +1,4 @@ -namespace MRubyCS; +namespace ChibiRuby; public enum BreakTag { diff --git a/src/MRubyCS/RClass.cs b/src/ChibiRuby/RClass.cs similarity index 99% rename from src/MRubyCS/RClass.cs rename to src/ChibiRuby/RClass.cs index 04191a65..de137329 100644 --- a/src/MRubyCS/RClass.cs +++ b/src/ChibiRuby/RClass.cs @@ -1,4 +1,4 @@ -namespace MRubyCS; +namespace ChibiRuby; public class RClass : RObject, ICallScope { diff --git a/src/MRubyCS/RData.cs b/src/ChibiRuby/RData.cs similarity index 96% rename from src/MRubyCS/RData.cs rename to src/ChibiRuby/RData.cs index c2dcde44..be3ff702 100644 --- a/src/MRubyCS/RData.cs +++ b/src/ChibiRuby/RData.cs @@ -1,4 +1,4 @@ -namespace MRubyCS; +namespace ChibiRuby; public class RData : RObject { diff --git a/src/MRubyCS/RException.cs b/src/ChibiRuby/RException.cs similarity index 96% rename from src/MRubyCS/RException.cs rename to src/ChibiRuby/RException.cs index c91f9021..e8177bba 100644 --- a/src/MRubyCS/RException.cs +++ b/src/ChibiRuby/RException.cs @@ -1,4 +1,4 @@ -namespace MRubyCS; +namespace ChibiRuby; public sealed class RException( RString? message, diff --git a/src/MRubyCS/RFiber.cs b/src/ChibiRuby/RFiber.cs similarity index 99% rename from src/MRubyCS/RFiber.cs rename to src/ChibiRuby/RFiber.cs index 967cfb96..6b1f6f8d 100644 --- a/src/MRubyCS/RFiber.cs +++ b/src/ChibiRuby/RFiber.cs @@ -3,9 +3,9 @@ using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; -using MRubyCS.Internals; +using ChibiRuby.Internals; -namespace MRubyCS; +namespace ChibiRuby; public sealed class RFiber : RObject { diff --git a/src/MRubyCS/RFloat.cs b/src/ChibiRuby/RFloat.cs similarity index 90% rename from src/MRubyCS/RFloat.cs rename to src/ChibiRuby/RFloat.cs index 08082337..c604f68d 100644 --- a/src/MRubyCS/RFloat.cs +++ b/src/ChibiRuby/RFloat.cs @@ -1,4 +1,4 @@ -namespace MRubyCS; +namespace ChibiRuby; public sealed class RFloat : RObject { diff --git a/src/MRubyCS/RHash.cs b/src/ChibiRuby/RHash.cs similarity index 99% rename from src/MRubyCS/RHash.cs rename to src/ChibiRuby/RHash.cs index 5aa7a07f..256a0640 100644 --- a/src/MRubyCS/RHash.cs +++ b/src/ChibiRuby/RHash.cs @@ -4,7 +4,7 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -namespace MRubyCS; +namespace ChibiRuby; public sealed class RHash : RObject, IEnumerable> { diff --git a/src/MRubyCS/RIO.cs b/src/ChibiRuby/RIO.cs similarity index 98% rename from src/MRubyCS/RIO.cs rename to src/ChibiRuby/RIO.cs index 141c52b5..e7253a1c 100644 --- a/src/MRubyCS/RIO.cs +++ b/src/ChibiRuby/RIO.cs @@ -1,6 +1,6 @@ using System.IO; -namespace MRubyCS; +namespace ChibiRuby; /// /// Ruby IO instance backing a . diff --git a/src/MRubyCS/RInteger.cs b/src/ChibiRuby/RInteger.cs similarity index 90% rename from src/MRubyCS/RInteger.cs rename to src/ChibiRuby/RInteger.cs index a799c25f..0c486eed 100644 --- a/src/MRubyCS/RInteger.cs +++ b/src/ChibiRuby/RInteger.cs @@ -1,4 +1,4 @@ -namespace MRubyCS; +namespace ChibiRuby; public sealed class RInteger : RObject { diff --git a/src/MRubyCS/RObject.cs b/src/ChibiRuby/RObject.cs similarity index 97% rename from src/MRubyCS/RObject.cs rename to src/ChibiRuby/RObject.cs index 0e28abfa..988097f0 100644 --- a/src/MRubyCS/RObject.cs +++ b/src/ChibiRuby/RObject.cs @@ -1,4 +1,4 @@ -namespace MRubyCS; +namespace ChibiRuby; public class RObject : RBasic { diff --git a/src/MRubyCS/RProc.cs b/src/ChibiRuby/RProc.cs similarity index 98% rename from src/MRubyCS/RProc.cs rename to src/ChibiRuby/RProc.cs index 7bf59058..3c55dec9 100644 --- a/src/MRubyCS/RProc.cs +++ b/src/ChibiRuby/RProc.cs @@ -1,7 +1,7 @@ using System; -using MRubyCS.Internals; +using ChibiRuby.Internals; -namespace MRubyCS; +namespace ChibiRuby; public interface ICallScope { diff --git a/src/MRubyCS/RRange.cs b/src/ChibiRuby/RRange.cs similarity index 99% rename from src/MRubyCS/RRange.cs rename to src/ChibiRuby/RRange.cs index d7d79a36..63ccba21 100644 --- a/src/MRubyCS/RRange.cs +++ b/src/ChibiRuby/RRange.cs @@ -1,4 +1,4 @@ -namespace MRubyCS; +namespace ChibiRuby; public enum RangeCalculateResult { diff --git a/src/MRubyCS/RString.cs b/src/ChibiRuby/RString.cs similarity index 99% rename from src/MRubyCS/RString.cs rename to src/ChibiRuby/RString.cs index 75b41d32..2721072c 100644 --- a/src/MRubyCS/RString.cs +++ b/src/ChibiRuby/RString.cs @@ -1,9 +1,9 @@ using System; using System.Runtime.CompilerServices; using System.Text; -using MRubyCS.Internals; +using ChibiRuby.Internals; -namespace MRubyCS; +namespace ChibiRuby; enum RStringRangeType { diff --git a/src/MRubyCS/RiteParser.cs b/src/ChibiRuby/RiteParser.cs similarity index 99% rename from src/MRubyCS/RiteParser.cs rename to src/ChibiRuby/RiteParser.cs index fa390c65..23e83e4b 100644 --- a/src/MRubyCS/RiteParser.cs +++ b/src/ChibiRuby/RiteParser.cs @@ -4,7 +4,7 @@ using System.Runtime.InteropServices; using System.Text; -namespace MRubyCS; +namespace ChibiRuby; public class RiteParseException(string message) : Exception(message) { diff --git a/src/MRubyCS/StdLib/ArrayMembers.cs b/src/ChibiRuby/StdLib/ArrayMembers.cs similarity index 99% rename from src/MRubyCS/StdLib/ArrayMembers.cs rename to src/ChibiRuby/StdLib/ArrayMembers.cs index b17cabe2..42cd9c75 100644 --- a/src/MRubyCS/StdLib/ArrayMembers.cs +++ b/src/ChibiRuby/StdLib/ArrayMembers.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// Ordered, integer-indexed collection of objects. The base concrete container diff --git a/src/MRubyCS/StdLib/BasicObjectMembers.cs b/src/ChibiRuby/StdLib/BasicObjectMembers.cs similarity index 99% rename from src/MRubyCS/StdLib/BasicObjectMembers.cs rename to src/ChibiRuby/StdLib/BasicObjectMembers.cs index 24e52999..9a5f6bee 100644 --- a/src/MRubyCS/StdLib/BasicObjectMembers.cs +++ b/src/ChibiRuby/StdLib/BasicObjectMembers.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// Root of the Ruby class hierarchy -- has no superclass and an intentionally diff --git a/src/MRubyCS/StdLib/BindingMembers.cs b/src/ChibiRuby/StdLib/BindingMembers.cs similarity index 93% rename from src/MRubyCS/StdLib/BindingMembers.cs rename to src/ChibiRuby/StdLib/BindingMembers.cs index 7768a8a8..e3c789ca 100644 --- a/src/MRubyCS/StdLib/BindingMembers.cs +++ b/src/ChibiRuby/StdLib/BindingMembers.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; static class BindingMembers { @@ -59,7 +59,7 @@ static class BindingMembers }); // Binding#irb - default implementation when no debugger is attached. - // The MRubyCS.Debugger package replaces this with a hook-triggering implementation + // The ChibiRuby.Debugger package replaces this with a hook-triggering implementation // by calling DefineMethod again at attach time. public static MRubyMethod Irb = new((state, self) => { @@ -69,7 +69,7 @@ static class BindingMembers hook.OnBindingIrb(state, binding); return MRubyValue.Nil; } - state.Raise(Names.RuntimeError, "binding.irb called but no debugger is attached (MRubyCS.Debugger not initialized)"u8); + state.Raise(Names.RuntimeError, "binding.irb called but no debugger is attached (ChibiRuby.Debugger not initialized)"u8); return MRubyValue.Nil; }); diff --git a/src/MRubyCS/StdLib/ClassMembers.cs b/src/ChibiRuby/StdLib/ClassMembers.cs similarity index 99% rename from src/MRubyCS/StdLib/ClassMembers.cs rename to src/ChibiRuby/StdLib/ClassMembers.cs index 4ac77d27..96765e0c 100644 --- a/src/MRubyCS/StdLib/ClassMembers.cs +++ b/src/ChibiRuby/StdLib/ClassMembers.cs @@ -1,6 +1,6 @@ using System; -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// A Ruby class object -- a Module that can be instantiated via diff --git a/src/MRubyCS/StdLib/EnumerableMembers.cs b/src/ChibiRuby/StdLib/EnumerableMembers.cs similarity index 97% rename from src/MRubyCS/StdLib/EnumerableMembers.cs rename to src/ChibiRuby/StdLib/EnumerableMembers.cs index 9b8b725a..93cbfa43 100644 --- a/src/MRubyCS/StdLib/EnumerableMembers.cs +++ b/src/ChibiRuby/StdLib/EnumerableMembers.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// Mixin providing collection traversal, searching, and sorting methods on top diff --git a/src/MRubyCS/StdLib/ExceptionMembers.cs b/src/ChibiRuby/StdLib/ExceptionMembers.cs similarity index 99% rename from src/MRubyCS/StdLib/ExceptionMembers.cs rename to src/ChibiRuby/StdLib/ExceptionMembers.cs index 986af4c1..ee5c40a2 100644 --- a/src/MRubyCS/StdLib/ExceptionMembers.cs +++ b/src/ChibiRuby/StdLib/ExceptionMembers.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// Root of the exception class hierarchy. Wraps a message and an optional diff --git a/src/MRubyCS/StdLib/FalseClassMembers.cs b/src/ChibiRuby/StdLib/FalseClassMembers.cs similarity index 98% rename from src/MRubyCS/StdLib/FalseClassMembers.cs rename to src/ChibiRuby/StdLib/FalseClassMembers.cs index 30a9f430..1734d638 100644 --- a/src/MRubyCS/StdLib/FalseClassMembers.cs +++ b/src/ChibiRuby/StdLib/FalseClassMembers.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// The class of the singleton false value. Along with nil, this diff --git a/src/MRubyCS/StdLib/FiberMembers.cs b/src/ChibiRuby/StdLib/FiberMembers.cs similarity index 97% rename from src/MRubyCS/StdLib/FiberMembers.cs rename to src/ChibiRuby/StdLib/FiberMembers.cs index 823e6095..9faf56f4 100644 --- a/src/MRubyCS/StdLib/FiberMembers.cs +++ b/src/ChibiRuby/StdLib/FiberMembers.cs @@ -1,13 +1,13 @@ using System; -using MRubyCS.Internals; +using ChibiRuby.Internals; -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// Cooperatively-scheduled coroutine. A Fiber runs a block until it /// calls Fiber.yield, at which point control returns to whoever called /// resume; the next resume continues from the yield point. In -/// MRubyCS, fibers also drive async/await interop via the +/// ChibiRuby, fibers also drive async/await interop via the /// active fiber scheduler. /// [RubyClass("Fiber")] diff --git a/src/MRubyCS/StdLib/FileMembers.cs b/src/ChibiRuby/StdLib/FileMembers.cs similarity index 99% rename from src/MRubyCS/StdLib/FileMembers.cs rename to src/ChibiRuby/StdLib/FileMembers.cs index 29c078c5..621b274f 100644 --- a/src/MRubyCS/StdLib/FileMembers.cs +++ b/src/ChibiRuby/StdLib/FileMembers.cs @@ -3,12 +3,12 @@ using System.IO; using System.Text; -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// Filesystem I/O -- a subclass of IO for reading and writing files on /// disk. Opened via File.open(path, mode); the block form -/// (File.open(path) { |f| ... }) auto-closes the handle. In MRubyCS, +/// (File.open(path) { |f| ... }) auto-closes the handle. In ChibiRuby, /// path/mode handling is delegated to the host runtime via .NET file APIs. /// [RubyClass("File", Superclass = "IO")] diff --git a/src/MRubyCS/StdLib/FloatMembers.cs b/src/ChibiRuby/StdLib/FloatMembers.cs similarity index 99% rename from src/MRubyCS/StdLib/FloatMembers.cs rename to src/ChibiRuby/StdLib/FloatMembers.cs index bab96d8d..ffbd1923 100644 --- a/src/MRubyCS/StdLib/FloatMembers.cs +++ b/src/ChibiRuby/StdLib/FloatMembers.cs @@ -1,7 +1,7 @@ using System; using System.Buffers.Text; -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// IEEE 754 double-precision floating-point number. Created by literals with a diff --git a/src/MRubyCS/StdLib/HashMembers.cs b/src/ChibiRuby/StdLib/HashMembers.cs similarity index 99% rename from src/MRubyCS/StdLib/HashMembers.cs rename to src/ChibiRuby/StdLib/HashMembers.cs index 0d77d3b5..bee1f605 100644 --- a/src/MRubyCS/StdLib/HashMembers.cs +++ b/src/ChibiRuby/StdLib/HashMembers.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// Unordered mapping from keys to values (insertion order is preserved on diff --git a/src/MRubyCS/StdLib/IOMembers.cs b/src/ChibiRuby/StdLib/IOMembers.cs similarity index 97% rename from src/MRubyCS/StdLib/IOMembers.cs rename to src/ChibiRuby/StdLib/IOMembers.cs index 7f69c551..4151c38b 100644 --- a/src/MRubyCS/StdLib/IOMembers.cs +++ b/src/ChibiRuby/StdLib/IOMembers.cs @@ -2,12 +2,12 @@ using System.Buffers; using System.IO; -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// Base class for byte streams -- files, sockets, pipes, and the like. Provides /// read, write, gets, puts, and friends. Subclassed -/// by File for filesystem access. In MRubyCS, instances wrap a .NET +/// by File for filesystem access. In ChibiRuby, instances wrap a .NET /// Stream. /// [RubyClass("IO")] diff --git a/src/MRubyCS/StdLib/IntegerMembers.cs b/src/ChibiRuby/StdLib/IntegerMembers.cs similarity index 99% rename from src/MRubyCS/StdLib/IntegerMembers.cs rename to src/ChibiRuby/StdLib/IntegerMembers.cs index 3e39b0af..b6c83700 100644 --- a/src/MRubyCS/StdLib/IntegerMembers.cs +++ b/src/ChibiRuby/StdLib/IntegerMembers.cs @@ -4,10 +4,10 @@ using System.Runtime.InteropServices; using Utf8StringInterpolation; -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// -/// Arbitrary-precision-style integer (backed by a 64-bit value in MRubyCS). +/// Arbitrary-precision-style integer (backed by a 64-bit value in ChibiRuby). /// Created by integer literals like 42 or 0xff, and used for /// counting, indexing, and bit manipulation. Integer is immutable, /// includes Comparable, and supports the full set of numeric and diff --git a/src/MRubyCS/StdLib/KernelMembers.cs b/src/ChibiRuby/StdLib/KernelMembers.cs similarity index 99% rename from src/MRubyCS/StdLib/KernelMembers.cs rename to src/ChibiRuby/StdLib/KernelMembers.cs index d057b3f6..6aba7e4e 100644 --- a/src/MRubyCS/StdLib/KernelMembers.cs +++ b/src/ChibiRuby/StdLib/KernelMembers.cs @@ -1,7 +1,7 @@ using System; using System.Threading; -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// Mixin included by Object that provides the methods available on diff --git a/src/MRubyCS/StdLib/LibEmbedded.cs b/src/ChibiRuby/StdLib/LibEmbedded.cs similarity index 99% rename from src/MRubyCS/StdLib/LibEmbedded.cs rename to src/ChibiRuby/StdLib/LibEmbedded.cs index 5924ecaa..6940af57 100644 --- a/src/MRubyCS/StdLib/LibEmbedded.cs +++ b/src/ChibiRuby/StdLib/LibEmbedded.cs @@ -1,4 +1,4 @@ -namespace MRubyCS { +namespace ChibiRuby { public static class LibEmbedded { public static readonly byte[] Bytes = diff --git a/src/MRubyCS/StdLib/MainMembers.cs b/src/ChibiRuby/StdLib/MainMembers.cs similarity index 100% rename from src/MRubyCS/StdLib/MainMembers.cs rename to src/ChibiRuby/StdLib/MainMembers.cs diff --git a/src/MRubyCS/StdLib/MatchDataMembers.cs b/src/ChibiRuby/StdLib/MatchDataMembers.cs similarity index 99% rename from src/MRubyCS/StdLib/MatchDataMembers.cs rename to src/ChibiRuby/StdLib/MatchDataMembers.cs index 41ff8f06..6475b09a 100644 --- a/src/MRubyCS/StdLib/MatchDataMembers.cs +++ b/src/ChibiRuby/StdLib/MatchDataMembers.cs @@ -1,9 +1,9 @@ using System; using System.Text; using System.Text.RegularExpressions; -using MRubyCS; +using ChibiRuby; -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// Wraps a .NET Match object for use in MRuby. diff --git a/src/MRubyCS/StdLib/ModuleMembers.cs b/src/ChibiRuby/StdLib/ModuleMembers.cs similarity index 99% rename from src/MRubyCS/StdLib/ModuleMembers.cs rename to src/ChibiRuby/StdLib/ModuleMembers.cs index e0b423a6..7e8499be 100644 --- a/src/MRubyCS/StdLib/ModuleMembers.cs +++ b/src/ChibiRuby/StdLib/ModuleMembers.cs @@ -1,6 +1,6 @@ using System; -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// A named bundle of methods and constants that can be mixed into classes via diff --git a/src/MRubyCS/StdLib/NilClassMembers.cs b/src/ChibiRuby/StdLib/NilClassMembers.cs similarity index 97% rename from src/MRubyCS/StdLib/NilClassMembers.cs rename to src/ChibiRuby/StdLib/NilClassMembers.cs index 47dea10e..81184d43 100644 --- a/src/MRubyCS/StdLib/NilClassMembers.cs +++ b/src/ChibiRuby/StdLib/NilClassMembers.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// The class of the singleton nil value. Returned by methods that have diff --git a/src/MRubyCS/StdLib/NumericMembers.cs b/src/ChibiRuby/StdLib/NumericMembers.cs similarity index 99% rename from src/MRubyCS/StdLib/NumericMembers.cs rename to src/ChibiRuby/StdLib/NumericMembers.cs index 4370c078..5bebc212 100644 --- a/src/MRubyCS/StdLib/NumericMembers.cs +++ b/src/ChibiRuby/StdLib/NumericMembers.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// Abstract base class for numeric types -- the parent of Integer and diff --git a/src/MRubyCS/StdLib/ObjectMembers.cs b/src/ChibiRuby/StdLib/ObjectMembers.cs similarity index 74% rename from src/MRubyCS/StdLib/ObjectMembers.cs rename to src/ChibiRuby/StdLib/ObjectMembers.cs index 362961cd..84ce91b4 100644 --- a/src/MRubyCS/StdLib/ObjectMembers.cs +++ b/src/ChibiRuby/StdLib/ObjectMembers.cs @@ -1,7 +1,7 @@ -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// -/// Object has no direct method definitions in MRubyCS -- its public API surface +/// Object has no direct method definitions in ChibiRuby -- its public API surface /// comes entirely through include Kernel (wired in MRubyState.InitObject). /// This placeholder exists so the rbs generator emits sig/object.rbs with /// the proper header and include Kernel. diff --git a/src/MRubyCS/StdLib/ProcMembers.cs b/src/ChibiRuby/StdLib/ProcMembers.cs similarity index 96% rename from src/MRubyCS/StdLib/ProcMembers.cs rename to src/ChibiRuby/StdLib/ProcMembers.cs index a25f8a74..6276ecdb 100644 --- a/src/MRubyCS/StdLib/ProcMembers.cs +++ b/src/ChibiRuby/StdLib/ProcMembers.cs @@ -1,11 +1,11 @@ #if NET7_0_OR_GREATER using static System.Runtime.InteropServices.MemoryMarshal; #else -using static MRubyCS.Internal.MemoryMarshalEx; +using static ChibiRuby.Internal.MemoryMarshalEx; #endif -using MRubyCS.Internals; +using ChibiRuby.Internals; -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// A first-class callable created from a block. Capture a block as a diff --git a/src/MRubyCS/StdLib/RandomMembers.cs b/src/ChibiRuby/StdLib/RandomMembers.cs similarity index 99% rename from src/MRubyCS/StdLib/RandomMembers.cs rename to src/ChibiRuby/StdLib/RandomMembers.cs index cd16efe4..6254dc02 100644 --- a/src/MRubyCS/StdLib/RandomMembers.cs +++ b/src/ChibiRuby/StdLib/RandomMembers.cs @@ -1,7 +1,7 @@ using System; using System.Buffers; -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; class MRubyRandomData { @@ -120,7 +120,7 @@ public MRubyValue Bytes(MRubyState mrb) /// Seeded pseudo-random number generator. Random.new(seed) creates an /// independent stream; Kernel#rand and Kernel#srand delegate to /// a shared default instance. Backed by .NET's -/// in MRubyCS, so the sequence is not bit-compatible with CRuby. +/// in ChibiRuby, so the sequence is not bit-compatible with CRuby. /// [RubyClass("Random")] static class RandomMembers diff --git a/src/MRubyCS/StdLib/RangeMembers.cs b/src/ChibiRuby/StdLib/RangeMembers.cs similarity index 99% rename from src/MRubyCS/StdLib/RangeMembers.cs rename to src/ChibiRuby/StdLib/RangeMembers.cs index 0821da67..d6ea1adb 100644 --- a/src/MRubyCS/StdLib/RangeMembers.cs +++ b/src/ChibiRuby/StdLib/RangeMembers.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// An interval between two values, written as begin..end (inclusive) or diff --git a/src/MRubyCS/StdLib/RegexpMembers.cs b/src/ChibiRuby/StdLib/RegexpMembers.cs similarity index 99% rename from src/MRubyCS/StdLib/RegexpMembers.cs rename to src/ChibiRuby/StdLib/RegexpMembers.cs index 49fb60ed..4f081a6e 100644 --- a/src/MRubyCS/StdLib/RegexpMembers.cs +++ b/src/ChibiRuby/StdLib/RegexpMembers.cs @@ -3,7 +3,7 @@ using System.Text; using System.Text.RegularExpressions; -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; class MRubyRegexpData(string pattern, int rubyOptions = 0) : IEquatable { @@ -67,7 +67,7 @@ static RegexOptions ConvertToRegexOptions(int rubyOptions) /// /// Regular expression literal -- written as /pattern/flags. Matching /// against a String via =~ or match returns a -/// MatchData (or nil on no match). In MRubyCS, the pattern is +/// MatchData (or nil on no match). In ChibiRuby, the pattern is /// translated to and executed by .NET's , /// so some Ruby-specific syntax may differ. /// diff --git a/src/MRubyCS/StdLib/StringMembers.cs b/src/ChibiRuby/StdLib/StringMembers.cs similarity index 99% rename from src/MRubyCS/StdLib/StringMembers.cs rename to src/ChibiRuby/StdLib/StringMembers.cs index 996ca59c..1d60e2cb 100644 --- a/src/MRubyCS/StdLib/StringMembers.cs +++ b/src/ChibiRuby/StdLib/StringMembers.cs @@ -4,9 +4,9 @@ using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; -using MRubyCS.Internals; +using ChibiRuby.Internals; -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// Mutable sequence of bytes, usually interpreted as UTF-8 text. Indexing diff --git a/src/MRubyCS/StdLib/SymbolMembers.cs b/src/ChibiRuby/StdLib/SymbolMembers.cs similarity index 98% rename from src/MRubyCS/StdLib/SymbolMembers.cs rename to src/ChibiRuby/StdLib/SymbolMembers.cs index 6e9105f5..cf6fad85 100644 --- a/src/MRubyCS/StdLib/SymbolMembers.cs +++ b/src/ChibiRuby/StdLib/SymbolMembers.cs @@ -1,7 +1,7 @@ using System; -using MRubyCS.Internals; +using ChibiRuby.Internals; -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// Interned, immutable identifier -- written :name. Two symbols with diff --git a/src/MRubyCS/StdLib/ThreadMembers.cs b/src/ChibiRuby/StdLib/ThreadMembers.cs similarity index 89% rename from src/MRubyCS/StdLib/ThreadMembers.cs rename to src/ChibiRuby/StdLib/ThreadMembers.cs index 7b55a2cf..badeac76 100644 --- a/src/MRubyCS/StdLib/ThreadMembers.cs +++ b/src/ChibiRuby/StdLib/ThreadMembers.cs @@ -1,7 +1,7 @@ -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// -/// MRubyCS does not implement OS threads (the VM is single-threaded); +/// ChibiRuby does not implement OS threads (the VM is single-threaded); /// the Thread class exists primarily to host CRuby-compatible /// cooperative-scheduling entry points such as Thread.pass. /// diff --git a/src/MRubyCS/StdLib/TimeMembers.cs b/src/ChibiRuby/StdLib/TimeMembers.cs similarity index 99% rename from src/MRubyCS/StdLib/TimeMembers.cs rename to src/ChibiRuby/StdLib/TimeMembers.cs index ff76a6cf..fbb3fe22 100644 --- a/src/MRubyCS/StdLib/TimeMembers.cs +++ b/src/ChibiRuby/StdLib/TimeMembers.cs @@ -2,7 +2,7 @@ using System.Globalization; using Utf8StringInterpolation; -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; public enum MRubyTimeZone { @@ -66,7 +66,7 @@ public int CompareTo(MRubyTimeData? other) /// Time.now, Time.at, or Time.utc/Time.local; /// supports arithmetic with Numeric seconds and comparison via /// <=>. Backed by .NET's -/// in MRubyCS. +/// in ChibiRuby. /// [RubyClass("Time")] static class TimeMembers diff --git a/src/MRubyCS/StdLib/TrueClassMembers.cs b/src/ChibiRuby/StdLib/TrueClassMembers.cs similarity index 98% rename from src/MRubyCS/StdLib/TrueClassMembers.cs rename to src/ChibiRuby/StdLib/TrueClassMembers.cs index ae8e0f38..0fc408e0 100644 --- a/src/MRubyCS/StdLib/TrueClassMembers.cs +++ b/src/ChibiRuby/StdLib/TrueClassMembers.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.StdLib; +namespace ChibiRuby.StdLib; /// /// The class of the singleton true value. Note that in Ruby every diff --git a/src/MRubyCS/StdLib/lib.rb b/src/ChibiRuby/StdLib/lib.rb similarity index 100% rename from src/MRubyCS/StdLib/lib.rb rename to src/ChibiRuby/StdLib/lib.rb diff --git a/src/MRubyCS/StdLib/lib.rbs b/src/ChibiRuby/StdLib/lib.rbs similarity index 100% rename from src/MRubyCS/StdLib/lib.rbs rename to src/ChibiRuby/StdLib/lib.rbs diff --git a/src/MRubyCS/Symbol.cs b/src/ChibiRuby/Symbol.cs similarity index 99% rename from src/MRubyCS/Symbol.cs rename to src/ChibiRuby/Symbol.cs index 4c7adbfe..5517b135 100644 --- a/src/MRubyCS/Symbol.cs +++ b/src/ChibiRuby/Symbol.cs @@ -3,7 +3,7 @@ using System.Runtime.CompilerServices; using System.Text; -namespace MRubyCS; +namespace ChibiRuby; public readonly record struct Symbol(uint Value) { diff --git a/src/MRubyCS/VariableTable.cs b/src/ChibiRuby/VariableTable.cs similarity index 98% rename from src/MRubyCS/VariableTable.cs rename to src/ChibiRuby/VariableTable.cs index 46823183..44f6e220 100644 --- a/src/MRubyCS/VariableTable.cs +++ b/src/ChibiRuby/VariableTable.cs @@ -5,10 +5,10 @@ #if NET7_0_OR_GREATER using static System.Runtime.InteropServices.MemoryMarshal; #else -using static MRubyCS.Internal.MemoryMarshalEx; +using static ChibiRuby.Internal.MemoryMarshalEx; #endif -namespace MRubyCS; +namespace ChibiRuby; public class VariableTable : IEnumerable> { diff --git a/src/MRubyCS.Compiler/mrbgems/mrubycs-compiler/src/mrubycs-compiler.c b/src/MRubyCS.Compiler/mrbgems/mrubycs-compiler/src/mrubycs-compiler.c deleted file mode 100644 index ea0a4b54..00000000 --- a/src/MRubyCS.Compiler/mrbgems/mrubycs-compiler/src/mrubycs-compiler.c +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include - -void mrubycs_free(void *ptr) -{ - free(ptr); -} - -void mrb_mrubycs_compiler_gem_init(mrb_state *mrb) -{ -} - -void mrb_mrubycs_compiler_gem_final(mrb_state *mrb) -{ -} diff --git a/src/MRubyCS.Debugger.Dap/MRubyCS.Debugger.Dap.csproj b/src/MRubyCS.Debugger.Dap/MRubyCS.Debugger.Dap.csproj deleted file mode 100644 index 50d45468..00000000 --- a/src/MRubyCS.Debugger.Dap/MRubyCS.Debugger.Dap.csproj +++ /dev/null @@ -1,24 +0,0 @@ - - - - net8.0;net9.0;net10.0;netstandard2.1 - enable - 13 - Debug Adapter Protocol (DAP) server for MRubyCS.Debugger. Plug into any DAP-compatible editor (VSCode, Zed, JetBrains, Neovim, etc.). - - - - - - - - - - - - - - - - - diff --git a/src/MRubyCS.Debugger/MRubyCS.Debugger.csproj b/src/MRubyCS.Debugger/MRubyCS.Debugger.csproj deleted file mode 100644 index 56d16ccb..00000000 --- a/src/MRubyCS.Debugger/MRubyCS.Debugger.csproj +++ /dev/null @@ -1,20 +0,0 @@ - - - - net8.0;net9.0;net10.0;netstandard2.1 - enable - 13 - Debugger core for MRubyCS. Protocol-agnostic primitives for breakpoints, stepping, and binding.irb suspension. - - - - - - - - - - - - - diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/package.json b/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/package.json deleted file mode 100644 index 3cd76910..00000000 --- a/src/MRubyCS.Unity/Assets/MRubyCS.Compiler.Unity/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "jp.hadashikick.mrubycs-compiler", - "displayName": "MRubyCS.Compiler", - "version": "0.108.0", - "unity": "2021.3", - "description": "Unity Editor extension for MRubyCS.Compiler (ScriptedImporter for .rb / .mrb). Requires the MRubyCS.Compiler NuGet package installed via NuGetForUnity.", - "keywords": ["mruby", "ruby"], - "license": "MIT", - "documentationUrl": "https://github.com/hadashiA/MRubyCS", - "changelogUrl": "https://github.com/hadashiA/MRubyCS/releases", - "licensesUrl": "https://github.com/hadashiA/MRubyCS/blob/master/LICENSE" -} diff --git a/src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/package.json b/src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/package.json deleted file mode 100644 index d5b3edac..00000000 --- a/src/MRubyCS.Unity/Assets/MRubyCS.Serializer.Unity/package.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "jp.hadashikick.mrubycs-serializer", - "displayName": "MRubyCS.Serializer", - "version": "0.108.0", - "unity": "2021.3", - "description": "MRubyCS serializer extensions for unity", - "keywords": ["mruby", "ruby"], - "license": "MIT", - "documentationUrl": "https://github.com/hadashiA/MRubyCS", - "changelogUrl": "https://github.com/hadashiA/MRubyCS/releases", - "licensesUrl": "https://github.com/hadashiA/MRubyCS/blob/master/LICENSE" -} diff --git a/src/MRubyCS.Unity/Assets/packages.config b/src/MRubyCS.Unity/Assets/packages.config deleted file mode 100644 index a99a2177..00000000 --- a/src/MRubyCS.Unity/Assets/packages.config +++ /dev/null @@ -1,11 +0,0 @@ -¼?xml version="1.0" encoding="utf-8"?> - - - - - - - - - - diff --git a/tests/MRubyCS.Debugger.Dap.Tests/MRubyCS.Debugger.Dap.Tests.csproj b/tests/ChibiRuby.Debugger.Dap.Tests/ChibiRuby.Debugger.Dap.Tests.csproj similarity index 67% rename from tests/MRubyCS.Debugger.Dap.Tests/MRubyCS.Debugger.Dap.Tests.csproj rename to tests/ChibiRuby.Debugger.Dap.Tests/ChibiRuby.Debugger.Dap.Tests.csproj index d9599ecf..49196ef1 100644 --- a/tests/MRubyCS.Debugger.Dap.Tests/MRubyCS.Debugger.Dap.Tests.csproj +++ b/tests/ChibiRuby.Debugger.Dap.Tests/ChibiRuby.Debugger.Dap.Tests.csproj @@ -22,11 +22,11 @@ - - - - - + + + + + Analyzer false diff --git a/tests/MRubyCS.Debugger.Dap.Tests/MRubyCsDapServerTest.cs b/tests/ChibiRuby.Debugger.Dap.Tests/ChibiRubyDapServerTest.cs similarity index 97% rename from tests/MRubyCS.Debugger.Dap.Tests/MRubyCsDapServerTest.cs rename to tests/ChibiRuby.Debugger.Dap.Tests/ChibiRubyDapServerTest.cs index 26f12644..3da5b7ae 100644 --- a/tests/MRubyCS.Debugger.Dap.Tests/MRubyCsDapServerTest.cs +++ b/tests/ChibiRuby.Debugger.Dap.Tests/ChibiRubyDapServerTest.cs @@ -1,12 +1,12 @@ using System.Collections.Generic; using System.IO; using System.Threading.Tasks; -using MRubyCS.Debugger.Dap.Protocol; +using ChibiRuby.Debugger.Dap.Protocol; -namespace MRubyCS.Debugger.Dap.Tests; +namespace ChibiRuby.Debugger.Dap.Tests; [TestFixture] -public class MRubyCsDapServerTest +public class ChibiRubyDapServerTest { string scriptPath = default!; diff --git a/tests/MRubyCS.Debugger.Dap.Tests/ClientSession.cs b/tests/ChibiRuby.Debugger.Dap.Tests/ClientSession.cs similarity index 99% rename from tests/MRubyCS.Debugger.Dap.Tests/ClientSession.cs rename to tests/ChibiRuby.Debugger.Dap.Tests/ClientSession.cs index 477a877d..950c799c 100644 --- a/tests/MRubyCS.Debugger.Dap.Tests/ClientSession.cs +++ b/tests/ChibiRuby.Debugger.Dap.Tests/ClientSession.cs @@ -3,9 +3,9 @@ using System.Collections.Concurrent; using System.IO.Pipelines; using System.Text; -using MRubyCS.Debugger.Dap.Protocol; +using ChibiRuby.Debugger.Dap.Protocol; -namespace MRubyCS.Debugger.Dap.Tests; +namespace ChibiRuby.Debugger.Dap.Tests; /// /// Client-side wrapper used by tests to drive a or diff --git a/tests/MRubyCS.Debugger.Dap.Tests/SetBreakpointsTest.cs b/tests/ChibiRuby.Debugger.Dap.Tests/SetBreakpointsTest.cs similarity index 97% rename from tests/MRubyCS.Debugger.Dap.Tests/SetBreakpointsTest.cs rename to tests/ChibiRuby.Debugger.Dap.Tests/SetBreakpointsTest.cs index 565018ae..104d76eb 100644 --- a/tests/MRubyCS.Debugger.Dap.Tests/SetBreakpointsTest.cs +++ b/tests/ChibiRuby.Debugger.Dap.Tests/SetBreakpointsTest.cs @@ -3,11 +3,11 @@ using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; -using MRubyCS.Compiler; -using MRubyCS.Debugger.Dap.Protocol; +using ChibiRuby.Compiler; +using ChibiRuby.Debugger.Dap.Protocol; using Thread = System.Threading.Thread; -namespace MRubyCS.Debugger.Dap.Tests; +namespace ChibiRuby.Debugger.Dap.Tests; [TestFixture] public class SetBreakpointsTest diff --git a/tests/MRubyCS.Debugger.Dap.Tests/StackTraceLineTest.cs b/tests/ChibiRuby.Debugger.Dap.Tests/StackTraceLineTest.cs similarity index 97% rename from tests/MRubyCS.Debugger.Dap.Tests/StackTraceLineTest.cs rename to tests/ChibiRuby.Debugger.Dap.Tests/StackTraceLineTest.cs index 394509c5..b9551e9b 100644 --- a/tests/MRubyCS.Debugger.Dap.Tests/StackTraceLineTest.cs +++ b/tests/ChibiRuby.Debugger.Dap.Tests/StackTraceLineTest.cs @@ -3,9 +3,9 @@ using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; -using MRubyCS.Compiler; +using ChibiRuby.Compiler; -namespace MRubyCS.Debugger.Dap.Tests; +namespace ChibiRuby.Debugger.Dap.Tests; /// /// Verifies that Phase 2.1 DBG-section plumbing actually reaches the DAP wire: the diff --git a/tests/MRubyCS.Debugger.Dap.Tests/StepDapTest.cs b/tests/ChibiRuby.Debugger.Dap.Tests/StepDapTest.cs similarity index 97% rename from tests/MRubyCS.Debugger.Dap.Tests/StepDapTest.cs rename to tests/ChibiRuby.Debugger.Dap.Tests/StepDapTest.cs index 591a8961..05b0bfe9 100644 --- a/tests/MRubyCS.Debugger.Dap.Tests/StepDapTest.cs +++ b/tests/ChibiRuby.Debugger.Dap.Tests/StepDapTest.cs @@ -3,11 +3,11 @@ using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; -using MRubyCS.Compiler; -using MRubyCS.Debugger.Dap.Protocol; +using ChibiRuby.Compiler; +using ChibiRuby.Debugger.Dap.Protocol; using Thread = System.Threading.Thread; -namespace MRubyCS.Debugger.Dap.Tests; +namespace ChibiRuby.Debugger.Dap.Tests; /// /// End-to-end tests for the DAP `next` / `stepIn` / `stepOut` commands over real TCP. diff --git a/tests/MRubyCS.Debugger.Dap.Tests/TcpDapServerTest.cs b/tests/ChibiRuby.Debugger.Dap.Tests/TcpDapServerTest.cs similarity index 96% rename from tests/MRubyCS.Debugger.Dap.Tests/TcpDapServerTest.cs rename to tests/ChibiRuby.Debugger.Dap.Tests/TcpDapServerTest.cs index 5878bbaa..c9880111 100644 --- a/tests/MRubyCS.Debugger.Dap.Tests/TcpDapServerTest.cs +++ b/tests/ChibiRuby.Debugger.Dap.Tests/TcpDapServerTest.cs @@ -5,11 +5,11 @@ using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; -using MRubyCS.Compiler; -using MRubyCS.Debugger.Dap.Protocol; +using ChibiRuby.Compiler; +using ChibiRuby.Debugger.Dap.Protocol; using Thread = System.Threading.Thread; -namespace MRubyCS.Debugger.Dap.Tests; +namespace ChibiRuby.Debugger.Dap.Tests; /// /// End-to-end test of the embedded host scenario: a host C# thread runs Ruby (with diff --git a/tests/MRubyCS.Debugger.Dap.Tests/TestHarness.cs b/tests/ChibiRuby.Debugger.Dap.Tests/TestHarness.cs similarity index 97% rename from tests/MRubyCS.Debugger.Dap.Tests/TestHarness.cs rename to tests/ChibiRuby.Debugger.Dap.Tests/TestHarness.cs index b873f433..afd4e7fe 100644 --- a/tests/MRubyCS.Debugger.Dap.Tests/TestHarness.cs +++ b/tests/ChibiRuby.Debugger.Dap.Tests/TestHarness.cs @@ -1,9 +1,9 @@ using System.IO.Pipelines; -using MRubyCS.Compiler; -using MRubyCS.Debugger.Dap.Protocol; +using ChibiRuby.Compiler; +using ChibiRuby.Debugger.Dap.Protocol; using Thread = System.Threading.Thread; -namespace MRubyCS.Debugger.Dap.Tests; +namespace ChibiRuby.Debugger.Dap.Tests; /// /// Back-to-back in-memory pipe pair for driving a from a diff --git a/tests/MRubyCS.Debugger.Tests/MRubyCS.Debugger.Tests.csproj b/tests/ChibiRuby.Debugger.Tests/ChibiRuby.Debugger.Tests.csproj similarity index 72% rename from tests/MRubyCS.Debugger.Tests/MRubyCS.Debugger.Tests.csproj rename to tests/ChibiRuby.Debugger.Tests/ChibiRuby.Debugger.Tests.csproj index 0468a837..b2834ce0 100644 --- a/tests/MRubyCS.Debugger.Tests/MRubyCS.Debugger.Tests.csproj +++ b/tests/ChibiRuby.Debugger.Tests/ChibiRuby.Debugger.Tests.csproj @@ -22,10 +22,10 @@ - - - - + + + + Analyzer false diff --git a/tests/MRubyCS.Debugger.Tests/LineBreakpointTest.cs b/tests/ChibiRuby.Debugger.Tests/LineBreakpointTest.cs similarity index 99% rename from tests/MRubyCS.Debugger.Tests/LineBreakpointTest.cs rename to tests/ChibiRuby.Debugger.Tests/LineBreakpointTest.cs index 5f8eb625..092a53b8 100644 --- a/tests/MRubyCS.Debugger.Tests/LineBreakpointTest.cs +++ b/tests/ChibiRuby.Debugger.Tests/LineBreakpointTest.cs @@ -1,8 +1,8 @@ using System.Threading; using System.Threading.Tasks; -using MRubyCS.Compiler; +using ChibiRuby.Compiler; -namespace MRubyCS.Debugger.Tests; +namespace ChibiRuby.Debugger.Tests; /// /// Phase 2.2 line-breakpoint coverage. These tests drive the debugger from a background diff --git a/tests/MRubyCS.Debugger.Tests/MRubyDebuggerTest.cs b/tests/ChibiRuby.Debugger.Tests/MRubyDebuggerTest.cs similarity index 97% rename from tests/MRubyCS.Debugger.Tests/MRubyDebuggerTest.cs rename to tests/ChibiRuby.Debugger.Tests/MRubyDebuggerTest.cs index cc21f4d4..40612a50 100644 --- a/tests/MRubyCS.Debugger.Tests/MRubyDebuggerTest.cs +++ b/tests/ChibiRuby.Debugger.Tests/MRubyDebuggerTest.cs @@ -1,9 +1,9 @@ using System.Threading; using System.Threading.Tasks; -using MRubyCS.Compiler; -using MRubyCS.Debugger; +using ChibiRuby.Compiler; +using ChibiRuby.Debugger; -namespace MRubyCS.Debugger.Tests; +namespace ChibiRuby.Debugger.Tests; /// /// Test client that drives the debugger from a background thread, simulating what a DAP @@ -293,9 +293,9 @@ public void Eval_DoesNotLeakTemporaryGlobal() """u8); Assert.That(firstEval!.IsError, Is.False); - // The wrapper relies on $__mrubycs_dbg_binding internally; it must be cleared + // The wrapper relies on $__chibiruby_dbg_binding internally; it must be cleared // after the eval session so callers can't accidentally observe it. - Assert.That(mrb.GlobalVariableDefined(mrb.Intern("$__mrubycs_dbg_binding"u8)), Is.False); + Assert.That(mrb.GlobalVariableDefined(mrb.Intern("$__chibiruby_dbg_binding"u8)), Is.False); } [Test] diff --git a/tests/MRubyCS.Debugger.Tests/StepTest.cs b/tests/ChibiRuby.Debugger.Tests/StepTest.cs similarity index 98% rename from tests/MRubyCS.Debugger.Tests/StepTest.cs rename to tests/ChibiRuby.Debugger.Tests/StepTest.cs index 4d424263..52e46a05 100644 --- a/tests/MRubyCS.Debugger.Tests/StepTest.cs +++ b/tests/ChibiRuby.Debugger.Tests/StepTest.cs @@ -1,7 +1,7 @@ using System.Threading; -using MRubyCS.Compiler; +using ChibiRuby.Compiler; -namespace MRubyCS.Debugger.Tests; +namespace ChibiRuby.Debugger.Tests; /// /// Phase 2.3 step semantics: stepIn enters callees, stepOver skips them, stepOut diff --git a/tests/MRubyCS.Serializer.Tests/BuiltinClassFormatterTest.cs b/tests/ChibiRuby.Serializer.Tests/BuiltinClassFormatterTest.cs similarity index 99% rename from tests/MRubyCS.Serializer.Tests/BuiltinClassFormatterTest.cs rename to tests/ChibiRuby.Serializer.Tests/BuiltinClassFormatterTest.cs index 328266c5..5e9b40ac 100644 --- a/tests/MRubyCS.Serializer.Tests/BuiltinClassFormatterTest.cs +++ b/tests/ChibiRuby.Serializer.Tests/BuiltinClassFormatterTest.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Serializer.Tests; +namespace ChibiRuby.Serializer.Tests; [TestFixture] public class BuiltinClassFormatterTest diff --git a/tests/MRubyCS.Serializer.Tests/MRubyCS.Serializer.Tests.csproj b/tests/ChibiRuby.Serializer.Tests/ChibiRuby.Serializer.Tests.csproj similarity index 76% rename from tests/MRubyCS.Serializer.Tests/MRubyCS.Serializer.Tests.csproj rename to tests/ChibiRuby.Serializer.Tests/ChibiRuby.Serializer.Tests.csproj index f100b277..6e5e5980 100644 --- a/tests/MRubyCS.Serializer.Tests/MRubyCS.Serializer.Tests.csproj +++ b/tests/ChibiRuby.Serializer.Tests/ChibiRuby.Serializer.Tests.csproj @@ -21,9 +21,9 @@ - - - + + + Analyzer false diff --git a/tests/MRubyCS.Serializer.Tests/Classes.cs b/tests/ChibiRuby.Serializer.Tests/Classes.cs similarity index 93% rename from tests/MRubyCS.Serializer.Tests/Classes.cs rename to tests/ChibiRuby.Serializer.Tests/Classes.cs index 46e678bd..91ec4e64 100644 --- a/tests/MRubyCS.Serializer.Tests/Classes.cs +++ b/tests/ChibiRuby.Serializer.Tests/Classes.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Serializer.Tests; +namespace ChibiRuby.Serializer.Tests; [MRubyObject] partial class NestedFieldObject diff --git a/tests/MRubyCS.Serializer.Tests/CompositeResolverTest.cs b/tests/ChibiRuby.Serializer.Tests/CompositeResolverTest.cs similarity index 97% rename from tests/MRubyCS.Serializer.Tests/CompositeResolverTest.cs rename to tests/ChibiRuby.Serializer.Tests/CompositeResolverTest.cs index 89cd2e89..a8476931 100644 --- a/tests/MRubyCS.Serializer.Tests/CompositeResolverTest.cs +++ b/tests/ChibiRuby.Serializer.Tests/CompositeResolverTest.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Serializer.Tests; +namespace ChibiRuby.Serializer.Tests; [TestFixture] public class CompositeResolverTest diff --git a/tests/MRubyCS.Serializer.Tests/EnumAsStringFormatterTest.cs b/tests/ChibiRuby.Serializer.Tests/EnumAsStringFormatterTest.cs similarity index 97% rename from tests/MRubyCS.Serializer.Tests/EnumAsStringFormatterTest.cs rename to tests/ChibiRuby.Serializer.Tests/EnumAsStringFormatterTest.cs index 492979b2..1a527658 100644 --- a/tests/MRubyCS.Serializer.Tests/EnumAsStringFormatterTest.cs +++ b/tests/ChibiRuby.Serializer.Tests/EnumAsStringFormatterTest.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Serializer.Tests; +namespace ChibiRuby.Serializer.Tests; [TestFixture] public class EnumAsStringFormatterTest diff --git a/tests/MRubyCS.Serializer.Tests/GeneratedFormatterTest.cs b/tests/ChibiRuby.Serializer.Tests/GeneratedFormatterTest.cs similarity index 98% rename from tests/MRubyCS.Serializer.Tests/GeneratedFormatterTest.cs rename to tests/ChibiRuby.Serializer.Tests/GeneratedFormatterTest.cs index 78c188e4..56376185 100644 --- a/tests/MRubyCS.Serializer.Tests/GeneratedFormatterTest.cs +++ b/tests/ChibiRuby.Serializer.Tests/GeneratedFormatterTest.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Serializer.Tests; +namespace ChibiRuby.Serializer.Tests; [TestFixture] public class GeneratedFormatterTest diff --git a/tests/MRubyCS.Serializer.Tests/MRubyValueToMRubyValueTest.cs b/tests/ChibiRuby.Serializer.Tests/MRubyValueToMRubyValueTest.cs similarity index 92% rename from tests/MRubyCS.Serializer.Tests/MRubyValueToMRubyValueTest.cs rename to tests/ChibiRuby.Serializer.Tests/MRubyValueToMRubyValueTest.cs index 25377126..16d4c595 100644 --- a/tests/MRubyCS.Serializer.Tests/MRubyValueToMRubyValueTest.cs +++ b/tests/ChibiRuby.Serializer.Tests/MRubyValueToMRubyValueTest.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Serializer.Tests; +namespace ChibiRuby.Serializer.Tests; [TestFixture] public class MRubyValueToMRubyValueTest diff --git a/tests/MRubyCS.Serializer.Tests/PrimitiveObjectFormatterTest.cs b/tests/ChibiRuby.Serializer.Tests/PrimitiveObjectFormatterTest.cs similarity index 94% rename from tests/MRubyCS.Serializer.Tests/PrimitiveObjectFormatterTest.cs rename to tests/ChibiRuby.Serializer.Tests/PrimitiveObjectFormatterTest.cs index 85108e51..f2ca15f5 100644 --- a/tests/MRubyCS.Serializer.Tests/PrimitiveObjectFormatterTest.cs +++ b/tests/ChibiRuby.Serializer.Tests/PrimitiveObjectFormatterTest.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Serializer.Tests; +namespace ChibiRuby.Serializer.Tests; [TestFixture] public class PrimitiveObjectFormatterTest diff --git a/tests/MRubyCS.Tests/BindingTest.cs b/tests/ChibiRuby.Tests/BindingTest.cs similarity index 99% rename from tests/MRubyCS.Tests/BindingTest.cs rename to tests/ChibiRuby.Tests/BindingTest.cs index e2509df8..04b6b993 100644 --- a/tests/MRubyCS.Tests/BindingTest.cs +++ b/tests/ChibiRuby.Tests/BindingTest.cs @@ -1,6 +1,6 @@ -using MRubyCS.Compiler; +using ChibiRuby.Compiler; -namespace MRubyCS.Tests; +namespace ChibiRuby.Tests; [TestFixture] public class BindingTest diff --git a/tests/MRubyCS.Tests/BootstrapClassNameTest.cs b/tests/ChibiRuby.Tests/BootstrapClassNameTest.cs similarity index 97% rename from tests/MRubyCS.Tests/BootstrapClassNameTest.cs rename to tests/ChibiRuby.Tests/BootstrapClassNameTest.cs index e12f0930..6f31dfa2 100644 --- a/tests/MRubyCS.Tests/BootstrapClassNameTest.cs +++ b/tests/ChibiRuby.Tests/BootstrapClassNameTest.cs @@ -1,7 +1,7 @@ using System.Text; -using MRubyCS.Compiler; +using ChibiRuby.Compiler; -namespace MRubyCS.Tests; +namespace ChibiRuby.Tests; /// /// Pins down the fix for the bootstrap class-name RStrings. diff --git a/tests/MRubyCS.Tests/MRubyCS.Tests.csproj b/tests/ChibiRuby.Tests/ChibiRuby.Tests.csproj similarity index 80% rename from tests/MRubyCS.Tests/MRubyCS.Tests.csproj rename to tests/ChibiRuby.Tests/ChibiRuby.Tests.csproj index 64fb6987..e175874c 100644 --- a/tests/MRubyCS.Tests/MRubyCS.Tests.csproj +++ b/tests/ChibiRuby.Tests/ChibiRuby.Tests.csproj @@ -22,9 +22,9 @@ - - - + + + Analyzer false diff --git a/tests/MRubyCS.Tests/CompilerTest.cs b/tests/ChibiRuby.Tests/CompilerTest.cs similarity index 97% rename from tests/MRubyCS.Tests/CompilerTest.cs rename to tests/ChibiRuby.Tests/CompilerTest.cs index 669fe523..325d3a3b 100644 --- a/tests/MRubyCS.Tests/CompilerTest.cs +++ b/tests/ChibiRuby.Tests/CompilerTest.cs @@ -1,7 +1,7 @@ using System.Text; -using MRubyCS.Compiler; +using ChibiRuby.Compiler; -namespace MRubyCS.Tests; +namespace ChibiRuby.Tests; [TestFixture] public class CompilerTest diff --git a/tests/MRubyCS.Tests/ExceptionBacktraceTest.cs b/tests/ChibiRuby.Tests/ExceptionBacktraceTest.cs similarity index 98% rename from tests/MRubyCS.Tests/ExceptionBacktraceTest.cs rename to tests/ChibiRuby.Tests/ExceptionBacktraceTest.cs index 3367063c..7da9ce44 100644 --- a/tests/MRubyCS.Tests/ExceptionBacktraceTest.cs +++ b/tests/ChibiRuby.Tests/ExceptionBacktraceTest.cs @@ -1,7 +1,7 @@ using System.Text; -using MRubyCS.Compiler; +using ChibiRuby.Compiler; -namespace MRubyCS.Tests; +namespace ChibiRuby.Tests; [TestFixture] public class ExceptionBacktraceTest diff --git a/tests/MRubyCS.Tests/FiberSchedulerTest.cs b/tests/ChibiRuby.Tests/FiberSchedulerTest.cs similarity index 99% rename from tests/MRubyCS.Tests/FiberSchedulerTest.cs rename to tests/ChibiRuby.Tests/FiberSchedulerTest.cs index fbea95a1..7579d1f7 100644 --- a/tests/MRubyCS.Tests/FiberSchedulerTest.cs +++ b/tests/ChibiRuby.Tests/FiberSchedulerTest.cs @@ -1,7 +1,7 @@ using System.Diagnostics; -using MRubyCS.Compiler; +using ChibiRuby.Compiler; -namespace MRubyCS.Tests; +namespace ChibiRuby.Tests; [TestFixture] public class FiberSchedulerTest diff --git a/tests/MRubyCS.Tests/FiberTest.cs b/tests/ChibiRuby.Tests/FiberTest.cs similarity index 99% rename from tests/MRubyCS.Tests/FiberTest.cs rename to tests/ChibiRuby.Tests/FiberTest.cs index b8f43e9b..d753ae61 100644 --- a/tests/MRubyCS.Tests/FiberTest.cs +++ b/tests/ChibiRuby.Tests/FiberTest.cs @@ -1,6 +1,6 @@ -using MRubyCS.Compiler; +using ChibiRuby.Compiler; -namespace MRubyCS.Tests; +namespace ChibiRuby.Tests; [TestFixture] public class FiberTest diff --git a/tests/MRubyCS.Tests/IoTest.cs b/tests/ChibiRuby.Tests/IoTest.cs similarity index 95% rename from tests/MRubyCS.Tests/IoTest.cs rename to tests/ChibiRuby.Tests/IoTest.cs index 48a2c782..527bd8b1 100644 --- a/tests/MRubyCS.Tests/IoTest.cs +++ b/tests/ChibiRuby.Tests/IoTest.cs @@ -1,10 +1,10 @@ using System.Text; -using MRubyCS.Compiler; +using ChibiRuby.Compiler; // Helper to write u8 byte arrays from interpolated raw strings. // Interpolated + raw + u8 isn't legal C#, so we explicit-encode. -namespace MRubyCS.Tests; +namespace ChibiRuby.Tests; [TestFixture] public class IoTest @@ -19,7 +19,7 @@ public void Before() mrb = MRubyState.Create(); mrb.DefineIO(); compiler = MRubyCompiler.Create(mrb); - tempDir = Path.Combine(Path.GetTempPath(), $"mrubycs-io-{Guid.NewGuid():N}"); + tempDir = Path.Combine(Path.GetTempPath(), $"chibiruby-io-{Guid.NewGuid():N}"); Directory.CreateDirectory(tempDir); } diff --git a/tests/MRubyCS.Tests/IrepDebugInfoTest.cs b/tests/ChibiRuby.Tests/IrepDebugInfoTest.cs similarity index 98% rename from tests/MRubyCS.Tests/IrepDebugInfoTest.cs rename to tests/ChibiRuby.Tests/IrepDebugInfoTest.cs index 3a572d69..cbdac06e 100644 --- a/tests/MRubyCS.Tests/IrepDebugInfoTest.cs +++ b/tests/ChibiRuby.Tests/IrepDebugInfoTest.cs @@ -1,7 +1,7 @@ using System.Text; -using MRubyCS.Compiler; +using ChibiRuby.Compiler; -namespace MRubyCS.Tests; +namespace ChibiRuby.Tests; [TestFixture] public class IrepDebugInfoTest diff --git a/tests/MRubyCS.Tests/LocalVariablesParseTest.cs b/tests/ChibiRuby.Tests/LocalVariablesParseTest.cs similarity index 97% rename from tests/MRubyCS.Tests/LocalVariablesParseTest.cs rename to tests/ChibiRuby.Tests/LocalVariablesParseTest.cs index 7178b2cd..d1e33f7f 100644 --- a/tests/MRubyCS.Tests/LocalVariablesParseTest.cs +++ b/tests/ChibiRuby.Tests/LocalVariablesParseTest.cs @@ -1,8 +1,8 @@ using System.Linq; using System.Text; -using MRubyCS.Compiler; +using ChibiRuby.Compiler; -namespace MRubyCS.Tests; +namespace ChibiRuby.Tests; [TestFixture] public class LocalVariablesParseTest diff --git a/tests/MRubyCS.Tests/MRubyValueTest.cs b/tests/ChibiRuby.Tests/MRubyValueTest.cs similarity index 97% rename from tests/MRubyCS.Tests/MRubyValueTest.cs rename to tests/ChibiRuby.Tests/MRubyValueTest.cs index 6d57febb..47a3e40b 100644 --- a/tests/MRubyCS.Tests/MRubyValueTest.cs +++ b/tests/ChibiRuby.Tests/MRubyValueTest.cs @@ -1,6 +1,6 @@ // using MRuby; // -// namespace MRubyCS.Tests; +// namespace ChibiRuby.Tests; // // public class MRubyValueTest // { diff --git a/tests/MRubyCS.Tests/NamingRuleTest.cs b/tests/ChibiRuby.Tests/NamingRuleTest.cs similarity index 94% rename from tests/MRubyCS.Tests/NamingRuleTest.cs rename to tests/ChibiRuby.Tests/NamingRuleTest.cs index be820f99..a73ddc50 100644 --- a/tests/MRubyCS.Tests/NamingRuleTest.cs +++ b/tests/ChibiRuby.Tests/NamingRuleTest.cs @@ -1,7 +1,7 @@ using System.Text; -using MRubyCS.Internals; +using ChibiRuby.Internals; -namespace MRubyCS.Tests; +namespace ChibiRuby.Tests; [TestFixture] public class NamingRuleTest diff --git a/tests/MRubyCS.Tests/RDataTest.cs b/tests/ChibiRuby.Tests/RDataTest.cs similarity index 97% rename from tests/MRubyCS.Tests/RDataTest.cs rename to tests/ChibiRuby.Tests/RDataTest.cs index 3c240a40..e5e310cf 100644 --- a/tests/MRubyCS.Tests/RDataTest.cs +++ b/tests/ChibiRuby.Tests/RDataTest.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Tests; +namespace ChibiRuby.Tests; [TestFixture] public class RDataTest diff --git a/tests/MRubyCS.Tests/RHashTest.cs b/tests/ChibiRuby.Tests/RHashTest.cs similarity index 93% rename from tests/MRubyCS.Tests/RHashTest.cs rename to tests/ChibiRuby.Tests/RHashTest.cs index e01d3fb4..1d10dbe4 100644 --- a/tests/MRubyCS.Tests/RHashTest.cs +++ b/tests/ChibiRuby.Tests/RHashTest.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Tests; +namespace ChibiRuby.Tests; public class RHashTest { diff --git a/tests/MRubyCS.Tests/RStringTest.cs b/tests/ChibiRuby.Tests/RStringTest.cs similarity index 96% rename from tests/MRubyCS.Tests/RStringTest.cs rename to tests/ChibiRuby.Tests/RStringTest.cs index 1f0c3404..2e43f512 100644 --- a/tests/MRubyCS.Tests/RStringTest.cs +++ b/tests/ChibiRuby.Tests/RStringTest.cs @@ -1,6 +1,6 @@ -using MRubyCS.Compiler; +using ChibiRuby.Compiler; -namespace MRubyCS.Tests; +namespace ChibiRuby.Tests; public class RStringTest { diff --git a/tests/MRubyCS.Tests/RiteParserTest.cs b/tests/ChibiRuby.Tests/RiteParserTest.cs similarity index 87% rename from tests/MRubyCS.Tests/RiteParserTest.cs rename to tests/ChibiRuby.Tests/RiteParserTest.cs index 8120ae7c..6c4d096b 100644 --- a/tests/MRubyCS.Tests/RiteParserTest.cs +++ b/tests/ChibiRuby.Tests/RiteParserTest.cs @@ -1,6 +1,6 @@ -using MRubyCS.Compiler; +using ChibiRuby.Compiler; -namespace MRubyCS.Tests; +namespace ChibiRuby.Tests; [TestFixture] public class RiteParserTest diff --git a/tests/MRubyCS.Tests/SpecTest.cs b/tests/ChibiRuby.Tests/SpecTest.cs similarity index 99% rename from tests/MRubyCS.Tests/SpecTest.cs rename to tests/ChibiRuby.Tests/SpecTest.cs index e3515cf0..ae8e37d8 100644 --- a/tests/MRubyCS.Tests/SpecTest.cs +++ b/tests/ChibiRuby.Tests/SpecTest.cs @@ -1,6 +1,6 @@ -using MRubyCS.Compiler; +using ChibiRuby.Compiler; -namespace MRubyCS.Tests; +namespace ChibiRuby.Tests; [TestFixture] public class SpecTest diff --git a/tests/MRubyCS.Tests/SymbolTest.cs b/tests/ChibiRuby.Tests/SymbolTest.cs similarity index 93% rename from tests/MRubyCS.Tests/SymbolTest.cs rename to tests/ChibiRuby.Tests/SymbolTest.cs index 0f76f6ef..dafc4b82 100644 --- a/tests/MRubyCS.Tests/SymbolTest.cs +++ b/tests/ChibiRuby.Tests/SymbolTest.cs @@ -1,4 +1,4 @@ -namespace MRubyCS.Tests; +namespace ChibiRuby.Tests; [TestFixture] public class SymbolTest diff --git a/tests/MRubyCS.Tests/VmTest.cs b/tests/ChibiRuby.Tests/VmTest.cs similarity index 99% rename from tests/MRubyCS.Tests/VmTest.cs rename to tests/ChibiRuby.Tests/VmTest.cs index 76e60fd5..800f7774 100644 --- a/tests/MRubyCS.Tests/VmTest.cs +++ b/tests/ChibiRuby.Tests/VmTest.cs @@ -1,6 +1,6 @@ -using MRubyCS.Compiler; +using ChibiRuby.Compiler; -namespace MRubyCS.Tests; +namespace ChibiRuby.Tests; [TestFixture] public class VmTest diff --git a/tests/MRubyCS.Tests/ruby/assert.rb b/tests/ChibiRuby.Tests/ruby/assert.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/assert.rb rename to tests/ChibiRuby.Tests/ruby/assert.rb diff --git a/tests/MRubyCS.Tests/ruby/test/array.rb b/tests/ChibiRuby.Tests/ruby/test/array.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/array.rb rename to tests/ChibiRuby.Tests/ruby/test/array.rb diff --git a/tests/MRubyCS.Tests/ruby/test/basicobject.rb b/tests/ChibiRuby.Tests/ruby/test/basicobject.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/basicobject.rb rename to tests/ChibiRuby.Tests/ruby/test/basicobject.rb diff --git a/tests/MRubyCS.Tests/ruby/test/bs_block.rb b/tests/ChibiRuby.Tests/ruby/test/bs_block.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/bs_block.rb rename to tests/ChibiRuby.Tests/ruby/test/bs_block.rb diff --git a/tests/MRubyCS.Tests/ruby/test/bs_literal.rb b/tests/ChibiRuby.Tests/ruby/test/bs_literal.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/bs_literal.rb rename to tests/ChibiRuby.Tests/ruby/test/bs_literal.rb diff --git a/tests/MRubyCS.Tests/ruby/test/class.rb b/tests/ChibiRuby.Tests/ruby/test/class.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/class.rb rename to tests/ChibiRuby.Tests/ruby/test/class.rb diff --git a/tests/MRubyCS.Tests/ruby/test/ensure.rb b/tests/ChibiRuby.Tests/ruby/test/ensure.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/ensure.rb rename to tests/ChibiRuby.Tests/ruby/test/ensure.rb diff --git a/tests/MRubyCS.Tests/ruby/test/enum_ext.rb b/tests/ChibiRuby.Tests/ruby/test/enum_ext.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/enum_ext.rb rename to tests/ChibiRuby.Tests/ruby/test/enum_ext.rb diff --git a/tests/MRubyCS.Tests/ruby/test/enumerator.rb b/tests/ChibiRuby.Tests/ruby/test/enumerator.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/enumerator.rb rename to tests/ChibiRuby.Tests/ruby/test/enumerator.rb diff --git a/tests/MRubyCS.Tests/ruby/test/exception.rb b/tests/ChibiRuby.Tests/ruby/test/exception.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/exception.rb rename to tests/ChibiRuby.Tests/ruby/test/exception.rb diff --git a/tests/MRubyCS.Tests/ruby/test/false.rb b/tests/ChibiRuby.Tests/ruby/test/false.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/false.rb rename to tests/ChibiRuby.Tests/ruby/test/false.rb diff --git a/tests/MRubyCS.Tests/ruby/test/fiber.rb b/tests/ChibiRuby.Tests/ruby/test/fiber.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/fiber.rb rename to tests/ChibiRuby.Tests/ruby/test/fiber.rb diff --git a/tests/MRubyCS.Tests/ruby/test/float.rb b/tests/ChibiRuby.Tests/ruby/test/float.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/float.rb rename to tests/ChibiRuby.Tests/ruby/test/float.rb diff --git a/tests/MRubyCS.Tests/ruby/test/hash.rb b/tests/ChibiRuby.Tests/ruby/test/hash.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/hash.rb rename to tests/ChibiRuby.Tests/ruby/test/hash.rb diff --git a/tests/MRubyCS.Tests/ruby/test/indexerror.rb b/tests/ChibiRuby.Tests/ruby/test/indexerror.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/indexerror.rb rename to tests/ChibiRuby.Tests/ruby/test/indexerror.rb diff --git a/tests/MRubyCS.Tests/ruby/test/integer.rb b/tests/ChibiRuby.Tests/ruby/test/integer.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/integer.rb rename to tests/ChibiRuby.Tests/ruby/test/integer.rb diff --git a/tests/MRubyCS.Tests/ruby/test/iterations.rb b/tests/ChibiRuby.Tests/ruby/test/iterations.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/iterations.rb rename to tests/ChibiRuby.Tests/ruby/test/iterations.rb diff --git a/tests/MRubyCS.Tests/ruby/test/lang.rb b/tests/ChibiRuby.Tests/ruby/test/lang.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/lang.rb rename to tests/ChibiRuby.Tests/ruby/test/lang.rb diff --git a/tests/MRubyCS.Tests/ruby/test/literals.rb b/tests/ChibiRuby.Tests/ruby/test/literals.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/literals.rb rename to tests/ChibiRuby.Tests/ruby/test/literals.rb diff --git a/tests/MRubyCS.Tests/ruby/test/localjumperror.rb b/tests/ChibiRuby.Tests/ruby/test/localjumperror.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/localjumperror.rb rename to tests/ChibiRuby.Tests/ruby/test/localjumperror.rb diff --git a/tests/MRubyCS.Tests/ruby/test/methods.rb b/tests/ChibiRuby.Tests/ruby/test/methods.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/methods.rb rename to tests/ChibiRuby.Tests/ruby/test/methods.rb diff --git a/tests/MRubyCS.Tests/ruby/test/module.rb b/tests/ChibiRuby.Tests/ruby/test/module.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/module.rb rename to tests/ChibiRuby.Tests/ruby/test/module.rb diff --git a/tests/MRubyCS.Tests/ruby/test/namerror.rb b/tests/ChibiRuby.Tests/ruby/test/namerror.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/namerror.rb rename to tests/ChibiRuby.Tests/ruby/test/namerror.rb diff --git a/tests/MRubyCS.Tests/ruby/test/nil.rb b/tests/ChibiRuby.Tests/ruby/test/nil.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/nil.rb rename to tests/ChibiRuby.Tests/ruby/test/nil.rb diff --git a/tests/MRubyCS.Tests/ruby/test/object.rb b/tests/ChibiRuby.Tests/ruby/test/object.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/object.rb rename to tests/ChibiRuby.Tests/ruby/test/object.rb diff --git a/tests/MRubyCS.Tests/ruby/test/proc.rb b/tests/ChibiRuby.Tests/ruby/test/proc.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/proc.rb rename to tests/ChibiRuby.Tests/ruby/test/proc.rb diff --git a/tests/MRubyCS.Tests/ruby/test/random.rb b/tests/ChibiRuby.Tests/ruby/test/random.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/random.rb rename to tests/ChibiRuby.Tests/ruby/test/random.rb diff --git a/tests/MRubyCS.Tests/ruby/test/range.rb b/tests/ChibiRuby.Tests/ruby/test/range.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/range.rb rename to tests/ChibiRuby.Tests/ruby/test/range.rb diff --git a/tests/MRubyCS.Tests/ruby/test/regexp.rb b/tests/ChibiRuby.Tests/ruby/test/regexp.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/regexp.rb rename to tests/ChibiRuby.Tests/ruby/test/regexp.rb diff --git a/tests/MRubyCS.Tests/ruby/test/string.rb b/tests/ChibiRuby.Tests/ruby/test/string.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/string.rb rename to tests/ChibiRuby.Tests/ruby/test/string.rb diff --git a/tests/MRubyCS.Tests/ruby/test/superclass.rb b/tests/ChibiRuby.Tests/ruby/test/superclass.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/superclass.rb rename to tests/ChibiRuby.Tests/ruby/test/superclass.rb diff --git a/tests/MRubyCS.Tests/ruby/test/symbol.rb b/tests/ChibiRuby.Tests/ruby/test/symbol.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/symbol.rb rename to tests/ChibiRuby.Tests/ruby/test/symbol.rb diff --git a/tests/MRubyCS.Tests/ruby/test/syntax.rb b/tests/ChibiRuby.Tests/ruby/test/syntax.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/syntax.rb rename to tests/ChibiRuby.Tests/ruby/test/syntax.rb diff --git a/tests/MRubyCS.Tests/ruby/test/time.rb b/tests/ChibiRuby.Tests/ruby/test/time.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/time.rb rename to tests/ChibiRuby.Tests/ruby/test/time.rb diff --git a/tests/MRubyCS.Tests/ruby/test/true.rb b/tests/ChibiRuby.Tests/ruby/test/true.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/true.rb rename to tests/ChibiRuby.Tests/ruby/test/true.rb diff --git a/tests/MRubyCS.Tests/ruby/test/typeerror.rb b/tests/ChibiRuby.Tests/ruby/test/typeerror.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/typeerror.rb rename to tests/ChibiRuby.Tests/ruby/test/typeerror.rb diff --git a/tests/MRubyCS.Tests/ruby/test/unicode.rb b/tests/ChibiRuby.Tests/ruby/test/unicode.rb similarity index 100% rename from tests/MRubyCS.Tests/ruby/test/unicode.rb rename to tests/ChibiRuby.Tests/ruby/test/unicode.rb