<feed xmlns='http://www.w3.org/2005/Atom'>
<title>viewer.git/indra/newview/llwlparammanager.h, branch 26.1.1</title>
<subtitle>Megapahit's fork of the Second Life viewer.
</subtitle>
<id>https://megapahit.org/viewer.git/atom?h=26.1.1</id>
<link rel='self' href='https://megapahit.org/viewer.git/atom?h=26.1.1'/>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/'/>
<updated>2017-11-13T22:40:54Z</updated>
<entry>
<title>Remove the old wl environment code.</title>
<updated>2017-11-13T22:40:54Z</updated>
<author>
<name>Rider Linden</name>
<email>rider@lindenlab.com</email>
</author>
<published>2017-11-13T22:40:54Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=b227c86b450134f17ec0624655e1e4c5cb5ba89d'/>
<id>urn:sha1:b227c86b450134f17ec0624655e1e4c5cb5ba89d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove delete preset dialog, Initial settings for selection level (Region/Parcel/Local)</title>
<updated>2017-11-11T00:17:25Z</updated>
<author>
<name>Rider Linden</name>
<email>rider@lindenlab.com</email>
</author>
<published>2017-11-11T00:17:25Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=b37eb2642f6e6e4d1e32a49c7ab31f70321cd979'/>
<id>urn:sha1:b37eb2642f6e6e4d1e32a49c7ab31f70321cd979</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Skys settings object active.</title>
<updated>2017-10-05T22:40:48Z</updated>
<author>
<name>Rider Linden</name>
<email>rider@lindenlab.com</email>
</author>
<published>2017-10-05T22:40:48Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=e4b035d0cd3eaa76fd82643c17e3631c67387a54'/>
<id>urn:sha1:e4b035d0cd3eaa76fd82643c17e3631c67387a54</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Automated merge with ssh://bitbucket.org/lindenlab/viewer-release</title>
<updated>2017-05-23T01:30:26Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2017-05-23T01:30:26Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=fe64db61d6f10a9b31191090e2318aebc2d53b29'/>
<id>urn:sha1:fe64db61d6f10a9b31191090e2318aebc2d53b29</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MAINT-7145 Eliminate LLSingleton circular references</title>
<updated>2017-04-25T14:48:34Z</updated>
<author>
<name>andreykproductengine</name>
<email>akleshchev@productengine.com</email>
</author>
<published>2017-04-25T14:48:34Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=0dcb423cf3dc42e11621eece972801b036657e91'/>
<id>urn:sha1:0dcb423cf3dc42e11621eece972801b036657e91</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MAINT-7330 Fixed circularity of environmental singletons</title>
<updated>2017-04-24T16:55:55Z</updated>
<author>
<name>andreykproductengine</name>
<email>akleshchev@productengine.com</email>
</author>
<published>2017-04-24T16:55:55Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=5b5ee18f6fb1bb6c5ef8590f933014069c5613a9'/>
<id>urn:sha1:5b5ee18f6fb1bb6c5ef8590f933014069c5613a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Automated merge with ssh://bitbucket.org/lindenlab/viewer-release</title>
<updated>2017-02-03T14:54:52Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2017-02-03T14:54:52Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=434f0e161aa7b378ff16d526e104e580ba367ab2'/>
<id>urn:sha1:434f0e161aa7b378ff16d526e104e580ba367ab2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>DRTVWR-418: Untangle LLWLParamKey, LLWLAnimator circularity.</title>
<updated>2016-12-20T14:33:40Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2016-12-20T14:33:40Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=42b8895c54a1ab9aa019d4e60b5cf432506aff44'/>
<id>urn:sha1:42b8895c54a1ab9aa019d4e60b5cf432506aff44</id>
<content type='text'>
LLWLAnimator stores a std::map&lt;F32, LLWLParamKey&gt;. But llwlanimator.h only
forward-declared LLWLParamKey, begging the question of how this ever compiled
on any previous platform.

LLWLParamKey was declared for real in llwlparammanager.h, so the obvious fix
is to #include "llwlparammanager.h" in llwlanimator.h. Unfortunately this
doesn't work because llwlparammanager.h already #includes "llwlanimator.h".

As the dependency is specifically on LLWLParamKey, which isa LLEnvKey, which
is declared in llenvmanager.h, move LLWLParamKey to llenvmanager.h. Then we
can #include "llenvmanager.h" in llwlanimator.h instead of merely forward-
declaring LLWLParamKey.

This migration compiles LLWLParamKey in a context in which LLTrans isn't
visible. It's not really clear why all LLWLParamKey's methods are inline, but
toString() -- the method that requires LLTrans -- isn't going to be fast in
any case. Break toString() out to llenvmanager.cpp, and #include "lltrans.h"
there.
</content>
</entry>
<entry>
<title>MAINT-5232: Normalize LLSingleton subclasses.</title>
<updated>2016-09-16T00:18:12Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2016-09-16T00:18:12Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=d2c3c2f9fe197b1856e9a8ed37aeb56b77e2ff07'/>
<id>urn:sha1:d2c3c2f9fe197b1856e9a8ed37aeb56b77e2ff07</id>
<content type='text'>
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&lt;whatevah&gt;;
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&lt;myself&gt;' 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&amp;),
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&amp;). 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.
</content>
</entry>
<entry>
<title>remove execute permission from many files that should not have it</title>
<updated>2015-11-10T14:48:56Z</updated>
<author>
<name>Oz Linden</name>
<email>oz@lindenlab.com</email>
</author>
<published>2015-11-10T14:48:56Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=c8726aba303bcf1207b730a344536e25491420bc'/>
<id>urn:sha1:c8726aba303bcf1207b730a344536e25491420bc</id>
<content type='text'>
</content>
</entry>
</feed>
