Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8260 for code


Ignore:
Timestamp:
Apr 18, 2011, 9:33:05 PM (14 years ago)
Author:
youngk
Message:

Made the crash reporter work. More or less…

Location:
code/branches/mac_osx
Files:
3 added
5 edited

Legend:

Unmodified
Added
Removed
  • code/branches/mac_osx/data/mac/Orxonox-Info.plist

    r8090 r8260  
    77        <key>CFBundleExecutable</key>
    88        <string>${EXECUTABLE_NAME}</string>
     9        <key>CFBundleGetInfoString</key>
     10        <string>Orxonox: The hottest space shooter ever to exist!</string>
    911        <key>CFBundleIconFile</key>
    1012        <string>Icon.icns</string>
     
    1517        <key>CFBundleName</key>
    1618        <string>${PROJECT_NAME}</string>
     19        <key>CFBundlePackageType</key>
     20        <string>APPL</string>
     21        <key>CFBundleShortVersionString</key>
     22        <string>${ORXONOX_VERSION}, ${ORXONOX_VERSION_NAME}</string>
    1723        <key>CFBundleVersion</key>
    1824        <string>${ORXONOX_VERSION}</string>
    19         <key>CFBundleShortVersionString</key>
    20         <string>${ORXONOX_VERSION}, ${ORXONOX_VERSION_NAME}</string>
    21         <key>CFBundleGetInfoString</key>
    22         <string>Orxonox: The hottest space shooter ever to exist!</string>
     25        <key>LSMinimumSystemVersion</key>
     26        <string>10.5</string>
    2327        <key>NSHumanReadableCopyright</key>
    2428        <string>GPL version 2 or higher, and CC-BY-SA</string>
    25         <key>CFBundlePackageType</key>
    26         <string>APPL</string>
    27         <key>LSMinimumSystemVersion</key>
    28         <string>10.5</string>
    2929        <key>NSMainNibFile</key>
    3030        <string>MainMenu</string>
    3131        <key>NSPrincipalClass</key>
    3232        <string>NSApplication</string>
     33        <key>CMSubmitURL</key>
     34        <string></string>
     35        <key>CMMaxReports</key>
     36        <integer>100</integer>
    3337</dict>
    3438</plist>
  • code/branches/mac_osx/src/CMakeLists.txt

    r8259 r8260  
    175175  # On Apple we need to link to AppKit, Foundation frameworks
    176176  TARGET_LINK_LIBRARIES(orxonox-main
     177    cmcrashreporter_orxonox
    177178    "-framework AppKit"
    178179    "-framework Foundation"
  • code/branches/mac_osx/src/Orxonox.cc

    r8133 r8260  
    7575            strCmdLine = strCmdLine + argv[i] + ' ';
    7676#endif
    77 
     77       
     78        // Use these statements to make Orxonox go crashycrash
     79        //int* crashInt = NULL;
     80        //COUT(0) << *crashInt << std::endl;
     81             
    7882        return orxonox::main(strCmdLine);
    7983    }
  • code/branches/mac_osx/src/external/cmcrashreporter/CMCrashReporter.m

    r8259 r8260  
    4040                return array;
    4141        } else {
    42                 // Tiger Formet is AppName.crash.log
     42                // Tiger Format is AppName.crash.log
    4343                NSString *path = [[NSString stringWithFormat:@"~/Library/Logs/CrashReporter/%@.crash.log",[CMCrashReporterGlobal appName]] stringByExpandingTildeInPath];
    4444                if ([fileManager fileExistsAtPath:path]) return [NSArray arrayWithObject:path];
  • code/branches/mac_osx/src/external/cmcrashreporter/CMakeLists.txt

    r8259 r8260  
    5353  SET(DEVBUNDLE_CURRENT_RESOURCES "${DEVBUNDLE_CURRENT_DIR}/Resources")
    5454  SET(DEVBUNDLE_DEFAULT_LANGFILE "English.lproj")
    55   SET(DEVBUNDLE_NIB_FILE "MainMenu.nib")
     55  SET(DEVBUNDLE_NIB_FILE "CMCrashReporterWindow.nib")
    5656
    5757  # Create bundle folder structure
     
    6262 
    6363  # Populate app with additional NIB file.
    64   CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/CMCrashReporterWindow.xib" "${DEVBUNDLE_CURRENT_RESOURCES}/${DEVBUNDLE_DEFAULT_LANGFILE}/CMCrashReporterWindow.xib" COPYONLY)
     64  CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/${DEVBUNDLE_NIB_FILE}/keyedobjects.nib" "${DEVBUNDLE_CURRENT_RESOURCES}/${DEVBUNDLE_DEFAULT_LANGFILE}/${DEVBUNDLE_NIB_FILE}/keyedobjects.nib" COPYONLY)
     65  CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/${DEVBUNDLE_NIB_FILE}/designable.nib" "${DEVBUNDLE_CURRENT_RESOURCES}/${DEVBUNDLE_DEFAULT_LANGFILE}/${DEVBUNDLE_NIB_FILE}/designable.nib" COPYONLY)
     66
    6567
    6668ENDFOREACH(_subdir)
Note: See TracChangeset for help on using the changeset viewer.