Skip to content

Commit

Permalink
Rename many things from ReaLearn to Helgobox
Browse files Browse the repository at this point in the history
  • Loading branch information
helgoboss committed Jul 4, 2024
1 parent e09f564 commit f852659
Show file tree
Hide file tree
Showing 127 changed files with 5,690 additions and 6,174 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- artifact: windows-x86_64
os: windows-latest
toolchain-suffix: x86_64-pc-windows-msvc
lib-file-name: realearn.dll
lib-file-name: helgobox.dll
extension-file-name: reaper_helgobox.dll
target: x86_64-pc-windows-msvc
use-cross: false
Expand All @@ -25,7 +25,7 @@ jobs:
- artifact: windows-i686
os: windows-latest
toolchain-suffix: i686-pc-windows-msvc
lib-file-name: realearn.dll
lib-file-name: helgobox.dll
extension-file-name: reaper_helgobox.dll
target: i686-pc-windows-msvc
use-cross: false
Expand All @@ -34,7 +34,7 @@ jobs:
- artifact: macos-x86_64
os: macos-latest
toolchain-suffix: x86_64-apple-darwin
lib-file-name: librealearn.dylib
lib-file-name: libhelgobox.dylib
extension-file-name: libreaper_helgobox.dylib
target: x86_64-apple-darwin
use-cross: false
Expand All @@ -43,7 +43,7 @@ jobs:
- artifact: macos-aarch64
os: macos-latest
toolchain-suffix: x86_64-apple-darwin
lib-file-name: librealearn.dylib
lib-file-name: libhelgobox.dylib
extension-file-name: libreaper_helgobox.dylib
target: aarch64-apple-darwin
use-cross: false
Expand All @@ -52,7 +52,7 @@ jobs:
- artifact: linux-x86_64
os: ubuntu-20.04
toolchain-suffix: x86_64-unknown-linux-gnu
lib-file-name: librealearn.so
lib-file-name: libhelgobox.so
extension-file-name: ""
target: x86_64-unknown-linux-gnu
use-cross: false
Expand All @@ -62,7 +62,7 @@ jobs:
# - artifact: linux-aarch64
# os: ubuntu-22.04
# toolchain-suffix: x86_64-unknown-linux-gnu
# lib-file-name: librealearn.so
# lib-file-name: libhelgobox.so
# extension-file-name: ""
# target: aarch64-unknown-linux-gnu
# use-cross: true
Expand All @@ -72,7 +72,7 @@ jobs:
# - artifact: linux-armv7
# os: ubuntu-22.04
# toolchain-suffix: x86_64-unknown-linux-gnu
# lib-file-name: librealearn.so
# lib-file-name: libhelgobox.so
# extension-file-name: ""
# target: armv7-unknown-linux-gnueabihf
# use-cross: true
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
- name: Strip debug symbols from Linux binary
if: startsWith(matrix.os, 'ubuntu-')
run: |
cp target/${{ matrix.target }}/${{ matrix.profile }}/${{ matrix.lib-file-name }} target/${{ matrix.target }}/${{ matrix.profile }}/librealearn-debug.so
cp target/${{ matrix.target }}/${{ matrix.profile }}/${{ matrix.lib-file-name }} target/${{ matrix.target }}/${{ matrix.profile }}/libhelgobox-debug.so
${{ matrix.strip-cmd }} target/${{ matrix.target }}/${{ matrix.profile }}/${{ matrix.lib-file-name }}
- name: Strip debug symbols from macOS binary
if: matrix.os == 'macos-latest'
Expand All @@ -168,19 +168,19 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.artifact }}
path: target/${{ matrix.target }}/${{ matrix.profile }}/realearn.pdb
path: target/${{ matrix.target }}/${{ matrix.profile }}/helgobox.pdb
- name: Upload macOS debug symbols to artifact
if: matrix.os == 'macos-latest'
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.artifact }}
path: target/${{ matrix.target }}/${{ matrix.profile }}/deps/librealearn.dylib.dSYM/
path: target/${{ matrix.target }}/${{ matrix.profile }}/deps/libhelgobox.dylib.dSYM/
- name: Upload Linux debug symbols to artifact
if: startsWith(matrix.os, 'ubuntu-')
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.artifact }}
path: target/${{ matrix.target }}/${{ matrix.profile }}/librealearn-debug.so
path: target/${{ matrix.target }}/${{ matrix.profile }}/libhelgobox-debug.so

create-release:
name: Publish release
Expand Down Expand Up @@ -209,8 +209,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./windows-x86_64/realearn.dll
asset_name: realearn-windows-x86_64.dll
asset_path: ./windows-x86_64/helgobox.dll
asset_name: helgobox-windows-x86_64.dll
asset_content_type: application/octet-stream
- name: Upload windows-x86_64 release artifact 2
uses: actions/upload-release-asset@v1
Expand All @@ -228,8 +228,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./windows-i686/realearn.dll
asset_name: realearn-windows-i686.dll
asset_path: ./windows-i686/helgobox.dll
asset_name: helgobox-windows-i686.dll
asset_content_type: application/octet-stream
- name: Upload windows-i686 release artifact 2
uses: actions/upload-release-asset@v1
Expand All @@ -247,8 +247,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./macos-x86_64/librealearn.dylib
asset_name: realearn-macos-x86_64.vst.dylib
asset_path: ./macos-x86_64/libhelgobox.dylib
asset_name: helgobox-macos-x86_64.vst.dylib
asset_content_type: application/octet-stream
- name: Upload macos-x86_64 release artifact 2
uses: actions/upload-release-asset@v1
Expand All @@ -266,8 +266,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./macos-aarch64/librealearn.dylib
asset_name: realearn-macos-aarch64.vst.dylib
asset_path: ./macos-aarch64/libhelgobox.dylib
asset_name: helgobox-macos-aarch64.vst.dylib
asset_content_type: application/octet-stream
- name: Upload macos-aarch64 release artifact 2
uses: actions/upload-release-asset@v1
Expand All @@ -285,8 +285,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./linux-x86_64/librealearn.so
asset_name: realearn-linux-x86_64.so
asset_path: ./linux-x86_64/libhelgobox.so
asset_name: helgobox-linux-x86_64.so
asset_content_type: application/octet-stream
# Upload Linux aarch64 artifacts
# - name: Upload linux-aarch64 release artifact
Expand All @@ -295,8 +295,8 @@ jobs:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: ./linux-aarch64/librealearn.so
# asset_name: realearn-linux-aarch64.so
# asset_path: ./linux-aarch64/libhelgobox.so
# asset_name: helgobox-linux-aarch64.so
# asset_content_type: application/octet-stream
# Upload Linux armv7 artifacts
# - name: Upload linux-armv7 release artifact
Expand All @@ -305,6 +305,6 @@ jobs:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: ./linux-armv7/librealearn.so
# asset_name: realearn-linux-armv7.so
# asset_path: ./linux-armv7/libhelgobox.so
# asset_name: helgobox-linux-armv7.so
# asset_content_type: application/octet-stream
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [
{"name": "REALEARN_LOG", "value": "debug,vst=info,hyper=trace"}
{"name": "HELGOBOX_LOG", "value": "debug,vst=info,hyper=trace"}
// {"name": "CONTROL_SURFACE_METRICS", "value": "true"}
]
},
Expand Down
10 changes: 5 additions & 5 deletions CONTRIBUTING.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Luau language bindings are generated from Rust code by executing tests:

[source,shell]
----
RUST_MIN_STACK=5242880 cargo test --package realearn-api --lib bindings::luau::export_luau
RUST_MIN_STACK=5242880 cargo test --package helgobox-api --lib bindings::luau::export_luau
----

Artwork such as toolbar icons is generated by running a crate:
Expand Down Expand Up @@ -132,7 +132,7 @@ mv playtime-clip-engine-placeholder playtime-clip-engine
# ONLY For users who HAVE access to the private submodules
git submodule update --init
----
. Build ReaLearn (after that you should have a `realearn.dll` in `target\debug`)
. Build ReaLearn (after that you should have a `helgobox.dll` in `target\debug`)
+
[source,shell]
----
Expand Down Expand Up @@ -258,7 +258,7 @@ In future, it would be nice to run this integration test during continuous integ

== Log

It's possible to make ReaLearn output log messages to `stdout` by setting the `REALEARN_LOG` environment variable, e.g. to `debug,vst=info`.
It's possible to make ReaLearn output log messages to `stdout` by setting the `HELGOBOX_LOG` environment variable, e.g. to `debug,vst=info`.
It follows https://docs.rs/env_logger/0.8.2/env_logger/index.html[this] format.
Beware that e.g. on Windows, `stdout` is not shown, not even when executing REAPER from the command line.
One way to make it visible is to execute REAPER with a debugger.
Expand Down Expand Up @@ -288,7 +288,7 @@ Prometheus is usually available at http://localhost:9090/.

=== ReaLearn metrics

- You can turn on ReaLearn metrics by setting the environment variable `REALEARN_METRICS` (value doesn't matter).
- You can turn on ReaLearn metrics by setting the environment variable `HELGOBOX_METRICS` (value doesn't matter).
- If this environment variable is set (value doesn't matter), ReaLearn will record some metrics and expose them on the Prometheus endpoint mentioned above.
- If ReaLearn is built with the Playtime Clip Engine, this flag will also enable Clip Engine metrics.
This can negatively effect clip playing performance because many clip engine metrics are captured in real-time threads.
Expand Down Expand Up @@ -345,7 +345,7 @@ To be used like this:

All documentation is written in AsciiDoc:

- link:doc/user-guide.adoc[User guide]
- link:doc/realearn-user-guide.adoc[User guide]
- link:ARCHITECTURE.adoc[Architecture]

Some SVGs embedded in the architecture documentation are generated via link:https://nodejs.org/[NodeJS] / link:https://svgjs.dev/[SVG.js] in link:doc/svg-gen/index.js[].
Expand Down
Loading

0 comments on commit f852659

Please sign in to comment.