|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 0.2.0 |
| 4 | + |
| 5 | +mcpp-vscode 1.1.0, mcpp-clion 0.2.0 and mcpp-nvim 0.2.0 (mcpp design 2026-10-29 §10). |
| 6 | + |
| 7 | +- **The project's mcpp (mcpp design 2026-10-30 part 2 §4).** Each project is asked in its own |
| 8 | + directory, `mcpp self env --format json` through the program a version manager's shim stands for |
| 9 | + (or `mcpp.path`), with `XLINGS_PROJECT_DIR` removed from every run of mcpp, so a project pinned in |
| 10 | + `.xlings.json` is described by the mcpp that builds it. A feature is turned on by what the project's |
| 11 | + mcpp states (`features`, mcpp 2026.10.31.1) or, for an earlier mcpp, by a table frozen at that |
| 12 | + release, never by comparing versions. A pinned version that is not installed is `pinned-missing`, |
| 13 | + with the shim's words and its install command; an untrusted workspace's project is not asked. A |
| 14 | + job whose envelope names another version, the editor regaining focus and a changed manifest each |
| 15 | + make the project be asked again; never more than two at once. Methods `project/mcpp`, |
| 16 | + `project/refresh`, `capabilities/explain` (why a feature is not offered: which party, which |
| 17 | + capability, from which version) and `report/collect`; notification `project/mcppChanged`. |
| 18 | +- **The backend's lifecycle and what it says (§3).** VS Code and CLion start an ended backend again |
| 19 | + after 1, 4 and 16 seconds; a fourth end within three minutes leaves them in the degraded mode with |
| 20 | + two actions, restarting the backend and exporting the IDE report. **mcpp: Export IDE Report** |
| 21 | + (every editor; Neovim `:Mcpp exportReport [path]`) writes the backend, every project's mcpp, |
| 22 | + mcppls's status, the settings in effect, recent jobs and the backend's recent log to a file the |
| 23 | + person names. `mcpp.backend.logLevel` decides what the backend writes to the editor's log. VS |
| 24 | + Code's status item names the project's mcpp version, and its tooltip the program and whether |
| 25 | + `mcpp.path` chose it. |
| 26 | +- **What mcppls says about the workspace (§5).** The backend's `languageService/status` runs |
| 27 | + `mcppls status --root <dir> --format json` (mcppls 0.0.20 and later, bounded at five seconds) and |
| 28 | + returns its capabilities, the workspace's state, engine and kit, the servers serving it, and |
| 29 | + mcppls's actions under each editor's own id; for mcppls 0.0.18 and 0.0.19 the actions come from a |
| 30 | + table frozen at those releases. A different answer is sent once (`languageService/changed`). The |
| 31 | + command table's forwards name mcppls's action ids, and `commands/list` gives each editor the id |
| 32 | + mcppls states for it: CLion runs the mcppls plugin's action (and hides a row it does not have), |
| 33 | + Neovim mcppls-nvim's command. VS Code reads the state and the commands from this answer instead of |
| 34 | + the mcppls extension's API object and keeps only the confirmation each action needs; the state is |
| 35 | + asked again after a job, on focus, when the project view becomes visible and, while it is visible, |
| 36 | + at most every 30 seconds. A missing semantic kit is a row with **C++ Modules: Install the Semantic |
| 37 | + Kit**. After a build nothing is forwarded by default (`auto`): mcppls reads mcpp's result record. |
| 38 | +- **Entries (§6).** The backend's `source/entries` says what a C++ file is to its project -- a |
| 39 | + program's `main`, a test's (`tests/**`, named as mcpp names it), or neither -- with the line of |
| 40 | + `main` read from the text, outside comments and literals. VS Code shows Run and Debug above `main` |
| 41 | + (`mcpp.codeLens.enable`), at the position C++ Modules gives and otherwise at the line read, said to |
| 42 | + be approximate; Build and Debug join Run and Test in the editor's title bar, and Run, Debug, Build |
| 43 | + and Test are in the editor's context menu. The command table states these places (`placements`), |
| 44 | + and the generator writes VS Code's menus and CLion's editor popup from it. CLion's ▶ stands on the |
| 45 | + PSI element `main` on the line the backend read, the IDE's Build (the hammer) of an mcpp project is |
| 46 | + `mcpp build`, a status bar item shows the project's mcpp and the running job with the quick menu, |
| 47 | + and two keymaps (`mcpp`, `mcpp (macOS)`) carry VS Code's chords. |
| 48 | +- **Test cases (§7).** `spec/test-frameworks.json` describes GoogleTest, Catch2 and doctest: a test |
| 49 | + program belongs to one when its plan holds the framework's package and its source calls the |
| 50 | + framework's macros (`mcpp.test.macros` adds a project's own). `test/cases` reads the cases from the |
| 51 | + source and, after a build in a trusted workspace, from the program's own listing; `test/runCases` |
| 52 | + runs some of them with the framework's filter and reads its report, each outcome sent as |
| 53 | + `test/caseResult`. VS Code's Testing view has the cases under their program, located at their |
| 54 | + macros, and the program at its `main`; CLion has a ▶ on each case and runs cases in its test tree. |
| 55 | + Debugging a test's program is offered where the project's mcpp describes its launch (`test-launch`, |
| 56 | + mcpp 2026.10.31.2). |
| 57 | +- **The rules layer of mcpp.toml and build.mcpp, in the backend (§8; docs/rules.md).** The session |
| 58 | + is an LSP server, protocol 2: `initialize` in LSP's shape with mcpp-ide's parameters in |
| 59 | + `initializationOptions`, mcpp.toml's and build.mcpp's completion, hover, jumps and diagnostics as |
| 60 | + `textDocument/*` (full synchronisation, UTF-16 columns), and mcpp-ide's own methods and |
| 61 | + notifications under `mcpp-ide/`. The tolerant scanner, the seven manifest rules and the SPEC-007 |
| 62 | + checks are ported from mcpp-vscode 0.9's TypeScript, whose answers over a corpus at every position |
| 63 | + are the tests' goldens (`tests/rules`). A table is read through the schema (a workspace table as the |
| 64 | + table it mirrors, a platform's table under a selector as the platform's); a selector-only table is |
| 65 | + offered with its selector; the schema's own arrays of tables are allowed; a dependency's version is |
| 66 | + completed from mcpp's catalogue (`mcpp search --format json`) when `mcpp.toml.indexCompletion` is |
| 67 | + on. VS Code connects with its language client (bundled into `dist/vendor`); CLion over the |
| 68 | + session's connection, through a completion contributor, an annotator, a documentation provider |
| 69 | + and a go-to-declaration handler; Neovim with its LSP client, attached to mcpp.toml and build.mcpp |
| 70 | + buffers. While C++ Modules serves build.mcpp (`mcpplsServes`) it is left the unknownSymbol rule |
| 71 | + and the module names after `import`. One snapshot of each: `spec/toml-schema.json`, |
| 72 | + `spec/buildscript-api.json` (mcpp 2026.10.29.1's directives). |
| 73 | +- **CLion in its own components (§9).** The "mcpp" tool window's Project, Libraries and Cache tabs |
| 74 | + are native trees and lists over the backend's view models (each project's mcpp, targets, tests, |
| 75 | + libraries, last build, artifacts and platform, and what C++ Modules says; the indexes' packages, a |
| 76 | + package's page and adding it to the project; what mcpp keeps and the command table's cleanups with |
| 77 | + their confirmations). A graph of the packages or the modules is the one page in JCEF |
| 78 | + (`webui/graph.html`, mermaid over `graph/packages` and `graph/modules`; a module opens its source), |
| 79 | + tested in Chromium over a real backend. Settings | Tools | mcpp is a form generated from |
| 80 | + `settings/registry`, with Apply, Reset and a search. The workbench that ran mcpp-vscode's pages in |
| 81 | + JCEF, its `vscode` shim and its bridge are removed; the views' models and the settings form are |
| 82 | + tested headless. |
| 83 | +- **The declared degraded mode (§8, F15).** Where the package's okrun does not run (macOS x86_64, |
| 84 | + Windows arm64, Linux armhf) VS Code says the backend does not run on this platform and goes on |
| 85 | + with build, run, test and the project pages, running mcpp's queries itself; an Extension Host run |
| 86 | + in CI holds it. |
| 87 | +- **mcpp-vscode 1.1.0 is mcpp-vscode 0.9.0 over the backend.** 0.9.0's extension is imported with |
| 88 | + its history (`mide-plugins/vscode`); every view, page, command, menu, setting and string a user |
| 89 | + sees is 0.9.0's. What 1.0 added stays, in 0.9.0's style: debugging (`mcpp.debug`, the `mcpp` |
| 90 | + launch type), the test tree, the target picker with target-set rows, packing, build on save, |
| 91 | + cancellable jobs. mcpp is run through the backend's `mcpp/exec`, mcppls through its |
| 92 | + `languageService/exec`; the extension starts no other process for mcpp or mcppls. |
| 93 | +- **Parity gates against 0.9.0.** The manifest's contributions and strings contain 0.9.0's exactly |
| 94 | + (`spec/` states them; `mcpp-ide-dev gen vscode` writes the manifest); every page's document, |
| 95 | + rendered by the extension's generators, is byte-identical to the snapshot rendered by 0.9.0's; |
| 96 | + the Extension Host suite runs over the bundled backend. |
| 97 | +- **Backend methods.** `mcpp/exec` (a bounded mcpp run: timeout, output limit, truncation reported), |
| 98 | + `languageService/exec` (the located mcppls with arguments), `project/files` (manifest, lock and |
| 99 | + the source count 0.9.0 shows); `targets` rows for target sets (`set`, `members`, `label`) when mcpp |
| 100 | + is 2026.10.30.1 or later. |
| 101 | +- **The mcpp logo in CLion.** mcpp-clion's plugin icon and its tool window's icon are the mcpp |
| 102 | + logo, as mcpp-vscode's and mcppls's are; the text icons (`m++`, `m+`) are removed. CI checks that |
| 103 | + both embed the logo and that the VS Code logo is 0.9.0's. |
| 104 | +- **mcpp-clion on 2026.1 through 2026.3.** Trust through `TrustedProjects.isProjectTrusted`, debug |
| 105 | + sessions through `XDebuggerManager.newSessionBuilder`, the debugger driver through |
| 106 | + `createDriverConfiguration(project, CPPEnvironment(toolchain))`; packing is a job over the |
| 107 | + backend's `pack/formats`. |
| 108 | +- **mcpp 2026.11.3.1.** One pack of the target set `openkal` writes the editor packages' tree and |
| 109 | + okb (`--target openkal --mode self-contained --systems all --pkg-format tar,okb`); CI reads |
| 110 | + `runs_on`; the Windows launcher is `bin/mcpp-ide.exe`. The backend is on mcpplibs.os 0.2.8 and |
| 111 | + openkal-platform 0.23.2, ok images included (openkal 0.23: okrun places an image at a base of the |
| 112 | + boot, keeps its data as a prepared copy and starts it from a snapshot of its initialisers; every |
| 113 | + unit, the std module included, is compiled with frame pointers and hardening; mcpp design |
| 114 | + 2026-11-03 part 4). |
| 115 | +- **CI and release.** 0.9.0's gates run in this repository (registry, translations, unit suite on |
| 116 | + three systems, manifest drift, parity, Extension Host on three systems, isolated install, the |
| 117 | + graph page in Chromium); the release publishes the VSIX to Open VSX beside the GitHub release. |
| 118 | + |
3 | 119 | ## 0.1.1 |
4 | 120 |
|
5 | 121 | mcpp-vscode 1.0.1, mcpp-clion 0.1.1 and the first mcpp-nvim (0.1.1), with mcppls 0.0.19. |
|
0 commit comments