Skip to content
Open
Show file tree
Hide file tree
Changes from 41 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
b0d062d
match function parameter names across declaration and definition in e…
Indra-db Sep 17, 2023
8d8104d
[CPP] add missing get_mut functions to World
Indra-db Apr 17, 2024
53dadc6
table column & component record safety locks
Indra-db Aug 17, 2025
ff2a3b8
add fn declaration of sparse lock fns
Indra-db Aug 17, 2025
67a13a6
add fn declaration of column lock fns
Indra-db Aug 17, 2025
5b0c026
don't allocate column lock when column count is 0
Indra-db Aug 17, 2025
60b7f43
iterate tables stored on world instead of through query during column…
Indra-db Aug 17, 2025
a77ce34
do not resize locks when stage count is set to 0 at ecs fini
Indra-db Aug 17, 2025
89e991d
add CI job, add custom build test, remove temp define
Indra-db Aug 17, 2025
b771651
adjust ci job
Indra-db Aug 17, 2025
2e789cd
add ci job rebuild w/ -D FLECS_SAFETY_LOCKS
Indra-db Aug 17, 2025
4cacdde
rename ecs_table_column_lock_write_end_multithreaded + move fn inside…
Indra-db Aug 18, 2025
317529e
remove redundant declaration fn
Indra-db Aug 18, 2025
44975bd
tests read/write count checks
Indra-db Sep 15, 2025
496bc22
fix strict warnings
Indra-db Sep 16, 2025
3684819
strict warnings fix
Indra-db Sep 16, 2025
cfe136d
Squashed commit of the following:
Indra-db Sep 23, 2025
8a49fb9
add the test cases
Indra-db Sep 23, 2025
479bc5f
rename flecs_get_id_from_record to flecs_record_get_id
Indra-db Sep 23, 2025
ff2f290
remove references to public flecs internal fns on public API
Indra-db Sep 23, 2025
487f0f0
rename FLECS_SAFETY_LOCKS to FLECS_MUT_ALIAS_LOCKS
Indra-db Sep 23, 2025
7da95da
rename component_ptr to ptr
Indra-db Sep 23, 2025
e6683f1
remove temp variable sparse_ptr
Indra-db Sep 23, 2025
1a3217e
merge lines
Indra-db Sep 23, 2025
964a914
rename FLECS_SI_INIT macro to FLECS_LOCK_TARGET_INIT, rename ecs_safe…
Indra-db Sep 23, 2025
84c9515
rename idr to cr
Indra-db Sep 23, 2025
977a2a4
add comment descriptions to internal api exposed fns
Indra-db Sep 23, 2025
797c24e
add missing comma
Indra-db Sep 23, 2025
57358eb
improve docs for api_internal of read/write
Indra-db Sep 23, 2025
6511e63
distr files update
Indra-db Sep 23, 2025
04dacf7
rename test safety_locks custom build to mut_alias_locks + add FLECS_…
Indra-db Sep 23, 2025
b549c42
move local variable inline
Indra-db Oct 13, 2025
305420b
fix missing endif after rebasing
Indra-db Nov 17, 2025
dfde75f
update distr/flecs.c after rebase
Indra-db Dec 23, 2025
58bdacb
optimize `ecs_get_ptr_t` when locks are not active
Indra-db Dec 24, 2025
d2af639
split
Indra-db May 10, 2026
20e1d82
add inherited components support
Indra-db May 10, 2026
c87ba0c
add new assert
Indra-db May 10, 2026
a02bb75
Revert "[CPP] add missing get_mut functions to World"
Indra-db May 10, 2026
0a2546e
fix wrong rebase
Indra-db May 10, 2026
c529226
fix release build
Indra-db May 11, 2026
f3f3aba
merge base component
Indra-db May 27, 2026
5d8249c
split table column lock code into sep file
Indra-db May 27, 2026
f685b86
rename read, write lock fns
Indra-db May 27, 2026
75872bb
flatten fns
Indra-db May 27, 2026
f0b127a
Merge remote-tracking branch 'origin/master' into pr/1753
Indra-db May 27, 2026
a12717a
extract sparse id record lock functions to separate file
Indra-db May 27, 2026
9e208a4
fix trailing whitelines
Indra-db May 27, 2026
e1b7658
update distr/flecs.c
Indra-db May 27, 2026
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
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,11 @@ jobs:
bake rebuild --strict -D FLECS_NO_LOG
bake rebuild --strict --cfg release -D FLECS_NO_LOG

- name: FLECS_MUT_ALIAS_LOCKS
run: |
bake rebuild --strict -D FLECS_MUT_ALIAS_LOCKS
bake rebuild --strict --cfg release -D FLECS_MUT_ALIAS_LOCKS

- name: FLECS_DEFAULT
run: |
bake rebuild --strict
Expand Down Expand Up @@ -1183,6 +1188,30 @@ jobs:
run: |
bake run test/core --cfg sanitize -- -j 8

test-flecs-safety-core:
needs: [ build-linux ]
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]

steps:
- uses: actions/checkout@v4
- name: install bake
run: |
git clone https://github.com/SanderMertens/bake
make -C bake/build-$(uname)
bake/bake setup

- name: build flecs
run: bake --cfg sanitize -D FLECS_MUT_ALIAS_LOCKS

- name: run tests
run: |
bake run test/core --cfg sanitize -- -j 8

test-low-footprint-core:
needs: [ build-linux ]
runs-on: ${{ matrix.os }}
Expand Down
Loading
Loading