Skip to content

v0.2.1

Choose a tag to compare

@charCulbert charCulbert released this 13 Oct 14:25
· 22 commits to main since this release

Changes in the starters

  • A parameter table in each plugin.cpp. The ids live in params.h; each
    parameter is one row (stable state key, name, range, default, flags, unit).
    The CLAP params functions are still written out and read the table, so adding
    a parameter is an id and a row, then using it.
  • Parameters are saved under a stable key, not their display name, so a
    name can change without losing saved projects. Never change a key once
    released.
  • Recalled settings tell the host (mark_dirty), so it saves them; the
    window size is the worked example, with the steps for adding your own.
  • The window can't be smaller than its content. chardraw reports the
    content's minimum size and the starters' size limits follow it.

Build

  • A shared download cache: set CPM_SOURCE_CACHE and a second project
    configures in seconds instead of minutes (8 s vs 84 s here). See the README.
  • Windows: Ninja builds no longer fail with LNK1104; each target writes its own
    import library.
  • Third-party build warnings are quieted.

Upgrading from v0.2.0

Set GIT_TAG v0.2.1. A plugin started from a v0.2.0 starter keeps working;
the starters' changes above are patterns to copy if you want them. If you
saved parameters by display name, switch to stable keys before your first
release.

Known issues

  • macOS: a rare crash when pluginval closes Effect chardraw's editor (2 in 257
    runs, none in the last 230; no stack yet). Not seen in hosts, on Linux or on
    Windows.
  • Web-page interfaces don't report their minimum size yet, so only chardraw
    interfaces are checked for clipping.