Engine 0.10.0
Release notes for Engine 0.10.0.
7 changes — 4 features, 3 fixes
Minor Changes
-
#352
e74a5cbThanks @dm-balakin! - Use the engine's native text clipboard on Linux, Windows and Apple platforms. The direct VST3 editor now exchanges clipboard text with the Linux desktop. -
#354
01cc052Thanks @dm-balakin! -editor::Editor(soundor/editor/Editor.h): what every runtime's editor does with the engine, in one place. It owns the runtime (aRuntimeHost, or aDevSessionundersoundor dev), places the UI in the editor, picks the compositor (the GPU in the native view where there is one, the CPU otherwise, and the CPU for good once the GPU is lost), reads native input or takes the framework's, and handles the pointer lock, the cursor, accessibility and, in Debug builds, DevTools.frame()runs a frame in one fixed order.resized()places the UI at once and presents it on the GPU at the new size. The editor implementseditor::Platform: the native view, its size, scale and focus, the cursor, and editor sizes.editor::place()(soundor/editor/Layout.h) places the UI for soundor.config'seditor(resize,fit, the maximum size). -
#348
4c20c74Thanks @dm-balakin! -fetch(), DevTools and pointer lock move into the engine, for every runtime:fetch()goes through the system's HTTP stack (platform::systemHttpClient()):NSURLSessionon macOS and iOS, WinHTTP on Windows, and on Linux the system's libcurl, loaded when first used (libcurl.so.4, elselibcurl-gnutls.so.4), never linked and never bundled, so HTTPS is as current as the system keeps it, with HTTP/3 where the system's stack has it. Where Linux has no libcurl,fetch()rejects, saying so.- The DevTools bridge is the engine's (
debug::Bridge), over the same HTTP stack, so the VST3 runtime's Debug builds connect to DevTools too, andsoundor build vst3 --debugbuilds one. - Pointer lock is the engine's (
input::PointerLock): the VST3 runtime supportsrequestPointerLock(), and CSS'scursor: nonehides its cursor. - The engine has one JSON implementation (
soundor::json, strict, numbers kept as written), which the DevTools protocol and the VST3 adapter share. - The VST3 runtime's
soundor doctorchecks for libcurl.
-
#349
13a089bThanks @dm-balakin! - Publishnative.eventsfrom the Rust controller through typedctx.eventspublishers in VST3 and the browser. UI subscriptions still useevents.name.subscribe(callback).Regenerate and rebuild plugins with matching versions of the CLI and runtime for the updated controller contract.
Patch Changes
-
#357
4a8f6a1Thanks @dm-balakin! - Remove the JUCE runtime:@soundor/vst3-runtimebuilds the same plugins as VST3s on Linux, macOS and Windows, without JUCE, CMake or C++ compiled per plugin. ReplacejuceRuntime({ ... })withvst3Runtime()insoundor.config.tsand@soundor/juce-runtimewith@soundor/vst3-runtime(and its peer@soundor/vst3-host) inpackage.json;soundor dev vst3andsoundor build vst3replace theirjuceforms, and builds go to.soundor/dist/vst3/. There are no AU or Standalone builds.create-soundor-appoffers the VST3 and web runtimes. The engine's WebGL codegen ispnpm --filter @soundor/engine gen:webgl. -
#358
eddafd8Thanks @dm-balakin! - The VST3 runtime's prebuilt adapters are a GitHub release of their own, like the engine's archives, instead of being in the npm package. The package carriesartifacts/manifest.json, and a build downloads the adapter for its platform and variant once into the Soundor cache (vst3-adapters/), checking its SHA-256 and size.SOUNDOR_VST3_ADAPTER_MANIFESTnames another manifest.@soundor/engine/archivesexposes the engine's cache and archive installer for this. -
#359
ded85ddThanks @dm-balakin! - Source mode for the VST3 runtime:vst3Runtime({ engine: { mode: 'source' } })builds the engine and the VST3 adapter on the machine with CMake (Ninja, or Visual Studio on Windows, and a C++20 compiler) instead of downloading their releases. Both builds go into the Soundor cache once per package version (engine-source/,vst3-adapter-source/), andsoundor doctorchecks CMake and Ninja in this mode. The package now carries the adapter's sources (native/).engine({ mode: 'source' })builds an installed package's native engine, and in the other modes an installed package still never compiles.@soundor/engine/archivesalso exportswithLock.soundor doctoron Windows now also checks that the linker's library paths have the Windows SDK and the static C runtimes (kernel32.lib,libucrt.lib,libcmt.lib). Visual Studio can have the C++ tools without an SDK, so this tells you what to add in the Visual Studio Installer. A Windows build gives the same message before linking, instead oflink.exe's "cannot open file 'kernel32.lib'".