You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Legacy/CrySystem
lumberyard-employee-dm b3b646dad9
Moved the Asset Catalog loading from LmbrCentral to the AzFramework::Application (#4568)
* Moved the loading of the AssetCatalog from LmbrCentralSystemComponent to AzFramework Application

Modified the AssetCatalog::InitializeCatalog function to no longer rely on the TickBus to send out the `AssetCatalogEventBus::OnCatalogLoaded` event.
It now queues a function on the AssetCatalogRequestBus to send the OnCatalogLoaded event as soon as the dispatching for the AssetCatalogRequestBus has completed on the current thread.
This is done by updating the AssetCatalogRequestBus to use EBus ThreadDispatchPolicy to add a callback to invoke any queued function has soon a thread has finished dispatching and has released its DispatchMutex

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated the AssetCatalogRequestBus to add a custom DispatchLockGuard

The AssetCatalogRequestBus uses the custom lock guard to dispatch queued
events after it has unlocked it's context mutex for the current thread.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Removed GetContext call from the
AssetCatalogRequests::PostThreadDispatchInvoker

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated the definition of FileTagQueryManager::GetDefaultFileTagFilePath
function to return a path

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated the AZ_CONSOLEFREEFUNC macro to actually use the _NAME

The _NAME parameter was not being used before, resulting in the Console
stringified name of the function being used.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Removed CrySystem dependencies from the BundlingSystemComponent

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Moved the loading of the AssetCatalog from LmbrCentralSystemComponent to AzFramework Application

Modified the AssetCatalog::InitializeCatalog function to no longer rely on the TickBus to send out the `AssetCatalogEventBus::OnCatalogLoaded` event.
It now queues a function on the AssetCatalogRequestBus to send the OnCatalogLoaded event as soon as the dispatching for the AssetCatalogRequestBus has completed on the current thread.
This is done by updating the AssetCatalogRequestBus to use EBus ThreadDispatchPolicy to add a callback to invoke any queued function has soon a thread has finished dispatching and has released its DispatchMutex

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated the AssetCatalogRequestBus to add a custom DispatchLockGuard

The AssetCatalogRequestBus uses the custom lock guard to dispatch queued
events after it has unlocked it's context mutex for the current thread.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Removed GetContext call from the
AssetCatalogRequests::PostThreadDispatchInvoker

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated the definition of FileTagQueryManager::GetDefaultFileTagFilePath
function to return a path

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated the AZ_CONSOLEFREEFUNC macro to actually use the _NAME

The _NAME parameter was not being used before, resulting in the Console
stringified name of the function being used.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Removed CrySystem dependencies from the BundlingSystemComponent

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Addded missing template parameter to AssetCatalogRequests

The fixes the compile error.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Adding AssetBus::MultiHandler::BusDisconnect call

The BlastSystemComponent was connecting to the Bus, but not
disconnecting from it, causing an assert to fire to it being a
multi-thread bus

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Added support for DataDrive lifecycle events to the ComponentApplication

The events are using the SettingsRegistry NotifyEvent to track when
certain keys are modified to signal handlers.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Corrected invalid JSON creation in ModuleManager::DeactivateEntities

Resolved clang warning about used type alias

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Fix for dangling reference in lambda registered to the SettingsRegistry
Notifier event

This was causing the EditorPythonBinding tests to crash due to the
following circumstances.

First Python has created an instance of a SettingsRegistryProxy
Second the SettingsRegistry sends an event during the time when the
SettingsRegistryProxy exists.

This issue was exposed due to the ComponentApplication Lifecycle events
using the SettingsRegistry to dispatch during various times of the
application workflow.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
..
LevelSystem Update all the hardcoded filenames inside the level.pak file to be lowercase now the editor no longer forces them to be lower case. (#4802) 4 years ago
Platform Various fixes and empty boilerplate files required for restricted platforms. (#3610) 4 years ago
RemoteConsole Legacy cleanup (#3383) 4 years ago
ViewSystem PR comments 4 years ago
XML Updated the GameApplication to mount the engine.pak (#4128) 4 years ago
AZCoreLogSink.h Allow for `AZCoreLogSink::Disconnect()` to be called more than once 4 years ago
AZCrySystemInitLogSink.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AZCrySystemInitLogSink.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
CMakeLists.txt Update tiff to the new package revision (fixes IOS TIFF package) (#4638) 4 years ago
CmdLine.cpp Code/Legacy 4 years ago
CmdLine.h More string fixes 5 years ago
CmdLineArg.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
CmdLineArg.h More string fixes 5 years ago
ConsoleBatchFile.cpp Update the FileIO Aliases (#4186) 4 years ago
ConsoleBatchFile.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ConsoleHelpGen.cpp Code/Legacy cleanup 5 years ago
ConsoleHelpGen.h More string fixes 5 years ago
CrySystem_precompiled.h Legacy code cleanup - part 3 (#3903) 4 years ago
DebugCallStack.cpp Added extra output and callstack information for improving debugging automated tests (#4528) 4 years ago
DebugCallStack.h More string fixes 5 years ago
DllMain.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Huffman.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Huffman.h Legacy code cleanup - part 3 (#3903) 4 years ago
IDebugCallStack.cpp Moved the Asset Catalog loading from LmbrCentral to the AzFramework::Application (#4568) 4 years ago
IDebugCallStack.h linux fixes 5 years ago
LocalizedStringManager.cpp Legacy code cleanup - part 3 (#3903) 4 years ago
LocalizedStringManager.h Merge branch 'development' into cmake/warn_virtual 4 years ago
Log.cpp enabling warn format security and some fixes 4 years ago
Log.h Legacy code cleanup - part 3 (#3903) 4 years ago
SimpleStringPool.h Legacy cleanup, part 2 (#3659) 4 years ago
System.cpp Perform global deinitialization when exiting the game launcher (#4131) 4 years ago
System.h Merge branch 'development' into cmake/warn_virtual 4 years ago
SystemCFG.cpp Update the FileIO Aliases (#4186) 4 years ago
SystemEventDispatcher.cpp Refactor budget definitions as named functions instead of template specializations 4 years ago
SystemEventDispatcher.h [redcode/crythread-2nd-pass] removed CryThread*.h files 4 years ago
SystemInit.cpp Remove many unused variables and unused setting files (#4607) 4 years ago
SystemWin32.cpp Miscellaneous fixes and PAL changes required for restricted platforms. (#4021) 4 years ago
Timer.cpp Fix unused warnings release (#3677) 4 years ago
Timer.h PR comments 4 years ago
WindowsErrorReporting.cpp Updated the GameApplication to mount the engine.pak (#4128) 4 years ago
XConsole.cpp Enabling warnings around format security 4 years ago
XConsole.h Merge branch 'development' into cmake/warn_virtual 4 years ago
XConsoleVariable.cpp Legacy code cleanup - part 3 (#3903) 4 years ago
XConsoleVariable.h Updated the GameApplication to mount the engine.pak (#4128) 4 years ago
crysystem_files.cmake Legacy code cleanup - part 3 (#3903) 4 years ago
crysystem_shared_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago