Sync to upstream Jecs 0.5.5-nightly.20250414T001100Z
This commit is contained in:
parent
024bb62b3b
commit
3da61e65c5
7 changed files with 16 additions and 19 deletions
|
@ -1,2 +1,2 @@
|
||||||
modified = ["addons/observers.luau", ".luaurc", "CHANGELOG.md", "jecs.luau"]
|
modified = ["jecs.luau"]
|
||||||
version = "0.5.5-nightly.20250413T001101Z"
|
version = "0.5.5-nightly.20250414T001100Z"
|
||||||
|
|
|
@ -1260,7 +1260,7 @@ local function world_delete(world: ecs_world_t, entity: i53)
|
||||||
local tr = idr_r_archetype.records[rel]
|
local tr = idr_r_archetype.records[rel]
|
||||||
local tr_count = idr_r_archetype.counts[rel]
|
local tr_count = idr_r_archetype.counts[rel]
|
||||||
local types = idr_r_archetype.types
|
local types = idr_r_archetype.types
|
||||||
for i = tr, tr_count - 1 do
|
for i = tr, tr_count do
|
||||||
ids[types[tr]] = true
|
ids[types[tr]] = true
|
||||||
end
|
end
|
||||||
local n = #entities
|
local n = #entities
|
||||||
|
|
|
@ -3,7 +3,7 @@ includes = ["init.luau", "pesde.toml", "README.md", "CHANGELOG.md", "LICENSE", "
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "marked/jecs_nightly"
|
name = "marked/jecs_nightly"
|
||||||
repository = "https://git.devmarked.win/marked/jecs-nightly"
|
repository = "https://git.devmarked.win/marked/jecs-nightly"
|
||||||
version = "0.5.5-nightly.20250413T001101Z"
|
version = "0.5.5-nightly.20250414T001100Z"
|
||||||
|
|
||||||
[indices]
|
[indices]
|
||||||
default = "https://github.com/pesde-pkg/index"
|
default = "https://github.com/pesde-pkg/index"
|
||||||
|
|
|
@ -3,7 +3,7 @@ includes = ["init.luau", "pesde.toml", "README.md", "CHANGELOG.md", "LICENSE", "
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
name = "marked/jecs_nightly"
|
name = "marked/jecs_nightly"
|
||||||
repository = "https://git.devmarked.win/marked/jecs-nightly"
|
repository = "https://git.devmarked.win/marked/jecs-nightly"
|
||||||
version = "0.5.5-nightly.20250413T001101Z"
|
version = "0.5.5-nightly.20250414T001100Z"
|
||||||
|
|
||||||
[indices]
|
[indices]
|
||||||
default = "https://github.com/pesde-pkg/index"
|
default = "https://github.com/pesde-pkg/index"
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
passed = true
|
passed = true
|
||||||
timestamp = "20250413T001103Z"
|
timestamp = "20250414T001102Z"
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
----idempotent
|
[38;1m7.3[0m [33;1mus[0m [38;1m 3[0m [33;1mkB[0m[38;1m│[0m [38;1mdelete children of entity[0m
|
||||||
1_2
|
[38;1m8.7[0m [33;1mus[0m [38;1m 1[0m [33;1mkB[0m[38;1m│[0m [38;1mremove friends of entity[0m
|
||||||
[38;1m7.4[0m [33;1mus[0m [38;1m 2[0m [33;1mkB[0m[38;1m│[0m [38;1mdelete children of entity[0m
|
[38;1m345[0m [32;1mns[0m [38;1m 0[0m [32;1m B[0m[38;1m│[0m [38;1msimple deletion of entity[0m
|
||||||
[38;1m9.5[0m [33;1mus[0m [38;1m 1[0m [33;1mkB[0m[38;1m│[0m [38;1mremove friends of entity[0m
|
|
||||||
[38;1m352[0m [32;1mns[0m [38;1m 0[0m [32;1m B[0m[38;1m│[0m [38;1msimple deletion of entity[0m
|
|
||||||
[37;1mworld:add()[0m
|
[37;1mworld:add()[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1midempotent[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1midempotent[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1marchetype move[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1marchetype move[0m
|
||||||
|
@ -23,7 +21,9 @@
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould not exist after delete[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mshould not exist after delete[0m
|
||||||
|
|
||||||
[37;1mworld:delete()[0m
|
[37;1mworld:delete()[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1minvoke OnRemove hooks[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mremove pair when relationship is deleted[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1minvoke OnRemove hook on all components of deleted entity[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1minvoke OnRemove hook on relationship if target was deleted[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mdelete recycled entity id used as component[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mdelete recycled entity id used as component[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mbug: Empty entity does not respect cleanup policy[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mbug: Empty entity does not respect cleanup policy[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould allow deleting components[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mshould allow deleting components[0m
|
||||||
|
@ -52,6 +52,8 @@
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mmultiple iter[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mmultiple iter[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mtag[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mtag[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mpairs[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mpairs[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1miterate wildcard pairs in cached query[0m
|
||||||
|
[32;1mPASS[0m[38;1m│[0m [38;1miterate wildcard pairs in uncached query[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mquery single component[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mquery single component[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mquery missing component[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mquery missing component[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1mquery more than 8 components[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1mquery more than 8 components[0m
|
||||||
|
@ -110,10 +112,5 @@
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1m#2[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1m#2[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1m#3[0m
|
[32;1mPASS[0m[38;1m│[0m [38;1m#3[0m
|
||||||
|
|
||||||
[37;1mworld:delete() invokes OnRemove hook[0m
|
[38;1m69/69 test cases passed in 31.108 ms.[0m
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1m#1[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1m#2[0m
|
|
||||||
[32;1mPASS[0m[38;1m│[0m [38;1m#3[0m
|
|
||||||
|
|
||||||
[38;1m68/68 test cases passed in 29.621 ms.[0m
|
|
||||||
[32;1m0 fails[0m
|
[32;1m0 fails[0m
|
||||||
|
|
|
@ -5,4 +5,4 @@ license = "MIT"
|
||||||
name = "mark-marks/jecs-nightly"
|
name = "mark-marks/jecs-nightly"
|
||||||
realm = "shared"
|
realm = "shared"
|
||||||
registry = "https://github.com/UpliftGames/wally-index"
|
registry = "https://github.com/UpliftGames/wally-index"
|
||||||
version = "0.5.5-nightly.20250413T001101Z"
|
version = "0.5.5-nightly.20250414T001100Z"
|
||||||
|
|
Loading…
Reference in a new issue