Commit Graph

8 Commits

Author SHA1 Message Date
Leonmmcoset
eec11a2845 feat(自动加载): 实现自动require库的功能
添加auto_require模块,当访问未加载的库时自动require
包含测试程序验证自动加载功能
预加载常用库到缓存以提高性能
2025-09-01 18:04:19 +08:00
Leonmmcoset
10d3beb600 fix: 更新安装程序版本号并移除线程ID检查
移除线程模块中不必要的错误检查,避免在非线程环境中调用api.id()时抛出错误
2025-09-01 17:37:20 +08:00
Leonmmcoset
bd4b606a8a fix(thread): 在线程外调用api.id时添加错误检查
添加对current变量的检查,防止在线程外调用api.id时导致空指针异常
2025-09-01 17:24:28 +08:00
Leonmmcoset
976769de2d refactor: 将默认路径从/rc更改为/leonos
更新所有相关文件中的路径引用,统一使用/leonos作为系统目录。同时更新版本号至0.1.7。
2025-09-01 11:03:43 +08:00
Leonmmcoset
3009389313 refactor: 将默认路径从/leonos更改为/rc
修改多个文件中的默认路径变量,将/leonos统一替换为/rc,以简化路径命名并保持一致性
2025-09-01 10:33:32 +08:00
Leonmmcoset
44a696758d refactor: 将默认路径从/rc更改为/leonos
统一修改代码中的默认路径,从/rc变更为/leonos,以反映系统名称变更
2025-09-01 10:15:12 +08:00
Leonmmcoset
60f00f6dcb fix(thread): 修正标签页位置和鼠标事件处理
调整标签页显示位置从顶部到底部,并修复鼠标事件在底部标签栏的触发条件
2025-08-31 21:14:02 +08:00
Leonmmcoset
90a901f58e feat: 初始提交 LeonOS 实现
添加 LeonOS 的基本实现,包括:
- 核心 API 模块(colors, disk, gps, keys, multishell, parallel, rednet, redstone, settings, vector)
- 命令行程序(about, alias, bg, clear, copy, delete, edit, fg, help, list, lua, mkdir, move, paint, peripherals, programs, reboot, set, shutdown, threads)
- 系统启动脚本和包管理
- 文档(README.md, LICENSE)
- 开发工具(devbin)和更新程序

实现功能:
- 完整的线程管理系统
- 兼容 ComputerCraft 的 API 设计
- 改进的 shell 和命令补全系统
- 多标签终端支持
- 设置管理系统
2025-08-31 16:54:18 +08:00