Sync to upstream Jecs 0.5.5-nightly.20250414T001100Z

This commit is contained in:
forgejo-actions 2025-04-14 00:11:18 +00:00 committed by github-actions[bot]
parent 024bb62b3b
commit 3da61e65c5
7 changed files with 16 additions and 19 deletions

View file

@ -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"

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -1,2 +1,2 @@
passed = true passed = true
timestamp = "20250413T001103Z" timestamp = "20250414T001102Z"

View file

@ -1,8 +1,6 @@
----idempotent 7.3 us  3 kB│ delete children of entity
1_2 8.7 us  1 kB│ remove friends of entity
7.4 us  2 kB│ delete children of entity 345 ns  0  B│ simple deletion of entity
9.5 us  1 kB│ remove friends of entity
352 ns  0  B│ simple deletion of entity
world:add() world:add()
PASS│ idempotent PASS│ idempotent
PASS│ archetype move PASS│ archetype move
@ -23,7 +21,9 @@
PASS│ should not exist after delete PASS│ should not exist after delete
world:delete() world:delete()
PASS│ invoke OnRemove hooks PASS│ remove pair when relationship is deleted
PASS│ invoke OnRemove hook on all components of deleted entity
PASS│ invoke OnRemove hook on relationship if target was deleted
PASS│ delete recycled entity id used as component PASS│ delete recycled entity id used as component
PASS│ bug: Empty entity does not respect cleanup policy PASS│ bug: Empty entity does not respect cleanup policy
PASS│ should allow deleting components PASS│ should allow deleting components
@ -52,6 +52,8 @@
PASS│ multiple iter PASS│ multiple iter
PASS│ tag PASS│ tag
PASS│ pairs PASS│ pairs
PASS│ iterate wildcard pairs in cached query
PASS│ iterate wildcard pairs in uncached query
PASS│ query single component PASS│ query single component
PASS│ query missing component PASS│ query missing component
PASS│ query more than 8 components PASS│ query more than 8 components
@ -110,10 +112,5 @@
PASS│ #2 PASS│ #2
PASS│ #3 PASS│ #3
world:delete() invokes OnRemove hook 69/69 test cases passed in 31.108 ms.
PASS│ #1
PASS│ #2
PASS│ #3
68/68 test cases passed in 29.621 ms.
0 fails 0 fails

View file

@ -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"