- Jan 28, 2011
-
-
Nat Goodspeed authored
Until now, LLEventAPI has only been able to register functions specifically accepting(const LLSD&). Typically you add a wrapper method to your LLEventAPI subclass, register that, have it extract desired params from the incoming LLSD and then call the actual function of interest. With help from Alain, added new LLEventAPI::add() methods capable of registering functions/methods with arbitrary parameter signatures. The code uses boost::fusion magic to implicitly match incoming LLSD arguments to the function's formal parameter list, bypassing the need for an explicit helper method. New add() methods caused an ambiguity with a previous convenience overload. Removed that overload and fixed the one existing usage. Replaced LLEventDispatcher::get() with try_call() -- it's no longer easy to return a Callable for caller to call directly. But the one known use of that feature simply used it to avoid fatal LL_ERRS on unknown function-name string, hence the try_call() approach actually addresses that case more directly. Added indra/common/lleventdispatcher_test.cpp to exercise new functionality.
-
Nat Goodspeed authored
LLSDArray is a helper to construct an LLSD::Array value inline. LLSDMap is a helper to construct an LLSD::Map value inline. LLSDParam is a customization point, a way for generic code to support unforseen parameter types as conversion targets for LLSD values.
-
Nat Goodspeed authored
-
- Jan 27, 2011
-
-
file:///Users/oz/Work/V-DROz Linden authored
-
Oz Linden authored
-
Dessie Linden authored
-
Oz Linden authored
-
Oz Linden authored
-
Oz Linden authored
-
Oz Linden authored
-
- Jan 26, 2011
-
-
Dessie Linden authored
-
David Kaprielian authored
Reviewed by CG.
-
- Jan 25, 2011
-
-
Vadim ProductEngine authored
-
- Jan 24, 2011
-
-
Seth ProductEngine authored
Stored filter sub-string comparison with new string failed because of non-matching register of compared strings. Transforming the new search term to uppercase before comparing it with previous one allows to determine if filter became more or less restrictive and not to restart the search over. Used patch provided by Satomi Ahn.
-
Seth ProductEngine authored
-
Xiaohong Bao authored
fix for SH-445: debug settings -> "CacheNumberOfRegionsForObjects" does not limit the number of object cache files
-
Oz Linden authored
-
Oz Linden authored
-
Aleric Inglewood authored
-
- Jan 21, 2011
-
-
Eli Linden authored
-
Eli Linden authored
-
Xiaohong Bao authored
-
Xiaohong Bao authored
Merge viewer-development-shining up to REV 3bf724ecb7c6 (fix for SH-829: Viewer attempting to load precached images in file types that are not being used.)
-
Oz Linden authored
-
Aleric Inglewood authored
-
Oz Linden authored
-
Aleric Inglewood authored
-
Oz Linden authored
-
Oz Linden authored
-
Oz Linden authored
-
Oz Linden authored
-
Oz Linden authored
-
Oz Linden authored
-
Oz Linden authored
-
Oz Linden authored
-
- Jan 20, 2011
-
-
Oz Linden authored
-
Xiaohong Bao authored
-
Aleric Inglewood authored
-
Aleric Inglewood authored
-