summaryrefslogtreecommitdiff
path: root/indra/newview/lllogininstance.cpp
AgeCommit message (Collapse)Author
2015-01-23Make MandatoryUpdateMachine use LLLoginInstance's LLNotificationsInterface.Nat Goodspeed
LLLoginInstance has a test hook setNotificationsInterface(), used by lllogininstance_test.cpp to redirect notifications through a dummy LLNotificationsInterface implementation. Certain of LLLoginInstance's MandatoryUpdateMachine state classes need to post notifications too; but until now they directly called LLNotificationsUtil::add(). In the production viewer, this should (!) be the same as calling through LLLoginInstance::mNotifications -- but it broke two of the LLLoginInstance unit tests, so they were skipped. Since MandatoryUpdateMachine's constructor is already passed the invoking LLLoginInstance&, make it store the reference. Add MandatoryUpdateMachine:: getNotificationsInterface(), which forwards to new LLLoginInstance:: getNotificationsInterface(). Change LLNotificationsUtil::add() calls in MandatoryUpdateMachine state classes to call through mMachine's getNotificationInterface() instead. This allows us to remove #include "llnotificationsutil.h" from lllogininstance.cpp, also that #include plus stub LLNotificationsUtil::add() implementation from lllogininstance_test.cpp. Finally, it allows us to remove the skip() calls from the two unit tests.
2014-10-19Update to build on Xcode 6.0: removal on unused variable(s) need more ↵callum_linden
thought from Nat
2013-08-09second phase summer cleaningRichard Linden
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-05-30NORSPEC-158 fix issues with loading of bumpmaps on clean installGraham Madarasz
2013-05-30BUG-2707 add some logging to help narrow down what part of login instance ↵Graham Madarasz
handling is going awry
2013-04-19merge up to latest viewer-development for merge to 3.5.2Oz Linden
2013-04-02Add reporting of last_exec_durationOz Linden
(and clean up logic around multiple instances)
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-03-27change login to pass only the version instead of channel+version in the ↵Oz Linden
version parameter (channel is passed separately)
2013-03-27add platform and platform version to login request parameters for new ↵Oz Linden
version manager query
2013-02-27finish changes to update handling, including notices of channel changesOz Linden
2013-02-21add use of v1.1 update request protocol, with fallback to v1.0Oz Linden
2011-09-20EXP-1230 FIX As a resident, I want to not have to choose a UI modeRichard Linden
removed all references to basic mode
2011-08-26disabled basic inventory root creationRichard Nelson
reviewed by Stone
2011-08-10CHOP-757 Ask for the inventory-basic login option and dump its return id to ↵Aaron Stone
llinfo.
2011-05-11WIP: viewer side of ER-864: Include message ids and args in login.cgi responsesJoshua Bell
* Look for message_id and message_args in XMLRPC response, look up localized string in strings.xml * Support sub-maps in XMLRPC response conversion to LLSD * Explicitly request extended error info during login (since including sub-maps breaks older viewers) * Support LLSD-based substitutions in LLTrans::getString/findString
2011-04-15EXP-679 As a linden executive, I would like to evaluate the success of basic ↵Leyla Farazha
mode against various metrics
2011-01-28Extend LLEventAPI to directly call other functions & methods.Nat Goodspeed
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.
2011-01-20merge changes from viewer-betaOz Linden
2011-01-14fix CHOP-366, on temporary errors (e.g. version manager returns other than ↵Andrew A. de Laix
200) show error dialog instructing the user to manually install the latest viewer.
2011-01-13VWR-24401 Show TOS and other login dialogs when --login is usedJoshua Bell
2010-12-21Merge from trunkAndrew A. de Laix
2010-12-10destroy updater state machine if login instance destroyed.Andrew A. de Laix
2010-12-10ui improvements to more closely match UX design.Andrew A. de Laix
2010-12-08merge with viewer-devRichard Linden
2010-12-07show progress bar while downloading update.Andrew A. de Laix
2010-12-07login instance coordinates with updater serviceAndrew A. de Laix
2010-12-02mergeMonroe Linden
2010-12-01CHOP-238 Fix to bug introduced by ↵Mark Palange (Mani)
http://hg.secondlife.com/viewer-beta/changeset/4072bd5389b2 Reviewed by Brad
2010-11-19Automated merge with http://bitbucket.org/lindenlab/viewer-developmentBill Curtis
2010-11-19Automated merge with file:///Users/Bill/Projects/viewer-releaseBill Curtis
2010-11-15mergeRichard Linden
2010-11-08changes to read max-agent-groups from login.cgi responseBill Curtis
2010-11-01VWR-23666 Removed setting VersionChannelName. LLVersionInfo::resetChannel() ↵Mark Palange (Mani)
and unit tests. Reviewed by brad.
2010-10-26EXP-299 FIXED Pass end-user IP and MAC from Gaikai to login.cgiRichard Linden
2010-09-27MergeLeyla Farazha
2010-09-09DEV-53087 FIX TOS does not appear for new usersRichard Linden
reviewed by Callum
2010-09-03Post-convert merge by convert_monolith.py from ↵Aimee Linden
/Users/Aimee/Documents/Work/Linden-Lab/Development/viewer/convert/viewer-identity-evolution
2010-08-13Change license from GPL to LGPL (version 2.1)Oz Linden
2010-07-30Merge with dessie/viewer-releaseLeyla Farazha
2010-07-23Fix EXT-8483 second iteration: use old nodeId when available but try new ↵Andrew A. de Laix
machine id when not so reported id stays consistent with prior versions most of the time.
2010-07-22Fix EXT-8483: switch to LLMachineID::getUniqueID which should always work on ↵Andrew A. de Laix
windows (no dependency on Netbios).
2010-07-06Merge from dessie/viewer-releaseLeyla Farazha
2010-06-22Revert to previous implementation of getNodeId.Andrew A. de Laix
2010-05-13merge pull from dessie/viewer-public, picking up SLE codeJames Cook
2010-05-11merge from dessie/viewer-public right before SLE code landedJames Cook
2010-05-04DEV-45807 - worldmap doesn't work against non maingrid serversRoxie Linden
The code used to retrieve the tiles for the world map was hardcoded to retrieve the map tiles via s3. However, non-maingrid servers do not necessarily publish their map tiles to s3. The URL was in the form http://map.secondlife.com.s3.amazonaws.com/map-<level>-<x>-<y>-objects.jpg This change removes the hard coding and places the default s3 URL in the settings.xml file via MapServerURL. Login retrieves the specific grids URL via a map-server-url option. The url is still expected to contain jpegs named like map-<level>-<x>-<y>-objects.jpg CR: Karina Linden
2010-04-19Viewer asks login.cgi if the grid supports display namesJames Cook
If not, turns off display names. Cleaned up name cache reset code. Alphabetized login auth param requests for easier merges going forward.
2010-04-19automated merge with trunkRoxie Linden
2010-04-09Change comment that wasn't updated with the code. No functionality changes.Kent Quirk