|
c5c60cf36d
|
impl Debug for Store
|
2016-03-25 13:30:26 +01:00 |
|
|
22052ba9f0
|
Add some more error types to be more specific about what happened
|
2016-03-25 13:30:16 +01:00 |
|
|
a96ca837c6
|
Make HookPosition clonable
|
2016-03-24 17:57:19 +01:00 |
|
|
2deb98d764
|
Add deny() so we turn some warnings into errors
|
2016-03-22 19:44:04 +01:00 |
|
|
c59ed7d2fe
|
Use unused result when file.write_all() and return error
|
2016-03-22 19:44:04 +01:00 |
|
|
dc7a212278
|
Use unused result which must be used when file.seek()ing
|
2016-03-22 19:44:04 +01:00 |
|
|
a45571e299
|
Remove unused function AspectConfig::config()
|
2016-03-22 19:44:04 +01:00 |
|
|
8e852384bd
|
Remove unused function from Store
|
2016-03-22 19:44:04 +01:00 |
|
|
a9eddb088a
|
Remove unused functions from LazyFile
- Remove uses of LazyFile::new() from tests
- Use LazyFile::get_file_mut() in test as we want the file mut anyways
|
2016-03-22 19:43:48 +01:00 |
|
|
af161394ad
|
Remove dead code in configuration.rs
|
2016-03-22 19:43:48 +01:00 |
|
|
a4c820d308
|
Remove unused keyword "mut"
|
2016-03-22 19:43:48 +01:00 |
|
|
8aa3f31970
|
Remove unused variables
|
2016-03-22 19:43:48 +01:00 |
|
|
2fb59b3ae6
|
Remove unused imports
|
2016-03-22 19:43:48 +01:00 |
|
|
041a2a4942
|
Add encoding error if typeconversion fails
|
2016-03-19 15:15:04 +01:00 |
|
|
fe0849f8eb
|
Add implementation for Store::retrieve_for_module()
|
2016-03-19 15:15:04 +01:00 |
|
|
80945fcd16
|
Rewrite build_entry_path() so it does not panic!() anymore
|
2016-03-19 14:48:09 +01:00 |
|
|
b8b49b3240
|
Move: build_entry_path() from imag-store to libimagstore
|
2016-03-19 14:47:45 +01:00 |
|
|
65a64774b6
|
Fix: Allow NonMutableAccess in MutableHookDataAcessor
|
2016-03-16 16:46:54 +01:00 |
|
|
feac9ae9e8
|
Store::new(): Aspect configuration added
|
2016-03-16 16:46:54 +01:00 |
|
|
96deb17515
|
Aspect: Optionally get configuration
|
2016-03-16 16:46:54 +01:00 |
|
|
f1246093f1
|
Implement AspectConfig::get_for()
|
2016-03-16 16:46:54 +01:00 |
|
|
08b36972f1
|
Make store configuration optional
|
2016-03-16 16:46:54 +01:00 |
|
|
0286d8a25e
|
Store: Add hook configuration on registration
|
2016-03-16 16:46:54 +01:00 |
|
|
59fdb7ef3d
|
Store: Get configuration object not as reference, to avoid livetimes
|
2016-03-16 16:46:54 +01:00 |
|
|
6dae03d731
|
Hook: Must provide name, gets reference to configuration
|
2016-03-16 16:46:54 +01:00 |
|
|
9961f64ce6
|
Add AspectConfig type
|
2016-03-16 16:46:53 +01:00 |
|
|
c942c74f05
|
Implement getter for aspect names
|
2016-03-16 16:46:53 +01:00 |
|
|
d249f604d8
|
Implement: config_is_valid()
|
2016-03-16 16:46:53 +01:00 |
|
|
cd55e7d625
|
Add Aspect building based on configuration
|
2016-03-16 16:46:53 +01:00 |
|
|
1fe545eb8b
|
Add configuration.rs
|
2016-03-16 16:46:53 +01:00 |
|
|
a771db9ea4
|
Add error kind for config errors
|
2016-03-16 16:46:53 +01:00 |
|
|
9e8ef57f72
|
Remove {Pre, Post}HookErrorKind types as they are not needed anymore
|
2016-03-16 16:46:53 +01:00 |
|
|
987b271cc7
|
Add access type checking error
|
2016-03-16 16:46:53 +01:00 |
|
|
5ba260943b
|
Make hook execution parallel for NonMutableHookDataAccessor impl for Aspect
|
2016-03-16 16:46:53 +01:00 |
|
|
7102a57808
|
Make hook execution parallel for StoreIdAccessor impl for Aspect
|
2016-03-16 16:46:53 +01:00 |
|
|
d8760c9737
|
Impl NonMutableHookDataAccessor::access() for Aspect
|
2016-03-16 16:46:53 +01:00 |
|
|
c4c02f2274
|
Impl MutableHookDataAccessor::access_mut() for Aspect
|
2016-03-16 16:46:53 +01:00 |
|
|
2022f4e4bb
|
Impl StoreIdAccessor::access() for Aspect
|
2016-03-16 16:46:53 +01:00 |
|
|
2c544382a1
|
We do not need boxes here
|
2016-03-16 16:46:53 +01:00 |
|
|
679865464b
|
Reimplement hook registration and execution
|
2016-03-16 16:46:52 +01:00 |
|
|
d6a581e69f
|
Add HookPosition enum
|
2016-03-16 16:46:52 +01:00 |
|
|
37a505609e
|
Remove hook traits. There can only be one trait: Hook
|
2016-03-16 16:46:52 +01:00 |
|
|
be1ba5be4b
|
Add Aspect type for hook system
|
2016-03-16 16:46:52 +01:00 |
|
|
3e62b71605
|
Add StoreIdAccessor trait
|
2016-03-16 16:46:52 +01:00 |
|
|
fa9e8e8192
|
Split hook/mod.rs into several files
|
2016-03-16 16:46:52 +01:00 |
|
|
3f15fd0fa8
|
Move hook.rs -> hook/mod.rs
|
2016-03-16 16:46:52 +01:00 |
|
|
a9600f23b3
|
Threaded hook execution
|
2016-03-16 16:46:52 +01:00 |
|
|
79ba3f5151
|
Hook calling rewrite
|
2016-03-16 16:46:52 +01:00 |
|
|
0610f0756a
|
Add dep: crossbeam = 0.2.8
|
2016-03-16 16:46:52 +01:00 |
|
|
3421e8d4d9
|
Add HookExecutionError error kind
|
2016-03-16 16:46:52 +01:00 |
|