Commit Graph

  • fe8919c540 config: introduce ENTT_ASSERT_CONSTEXPR to facilitate extreme customizations Michele Caini 2022-10-22 19:08:13 +02:00
  • bdaeef856d delegate: just an extra safe check Michele Caini 2022-10-22 18:56:55 +02:00
  • 57ad7696be memory: turn the power-of-two/fast_mod toolset into a non-constexpr one Michele Caini 2022-10-21 11:01:18 +02:00
  • 7c58c83ee0 memory: review propagate_on_container_swap Michele Caini 2022-10-21 10:57:37 +02:00
  • dd7aaa30ca organizer: minor changes Michele Caini 2022-10-20 15:34:57 +02:00
  • 76f95945fc registry: better use of entt:: to avoid ambiguities Michele Caini 2022-10-20 09:36:51 +02:00
  • 869836ba79 registry: use allocator to allocate_shared groups with uses-allocator policy Michele Caini 2022-10-20 09:10:20 +02:00
  • 2358552c27 *: internal review of some traits usage Michele Caini 2022-10-19 12:08:41 +02:00
  • e22ea5e189 meta: minor changes Michele Caini 2022-10-18 10:59:53 +02:00
  • 496fefdd01 meta: favor top-level conversion functions over bases lookup Michele Caini 2022-10-18 10:54:31 +02:00
  • 26f85050c1 any: debug-only check to detect nasty bugs in the client code, if any Michele Caini 2022-10-18 10:53:45 +02:00
  • d478b5bc6a test: minor changes to avoid UBs Michele Caini 2022-10-18 10:50:16 +02:00
  • c8337e529e natvis: review a bunch of definitions Michele Caini 2022-10-17 09:53:48 +02:00
  • f0995297cf emitter: update destructor check on derived type Michele Caini 2022-10-17 09:53:27 +02:00
  • b395df0f56 doc: cleanup Michele Caini 2022-10-14 19:01:32 +02:00
  • 69a6cc6656 meta: better doc, minor changes to propagate the context to the meta handles Michele Caini 2022-10-14 18:52:05 +02:00
  • bf73216a76 meta: minor changes Michele Caini 2022-10-14 17:01:54 +02:00
  • 621860718b meta: rebind elements to the right context upon invocation if possible Michele Caini 2022-10-14 15:40:31 +02:00
  • c34c5da277 meta: minor changes Michele Caini 2022-10-14 14:31:55 +02:00
  • 8dcabba31b meta: clarify utilities behavior with regard to context, instances and arguments Michele Caini 2022-10-14 12:24:25 +02:00
  • 294064f11f meta: args are always rebinded to the right context (with non-regression tests) Michele Caini 2022-10-14 11:47:27 +02:00
  • d125229312 doc: more about the new meta context rework Michele Caini 2022-10-14 11:46:35 +02:00
  • 11c1e23a91 meta: context aware copy/move ctor for meta_any Michele Caini 2022-10-14 08:45:25 +02:00
  • 82bc2e1fe4 test: no need to test mixing meta contexts actually, dropped the todo Michele Caini 2022-10-13 13:12:55 +02:00
  • 92a00f591d test: context aware meta handle Michele Caini 2022-10-13 11:15:48 +02:00
  • 04716a7fde meta: minor changes Michele Caini 2022-10-13 09:38:22 +02:00
  • b6155080b2 test: a few more tests for meta_handle Michele Caini 2022-10-13 09:37:13 +02:00
  • 0a61de4a09 test: context aware meta_any Michele Caini 2022-10-13 09:33:43 +02:00
  • 7121da100a test: context aware meta sequence containers Michele Caini 2022-10-13 09:24:20 +02:00
  • 7bee969ebf test: context aware meta pointers (dereferencing picks the type from the right context) Michele Caini 2022-10-13 09:12:45 +02:00
  • 4a0a534796 test: context aware forward_as_meta Michele Caini 2022-10-13 09:09:11 +02:00
  • a0041d9062 meta: resolve an ambiguity and avoid redundant default ctors (win-win) Michele Caini 2022-10-13 08:59:16 +02:00
  • 3dd768bb9b meta: context aware meta template Michele Caini 2022-10-12 19:02:30 +02:00
  • 2a307a681f test: context aware meta prop Michele Caini 2022-10-12 18:30:21 +02:00
  • dd1211d021 meta: combine enable_if_t and a meta policy detection utility to avoid API changes Michele Caini 2022-10-12 16:06:25 +02:00
  • 09a600d68a meta: propagate API changes to the internal functions Michele Caini 2022-10-12 15:18:45 +02:00
  • 7c25b46513 test: minor changes Michele Caini 2022-10-12 15:14:58 +02:00
  • dc42486de8 test: drop redundant using namespace Michele Caini 2022-10-12 14:57:46 +02:00
  • 36411faf43 test: context aware meta dtor Michele Caini 2022-10-12 14:56:27 +02:00
  • a9cd565d65 test: context aware meta conv Michele Caini 2022-10-12 12:49:39 +02:00
  • 0adbb0ad16 test: context aware meta ctor Michele Caini 2022-10-12 12:43:58 +02:00
  • db31f77d63 test: context aware meta func Michele Caini 2022-10-12 12:22:26 +02:00
  • c275afef28 test: context aware meta data Michele Caini 2022-10-12 12:16:35 +02:00
  • 4bad4f3067 test: context aware meta bases Michele Caini 2022-10-12 10:28:41 +02:00
  • d2048c037a test: bare minimum tests for meta types from different contexts Michele Caini 2022-10-12 10:04:28 +02:00
  • 2a39717893 test: add all desired tests for meta context support Michele Caini 2022-10-12 09:59:03 +02:00
  • 49c2ae0e77 test: context aware meta resolve Michele Caini 2022-10-12 09:58:20 +02:00
  • 869c18f150 test: prepare to test meta context support Michele Caini 2022-10-12 09:57:58 +02:00
  • d79cb5ca98 meta: turn meta_handle into a context aware wrapper Michele Caini 2022-10-11 15:24:23 +02:00
  • acc6390312 meta: drop make_meta, unfortunately it doesn't fit well with the context aware design Michele Caini 2022-10-11 14:56:25 +02:00
  • 2e59fbbccc meta: * review pending functions to make them context aware if they aren't already * suppress a meta_associative_container::insert warning (rvalue-to-lvalue binding) Michele Caini 2022-10-11 14:40:16 +02:00
  • bec0037797 meta: fully context aware meta_any Michele Caini 2022-10-11 12:20:25 +02:00
  • d08c7ddb58 meta: review meta_associative_container::insert/::erase Michele Caini 2022-10-11 12:08:31 +02:00
  • 696681fefa meta: context aware meta associative container Michele Caini 2022-10-11 11:53:17 +02:00
  • 5f9faf7a32 meta: context aware meta sequence container Michele Caini 2022-10-11 11:14:22 +02:00
  • f160503aaf meta: unroll meta_type::forward_to_bases to return always scoped elements Michele Caini 2022-10-11 11:09:33 +02:00
  • b1e9f75a28 meta: meta_type::construct always returns scoped meta_any objects Michele Caini 2022-10-11 11:01:50 +02:00
  • 91da98353d meta: keep track of the pending changes Michele Caini 2022-10-11 10:28:48 +02:00
  • bc86ceb707 meta: drop resolve trampoline function, no longer required Michele Caini 2022-10-10 18:13:59 +02:00
  • 0baf316e5f meta: add partial support for meta contexts to meta containers Michele Caini 2022-10-10 18:13:20 +02:00
  • 082605f9d3 meta: prepare meta containers to support context injection Michele Caini 2022-10-10 18:03:30 +02:00
  • 0fdd7d7a3a meta: meta_any::allow_cast returns a scoped value now Michele Caini 2022-10-10 15:30:15 +02:00
  • eee59e6af9 meta: track pending changes as much as possible Michele Caini 2022-10-10 15:26:09 +02:00
  • 223a8628e3 meta: meta_any::allow_cast propagates the context now Michele Caini 2022-10-10 15:18:25 +02:00
  • c0bb603210 meta: meta_any::operator* propagates the context now Michele Caini 2022-10-10 15:16:32 +02:00
  • 2981d8746a meta: avoid returning contex-less meta_any from meta objects Michele Caini 2022-10-10 15:15:18 +02:00
  • c06280894b meta: make internal meta_invoke accept meta contexts and use them properly Michele Caini 2022-10-10 15:13:22 +02:00
  • 2f2bdcac4d meta: * make meta_getter use properly meta contexts * remove the meta context from the argument list of meta setters (not required) Michele Caini 2022-10-10 15:08:45 +02:00
  • 2739964a1f meta: make meta_dispatch support and use meta contexts Michele Caini 2022-10-10 15:04:29 +02:00
  • c3a2a44830 meta: drop useless [[maybe_unused]] Michele Caini 2022-10-10 15:03:30 +02:00
  • 37a2c3b76c meta: make meta_construct support and use meta contexts Michele Caini 2022-10-10 15:00:18 +02:00
  • 146a7b2aa3 meta: rollback redundant functions (reduce the number of generated symbols) Michele Caini 2022-10-10 14:57:45 +02:00
  • 7e093c951f meta: * use different function names to disambiguate utility calls * drop base class meta_policy for policies, no longer required Michele Caini 2022-10-10 14:49:45 +02:00
  • 4901188409 meta: use meta_any context aware constructors if possible Michele Caini 2022-10-10 14:05:48 +02:00
  • 15d78f80a6 meta: context aware constructors for meta_any Michele Caini 2022-10-10 13:03:06 +02:00
  • d61dff45c1 meta: introduce meta_ctx_arg[_t] Michele Caini 2022-10-10 13:00:20 +02:00
  • 34abddfbbd meta: move the meta context argument to the first slot of the argument lists Michele Caini 2022-10-10 12:49:48 +02:00
  • 238ebe4e8f meta: try to get around invalid code that msvc accepts happily otherwise Michele Caini 2022-10-10 09:02:04 +02:00
  • 502accabbc meta: make default_constructor forward the context to the returned element Michele Caini 2022-10-09 12:03:26 +02:00
  • 9d1df1dae4 meta: make from_void forward the context to the returned element Michele Caini 2022-10-09 12:00:28 +02:00
  • a39cfb9e99 meta: always forward the context to meta_type Michele Caini 2022-10-09 11:56:19 +02:00
  • 27d0e5f55e meta: always forward the context to meta_func Michele Caini 2022-10-09 11:34:56 +02:00
  • a0e5d2c495 meta: always forward the context to meta_data Michele Caini 2022-10-09 11:34:07 +02:00
  • d2c89d2a40 meta: always forward the context to meta_prop Michele Caini 2022-10-09 11:33:23 +02:00
  • 54f66c9094 meta: make meta_range_iterator forward the context to the returned elements Michele Caini 2022-10-09 11:32:21 +02:00
  • 10be00b352 meta: suppress a bunch of shadow warnings Michele Caini 2022-10-09 10:56:43 +02:00
  • 9032051bf7 meta: review meta_any::try_cast to use the local context Michele Caini 2022-10-09 10:46:40 +02:00
  • 2d2e4c784e meta: reintroduce as_ref constructor Michele Caini 2022-10-09 10:46:17 +02:00
  • 0d4674d8e2 meta: refined meta_conv_node definition Michele Caini 2022-10-08 19:10:06 +02:00
  • ac06ad35c1 meta: added bare minimum support for contexts to forward_as_meta Michele Caini 2022-10-08 19:09:39 +02:00
  • 27e492d750 meta: minor changes Michele Caini 2022-10-08 19:06:22 +02:00
  • f8281f2a37 meta: add bare minimum support for contexts to meta_any Michele Caini 2022-10-08 18:47:38 +02:00
  • 9fc717fa6e meta: track pending points for future refinement Michele Caini 2022-10-08 18:39:05 +02:00
  • 4a0f2f3fe9 meta: drop redundant constructors for meta_any Michele Caini 2022-10-07 15:44:09 +02:00
  • ebdd4118fd meta: context aware internal try_cast Michele Caini 2022-10-06 16:13:31 +02:00
  • 54ae48936f meta: refine includes Michele Caini 2022-10-06 16:08:22 +02:00
  • 3c9045a3a8 test: avoid using the trampoline resolve function Michele Caini 2022-10-06 15:40:21 +02:00
  • f80f179499 meta: small refinement Michele Caini 2022-10-06 15:26:44 +02:00
  • 69c6ee0675 meta: high level meta types are now context aware Michele Caini 2022-10-06 15:18:30 +02:00
  • 4e28d96bef meta: remove the last use of the trampoline resolve function from the meta factory Michele Caini 2022-10-06 11:42:13 +02:00