summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelteleporthistory.cpp
AgeCommit message (Collapse)Author
2024-02-18Replace BOOL with bool in llwindow and dependent classesAnsariel
2021-04-23SL-15144 FIXED The "Remove" button is enabled with no selectionMnikolenko Productengine
2021-04-22SL-14842 Clear history should be it's own buttonAndrey Kleshchev
2021-02-24SL-14842 Apply toolstrip layout to Places floater Part #3Andrey Kleshchev
Removed unused buttons, moved some UI elements to be more in line with each other
2021-02-24SL-14842 Apply toolstrip layout to Places floater Part #1Andrey Kleshchev
Menus
2021-02-09SL-14797 Normalize right-click menus on Landmarks & Picks Part#3Andrey Kleshchev
2016-09-15MAINT-5232: Normalize LLSingleton subclasses.Nat Goodspeed
A shocking number of LLSingleton subclasses had public constructors -- and in several instances, were being explicitly instantiated independently of the LLSingleton machinery. This breaks the new LLSingleton dependency-tracking machinery. It seems only fair that if you say you want an LLSingleton, there should only be ONE INSTANCE! Introduce LLSINGLETON() and LLSINGLETON_EMPTY_CTOR() macros. These handle the friend class LLSingleton<whatevah>; and explicitly declare a private nullary constructor. To try to enforce the LLSINGLETON() convention, introduce a new pure virtual LLSingleton method you_must_use_LLSINGLETON_macro() which is, as you might suspect, defined by the macro. If you declare an LLSingleton subclass without using LLSINGLETON() or LLSINGLETON_EMPTY_CTOR() in the class body, you can't instantiate the subclass for lack of a you_must_use_LLSINGLETON_macro() implementation -- which will hopefully remind the coder. Trawl through ALL LLSingleton subclass definitions, sprinkling in LLSINGLETON() or LLSINGLETON_EMPTY_CTOR() as appropriate. Remove all explicit constructor declarations, public or private, along with relevant 'friend class LLSingleton<myself>' declarations. Where destructors are declared, move them into private section as well. Where the constructor was inline but nontrivial, move out of class body. Fix several LLSingleton abuses revealed by making ctors/dtors private: LLGlobalEconomy was both an LLSingleton and the base class for LLRegionEconomy, a non-LLSingleton. (Therefore every LLRegionEconomy instance contained another instance of the LLGlobalEconomy "singleton.") Extract LLBaseEconomy; LLGlobalEconomy is now a trivial subclass of that. LLRegionEconomy, as you might suspect, now derives from LLBaseEconomy. LLToolGrab, an LLSingleton, was also explicitly instantiated by LLToolCompGun's constructor. Extract LLToolGrabBase, explicitly instantiated, with trivial subclass LLToolGrab, the LLSingleton instance. (WARNING: LLToolGrabBase methods have an unnerving tendency to go after LLToolGrab::getInstance(). I DO NOT KNOW what should be the relationship between the instance in LLToolCompGun and the LLToolGrab singleton instance.) LLGridManager declared a variant constructor accepting (const std::string&), with the comment: // initialize with an explicity grid file for testing. As there is no evidence of this being called from anywhere, delete it. LLChicletBar's constructor accepted an optional (const LLSD&). As the LLSD parameter wasn't used, and as there is no evidence of it being passed from anywhere, delete the parameter. LLViewerWindow::shutdownViews() was checking LLNavigationBar:: instanceExists(), then deleting its getInstance() pointer -- leaving a dangling LLSingleton instance pointer, a land mine if any subsequent code should attempt to reference it. Use deleteSingleton() instead. ~LLAppViewer() was calling LLViewerEventRecorder::instance() and then explicitly calling ~LLViewerEventRecorder() on that instance -- leaving the LLSingleton instance pointer pointing to an allocated-but-destroyed instance. Use deleteSingleton() instead.
2015-11-10remove execute permission from many files that should not have itOz Linden
2014-06-17Merge viewer-release and become version 3.7.9simon
2014-05-07Merge downstream version 3.7.8 codesimon
2014-05-05MAINT-4009: Patching a small memory leak for when menu items were being ↵Stinson Linden
created before the viewer window initialization had created the menu holder. Also, added llasserts in other cases when referencing the menu holder to ensure the holder is non-null.
2014-02-18MAINT-3720 Timestamp are added to Places->Teleport History. It is only shown ↵Mnikolenko ProductEngine
for today and yesterday.
2014-02-12merge with releaseRichard Linden
2013-11-27STORM-1987 Inconsistent menu naming and behavior in Places floaterJonathan Yap
2013-08-09second phase summer cleaningRichard Linden
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-07-30Summer cleaning - removed a lot of llcommon dependencies to speed up build timesRichard Linden
consolidated most indra-specific constants in llcommon under indra_constants.h fixed issues with operations on mixed unit types (implicit and explicit) made LL_INFOS() style macros variadic in order to subsume other logging methods such as ll_infos added optional tag output to error recorders
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2012-08-08MAINT-297 FIXED Reset selection after collapsing all foldersmaxim_productengine
2012-03-01EXP-1841 : Use instance instead of getInstance on LLClipboard singleton.Merov Linden
2012-02-06EXP-1841 : Refactoring of LLClipboard, simplify the API and make it behave ↵Merov Linden
like a normal clipboard.
2012-02-01EXP-1862 : Make LLClipboard an LLSingleton and clean up the internals (set ↵Merov Linden
up for toolbar and never used)
2012-01-03use lazy deletion of views via die() method to avoid some potential crashesRichard Linden
2011-10-19EXP-1353, EXP-1408, EXP-1410 : Fix bugs all related to Teleport History ↵Merov Linden
management. Note to dev: some use of boost trckable are being deprecated for thread safety so disconnect established connections in destructors. Also beware of singleton depending on each other as they are lazily instantiated.
2011-10-17EXP-1353 : Fix crashes when teleport by making the teleport history less ↵Merov Linden
naive about its past state
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-27EXP-1203, EXP-1221, EXP-1222, EXP-1223, EXP-1225, EXP-1226 : pull from ↵Merov Linden
sergeylproductengine/viewer-experience-fui/
2011-09-26fixed toolbar context menuRichard Nelson
deprecated pointless LLView::deleteViewByHandle
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
2010-11-23STORM-479 FIXED Changed Teleport History SP text color to match the default ↵Seth ProductEngine
Landmarks and Inventory items color.
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-08-27Post-convert merge by convert_monolith.py from ./viewer-experienceMonroe Linden
2010-08-20changed buildPanel/buildFloater to member functions buildFromFileRichard Nelson
streamlined LLUICtrlFactory's interface
2010-08-16cleaned up LLUICtrlFactory...Richard Nelson
removed redundant functionality moved buildPanel to LLPanel
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-07-30deprecated LLPanel::child*() methodsRichard Nelson
2010-06-16EXT-7823 FIXED Accordion widget was improved to show different message when ↵Vladimir Pchelko
no_matched_tabs in panel or no_visible_tabs in panel. Added "no_matched" and "no_visible" text for TeleportHistory. + Added "no_visible" text for My Outfit list. + Fixed filtering in TeleportHistory. Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/591/ --HG-- branch : product-engine
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-05-19EXT-7158 FIXED Moved lltextutil from newview to llui library.Sergei Litovchuk
Reviewed by Richard Nelson and Mike Antipov at https://codereview.productengine.com/secondlife/r/363/ --HG-- branch : product-engine
2010-05-13EXT-7158 FIXED Implemented filter in "My Outfits" tab.Sergei Litovchuk
- Added accordion tab title highlighting setter and title getter. - Added filtered tabs title highlighting. - Tabs which don't pass filter are hidden. - Added applying filter on list refresh event to avoid refreshing list on every filter change. - Moved part of LLTextUtil to llui/lluitextutil to reuse code in llaccordionctrltab. - Fixed passing list size to mRefreshCompleteSignal. - Added list refresh callback to LLInventoryItemsList for checking tab visibility without re-applying filter sub-string. Committed to proceed with dependent tasks. If there are any comments/suggestions related to text utils this part of code may be changed without requiring much effort. Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/363/ --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-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-30Fixed bug EXT-6270 (No confirm teleport dialog appears, while teleporting ↵Vadim Savchuk
from teleport history tab). Added teleport confirmation dialog to the teleport history panel. Reviewed by Mike: https://codereview.productengine.com/secondlife/r/135/ --HG-- branch : product-engine
2010-02-03Fixed low bug EXT-4802 - Clearing whole teleport history doesn't clear TP ↵Dmitry Zaporozhan
history from nav bar --HG-- branch : product-engine
2010-01-29Automated merge with https://hg.aws.productengine.com/secondlife/viewer-2-0/Mike Antipov
--HG-- branch : product-engine
2010-01-27Cleaned up including of the "llviewerinventory.h"Mike Antipov
--HG-- branch : product-engine
2010-01-27CID-387Tofu Linden
Checker: UNINIT_CTOR Function: LLTeleportHistoryPanel::ContextMenu::ContextMenu() File: /indra/newview/llpanelteleporthistory.cpp