summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterwebcontent.cpp
AgeCommit message (Collapse)Author
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.
2012-03-06EXP-1767 WIP Received Items panel state does not persist between sessionsRichard Linden
ensure that layout stack has updated its layout before manually resizing one of its elements (which was causing the manual resize to be stomped on by the newly triggered layout update) made layout stack animation occur even when layout stack not visible (inventory will appear in proper open/closed state) LLView::setShape() now only calls handleReshape() when dimensions change removed extraneous calls to LLLayoutStack::updateClass() so that it should be called only once per frame now, allowing it to limit animation updates to layout stacks to one per frame. fixed rendering glitches arising from reshaping LLFolderView while in the middle of its draw() method
2011-12-12merge changes for vmrg-204Oz Linden
2011-12-06EXP-1577 FOLLOWUP Implemented new requirements on size of profile floaters.Vadim ProductEngine
Implemented new requirements from XD: "Profile window should keep last size, regardless of whether it was own profile or another users'. If multiple windows open, last one touched is the size we store."
2011-11-23SH-2710 FIX -- Removed calls to getChild happening every frame and during ↵Leslie Linden
idle calls. Reviewed by davep.
2011-11-10fixed buildRichard Linden
fixed handle downcast not initiating handle
2011-10-14EXP-1272 FIX Move "How To" to a separate web floaterRichard Nelson
fixed title of how to window to always say "How To" instead of showing url
2011-10-10EXP-1310 FIX Profile button should open Web Profile floaterRichard Nelson
removed unused LLWeb functions for opening non-web media moved logic inside floaters and away from auxiliary functions
2011-08-09EXP-880 FIX Disable address bar copy menu and open in external browser buttonRichard Linden
when using trusted browser or explicitly disabling address bar
2011-07-29EXP-1057 FIX Cursor doesn't go to the input field on the Find Floater due to ↵Richard Linden
lack of window focus also allow right clip to copy url from disabled address bar
2011-07-29EXP-1056 FIX Web popup issues with Web Content BrowserRichard Linden
changed browser id back to a string so it accepts malformed uuid strings coming from webkit - "{uuid}" instead of "uuid"
2011-07-27fix for gccRichard Nelson
2011-07-26EXP-1021 FIX Position of web content browser dictates position of profile ↵Richard Nelson
panel - profile panel position changes do not persist EXP-1030 FIX Search button toggle can get out of synch in bottom bar made llinstancetracker::iterator do own nested level management (removing need for separate guard) added support for filename= to floaters can pass in arbitrary window_class to floaters
2011-07-20EXP-880 FIX Enable navigation chrome for Search floaterRichard Nelson
changes in size of target windows other than _blank or "" are not saved EXP-1018 FIX Profile button in Basic mode does not toggle correctly when profile is opened and toggles on and closes other Web Content Panel windows
2011-07-13EXP-1009 WIP Teleport links from Search floater and destination guide in ↵Richard Linden
viewer fail with intrusted browser error in viewer
2011-07-12EXP-880 FIX Enable navigation chrome for Search floaterRichard Linden
search floater derives from floater_web_content all web content now uses floater_web_content instead of media_browser
2011-07-05EXP-982 FIX As a user, I would like to see the new web-based profiles ↵Richard Linden
without any browser chrome and at an appropriate default size
2011-01-06STORM-826 (workaround): correct mixed and dos-style line endingsOz Linden
2010-12-20Fix for a couple of minor merge issues.Monroe Linden
2010-12-17SOCIAL-395 (FIX) LLWebContentFloater not handling Javascript size and window ↵callum
position parameters in Change to llfloaterwebcontent.cpp is a whitespace change only to fix a broken checkin
2010-12-16SOCIAL-392 FIX Web Content Panel does not save location history between sessionscallum
2010-12-15SOCIAL-389 FIX Stop button in Web Content panel does not stop page content ↵callum
from loading or progress bar So many things wrong here it wasn't funny - button not enabled, button not connected to function, wrong call to stop browser etc.
2010-12-14SOCIAL-369 FIX Hitting reload on the media browser removes entries from ↵Monroe Linden
location history for that session in Webkit 4.7
2010-12-14SOCIAL-383 FIX Sites with no titles do not show web address in title bar in ↵callum
Web Content Browser
2010-12-14SOCIAL-373 FIX Media browser does not show https secure icon in address bar ↵callum
when a site is loaded over https
2010-12-08SOCIAL-358 FIX Add button to Web Content floater to open current URL in ↵callum
system browser
2010-12-03SOCIAL-248 FIX Remove HEAD requests from WebKitMonroe Linden
This change makes LLFloaterWebContent always specify a MIME type of "text/html" when navigating to an URL. This tells the plugin system to skip the MIME type probe (which is what does the HEAD request) and just use the WebKit plugin. This means non-web content (such as QuickTime movies) may not work properly in the web content floater. Hopefully this won't be a problem...
2010-12-03Silly whitespace issue - no code change.callum
2010-12-02SOCIAL-311 FIX Media browser has too many oddities to be useful for viewer ↵callum
web apps Completes MVP
2010-12-01SOCIAL-311 PARTIAL FIX Media browser has too many oddities to be useful for ↵callum
viewer web apps Added support for graphic browser buttons and laid them out differently
2010-12-01SOCIAL-311 PARTIAL FIX (2) Media browser has too many oddities to be useful ↵callum
for viewer web apps Latest traunch of fixes to new Web only content floater Also removed line in test app that fails to build - have a note to fix later
2010-11-30SOCIAL-311 PARTIAL FIX Media browser has too many oddities to be useful for ↵callum
viewer web apps