Commit Graph

  • 7a0aea390b meta: minor changes (const correctness) Michele Caini 2021-05-14 11:18:08 +02:00
  • ff0e6315f9 doc: fixed typo Michele Caini 2021-05-14 11:11:17 +02:00
  • b7fb485349 meta: meta_type::construct should not use base constructors Michele Caini 2021-05-11 15:22:53 +02:00
  • 45cbe66d5d now working on version 3.9.0 Michele Caini 2021-07-21 00:18:12 +02:00
  • bc7a6399c1 updated single include file Michele Caini 2021-07-21 00:14:12 +02:00
  • 2d5a3f24aa doc: updated documentation v3.8.0 Michele Caini 2021-07-21 00:07:02 +02:00
  • 1639429edd registry: minor changes Michele Caini 2021-07-01 15:32:30 +02:00
  • f81abf4883 add cpp.hint to .gitignore Michele Caini 2021-07-01 12:32:18 +02:00
  • dcddb7d50e registry: allow non-const types in const overloads of registry context variable getters (close #720) Michele Caini 2021-06-30 09:35:36 +02:00
  • 42a763031c storage: minor changes Michele Caini 2021-06-30 08:55:21 +02:00
  • 0964ca5918 storage: turn to assure_at_least based on position to avoid errors at call site Michele Caini 2021-06-29 16:13:36 +02:00
  • 4e870b83cd test: suppress warnings due to suggested braces Michele Caini 2021-06-29 15:17:58 +02:00
  • 0b19c9be0b storage: add override specifier Michele Caini 2021-06-29 15:10:41 +02:00
  • ac655902a0 storage: * internal review for memory management * added support for nosy destructors to ::in_place_pop * optimized ::emplace/::insert Michele Caini 2021-06-29 15:05:03 +02:00
  • e4fb293b55 sparse_set: added ::emplace_back Michele Caini 2021-06-29 12:37:39 +02:00
  • d3df64ef4b sparse_set: emplace returns the slot used for insertion Michele Caini 2021-06-28 18:51:28 +02:00
  • 93e3d14f34 sparse_set: added ::slot to return the next slot available for insertion Michele Caini 2021-06-28 18:46:02 +02:00
  • bc687d412d test: suppress some warnings due to [[nodiscard]] Michele Caini 2021-06-28 18:02:43 +02:00
  • 71e85b44b0 sparse_set: make ::policy [[nodiscard]] Michele Caini 2021-06-28 18:00:40 +02:00
  • d4b59aff97 sparse_set: tombstone/null debug check in ::contains Michele Caini 2021-06-28 16:51:24 +02:00
  • e3c21e1f3d sparse_set/storage (close #707): * improved perf on erase/remove (and therefore also registry::destroy) * allow to inhibit a pop from derived classes * removed about_to_pop (virtual) function Michele Caini 2021-06-28 15:32:23 +02:00
  • e012250e0a type_traits: minor changes Michele Caini 2021-06-28 11:43:27 +02:00
  • c6bf82664c doc: added a note about optimized range-destroy Michele Caini 2021-06-28 11:20:40 +02:00
  • c61e98009f registry/benchmark: rollback optimized remove/erase (benchmarks have shown that they are not worth it) Michele Caini 2021-06-28 10:19:27 +02:00
  • 44bccaaad6 basic_registry: * added fast path to destroy * added fast path to remove * added fast path to erase * minor changes Michele Caini 2021-06-28 09:24:12 +02:00
  • aebca14dea view: added member type iterator_type to internal class view_iterator Michele Caini 2021-06-28 09:10:52 +02:00
  • 4576f27f6e sparse_set: minor changes Michele Caini 2021-06-28 09:10:12 +02:00
  • 0c213fca40 type_traits: * added entt::is_iterator[_v] * added entt::is_iterator_type[_v] Michele Caini 2021-06-28 09:09:55 +02:00
  • 891f596191 view: minor changes Michele Caini 2021-06-25 17:26:22 +02:00
  • eb2b724902 benchmark: tombstone policy runs Michele Caini 2021-06-24 14:04:35 +02:00
  • 1f8c896181 registry: * deprecated ::destroyed (use ::released instead) * added ::release overloads (aka force-destroy) Michele Caini 2021-06-24 10:51:03 +02:00
  • 12b39e1fbe doc: added missing tokens Michele Caini 2021-06-23 16:35:00 +02:00
  • 206d31f27a registry: const ::view/::group also support non-const types (close #715) Michele Caini 2021-06-23 15:37:46 +02:00
  • 6709331182 resource_handle: conversion functions (close #706) Michele Caini 2021-06-22 18:54:27 +02:00
  • 9460e04ea5 entt_traits: review/cleanup Michele Caini 2021-06-22 15:39:15 +02:00
  • 462bfea733 entt_traits: review to reduce the risk of ambiguous calls Michele Caini 2021-06-22 13:03:32 +02:00
  • a2d61dfaeb runtime_view: suppress warning for shadow parameter Michele Caini 2021-06-22 09:58:19 +02:00
  • 538425e35c doc: in-place delete and pointer stability Michele Caini 2021-06-22 09:53:56 +02:00
  • 2e86c1f1a2 component: add basic_component_traits aside component_traits Michele Caini 2021-06-22 09:52:43 +02:00
  • 8aa4d46ce0 runtime_view: support for storage policy (tombstones) Michele Caini 2021-06-21 15:18:13 +02:00
  • cdf67a1421 sparse_set: public ::policy method for opaque runtime detection Michele Caini 2021-06-21 14:44:09 +02:00
  • 93d905d93d updated TODO Michele Caini 2021-06-21 13:04:46 +02:00
  • 2c35203647 view: * split view iterator from multi-type view * stable/packed storage policy support Michele Caini 2021-06-21 13:04:37 +02:00
  • 216871fe56 runtime_view: minor changes Michele Caini 2021-06-21 12:59:44 +02:00
  • 03511f39b1 registry: * prevent groups from being used with tombstones * support to compact one, several or all pools Michele Caini 2021-06-21 12:59:26 +02:00
  • 5ad0832b22 group: minor changes Michele Caini 2021-06-21 12:57:35 +02:00
  • d49e7ba4b2 sparse_set/storage: * added component traits (component.hpp) * support for in-place delete (tombstones) Michele Caini 2021-06-21 12:48:01 +02:00
  • a621b36389 type_traits: removed internal is_empty[_v] Michele Caini 2021-06-21 12:41:06 +02:00
  • d093df02ac test: minor changes Michele Caini 2021-06-21 12:38:45 +02:00
  • 2e1529e78d entity: * Updated doc * No const-ref for basic types Michele Caini 2021-06-21 12:32:30 +02:00
  • 90be1db402 entity: * extended entt_traits<T>::to_type support * added null_t::operator| * added tombstone_t::operator| Michele Caini 2021-06-04 11:01:26 +02:00
  • 29265e4181 doc: updated doxy.in file Michele Caini 2021-06-03 10:44:13 +02:00
  • 2689a7ef13 registry: minor changes Michele Caini 2021-05-27 14:46:03 +02:00
  • 88b58cf23d doc: added a note about tombstones Michele Caini 2021-05-27 11:15:44 +02:00
  • e2e433480b entity/registry: * added entt_traits<T>::reserved() * added tombstone_t type and tombstone constant * create-with-hint also accepts null entities (discarded) * registry skips over tombstone versions and rejects them Michele Caini 2021-05-26 13:33:52 +02:00
  • b8bc3e4e94 test: exception safety for sparse set and storage Michele Caini 2021-05-31 17:12:40 +02:00
  • c28f52b816 sparse_set/storage: exception safety (kind of) Michele Caini 2021-05-31 15:08:30 +02:00
  • ca34309f75 config: removed ENTT_NOEXCEPT, added ENTT_NOEXCEPTION Michele Caini 2021-05-31 08:40:16 +02:00
  • ea614a0f3f entity: review of entt_traits<T>::to_type Michele Caini 2021-05-25 12:45:51 +02:00
  • 3e7dc7af29 entity: * review of entt_traits design * added static constexpr member function entt_traits::to_integral * added static constexpr member function entt_traits::to_entity * added static constexpr member function entt_traits::to_version * added static constexpr member function entt_traits::to_type * custom class identifiers must expose member type entity_field * it's no longer required to specialize entt_traits (breaking change) Michele Caini 2021-05-24 18:31:41 +02:00
  • 0b3e3fd19a doc: updated links (close #709) and TODO file Michele Caini 2021-05-28 08:56:55 +02:00
  • d3372dc05c organizer: wrap std::min to trick windows.h (close #710) Michele Caini 2021-05-28 08:54:41 +02:00
  • 7d141cb183 storage: fix move ctor/op Michele Caini 2021-05-27 16:16:45 +02:00
  • 755699c31b config: * removed entt::page_size * renamed ENTT_PAGE_SIZE to ENTT_SPARSE_PAGE * added ENTT_PACKED_PAGE (page size for component arrays) Michele Caini 2021-05-24 23:29:55 +02:00
  • acf3d4cd74 sparse_set/storage: suppress a couple of warnings Michele Caini 2021-05-25 09:36:02 +02:00
  • 92414c91b5 sparse_set/storage: review memory management for fancy allocators and the like Michele Caini 2021-05-24 10:51:00 +02:00
  • ff67f402bb sparse_set/storage: * better performance on insertion * exception guarantee for nothrow default constructible entity types Michele Caini 2021-05-24 08:41:11 +02:00
  • f048a3f1d8 sparse_set: minor changes Michele Caini 2021-05-19 19:12:48 +02:00
  • 9d39cb51cf storage/registry: review range ::insert (breaking change) Michele Caini 2021-05-19 14:56:24 +02:00
  • 7624a9d34c sparse_set/storage: * exception safety guarantee (sort of) * ::insert optimization for non random access iterators Michele Caini 2021-05-19 14:35:30 +02:00
  • 0fe73fb6ed storage: free memory in move assignment operator (with tests) Michele Caini 2021-05-24 10:27:10 +02:00
  • ae11652493 sparse_set: free memory in move assignment operator (with tests) Michele Caini 2021-05-24 09:52:09 +02:00
  • 0ab46870ae updated TODO list Michele Caini 2021-05-21 08:36:00 +02:00
  • a5381374b8 updated workflow Michele Caini 2021-05-20 11:00:42 +02:00
  • 7fae655651 updated TODO file Michele Caini 2021-05-19 10:49:23 +02:00
  • 3d9959c8e5 sparse_set/storage: small review and optimizations Michele Caini 2021-05-19 09:14:13 +02:00
  • bc86576aa8 storage: improved performance when emplacing Michele Caini 2021-05-17 12:34:42 +02:00
  • 7c2bce8baf core: added entt::page_size Michele Caini 2021-05-17 12:07:48 +02:00
  • b062bbf58d storage/view/group: reintroduce (opaque) ::raw functions as it ought to be Michele Caini 2021-05-17 11:59:51 +02:00
  • 8e5a048913 storage: updated pointer type for storage iterator Michele Caini 2021-05-17 10:10:54 +02:00
  • ff642ffff7 sparse_set: updated pointer type for sparse set iterator Michele Caini 2021-05-17 10:09:50 +02:00
  • 656c12cebd view/group: opaque pointer type for ::data Michele Caini 2021-05-16 23:51:36 +02:00
  • 48f3fcf3bd doc: updated links (close #704) Michele Caini 2021-05-16 22:33:04 +02:00
  • d797af695b registry: much faster range ::create Michele Caini 2021-05-16 00:26:57 +02:00
  • 75e0161c5f view :minor changes Michele Caini 2021-05-15 23:01:50 +02:00
  • c0662816f1 updated TODO file Michele Caini 2021-05-14 18:24:09 +02:00
  • 415a31ce23 storage: forward allocator to base class Michele Caini 2021-05-14 10:16:13 +02:00
  • 6e603e2e51 sparse_set: suppress conversion warning Michele Caini 2021-05-13 11:39:35 +02:00
  • 9af318a767 test: minor changes Michele Caini 2021-05-11 12:05:44 +02:00
  • 30827120f6 registry: cleanup Michele Caini 2021-05-11 12:05:31 +02:00
  • 6194e12616 entity: * allocator support for sparse set and storage * pointer stability when assigning components * removed ::raw functions (registry, view, group) * to_entity returns null for invalid components Michele Caini 2021-05-11 12:05:09 +02:00
  • 59a27fb652 registry: deprecated ::reserve_pools Michele Caini 2021-05-13 11:01:46 +02:00
  • f8ec57c2f6 *: cleanup Michele Caini 2021-05-11 10:50:38 +02:00
  • 844ef5e232 meta: avoid warning for unused variable Michele Caini 2021-05-10 09:49:44 +02:00
  • 5bf3f7b77e meta: suppress warning for extra ; Michele Caini 2021-05-08 17:19:06 +02:00
  • 00c0afd093 meta: avoid using y_combinator to clean up types (close #700) Michele Caini 2021-05-07 08:42:32 +02:00
  • 5228739c87 meta: make it work also with VS2017 Michele Caini 2021-05-05 12:17:09 +02:00
  • 0f6d1268c7 meta: further reduced number of instantiations/size of symbols Michele Caini 2021-05-04 16:27:43 +02:00
  • b2a4515d2b any: minor changes Michele Caini 2021-05-03 11:34:24 +02:00
  • 3576c80d33 meta_any: drastically reduce the number of instantiations/size of vtable Michele Caini 2021-05-03 11:34:12 +02:00