Commit graph

583 commits

Author SHA1 Message Date
Ukendio
d3b032666b Index is not a stable pointer
Some checks are pending
analysis / Run Luau Analyze (push) Waiting to run
unit-testing / Run Luau Tests (push) Waiting to run
2025-04-25 23:53:09 +02:00
Ukendio
b1a2bc48a7 No nullable records 2025-04-25 23:41:32 +02:00
Ukendio
1002139fc9 Only max_id and alive_count if range_begin is larger than built in
ranges
2025-04-25 23:05:51 +02:00
Ukendio
d237b176e6 Fix listener array indexing in observers 2025-04-25 22:45:41 +02:00
Ukendio
0816c645da Merge branch 'Add-entity-ranges' of https://github.com/Ukendio/jecs into Add-entity-ranges 2025-04-25 22:36:29 +02:00
Ukendio
6a92d4e3c6 Add ecs_assert and fix entity range handling 2025-04-25 22:36:07 +02:00
Marcus
50363ac474
Merge branch 'main' into Add-entity-ranges 2025-04-25 22:08:32 +02:00
Ukendio
5b9c032451 Remove appending to array 2025-04-25 22:08:03 +02:00
Ukendio
5b31a1af22 Allow to disconnect signals 2025-04-25 22:07:22 +02:00
Ukendio
846722ba58 Initialize bundle after builtn components are set
Some checks are pending
analysis / Run Luau Analyze (push) Waiting to run
deploy-docs / build (push) Waiting to run
deploy-docs / Deploy (push) Blocked by required conditions
publish-npm / publish (push) Waiting to run
unit-testing / Run Luau Tests (push) Waiting to run
2025-04-25 15:47:51 +02:00
Ukendio
cb238ab29e Simplify entity swap logic in world_entity function 2025-04-22 05:02:33 +02:00
Ukendio
de587bd61e Merge conflicts 2025-04-22 04:54:18 +02:00
Ukendio
8822be58a9 Add assertion against existing idr
Some checks failed
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
2025-04-22 04:52:21 +02:00
Ukendio
ef0f69ac6d Set signal with hook 2025-04-22 04:49:52 +02:00
Ukendio
efe9f0cc34 Merge conflicts 2025-04-22 04:42:34 +02:00
Marcus
42401f93ae
Add component registration and metadata API (#219)
* Add component registration and metadata API

* Fix test case erroring

* Fix type issues

* Add component to hook calls' arguments

* Add is_tag function

* Allow focus to capture a single Test

* Add test cases for preregistered tags
2025-04-22 04:38:30 +02:00
Axen
6835f91a09
Docs/hooks set order warning (#220)
* Add docs warning about hook set order

* Improve warning wording
2025-04-22 04:37:04 +02:00
Ukendio
38f189b54d Initial commit 2025-04-22 04:10:45 +02:00
Ukendio
6811b6de0e Fix test case erroring 2025-04-19 19:33:53 +02:00
Ukendio
a6c53c9de8 Add component registration and metadata API 2025-04-19 19:32:28 +02:00
Neon
e5a30f2bc7
Fix jecs addon repository links
Some checks failed
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
2025-04-17 21:08:32 +02:00
as8d
9163285f9e
Add a replication and input section and add feces and axis to addons.md (#217)
Some checks failed
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
2025-04-14 17:47:39 +02:00
Ukendio
6ec8ed69e9 Pin luau version
Some checks failed
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
2025-04-13 05:27:13 +02:00
Ukendio
f9bacf3f54 Remove until end of range for relationship 2025-04-13 05:21:41 +02:00
Ukendio
765a7f9a36 Removed unnecessary tests 2025-04-13 02:37:58 +02:00
Ukendio
66636fd844 Merge branch 'main' of https://github.com/Ukendio/jecs 2025-04-13 01:58:36 +02:00
Ukendio
fc4f4a6a3a Add type overloads for World.has method 2025-04-13 01:52:41 +02:00
Ukendio
447bb76bb8 Optimize world:has and improve type annotations 2025-04-13 01:51:21 +02:00
nidho
d85a182c76
Fix duplicated 'Luau/TypeScript' in documentation (#216)
Some checks are pending
analysis / Run Luau Analyze (push) Waiting to run
deploy-docs / build (push) Waiting to run
deploy-docs / Deploy (push) Blocked by required conditions
publish-npm / publish (push) Waiting to run
unit-testing / Run Luau Tests (push) Waiting to run
2025-04-11 23:25:52 +02:00
Ukendio
4c958071e0 Change observers export value 2025-04-10 21:10:42 +02:00
Ukendio
ba31aa98ba Cleanup testing slightly 2025-04-10 19:52:07 +02:00
Ukendio
5c051eb737 Merge branch 'main' of https://github.com/Ukendio/jecs 2025-04-06 20:38:53 +02:00
Marcus
d3830a1c2a
Replace linked list with bidirectional edges
Some checks failed
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
2025-04-06 19:24:10 +02:00
Ukendio
001431b836 Experiment: rip out linked lists from archetype graph 2025-04-05 06:04:48 +02:00
Ukendio
6bb36f281e Merge branch 'main' of https://github.com/Ukendio/jecs
Some checks failed
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
2025-04-05 04:55:21 +02:00
Ukendio
74ef525092 Fix dst clone 2025-04-05 04:55:11 +02:00
Ukendio
df6c568c6b 0.6.0-rc.1 2025-04-05 00:42:04 +02:00
Ukendio
d24ab71e4c Style fixes 2025-04-05 00:41:38 +02:00
Sivak
5e6b030fb4
Change OnSet to OnChange in type definitions for typescript (#214)
Some checks are pending
analysis / Run Luau Analyze (push) Waiting to run
deploy-docs / build (push) Waiting to run
deploy-docs / Deploy (push) Blocked by required conditions
publish-npm / publish (push) Waiting to run
unit-testing / Run Luau Tests (push) Waiting to run
2025-04-05 00:36:04 +02:00
EncodedVenom
908d83a619
Fix typo
Some checks failed
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
2025-03-30 20:00:49 -04:00
Ukendio
41ebde415f OnChange should invoke after data has been set
Some checks are pending
analysis / Run Luau Analyze (push) Waiting to run
deploy-docs / build (push) Waiting to run
deploy-docs / Deploy (push) Blocked by required conditions
publish-npm / publish (push) Waiting to run
unit-testing / Run Luau Tests (push) Waiting to run
2025-03-30 22:49:11 +02:00
Ukendio
7bcd6bd220 Update docs 2025-03-30 22:29:43 +02:00
Ukendio
2b90fabec5 Add tests for addons 2025-03-30 22:14:22 +02:00
Ukendio
9c68218d5d Update changelog 2025-03-30 21:47:25 +02:00
Ukendio
cf88c259f8 Replace OnSet hook with OnChange 2025-03-30 21:31:18 +02:00
Ukendio
a466ab151b Move coverage under docs 2025-03-30 18:55:14 +02:00
Ukendio
3050ea1560 Add coverage to Nav 2025-03-30 18:42:16 +02:00
Ukendio
5a1424ee48 Merge branch 'main' of https://github.com/Ukendio/jecs 2025-03-30 18:41:59 +02:00
Ukendio
0455a55625 Remove duplicate .github folder 2025-03-30 18:38:14 +02:00
EncodedVenom
27b58e9745
Update jecs.md
Makes the sentence clearer
2025-03-30 12:24:24 -04:00