aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-10-01 20:21:57 -0500
committerJacek Antonelli2008-10-08 00:52:09 -0500
commit061abd8263b1fa91c344b8de7e254221cf3b4d58 (patch)
treed4426976022f100a8e41d69016e0c2977c7821cb /linden/indra/newview/llappviewer.cpp
parentChanged viewer and channel name to "Imprudence". (diff)
downloadmeta-impy-061abd8263b1fa91c344b8de7e254221cf3b4d58.zip
meta-impy-061abd8263b1fa91c344b8de7e254221cf3b4d58.tar.gz
meta-impy-061abd8263b1fa91c344b8de7e254221cf3b4d58.tar.bz2
meta-impy-061abd8263b1fa91c344b8de7e254221cf3b4d58.tar.xz
Added Imprudence-specific version numbers.
Diffstat (limited to 'linden/indra/newview/llappviewer.cpp')
-rw-r--r--linden/indra/newview/llappviewer.cpp16
1 files changed, 12 insertions, 4 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index 90d0429..3ef3894 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -602,8 +602,12 @@ bool LLAppViewer::init()
602 writeSystemInfo(); 602 writeSystemInfo();
603 603
604 // Build a string representing the current version number. 604 // Build a string representing the current version number.
605 gCurrentVersion = llformat("%s %d.%d.%d.%d", 605 gCurrentVersion = llformat("%s %d.%d.%d / %s %d.%d.%d.%d",
606 gSavedSettings.getString("VersionChannelName").c_str(), 606 gSavedSettings.getString("VersionChannelName").c_str(),
607 IMP_VERSION_MAJOR,
608 IMP_VERSION_MINOR,
609 IMP_VERSION_PATCH,
610 LL_VIEWER_NAME,
607 LL_VERSION_MAJOR, 611 LL_VERSION_MAJOR,
608 LL_VERSION_MINOR, 612 LL_VERSION_MINOR,
609 LL_VERSION_PATCH, 613 LL_VERSION_PATCH,
@@ -2216,6 +2220,9 @@ void LLAppViewer::writeSystemInfo()
2216 gDebugInfo["SLLog"] = LLError::logFileName(); 2220 gDebugInfo["SLLog"] = LLError::logFileName();
2217 2221
2218 gDebugInfo["ClientInfo"]["Name"] = gSavedSettings.getString("VersionChannelName"); 2222 gDebugInfo["ClientInfo"]["Name"] = gSavedSettings.getString("VersionChannelName");
2223 gDebugInfo["ClientInfo"]["ImpMajorVersion"] = IMP_VERSION_MAJOR;
2224 gDebugInfo["ClientInfo"]["ImpMinorVersion"] = IMP_VERSION_MINOR;
2225 gDebugInfo["ClientInfo"]["ImpPatchVersion"] = IMP_VERSION_PATCH;
2219 gDebugInfo["ClientInfo"]["MajorVersion"] = LL_VERSION_MAJOR; 2226 gDebugInfo["ClientInfo"]["MajorVersion"] = LL_VERSION_MAJOR;
2220 gDebugInfo["ClientInfo"]["MinorVersion"] = LL_VERSION_MINOR; 2227 gDebugInfo["ClientInfo"]["MinorVersion"] = LL_VERSION_MINOR;
2221 gDebugInfo["ClientInfo"]["PatchVersion"] = LL_VERSION_PATCH; 2228 gDebugInfo["ClientInfo"]["PatchVersion"] = LL_VERSION_PATCH;
@@ -2245,9 +2252,7 @@ void LLAppViewer::writeSystemInfo()
2245#endif 2252#endif
2246 2253
2247 // Dump some debugging info 2254 // Dump some debugging info
2248 LL_INFOS("SystemInfo") << gSecondLife 2255 LL_INFOS("SystemInfo") << gCurrentVersion << LL_ENDL;
2249 << " version " << LL_VERSION_MAJOR << "." << LL_VERSION_MINOR << "." << LL_VERSION_PATCH
2250 << LL_ENDL;
2251 2256
2252 // Dump the local time and time zone 2257 // Dump the local time and time zone
2253 time_t now; 2258 time_t now;
@@ -2298,6 +2303,9 @@ void LLAppViewer::handleViewerCrash()
2298 //to check against no matter what 2303 //to check against no matter what
2299 gDebugInfo["ClientInfo"]["Name"] = gSavedSettings.getString("VersionChannelName"); 2304 gDebugInfo["ClientInfo"]["Name"] = gSavedSettings.getString("VersionChannelName");
2300 2305
2306 gDebugInfo["ClientInfo"]["ImpMajorVersion"] = IMP_VERSION_MAJOR;
2307 gDebugInfo["ClientInfo"]["ImpMinorVersion"] = IMP_VERSION_MINOR;
2308 gDebugInfo["ClientInfo"]["ImpPatchVersion"] = IMP_VERSION_PATCH;
2301 gDebugInfo["ClientInfo"]["MajorVersion"] = LL_VERSION_MAJOR; 2309 gDebugInfo["ClientInfo"]["MajorVersion"] = LL_VERSION_MAJOR;
2302 gDebugInfo["ClientInfo"]["MinorVersion"] = LL_VERSION_MINOR; 2310 gDebugInfo["ClientInfo"]["MinorVersion"] = LL_VERSION_MINOR;
2303 gDebugInfo["ClientInfo"]["PatchVersion"] = LL_VERSION_PATCH; 2311 gDebugInfo["ClientInfo"]["PatchVersion"] = LL_VERSION_PATCH;