From d7782383f1bf2655447d50d16fb4d3a511d7f408 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Fri, 4 Oct 2013 18:29:25 -0400 Subject: [PATCH 01/17] Brokepad Mountain: Fix mac compiler warning by removing unused function and its unused static variable --- indra/newview/llappviewermacosx.cpp | 31 ----------------------------- 1 file changed, 31 deletions(-) diff --git a/indra/newview/llappviewermacosx.cpp b/indra/newview/llappviewermacosx.cpp index 1c74ffbe1..af400e766 100644 --- a/indra/newview/llappviewermacosx.cpp +++ b/indra/newview/llappviewermacosx.cpp @@ -57,8 +57,6 @@ namespace int gArgC; char** gArgV; - bool sCrashReporterIsRunning = false; - OSErr AEQuitHandler(const AppleEvent *messagein, AppleEvent *reply, long refIn) { OSErr result = noErr; @@ -262,35 +260,6 @@ bool LLAppViewerMacOSX::restoreErrorTrap() return reset_count == 0; } -#if 0 // Singu Note: Defined but not used -static OSStatus CarbonEventHandler(EventHandlerCallRef inHandlerCallRef, - EventRef inEvent, - void* inUserData) -{ - ProcessSerialNumber psn; - - GetEventParameter(inEvent, - kEventParamProcessID, - typeProcessSerialNumber, - NULL, - sizeof(psn), - NULL, - &psn); - - if( GetEventKind(inEvent) == kEventAppTerminated ) - { - Boolean matching_psn = FALSE; - OSErr os_result = SameProcess(&psn, (ProcessSerialNumber*)inUserData, &matching_psn); - if(os_result >= 0 && matching_psn) - { - sCrashReporterIsRunning = false; - QuitApplicationEventLoop(); - } - } - return noErr; -} -#endif - void LLAppViewerMacOSX::initCrashReporting(bool reportFreeze) { // Singu Note: this is where original code forks crash logger process. From 8f5337cc670b22a7ee4a93ff6806d17358596da8 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Fri, 4 Oct 2013 21:01:02 -0400 Subject: [PATCH 02/17] Tooltip for grids combo box to clarify its new uses for unfamiliar users --- indra/newview/skins/default/xui/en-us/panel_login.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/skins/default/xui/en-us/panel_login.xml b/indra/newview/skins/default/xui/en-us/panel_login.xml index ae63849a1..cc2257ab7 100644 --- a/indra/newview/skins/default/xui/en-us/panel_login.xml +++ b/indra/newview/skins/default/xui/en-us/panel_login.xml @@ -54,7 +54,7 @@ Grid: + left="0" mouse_opaque="true" width="120" name="grids_combo" tool_tip="Input the name/nick for a known grid or any login uri, or pick one from the list"/>