summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelplaceinfo.cpp
AgeCommit message (Collapse)Author
2013-05-21mergeBrad Payne (Vir 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.
2010-11-22Fix for CHOP-220. Reviewed by mani.brad kittenbrink
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-09-03Merge between james/viewer-identity-evolution and dessie/viewer-publicAimee Linden
2010-08-24Backed out changeset c3d41f18ce2bTofu Linden
back-out the back-out for this branch. yay.
2010-08-24Backed out changeset a62bf7c0af21Tofu Linden
Backing out this merge that I pushed (prematurely) to the wrong place.
2010-08-24merge heads. whew.Tofu Linden
2010-08-13Change license from GPL to LGPL (version 2.1)Oz Linden
2010-08-10(hairy) merge from viewer-releaseTofu Linden
2010-08-09patching from fixes made in dessie/viewer-releasegabriel lee
2010-07-30Merge with dessie/viewer-releaseLeyla Farazha
2010-07-22EXT-8342 FIXED Fixed displacement of decription textbox in Place Profile ↵Andrew Dyukov
after reshape. Bug was reproducible on Windows and not on Linux because of different moment when onTopLost() was called for textbox. On Windows it happened only after reshape, on Linux- before reshape. Made windows behaviour in case of top lost consistent with Linux behaviour. - An if was added into LLPanelPlaceInfo::reshape to force collapsing description textbox on Windows at the beginning of reshape (the only case when reshape is skipped there now is when it's caused by expanding/collapsing this textbox, so called_from_parent for panel is FALSE). Reviewed by Richard Nelson at https://codereview.productengine.com/secondlife/r/779 --HG-- branch : product-engine
2010-07-27merge from PE's viewer-trunkTofu Linden
2010-07-26EXT-8391 FIXED Landmark creation and error handling.Sergei Litovchuk
- Added displaying error messages in Create Landmark panel upon remote parcel request fail. - Moved landmark creation from LLPanelLandmarkInfo::processParcelInfo() because we use only agent's current coordinates instead of waiting for remote parcel request to complete. Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/793/. --HG-- branch : product-engine
2010-07-06Merge from dessie/viewer-releaseLeyla Farazha
2010-06-30EXT-8001 FIXED [TRUNCATION] [HARD CODE] IT - create new favorite title has ↵Paul Guslisty
truncated text - Set tooltip for titles in PanelPlaces panel - Also fixed translation of Favorites forlder in inventory. Corrected value of name attribute in strings.xml Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/676/ --HG-- branch : product-engine
2010-06-24EXT-7046 FIX User profile using wrong placeholder/generic profile pic artRichard Linden
2010-05-28WIP Fix miscellaneous display names in UIJames Cook
2010-03-08Merge with viewer 2 beta 4James Cook
2010-02-25Fixed normal bug (EXT-5748) Useless area on Place Profile panel.Sergei Litovchuk
- Reduced unused size in Place Profile and Landmark Info panels. --HG-- branch : product-engine
2010-02-03mergeJames Cook
2010-02-01Support returning full_name (and SLID) for LLCacheName::get() callsJames Cook
Changed callback signature to full_name instead of first_name,last_name Eliminated all calls to legacy (non-signal/non-boost-bind) lookup mechanism Change Pay dialog names to SLURL links Tweaked layout of Pay Resident and Pay via Object floaters to make SLURLs fit Consolidate name first + " " + last concatenation in LLCacheName::buildFullName() Reviewed with Kelly
2010-01-27CID-388Tofu Linden
Checker: UNINIT_CTOR Function: LLPanelPlaceInfo::LLPanelPlaceInfo() File: /indra/newview/llpanelplaceinfo.cpp
2010-01-26Fixed normal bug (EXT-4720) N/A is displayed in the Create Landmark panel ↵Sergei Litovchuk
while data is retrieved. --HG-- branch : product-engine
2010-01-22No ticket, Includes cleanup. Spaces cleanup.Sergei Litovchuk
--HG-- branch : product-engine
2010-01-22Fixed (EXT-4589) 'About Land' floater loose information after user quit ↵Sergei Litovchuk
Place Profile - Fixed Places panel not to remove parcel selection when it is used by "About Land" floater. --HG-- branch : product-engine
2009-12-15Fixed normal bug EXT-3409 "Places panel: pick for remote location created ↵Sergei Litovchuk
with current agent's coordinates". - Fixed storing global position for remote location pick. - Fixed setting current location to the pick. - Fixed pick location text. Added resolving remote parcel name from ID. - Cleaned up unused code in llpanelpick. --HG-- branch : product-engine
2009-11-13Refactoring of llviewerprecompiledheaders.h to hopefully increase stabilitybrad kittenbrink
and reduce unnecessary dependencies and incredibuild wedging. Hopefully in the long run this will reduce build time. Also cleaned up a lot of header file usage to conform better to the coding standard. reviewed by james and steve.
2009-11-18Fixed normal bug EXT-2461 "Edit Landmark panel isn't resized":Sergei Litovchuk
- Added vertical scroll appearing for Place Profile and Landmark info panels. - Added horizontal reshaping to avoid redundant horizontal scroll. --HG-- branch : product-engine
2009-11-09- Reverted fix for normal bug EXT-2016 "Place Profile panel isn't resized". ↵Sergei Litovchuk
The reason is that some unnecessary free space is left in Place Profile panel. - Cleaned up obsolete code from Place Profile panel. --HG-- branch : product-engine
2009-11-07Fixed normal bug EXT-2314 "Restore maturity rating in "Landmark" and ↵Sergei Litovchuk
"Teleport History" views": - Added rating icons and text to "Landmark" and "Teleport History" views. - Removed code for "Last Visited" from Teleport History. --HG-- branch : product-engine
2009-11-04No ticket. Removed extra includes. Fixed copyright years.Sergei Litovchuk
--HG-- branch : product-engine
2009-11-04Implemented major task EXT-2054 "Hook up parcel permission icons to parcel ↵Sergei Litovchuk
profile": - Added icon representation of parcel permissions to Place Profile panel. --HG-- branch : product-engine
2009-11-03Implemented sub-task EXT-1452 '"places" title should not be on thisSergei Litovchuk
panel': - Made LLPlaceInfo a base class for two derived LLPlaceProfile and LLLandmarkInfo classes each representing a separate panel with its own XUI layout. - Fixed broken title change for Place Profile and Landmark cases. --HG-- branch : product-engine
2009-11-02fixed Bug EXT-2058 Viewer crash after disconecting when Panel Place ↵Denis Serdjuk
Profile is opened Cause: idle callback was called after viewer had been disconnected and agent's region object was NOT available. --HG-- branch : product-engine
2009-10-28Implemented EXT-1832 'Landmark title - Coordinates should be in second line'.Sergei Litovchuk
--HG-- branch : product-engine
2009-10-28Fixed normal bug EXT-1834 - Check spacing on landmark detail paragraph.Dmitry Zaporozhan
--HG-- branch : product-engine
2009-10-28EXT-1232 Implement \"You are Here\" banner for Place Profile - Parcel ↵Denis Serdjuk
Characteristics Note: \"YouAreHereDistance\" setting has been added to setting.xml --HG-- branch : product-engine
2009-10-23fixed normal bug EXT-1630 Edit Landmark: Current landmark place should be ↵Denis Serdjuk
selected by default in the \"Place Landmark In\" picklist --HG-- branch : product-engine
2009-10-21mergeSteve Bennetts
2009-10-22Merging revisions 2129-2144 of ↵Steven Bennetts
https://svn.aws.productengine.com/secondlife/pe/stable-2 into P:\svn\viewer-2.0.0-3, respecting ancestry * Bugs: EXT-1293 EXT-1611 EXT-1613 EXT-1176 EXT-1724 EXT-1186 EXT-1662 EXT-1760 EXT-1720 * Dev: EXT-1575 EXT-1770 EXT-1232 EXT-1234
2009-10-19mergeSteve Bennetts
2009-10-19Merging revisions 2070-2084 of ↵Steven Bennetts
https://svn.aws.productengine.com/secondlife/pe/stable-2 into P:\svn\viewer-2.0.0, respecting ancestry * Bugs: EXT-792 EXT-1519 EXT-1514 EXT-1245 EXT-1600 EXT-1535 EXT-1174 EXT-1241 * Dev: EXT-1271 EXT-1601 EXT-1154
2009-10-16merge from latest svn/viewer-2-0 to hg/viewer-2-0Mark Palange (Mani)
2009-10-12merge ↵Steven Bennetts
https://svn.aws.productengine.com/secondlife/export-from-ll/viewer-2-0@1967 https://svn.aws.productengine.com/secondlife/pe/stable-2@1971 -> viewer-2.0.0-3 * Bugs: EXT-1431 EXT-1237 EXT-1151 EXT-1165 EXT-1410 EXT-1419 * Dev: EXT-1232
2009-10-09merge ↵Steven Bennetts
https://svn.aws.productengine.com/secondlife/export-from-ll/viewer-2-0@1943 https://svn.aws.productengine.com/secondlife/pe/stable-2@1958 -> viewer-2.0.0-3 * Bugs: EXT-1148 EXT-1330 EXT-990 EXT-1259 EXT-1184 EXT-1327 EXT-1389 EXT-1276 EXT-1390 EXT-1396 EXT-1050 EXT-1094 EXT-1166 EXT-1137 EXT-1327 EXT-782 EXT-1137 EXT-1394 EXT-1326 EXT-917 EXT-1262 * New Dev: EXT-1292 EXT-1139
2009-10-07Merged latest viewer/login-api with latest viewer/viewer-20brad kittenbrink
2009-10-07merge ↵Steven Bennetts
https://svn.aws.productengine.com/secondlife/export-from-ll/viewer-2-0@1908 https://svn.aws.productengine.com/secondlife/pe/stable-2@1917 -> viewer-2.0.0-3 * Bugs: EXT-1257 EXT-1299 EXT-1149 EXT-1117 EXT-1134 * New Dev: EXT-721