- Nov 10, 2015
-
-
Oz Linden authored
-
- Aug 05, 2013
-
-
Nat Goodspeed authored
The logic in llcommandlineparser.cpp's setControlValueCB() callback function for converting command-line switch argument values from string to the actual type of the map-to settings variable had a couple special cases for boolean and LLSD array. But for S32, U32 and F32, it simply used default LLSD string-to-numeric conversion. LLSD's string-to-numeric conversion is a bit lame: for non-numeric strings, it shrugs and returns 0. Introduce onevalue() and badvalue() helper functions that, like certain errors during command-line parsing, throw LLCLPError. Use them to streamline certain redundancies in setControlValueCB(). Introduce convertTo<T>() helper function that uses boost::lexical_cast() for slightly more stringent conversions. Add cases for U32, S32 and F32 targets. setControlValueCB() is actually called only by LLControlGroupCLP::notify(), not during actual command-line parsing. Make LLControlGroupCLP::notify() return bool. Make it catch LLCLPError, set the error for getErrorMessage() and return false on that exception. Package LLAppViewer::initConfiguration()'s response to initParseCommandLine() returning false as a new handleCommandLineError() function; invoke it both there and when LLControlGroupCLP::notify() returns false.
-
- Mar 29, 2013
-
-
Graham Madarasz authored
-
- Oct 13, 2010
-
-
Oz Linden authored
-
- Sep 21, 2010
-
-
Brad Payne (Vir Linden) authored
-
- Aug 13, 2010
-
-
Oz Linden authored
-
- Jan 07, 2009
-
-
Aaron Brashears authored
Result of svn merge -r107256:107258 svn+ssh://svn/svn/user/phoenix/license_2009_merge into trunk. QAR-1165
-
- Jun 25, 2008
-
-
Steven Bennetts authored
dataserver-is-deprecated
-
- Apr 16, 2008
-
-
Steven Bennetts authored
merge Branch_1-20-Viewer -r 84432 : 84760 -> release
-
- Mar 20, 2008
-
-
Steven Bennetts authored
QAR-369
-
- Mar 14, 2008
-
-
Steven Bennetts authored
-
Mark Palange authored
QAR-369 - viewer-cleanup2-7 81916 merged into release.
-