Commit Graph

41 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
ea9a0a3c8a CrashReport - Added a missing header (https://github.com/EpicGames/UnrealEngine/pull/498)
[CL 2323845 by Jaroslaw Surowiec in Main branch]
2014-10-09 04:45:53 -04:00
Jaroslaw Surowiec
7145202079 CrashReport - Added more data and updated comments
#codereview Robert.Manuszewski

[CL 2321043 by Jaroslaw Surowiec in Main branch]
2014-10-07 05:41:14 -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
Jaroslaw Palczynski
65ba5d456f TArray documentation and a coupld of methods deprecation.
Changes mostly in Array.h. The changes in other files are only renames for deprecated functions.

[CL 2312616 by Jaroslaw Palczynski in Main branch]
2014-09-29 04:23:44 -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
Jaroslaw Surowiec
6287291659 CrashReport - Updated commented code
[CL 2284513 by Jaroslaw Surowiec in Main branch]
2014-09-04 10:44:54 -04:00
Jaroslaw Surowiec
28f90c3553 Core - Moved GetMachineId/GetEpicAccountId to FGenericPlatformMisc
CrashReport - Restored missing functionality on Linux

#codereview Robert.Manuszewski

[CL 2284252 by Jaroslaw Surowiec in Main branch]
2014-09-04 05:58:33 -04:00
Max Preussner
8717dd9637 Editor: Added details view customization for FDateTime and FTimespan; also some code cleanup
#CodeReview: david.nikdel

[CL 2282244 by Max Preussner in Main branch]
2014-09-02 19:28:15 -04:00
Dmitry Rekman
69739d5fdb Fix CrashReportClient in unattended (headless) mode.
- Also fixes TTP #345300 (packaging failure).

#codereview Jaroslaw.Surowiec, Jamie.Dale

[CL 2279381 by Dmitry Rekman in Main branch]
2014-08-31 02:40:53 -04:00
Jaroslaw Surowiec
941df88f29 CrashReport - Added analytics to the crash report client
#codereview Robert.Manuszewski

[CL 2277604 by Jaroslaw Surowiec in Main branch]
2014-08-29 09:19:47 -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
Jaroslaw Surowiec
a1d3dd5aba CrashReport - Minor code clean-up
[CL 2261219 by Jaroslaw Surowiec in Main branch]
2014-08-18 15:10:03 -04:00
Robert Manuszewski
e7e02c26ec Fixing initialization order
#codereview jaroslaw.surowiec

[CL 2255841 by Robert Manuszewski in Main branch]
2014-08-14 04:12:05 -04:00
Jaroslaw Surowiec
48e0564bcd CrashReport - Added MachineID/EpicID to the crashes (crash report client)
[CL 2254808 by Jaroslaw Surowiec in Main branch]
2014-08-13 12:54:11 -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