This website requires JavaScript.
dc4279a2d0
any/poly: review align parameter and default values (close #676 )
Michele Caini
2021-03-26 13:05:52 +01:00
85bff4525a
registry: non-const try_get doesn't create pools anymore
Michele Caini
2021-03-26 09:34:27 +01:00
bd648c0745
registry: avoid embedding asserts with return expressions
Michele Caini
2021-03-25 11:13:50 +01:00
d5e7005edd
doc: minor changes to make doxygen happy
Michele Caini
2021-03-25 09:46:06 +01:00
8913c7ea18
poly: make vs2017 happy again
Michele Caini
2021-03-24 13:53:02 +01:00
0e2afe4f98
resource: remove the requirement to use shared_ptr (close #679 )
Michele Caini
2021-03-23 17:19:31 +01:00
a936f7cdbe
doc: added a note about configurable alignment requirements for any and poly
Michele Caini
2021-03-22 15:14:19 +01:00
44fa466618
poly: support for alignment requirements
Michele Caini
2021-03-22 12:00:21 +01:00
b05d84e8e3
test: minor changes
Michele Caini
2021-03-22 11:59:07 +01:00
7787c1ddd7
poly: redefine poly to basic_poly, introduce poly alias declaration
Michele Caini
2021-03-22 11:17:05 +01:00
52bfddd2e7
any: support for sbo storage alignment (close #676 )
Michele Caini
2021-03-22 10:51:28 +01:00
f59adcdc37
test: no sbo overaligned any
Michele Caini
2021-03-22 08:40:32 +01:00
e996d3398f
any: take in consideration alignment requirements for in_situ test (see #676 )
Michele Caini
2021-03-18 11:36:34 +01:00
d73892d25a
build system: more on pkg-config + updated README file
Michele Caini
2021-03-18 10:31:26 +01:00
1ebf614d79
build system: add pkg-config support (#674 )
Alexandru-Sergiu Marton
2021-03-18 10:07:05 +02:00
f9c995f03f
storage: cleanup
Michele Caini
2021-03-18 13:47:53 +01:00
2dcdd561f0
registry: minor changes
Michele Caini
2021-03-17 16:08:34 +01:00
90f97aa8d7
doc: updated try-it link (close #678 )
Michele Caini
2021-03-17 15:10:10 +01:00
5a4b067cee
view: * removed view_pack and its tests * added the possibility of combining different views * updated documentation
Michele Caini
2021-03-17 14:57:51 +01:00
cabcc761c6
view: uniform design (prepare for chaining)
Michele Caini
2021-03-16 17:14:20 +01:00
a40ac1c46c
registry: minor changes
Michele Caini
2021-03-16 13:38:29 +01:00
85ddfc4d21
test: clean up
Michele Caini
2021-03-16 13:13:55 +01:00
037a35df1d
storage: removed storage category
Michele Caini
2021-03-15 18:47:17 +01:00
64c753023e
doc: minor changes
Michele Caini
2021-03-15 17:52:50 +01:00
9d72ffb9fe
test: minor changes
Michele Caini
2021-03-12 13:52:46 +01:00
4162d4fbc6
type_info: a more reliable operator bool
Michele Caini
2021-03-12 09:33:42 +01:00
a4d16bffd3
any: minor changes
Michele Caini
2021-03-12 08:40:04 +01:00
bcaf1489c0
meta: extended template info support
Michele Caini
2021-03-11 12:13:20 +01:00
a85712e8aa
meta: * removed has_meta_sequence_container[_v] * removed has_meta_associative_container[_v]
Michele Caini
2021-03-11 10:32:53 +01:00
0f95d02cdc
any: minor changes
Michele Caini
2021-03-10 08:55:02 +01:00
c151d55237
dispatcher: help std::is_copy_constructible to solve its problems with std::vector :)
Michele Caini
2021-03-10 08:51:06 +01:00
785cd6bc11
storage (close #675 ): * stable sigh_storage_mixin::swap_and_pop * added tests to avoid regressions
Michele Caini
2021-03-09 16:09:19 +01:00
8ec7e3cc97
test: suppress warnings for unused variables
Michele Caini
2021-03-09 12:25:32 +01:00
e376493970
test: removed unnecessary static functions
Michele Caini
2021-03-09 12:17:00 +01:00
08e2322d79
test: meta corner cases and re-registration
Michele Caini
2021-03-09 12:11:25 +01:00
2832767daa
meta: updated doc
Michele Caini
2021-03-09 12:10:55 +01:00
62e12ee0aa
meta: no need to check the instance in the dtor wrapper
Michele Caini
2021-03-09 10:34:06 +01:00
80e73c1089
meta: * props no longer depend on the value type * more tests for meta_prop
Michele Caini
2021-03-09 10:25:12 +01:00
4f93995bd7
test: suppress warnings + increase code coverage
Michele Caini
2021-03-09 10:24:28 +01:00
03c7dac92f
meta: internal review to fully support re-registration
Michele Caini
2021-03-09 09:50:48 +01:00
d0b93f565a
meta: prop key is returned by const reference rather than by copy
Michele Caini
2021-03-08 15:19:13 +01:00
1512fbae55
meta: safer factory, no-op re-registration
Michele Caini
2021-03-08 14:52:46 +01:00
4d91afdf9f
meta: allow range-reset
Michele Caini
2021-03-08 14:44:08 +01:00
c239c3fea3
factory: avoid re-registration of data and type if already registered
Michele Caini
2021-03-08 09:29:54 +01:00
a0b431e8c4
doc: context aliased properties
Michele Caini
2021-03-06 23:33:26 +01:00
005e03aeb3
registry: * context const correctness * added support for aliased variables to context * code coverage to avoid regressions
Michele Caini
2021-03-06 22:51:01 +01:00
6002d373e2
meta: factory ignores already existing unnamed meta objects
Michele Caini
2021-03-05 11:32:32 +01:00
a53066424b
meta: cleanup/minor changes
Michele Caini
2021-03-04 10:17:39 +01:00
38ab02ff88
doc: minor changes
Michele Caini
2021-03-03 16:49:20 +01:00
fee0b29a0b
registry: added missing template keyword (thanks msvc for accepting it anyway)
Michele Caini
2021-03-03 14:24:38 +01:00
2553695029
meta: minor changes
Michele Caini
2021-03-03 12:26:59 +01:00
301939983f
registry: minor changes
Michele Caini
2021-03-03 12:26:11 +01:00
cd9ae1fbad
poly: ::emplace support for reference types
Michele Caini
2021-03-03 12:25:34 +01:00
54e9bc86cc
doc: updated links
Michele Caini
2021-03-02 12:05:49 +01:00
a1dd4c28c3
view: clean up
Michele Caini
2021-03-02 11:21:40 +01:00
6d3857f337
registry: clean up
Michele Caini
2021-03-01 23:55:57 +01:00
c4be3e731a
poly: fwd.hpp
Michele Caini
2021-02-28 23:29:36 +01:00
ea4407b847
doc: fixed typo
Michele Caini
2021-02-28 23:24:32 +01:00
a62a83044f
poly: make it work also with non-default Len
Michele Caini
2021-02-27 17:34:09 +01:00
e7e7b06744
doc: updated links
Michele Caini
2021-02-26 14:36:20 +01:00
2222e31885
config: ENTT_PAGE_SIZE sets the number of elements of a page, not the size in bytes
Michele Caini
2021-02-25 00:18:04 +01:00
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
Michele Caini
2021-02-22 16:51:49 +01:00
86e18f68c4
sparse_set: added unchecked operator[](pos)
Michele Caini
2021-02-23 15:01:05 +01:00
cc7d9e03d9
doc: updated list of similar projects
Michele Caini
2021-02-23 14:39:37 +01:00
c8639ae434
meta: minor changes
Michele Caini
2021-02-23 12:00:59 +01:00
85cf32516e
view: minor changes
Michele Caini
2021-02-22 16:52:54 +01:00
bc85817b07
doc: updated doc for type_seq and the like
Michele Caini
2021-02-22 16:39:42 +01:00
1016394be5
*: minor changes
Michele Caini
2021-02-22 16:35:36 +01:00
de35cbf4af
type_info: add conversion operators to underlying types (close #664 )
Michele Caini
2021-02-22 14:48:35 +01:00
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
Michele Caini
2021-02-22 14:32:29 +01:00
c6a2ed78c3
poly: add missing template keyword
Michele Caini
2021-02-22 09:45:55 +01:00
7729958082
doc: updated links
Michele Caini
2021-02-21 16:37:22 +01:00
ccdaec86b3
poly: added configurable sbo size (0 -> forced dyn)
Michele Caini
2021-02-20 00:12:43 +01:00
42afeef993
any: updated tests (sbo vs zeroed sbo size)
Michele Caini
2021-02-19 23:46:44 +01:00
3d06911886
test: code coverage (codecov is odd sometimes)
Michele Caini
2021-02-19 16:26:55 +01:00
98f929e41e
any: try to get around an issue with clang only
Michele Caini
2021-02-19 16:23:33 +01:00
94d4e0231e
*: suppress a few warnings + fix a call that msvc accepted by mistake
Michele Caini
2021-02-19 16:11:19 +01:00
e60cdb2e3b
config: update ENTT_PAGE_SIZE
Michele Caini
2021-02-19 15:50:09 +01:00
550c021097
any: make VS happy :)
Michele Caini
2021-02-19 14:56:39 +01:00
1aec7f71b8
any: doc + test for configurable sbo
Michele Caini
2021-02-19 14:45:26 +01:00
07565927f2
any: * added configurable sbo size (0 -> forced dyn) * reverted changes for forced dyn vtable
Michele Caini
2021-02-19 12:51:30 +01:00
fda78ede1b
any: prepare for in-place forced dynamic construction
Michele Caini
2021-02-19 11:48:25 +01:00
1249a4f8d3
any/meta_any/poly: as_ref is a member function, no longer an in-class friend function exported in the global namespace
Michele Caini
2021-02-19 11:19:32 +01:00
4e631f1536
meta_handle: deleted copy constructor (close #661 )
Michele Caini
2021-02-18 23:49:39 +01:00
1757dbc225
registry: get around an issue of gcc
Michele Caini
2021-02-16 17:12:02 +01:00
8149e204d2
*: refine code that msvc accepts by mistake (🤦♂️ )
Michele Caini
2021-02-16 15:37:59 +01:00
412f2ef63e
doc: updated/reviewed
Michele Caini
2021-02-16 15:08:34 +01:00
ea33673daa
registry: faster, better ::clear
Michele Caini
2021-02-16 14:53:33 +01:00
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
Michele Caini
2021-02-16 14:46:42 +01:00
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
Michele Caini
2021-02-16 10:44:03 +01:00
91db153710
registry: rebind pools from move constructor/assignment operator
Michele Caini
2021-02-15 18:11:02 +01:00
ea1f010b1a
sparse_set/storage: swap_at and swap_and_pop are protected and non-final
Michele Caini
2021-02-15 15:57:17 +01:00
935a852745
storage: * Removed storage_adapter_mixin (intermediate step towards the owner-as-payload model) * The class sigh_storage_mixin expects a plain storage as a base class (intermediate step towards the owner-as-payload model) * Further reduced the number of instantiations * All storage classes must expose a ::patch function
Michele Caini
2021-02-15 15:56:27 +01:00
0eb6d7de3c
sparse_set: added opaque payload (mainly meant to attach owners for augmented storage mixins)
Michele Caini
2021-02-15 15:15:41 +01:00
3118cd4fa5
sparse_set: added ::at to get the entity at a given position, if any
Michele Caini
2021-02-15 14:56:18 +01:00
18832fcb37
core: make type_id [[nodiscard]] (see #658 )
Michele Caini
2021-02-14 11:04:12 +01:00
612554f6af
registry: minor changes
Michele Caini
2021-02-12 18:18:39 +01:00
1c794591b9
sparse_set: review sort_n
Michele Caini
2021-02-12 15:47:52 +01:00
a8d95b284d
meta: general renaming, size -> arity when it returns the arity of a function
Michele Caini
2021-02-12 11:05:07 +01:00
772c2dba2f
type traits: add is_std_hashable[_v] (see #629 )
Michele Caini
2021-02-11 11:57:55 +01:00