Commit Graph

  • 6eb3347a3b test: a couple of extra functions to stress the upcoming changes Michele Caini 2023-01-11 09:34:22 +01:00
  • 89bceaff75 -: updated TODO Michele Caini 2023-01-10 15:51:35 +01:00
  • dc25c9c1a2 sparse_set: invoke release_sparse_pages before clearing the sparse array Michele Caini 2023-01-10 15:33:48 +01:00
  • e68ba5870c sigh_mixin: add a missing include Michele Caini 2023-01-10 15:01:48 +01:00
  • c68cb33751 entity: make deletion_policy publicly available via fwd.hpp Michele Caini 2023-01-10 14:41:13 +01:00
  • 59f807fd02 sparse_set: suppress warnings due to unused expressions Michele Caini 2023-01-10 14:32:43 +01:00
  • 232ffebc1e sparse_set: internal clear_all function Michele Caini 2023-01-10 14:22:50 +01:00
  • 3cea845a0f sparse_set: sparse_set_iterator::data function Michele Caini 2023-01-10 10:50:18 +01:00
  • 295f3b32e4 registry: a couple of extra move calls here and there Michele Caini 2023-01-10 09:23:28 +01:00
  • 254da2c3c6 sparse_set: better, faster range remove Michele Caini 2023-01-10 08:43:02 +01:00
  • ecd3b8d933 sparse_set: prevent rework errors as much as possible Michele Caini 2023-01-09 18:48:22 +01:00
  • c673b9b17c sigh_mixin: slightly improved pop + review insert Michele Caini 2023-01-09 17:43:31 +01:00
  • cd28de0d63 test: clear-stable bench Michele Caini 2023-01-09 15:20:19 +01:00
  • 672f6a7112 test: minor changes Michele Caini 2023-01-09 15:13:29 +01:00
  • 3b50672b70 storage: restore storage_for/storage_type duality, it turned out to be very useful in practice Michele Caini 2022-12-28 17:32:05 +01:00
  • f0613b1c6c sparse_set/storage: minor changes to reuse type members Michele Caini 2022-12-27 12:34:40 +01:00
  • 2197e160ef -: drop file pushed by mistake :) Michele Caini 2022-12-23 16:58:21 +01:00
  • 2dccd90166 handle: discard entity on destruction Michele Caini 2022-12-23 16:53:51 +01:00
  • 2f873f2dd2 -: storage_mixin.hpp -> mixin.hpp (non-storage mixins are also a thing) Michele Caini 2022-12-22 15:12:03 +01:00
  • fde1a524ea sparse_set: ::get -> ::value (to avoid hiding from derived classes) Michele Caini 2022-12-22 13:10:57 +01:00
  • 0558010479 doc: drop references to docsforge + minor changes Michele Caini 2022-12-22 11:38:48 +01:00
  • 79a054a524 sigh_mixin: scope base_type properly Michele Caini 2022-12-20 15:46:18 +01:00
  • d94e443a14 doc: drop outdated section Michele Caini 2022-12-20 15:32:35 +01:00
  • 3862184e88 sigh_mixin: support self managed storage classes Michele Caini 2022-12-20 15:30:37 +01:00
  • f40fa3c2f6 test: * use range destroy * avoid compiler optimizations Michele Caini 2022-12-19 16:28:50 +01:00
  • 01bc93459b test (bench): the new entity storage enables the fast path in all cases Michele Caini 2022-12-19 15:30:30 +01:00
  • 151bd07391 sparse_set: revert optmized range push, it prevents self-managed storage classes Michele Caini 2022-12-19 08:24:02 +01:00
  • 935393aae0 sparse_set: better, faster range push Michele Caini 2022-12-16 18:45:51 +01:00
  • fbfde43477 snapshot: avoid unused variable warnings Michele Caini 2022-12-16 15:21:56 +01:00
  • 2ffbe115b7 component_traits: revert entity customization support Michele Caini 2022-12-16 15:14:31 +01:00
  • 645973eb79 sparse_set: insert -> push Michele Caini 2022-12-15 18:11:19 +01:00
  • 1332307972 sparse_set: emplace -> push Michele Caini 2022-12-15 14:16:58 +01:00
  • b700f5eb5d doc: typo Michele Caini 2022-12-15 12:18:29 +01:00
  • e60dbdc521 sparse_set/storage: * rename swap_at in swap_or_move to capture the real purpose * define swap_at as a protected function to allow swapping from above Michele Caini 2022-12-15 11:19:44 +01:00
  • c66623b330 sigh_mixin: avoid hiding basic_iterator type meber Michele Caini 2022-12-14 12:06:06 +01:00
  • 62246d8796 storage: avoid hiding basic_iterator type meber Michele Caini 2022-12-14 10:49:32 +01:00
  • b35f131309 sparse_set: support swap-only mixins Michele Caini 2022-12-13 17:36:58 +01:00
  • 3dd82633a3 -: drop storage_mixin.cpp, I forgot to do it a couple of commits ago :) Michele Caini 2022-12-13 15:41:07 +01:00
  • 00231bf8a7 storage: make swap_at non-final to support checks on derived classes Michele Caini 2022-12-13 15:40:25 +01:00
  • 58d392e813 -: minor changes Michele Caini 2022-12-13 15:36:49 +01:00
  • 1d4d99d090 mixin: sigh_storage_mixin -> sigh_mixin Michele Caini 2022-12-13 10:53:07 +01:00
  • fe3edf2c83 -: minor changes Michele Caini 2022-12-13 10:50:17 +01:00
  • 0864ba0429 -: drop useless typename Michele Caini 2022-12-13 10:48:34 +01:00
  • 3a96980013 build: minor changes Michele Caini 2022-12-12 18:43:44 +01:00
  • 423f7a555d is_equality_comparable: detect C-style arrays directly Michele Caini 2022-12-12 18:32:07 +01:00
  • 5db8ad53ac build: update gh workflow Michele Caini 2022-12-12 15:59:30 +01:00
  • c2ab357802 view: make also VS toolset v141 happy Michele Caini 2022-12-12 15:42:39 +01:00
  • 4fb558f143 view: further reduce instantiations Michele Caini 2022-12-12 13:07:32 +01:00
  • 5762a8a086 view: reuse internal functions if possible Michele Caini 2022-12-12 11:49:47 +01:00
  • ed4c675211 sparse_set/storage: drop move_element Michele Caini 2022-12-12 09:38:58 +01:00
  • f157898462 config: ENTT_FAIL(msg) -> ENTT_ASSERT(false, msg) Michele Caini 2022-12-07 12:22:35 +01:00
  • 6d20709e07 storage: minor changes Michele Caini 2022-12-07 10:41:33 +01:00
  • a9a9853c01 sigh_storage_mixin: use entity_type from Type Michele Caini 2022-12-06 14:34:16 +01:00
  • af14aa4c9e doc: more about signals (sigh_storage_mixin) Michele Caini 2022-12-06 12:01:01 +01:00
  • 24d6b98817 test: minor changes Michele Caini 2022-12-05 15:29:43 +01:00
  • 899f4baa63 storage: * drop storage_for]_t] * make storage_type[_t] deal with constness Michele Caini 2022-12-05 14:47:32 +01:00
  • c1ab7ba025 sigh_storage_mixin: make all virtual member functions final Michele Caini 2022-12-05 09:52:22 +01:00
  • 9d38f60207 registry: thanks MSVC for accepting invalid C++ code Michele Caini 2022-12-02 11:57:29 +01:00
  • 0efa25cf61 sigh: cool, I keep doing the same error again and again apparently :) Michele Caini 2022-12-02 11:49:02 +01:00
  • 6316b60451 registry: make it work with storage<void> also in C++17 Michele Caini 2022-12-02 10:56:03 +01:00
  • fef921132c update single include file v3.11.1 v3.11.x Michele Caini 2022-12-02 09:29:20 +01:00
  • e52a93f8ac ready to cut v3.11.1 Michele Caini 2022-12-02 09:23:16 +01:00
  • f268fb60a8 entity: avoid breaking changes due to type members renaming Michele Caini 2022-12-01 13:26:22 +01:00
  • 3520d6915c entity: add base_type Michele Caini 2022-12-01 12:48:26 +01:00
  • 4da7a84518 entity: make checks work with 64b identifiers :) Michele Caini 2022-12-01 12:26:24 +01:00
  • 382dfc3bb4 entity: strict check on entity/version masks Michele Caini 2022-12-01 11:17:31 +01:00
  • b6dcdc816e entity: * also expose entity_mask and version mask to the final user * avoid default args with entt_traits::construct for backward compatibility Michele Caini 2022-12-01 09:22:46 +01:00
  • cd541f335a storage: * move storage_type[_t] and storage_for[_t] to fwd.hpp * no need to include storage.hpp when forward defining views Michele Caini 2022-11-17 17:48:11 +01:00
  • 255b8be8cc view: avoid shadow warnings Michele Caini 2022-10-31 09:52:40 +01:00
  • 8cd7f064ad storage: suppress warnings with non copyable nor default constructible types Michele Caini 2022-10-31 09:52:23 +01:00
  • 58ae4117c9 group: suppress warnings for unused variables in case of empty types Michele Caini 2022-10-31 09:51:08 +01:00
  • cfa1e805bd meta: [[maybe_unused]] variable to avoid warnings with corner cases Michele Caini 2022-10-28 15:03:30 +02:00
  • ccedacec8c dense_set: suppress warnings due to possible narrowing conversions Michele Caini 2022-10-27 08:01:29 +02:00
  • 17578dc8cc dense_map: suppress warnings due to possible narrowing conversions Michele Caini 2022-10-27 08:00:41 +02:00
  • c9d544089a doc: review/cleanup entity.md a bit (done) Michele Caini 2022-11-30 16:17:02 +01:00
  • 3eb5faeed5 doc: review/cleanup entity.md a bit (work in progress) Michele Caini 2022-11-29 14:40:27 +01:00
  • 7a328c7edf doc: updated links Michele Caini 2022-11-29 08:21:19 +01:00
  • 6567aa1951 doc: a note about listeners disconnection (close #958) Michele Caini 2022-11-28 15:40:21 +01:00
  • 92319f0111 entt_traits: split basic impl, simplify def Michele Caini 2022-11-28 12:48:16 +01:00
  • 782d86b6e7 entt_traits: value_type -> type (cuz it's not a value type after all) Michele Caini 2022-11-26 18:57:10 +01:00
  • c2cae37c1d entity_traits: make page_size type explicit Michele Caini 2022-11-25 18:24:12 +01:00
  • 1026d26ecb entt_traits: drop reserved value Michele Caini 2022-11-25 11:13:14 +01:00
  • 7156803dbe test: local non-static constexpr variables Michele Caini 2022-11-25 11:11:54 +01:00
  • f54ed54247 helper: local non-static constexpr variables Michele Caini 2022-11-25 11:07:29 +01:00
  • f30b50195a algorithm: local non-static constexpr variables Michele Caini 2022-11-25 10:59:47 +01:00
  • c90ab9affd sparse_set: * break dependency on traits_type::reserved * use a tombstone if all I need is a tombstone Michele Caini 2022-11-25 10:23:43 +01:00
  • c2f6ca43f1 doc: graph (close #957) Michele Caini 2022-11-24 09:33:34 +01:00
  • 3e5e41d88f test: cover some corner cases of the flow class Michele Caini 2022-11-24 09:32:58 +01:00
  • 9eafc0431d flow: minor changes Michele Caini 2022-11-24 09:31:14 +01:00
  • 0a82b777b2 component_traits: support specializations based on entity type Michele Caini 2022-11-23 14:53:31 +01:00
  • 32bcc01a46 component: * make component_traits treat void properly * drop ignore_as_empty_v Michele Caini 2022-11-23 12:36:21 +01:00
  • 9c3fe3546b nativs: entity module Michele Caini 2022-11-23 11:29:48 +01:00
  • 83f8aed583 helper: use traits_type from storage class directly Michele Caini 2022-11-23 11:28:08 +01:00
  • 2fd6602740 snapshot: use public registry traits_type member type Michele Caini 2022-11-23 11:11:54 +01:00
  • a554d406e7 registry: * public traits_type member type * break dependency on component_traits * use public storage traits_type member type Michele Caini 2022-11-23 11:06:51 +01:00
  • 5f12f872e6 test: minor changes Michele Caini 2022-11-23 11:04:56 +01:00
  • be4eb68a30 helper: * break dependency on component_traits * use public storage traits_type member type Michele Caini 2022-11-23 08:58:45 +01:00
  • df5284d9e5 view: * break dependency on component_traits * use public storage traits_type member type Michele Caini 2022-11-23 08:56:46 +01:00
  • 0e27d33e7e storage: public traits_type member type Michele Caini 2022-11-23 08:54:56 +01:00
  • fe6e6ae738 sparse_set: public traits_type member type Michele Caini 2022-11-23 08:52:54 +01:00