Commit Graph

18 Commits

Author SHA1 Message Date
Michael Trepka
1d5a0d5506 Updated engine code to compile correctly with OS X 10.10 SDK, added SDK detection to MacToolChain (based on iOS one)
#codereview Mark.Satterthwaite

[CL 2325808 by Michael Trepka in Main branch]
2014-10-10 15:07:46 -04:00
Jaroslaw Surowiec
8840c5d6b2 CrashReport - Added GenericPlatformContext
#codereview Robert.Manuszewski

[CL 2321042 by Jaroslaw Surowiec in Main branch]
2014-10-07 05:41:02 -04:00
Michael Noland
928559eaa0 Editor: Coding-standards fixes (TypeName [*|&] VariableName -> TypeName[*|&] VariableName)
[CL 2316341 by Michael Noland in Main branch]
2014-10-01 14:45:23 -04:00
Michael Trepka
c7760aa8a6 FSlateMacMenu::UpdateCachedState() now checks with the global tab manager if there's any active tab instead of depending on not being called when there's not. This should solve any remaining issues with executing it while the app is quitting.
[CL 2314311 by Michael Trepka in Main branch]
2014-09-30 11:38:23 -04:00
Mark Satterthwaite
e432c124c8 Rather than cancelling OS quit requests on OS X and then quitting behind Cocoa's back, use the proper deferral mechanism so that we have Cocoa wait for the separate game thread to exit before it tears the application down. UE4 applications shouldn't cancel shutdown, restart or logout requests anymore.
#codereview michael.trepka

[CL 2312939 by Mark Satterthwaite in Main branch]
2014-09-29 11:10:28 -04:00
Michael Trepka
310577c6d2 Refactored Mac menu code to work better with game thread and fix crashes caused by performing game thread calls in menuNeedsUpdate:
#codereview Mark.Satterthwaite

[CL 2310125 by Michael Trepka in Main branch]
2014-09-25 14:42:11 -04:00
Mark Satterthwaite
cc56599b22 Pop the CrashReportClient to the front when it finishes launching so that it appears over the crashed application on Mac OS X.
#codereview michael.trepka

[CL 2299659 by Mark Satterthwaite in Main branch]
2014-09-16 12:45:53 -04:00
Mark Satterthwaite
18ad98390e Amend Mac crash reporting to emit data into the FCrashInfo structure and output using FCrashInfo's GenerateReport function. Add necessary parsing code to hoist out PID, Exception Code, number of cores etc. Fix various bugs that were preventing the output from being displayed & remove a redundant comment from LaunchMac.
#codereview michael.trepka

[CL 2289230 by Mark Satterthwaite in Main branch]
2014-09-08 09:01:00 -04:00
Mark Satterthwaite
56ac37ba36 Use a pre-configured malloc zone allocator instead of the current allocator once execution enters the async. signal handler on Mac OS X. This prevents a problem with Mac OS X's malloc not being async. handler safe that causes the application to become unkillable if it crashes inside a malloc routine. Where the crash malloc can't satisfy the memory request during shutdown we'll just give up & launch the crash reporter & exit.
#codereview michael.trepka

[CL 2289151 by Mark Satterthwaite in Main branch]
2014-09-08 05:59:31 -04:00
Mark Satterthwaite
97aabf9946 On OS X in the crash handlers disable calls to functions which eventually try and allocate memory, resulting in the application hanging before the crash reporter can launch.
#codereview michael.trepka

[CL 2284925 by Mark Satterthwaite in Main branch]
2014-09-04 15:00:57 -04:00
Mark Satterthwaite
631e8b9b8f Need to switch to symbolicating the crash log in the crash reporter since CoreSymbolication is unsafe within a crash handler. Store in the Apple format so that the work to parse the dump can be re-used to parse crash reports from the Mac App Store where our crash reporter might not work.
[CL 2284652 by Mark Satterthwaite in Main branch]
2014-09-04 12:10:15 -04:00
Mark Satterthwaite
916a0cd0e0 Make the CrashReportClient separate main & game thread aware so that it works.
#codereview michael.trepka

[CL 2266153 by Mark Satterthwaite in Main branch]
2014-08-21 12:19:36 -04:00
Michael Trepka
ac834c4a36 Removed redundant setting of GUseCrashReportClient on Mac and some unused code from FMacPlatformMisc::SubmitErrorReport()
#codereview Mark.Satterthwaite

[CL 2223750 by Michael Trepka in Main branch]
2014-07-18 14:22:26 -04:00
Michael Trepka
9b3937d1a7 Fixed a few compile errors (mostly non-unity)
[CL 2108328 by Michael Trepka in Main branch]
2014-06-17 14:06:07 -04:00
Michael Trepka
e0b50589d2 Removed Mac MainMenu.xib, the app and window menus are now generated dynamically.
[CL 2088627 by Michael Trepka in Main branch]
2014-05-29 17:46:24 -04:00
James Hopkin
66716e4b5c CrashReportClient now checks app name before uploading crash
Addresses TTP 332274 (mainly CrashReportClientApp.cpp changes) and
- Fixes hang on Linux (uploader wasn't honoring always-unattended setting)
- Fixed erroneous check warnings
- Removed code duplication between CrashReportClient platforms
- Error message now passed on for ensures as well as asserts
- Windows crash reporting multiple instance bail-out is now thread-safe

#CodeReview Bob.Tellez, Jaroslaw.Surowiec

[CL 2077477 by James Hopkin in Main branch]
2014-05-19 07:07:01 -04:00
UnrealBot
db494a6e69 Engine source (Main branch up to CL 2037954) 2014-04-02 18:09:23 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00