phoenix-firestorm/indra
Nat Goodspeed fdc0257acb DRTVWR-564: Fix LLEventDispatcher::addMethod() for LazyEventAPI.
A classic LLEventAPI subclass calls LLEventDispatcher::add() methods in its
own constructor. At that point, addMethod() can reliably dynamic_cast its
'this' pointer to the new subclass.

But because of the way LazyEventAPI queues up add() calls, they're invoked in
the (new) LLEventAPI constructor itself. The subclass constructor body hasn't
even started running, and LLEventDispatcher::addMethod()'s dynamic_cast to the
LLEventAPI subclass returns nullptr. addMethod() claims the new subclass isn't
derived from LLEventDispatcher, which is confusing since it is.

It works to change addMethod()'s dynamic_cast to static_cast.

Flesh out lazyeventapi_test.cpp. post() maps with "op" keys to actually try to
engage the registered operation. Give the operation an observable side effect;
use ensure_mumble() to verify. Also verify that LazyEventAPI has captured the
subject LLEventAPI's metadata in a way we can retrieve.
2022-06-21 15:23:29 -04:00
..
cmake SL-17376 Fix viewer failing due to missing vcruntime140_1 2022-05-09 21:22:22 +03:00
copy_win_scripts
doxygen
integration_tests
lib/python/indra SL-17376 Do not fail build if vcruntime140_1 is missing 2022-05-10 18:53:33 +03:00
linux_crash_logger
llappearance
llaudio SL-16865 llStopSound() does not stop sound if it is out of cutoff radius 2022-03-21 09:44:55 +02:00
llcharacter
llcommon DRTVWR-564: Fix LLEventDispatcher::addMethod() for LazyEventAPI. 2022-06-21 15:23:29 -04:00
llcorehttp
llcrashlogger
llfilesystem
llimage
llimagej2coj
llinventory
llkdu
llmath SL-17244 Fix 'empty leaf' crashes 2022-05-05 19:41:56 +03:00
llmeshoptimizer
llmessage
llplugin
llprimitive
llrender SL-17124 switchContext and loadShaderFile crashes 2022-04-29 19:41:22 +03:00
llui Merge branch master (D540) into DRTVWR-546 2022-04-18 23:42:39 +03:00
llwindow SL-17124 make sure window thread wakes up to proces 'quit' message 2022-04-29 22:18:20 +03:00
llxml
mac_crash_logger
media_plugins
newview Increment viewer version to 6.6.1 2022-05-25 19:22:09 -04:00
test Merge branch master (D540) into DRTVWR-546 2022-04-18 23:42:39 +03:00
tools/vstool
viewer_components SL-16831 Don't wait for an updater on login failure unles it's the cause of failure 2022-04-15 20:53:21 +03:00
win_crash_logger
CMakeLists.txt
edit-me-to-trigger-new-build.txt
fix-incredibuild.py