Commit Graph
538 Commits
Author SHA1 Message Date
Dmitry Stepanov d317a1179f fixed doc comments + fixed misleading docs 2026-05-10 20:06:56 +03:00
Dmitry Stepanov 1c0cf15c50 unified naming for field fetching via reflection
- previous approach with `ComponentProvider` trait was quite misleading, it didn't return a "component" - it simply returned marked fieds
- the new approach is more explicit - method names tells exactly what they do
2026-05-10 18:28:18 +03:00
Dmitry Stepanov edc7bf0ec0 improved docs 2026-05-09 23:01:23 +03:00
Dmitry Stepanov b17c5f5801 fixed failing test 2026-05-09 20:01:49 +03:00
Dmitry Stepanov c03e4aa7e9 removed ComponentProvider, merged its functionality into Reflect
- chained component fetching isn't supported yet, so it is not one-to-one merge
2026-05-09 19:55:11 +03:00
Dmitry Stepanov e553174d5d Reflect::self_or_field_ref/mut_of_type 2026-05-08 17:30:09 +03:00
Dmitry Stepanov 5cf90dff53 Reflect::first_field_ref/mut_of_type 2026-05-08 15:18:08 +03:00
Dmitry Stepanov 1904f95519 Reflect::get_field_direct_ref/mut 2026-05-08 12:56:48 +03:00
Dmitry Stepanov 0899691cfc Reflect::fields_count 2026-05-07 22:31:44 +03:00
Dmitry Stepanov 660bcd709a renamed field -> find_field + field_mut -> find_field_mut 2026-05-06 23:49:46 +03:00
Dmitry Stepanov 9df3443a24 merge modules 2026-05-06 11:06:39 +03:00
Dmitry Stepanov 747fa780f5 continue splitting reflect module 2026-05-06 11:03:47 +03:00
Dmitry Stepanov e9b389be77 split reflect mod into smaller modules 2026-05-06 10:55:33 +03:00
Dmitry Stepanov 46192f2edb moved reflect impl macros to separate mod + fix delegate_reflect macro 2026-05-05 09:52:05 +03:00
Dmitry Stepanov 1d316aad2c fixed newtype_reflect macro + added full paths to types 2026-05-05 09:44:29 +03:00
Dmitry Stepanov 27df8cd631 use full paths to types in blank_reflect macro 2026-05-05 09:38:15 +03:00
Dmitry Stepanov 55dd4a58f8 moved ReflectHashMap into a separate module 2026-05-05 09:34:55 +03:00
Dmitry Stepanov fcc04d52d7 moved module 2026-05-05 09:25:26 +03:00
Dmitry Stepanov aae761a27e removed ReflectBase trait + use trait upcasting instead 2026-05-05 00:29:44 +03:00
Dmitry Stepanov 225e8f9c47 docs for dyntype 2026-05-04 10:59:27 +03:00
Dmitry Stepanov a355f5f92f removed DynType::into_any and replaced it with trait upcasting 2026-05-04 10:41:46 +03:00
Dmitry Stepanov 1695edafc9 fixed enumerate_fields_recursively for InheritableVariable
- `enumerate_fields_recursively` resulted in double call of a `func` with the same name on an inheritable variable fields
2026-04-28 22:50:53 +03:00
Dmitry Stepanov 7a0ad6d792 fixed crash on exit when using the engine in hot reloading mode 2026-04-25 00:03:07 +03:00
Augusto Domingos 312d1a39ca Fix relative path resolution for symlinked asset directories (#912)
* fix relative path resolution for symlinked asset directories

* add test for make_relative_path with symlinked directories
2026-04-16 22:57:59 +03:00
Dmitry Stepanov 9214ae372f remove unused features 2026-04-15 22:55:39 +03:00
Dmitry Stepanov 4a0602ab25 bump version for the future release
- helps to catch bug reports from the "nightly" version of the engine
2026-03-30 20:50:58 +03:00
Dmitry Stepanov 9e9e2d7032 1.0.1 + changelog 2026-03-28 09:39:38 +03:00
Dmitry Stepanov 092ebbd797 migrate to rapier 0.32 2026-03-09 20:04:01 +03:00
Dmitry Stepanov 75645a0ef3 keep track of an assembly from which a dyn type originates from 2026-03-02 20:11:04 +03:00
Dmitry Stepanov e9faf81f85 refactored log filtering 2026-03-01 11:34:29 +03:00
Dmitry Stepanov 6e532a6269 Color::hex 2026-02-16 11:48:52 +03:00
Dmitry Stepanov 496414ee33 bump version 2026-02-12 19:08:48 +03:00
Dmitry Stepanov 4de934e11f 1.0.0-rc.2 2026-02-05 22:04:37 +03:00
zuiyu c600a95c28 Merge pull request #885 from zuiyu1998/remove_lazy_static
Remove lazy static
2026-01-29 19:43:06 +03:00
Dmitry Stepanov b5d530fdc7 immutable next_free_handle + fixes 2026-01-27 22:14:38 +03:00
Dmitry Stepanov 567f1705c1 Pool::next_free_handle 2026-01-27 21:55:10 +03:00
Dmitry Stepanov 44cca718f2 HandlesArrayExtension 2026-01-20 22:06:49 +03:00
Dmitry Stepanov 8ff4bd9950 to_any for HandlesVecExtension 2026-01-20 19:26:00 +03:00
Dmitry Stepanov c25366bfff added safety comment 2026-01-20 19:07:53 +03:00
Dmitry Stepanov 739b8abb70 fixed infinite recursion in trait bounds for Visit and Reflect procmacro
- this bug was rare, but very annoying
2026-01-19 22:06:39 +03:00
Dmitry 8421a3f368 to_base for Vec<T> where T: ObjectOrVariant<B> 2026-01-18 12:47:42 +03:00
Dmitry Stepanov f9b5b04d90 typed handles for is_valid_handle 2026-01-11 11:42:16 +03:00
Dmitry Stepanov 823f9cb8c7 support typed handles in multiborrow context 2026-01-08 23:10:22 +03:00
Dmitry Stepanov d666bfc9aa to_base/to_variant methods for handle type conversion 2026-01-08 10:52:43 +03:00
Dmitry Stepanov 13818290e4 allow comparison of base and derived handles 2026-01-07 10:13:18 +03:00
Dmitry Stepanov 818a4a2c30 DynTypeContainer::try_take 2025-12-31 21:37:41 +03:00
Dmitry Stepanov cd78fbfc3d downcasting for dyn type 2025-12-31 18:39:33 +03:00
Dmitry Stepanov f0befb4266 editor support for dyn types 2025-12-29 20:12:06 +03:00
Dmitry Stepanov f59d870ea4 dyntype improvements + value_ref + value_mut 2025-12-29 10:55:08 +03:00
Dmitry Stepanov 1effdc33a8 DynType improvements
- ability to clone
- better reflection support
- more strict trait bounds
2025-12-28 22:02:03 +03:00