Michele Caini
eb05ab5fab
test: code coverage
2021-03-29 23:30:13 +02:00
Michele Caini
4b213adc75
test: cleanup
2021-03-29 19:03:10 +02:00
Michele Caini
e18c0a0c19
test: verify that dtor isn't invoked for a meta_any that wraps a reference
2021-03-29 17:01:05 +02:00
Michele Caini
11e6793544
build system: cleanup
2021-03-29 12:00:42 +02:00
Michele Caini
d07e0336a2
test: fix ub in the tests
2021-03-29 10:28:58 +02:00
Michele Caini
7dbfb3d9ae
test: code coverage (and try to please new gcov)
2021-03-29 08:23:30 +02:00
Michele Caini
02ef5db6e3
test: cleanup
2021-03-28 00:02:51 +01:00
Michele Caini
bb43bb5508
test: code coverage
2021-03-27 23:59:13 +01:00
Michele Caini
a771f083a7
process: added rejected state
2021-03-27 23:19:15 +01:00
Michele Caini
67f8bce1dd
test: code coverage
2021-03-27 23:03:24 +01:00
Michele Caini
3b6dd23598
scheduler: small review for perf improvements
2021-03-27 22:48:54 +01:00
Michele Caini
66bbeae7da
test: code coverage
2021-03-27 22:47:15 +01:00
Michele Caini
059334a861
test: code coverage
2021-03-27 18:14:36 +01:00
Michele Caini
27be812cc3
registry: small review of const correctness for components
2021-03-26 15:11:37 +01:00
Michele Caini
44fa466618
poly: support for alignment requirements
2021-03-24 12:03:43 +01:00
Michele Caini
b05d84e8e3
test: minor changes
2021-03-24 12:03:43 +01:00
Michele Caini
7787c1ddd7
poly: redefine poly to basic_poly, introduce poly alias declaration
2021-03-24 12:03:43 +01:00
Michele Caini
52bfddd2e7
any: support for sbo storage alignment ( close #676 )
2021-03-24 12:03:43 +01:00
Michele Caini
f59adcdc37
test: no sbo overaligned any
2021-03-24 12:03:43 +01:00
Michele Caini
e996d3398f
any: take in consideration alignment requirements for in_situ test (see #676 )
2021-03-24 12:03:43 +01:00
Michele Caini
5a4b067cee
view:
...
* removed view_pack and its tests
* added the possibility of combining different views
* updated documentation
2021-03-17 14:57:51 +01:00
Michele Caini
85ddfc4d21
test: clean up
2021-03-16 13:13:55 +01:00
Michele Caini
9d72ffb9fe
test: minor changes
2021-03-12 13:52:46 +01:00
Michele Caini
4162d4fbc6
type_info: a more reliable operator bool
2021-03-12 09:33:42 +01:00
Michele Caini
bcaf1489c0
meta: extended template info support
2021-03-11 12:17:48 +01:00
Michele Caini
785cd6bc11
storage ( close #675 ):
...
* stable sigh_storage_mixin::swap_and_pop
* added tests to avoid regressions
2021-03-09 16:09:19 +01:00
Michele Caini
8ec7e3cc97
test: suppress warnings for unused variables
2021-03-09 12:25:32 +01:00
Michele Caini
e376493970
test: removed unnecessary static functions
2021-03-09 12:17:00 +01:00
Michele Caini
08e2322d79
test: meta corner cases and re-registration
2021-03-09 12:11:25 +01:00
Michele Caini
80e73c1089
meta:
...
* props no longer depend on the value type
* more tests for meta_prop
2021-03-09 10:26:21 +01:00
Michele Caini
4f93995bd7
test: suppress warnings + increase code coverage
2021-03-09 10:24:28 +01:00
Michele Caini
03c7dac92f
meta: internal review to fully support re-registration
2021-03-09 09:50:48 +01:00
Michele Caini
1512fbae55
meta: safer factory, no-op re-registration
2021-03-08 14:52:46 +01:00
Michele Caini
005e03aeb3
registry:
...
* context const correctness
* added support for aliased variables to context
* code coverage to avoid regressions
2021-03-06 22:51:01 +01:00
Michele Caini
a62a83044f
poly: make it work also with non-default Len
2021-02-27 17:34:09 +01:00
Michele Caini
2222e31885
config: ENTT_PAGE_SIZE sets the number of elements of a page, not the size in bytes
2021-02-25 00:18:04 +01:00
Michele Caini
c3f7f83c55
registry/view ( close #660 ):
...
* const registry::view is no longer thread safe
* views are always valid when created from a registry, either const or not
* added a note to the doc about const registry and multithreading
2021-02-23 17:01:38 +01:00
Michele Caini
86e18f68c4
sparse_set: added unchecked operator[](pos)
2021-02-23 15:01:05 +01:00
Michele Caini
de35cbf4af
type_info: add conversion operators to underlying types ( close #664 )
2021-02-22 14:48:35 +01:00
Michele Caini
bb1acee36a
entity:
...
* sparse_set: added optional user data to ::remove and ::clear
* sparse_set: remove the payload, it was really meh
* storage: review sigh_storage_mixin, simplified storage_adapter_mixin
* registry: pass itself twhen adding/patchin/removing components
test: updated tests for sparse set and poly storage
examples: added a test to avoid regressions on storage_adapter_mixin
2021-02-22 14:32:29 +01:00
Michele Caini
ccdaec86b3
poly: added configurable sbo size (0 -> forced dyn)
2021-02-20 00:12:43 +01:00
Michele Caini
42afeef993
any: updated tests (sbo vs zeroed sbo size)
2021-02-19 23:46:44 +01:00
Michele Caini
3d06911886
test: code coverage (codecov is odd sometimes)
2021-02-19 16:26:55 +01:00
Michele Caini
1aec7f71b8
any: doc + test for configurable sbo
2021-02-19 14:45:26 +01:00
Michele Caini
07565927f2
any:
...
* added configurable sbo size (0 -> forced dyn)
* reverted changes for forced dyn vtable
2021-02-19 12:51:30 +01:00
Michele Caini
1249a4f8d3
any/meta_any/poly: as_ref is a member function, no longer an in-class friend function exported in the global namespace
2021-02-19 11:19:32 +01:00
Michele Caini
4e631f1536
meta_handle: deleted copy constructor ( close #661 )
2021-02-18 23:49:39 +01:00
Michele Caini
8149e204d2
*: refine code that msvc accepts by mistake ( 🤦♂️ )
2021-02-16 15:55:45 +01:00
Michele Caini
169b816613
entity:
...
* sparse_set: stable virtual remove
* basic_storage: fake get for empty types,
* sigh_storage_mixin: use swap_and_pop, drop ::remove, ignore emptiness
* poly_storage: ::remove is no longer part of its interface by default
2021-02-16 14:46:42 +01:00
Michele Caini
48edf077fc
sigh_storage_mixin:
...
* Owner as template parameter (to make it reusable in other contexts)
* Use storage payload for retrieving the owner from the storage
2021-02-16 10:44:03 +01:00