Michele Caini
1abbe9c7b2
test: minor changes (code coverage)
2021-12-04 15:21:49 +01:00
Michele Caini
7205ac791c
meta: make policies check function return types
2021-12-03 18:25:11 +01:00
Michele Caini
3335b81ad4
meta:
...
* dtor support to member functions
* review to introduce strict checks on policies
2021-12-03 17:56:09 +01:00
Michele Caini
d9c9438f3c
test: minor changes
2021-12-03 14:39:50 +01:00
Michele Caini
37250843e1
sigh: allocator support
2021-12-02 11:30:54 +01:00
Michele Caini
072ab88721
build system: avoid using windows-2016 (deprecated by GH)
2021-12-01 10:33:43 +01:00
Michele Caini
c208e6b107
natvis: avoid errors due to null/tombstone definition not available in some contexts
2021-11-30 14:44:12 +01:00
Michele Caini
65f3185b39
entity: add page_size to entt_traits to make it more natvis friendly and customizable on a per-type basis
2021-11-30 13:48:12 +01:00
Michele Caini
34f73f8a2b
registry: added base_type member type
2021-11-30 11:23:15 +01:00
Michele Caini
cb4142a97d
entity: simplified to_version
2021-11-30 09:46:15 +01:00
Michele Caini
80d08d5a34
view:
...
* fixed init list order to suppress a warning
* try to please gcc that fails to compile valid code
2021-11-30 09:46:14 +01:00
Michele Caini
052aecf533
natvis: basic_view (single and multi type)
2021-11-30 09:46:14 +01:00
Michele Caini
7bde714f18
view: minor changes
2021-11-30 09:46:14 +01:00
Michele Caini
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|
2021-11-30 09:46:14 +01:00
Michele Caini
92f27299e1
group: added the ::storage method (with tests)
2021-11-30 09:46:14 +01:00
Michele Caini
f9013375f8
view: added the ::storage method (with tests)
2021-11-30 09:46:14 +01:00
Michele Caini
f18b0045ba
registry: get around an issue of the toolset v141
2021-11-30 09:46:14 +01:00
Michele Caini
18173cc4c0
view: minor changes
2021-11-30 09:46:12 +01:00
Michele Caini
6a1ffdd7a5
natvis: bypass some natvis idiosyncrasies to display storage information and content in all cases
2021-11-30 09:45:37 +01:00
Michele Caini
8db78b2190
nativs:
...
* don't abuse Intrinsic, it also has drawbacks
* refine natvis snippet for dispatcher class
2021-11-30 09:45:37 +01:00
Michele Caini
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)
2021-11-30 09:45:37 +01:00
Michele Caini
6ff8add164
entity: added missing includes
2021-11-30 09:45:37 +01:00
Michele Caini
58a8c3c82a
natvis: make the ecs stuff work with entity classes
2021-11-30 09:45:37 +01:00
Michele Caini
92c5c656c7
natvis: dispatcher
2021-11-30 09:45:37 +01:00
Michele Caini
61856cd648
natvis: poly
2021-11-30 09:45:37 +01:00
Michele Caini
687f82b5c2
natvis: basic_registry
2021-11-30 09:45:37 +01:00
Michele Caini
920c864bed
natvis: tombstone/null
2021-11-30 09:45:37 +01:00
Michele Caini
1360c985b7
natvis: when you discover the intrinsic tag... :)
2021-11-30 09:45:37 +01:00
Michele Caini
b6f953e13b
natvis: added simple views + minor changes
2021-11-30 09:45:37 +01:00
Michele Caini
796b96071b
registry: minor changes
2021-11-30 09:45:37 +01:00
Michele Caini
ec56ccc690
view: minor changes
2021-11-30 09:45:35 +01:00
Michele Caini
95931b67e1
registry: turn storage_type in a public member type
2021-11-30 09:43:48 +01:00
Michele Caini
706bbb83c9
storage: clean up
2021-11-30 09:43:48 +01:00
Michele Caini
43099f47d0
meta: try to suppress a wrong warning from clang
2021-11-30 09:43:48 +01:00
Michele Caini
eca86999c3
doc: added a section about runtime stuff
2021-11-30 09:43:48 +01:00
Michele Caini
a00b44a5fd
example: stamp is back
2021-11-30 09:43:48 +01:00
Michele Caini
5b8dcff2a4
helper: make to_entity also work for stable types ( close #768 )
2021-11-30 09:43:48 +01:00
Michele Caini
e4d36e4982
registry: decouple ::storage/::assure
2021-11-30 09:43:48 +01:00
Michele Caini
adfdbf138d
registry:
...
* public and runtime pools
* removed basic_registry<...>::prepare
2021-11-30 09:43:48 +01:00
Michele Caini
8d1ba26492
registry: try to also please vs2015 ¯\_(ツ)_/¯
2021-11-30 09:43:48 +01:00
Michele Caini
792625f763
registry: minor changes/cleanup
2021-11-30 09:43:47 +01:00
Michele Caini
5e8eae4ef8
natvis: delegate, sigh, sink, connection, scoped_connection
2021-11-30 09:43:47 +01:00
Michele Caini
148212da96
natvis: minor changes
2021-11-30 09:43:47 +01:00
Michele Caini
23ddb12529
registry: removed pdata container, pools are standalone objects and thus ready to go public
2021-11-30 09:43:47 +01:00
Michele Caini
186a5e8f7b
natvis: updated definition for sparse set and storage
2021-11-30 09:43:47 +01:00
Michele Caini
dfb5fe1e04
sparse_set/storage: opaque get from base
2021-11-30 09:43:47 +01:00
Michele Caini
640f75373e
doc: minor changes
2021-11-30 09:43:47 +01:00
Michele Caini
46e5d96ced
sparse_set/storage: value type from base, if any
2021-11-30 09:43:47 +01:00
Michele Caini
ad3fbe2052
sparse_set/storage: no virtual swap (the silliest thing I've ever done)
2021-11-30 09:43:47 +01:00
Michele Caini
cd6c60fd46
sparse_set/storage: emplace-from-below with value
2021-11-30 09:43:47 +01:00