aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMcCabe Maxsted2008-12-08 05:45:58 -0700
committerJacek Antonelli2008-12-10 21:11:28 -0600
commita86e98f9a85aad5be2962323386352900b0f0c69 (patch)
tree8022776e676e8b56295ba61d4ef20dfe9664df2d
parentChanged Release Notes link to point to Imprudence (diff)
downloadmeta-impy-a86e98f9a85aad5be2962323386352900b0f0c69.zip
meta-impy-a86e98f9a85aad5be2962323386352900b0f0c69.tar.gz
meta-impy-a86e98f9a85aad5be2962323386352900b0f0c69.tar.bz2
meta-impy-a86e98f9a85aad5be2962323386352900b0f0c69.tar.xz
Added test version info to llversionviewer.h
-rw-r--r--ChangeLog.txt12
-rw-r--r--linden/indra/llcommon/llversionviewer.h1
-rw-r--r--linden/indra/newview/llappviewer.cpp7
-rw-r--r--linden/indra/newview/llfloaterabout.cpp11
-rw-r--r--linden/indra/newview/llpanellogin.cpp5
5 files changed, 29 insertions, 7 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 45cf029..eba375b 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -34,6 +34,18 @@
34 Patch by Aleric Inglewood. 34 Patch by Aleric Inglewood.
35 35
36 36
372008-12-06 McCabe Maxsted <hakushakukun@gmail.com>
38
39 * linden/indra/llcommon/llversionviewer.h:
40 Added test version info.
41 * linden/indra/newview/llfloaterabout.cpp:
42 Ditto.
43 * linden/indra/newview/llappviewer.cpp:
44 Ditto.
45 * linden/indra/newview/llpanellogin.cpp:
46 Ditto.
47
48
372008-12-05 McCabe Maxsted <hakushakukun@gmail.com> 492008-12-05 McCabe Maxsted <hakushakukun@gmail.com>
38 50
39 * linden/indra/llcommon/llsecondlifeurls.cpp: 51 * linden/indra/llcommon/llsecondlifeurls.cpp:
diff --git a/linden/indra/llcommon/llversionviewer.h b/linden/indra/llcommon/llversionviewer.h
index bc42359..cddc654 100644
--- a/linden/indra/llcommon/llversionviewer.h
+++ b/linden/indra/llcommon/llversionviewer.h
@@ -45,5 +45,6 @@ const char * const IMP_VIEWER_NAME = "Imprudence";
45const S32 IMP_VERSION_MAJOR = 1; 45const S32 IMP_VERSION_MAJOR = 1;
46const S32 IMP_VERSION_MINOR = 0; 46const S32 IMP_VERSION_MINOR = 0;
47const S32 IMP_VERSION_PATCH = 0; 47const S32 IMP_VERSION_PATCH = 0;
48const char * const IMP_VERSION_TEST = "RC2";
48 49
49#endif 50#endif
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index 243a9d8..14214b5 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -602,11 +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 / %s %d.%d.%d.%d", 605 gCurrentVersion = llformat("%s %d.%d.%d %s / %s %d.%d.%d.%d",
606 gSavedSettings.getString("VersionChannelName").c_str(), 606 gSavedSettings.getString("VersionChannelName").c_str(),
607 IMP_VERSION_MAJOR, 607 IMP_VERSION_MAJOR,
608 IMP_VERSION_MINOR, 608 IMP_VERSION_MINOR,
609 IMP_VERSION_PATCH, 609 IMP_VERSION_PATCH,
610 IMP_VERSION_TEST,
610 LL_VIEWER_NAME, 611 LL_VIEWER_NAME,
611 LL_VERSION_MAJOR, 612 LL_VERSION_MAJOR,
612 LL_VERSION_MINOR, 613 LL_VERSION_MINOR,
@@ -2247,6 +2248,7 @@ void LLAppViewer::writeSystemInfo()
2247 gDebugInfo["ClientInfo"]["ImpMajorVersion"] = IMP_VERSION_MAJOR; 2248 gDebugInfo["ClientInfo"]["ImpMajorVersion"] = IMP_VERSION_MAJOR;
2248 gDebugInfo["ClientInfo"]["ImpMinorVersion"] = IMP_VERSION_MINOR; 2249 gDebugInfo["ClientInfo"]["ImpMinorVersion"] = IMP_VERSION_MINOR;
2249 gDebugInfo["ClientInfo"]["ImpPatchVersion"] = IMP_VERSION_PATCH; 2250 gDebugInfo["ClientInfo"]["ImpPatchVersion"] = IMP_VERSION_PATCH;
2251 gDebugInfo["ClientInfo"]["ImpTestVersion"] = IMP_VERSION_TEST;
2250 gDebugInfo["ClientInfo"]["MajorVersion"] = LL_VERSION_MAJOR; 2252 gDebugInfo["ClientInfo"]["MajorVersion"] = LL_VERSION_MAJOR;
2251 gDebugInfo["ClientInfo"]["MinorVersion"] = LL_VERSION_MINOR; 2253 gDebugInfo["ClientInfo"]["MinorVersion"] = LL_VERSION_MINOR;
2252 gDebugInfo["ClientInfo"]["PatchVersion"] = LL_VERSION_PATCH; 2254 gDebugInfo["ClientInfo"]["PatchVersion"] = LL_VERSION_PATCH;
@@ -2330,6 +2332,7 @@ void LLAppViewer::handleViewerCrash()
2330 gDebugInfo["ClientInfo"]["ImpMajorVersion"] = IMP_VERSION_MAJOR; 2332 gDebugInfo["ClientInfo"]["ImpMajorVersion"] = IMP_VERSION_MAJOR;
2331 gDebugInfo["ClientInfo"]["ImpMinorVersion"] = IMP_VERSION_MINOR; 2333 gDebugInfo["ClientInfo"]["ImpMinorVersion"] = IMP_VERSION_MINOR;
2332 gDebugInfo["ClientInfo"]["ImpPatchVersion"] = IMP_VERSION_PATCH; 2334 gDebugInfo["ClientInfo"]["ImpPatchVersion"] = IMP_VERSION_PATCH;
2335 gDebugInfo["ClientInfo"]["ImpTestVersion"] = IMP_VERSION_TEST;
2333 gDebugInfo["ClientInfo"]["MajorVersion"] = LL_VERSION_MAJOR; 2336 gDebugInfo["ClientInfo"]["MajorVersion"] = LL_VERSION_MAJOR;
2334 gDebugInfo["ClientInfo"]["MinorVersion"] = LL_VERSION_MINOR; 2337 gDebugInfo["ClientInfo"]["MinorVersion"] = LL_VERSION_MINOR;
2335 gDebugInfo["ClientInfo"]["PatchVersion"] = LL_VERSION_PATCH; 2338 gDebugInfo["ClientInfo"]["PatchVersion"] = LL_VERSION_PATCH;
diff --git a/linden/indra/newview/llfloaterabout.cpp b/linden/indra/newview/llfloaterabout.cpp
index cb4d405..59e3100 100644
--- a/linden/indra/newview/llfloaterabout.cpp
+++ b/linden/indra/newview/llfloaterabout.cpp
@@ -110,9 +110,9 @@ LLFloaterAbout::LLFloaterAbout()
110 110
111 // Version string 111 // Version string
112 std::string version = llformat( 112 std::string version = llformat(
113 "%s %d.%d.%d / %s %d.%d.%d (%d), %s %s\n", 113 "%s %d.%d.%d %s / %s %d.%d.%d (%d), %s %s\n",
114 IMP_VIEWER_NAME, 114 IMP_VIEWER_NAME,
115 IMP_VERSION_MAJOR, IMP_VERSION_MINOR, IMP_VERSION_PATCH, 115 IMP_VERSION_MAJOR, IMP_VERSION_MINOR, IMP_VERSION_PATCH, IMP_VERSION_TEST,
116 LL_VIEWER_NAME, 116 LL_VIEWER_NAME,
117 LL_VERSION_MAJOR, LL_VERSION_MINOR, LL_VERSION_PATCH, LL_VIEWER_BUILD, 117 LL_VERSION_MAJOR, LL_VERSION_MINOR, LL_VERSION_PATCH, LL_VIEWER_BUILD,
118 __DATE__, __TIME__); 118 __DATE__, __TIME__);
@@ -266,8 +266,13 @@ static std::string get_viewer_release_notes_url()
266 << IMP_VERSION_MINOR << "." 266 << IMP_VERSION_MINOR << "."
267 << IMP_VERSION_PATCH; 267 << IMP_VERSION_PATCH;
268 268
269 std::ostringstream test_version;
270
271 if(IMP_VERSION_TEST != "")
272 test_version << "#" << "Imprudence_" << version.str() << "_" << IMP_VERSION_TEST;
273
269 std::ostringstream url; 274 std::ostringstream url;
270 url << RELEASE_NOTES_BASE_URL << version.str(); 275 url << RELEASE_NOTES_BASE_URL << version.str() << test_version.str();
271 276
272 return url.str(); 277 return url.str();
273} 278}
diff --git a/linden/indra/newview/llpanellogin.cpp b/linden/indra/newview/llpanellogin.cpp
index 09e2cee..40a3a7f 100644
--- a/linden/indra/newview/llpanellogin.cpp
+++ b/linden/indra/newview/llpanellogin.cpp
@@ -360,10 +360,11 @@ LLPanelLogin::LLPanelLogin(const LLRect &rect,
360 // childSetAction("quit_btn", onClickQuit, this); 360 // childSetAction("quit_btn", onClickQuit, this);
361 361
362 std::string imp_channel = gSavedSettings.getString("VersionChannelName"); 362 std::string imp_channel = gSavedSettings.getString("VersionChannelName");
363 std::string imp_version = llformat("%d.%d.%d", 363 std::string imp_version = llformat("%d.%d.%d %s",
364 IMP_VERSION_MAJOR, 364 IMP_VERSION_MAJOR,
365 IMP_VERSION_MINOR, 365 IMP_VERSION_MINOR,
366 IMP_VERSION_PATCH ); 366 IMP_VERSION_PATCH,
367 IMP_VERSION_TEST );
367 368
368 std::string ll_channel = LL_VIEWER_NAME; 369 std::string ll_channel = LL_VIEWER_NAME;
369 std::string ll_version = llformat("%d.%d.%d (%d)", 370 std::string ll_version = llformat("%d.%d.%d (%d)",