@calcit/procs 0.13.54 → 0.13.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.yarn/install-state.gz +0 -0
- package/build.rs +7 -0
- package/editing-history/202608280513-fileentry-struct-format.md +6 -0
- package/editing-history/202608280517-release-0.13.55.md +4 -0
- package/editing-history/202608280536-macos-main-thread-blocking-ffi.md +10 -0
- package/editing-history/202608280547-release-0.13.56.md +6 -0
- package/lib/package.json +1 -1
- package/package.json +1 -1
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/build.rs
CHANGED
|
@@ -579,6 +579,13 @@ fn main() {
|
|
|
579
579
|
println!("cargo:rerun-if-env-changed=CARGO_CFG_PANIC");
|
|
580
580
|
println!("cargo:rustc-env=CALCIT_FFI_BUILD_ID={}", ffi_build_id());
|
|
581
581
|
|
|
582
|
+
let target = env::var("TARGET").expect("Cargo must provide TARGET to build scripts");
|
|
583
|
+
if target.ends_with("apple-darwin") {
|
|
584
|
+
// Calcit executes directly on the process main thread on macOS so native
|
|
585
|
+
// AppKit event loops can own it. Match the worker stack used elsewhere.
|
|
586
|
+
println!("cargo:rustc-link-arg-bin=calcit=-Wl,-stack_size,0x2000000");
|
|
587
|
+
}
|
|
588
|
+
|
|
582
589
|
let out_dir = env::var_os("OUT_DIR").unwrap();
|
|
583
590
|
let dest_path = Path::new(&out_dir).join("calcit-core.rmp");
|
|
584
591
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# FileEntry struct support in format migration
|
|
2
|
+
|
|
3
|
+
- 修复 0.13.54 format-only migration loader 只接受 `FileEntry` map、不能读取 struct 的回归。
|
|
4
|
+
- 统一 formatter 与普通严格 loader 对现代 `FileEntry` map/struct 的接受范围,不扩大 direct-quote runtime 兼容边界。
|
|
5
|
+
- 增加与 Calcit 0.13.51 schema migration 输出一致的 `%FileEntry` struct 回归 fixture。
|
|
6
|
+
- 缺陷由 `calcit-paint` 的真实 direct quote → strict macro schema → current formatter 升级链发现并记录为 Issue #493。
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# macOS main-thread blocking FFI / macOS 主线程 blocking FFI
|
|
2
|
+
|
|
3
|
+
- On macOS, run the Calcit CLI on the process main thread so AppKit/winit event loops invoked through blocking FFI satisfy the platform contract.
|
|
4
|
+
- 在 macOS 上让 Calcit CLI 直接运行于进程主线程,使 blocking FFI 启动的 AppKit/winit 事件循环满足平台约束。
|
|
5
|
+
- Reserve a 32 MiB Mach-O main-thread stack, matching the worker stack used on other platforms and preserving preprocessing headroom.
|
|
6
|
+
- 为 Mach-O 主线程预留 32 MiB 栈,与其他平台的 CLI worker 一致,避免预处理递归空间退化。
|
|
7
|
+
- Verified with a real calcit-paint C-safe blocking-v1 window/callback/render smoke; the prior worker-thread build failed before EventLoop creation.
|
|
8
|
+
- 使用 calcit-paint C-safe blocking-v1 的真实窗口、回调和渲染 smoke 验证;旧 worker-thread 构建会在 EventLoop 创建前失败。
|
|
9
|
+
- Added a macOS CI build that checks the Mach-O `LC_MAIN` stack reservation and CLI startup.
|
|
10
|
+
- 新增 macOS CI 构建,持续检查 Mach-O `LC_MAIN` 栈预留与 CLI 启动。
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# Release 0.13.56 / 发布 0.13.56
|
|
2
|
+
|
|
3
|
+
- Release the macOS process-main-thread CLI path and 32 MiB Mach-O main stack required by native AppKit/winit blocking FFI event loops.
|
|
4
|
+
- 发布 macOS 进程主线程 CLI 路径与 32 MiB Mach-O main stack,为原生 AppKit/winit blocking FFI 事件循环提供平台保证。
|
|
5
|
+
- This patch unblocks the calcit-paint C-safe blocking-v1 migration while preserving existing behavior on non-macOS platforms.
|
|
6
|
+
- 此补丁解除 calcit-paint C-safe blocking-v1 迁移阻塞,其他平台行为保持不变。
|
package/lib/package.json
CHANGED