aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llappviewer.cpp47
1 files changed, 18 insertions, 29 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index 6b98c8e..10f61a4 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -618,18 +618,16 @@ bool LLAppViewer::init()
618 618
619 writeSystemInfo(); 619 writeSystemInfo();
620 620
621
621 // Build a string representing the current version number. 622 // Build a string representing the current version number.
622 gCurrentVersion = llformat("%s %d.%d.%d %s / %s %d.%d.%d.%d", 623 gCurrentVersion = llformat(
623 gSavedSettings.getString("VersionChannelName").c_str(), 624 "%s %d.%d.%d.%d",
625 gSavedSettings.getString("VersionChannelName").c_str(),
624 ViewerVersion::getImpMajorVersion(), 626 ViewerVersion::getImpMajorVersion(),
625 ViewerVersion::getImpMinorVersion(), 627 ViewerVersion::getImpMinorVersion(),
626 ViewerVersion::getImpPatchVersion(), 628 ViewerVersion::getImpPatchVersion(),
627 ViewerVersion::getImpTestVersion().c_str(), 629 0 // our 'build number'
628 ViewerVersion::getLLViewerName().c_str(), 630 );
629 ViewerVersion::getLLMajorVersion(),
630 ViewerVersion::getLLMinorVersion(),
631 ViewerVersion::getLLPatchVersion(),
632 ViewerVersion::getLLBuildVersion() );
633 631
634 ////////////////////////////////////////////////////////////////////////////// 632 //////////////////////////////////////////////////////////////////////////////
635 ////////////////////////////////////////////////////////////////////////////// 633 //////////////////////////////////////////////////////////////////////////////
@@ -2461,14 +2459,10 @@ void LLAppViewer::writeSystemInfo()
2461 gDebugInfo["SLLog"] = LLError::logFileName(); 2459 gDebugInfo["SLLog"] = LLError::logFileName();
2462 2460
2463 gDebugInfo["ClientInfo"]["Name"] = gSavedSettings.getString("VersionChannelName"); 2461 gDebugInfo["ClientInfo"]["Name"] = gSavedSettings.getString("VersionChannelName");
2464 gDebugInfo["ClientInfo"]["ImpMajorVersion"] = ViewerVersion::getImpMajorVersion(); 2462 gDebugInfo["ClientInfo"]["MajorVersion"] = ViewerVersion::getImpMajorVersion();
2465 gDebugInfo["ClientInfo"]["ImpMinorVersion"] = ViewerVersion::getImpMinorVersion(); 2463 gDebugInfo["ClientInfo"]["MinorVersion"] = ViewerVersion::getImpMinorVersion();
2466 gDebugInfo["ClientInfo"]["ImpPatchVersion"] = ViewerVersion::getImpPatchVersion(); 2464 gDebugInfo["ClientInfo"]["PatchVersion"] = ViewerVersion::getImpPatchVersion();
2467 gDebugInfo["ClientInfo"]["ImpTestVersion"] = ViewerVersion::getImpTestVersion(); 2465 gDebugInfo["ClientInfo"]["BuildVersion"] = 0;
2468 gDebugInfo["ClientInfo"]["MajorVersion"] = ViewerVersion::getLLMajorVersion();
2469 gDebugInfo["ClientInfo"]["MinorVersion"] = ViewerVersion::getLLMinorVersion();
2470 gDebugInfo["ClientInfo"]["PatchVersion"] = ViewerVersion::getLLPatchVersion();
2471 gDebugInfo["ClientInfo"]["BuildVersion"] = ViewerVersion::getLLBuildVersion();
2472 2466
2473 gDebugInfo["CAFilename"] = gDirUtilp->getCAFile(); 2467 gDebugInfo["CAFilename"] = gDirUtilp->getCAFile();
2474 2468
@@ -2554,15 +2548,10 @@ void LLAppViewer::handleViewerCrash()
2554 //We already do this in writeSystemInfo(), but we do it again here to make /sure/ we have a version 2548 //We already do this in writeSystemInfo(), but we do it again here to make /sure/ we have a version
2555 //to check against no matter what 2549 //to check against no matter what
2556 gDebugInfo["ClientInfo"]["Name"] = gSavedSettings.getString("VersionChannelName"); 2550 gDebugInfo["ClientInfo"]["Name"] = gSavedSettings.getString("VersionChannelName");
2557 2551 gDebugInfo["ClientInfo"]["MajorVersion"] = ViewerVersion::getImpMajorVersion();
2558 gDebugInfo["ClientInfo"]["ImpMajorVersion"] = ViewerVersion::getImpMajorVersion(); 2552 gDebugInfo["ClientInfo"]["MinorVersion"] = ViewerVersion::getImpMinorVersion();
2559 gDebugInfo["ClientInfo"]["ImpMinorVersion"] = ViewerVersion::getImpMinorVersion(); 2553 gDebugInfo["ClientInfo"]["PatchVersion"] = ViewerVersion::getImpPatchVersion();
2560 gDebugInfo["ClientInfo"]["ImpPatchVersion"] = ViewerVersion::getImpPatchVersion(); 2554 gDebugInfo["ClientInfo"]["BuildVersion"] = 0;
2561 gDebugInfo["ClientInfo"]["ImpTestVersion"] = ViewerVersion::getImpTestVersion();
2562 gDebugInfo["ClientInfo"]["MajorVersion"] = ViewerVersion::getLLMajorVersion();
2563 gDebugInfo["ClientInfo"]["MinorVersion"] = ViewerVersion::getLLMinorVersion();
2564 gDebugInfo["ClientInfo"]["PatchVersion"] = ViewerVersion::getLLPatchVersion();
2565 gDebugInfo["ClientInfo"]["BuildVersion"] = ViewerVersion::getLLBuildVersion();
2566 2555
2567 LLParcel* parcel = LLViewerParcelMgr::getInstance()->getAgentParcel(); 2556 LLParcel* parcel = LLViewerParcelMgr::getInstance()->getAgentParcel();
2568 if ( parcel && parcel->getMusicURL()[0]) 2557 if ( parcel && parcel->getMusicURL()[0])
@@ -4334,11 +4323,11 @@ void LLAppViewer::handleLoginComplete()
4334 4323
4335 // Store some data to DebugInfo in case of a freeze. 4324 // Store some data to DebugInfo in case of a freeze.
4336 gDebugInfo["ClientInfo"]["Name"] = gSavedSettings.getString("VersionChannelName"); 4325 gDebugInfo["ClientInfo"]["Name"] = gSavedSettings.getString("VersionChannelName");
4326 gDebugInfo["ClientInfo"]["MajorVersion"] = ViewerVersion::getImpMajorVersion();
4327 gDebugInfo["ClientInfo"]["MinorVersion"] = ViewerVersion::getImpMinorVersion();
4328 gDebugInfo["ClientInfo"]["PatchVersion"] = ViewerVersion::getImpPatchVersion();
4329 gDebugInfo["ClientInfo"]["BuildVersion"] = 0;
4337 4330
4338 gDebugInfo["ClientInfo"]["MajorVersion"] = ViewerVersion::getLLMajorVersion();
4339 gDebugInfo["ClientInfo"]["MinorVersion"] = ViewerVersion::getLLMinorVersion();
4340 gDebugInfo["ClientInfo"]["PatchVersion"] = ViewerVersion::getLLPatchVersion();
4341 gDebugInfo["ClientInfo"]["BuildVersion"] = ViewerVersion::getLLBuildVersion();
4342 gDebugInfo["SettingsFilename"] = gSavedSettings.getString("ClientSettingsFile"); 4331 gDebugInfo["SettingsFilename"] = gSavedSettings.getString("ClientSettingsFile");
4343 gDebugInfo["CAFilename"] = gDirUtilp->getCAFile(); 4332 gDebugInfo["CAFilename"] = gDirUtilp->getCAFile();
4344 gDebugInfo["ViewerExePath"] = gDirUtilp->getExecutablePathAndName(); 4333 gDebugInfo["ViewerExePath"] = gDirUtilp->getExecutablePathAndName();