Merge upstream main; codec and kernel patches on branches merged with it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-10-16 22:12:01 +03:00
commit 0158ea533f
48 files changed
+5133 -52

No files matched your search

+22
View File
@@ -175,6 +175,22 @@ impl OpenCADStudio {
};
let resolved = self.resolve_alias(cmd);
let cmd = resolved.as_deref().unwrap_or(cmd);
if matches!(cmd.split(' ').next(), Some("BACTION" | "BACTIONTOOL")) {
let args = cmd.split_once(' ').map_or("", |(_, a)| a.trim());
if !args.is_empty() && crate::scene::block_actions::Kind::parse(args).is_none() {
self.command_line.push_error(
crate::t!(
"Supported actions: Move, Scale. Other action types are not wired yet."
)
.as_ref(),
);
return Task::none();
}
if let Some(error) = self.action_error(crate::scene::block_actions::Kind::parse(args)) {
self.command_line.push_error(crate::t!(error).as_ref());
return Task::none();
}
}
if cmd == "BPARAMETER" || cmd.starts_with("BPARAMETER ") {
if let Some(error) =
self.parameter_placement_error(cmd.strip_prefix("BPARAMETER").unwrap().trim())
@@ -183,6 +199,12 @@ impl OpenCADStudio {
return Task::none();
}
}
if cmd == "BLOOKUPTABLE" || cmd.starts_with("BLOOKUPTABLE ") {
if let Some(error) = self.lookup_table_error() {
self.command_line.push_error(crate::t!(error).as_ref());
return Task::none();
}
}
if self.tabs[i].block_test.is_some() {
let name = cmd.split([' ', ':']).next().unwrap_or(cmd);
if matches!(