Skip to content

Commit e954644

Browse files
authored
os 0.4.4: the system's object models — windows::com and macos::objc (#746)
1 parent e4a420c commit e954644

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525

2626
### Added
2727

28+
- **mcpplibs.os 0.4.4.** 两个平台模块加入系统的对象模型:`windows::com`(COM 与 Windows Runtime:套间、对象与按槽调用、
29+
`query`、`create`、`hstring`、`activate`、`factory`、`delegate`)和 `macos::objc`(Objective-C 运行时:`id`、`send<R>`、
30+
autorelease pool、类与选择子、框架、NSString、`define_class`、`block`);每个目标都声明、只在自己的平台定义,镜像里不定义;
31+
库在首次使用时加载,不增加程序的链接输入(mcpplibs/os#24)。
2832
- **openkal 0.25 一族,一次变更:openkal 0.25.0、openkal-kit 0.3.1、openkal-linux 0.26.0、openkal-macos 0.23.0、
2933
openkal-windows 0.21.0、openkal-emscripten 0.14.0、openkal-opensbi 0.9.0。** 规范新增 `kal_fs_hard_link`(按卷由
3034
`KAL_FS_PROP_HARD_LINKS` 回答,条款 11 第 59 条),`kal_process_stop_requested` 的字改为计数每次结束请求(第 60 条);一致性

‎pkgs/o/os.lua‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ package = {
3131

3232
xpm = {
3333
linux = {
34+
["0.4.4"] = {
35+
url = {
36+
GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.4.4.tar.gz",
37+
CN = "https://gitcode.com/mcpp-res/os/releases/download/0.4.4/os-0.4.4.tar.gz",
38+
},
39+
sha256 = "4f9e617ad53bc1a9a70d39a7bcc06a44f651e641fb189ca3683fee5b891c895a",
40+
},
3441
["0.4.3"] = {
3542
url = {
3643
GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.4.3.tar.gz",
@@ -157,6 +164,13 @@ package = {
157164
},
158165
},
159166
macosx = {
167+
["0.4.4"] = {
168+
url = {
169+
GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.4.4.tar.gz",
170+
CN = "https://gitcode.com/mcpp-res/os/releases/download/0.4.4/os-0.4.4.tar.gz",
171+
},
172+
sha256 = "4f9e617ad53bc1a9a70d39a7bcc06a44f651e641fb189ca3683fee5b891c895a",
173+
},
160174
["0.4.3"] = {
161175
url = {
162176
GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.4.3.tar.gz",
@@ -283,6 +297,13 @@ package = {
283297
},
284298
},
285299
windows = {
300+
["0.4.4"] = {
301+
url = {
302+
GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.4.4.tar.gz",
303+
CN = "https://gitcode.com/mcpp-res/os/releases/download/0.4.4/os-0.4.4.tar.gz",
304+
},
305+
sha256 = "4f9e617ad53bc1a9a70d39a7bcc06a44f651e641fb189ca3683fee5b891c895a",
306+
},
286307
["0.4.3"] = {
287308
url = {
288309
GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.4.3.tar.gz",

0 commit comments

Comments
 (0)