Port Crashpad support from alchemy, with some small tweaks

Moved initCrashReporting into LLAppViewer, everything we use there is
crossplatform enough that duplicating code is silly

Removes unused gCrashSettings
Adds MBFatalError, that's right, Crash Loop is now translatable!
Adds consent notification prompt to first login... enjoy that, everyone.
This commit is contained in:
Liru Færs
2019-10-20 11:43:25 -04:00
parent 8a2407ecbb
commit 432bf03f0a
32 changed files with 821 additions and 1569 deletions

View File

@@ -11450,6 +11450,19 @@ Do you wish to export anyway?
Object successfully exported to: [FILENAME]
</notification>
<notification
icon="alertmodal.tga"
name="SubmitCrashReports"
type="alertmodal">
Would you like to help improve [SHORT_APP_NAME] by sending crash reports?
(You can change your answer in Preferences -> General -> Crash reports)
<usetemplate
name="okcancelbuttons"
notext="No"
yestext="Yes"/>
</notification>
<notification
icon="alertmodal.tga"
name="SupportChatShowInfo"

View File

@@ -67,9 +67,8 @@
</combo_box>
<string name="region_name_prompt">&lt;Type region name&gt;</string>
<combo_box bottom="-328" height="18" left="103" name="crash_behavior_combobox" width="140">
<combo_item name="Askbeforesending" value="Ask before sending">Ask before sending</combo_item>
<combo_item name="Alwayssend" value="Always send">Always send</combo_item>
<combo_item name="Neversend" value="Never send">Never send</combo_item>
<combo_item name="Neversend" value="0">Never send</combo_item>
<combo_item name="Alwayssend" value="1">Always send</combo_item>
</combo_box>
<check_box bottom="-385" height="16" initial_value="false" label="Share language with objects" left="101" name="language_is_public" tool_tip="This lets in-world objects know your preferred language."/>
<button bottom="-425" height="25" label="Reset All Settings" name="clear_settings" width="200" />

View File

@@ -3833,6 +3833,7 @@ This can be because you somehow have multiple copies running, or your system inc
If this message persists, restart your computer and try again.
If it continues to persist, you may need to completely uninstall [APP_NAME] and reinstall it.
</string>
<string name="MBFatalError">Fatal Error. Crash and Loop?</string>
<string name="MBAlreadyRunning">
[APP_NAME] is already running.
Check your task bar for a minimized copy of the program.