summaryrefslogtreecommitdiff
path: root/indra/newview/llpanellandmarks.h
AgeCommit message (Collapse)Author
2014-05-19mergeBrad Payne (Vir Linden)
2014-01-14MAINT-3510 (Incorrect context menu entry in Places floater)MaximB ProductEngine
2013-05-21mergeBrad Payne (Vir Linden)
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
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-08MAINT-403 FIXED Trash button is now disabled if neither landmark nor folder ↵maxim_productengine
isn't selected.
2012-06-19CHUI-101 WIP Make LLFolderview general purposeRichard Linden
added more casts to LLFolderViewModelItemInventory, etc. to fix compile errors
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-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-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-13Change license from GPL to LGPL (version 2.1)Oz Linden
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-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-09Fixed normal bug EXT-6747 ('Favorites bar' folder became blank after part of ↵Mike Antipov
landmarks were deleted by DnD on Trash button) Reason: LLFolderView::removeSelectedItems() was used to delete dropped items in Places Landmarks Panel. This led to calling this method N times where N is count of selected items. Due to removeSelectedItems() select one of non-removed items each time after removing of selected ones (2*N - 1) items were really deleted. Fix: updated removing in Landmarks panel to remove dropped items one by one. Reviewed by Richard at https://codereview.productengine.com/secondlife/r/204/ --HG-- branch : product-engine
2010-04-08Fixed major bug EXT-6605 (No profile verb button on Places panel)Paul Guslisty
- Added functionality of showing place profile to the LLPanelPlacesTab hierarchy. Use this functionality from LLPanelPlaces as callback for profile button click. Reviewed my Mike Antipov at https://codereview.productengine.com/secondlife/r/191/ --HG-- branch : product-engine
2010-03-17added my landmarks auto-expansion when new folder gets created EXT-6289 ↵Igor Borovkov
(Clicking the plus button in the Places side panel only lets you add landmarks not folders) added auto-expanding My landmarks Tab when it is closed and Add folder menu item is clicked Reviewed by Mike at https://codereview.productengine.com/secondlife/r/10/ --HG-- branch : product-engine
2010-03-16fixed showstopper EXT-6289 (Clicking the plus button in the Places side ↵Igor Borovkov
panel only lets you add landmarks not folders) - PLUS button works as GEAR button and PLUS button on inventory panel (show context menu on click) - "Add a folder" menu item is always enabled (except for received folder) - clicking "Add a folder" menu item creates a folder in My Landmarks tab no matter what has been selected in the Places panel before Reviewed by Mike at https://codereview.productengine.com/secondlife/r/10/ --HG-- branch : product-engine
2010-02-22Minor code cleanup.Sergei Litovchuk
--HG-- branch : product-engine
2010-02-12Fixed reopened critical bug (EXT-4827) [NUX] The Places Panel should default ↵Sergei Litovchuk
to the Landmarks tab with the Library expanded. - Added expanding "Landmarks" folder in the Library on startup. --HG-- branch : product-engine
2010-02-04Fixed critical bug (EXT-4827) [NUX] The Places Panel should default to the ↵Sergei Litovchuk
Landmarks tab with the Library expanded. - Added Library tab set open by default with Landmarks category fetch from Library. --HG-- branch : product-engine
2010-01-21Fixed low bug (EXT-4221) Select and display just created landmark in theSergei Litovchuk
Landmarks panel after closing Create Landmark panel - Added selecting landmark in landmarks panel after it was added or edited. - Added expanding accordion tab containing the selected landmark. --HG-- branch : product-engine
2009-12-25Work on low task EXT-1770 ( Places - Landmarks - Inventory Panels should be ↵Mike Antipov
refactored to use LL implementation of possibility to show specified Inventory folder) -- renamed files from llinventorysubtreepanel to llplacesinventorypanel -- renamed class LLInventorySubTreePanel to LLPlacesInventoryPanel --HG-- branch : product-engine
2009-12-23No ticket. Removed obsolete code for saving Places/My Landmarks folders state.Sergei Litovchuk
--HG-- branch : product-engine
2009-12-23Fixed normal bug EXT-3299 "Can't drag and drop landmarks into an empty ↵Sergei Litovchuk
favorites folder through landmarksSP" - Added drag and drop for empty inventory panel. Dropped item gets to the root folder. - Fixed issue with empty "Landmarks" inventory panel not displaying "No matching items..." message. - Removed accordion updating and hiding in idle routine. This invalidates EXT-2346 "My Landmarks accordion panels shouldn't be displayed if there are no landmarks in respective folders" --HG-- branch : product-engine
2009-12-09Fixed critical bug EXT-3094 (Content of accordions disappears after ↵Mike Antipov
collapsing all folders in My "Landmarks" tab and switching to "Teleport history" tab and back) Reason: Folder state of loaded folders was not saved before switching to Teleport history and back Due to inventory loading was changed to fetch items in background it is impossible to save folder state while initializing of an Inventory panel. Inventory observer was implemented to save folder states for Inventory Panels in all accordions. Reviwed by Seth ProductEngine --HG-- branch : product-engine
2009-12-01Fixed normal bug EXT-2786 (My Landmarks: context menu updates after second ↵Andrew Dyukov
right-click). --HG-- branch : product-engine
2009-12-01Fixed normal bug EXT-2346 "My Landmarks accordion panels shouldn't be ↵Sergei Litovchuk
displayed if there are no landmarks in respective folders". - Added updating accordions contents in idle routine. - Removed inventory observer. --HG-- branch : product-engine
2009-11-23Fixed normal bug EXT-2346 "My Landmarks accordion panels shouldn't be ↵Sergei Litovchuk
displayed if there are no landmarks in respective folders". - Added inventory observer to Landmarks Panel to update accordion tabs visibility upon inventory changes. - Added accordions contents refreshing upon filter edit to fix updating accordion items when filter becomes less restrictive. --HG-- branch : product-engine
2009-11-19Fixed normal bug EXT-2348 "My Landmarks: Show On Map does nothing for ↵Sergei Litovchuk
landmarks from Library" - Added callback to ensure that a landmark is loaded from the global landmark list. - Added disabling "Map" button to indicate that a landmark info is being loaded. --HG-- branch : product-engine
2009-11-16Header file cleanup.Loren Shih
Spelling cleanup. Changed "Inventroy"->"Inventory". Removed a couple of headers from llinventory.h. --HG-- branch : avatar-pipeline
2009-11-06mergeLoren Shih
--HG-- branch : avatar-pipeline
2009-11-06EXT-2278 : "Save Texture As" for bottom panelLoren Shih
EXT-2310 : "Save Texture As" for inventory right-click menu "Save Texture As" now works properly and brings up the texture preview while saving. Also added "Save Texture As" to the right-click inventory context menu. --HG-- branch : avatar-pipeline
2009-11-04No ticket. Removed extra includes. Fixed copyright years.Sergei Litovchuk
--HG-- branch : product-engine
2009-10-28Fixed normal bug EXT-1619 (Accodion panel should be hidden if it has no ↵Mike Antipov
content matches filter) - added processing a count of visibled items in accordion tabs. --HG-- branch : product-engine
2009-10-27fixed Bug EXT-1602 'Add new folder' and 'Add new landmark' has same ↵Denis Serdjuk
icons that is deceitful New menubutton has been implemented according to Viewer 2.0 Design Specification:Places Task Panel. It generates a menu for AddLandmark and AddFolder options --HG-- branch : product-engine
2009-10-23Merging revisions 2156-2183 of ↵Steven Bennetts
https://svn.aws.productengine.com/secondlife/pe/stable-2 into P:\svn\viewer-2.0.0-3, respecting ancestry * Bugs: EXT-1590 EXT-1694 EXT-1660 EXT-1646 EXT-1694 EXT-1316 EXT-1775 EXT-1798 EXT-1799 EXT-1117 EXT-1571 EXT-1572 * Dev: EXT-1757 EXT-991 EXT-1758 EXT-1770 EXT-1192 EXT-1613 EXT-1611 EXT-1256 EXT-1758 EXT-747
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-21Merging revisions 2094-2099 of ↵Steven Bennetts
https://svn.aws.productengine.com/secondlife/pe/stable-2 into P:\svn\viewer-2.0.0, respecting ancestry * Bugs: EXT-1612 EXT-1604 EXT-1163 EXT-1163 EXT-1167 * Dev: EXT-1516
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-19Merging revisions 2046-2068 of ↵Steven Bennetts
https://svn.aws.productengine.com/secondlife/pe/stable-2 into P:\svn\viewer-2.0.0, respecting ancestry * Bugs: EXT-1414 EXT-1213 EXT-1539 EXT-1253 EXT-1446 EXT-1438 EXT-1233 EXT-1466 EXT-1446 EXT-1512 EXT-1231 * Dev: EXT-719 (landmarks) EXT-747 EXT-1446 EXT-1378 EXT-397 EXT-1476 * IM changes
2009-08-28svn merge -r 1490-1500 https://svn.aws.productengine.com/secondlife/pe/stable-2Steven Bennetts
Bug Fixes: * EXT-637 EXT-595 Dev work: * EXT-694 QA: * Be sure feature works on other locales Known issues: * If old Calling Card of person who presents in the friend list is removed - "Do you want to remove ..." dialog is shown, if old Calling Card of non-friend is removed it is removed in the old way without any alerts. * It is possible to create 2 deep level subfolders under the Calling Cards/Friends/ subfolders. This should be disabled due to Accordion does not support tree hierarchy. * If friendship is removed when agent is offline, Friend Card is not removed from Inventory.
2009-07-21merge ↵Steven Bennetts
https://svn.aws.productengine.com/secondlife/export-from-ll/viewer-2-0/indra@1059 https://svn.aws.productengine.com/secondlife/pe/stable-1/indra@1070 -> svn+ssh://svn.lindenlab.com/svn/linden/branches/viewer/viewer-2.0.0-3
2009-07-07Merge skinning-14 to viewer-2, including refactoring many floaters to ↵James Cook
register them with LLFloaterReg, support for introspection of ParamBlock based UI widgets to dump XML schema, splitting llfolderview.cpp into three separate files to unravel dependencies and skeleton for for LLListView widget. Resolved conflicts in these files: lldraghandle.h, lluictrl.h, llchiclet.cpp, llfolderview.h/cpp, lliinventorybridge.cpp, llpanelpicks.cpp, llviewermenu.cpp, floater_mute.xml, floater_preferences.xml, notifications.xml, panel_preferences_audio.xml, panel_preferences_graphics1.xml, panel_region_general.xml svn merge -r124961:126284 svn+ssh://svn.lindenlab.com/svn/linden/branches/skinning/skinning-14
2009-07-02merge ↵Steven Bennetts
https://svn.aws.productengine.com/secondlife/export-from-ll/viewer-2-0@873 https://svn.aws.productengine.com/secondlife/pe/stable@888 -> viewer-2.0.0-pe-4
2009-06-21merge -r 122421-124917 viewer-2.0.0-2 -> viewer-2.0.0-3Steven Bennetts
ignore-dead-branch