summaryrefslogtreecommitdiff
path: root/indra/viewer_components/updater/llupdatechecker.cpp
AgeCommit message (Collapse)Author
2013-10-29Merge viewer-release => sunshine-internalDon Kjer
2013-10-15merge changes for DRTVWR-336Oz Linden
2013-09-10mergeBrad Payne (Vir Linden)
2013-09-04mergeBrad Payne (Vir Linden)
2013-08-27merge changes for 3.6.4-releaseOz Linden
2013-08-26correct merge error in llupdatechecker.cppOz Linden
2013-08-26merge changes for 3.6.4-releaseOz Linden
2013-07-30CHOP-975: Remove fallback to v1.0 update query when the v1.1 gets a 404 responseOz Linden
2013-07-09CHOP-963: Make update service query url depend on the grid rather than settingsOz Linden
2013-06-17Merged with viewer-releaseGeenz
2013-05-21more merge fixingBrad Payne (Vir Linden)
2013-05-21mergeBrad Payne (Vir Linden)
2013-05-13Merged with https://bitbucket.org/lindenlab/viewer-betaGeenz
2013-05-13CHOP-942: fix crash if update check times outOz Linden
2013-04-19merge up to latest viewer-development for merge to 3.5.2Oz Linden
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-03-13Large changes to the LLCurl::Responder API, as well as pulling in some ↵Don Kjer
changes to common libraries from the server codebase: * Additional error checking in http handlers. * Uniform log spam for http errors. * Switch to using constants for http heads and status codes. * Fixed bugs in incorrectly checking if parsing LLSD xml resulted in an error. * Reduced spam regarding LLSD parsing errors in the default completedRaw http handler. It should not longer be necessary to short-circuit completedRaw to avoid spam. * Ported over a few bug fixes from the server code. * Switch mode http status codes to use S32 instead of U32. * Ported LLSD::asStringRef from server code; avoids copying strings all over the place. * Ported server change to LLSD::asBinary; this always returns a reference now instead of copying the entire binary blob. * Ported server pretty notation format (and pretty binary format) to llsd serialization. * The new LLCurl::Responder API no longer has two error handlers to choose from. Overriding the following methods have been deprecated: ** error - use httpFailure ** errorWithContent - use httpFailure ** result - use httpSuccess ** completed - use httpCompleted ** completedHeader - no longer necessary; call getResponseHeaders() from a completion method to obtain these headers. * In order to 'catch' a completed http request, override one of these methods: ** httpSuccess - Called for any 2xx status code. ** httpFailure - Called for any non-2xx status code. ** httpComplete - Called for all status codes. Default implementation is to call either httpSuccess or httpFailure. * It is recommended to keep these methods protected/private in order to avoid triggering of these methods without using a 'push' method (see below). * Uniform error handling should followed whenever possible by calling a variant of this during httpFailure: ** llwarns << dumpResponse() << llendl; * Be sure to include LOG_CLASS(your_class_name) in your class in order for the log entry to give more context. * In order to 'push' a result into the responder, you should no longer call error, errorWithContent, result, or completed. * Nor should you directly call httpSuccess/Failure/Completed (unless passing a message up to a parent class). * Instead, you can set the internal content of a responder and trigger a corresponding method using the following methods: ** successResult - Sets results and calls httpSuccess ** failureResult - Sets results and calls httpFailure ** completedResult - Sets results and calls httpCompleted * To obtain information about a the response from a reponder method, use the following getters: ** getStatus - HTTP status code ** getReason - Reason string ** getContent - Content (Parsed body LLSD) ** getResponseHeaders - Response Headers (LLSD map) ** getHTTPMethod - HTTP method of the request ** getURL - URL of the request * It is still possible to override completeRaw if you want to manipulate data directly out of LLPumpIO. * See indra/llmessage/llcurl.h for more information.
2013-02-22Merge new boost and add OS X 10.8 modsGraham Madarasz (Graham Linden)
2013-03-27add platform and platform version to login request parameters for new ↵Oz Linden
version manager query
2013-03-26log any error code and text received as an llsd body in a failure responseOz Linden
2013-03-06cosmetic logging fixOz Linden
2013-03-05remove old hack for legacy mac updates (no system that needed that will run ↵Oz Linden
this version anyway)
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
2012-10-03Fix non-thread-safe refcounting of LLHTTPClient::Responder and fix ↵Dave Parks
out-of-order deletion of LLTextureFetch on shutdown
2012-08-1510.5 macs will begin looking for mac_legacy rather than macAura Linden
2010-11-08Get rid of intrusive_ptr member to prevent crash on shutdown.Andrew A. de Laix
2010-11-04some better error handling.Andrew A. de Laix
2010-11-04checker working with v1.0 update protocol.Andrew A. de Laix
2010-11-04just barely working udate downloading service; missing little nicities like ↵Andrew A. de Laix
error checking and sill stuff like that.
2010-11-02MergeAndrew A. de Laix
2010-11-01On Windows, disable this-used-in-initializer warning.Nat Goodspeed
2010-11-01changes in respone to review comments.Andrew A. de Laix
2010-10-29fix quoting of url in version check.Andrew A. de Laix
2010-10-29added periodic retry to look for updatesAndrew A. de Laix
2010-10-28shell of the update checker; it will just print a message to the log ↵Andrew A. de Laix
depending on the result of the check one time.