Commit Graph

  • 36c118922b group/view: * added default constructors to input iterators * make sure that a default constructed iterator compares equal to end() Michele Caini 2021-12-17 08:39:54 +01:00
  • 1d014953e3 storage: try to also please gcc-9 Michele Caini 2021-12-16 14:33:24 +01:00
  • c5cb1d9bcc storage/view/group: * added extended_storage_iterator and storage<T...>::each function to return an extended iterable object * use extended_storage_iterator and iterable_adaptor everywhere to avoid code duplication Michele Caini 2021-12-16 12:31:44 +01:00
  • 86d12cf317 doc: brief -> copydoc Michele Caini 2021-12-16 12:30:29 +01:00
  • db9e59ede1 core: added iterable_adaptor Michele Caini 2021-12-16 12:29:20 +01:00
  • cc9b1b0a05 sparse_set: added const_iterator/const_reverse_iterator and cbegin/cend/crbegin/crend Michele Caini 2021-12-16 08:52:13 +01:00
  • 5c29de2013 updated TODO Michele Caini 2021-12-15 13:13:16 +01:00
  • 559db104f8 view: suppress some warnings due to initialization order Michele Caini 2021-12-15 10:24:08 +01:00
  • 365c57be4c build system: allow compiling the tests with clang-cl (thanks gtest for failing otherwise) Michele Caini 2021-12-15 10:23:34 +01:00
  • 6f0c84fc68 dense_hash_map/dense_hash_set: remove [[nodiscard]] from friend function declaration Michele Caini 2021-12-15 09:33:23 +01:00
  • 75782d9e99 registry: review/cleanup Michele Caini 2021-12-14 23:15:57 +01:00
  • 69ddf4936e registry: remove the visit overload that also takes an entity Michele Caini 2021-12-14 22:57:10 +01:00
  • 4b3108283f dense_hash_map/dense_hash_set: avoid pointer overflow for end iterators (close #804) Michele Caini 2021-12-14 16:44:34 +01:00
  • 12d177a6c8 registry: removed ::orphans, use ::each/::orphan instead (no way to further optimize it) Michele Caini 2021-12-13 10:00:32 +01:00
  • 54717dc7e2 test: minor changes Michele Caini 2021-12-12 17:45:13 +01:00
  • 631c909abd group: drop conceptually broken reverse iterators Michele Caini 2021-12-12 17:45:06 +01:00
  • 208746f28f view: get rid of the internal::storage_tuple function, back to the uniform model Michele Caini 2021-12-12 17:05:37 +01:00
  • 61c5f8ae22 registry/view/group: cleanup Michele Caini 2021-12-12 16:51:48 +01:00
  • 4e0cca3a08 view: clean up Michele Caini 2021-12-12 01:15:01 +01:00
  • b86ffc2370 view: drop conceptually broken reverse iterators Michele Caini 2021-12-12 01:11:20 +01:00
  • 33574c9885 doc: updated README file Michele Caini 2021-12-10 10:24:08 +01:00
  • 672c542f99 group: removed ::data, use ::handle<T>().data() and ::storage<T>().data() instead Michele Caini 2021-12-10 09:30:16 +01:00
  • f741fe48a1 group: added ::handle to non-owning groups Michele Caini 2021-12-10 08:25:46 +01:00
  • 4347ebcee2 group: added base_type type member Michele Caini 2021-12-09 17:50:51 +01:00
  • 4e3e5a5361 doc: updated doc for the ecs module Michele Caini 2021-12-09 17:49:30 +01:00
  • 8e6439c3d1 group: removed ::raw, use ::storage().raw() instead Michele Caini 2021-12-09 17:49:18 +01:00
  • b54d358feb view: removed ::data for single type views, use ::storage().data() instead Michele Caini 2021-12-09 09:37:17 +01:00
  • 78baa7b12d view: removed ::raw for single type views, use ::storage().raw() instead Michele Caini 2021-12-09 09:21:37 +01:00
  • 19f1dd22e9 view: minor changes to avoid confusion Michele Caini 2021-12-09 09:12:08 +01:00
  • 73f583f68a registry: doc cleanup Michele Caini 2021-12-09 09:05:14 +01:00
  • 52de43e329 registry: removed ::empty<T>(), use ::view<T>().empty() or ::storage<T>().empty() instead Michele Caini 2021-12-09 08:20:34 +01:00
  • 49ddacaac0 registry: removed ::size<T>(), use ::view<T>().size() or ::storage<T>().size() instead Michele Caini 2021-12-08 15:17:35 +01:00
  • 4533b3a1c0 registry: minor chages (doc/internals) Michele Caini 2021-12-05 16:45:21 +01:00
  • f30ea02794 registry: * removed registry::reserve<Component> (use registry.storage<Component>.reserve(v) instead) * removed registry::capacity<Component> (use registry.storage<Component>.capacity() instead) * removed registry::shrink_to_fit<Component> (use registry.storage<Component>.shrink_to_fit() instead) Michele Caini 2021-12-05 16:20:14 +01:00
  • 7112dda299 build_system: added all headers to the EnTT target Michele Caini 2021-12-05 16:01:32 +01:00
  • 02636a7108 view: minor changes Michele Caini 2021-12-05 15:55:40 +01:00
  • 36a9456e0d test: minor changes to make all major compilers agree at least on something :) Michele Caini 2021-12-04 15:32:38 +01:00
  • 113893dcea meta: added meta_any::owner Michele Caini 2021-12-04 15:28:52 +01:00
  • 1abbe9c7b2 test: minor changes (code coverage) Michele Caini 2021-12-04 15:21:49 +01:00
  • 7205ac791c meta: make policies check function return types Michele Caini 2021-12-03 18:25:11 +01:00
  • 3335b81ad4 meta: * dtor support to member functions * review to introduce strict checks on policies Michele Caini 2021-12-03 17:56:09 +01:00
  • d9c9438f3c test: minor changes Michele Caini 2021-12-03 14:39:50 +01:00
  • 37250843e1 sigh: allocator support Michele Caini 2021-12-02 09:20:30 +01:00
  • 072ab88721 build system: avoid using windows-2016 (deprecated by GH) Michele Caini 2021-12-01 09:54:40 +01:00
  • c208e6b107 natvis: avoid errors due to null/tombstone definition not available in some contexts Michele Caini 2021-11-30 14:44:12 +01:00
  • 65f3185b39 entity: add page_size to entt_traits to make it more natvis friendly and customizable on a per-type basis Michele Caini 2021-11-30 13:48:12 +01:00
  • 34f73f8a2b registry: added base_type member type Michele Caini 2021-11-30 11:23:15 +01:00
  • cb4142a97d entity: simplified to_version Michele Caini 2021-11-30 07:59:13 +01:00
  • 80d08d5a34 view: * fixed init list order to suppress a warning * try to please gcc that fails to compile valid code Michele Caini 2021-11-29 14:45:54 +01:00
  • 052aecf533 natvis: basic_view (single and multi type) Michele Caini 2021-11-29 14:29:21 +01:00
  • 7bde714f18 view: minor changes Michele Caini 2021-11-29 14:28:59 +01:00
  • 5ff429f656 view: * added single type view overloads for ::storage to make it compatible with the multi-type view version * removed the useless tuple from single type views * updated operator| Michele Caini 2021-11-29 11:58:09 +01:00
  • 92f27299e1 group: added the ::storage method (with tests) Michele Caini 2021-11-29 11:43:16 +01:00
  • f9013375f8 view: added the ::storage method (with tests) Michele Caini 2021-11-29 11:20:23 +01:00
  • f18b0045ba registry: get around an issue of the toolset v141 Michele Caini 2021-11-29 10:17:30 +01:00
  • 18173cc4c0 view: minor changes Michele Caini 2021-11-29 09:52:57 +01:00
  • 6a1ffdd7a5 natvis: bypass some natvis idiosyncrasies to display storage information and content in all cases Michele Caini 2021-11-28 17:49:24 +01:00
  • 8db78b2190 nativs: * don't abuse Intrinsic, it also has drawbacks * refine natvis snippet for dispatcher class Michele Caini 2021-11-28 17:47:41 +01:00
  • 3fcccae241 component traits: * added page_size to tune the page size on a per-type basis * turned in_place_delete into a boolean value * turned ignore_if_empty into a boolean value * removed in_place_delete_v (no longer required) Michele Caini 2021-11-28 17:46:24 +01:00
  • 6ff8add164 entity: added missing includes Michele Caini 2021-11-28 17:34:55 +01:00
  • 58a8c3c82a natvis: make the ecs stuff work with entity classes Michele Caini 2021-11-26 23:23:28 +01:00
  • 92c5c656c7 natvis: dispatcher Michele Caini 2021-11-26 15:02:41 +01:00
  • 61856cd648 natvis: poly Michele Caini 2021-11-26 11:32:34 +01:00
  • 687f82b5c2 natvis: basic_registry Michele Caini 2021-11-26 11:16:11 +01:00
  • 920c864bed natvis: tombstone/null Michele Caini 2021-11-26 09:53:17 +01:00
  • 1360c985b7 natvis: when you discover the intrinsic tag... :) Michele Caini 2021-11-26 09:46:25 +01:00
  • b6f953e13b natvis: added simple views + minor changes Michele Caini 2021-11-25 11:24:00 +01:00
  • 796b96071b registry: minor changes Michele Caini 2021-11-24 14:26:49 +01:00
  • ec56ccc690 view: minor changes Michele Caini 2021-11-24 14:19:09 +01:00
  • 95931b67e1 registry: turn storage_type in a public member type Michele Caini 2021-11-24 12:47:54 +01:00
  • 706bbb83c9 storage: clean up Michele Caini 2021-11-24 12:47:27 +01:00
  • 43099f47d0 meta: try to suppress a wrong warning from clang Michele Caini 2021-11-24 10:15:26 +01:00
  • eca86999c3 doc: added a section about runtime stuff Michele Caini 2021-11-24 09:17:55 +01:00
  • a00b44a5fd example: stamp is back Michele Caini 2021-11-24 08:15:04 +01:00
  • 5b8dcff2a4 helper: make to_entity also work for stable types (close #768) Michele Caini 2021-11-23 12:53:50 +01:00
  • e4d36e4982 registry: decouple ::storage/::assure Michele Caini 2021-11-23 12:52:24 +01:00
  • adfdbf138d registry: * public and runtime pools * removed basic_registry<...>::prepare Michele Caini 2021-11-22 18:38:52 +01:00
  • 8d1ba26492 registry: try to also please vs2015 ¯\_(ツ)_/¯ Michele Caini 2021-11-20 12:59:58 +01:00
  • 792625f763 registry: minor changes/cleanup Michele Caini 2021-11-20 12:52:09 +01:00
  • 5e8eae4ef8 natvis: delegate, sigh, sink, connection, scoped_connection Michele Caini 2021-11-20 12:29:28 +01:00
  • 148212da96 natvis: minor changes Michele Caini 2021-11-20 12:28:57 +01:00
  • 23ddb12529 registry: removed pdata container, pools are standalone objects and thus ready to go public Michele Caini 2021-11-20 11:30:06 +01:00
  • 186a5e8f7b natvis: updated definition for sparse set and storage Michele Caini 2021-11-20 00:33:06 +01:00
  • dfb5fe1e04 sparse_set/storage: opaque get from base Michele Caini 2021-11-20 00:22:52 +01:00
  • 640f75373e doc: minor changes Michele Caini 2021-11-20 00:13:56 +01:00
  • 46e5d96ced sparse_set/storage: value type from base, if any Michele Caini 2021-11-19 23:37:33 +01:00
  • ad3fbe2052 sparse_set/storage: no virtual swap (the silliest thing I've ever done) Michele Caini 2021-11-19 11:22:27 +01:00
  • cd6c60fd46 sparse_set/storage: emplace-from-below with value Michele Caini 2021-11-18 23:12:32 +01:00
  • f7be386d5a sparse_set: rename context to bind Michele Caini 2021-11-18 09:07:05 +01:00
  • 89b2131052 doc: * const thread safe registry * detached views Michele Caini 2021-11-14 12:56:06 +01:00
  • e5d1ca2e3c registry: * const thread safe implementation * views created from const registires can refer placeholder pools (that is, they don't refresh) Michele Caini 2021-11-13 18:54:48 +01:00
  • 32b8224afd runtime_view: simplify the construction process Michele Caini 2021-11-13 17:05:28 +01:00
  • 00e7ab1db8 entity: fully remove the poly storage support Michele Caini 2021-11-03 17:36:33 +01:00
  • e376a53b09 entity: * custom move ctor/op for the registry class * no registry argument from storage emplace, remove, ... * added sparse set context to forward variables to mixins * removed sparse set user data Michele Caini 2021-11-13 12:04:17 +01:00
  • 17a9cd5666 cache: use identity as hashing function Michele Caini 2021-11-11 16:38:32 +01:00
  • fc3de662c3 registry: combine dense hash maps and identity when the key is a hashed string already Michele Caini 2021-10-28 11:18:39 +02:00
  • 8de568c2fc *: combine dense hash map and identity when the key is a hashed string already Michele Caini 2021-10-28 09:17:00 +02:00
  • 55661883d9 registry: use a dense hash map for context variables Michele Caini 2021-10-27 11:41:40 +02:00
  • b59d3ebeaa *: dense_hash_map being a drop-in replacement for unordered_map has its advantages :) Michele Caini 2021-10-21 08:07:58 +02:00
  • 2866dcdd03 doc: updated documentation about making EnTT work smoothly across boundaries Michele Caini 2021-10-19 08:37:16 +02:00