- Jul 04, 2021
-
-
Rye Mutt authored
-
- Sep 15, 2016
-
-
Nat Goodspeed authored
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.
-
- Nov 10, 2015
-
-
Oz Linden authored
-
- Aug 09, 2013
-
-
Richard Linden authored
moved object cache sampling code so that it actually gets executed default values for stats are NaN instead of 0 in many cases
-
- Apr 24, 2013
-
-
simon authored
-
- Apr 15, 2013
-
-
maksymsproductengine authored
- final solution;
-
- Mar 29, 2013
-
-
Graham Madarasz authored
-
- Mar 14, 2013
-
-
Richard Linden authored
collapsed Orientation enums to all use LLView::EOrientation added ability to display stat bar horizontally
-
- Feb 28, 2013
-
-
Graham Madarasz (Graham) authored
-
- Dec 15, 2012
-
-
maksymsproductengine authored
-
- May 16, 2012
-
-
Seth ProductEngine authored
The states and dimensions of Conversations floater panes are saved in per account settings.
-
- Mar 06, 2012
-
-
Richard Linden authored
added get/setTargetDim() for managing layout_panel size even if its collapsed/invisible/etc
-
- Feb 08, 2012
-
-
Richard Linden authored
fixed layout stack so programmatic size updates will work correctly
-
- Jan 31, 2012
-
-
Richard Linden authored
more layout logic fixes and added renormalization to fractional sizes to eliminate drift
-
- Jan 30, 2012
-
-
Richard Linden authored
fixed layout logic when dealing with invisibile layout_panels
-
- Jan 19, 2012
-
-
Richard Linden authored
-
Richard Linden authored
EXP-1824 FIX Received Items panel does not collapse correct when Height of panel is maximized in Inventory window
-
- Jan 18, 2012
-
-
Richard Linden authored
-
- Jan 16, 2012
-
-
Richard Linden authored
EXP-1758 WIP Progress spinner not shown during merketplace synch if Merchant Outbox floater was previously minimized rewrote layout_stack resizing logic to be symmetrical
-
- Dec 12, 2011
-
-
Richard Linden authored
-
- Oct 18, 2011
-
-
Richard Linden authored
-
- Sep 27, 2011
-
-
Richard Linden authored
fixed button layout for icon+text layout stack now uses floating point precision to avoid clamping panels to 0
-
- Sep 20, 2011
-
-
Richard Linden authored
buttons are now centered and sized according to content created floater_test_toolbar.xml to test
-
- Jun 22, 2011
-
-
Leslie Linden authored
EXP-890 FIX -- Resizing inbox or outbox to minimum size while open does not show present items when hte box is next opened EXP-897 FIX -- Black box shown in UI when shrinking Inbox down in size * Layout panel now supports "expanded_min_dim" parameter which allows a different min size to be specified when the layout panel is collapsed vs expanded. * Inbox and Outbox expanded_min_dim attributes are now set to be larger than min dim so they can not be collapsed all the way when they are expanded.
-
- May 25, 2011
-
-
Leslie Linden authored
-
- Dec 10, 2010
-
-
Richard Linden authored
refactored LLWindowShade into seperate file improved layout of dialog improved dialog resizing logic Tab and Enter keys now work as expected in windowshade form added "modal" capability to window shade added HTTP Auth notifications to MOAP
-
- Nov 23, 2010
-
-
Richard Linden authored
converted LLLayoutStack orientation param to use named enums
-
- Oct 21, 2010
-
-
Richard Linden authored
-
- Oct 13, 2010
-
-
Oz Linden authored
-
- Sep 21, 2010
-
-
Brad Payne (Vir Linden) authored
-
- Sep 06, 2010
-
-
Andrew Dyukov authored
- Added methods responsible for saving and loading order of buttons to bottomtray. Order is saved after each drag'n'drop to ensure user's customization of bottomtray is not lost because of crash. - Added additional argument to layoutstack movePanel() method which tells it to move panel to the beginning of mPanels vector without requiring a pointer to panel before which it should be inserted. Reviewed by Vadim Savchuk.
-
Andrew Dyukov authored
- Though visually user drags buttons, layout panels are really moved. To move one panel before other, new method movePanelBeforeOther() was added to layout stack. - When drag'n'drop is finished, order of panels in layout stack mToolbarStack is changed, and also order vectors are updated in bottomtray.These are vectors mButtonsProcessOrder and mButtonsOrder. mButtonsOrder was introduced in this changeset to store order of all bottomtray buttons that may change place via drag'n'drop and should save and load it between sessions. mButtonsProcessOrder is not enough for it because it contains only buttons that may be hidden(and for example Speak button is not included in it). - To pass mouse events from buttons to bottomtray, new class LLBottomtrayButton was added (and new widget bottomtray_button for it). Reviewed by Vadim Savchuk.
-
- Aug 26, 2010
-
-
Richard Linden authored
-
Monroe Linden authored
-
- Aug 25, 2010
-
-
Richard Linden authored
-
- Aug 24, 2010
-
-
Richard Nelson authored
-
- Aug 13, 2010
-
-
Oz Linden authored
-
- Feb 25, 2010
-
-
David Parks authored
-
- Feb 24, 2010
-
-
Mike Antipov authored
-- updated LLLayoutStack to process "max_width" & "max_height" attributes for layout_panel. --HG-- branch : product-engine
-
- Feb 02, 2010
-
-
Mark Palange (Mani) authored
-