Commit Graph

68 Commits

Author SHA1 Message Date
cnc
59287b9920 参考所有分组:补只读命名参数 native 覆盖,测试通过 2026-06-03 06:00:29 +08:00
cnc
33e1ee5a06 参考所有分组:补执行错误 native 覆盖,测试通过 2026-06-03 00:55:59 +08:00
cnc
b26620dc32 参考所有分组:补 read_text native 覆盖,测试通过 2026-06-03 00:48:18 +08:00
cnc
74cb5f826c 参考所有分组:补读取和圆弧 native 覆盖,测试通过 2026-06-03 00:35:07 +08:00
cnc
2ba8cd7fb8 参考所有分组:补编号参数 native 覆盖,测试通过 2026-06-03 00:26:07 +08:00
cnc
e3d47e8267 参考所有分组:补 O-word 状态参数 native 覆盖,测试通过 2026-06-03 00:19:16 +08:00
cnc
3df61e8da5 参考所有分组:补齐 O-word native 覆盖,测试通过 2026-06-03 00:12:28 +08:00
cnc
28aa1956b7 继续按 align-linuxcnc 约束:补块读取 native 覆盖,测试通过
结论:补齐 LinuxCNC interp_read.cc read_items()/read_one_item() 坏字符路径,以及 interp_check.cc check_m_codes() M 码数量错误的 native 校验;./test-native.sh 与 ./test-linuxcnc-source-link.sh 均通过,未扩展 smoke。
2026-06-03 00:01:25 +08:00
cnc
4e3df07b8a 继续按 align-linuxcnc 约束:补参数表达式 native 覆盖,测试通过
结论:补齐 LinuxCNC interp_read.cc 参数读写、ATAN/unary/binary 表达式错误路径,以及 interp_execute.cc sqrt/divide/power 执行错误的 native 校验;./test-native.sh 与 ./test-linuxcnc-source-link.sh 均通过,未扩展 smoke。
2026-06-02 23:56:34 +08:00
cnc
b7610d1b96 继续按 align-linuxcnc 约束:补极坐标 native 覆盖,测试通过
结论:补齐 LinuxCNC interp_read.cc、interp_internal.cc、interp_find.cc 极坐标路径,以及 interp_convert.cc 扩展平面 arc/NURBS 错误 fixture 的 native 校验;./test-native.sh 与 ./test-linuxcnc-source-link.sh 均通过,未扩展 smoke。
2026-06-02 23:51:22 +08:00
cnc
55c75ffe80 继续按 align-linuxcnc 约束:补固定循环 native 覆盖,测试通过
结论:补齐 LinuxCNC interp_cycles.cc 固定循环错误 fixture 的 native 校验,覆盖重复次数、平面轴/R、Q/P、主轴状态和 G87 必需字;./test-native.sh 与 ./test-linuxcnc-source-link.sh 均通过,未扩展 smoke。
2026-06-02 23:47:02 +08:00
cnc
ad3720713e 继续按 align-linuxcnc 约束:补 M 码和刀具 native 覆盖,测试通过
结论:补齐 LinuxCNC interp_convert.cc convert_m()、convert_tool_select()、convert_tool_length_offset() 以及 interp_find.cc find_tool_index() 相关错误 fixture 的 native 校验;./test-native.sh 与 ./test-linuxcnc-source-link.sh 均通过,未扩展 smoke。
2026-06-02 23:42:05 +08:00
cnc
ba526a6042 继续按 align-linuxcnc 约束:补轴运动 native 覆盖,测试通过
结论:补齐 LinuxCNC interp_internal.cc enhance_block() 轴/运动错误 fixture 的 native 校验,并同步 check_other_codes() native 覆盖文档;./test-native.sh 与 ./test-linuxcnc-source-link.sh 均通过。
2026-06-02 23:34:56 +08:00
cnc
93f2a903b5 继续按 align-linuxcnc 约束:补未使用词 native 覆盖,测试通过 2026-06-02 23:25:47 +08:00
cnc
c52ecc09eb 继续按 align-linuxcnc 约束:补词读取 native 覆盖,测试通过 2026-06-02 23:20:55 +08:00
cnc
cc05532528 继续按 align-linuxcnc 约束:补 GM 读码 native 覆盖,测试通过 2026-06-02 23:16:15 +08:00
cnc
ecec27aa64 继续按 align-linuxcnc 约束:补 G53 校验 native 覆盖,测试通过 2026-06-02 23:11:47 +08:00
cnc
c25b0eff22 继续按 align-linuxcnc 约束:补 M98 与增量圆弧源码覆盖,测试通过 2026-06-02 23:07:27 +08:00
cnc
868f20382a 继续按 align-linuxcnc 约束:补螺纹转换错误源码覆盖,测试通过 2026-06-02 20:15:04 +08:00
cnc
cde0bdaba6 继续按 align-linuxcnc 约束:补螺纹和恒线速校验源码覆盖,测试通过 2026-06-02 20:08:39 +08:00
cnc
3a60624108 继续按 align-linuxcnc 约束:补未使用字地址源码覆盖,测试通过 2026-06-02 19:53:28 +08:00
cnc
4d0cf788b1 继续按 align-linuxcnc 约束:补主轴选择和 M19 校验源码覆盖,测试通过 2026-06-02 19:47:52 +08:00
cnc
e875496fe0 继续按 align-linuxcnc 约束:补 convert_m 参数错误源码覆盖,测试通过 2026-06-02 19:36:22 +08:00
cnc
7e15a99d28 继续按 align-linuxcnc 约束:补控制字位置错误源码覆盖,测试通过 2026-06-02 18:49:53 +08:00
cnc
3435c3556a 继续按 align-linuxcnc 约束:补 reader 裸项错误源码覆盖,测试通过 2026-06-02 18:43:54 +08:00
cnc
318220b766 继续按 align-linuxcnc 约束:补 O-word 调用错误源码覆盖,测试通过 2026-06-02 18:33:15 +08:00
cnc
43a3e66106 继续按 align-linuxcnc 约束:补注释前缀控制字源码覆盖,测试通过 2026-06-02 18:27:50 +08:00
cnc
4f1042c548 继续按 align-linuxcnc 约束:补 O-word 匹配错误源码覆盖
结论:新增 undefined/no-matching O-word label 与子程序闭合方式错误的 source-link 断言;依据 LinuxCNC interp_o_word.cc,未扩展 smoke。
2026-06-02 18:01:07 +08:00
cnc
cc708b1ccc 继续按 align-linuxcnc 约束:补 O-word 执行错误源码覆盖
结论:新增重复/未匹配 O-word label 和 out-of-context return/endsub 的 source-link 断言;依据 LinuxCNC interp_o_word.cc,未扩展 smoke。
2026-06-02 17:55:14 +08:00
cnc
25519b5bc4 继续按 align-linuxcnc 约束:补文件读取错误源码覆盖
结论:新增 read_text 和 read_n_number 的 EOF、百分号文件、过长行和 N 行号错误 source-link 断言;依据 LinuxCNC interp_read.cc,未扩展 smoke。
2026-06-02 17:47:24 +08:00
cnc
a44199eb48 继续按 align-linuxcnc 约束:补 O-word 读取错误源码覆盖
结论:新增 malformed O-word、缺少控制表达式括号、O-call 参数过多和 M98 缺 P 的 source-link 断言;依据 LinuxCNC interp_read.cc,未扩展 smoke。
2026-06-02 17:35:18 +08:00
cnc
9a9b931982 继续按 align-linuxcnc 约束:补参数读取错误源码覆盖
结论:新增参数索引、命名参数终止和实数读取错误 fixture,全部绑定 LinuxCNC interp_read.cc 的 source-link 断言;未扩展 smoke。
2026-06-02 17:20:42 +08:00
cnc
7bd1dc640f 继续按 align-linuxcnc 约束:补 block reader 源码错误覆盖
结论:覆盖 LinuxCNC interp_read.cc/read_dollar()/read_one_item() 的重复 $、非法起始字符和中途 N word 错误,以及 interp_check.cc/check_m_codes() 的 M 码数量错误;未扩展 smoke。

验证:./test-linuxcnc-source-link.sh;./test-native.sh。
2026-06-02 17:00:55 +08:00
cnc
b83bc47c45 继续按 align-linuxcnc 约束:补 G/M reader 源码错误覆盖
结论:覆盖 LinuxCNC interp_read.cc/read_g()/read_m() 的范围、未知代码和同 modal group 冲突错误,代码表依据 interp_array.cc;未扩展 smoke。

验证:./test-linuxcnc-source-link.sh;./test-native.sh。
2026-06-02 16:35:58 +08:00
cnc
6ffcada028 继续按 align-linuxcnc 约束:补齐重复 word reader 源码覆盖
结论:覆盖 LinuxCNC interp_read.cc 中剩余重复 A/B/C/D/E/I/J/K/P/Q/R/U/V/W word reader 错误;未扩展 smoke。

验证:./test-linuxcnc-source-link.sh;./test-native.sh。
2026-06-02 16:30:39 +08:00
cnc
b2945cf57f 继续按 align-linuxcnc 约束:补 unary 和参数读取源码错误覆盖
结论:覆盖 LinuxCNC interp_read.cc 中 read_operation_unary() 未知词分支、read_parameter_setting() 缺少等号和 read_real_value() 空值错误;未扩展 smoke。

验证:./test-linuxcnc-source-link.sh;./test-native.sh。
2026-06-02 16:25:57 +08:00
cnc
05ece027c4 继续按 align-linuxcnc 约束:补 word reader 源码错误覆盖
结论:覆盖 LinuxCNC interp_read.cc 中负数 F/G/H/L/M/S/T 和重复 F/H/L/S/T/X/Y/Z word reader 错误;未扩展 smoke。

验证:./test-linuxcnc-source-link.sh;./test-native.sh。
2026-06-02 16:17:19 +08:00
cnc
b4d0bfae46 继续按 align-linuxcnc 约束:补齐 read_operation 源码错误覆盖
结论:覆盖 LinuxCNC interp_read.cc read_operation() 的未知二元操作名前缀、未知操作字符和未闭合表达式错误;未扩展 smoke。

验证:./test-native.sh;./test-linuxcnc-source-link.sh。
2026-06-02 16:10:03 +08:00
cnc
3f5c3faf25 继续按 align-linuxcnc 约束:补 unary 错误源码回归 2026-06-02 16:01:55 +08:00
cnc
dd4c62fce6 继续按 align-linuxcnc 约束:补 ATAN 错误源码回归 2026-06-02 15:58:01 +08:00
cnc
4861287138 继续按 align-linuxcnc 约束:补表达式错误源码回归 2026-06-02 15:54:17 +08:00
cnc
7319e18810 继续按 align-linuxcnc 约束:补表达式运算源码回归 2026-06-02 15:50:37 +08:00
cnc
df5c459b1d 继续按 align-linuxcnc 约束:补只读命名参数源回归
结论:新增 LinuxCNC-backed readonly named parameter fixture,依据 interp_namedparams.cc::lookup_named_param 与 init_readonly_param,在 native librs274 与 source-link runner 中验证 #<_metric>/#<_imperial>/#<_absolute>/#<_incremental>/#<_feed>/#<_rpm>/#<_spindle_on>/#<_spindle_cw>;未扩展 smoke,test-native 与 test-linuxcnc-source-link 均通过。
2026-06-02 15:40:23 +08:00
cnc
23284e528f 继续按 align-linuxcnc 约束:补 G7G76 源链接回归
结论:新增 LinuxCNC-backed G7 G76 fixture,依据 interp_convert.cc::convert_lathe_diameter_mode 和 convert_threading_cycle 验证直径模式下 G76 I/J/K 几何缩放、最终 threading pass 与 taper sync pitch;未扩展 smoke,test-native 与 test-linuxcnc-source-link 均通过。
2026-06-02 15:33:17 +08:00
cnc
952d3ecfd2 继续按 align-linuxcnc 约束:同步只读参数覆盖文档
结论:文档矩阵已同步 G7/G8 提交结果,#<_lathe_diameter_mode> 与 #<_lathe_radius_mode> 标记为 LinuxCNC native/source-backed 覆盖;仅文档改动,未运行测试。
2026-06-02 15:28:42 +08:00
cnc
6e0a5627f0 继续按 align-linuxcnc 约束:补 G7G8 源链接回归
结论:新增 LinuxCNC-backed lathe diameter/radius fixture,依据 interp_convert.cc::convert_lathe_diameter_mode 与 interp_namedparams.cc readonly 参数,在 native librs274 与 source-link runner 中验证 G7/G8 同块 X 缩放和 #<_lathe_diameter_mode>/#<_lathe_radius_mode> 分支;未扩展 smoke,test-native 与 test-linuxcnc-source-link 均通过。
2026-06-02 15:27:31 +08:00
cnc
b8ad3a0346 继续按 align-linuxcnc 约束:闭合 switchkins 构建预检
结论:build-wasm 入口纳入 cached switchkins/remap 表校验,LinuxCNC RS274 INI 加载按 rs274ngc_pre.cc 保留真实 ini_load 路径,Node/browser generated switchkins smoke 跳过会触发 REMAP 依赖加载的 INI_FILE_NAME 别名;native/source-link/表检查均通过。
2026-06-02 15:13:37 +08:00
cnc
ad7a461b3e Link wasm runtime status constructors 2026-06-02 08:20:17 +08:00
cnc
dab7b9e2ef Guard browser storage behind OPFS 2026-06-02 07:11:41 +08:00
cnc
0db23b4a5d Tighten cached guardrail signatures 2026-06-02 06:47:10 +08:00