From 80be4c1d2d73982ea2df6dd7ef3fc3465416c882 Mon Sep 17 00:00:00 2001 From: Steven Bennetts Date: Tue, 12 Aug 2008 17:29:50 +0000 Subject: QAR-767 Combined maint-render-7 and maint-viewer-9 merge merge release@93398 viewer-merge-1@94007 -> release dataserver-is-deprecated --- indra/mac_crash_logger/CMakeLists.txt | 33 ++++++++++- .../mac_crash_logger/CrashReporter.nib/classes.nib | 8 +++ indra/mac_crash_logger/CrashReporter.nib/info.nib | 20 +++++++ .../mac_crash_logger/CrashReporter.nib/objects.xib | 69 ++++++++++++++++++++++ indra/mac_crash_logger/Info.plist | 26 ++++++++ 5 files changed, 154 insertions(+), 2 deletions(-) create mode 100644 indra/mac_crash_logger/CrashReporter.nib/classes.nib create mode 100644 indra/mac_crash_logger/CrashReporter.nib/info.nib create mode 100644 indra/mac_crash_logger/CrashReporter.nib/objects.xib create mode 100644 indra/mac_crash_logger/Info.plist (limited to 'indra/mac_crash_logger') diff --git a/indra/mac_crash_logger/CMakeLists.txt b/indra/mac_crash_logger/CMakeLists.txt index c8eb17e325..9cddb562f7 100644 --- a/indra/mac_crash_logger/CMakeLists.txt +++ b/indra/mac_crash_logger/CMakeLists.txt @@ -33,10 +33,28 @@ set(mac_crash_logger_HEADER_FILES set_source_files_properties(${mac_crash_logger_HEADER_FILES} PROPERTIES HEADER_FILE_ONLY TRUE) - list(APPEND mac_crash_logger_SOURCE_FILES ${mac_crash_logger_HEADER_FILES}) -add_executable(mac-crash-logger ${mac_crash_logger_SOURCE_FILES}) +set(mac_crash_logger_RESOURCE_FILES + Info.plist + CrashReporter.nib/ + ) +set_source_files_properties( + ${mac_crash_logger_RESOURCE_FILES} + PROPERTIES + HEADER_FILE_ONLY TRUE + ) +set_source_files_properties( + Info.plist + PROPERTIES + MACOSX_PACKAGE_LOCATION . # will it blend? + poppy + ) +SOURCE_GROUP("Resources" FILES ${mac_crash_logger_RESOURCE_FILES}) +list(APPEND mac_crash_logger_SOURCE_FILES ${mac_crash_logger_RESOURCE_FILES}) + +add_executable(mac-crash-logger + MACOSX_BUNDLE + ${mac_crash_logger_SOURCE_FILES}) target_link_libraries(mac-crash-logger ${LLCRASHLOGGER_LIBRARIES} @@ -48,3 +66,14 @@ target_link_libraries(mac-crash-logger ${LLCOMMON_LIBRARIES} ${BOOST_SIGNALS_LIBRARY} ) + +add_custom_command( + TARGET mac-crash-logger POST_BUILD + COMMAND ${CMAKE_COMMAND} + ARGS + -E + copy_directory + ${CMAKE_CURRENT_SOURCE_DIR}/CrashReporter.nib + ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/mac-crash-logger.app/Contents/Resources/CrashReporter.nib + ) + diff --git a/indra/mac_crash_logger/CrashReporter.nib/classes.nib b/indra/mac_crash_logger/CrashReporter.nib/classes.nib new file mode 100644 index 0000000000..c4b887e72b --- /dev/null +++ b/indra/mac_crash_logger/CrashReporter.nib/classes.nib @@ -0,0 +1,8 @@ + + + + + IBVersion + 1 + + diff --git a/indra/mac_crash_logger/CrashReporter.nib/info.nib b/indra/mac_crash_logger/CrashReporter.nib/info.nib new file mode 100644 index 0000000000..b5417442d0 --- /dev/null +++ b/indra/mac_crash_logger/CrashReporter.nib/info.nib @@ -0,0 +1,20 @@ + + + + + IBFramework Version + 629 + IBLastKnownRelativeProjectPath + ../macview.xcodeproj + IBOldestOS + 5 + IBOpenObjects + + 193 + + IBSystem Version + 9B18 + targetFramework + IBCarbonFramework + + diff --git a/indra/mac_crash_logger/CrashReporter.nib/objects.xib b/indra/mac_crash_logger/CrashReporter.nib/objects.xib new file mode 100644 index 0000000000..1099f561e7 --- /dev/null +++ b/indra/mac_crash_logger/CrashReporter.nib/objects.xib @@ -0,0 +1,69 @@ + + + + + + + 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 + + + not! + 2 + Don't Send + 414 390 434 487 + + + + + + ok + Send Report + 414 273 434 378 + + + + text + TRUE + 242 23 391 484 + + + remb + 1 + Remember This Choice + 415 20 433 186 + + + 0 0 454 507 + + + 2 + 3 + 7 + Second Life Crash Logger + + 257 653 711 1160 + 0 0 768 1024 + + + + + + + + + + + + + + + + CrashReporter + + File's Owner + + + IBCarbonFramework + 194 + diff --git a/indra/mac_crash_logger/Info.plist b/indra/mac_crash_logger/Info.plist new file mode 100644 index 0000000000..f48293e825 --- /dev/null +++ b/indra/mac_crash_logger/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + mac-crash-logger + CFBundleGetInfoString + + CFBundleIconFile + + CFBundleIdentifier + com.secondlife.indra.crashreporter + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + APPL + CFBundleShortVersionString + + CFBundleSignature + ???? + CFBundleVersion + 1.0.0 + + -- cgit v1.2.3