Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@

### Added

- **mcpplibs.os 0.4.0.** `is_openkal` names a build for the openkal target, as each `is_<platform>` names its own
(`is_image` remains as a deprecated alias); `can_run_on(p)` and `on<P>(f)` ask one platform question of a native
build and an image alike; the platform modules are defined in an image where it can answer them; the effective user
and the creation mask are the kernel's answers. The test member `os` consumes 0.4.0.
- **mcpplibs.os 0.3.1.** A name in the long spelling (`\\?\C:\...`, `\\?\UNC\...`) is the name it spells: `locate` and
every `os::fs` operation through it accept what `fs::extended` produces, which 0.3.0 refused with `errc::invalid`; the
kernel layer is a compatible range. The test member `os` consumes 0.3.1 (it stayed on 0.2.9 when 0.3.0 was registered).
Expand Down
21 changes: 21 additions & 0 deletions pkgs/o/os.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ package = {

xpm = {
linux = {
["0.4.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.4.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/os/releases/download/0.4.0/os-0.4.0.tar.gz",
},
sha256 = "ad0b61b962469166ec2053ad5c1f5a7114278e98edd94cc3c5235d6148a8111a",
},
["0.3.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.3.1.tar.gz",
Expand Down Expand Up @@ -129,6 +136,13 @@ package = {
},
},
macosx = {
["0.4.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.4.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/os/releases/download/0.4.0/os-0.4.0.tar.gz",
},
sha256 = "ad0b61b962469166ec2053ad5c1f5a7114278e98edd94cc3c5235d6148a8111a",
},
["0.3.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.3.1.tar.gz",
Expand Down Expand Up @@ -227,6 +241,13 @@ package = {
},
},
windows = {
["0.4.0"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.4.0.tar.gz",
CN = "https://gitcode.com/mcpp-res/os/releases/download/0.4.0/os-0.4.0.tar.gz",
},
sha256 = "ad0b61b962469166ec2053ad5c1f5a7114278e98edd94cc3c5235d6148a8111a",
},
["0.3.1"] = {
url = {
GLOBAL = "https://github.com/mcpplibs/os/archive/refs/tags/0.3.1.tar.gz",
Expand Down
2 changes: 1 addition & 1 deletion tests/examples/os/mcpp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "os-tests"
version = "0.1.0"

[dependencies.mcpplibs]
os = "0.3.1"
os = "0.4.0"

[indices]
mcpplibs = { path = "../../.." }
Loading