summaryrefslogtreecommitdiff
path: root/indra/newview/llpathfindingmanager.h
AgeCommit message (Collapse)Author
2024-04-29#824 Process source files in bulk: replace tabs with spaces, convert CRLF to ↵Andrey Lihatskiy
LF, and trim trailing whitespaces as needed
2024-01-08replace boost library to standardAiraYumi
2022-04-20SL-17242 Use proper cap for setting pathfinding attributesMnikolenko Productengine
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.
2016-04-04merge with 4.0.3-releaseOz Linden
2015-11-10remove execute permission from many files that should not have itOz Linden
2015-07-10Backed out changeset bab1000e1b2d: restore 'selfless' changesNat Goodspeed
2015-07-07Backout selfles merge 738255dbbfd679d9e615baab3398e5e345bbb3c5Rider Linden
2015-07-01MAINT-5351: Remove 'self' parameter from coroutine functions.Nat Goodspeed
lleventcoro_test.cpp runs clean (as modified for new API), and all the rest builds clean, but the resulting viewer is as yet untested.
2015-04-23Convert pathfinding api to coro with new LLCore::HttpRider Linden
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2012-06-28Cleaning up new files in preparation for merge into viewer-release.Todd Stinson
2012-06-26Updating the header licensing comments.Todd Stinson
2012-06-25PATH-718: Disabling the view/test menu in the case of a stubbed ↵Todd Stinson
llphysicsextensions library.
2012-06-20PATH-761: Implementing the new design for the pathfinding view floater.Todd Stinson
2012-06-19PATH-723: Pulling in whether the user has access to view the rebake navmesh ↵Todd Stinson
button or not.
2012-06-19PATH-702: Refining the behavior of the rebuild navmesh button after it is ↵Todd Stinson
pushed, and removing unused code.
2012-06-19Removing unused methods and members from the pathfinding manager.Todd Stinson
2012-06-19PATH-702: Tying the status of the rebake button to the status of the navmesh ↵Todd Stinson
for the current region.
2012-06-19path-722: handling the case where region entry or teleporting would cause ↵prep
the rebake button to be drawn ontop of splash screen.
2012-06-18PATH-705: Creating a path to pull in the state of the current region navmesh ↵Todd Stinson
without downloading the navmesh binary.
2012-06-15path-722: At startup we request the agent status update.prep
2012-06-14WIP: path-722. Some agent_state_updates come through (god mode), region ↵prep
crossings, cleanup logic is a TBD, etc..
2012-06-13Path-722: Reset buttons to default state.prep
2012-06-13WIP: path-722. Posting and responders for navmesh rebakingprep
2012-06-13WIP for path-702.prep
2012-06-11PATH-705: First pass at removing the agent state functionality. WIP -- still ↵Todd Stinson
need to remove XXX_STINSON_AGENT_STATE_DELETE_ME ifdef'ed code.
2012-06-11PATH-714: Removing the DEPRECATED_UNVERSIONED_NAVMESH as the viewer no ↵Todd Stinson
longer has to support the Premium Wilderness regions on the old server code.
2012-06-11PATH-711: Implementing Leo's changes for the pathfinding console.Todd Stinson
2012-06-11PATH-706: Removing enforcement on frozen/unfrozen state from the linksets ↵Todd Stinson
floater. Also, removing handlers for agent state change.
2012-05-30Cleaning up some unreferenced headers and classes definitions from previous ↵Todd Stinson
refactoring.
2012-05-30First pass at refactoring the pathfinding linksets and pathfinding ↵Todd Stinson
characters classes to reduce code duplication, as both functionalities were heavily duplicated.
2012-05-01PATH-580: Ensuring that the characters and linksets capability services are ↵Todd Stinson
properly deferred requested in the case that a regions capabilities have not been fully received at initial request time.
2012-05-01Switching the functionality of the linksets and character request handling ↵Todd Stinson
to no longer return values directly, but rather to report status only through the callbacks.
2012-04-27PATH-585: Adding an initial notification for when a server-side automatic ↵Todd Stinson
unfreeze occurs.
2012-04-24PATH-580: BUGFIX Adding functionality to detect when the region's ↵Todd Stinson
capabilities have not yet been loading and deferring requests for the navmesh query until the capabilities are fully loaded.
2012-04-05PATH-482: BUGFIX Automatically reloading the character and linksets floaters ↵Todd Stinson
on region crossing.
2012-03-27Refactoring the characters floater code.Todd Stinson
2012-03-14PATH-302: Adding in status reporting for the simulator navmesh status. ↵Todd Stinson
Separating the viewer status messaging from the simulator status.
2012-03-13PATH-394: First pass at handling the sim-to-viewer message reporting the ↵Todd Stinson
change from FROZEN to UNFROZEN state.
2012-03-12PATH-304: Making the navmesh version information work for both Premium ↵Todd Stinson
Wilderness regions (old pathfinding simulator build with missing capabilities) as well as the new pathfinding simulator builds with the version services.
2012-03-08PATH-304: Adding functionality to handle the reloading of out-of-date navmeshes.Todd Stinson
2012-03-06PATH-205,PATH-304: More work to handle downloading of out-of-date navmeshes.Todd Stinson
2012-03-02PATH-304,PATH-205: Initial reworking of the navmesh download functionality.Todd Stinson
2012-02-27PATH-292: Ensuring that the terrain linkset is not visible and/or editable ↵Todd Stinson
to a non-estate non-god agent.
2012-02-25PATH-292: Adding the ability to view and edit pathfinding attributes of the ↵William Todd Stinson
terrain.
2012-02-23PATH-292: Reworking how and where linksets are requested and managed.Todd Stinson
2012-02-21PATH-296: Refining the behavior of the freeze/unfreeze functionality to ↵Todd Stinson
support both basic and edit/test pathfinding floaters open at the same time.
2012-02-17PATH-292: Clarifying and centralizing how the default initial agent state is ↵Todd Stinson
specified.
2012-02-17PATH-292: Implementing the new freeze/unfreeze functionality on the basic panel.Todd Stinson