Dmitry Stepanov
34f60ecc3b
do not alter already loaded resource state when reloading it
...
- if an error ocurred when reloading a resource, the previous state remain intact allowing to fix an error and retry to reload
- show error messages that happens during (re)loading
2025-10-01 17:57:29 +03:00
Dmitry Stepanov
669b38dd9c
updated deps
...
- attempt to fix hot reloading
2025-09-18 20:30:50 +03:00
Dmitry Stepanov
f0050a0f9a
removed useless #![allow(missing_docs)] and improved the docs
2025-09-12 20:18:46 +03:00
Dmitry
336b40cd7b
more improvements for resource manager api
2025-09-06 18:17:28 +03:00
Dmitry
b631bfe3f9
improved resource manager api
2025-09-06 17:32:47 +03:00
Dmitry Stepanov
acd1d76a05
prevent annoying message spam when import options is missing for asset
2025-09-04 19:44:22 +03:00
Dmitry Stepanov
267e442304
fixed resource management on android
...
- fixed default path to the resource registry
- disable resource registry update on android, only load pre-existing registry
2025-08-28 23:09:32 +03:00
Dmitry Stepanov
9f5a39bd44
fixed incorrect warning message
2025-08-21 21:23:29 +03:00
Dmitry Stepanov
51cc436eea
do not stop deserialization on invalid resource refs
2025-08-02 00:02:57 +03:00
Dmitry Stepanov
aea76d9208
ability to move a folder with resource in the resource manager
2025-07-27 11:12:56 +03:00
Dmitry Stepanov
1ddaf60c68
configurable depth for walk_directory method
2025-07-26 21:30:02 +03:00
Dmitry Stepanov
dcdfbf6637
removed incorrect assertion
...
- `set_path` can be used before the registry is actually written to a file, thus `is_file` check will fail
2025-07-26 21:22:47 +03:00
Dmitry Stepanov
726b800223
moved resource movement method to resource manager state
...
- simplified the implementation a bit
2025-07-26 20:02:38 +03:00
Dmitry Stepanov
4c3c8dda7a
search in resource registry when searching in the asset browser
...
- much faster, no need to use the file system
- all resources are already registered in there
- fixed warnings
2025-07-26 10:43:48 +03:00
Dmitry Stepanov
a6c87c53cc
better validation for file name when doing move
2025-07-25 23:05:35 +03:00
Dmitry Stepanov
34c210aba3
do not allow to delete built-in resources
...
- it wasn't possible either, but gave confusing error on such attemp
2025-07-23 19:57:46 +03:00
Dmitry Stepanov
0f6f742c0f
helper methods for ResourceState
2025-07-08 22:31:01 +03:00
Dmitry Stepanov
f5b6e687c3
direct immutable access to underlying container for ResourceRegistry
2025-07-07 22:28:00 +03:00
Dmitry Stepanov
1d8b4e507b
improved validation when moving a resource
2025-07-06 22:10:54 +03:00
Dmitry Stepanov
2d88e0f082
ResourceManager::can_resource_be_moved
2025-07-05 18:47:49 +03:00
Dmitry Stepanov
f706290db2
fixed validation for remove_metadata
2025-07-05 18:10:17 +03:00
Dmitry Stepanov
886e22307d
do not change resource uuid when moving it in the editor
2025-07-05 18:01:22 +03:00
Dmitry Stepanov
f52e2d3e1a
fixed clippy warnings
2025-07-02 22:33:14 +03:00
Dmitry Stepanov
8c8771aab2
make paths os-independent and canonical when moving a resource
...
- fixed failing validation on some correct paths
2025-07-02 18:06:05 +03:00
Dmitry Stepanov
6b044be384
ability to move a resource by path without loading it
2025-07-01 21:02:48 +03:00
Dmitry Stepanov
932ec2c7a0
resource registry api improvements
2025-06-30 20:12:21 +03:00
Dmitry Stepanov
bac6fd1391
run clippy fix
2025-06-28 00:42:50 +03:00
Dmitry Stepanov
1a554b4bb1
properly handle added/removed resources to/from the resource registry
2025-06-27 22:21:31 +03:00
Dmitry Stepanov
eb149fff05
ResourceRegistry::remove_metadata
2025-06-27 22:20:45 +03:00
Dmitry Stepanov
e6cdcd5052
ResourceIo::delete_file+delete_file_sync
2025-06-27 22:18:35 +03:00
Dmitry Stepanov
40d23569fd
UntypedResource::type_uuid_non_blocking
2025-06-27 20:22:33 +03:00
Dmitry Stepanov
b21a48aa66
fixed request of built-in resources in the resource manager
2025-06-27 20:21:18 +03:00
Dmitry Stepanov
6f6e1d0df3
ability to try get resource manager state lock for the given time period
2025-06-22 09:59:16 +03:00
Dmitry Stepanov
0ed0872e4d
pre-cache resource uuid when creating a built-in resource
...
- use it when searching in the container to prevent potential deadlocks
2025-06-17 21:49:35 +03:00
Dmitry Stepanov
4ebbd530b7
fixed resource_path and uuid_to_resource_path methods
...
- both methods now works correctly in case of built-in resources
- fixes lots of issues with "unnamed" resources in the editor
2025-06-17 19:36:17 +03:00
Dmitry Stepanov
f0649b23f0
helper methods for resource manager
2025-06-14 11:31:41 +03:00
Dmitry Stepanov
0e3bd07c38
1.0.0-rc.1
2025-05-29 18:58:18 +03:00
Dmitry Stepanov
ede500a49e
do not try to save the resource registry on wasm
2025-05-29 18:41:17 +03:00
Dmitry Stepanov
94e92e473d
ability to copy/paste values in inspector
...
- works incorrectly with inheritable variables, will be fixed later
2025-05-18 11:33:30 +03:00
Dmitry Stepanov
ef4e4b46ca
Reflect::try_clone_box
...
- `#[reflect(non_cloneable)]` for types that cannot be cloned
2025-05-16 23:26:34 +03:00
Dmitry Stepanov
315c886962
collect only supported resources + ignore resources from excluded dirs
2025-04-30 20:55:41 +03:00
Dmitry Stepanov
04013267af
ResourceLoader::convert + moved TargetPlatform to core
2025-04-27 11:13:26 +03:00
Dmitry Stepanov
d39b1bc949
added ResourceIo::copy_file method
2025-04-27 11:12:03 +03:00
Dmitry Stepanov
8936bb4f8a
fixed warnings
2025-04-19 10:17:55 +03:00
b-guild
f56f704a40
Protecting against resource deadlock
2025-04-16 20:58:28 -07:00
Dmitry Stepanov
baa2a546f6
hold mutex locks as short as possible to prevent deadlocks
...
- yet another (this time more successful) attempt to fix a deadlock when loading a ton of resources at the same time
2025-04-16 23:20:39 +03:00
Dmitry Stepanov
00f9db055e
use blocking resource registry updating where possible
...
- an attempt to fix a random deadlock
2025-04-16 19:54:19 +03:00
Dmitry Stepanov
6ce964ec98
fixed tests
2025-04-13 11:06:03 +03:00
Dmitry Stepanov
b5a764d595
fixed resource reloading
2025-04-12 23:06:48 +03:00
Dmitry Stepanov
58abb905b0
doc fixes + wasm fix
2025-04-12 21:32:47 +03:00