summaryrefslogtreecommitdiff
path: root/indra/newview/llpanellandmarks.cpp
AgeCommit message (Collapse)Author
2013-03-13Merging LLCURL::Responder changes with CHUI changes. Fixed gcc 4.6 compile ↵Don Kjer
failures
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-01-30Pull merge from lindenlab/viewer-developementMerov Linden
2012-08-20CHUI-295: Problem: The places panel implemention was incomplete and trying ↵Gilbert Gonzales
to make use of a class that was not fully implemented (placesfolderview). Resoltuion: Upon creation of the places panel, placesfolderview is created which contains the proper overloaded functions to show the correct menu when right clicking.
2012-08-08MAINT-403 FIXED Trash button is now disabled if neither landmark nor folder ↵maxim_productengine
isn't selected.
2012-08-01CHUI-267 FIX Full inventory listing not always shown for test accountRichard Linden
changed LLFolderViewModelInterface::getFilter() to return a reference, since it is never NULL removed sort order from filter, which was causing unneeded filtering
2012-07-30CHUI-217 FIX Items are not visible in Merchant OutboxRichard Linden
cleaned up a lot custom code for folder view item creation in inbox and outbox proper initialization of views from inventory panel starting folder
2012-07-17CHUI-234 : Fix crashers in landmarks panelMerov Linden
2012-07-02CHUI-101 WIP Make LLFolderView general purposeRichard Linden
started to remove newview dependencies from llfolder*
2012-06-27CHUI-101 WIP Make LLFolderView general purposeRichard Linden
moved filtering logic to viewmodel
2012-06-19CHUI-101 WIP Make LLFolderview general purposeRichard Linden
added more casts to LLFolderViewModelItemInventory, etc. to fix compile errors
2012-06-15CHUI-101 WIP Make LLFolderView general purposeRichard Linden
continuing fixing build errors renamed llfoldervieweventlistener.h to llfolderviewmodel.h
2012-06-15Automated merge with ssh://hg.lindenlab.com/richard/viewer-chui-folderviewRichard Linden
2012-06-15CHUI-101 WIP Make LLFolderView general purposeRichard Linden
llfolderview refactornig
2012-02-17EXP-1906 : Allow cut of folders in place panel.Merov Linden
2011-11-02EXP-1178 FIX -- Places floater sorted weird and landmark folders inside are openLeslie Linden
2011-09-29EXP-1209 FIXED Sidetray removed.Paul ProductEngine
- Removed all sidetray dependencies and the sidetray itself. - Also removed LLFloaterSidetrayTab and LLSidetrayListener as unused.
2011-09-22EXP-1223 FIXED (Create and register a floater for Places side tab)Paul ProductEngine
- Added xml for a new floater and registred it in the floaterreg - Removed side tray dependencies - Added static helper method: LLFloaterSidePanelContainer::showPanel
2011-07-05EXP-971 FIX New Direct Delivery item does not sort as most recent item in ↵Richard Linden
Recent Tab if that tab is open when item delivered
2011-06-23Automated merge with ssh://hg.lindenlab.com/richard/viewer-experienceRichard Linden
2011-06-23Automated merge with http://hg.secondlife.com/viewer-developmentRichard Linden
2011-06-22EXP-923 FIX Landmarks moved to new folders do not show as moved until relog ↵Richard Linden
in viewer - Delete, Copy, and Paste functions not working as well
2011-06-17EXP-915 FIX remove mHidden and mStartFolderID from LLFolderView*Richard Linden
cleaned up and refactored inventory code a bit reviewed by Leyla
2011-06-15STORM-1339 FIXED Making a preventive fix for a crash in ↵Vadim ProductEngine
LLPanelPlaces::onTeleportButtonClicked().
2011-01-17STORM-383 FIXED Added "Restore Item" context menu entry for landmarks and ↵Seth ProductEngine
folders in Trash category in Places->My Landmarks->My Inventory accordion tab.
2010-11-22Fix for CHOP-220. Reviewed by mani.brad kittenbrink
2010-10-22STORM-426 FIXED Menu button no longer looked pressed while its menu is ↵Seth ProductEngine
displayed by another control. - LLMenuGL in menu button replaced by LLToggleableMenu that handles visibility change upon clicks inside specific button rect. - Added visibility change signal to LLToggleableMenu to update menu button pressed state. - Added using menu handle in LLMenuButton.
2010-10-15STORM-263 FIXED popup menu of Cog button in lower-left of sidebar panel ↵Seth ProductEngine
closing on second click - Changed type of gear menu buttons from LLButton to LLMenuButton in all sidebar panels where gear menu button is used. - Added setMenuPosition(), setMenu() and updateMenuOrigin() to the LLMenuButton. - Moved actions common for displaying a context menu to LLMenuButton::toggleMenu(). - In all sidebar panels where LLButton was replaced with LLMenuButton the following steps were taken: 1. setting gearMenu and its position relative to the menuButton with LLMenuButton::setMenu() 2. setting mouse down callback for the menuButton if needed. 3. calculating the menu origin point with LLMenuButton::updateMenuOrigin() in mouse down callback
2010-09-28STORM-266 FIXED displaying group notices in detached People SP.Seth ProductEngine
Fixed failure getting pointers to some child panels of LLSideTray while parent side panels are detached.
2010-09-16mergeRichard Linden
2010-09-16STORM-149 FIXED Disabled 'Cut' in My Landmarks context menu when selected ↵Sergei Litovchuk
items contain a folder. Changed some of context menu actions availability checks to be applied to all selected items instead of only the last one.
2010-08-27Post-convert merge by convert_monolith.py from ./viewer-experienceMonroe Linden
2010-08-26Manual merge from default branchVadim Savchuk
--HG-- branch : product-engine
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-20changed buildPanel/buildFloater to member functions buildFromFileRichard Nelson
streamlined LLUICtrlFactory's interface
2010-08-19EXT-8697 FIXED Disabled "Cut" context menu item for folders in 'My Landmarks'.Sergei Litovchuk
Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/867/. --HG-- branch : product-engine
2010-08-18EXT-7325 FIXED Disabled "Show on Map" context menu item in My Landmarks ↵Sergei Litovchuk
while landmark coordinates are being downloaded from landmarks list. Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/866/. --HG-- branch : product-engine
2010-08-16cleaned up LLUICtrlFactory...Richard Nelson
removed redundant functionality moved buildPanel to LLPanel
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-30deprecated LLPanel::child*() methodsRichard Nelson
2010-06-10EXT-7608 FIXED TeleportHistory and Landmarks panels now sets "enable" for ↵Vladimir Pchelko
"Map" bottom according to Design Spec. reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/546/ --HG-- branch : product-engine
2010-06-02EXT-6744 FIX add settigns variable "LandmarksSortedByDate"Yuri Chebotarev
reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/489/ --HG-- branch : product-engine
2010-05-14EXT-4088 FIXED (INFRASTRUCTURE) Change LLFolderView::getSelectionList to ↵Loren Shih
return a selection Fixed issue where mCurrentSelectedList was being used before NULL check.
2010-05-13EXT-4088 : FIXED : INFRASTRUCTURE : Change LLFolderView::getSelectionList to ↵Loren Shih
return a selection Function signature change to return a selection instead of taking one as an argument.
2010-05-11EXT-7075 FIXED Map button now is always enabled and shows current user ↵Andrew Polunin
location if no other item is selected - Added new pure virtual member function isSingleItemSelected() to the LLPanelPlacesTab. It is used in the LLPanelPlaces class inside onShowOnMapButtonClicked() to check if something was selected on the active panel. If so then selection is shown on the world map. Otherwise current agent position is shown on the world map. - Implemented isSingleItemSelected() in the both LLPanelPlacesTab derived classes: LLLandmarksPanel and LLTeleportHistoryPanel - Removed functionality which disables Map button if no selection is made Reviewed by Sergey Litovchuk at https://codereview.productengine.com/secondlife/r/355/ --HG-- branch : product-engine
2010-04-28Fixed critical bug EXT-4837 ( [NUX] When filter results in null state, ↵Mike Antipov
provide a message suggesting the user try global search.) Implemented passing of entered filter substring without head spaces to search URI in help message for null filtered results. * Updated setting "no item message" to use search term from filter editor for avatar & group lists and for inventory panels. * Updated appropriate translatable strings to get [SEARCH_TERM] substitution. * Updated processing of filter substring to pass original string to methods applied new filter. Additional necessary changes * Changed place to set "no item message" for group list from refresh to where filter is updated (like in avatar lists) * Removed converting of filter substring to upper case in Places & My Appearance sidepanels (this conversion has already been implemented in where filter is applied) * Added a separate message for Landmarks to set search URI to secondlife:///app/search/places for Lanmarks panel; other inventory related panels have URL to all searched categories (secondlife:///app/search/all) Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/326/ --HG-- branch : product-engine