cad-editor/src/app
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 5ccf5cfe36 feat(plugin): lift host surface behind a HostApi trait (phase 1b)
Plugins targeted the host's concrete HostSession type. Add a HostApi
trait in ocs_plugin_api behind an optional `host` feature (the only thing
that pulls acadrust, so the core crate stays dependency-free). HostSession
implements it and BuiltinPlugin::dispatch now takes `&mut dyn HostApi`, so
an out-of-tree add-on compiles against the contract crate alone. Per-tab
plugin state is reached through object-safe plugin_state* helpers.

Completes the phase-1 host-surface extraction in the #100 epic.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 11:31:05 +03:00
..
cmd_result.rs Temporarily suppress Ortho mode during RECTANG commands 2026-06-16 09:53:32 +01:00
commands.rs feat(points): point style commands + DDPTYPE dialog, viewport-aware size 2026-06-17 11:13:12 +03:00
document.rs refactor(modules): rename home module to draw, restore first-tab order 2026-06-16 11:49:14 +03:00
expr_eval.rs Implement Expression Evaluation for numerical inputs and the CLI 2026-06-07 13:17:46 -04:00
helpers.rs feat(scene): render 3D surface entities (loft/sweep/extrude/etc.) 2026-06-14 20:11:44 +03:00
history.rs perf(hash): swap std HashMap/HashSet for rustc-hash FxHash 2026-06-05 00:35:53 +03:00
layers.rs fix(ribbon): load style/layer dropdowns from the document 2026-06-12 01:46:17 +03:00
mod.rs feat(points): point style commands + DDPTYPE dialog, viewport-aware size 2026-06-17 11:13:12 +03:00
model_ops.rs refactor(scene): rename model_solid to solid_model 2026-06-16 11:39:31 +03:00
mtext_editor.rs feat(points): point style commands + DDPTYPE dialog, viewport-aware size 2026-06-17 11:13:12 +03:00
plugin_host.rs feat(plugin): lift host surface behind a HostApi trait (phase 1b) 2026-06-17 11:31:05 +03:00
properties.rs refactor(scene): group modules into role-based subfolders 2026-06-16 11:33:46 +03:00
settings.rs feat(plugin): enable/disable plugins from the Plugin Manager 2026-06-17 10:15:38 +03:00
style_ops.rs feat(styles): seed current table/multileader style from the file 2026-06-10 19:05:07 +03:00
text_inline.rs fix(style): new text/mtext/dimension use the current style (#92) 2026-06-14 01:15:52 +03:00
update.rs feat(points): point style commands + DDPTYPE dialog, viewport-aware size 2026-06-17 11:13:12 +03:00
view.rs feat(points): point style commands + DDPTYPE dialog, viewport-aware size 2026-06-17 11:13:12 +03:00
visibility.rs refactor(scene): group modules into role-based subfolders 2026-06-16 11:33:46 +03:00