Commit Graph

301 Commits

Author SHA1 Message Date
matt peters
2d8cad97a6 PakFiles and FileManager: Add IPlatformFile::FDirectoryVisitor::ShouldVisitLeafPath for directory visitors that are ignoring some files, so that FPakFile::ValidateDirectorySearch knows that invalid-to-request files were not requested despite being present in the searched directories.
#rnx
#rb Zousar.Shaker

[CL 28012483 by matt peters in ue5-main branch]
2023-09-19 16:51:05 -04:00
josh adams
aeb5cb1347 - Restoring a backout after fixing the issue that causes the backout
[Backout] - CL27745134
[FYI] stan.hormell
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL27731288 - CIS / Build Errors
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Deprecated GetSectionPrivate and FindOrAddSection, and accessors in FConfigFile that could return a non-const FConfigSection (this is so we can track modifications to config values)
- Added AddToSection, RemoveKeyFromSection, etc to replace directly accessing a FConfigSection
- Fixed up Epic code for the deprecations (at least the majority, some projects that aren't built by Horde presubmit may have some that we will address going forward)
#jira UE-194955
#rb david.harvey and various others

[CL 27923017 by josh adams in ue5-main branch]
2023-09-15 13:39:02 -04:00
chris constantinescu
4e93516a90 Remove extra line
#rnx

[CL 27880031 by chris constantinescu in ue5-main branch]
2023-09-14 11:22:41 -04:00
chris constantinescu
754e83523b Revert debug logging in UnixPlatformOutputDevices.cpp
#rb Brandon.Schaefer

[CL 27879498 by chris constantinescu in ue5-main branch]
2023-09-14 11:10:11 -04:00
stan hormell
37bad2d07b [Backout] - CL27731288 - CIS / Build Errors
[FYI] Josh.Adams
Original CL Desc
-----------------------------------------------------------------
- Deprecated GetSectionPrivate and FindOrAddSection, and accessors in FConfigFile that could return a non-const FConfigSection (this is so we can track modifications to config values)
- Added AddToSection, RemoveKeyFromSection, etc to replace directly accessing a FConfigSection
- Fixed up Epic code for the deprecations (at least the majority, some projects that aren't built by Horde presubmit may have some that we will address going forward)
#jira UE-194955
#rb david.harvey and various others

[CL 27745141 by stan hormell in ue5-main branch]
2023-09-10 22:58:21 -04:00
josh adams
a8a9a0b759 - Deprecated GetSectionPrivate and FindOrAddSection, and accessors in FConfigFile that could return a non-const FConfigSection (this is so we can track modifications to config values)
- Added AddToSection, RemoveKeyFromSection, etc to replace directly accessing a FConfigSection
- Fixed up Epic code for the deprecations (at least the majority, some projects that aren't built by Horde presubmit may have some that we will address going forward)
#jira UE-194955
#rb david.harvey and various others

[CL 27731364 by josh adams in ue5-main branch]
2023-09-08 17:58:55 -04:00
brandon schaefer
02ca7cbc5f Fix autortfm/transactional failures on Linux
#rb Michael.Nicolella

[CL 27444111 by brandon schaefer in ue5-main branch]
2023-08-29 09:36:10 -04:00
arciel rekman
4a4333e71b Linux: make sure the file with PGO data is flushed and closed.
[REVIEW] [at]Josh.Adams
#rnx

[CL 27101758 by arciel rekman in ue5-main branch]
2023-08-15 10:07:16 -04:00
james singer
5440098709 Fix double-double quoted paths in UnixPlatformProcess
#jira UE-190523, UE-70641
#rb zack.neyland
#rnx

[CL 26889208 by james singer in ue5-main branch]
2023-08-07 13:19:39 -04:00
thraidh
c68a1ff2cd [Backout] - CL25957310
#fyi james.singer, zack.neyland
#jira UE-190523
Original CL Desc
-----------------------------------------------------------------
Improve command line handling to better handle quotes on Unix.  PR #5583

#jira UE-70641
#rb @Zack.Neyland, @Robert.Seiver
#review-25564039 @Brandon.Schaefer, @Josh.Adams, @Zack.Neyland, @Robert.Seiver

[CL 26461354 by thraidh in ue5-main branch]
2023-07-19 11:06:02 -04:00
arciel rekman
cec10c70a3 Fix a typo in a function name.
- Header is already fixed.

#rb none

[CL 26261963 by arciel rekman in ue5-main branch]
2023-06-27 12:56:26 -04:00
arciel rekman
51e496e62e Expose PGO collection in PlatformMisc to allow start/stop it.
#rb Brandon.Schaefer
[REVIEW]

[CL 26251324 by arciel rekman in ue5-main branch]
2023-06-26 21:52:59 -04:00
urias rooney
15a47de7b7 Replaced use of sa_handler with sa_sigaction
* If SA_SIGINFO is specified in sa_flags, then sa_sigaction (instead of sa_handler) specifies the signal-handling function
Added sigaction failure check

[CL 26127222 by urias rooney in ue5-main branch]
2023-06-20 13:22:32 -04:00
thraidh
56a582b389 Improve command line handling to better handle quotes on Unix. PR #5583
#jira UE-70641
#rb @Zack.Neyland, @Robert.Seiver
#review-25564039 @Brandon.Schaefer, @Josh.Adams, @Zack.Neyland, @Robert.Seiver

[CL 25957310 by thraidh in ue5-main branch]
2023-06-13 13:44:08 -04:00
arciel rekman
82eb598332 Move the LTO/PGO/PGI status to the startup messages so they can be printed consistently.
- This allows them to be found in logs of all platforms and forked servers.

#rb Josh.Adams
[REVIEW] [at]Josh.Adams

[CL 25862221 by arciel rekman in ue5-main branch]
2023-06-07 19:33:04 -04:00
kirill zorin
b6ee3a6c64 Fix UE_LOG callsites that have format string-related UB
#rb trivial
#preflight 647107780a6634dbb236a0a6

[CL 25651638 by kirill zorin in ue5-main branch]
2023-05-26 15:52:39 -04:00
joe bestrotheray
1738801d1c Possible fix for missing hitchhunter server stacks
#rb richard.smith
#rb kaleb.morris

[CL 25555886 by joe bestrotheray in ue5-main branch]
2023-05-19 22:10:03 -04:00
robert seiver
f448f51f14 Compute a better estimate of AvailableVirtual.
#jira UE-157387
#rb Brandon.Schaefer
#preflight 645e5397592448f08b281ad7

[CL 25495916 by robert seiver in ue5-main branch]
2023-05-16 15:59:12 -04:00
joe bestrotheray
5c0bd98c91 #rb none
More logging for UnixSignalHeartBeat.cpp

[CL 25469632 by joe bestrotheray in ue5-main branch]
2023-05-14 22:47:52 -04:00
joe bestrotheray
e7524ce1ff #rb none
Adding some logging to UnixSignalHeartBeat.cpp to help diagnose issue

[CL 25438646 by joe bestrotheray in ue5-main branch]
2023-05-11 19:37:29 -04:00
joe bestrotheray
e6a5b4281a #rb none
Adding some logging to UnixSignalHeartBeat.cpp to help diagnose issue

[CL 25397643 by joe bestrotheray in ue5-main branch]
2023-05-09 19:08:05 -04:00
chris constantinescu
e003cfd4a1 Use Gauntlet to run low level tests instead of BG's Spawn, move LowLevelTests.xml to public folder and remove all restricted platform names
#rb Jerome.Delattre
#preflight 6452abfd4d593c0b422b5d9e

[CL 25335483 by chris constantinescu in ue5-main branch]
2023-05-04 11:05:46 -04:00
Steve Robb
d2dfb3ce9b Made FPlatformProcess::WritePipe() use proper UTF-8 conversion rather than truncation.
#rb stefan.boberg
#jira none
#preflight 643693c54c0cdaea093961f9

[CL 25005506 by Steve Robb in ue5-main branch]
2023-04-12 08:49:03 -04:00
devin doucette
dfac826723 Added PlatformManualResetEvent
This private abstraction is used to signal a single waiting thread to wake.
This first implementation is only specialized for Microsoft platforms. Other platforms will be specialized later.

#preflight 6418bc6a5d3e25354f1a2a5b
#rb Andriy.Tylychko, Zousar.Shaker
#rnx

[CL 24783341 by devin doucette in ue5-main branch]
2023-03-24 14:04:56 -04:00
bob tellez
c248e6e469 [Backout] - CLs 24735827, 24746530, 24750104, 24751543, 24752787, 24753773
[FYI] Devin.Doucette
Original CL Desc
-----------------------------------------------------------------
Added PlatformManualResetEvent

This private abstraction is used to signal a single waiting thread to wake.
This first implementation is only specialized for Microsoft platforms. Other platforms will be specialized later.

#preflight 6418bc6a5d3e25354f1a2a5b
#rb Andriy.Tylychko, Zousar.Shaker

[CL 24773885 by bob tellez in ue5-main branch]
2023-03-23 23:28:45 -04:00