mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
4.23-uwp
13 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
c532d4e15b |
Updating NetConnection, NetDriver and PacketHandlers to use FInternetAddrs. Moves address information to the base class instead of relying on it being created by derived classes.
#Jira: UENET-911, UENET-888, UENET-887 #rb: john.barrett, ryan.gerleve [CL 4875396 by Jake Leonard in Dev-Networking branch] |
||
|
|
ba344de4c7 |
Add memory tracking to PacketHandler related classes
[at]Brian.Bekich [at]Ryan.Gerleve [at]Bart.Hawthorne [at]Jake.Leonard [at]John.Barrett #rb Jake.Leonard, John.Barrett #ROBOMERGE-OWNER: ryan.gerleve #ROBOMERGE-AUTHOR: jon.nabozny #ROBOMERGE-SOURCE: CL 4854329 via CL 4854330 via CL 4854709 via CL 4854828 #ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking) [CL 4859520 by jon nabozny in Dev-Networking branch] |
||
|
|
2b46ba7b94 |
Update copyright notices to 2019.
#rb none #lockdown Nick.Penwarden #ROBOMERGE-OWNER: ryan.gerleve #ROBOMERGE-AUTHOR: ben.marsh #ROBOMERGE-SOURCE: CL 4662404 in //UE4/Main/... #ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking) [CL 4662413 by ben marsh in Dev-Networking branch] |
||
|
|
9af1fb3463 |
Merging //UE4/Dev-Main to Dev-Networking (//UE4/Dev-Networking)
#rb none #rnx [CL 4516466 by Ryan Gerleve in Dev-Networking branch] |
||
|
|
13d012685f |
Merging copyright update from 4.19 branch.
#rb none #rnx #jira [CL 3818977 by Ben Marsh in Staging-4.19 branch] |
||
|
|
338b22f6e7 |
Copying //UE4/Dev-Networking to //UE4/Dev-Main (Source: //UE4/Dev-Networking @ 3495493)
#lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3302759 on 2017/02/14 by John.Pollard Remove invalid replay samples that can occur due to oversampling (sampling at higher rate than physics is being ticked) Change 3306072 on 2017/02/16 by John.Barrett Minor NetcodeUnitTest updates/fixes. Improved assignment for some types, using FVMReflection - added assignment to enum by name. Change 3322165 on 2017/02/24 by John.Barrett Fixed issue where Steam would block unit tests. #JIRA UENET-537 Change 3323917 on 2017/02/27 by John.Barrett Added better unit test log file management. #JIRA UENET-535 Unit test logs are now stored in subfolders in the game log folder, with one main folder for the current UE4 session, and one subfolder for every unit test run during that session. Logs are purged occasionally, in line with how the main game logs are purged. Change 3326307 on 2017/02/28 by John.Pollard Remove unused cvar Change 3327907 on 2017/03/01 by John.Barrett Merged some old NetcodeUnitTest debug features: - Added command for bit-based log dumping of data (for debugging bit-based netcode) - Added exported function, for allowing access to console commands, in modules which don't import Engine Change 3332710 on 2017/03/05 by John.Barrett Updated unit test flags to expect a disconnect when expecting a server crash. Change 3332715 on 2017/03/05 by John.Barrett Wrapped all CreateChannelBunch pointers with a nullptr check (used to not be required). Replaced old/duplicate unit test code (using CreateChannelBunch) for marking 'exploit failure', with the current centralized function calls. #JIRA UENET-539 Change 3336258 on 2017/03/07 by John.Pollard Add more info to history overflow logging Change 3336259 on 2017/03/07 by John.Pollard Don't pause replication for replay connections Change 3341288 on 2017/03/10 by John.Barrett Fixed invalid access to GLog during game shutdown. #JIRA UE-42394 Change 3341736 on 2017/03/10 by John.Pollard Get reliability packet handler working again (but still disabled by default) Change 3349298 on 2017/03/16 by John.Barrett Fixed issues/potential-issues with the timing of global variable destruction, based on Graeme Thornton's fix. #JIRA UE-42394 Change 3349393 on 2017/03/16 by John.Pollard Reliability handler cleanup Change 3350029 on 2017/03/16 by John.Barrett Updated PacketHandler to support an optional handshaking stage for HandlerComponents, where each handshake must execute sequentially starting at the component closest to the socket. Change 3350030 on 2017/03/16 by John.Barrett Updated Asymetric Encryption to support updated PacketHandler system, to perform a key handshake that is compatible with other HandlerComponent's, and fixed some serialization security issues by setting proper limits on values. Change 3350032 on 2017/03/16 by John.Barrett Minor corrections to variable types and constructor initializer lists, for the rest of the encryption code. Change 3355536 on 2017/03/20 by John.Barrett Added new PacketAudit debug feature, which uses inter-process-communication, to audit the integrity of incoming/outgoing packets at various stages of serialization, between a client and server. This is critically useful for low level netcode development, particularly with the PacketHandler. See PacketAudit.h for more information. Change 3355570 on 2017/03/20 by John.Barrett Added a small number packet auditing checks to key areas of low level netcode. Change 3355584 on 2017/03/20 by John.Barrett Updated ReliabilityHandlerComponent, to support packet reliability during the PacketHandler handshaking stage, and fixed ReliabilityHandlerComponent serializing based on a packets byte size, rather than bit size. Change 3373389 on 2017/03/30 by John.Barrett Added check for HandlerComponent's that require reliability. Change 3373390 on 2017/03/30 by John.Barrett Added TLS-like encryption handler component, which exchanges a secret key using asymmetric encryption (RSA), and implements symmetric encryption using that key (AES). Based on RSA encryption component, and John Pollard's AES changes. Enable in *Engine.ini, using: [PacketHandlerComponents] Components=RSAKeyAESEncryption bEnableReliability=true Change 3394518 on 2017/04/14 by Ryan.Gerleve Fix memory leak in FRepChangelistState: added destructor that properly destroys the properties in the shadow state buffer. Change 3432955 on 2017/05/10 by John.Barrett Randomized the initial packet sequence numbers for UNetConnection's and for reliable packets - using the stateless handshake cookie. Also added hooks to determine when PacketHandler level handshaking has completed, so that the initial connection packets can be delayed until this stage (required now, in order to exchange the sequence numbers first). Change 3464528 on 2017/05/29 by John.Barrett Fixed connection failure during unreliable network conditions, caused by a bad interaction between the stateless handshake and sequence initialization code. Added a new 'ack' stage to the stateless handshake, to ensure the client/server sequence is properly synchronised. Expanded the timeout/retry handling for the stateless handshake, so it is more robust, and fixed some bugs in this code. Change 3464537 on 2017/05/29 by John.Barrett Fixed an incompatibility between the asymmetric encryption, and the new PacketHandler handshake code. Change 3464543 on 2017/05/29 by John.Barrett Updated CryptoPP to 5.6.5. Change 3467529 on 2017/05/31 by Jon.Nabozny Add comments to FPacketSimulationSettings vars. Change 3469584 on 2017/06/01 by Ryan.Gerleve Log bunch ChSequence on reliable channel open along with other info. Change 3471329 on 2017/06/02 by John.Barrett Fixed PacketHandlerLog type not being exported. Change 3471875 on 2017/06/02 by John.Barrett Fixed code that was trying to send NetConnection packets from the server to the client, too early - and tidied up related checks. #JIRA UE-45637 Change 3473030 on 2017/06/04 by John.Barrett Fixed replay incomaptibility with recent sequence/handshake changes. Change 3476313 on 2017/06/06 by Ryan.Gerleve Add initial reliable sequence numbers to the log in UNetConnection::InitSequence. Change 3478649 on 2017/06/07 by Ryan.Gerleve Add additional logging for the case where a channel open command is received by a channel that's already opened locally. Change 3482926 on 2017/06/09 by John.Barrett First pass at Minimal Client refactor for NetcodeUnitTest - split basic/minimal client code out of ClientUnitTest, into its own class - while preserving existing ClientUnitTest interface. This will allow multiple minimal clients per unit test, where only one could be used before (necessary for games that require a beacon + game connection). Added reflection support for weak UObject properties. Added MCP requirements flag for unit tests. Process pipe reading tweaks, to avoid UI freezes. Change 3485179 on 2017/06/12 by Ryan.Gerleve Add backwards-compatibility macros for random initial packet sequence changes so that game plugins can check them. Change 3489040 on 2017/06/14 by John.Barrett Removed OnlineSubsystem dependencies. [CL 3495525 by Ryan Gerleve in Main branch] |
||
|
|
5275490168 |
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3277940)
#lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3233612 on 2016/12/13 by Ben.Marsh UGS: Fix cases where precompiled binaries are submitted for a content change. Change 3235584 on 2016/12/14 by Ben.Marsh UBT: Deprecate the overridable TargetRules.ShouldUseSharedBuildEnvironment() function; targets should specify which build environment to use by setting the BuildEnvironment field in their constructor instead. Change 3235741 on 2016/12/14 by Ben.Marsh UBT: Deprecate the SetupBinaries() callback on the TargetRules class. Instead of overriding this, targets may override their launch module through the "LaunchModuleName" property in their constructor, and add extra modules to the "ExtraModuleNames" field on the TargetRules object itself. Change 3238176 on 2016/12/16 by Ben.Marsh UBT: New XML config file parser. Now reads once at startup and can be applied to instanced objects rather than global fields, and caches parsed output in a binary form for quicker initialization on subsequent runs. Change 3238249 on 2016/12/16 by Ben.Marsh UBT: Add attribute-driven command line parser. Change 3238462 on 2016/12/16 by Ben.Marsh UBT: Include the Platform, Configuration and Architecture on the TargetRules. Add a constructor which takes the TargetInfo object and deprecate the parameterless one; these fields are currently initialized before invoking the constructor in RulesAssembly. Change 3238564 on 2016/12/16 by Ben.Marsh UBT: Deprecate the ModuleRules constructor which takes a TargetInfo argument. Replace it with a read-only wrapper around the target rules instead, so target-specific configuration options can be read without needing to access global static variables. Also require that it's passed to the base class constructor. Change 3239919 on 2016/12/19 by Ben.Marsh UBT: Remove the "PreferredSubPlatform" property. This is only used for Windows XP support, which is being retired anyway. Having the target define its own architecture is an awkward contractiction to maintain support for, since the target rules are constructed after the architecture already has been determined. Change |
||
|
|
20bf0eb6a1 |
Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none #lockdown Nick.Penwarden [CL 3226823 by Ben Marsh in Main branch] |
||
|
|
5e75112469 |
Copying //UE4/Dev-Build to //UE4/Main
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2828332 on 2016/01/14 by Matthew.Griffin
Ensure that warnings from Dynamic Compilation of build.cs files are propagated up to user when compiling in Visual Studio etc.
Change 2828335 on 2016/01/14 by Matthew.Griffin
Renaming AddThirdParty... functions to AddEngineThirdParty... so it's clear we're talking about third party libraries within the engine directory. This removes another couple of RunningRocket checks and uses the IsMonolithic property now.
Change 2831365 on 2016/01/16 by Ben.Marsh
Add a UAT command to remove any temp storage directories older than a specified length of time, and disable the GUBP node to do so when running with -NewEC. Better to set this up as a separate scheduled task for each temp storage folder we have, rather than run it as part of GUBP builds above a certain size.
Change 2832166 on 2016/01/18 by Ben.Marsh
Make INI file parsing much more tolerant to errors, because it prevents the build system from starting up. Now outputs warnings rather than throwing exceptions.
Change 2835725 on 2016/01/20 by Matthew.Griffin
Removed more uses of RunningRocket functions
Switch Linux staging check to see if required files exist until switched to using receipts
Always stage CrashReporter for Linux
Mac and Linux will not use Compile Lean And Mean when generating project files
Allow normal DynamicCompilation check to occur in binary builds
Allow XMPP dependency on WebRTC now that it's publically distributed
Change 2835864 on 2016/01/20 by Matthew.Griffin
Made sure -rocket is passed when generating project files as this has to work from UnrealVersionSelector with every version of the Engine we've released.
Also tidied up some arguments that are set in UVS and never used.
Change 2839932 on 2016/01/22 by Matthew.Griffin
Removed last uses of RunningRocket from UnrealBuildTool
Changed Mac Build.sh so that it doesn't try to build UBT so that it can be used in installed builds the same way as windows.
Combined code doing very similar things for single games and rocket projects.
Removed check on whether to add client and server targets in Rocket as we don't distribute the .target.cs files.
Removed RunningRocket function and the code checking for -rocket on the command line
Change
|
||
|
|
bb70b349ce |
Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden [CL 2819020 by Matthew Griffin in Main branch] |
||
|
|
92ec2b8239 |
Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
========================== MAJOR FEATURES + CHANGES ========================== Change 2718441 on 2015/10/06 by Ben.Marsh@Ben.Marsh_T3245_Stream Allow nodes to be added with an "explicit" frequency, meaning that they'll only be part of manually triggered builds (not CIS). Change 2718698 on 2015/10/06 by Ben.Marsh@Ben.Marsh_T3245_Stream Add a type of node that can execute an arbitrary sequence of tasks, and allow constructing graphs of such nodes from an XML file. Change 2723013 on 2015/10/09 by Ben.Marsh@Ben.Marsh_T3245_Stream Small utility to quickly capture a workspace, or delete files to restore the workspace to a previously captured state (and output a p4 sync list to restore it) Change 2744521 on 2015/10/28 by Matthew.Griffin@Matthew.Griffin_G5772_BuildStream Adding config entries to determine which platforms/configurations are available Currently only written out as part of the Rocket Build process but could be done elsewhere for other types of installed build. A near identical singleton class is used in both C++ and C# to load the config section and check whether configuration/platform combinations are valid. Change 2773723 on 2015/11/19 by Ben.Marsh@Ben.Marsh_T3245_Stream Copying UnrealGameSync into Engine/Source/Programs. Change 2773914 on 2015/11/19 by Ben.Marsh@Ben.Marsh_T3245_Stream PR #1687: [GitDependencies] New feature: ignore file support (.gitdepsignore) (Contributed by nbjk667) Change 2775317 on 2015/11/20 by Ben.Marsh@Ben.Marsh_T3245_Stream Add a -listtps option to UBT, which will find all the TPS files in any directory that's compiled into a target. Change 2780832 on 2015/11/25 by Ben.Marsh@Ben.Marsh_T3245_Stream Allow compiling a single file in UBT. Pass -singlefile=<Path> on command line to UBT to use. Change 2781071 on 2015/11/25 by Ben.Marsh@Ben.Marsh_T3245_Stream Precompile all valid engine modules for Rocket by default. Modules may set the PrecompileForTargets field to control which configurations they should be compiled for. Modules which currently fail to compile have this set to PrecompileTargetsType.None. #codereview Matthew.Griffin Change 2784469 on 2015/12/01 by Matthew.Griffin@Matthew.Griffin_G5772_BuildStream Added -FastPDB commandline parameter for UBT, so that we can make use of the /DEBUG:FASTLINK option in VS2015 Change 2784722 on 2015/12/01 by Matthew.Griffin@Matthew.Griffin_G5772_BuildStream Made -FastPDB option part of BuildConfiguration instead of checking commandline at each place it's used. Also added option to override if someone doesn't want it automatically added to their project files. Change 2787501 on 2015/12/02 by Ben.Marsh@Ben.Marsh_T3245_Stream Restore change to gather VC environment directly from registry. #lockdown Nick.Penwarden [CL 2790002 by Ben Marsh in Main branch] |
||
|
|
5e3d9ad4d7 |
Updated/refactored PacketHandler code, and gave UNetConnections a PacketHandler by default.
- Split [PacketHandlerComponents].Components ini setting, into an array, instead of one string. - Give UNetConnection's a PacketHandler by default (for future handshake code). - Refactored/cleaned-up a lot of PacketHandler code. [CL 2711763 by John Barrett in Main branch] |
||
|
|
e8a5753aaa |
Encryption Handler Components
[CL 2622190 by James Knight in Main branch] |