From 15c8a8cc0a50767fe512162227bdcf7980a8d50e Mon Sep 17 00:00:00 2001 From: Arrehn Date: Sun, 21 Nov 2010 12:05:51 -0500 Subject: [PATCH] Branding updaters & Crashloggers. These aren't used, but better to do it now. --- indra/llcommon/llversionviewer.h | 2 +- indra/llwindow/llwindowmacosx.cpp | 11 +++--- indra/llxml/llcontrol.cpp | 2 +- .../CrashReporter.nib/info.nib | 8 +++-- .../CrashReporter.nib/objects.xib | 34 +++++++++---------- indra/mac_updater/mac_updater.cpp | 12 +++---- .../llmediaimplgstreamervidplug.cpp | 4 +-- indra/win_updater/updater.cpp | 12 +++---- 8 files changed, 44 insertions(+), 41 deletions(-) diff --git a/indra/llcommon/llversionviewer.h b/indra/llcommon/llversionviewer.h index 71d1555b2d..890dddc276 100644 --- a/indra/llcommon/llversionviewer.h +++ b/indra/llcommon/llversionviewer.h @@ -30,7 +30,7 @@ const S32 LL_VERSION_MAJOR = 2; const S32 LL_VERSION_MINOR = 4; const S32 LL_VERSION_PATCH = 0; -const S32 LL_VERSION_BUILD = 13828; +const S32 LL_VERSION_BUILD = 13832; const char * const LL_CHANNEL = "Firestorm-private-Romana.local"; diff --git a/indra/llwindow/llwindowmacosx.cpp b/indra/llwindow/llwindowmacosx.cpp index affd7276cc..44c0913c98 100644 --- a/indra/llwindow/llwindowmacosx.cpp +++ b/indra/llwindow/llwindowmacosx.cpp @@ -67,17 +67,18 @@ BOOL check_for_card(const char* RENDERER, const char* bad_card) if (!strnicmp(RENDERER, bad_card, strlen(bad_card))) { std::string buffer = llformat( - "Your video card appears to be a %s, which Second Life does not support.\n" + "Your video card appears to be a %s, which Firestorm does not support.\n" "\n" - "Second Life requires a video card with 32 Mb of memory or more, as well as\n" + "Firestorm requires a video card with 32 Mb of memory or more, as well as\n" "multitexture support. We explicitly support nVidia GeForce 2 or better, \n" "and ATI Radeon 8500 or better.\n" "\n" "If you own a supported card and continue to receive this message, try \n" - "updating to the latest video card drivers. Otherwise look in the\n" - "secondlife.com support section or e-mail technical support\n" + "updating to the latest video card drivers. Otherwise contact the\n" + "Phoenix Viewer Support group in world, or visit www.phoenixviewer.com\n" + "for support.\n" "\n" - "You can try to run Second Life, but it will probably crash or run\n" + "You can try to run Firestorm, but it will probably crash or run\n" "very slowly. Try anyway?", bad_card); S32 button = OSMessageBox(buffer.c_str(), "Unsupported video card", OSMB_YESNO); diff --git a/indra/llxml/llcontrol.cpp b/indra/llxml/llcontrol.cpp index f9a39826f5..b2b0f630fd 100644 --- a/indra/llxml/llcontrol.cpp +++ b/indra/llxml/llcontrol.cpp @@ -1292,7 +1292,7 @@ void test_cached_control() TEST_LLCC(LLColor4U, LLColor4U(255, 200, 100, 255)); //There's no LLSD comparsion for LLCC yet. TEST_LLCC(LLSD, test_llsd); - if((std::string)test_BrowserHomePage != "http://www.secondlife.com") llerrs << "Fail BrowserHomePage" << llendl; + if((std::string)test_BrowserHomePage != "http://www.phoenixviewer.com") llerrs << "Fail BrowserHomePage" << llendl; } #endif // TEST_CACHED_CONTROL diff --git a/indra/mac_crash_logger/CrashReporter.nib/info.nib b/indra/mac_crash_logger/CrashReporter.nib/info.nib index 06805c0e4f..5fcd3114b2 100644 --- a/indra/mac_crash_logger/CrashReporter.nib/info.nib +++ b/indra/mac_crash_logger/CrashReporter.nib/info.nib @@ -3,15 +3,17 @@ IBFramework Version - 629 + 788 IBLastKnownRelativeProjectPath ../../build-darwin-i386/SecondLife.xcodeproj IBOldestOS 5 IBOpenObjects - + + 181 + IBSystem Version - 9E17 + 10H574 targetFramework IBCarbonFramework diff --git a/indra/mac_crash_logger/CrashReporter.nib/objects.xib b/indra/mac_crash_logger/CrashReporter.nib/objects.xib index 634d1c5321..f34a8873e1 100644 --- a/indra/mac_crash_logger/CrashReporter.nib/objects.xib +++ b/indra/mac_crash_logger/CrashReporter.nib/objects.xib @@ -3,10 +3,14 @@ - - ok - Send Report - 414 273 434 378 + + Firestorm appears to have crashed or frozen the last time it ran. This crash reporter collects information about your computer's hardware configuration, operating system, and some Firestorm logs, all of which are used for debugging purposes only. In the space below, please briefly describe what you were doing or trying to do just prior to the crash. Thank you for your help! If you have additional information you would like to report, please enter a ticket at: http://www.phoenixviewer.com/support/ If you don't wish to send a crash report, press Cancel. This crash reporter collects information about your computer's hardware configuration, operating system, and some Second Life logs, all of which are used for debugging purposes only. In the space below, please briefly describe what you were doing or trying to do just prior to the crash. Thank you for your help! This report is NOT read by Customer Support. If you have billing or other questions, please go to: http://www.secondlife.com/support/ If you don't wish to send Linden Lab a crash report, press Cancel. + 20 20 231 487 + + + text + TRUE + 242 23 391 484 not! @@ -14,25 +18,21 @@ Don't Send 414 390 434 487 - - Second Life appears to have crashed or frozen the last time it ran. This crash reporter collects information about your computer's hardware configuration, operating system, and some Second Life logs, all of which are used for debugging purposes only. In the space below, please briefly describe what you were doing or trying to do just prior to the crash. Thank you for your help! This report is NOT read by Customer Support. If you have billing or other questions, please go to: http://www.secondlife.com/support/ If you don't wish to send Linden Lab a crash report, press Cancel. - 20 20 231 487 - 2 3 7 - Second Life Crash Logger + Firestorm Crash Logger - - - - text - TRUE - 242 23 391 484 + + ok + Send Report + 414 273 434 378 + + remb Remember This Choice @@ -44,9 +44,9 @@ 257 653 711 1160 0 0 768 1024 - - + + diff --git a/indra/mac_updater/mac_updater.cpp b/indra/mac_updater/mac_updater.cpp index e4d100d1ec..3da0244324 100644 --- a/indra/mac_updater/mac_updater.cpp +++ b/indra/mac_updater/mac_updater.cpp @@ -337,7 +337,7 @@ int parse_args(int argc, char **argv) int main(int argc, char **argv) { // We assume that all the logs we're looking for reside on the current drive - gDirUtilp->initAppDirs("SecondLife"); + gDirUtilp->initAppDirs("Firestorm"); LLError::initForApplication( gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, "")); @@ -370,7 +370,7 @@ int main(int argc, char **argv) } else { - gProductName = "Second Life"; + gProductName = "Firestorm"; } } @@ -463,7 +463,7 @@ int main(int argc, char **argv) err = CreateStandardAlert( kAlertStopAlert, CFSTR("Error"), - CFSTR("An error occurred while updating Second Life. Please download the latest version from www.secondlife.com."), + CFSTR("An error occurred while updating Firestorm. Please download the latest version from www.phoenixviewer.com."), ¶ms, &alert); @@ -905,7 +905,7 @@ void *updatethreadproc(void*) #endif // 0 *HACK for DEV-11935 - strncat(temp, "/SecondLifeUpdate_XXXXXX", (sizeof(temp) - strlen(temp)) - 1); + strncat(temp, "/FirestormUpdate_XXXXXX", (sizeof(temp) - strlen(temp)) - 1); if(mkdtemp(temp) == NULL) { throw 0; @@ -923,7 +923,7 @@ void *updatethreadproc(void*) chdir(tempDir); - snprintf(temp, sizeof(temp), "SecondLife.dmg"); + snprintf(temp, sizeof(temp), "Firestorm.dmg"); downloadFile = LLFile::fopen(temp, "wb"); /* Flawfinder: ignore */ if(downloadFile == NULL) @@ -970,7 +970,7 @@ void *updatethreadproc(void*) // NOTE: we could add -private at the end of this command line to keep the image from showing up in the Finder, // but if our cleanup fails, this makes it much harder for the user to unmount the image. std::string mountOutput; - FILE* mounter = popen("hdiutil attach SecondLife.dmg -mountpoint mnt", "r"); /* Flawfinder: ignore */ + FILE* mounter = popen("hdiutil attach Firestorm.dmg -mountpoint mnt", "r"); /* Flawfinder: ignore */ if(mounter == NULL) { diff --git a/indra/media_plugins/gstreamer010/llmediaimplgstreamervidplug.cpp b/indra/media_plugins/gstreamer010/llmediaimplgstreamervidplug.cpp index cdb7f4faeb..f58a324530 100644 --- a/indra/media_plugins/gstreamer010/llmediaimplgstreamervidplug.cpp +++ b/indra/media_plugins/gstreamer010/llmediaimplgstreamervidplug.cpp @@ -515,8 +515,8 @@ GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, (gchar*)"private-slvideoplugin", (gchar*)"SL Video sink plugin", plugin_init, (gchar*)"1.0", (gchar*)"LGPL", - (gchar*)"Second Life", - (gchar*)"http://www.secondlife.com/"); + (gchar*)"Firestorm", + (gchar*)"http://www.phoenixviewer.com/"); #undef PACKAGE void gst_slvideo_init_class (void) { diff --git a/indra/win_updater/updater.cpp b/indra/win_updater/updater.cpp index aeab5a3b13..cc336ba7b1 100644 --- a/indra/win_updater/updater.cpp +++ b/indra/win_updater/updater.cpp @@ -385,7 +385,7 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nSho //EnumDisplaySettings(NULL, ENUM_CURRENT_SETTINGS, &dev_mode); gWindow = CreateWindowEx(NULL, win_class_name, - L"Second Life Updater", + L"Firestorm Updater", WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, @@ -421,7 +421,7 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nSho return 1; } std::string update_exec_path(temp_path); - update_exec_path.append("Second_Life_Updater.exe"); + update_exec_path.append("Firestorm_Updater.exe"); WCHAR update_uri[4096]; mbstowcs(update_uri, gUpdateURL, sizeof(update_uri)); @@ -448,11 +448,11 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nSho if (gTotalBytesRead < (1024 * 1024) && ! cancelled) { MessageBox(gWindow, - L"The Second Life auto-update has failed.\n" + L"The Firestorm auto-update has failed.\n" L"The problem may be caused by other software installed \n" L"on your computer, such as a firewall.\n" - L"Please visit http://secondlife.com/download/ \n" - L"to download the latest version of Second Life.\n", + L"Please visit http://www.phoenixviewer.com/ \n" + L"to download the latest version of Firestorm.\n", NULL, MB_OK); return 1; } @@ -466,7 +466,7 @@ WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nSho if (!success) { MessageBox(gWindow, - L"Second Life download failed.\n" + L"Firestorm download failed.\n" L"Please try again later.", NULL, MB_OK); return 1;