Commit graph

2,440 commits

Author SHA1 Message Date
Hakan Seven
5b302fbd7b
Merge pull request #883 from ramox81/codex/complete-mtext
Complete multiline text creation, editing, properties, and layout
2026-08-26 22:52:47 +03:00
Hakan Seven
522a3f0ff5 fix(mtext): harden editor and column layout
Merge current main while preserving text property behavior. Bound column allocations and correct boundary, UCS, caret, and column-flow calculations.
2026-08-26 22:51:32 +03:00
Hakan Seven
0e98c4857b
Merge pull request #882 from ramox81/codex/fix-single-line-text
Complete single-line text behavior and properties
2026-08-26 22:24:14 +03:00
Hakan Seven
0603aae286 fix(text): correct scaled text placement
Derive two-point layout and continuation spacing from the effective annotation scale. Keep style flags out of per-entity mirror overrides.
2026-08-26 22:21:40 +03:00
gianlucafiore
3a817cb379
Merge pull request #889 from gianlucafiore/feat/offset-reference-distance
Improve OFFSET distance input
2026-08-26 15:59:34 -03:00
gianlucafiore
79f045ce68 feat(offset): add reference distance input 2026-08-26 15:58:36 -03:00
Hakan Seven
f157b4a9ff
Merge pull request #881 from schoeller/v4-selection-broadcast
feat(plugin): emit SelectionChangedV4 to V4 plugins and add ocs_plugi…
2026-08-26 21:48:35 +03:00
Hakan Seven
4053f2c381 docs(plugin): fix runner connection flow 2026-08-26 21:48:02 +03:00
Hakan Seven
cfe1ad0006 perf(selection): cache plugin fingerprint 2026-08-26 21:48:02 +03:00
gianlucafiore
0c68fe1084
Merge pull request #888 from gianlucafiore/fix/align-ux
Improve ALIGN command UX
2026-08-26 15:20:06 -03:00
gianlucafiore
0754c928ce improve ALIGN command interaction and preview 2026-08-26 15:15:03 -03:00
Hakan Seven
bbd58eb9f2 fix(layout): identify sheet viewports reliably 2026-08-26 14:23:08 +03:00
ramox81
1922492a95 Make MText defined width read-only 2026-08-26 12:06:51 +03:00
ramox81
b1df6dddd8 Use MText column persistence revision 2026-08-26 11:48:25 +03:00
ramox81
8b6724700e Render MText column masks independently 2026-08-26 11:48:24 +03:00
ramox81
af4401ce67 Complete MText editor controls and persistence 2026-08-26 11:48:23 +03:00
ramox81
96ca741f35 Align MText properties and column layout 2026-08-26 11:48:22 +03:00
ramox81
4be01774e1 Complete MText boundary creation flow 2026-08-26 11:48:21 +03:00
ramox81
0f5f47b37d fix(properties): correct text position editability 2026-08-26 10:05:07 +03:00
ramox81
c00d08d40a fix(text): honor two-point geometry and grips 2026-08-26 09:50:31 +03:00
ramox81
3e9fcaed7c fix(properties): align single-line text fields 2026-08-26 09:50:21 +03:00
ramox81
fff811577b feat(text): complete single-line creation workflow 2026-08-26 09:50:15 +03:00
Sebastian
5c125f96be docs(plugin): remove superseded ocs_plugin_api/REPORT.md
The out-of-process plugin design proposal in REPORT.md has been
implemented and evolved to API v4. The current architecture is
documented in ARCHITECTURE.md. REPORT.md is unreferenced and no
longer needed; its content remains in git history for reference.
2026-08-26 08:49:51 +02:00
Hakan Seven
8c61d89b1e fix(layout): complete paperspace integration
Apply each layout's embedded page setup and plot style consistently across display, PDF, printing, and multi-layout output.\n\nRefs #844
2026-08-26 08:58:44 +03:00
Karim Jerbi
9c8f841f71 fix(insert): capped interactive block search and CLIPROMPTLINES
INSERT enumerated all block names in a single prompt string, causing unbounded overlay growth and full-screen occlusion in drawings with many blocks. Replace prompt enumeration with a ranked, incrementally filtered suggestion model: BlockPicker maintains precomputed lower/upper caches and usage ranks (MRU/frequency), filters via O(n) substring scan and partial sorting (select_nth_unstable) to O(k), bounded to CLIPROMPTLINES.

Introduce CLIPROMPTLINES (Integer 0-50, Registry, default 3) for the number of temporary prompt lines above the command window; persist in UserSettings, expose via SETVAR and direct entry, enforce in CommandLine::view. Suggestion count is in direct relation to CLIPROMPTLINES (limit = clip, capped to 50).

Make search live without requiring Enter: add CadCommand::on_live_input, implement for INSERT/MINSERT via picker.set_needle, and wire to command-line input paths (Message::CommandInput, on_command_append_char, on_command_backspace). Updates use upper/lower caches and partial sort for <0.2ms per keystroke on 10k blocks, with debounced block-usage persistence (MRU cap 20, freq cap 200) to avoid I/O thrash. Correct tri_count test helper to use display_from_solid.
2026-08-25 23:18:05 +01:00
Hakan Seven
cefe861203 fix(viewport): preserve hidden-border content
Keep layout viewport content active when its boundary layer is off.

Refs #844
2026-08-26 00:50:09 +03:00
Sebastian
f20bf93dfe feat(plugin): emit SelectionChangedV4 to V4 plugins and add ocs_plugin_api architecture docs
- Add HostNotification::SelectionChangedV4 { tab_id, handles } with discriminant 7
- Broadcast active-tab selection changes at update() and automation_op boundaries
- Use stable order-independent signature to avoid spurious hover notifications
- Clear Scene selection in automation new/open to avoid stale handles
- Add crates/ocs_plugin_api/ARCHITECTURE.md and module-level rustdoc
- Cross-link README.md and docs/plugin-architecture.md
- Fix test env race with shared ENV_LOCK and EnvVarGuard helpers
2026-08-25 23:31:27 +02:00
Hakan Seven
9a8f29ae45 fix(print): avoid Windows dispatch hangs
Use unique temporary PDFs and keep shell print handlers off the UI thread. Report missing PDF print associations explicitly.

Refs #855
2026-08-26 00:00:23 +03:00
Hakan Seven
2ed4a5d8f3 fix(dimension): hide definition markers
Keep direct POINT helpers out of baked dimension pictures while preserving nested arrow block geometry.

Refs #864
2026-08-25 23:51:11 +03:00
Hakan Seven
b2b84283ae fix(io): trust decoded current layer
Remove the application-side CLAYER fallback now that cadcodec resolves the header handle during document construction.

Refs #743
2026-08-25 23:21:24 +03:00
Hakan Seven
450135960c fix(ui): widen linetype dropdown menus
Refs #782
2026-08-25 23:06:10 +03:00
Hakan Seven
e55eab9df9
Merge pull request #880 from piyton/add-mcp-bridge-registry
registry: add MCP Bridge
2026-08-25 22:45:07 +03:00
Hakan Seven
fd801fac1b fix(hatch): render weighted pattern strokes
Show styled boundaries only while selected.\n\nRefs #821
2026-08-25 22:44:51 +03:00
Hakan Seven
81de94fdbb fix(zoom): include inserted block extents
Use current rendered geometry instead of load-time cluster spans when fitting model extents.

Refs #853
2026-08-25 22:11:18 +03:00
piyton
dd466bbf54 registry: add MCP Bridge
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-25 21:02:56 +02:00
Hakan Seven
968ee3fda4 fix(dimension): complete ordinate workflow 2026-08-25 21:36:04 +03:00
Hakan Seven
9ded5eb04f feat(dimension): complete diameter workflow 2026-08-25 20:57:28 +03:00
Hakan Seven
8140c39e0d feat(dimension): complete radius workflow 2026-08-25 19:26:24 +03:00
Hakan Seven
649dfae337 fix(dimension): complete angular workflow 2026-08-25 18:55:25 +03:00
Hakan Seven
f4a292a6b2 chore: sync rebased PR #874
PR head was force-pushed after the first merge with an identical patch.
2026-08-25 18:10:31 +03:00
Hakan Seven
47612fd662 fix(plot): correct style mode behavior (#874) 2026-08-25 18:08:52 +03:00
ramox81
e34b67c709 fix(dimension): complete ordinate workflow 2026-08-25 17:10:55 +03:00
ramox81
75f042607e Align diameter properties and graphics 2026-08-25 15:39:48 +03:00
ramox81
0ba33a55ff Add associative diameter dimension workflow 2026-08-25 15:39:44 +03:00
ramox81
488081f1c7 Use corrected diameter dimension model 2026-08-25 15:39:38 +03:00
ramox81
656501e91d Remove extra radius primary unit properties 2026-08-25 14:28:00 +03:00
ramox81
df8e42af8e Correct plot style mode handling 2026-08-25 14:15:25 +03:00
ramox81
f7d8522520 Restore radius extension line properties 2026-08-25 14:14:46 +03:00
ramox81
205893c784 Align radius dimension properties and graphics 2026-08-25 13:56:35 +03:00
ramox81
d33c52a0b8 Add associative radius dimension workflow 2026-08-25 13:56:34 +03:00