Commit Graph

1681 Commits

Author SHA1 Message Date
Dmitry Rekman
302383e2f7 Linux: more info on watch request failures.
[CL 2505579 by Dmitry Rekman in Main branch]
2015-04-08 14:53:56 -04:00
Ankit Khare
79542f541b Allow HTML5 to download maps on the fly.
UPLAT-685 (Remove Virtual File System to reduce run-time memory overhead and allow for larger worlds in HTML5)

#codereview josh.adams, james.moran

[CL 2505577 by Ankit Khare in Main branch]
2015-04-08 14:53:36 -04:00
Ankit Khare
59ae1770d1 UE-12561: uncompressed lightmaps rendering incorrectly in HTML5
[CL 2505568 by Ankit Khare in Main branch]
2015-04-08 14:51:04 -04:00
PaulEremeeff
c9a246101e PR #1013: Fixing PVS-Studio warnings. (Contributed by PaulEremeeff)
Some files have been omitted and will be submitted with modified corrections

[CL 2505544 by Dan Oconnor in Main branch]
2015-04-08 14:46:25 -04:00
Bob Tellez
9593c08c36 #UE4 Adjusting code to match what is in UE4-LauncherDev. This bug was already fixed bug perforce resolves unfixed it. Redoing the fix in main to get things in sync again. Fixes UE-13314
#lockdown Zachary.EdgertonJones

[CL 2503079 by Bob Tellez in Main branch]
2015-04-06 16:59:49 -04:00
Josh Markiewicz
d3365369ae #UE4 - Changed the following functions to use AActor instead of APlayerController
- IsNetRelevantFor
- GetNetPriority
- GetNetDormancy
- Added GetNetOwner to remove cast to Pawn/PlayerController in ServerReplicateActors
- constify a few functions (GetNetConnection, IsRelevancyOwnerFor)
- Updated FNetViewer to properly handle non player controller "viewers"

[CL 2501704 by Josh Markiewicz in Main branch]
2015-04-03 17:34:52 -04:00
Josh Adams
ed509b3c2d - Fixed paths to documentation for missing SDK when doing File | Package on HTML5, PS4, XB1 [UE-13252]
#codereview peter.sauerbrei

[CL 2501595 by Josh Adams in Main branch]
2015-04-03 16:21:10 -04:00
Bob Tellez
eea209e0be #UE4 Create clan and friends factory on demand for now.
#codereview Nicholas.Davies

[CL 2501281 by Bob Tellez in Main branch]
2015-04-03 13:24:07 -04:00
Richard Hinckley
4ba3b8b2f1 [UE-9586] The "Back" button in tutorials can be linked to a different tutorial, like the "Next" button. Tutorials assigned to the "Previous Tutorial" field (new) will be used for this, and will activate the button for this purpose on stage 0. Tutorials started in this way will begin on their final stage. The Launch Tutorial functionality (in code) now uses an enum for startup instead of a bool, so we can force a restart, continue from where we left off (default), or start at the final stage.
[CL 2500370 by Richard Hinckley in Main branch]
2015-04-02 16:56:18 -04:00
Dan Oconnor
15c50b5a5d Fixes for warnings found by PVS-Studio, these have been modified from PR#996
[CL 2500335 by Dan Oconnor in Main branch]
2015-04-02 16:32:47 -04:00
Dan Oconnor
76e1440d85 Further changes from PVS-Studio, submitted without modification, reviewed with owners where I was unsure of the change
[CL 2500334 by Dan Oconnor in Main branch]
2015-04-02 16:31:18 -04:00
Michael Schoell
75200e5a0d Cached node titles can now be forced to refresh without iteration over every node.
This will occur with every structural modification to any BP, node titles refresh only when visible.

[CL 2499923 by Michael Schoell in Main branch]
2015-04-02 11:16:23 -04:00
Carlos Cuello
8c5c68ef7e [INTEGRATE] Merging using UE4-To-UE4-LauncherDev, integrate all from LauncherDev up to cl 2499790, more party changes portal related bug fixes
[CL 2499915 by Carlos Cuello in Main branch]
2015-04-02 11:07:03 -04:00
Carlos Cuello
65c6b1a695 [INTEGRATE] Merging using UE4-To-UE4-LauncherDev, integrate all up to cl 2496104 from the LauncherDev branch. updated friends and chat module, lib curl updates, portal related fixes
[CL 2499790 by Carlos Cuello in Main branch]
2015-04-02 09:42:37 -04:00
Nicholas Davies
8fe20ae82d #jira FORT-6095 MAIN: Social options to invite or join player are missing from Friends sub menu
Fixed up our combo buttons to use the new way of creating menu content
RB: Chris Wood

[CL 2499755 by Nicholas Davies in Main branch]
2015-04-02 08:58:51 -04:00
Andrew Rodham
e22b15ad9a Detecting content changes for auto-reimport on restart now defaults to 'on'.
We also now pop up a warning explaining that this behaviour might be undesirable when running source control, giving the user the option to disable it.

[CL 2499711 by Andrew Rodham in Main branch]
2015-04-02 07:42:21 -04:00
Andrew Rodham
3ac1e0da19 Added editor project setting to define whether to display units in imperial or metric (or not at all)
Also added a default input unit that is used when no units are specified on a text input.

This addresses UE-11863 and UE-9313

[CL 2499638 by Andrew Rodham in Main branch]
2015-04-02 05:30:34 -04:00
Max Preussner
ed7b70caed Messaging: Removed the WithMessaging type trait and message type pre-cache
#UpgradeNotes:
The TStructOpsTypeTraits<>::WithMessaging type trait is no longer necessary for UStructs intended to be used as messages, because UObject creation and destruction is now thread-safe, and message types no longer need to be pre-cached. You can now use any existing and custom UStruct class in the Engine as messages. I ran the Editor for a couple hours with the profiler enabled and did not have any stability issues. If you experience any Messaging related crashes, please let me know asap, thanks!

#CodeReview: robert.manuszewski, peter.sauerbrei, chris.gagnon, jason.bestimt, michael.trepka, nicholas.davies

[CL 2499164 by Max Preussner in Main branch]
2015-04-01 17:35:20 -04:00
Ben Marsh
fee619181a Make sure initial compile forwards -Rocket flag to UBT when running from source with the -Rocket argument.
#codereview Matthew.Griffin

[CL 2498804 by Ben Marsh in Main branch]
2015-04-01 13:23:00 -04:00
Mike Fricker
114458bf0f Clang warning fixes: Fixed missing 'override' specifiers
- Also removed some unreferenced functions that adding 'override' revealed

PR #1002 -- Thank you, Omar007!

[CL 2498415 by Mike Fricker in Main branch]
2015-04-01 07:20:55 -04:00
Jaroslaw Surowiec
3cfc715726 Visualizer tweaks, more elements can be displayed on screen now
[CL 2498396 by Jaroslaw Surowiec in Main branch]
2015-04-01 06:38:28 -04:00
Robert Manuszewski
8fe5db30e3 Merging UE4-Streaming to UE4
- Linkers are no longer UObjects. Renamed ULinker, ULinkerLoad and ULinkerSave to FLinker, FLinkerLoad, FLinkerSave respectively
- Linkers are now associated with their UPackages
- Linker version is now stored in UPackages
- Async loading is now performed on a separate thread (if platform supports it and only in cooked builds), with the exception of PostLoad which is still done on the game thread
- Added UObject::IsPostLoadThreadSafe() function to determine if PostLoad is thread safe and can be executed on the async loading thread (defaults to false)
- UObject creation is now thread safe and can be performed on any thread
- Move many of the linker/UObject globals into FUObjectThreadContext (TLS)
- GetAsyncLoadPercentage() now takes PostLoad into account
- More async loading stats
- Added AtomicallySetFlags/ClearFlags to UObject
- Made FModuleManager thread safe.
- Added FGCScopeGuard as means of preventing GC from executing from non-game thread
- It's possible to disable async loading thread through ini settings.
- Cancelling async loading will now also trigger GC
- Implemented a basic version of async streaming priorities.

Change 2410813 by Mikolaj Sieluzycki:
	Change Sleep in while loop to ConditionalSleep in FMultiReaderSingleWriterGT
Change 2410734 by Mikolaj Sieluzycki:
	Make FModuleManager thread safe.
Change 2399879 by Mikolaj Sieluzycki:
	Basic version of async streaming priorities.
Change 2410707 by Mikolaj Sieluzycki:
	Implement conditional and no stat versions of sleep.
Change 2371939 by Robert Manuszewski:
	Async Loading Improvements: adding more stats (accumulators)
Change 2372403 by Robert Manuszewski:
	Fixing compile errors when STATs are not enabled
Change 2371526 by Robert Manuszewski:
	AsyncLoading Improvements (WIP)
Change 2407198 by Robert Manuszewski:
	Re-implementing delegate fixes for Async Loading
Change 2407425 by Robert Manuszewski:
	Re-implementing cancelling async loading in the async loading branch.
Change 2484362 by Robert Manuszewski:
	Making it possible to disable async loading thread through ini settings.
Change 2484744 by Robert Manuszewski:
	Minimizing locks in GC and other threads when handling UObjects
Change 2480190 by Robert Manuszewski:
	Fixing infinite stall after canceling async loading in non-cooked builds
Change 2484268 by Robert Manuszewski:
	Fixing crash when allocating permanent object pool.
Change 2489761 by Robert Manuszewski:
	Fixing BulkData using linker archive on the main thread even if the linker was created on the async loading thread.
Change 2493624 by Robert Manuszewski:
	Cancelling async loading will now also trigger GC
Change 2487881 by Robert Manuszewski:
	Making ShaderIdMap operations thread safe.
Change 2488067 by Robert Manuszewski:
	Fixing GetAsyncLoadPercentage. It will now also respect PostLoad.
Change 2458640 by Robert Manuszewski:
	Fixing crash in PIE
Change 2458825 by Robert Manuszewski:
	Fixing a few crashes when streaming and the package is missing.
Change 2476935 by Robert Manuszewski:
	Fixing crash while async loading ANavigationData
Change 2477361 by Robert Manuszewski:
	Fixing crashes in cooked game
Change 2480095 by Robert Manuszewski:
	Making FUObjectArray more thread safe
Change 2475443 by Robert Manuszewski:
	Re-enabling single-threaded async loading path for the editor and platforms that don't support multithreading.
Change 2475458 by Robert Manuszewski:
	Making sure bulk data is only loaded on a separate thread if it's not being loaded on the async loading thread.
Change 2476661 by Robert Manuszewski:
	Fixing FlushAsyncLoading not flushing everything
Change 2401089 by Jaroslaw Surowiec:
	Core - Added AtomicallySetFlags/ClearFlags to UObject, added a comment to ThisThreadAtomicallyClearedRFUnreachable

[CL 2498249 by Robert Manuszewski in Main branch]
2015-04-01 03:03:18 -04:00
PaulEremeeff
3d878d5a79 PR #996: Fixing PVS-Studio warnings (Contributed by PaulEremeeff)
I have reviewed each change carefully, but it is a large change and I could have missed something! Here is a summary of the types of changes in this CL:
 * Made nullptr checks consistent (the plurality of the changes are of this type)
 * Completed switch statements (IE, switch did not explicitly handle default case, but had unhandled enum entries - this is the second most popular type of fix)
 * Removed unused variables
 * Removed redundant initializations
 * WidgetNavigationCustomization.cpp was fixed by the owner
 * integers converted to floats where result was stored in a float
 * Removed redundent null checks (e.g. before delete statements)
 * Renamed variables to prevent non-obvious shadowing
 * Fixed use of bitwise & when checking for equality to an enum entry (which is often 0)
 * Fixes for some copy paste errors (e.g. FoliageEdMode.cpp)

[CL 2498053 by Dan Oconnor in Main branch]
2015-03-31 20:12:31 -04:00
Zak Middleton
243a72b887 #ue4 - Perf: Change all uses of "GetActorRotation().Vector()" to "GetActorForwardVector()" which is ~10x faster.
[CL 2497534 by Zak Middleton in Main branch]
2015-03-31 14:32:57 -04:00
Max Preussner
1a235551c9 SessionServices: Removed obsolete delegate field
[CL 2497468 by Max Preussner in Main branch]
2015-03-31 13:57:41 -04:00