Commit Graph

101 Commits (b80fefa0ab1bfdaabeb4b8a39ca046295db66907)

Author SHA1 Message Date
PanteraPolnocy 01d644f95f Splash page is https ready thanks to BUG-216465 being fixed 2021-09-02 19:36:36 +02:00
Ansariel 098f79d7b6 Merge branch 'DRTVWR-515-maint' of https://bitbucket.org/lindenlab/viewer 2021-02-15 11:42:22 +01:00
Andrey Kleshchev aee03dfe74 SL-14828 Update web_profile_url for Aditi 2021-02-04 21:27:36 +02:00
AndreyL ProductEngine 892d3a9bf8 Merged in lindenlab/viewer-release 2018-09-27 13:04:12 +03:00
Ansariel 1733550573 Merge viewer-eep 2018-09-22 00:42:04 +02:00
AndreyL ProductEngine 735b53d724 MAINT-9044 Update Aditi helper_uri to https://secondlife.aditi.lindenlab.com/helpers/ 2018-08-29 01:34:21 +03:00
Rider Linden 06a77dd5fe is dirty code in day cycle editor. When environment panel closes disconnect commit hook for crash. 2018-08-24 16:46:07 -07:00
Rider Linden 99f855e550 MAINT-9044: Aditi helper_uri uses https 2018-08-24 12:01:02 -07:00
Rider Linden 56c773b3bc Merge 2018-08-03 16:19:47 -07:00
AndreyL ProductEngine 3983f5b1e2 Merged in lindenlab/viewer-release 2018-08-02 23:18:28 +03:00
Graham Linden 27679824ff Handle grids.xml w/ single entry instead of an array.
Fix crash when no login URIs are found for a given grid
(does not happen after fixing above, but should not crash either).
2018-06-29 00:16:32 +01:00
Graham Linden graham@lindenlab.com 190fa8614c Remove MSVC debug pragmas and comment out code to dump example grids.xml file w/ hard-coded grids. 2018-05-18 23:16:56 +01:00
Graham Linden graham@lindenlab.com 4d4a7dfb9f Merge and disable new sky render. 2018-05-16 23:45:56 +01:00
Mnikolenko ProductEngine f77de22d4d network test fixes2 2018-06-13 18:44:37 +03:00
maxim_productengine e30164ef64 MAINT-8745 Use HTTPS splash screen in viewer 2018-06-13 14:24:28 +03:00
Ansariel c182741596 Merge viewer-lynx 2016-11-16 09:55:54 +01:00
AndreyL ProductEngine 7fceb3a63f Merged in lindenlab/viewer-cleanup 2016-11-14 22:04:37 +02:00
Ansariel c13d5c4072 Merge viewer-bear 2016-09-20 11:44:19 +02:00
Nat Goodspeed d2c3c2f9fe MAINT-5232: Normalize LLSingleton subclasses.
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-09-15 20:18:12 -04:00
Natty Linden 98cb925185 MAINT-6731 Use web profile URLs from the grid configuration 2016-09-14 15:53:58 -07:00
Ansariel 3192fe832f Merge viewer-quickgraphics 2016-03-08 01:41:31 +01:00
Ansariel 0b72c66ce1 FIRE-17653: Make CURRENT_GRID a default substitution for non-OpenSim builds 2016-01-13 14:34:02 +01:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Mnikolenko ProductEngine 65b8b0899d MAINT-4800 FIXED Grid labels in combobox could be localized now. Combobox is wider and separator (empty line) was removed. 2015-01-22 12:59:00 +02:00
Tank_Master 6babf8abd2 Merge LL 3.7.7 2014-06-09 11:29:57 -07:00
Richard Linden 52da9f5f49 merge with viewer-release 2013-09-09 18:58:41 -07:00
Oz Linden d2dd3be08b CHOP-963: Add a new --update-service command line argument for QA use 2013-07-13 15:03:39 -04:00
Oz Linden 34c77159f7 CHOP-963: Make update service query url depend on the grid rather than settings 2013-07-09 08:39:22 -07:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Tank_Master 5a8d94c50f Merge LL 3.6.4 pass 1 2013-08-28 00:10:39 -07:00
Tank_Master d4640277d0 Merge LL 3.5.3 release. 2013-07-09 16:24:58 -07:00
Oz Linden 770d8b0d01 improve logging of invalid grid definitions, prevent clashes with old viewers 2012-07-02 11:14:13 -04:00
Oz Linden 1b8bbc7b86 PATH-773: fix up how the location and grid selectors work on the login panel 2012-06-25 17:04:32 -04:00
Oz Linden d500379cea PATH-735: Limit and clean up grid selection 2012-06-12 21:58:52 -04:00
Armin Weatherwax 3c51de0580 take care of last grid might be unknown switching between SL/OpenSim flavour 2012-08-08 01:15:17 +02:00
Armin Weatherwax 216da9d3e6 disable loading of a grid list from file in the SL flavour even though LL does 2012-08-08 00:36:23 +02:00
Armin Weatherwax c436d65919 fix bad merge of llviewernetwork.* 2012-08-07 22:36:27 +02:00
Tank@test_master.ftrdhcpuser.net 01c7d1eafb Merge LL pathfinding
with help from Armin and NickyD
2012-08-06 18:14:39 -07:00
Armin Weatherwax c855c065cb make CURRENT_GRID a default substitution, fixes FIRE-2935 2012-06-30 17:57:51 +02:00
Armin Weatherwax 66d124ae8b make opensim support optional at build time 2012-06-15 17:22:40 +02:00
Tank_Master 7f8369d162 Backed out changeset: 6c209c0f9ed5 (grid panel will be reimplemented later) 2012-06-12 11:15:37 -07:00
Tank_Master 2b129aabe2 Backed out changeset: 3708115fad79 (grid panel will be reimplemented later) 2012-06-12 10:54:02 -07:00
Armin Weatherwax dc2322303a backout a47635dca932 it breaks saved login data for SL 2012-06-07 00:40:10 +02:00
Armin Weatherwax f1b03ba324 update gridmanager engine; add better Hypergrid support 2012-06-06 17:09:07 +02:00
Tank_Master d6139a3eff Gridmanager showing added grid after adding (by nhede Core from angstrom viewer) 2012-05-21 16:39:29 -07:00
Tank_Master 8b92e953a0 Adding Grid manager panel and button (by nhede Core from angstrom viewer)
Also implemented dynamic currency symbol, and search browser using grid_info search url
2012-05-21 16:27:25 -07:00
Ansariel cc386e8772 Fixed string "loading..." not found warning at startup 2012-02-21 18:54:35 +01:00
Oz Linden dba72d2565 storm-1510: update to new login display url 2011-07-15 17:10:36 -04:00
Richard Linden bebdf803c4 remove [GRID] string replacement as it didn't work 2011-03-01 18:26:57 -08:00
Richard Linden 7ffd09a697 Merge 2011-03-01 17:16:37 -08:00