bevy/crates
Paweł Grabarz 1214ddabb7 drop overwritten component data on double insert (#2227)
Continuing the work on reducing the safety footguns in the code, I've removed one extra `UnsafeCell` in favour of safe `Cell` usage inisde `ComponentTicks`. That change led to discovery of misbehaving component insert logic, where data wasn't properly dropped when overwritten. Apart from that being fixed, some method names were changed to better convey the "initialize new allocation" and "replace existing allocation" semantic.

Depends on #2221, I will rebase this PR after the dependency is merged. For now, review just the last commit.

Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2021-05-30 20:15:40 +00:00
..
bevy_app Add inline documentation to bevy code (#1404) 2021-05-06 02:26:54 +00:00
bevy_asset fix diagnostic length for asset count (#2165) 2021-05-14 19:31:36 +00:00
bevy_audio Update rodio requirement from 0.13 to 0.14 (#2244) 2021-05-29 01:08:58 +00:00
bevy_core use bytemuck crate instead of Byteable trait (#2183) 2021-05-17 22:29:10 +00:00
bevy_derive Use bevy_reflect as path in case of no direct references (#1875) 2021-05-19 19:03:36 +00:00
bevy_diagnostic fix diagnostic length for asset count (#2165) 2021-05-14 19:31:36 +00:00
bevy_dylib Release 0.5.0 (#1835) 2021-04-06 18:48:48 +00:00
bevy_dynamic_plugin Various cleanups (#2046) 2021-05-01 20:07:06 +00:00
bevy_ecs drop overwritten component data on double insert (#2227) 2021-05-30 20:15:40 +00:00
bevy_gilrs Release 0.5.0 (#1835) 2021-04-06 18:48:48 +00:00
bevy_gltf Update glam (0.15.1) and hexasphere (3.4) (#2199) 2021-05-18 18:56:15 +00:00
bevy_input Hide re-exported docs (#1985) 2021-04-27 18:29:33 +00:00
bevy_internal Hide re-exported docs (#1985) 2021-04-27 18:29:33 +00:00
bevy_log Hide re-exported docs (#1985) 2021-04-27 18:29:33 +00:00
bevy_macro_utils Use bevy_reflect as path in case of no direct references (#1875) 2021-05-19 19:03:36 +00:00
bevy_math Update glam (0.15.1) and hexasphere (3.4) (#2199) 2021-05-18 18:56:15 +00:00
bevy_pbr Fix PBR regression for unlit materials (#2197) 2021-05-17 22:45:07 +00:00
bevy_reflect Use bevy_reflect as path in case of no direct references (#1875) 2021-05-19 19:03:36 +00:00
bevy_render Refactor ResMut/Mut/ReflectMut to remove duplicated code (#2217) 2021-05-30 19:29:31 +00:00
bevy_scene Hide re-exported docs (#1985) 2021-04-27 18:29:33 +00:00
bevy_sprite use bytemuck crate instead of Byteable trait (#2183) 2021-05-17 22:29:10 +00:00
bevy_tasks Various cleanups (#2046) 2021-05-01 20:07:06 +00:00
bevy_text Allows a number of clippy lints and fixes 2 (#1999) 2021-05-14 20:37:32 +00:00
bevy_transform drop overwritten component data on double insert (#2227) 2021-05-30 20:15:40 +00:00
bevy_ui Allows a number of clippy lints and fixes 2 (#1999) 2021-05-14 20:37:32 +00:00
bevy_utils EnumVariantMeta derive (#1972) 2021-04-21 23:46:54 +00:00
bevy_wgpu Allows a number of clippy lints and fixes 2 (#1999) 2021-05-14 20:37:32 +00:00
bevy_window Adds an alias mouse position -> cursor position (#2038) 2021-04-28 21:26:47 +00:00
bevy_winit Bump winit to 0.25 (#2186) 2021-05-18 18:36:36 +00:00