Files
UnrealEngineUWP/Engine/Source/Programs/BreakpadSymbolEncoder/BreakpadSymbolEncoder.cpp

551 lines
16 KiB
C++
Raw Normal View History

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor @ 4048875) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3808185 by Cody.Albert Added missing calls to FEditorViewportClient::AddReferencedObjects in overrides Change 3809824 by Michael.Trepka Improved the way we generate groups in Xcode project's source code navigator. They are now sorted alphabetically and have correct paths so Xcode no longer displays them in red. Also, added __INTELLISENSE__ to preprocessor definitions for indexing to improve indexing without game header files generated. Change 3810089 by Jamie.Dale Fixed PO files failing to import translations containing only whitespace Change 3811281 by Matt.Kuhlenschmidt PR #4331: Toggle SIE shortcut only in PIE (Contributed by projectgheist) Change 3813031 by Matt.Kuhlenschmidt Fix undocked tabs not dropping at users mouse location #jira UE-53427 Change 3813361 by Brandon.Schaefer Print what SDL video driver we are using Change 3818430 by Matt.Kuhlenschmidt PR #4365: Incorrect font name and forgotten undef (Contributed by projectgheist) Change 3818432 by Matt.Kuhlenschmidt PR #4366: Asset Color Strip updates correct on drag and drop (Contributed by projectgheist) Change 3818436 by Matt.Kuhlenschmidt PR #4367: Improved logging (Contributed by projectgheist) Change 3819886 by Matt.Kuhlenschmidt Add a way to optionally disable the warning about referenced actors being moved to other levels. Useful for bulk actor moves via script Change 3819888 by Matt.Kuhlenschmidt Avoid crashing when a window size becomes too large to render. Instead just ensure and clamp to the maximum allowed size. Avoids crashes where the screen dimensions are saved with super large numbers for unknown reasons Change 3821773 by Brandon.Schaefer Fix crash when importing to level #jira UE-31573 Change 3821892 by Jamie.Dale Improved the localized asset cooking so that it only cooks L10N variants if their source asset is cooked #jira UE-53010 Change 3823714 by Christina.TempelaarL #jira UE-52179 added support for grayscale PSD files Change 3826805 by Christina.TempelaarL #jira UE-49636 SceneCaptureComponent2D hidden actor and show only actors disabled in blueprints #jira UE-53445 SceneCaptureComponent2D hidden actors always disabled in details layout Change 3828444 by Anthony.Bills Add LXC container script for building third party libraries. The intention is that this should become the only way to rebuild the third party libraries that require system dependencies not included in the cross-compile toolchain and also to rebuild the toolchains. Other third party libraries without any system dependencies could be rebuilt via the cross-compile toolchains/UBT. This script has been tested running on CentOS 7 and Ubuntu 17.10. Buy default the x86 and x86_64 builds will be built against a CentOS 6 container (and targeting glibc 1.12) and the aarch64 and armhf builds will use an Ubuntu Ubuntu Trusty (14.04) but this is not yet complete. Change 3828754 by Brandon.Schaefer Linux: Fix gamepad thumbstick clicks not registering (github #4209 thanks J??rn M??ller) #jira UE-45722 #review-3828733 Arciel.Rekman Change 3830414 by Brandon.Schaefer Remove circular referencing to a parent window. Move to use AddSP vs AddRaw as well to be safe manually remove ourselves from the selection event delegate list due to Linux pending deletion of windows. Looks like this should fix UE-28322 as well which I've removed the work around placed in for that. #jira UE-53918 #review @michael.trepka, @matt.kuhlenschmidt, @arciel.rekman Change 3830916 by Brandon.Schaefer More verbose message about missing VK extensions (from Marcin Undak) #review-3830710 marcin.undak, arciel.rekman Change 3831339 by Brandon.Schaefer Default to as-needed for debug mode #jira none #review-3830658 Arciel.Rekman Change 3833102 by Jamie.Dale Re-added warning for duplicate package localization IDs when gathering asset localization Change 3834600 by Jamie.Dale Optimized asset registry filter intersection Change 3838024 by Brandon.Schaefer Remove tracking of CLion/CMake build files (from github #4346 thanks reapazor!) #jira UE-53551 #review-3835803 arciel.rekman Change 3839969 by Michael.Dupuis #jira UE-52289: When OnRegister is called on the component make sure our PerInstanceRenderData is up to date Prevent a possible crash if ClearInstanceSelection was called on a component with no PerInstanceRenderData existing Change 3840049 by Michael.Dupuis #jira UE-52975: Was always performing the equivalent of an Add, so now we use the Transform during the duplicate Change 3840071 by Matt.Kuhlenschmidt - Combine some shader params for slate in order to reduce overhead setting uniform buffers - Added better stats for slate draw call rendering - cleaned up huge lambda in Slate rendering main function so we can read the main slate rendering function again Change 3840291 by Michael.Dupuis #jira UE-53053: Was having a mismatch between the remove reorder and the actual remove Change 3840840 by Michael.Dupuis #jira UE-53944: Make sure the LOD generated is in the valid range to prevent the crash Change 3842072 by Michael.Dupuis #jira UE-50299: Include NumSubsection in calculation of component quad factor Change 3842487 by Christina.TempelaarL #jira UE-50573 HighResShot has wrong res in immersive mode Change 3845702 by Matt.Kuhlenschmidt PR #4381: DefaultASTCQualityBySpeed too high max value. (Contributed by kallehamalainen) Change 3845706 by Matt.Kuhlenschmidt PR #4388: Only restore window if minimized (Contributed by projectgheist) Change 3845993 by Christina.TempelaarL #jira UE-41558 crash when selecting PostProcessingVolumes in separate levels Change 3856395 by Brandon.Schaefer No longer using ALAudio on Linux #jira UE-53717 Change 3858324 by Michael.Trepka Preserve command line arguments in Xcode project when regenerating it Change 3858365 by Michael.Dupuis #jira UE-52049: There was a case where adding and removing multiple time would lead to reordering the instances and this would cause the regeneration of the random stream for all the reorded instances. Change 3858492 by Michael.Trepka Updated dependencies for Mac dSYM files so that only cross-referenced modules have their dSYMs recreated on subsequent builds instead of all modules. Change 3859470 by Michael.Trepka CIS fix. Make sure a scheme file exists before trying to read it when generating Xcode project. Change 3859900 by Joe.Conley Fix for "Check Out Assets" window not properly receiving focus. Change 3865218 by Michael.Dupuis #jira UE-45784: Exposed the possibility to edit LDMaxDrawDistance Change 3866957 by Michael.Dupuis #jira UE-42509: Added BodyInstance to ULandscapeSplineSegment and ULandscapeSplineControlPoint Deprecated bEnabledCollision and migrate data as it's replaced by BodyInstance Change 3867220 by Cody.Albert Fixed Project Launcher scrollbar to properly stay anchored at the bottom of the scroll area. Change 3869117 by Michael.Dupuis #jira UE-42509:Fixed compile error when not having editor data Change 3872478 by Arciel.Rekman Linux: disable PIE if compiler enables it by default. Change 3874786 by Michael.Dupuis #jira UE-46925: Remove the guessing functionality when importing a heightmap, and instead propose to the user valid size that can be used for the import through a combo button. Improved usability of the UI by disabling size field when no file was specified Change 3875859 by Jamie.Dale Implemented our own canonization for culture codes Change 3877604 by Cody.Albert We now validate actor names passed to SetActorLabel to ensure None isn't passed in, which can corrupt levels Change 3877777 by Nick.Shin PhysX build fix - this came from CL: 3809757 #jira UE-54924 Cannot rebuild Apex/PhysX/NvCloth .emscripten missing Change 3881693 by Alexis.Matte Fix local path search to not search in memory only #jira UE-55018 Change 3882512 by Michael.Dupuis #jira none : Fixed screen size calculation to take aspect ratio into account correctly Change 3886926 by Arciel.Rekman Linux: fixed checking clang settings during the cross-build (UE-55132). #jira UE-55132 Change 3887080 by Anthony.Bills Updated SDL2 build script. - Now allows compiling inside a CentOS 6 or Ubuntu 12.04 container with wayland support when using the ContainerBuildThirdParty.sh. - Added multiple build arch support to the BuildThirdParty script and pass this down to the SDL2 build script. Change 3887260 by Arciel.Rekman Linux: fix leaking process handles in the cross-toolchain. Change 3889072 by Brandon.Schaefer Fix RPath workaround, to better handle both cases #jira UE-55150 #review-3888119 @Arciel.Rekman, @Ben.Marsh Change 3892546 by Alexis.Matte Remove fbx exporter welded vertices options #jira UE-51575 Change 3893516 by Michael.Dupuis Remove static mesh instancing async buffer filling, as with all the changes made, it's no longer necessary, the cost of loading very large buffer is negligable Rebuild the occlusion tree when using foliage.DensityScale with something other than 1.0 Change 3894365 by Brandon.Schaefer Pass FileReference over a raw string to the LinkEnvironment #jira none #review-3894241 @Ben.Marsh, @Arciel.Rekman Change 3895251 by Brandon.Schaefer Use X11 pointer barriers to bound the cursor to a region over warping the pointers. Patch from Cengiz #jira UE-25615 #jira UE-30714 #review-3894886 @Arciel.Rekman Change 3897541 by Michael.Dupuis #jira UE-53787: Added guard if for some reason the material is null we should not try to draw using this material Change 3904143 by Rex.Hill #jira UE-55366: Fix crash when overwriting existing level during level save as #jira UE-42426: Map '_BuiltData' can now be deleted when selected at same time as map - Map '_BuiltData' package is now garbage collected when switching maps in the editor Change 3906373 by Brandon.Schaefer Fix splash image. Use alias format for big/little endian machines. #jira none Change 3906711 by Rex.Hill #jira UE-42426: BuiltData now deleted with maps Change 3907221 by Cody.Albert Add support for relative asset source paths in content plugins Change 3911670 by Alexis.Matte Fix assetimportdata creation owner #jira UE-55567 Change 3912382 by Anthony.Bills Linux: Add binaries for GoogleTest and add to BuildThirdParty script. Change 3914634 by Cody.Albert Added missing include that could cause compile errors if IWYU was disabled. Change 3916227 by Cody.Albert Fixing some cases where we check #ifdef WITH_EDITOR instead of #if WITH_EDITOR Change 3917245 by Michael.Dupuis #jira UE-35097: Fixed crash when creating a new landscape with 2x2 subsection and material containing grass spawning Change 3918331 by Anthony.Bills Linux: Bundled Mono - Explicilty pick libc.so.6 as libc.so is a linker script and store the config file directly. Change 3920191 by Rex.Hill #jira UE-44197 Fix saving sub-level level causing MapBuildData to be deleted Improved MapBuildData rename, move, duplicate, copy Change 3920333 by Matt.Kuhlenschmidt Render target clear color property now settable in editor #jira UE-55347 Change 3926094 by Michael.Dupuis #jira UE-51502: Added some min/max values to foliage and grass settings to prevent overflow/crash #coderevew jack.porter Change 3926243 by Michael.Dupuis #jira UE-54669: cleaned up invalid/duplicate shader and moved some shaders to appropriate list Change 3926760 by Jamie.Dale Added support for TTC/OTC fonts These can be used via a sub-face index on FFontData, which can be set via a new combo in the font editor. You can also see the cached list of sub-faces within a font file from the UFontFace asset. Change 3927793 by Anthony.Bills Mono: Remove SharpZipLib and references from bundled Mono. #review-3887212 @ben.marsh, @michael.trepka Change 3928029 by Anthony.Bills Linux: Add support for UnrealVersionSelector. - Supports using UVS to launch without a project file. This will then launch the selected engine's project wizard. - Linux UVS uses Slate for the version selection and error log dialogs. - Mime-types and desktop file support added to DesktopPlatformLinux to allow associating with UVS as per the Windows binary and git builds. - Icons added for Linux. #review-3882197 @arciel.rekman, @brandon.schaefer Change 3931293 by Alexis.Matte Add generic Levenshtein edit distance to core algo. This algorithm will help suggesting name matching when users have to resolve material name conflict when re-import fbx meshes. Add also plenty of automation tests for it. #jira none Change 3931436 by Arciel.Rekman Stop RHI thread before shutting down RHI. - Prevents crashes for some drivers that create TLS objects with destructors; those destructors will get called after the thread exited, but the library will already be unloaded on RHI shutdown. Change 3934287 by Alexis.Matte Fix crash when re-importing skeletal mesh. Skinned component render data resource is now release when re-importing. #jira none Change 3937585 by Lauren.Ridge Added labels to the colors stored in the theme bar. Change 3937738 by Alexis.Matte Make sure content browser do not show a preview asset created when we cancel an export animation preview #jira UE-49743 Change 3941345 by Michael.Dupuis #jira UE-26959: Prevent reusing multiple type the same grass type into the same material grass output node Change 3941453 by Michael.Dupuis #jira UE-47492: Added a guard to validate LayerIndex Change 3942065 by Jamie.Dale Fixed crash trying to use FSlateApplication when it wasn't available (eg, in a commandlet) Change 3942573 by Alexis.Matte Fix static analysis Change 3942623 by Michael.Dupuis #jira 0 Cast to ulong as TaskIndex * NumStripes could exceed an int limit and add an assert if the wraparound is negative Change 3942993 by Matt.Kuhlenschmidt PR #4547: Verify the return value of FT_New_Memory_Face (Contributed by jorgenpt) Change 3942998 by Matt.Kuhlenschmidt PR #4554: Cleanup log printing (Contributed by projectgheist) Change 3943003 by Matt.Kuhlenschmidt PR #4534: Prevent Fatal log when alt tabbing during a level save (Contributed by projectgheist) Change 3943011 by Matt.Kuhlenschmidt PR #4518: edit (Contributed by pdlogingithub) Change 3943027 by Matt.Kuhlenschmidt PR #4524: Notifications always render on the screen with the main viewport (Contributed by projectgheist) Change 3943074 by Matt.Kuhlenschmidt PR #4484: Add group actor to folder (Contributed by ggsharkmob) Change 3943079 by Matt.Kuhlenschmidt PR #4431: Git Plugin: replace usage of the 2 cli args "--work-tree" and "--git-dir" by "-C" (Contributed by SRombauts) Change 3943092 by Matt.Kuhlenschmidt PR #4434: Git plugin: configure the default remote URL 'origin' (Contributed by SRombauts) Change 3943132 by Matt.Kuhlenschmidt PR #4247: Add File picker to Git Path setting on GitSourceControl (Contributed by shiena) Change 3943141 by Matt.Kuhlenschmidt PR #4303: Fix ULevelExporterT3D so that it works in a commandlet (Contributed by DSDambuster) Change 3943349 by Jamie.Dale Cleaned up PR #4547 Made the assert non-fatal to avoid it being able to take down the editor if you load up a bad font. Fixed some code that was deleted during the merge. Change 3943976 by Michael.Trepka Copy of CL 3940687 Fixed long link times when building for Mac in Debug by passing -no_deduplicate flag to the linker, which is what Xcode does in Debug configs. #jira none Change 3944882 by Matt.Kuhlenschmidt Fix a few regressions with scene viewport activation locking can capturing the cursor in editor #jira UE-56080, UE-56081 Change 3947339 by Michael.Dupuis #jira UE-55664: Fixed undo/redo buffer handling so we remove from the beginning of the buffer during undo buffer where buffer is at max memory and from the end during redo operation. Fixed cancel also to re add removed transaction at the end or the start depending if we're doing a redo or undo operation Fixed the Undo History UI to listen to an event when the undo buffer changed instead of checking every frame, as when the buffer was full, no changes would occur, thus no UI update. Change 3948179 by Jamie.Dale Fixed monochromatic font rendering - All non-8bpp images are now converted to 8bpp images for processing in Slate. - We convert the gray color of any images not using 256 grays (eg, monochromatic images that use 2 grays). - Fixed a case where the temporary bitmap wasn't being deleted. - Fixed a case where the bitmap could be used after it was deleted. - Added a CVar (Slate.EnableFontAntiAliasing) to control whether you want anti-aliased (256 grayscale) rendering (default), or monochromatic (2 grayscale) rendering. Change 3949922 by Alexis.Matte Ensure fbx node name are not empty when loading a fbx file. I use the same naming convention as Maya #jira UE-56079 Change 3950202 by Rex.Hill Fix crash during editor asset automation tests. Now skips showing modal progress window when opening asset editor window. ActiveTopLevelWindow is not set when modal windows are open. #jira UE-56112 Change 3950484 by Michael.Dupuis #jira UE-52176: delete the Cluster tree when the builder is no longer needed Change 3954628 by Michael.Dupuis Bring back 4.19/4.19.1 Landscape changes Change 3957037 by Michael.Dupuis #jira UE-53343: Add foliage instances back when changing component size Changed the formulation for the Clip/Expand behavior to make it more explicit on what will happen Added SlowTask stuff to manage big landscape change Change 3959020 by Rex.Hill Rename/move file MallocLeakDetection.h Change 3960325 by Michael.Dupuis Fixed static analysis Change 3961416 by Michael.Dupuis #jira UE-46100: Exposed UseDynamicInstanceBuffer on Foliage type, so user can decide if they want to update them dynamically #jira UE-55092: Fixed the warning to appear when having resource array as empty but VB as set up Added data conssitency that when using Dynamic buffer, Keep CPU Access should also be true, even if implicitly it's already the case, now it's explicit Change 3962372 by Michael.Trepka Copy of CL 3884121 Fix for SProgressBar rendering incorreclty on Mac #jira UE-56241 Change 3964931 by Anthony.Bills Linux: Add cross-compiled binary of UVS Shipping. Change 3966719 by Matt.Kuhlenschmidt Fix parameters out of order here #jira UE-56399 Change 3966724 by Matt.Kuhlenschmidt PR #4585: Export symbols for the FDragTool (Contributed by Begounet) Change 3966734 by Matt.Kuhlenschmidt PR #4596: fix the slider issue of the HighResolutionScreenshot window (Contributed by mamoniem) Change 3966739 by Matt.Kuhlenschmidt Removed duplicated code #jira UE-56369 Change 3966744 by Matt.Kuhlenschmidt PR #4602: Fixes check for existing extensions when generating "All Extensions". (Contributed by PhilBax) Change 3966758 by Matt.Kuhlenschmidt PR #4604: Fixed an issue where the Modules and DebugTools tabs would be unrecognized after startup if docked in the level editor (Contributed by tstaples) Change 3966780 by Matt.Kuhlenschmidt Fix crash accessing graph node title widgets when objects have become stale. #jira UE-56442 Change 3966884 by Alexis.Matte Fix speedtree uninitialized values #jira none Change 3967568 by Alexis.Matte Do not override the screensize when importing a skeletal mesh, let the value set by the AddLodInfo function #jira UE-56493 Change 3968333 by Brandon.Schaefer Fix order of operation #jira UE-56400 Change 3969070 by Anthony.Bills Linux: Make sure to set the UE_ENGINE_DIRECTORY #jira UE-56503 #review-3966609 @arciel.rekman, @brandon.schaefer Change 3971431 by Michael.Dupuis #jira UE-56515: Fixed an issue where ForcedLOD > MaxLOD and make sure that LastLOD will at least contain current streamed in LOD. #jira UE-56517: When using ParallelInitView 1 there was a memory leak related to a reallocate that happen with the TArray of FMemstack Pass correctly LODDistanceFactor instead of View.LODScale as we do not want StaticMeshScale to affect us. Change 3971467 by Matt.Kuhlenschmidt Fixed crash deleting a texture with texture painting on it #jira UE-56994 Change 3971557 by Matt.Kuhlenschmidt Fix temporary exporter objects being potentially GC'd and causing crashes during export #jira UE-56981 Change 3971713 by Cody.Albert PR #4597: [FPS Template] Small null pointer check fix and cleanup (Contributed by TheCodez) Change 3971846 by Michael.Dupuis #jira UE-56517: Properly "round" the count so we have the right amount of memory reserved #jira UE-56515: Still had a edge case left, so when using forced lod i simply make sure the value is in valid range, and allocate all the required data for this range Change 3973035 by Nick.Atamas Line and Spline rendering changes: * Lines/Splines now use 1 UV channel to anti-alias (this channel can be used for texturing) * Anti-aliasing filter now adjusted based on resolution * Modified Line/Spline topology to accomodate new UV requirements * Disabled vertex snapping for anti-aliased lines/splines; previously vertexes were snapped, but vertex positions did not affect line rendering (behavior effectively unchanged) * Splines now adaptively subdivided to avoid certain edge-cases Change 3973345 by Nick.Atamas - Number tweaks to maintain previously perceived wire thickness in various editors. Change 3977764 by Rex.Hill MallocTBB no longer debug fills bytes in development configuration Change 3978713 by Arciel.Rekman UVS: Fix stale dependency. Change 3980520 by Matt.Kuhlenschmidt Fix typo #jira UE-57059 Change 3980557 by Matt.Kuhlenschmidt Fixed negative pie window sizes causing crashes #jira UE-57100 Change 3980565 by Matt.Kuhlenschmidt PR #4628: Fixed revert action, now correctly uses CanRevert() condition (Contributed by Kryofenix) Change 3980568 by Matt.Kuhlenschmidt PR #4626: UE-57111: Handle CaptureRegion for HighResShot in PIE (Contributed by projectgheist) Change 3980580 by Matt.Kuhlenschmidt PR #4567: [Editor UI] Pick Parent Class dialog: set keyboard focus and handle Escape & Enter (Contributed by SRombauts) Change 3980581 by Matt.Kuhlenschmidt PR #4565: [Editor UI] Add C++ Class dialog: set keyboard focus and handle Escape & Enter (Contributed by SRombauts) Change 3981341 by Jamie.Dale Re-added GIsEditor condition around package namespace access #jira UE-55816 Change 3981808 by Ryan.Brucks Added LandscapeProxy functions to push RenderTarget data to Heightmaps and Weightmaps Change 3983344 by Jack.Porter #include fixes for CL 3981808 #jira 0 Change 3983391 by Jack.Porter One for #include fix for CL 3981808 #jira 0 Change 3983562 by Michael.Dupuis #jira UE-53787: Make sure the material array is valid before trying to generate static mesh batch element #jira UE-56451: Instead of asserting, simply skip this element as it had invalid custom data anyway, so we can't render it Change 3983600 by Matt.Kuhlenschmidt PR #4289: Pragma Once/Include guard cleanup (Contributed by projectgheist) Change 3983637 by Matt.Kuhlenschmidt PR #4408: Add a template pregeneration hook (Contributed by mhutch) Change 3984392 by Michael.Dupuis #jira UE-56314: Correctly apply LODBias on calculated LOD Fixed some Landscape popping that could occur when we were forcing a LOD that didn't match the component screen size Change 3984950 by Rex.Hill Optimized texture import speed 2-3x depending on number of cpu cores and image size Change 3985033 by Rex.Hill File drag and drop is more quick to respond when editor is in background #jira UE-57192 Change 3986218 by Jack.Porter Missing template parameter fix for CL 3981808 #jira 0 Change 3986376 by Michael.Dupuis #jira UE-56453: Do not use the CreateDynamicMaterialInstance as it will change the parenting of the actor used material, instead simply use the function to generate the MID and parent it correctly. Change 3989391 by Matt.Kuhlenschmidt Fix constant FName lookup in level editor when checking various states of level editor tabs Change 3990182 by Rex.Hill Optimize editor startup time: GetCurrentProjectModules Change 3990365 by Alexis.Matte Fix crash with spline mesh when the attach SM get a new imported LOD #jira UE-57119 Change 3991151 by Rex.Hill VR Editor module now waits to load images until VR mode activated in editor. Saves 0.4 seconds of editor startup time. Change 3991164 by Rex.Hill Optimize editor startup time: FindModulePaths() - Invalidates cache when search paths added - Use cache during wildcard searches containing * and ? Change 3995366 by Anthony.Bills Update BuildCrossToolchain script to allow a Linux host targeting multiple Linux architectures (including the hosts arch). Added a patch to support a gcc 4.8.5 based toolchain on windows (potentially useful for users crosscompiling using GCC and libstdc++ and targeting CentOS 7). #review-3848487 @arciel.rekman, @brandon.schaefer Change 3996109 by Jamie.Dale Reworked BP error messages to be more localization friendly #jira UETOOL-1356 Change 3996123 by Michael.Dupuis #jira UE-57427: Update random color on load of the component #jira UE-56272: Change 3996279 by Merritt.Cely Removed hardware survey from editor #jira an-2243 #tests launched the editor Change 3996626 by Alexis.Matte Fix crash when SkeletalMesh tangent buffer is empty after the build and we serialize the tangent array. #jira UE-57227 Change 3996663 by Max.Chen Sequencer: Fix fbx animation export - rotation and scale channels were flipped. #jira UE-57509 #jira UE-57512 #jira UE-57514 Change 4000331 by Brandon.Schaefer Add a GFNameTableForDebuggerVisualizers_MT back only for Unix under the Core module #review-3999426 @Arciel.Rekman #jira UE-55298 Change 4000450 by Matt.Kuhlenschmidt Another guard against a factory being destroyed during import #jira UE-57674 Change 4000459 by Matt.Kuhlenschmidt Added check for valid game viewport to see if this is the problem in UE-57677 #jira UE-57677 Change 4000493 by Matt.Kuhlenschmidt Remove stale GC'd components when refreshing paint mode to prevent crashes #jira UE-52618 Change 4000683 by Jamie.Dale Fixed target being incorrect when added via the Localization Dashboard #jira UE-57588 Change 4000738 by Alexis.Matte Add a section settings to ignore the section when reducing #jira UE-52580 Change 4000920 by Alexis.Matte PR #4219: Fix for SColorGradingPicker preventing PIE (Contributed by projectgheist) author projectgheist projectgheist@gmail.com Change 4001432 by Alexis.Matte Add a fbx re-import resolve material windows, user can now help resolving the material in case the importer fail to found a match. Change 4001447 by Jamie.Dale Fixed property table not working with multi-line editable text Change 4001449 by Jamie.Dale PR #4531: Localization multiline fix (Contributed by Lallapallooza) Change 4001557 by Alexis.Matte Fix a check in fbx scene importer, in case the user import a fbx LOD group with no geometry under it #jira UE-57676 Change 4002539 by Alexis.Matte Make the fbx importer global transform options persist in the config file #jira UE-50897 Change 4002562 by Anthony.Bills Linux: Enable UVS registering for git builds only and remove old Mono and pre-UVS script code. Change 4003241 by Alexis.Matte Fix the staticmesh import socket logic, it was duplicating socket when re-importing #jira UE-53635 Change 4003368 by Michael.Dupuis #jira UE-57276: #jira UE-56239: #jira UE-54547: Make sure we can't go above MaxLOD even for texture streaming Change 4003534 by Alexis.Matte Fix re-import mesh name match #jira UE-56485 Change 4005069 by Michael.Dupuis #jira UE-57594: Add a guard to prevent crash if we have an invalid resource for the heightmap texture (happen when component is deleted, for example) Change 4005468 by Lauren.Ridge Widgets should not be removed from parent when they are pending GC #jira UE-52260 Change 4006075 by Michael.Dupuis Fixed foliage density scaling to be applied even in editor, except in Foliage edit mode. Change 4006332 by Arciel.Rekman UBT: Adding support for bundled toolchains on Linux. - Authored by Anthony Bills, with modifications. Change 4007528 by Matt.Kuhlenschmidt PR #4665: Source control History Window: enlarge column Description (Contributed by SRombauts) Change 4007531 by Matt.Kuhlenschmidt PR #4656: UE-57200: Ignore reference to actor if same actor (Contributed by projectgheist) Change 4007548 by Matt.Kuhlenschmidt PR #4664: Set Password on EditableText (Contributed by projectgheist) Change 4007730 by Brandon.Schaefer Add a new way to symbolicate symbols for a crash at runtime Two new tools are used for this. 1) dump_syms Will generate a symbol file, which is to large to read from at runtime 2) BreakpadSymbolEncoder Takes the dump_syms file and encodes it in such a way we can do a binary search at runtime to find a Program Counter to a symbol we are looking for #review @Arciel.Rekman, @Anthony.Bills #jira UETOOL-1206 Change 4008429 by Lauren.Ridge Fixing undo bug when deleting user widgets from the widget tree #jira UE-56394 Change 4008581 by Cody.Albert Reinitialize needs to set the audio and caption tracks in addition to the video track or the currently selected track will be lost Change 4009605 by Lauren.Ridge Added Recently Opened assets filter under Other Filters in the Content Browser Change 4009797 by Anthony.Bills Linux: Update MultiArchRoot path to not cache. Move in tree toolchain location to match UBT convention and make sure the MultiArchRoot is checked before the system. Change 4010266 by Michael.Trepka Copy of CL 4010052 Moved some key event handling calls to the main thread on Mac to satisfy new macOS requirements #jira UE-54623 Change 4010838 by Arciel.Rekman Linux: limit allowed clang versions to 3.8-6.0. Change 4012160 by Matt.Kuhlenschmidt Changed the messagiing on the crash reporter dialog to reflect new bug submission process #jira UE-56475 Change 4013432 by Lauren.Ridge Fix for non-assets attempting to add to the Content Browser's recent filter #jira none Change 4016353 by Cody.Albert Improved copy/paste behavior for UMG editor: -Pasting in the designer while a canvas is selected will place the new widget under the cursor -Pasting multiple times while a canvas panel is selected in the hierarchy view will cascade the widgets starting at 0,0 -Pasting while something that isn't a panel is selected is now allowed, and will cascade the pasted widgets off the position of the selected widget (as siblings) -Newly pasted widgets will now be selected automatically -Pasting multiple widgets at once will try and maintain their relative positions if they're being pasted into a canvas panel Change 4017274 by Matt.Kuhlenschmidt Added some guards against invalid property handle access #jira UE-58026 Change 4017295 by Matt.Kuhlenschmidt Fix trying to apply delta to a mix of scene components and non scene components. Its acceptable to not have scene components in the selected component list #jira UE-57980 Change 4022021 by Rex.Hill Fix for audio desync and video fast-forwarding behavior. There long delay (500ms+) until samples start arriving unless we use RequestedTimeCurrent. After delay occurs samples begin arriving at accelerated speed until caught up to playback time leading to visual and audio problems. #jira UE-54592 Change 4023608 by Brandon.Schaefer Downscale memory if we dont have enough #jira UE-58073 #review-4023609 @Arciel.Rekman Change 4025618 by Michael.Dupuis #jira UE-58036: Apply world position offset correctly Change 4025661 by Michael.Dupuis #jira UE-57681: Added guard to prevent possible crash if either we have an invalid material or the material parent is invalid Change 4025675 by Michael.Dupuis #jira UE-52919: if no actor was found in the level skip moving the instances Change 4026336 by Brandon.Schaefer Manually generate *.sym files for Physx3 This should be done in the BuildPhysx file Change 4026627 by Rex.Hill Fix memory leak fix when playing video and main thread blocks #jira UE-57873 Change 4029635 by Yannick.Lange Fix VRMode loading assets only when VRMode starts. #jira UE-57797 Change 4030288 by Jamie.Dale Null FreeType face on load error to prevent potential crashes Change 4030782 by Rex.Hill Fix save BuildData after changing reflection capture in a new level #jira UE-57949 Change 4033560 by Michael.Dupuis #jira UE-57710: Added some guard to prevent crash/assert Change 4034244 by Michael.Trepka Copy of CL 4034116 Fixed arrow keys handling on Mac Change 4034708 by Lauren.Ridge PR #4699: UE-8508: Update config file to keep folder color in sync (Contributed by projectgheist) #jira UE-58251 Change 4034746 by Lauren.Ridge PR #4701: Add option to close tabs to the right of the active tab (Contributed by jesseyeh) #jira UE-58277 Change 4034873 by Lauren.Ridge Fix for not being able to enter simulate more than once in a row. #jira UE-58261 Change 4034922 by Lauren.Ridge PR #4387: Commands mapped in incorrect location (Contributed by projectgheist) #jira UE-53752 Change 4035484 by Lauren.Ridge Tentative fix for crash on pasting comment. All other accesses to UMaterialExpressionComment check its validity first #jira UE-57979 Change 4037111 by Brandon.Schaefer Try to use absolute path from dladdr if we can to find the sym files #jira UE-57858 #review-4013964 @Arciel.Rekman Change 4037366 by Brandon.Schaefer Dont check the command line before its inited #review-4037183 @Arciel.Rekman #jira UE-57947 Change 4037418 by Alexis.Matte Remove the checkSlow when adding polygon Change 4037745 by Brandon.Schaefer Use as much info as we can during ensure Just as fast as the old way but with more information #review-4037495 @Arciel.Rekman #jira UE-47770 Change 4037816 by Rex.Hill Import mesh optimization, BuildVertexBuffer Change 4037957 by Arciel.Rekman UBT: make it easier to try XGE on Linux. Change 4038401 by Lauren.Ridge Reordering is now correctly handled by undo. Reordering and then undoing will no longer cause a "ghost" widget to also be part of the tree. #jira UE-58206 Change 4039612 by Anthony.Bills Unix: Check for null StdOut and ReturnCode parameters, otherwise the code may dereference a null variable when the process fails to create. Change 4039754 by Alexis.Matte Remove the Render meshdescription, no need to carry this temporary data in the staticmesh Change 4039806 by Anthony.Bills Linux: UVS fixes - Update to use new Unix base platform. - Use bin/bash instead of usr/bin/bash (may need revisiting later). - Recompile Shipping version with changes. - Update Setup.sh to run from correct CWD (due to current limitations in the relative directory handling). Change 4039883 by Lauren.Ridge PR #4576: Save editor config to file first time a fav folder is added in the co. (Contributed by projectgheist) #jira UE-56249 Change 4040117 by Lauren.Ridge Replacing widgets should now also clear out references to the widget #jira UE-57045 Change 4040790 by Lauren.Ridge Tentative fix for Project Launcher crash when platform info not found #jira UE-58371 Change 4042136 by Arciel.Rekman UBT: refactor of LinuxToolChain to make it leaner and more configurable. - Made it possible to override SDK passed to the toolchain. - Simplified the code by using the same executable names on Windows and Linux (as .exe is optional), except where File.Exists() is needed (also remove a few) - Some minor renames to make it clear that SystemSDK means system compiler (which otherwise may be unclear) - Made changes to accomodate the new debug format. Change 4042930 by Brandon.Schaefer GCoreObjectArrayForDebugVisualizers was changed to FChunkedFixedUObjectArray reflect that in the Unix part Change 4043539 by Brandon.Schaefer Fix callsite address being used at times for the Program Counter Fix only reporting the actual callstack and not the crash handling callstacks #review-4041370 @Arciel.Rekman #jira UE-58477 Change 4043674 by Arciel.Rekman Added Linux ARM64 (AArch64) lib for MikkTSpace. - Now required for standalone games due to EditableMesh runtime plugin. Change 4043677 by Arciel.Rekman Linux: updated ARM64 (AArch64) version of SDL2. Change 4043690 by Arciel.Rekman Linux: allow compiling VulkanRHI for AArch64 (ARM64). Change 4045467 by Brandon.Schaefer Add Anthony Bills SetupToolchain.sh script Used to download the latest toolchain Change 4045940 by Michael.Trepka Return empty list instead of null from Mac GetDebugInfoExtensions() in UBT #jira UE-58470 Change 4046542 by Alexis.Matte Fix skeletal re-import material assignation #jira UE-58551 Change 4048262 by Brandon.Schaefer Rebuild SDL with pulse audio libs #jira UE-58577 Change 3887093 by Anthony.Bills Add bundled mono binary for Linux. - Unify some of the script structure across Mac and Linux. - This currently uses the same mono C# assemblies as Mac to keep the additional source size down. - If the Mac mono version is updated, the Linux version will also need to be updated to match the same mono git revision. - The system version of mono can still be used by setting the UE_USE_SYSTEM_MONO env var to 1. Change 4003226 by Michael.Dupuis Refactored StaticMeshInstancing to now use a command buffer to communicate with the GPU to prevent concurent access issues. It's mostly used in Editor or if runtime changes occur, otherwise the data is built and send to the GPU directly without keeping CPU copy. Changed how the density scaling was applied to be more optimal Removed UseDynamicInstanceBuffer as the concept is now irrelevant Change 3833097 by Jamie.Dale Localization Pipeline Optimization Manifest/Archives: Added FLocKey to keep an immutable string and its hash. This is used in several places within manifests and archives to minimize string hashing. FLocTextHelper also now take these in its API. This also fixes some places where manifests were being iterated by key rather than source string (as this was causing redundant work). Portable Object: Cleaned up a lot of redundant code, changed things to use FLocKey, and simplified a lot of string manipulation to use algorithms instead (which proved to be faster). Asset Gathering: Optimized the way garbage collection runs while gathering from assets so that we avoid purging assets that we still need to gather from (or are still active dependencies). This also sorts the assets so that we can try and evict dependencies from memory as soon as possible (in much the same way that the cooker does). Automation: The gather commandlet can now take multiple configs to process. This is used by automation to avoid starting the editor several times (which can save a significant amount of start-up overhead). [CL 4052378 by Lauren Ridge in Main branch]
2018-05-04 14:14:10 -04:00
#include <algorithm>
#include <iostream>
#include <fstream>
#include <limits>
#include <string>
#include <string.h>
#include <unordered_map>
#include <vector>
#include "BreakpadSymbolEncoder.h"
#define VERBOSE_DEBUG 0
namespace
{
std::string ReadInFile(const std::string& Path)
{
std::ifstream InFile(Path.c_str(), std::ios::in | std::ios::binary);
if (InFile)
{
std::string Out;
InFile.seekg(0, std::ios::end);
Out.resize(InFile.tellg());
InFile.seekg(0, std::ios::beg);
InFile.read(&Out[0], Out.size());
InFile.close();
return Out;
}
return {};
}
std::vector<std::string> SplitFilePerLine(std::string&& RawBytes)
{
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor [at] 4327887) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3813004 by Matt.Kuhlenschmidt Fix dpi scale being wrong when there is a mix of high dpi and low dpi monitors and the editor opens the window on the low dpi monitor Change 3946515 by Michael.Trepka Reverted CL 3813004. We need to save editor's root window size and position in DPI-independent units, as that's what the loading code expects. Change 4052825 by Brandon.Schaefer Add back -funwind-tables for arm This was removed an only tested on x86 which worked just fine. Arm reqiures this for backtrace #jira none Change 4055318 by Brandon.Schaefer Remove extra mallocs when crash handling Still need to look into gmalloc calls, such as using FStrings during Ensure/Crash handling [at]Arciel.Rekman #jira UE-58538 Change 4055623 by Brandon.Schaefer Replace std::endl with "\n" As std::endl is "\n" << std::flush. On windows dump_syms was taking 33 seconds to fflush with std::endl on a 1.2GB file. No longer with "\n". [at]Josh.Engebretson Change 4057102 by Jamie.Dale Added missing API export Change 4057384 by Rex.Hill Fix ReversePolygonFacing crash Change 4067426 by Matt.Kuhlenschmidt PR #4667: Source control history: remove empty spacing in the right of the detail panel (Contributed by SRombauts) Change 4067587 by Matt.Kuhlenschmidt PR #4311: PlacementModeTools shapes searchable and thumbnail (Contributed by projectgheist) Change 4068480 by Cody.Albert Fix display name for Display UI Extension Points Change 4070876 by Brandon.Schaefer Avoid printing when in a signal handler. Put that off until the end #jira UE-36663 [at]Arciel.Rekman, [at]Anthony.Bills Change 4071980 by Brandon.Schaefer Cache files that are invalid or the wrong case sensitivity #jira UE-58250 [at]Arciel.Rekman Change 4079967 by Matt.Kuhlenschmidt Added scale parameter to Canvas::DrawText #jira UE-59023 Change 4080228 by Alexis.Matte Fix the PerPlatformPropertiesWidget to be readable when there is many platform #jira UE-57556 Change 4081171 by Matt.Kuhlenschmidt PR #4272: Fix typo. (Contributed by Damianno19) Change 4081601 by Matt.Kuhlenschmidt GitHub 4077 : Hide SDetailView Filterbox when no actor selected Change 4090114 by Matt.Kuhlenschmidt Fixed touch events simulated through mouse not respecting high dpi #jira UE-59477 Change 4091999 by Matt.Kuhlenschmidt Fixed insert/delete/duplicate children calling PostEditChange on the existing child node not the array Change 4093187 by Arciel.Rekman Do not save window position if running with -nullrhi (UE-52498). - This also fixes a crash on exiting automation tests. #jira UE-52498 Change 4096404 by Richard.TalbotWatkin Resaved test assets to update to latest UStaticMesh serialization format. Change 4096445 by Richard.TalbotWatkin New serialization layout for UMeshDescription. - Only the bare minimum is serialized: any internal values which can be inferred from others in the Mesh Description are omitted. - Triangles are no longer serialized: a triangulation step is performed per polygon when serialized. - Attribute arrays of simple types are now serialized with BulkSerialize for speed; only FName requires element-by-element serialization. Change 4112843 by Brandon.Schaefer Rebuilt replacing std::endl with '\n' avoiding a std::flush *pre* write Was taking 30 seconds to std::flush on a 1.2 GB file #jira none Change 4113422 by Brandon.Schaefer If we are using the native bundled toolchain set LC_ALL=C to avoid locale issues #jira UE-59416 Change 4113849 by Cody.Albert Fix support for toolbar extensions in the UMG editor Change 4118758 by Richard.TalbotWatkin - Refactor to put UStaticMesh Mesh Descriptions in a separate object which is not loaded by default, but which can be requested when needed. This needs to be kept in sync with the number of SourceModel LODs. - Various refactors to import/building. - Changed UMeshDescription to FMeshDescription, and made its preferred semantics pass-by-reference rather than by pointer. - Deprecated UMeshDescription. Change 4119883 by Rex.Hill Cleanup blueprint callable categories Landscape Editor -> Landscape|Editor Landscape Runtime -> Landscape|Runtime Cloth -> Clothing Simulation Cinematics -> Cinematic Utility -> Utilities Change 4119898 by Rex.Hill Cleanup blueprint callable categories x|Magic Leap -> Magic Leap|x Apple ARKit * -> Apple ARKit|* Change 4119972 by Brandon.Schaefer Dont add colors if we are not outputing to a terminal #jira UE-58173 Change 4119994 by Brandon.Schaefer Only check once if we are outputing to a terminal #jira UE-58173 Change 4122654 by Alexis.Matte Fix re import assignment of sections #jira UE-59611 Change 4123536 by Alexis.Matte Add to the fbx importer the possibility to use different sample rate when importing an animation. #jira UE-59444 Change 4124702 by Brandon.Schaefer Fix duplicated struct/class from slightly different submit into main coming back into dev-editor #jira UE-60163 Change 4133449 by Mike.Erwin glTF importer work Foundations of work for Skeletal Mesh import; right now we just support Static Mesh. - node hierarchy - joint IDs & skinning weights - matrix & quaternion values #jira none Change 4133749 by Matt.Kuhlenschmidt PR #4771: Fix access violation for ImportAsset commandlet fbx reimport. (Contributed by UristMcRainmaker) Change 4133758 by Matt.Kuhlenschmidt PR #4675: Properly set TextScale for OnScreenDebugMessages (Contributed by projectgheist) Change 4134543 by Alexis.Matte Update the staticmesh LOD model max deviation when generating a LOD #jira UE-60353 Change 4134559 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - Editor scripting utilities #jira UE-60666 Change 4134560 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - SpeedTreeImporter #jira UE-60667 Change 4135335 by Alexis.Matte Deprecate FRawMesh - GLTF importer #jira UE-60670 Change 4135857 by Alexis.Matte Fix CIS build warning #jira none Change 4137249 by Matt.Kuhlenschmidt Fix tiny fonts from appearing in slow task dialogs Change 4137280 by Matt.Kuhlenschmidt Fix specifying relative paths for the auto-import commandlet not working Change 4137283 by Matt.Kuhlenschmidt PR #4305: Light map index was unintialized (Contributed by DSDambuster) Change 4137290 by Matt.Kuhlenschmidt PR #4382: Prevent error log due to non-existing plugin directory (Contributed by projectgheist) Change 4147032 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - ABC Importer #jira UE-60702 Change 4147978 by Matt.Kuhlenschmidt Fix one of the CIS fails Change 4154874 by Matt.Kuhlenschmidt Fix hidden asset properties in struct details panels. We consider all object properties with "allowedclasses" metadata to be asset properties since they only show an asset picker. Change 4167303 by Matt.Kuhlenschmidt Work around for sync to content browser from details panels not working for interface properties Change 4167388 by Matt.Kuhlenschmidt Make sure when converting relative path filenames in automated import that we convert them relative to the project directory. Change 4171891 by Matt.Kuhlenschmidt Fix preview mesh actor becoming stuck to the cursor when the editor or viewport loses focus #jira UE-61246 Change 4175503 by Cody.Albert Updated variable details panels to not display unusable metadata options for UMG widget references #jira UE-55078 Change 4175736 by Cody.Albert PR #4663: UE-20103: Slate widgets retain their category name v2 (Contributed by projectgheist) Change 4178937 by Rex.Hill Fix crash opening level after removing as sublevel jira: UE-61305 Change 4181097 by Matt.Kuhlenschmidt Fix Linux/Mac CIS Change 4184333 by Alexis.Matte Fix the material ID assignation when re-importing static mesh #jira none Change 4199682 by Arciel.Rekman Linux: enable XGE during cross-builds to see whether the build issues persist. - Licensees are asking for this and XGE folks are eager to help investigating the crashes, if any. Change 4200944 by Cody.Albert Updated VR Mode button to become inactive during SIE (instead of disappearing altogether) #jira UE-50220 Change 4204817 by Alexis.Matte Enable or disable the morph target weight slider depending of the project settings. #jira UE-61671 Change 4204821 by Alexis.Matte Optimize import time for morph targets #jira UE-61670 Change 4207394 by Cody.Albert PR #3299: UMG Slider Additions (Contributed by Dzuelu) Change 4208299 by Brandon.Schaefer Fix warning/error with logical operators #jira none Change 4210660 by Cody.Albert PR #3458: UE-43728: Always show scrollbar when necessary (Contributed by projectgheist) #jira UE-43727, UE-43278 Change 4215684 by Brandon.Schaefer Linux: Implement minimized function for LinuxWindow #jira UE-56023 Change 4217350 by Brandon.Schaefer Linux: Clean up IsMaximized #jira none Change 4217489 by Brandon.Schaefer Linux: Make popup menus BORDERLESS. Slate will give the menu events This appears to fix a lot of our grabs causing compiz to do something issue. #jira UE-59237, UE-54085, UE-51407, UE-50018, UE-53915 Change 4225018 by Cody.Albert UMG Hierarchy now remembers expansion state when being destroyed and recreated (due to closing widget or switching to Graph view) #jira UE-61836 Change 4225088 by Cody.Albert Added hover style for color picker slider Change 4226081 by Richard.TalbotWatkin New attribute array API. Fixed some flaws in the original API, deprecated various methods, and introduced some new features. - Now attribute arrays are accessed via TAttributesRef or TAttributesView (and corresponding const versions). These value types hold references to attribute arrays, and individual elements can be accessed by their element ID and attribute index. Using a value type is safer than the previous method which required assignment to a const-ref (and not doing so would take a temporary copy of the attribute array). - The attribute set has been totally flattened, so all attributes of different types are added to the same container. This greatly improves compile times, prevents attributes from being created with the same name but different types, and permits the view feature. - The class hierarchy has changed to have generic base classes where possible with no particular ElementID type. This reduces the code footprint by no longer generating nearly identical copies of templated methods. - A TAttributesView allows the user to access an attribute array by the type of their choosing, regardless of its actual type. For example, the Normal attribute may be registered with type FPackedVector, but accessed as if it was an FVector. This allows us to move away from very strong typing, and instead transparently store attributes of a more efficient size, while the user is not affected. - A transient attribute flag has been added, to denote that a particular attribute should not be saved. Change 4226083 by Richard.TalbotWatkin Reinstated original mesh editor materials. Change 4226102 by Richard.TalbotWatkin Fixed some deprecation warnings, and a mistake in MeshAttributeArray.h. Change 4226118 by Richard.TalbotWatkin Fix build errors: - Added missing file - Corrected the last fix. Change 4226121 by Richard.TalbotWatkin Bumped static mesh mesh data GUID. Change 4226231 by Richard.TalbotWatkin Removed some test code which got checked in by mistake. Change 4226232 by Richard.TalbotWatkin Fixed typo which caused build errors. Change 4226234 by Richard.TalbotWatkin Fixed a typo in MeshDescriptionTests. Change 4226237 by Richard.TalbotWatkin Removed over-cautious deprecation warnings. Once GetAttributes() is changed to GetAttributesRef(), element access will still work with array syntax. Change 4226625 by Richard.TalbotWatkin Added missing asset. Change 4227365 by Matt.Kuhlenschmidt Fix brush actors not showing the correct icon in scene outliner. - Actors can now supply their own icon if needed #jira UE-61948 Change 4229632 by Alexis.Matte Make the namespace an import option #jira UE-62099 #jira UE-62067 Change 4229637 by Alexis.Matte Fix fbx importer staticmesh the light map index, the index was check before the build. #jira UE-62064 Change 4232793 by Chris.Gagnon Added include to fix non unity builds. #jira UE-62138 Change 4234206 by Brandon.Schaefer Linux: Allow windows that want to be resizable to be resizeable Github PR #3578 thanks hhyyrylainen #jira UE-45847 Change 4234322 by Brandon.Schaefer Continue after starting UnrealVersionSelector to avoid blocking a chain command #jira UE-61530 Change 4234446 by Chris.Gagnon Properly handled FPackageName::TryConvertFilenameToLongPackageName() failing in Cache Thumbnail. #jira UE-61990 Change 4235057 by Brandon.Schaefer Linux: Write to stderr when we fail to find expected to find sym file #jira none Change 4235121 by Brandon.Schaefer Linux: Mark the static bool as soon as we enter the scope #jira none Change 4235399 by Brandon.Schaefer Linux: Check we are not x86 otherwise add unwind tables Copying the change that went over into 4.20.1 here #jira none Change 4240539 by Jamie.Dale Made DataTableUtils::GetX functions take a const data pointer Change 4240646 by Chris.Gagnon Fix for delayed destruction of UWidgets when they are manually removed from a panel as part of tear down. Inspired by the pull request, however I put in a more generic fix. PR #4904: Fix late release of Slate resources managed by UMG slot widgets (Contributed by cmp-) Change 4242975 by Yuriy.ODonnell Moved duplicated code from MeshUtilities and MeshDescriptionOperations (FLayoutUV, FAllocator2D, FOverlappingCorners, etc.) into a new single module MeshUtilitiesCommon. Add a generic opaque mesh view interface FLayoutUV::IMeshView to abstract mesh data access and allow FLayoutUV to be used with any mesh type in any module. Replaced few instances of using an old version of overlapping corners data structure (multi-map) with new specialized FOverlappingCorners container. Change 4243112 by Yuriy.ODonnell Use new attribute array API for accessing FMeshDescription data. Change 4243131 by Brandon.Schaefer Cast our new resize w/h to int before checking if we are already that size #jira UE-52291 Change 4243172 by Brandon.Schaefer Ceil not trunk for this compare #jira none Change 4243271 by Brandon.Schaefer Change address to be more portable MS compiler does not place a '0x' on %p formating. Linux/Mac append a '0x' to the address #jira UE-62325 Change 4243276 by Richard.TalbotWatkin Fixed deprecated MeshDescription calls (merged with Yuriy's changes). Change 4244067 by Lauren.Ridge Preventing crash on floating text if asset container does not exist. VR Editor floating text is now not placeable or blueprintable. #jira UE-62139 Change 4244547 by Lauren.Ridge Changes to more accurately represent android behavior in PIE and UMG #jira UE-62301 Change 4244830 by Alexis.Matte Fix animation Range import, prevent changing the option when validating the anim range. #jira UE-62055 Change 4250565 by Yuriy.ODonnell Removed GeometryCache dependency on MeshUtilitiesCommon in non-editor configs. Change 4254733 by Matt.Kuhlenschmidt Slate Fast Path - Changed FSlateWindowElementList GetWindow to be thread safe. For fast path, this is accessed on multiple threads so it needs to be safe GetWindow is deprecated and GetPaintWindow should be used instead Edigrate from source CL 4254611 Change 4257092 by Chris.Gagnon Improved UMG rename validation to respect the errors from the blueprint validator. This fixes at least the case where it miss reported the issue when the name was greater than the length limit in blueprints. #jira UE-62417 Change 4257124 by Chris.Gagnon PR #4924: UE-62113 Fix Other filters toggling all assets to show up (Contributed by mamoniem) #jira UE-62457 Change 4258696 by Chris.Gagnon Removed Tab Spawner for Color Curve Editor is your not editing the color curve. #jira none Change 4258937 by Chris.Gagnon Simplifed the code in the case of a null CurveOwner. #jira UE-62443 Change 4259162 by Richard.TalbotWatkin Fixed crash when entering mesh editor mode after having loaded a new level. Change 4259909 by Chris.Gagnon Added better check output to try and learn more about a crash in the wild. Added some better const saftey while in there. #jira UE-60696 Change 4259995 by Chris.Gagnon Fix for possible crash if the mesh has invalid materials. Also fixed the fact the FindMaterialIndicesUsingTexture() didn't work as advertised at all. Seems like you'd attemp to paint all materials even when trying to only paint the ones using a particular texture. #jira UE-62488 Change 4261012 by Michael.Dupuis #jira UE-48899: Make sure the RootComponent is valid before trying to use it. Change 4261361 by Michael.Dupuis #jira UE-48899: Fixed the warning about scale Change 4261926 by Michael.Dupuis #jira UE-48899: Only check the root component validity as it's possible that the component is not registered when this get called. Change 4262163 by Richard.TalbotWatkin Fixed uninitialized member. #jira UE-62493 #jira UE-62506 Change 4262549 by Brandon.Schaefer Linux: Update the Slate application what the window size will most likely be As X11 takes a frame to send an Event that a window has had its size changed. This causes things such as the slate renderer to think the window size is different then it actually it. This causes streching of tooltips #jira UE-62555 Change 4262581 by Brandon.Schaefer Linux: Use Show so we preserve our bIsVisible bool and avoid sending SDL_ShowWindow twice (ie. if its already shown) #jira none Change 4262906 by Chris.Gagnon PR #4915: [UMG] Bind UWidgetAnimation from C++ to blueprint created animation (Contributed by TheCodez) Change 4262965 by Chris.Gagnon PR #4932: Fix to generate cleaner C++ files when using "New C++ Class" (Contributed by TheCodez) Change 4263177 by Chris.Gagnon PR #4935: Prevent crash when clicking use selected game mode multiple times (Contributed by projectgheist) Change 4264723 by Christina.TempelaarL Fixed SceneCaptureComponent so ShowOnlyActors property is writeable in blueprints. #jira UE-62547 Change 4266029 by Michael.Dupuis #jira none: Guarded against the scene being null Change 4266356 by Richard.TalbotWatkin Changed FMeshDescription to a struct from a class. Added log errors when loading UMeshDescription objects (now deprecated), in preparation to resave any which remain. Once all serialized UMeshDescriptions are wiped out (they only exist internally), FMeshDescription will become a USTRUCT. Change 4266621 by Matt.Kuhlenschmidt Fix UE4 icon to be the correct one Change 4266635 by Chris.Gagnon Added Message Log output for invalid software cursor as opposed to ensure/log. #jira UE-62554 Change 4268136 by Matt.Kuhlenschmidt Fix outline colors not updating when changing on the fly #jira UE-42116 Change 4269184 by Chris.Gagnon Fix for possible nullptr dereference. #jira none Change 4269902 by Brandon.Schaefer Slate dialog modal window was not settings its parent window #jira UE-62608 Change 4272083 by Chris.Gagnon Fix for case where the the property noded arn't rebuilt in time and custom property ui can be using stale data. #jira UE-62499 Change 4272869 by Michael.Trepka Make sure ShooterGame sets correct input modes/mouse capture in menus and in game to avoid problems with keyboard not working in menus after alt-tab #jira UE-61017 Change 4275155 by Michael.Dupuis #jira UE-62526: Update lightmap/shadow UV mapping after lighting build on HISMC. ISM will get also updated due to the Edit() that will reapply the values on CreateSceneProxy Change 4275298 by Lauren.Ridge Fixed string parsing when looking at parent cvar values #jira UE-62301 Change 4275391 by Lauren.Ridge Fix for resolutions increasing when swapping landscape/portrait Change 4275606 by Lauren.Ridge Moving all asset container access to PostActorCreated to avoid VR editor assets in cooks #jira UE-57797 Change 4275807 by Lauren.Ridge Duplicating color themes now dupllicates the color labels as well #jira UE-60697 Change 4275989 by Lauren.Ridge When selecting a node while the details panel is behind a different panel in the same dock tab, the details panel is brought forward #jira UETOOL-1325 Change 4276146 by Lauren.Ridge Fix for new texture sample nodes not taking the selected texture from the content browser as the starting value. #jira UETOOL-1322 Change 4276412 by Lauren.Ridge Assets that can be dragged into the material graph now indicate that with a checkmark #jira UE-56024 Change 4279549 by Lauren.Ridge Fixed recursion of calls through SetDesignerFlags to avoid double-recursion with many nested panels #jira none Change 4279894 by Lauren.Ridge Adding check for RootWidget existing Change 4279969 by Michael.Trepka Updated FDesktopPlatformMac::FileDialogShared() to handle a case where no extensions were specified in FileTypes string #jira UE-62421 Change 4280317 by Lauren.Ridge Adding if WITH_EDITOR Change 4280716 by Chris.Gagnon PR #4979: UE-62795: Deprecate bAutoWrapText in TextBlock (Contributed by projectgheist) Slightly modified, the base syncronize sets the autowrap value. Change 4280847 by Lauren.Ridge Single property setting changes will now also call OnModified delegate for their section #jira UE-58276 Change 4280850 by Chris.Gagnon Added early out and log if focus is attempted to be set when the window is suppost to be be disabled due to a modal window being up. #jira UE-62742 Change 4280931 by Brandon.Schaefer Linux: Use MallocCrash when hitting out of memory issues in BinnedAllocFromOS #jira FORT-108267 Change 4281460 by Lauren.Ridge Clearing focus on a variable once it is committed. Fixes assert on undo #jira UE-61872 Change 4283706 by tim.gautier QAGame: Adding HISM test map / assets Change 4283980 by Michael.Trepka Unshelved from pending changelist '4238012': Xcode project generator improvements - Per-project precompiled header that wraps UnrealEd.h with #ifdef __cplusplus to allow Xcode to compile the pch in ObjC mode. Later we could replace UnrealEd.h with some other header file for non-editor targets - Moved commands that disable compile warnings from MacToolChain's GetCompileArguments_Global to ApplePlatformCompilerPreSetup.h. Thanks to this we can have all the Xcode recommended warnings enabled in the project, but still allow Clang to index our code without reporting warnings - Few more minor changes to fix Xcode's project validation and indexing warnings Also, unify compile warning flags across all Apple platforms. #jira UE-47965, UE-44327 Change 4284062 by Michael.Trepka Copy of CL 4222794 from 4.20 Fixed a crash at exit in Mac editor caused by an attempt to use MetalProfiler after deleting it #jira none Change 4284266 by Brandon.Schaefer Linux: Fix deadlock in a file cache which could be locked in a crash handler #jira UE-62808 Change 4284469 by Lauren.Ridge Fix for material parameter node crashing Change 4284541 by Lauren.Ridge Blueprints inheriting from UWidget will now show up in the palette view even if they are not loaded. #jira UE-59164 Change 4284542 by Michael.Trepka Copy of CL 4222797 Fixed a problem with FMacPlatformMisc::NormalizePath allocating an autorelease pool during crash handling, which resulted in the OS killing the process before we spawn CrashReportClient. Now this function is identical to Linux version. #jira UE-61779 Change 4285288 by Cody.Albert Fixed crash when changing "Show Coalesced" setting in profiler Change 4285483 by Chris.Gagnon PR #4936: Duplicate widget functionality for UMG editor (Contributed by projectgheist) Fixed up some variable names. #jira UE-62528 Change 4287219 by Brandon.Schaefer dump_syms: Replace inline file/line with their callsite over the inline location Fix <name omitted> appearing as the names for the function Disable CFI generation for Windows (Linux theres a command line). Speeds up symbol generation #jira FORT-670 Change 4287247 by Brandon.Schaefer BreakpadSymbolEncoder: If the file doesnt have a newline at EOF handle that as a seperate case #jira none Change 4287259 by Brandon.Schaefer dump_syms: Build on centos7 #jira none Change 4287269 by Brandon.Schaefer Linux: Disable generating CFI info when running dump_syms #jira none Change 4287326 by Brandon.Schaefer dump_syms: Update to disabling the CFI generation version #jira none Change 4287902 by Brandon.Schaefer TestPAL: Add cases for testing inline callstacks #jira UEENGQA-21414 Change 4288365 by Lauren.Ridge PR #4422: Set default material parameter name (Contributed by projectgheist) Change 4292002 by Brandon.Schaefer Linux: If our default settings are empty help fill in the proper name #jira UE-62910 Change 4292496 by Lauren.Ridge Now all renamable nodes do name verification also Change 4292532 by Lauren.Ridge PR #4989: Add icons to folder context menu favorites (Contributed by projectgheist) Change 4293043 by tim.gautier QAGame: Added a panner to ML_Albedo Change 4295326 by Richard.TalbotWatkin - Updated MeshDescription attribute calls to fix deprecation warnings. - Removed TMeshAttributeArraySet::AddArray because the functionality was already available as part of SetNumIndices. - Renamed TMeshAttributeArraySet::InsertArray, RemoveArray to InsertIndex, RemoveIndex for naming convention consistency (these methods deal with attribute indices, not with arrays). Added support for them in other attribute classes, and made them virtual so they can be called as part of an AttributesView. - Removed redundant code in FUSDStaticMeshImportState::AddPolygons, when determining the number of UVs in the mesh description. Change 4295795 by Richard.TalbotWatkin Corrected MAX_MESH_TEXTURE_COORDS_MD references. Change 4297308 by Cody.Albert Fixed bug with InputPreProcessorsHelper::Add not correctly adding input processors Change 4297799 by Brandon.Schaefer Linux: Dont assume DISPlAY=:0 #jira UE-63050 Change 4298150 by Brandon.Schaefer dump_syms: This is rebuilding dump_sym changes from CL 4287219 for Mac Replace inline file/line with their callsite over the inline location Fix <name omitted> appearing as the names for the function Disable CFI generation for Windows (Linux theres a command line). Speeds up symbol generation Source code changes for dump_syms was changed at CL 4287219 #jira none Change 4298369 by Brandon.Schaefer dump_syms: Rebuild for Linux/Windows to fix a possible crash when missing debug_ranges in the debug section Source changed in CL 4298150 #jira none Change 4301952 by Lauren.Ridge Fixing input labels on material function inputs #jira UE-63077 Change 4302388 by Brandon.Schaefer Linux: If we have a 0 LineNumber lets try to use to the previous Record. Still an issue with non-virtual thunks reporting line number zero but it seems even windows skips these frames. GDB reports a different callsite that doesnt seem super related (possibly?) Nothing to do with thunking though. #jira UE-62930 Change 4304835 by Alexis.Matte Add imported framerate info to anime sequence #jira UE-51302 Change 4307480 by Brandon.Schaefer SDL2: Update to newer version hg-12121:4358e537000a Fixed github PR #4844 as well (thanks tomix1024) #jira UE-62783 UE-61369 Change 4307481 by Brandon.Schaefer SDL2: Rebuild with the newer version hg-12121:4358e537000a Fixed github PR #4844 as well (thanks tomix1024) #jira UE-62783 UE-61369 Change 4308264 by Brandon.Schaefer Linux: Make both DLLIMPORT the same value #jira UE-61174 Change 4308640 by Matt.Kuhlenschmidt Added a "report bug" menu entry to the help menu #jira UE-63182 Change 4309508 by Brandon.Schaefer nvTextureTools: Rebuild on Linux using our libc++ and not libstdc++ Move to the proper runtime depend location #jira UE-54892 UE-61705 Change 4309554 by Brandon.Schaefer SDL2: Add last missing folder #jira none Change 4309955 by Chris.Gagnon PR #5017: UE-63105: Modify SGraphActionMenu::OnKeyDown to use a different branc. (Contributed by projectgheist) Change 4311008 by Brandon.Schaefer nvTextureTools: Actually remove libstdc++ from Linux build #jira UE-54892 Change 4312195 by Alexis.Matte - Fix the set range feature to always use the file sample rate so the range match what the user see in the DCC - Also add some fbx file information to the import dialog #jira UE-62504 Change 4315347 by Brandon.Schaefer Linux: Disable XGE builds as it appears to be lower casing folders when the build platform is Windows #jira UE-63296 Change 4318704 by Lauren.Ridge Fix for crash on opening map built data #jira UE-63301 Change 4319999 by Lauren.Ridge Fix for crash in vr mode #jira UE-63376 Change 4320144 by Chris.Gagnon Fix for smoke content that set the hovered size different to the normal size on the UMG slider handle. #jira UE-63367 Change 4327887 by Michael.Trepka Disable nonportable-include-path warning in iOS toolchain to allow incorrect case in paths to headers passed using -include #jira UE-63408 Change 4217622 by Brandon.Schaefer Linux: Pass a command line argument to crash reporter to show or skip a user agreement popup #jira none Change 4312048 by Brandon.Schaefer Linux: Dont disable ICU by default on Servers #jira UE-59113 Change 4320173 by Chris.Gagnon Fix for startup movie streamer on xbox not finishing. #ROBOMERGE-OWNER: jason.bestimt #ROBOMERGE-SOURCE: CL 4329255 in //UE4/Main/... #ROBOMERGE-BOT: DEVVR (Main -> Dev-VR) [CL 4329265 by chris gagnon in Dev-VR branch]
2018-08-29 18:37:17 -04:00
std::vector<std::string> Out;
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor @ 4048875) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3808185 by Cody.Albert Added missing calls to FEditorViewportClient::AddReferencedObjects in overrides Change 3809824 by Michael.Trepka Improved the way we generate groups in Xcode project's source code navigator. They are now sorted alphabetically and have correct paths so Xcode no longer displays them in red. Also, added __INTELLISENSE__ to preprocessor definitions for indexing to improve indexing without game header files generated. Change 3810089 by Jamie.Dale Fixed PO files failing to import translations containing only whitespace Change 3811281 by Matt.Kuhlenschmidt PR #4331: Toggle SIE shortcut only in PIE (Contributed by projectgheist) Change 3813031 by Matt.Kuhlenschmidt Fix undocked tabs not dropping at users mouse location #jira UE-53427 Change 3813361 by Brandon.Schaefer Print what SDL video driver we are using Change 3818430 by Matt.Kuhlenschmidt PR #4365: Incorrect font name and forgotten undef (Contributed by projectgheist) Change 3818432 by Matt.Kuhlenschmidt PR #4366: Asset Color Strip updates correct on drag and drop (Contributed by projectgheist) Change 3818436 by Matt.Kuhlenschmidt PR #4367: Improved logging (Contributed by projectgheist) Change 3819886 by Matt.Kuhlenschmidt Add a way to optionally disable the warning about referenced actors being moved to other levels. Useful for bulk actor moves via script Change 3819888 by Matt.Kuhlenschmidt Avoid crashing when a window size becomes too large to render. Instead just ensure and clamp to the maximum allowed size. Avoids crashes where the screen dimensions are saved with super large numbers for unknown reasons Change 3821773 by Brandon.Schaefer Fix crash when importing to level #jira UE-31573 Change 3821892 by Jamie.Dale Improved the localized asset cooking so that it only cooks L10N variants if their source asset is cooked #jira UE-53010 Change 3823714 by Christina.TempelaarL #jira UE-52179 added support for grayscale PSD files Change 3826805 by Christina.TempelaarL #jira UE-49636 SceneCaptureComponent2D hidden actor and show only actors disabled in blueprints #jira UE-53445 SceneCaptureComponent2D hidden actors always disabled in details layout Change 3828444 by Anthony.Bills Add LXC container script for building third party libraries. The intention is that this should become the only way to rebuild the third party libraries that require system dependencies not included in the cross-compile toolchain and also to rebuild the toolchains. Other third party libraries without any system dependencies could be rebuilt via the cross-compile toolchains/UBT. This script has been tested running on CentOS 7 and Ubuntu 17.10. Buy default the x86 and x86_64 builds will be built against a CentOS 6 container (and targeting glibc 1.12) and the aarch64 and armhf builds will use an Ubuntu Ubuntu Trusty (14.04) but this is not yet complete. Change 3828754 by Brandon.Schaefer Linux: Fix gamepad thumbstick clicks not registering (github #4209 thanks J??rn M??ller) #jira UE-45722 #review-3828733 Arciel.Rekman Change 3830414 by Brandon.Schaefer Remove circular referencing to a parent window. Move to use AddSP vs AddRaw as well to be safe manually remove ourselves from the selection event delegate list due to Linux pending deletion of windows. Looks like this should fix UE-28322 as well which I've removed the work around placed in for that. #jira UE-53918 #review @michael.trepka, @matt.kuhlenschmidt, @arciel.rekman Change 3830916 by Brandon.Schaefer More verbose message about missing VK extensions (from Marcin Undak) #review-3830710 marcin.undak, arciel.rekman Change 3831339 by Brandon.Schaefer Default to as-needed for debug mode #jira none #review-3830658 Arciel.Rekman Change 3833102 by Jamie.Dale Re-added warning for duplicate package localization IDs when gathering asset localization Change 3834600 by Jamie.Dale Optimized asset registry filter intersection Change 3838024 by Brandon.Schaefer Remove tracking of CLion/CMake build files (from github #4346 thanks reapazor!) #jira UE-53551 #review-3835803 arciel.rekman Change 3839969 by Michael.Dupuis #jira UE-52289: When OnRegister is called on the component make sure our PerInstanceRenderData is up to date Prevent a possible crash if ClearInstanceSelection was called on a component with no PerInstanceRenderData existing Change 3840049 by Michael.Dupuis #jira UE-52975: Was always performing the equivalent of an Add, so now we use the Transform during the duplicate Change 3840071 by Matt.Kuhlenschmidt - Combine some shader params for slate in order to reduce overhead setting uniform buffers - Added better stats for slate draw call rendering - cleaned up huge lambda in Slate rendering main function so we can read the main slate rendering function again Change 3840291 by Michael.Dupuis #jira UE-53053: Was having a mismatch between the remove reorder and the actual remove Change 3840840 by Michael.Dupuis #jira UE-53944: Make sure the LOD generated is in the valid range to prevent the crash Change 3842072 by Michael.Dupuis #jira UE-50299: Include NumSubsection in calculation of component quad factor Change 3842487 by Christina.TempelaarL #jira UE-50573 HighResShot has wrong res in immersive mode Change 3845702 by Matt.Kuhlenschmidt PR #4381: DefaultASTCQualityBySpeed too high max value. (Contributed by kallehamalainen) Change 3845706 by Matt.Kuhlenschmidt PR #4388: Only restore window if minimized (Contributed by projectgheist) Change 3845993 by Christina.TempelaarL #jira UE-41558 crash when selecting PostProcessingVolumes in separate levels Change 3856395 by Brandon.Schaefer No longer using ALAudio on Linux #jira UE-53717 Change 3858324 by Michael.Trepka Preserve command line arguments in Xcode project when regenerating it Change 3858365 by Michael.Dupuis #jira UE-52049: There was a case where adding and removing multiple time would lead to reordering the instances and this would cause the regeneration of the random stream for all the reorded instances. Change 3858492 by Michael.Trepka Updated dependencies for Mac dSYM files so that only cross-referenced modules have their dSYMs recreated on subsequent builds instead of all modules. Change 3859470 by Michael.Trepka CIS fix. Make sure a scheme file exists before trying to read it when generating Xcode project. Change 3859900 by Joe.Conley Fix for "Check Out Assets" window not properly receiving focus. Change 3865218 by Michael.Dupuis #jira UE-45784: Exposed the possibility to edit LDMaxDrawDistance Change 3866957 by Michael.Dupuis #jira UE-42509: Added BodyInstance to ULandscapeSplineSegment and ULandscapeSplineControlPoint Deprecated bEnabledCollision and migrate data as it's replaced by BodyInstance Change 3867220 by Cody.Albert Fixed Project Launcher scrollbar to properly stay anchored at the bottom of the scroll area. Change 3869117 by Michael.Dupuis #jira UE-42509:Fixed compile error when not having editor data Change 3872478 by Arciel.Rekman Linux: disable PIE if compiler enables it by default. Change 3874786 by Michael.Dupuis #jira UE-46925: Remove the guessing functionality when importing a heightmap, and instead propose to the user valid size that can be used for the import through a combo button. Improved usability of the UI by disabling size field when no file was specified Change 3875859 by Jamie.Dale Implemented our own canonization for culture codes Change 3877604 by Cody.Albert We now validate actor names passed to SetActorLabel to ensure None isn't passed in, which can corrupt levels Change 3877777 by Nick.Shin PhysX build fix - this came from CL: 3809757 #jira UE-54924 Cannot rebuild Apex/PhysX/NvCloth .emscripten missing Change 3881693 by Alexis.Matte Fix local path search to not search in memory only #jira UE-55018 Change 3882512 by Michael.Dupuis #jira none : Fixed screen size calculation to take aspect ratio into account correctly Change 3886926 by Arciel.Rekman Linux: fixed checking clang settings during the cross-build (UE-55132). #jira UE-55132 Change 3887080 by Anthony.Bills Updated SDL2 build script. - Now allows compiling inside a CentOS 6 or Ubuntu 12.04 container with wayland support when using the ContainerBuildThirdParty.sh. - Added multiple build arch support to the BuildThirdParty script and pass this down to the SDL2 build script. Change 3887260 by Arciel.Rekman Linux: fix leaking process handles in the cross-toolchain. Change 3889072 by Brandon.Schaefer Fix RPath workaround, to better handle both cases #jira UE-55150 #review-3888119 @Arciel.Rekman, @Ben.Marsh Change 3892546 by Alexis.Matte Remove fbx exporter welded vertices options #jira UE-51575 Change 3893516 by Michael.Dupuis Remove static mesh instancing async buffer filling, as with all the changes made, it's no longer necessary, the cost of loading very large buffer is negligable Rebuild the occlusion tree when using foliage.DensityScale with something other than 1.0 Change 3894365 by Brandon.Schaefer Pass FileReference over a raw string to the LinkEnvironment #jira none #review-3894241 @Ben.Marsh, @Arciel.Rekman Change 3895251 by Brandon.Schaefer Use X11 pointer barriers to bound the cursor to a region over warping the pointers. Patch from Cengiz #jira UE-25615 #jira UE-30714 #review-3894886 @Arciel.Rekman Change 3897541 by Michael.Dupuis #jira UE-53787: Added guard if for some reason the material is null we should not try to draw using this material Change 3904143 by Rex.Hill #jira UE-55366: Fix crash when overwriting existing level during level save as #jira UE-42426: Map '_BuiltData' can now be deleted when selected at same time as map - Map '_BuiltData' package is now garbage collected when switching maps in the editor Change 3906373 by Brandon.Schaefer Fix splash image. Use alias format for big/little endian machines. #jira none Change 3906711 by Rex.Hill #jira UE-42426: BuiltData now deleted with maps Change 3907221 by Cody.Albert Add support for relative asset source paths in content plugins Change 3911670 by Alexis.Matte Fix assetimportdata creation owner #jira UE-55567 Change 3912382 by Anthony.Bills Linux: Add binaries for GoogleTest and add to BuildThirdParty script. Change 3914634 by Cody.Albert Added missing include that could cause compile errors if IWYU was disabled. Change 3916227 by Cody.Albert Fixing some cases where we check #ifdef WITH_EDITOR instead of #if WITH_EDITOR Change 3917245 by Michael.Dupuis #jira UE-35097: Fixed crash when creating a new landscape with 2x2 subsection and material containing grass spawning Change 3918331 by Anthony.Bills Linux: Bundled Mono - Explicilty pick libc.so.6 as libc.so is a linker script and store the config file directly. Change 3920191 by Rex.Hill #jira UE-44197 Fix saving sub-level level causing MapBuildData to be deleted Improved MapBuildData rename, move, duplicate, copy Change 3920333 by Matt.Kuhlenschmidt Render target clear color property now settable in editor #jira UE-55347 Change 3926094 by Michael.Dupuis #jira UE-51502: Added some min/max values to foliage and grass settings to prevent overflow/crash #coderevew jack.porter Change 3926243 by Michael.Dupuis #jira UE-54669: cleaned up invalid/duplicate shader and moved some shaders to appropriate list Change 3926760 by Jamie.Dale Added support for TTC/OTC fonts These can be used via a sub-face index on FFontData, which can be set via a new combo in the font editor. You can also see the cached list of sub-faces within a font file from the UFontFace asset. Change 3927793 by Anthony.Bills Mono: Remove SharpZipLib and references from bundled Mono. #review-3887212 @ben.marsh, @michael.trepka Change 3928029 by Anthony.Bills Linux: Add support for UnrealVersionSelector. - Supports using UVS to launch without a project file. This will then launch the selected engine's project wizard. - Linux UVS uses Slate for the version selection and error log dialogs. - Mime-types and desktop file support added to DesktopPlatformLinux to allow associating with UVS as per the Windows binary and git builds. - Icons added for Linux. #review-3882197 @arciel.rekman, @brandon.schaefer Change 3931293 by Alexis.Matte Add generic Levenshtein edit distance to core algo. This algorithm will help suggesting name matching when users have to resolve material name conflict when re-import fbx meshes. Add also plenty of automation tests for it. #jira none Change 3931436 by Arciel.Rekman Stop RHI thread before shutting down RHI. - Prevents crashes for some drivers that create TLS objects with destructors; those destructors will get called after the thread exited, but the library will already be unloaded on RHI shutdown. Change 3934287 by Alexis.Matte Fix crash when re-importing skeletal mesh. Skinned component render data resource is now release when re-importing. #jira none Change 3937585 by Lauren.Ridge Added labels to the colors stored in the theme bar. Change 3937738 by Alexis.Matte Make sure content browser do not show a preview asset created when we cancel an export animation preview #jira UE-49743 Change 3941345 by Michael.Dupuis #jira UE-26959: Prevent reusing multiple type the same grass type into the same material grass output node Change 3941453 by Michael.Dupuis #jira UE-47492: Added a guard to validate LayerIndex Change 3942065 by Jamie.Dale Fixed crash trying to use FSlateApplication when it wasn't available (eg, in a commandlet) Change 3942573 by Alexis.Matte Fix static analysis Change 3942623 by Michael.Dupuis #jira 0 Cast to ulong as TaskIndex * NumStripes could exceed an int limit and add an assert if the wraparound is negative Change 3942993 by Matt.Kuhlenschmidt PR #4547: Verify the return value of FT_New_Memory_Face (Contributed by jorgenpt) Change 3942998 by Matt.Kuhlenschmidt PR #4554: Cleanup log printing (Contributed by projectgheist) Change 3943003 by Matt.Kuhlenschmidt PR #4534: Prevent Fatal log when alt tabbing during a level save (Contributed by projectgheist) Change 3943011 by Matt.Kuhlenschmidt PR #4518: edit (Contributed by pdlogingithub) Change 3943027 by Matt.Kuhlenschmidt PR #4524: Notifications always render on the screen with the main viewport (Contributed by projectgheist) Change 3943074 by Matt.Kuhlenschmidt PR #4484: Add group actor to folder (Contributed by ggsharkmob) Change 3943079 by Matt.Kuhlenschmidt PR #4431: Git Plugin: replace usage of the 2 cli args "--work-tree" and "--git-dir" by "-C" (Contributed by SRombauts) Change 3943092 by Matt.Kuhlenschmidt PR #4434: Git plugin: configure the default remote URL 'origin' (Contributed by SRombauts) Change 3943132 by Matt.Kuhlenschmidt PR #4247: Add File picker to Git Path setting on GitSourceControl (Contributed by shiena) Change 3943141 by Matt.Kuhlenschmidt PR #4303: Fix ULevelExporterT3D so that it works in a commandlet (Contributed by DSDambuster) Change 3943349 by Jamie.Dale Cleaned up PR #4547 Made the assert non-fatal to avoid it being able to take down the editor if you load up a bad font. Fixed some code that was deleted during the merge. Change 3943976 by Michael.Trepka Copy of CL 3940687 Fixed long link times when building for Mac in Debug by passing -no_deduplicate flag to the linker, which is what Xcode does in Debug configs. #jira none Change 3944882 by Matt.Kuhlenschmidt Fix a few regressions with scene viewport activation locking can capturing the cursor in editor #jira UE-56080, UE-56081 Change 3947339 by Michael.Dupuis #jira UE-55664: Fixed undo/redo buffer handling so we remove from the beginning of the buffer during undo buffer where buffer is at max memory and from the end during redo operation. Fixed cancel also to re add removed transaction at the end or the start depending if we're doing a redo or undo operation Fixed the Undo History UI to listen to an event when the undo buffer changed instead of checking every frame, as when the buffer was full, no changes would occur, thus no UI update. Change 3948179 by Jamie.Dale Fixed monochromatic font rendering - All non-8bpp images are now converted to 8bpp images for processing in Slate. - We convert the gray color of any images not using 256 grays (eg, monochromatic images that use 2 grays). - Fixed a case where the temporary bitmap wasn't being deleted. - Fixed a case where the bitmap could be used after it was deleted. - Added a CVar (Slate.EnableFontAntiAliasing) to control whether you want anti-aliased (256 grayscale) rendering (default), or monochromatic (2 grayscale) rendering. Change 3949922 by Alexis.Matte Ensure fbx node name are not empty when loading a fbx file. I use the same naming convention as Maya #jira UE-56079 Change 3950202 by Rex.Hill Fix crash during editor asset automation tests. Now skips showing modal progress window when opening asset editor window. ActiveTopLevelWindow is not set when modal windows are open. #jira UE-56112 Change 3950484 by Michael.Dupuis #jira UE-52176: delete the Cluster tree when the builder is no longer needed Change 3954628 by Michael.Dupuis Bring back 4.19/4.19.1 Landscape changes Change 3957037 by Michael.Dupuis #jira UE-53343: Add foliage instances back when changing component size Changed the formulation for the Clip/Expand behavior to make it more explicit on what will happen Added SlowTask stuff to manage big landscape change Change 3959020 by Rex.Hill Rename/move file MallocLeakDetection.h Change 3960325 by Michael.Dupuis Fixed static analysis Change 3961416 by Michael.Dupuis #jira UE-46100: Exposed UseDynamicInstanceBuffer on Foliage type, so user can decide if they want to update them dynamically #jira UE-55092: Fixed the warning to appear when having resource array as empty but VB as set up Added data conssitency that when using Dynamic buffer, Keep CPU Access should also be true, even if implicitly it's already the case, now it's explicit Change 3962372 by Michael.Trepka Copy of CL 3884121 Fix for SProgressBar rendering incorreclty on Mac #jira UE-56241 Change 3964931 by Anthony.Bills Linux: Add cross-compiled binary of UVS Shipping. Change 3966719 by Matt.Kuhlenschmidt Fix parameters out of order here #jira UE-56399 Change 3966724 by Matt.Kuhlenschmidt PR #4585: Export symbols for the FDragTool (Contributed by Begounet) Change 3966734 by Matt.Kuhlenschmidt PR #4596: fix the slider issue of the HighResolutionScreenshot window (Contributed by mamoniem) Change 3966739 by Matt.Kuhlenschmidt Removed duplicated code #jira UE-56369 Change 3966744 by Matt.Kuhlenschmidt PR #4602: Fixes check for existing extensions when generating "All Extensions". (Contributed by PhilBax) Change 3966758 by Matt.Kuhlenschmidt PR #4604: Fixed an issue where the Modules and DebugTools tabs would be unrecognized after startup if docked in the level editor (Contributed by tstaples) Change 3966780 by Matt.Kuhlenschmidt Fix crash accessing graph node title widgets when objects have become stale. #jira UE-56442 Change 3966884 by Alexis.Matte Fix speedtree uninitialized values #jira none Change 3967568 by Alexis.Matte Do not override the screensize when importing a skeletal mesh, let the value set by the AddLodInfo function #jira UE-56493 Change 3968333 by Brandon.Schaefer Fix order of operation #jira UE-56400 Change 3969070 by Anthony.Bills Linux: Make sure to set the UE_ENGINE_DIRECTORY #jira UE-56503 #review-3966609 @arciel.rekman, @brandon.schaefer Change 3971431 by Michael.Dupuis #jira UE-56515: Fixed an issue where ForcedLOD > MaxLOD and make sure that LastLOD will at least contain current streamed in LOD. #jira UE-56517: When using ParallelInitView 1 there was a memory leak related to a reallocate that happen with the TArray of FMemstack Pass correctly LODDistanceFactor instead of View.LODScale as we do not want StaticMeshScale to affect us. Change 3971467 by Matt.Kuhlenschmidt Fixed crash deleting a texture with texture painting on it #jira UE-56994 Change 3971557 by Matt.Kuhlenschmidt Fix temporary exporter objects being potentially GC'd and causing crashes during export #jira UE-56981 Change 3971713 by Cody.Albert PR #4597: [FPS Template] Small null pointer check fix and cleanup (Contributed by TheCodez) Change 3971846 by Michael.Dupuis #jira UE-56517: Properly "round" the count so we have the right amount of memory reserved #jira UE-56515: Still had a edge case left, so when using forced lod i simply make sure the value is in valid range, and allocate all the required data for this range Change 3973035 by Nick.Atamas Line and Spline rendering changes: * Lines/Splines now use 1 UV channel to anti-alias (this channel can be used for texturing) * Anti-aliasing filter now adjusted based on resolution * Modified Line/Spline topology to accomodate new UV requirements * Disabled vertex snapping for anti-aliased lines/splines; previously vertexes were snapped, but vertex positions did not affect line rendering (behavior effectively unchanged) * Splines now adaptively subdivided to avoid certain edge-cases Change 3973345 by Nick.Atamas - Number tweaks to maintain previously perceived wire thickness in various editors. Change 3977764 by Rex.Hill MallocTBB no longer debug fills bytes in development configuration Change 3978713 by Arciel.Rekman UVS: Fix stale dependency. Change 3980520 by Matt.Kuhlenschmidt Fix typo #jira UE-57059 Change 3980557 by Matt.Kuhlenschmidt Fixed negative pie window sizes causing crashes #jira UE-57100 Change 3980565 by Matt.Kuhlenschmidt PR #4628: Fixed revert action, now correctly uses CanRevert() condition (Contributed by Kryofenix) Change 3980568 by Matt.Kuhlenschmidt PR #4626: UE-57111: Handle CaptureRegion for HighResShot in PIE (Contributed by projectgheist) Change 3980580 by Matt.Kuhlenschmidt PR #4567: [Editor UI] Pick Parent Class dialog: set keyboard focus and handle Escape & Enter (Contributed by SRombauts) Change 3980581 by Matt.Kuhlenschmidt PR #4565: [Editor UI] Add C++ Class dialog: set keyboard focus and handle Escape & Enter (Contributed by SRombauts) Change 3981341 by Jamie.Dale Re-added GIsEditor condition around package namespace access #jira UE-55816 Change 3981808 by Ryan.Brucks Added LandscapeProxy functions to push RenderTarget data to Heightmaps and Weightmaps Change 3983344 by Jack.Porter #include fixes for CL 3981808 #jira 0 Change 3983391 by Jack.Porter One for #include fix for CL 3981808 #jira 0 Change 3983562 by Michael.Dupuis #jira UE-53787: Make sure the material array is valid before trying to generate static mesh batch element #jira UE-56451: Instead of asserting, simply skip this element as it had invalid custom data anyway, so we can't render it Change 3983600 by Matt.Kuhlenschmidt PR #4289: Pragma Once/Include guard cleanup (Contributed by projectgheist) Change 3983637 by Matt.Kuhlenschmidt PR #4408: Add a template pregeneration hook (Contributed by mhutch) Change 3984392 by Michael.Dupuis #jira UE-56314: Correctly apply LODBias on calculated LOD Fixed some Landscape popping that could occur when we were forcing a LOD that didn't match the component screen size Change 3984950 by Rex.Hill Optimized texture import speed 2-3x depending on number of cpu cores and image size Change 3985033 by Rex.Hill File drag and drop is more quick to respond when editor is in background #jira UE-57192 Change 3986218 by Jack.Porter Missing template parameter fix for CL 3981808 #jira 0 Change 3986376 by Michael.Dupuis #jira UE-56453: Do not use the CreateDynamicMaterialInstance as it will change the parenting of the actor used material, instead simply use the function to generate the MID and parent it correctly. Change 3989391 by Matt.Kuhlenschmidt Fix constant FName lookup in level editor when checking various states of level editor tabs Change 3990182 by Rex.Hill Optimize editor startup time: GetCurrentProjectModules Change 3990365 by Alexis.Matte Fix crash with spline mesh when the attach SM get a new imported LOD #jira UE-57119 Change 3991151 by Rex.Hill VR Editor module now waits to load images until VR mode activated in editor. Saves 0.4 seconds of editor startup time. Change 3991164 by Rex.Hill Optimize editor startup time: FindModulePaths() - Invalidates cache when search paths added - Use cache during wildcard searches containing * and ? Change 3995366 by Anthony.Bills Update BuildCrossToolchain script to allow a Linux host targeting multiple Linux architectures (including the hosts arch). Added a patch to support a gcc 4.8.5 based toolchain on windows (potentially useful for users crosscompiling using GCC and libstdc++ and targeting CentOS 7). #review-3848487 @arciel.rekman, @brandon.schaefer Change 3996109 by Jamie.Dale Reworked BP error messages to be more localization friendly #jira UETOOL-1356 Change 3996123 by Michael.Dupuis #jira UE-57427: Update random color on load of the component #jira UE-56272: Change 3996279 by Merritt.Cely Removed hardware survey from editor #jira an-2243 #tests launched the editor Change 3996626 by Alexis.Matte Fix crash when SkeletalMesh tangent buffer is empty after the build and we serialize the tangent array. #jira UE-57227 Change 3996663 by Max.Chen Sequencer: Fix fbx animation export - rotation and scale channels were flipped. #jira UE-57509 #jira UE-57512 #jira UE-57514 Change 4000331 by Brandon.Schaefer Add a GFNameTableForDebuggerVisualizers_MT back only for Unix under the Core module #review-3999426 @Arciel.Rekman #jira UE-55298 Change 4000450 by Matt.Kuhlenschmidt Another guard against a factory being destroyed during import #jira UE-57674 Change 4000459 by Matt.Kuhlenschmidt Added check for valid game viewport to see if this is the problem in UE-57677 #jira UE-57677 Change 4000493 by Matt.Kuhlenschmidt Remove stale GC'd components when refreshing paint mode to prevent crashes #jira UE-52618 Change 4000683 by Jamie.Dale Fixed target being incorrect when added via the Localization Dashboard #jira UE-57588 Change 4000738 by Alexis.Matte Add a section settings to ignore the section when reducing #jira UE-52580 Change 4000920 by Alexis.Matte PR #4219: Fix for SColorGradingPicker preventing PIE (Contributed by projectgheist) author projectgheist projectgheist@gmail.com Change 4001432 by Alexis.Matte Add a fbx re-import resolve material windows, user can now help resolving the material in case the importer fail to found a match. Change 4001447 by Jamie.Dale Fixed property table not working with multi-line editable text Change 4001449 by Jamie.Dale PR #4531: Localization multiline fix (Contributed by Lallapallooza) Change 4001557 by Alexis.Matte Fix a check in fbx scene importer, in case the user import a fbx LOD group with no geometry under it #jira UE-57676 Change 4002539 by Alexis.Matte Make the fbx importer global transform options persist in the config file #jira UE-50897 Change 4002562 by Anthony.Bills Linux: Enable UVS registering for git builds only and remove old Mono and pre-UVS script code. Change 4003241 by Alexis.Matte Fix the staticmesh import socket logic, it was duplicating socket when re-importing #jira UE-53635 Change 4003368 by Michael.Dupuis #jira UE-57276: #jira UE-56239: #jira UE-54547: Make sure we can't go above MaxLOD even for texture streaming Change 4003534 by Alexis.Matte Fix re-import mesh name match #jira UE-56485 Change 4005069 by Michael.Dupuis #jira UE-57594: Add a guard to prevent crash if we have an invalid resource for the heightmap texture (happen when component is deleted, for example) Change 4005468 by Lauren.Ridge Widgets should not be removed from parent when they are pending GC #jira UE-52260 Change 4006075 by Michael.Dupuis Fixed foliage density scaling to be applied even in editor, except in Foliage edit mode. Change 4006332 by Arciel.Rekman UBT: Adding support for bundled toolchains on Linux. - Authored by Anthony Bills, with modifications. Change 4007528 by Matt.Kuhlenschmidt PR #4665: Source control History Window: enlarge column Description (Contributed by SRombauts) Change 4007531 by Matt.Kuhlenschmidt PR #4656: UE-57200: Ignore reference to actor if same actor (Contributed by projectgheist) Change 4007548 by Matt.Kuhlenschmidt PR #4664: Set Password on EditableText (Contributed by projectgheist) Change 4007730 by Brandon.Schaefer Add a new way to symbolicate symbols for a crash at runtime Two new tools are used for this. 1) dump_syms Will generate a symbol file, which is to large to read from at runtime 2) BreakpadSymbolEncoder Takes the dump_syms file and encodes it in such a way we can do a binary search at runtime to find a Program Counter to a symbol we are looking for #review @Arciel.Rekman, @Anthony.Bills #jira UETOOL-1206 Change 4008429 by Lauren.Ridge Fixing undo bug when deleting user widgets from the widget tree #jira UE-56394 Change 4008581 by Cody.Albert Reinitialize needs to set the audio and caption tracks in addition to the video track or the currently selected track will be lost Change 4009605 by Lauren.Ridge Added Recently Opened assets filter under Other Filters in the Content Browser Change 4009797 by Anthony.Bills Linux: Update MultiArchRoot path to not cache. Move in tree toolchain location to match UBT convention and make sure the MultiArchRoot is checked before the system. Change 4010266 by Michael.Trepka Copy of CL 4010052 Moved some key event handling calls to the main thread on Mac to satisfy new macOS requirements #jira UE-54623 Change 4010838 by Arciel.Rekman Linux: limit allowed clang versions to 3.8-6.0. Change 4012160 by Matt.Kuhlenschmidt Changed the messagiing on the crash reporter dialog to reflect new bug submission process #jira UE-56475 Change 4013432 by Lauren.Ridge Fix for non-assets attempting to add to the Content Browser's recent filter #jira none Change 4016353 by Cody.Albert Improved copy/paste behavior for UMG editor: -Pasting in the designer while a canvas is selected will place the new widget under the cursor -Pasting multiple times while a canvas panel is selected in the hierarchy view will cascade the widgets starting at 0,0 -Pasting while something that isn't a panel is selected is now allowed, and will cascade the pasted widgets off the position of the selected widget (as siblings) -Newly pasted widgets will now be selected automatically -Pasting multiple widgets at once will try and maintain their relative positions if they're being pasted into a canvas panel Change 4017274 by Matt.Kuhlenschmidt Added some guards against invalid property handle access #jira UE-58026 Change 4017295 by Matt.Kuhlenschmidt Fix trying to apply delta to a mix of scene components and non scene components. Its acceptable to not have scene components in the selected component list #jira UE-57980 Change 4022021 by Rex.Hill Fix for audio desync and video fast-forwarding behavior. There long delay (500ms+) until samples start arriving unless we use RequestedTimeCurrent. After delay occurs samples begin arriving at accelerated speed until caught up to playback time leading to visual and audio problems. #jira UE-54592 Change 4023608 by Brandon.Schaefer Downscale memory if we dont have enough #jira UE-58073 #review-4023609 @Arciel.Rekman Change 4025618 by Michael.Dupuis #jira UE-58036: Apply world position offset correctly Change 4025661 by Michael.Dupuis #jira UE-57681: Added guard to prevent possible crash if either we have an invalid material or the material parent is invalid Change 4025675 by Michael.Dupuis #jira UE-52919: if no actor was found in the level skip moving the instances Change 4026336 by Brandon.Schaefer Manually generate *.sym files for Physx3 This should be done in the BuildPhysx file Change 4026627 by Rex.Hill Fix memory leak fix when playing video and main thread blocks #jira UE-57873 Change 4029635 by Yannick.Lange Fix VRMode loading assets only when VRMode starts. #jira UE-57797 Change 4030288 by Jamie.Dale Null FreeType face on load error to prevent potential crashes Change 4030782 by Rex.Hill Fix save BuildData after changing reflection capture in a new level #jira UE-57949 Change 4033560 by Michael.Dupuis #jira UE-57710: Added some guard to prevent crash/assert Change 4034244 by Michael.Trepka Copy of CL 4034116 Fixed arrow keys handling on Mac Change 4034708 by Lauren.Ridge PR #4699: UE-8508: Update config file to keep folder color in sync (Contributed by projectgheist) #jira UE-58251 Change 4034746 by Lauren.Ridge PR #4701: Add option to close tabs to the right of the active tab (Contributed by jesseyeh) #jira UE-58277 Change 4034873 by Lauren.Ridge Fix for not being able to enter simulate more than once in a row. #jira UE-58261 Change 4034922 by Lauren.Ridge PR #4387: Commands mapped in incorrect location (Contributed by projectgheist) #jira UE-53752 Change 4035484 by Lauren.Ridge Tentative fix for crash on pasting comment. All other accesses to UMaterialExpressionComment check its validity first #jira UE-57979 Change 4037111 by Brandon.Schaefer Try to use absolute path from dladdr if we can to find the sym files #jira UE-57858 #review-4013964 @Arciel.Rekman Change 4037366 by Brandon.Schaefer Dont check the command line before its inited #review-4037183 @Arciel.Rekman #jira UE-57947 Change 4037418 by Alexis.Matte Remove the checkSlow when adding polygon Change 4037745 by Brandon.Schaefer Use as much info as we can during ensure Just as fast as the old way but with more information #review-4037495 @Arciel.Rekman #jira UE-47770 Change 4037816 by Rex.Hill Import mesh optimization, BuildVertexBuffer Change 4037957 by Arciel.Rekman UBT: make it easier to try XGE on Linux. Change 4038401 by Lauren.Ridge Reordering is now correctly handled by undo. Reordering and then undoing will no longer cause a "ghost" widget to also be part of the tree. #jira UE-58206 Change 4039612 by Anthony.Bills Unix: Check for null StdOut and ReturnCode parameters, otherwise the code may dereference a null variable when the process fails to create. Change 4039754 by Alexis.Matte Remove the Render meshdescription, no need to carry this temporary data in the staticmesh Change 4039806 by Anthony.Bills Linux: UVS fixes - Update to use new Unix base platform. - Use bin/bash instead of usr/bin/bash (may need revisiting later). - Recompile Shipping version with changes. - Update Setup.sh to run from correct CWD (due to current limitations in the relative directory handling). Change 4039883 by Lauren.Ridge PR #4576: Save editor config to file first time a fav folder is added in the co. (Contributed by projectgheist) #jira UE-56249 Change 4040117 by Lauren.Ridge Replacing widgets should now also clear out references to the widget #jira UE-57045 Change 4040790 by Lauren.Ridge Tentative fix for Project Launcher crash when platform info not found #jira UE-58371 Change 4042136 by Arciel.Rekman UBT: refactor of LinuxToolChain to make it leaner and more configurable. - Made it possible to override SDK passed to the toolchain. - Simplified the code by using the same executable names on Windows and Linux (as .exe is optional), except where File.Exists() is needed (also remove a few) - Some minor renames to make it clear that SystemSDK means system compiler (which otherwise may be unclear) - Made changes to accomodate the new debug format. Change 4042930 by Brandon.Schaefer GCoreObjectArrayForDebugVisualizers was changed to FChunkedFixedUObjectArray reflect that in the Unix part Change 4043539 by Brandon.Schaefer Fix callsite address being used at times for the Program Counter Fix only reporting the actual callstack and not the crash handling callstacks #review-4041370 @Arciel.Rekman #jira UE-58477 Change 4043674 by Arciel.Rekman Added Linux ARM64 (AArch64) lib for MikkTSpace. - Now required for standalone games due to EditableMesh runtime plugin. Change 4043677 by Arciel.Rekman Linux: updated ARM64 (AArch64) version of SDL2. Change 4043690 by Arciel.Rekman Linux: allow compiling VulkanRHI for AArch64 (ARM64). Change 4045467 by Brandon.Schaefer Add Anthony Bills SetupToolchain.sh script Used to download the latest toolchain Change 4045940 by Michael.Trepka Return empty list instead of null from Mac GetDebugInfoExtensions() in UBT #jira UE-58470 Change 4046542 by Alexis.Matte Fix skeletal re-import material assignation #jira UE-58551 Change 4048262 by Brandon.Schaefer Rebuild SDL with pulse audio libs #jira UE-58577 Change 3887093 by Anthony.Bills Add bundled mono binary for Linux. - Unify some of the script structure across Mac and Linux. - This currently uses the same mono C# assemblies as Mac to keep the additional source size down. - If the Mac mono version is updated, the Linux version will also need to be updated to match the same mono git revision. - The system version of mono can still be used by setting the UE_USE_SYSTEM_MONO env var to 1. Change 4003226 by Michael.Dupuis Refactored StaticMeshInstancing to now use a command buffer to communicate with the GPU to prevent concurent access issues. It's mostly used in Editor or if runtime changes occur, otherwise the data is built and send to the GPU directly without keeping CPU copy. Changed how the density scaling was applied to be more optimal Removed UseDynamicInstanceBuffer as the concept is now irrelevant Change 3833097 by Jamie.Dale Localization Pipeline Optimization Manifest/Archives: Added FLocKey to keep an immutable string and its hash. This is used in several places within manifests and archives to minimize string hashing. FLocTextHelper also now take these in its API. This also fixes some places where manifests were being iterated by key rather than source string (as this was causing redundant work). Portable Object: Cleaned up a lot of redundant code, changed things to use FLocKey, and simplified a lot of string manipulation to use algorithms instead (which proved to be faster). Asset Gathering: Optimized the way garbage collection runs while gathering from assets so that we avoid purging assets that we still need to gather from (or are still active dependencies). This also sorts the assets so that we can try and evict dependencies from memory as soon as possible (in much the same way that the cooker does). Automation: The gather commandlet can now take multiple configs to process. This is used by automation to avoid starting the editor several times (which can save a significant amount of start-up overhead). [CL 4052378 by Lauren Ridge in Main branch]
2018-05-04 14:14:10 -04:00
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor [at] 4327887) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3813004 by Matt.Kuhlenschmidt Fix dpi scale being wrong when there is a mix of high dpi and low dpi monitors and the editor opens the window on the low dpi monitor Change 3946515 by Michael.Trepka Reverted CL 3813004. We need to save editor's root window size and position in DPI-independent units, as that's what the loading code expects. Change 4052825 by Brandon.Schaefer Add back -funwind-tables for arm This was removed an only tested on x86 which worked just fine. Arm reqiures this for backtrace #jira none Change 4055318 by Brandon.Schaefer Remove extra mallocs when crash handling Still need to look into gmalloc calls, such as using FStrings during Ensure/Crash handling [at]Arciel.Rekman #jira UE-58538 Change 4055623 by Brandon.Schaefer Replace std::endl with "\n" As std::endl is "\n" << std::flush. On windows dump_syms was taking 33 seconds to fflush with std::endl on a 1.2GB file. No longer with "\n". [at]Josh.Engebretson Change 4057102 by Jamie.Dale Added missing API export Change 4057384 by Rex.Hill Fix ReversePolygonFacing crash Change 4067426 by Matt.Kuhlenschmidt PR #4667: Source control history: remove empty spacing in the right of the detail panel (Contributed by SRombauts) Change 4067587 by Matt.Kuhlenschmidt PR #4311: PlacementModeTools shapes searchable and thumbnail (Contributed by projectgheist) Change 4068480 by Cody.Albert Fix display name for Display UI Extension Points Change 4070876 by Brandon.Schaefer Avoid printing when in a signal handler. Put that off until the end #jira UE-36663 [at]Arciel.Rekman, [at]Anthony.Bills Change 4071980 by Brandon.Schaefer Cache files that are invalid or the wrong case sensitivity #jira UE-58250 [at]Arciel.Rekman Change 4079967 by Matt.Kuhlenschmidt Added scale parameter to Canvas::DrawText #jira UE-59023 Change 4080228 by Alexis.Matte Fix the PerPlatformPropertiesWidget to be readable when there is many platform #jira UE-57556 Change 4081171 by Matt.Kuhlenschmidt PR #4272: Fix typo. (Contributed by Damianno19) Change 4081601 by Matt.Kuhlenschmidt GitHub 4077 : Hide SDetailView Filterbox when no actor selected Change 4090114 by Matt.Kuhlenschmidt Fixed touch events simulated through mouse not respecting high dpi #jira UE-59477 Change 4091999 by Matt.Kuhlenschmidt Fixed insert/delete/duplicate children calling PostEditChange on the existing child node not the array Change 4093187 by Arciel.Rekman Do not save window position if running with -nullrhi (UE-52498). - This also fixes a crash on exiting automation tests. #jira UE-52498 Change 4096404 by Richard.TalbotWatkin Resaved test assets to update to latest UStaticMesh serialization format. Change 4096445 by Richard.TalbotWatkin New serialization layout for UMeshDescription. - Only the bare minimum is serialized: any internal values which can be inferred from others in the Mesh Description are omitted. - Triangles are no longer serialized: a triangulation step is performed per polygon when serialized. - Attribute arrays of simple types are now serialized with BulkSerialize for speed; only FName requires element-by-element serialization. Change 4112843 by Brandon.Schaefer Rebuilt replacing std::endl with '\n' avoiding a std::flush *pre* write Was taking 30 seconds to std::flush on a 1.2 GB file #jira none Change 4113422 by Brandon.Schaefer If we are using the native bundled toolchain set LC_ALL=C to avoid locale issues #jira UE-59416 Change 4113849 by Cody.Albert Fix support for toolbar extensions in the UMG editor Change 4118758 by Richard.TalbotWatkin - Refactor to put UStaticMesh Mesh Descriptions in a separate object which is not loaded by default, but which can be requested when needed. This needs to be kept in sync with the number of SourceModel LODs. - Various refactors to import/building. - Changed UMeshDescription to FMeshDescription, and made its preferred semantics pass-by-reference rather than by pointer. - Deprecated UMeshDescription. Change 4119883 by Rex.Hill Cleanup blueprint callable categories Landscape Editor -> Landscape|Editor Landscape Runtime -> Landscape|Runtime Cloth -> Clothing Simulation Cinematics -> Cinematic Utility -> Utilities Change 4119898 by Rex.Hill Cleanup blueprint callable categories x|Magic Leap -> Magic Leap|x Apple ARKit * -> Apple ARKit|* Change 4119972 by Brandon.Schaefer Dont add colors if we are not outputing to a terminal #jira UE-58173 Change 4119994 by Brandon.Schaefer Only check once if we are outputing to a terminal #jira UE-58173 Change 4122654 by Alexis.Matte Fix re import assignment of sections #jira UE-59611 Change 4123536 by Alexis.Matte Add to the fbx importer the possibility to use different sample rate when importing an animation. #jira UE-59444 Change 4124702 by Brandon.Schaefer Fix duplicated struct/class from slightly different submit into main coming back into dev-editor #jira UE-60163 Change 4133449 by Mike.Erwin glTF importer work Foundations of work for Skeletal Mesh import; right now we just support Static Mesh. - node hierarchy - joint IDs & skinning weights - matrix & quaternion values #jira none Change 4133749 by Matt.Kuhlenschmidt PR #4771: Fix access violation for ImportAsset commandlet fbx reimport. (Contributed by UristMcRainmaker) Change 4133758 by Matt.Kuhlenschmidt PR #4675: Properly set TextScale for OnScreenDebugMessages (Contributed by projectgheist) Change 4134543 by Alexis.Matte Update the staticmesh LOD model max deviation when generating a LOD #jira UE-60353 Change 4134559 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - Editor scripting utilities #jira UE-60666 Change 4134560 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - SpeedTreeImporter #jira UE-60667 Change 4135335 by Alexis.Matte Deprecate FRawMesh - GLTF importer #jira UE-60670 Change 4135857 by Alexis.Matte Fix CIS build warning #jira none Change 4137249 by Matt.Kuhlenschmidt Fix tiny fonts from appearing in slow task dialogs Change 4137280 by Matt.Kuhlenschmidt Fix specifying relative paths for the auto-import commandlet not working Change 4137283 by Matt.Kuhlenschmidt PR #4305: Light map index was unintialized (Contributed by DSDambuster) Change 4137290 by Matt.Kuhlenschmidt PR #4382: Prevent error log due to non-existing plugin directory (Contributed by projectgheist) Change 4147032 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - ABC Importer #jira UE-60702 Change 4147978 by Matt.Kuhlenschmidt Fix one of the CIS fails Change 4154874 by Matt.Kuhlenschmidt Fix hidden asset properties in struct details panels. We consider all object properties with "allowedclasses" metadata to be asset properties since they only show an asset picker. Change 4167303 by Matt.Kuhlenschmidt Work around for sync to content browser from details panels not working for interface properties Change 4167388 by Matt.Kuhlenschmidt Make sure when converting relative path filenames in automated import that we convert them relative to the project directory. Change 4171891 by Matt.Kuhlenschmidt Fix preview mesh actor becoming stuck to the cursor when the editor or viewport loses focus #jira UE-61246 Change 4175503 by Cody.Albert Updated variable details panels to not display unusable metadata options for UMG widget references #jira UE-55078 Change 4175736 by Cody.Albert PR #4663: UE-20103: Slate widgets retain their category name v2 (Contributed by projectgheist) Change 4178937 by Rex.Hill Fix crash opening level after removing as sublevel jira: UE-61305 Change 4181097 by Matt.Kuhlenschmidt Fix Linux/Mac CIS Change 4184333 by Alexis.Matte Fix the material ID assignation when re-importing static mesh #jira none Change 4199682 by Arciel.Rekman Linux: enable XGE during cross-builds to see whether the build issues persist. - Licensees are asking for this and XGE folks are eager to help investigating the crashes, if any. Change 4200944 by Cody.Albert Updated VR Mode button to become inactive during SIE (instead of disappearing altogether) #jira UE-50220 Change 4204817 by Alexis.Matte Enable or disable the morph target weight slider depending of the project settings. #jira UE-61671 Change 4204821 by Alexis.Matte Optimize import time for morph targets #jira UE-61670 Change 4207394 by Cody.Albert PR #3299: UMG Slider Additions (Contributed by Dzuelu) Change 4208299 by Brandon.Schaefer Fix warning/error with logical operators #jira none Change 4210660 by Cody.Albert PR #3458: UE-43728: Always show scrollbar when necessary (Contributed by projectgheist) #jira UE-43727, UE-43278 Change 4215684 by Brandon.Schaefer Linux: Implement minimized function for LinuxWindow #jira UE-56023 Change 4217350 by Brandon.Schaefer Linux: Clean up IsMaximized #jira none Change 4217489 by Brandon.Schaefer Linux: Make popup menus BORDERLESS. Slate will give the menu events This appears to fix a lot of our grabs causing compiz to do something issue. #jira UE-59237, UE-54085, UE-51407, UE-50018, UE-53915 Change 4225018 by Cody.Albert UMG Hierarchy now remembers expansion state when being destroyed and recreated (due to closing widget or switching to Graph view) #jira UE-61836 Change 4225088 by Cody.Albert Added hover style for color picker slider Change 4226081 by Richard.TalbotWatkin New attribute array API. Fixed some flaws in the original API, deprecated various methods, and introduced some new features. - Now attribute arrays are accessed via TAttributesRef or TAttributesView (and corresponding const versions). These value types hold references to attribute arrays, and individual elements can be accessed by their element ID and attribute index. Using a value type is safer than the previous method which required assignment to a const-ref (and not doing so would take a temporary copy of the attribute array). - The attribute set has been totally flattened, so all attributes of different types are added to the same container. This greatly improves compile times, prevents attributes from being created with the same name but different types, and permits the view feature. - The class hierarchy has changed to have generic base classes where possible with no particular ElementID type. This reduces the code footprint by no longer generating nearly identical copies of templated methods. - A TAttributesView allows the user to access an attribute array by the type of their choosing, regardless of its actual type. For example, the Normal attribute may be registered with type FPackedVector, but accessed as if it was an FVector. This allows us to move away from very strong typing, and instead transparently store attributes of a more efficient size, while the user is not affected. - A transient attribute flag has been added, to denote that a particular attribute should not be saved. Change 4226083 by Richard.TalbotWatkin Reinstated original mesh editor materials. Change 4226102 by Richard.TalbotWatkin Fixed some deprecation warnings, and a mistake in MeshAttributeArray.h. Change 4226118 by Richard.TalbotWatkin Fix build errors: - Added missing file - Corrected the last fix. Change 4226121 by Richard.TalbotWatkin Bumped static mesh mesh data GUID. Change 4226231 by Richard.TalbotWatkin Removed some test code which got checked in by mistake. Change 4226232 by Richard.TalbotWatkin Fixed typo which caused build errors. Change 4226234 by Richard.TalbotWatkin Fixed a typo in MeshDescriptionTests. Change 4226237 by Richard.TalbotWatkin Removed over-cautious deprecation warnings. Once GetAttributes() is changed to GetAttributesRef(), element access will still work with array syntax. Change 4226625 by Richard.TalbotWatkin Added missing asset. Change 4227365 by Matt.Kuhlenschmidt Fix brush actors not showing the correct icon in scene outliner. - Actors can now supply their own icon if needed #jira UE-61948 Change 4229632 by Alexis.Matte Make the namespace an import option #jira UE-62099 #jira UE-62067 Change 4229637 by Alexis.Matte Fix fbx importer staticmesh the light map index, the index was check before the build. #jira UE-62064 Change 4232793 by Chris.Gagnon Added include to fix non unity builds. #jira UE-62138 Change 4234206 by Brandon.Schaefer Linux: Allow windows that want to be resizable to be resizeable Github PR #3578 thanks hhyyrylainen #jira UE-45847 Change 4234322 by Brandon.Schaefer Continue after starting UnrealVersionSelector to avoid blocking a chain command #jira UE-61530 Change 4234446 by Chris.Gagnon Properly handled FPackageName::TryConvertFilenameToLongPackageName() failing in Cache Thumbnail. #jira UE-61990 Change 4235057 by Brandon.Schaefer Linux: Write to stderr when we fail to find expected to find sym file #jira none Change 4235121 by Brandon.Schaefer Linux: Mark the static bool as soon as we enter the scope #jira none Change 4235399 by Brandon.Schaefer Linux: Check we are not x86 otherwise add unwind tables Copying the change that went over into 4.20.1 here #jira none Change 4240539 by Jamie.Dale Made DataTableUtils::GetX functions take a const data pointer Change 4240646 by Chris.Gagnon Fix for delayed destruction of UWidgets when they are manually removed from a panel as part of tear down. Inspired by the pull request, however I put in a more generic fix. PR #4904: Fix late release of Slate resources managed by UMG slot widgets (Contributed by cmp-) Change 4242975 by Yuriy.ODonnell Moved duplicated code from MeshUtilities and MeshDescriptionOperations (FLayoutUV, FAllocator2D, FOverlappingCorners, etc.) into a new single module MeshUtilitiesCommon. Add a generic opaque mesh view interface FLayoutUV::IMeshView to abstract mesh data access and allow FLayoutUV to be used with any mesh type in any module. Replaced few instances of using an old version of overlapping corners data structure (multi-map) with new specialized FOverlappingCorners container. Change 4243112 by Yuriy.ODonnell Use new attribute array API for accessing FMeshDescription data. Change 4243131 by Brandon.Schaefer Cast our new resize w/h to int before checking if we are already that size #jira UE-52291 Change 4243172 by Brandon.Schaefer Ceil not trunk for this compare #jira none Change 4243271 by Brandon.Schaefer Change address to be more portable MS compiler does not place a '0x' on %p formating. Linux/Mac append a '0x' to the address #jira UE-62325 Change 4243276 by Richard.TalbotWatkin Fixed deprecated MeshDescription calls (merged with Yuriy's changes). Change 4244067 by Lauren.Ridge Preventing crash on floating text if asset container does not exist. VR Editor floating text is now not placeable or blueprintable. #jira UE-62139 Change 4244547 by Lauren.Ridge Changes to more accurately represent android behavior in PIE and UMG #jira UE-62301 Change 4244830 by Alexis.Matte Fix animation Range import, prevent changing the option when validating the anim range. #jira UE-62055 Change 4250565 by Yuriy.ODonnell Removed GeometryCache dependency on MeshUtilitiesCommon in non-editor configs. Change 4254733 by Matt.Kuhlenschmidt Slate Fast Path - Changed FSlateWindowElementList GetWindow to be thread safe. For fast path, this is accessed on multiple threads so it needs to be safe GetWindow is deprecated and GetPaintWindow should be used instead Edigrate from source CL 4254611 Change 4257092 by Chris.Gagnon Improved UMG rename validation to respect the errors from the blueprint validator. This fixes at least the case where it miss reported the issue when the name was greater than the length limit in blueprints. #jira UE-62417 Change 4257124 by Chris.Gagnon PR #4924: UE-62113 Fix Other filters toggling all assets to show up (Contributed by mamoniem) #jira UE-62457 Change 4258696 by Chris.Gagnon Removed Tab Spawner for Color Curve Editor is your not editing the color curve. #jira none Change 4258937 by Chris.Gagnon Simplifed the code in the case of a null CurveOwner. #jira UE-62443 Change 4259162 by Richard.TalbotWatkin Fixed crash when entering mesh editor mode after having loaded a new level. Change 4259909 by Chris.Gagnon Added better check output to try and learn more about a crash in the wild. Added some better const saftey while in there. #jira UE-60696 Change 4259995 by Chris.Gagnon Fix for possible crash if the mesh has invalid materials. Also fixed the fact the FindMaterialIndicesUsingTexture() didn't work as advertised at all. Seems like you'd attemp to paint all materials even when trying to only paint the ones using a particular texture. #jira UE-62488 Change 4261012 by Michael.Dupuis #jira UE-48899: Make sure the RootComponent is valid before trying to use it. Change 4261361 by Michael.Dupuis #jira UE-48899: Fixed the warning about scale Change 4261926 by Michael.Dupuis #jira UE-48899: Only check the root component validity as it's possible that the component is not registered when this get called. Change 4262163 by Richard.TalbotWatkin Fixed uninitialized member. #jira UE-62493 #jira UE-62506 Change 4262549 by Brandon.Schaefer Linux: Update the Slate application what the window size will most likely be As X11 takes a frame to send an Event that a window has had its size changed. This causes things such as the slate renderer to think the window size is different then it actually it. This causes streching of tooltips #jira UE-62555 Change 4262581 by Brandon.Schaefer Linux: Use Show so we preserve our bIsVisible bool and avoid sending SDL_ShowWindow twice (ie. if its already shown) #jira none Change 4262906 by Chris.Gagnon PR #4915: [UMG] Bind UWidgetAnimation from C++ to blueprint created animation (Contributed by TheCodez) Change 4262965 by Chris.Gagnon PR #4932: Fix to generate cleaner C++ files when using "New C++ Class" (Contributed by TheCodez) Change 4263177 by Chris.Gagnon PR #4935: Prevent crash when clicking use selected game mode multiple times (Contributed by projectgheist) Change 4264723 by Christina.TempelaarL Fixed SceneCaptureComponent so ShowOnlyActors property is writeable in blueprints. #jira UE-62547 Change 4266029 by Michael.Dupuis #jira none: Guarded against the scene being null Change 4266356 by Richard.TalbotWatkin Changed FMeshDescription to a struct from a class. Added log errors when loading UMeshDescription objects (now deprecated), in preparation to resave any which remain. Once all serialized UMeshDescriptions are wiped out (they only exist internally), FMeshDescription will become a USTRUCT. Change 4266621 by Matt.Kuhlenschmidt Fix UE4 icon to be the correct one Change 4266635 by Chris.Gagnon Added Message Log output for invalid software cursor as opposed to ensure/log. #jira UE-62554 Change 4268136 by Matt.Kuhlenschmidt Fix outline colors not updating when changing on the fly #jira UE-42116 Change 4269184 by Chris.Gagnon Fix for possible nullptr dereference. #jira none Change 4269902 by Brandon.Schaefer Slate dialog modal window was not settings its parent window #jira UE-62608 Change 4272083 by Chris.Gagnon Fix for case where the the property noded arn't rebuilt in time and custom property ui can be using stale data. #jira UE-62499 Change 4272869 by Michael.Trepka Make sure ShooterGame sets correct input modes/mouse capture in menus and in game to avoid problems with keyboard not working in menus after alt-tab #jira UE-61017 Change 4275155 by Michael.Dupuis #jira UE-62526: Update lightmap/shadow UV mapping after lighting build on HISMC. ISM will get also updated due to the Edit() that will reapply the values on CreateSceneProxy Change 4275298 by Lauren.Ridge Fixed string parsing when looking at parent cvar values #jira UE-62301 Change 4275391 by Lauren.Ridge Fix for resolutions increasing when swapping landscape/portrait Change 4275606 by Lauren.Ridge Moving all asset container access to PostActorCreated to avoid VR editor assets in cooks #jira UE-57797 Change 4275807 by Lauren.Ridge Duplicating color themes now dupllicates the color labels as well #jira UE-60697 Change 4275989 by Lauren.Ridge When selecting a node while the details panel is behind a different panel in the same dock tab, the details panel is brought forward #jira UETOOL-1325 Change 4276146 by Lauren.Ridge Fix for new texture sample nodes not taking the selected texture from the content browser as the starting value. #jira UETOOL-1322 Change 4276412 by Lauren.Ridge Assets that can be dragged into the material graph now indicate that with a checkmark #jira UE-56024 Change 4279549 by Lauren.Ridge Fixed recursion of calls through SetDesignerFlags to avoid double-recursion with many nested panels #jira none Change 4279894 by Lauren.Ridge Adding check for RootWidget existing Change 4279969 by Michael.Trepka Updated FDesktopPlatformMac::FileDialogShared() to handle a case where no extensions were specified in FileTypes string #jira UE-62421 Change 4280317 by Lauren.Ridge Adding if WITH_EDITOR Change 4280716 by Chris.Gagnon PR #4979: UE-62795: Deprecate bAutoWrapText in TextBlock (Contributed by projectgheist) Slightly modified, the base syncronize sets the autowrap value. Change 4280847 by Lauren.Ridge Single property setting changes will now also call OnModified delegate for their section #jira UE-58276 Change 4280850 by Chris.Gagnon Added early out and log if focus is attempted to be set when the window is suppost to be be disabled due to a modal window being up. #jira UE-62742 Change 4280931 by Brandon.Schaefer Linux: Use MallocCrash when hitting out of memory issues in BinnedAllocFromOS #jira FORT-108267 Change 4281460 by Lauren.Ridge Clearing focus on a variable once it is committed. Fixes assert on undo #jira UE-61872 Change 4283706 by tim.gautier QAGame: Adding HISM test map / assets Change 4283980 by Michael.Trepka Unshelved from pending changelist '4238012': Xcode project generator improvements - Per-project precompiled header that wraps UnrealEd.h with #ifdef __cplusplus to allow Xcode to compile the pch in ObjC mode. Later we could replace UnrealEd.h with some other header file for non-editor targets - Moved commands that disable compile warnings from MacToolChain's GetCompileArguments_Global to ApplePlatformCompilerPreSetup.h. Thanks to this we can have all the Xcode recommended warnings enabled in the project, but still allow Clang to index our code without reporting warnings - Few more minor changes to fix Xcode's project validation and indexing warnings Also, unify compile warning flags across all Apple platforms. #jira UE-47965, UE-44327 Change 4284062 by Michael.Trepka Copy of CL 4222794 from 4.20 Fixed a crash at exit in Mac editor caused by an attempt to use MetalProfiler after deleting it #jira none Change 4284266 by Brandon.Schaefer Linux: Fix deadlock in a file cache which could be locked in a crash handler #jira UE-62808 Change 4284469 by Lauren.Ridge Fix for material parameter node crashing Change 4284541 by Lauren.Ridge Blueprints inheriting from UWidget will now show up in the palette view even if they are not loaded. #jira UE-59164 Change 4284542 by Michael.Trepka Copy of CL 4222797 Fixed a problem with FMacPlatformMisc::NormalizePath allocating an autorelease pool during crash handling, which resulted in the OS killing the process before we spawn CrashReportClient. Now this function is identical to Linux version. #jira UE-61779 Change 4285288 by Cody.Albert Fixed crash when changing "Show Coalesced" setting in profiler Change 4285483 by Chris.Gagnon PR #4936: Duplicate widget functionality for UMG editor (Contributed by projectgheist) Fixed up some variable names. #jira UE-62528 Change 4287219 by Brandon.Schaefer dump_syms: Replace inline file/line with their callsite over the inline location Fix <name omitted> appearing as the names for the function Disable CFI generation for Windows (Linux theres a command line). Speeds up symbol generation #jira FORT-670 Change 4287247 by Brandon.Schaefer BreakpadSymbolEncoder: If the file doesnt have a newline at EOF handle that as a seperate case #jira none Change 4287259 by Brandon.Schaefer dump_syms: Build on centos7 #jira none Change 4287269 by Brandon.Schaefer Linux: Disable generating CFI info when running dump_syms #jira none Change 4287326 by Brandon.Schaefer dump_syms: Update to disabling the CFI generation version #jira none Change 4287902 by Brandon.Schaefer TestPAL: Add cases for testing inline callstacks #jira UEENGQA-21414 Change 4288365 by Lauren.Ridge PR #4422: Set default material parameter name (Contributed by projectgheist) Change 4292002 by Brandon.Schaefer Linux: If our default settings are empty help fill in the proper name #jira UE-62910 Change 4292496 by Lauren.Ridge Now all renamable nodes do name verification also Change 4292532 by Lauren.Ridge PR #4989: Add icons to folder context menu favorites (Contributed by projectgheist) Change 4293043 by tim.gautier QAGame: Added a panner to ML_Albedo Change 4295326 by Richard.TalbotWatkin - Updated MeshDescription attribute calls to fix deprecation warnings. - Removed TMeshAttributeArraySet::AddArray because the functionality was already available as part of SetNumIndices. - Renamed TMeshAttributeArraySet::InsertArray, RemoveArray to InsertIndex, RemoveIndex for naming convention consistency (these methods deal with attribute indices, not with arrays). Added support for them in other attribute classes, and made them virtual so they can be called as part of an AttributesView. - Removed redundant code in FUSDStaticMeshImportState::AddPolygons, when determining the number of UVs in the mesh description. Change 4295795 by Richard.TalbotWatkin Corrected MAX_MESH_TEXTURE_COORDS_MD references. Change 4297308 by Cody.Albert Fixed bug with InputPreProcessorsHelper::Add not correctly adding input processors Change 4297799 by Brandon.Schaefer Linux: Dont assume DISPlAY=:0 #jira UE-63050 Change 4298150 by Brandon.Schaefer dump_syms: This is rebuilding dump_sym changes from CL 4287219 for Mac Replace inline file/line with their callsite over the inline location Fix <name omitted> appearing as the names for the function Disable CFI generation for Windows (Linux theres a command line). Speeds up symbol generation Source code changes for dump_syms was changed at CL 4287219 #jira none Change 4298369 by Brandon.Schaefer dump_syms: Rebuild for Linux/Windows to fix a possible crash when missing debug_ranges in the debug section Source changed in CL 4298150 #jira none Change 4301952 by Lauren.Ridge Fixing input labels on material function inputs #jira UE-63077 Change 4302388 by Brandon.Schaefer Linux: If we have a 0 LineNumber lets try to use to the previous Record. Still an issue with non-virtual thunks reporting line number zero but it seems even windows skips these frames. GDB reports a different callsite that doesnt seem super related (possibly?) Nothing to do with thunking though. #jira UE-62930 Change 4304835 by Alexis.Matte Add imported framerate info to anime sequence #jira UE-51302 Change 4307480 by Brandon.Schaefer SDL2: Update to newer version hg-12121:4358e537000a Fixed github PR #4844 as well (thanks tomix1024) #jira UE-62783 UE-61369 Change 4307481 by Brandon.Schaefer SDL2: Rebuild with the newer version hg-12121:4358e537000a Fixed github PR #4844 as well (thanks tomix1024) #jira UE-62783 UE-61369 Change 4308264 by Brandon.Schaefer Linux: Make both DLLIMPORT the same value #jira UE-61174 Change 4308640 by Matt.Kuhlenschmidt Added a "report bug" menu entry to the help menu #jira UE-63182 Change 4309508 by Brandon.Schaefer nvTextureTools: Rebuild on Linux using our libc++ and not libstdc++ Move to the proper runtime depend location #jira UE-54892 UE-61705 Change 4309554 by Brandon.Schaefer SDL2: Add last missing folder #jira none Change 4309955 by Chris.Gagnon PR #5017: UE-63105: Modify SGraphActionMenu::OnKeyDown to use a different branc. (Contributed by projectgheist) Change 4311008 by Brandon.Schaefer nvTextureTools: Actually remove libstdc++ from Linux build #jira UE-54892 Change 4312195 by Alexis.Matte - Fix the set range feature to always use the file sample rate so the range match what the user see in the DCC - Also add some fbx file information to the import dialog #jira UE-62504 Change 4315347 by Brandon.Schaefer Linux: Disable XGE builds as it appears to be lower casing folders when the build platform is Windows #jira UE-63296 Change 4318704 by Lauren.Ridge Fix for crash on opening map built data #jira UE-63301 Change 4319999 by Lauren.Ridge Fix for crash in vr mode #jira UE-63376 Change 4320144 by Chris.Gagnon Fix for smoke content that set the hovered size different to the normal size on the UMG slider handle. #jira UE-63367 Change 4327887 by Michael.Trepka Disable nonportable-include-path warning in iOS toolchain to allow incorrect case in paths to headers passed using -include #jira UE-63408 Change 4217622 by Brandon.Schaefer Linux: Pass a command line argument to crash reporter to show or skip a user agreement popup #jira none Change 4312048 by Brandon.Schaefer Linux: Dont disable ICU by default on Servers #jira UE-59113 Change 4320173 by Chris.Gagnon Fix for startup movie streamer on xbox not finishing. #ROBOMERGE-OWNER: jason.bestimt #ROBOMERGE-SOURCE: CL 4329255 in //UE4/Main/... #ROBOMERGE-BOT: DEVVR (Main -> Dev-VR) [CL 4329265 by chris gagnon in Dev-VR branch]
2018-08-29 18:37:17 -04:00
size_t Current = 0;
while (Current != std::string::npos && Current < RawBytes.size())
{
size_t NewLineEnd = RawBytes.find("\n", Current);
size_t NewLineSize = 1;
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor @ 4048875) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3808185 by Cody.Albert Added missing calls to FEditorViewportClient::AddReferencedObjects in overrides Change 3809824 by Michael.Trepka Improved the way we generate groups in Xcode project's source code navigator. They are now sorted alphabetically and have correct paths so Xcode no longer displays them in red. Also, added __INTELLISENSE__ to preprocessor definitions for indexing to improve indexing without game header files generated. Change 3810089 by Jamie.Dale Fixed PO files failing to import translations containing only whitespace Change 3811281 by Matt.Kuhlenschmidt PR #4331: Toggle SIE shortcut only in PIE (Contributed by projectgheist) Change 3813031 by Matt.Kuhlenschmidt Fix undocked tabs not dropping at users mouse location #jira UE-53427 Change 3813361 by Brandon.Schaefer Print what SDL video driver we are using Change 3818430 by Matt.Kuhlenschmidt PR #4365: Incorrect font name and forgotten undef (Contributed by projectgheist) Change 3818432 by Matt.Kuhlenschmidt PR #4366: Asset Color Strip updates correct on drag and drop (Contributed by projectgheist) Change 3818436 by Matt.Kuhlenschmidt PR #4367: Improved logging (Contributed by projectgheist) Change 3819886 by Matt.Kuhlenschmidt Add a way to optionally disable the warning about referenced actors being moved to other levels. Useful for bulk actor moves via script Change 3819888 by Matt.Kuhlenschmidt Avoid crashing when a window size becomes too large to render. Instead just ensure and clamp to the maximum allowed size. Avoids crashes where the screen dimensions are saved with super large numbers for unknown reasons Change 3821773 by Brandon.Schaefer Fix crash when importing to level #jira UE-31573 Change 3821892 by Jamie.Dale Improved the localized asset cooking so that it only cooks L10N variants if their source asset is cooked #jira UE-53010 Change 3823714 by Christina.TempelaarL #jira UE-52179 added support for grayscale PSD files Change 3826805 by Christina.TempelaarL #jira UE-49636 SceneCaptureComponent2D hidden actor and show only actors disabled in blueprints #jira UE-53445 SceneCaptureComponent2D hidden actors always disabled in details layout Change 3828444 by Anthony.Bills Add LXC container script for building third party libraries. The intention is that this should become the only way to rebuild the third party libraries that require system dependencies not included in the cross-compile toolchain and also to rebuild the toolchains. Other third party libraries without any system dependencies could be rebuilt via the cross-compile toolchains/UBT. This script has been tested running on CentOS 7 and Ubuntu 17.10. Buy default the x86 and x86_64 builds will be built against a CentOS 6 container (and targeting glibc 1.12) and the aarch64 and armhf builds will use an Ubuntu Ubuntu Trusty (14.04) but this is not yet complete. Change 3828754 by Brandon.Schaefer Linux: Fix gamepad thumbstick clicks not registering (github #4209 thanks J??rn M??ller) #jira UE-45722 #review-3828733 Arciel.Rekman Change 3830414 by Brandon.Schaefer Remove circular referencing to a parent window. Move to use AddSP vs AddRaw as well to be safe manually remove ourselves from the selection event delegate list due to Linux pending deletion of windows. Looks like this should fix UE-28322 as well which I've removed the work around placed in for that. #jira UE-53918 #review @michael.trepka, @matt.kuhlenschmidt, @arciel.rekman Change 3830916 by Brandon.Schaefer More verbose message about missing VK extensions (from Marcin Undak) #review-3830710 marcin.undak, arciel.rekman Change 3831339 by Brandon.Schaefer Default to as-needed for debug mode #jira none #review-3830658 Arciel.Rekman Change 3833102 by Jamie.Dale Re-added warning for duplicate package localization IDs when gathering asset localization Change 3834600 by Jamie.Dale Optimized asset registry filter intersection Change 3838024 by Brandon.Schaefer Remove tracking of CLion/CMake build files (from github #4346 thanks reapazor!) #jira UE-53551 #review-3835803 arciel.rekman Change 3839969 by Michael.Dupuis #jira UE-52289: When OnRegister is called on the component make sure our PerInstanceRenderData is up to date Prevent a possible crash if ClearInstanceSelection was called on a component with no PerInstanceRenderData existing Change 3840049 by Michael.Dupuis #jira UE-52975: Was always performing the equivalent of an Add, so now we use the Transform during the duplicate Change 3840071 by Matt.Kuhlenschmidt - Combine some shader params for slate in order to reduce overhead setting uniform buffers - Added better stats for slate draw call rendering - cleaned up huge lambda in Slate rendering main function so we can read the main slate rendering function again Change 3840291 by Michael.Dupuis #jira UE-53053: Was having a mismatch between the remove reorder and the actual remove Change 3840840 by Michael.Dupuis #jira UE-53944: Make sure the LOD generated is in the valid range to prevent the crash Change 3842072 by Michael.Dupuis #jira UE-50299: Include NumSubsection in calculation of component quad factor Change 3842487 by Christina.TempelaarL #jira UE-50573 HighResShot has wrong res in immersive mode Change 3845702 by Matt.Kuhlenschmidt PR #4381: DefaultASTCQualityBySpeed too high max value. (Contributed by kallehamalainen) Change 3845706 by Matt.Kuhlenschmidt PR #4388: Only restore window if minimized (Contributed by projectgheist) Change 3845993 by Christina.TempelaarL #jira UE-41558 crash when selecting PostProcessingVolumes in separate levels Change 3856395 by Brandon.Schaefer No longer using ALAudio on Linux #jira UE-53717 Change 3858324 by Michael.Trepka Preserve command line arguments in Xcode project when regenerating it Change 3858365 by Michael.Dupuis #jira UE-52049: There was a case where adding and removing multiple time would lead to reordering the instances and this would cause the regeneration of the random stream for all the reorded instances. Change 3858492 by Michael.Trepka Updated dependencies for Mac dSYM files so that only cross-referenced modules have their dSYMs recreated on subsequent builds instead of all modules. Change 3859470 by Michael.Trepka CIS fix. Make sure a scheme file exists before trying to read it when generating Xcode project. Change 3859900 by Joe.Conley Fix for "Check Out Assets" window not properly receiving focus. Change 3865218 by Michael.Dupuis #jira UE-45784: Exposed the possibility to edit LDMaxDrawDistance Change 3866957 by Michael.Dupuis #jira UE-42509: Added BodyInstance to ULandscapeSplineSegment and ULandscapeSplineControlPoint Deprecated bEnabledCollision and migrate data as it's replaced by BodyInstance Change 3867220 by Cody.Albert Fixed Project Launcher scrollbar to properly stay anchored at the bottom of the scroll area. Change 3869117 by Michael.Dupuis #jira UE-42509:Fixed compile error when not having editor data Change 3872478 by Arciel.Rekman Linux: disable PIE if compiler enables it by default. Change 3874786 by Michael.Dupuis #jira UE-46925: Remove the guessing functionality when importing a heightmap, and instead propose to the user valid size that can be used for the import through a combo button. Improved usability of the UI by disabling size field when no file was specified Change 3875859 by Jamie.Dale Implemented our own canonization for culture codes Change 3877604 by Cody.Albert We now validate actor names passed to SetActorLabel to ensure None isn't passed in, which can corrupt levels Change 3877777 by Nick.Shin PhysX build fix - this came from CL: 3809757 #jira UE-54924 Cannot rebuild Apex/PhysX/NvCloth .emscripten missing Change 3881693 by Alexis.Matte Fix local path search to not search in memory only #jira UE-55018 Change 3882512 by Michael.Dupuis #jira none : Fixed screen size calculation to take aspect ratio into account correctly Change 3886926 by Arciel.Rekman Linux: fixed checking clang settings during the cross-build (UE-55132). #jira UE-55132 Change 3887080 by Anthony.Bills Updated SDL2 build script. - Now allows compiling inside a CentOS 6 or Ubuntu 12.04 container with wayland support when using the ContainerBuildThirdParty.sh. - Added multiple build arch support to the BuildThirdParty script and pass this down to the SDL2 build script. Change 3887260 by Arciel.Rekman Linux: fix leaking process handles in the cross-toolchain. Change 3889072 by Brandon.Schaefer Fix RPath workaround, to better handle both cases #jira UE-55150 #review-3888119 @Arciel.Rekman, @Ben.Marsh Change 3892546 by Alexis.Matte Remove fbx exporter welded vertices options #jira UE-51575 Change 3893516 by Michael.Dupuis Remove static mesh instancing async buffer filling, as with all the changes made, it's no longer necessary, the cost of loading very large buffer is negligable Rebuild the occlusion tree when using foliage.DensityScale with something other than 1.0 Change 3894365 by Brandon.Schaefer Pass FileReference over a raw string to the LinkEnvironment #jira none #review-3894241 @Ben.Marsh, @Arciel.Rekman Change 3895251 by Brandon.Schaefer Use X11 pointer barriers to bound the cursor to a region over warping the pointers. Patch from Cengiz #jira UE-25615 #jira UE-30714 #review-3894886 @Arciel.Rekman Change 3897541 by Michael.Dupuis #jira UE-53787: Added guard if for some reason the material is null we should not try to draw using this material Change 3904143 by Rex.Hill #jira UE-55366: Fix crash when overwriting existing level during level save as #jira UE-42426: Map '_BuiltData' can now be deleted when selected at same time as map - Map '_BuiltData' package is now garbage collected when switching maps in the editor Change 3906373 by Brandon.Schaefer Fix splash image. Use alias format for big/little endian machines. #jira none Change 3906711 by Rex.Hill #jira UE-42426: BuiltData now deleted with maps Change 3907221 by Cody.Albert Add support for relative asset source paths in content plugins Change 3911670 by Alexis.Matte Fix assetimportdata creation owner #jira UE-55567 Change 3912382 by Anthony.Bills Linux: Add binaries for GoogleTest and add to BuildThirdParty script. Change 3914634 by Cody.Albert Added missing include that could cause compile errors if IWYU was disabled. Change 3916227 by Cody.Albert Fixing some cases where we check #ifdef WITH_EDITOR instead of #if WITH_EDITOR Change 3917245 by Michael.Dupuis #jira UE-35097: Fixed crash when creating a new landscape with 2x2 subsection and material containing grass spawning Change 3918331 by Anthony.Bills Linux: Bundled Mono - Explicilty pick libc.so.6 as libc.so is a linker script and store the config file directly. Change 3920191 by Rex.Hill #jira UE-44197 Fix saving sub-level level causing MapBuildData to be deleted Improved MapBuildData rename, move, duplicate, copy Change 3920333 by Matt.Kuhlenschmidt Render target clear color property now settable in editor #jira UE-55347 Change 3926094 by Michael.Dupuis #jira UE-51502: Added some min/max values to foliage and grass settings to prevent overflow/crash #coderevew jack.porter Change 3926243 by Michael.Dupuis #jira UE-54669: cleaned up invalid/duplicate shader and moved some shaders to appropriate list Change 3926760 by Jamie.Dale Added support for TTC/OTC fonts These can be used via a sub-face index on FFontData, which can be set via a new combo in the font editor. You can also see the cached list of sub-faces within a font file from the UFontFace asset. Change 3927793 by Anthony.Bills Mono: Remove SharpZipLib and references from bundled Mono. #review-3887212 @ben.marsh, @michael.trepka Change 3928029 by Anthony.Bills Linux: Add support for UnrealVersionSelector. - Supports using UVS to launch without a project file. This will then launch the selected engine's project wizard. - Linux UVS uses Slate for the version selection and error log dialogs. - Mime-types and desktop file support added to DesktopPlatformLinux to allow associating with UVS as per the Windows binary and git builds. - Icons added for Linux. #review-3882197 @arciel.rekman, @brandon.schaefer Change 3931293 by Alexis.Matte Add generic Levenshtein edit distance to core algo. This algorithm will help suggesting name matching when users have to resolve material name conflict when re-import fbx meshes. Add also plenty of automation tests for it. #jira none Change 3931436 by Arciel.Rekman Stop RHI thread before shutting down RHI. - Prevents crashes for some drivers that create TLS objects with destructors; those destructors will get called after the thread exited, but the library will already be unloaded on RHI shutdown. Change 3934287 by Alexis.Matte Fix crash when re-importing skeletal mesh. Skinned component render data resource is now release when re-importing. #jira none Change 3937585 by Lauren.Ridge Added labels to the colors stored in the theme bar. Change 3937738 by Alexis.Matte Make sure content browser do not show a preview asset created when we cancel an export animation preview #jira UE-49743 Change 3941345 by Michael.Dupuis #jira UE-26959: Prevent reusing multiple type the same grass type into the same material grass output node Change 3941453 by Michael.Dupuis #jira UE-47492: Added a guard to validate LayerIndex Change 3942065 by Jamie.Dale Fixed crash trying to use FSlateApplication when it wasn't available (eg, in a commandlet) Change 3942573 by Alexis.Matte Fix static analysis Change 3942623 by Michael.Dupuis #jira 0 Cast to ulong as TaskIndex * NumStripes could exceed an int limit and add an assert if the wraparound is negative Change 3942993 by Matt.Kuhlenschmidt PR #4547: Verify the return value of FT_New_Memory_Face (Contributed by jorgenpt) Change 3942998 by Matt.Kuhlenschmidt PR #4554: Cleanup log printing (Contributed by projectgheist) Change 3943003 by Matt.Kuhlenschmidt PR #4534: Prevent Fatal log when alt tabbing during a level save (Contributed by projectgheist) Change 3943011 by Matt.Kuhlenschmidt PR #4518: edit (Contributed by pdlogingithub) Change 3943027 by Matt.Kuhlenschmidt PR #4524: Notifications always render on the screen with the main viewport (Contributed by projectgheist) Change 3943074 by Matt.Kuhlenschmidt PR #4484: Add group actor to folder (Contributed by ggsharkmob) Change 3943079 by Matt.Kuhlenschmidt PR #4431: Git Plugin: replace usage of the 2 cli args "--work-tree" and "--git-dir" by "-C" (Contributed by SRombauts) Change 3943092 by Matt.Kuhlenschmidt PR #4434: Git plugin: configure the default remote URL 'origin' (Contributed by SRombauts) Change 3943132 by Matt.Kuhlenschmidt PR #4247: Add File picker to Git Path setting on GitSourceControl (Contributed by shiena) Change 3943141 by Matt.Kuhlenschmidt PR #4303: Fix ULevelExporterT3D so that it works in a commandlet (Contributed by DSDambuster) Change 3943349 by Jamie.Dale Cleaned up PR #4547 Made the assert non-fatal to avoid it being able to take down the editor if you load up a bad font. Fixed some code that was deleted during the merge. Change 3943976 by Michael.Trepka Copy of CL 3940687 Fixed long link times when building for Mac in Debug by passing -no_deduplicate flag to the linker, which is what Xcode does in Debug configs. #jira none Change 3944882 by Matt.Kuhlenschmidt Fix a few regressions with scene viewport activation locking can capturing the cursor in editor #jira UE-56080, UE-56081 Change 3947339 by Michael.Dupuis #jira UE-55664: Fixed undo/redo buffer handling so we remove from the beginning of the buffer during undo buffer where buffer is at max memory and from the end during redo operation. Fixed cancel also to re add removed transaction at the end or the start depending if we're doing a redo or undo operation Fixed the Undo History UI to listen to an event when the undo buffer changed instead of checking every frame, as when the buffer was full, no changes would occur, thus no UI update. Change 3948179 by Jamie.Dale Fixed monochromatic font rendering - All non-8bpp images are now converted to 8bpp images for processing in Slate. - We convert the gray color of any images not using 256 grays (eg, monochromatic images that use 2 grays). - Fixed a case where the temporary bitmap wasn't being deleted. - Fixed a case where the bitmap could be used after it was deleted. - Added a CVar (Slate.EnableFontAntiAliasing) to control whether you want anti-aliased (256 grayscale) rendering (default), or monochromatic (2 grayscale) rendering. Change 3949922 by Alexis.Matte Ensure fbx node name are not empty when loading a fbx file. I use the same naming convention as Maya #jira UE-56079 Change 3950202 by Rex.Hill Fix crash during editor asset automation tests. Now skips showing modal progress window when opening asset editor window. ActiveTopLevelWindow is not set when modal windows are open. #jira UE-56112 Change 3950484 by Michael.Dupuis #jira UE-52176: delete the Cluster tree when the builder is no longer needed Change 3954628 by Michael.Dupuis Bring back 4.19/4.19.1 Landscape changes Change 3957037 by Michael.Dupuis #jira UE-53343: Add foliage instances back when changing component size Changed the formulation for the Clip/Expand behavior to make it more explicit on what will happen Added SlowTask stuff to manage big landscape change Change 3959020 by Rex.Hill Rename/move file MallocLeakDetection.h Change 3960325 by Michael.Dupuis Fixed static analysis Change 3961416 by Michael.Dupuis #jira UE-46100: Exposed UseDynamicInstanceBuffer on Foliage type, so user can decide if they want to update them dynamically #jira UE-55092: Fixed the warning to appear when having resource array as empty but VB as set up Added data conssitency that when using Dynamic buffer, Keep CPU Access should also be true, even if implicitly it's already the case, now it's explicit Change 3962372 by Michael.Trepka Copy of CL 3884121 Fix for SProgressBar rendering incorreclty on Mac #jira UE-56241 Change 3964931 by Anthony.Bills Linux: Add cross-compiled binary of UVS Shipping. Change 3966719 by Matt.Kuhlenschmidt Fix parameters out of order here #jira UE-56399 Change 3966724 by Matt.Kuhlenschmidt PR #4585: Export symbols for the FDragTool (Contributed by Begounet) Change 3966734 by Matt.Kuhlenschmidt PR #4596: fix the slider issue of the HighResolutionScreenshot window (Contributed by mamoniem) Change 3966739 by Matt.Kuhlenschmidt Removed duplicated code #jira UE-56369 Change 3966744 by Matt.Kuhlenschmidt PR #4602: Fixes check for existing extensions when generating "All Extensions". (Contributed by PhilBax) Change 3966758 by Matt.Kuhlenschmidt PR #4604: Fixed an issue where the Modules and DebugTools tabs would be unrecognized after startup if docked in the level editor (Contributed by tstaples) Change 3966780 by Matt.Kuhlenschmidt Fix crash accessing graph node title widgets when objects have become stale. #jira UE-56442 Change 3966884 by Alexis.Matte Fix speedtree uninitialized values #jira none Change 3967568 by Alexis.Matte Do not override the screensize when importing a skeletal mesh, let the value set by the AddLodInfo function #jira UE-56493 Change 3968333 by Brandon.Schaefer Fix order of operation #jira UE-56400 Change 3969070 by Anthony.Bills Linux: Make sure to set the UE_ENGINE_DIRECTORY #jira UE-56503 #review-3966609 @arciel.rekman, @brandon.schaefer Change 3971431 by Michael.Dupuis #jira UE-56515: Fixed an issue where ForcedLOD > MaxLOD and make sure that LastLOD will at least contain current streamed in LOD. #jira UE-56517: When using ParallelInitView 1 there was a memory leak related to a reallocate that happen with the TArray of FMemstack Pass correctly LODDistanceFactor instead of View.LODScale as we do not want StaticMeshScale to affect us. Change 3971467 by Matt.Kuhlenschmidt Fixed crash deleting a texture with texture painting on it #jira UE-56994 Change 3971557 by Matt.Kuhlenschmidt Fix temporary exporter objects being potentially GC'd and causing crashes during export #jira UE-56981 Change 3971713 by Cody.Albert PR #4597: [FPS Template] Small null pointer check fix and cleanup (Contributed by TheCodez) Change 3971846 by Michael.Dupuis #jira UE-56517: Properly "round" the count so we have the right amount of memory reserved #jira UE-56515: Still had a edge case left, so when using forced lod i simply make sure the value is in valid range, and allocate all the required data for this range Change 3973035 by Nick.Atamas Line and Spline rendering changes: * Lines/Splines now use 1 UV channel to anti-alias (this channel can be used for texturing) * Anti-aliasing filter now adjusted based on resolution * Modified Line/Spline topology to accomodate new UV requirements * Disabled vertex snapping for anti-aliased lines/splines; previously vertexes were snapped, but vertex positions did not affect line rendering (behavior effectively unchanged) * Splines now adaptively subdivided to avoid certain edge-cases Change 3973345 by Nick.Atamas - Number tweaks to maintain previously perceived wire thickness in various editors. Change 3977764 by Rex.Hill MallocTBB no longer debug fills bytes in development configuration Change 3978713 by Arciel.Rekman UVS: Fix stale dependency. Change 3980520 by Matt.Kuhlenschmidt Fix typo #jira UE-57059 Change 3980557 by Matt.Kuhlenschmidt Fixed negative pie window sizes causing crashes #jira UE-57100 Change 3980565 by Matt.Kuhlenschmidt PR #4628: Fixed revert action, now correctly uses CanRevert() condition (Contributed by Kryofenix) Change 3980568 by Matt.Kuhlenschmidt PR #4626: UE-57111: Handle CaptureRegion for HighResShot in PIE (Contributed by projectgheist) Change 3980580 by Matt.Kuhlenschmidt PR #4567: [Editor UI] Pick Parent Class dialog: set keyboard focus and handle Escape & Enter (Contributed by SRombauts) Change 3980581 by Matt.Kuhlenschmidt PR #4565: [Editor UI] Add C++ Class dialog: set keyboard focus and handle Escape & Enter (Contributed by SRombauts) Change 3981341 by Jamie.Dale Re-added GIsEditor condition around package namespace access #jira UE-55816 Change 3981808 by Ryan.Brucks Added LandscapeProxy functions to push RenderTarget data to Heightmaps and Weightmaps Change 3983344 by Jack.Porter #include fixes for CL 3981808 #jira 0 Change 3983391 by Jack.Porter One for #include fix for CL 3981808 #jira 0 Change 3983562 by Michael.Dupuis #jira UE-53787: Make sure the material array is valid before trying to generate static mesh batch element #jira UE-56451: Instead of asserting, simply skip this element as it had invalid custom data anyway, so we can't render it Change 3983600 by Matt.Kuhlenschmidt PR #4289: Pragma Once/Include guard cleanup (Contributed by projectgheist) Change 3983637 by Matt.Kuhlenschmidt PR #4408: Add a template pregeneration hook (Contributed by mhutch) Change 3984392 by Michael.Dupuis #jira UE-56314: Correctly apply LODBias on calculated LOD Fixed some Landscape popping that could occur when we were forcing a LOD that didn't match the component screen size Change 3984950 by Rex.Hill Optimized texture import speed 2-3x depending on number of cpu cores and image size Change 3985033 by Rex.Hill File drag and drop is more quick to respond when editor is in background #jira UE-57192 Change 3986218 by Jack.Porter Missing template parameter fix for CL 3981808 #jira 0 Change 3986376 by Michael.Dupuis #jira UE-56453: Do not use the CreateDynamicMaterialInstance as it will change the parenting of the actor used material, instead simply use the function to generate the MID and parent it correctly. Change 3989391 by Matt.Kuhlenschmidt Fix constant FName lookup in level editor when checking various states of level editor tabs Change 3990182 by Rex.Hill Optimize editor startup time: GetCurrentProjectModules Change 3990365 by Alexis.Matte Fix crash with spline mesh when the attach SM get a new imported LOD #jira UE-57119 Change 3991151 by Rex.Hill VR Editor module now waits to load images until VR mode activated in editor. Saves 0.4 seconds of editor startup time. Change 3991164 by Rex.Hill Optimize editor startup time: FindModulePaths() - Invalidates cache when search paths added - Use cache during wildcard searches containing * and ? Change 3995366 by Anthony.Bills Update BuildCrossToolchain script to allow a Linux host targeting multiple Linux architectures (including the hosts arch). Added a patch to support a gcc 4.8.5 based toolchain on windows (potentially useful for users crosscompiling using GCC and libstdc++ and targeting CentOS 7). #review-3848487 @arciel.rekman, @brandon.schaefer Change 3996109 by Jamie.Dale Reworked BP error messages to be more localization friendly #jira UETOOL-1356 Change 3996123 by Michael.Dupuis #jira UE-57427: Update random color on load of the component #jira UE-56272: Change 3996279 by Merritt.Cely Removed hardware survey from editor #jira an-2243 #tests launched the editor Change 3996626 by Alexis.Matte Fix crash when SkeletalMesh tangent buffer is empty after the build and we serialize the tangent array. #jira UE-57227 Change 3996663 by Max.Chen Sequencer: Fix fbx animation export - rotation and scale channels were flipped. #jira UE-57509 #jira UE-57512 #jira UE-57514 Change 4000331 by Brandon.Schaefer Add a GFNameTableForDebuggerVisualizers_MT back only for Unix under the Core module #review-3999426 @Arciel.Rekman #jira UE-55298 Change 4000450 by Matt.Kuhlenschmidt Another guard against a factory being destroyed during import #jira UE-57674 Change 4000459 by Matt.Kuhlenschmidt Added check for valid game viewport to see if this is the problem in UE-57677 #jira UE-57677 Change 4000493 by Matt.Kuhlenschmidt Remove stale GC'd components when refreshing paint mode to prevent crashes #jira UE-52618 Change 4000683 by Jamie.Dale Fixed target being incorrect when added via the Localization Dashboard #jira UE-57588 Change 4000738 by Alexis.Matte Add a section settings to ignore the section when reducing #jira UE-52580 Change 4000920 by Alexis.Matte PR #4219: Fix for SColorGradingPicker preventing PIE (Contributed by projectgheist) author projectgheist projectgheist@gmail.com Change 4001432 by Alexis.Matte Add a fbx re-import resolve material windows, user can now help resolving the material in case the importer fail to found a match. Change 4001447 by Jamie.Dale Fixed property table not working with multi-line editable text Change 4001449 by Jamie.Dale PR #4531: Localization multiline fix (Contributed by Lallapallooza) Change 4001557 by Alexis.Matte Fix a check in fbx scene importer, in case the user import a fbx LOD group with no geometry under it #jira UE-57676 Change 4002539 by Alexis.Matte Make the fbx importer global transform options persist in the config file #jira UE-50897 Change 4002562 by Anthony.Bills Linux: Enable UVS registering for git builds only and remove old Mono and pre-UVS script code. Change 4003241 by Alexis.Matte Fix the staticmesh import socket logic, it was duplicating socket when re-importing #jira UE-53635 Change 4003368 by Michael.Dupuis #jira UE-57276: #jira UE-56239: #jira UE-54547: Make sure we can't go above MaxLOD even for texture streaming Change 4003534 by Alexis.Matte Fix re-import mesh name match #jira UE-56485 Change 4005069 by Michael.Dupuis #jira UE-57594: Add a guard to prevent crash if we have an invalid resource for the heightmap texture (happen when component is deleted, for example) Change 4005468 by Lauren.Ridge Widgets should not be removed from parent when they are pending GC #jira UE-52260 Change 4006075 by Michael.Dupuis Fixed foliage density scaling to be applied even in editor, except in Foliage edit mode. Change 4006332 by Arciel.Rekman UBT: Adding support for bundled toolchains on Linux. - Authored by Anthony Bills, with modifications. Change 4007528 by Matt.Kuhlenschmidt PR #4665: Source control History Window: enlarge column Description (Contributed by SRombauts) Change 4007531 by Matt.Kuhlenschmidt PR #4656: UE-57200: Ignore reference to actor if same actor (Contributed by projectgheist) Change 4007548 by Matt.Kuhlenschmidt PR #4664: Set Password on EditableText (Contributed by projectgheist) Change 4007730 by Brandon.Schaefer Add a new way to symbolicate symbols for a crash at runtime Two new tools are used for this. 1) dump_syms Will generate a symbol file, which is to large to read from at runtime 2) BreakpadSymbolEncoder Takes the dump_syms file and encodes it in such a way we can do a binary search at runtime to find a Program Counter to a symbol we are looking for #review @Arciel.Rekman, @Anthony.Bills #jira UETOOL-1206 Change 4008429 by Lauren.Ridge Fixing undo bug when deleting user widgets from the widget tree #jira UE-56394 Change 4008581 by Cody.Albert Reinitialize needs to set the audio and caption tracks in addition to the video track or the currently selected track will be lost Change 4009605 by Lauren.Ridge Added Recently Opened assets filter under Other Filters in the Content Browser Change 4009797 by Anthony.Bills Linux: Update MultiArchRoot path to not cache. Move in tree toolchain location to match UBT convention and make sure the MultiArchRoot is checked before the system. Change 4010266 by Michael.Trepka Copy of CL 4010052 Moved some key event handling calls to the main thread on Mac to satisfy new macOS requirements #jira UE-54623 Change 4010838 by Arciel.Rekman Linux: limit allowed clang versions to 3.8-6.0. Change 4012160 by Matt.Kuhlenschmidt Changed the messagiing on the crash reporter dialog to reflect new bug submission process #jira UE-56475 Change 4013432 by Lauren.Ridge Fix for non-assets attempting to add to the Content Browser's recent filter #jira none Change 4016353 by Cody.Albert Improved copy/paste behavior for UMG editor: -Pasting in the designer while a canvas is selected will place the new widget under the cursor -Pasting multiple times while a canvas panel is selected in the hierarchy view will cascade the widgets starting at 0,0 -Pasting while something that isn't a panel is selected is now allowed, and will cascade the pasted widgets off the position of the selected widget (as siblings) -Newly pasted widgets will now be selected automatically -Pasting multiple widgets at once will try and maintain their relative positions if they're being pasted into a canvas panel Change 4017274 by Matt.Kuhlenschmidt Added some guards against invalid property handle access #jira UE-58026 Change 4017295 by Matt.Kuhlenschmidt Fix trying to apply delta to a mix of scene components and non scene components. Its acceptable to not have scene components in the selected component list #jira UE-57980 Change 4022021 by Rex.Hill Fix for audio desync and video fast-forwarding behavior. There long delay (500ms+) until samples start arriving unless we use RequestedTimeCurrent. After delay occurs samples begin arriving at accelerated speed until caught up to playback time leading to visual and audio problems. #jira UE-54592 Change 4023608 by Brandon.Schaefer Downscale memory if we dont have enough #jira UE-58073 #review-4023609 @Arciel.Rekman Change 4025618 by Michael.Dupuis #jira UE-58036: Apply world position offset correctly Change 4025661 by Michael.Dupuis #jira UE-57681: Added guard to prevent possible crash if either we have an invalid material or the material parent is invalid Change 4025675 by Michael.Dupuis #jira UE-52919: if no actor was found in the level skip moving the instances Change 4026336 by Brandon.Schaefer Manually generate *.sym files for Physx3 This should be done in the BuildPhysx file Change 4026627 by Rex.Hill Fix memory leak fix when playing video and main thread blocks #jira UE-57873 Change 4029635 by Yannick.Lange Fix VRMode loading assets only when VRMode starts. #jira UE-57797 Change 4030288 by Jamie.Dale Null FreeType face on load error to prevent potential crashes Change 4030782 by Rex.Hill Fix save BuildData after changing reflection capture in a new level #jira UE-57949 Change 4033560 by Michael.Dupuis #jira UE-57710: Added some guard to prevent crash/assert Change 4034244 by Michael.Trepka Copy of CL 4034116 Fixed arrow keys handling on Mac Change 4034708 by Lauren.Ridge PR #4699: UE-8508: Update config file to keep folder color in sync (Contributed by projectgheist) #jira UE-58251 Change 4034746 by Lauren.Ridge PR #4701: Add option to close tabs to the right of the active tab (Contributed by jesseyeh) #jira UE-58277 Change 4034873 by Lauren.Ridge Fix for not being able to enter simulate more than once in a row. #jira UE-58261 Change 4034922 by Lauren.Ridge PR #4387: Commands mapped in incorrect location (Contributed by projectgheist) #jira UE-53752 Change 4035484 by Lauren.Ridge Tentative fix for crash on pasting comment. All other accesses to UMaterialExpressionComment check its validity first #jira UE-57979 Change 4037111 by Brandon.Schaefer Try to use absolute path from dladdr if we can to find the sym files #jira UE-57858 #review-4013964 @Arciel.Rekman Change 4037366 by Brandon.Schaefer Dont check the command line before its inited #review-4037183 @Arciel.Rekman #jira UE-57947 Change 4037418 by Alexis.Matte Remove the checkSlow when adding polygon Change 4037745 by Brandon.Schaefer Use as much info as we can during ensure Just as fast as the old way but with more information #review-4037495 @Arciel.Rekman #jira UE-47770 Change 4037816 by Rex.Hill Import mesh optimization, BuildVertexBuffer Change 4037957 by Arciel.Rekman UBT: make it easier to try XGE on Linux. Change 4038401 by Lauren.Ridge Reordering is now correctly handled by undo. Reordering and then undoing will no longer cause a "ghost" widget to also be part of the tree. #jira UE-58206 Change 4039612 by Anthony.Bills Unix: Check for null StdOut and ReturnCode parameters, otherwise the code may dereference a null variable when the process fails to create. Change 4039754 by Alexis.Matte Remove the Render meshdescription, no need to carry this temporary data in the staticmesh Change 4039806 by Anthony.Bills Linux: UVS fixes - Update to use new Unix base platform. - Use bin/bash instead of usr/bin/bash (may need revisiting later). - Recompile Shipping version with changes. - Update Setup.sh to run from correct CWD (due to current limitations in the relative directory handling). Change 4039883 by Lauren.Ridge PR #4576: Save editor config to file first time a fav folder is added in the co. (Contributed by projectgheist) #jira UE-56249 Change 4040117 by Lauren.Ridge Replacing widgets should now also clear out references to the widget #jira UE-57045 Change 4040790 by Lauren.Ridge Tentative fix for Project Launcher crash when platform info not found #jira UE-58371 Change 4042136 by Arciel.Rekman UBT: refactor of LinuxToolChain to make it leaner and more configurable. - Made it possible to override SDK passed to the toolchain. - Simplified the code by using the same executable names on Windows and Linux (as .exe is optional), except where File.Exists() is needed (also remove a few) - Some minor renames to make it clear that SystemSDK means system compiler (which otherwise may be unclear) - Made changes to accomodate the new debug format. Change 4042930 by Brandon.Schaefer GCoreObjectArrayForDebugVisualizers was changed to FChunkedFixedUObjectArray reflect that in the Unix part Change 4043539 by Brandon.Schaefer Fix callsite address being used at times for the Program Counter Fix only reporting the actual callstack and not the crash handling callstacks #review-4041370 @Arciel.Rekman #jira UE-58477 Change 4043674 by Arciel.Rekman Added Linux ARM64 (AArch64) lib for MikkTSpace. - Now required for standalone games due to EditableMesh runtime plugin. Change 4043677 by Arciel.Rekman Linux: updated ARM64 (AArch64) version of SDL2. Change 4043690 by Arciel.Rekman Linux: allow compiling VulkanRHI for AArch64 (ARM64). Change 4045467 by Brandon.Schaefer Add Anthony Bills SetupToolchain.sh script Used to download the latest toolchain Change 4045940 by Michael.Trepka Return empty list instead of null from Mac GetDebugInfoExtensions() in UBT #jira UE-58470 Change 4046542 by Alexis.Matte Fix skeletal re-import material assignation #jira UE-58551 Change 4048262 by Brandon.Schaefer Rebuild SDL with pulse audio libs #jira UE-58577 Change 3887093 by Anthony.Bills Add bundled mono binary for Linux. - Unify some of the script structure across Mac and Linux. - This currently uses the same mono C# assemblies as Mac to keep the additional source size down. - If the Mac mono version is updated, the Linux version will also need to be updated to match the same mono git revision. - The system version of mono can still be used by setting the UE_USE_SYSTEM_MONO env var to 1. Change 4003226 by Michael.Dupuis Refactored StaticMeshInstancing to now use a command buffer to communicate with the GPU to prevent concurent access issues. It's mostly used in Editor or if runtime changes occur, otherwise the data is built and send to the GPU directly without keeping CPU copy. Changed how the density scaling was applied to be more optimal Removed UseDynamicInstanceBuffer as the concept is now irrelevant Change 3833097 by Jamie.Dale Localization Pipeline Optimization Manifest/Archives: Added FLocKey to keep an immutable string and its hash. This is used in several places within manifests and archives to minimize string hashing. FLocTextHelper also now take these in its API. This also fixes some places where manifests were being iterated by key rather than source string (as this was causing redundant work). Portable Object: Cleaned up a lot of redundant code, changed things to use FLocKey, and simplified a lot of string manipulation to use algorithms instead (which proved to be faster). Asset Gathering: Optimized the way garbage collection runs while gathering from assets so that we avoid purging assets that we still need to gather from (or are still active dependencies). This also sorts the assets so that we can try and evict dependencies from memory as soon as possible (in much the same way that the cooker does). Automation: The gather commandlet can now take multiple configs to process. This is used by automation to avoid starting the editor several times (which can save a significant amount of start-up overhead). [CL 4052378 by Lauren Ridge in Main branch]
2018-05-04 14:14:10 -04:00
// Check if we are CRLF \r\n
if (NewLineEnd > 0 && NewLineEnd != std::string::npos)
{
if (RawBytes[NewLineEnd - 1] == '\r')
{
NewLineEnd--;
NewLineSize = 2;
}
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor [at] 4327887) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3813004 by Matt.Kuhlenschmidt Fix dpi scale being wrong when there is a mix of high dpi and low dpi monitors and the editor opens the window on the low dpi monitor Change 3946515 by Michael.Trepka Reverted CL 3813004. We need to save editor's root window size and position in DPI-independent units, as that's what the loading code expects. Change 4052825 by Brandon.Schaefer Add back -funwind-tables for arm This was removed an only tested on x86 which worked just fine. Arm reqiures this for backtrace #jira none Change 4055318 by Brandon.Schaefer Remove extra mallocs when crash handling Still need to look into gmalloc calls, such as using FStrings during Ensure/Crash handling [at]Arciel.Rekman #jira UE-58538 Change 4055623 by Brandon.Schaefer Replace std::endl with "\n" As std::endl is "\n" << std::flush. On windows dump_syms was taking 33 seconds to fflush with std::endl on a 1.2GB file. No longer with "\n". [at]Josh.Engebretson Change 4057102 by Jamie.Dale Added missing API export Change 4057384 by Rex.Hill Fix ReversePolygonFacing crash Change 4067426 by Matt.Kuhlenschmidt PR #4667: Source control history: remove empty spacing in the right of the detail panel (Contributed by SRombauts) Change 4067587 by Matt.Kuhlenschmidt PR #4311: PlacementModeTools shapes searchable and thumbnail (Contributed by projectgheist) Change 4068480 by Cody.Albert Fix display name for Display UI Extension Points Change 4070876 by Brandon.Schaefer Avoid printing when in a signal handler. Put that off until the end #jira UE-36663 [at]Arciel.Rekman, [at]Anthony.Bills Change 4071980 by Brandon.Schaefer Cache files that are invalid or the wrong case sensitivity #jira UE-58250 [at]Arciel.Rekman Change 4079967 by Matt.Kuhlenschmidt Added scale parameter to Canvas::DrawText #jira UE-59023 Change 4080228 by Alexis.Matte Fix the PerPlatformPropertiesWidget to be readable when there is many platform #jira UE-57556 Change 4081171 by Matt.Kuhlenschmidt PR #4272: Fix typo. (Contributed by Damianno19) Change 4081601 by Matt.Kuhlenschmidt GitHub 4077 : Hide SDetailView Filterbox when no actor selected Change 4090114 by Matt.Kuhlenschmidt Fixed touch events simulated through mouse not respecting high dpi #jira UE-59477 Change 4091999 by Matt.Kuhlenschmidt Fixed insert/delete/duplicate children calling PostEditChange on the existing child node not the array Change 4093187 by Arciel.Rekman Do not save window position if running with -nullrhi (UE-52498). - This also fixes a crash on exiting automation tests. #jira UE-52498 Change 4096404 by Richard.TalbotWatkin Resaved test assets to update to latest UStaticMesh serialization format. Change 4096445 by Richard.TalbotWatkin New serialization layout for UMeshDescription. - Only the bare minimum is serialized: any internal values which can be inferred from others in the Mesh Description are omitted. - Triangles are no longer serialized: a triangulation step is performed per polygon when serialized. - Attribute arrays of simple types are now serialized with BulkSerialize for speed; only FName requires element-by-element serialization. Change 4112843 by Brandon.Schaefer Rebuilt replacing std::endl with '\n' avoiding a std::flush *pre* write Was taking 30 seconds to std::flush on a 1.2 GB file #jira none Change 4113422 by Brandon.Schaefer If we are using the native bundled toolchain set LC_ALL=C to avoid locale issues #jira UE-59416 Change 4113849 by Cody.Albert Fix support for toolbar extensions in the UMG editor Change 4118758 by Richard.TalbotWatkin - Refactor to put UStaticMesh Mesh Descriptions in a separate object which is not loaded by default, but which can be requested when needed. This needs to be kept in sync with the number of SourceModel LODs. - Various refactors to import/building. - Changed UMeshDescription to FMeshDescription, and made its preferred semantics pass-by-reference rather than by pointer. - Deprecated UMeshDescription. Change 4119883 by Rex.Hill Cleanup blueprint callable categories Landscape Editor -> Landscape|Editor Landscape Runtime -> Landscape|Runtime Cloth -> Clothing Simulation Cinematics -> Cinematic Utility -> Utilities Change 4119898 by Rex.Hill Cleanup blueprint callable categories x|Magic Leap -> Magic Leap|x Apple ARKit * -> Apple ARKit|* Change 4119972 by Brandon.Schaefer Dont add colors if we are not outputing to a terminal #jira UE-58173 Change 4119994 by Brandon.Schaefer Only check once if we are outputing to a terminal #jira UE-58173 Change 4122654 by Alexis.Matte Fix re import assignment of sections #jira UE-59611 Change 4123536 by Alexis.Matte Add to the fbx importer the possibility to use different sample rate when importing an animation. #jira UE-59444 Change 4124702 by Brandon.Schaefer Fix duplicated struct/class from slightly different submit into main coming back into dev-editor #jira UE-60163 Change 4133449 by Mike.Erwin glTF importer work Foundations of work for Skeletal Mesh import; right now we just support Static Mesh. - node hierarchy - joint IDs & skinning weights - matrix & quaternion values #jira none Change 4133749 by Matt.Kuhlenschmidt PR #4771: Fix access violation for ImportAsset commandlet fbx reimport. (Contributed by UristMcRainmaker) Change 4133758 by Matt.Kuhlenschmidt PR #4675: Properly set TextScale for OnScreenDebugMessages (Contributed by projectgheist) Change 4134543 by Alexis.Matte Update the staticmesh LOD model max deviation when generating a LOD #jira UE-60353 Change 4134559 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - Editor scripting utilities #jira UE-60666 Change 4134560 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - SpeedTreeImporter #jira UE-60667 Change 4135335 by Alexis.Matte Deprecate FRawMesh - GLTF importer #jira UE-60670 Change 4135857 by Alexis.Matte Fix CIS build warning #jira none Change 4137249 by Matt.Kuhlenschmidt Fix tiny fonts from appearing in slow task dialogs Change 4137280 by Matt.Kuhlenschmidt Fix specifying relative paths for the auto-import commandlet not working Change 4137283 by Matt.Kuhlenschmidt PR #4305: Light map index was unintialized (Contributed by DSDambuster) Change 4137290 by Matt.Kuhlenschmidt PR #4382: Prevent error log due to non-existing plugin directory (Contributed by projectgheist) Change 4147032 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - ABC Importer #jira UE-60702 Change 4147978 by Matt.Kuhlenschmidt Fix one of the CIS fails Change 4154874 by Matt.Kuhlenschmidt Fix hidden asset properties in struct details panels. We consider all object properties with "allowedclasses" metadata to be asset properties since they only show an asset picker. Change 4167303 by Matt.Kuhlenschmidt Work around for sync to content browser from details panels not working for interface properties Change 4167388 by Matt.Kuhlenschmidt Make sure when converting relative path filenames in automated import that we convert them relative to the project directory. Change 4171891 by Matt.Kuhlenschmidt Fix preview mesh actor becoming stuck to the cursor when the editor or viewport loses focus #jira UE-61246 Change 4175503 by Cody.Albert Updated variable details panels to not display unusable metadata options for UMG widget references #jira UE-55078 Change 4175736 by Cody.Albert PR #4663: UE-20103: Slate widgets retain their category name v2 (Contributed by projectgheist) Change 4178937 by Rex.Hill Fix crash opening level after removing as sublevel jira: UE-61305 Change 4181097 by Matt.Kuhlenschmidt Fix Linux/Mac CIS Change 4184333 by Alexis.Matte Fix the material ID assignation when re-importing static mesh #jira none Change 4199682 by Arciel.Rekman Linux: enable XGE during cross-builds to see whether the build issues persist. - Licensees are asking for this and XGE folks are eager to help investigating the crashes, if any. Change 4200944 by Cody.Albert Updated VR Mode button to become inactive during SIE (instead of disappearing altogether) #jira UE-50220 Change 4204817 by Alexis.Matte Enable or disable the morph target weight slider depending of the project settings. #jira UE-61671 Change 4204821 by Alexis.Matte Optimize import time for morph targets #jira UE-61670 Change 4207394 by Cody.Albert PR #3299: UMG Slider Additions (Contributed by Dzuelu) Change 4208299 by Brandon.Schaefer Fix warning/error with logical operators #jira none Change 4210660 by Cody.Albert PR #3458: UE-43728: Always show scrollbar when necessary (Contributed by projectgheist) #jira UE-43727, UE-43278 Change 4215684 by Brandon.Schaefer Linux: Implement minimized function for LinuxWindow #jira UE-56023 Change 4217350 by Brandon.Schaefer Linux: Clean up IsMaximized #jira none Change 4217489 by Brandon.Schaefer Linux: Make popup menus BORDERLESS. Slate will give the menu events This appears to fix a lot of our grabs causing compiz to do something issue. #jira UE-59237, UE-54085, UE-51407, UE-50018, UE-53915 Change 4225018 by Cody.Albert UMG Hierarchy now remembers expansion state when being destroyed and recreated (due to closing widget or switching to Graph view) #jira UE-61836 Change 4225088 by Cody.Albert Added hover style for color picker slider Change 4226081 by Richard.TalbotWatkin New attribute array API. Fixed some flaws in the original API, deprecated various methods, and introduced some new features. - Now attribute arrays are accessed via TAttributesRef or TAttributesView (and corresponding const versions). These value types hold references to attribute arrays, and individual elements can be accessed by their element ID and attribute index. Using a value type is safer than the previous method which required assignment to a const-ref (and not doing so would take a temporary copy of the attribute array). - The attribute set has been totally flattened, so all attributes of different types are added to the same container. This greatly improves compile times, prevents attributes from being created with the same name but different types, and permits the view feature. - The class hierarchy has changed to have generic base classes where possible with no particular ElementID type. This reduces the code footprint by no longer generating nearly identical copies of templated methods. - A TAttributesView allows the user to access an attribute array by the type of their choosing, regardless of its actual type. For example, the Normal attribute may be registered with type FPackedVector, but accessed as if it was an FVector. This allows us to move away from very strong typing, and instead transparently store attributes of a more efficient size, while the user is not affected. - A transient attribute flag has been added, to denote that a particular attribute should not be saved. Change 4226083 by Richard.TalbotWatkin Reinstated original mesh editor materials. Change 4226102 by Richard.TalbotWatkin Fixed some deprecation warnings, and a mistake in MeshAttributeArray.h. Change 4226118 by Richard.TalbotWatkin Fix build errors: - Added missing file - Corrected the last fix. Change 4226121 by Richard.TalbotWatkin Bumped static mesh mesh data GUID. Change 4226231 by Richard.TalbotWatkin Removed some test code which got checked in by mistake. Change 4226232 by Richard.TalbotWatkin Fixed typo which caused build errors. Change 4226234 by Richard.TalbotWatkin Fixed a typo in MeshDescriptionTests. Change 4226237 by Richard.TalbotWatkin Removed over-cautious deprecation warnings. Once GetAttributes() is changed to GetAttributesRef(), element access will still work with array syntax. Change 4226625 by Richard.TalbotWatkin Added missing asset. Change 4227365 by Matt.Kuhlenschmidt Fix brush actors not showing the correct icon in scene outliner. - Actors can now supply their own icon if needed #jira UE-61948 Change 4229632 by Alexis.Matte Make the namespace an import option #jira UE-62099 #jira UE-62067 Change 4229637 by Alexis.Matte Fix fbx importer staticmesh the light map index, the index was check before the build. #jira UE-62064 Change 4232793 by Chris.Gagnon Added include to fix non unity builds. #jira UE-62138 Change 4234206 by Brandon.Schaefer Linux: Allow windows that want to be resizable to be resizeable Github PR #3578 thanks hhyyrylainen #jira UE-45847 Change 4234322 by Brandon.Schaefer Continue after starting UnrealVersionSelector to avoid blocking a chain command #jira UE-61530 Change 4234446 by Chris.Gagnon Properly handled FPackageName::TryConvertFilenameToLongPackageName() failing in Cache Thumbnail. #jira UE-61990 Change 4235057 by Brandon.Schaefer Linux: Write to stderr when we fail to find expected to find sym file #jira none Change 4235121 by Brandon.Schaefer Linux: Mark the static bool as soon as we enter the scope #jira none Change 4235399 by Brandon.Schaefer Linux: Check we are not x86 otherwise add unwind tables Copying the change that went over into 4.20.1 here #jira none Change 4240539 by Jamie.Dale Made DataTableUtils::GetX functions take a const data pointer Change 4240646 by Chris.Gagnon Fix for delayed destruction of UWidgets when they are manually removed from a panel as part of tear down. Inspired by the pull request, however I put in a more generic fix. PR #4904: Fix late release of Slate resources managed by UMG slot widgets (Contributed by cmp-) Change 4242975 by Yuriy.ODonnell Moved duplicated code from MeshUtilities and MeshDescriptionOperations (FLayoutUV, FAllocator2D, FOverlappingCorners, etc.) into a new single module MeshUtilitiesCommon. Add a generic opaque mesh view interface FLayoutUV::IMeshView to abstract mesh data access and allow FLayoutUV to be used with any mesh type in any module. Replaced few instances of using an old version of overlapping corners data structure (multi-map) with new specialized FOverlappingCorners container. Change 4243112 by Yuriy.ODonnell Use new attribute array API for accessing FMeshDescription data. Change 4243131 by Brandon.Schaefer Cast our new resize w/h to int before checking if we are already that size #jira UE-52291 Change 4243172 by Brandon.Schaefer Ceil not trunk for this compare #jira none Change 4243271 by Brandon.Schaefer Change address to be more portable MS compiler does not place a '0x' on %p formating. Linux/Mac append a '0x' to the address #jira UE-62325 Change 4243276 by Richard.TalbotWatkin Fixed deprecated MeshDescription calls (merged with Yuriy's changes). Change 4244067 by Lauren.Ridge Preventing crash on floating text if asset container does not exist. VR Editor floating text is now not placeable or blueprintable. #jira UE-62139 Change 4244547 by Lauren.Ridge Changes to more accurately represent android behavior in PIE and UMG #jira UE-62301 Change 4244830 by Alexis.Matte Fix animation Range import, prevent changing the option when validating the anim range. #jira UE-62055 Change 4250565 by Yuriy.ODonnell Removed GeometryCache dependency on MeshUtilitiesCommon in non-editor configs. Change 4254733 by Matt.Kuhlenschmidt Slate Fast Path - Changed FSlateWindowElementList GetWindow to be thread safe. For fast path, this is accessed on multiple threads so it needs to be safe GetWindow is deprecated and GetPaintWindow should be used instead Edigrate from source CL 4254611 Change 4257092 by Chris.Gagnon Improved UMG rename validation to respect the errors from the blueprint validator. This fixes at least the case where it miss reported the issue when the name was greater than the length limit in blueprints. #jira UE-62417 Change 4257124 by Chris.Gagnon PR #4924: UE-62113 Fix Other filters toggling all assets to show up (Contributed by mamoniem) #jira UE-62457 Change 4258696 by Chris.Gagnon Removed Tab Spawner for Color Curve Editor is your not editing the color curve. #jira none Change 4258937 by Chris.Gagnon Simplifed the code in the case of a null CurveOwner. #jira UE-62443 Change 4259162 by Richard.TalbotWatkin Fixed crash when entering mesh editor mode after having loaded a new level. Change 4259909 by Chris.Gagnon Added better check output to try and learn more about a crash in the wild. Added some better const saftey while in there. #jira UE-60696 Change 4259995 by Chris.Gagnon Fix for possible crash if the mesh has invalid materials. Also fixed the fact the FindMaterialIndicesUsingTexture() didn't work as advertised at all. Seems like you'd attemp to paint all materials even when trying to only paint the ones using a particular texture. #jira UE-62488 Change 4261012 by Michael.Dupuis #jira UE-48899: Make sure the RootComponent is valid before trying to use it. Change 4261361 by Michael.Dupuis #jira UE-48899: Fixed the warning about scale Change 4261926 by Michael.Dupuis #jira UE-48899: Only check the root component validity as it's possible that the component is not registered when this get called. Change 4262163 by Richard.TalbotWatkin Fixed uninitialized member. #jira UE-62493 #jira UE-62506 Change 4262549 by Brandon.Schaefer Linux: Update the Slate application what the window size will most likely be As X11 takes a frame to send an Event that a window has had its size changed. This causes things such as the slate renderer to think the window size is different then it actually it. This causes streching of tooltips #jira UE-62555 Change 4262581 by Brandon.Schaefer Linux: Use Show so we preserve our bIsVisible bool and avoid sending SDL_ShowWindow twice (ie. if its already shown) #jira none Change 4262906 by Chris.Gagnon PR #4915: [UMG] Bind UWidgetAnimation from C++ to blueprint created animation (Contributed by TheCodez) Change 4262965 by Chris.Gagnon PR #4932: Fix to generate cleaner C++ files when using "New C++ Class" (Contributed by TheCodez) Change 4263177 by Chris.Gagnon PR #4935: Prevent crash when clicking use selected game mode multiple times (Contributed by projectgheist) Change 4264723 by Christina.TempelaarL Fixed SceneCaptureComponent so ShowOnlyActors property is writeable in blueprints. #jira UE-62547 Change 4266029 by Michael.Dupuis #jira none: Guarded against the scene being null Change 4266356 by Richard.TalbotWatkin Changed FMeshDescription to a struct from a class. Added log errors when loading UMeshDescription objects (now deprecated), in preparation to resave any which remain. Once all serialized UMeshDescriptions are wiped out (they only exist internally), FMeshDescription will become a USTRUCT. Change 4266621 by Matt.Kuhlenschmidt Fix UE4 icon to be the correct one Change 4266635 by Chris.Gagnon Added Message Log output for invalid software cursor as opposed to ensure/log. #jira UE-62554 Change 4268136 by Matt.Kuhlenschmidt Fix outline colors not updating when changing on the fly #jira UE-42116 Change 4269184 by Chris.Gagnon Fix for possible nullptr dereference. #jira none Change 4269902 by Brandon.Schaefer Slate dialog modal window was not settings its parent window #jira UE-62608 Change 4272083 by Chris.Gagnon Fix for case where the the property noded arn't rebuilt in time and custom property ui can be using stale data. #jira UE-62499 Change 4272869 by Michael.Trepka Make sure ShooterGame sets correct input modes/mouse capture in menus and in game to avoid problems with keyboard not working in menus after alt-tab #jira UE-61017 Change 4275155 by Michael.Dupuis #jira UE-62526: Update lightmap/shadow UV mapping after lighting build on HISMC. ISM will get also updated due to the Edit() that will reapply the values on CreateSceneProxy Change 4275298 by Lauren.Ridge Fixed string parsing when looking at parent cvar values #jira UE-62301 Change 4275391 by Lauren.Ridge Fix for resolutions increasing when swapping landscape/portrait Change 4275606 by Lauren.Ridge Moving all asset container access to PostActorCreated to avoid VR editor assets in cooks #jira UE-57797 Change 4275807 by Lauren.Ridge Duplicating color themes now dupllicates the color labels as well #jira UE-60697 Change 4275989 by Lauren.Ridge When selecting a node while the details panel is behind a different panel in the same dock tab, the details panel is brought forward #jira UETOOL-1325 Change 4276146 by Lauren.Ridge Fix for new texture sample nodes not taking the selected texture from the content browser as the starting value. #jira UETOOL-1322 Change 4276412 by Lauren.Ridge Assets that can be dragged into the material graph now indicate that with a checkmark #jira UE-56024 Change 4279549 by Lauren.Ridge Fixed recursion of calls through SetDesignerFlags to avoid double-recursion with many nested panels #jira none Change 4279894 by Lauren.Ridge Adding check for RootWidget existing Change 4279969 by Michael.Trepka Updated FDesktopPlatformMac::FileDialogShared() to handle a case where no extensions were specified in FileTypes string #jira UE-62421 Change 4280317 by Lauren.Ridge Adding if WITH_EDITOR Change 4280716 by Chris.Gagnon PR #4979: UE-62795: Deprecate bAutoWrapText in TextBlock (Contributed by projectgheist) Slightly modified, the base syncronize sets the autowrap value. Change 4280847 by Lauren.Ridge Single property setting changes will now also call OnModified delegate for their section #jira UE-58276 Change 4280850 by Chris.Gagnon Added early out and log if focus is attempted to be set when the window is suppost to be be disabled due to a modal window being up. #jira UE-62742 Change 4280931 by Brandon.Schaefer Linux: Use MallocCrash when hitting out of memory issues in BinnedAllocFromOS #jira FORT-108267 Change 4281460 by Lauren.Ridge Clearing focus on a variable once it is committed. Fixes assert on undo #jira UE-61872 Change 4283706 by tim.gautier QAGame: Adding HISM test map / assets Change 4283980 by Michael.Trepka Unshelved from pending changelist '4238012': Xcode project generator improvements - Per-project precompiled header that wraps UnrealEd.h with #ifdef __cplusplus to allow Xcode to compile the pch in ObjC mode. Later we could replace UnrealEd.h with some other header file for non-editor targets - Moved commands that disable compile warnings from MacToolChain's GetCompileArguments_Global to ApplePlatformCompilerPreSetup.h. Thanks to this we can have all the Xcode recommended warnings enabled in the project, but still allow Clang to index our code without reporting warnings - Few more minor changes to fix Xcode's project validation and indexing warnings Also, unify compile warning flags across all Apple platforms. #jira UE-47965, UE-44327 Change 4284062 by Michael.Trepka Copy of CL 4222794 from 4.20 Fixed a crash at exit in Mac editor caused by an attempt to use MetalProfiler after deleting it #jira none Change 4284266 by Brandon.Schaefer Linux: Fix deadlock in a file cache which could be locked in a crash handler #jira UE-62808 Change 4284469 by Lauren.Ridge Fix for material parameter node crashing Change 4284541 by Lauren.Ridge Blueprints inheriting from UWidget will now show up in the palette view even if they are not loaded. #jira UE-59164 Change 4284542 by Michael.Trepka Copy of CL 4222797 Fixed a problem with FMacPlatformMisc::NormalizePath allocating an autorelease pool during crash handling, which resulted in the OS killing the process before we spawn CrashReportClient. Now this function is identical to Linux version. #jira UE-61779 Change 4285288 by Cody.Albert Fixed crash when changing "Show Coalesced" setting in profiler Change 4285483 by Chris.Gagnon PR #4936: Duplicate widget functionality for UMG editor (Contributed by projectgheist) Fixed up some variable names. #jira UE-62528 Change 4287219 by Brandon.Schaefer dump_syms: Replace inline file/line with their callsite over the inline location Fix <name omitted> appearing as the names for the function Disable CFI generation for Windows (Linux theres a command line). Speeds up symbol generation #jira FORT-670 Change 4287247 by Brandon.Schaefer BreakpadSymbolEncoder: If the file doesnt have a newline at EOF handle that as a seperate case #jira none Change 4287259 by Brandon.Schaefer dump_syms: Build on centos7 #jira none Change 4287269 by Brandon.Schaefer Linux: Disable generating CFI info when running dump_syms #jira none Change 4287326 by Brandon.Schaefer dump_syms: Update to disabling the CFI generation version #jira none Change 4287902 by Brandon.Schaefer TestPAL: Add cases for testing inline callstacks #jira UEENGQA-21414 Change 4288365 by Lauren.Ridge PR #4422: Set default material parameter name (Contributed by projectgheist) Change 4292002 by Brandon.Schaefer Linux: If our default settings are empty help fill in the proper name #jira UE-62910 Change 4292496 by Lauren.Ridge Now all renamable nodes do name verification also Change 4292532 by Lauren.Ridge PR #4989: Add icons to folder context menu favorites (Contributed by projectgheist) Change 4293043 by tim.gautier QAGame: Added a panner to ML_Albedo Change 4295326 by Richard.TalbotWatkin - Updated MeshDescription attribute calls to fix deprecation warnings. - Removed TMeshAttributeArraySet::AddArray because the functionality was already available as part of SetNumIndices. - Renamed TMeshAttributeArraySet::InsertArray, RemoveArray to InsertIndex, RemoveIndex for naming convention consistency (these methods deal with attribute indices, not with arrays). Added support for them in other attribute classes, and made them virtual so they can be called as part of an AttributesView. - Removed redundant code in FUSDStaticMeshImportState::AddPolygons, when determining the number of UVs in the mesh description. Change 4295795 by Richard.TalbotWatkin Corrected MAX_MESH_TEXTURE_COORDS_MD references. Change 4297308 by Cody.Albert Fixed bug with InputPreProcessorsHelper::Add not correctly adding input processors Change 4297799 by Brandon.Schaefer Linux: Dont assume DISPlAY=:0 #jira UE-63050 Change 4298150 by Brandon.Schaefer dump_syms: This is rebuilding dump_sym changes from CL 4287219 for Mac Replace inline file/line with their callsite over the inline location Fix <name omitted> appearing as the names for the function Disable CFI generation for Windows (Linux theres a command line). Speeds up symbol generation Source code changes for dump_syms was changed at CL 4287219 #jira none Change 4298369 by Brandon.Schaefer dump_syms: Rebuild for Linux/Windows to fix a possible crash when missing debug_ranges in the debug section Source changed in CL 4298150 #jira none Change 4301952 by Lauren.Ridge Fixing input labels on material function inputs #jira UE-63077 Change 4302388 by Brandon.Schaefer Linux: If we have a 0 LineNumber lets try to use to the previous Record. Still an issue with non-virtual thunks reporting line number zero but it seems even windows skips these frames. GDB reports a different callsite that doesnt seem super related (possibly?) Nothing to do with thunking though. #jira UE-62930 Change 4304835 by Alexis.Matte Add imported framerate info to anime sequence #jira UE-51302 Change 4307480 by Brandon.Schaefer SDL2: Update to newer version hg-12121:4358e537000a Fixed github PR #4844 as well (thanks tomix1024) #jira UE-62783 UE-61369 Change 4307481 by Brandon.Schaefer SDL2: Rebuild with the newer version hg-12121:4358e537000a Fixed github PR #4844 as well (thanks tomix1024) #jira UE-62783 UE-61369 Change 4308264 by Brandon.Schaefer Linux: Make both DLLIMPORT the same value #jira UE-61174 Change 4308640 by Matt.Kuhlenschmidt Added a "report bug" menu entry to the help menu #jira UE-63182 Change 4309508 by Brandon.Schaefer nvTextureTools: Rebuild on Linux using our libc++ and not libstdc++ Move to the proper runtime depend location #jira UE-54892 UE-61705 Change 4309554 by Brandon.Schaefer SDL2: Add last missing folder #jira none Change 4309955 by Chris.Gagnon PR #5017: UE-63105: Modify SGraphActionMenu::OnKeyDown to use a different branc. (Contributed by projectgheist) Change 4311008 by Brandon.Schaefer nvTextureTools: Actually remove libstdc++ from Linux build #jira UE-54892 Change 4312195 by Alexis.Matte - Fix the set range feature to always use the file sample rate so the range match what the user see in the DCC - Also add some fbx file information to the import dialog #jira UE-62504 Change 4315347 by Brandon.Schaefer Linux: Disable XGE builds as it appears to be lower casing folders when the build platform is Windows #jira UE-63296 Change 4318704 by Lauren.Ridge Fix for crash on opening map built data #jira UE-63301 Change 4319999 by Lauren.Ridge Fix for crash in vr mode #jira UE-63376 Change 4320144 by Chris.Gagnon Fix for smoke content that set the hovered size different to the normal size on the UMG slider handle. #jira UE-63367 Change 4327887 by Michael.Trepka Disable nonportable-include-path warning in iOS toolchain to allow incorrect case in paths to headers passed using -include #jira UE-63408 Change 4217622 by Brandon.Schaefer Linux: Pass a command line argument to crash reporter to show or skip a user agreement popup #jira none Change 4312048 by Brandon.Schaefer Linux: Dont disable ICU by default on Servers #jira UE-59113 Change 4320173 by Chris.Gagnon Fix for startup movie streamer on xbox not finishing. #ROBOMERGE-OWNER: jason.bestimt #ROBOMERGE-SOURCE: CL 4329255 in //UE4/Main/... #ROBOMERGE-BOT: DEVVR (Main -> Dev-VR) [CL 4329265 by chris gagnon in Dev-VR branch]
2018-08-29 18:37:17 -04:00
Out.push_back(RawBytes.substr(Current, NewLineEnd - Current));
Current = NewLineEnd + NewLineSize;
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor @ 4048875) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3808185 by Cody.Albert Added missing calls to FEditorViewportClient::AddReferencedObjects in overrides Change 3809824 by Michael.Trepka Improved the way we generate groups in Xcode project's source code navigator. They are now sorted alphabetically and have correct paths so Xcode no longer displays them in red. Also, added __INTELLISENSE__ to preprocessor definitions for indexing to improve indexing without game header files generated. Change 3810089 by Jamie.Dale Fixed PO files failing to import translations containing only whitespace Change 3811281 by Matt.Kuhlenschmidt PR #4331: Toggle SIE shortcut only in PIE (Contributed by projectgheist) Change 3813031 by Matt.Kuhlenschmidt Fix undocked tabs not dropping at users mouse location #jira UE-53427 Change 3813361 by Brandon.Schaefer Print what SDL video driver we are using Change 3818430 by Matt.Kuhlenschmidt PR #4365: Incorrect font name and forgotten undef (Contributed by projectgheist) Change 3818432 by Matt.Kuhlenschmidt PR #4366: Asset Color Strip updates correct on drag and drop (Contributed by projectgheist) Change 3818436 by Matt.Kuhlenschmidt PR #4367: Improved logging (Contributed by projectgheist) Change 3819886 by Matt.Kuhlenschmidt Add a way to optionally disable the warning about referenced actors being moved to other levels. Useful for bulk actor moves via script Change 3819888 by Matt.Kuhlenschmidt Avoid crashing when a window size becomes too large to render. Instead just ensure and clamp to the maximum allowed size. Avoids crashes where the screen dimensions are saved with super large numbers for unknown reasons Change 3821773 by Brandon.Schaefer Fix crash when importing to level #jira UE-31573 Change 3821892 by Jamie.Dale Improved the localized asset cooking so that it only cooks L10N variants if their source asset is cooked #jira UE-53010 Change 3823714 by Christina.TempelaarL #jira UE-52179 added support for grayscale PSD files Change 3826805 by Christina.TempelaarL #jira UE-49636 SceneCaptureComponent2D hidden actor and show only actors disabled in blueprints #jira UE-53445 SceneCaptureComponent2D hidden actors always disabled in details layout Change 3828444 by Anthony.Bills Add LXC container script for building third party libraries. The intention is that this should become the only way to rebuild the third party libraries that require system dependencies not included in the cross-compile toolchain and also to rebuild the toolchains. Other third party libraries without any system dependencies could be rebuilt via the cross-compile toolchains/UBT. This script has been tested running on CentOS 7 and Ubuntu 17.10. Buy default the x86 and x86_64 builds will be built against a CentOS 6 container (and targeting glibc 1.12) and the aarch64 and armhf builds will use an Ubuntu Ubuntu Trusty (14.04) but this is not yet complete. Change 3828754 by Brandon.Schaefer Linux: Fix gamepad thumbstick clicks not registering (github #4209 thanks J??rn M??ller) #jira UE-45722 #review-3828733 Arciel.Rekman Change 3830414 by Brandon.Schaefer Remove circular referencing to a parent window. Move to use AddSP vs AddRaw as well to be safe manually remove ourselves from the selection event delegate list due to Linux pending deletion of windows. Looks like this should fix UE-28322 as well which I've removed the work around placed in for that. #jira UE-53918 #review @michael.trepka, @matt.kuhlenschmidt, @arciel.rekman Change 3830916 by Brandon.Schaefer More verbose message about missing VK extensions (from Marcin Undak) #review-3830710 marcin.undak, arciel.rekman Change 3831339 by Brandon.Schaefer Default to as-needed for debug mode #jira none #review-3830658 Arciel.Rekman Change 3833102 by Jamie.Dale Re-added warning for duplicate package localization IDs when gathering asset localization Change 3834600 by Jamie.Dale Optimized asset registry filter intersection Change 3838024 by Brandon.Schaefer Remove tracking of CLion/CMake build files (from github #4346 thanks reapazor!) #jira UE-53551 #review-3835803 arciel.rekman Change 3839969 by Michael.Dupuis #jira UE-52289: When OnRegister is called on the component make sure our PerInstanceRenderData is up to date Prevent a possible crash if ClearInstanceSelection was called on a component with no PerInstanceRenderData existing Change 3840049 by Michael.Dupuis #jira UE-52975: Was always performing the equivalent of an Add, so now we use the Transform during the duplicate Change 3840071 by Matt.Kuhlenschmidt - Combine some shader params for slate in order to reduce overhead setting uniform buffers - Added better stats for slate draw call rendering - cleaned up huge lambda in Slate rendering main function so we can read the main slate rendering function again Change 3840291 by Michael.Dupuis #jira UE-53053: Was having a mismatch between the remove reorder and the actual remove Change 3840840 by Michael.Dupuis #jira UE-53944: Make sure the LOD generated is in the valid range to prevent the crash Change 3842072 by Michael.Dupuis #jira UE-50299: Include NumSubsection in calculation of component quad factor Change 3842487 by Christina.TempelaarL #jira UE-50573 HighResShot has wrong res in immersive mode Change 3845702 by Matt.Kuhlenschmidt PR #4381: DefaultASTCQualityBySpeed too high max value. (Contributed by kallehamalainen) Change 3845706 by Matt.Kuhlenschmidt PR #4388: Only restore window if minimized (Contributed by projectgheist) Change 3845993 by Christina.TempelaarL #jira UE-41558 crash when selecting PostProcessingVolumes in separate levels Change 3856395 by Brandon.Schaefer No longer using ALAudio on Linux #jira UE-53717 Change 3858324 by Michael.Trepka Preserve command line arguments in Xcode project when regenerating it Change 3858365 by Michael.Dupuis #jira UE-52049: There was a case where adding and removing multiple time would lead to reordering the instances and this would cause the regeneration of the random stream for all the reorded instances. Change 3858492 by Michael.Trepka Updated dependencies for Mac dSYM files so that only cross-referenced modules have their dSYMs recreated on subsequent builds instead of all modules. Change 3859470 by Michael.Trepka CIS fix. Make sure a scheme file exists before trying to read it when generating Xcode project. Change 3859900 by Joe.Conley Fix for "Check Out Assets" window not properly receiving focus. Change 3865218 by Michael.Dupuis #jira UE-45784: Exposed the possibility to edit LDMaxDrawDistance Change 3866957 by Michael.Dupuis #jira UE-42509: Added BodyInstance to ULandscapeSplineSegment and ULandscapeSplineControlPoint Deprecated bEnabledCollision and migrate data as it's replaced by BodyInstance Change 3867220 by Cody.Albert Fixed Project Launcher scrollbar to properly stay anchored at the bottom of the scroll area. Change 3869117 by Michael.Dupuis #jira UE-42509:Fixed compile error when not having editor data Change 3872478 by Arciel.Rekman Linux: disable PIE if compiler enables it by default. Change 3874786 by Michael.Dupuis #jira UE-46925: Remove the guessing functionality when importing a heightmap, and instead propose to the user valid size that can be used for the import through a combo button. Improved usability of the UI by disabling size field when no file was specified Change 3875859 by Jamie.Dale Implemented our own canonization for culture codes Change 3877604 by Cody.Albert We now validate actor names passed to SetActorLabel to ensure None isn't passed in, which can corrupt levels Change 3877777 by Nick.Shin PhysX build fix - this came from CL: 3809757 #jira UE-54924 Cannot rebuild Apex/PhysX/NvCloth .emscripten missing Change 3881693 by Alexis.Matte Fix local path search to not search in memory only #jira UE-55018 Change 3882512 by Michael.Dupuis #jira none : Fixed screen size calculation to take aspect ratio into account correctly Change 3886926 by Arciel.Rekman Linux: fixed checking clang settings during the cross-build (UE-55132). #jira UE-55132 Change 3887080 by Anthony.Bills Updated SDL2 build script. - Now allows compiling inside a CentOS 6 or Ubuntu 12.04 container with wayland support when using the ContainerBuildThirdParty.sh. - Added multiple build arch support to the BuildThirdParty script and pass this down to the SDL2 build script. Change 3887260 by Arciel.Rekman Linux: fix leaking process handles in the cross-toolchain. Change 3889072 by Brandon.Schaefer Fix RPath workaround, to better handle both cases #jira UE-55150 #review-3888119 @Arciel.Rekman, @Ben.Marsh Change 3892546 by Alexis.Matte Remove fbx exporter welded vertices options #jira UE-51575 Change 3893516 by Michael.Dupuis Remove static mesh instancing async buffer filling, as with all the changes made, it's no longer necessary, the cost of loading very large buffer is negligable Rebuild the occlusion tree when using foliage.DensityScale with something other than 1.0 Change 3894365 by Brandon.Schaefer Pass FileReference over a raw string to the LinkEnvironment #jira none #review-3894241 @Ben.Marsh, @Arciel.Rekman Change 3895251 by Brandon.Schaefer Use X11 pointer barriers to bound the cursor to a region over warping the pointers. Patch from Cengiz #jira UE-25615 #jira UE-30714 #review-3894886 @Arciel.Rekman Change 3897541 by Michael.Dupuis #jira UE-53787: Added guard if for some reason the material is null we should not try to draw using this material Change 3904143 by Rex.Hill #jira UE-55366: Fix crash when overwriting existing level during level save as #jira UE-42426: Map '_BuiltData' can now be deleted when selected at same time as map - Map '_BuiltData' package is now garbage collected when switching maps in the editor Change 3906373 by Brandon.Schaefer Fix splash image. Use alias format for big/little endian machines. #jira none Change 3906711 by Rex.Hill #jira UE-42426: BuiltData now deleted with maps Change 3907221 by Cody.Albert Add support for relative asset source paths in content plugins Change 3911670 by Alexis.Matte Fix assetimportdata creation owner #jira UE-55567 Change 3912382 by Anthony.Bills Linux: Add binaries for GoogleTest and add to BuildThirdParty script. Change 3914634 by Cody.Albert Added missing include that could cause compile errors if IWYU was disabled. Change 3916227 by Cody.Albert Fixing some cases where we check #ifdef WITH_EDITOR instead of #if WITH_EDITOR Change 3917245 by Michael.Dupuis #jira UE-35097: Fixed crash when creating a new landscape with 2x2 subsection and material containing grass spawning Change 3918331 by Anthony.Bills Linux: Bundled Mono - Explicilty pick libc.so.6 as libc.so is a linker script and store the config file directly. Change 3920191 by Rex.Hill #jira UE-44197 Fix saving sub-level level causing MapBuildData to be deleted Improved MapBuildData rename, move, duplicate, copy Change 3920333 by Matt.Kuhlenschmidt Render target clear color property now settable in editor #jira UE-55347 Change 3926094 by Michael.Dupuis #jira UE-51502: Added some min/max values to foliage and grass settings to prevent overflow/crash #coderevew jack.porter Change 3926243 by Michael.Dupuis #jira UE-54669: cleaned up invalid/duplicate shader and moved some shaders to appropriate list Change 3926760 by Jamie.Dale Added support for TTC/OTC fonts These can be used via a sub-face index on FFontData, which can be set via a new combo in the font editor. You can also see the cached list of sub-faces within a font file from the UFontFace asset. Change 3927793 by Anthony.Bills Mono: Remove SharpZipLib and references from bundled Mono. #review-3887212 @ben.marsh, @michael.trepka Change 3928029 by Anthony.Bills Linux: Add support for UnrealVersionSelector. - Supports using UVS to launch without a project file. This will then launch the selected engine's project wizard. - Linux UVS uses Slate for the version selection and error log dialogs. - Mime-types and desktop file support added to DesktopPlatformLinux to allow associating with UVS as per the Windows binary and git builds. - Icons added for Linux. #review-3882197 @arciel.rekman, @brandon.schaefer Change 3931293 by Alexis.Matte Add generic Levenshtein edit distance to core algo. This algorithm will help suggesting name matching when users have to resolve material name conflict when re-import fbx meshes. Add also plenty of automation tests for it. #jira none Change 3931436 by Arciel.Rekman Stop RHI thread before shutting down RHI. - Prevents crashes for some drivers that create TLS objects with destructors; those destructors will get called after the thread exited, but the library will already be unloaded on RHI shutdown. Change 3934287 by Alexis.Matte Fix crash when re-importing skeletal mesh. Skinned component render data resource is now release when re-importing. #jira none Change 3937585 by Lauren.Ridge Added labels to the colors stored in the theme bar. Change 3937738 by Alexis.Matte Make sure content browser do not show a preview asset created when we cancel an export animation preview #jira UE-49743 Change 3941345 by Michael.Dupuis #jira UE-26959: Prevent reusing multiple type the same grass type into the same material grass output node Change 3941453 by Michael.Dupuis #jira UE-47492: Added a guard to validate LayerIndex Change 3942065 by Jamie.Dale Fixed crash trying to use FSlateApplication when it wasn't available (eg, in a commandlet) Change 3942573 by Alexis.Matte Fix static analysis Change 3942623 by Michael.Dupuis #jira 0 Cast to ulong as TaskIndex * NumStripes could exceed an int limit and add an assert if the wraparound is negative Change 3942993 by Matt.Kuhlenschmidt PR #4547: Verify the return value of FT_New_Memory_Face (Contributed by jorgenpt) Change 3942998 by Matt.Kuhlenschmidt PR #4554: Cleanup log printing (Contributed by projectgheist) Change 3943003 by Matt.Kuhlenschmidt PR #4534: Prevent Fatal log when alt tabbing during a level save (Contributed by projectgheist) Change 3943011 by Matt.Kuhlenschmidt PR #4518: edit (Contributed by pdlogingithub) Change 3943027 by Matt.Kuhlenschmidt PR #4524: Notifications always render on the screen with the main viewport (Contributed by projectgheist) Change 3943074 by Matt.Kuhlenschmidt PR #4484: Add group actor to folder (Contributed by ggsharkmob) Change 3943079 by Matt.Kuhlenschmidt PR #4431: Git Plugin: replace usage of the 2 cli args "--work-tree" and "--git-dir" by "-C" (Contributed by SRombauts) Change 3943092 by Matt.Kuhlenschmidt PR #4434: Git plugin: configure the default remote URL 'origin' (Contributed by SRombauts) Change 3943132 by Matt.Kuhlenschmidt PR #4247: Add File picker to Git Path setting on GitSourceControl (Contributed by shiena) Change 3943141 by Matt.Kuhlenschmidt PR #4303: Fix ULevelExporterT3D so that it works in a commandlet (Contributed by DSDambuster) Change 3943349 by Jamie.Dale Cleaned up PR #4547 Made the assert non-fatal to avoid it being able to take down the editor if you load up a bad font. Fixed some code that was deleted during the merge. Change 3943976 by Michael.Trepka Copy of CL 3940687 Fixed long link times when building for Mac in Debug by passing -no_deduplicate flag to the linker, which is what Xcode does in Debug configs. #jira none Change 3944882 by Matt.Kuhlenschmidt Fix a few regressions with scene viewport activation locking can capturing the cursor in editor #jira UE-56080, UE-56081 Change 3947339 by Michael.Dupuis #jira UE-55664: Fixed undo/redo buffer handling so we remove from the beginning of the buffer during undo buffer where buffer is at max memory and from the end during redo operation. Fixed cancel also to re add removed transaction at the end or the start depending if we're doing a redo or undo operation Fixed the Undo History UI to listen to an event when the undo buffer changed instead of checking every frame, as when the buffer was full, no changes would occur, thus no UI update. Change 3948179 by Jamie.Dale Fixed monochromatic font rendering - All non-8bpp images are now converted to 8bpp images for processing in Slate. - We convert the gray color of any images not using 256 grays (eg, monochromatic images that use 2 grays). - Fixed a case where the temporary bitmap wasn't being deleted. - Fixed a case where the bitmap could be used after it was deleted. - Added a CVar (Slate.EnableFontAntiAliasing) to control whether you want anti-aliased (256 grayscale) rendering (default), or monochromatic (2 grayscale) rendering. Change 3949922 by Alexis.Matte Ensure fbx node name are not empty when loading a fbx file. I use the same naming convention as Maya #jira UE-56079 Change 3950202 by Rex.Hill Fix crash during editor asset automation tests. Now skips showing modal progress window when opening asset editor window. ActiveTopLevelWindow is not set when modal windows are open. #jira UE-56112 Change 3950484 by Michael.Dupuis #jira UE-52176: delete the Cluster tree when the builder is no longer needed Change 3954628 by Michael.Dupuis Bring back 4.19/4.19.1 Landscape changes Change 3957037 by Michael.Dupuis #jira UE-53343: Add foliage instances back when changing component size Changed the formulation for the Clip/Expand behavior to make it more explicit on what will happen Added SlowTask stuff to manage big landscape change Change 3959020 by Rex.Hill Rename/move file MallocLeakDetection.h Change 3960325 by Michael.Dupuis Fixed static analysis Change 3961416 by Michael.Dupuis #jira UE-46100: Exposed UseDynamicInstanceBuffer on Foliage type, so user can decide if they want to update them dynamically #jira UE-55092: Fixed the warning to appear when having resource array as empty but VB as set up Added data conssitency that when using Dynamic buffer, Keep CPU Access should also be true, even if implicitly it's already the case, now it's explicit Change 3962372 by Michael.Trepka Copy of CL 3884121 Fix for SProgressBar rendering incorreclty on Mac #jira UE-56241 Change 3964931 by Anthony.Bills Linux: Add cross-compiled binary of UVS Shipping. Change 3966719 by Matt.Kuhlenschmidt Fix parameters out of order here #jira UE-56399 Change 3966724 by Matt.Kuhlenschmidt PR #4585: Export symbols for the FDragTool (Contributed by Begounet) Change 3966734 by Matt.Kuhlenschmidt PR #4596: fix the slider issue of the HighResolutionScreenshot window (Contributed by mamoniem) Change 3966739 by Matt.Kuhlenschmidt Removed duplicated code #jira UE-56369 Change 3966744 by Matt.Kuhlenschmidt PR #4602: Fixes check for existing extensions when generating "All Extensions". (Contributed by PhilBax) Change 3966758 by Matt.Kuhlenschmidt PR #4604: Fixed an issue where the Modules and DebugTools tabs would be unrecognized after startup if docked in the level editor (Contributed by tstaples) Change 3966780 by Matt.Kuhlenschmidt Fix crash accessing graph node title widgets when objects have become stale. #jira UE-56442 Change 3966884 by Alexis.Matte Fix speedtree uninitialized values #jira none Change 3967568 by Alexis.Matte Do not override the screensize when importing a skeletal mesh, let the value set by the AddLodInfo function #jira UE-56493 Change 3968333 by Brandon.Schaefer Fix order of operation #jira UE-56400 Change 3969070 by Anthony.Bills Linux: Make sure to set the UE_ENGINE_DIRECTORY #jira UE-56503 #review-3966609 @arciel.rekman, @brandon.schaefer Change 3971431 by Michael.Dupuis #jira UE-56515: Fixed an issue where ForcedLOD > MaxLOD and make sure that LastLOD will at least contain current streamed in LOD. #jira UE-56517: When using ParallelInitView 1 there was a memory leak related to a reallocate that happen with the TArray of FMemstack Pass correctly LODDistanceFactor instead of View.LODScale as we do not want StaticMeshScale to affect us. Change 3971467 by Matt.Kuhlenschmidt Fixed crash deleting a texture with texture painting on it #jira UE-56994 Change 3971557 by Matt.Kuhlenschmidt Fix temporary exporter objects being potentially GC'd and causing crashes during export #jira UE-56981 Change 3971713 by Cody.Albert PR #4597: [FPS Template] Small null pointer check fix and cleanup (Contributed by TheCodez) Change 3971846 by Michael.Dupuis #jira UE-56517: Properly "round" the count so we have the right amount of memory reserved #jira UE-56515: Still had a edge case left, so when using forced lod i simply make sure the value is in valid range, and allocate all the required data for this range Change 3973035 by Nick.Atamas Line and Spline rendering changes: * Lines/Splines now use 1 UV channel to anti-alias (this channel can be used for texturing) * Anti-aliasing filter now adjusted based on resolution * Modified Line/Spline topology to accomodate new UV requirements * Disabled vertex snapping for anti-aliased lines/splines; previously vertexes were snapped, but vertex positions did not affect line rendering (behavior effectively unchanged) * Splines now adaptively subdivided to avoid certain edge-cases Change 3973345 by Nick.Atamas - Number tweaks to maintain previously perceived wire thickness in various editors. Change 3977764 by Rex.Hill MallocTBB no longer debug fills bytes in development configuration Change 3978713 by Arciel.Rekman UVS: Fix stale dependency. Change 3980520 by Matt.Kuhlenschmidt Fix typo #jira UE-57059 Change 3980557 by Matt.Kuhlenschmidt Fixed negative pie window sizes causing crashes #jira UE-57100 Change 3980565 by Matt.Kuhlenschmidt PR #4628: Fixed revert action, now correctly uses CanRevert() condition (Contributed by Kryofenix) Change 3980568 by Matt.Kuhlenschmidt PR #4626: UE-57111: Handle CaptureRegion for HighResShot in PIE (Contributed by projectgheist) Change 3980580 by Matt.Kuhlenschmidt PR #4567: [Editor UI] Pick Parent Class dialog: set keyboard focus and handle Escape & Enter (Contributed by SRombauts) Change 3980581 by Matt.Kuhlenschmidt PR #4565: [Editor UI] Add C++ Class dialog: set keyboard focus and handle Escape & Enter (Contributed by SRombauts) Change 3981341 by Jamie.Dale Re-added GIsEditor condition around package namespace access #jira UE-55816 Change 3981808 by Ryan.Brucks Added LandscapeProxy functions to push RenderTarget data to Heightmaps and Weightmaps Change 3983344 by Jack.Porter #include fixes for CL 3981808 #jira 0 Change 3983391 by Jack.Porter One for #include fix for CL 3981808 #jira 0 Change 3983562 by Michael.Dupuis #jira UE-53787: Make sure the material array is valid before trying to generate static mesh batch element #jira UE-56451: Instead of asserting, simply skip this element as it had invalid custom data anyway, so we can't render it Change 3983600 by Matt.Kuhlenschmidt PR #4289: Pragma Once/Include guard cleanup (Contributed by projectgheist) Change 3983637 by Matt.Kuhlenschmidt PR #4408: Add a template pregeneration hook (Contributed by mhutch) Change 3984392 by Michael.Dupuis #jira UE-56314: Correctly apply LODBias on calculated LOD Fixed some Landscape popping that could occur when we were forcing a LOD that didn't match the component screen size Change 3984950 by Rex.Hill Optimized texture import speed 2-3x depending on number of cpu cores and image size Change 3985033 by Rex.Hill File drag and drop is more quick to respond when editor is in background #jira UE-57192 Change 3986218 by Jack.Porter Missing template parameter fix for CL 3981808 #jira 0 Change 3986376 by Michael.Dupuis #jira UE-56453: Do not use the CreateDynamicMaterialInstance as it will change the parenting of the actor used material, instead simply use the function to generate the MID and parent it correctly. Change 3989391 by Matt.Kuhlenschmidt Fix constant FName lookup in level editor when checking various states of level editor tabs Change 3990182 by Rex.Hill Optimize editor startup time: GetCurrentProjectModules Change 3990365 by Alexis.Matte Fix crash with spline mesh when the attach SM get a new imported LOD #jira UE-57119 Change 3991151 by Rex.Hill VR Editor module now waits to load images until VR mode activated in editor. Saves 0.4 seconds of editor startup time. Change 3991164 by Rex.Hill Optimize editor startup time: FindModulePaths() - Invalidates cache when search paths added - Use cache during wildcard searches containing * and ? Change 3995366 by Anthony.Bills Update BuildCrossToolchain script to allow a Linux host targeting multiple Linux architectures (including the hosts arch). Added a patch to support a gcc 4.8.5 based toolchain on windows (potentially useful for users crosscompiling using GCC and libstdc++ and targeting CentOS 7). #review-3848487 @arciel.rekman, @brandon.schaefer Change 3996109 by Jamie.Dale Reworked BP error messages to be more localization friendly #jira UETOOL-1356 Change 3996123 by Michael.Dupuis #jira UE-57427: Update random color on load of the component #jira UE-56272: Change 3996279 by Merritt.Cely Removed hardware survey from editor #jira an-2243 #tests launched the editor Change 3996626 by Alexis.Matte Fix crash when SkeletalMesh tangent buffer is empty after the build and we serialize the tangent array. #jira UE-57227 Change 3996663 by Max.Chen Sequencer: Fix fbx animation export - rotation and scale channels were flipped. #jira UE-57509 #jira UE-57512 #jira UE-57514 Change 4000331 by Brandon.Schaefer Add a GFNameTableForDebuggerVisualizers_MT back only for Unix under the Core module #review-3999426 @Arciel.Rekman #jira UE-55298 Change 4000450 by Matt.Kuhlenschmidt Another guard against a factory being destroyed during import #jira UE-57674 Change 4000459 by Matt.Kuhlenschmidt Added check for valid game viewport to see if this is the problem in UE-57677 #jira UE-57677 Change 4000493 by Matt.Kuhlenschmidt Remove stale GC'd components when refreshing paint mode to prevent crashes #jira UE-52618 Change 4000683 by Jamie.Dale Fixed target being incorrect when added via the Localization Dashboard #jira UE-57588 Change 4000738 by Alexis.Matte Add a section settings to ignore the section when reducing #jira UE-52580 Change 4000920 by Alexis.Matte PR #4219: Fix for SColorGradingPicker preventing PIE (Contributed by projectgheist) author projectgheist projectgheist@gmail.com Change 4001432 by Alexis.Matte Add a fbx re-import resolve material windows, user can now help resolving the material in case the importer fail to found a match. Change 4001447 by Jamie.Dale Fixed property table not working with multi-line editable text Change 4001449 by Jamie.Dale PR #4531: Localization multiline fix (Contributed by Lallapallooza) Change 4001557 by Alexis.Matte Fix a check in fbx scene importer, in case the user import a fbx LOD group with no geometry under it #jira UE-57676 Change 4002539 by Alexis.Matte Make the fbx importer global transform options persist in the config file #jira UE-50897 Change 4002562 by Anthony.Bills Linux: Enable UVS registering for git builds only and remove old Mono and pre-UVS script code. Change 4003241 by Alexis.Matte Fix the staticmesh import socket logic, it was duplicating socket when re-importing #jira UE-53635 Change 4003368 by Michael.Dupuis #jira UE-57276: #jira UE-56239: #jira UE-54547: Make sure we can't go above MaxLOD even for texture streaming Change 4003534 by Alexis.Matte Fix re-import mesh name match #jira UE-56485 Change 4005069 by Michael.Dupuis #jira UE-57594: Add a guard to prevent crash if we have an invalid resource for the heightmap texture (happen when component is deleted, for example) Change 4005468 by Lauren.Ridge Widgets should not be removed from parent when they are pending GC #jira UE-52260 Change 4006075 by Michael.Dupuis Fixed foliage density scaling to be applied even in editor, except in Foliage edit mode. Change 4006332 by Arciel.Rekman UBT: Adding support for bundled toolchains on Linux. - Authored by Anthony Bills, with modifications. Change 4007528 by Matt.Kuhlenschmidt PR #4665: Source control History Window: enlarge column Description (Contributed by SRombauts) Change 4007531 by Matt.Kuhlenschmidt PR #4656: UE-57200: Ignore reference to actor if same actor (Contributed by projectgheist) Change 4007548 by Matt.Kuhlenschmidt PR #4664: Set Password on EditableText (Contributed by projectgheist) Change 4007730 by Brandon.Schaefer Add a new way to symbolicate symbols for a crash at runtime Two new tools are used for this. 1) dump_syms Will generate a symbol file, which is to large to read from at runtime 2) BreakpadSymbolEncoder Takes the dump_syms file and encodes it in such a way we can do a binary search at runtime to find a Program Counter to a symbol we are looking for #review @Arciel.Rekman, @Anthony.Bills #jira UETOOL-1206 Change 4008429 by Lauren.Ridge Fixing undo bug when deleting user widgets from the widget tree #jira UE-56394 Change 4008581 by Cody.Albert Reinitialize needs to set the audio and caption tracks in addition to the video track or the currently selected track will be lost Change 4009605 by Lauren.Ridge Added Recently Opened assets filter under Other Filters in the Content Browser Change 4009797 by Anthony.Bills Linux: Update MultiArchRoot path to not cache. Move in tree toolchain location to match UBT convention and make sure the MultiArchRoot is checked before the system. Change 4010266 by Michael.Trepka Copy of CL 4010052 Moved some key event handling calls to the main thread on Mac to satisfy new macOS requirements #jira UE-54623 Change 4010838 by Arciel.Rekman Linux: limit allowed clang versions to 3.8-6.0. Change 4012160 by Matt.Kuhlenschmidt Changed the messagiing on the crash reporter dialog to reflect new bug submission process #jira UE-56475 Change 4013432 by Lauren.Ridge Fix for non-assets attempting to add to the Content Browser's recent filter #jira none Change 4016353 by Cody.Albert Improved copy/paste behavior for UMG editor: -Pasting in the designer while a canvas is selected will place the new widget under the cursor -Pasting multiple times while a canvas panel is selected in the hierarchy view will cascade the widgets starting at 0,0 -Pasting while something that isn't a panel is selected is now allowed, and will cascade the pasted widgets off the position of the selected widget (as siblings) -Newly pasted widgets will now be selected automatically -Pasting multiple widgets at once will try and maintain their relative positions if they're being pasted into a canvas panel Change 4017274 by Matt.Kuhlenschmidt Added some guards against invalid property handle access #jira UE-58026 Change 4017295 by Matt.Kuhlenschmidt Fix trying to apply delta to a mix of scene components and non scene components. Its acceptable to not have scene components in the selected component list #jira UE-57980 Change 4022021 by Rex.Hill Fix for audio desync and video fast-forwarding behavior. There long delay (500ms+) until samples start arriving unless we use RequestedTimeCurrent. After delay occurs samples begin arriving at accelerated speed until caught up to playback time leading to visual and audio problems. #jira UE-54592 Change 4023608 by Brandon.Schaefer Downscale memory if we dont have enough #jira UE-58073 #review-4023609 @Arciel.Rekman Change 4025618 by Michael.Dupuis #jira UE-58036: Apply world position offset correctly Change 4025661 by Michael.Dupuis #jira UE-57681: Added guard to prevent possible crash if either we have an invalid material or the material parent is invalid Change 4025675 by Michael.Dupuis #jira UE-52919: if no actor was found in the level skip moving the instances Change 4026336 by Brandon.Schaefer Manually generate *.sym files for Physx3 This should be done in the BuildPhysx file Change 4026627 by Rex.Hill Fix memory leak fix when playing video and main thread blocks #jira UE-57873 Change 4029635 by Yannick.Lange Fix VRMode loading assets only when VRMode starts. #jira UE-57797 Change 4030288 by Jamie.Dale Null FreeType face on load error to prevent potential crashes Change 4030782 by Rex.Hill Fix save BuildData after changing reflection capture in a new level #jira UE-57949 Change 4033560 by Michael.Dupuis #jira UE-57710: Added some guard to prevent crash/assert Change 4034244 by Michael.Trepka Copy of CL 4034116 Fixed arrow keys handling on Mac Change 4034708 by Lauren.Ridge PR #4699: UE-8508: Update config file to keep folder color in sync (Contributed by projectgheist) #jira UE-58251 Change 4034746 by Lauren.Ridge PR #4701: Add option to close tabs to the right of the active tab (Contributed by jesseyeh) #jira UE-58277 Change 4034873 by Lauren.Ridge Fix for not being able to enter simulate more than once in a row. #jira UE-58261 Change 4034922 by Lauren.Ridge PR #4387: Commands mapped in incorrect location (Contributed by projectgheist) #jira UE-53752 Change 4035484 by Lauren.Ridge Tentative fix for crash on pasting comment. All other accesses to UMaterialExpressionComment check its validity first #jira UE-57979 Change 4037111 by Brandon.Schaefer Try to use absolute path from dladdr if we can to find the sym files #jira UE-57858 #review-4013964 @Arciel.Rekman Change 4037366 by Brandon.Schaefer Dont check the command line before its inited #review-4037183 @Arciel.Rekman #jira UE-57947 Change 4037418 by Alexis.Matte Remove the checkSlow when adding polygon Change 4037745 by Brandon.Schaefer Use as much info as we can during ensure Just as fast as the old way but with more information #review-4037495 @Arciel.Rekman #jira UE-47770 Change 4037816 by Rex.Hill Import mesh optimization, BuildVertexBuffer Change 4037957 by Arciel.Rekman UBT: make it easier to try XGE on Linux. Change 4038401 by Lauren.Ridge Reordering is now correctly handled by undo. Reordering and then undoing will no longer cause a "ghost" widget to also be part of the tree. #jira UE-58206 Change 4039612 by Anthony.Bills Unix: Check for null StdOut and ReturnCode parameters, otherwise the code may dereference a null variable when the process fails to create. Change 4039754 by Alexis.Matte Remove the Render meshdescription, no need to carry this temporary data in the staticmesh Change 4039806 by Anthony.Bills Linux: UVS fixes - Update to use new Unix base platform. - Use bin/bash instead of usr/bin/bash (may need revisiting later). - Recompile Shipping version with changes. - Update Setup.sh to run from correct CWD (due to current limitations in the relative directory handling). Change 4039883 by Lauren.Ridge PR #4576: Save editor config to file first time a fav folder is added in the co. (Contributed by projectgheist) #jira UE-56249 Change 4040117 by Lauren.Ridge Replacing widgets should now also clear out references to the widget #jira UE-57045 Change 4040790 by Lauren.Ridge Tentative fix for Project Launcher crash when platform info not found #jira UE-58371 Change 4042136 by Arciel.Rekman UBT: refactor of LinuxToolChain to make it leaner and more configurable. - Made it possible to override SDK passed to the toolchain. - Simplified the code by using the same executable names on Windows and Linux (as .exe is optional), except where File.Exists() is needed (also remove a few) - Some minor renames to make it clear that SystemSDK means system compiler (which otherwise may be unclear) - Made changes to accomodate the new debug format. Change 4042930 by Brandon.Schaefer GCoreObjectArrayForDebugVisualizers was changed to FChunkedFixedUObjectArray reflect that in the Unix part Change 4043539 by Brandon.Schaefer Fix callsite address being used at times for the Program Counter Fix only reporting the actual callstack and not the crash handling callstacks #review-4041370 @Arciel.Rekman #jira UE-58477 Change 4043674 by Arciel.Rekman Added Linux ARM64 (AArch64) lib for MikkTSpace. - Now required for standalone games due to EditableMesh runtime plugin. Change 4043677 by Arciel.Rekman Linux: updated ARM64 (AArch64) version of SDL2. Change 4043690 by Arciel.Rekman Linux: allow compiling VulkanRHI for AArch64 (ARM64). Change 4045467 by Brandon.Schaefer Add Anthony Bills SetupToolchain.sh script Used to download the latest toolchain Change 4045940 by Michael.Trepka Return empty list instead of null from Mac GetDebugInfoExtensions() in UBT #jira UE-58470 Change 4046542 by Alexis.Matte Fix skeletal re-import material assignation #jira UE-58551 Change 4048262 by Brandon.Schaefer Rebuild SDL with pulse audio libs #jira UE-58577 Change 3887093 by Anthony.Bills Add bundled mono binary for Linux. - Unify some of the script structure across Mac and Linux. - This currently uses the same mono C# assemblies as Mac to keep the additional source size down. - If the Mac mono version is updated, the Linux version will also need to be updated to match the same mono git revision. - The system version of mono can still be used by setting the UE_USE_SYSTEM_MONO env var to 1. Change 4003226 by Michael.Dupuis Refactored StaticMeshInstancing to now use a command buffer to communicate with the GPU to prevent concurent access issues. It's mostly used in Editor or if runtime changes occur, otherwise the data is built and send to the GPU directly without keeping CPU copy. Changed how the density scaling was applied to be more optimal Removed UseDynamicInstanceBuffer as the concept is now irrelevant Change 3833097 by Jamie.Dale Localization Pipeline Optimization Manifest/Archives: Added FLocKey to keep an immutable string and its hash. This is used in several places within manifests and archives to minimize string hashing. FLocTextHelper also now take these in its API. This also fixes some places where manifests were being iterated by key rather than source string (as this was causing redundant work). Portable Object: Cleaned up a lot of redundant code, changed things to use FLocKey, and simplified a lot of string manipulation to use algorithms instead (which proved to be faster). Asset Gathering: Optimized the way garbage collection runs while gathering from assets so that we avoid purging assets that we still need to gather from (or are still active dependencies). This also sorts the assets so that we can try and evict dependencies from memory as soon as possible (in much the same way that the cooker does). Automation: The gather commandlet can now take multiple configs to process. This is used by automation to avoid starting the editor several times (which can save a significant amount of start-up overhead). [CL 4052378 by Lauren Ridge in Main branch]
2018-05-04 14:14:10 -04:00
}
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor [at] 4327887) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3813004 by Matt.Kuhlenschmidt Fix dpi scale being wrong when there is a mix of high dpi and low dpi monitors and the editor opens the window on the low dpi monitor Change 3946515 by Michael.Trepka Reverted CL 3813004. We need to save editor's root window size and position in DPI-independent units, as that's what the loading code expects. Change 4052825 by Brandon.Schaefer Add back -funwind-tables for arm This was removed an only tested on x86 which worked just fine. Arm reqiures this for backtrace #jira none Change 4055318 by Brandon.Schaefer Remove extra mallocs when crash handling Still need to look into gmalloc calls, such as using FStrings during Ensure/Crash handling [at]Arciel.Rekman #jira UE-58538 Change 4055623 by Brandon.Schaefer Replace std::endl with "\n" As std::endl is "\n" << std::flush. On windows dump_syms was taking 33 seconds to fflush with std::endl on a 1.2GB file. No longer with "\n". [at]Josh.Engebretson Change 4057102 by Jamie.Dale Added missing API export Change 4057384 by Rex.Hill Fix ReversePolygonFacing crash Change 4067426 by Matt.Kuhlenschmidt PR #4667: Source control history: remove empty spacing in the right of the detail panel (Contributed by SRombauts) Change 4067587 by Matt.Kuhlenschmidt PR #4311: PlacementModeTools shapes searchable and thumbnail (Contributed by projectgheist) Change 4068480 by Cody.Albert Fix display name for Display UI Extension Points Change 4070876 by Brandon.Schaefer Avoid printing when in a signal handler. Put that off until the end #jira UE-36663 [at]Arciel.Rekman, [at]Anthony.Bills Change 4071980 by Brandon.Schaefer Cache files that are invalid or the wrong case sensitivity #jira UE-58250 [at]Arciel.Rekman Change 4079967 by Matt.Kuhlenschmidt Added scale parameter to Canvas::DrawText #jira UE-59023 Change 4080228 by Alexis.Matte Fix the PerPlatformPropertiesWidget to be readable when there is many platform #jira UE-57556 Change 4081171 by Matt.Kuhlenschmidt PR #4272: Fix typo. (Contributed by Damianno19) Change 4081601 by Matt.Kuhlenschmidt GitHub 4077 : Hide SDetailView Filterbox when no actor selected Change 4090114 by Matt.Kuhlenschmidt Fixed touch events simulated through mouse not respecting high dpi #jira UE-59477 Change 4091999 by Matt.Kuhlenschmidt Fixed insert/delete/duplicate children calling PostEditChange on the existing child node not the array Change 4093187 by Arciel.Rekman Do not save window position if running with -nullrhi (UE-52498). - This also fixes a crash on exiting automation tests. #jira UE-52498 Change 4096404 by Richard.TalbotWatkin Resaved test assets to update to latest UStaticMesh serialization format. Change 4096445 by Richard.TalbotWatkin New serialization layout for UMeshDescription. - Only the bare minimum is serialized: any internal values which can be inferred from others in the Mesh Description are omitted. - Triangles are no longer serialized: a triangulation step is performed per polygon when serialized. - Attribute arrays of simple types are now serialized with BulkSerialize for speed; only FName requires element-by-element serialization. Change 4112843 by Brandon.Schaefer Rebuilt replacing std::endl with '\n' avoiding a std::flush *pre* write Was taking 30 seconds to std::flush on a 1.2 GB file #jira none Change 4113422 by Brandon.Schaefer If we are using the native bundled toolchain set LC_ALL=C to avoid locale issues #jira UE-59416 Change 4113849 by Cody.Albert Fix support for toolbar extensions in the UMG editor Change 4118758 by Richard.TalbotWatkin - Refactor to put UStaticMesh Mesh Descriptions in a separate object which is not loaded by default, but which can be requested when needed. This needs to be kept in sync with the number of SourceModel LODs. - Various refactors to import/building. - Changed UMeshDescription to FMeshDescription, and made its preferred semantics pass-by-reference rather than by pointer. - Deprecated UMeshDescription. Change 4119883 by Rex.Hill Cleanup blueprint callable categories Landscape Editor -> Landscape|Editor Landscape Runtime -> Landscape|Runtime Cloth -> Clothing Simulation Cinematics -> Cinematic Utility -> Utilities Change 4119898 by Rex.Hill Cleanup blueprint callable categories x|Magic Leap -> Magic Leap|x Apple ARKit * -> Apple ARKit|* Change 4119972 by Brandon.Schaefer Dont add colors if we are not outputing to a terminal #jira UE-58173 Change 4119994 by Brandon.Schaefer Only check once if we are outputing to a terminal #jira UE-58173 Change 4122654 by Alexis.Matte Fix re import assignment of sections #jira UE-59611 Change 4123536 by Alexis.Matte Add to the fbx importer the possibility to use different sample rate when importing an animation. #jira UE-59444 Change 4124702 by Brandon.Schaefer Fix duplicated struct/class from slightly different submit into main coming back into dev-editor #jira UE-60163 Change 4133449 by Mike.Erwin glTF importer work Foundations of work for Skeletal Mesh import; right now we just support Static Mesh. - node hierarchy - joint IDs & skinning weights - matrix & quaternion values #jira none Change 4133749 by Matt.Kuhlenschmidt PR #4771: Fix access violation for ImportAsset commandlet fbx reimport. (Contributed by UristMcRainmaker) Change 4133758 by Matt.Kuhlenschmidt PR #4675: Properly set TextScale for OnScreenDebugMessages (Contributed by projectgheist) Change 4134543 by Alexis.Matte Update the staticmesh LOD model max deviation when generating a LOD #jira UE-60353 Change 4134559 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - Editor scripting utilities #jira UE-60666 Change 4134560 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - SpeedTreeImporter #jira UE-60667 Change 4135335 by Alexis.Matte Deprecate FRawMesh - GLTF importer #jira UE-60670 Change 4135857 by Alexis.Matte Fix CIS build warning #jira none Change 4137249 by Matt.Kuhlenschmidt Fix tiny fonts from appearing in slow task dialogs Change 4137280 by Matt.Kuhlenschmidt Fix specifying relative paths for the auto-import commandlet not working Change 4137283 by Matt.Kuhlenschmidt PR #4305: Light map index was unintialized (Contributed by DSDambuster) Change 4137290 by Matt.Kuhlenschmidt PR #4382: Prevent error log due to non-existing plugin directory (Contributed by projectgheist) Change 4147032 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - ABC Importer #jira UE-60702 Change 4147978 by Matt.Kuhlenschmidt Fix one of the CIS fails Change 4154874 by Matt.Kuhlenschmidt Fix hidden asset properties in struct details panels. We consider all object properties with "allowedclasses" metadata to be asset properties since they only show an asset picker. Change 4167303 by Matt.Kuhlenschmidt Work around for sync to content browser from details panels not working for interface properties Change 4167388 by Matt.Kuhlenschmidt Make sure when converting relative path filenames in automated import that we convert them relative to the project directory. Change 4171891 by Matt.Kuhlenschmidt Fix preview mesh actor becoming stuck to the cursor when the editor or viewport loses focus #jira UE-61246 Change 4175503 by Cody.Albert Updated variable details panels to not display unusable metadata options for UMG widget references #jira UE-55078 Change 4175736 by Cody.Albert PR #4663: UE-20103: Slate widgets retain their category name v2 (Contributed by projectgheist) Change 4178937 by Rex.Hill Fix crash opening level after removing as sublevel jira: UE-61305 Change 4181097 by Matt.Kuhlenschmidt Fix Linux/Mac CIS Change 4184333 by Alexis.Matte Fix the material ID assignation when re-importing static mesh #jira none Change 4199682 by Arciel.Rekman Linux: enable XGE during cross-builds to see whether the build issues persist. - Licensees are asking for this and XGE folks are eager to help investigating the crashes, if any. Change 4200944 by Cody.Albert Updated VR Mode button to become inactive during SIE (instead of disappearing altogether) #jira UE-50220 Change 4204817 by Alexis.Matte Enable or disable the morph target weight slider depending of the project settings. #jira UE-61671 Change 4204821 by Alexis.Matte Optimize import time for morph targets #jira UE-61670 Change 4207394 by Cody.Albert PR #3299: UMG Slider Additions (Contributed by Dzuelu) Change 4208299 by Brandon.Schaefer Fix warning/error with logical operators #jira none Change 4210660 by Cody.Albert PR #3458: UE-43728: Always show scrollbar when necessary (Contributed by projectgheist) #jira UE-43727, UE-43278 Change 4215684 by Brandon.Schaefer Linux: Implement minimized function for LinuxWindow #jira UE-56023 Change 4217350 by Brandon.Schaefer Linux: Clean up IsMaximized #jira none Change 4217489 by Brandon.Schaefer Linux: Make popup menus BORDERLESS. Slate will give the menu events This appears to fix a lot of our grabs causing compiz to do something issue. #jira UE-59237, UE-54085, UE-51407, UE-50018, UE-53915 Change 4225018 by Cody.Albert UMG Hierarchy now remembers expansion state when being destroyed and recreated (due to closing widget or switching to Graph view) #jira UE-61836 Change 4225088 by Cody.Albert Added hover style for color picker slider Change 4226081 by Richard.TalbotWatkin New attribute array API. Fixed some flaws in the original API, deprecated various methods, and introduced some new features. - Now attribute arrays are accessed via TAttributesRef or TAttributesView (and corresponding const versions). These value types hold references to attribute arrays, and individual elements can be accessed by their element ID and attribute index. Using a value type is safer than the previous method which required assignment to a const-ref (and not doing so would take a temporary copy of the attribute array). - The attribute set has been totally flattened, so all attributes of different types are added to the same container. This greatly improves compile times, prevents attributes from being created with the same name but different types, and permits the view feature. - The class hierarchy has changed to have generic base classes where possible with no particular ElementID type. This reduces the code footprint by no longer generating nearly identical copies of templated methods. - A TAttributesView allows the user to access an attribute array by the type of their choosing, regardless of its actual type. For example, the Normal attribute may be registered with type FPackedVector, but accessed as if it was an FVector. This allows us to move away from very strong typing, and instead transparently store attributes of a more efficient size, while the user is not affected. - A transient attribute flag has been added, to denote that a particular attribute should not be saved. Change 4226083 by Richard.TalbotWatkin Reinstated original mesh editor materials. Change 4226102 by Richard.TalbotWatkin Fixed some deprecation warnings, and a mistake in MeshAttributeArray.h. Change 4226118 by Richard.TalbotWatkin Fix build errors: - Added missing file - Corrected the last fix. Change 4226121 by Richard.TalbotWatkin Bumped static mesh mesh data GUID. Change 4226231 by Richard.TalbotWatkin Removed some test code which got checked in by mistake. Change 4226232 by Richard.TalbotWatkin Fixed typo which caused build errors. Change 4226234 by Richard.TalbotWatkin Fixed a typo in MeshDescriptionTests. Change 4226237 by Richard.TalbotWatkin Removed over-cautious deprecation warnings. Once GetAttributes() is changed to GetAttributesRef(), element access will still work with array syntax. Change 4226625 by Richard.TalbotWatkin Added missing asset. Change 4227365 by Matt.Kuhlenschmidt Fix brush actors not showing the correct icon in scene outliner. - Actors can now supply their own icon if needed #jira UE-61948 Change 4229632 by Alexis.Matte Make the namespace an import option #jira UE-62099 #jira UE-62067 Change 4229637 by Alexis.Matte Fix fbx importer staticmesh the light map index, the index was check before the build. #jira UE-62064 Change 4232793 by Chris.Gagnon Added include to fix non unity builds. #jira UE-62138 Change 4234206 by Brandon.Schaefer Linux: Allow windows that want to be resizable to be resizeable Github PR #3578 thanks hhyyrylainen #jira UE-45847 Change 4234322 by Brandon.Schaefer Continue after starting UnrealVersionSelector to avoid blocking a chain command #jira UE-61530 Change 4234446 by Chris.Gagnon Properly handled FPackageName::TryConvertFilenameToLongPackageName() failing in Cache Thumbnail. #jira UE-61990 Change 4235057 by Brandon.Schaefer Linux: Write to stderr when we fail to find expected to find sym file #jira none Change 4235121 by Brandon.Schaefer Linux: Mark the static bool as soon as we enter the scope #jira none Change 4235399 by Brandon.Schaefer Linux: Check we are not x86 otherwise add unwind tables Copying the change that went over into 4.20.1 here #jira none Change 4240539 by Jamie.Dale Made DataTableUtils::GetX functions take a const data pointer Change 4240646 by Chris.Gagnon Fix for delayed destruction of UWidgets when they are manually removed from a panel as part of tear down. Inspired by the pull request, however I put in a more generic fix. PR #4904: Fix late release of Slate resources managed by UMG slot widgets (Contributed by cmp-) Change 4242975 by Yuriy.ODonnell Moved duplicated code from MeshUtilities and MeshDescriptionOperations (FLayoutUV, FAllocator2D, FOverlappingCorners, etc.) into a new single module MeshUtilitiesCommon. Add a generic opaque mesh view interface FLayoutUV::IMeshView to abstract mesh data access and allow FLayoutUV to be used with any mesh type in any module. Replaced few instances of using an old version of overlapping corners data structure (multi-map) with new specialized FOverlappingCorners container. Change 4243112 by Yuriy.ODonnell Use new attribute array API for accessing FMeshDescription data. Change 4243131 by Brandon.Schaefer Cast our new resize w/h to int before checking if we are already that size #jira UE-52291 Change 4243172 by Brandon.Schaefer Ceil not trunk for this compare #jira none Change 4243271 by Brandon.Schaefer Change address to be more portable MS compiler does not place a '0x' on %p formating. Linux/Mac append a '0x' to the address #jira UE-62325 Change 4243276 by Richard.TalbotWatkin Fixed deprecated MeshDescription calls (merged with Yuriy's changes). Change 4244067 by Lauren.Ridge Preventing crash on floating text if asset container does not exist. VR Editor floating text is now not placeable or blueprintable. #jira UE-62139 Change 4244547 by Lauren.Ridge Changes to more accurately represent android behavior in PIE and UMG #jira UE-62301 Change 4244830 by Alexis.Matte Fix animation Range import, prevent changing the option when validating the anim range. #jira UE-62055 Change 4250565 by Yuriy.ODonnell Removed GeometryCache dependency on MeshUtilitiesCommon in non-editor configs. Change 4254733 by Matt.Kuhlenschmidt Slate Fast Path - Changed FSlateWindowElementList GetWindow to be thread safe. For fast path, this is accessed on multiple threads so it needs to be safe GetWindow is deprecated and GetPaintWindow should be used instead Edigrate from source CL 4254611 Change 4257092 by Chris.Gagnon Improved UMG rename validation to respect the errors from the blueprint validator. This fixes at least the case where it miss reported the issue when the name was greater than the length limit in blueprints. #jira UE-62417 Change 4257124 by Chris.Gagnon PR #4924: UE-62113 Fix Other filters toggling all assets to show up (Contributed by mamoniem) #jira UE-62457 Change 4258696 by Chris.Gagnon Removed Tab Spawner for Color Curve Editor is your not editing the color curve. #jira none Change 4258937 by Chris.Gagnon Simplifed the code in the case of a null CurveOwner. #jira UE-62443 Change 4259162 by Richard.TalbotWatkin Fixed crash when entering mesh editor mode after having loaded a new level. Change 4259909 by Chris.Gagnon Added better check output to try and learn more about a crash in the wild. Added some better const saftey while in there. #jira UE-60696 Change 4259995 by Chris.Gagnon Fix for possible crash if the mesh has invalid materials. Also fixed the fact the FindMaterialIndicesUsingTexture() didn't work as advertised at all. Seems like you'd attemp to paint all materials even when trying to only paint the ones using a particular texture. #jira UE-62488 Change 4261012 by Michael.Dupuis #jira UE-48899: Make sure the RootComponent is valid before trying to use it. Change 4261361 by Michael.Dupuis #jira UE-48899: Fixed the warning about scale Change 4261926 by Michael.Dupuis #jira UE-48899: Only check the root component validity as it's possible that the component is not registered when this get called. Change 4262163 by Richard.TalbotWatkin Fixed uninitialized member. #jira UE-62493 #jira UE-62506 Change 4262549 by Brandon.Schaefer Linux: Update the Slate application what the window size will most likely be As X11 takes a frame to send an Event that a window has had its size changed. This causes things such as the slate renderer to think the window size is different then it actually it. This causes streching of tooltips #jira UE-62555 Change 4262581 by Brandon.Schaefer Linux: Use Show so we preserve our bIsVisible bool and avoid sending SDL_ShowWindow twice (ie. if its already shown) #jira none Change 4262906 by Chris.Gagnon PR #4915: [UMG] Bind UWidgetAnimation from C++ to blueprint created animation (Contributed by TheCodez) Change 4262965 by Chris.Gagnon PR #4932: Fix to generate cleaner C++ files when using "New C++ Class" (Contributed by TheCodez) Change 4263177 by Chris.Gagnon PR #4935: Prevent crash when clicking use selected game mode multiple times (Contributed by projectgheist) Change 4264723 by Christina.TempelaarL Fixed SceneCaptureComponent so ShowOnlyActors property is writeable in blueprints. #jira UE-62547 Change 4266029 by Michael.Dupuis #jira none: Guarded against the scene being null Change 4266356 by Richard.TalbotWatkin Changed FMeshDescription to a struct from a class. Added log errors when loading UMeshDescription objects (now deprecated), in preparation to resave any which remain. Once all serialized UMeshDescriptions are wiped out (they only exist internally), FMeshDescription will become a USTRUCT. Change 4266621 by Matt.Kuhlenschmidt Fix UE4 icon to be the correct one Change 4266635 by Chris.Gagnon Added Message Log output for invalid software cursor as opposed to ensure/log. #jira UE-62554 Change 4268136 by Matt.Kuhlenschmidt Fix outline colors not updating when changing on the fly #jira UE-42116 Change 4269184 by Chris.Gagnon Fix for possible nullptr dereference. #jira none Change 4269902 by Brandon.Schaefer Slate dialog modal window was not settings its parent window #jira UE-62608 Change 4272083 by Chris.Gagnon Fix for case where the the property noded arn't rebuilt in time and custom property ui can be using stale data. #jira UE-62499 Change 4272869 by Michael.Trepka Make sure ShooterGame sets correct input modes/mouse capture in menus and in game to avoid problems with keyboard not working in menus after alt-tab #jira UE-61017 Change 4275155 by Michael.Dupuis #jira UE-62526: Update lightmap/shadow UV mapping after lighting build on HISMC. ISM will get also updated due to the Edit() that will reapply the values on CreateSceneProxy Change 4275298 by Lauren.Ridge Fixed string parsing when looking at parent cvar values #jira UE-62301 Change 4275391 by Lauren.Ridge Fix for resolutions increasing when swapping landscape/portrait Change 4275606 by Lauren.Ridge Moving all asset container access to PostActorCreated to avoid VR editor assets in cooks #jira UE-57797 Change 4275807 by Lauren.Ridge Duplicating color themes now dupllicates the color labels as well #jira UE-60697 Change 4275989 by Lauren.Ridge When selecting a node while the details panel is behind a different panel in the same dock tab, the details panel is brought forward #jira UETOOL-1325 Change 4276146 by Lauren.Ridge Fix for new texture sample nodes not taking the selected texture from the content browser as the starting value. #jira UETOOL-1322 Change 4276412 by Lauren.Ridge Assets that can be dragged into the material graph now indicate that with a checkmark #jira UE-56024 Change 4279549 by Lauren.Ridge Fixed recursion of calls through SetDesignerFlags to avoid double-recursion with many nested panels #jira none Change 4279894 by Lauren.Ridge Adding check for RootWidget existing Change 4279969 by Michael.Trepka Updated FDesktopPlatformMac::FileDialogShared() to handle a case where no extensions were specified in FileTypes string #jira UE-62421 Change 4280317 by Lauren.Ridge Adding if WITH_EDITOR Change 4280716 by Chris.Gagnon PR #4979: UE-62795: Deprecate bAutoWrapText in TextBlock (Contributed by projectgheist) Slightly modified, the base syncronize sets the autowrap value. Change 4280847 by Lauren.Ridge Single property setting changes will now also call OnModified delegate for their section #jira UE-58276 Change 4280850 by Chris.Gagnon Added early out and log if focus is attempted to be set when the window is suppost to be be disabled due to a modal window being up. #jira UE-62742 Change 4280931 by Brandon.Schaefer Linux: Use MallocCrash when hitting out of memory issues in BinnedAllocFromOS #jira FORT-108267 Change 4281460 by Lauren.Ridge Clearing focus on a variable once it is committed. Fixes assert on undo #jira UE-61872 Change 4283706 by tim.gautier QAGame: Adding HISM test map / assets Change 4283980 by Michael.Trepka Unshelved from pending changelist '4238012': Xcode project generator improvements - Per-project precompiled header that wraps UnrealEd.h with #ifdef __cplusplus to allow Xcode to compile the pch in ObjC mode. Later we could replace UnrealEd.h with some other header file for non-editor targets - Moved commands that disable compile warnings from MacToolChain's GetCompileArguments_Global to ApplePlatformCompilerPreSetup.h. Thanks to this we can have all the Xcode recommended warnings enabled in the project, but still allow Clang to index our code without reporting warnings - Few more minor changes to fix Xcode's project validation and indexing warnings Also, unify compile warning flags across all Apple platforms. #jira UE-47965, UE-44327 Change 4284062 by Michael.Trepka Copy of CL 4222794 from 4.20 Fixed a crash at exit in Mac editor caused by an attempt to use MetalProfiler after deleting it #jira none Change 4284266 by Brandon.Schaefer Linux: Fix deadlock in a file cache which could be locked in a crash handler #jira UE-62808 Change 4284469 by Lauren.Ridge Fix for material parameter node crashing Change 4284541 by Lauren.Ridge Blueprints inheriting from UWidget will now show up in the palette view even if they are not loaded. #jira UE-59164 Change 4284542 by Michael.Trepka Copy of CL 4222797 Fixed a problem with FMacPlatformMisc::NormalizePath allocating an autorelease pool during crash handling, which resulted in the OS killing the process before we spawn CrashReportClient. Now this function is identical to Linux version. #jira UE-61779 Change 4285288 by Cody.Albert Fixed crash when changing "Show Coalesced" setting in profiler Change 4285483 by Chris.Gagnon PR #4936: Duplicate widget functionality for UMG editor (Contributed by projectgheist) Fixed up some variable names. #jira UE-62528 Change 4287219 by Brandon.Schaefer dump_syms: Replace inline file/line with their callsite over the inline location Fix <name omitted> appearing as the names for the function Disable CFI generation for Windows (Linux theres a command line). Speeds up symbol generation #jira FORT-670 Change 4287247 by Brandon.Schaefer BreakpadSymbolEncoder: If the file doesnt have a newline at EOF handle that as a seperate case #jira none Change 4287259 by Brandon.Schaefer dump_syms: Build on centos7 #jira none Change 4287269 by Brandon.Schaefer Linux: Disable generating CFI info when running dump_syms #jira none Change 4287326 by Brandon.Schaefer dump_syms: Update to disabling the CFI generation version #jira none Change 4287902 by Brandon.Schaefer TestPAL: Add cases for testing inline callstacks #jira UEENGQA-21414 Change 4288365 by Lauren.Ridge PR #4422: Set default material parameter name (Contributed by projectgheist) Change 4292002 by Brandon.Schaefer Linux: If our default settings are empty help fill in the proper name #jira UE-62910 Change 4292496 by Lauren.Ridge Now all renamable nodes do name verification also Change 4292532 by Lauren.Ridge PR #4989: Add icons to folder context menu favorites (Contributed by projectgheist) Change 4293043 by tim.gautier QAGame: Added a panner to ML_Albedo Change 4295326 by Richard.TalbotWatkin - Updated MeshDescription attribute calls to fix deprecation warnings. - Removed TMeshAttributeArraySet::AddArray because the functionality was already available as part of SetNumIndices. - Renamed TMeshAttributeArraySet::InsertArray, RemoveArray to InsertIndex, RemoveIndex for naming convention consistency (these methods deal with attribute indices, not with arrays). Added support for them in other attribute classes, and made them virtual so they can be called as part of an AttributesView. - Removed redundant code in FUSDStaticMeshImportState::AddPolygons, when determining the number of UVs in the mesh description. Change 4295795 by Richard.TalbotWatkin Corrected MAX_MESH_TEXTURE_COORDS_MD references. Change 4297308 by Cody.Albert Fixed bug with InputPreProcessorsHelper::Add not correctly adding input processors Change 4297799 by Brandon.Schaefer Linux: Dont assume DISPlAY=:0 #jira UE-63050 Change 4298150 by Brandon.Schaefer dump_syms: This is rebuilding dump_sym changes from CL 4287219 for Mac Replace inline file/line with their callsite over the inline location Fix <name omitted> appearing as the names for the function Disable CFI generation for Windows (Linux theres a command line). Speeds up symbol generation Source code changes for dump_syms was changed at CL 4287219 #jira none Change 4298369 by Brandon.Schaefer dump_syms: Rebuild for Linux/Windows to fix a possible crash when missing debug_ranges in the debug section Source changed in CL 4298150 #jira none Change 4301952 by Lauren.Ridge Fixing input labels on material function inputs #jira UE-63077 Change 4302388 by Brandon.Schaefer Linux: If we have a 0 LineNumber lets try to use to the previous Record. Still an issue with non-virtual thunks reporting line number zero but it seems even windows skips these frames. GDB reports a different callsite that doesnt seem super related (possibly?) Nothing to do with thunking though. #jira UE-62930 Change 4304835 by Alexis.Matte Add imported framerate info to anime sequence #jira UE-51302 Change 4307480 by Brandon.Schaefer SDL2: Update to newer version hg-12121:4358e537000a Fixed github PR #4844 as well (thanks tomix1024) #jira UE-62783 UE-61369 Change 4307481 by Brandon.Schaefer SDL2: Rebuild with the newer version hg-12121:4358e537000a Fixed github PR #4844 as well (thanks tomix1024) #jira UE-62783 UE-61369 Change 4308264 by Brandon.Schaefer Linux: Make both DLLIMPORT the same value #jira UE-61174 Change 4308640 by Matt.Kuhlenschmidt Added a "report bug" menu entry to the help menu #jira UE-63182 Change 4309508 by Brandon.Schaefer nvTextureTools: Rebuild on Linux using our libc++ and not libstdc++ Move to the proper runtime depend location #jira UE-54892 UE-61705 Change 4309554 by Brandon.Schaefer SDL2: Add last missing folder #jira none Change 4309955 by Chris.Gagnon PR #5017: UE-63105: Modify SGraphActionMenu::OnKeyDown to use a different branc. (Contributed by projectgheist) Change 4311008 by Brandon.Schaefer nvTextureTools: Actually remove libstdc++ from Linux build #jira UE-54892 Change 4312195 by Alexis.Matte - Fix the set range feature to always use the file sample rate so the range match what the user see in the DCC - Also add some fbx file information to the import dialog #jira UE-62504 Change 4315347 by Brandon.Schaefer Linux: Disable XGE builds as it appears to be lower casing folders when the build platform is Windows #jira UE-63296 Change 4318704 by Lauren.Ridge Fix for crash on opening map built data #jira UE-63301 Change 4319999 by Lauren.Ridge Fix for crash in vr mode #jira UE-63376 Change 4320144 by Chris.Gagnon Fix for smoke content that set the hovered size different to the normal size on the UMG slider handle. #jira UE-63367 Change 4327887 by Michael.Trepka Disable nonportable-include-path warning in iOS toolchain to allow incorrect case in paths to headers passed using -include #jira UE-63408 Change 4217622 by Brandon.Schaefer Linux: Pass a command line argument to crash reporter to show or skip a user agreement popup #jira none Change 4312048 by Brandon.Schaefer Linux: Dont disable ICU by default on Servers #jira UE-59113 Change 4320173 by Chris.Gagnon Fix for startup movie streamer on xbox not finishing. #ROBOMERGE-OWNER: jason.bestimt #ROBOMERGE-SOURCE: CL 4329255 in //UE4/Main/... #ROBOMERGE-BOT: DEVVR (Main -> Dev-VR) [CL 4329265 by chris gagnon in Dev-VR branch]
2018-08-29 18:37:17 -04:00
else
{
Out.push_back(RawBytes.substr(Current));
break;
}
}
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor @ 4048875) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3808185 by Cody.Albert Added missing calls to FEditorViewportClient::AddReferencedObjects in overrides Change 3809824 by Michael.Trepka Improved the way we generate groups in Xcode project's source code navigator. They are now sorted alphabetically and have correct paths so Xcode no longer displays them in red. Also, added __INTELLISENSE__ to preprocessor definitions for indexing to improve indexing without game header files generated. Change 3810089 by Jamie.Dale Fixed PO files failing to import translations containing only whitespace Change 3811281 by Matt.Kuhlenschmidt PR #4331: Toggle SIE shortcut only in PIE (Contributed by projectgheist) Change 3813031 by Matt.Kuhlenschmidt Fix undocked tabs not dropping at users mouse location #jira UE-53427 Change 3813361 by Brandon.Schaefer Print what SDL video driver we are using Change 3818430 by Matt.Kuhlenschmidt PR #4365: Incorrect font name and forgotten undef (Contributed by projectgheist) Change 3818432 by Matt.Kuhlenschmidt PR #4366: Asset Color Strip updates correct on drag and drop (Contributed by projectgheist) Change 3818436 by Matt.Kuhlenschmidt PR #4367: Improved logging (Contributed by projectgheist) Change 3819886 by Matt.Kuhlenschmidt Add a way to optionally disable the warning about referenced actors being moved to other levels. Useful for bulk actor moves via script Change 3819888 by Matt.Kuhlenschmidt Avoid crashing when a window size becomes too large to render. Instead just ensure and clamp to the maximum allowed size. Avoids crashes where the screen dimensions are saved with super large numbers for unknown reasons Change 3821773 by Brandon.Schaefer Fix crash when importing to level #jira UE-31573 Change 3821892 by Jamie.Dale Improved the localized asset cooking so that it only cooks L10N variants if their source asset is cooked #jira UE-53010 Change 3823714 by Christina.TempelaarL #jira UE-52179 added support for grayscale PSD files Change 3826805 by Christina.TempelaarL #jira UE-49636 SceneCaptureComponent2D hidden actor and show only actors disabled in blueprints #jira UE-53445 SceneCaptureComponent2D hidden actors always disabled in details layout Change 3828444 by Anthony.Bills Add LXC container script for building third party libraries. The intention is that this should become the only way to rebuild the third party libraries that require system dependencies not included in the cross-compile toolchain and also to rebuild the toolchains. Other third party libraries without any system dependencies could be rebuilt via the cross-compile toolchains/UBT. This script has been tested running on CentOS 7 and Ubuntu 17.10. Buy default the x86 and x86_64 builds will be built against a CentOS 6 container (and targeting glibc 1.12) and the aarch64 and armhf builds will use an Ubuntu Ubuntu Trusty (14.04) but this is not yet complete. Change 3828754 by Brandon.Schaefer Linux: Fix gamepad thumbstick clicks not registering (github #4209 thanks J??rn M??ller) #jira UE-45722 #review-3828733 Arciel.Rekman Change 3830414 by Brandon.Schaefer Remove circular referencing to a parent window. Move to use AddSP vs AddRaw as well to be safe manually remove ourselves from the selection event delegate list due to Linux pending deletion of windows. Looks like this should fix UE-28322 as well which I've removed the work around placed in for that. #jira UE-53918 #review @michael.trepka, @matt.kuhlenschmidt, @arciel.rekman Change 3830916 by Brandon.Schaefer More verbose message about missing VK extensions (from Marcin Undak) #review-3830710 marcin.undak, arciel.rekman Change 3831339 by Brandon.Schaefer Default to as-needed for debug mode #jira none #review-3830658 Arciel.Rekman Change 3833102 by Jamie.Dale Re-added warning for duplicate package localization IDs when gathering asset localization Change 3834600 by Jamie.Dale Optimized asset registry filter intersection Change 3838024 by Brandon.Schaefer Remove tracking of CLion/CMake build files (from github #4346 thanks reapazor!) #jira UE-53551 #review-3835803 arciel.rekman Change 3839969 by Michael.Dupuis #jira UE-52289: When OnRegister is called on the component make sure our PerInstanceRenderData is up to date Prevent a possible crash if ClearInstanceSelection was called on a component with no PerInstanceRenderData existing Change 3840049 by Michael.Dupuis #jira UE-52975: Was always performing the equivalent of an Add, so now we use the Transform during the duplicate Change 3840071 by Matt.Kuhlenschmidt - Combine some shader params for slate in order to reduce overhead setting uniform buffers - Added better stats for slate draw call rendering - cleaned up huge lambda in Slate rendering main function so we can read the main slate rendering function again Change 3840291 by Michael.Dupuis #jira UE-53053: Was having a mismatch between the remove reorder and the actual remove Change 3840840 by Michael.Dupuis #jira UE-53944: Make sure the LOD generated is in the valid range to prevent the crash Change 3842072 by Michael.Dupuis #jira UE-50299: Include NumSubsection in calculation of component quad factor Change 3842487 by Christina.TempelaarL #jira UE-50573 HighResShot has wrong res in immersive mode Change 3845702 by Matt.Kuhlenschmidt PR #4381: DefaultASTCQualityBySpeed too high max value. (Contributed by kallehamalainen) Change 3845706 by Matt.Kuhlenschmidt PR #4388: Only restore window if minimized (Contributed by projectgheist) Change 3845993 by Christina.TempelaarL #jira UE-41558 crash when selecting PostProcessingVolumes in separate levels Change 3856395 by Brandon.Schaefer No longer using ALAudio on Linux #jira UE-53717 Change 3858324 by Michael.Trepka Preserve command line arguments in Xcode project when regenerating it Change 3858365 by Michael.Dupuis #jira UE-52049: There was a case where adding and removing multiple time would lead to reordering the instances and this would cause the regeneration of the random stream for all the reorded instances. Change 3858492 by Michael.Trepka Updated dependencies for Mac dSYM files so that only cross-referenced modules have their dSYMs recreated on subsequent builds instead of all modules. Change 3859470 by Michael.Trepka CIS fix. Make sure a scheme file exists before trying to read it when generating Xcode project. Change 3859900 by Joe.Conley Fix for "Check Out Assets" window not properly receiving focus. Change 3865218 by Michael.Dupuis #jira UE-45784: Exposed the possibility to edit LDMaxDrawDistance Change 3866957 by Michael.Dupuis #jira UE-42509: Added BodyInstance to ULandscapeSplineSegment and ULandscapeSplineControlPoint Deprecated bEnabledCollision and migrate data as it's replaced by BodyInstance Change 3867220 by Cody.Albert Fixed Project Launcher scrollbar to properly stay anchored at the bottom of the scroll area. Change 3869117 by Michael.Dupuis #jira UE-42509:Fixed compile error when not having editor data Change 3872478 by Arciel.Rekman Linux: disable PIE if compiler enables it by default. Change 3874786 by Michael.Dupuis #jira UE-46925: Remove the guessing functionality when importing a heightmap, and instead propose to the user valid size that can be used for the import through a combo button. Improved usability of the UI by disabling size field when no file was specified Change 3875859 by Jamie.Dale Implemented our own canonization for culture codes Change 3877604 by Cody.Albert We now validate actor names passed to SetActorLabel to ensure None isn't passed in, which can corrupt levels Change 3877777 by Nick.Shin PhysX build fix - this came from CL: 3809757 #jira UE-54924 Cannot rebuild Apex/PhysX/NvCloth .emscripten missing Change 3881693 by Alexis.Matte Fix local path search to not search in memory only #jira UE-55018 Change 3882512 by Michael.Dupuis #jira none : Fixed screen size calculation to take aspect ratio into account correctly Change 3886926 by Arciel.Rekman Linux: fixed checking clang settings during the cross-build (UE-55132). #jira UE-55132 Change 3887080 by Anthony.Bills Updated SDL2 build script. - Now allows compiling inside a CentOS 6 or Ubuntu 12.04 container with wayland support when using the ContainerBuildThirdParty.sh. - Added multiple build arch support to the BuildThirdParty script and pass this down to the SDL2 build script. Change 3887260 by Arciel.Rekman Linux: fix leaking process handles in the cross-toolchain. Change 3889072 by Brandon.Schaefer Fix RPath workaround, to better handle both cases #jira UE-55150 #review-3888119 @Arciel.Rekman, @Ben.Marsh Change 3892546 by Alexis.Matte Remove fbx exporter welded vertices options #jira UE-51575 Change 3893516 by Michael.Dupuis Remove static mesh instancing async buffer filling, as with all the changes made, it's no longer necessary, the cost of loading very large buffer is negligable Rebuild the occlusion tree when using foliage.DensityScale with something other than 1.0 Change 3894365 by Brandon.Schaefer Pass FileReference over a raw string to the LinkEnvironment #jira none #review-3894241 @Ben.Marsh, @Arciel.Rekman Change 3895251 by Brandon.Schaefer Use X11 pointer barriers to bound the cursor to a region over warping the pointers. Patch from Cengiz #jira UE-25615 #jira UE-30714 #review-3894886 @Arciel.Rekman Change 3897541 by Michael.Dupuis #jira UE-53787: Added guard if for some reason the material is null we should not try to draw using this material Change 3904143 by Rex.Hill #jira UE-55366: Fix crash when overwriting existing level during level save as #jira UE-42426: Map '_BuiltData' can now be deleted when selected at same time as map - Map '_BuiltData' package is now garbage collected when switching maps in the editor Change 3906373 by Brandon.Schaefer Fix splash image. Use alias format for big/little endian machines. #jira none Change 3906711 by Rex.Hill #jira UE-42426: BuiltData now deleted with maps Change 3907221 by Cody.Albert Add support for relative asset source paths in content plugins Change 3911670 by Alexis.Matte Fix assetimportdata creation owner #jira UE-55567 Change 3912382 by Anthony.Bills Linux: Add binaries for GoogleTest and add to BuildThirdParty script. Change 3914634 by Cody.Albert Added missing include that could cause compile errors if IWYU was disabled. Change 3916227 by Cody.Albert Fixing some cases where we check #ifdef WITH_EDITOR instead of #if WITH_EDITOR Change 3917245 by Michael.Dupuis #jira UE-35097: Fixed crash when creating a new landscape with 2x2 subsection and material containing grass spawning Change 3918331 by Anthony.Bills Linux: Bundled Mono - Explicilty pick libc.so.6 as libc.so is a linker script and store the config file directly. Change 3920191 by Rex.Hill #jira UE-44197 Fix saving sub-level level causing MapBuildData to be deleted Improved MapBuildData rename, move, duplicate, copy Change 3920333 by Matt.Kuhlenschmidt Render target clear color property now settable in editor #jira UE-55347 Change 3926094 by Michael.Dupuis #jira UE-51502: Added some min/max values to foliage and grass settings to prevent overflow/crash #coderevew jack.porter Change 3926243 by Michael.Dupuis #jira UE-54669: cleaned up invalid/duplicate shader and moved some shaders to appropriate list Change 3926760 by Jamie.Dale Added support for TTC/OTC fonts These can be used via a sub-face index on FFontData, which can be set via a new combo in the font editor. You can also see the cached list of sub-faces within a font file from the UFontFace asset. Change 3927793 by Anthony.Bills Mono: Remove SharpZipLib and references from bundled Mono. #review-3887212 @ben.marsh, @michael.trepka Change 3928029 by Anthony.Bills Linux: Add support for UnrealVersionSelector. - Supports using UVS to launch without a project file. This will then launch the selected engine's project wizard. - Linux UVS uses Slate for the version selection and error log dialogs. - Mime-types and desktop file support added to DesktopPlatformLinux to allow associating with UVS as per the Windows binary and git builds. - Icons added for Linux. #review-3882197 @arciel.rekman, @brandon.schaefer Change 3931293 by Alexis.Matte Add generic Levenshtein edit distance to core algo. This algorithm will help suggesting name matching when users have to resolve material name conflict when re-import fbx meshes. Add also plenty of automation tests for it. #jira none Change 3931436 by Arciel.Rekman Stop RHI thread before shutting down RHI. - Prevents crashes for some drivers that create TLS objects with destructors; those destructors will get called after the thread exited, but the library will already be unloaded on RHI shutdown. Change 3934287 by Alexis.Matte Fix crash when re-importing skeletal mesh. Skinned component render data resource is now release when re-importing. #jira none Change 3937585 by Lauren.Ridge Added labels to the colors stored in the theme bar. Change 3937738 by Alexis.Matte Make sure content browser do not show a preview asset created when we cancel an export animation preview #jira UE-49743 Change 3941345 by Michael.Dupuis #jira UE-26959: Prevent reusing multiple type the same grass type into the same material grass output node Change 3941453 by Michael.Dupuis #jira UE-47492: Added a guard to validate LayerIndex Change 3942065 by Jamie.Dale Fixed crash trying to use FSlateApplication when it wasn't available (eg, in a commandlet) Change 3942573 by Alexis.Matte Fix static analysis Change 3942623 by Michael.Dupuis #jira 0 Cast to ulong as TaskIndex * NumStripes could exceed an int limit and add an assert if the wraparound is negative Change 3942993 by Matt.Kuhlenschmidt PR #4547: Verify the return value of FT_New_Memory_Face (Contributed by jorgenpt) Change 3942998 by Matt.Kuhlenschmidt PR #4554: Cleanup log printing (Contributed by projectgheist) Change 3943003 by Matt.Kuhlenschmidt PR #4534: Prevent Fatal log when alt tabbing during a level save (Contributed by projectgheist) Change 3943011 by Matt.Kuhlenschmidt PR #4518: edit (Contributed by pdlogingithub) Change 3943027 by Matt.Kuhlenschmidt PR #4524: Notifications always render on the screen with the main viewport (Contributed by projectgheist) Change 3943074 by Matt.Kuhlenschmidt PR #4484: Add group actor to folder (Contributed by ggsharkmob) Change 3943079 by Matt.Kuhlenschmidt PR #4431: Git Plugin: replace usage of the 2 cli args "--work-tree" and "--git-dir" by "-C" (Contributed by SRombauts) Change 3943092 by Matt.Kuhlenschmidt PR #4434: Git plugin: configure the default remote URL 'origin' (Contributed by SRombauts) Change 3943132 by Matt.Kuhlenschmidt PR #4247: Add File picker to Git Path setting on GitSourceControl (Contributed by shiena) Change 3943141 by Matt.Kuhlenschmidt PR #4303: Fix ULevelExporterT3D so that it works in a commandlet (Contributed by DSDambuster) Change 3943349 by Jamie.Dale Cleaned up PR #4547 Made the assert non-fatal to avoid it being able to take down the editor if you load up a bad font. Fixed some code that was deleted during the merge. Change 3943976 by Michael.Trepka Copy of CL 3940687 Fixed long link times when building for Mac in Debug by passing -no_deduplicate flag to the linker, which is what Xcode does in Debug configs. #jira none Change 3944882 by Matt.Kuhlenschmidt Fix a few regressions with scene viewport activation locking can capturing the cursor in editor #jira UE-56080, UE-56081 Change 3947339 by Michael.Dupuis #jira UE-55664: Fixed undo/redo buffer handling so we remove from the beginning of the buffer during undo buffer where buffer is at max memory and from the end during redo operation. Fixed cancel also to re add removed transaction at the end or the start depending if we're doing a redo or undo operation Fixed the Undo History UI to listen to an event when the undo buffer changed instead of checking every frame, as when the buffer was full, no changes would occur, thus no UI update. Change 3948179 by Jamie.Dale Fixed monochromatic font rendering - All non-8bpp images are now converted to 8bpp images for processing in Slate. - We convert the gray color of any images not using 256 grays (eg, monochromatic images that use 2 grays). - Fixed a case where the temporary bitmap wasn't being deleted. - Fixed a case where the bitmap could be used after it was deleted. - Added a CVar (Slate.EnableFontAntiAliasing) to control whether you want anti-aliased (256 grayscale) rendering (default), or monochromatic (2 grayscale) rendering. Change 3949922 by Alexis.Matte Ensure fbx node name are not empty when loading a fbx file. I use the same naming convention as Maya #jira UE-56079 Change 3950202 by Rex.Hill Fix crash during editor asset automation tests. Now skips showing modal progress window when opening asset editor window. ActiveTopLevelWindow is not set when modal windows are open. #jira UE-56112 Change 3950484 by Michael.Dupuis #jira UE-52176: delete the Cluster tree when the builder is no longer needed Change 3954628 by Michael.Dupuis Bring back 4.19/4.19.1 Landscape changes Change 3957037 by Michael.Dupuis #jira UE-53343: Add foliage instances back when changing component size Changed the formulation for the Clip/Expand behavior to make it more explicit on what will happen Added SlowTask stuff to manage big landscape change Change 3959020 by Rex.Hill Rename/move file MallocLeakDetection.h Change 3960325 by Michael.Dupuis Fixed static analysis Change 3961416 by Michael.Dupuis #jira UE-46100: Exposed UseDynamicInstanceBuffer on Foliage type, so user can decide if they want to update them dynamically #jira UE-55092: Fixed the warning to appear when having resource array as empty but VB as set up Added data conssitency that when using Dynamic buffer, Keep CPU Access should also be true, even if implicitly it's already the case, now it's explicit Change 3962372 by Michael.Trepka Copy of CL 3884121 Fix for SProgressBar rendering incorreclty on Mac #jira UE-56241 Change 3964931 by Anthony.Bills Linux: Add cross-compiled binary of UVS Shipping. Change 3966719 by Matt.Kuhlenschmidt Fix parameters out of order here #jira UE-56399 Change 3966724 by Matt.Kuhlenschmidt PR #4585: Export symbols for the FDragTool (Contributed by Begounet) Change 3966734 by Matt.Kuhlenschmidt PR #4596: fix the slider issue of the HighResolutionScreenshot window (Contributed by mamoniem) Change 3966739 by Matt.Kuhlenschmidt Removed duplicated code #jira UE-56369 Change 3966744 by Matt.Kuhlenschmidt PR #4602: Fixes check for existing extensions when generating "All Extensions". (Contributed by PhilBax) Change 3966758 by Matt.Kuhlenschmidt PR #4604: Fixed an issue where the Modules and DebugTools tabs would be unrecognized after startup if docked in the level editor (Contributed by tstaples) Change 3966780 by Matt.Kuhlenschmidt Fix crash accessing graph node title widgets when objects have become stale. #jira UE-56442 Change 3966884 by Alexis.Matte Fix speedtree uninitialized values #jira none Change 3967568 by Alexis.Matte Do not override the screensize when importing a skeletal mesh, let the value set by the AddLodInfo function #jira UE-56493 Change 3968333 by Brandon.Schaefer Fix order of operation #jira UE-56400 Change 3969070 by Anthony.Bills Linux: Make sure to set the UE_ENGINE_DIRECTORY #jira UE-56503 #review-3966609 @arciel.rekman, @brandon.schaefer Change 3971431 by Michael.Dupuis #jira UE-56515: Fixed an issue where ForcedLOD > MaxLOD and make sure that LastLOD will at least contain current streamed in LOD. #jira UE-56517: When using ParallelInitView 1 there was a memory leak related to a reallocate that happen with the TArray of FMemstack Pass correctly LODDistanceFactor instead of View.LODScale as we do not want StaticMeshScale to affect us. Change 3971467 by Matt.Kuhlenschmidt Fixed crash deleting a texture with texture painting on it #jira UE-56994 Change 3971557 by Matt.Kuhlenschmidt Fix temporary exporter objects being potentially GC'd and causing crashes during export #jira UE-56981 Change 3971713 by Cody.Albert PR #4597: [FPS Template] Small null pointer check fix and cleanup (Contributed by TheCodez) Change 3971846 by Michael.Dupuis #jira UE-56517: Properly "round" the count so we have the right amount of memory reserved #jira UE-56515: Still had a edge case left, so when using forced lod i simply make sure the value is in valid range, and allocate all the required data for this range Change 3973035 by Nick.Atamas Line and Spline rendering changes: * Lines/Splines now use 1 UV channel to anti-alias (this channel can be used for texturing) * Anti-aliasing filter now adjusted based on resolution * Modified Line/Spline topology to accomodate new UV requirements * Disabled vertex snapping for anti-aliased lines/splines; previously vertexes were snapped, but vertex positions did not affect line rendering (behavior effectively unchanged) * Splines now adaptively subdivided to avoid certain edge-cases Change 3973345 by Nick.Atamas - Number tweaks to maintain previously perceived wire thickness in various editors. Change 3977764 by Rex.Hill MallocTBB no longer debug fills bytes in development configuration Change 3978713 by Arciel.Rekman UVS: Fix stale dependency. Change 3980520 by Matt.Kuhlenschmidt Fix typo #jira UE-57059 Change 3980557 by Matt.Kuhlenschmidt Fixed negative pie window sizes causing crashes #jira UE-57100 Change 3980565 by Matt.Kuhlenschmidt PR #4628: Fixed revert action, now correctly uses CanRevert() condition (Contributed by Kryofenix) Change 3980568 by Matt.Kuhlenschmidt PR #4626: UE-57111: Handle CaptureRegion for HighResShot in PIE (Contributed by projectgheist) Change 3980580 by Matt.Kuhlenschmidt PR #4567: [Editor UI] Pick Parent Class dialog: set keyboard focus and handle Escape & Enter (Contributed by SRombauts) Change 3980581 by Matt.Kuhlenschmidt PR #4565: [Editor UI] Add C++ Class dialog: set keyboard focus and handle Escape & Enter (Contributed by SRombauts) Change 3981341 by Jamie.Dale Re-added GIsEditor condition around package namespace access #jira UE-55816 Change 3981808 by Ryan.Brucks Added LandscapeProxy functions to push RenderTarget data to Heightmaps and Weightmaps Change 3983344 by Jack.Porter #include fixes for CL 3981808 #jira 0 Change 3983391 by Jack.Porter One for #include fix for CL 3981808 #jira 0 Change 3983562 by Michael.Dupuis #jira UE-53787: Make sure the material array is valid before trying to generate static mesh batch element #jira UE-56451: Instead of asserting, simply skip this element as it had invalid custom data anyway, so we can't render it Change 3983600 by Matt.Kuhlenschmidt PR #4289: Pragma Once/Include guard cleanup (Contributed by projectgheist) Change 3983637 by Matt.Kuhlenschmidt PR #4408: Add a template pregeneration hook (Contributed by mhutch) Change 3984392 by Michael.Dupuis #jira UE-56314: Correctly apply LODBias on calculated LOD Fixed some Landscape popping that could occur when we were forcing a LOD that didn't match the component screen size Change 3984950 by Rex.Hill Optimized texture import speed 2-3x depending on number of cpu cores and image size Change 3985033 by Rex.Hill File drag and drop is more quick to respond when editor is in background #jira UE-57192 Change 3986218 by Jack.Porter Missing template parameter fix for CL 3981808 #jira 0 Change 3986376 by Michael.Dupuis #jira UE-56453: Do not use the CreateDynamicMaterialInstance as it will change the parenting of the actor used material, instead simply use the function to generate the MID and parent it correctly. Change 3989391 by Matt.Kuhlenschmidt Fix constant FName lookup in level editor when checking various states of level editor tabs Change 3990182 by Rex.Hill Optimize editor startup time: GetCurrentProjectModules Change 3990365 by Alexis.Matte Fix crash with spline mesh when the attach SM get a new imported LOD #jira UE-57119 Change 3991151 by Rex.Hill VR Editor module now waits to load images until VR mode activated in editor. Saves 0.4 seconds of editor startup time. Change 3991164 by Rex.Hill Optimize editor startup time: FindModulePaths() - Invalidates cache when search paths added - Use cache during wildcard searches containing * and ? Change 3995366 by Anthony.Bills Update BuildCrossToolchain script to allow a Linux host targeting multiple Linux architectures (including the hosts arch). Added a patch to support a gcc 4.8.5 based toolchain on windows (potentially useful for users crosscompiling using GCC and libstdc++ and targeting CentOS 7). #review-3848487 @arciel.rekman, @brandon.schaefer Change 3996109 by Jamie.Dale Reworked BP error messages to be more localization friendly #jira UETOOL-1356 Change 3996123 by Michael.Dupuis #jira UE-57427: Update random color on load of the component #jira UE-56272: Change 3996279 by Merritt.Cely Removed hardware survey from editor #jira an-2243 #tests launched the editor Change 3996626 by Alexis.Matte Fix crash when SkeletalMesh tangent buffer is empty after the build and we serialize the tangent array. #jira UE-57227 Change 3996663 by Max.Chen Sequencer: Fix fbx animation export - rotation and scale channels were flipped. #jira UE-57509 #jira UE-57512 #jira UE-57514 Change 4000331 by Brandon.Schaefer Add a GFNameTableForDebuggerVisualizers_MT back only for Unix under the Core module #review-3999426 @Arciel.Rekman #jira UE-55298 Change 4000450 by Matt.Kuhlenschmidt Another guard against a factory being destroyed during import #jira UE-57674 Change 4000459 by Matt.Kuhlenschmidt Added check for valid game viewport to see if this is the problem in UE-57677 #jira UE-57677 Change 4000493 by Matt.Kuhlenschmidt Remove stale GC'd components when refreshing paint mode to prevent crashes #jira UE-52618 Change 4000683 by Jamie.Dale Fixed target being incorrect when added via the Localization Dashboard #jira UE-57588 Change 4000738 by Alexis.Matte Add a section settings to ignore the section when reducing #jira UE-52580 Change 4000920 by Alexis.Matte PR #4219: Fix for SColorGradingPicker preventing PIE (Contributed by projectgheist) author projectgheist projectgheist@gmail.com Change 4001432 by Alexis.Matte Add a fbx re-import resolve material windows, user can now help resolving the material in case the importer fail to found a match. Change 4001447 by Jamie.Dale Fixed property table not working with multi-line editable text Change 4001449 by Jamie.Dale PR #4531: Localization multiline fix (Contributed by Lallapallooza) Change 4001557 by Alexis.Matte Fix a check in fbx scene importer, in case the user import a fbx LOD group with no geometry under it #jira UE-57676 Change 4002539 by Alexis.Matte Make the fbx importer global transform options persist in the config file #jira UE-50897 Change 4002562 by Anthony.Bills Linux: Enable UVS registering for git builds only and remove old Mono and pre-UVS script code. Change 4003241 by Alexis.Matte Fix the staticmesh import socket logic, it was duplicating socket when re-importing #jira UE-53635 Change 4003368 by Michael.Dupuis #jira UE-57276: #jira UE-56239: #jira UE-54547: Make sure we can't go above MaxLOD even for texture streaming Change 4003534 by Alexis.Matte Fix re-import mesh name match #jira UE-56485 Change 4005069 by Michael.Dupuis #jira UE-57594: Add a guard to prevent crash if we have an invalid resource for the heightmap texture (happen when component is deleted, for example) Change 4005468 by Lauren.Ridge Widgets should not be removed from parent when they are pending GC #jira UE-52260 Change 4006075 by Michael.Dupuis Fixed foliage density scaling to be applied even in editor, except in Foliage edit mode. Change 4006332 by Arciel.Rekman UBT: Adding support for bundled toolchains on Linux. - Authored by Anthony Bills, with modifications. Change 4007528 by Matt.Kuhlenschmidt PR #4665: Source control History Window: enlarge column Description (Contributed by SRombauts) Change 4007531 by Matt.Kuhlenschmidt PR #4656: UE-57200: Ignore reference to actor if same actor (Contributed by projectgheist) Change 4007548 by Matt.Kuhlenschmidt PR #4664: Set Password on EditableText (Contributed by projectgheist) Change 4007730 by Brandon.Schaefer Add a new way to symbolicate symbols for a crash at runtime Two new tools are used for this. 1) dump_syms Will generate a symbol file, which is to large to read from at runtime 2) BreakpadSymbolEncoder Takes the dump_syms file and encodes it in such a way we can do a binary search at runtime to find a Program Counter to a symbol we are looking for #review @Arciel.Rekman, @Anthony.Bills #jira UETOOL-1206 Change 4008429 by Lauren.Ridge Fixing undo bug when deleting user widgets from the widget tree #jira UE-56394 Change 4008581 by Cody.Albert Reinitialize needs to set the audio and caption tracks in addition to the video track or the currently selected track will be lost Change 4009605 by Lauren.Ridge Added Recently Opened assets filter under Other Filters in the Content Browser Change 4009797 by Anthony.Bills Linux: Update MultiArchRoot path to not cache. Move in tree toolchain location to match UBT convention and make sure the MultiArchRoot is checked before the system. Change 4010266 by Michael.Trepka Copy of CL 4010052 Moved some key event handling calls to the main thread on Mac to satisfy new macOS requirements #jira UE-54623 Change 4010838 by Arciel.Rekman Linux: limit allowed clang versions to 3.8-6.0. Change 4012160 by Matt.Kuhlenschmidt Changed the messagiing on the crash reporter dialog to reflect new bug submission process #jira UE-56475 Change 4013432 by Lauren.Ridge Fix for non-assets attempting to add to the Content Browser's recent filter #jira none Change 4016353 by Cody.Albert Improved copy/paste behavior for UMG editor: -Pasting in the designer while a canvas is selected will place the new widget under the cursor -Pasting multiple times while a canvas panel is selected in the hierarchy view will cascade the widgets starting at 0,0 -Pasting while something that isn't a panel is selected is now allowed, and will cascade the pasted widgets off the position of the selected widget (as siblings) -Newly pasted widgets will now be selected automatically -Pasting multiple widgets at once will try and maintain their relative positions if they're being pasted into a canvas panel Change 4017274 by Matt.Kuhlenschmidt Added some guards against invalid property handle access #jira UE-58026 Change 4017295 by Matt.Kuhlenschmidt Fix trying to apply delta to a mix of scene components and non scene components. Its acceptable to not have scene components in the selected component list #jira UE-57980 Change 4022021 by Rex.Hill Fix for audio desync and video fast-forwarding behavior. There long delay (500ms+) until samples start arriving unless we use RequestedTimeCurrent. After delay occurs samples begin arriving at accelerated speed until caught up to playback time leading to visual and audio problems. #jira UE-54592 Change 4023608 by Brandon.Schaefer Downscale memory if we dont have enough #jira UE-58073 #review-4023609 @Arciel.Rekman Change 4025618 by Michael.Dupuis #jira UE-58036: Apply world position offset correctly Change 4025661 by Michael.Dupuis #jira UE-57681: Added guard to prevent possible crash if either we have an invalid material or the material parent is invalid Change 4025675 by Michael.Dupuis #jira UE-52919: if no actor was found in the level skip moving the instances Change 4026336 by Brandon.Schaefer Manually generate *.sym files for Physx3 This should be done in the BuildPhysx file Change 4026627 by Rex.Hill Fix memory leak fix when playing video and main thread blocks #jira UE-57873 Change 4029635 by Yannick.Lange Fix VRMode loading assets only when VRMode starts. #jira UE-57797 Change 4030288 by Jamie.Dale Null FreeType face on load error to prevent potential crashes Change 4030782 by Rex.Hill Fix save BuildData after changing reflection capture in a new level #jira UE-57949 Change 4033560 by Michael.Dupuis #jira UE-57710: Added some guard to prevent crash/assert Change 4034244 by Michael.Trepka Copy of CL 4034116 Fixed arrow keys handling on Mac Change 4034708 by Lauren.Ridge PR #4699: UE-8508: Update config file to keep folder color in sync (Contributed by projectgheist) #jira UE-58251 Change 4034746 by Lauren.Ridge PR #4701: Add option to close tabs to the right of the active tab (Contributed by jesseyeh) #jira UE-58277 Change 4034873 by Lauren.Ridge Fix for not being able to enter simulate more than once in a row. #jira UE-58261 Change 4034922 by Lauren.Ridge PR #4387: Commands mapped in incorrect location (Contributed by projectgheist) #jira UE-53752 Change 4035484 by Lauren.Ridge Tentative fix for crash on pasting comment. All other accesses to UMaterialExpressionComment check its validity first #jira UE-57979 Change 4037111 by Brandon.Schaefer Try to use absolute path from dladdr if we can to find the sym files #jira UE-57858 #review-4013964 @Arciel.Rekman Change 4037366 by Brandon.Schaefer Dont check the command line before its inited #review-4037183 @Arciel.Rekman #jira UE-57947 Change 4037418 by Alexis.Matte Remove the checkSlow when adding polygon Change 4037745 by Brandon.Schaefer Use as much info as we can during ensure Just as fast as the old way but with more information #review-4037495 @Arciel.Rekman #jira UE-47770 Change 4037816 by Rex.Hill Import mesh optimization, BuildVertexBuffer Change 4037957 by Arciel.Rekman UBT: make it easier to try XGE on Linux. Change 4038401 by Lauren.Ridge Reordering is now correctly handled by undo. Reordering and then undoing will no longer cause a "ghost" widget to also be part of the tree. #jira UE-58206 Change 4039612 by Anthony.Bills Unix: Check for null StdOut and ReturnCode parameters, otherwise the code may dereference a null variable when the process fails to create. Change 4039754 by Alexis.Matte Remove the Render meshdescription, no need to carry this temporary data in the staticmesh Change 4039806 by Anthony.Bills Linux: UVS fixes - Update to use new Unix base platform. - Use bin/bash instead of usr/bin/bash (may need revisiting later). - Recompile Shipping version with changes. - Update Setup.sh to run from correct CWD (due to current limitations in the relative directory handling). Change 4039883 by Lauren.Ridge PR #4576: Save editor config to file first time a fav folder is added in the co. (Contributed by projectgheist) #jira UE-56249 Change 4040117 by Lauren.Ridge Replacing widgets should now also clear out references to the widget #jira UE-57045 Change 4040790 by Lauren.Ridge Tentative fix for Project Launcher crash when platform info not found #jira UE-58371 Change 4042136 by Arciel.Rekman UBT: refactor of LinuxToolChain to make it leaner and more configurable. - Made it possible to override SDK passed to the toolchain. - Simplified the code by using the same executable names on Windows and Linux (as .exe is optional), except where File.Exists() is needed (also remove a few) - Some minor renames to make it clear that SystemSDK means system compiler (which otherwise may be unclear) - Made changes to accomodate the new debug format. Change 4042930 by Brandon.Schaefer GCoreObjectArrayForDebugVisualizers was changed to FChunkedFixedUObjectArray reflect that in the Unix part Change 4043539 by Brandon.Schaefer Fix callsite address being used at times for the Program Counter Fix only reporting the actual callstack and not the crash handling callstacks #review-4041370 @Arciel.Rekman #jira UE-58477 Change 4043674 by Arciel.Rekman Added Linux ARM64 (AArch64) lib for MikkTSpace. - Now required for standalone games due to EditableMesh runtime plugin. Change 4043677 by Arciel.Rekman Linux: updated ARM64 (AArch64) version of SDL2. Change 4043690 by Arciel.Rekman Linux: allow compiling VulkanRHI for AArch64 (ARM64). Change 4045467 by Brandon.Schaefer Add Anthony Bills SetupToolchain.sh script Used to download the latest toolchain Change 4045940 by Michael.Trepka Return empty list instead of null from Mac GetDebugInfoExtensions() in UBT #jira UE-58470 Change 4046542 by Alexis.Matte Fix skeletal re-import material assignation #jira UE-58551 Change 4048262 by Brandon.Schaefer Rebuild SDL with pulse audio libs #jira UE-58577 Change 3887093 by Anthony.Bills Add bundled mono binary for Linux. - Unify some of the script structure across Mac and Linux. - This currently uses the same mono C# assemblies as Mac to keep the additional source size down. - If the Mac mono version is updated, the Linux version will also need to be updated to match the same mono git revision. - The system version of mono can still be used by setting the UE_USE_SYSTEM_MONO env var to 1. Change 4003226 by Michael.Dupuis Refactored StaticMeshInstancing to now use a command buffer to communicate with the GPU to prevent concurent access issues. It's mostly used in Editor or if runtime changes occur, otherwise the data is built and send to the GPU directly without keeping CPU copy. Changed how the density scaling was applied to be more optimal Removed UseDynamicInstanceBuffer as the concept is now irrelevant Change 3833097 by Jamie.Dale Localization Pipeline Optimization Manifest/Archives: Added FLocKey to keep an immutable string and its hash. This is used in several places within manifests and archives to minimize string hashing. FLocTextHelper also now take these in its API. This also fixes some places where manifests were being iterated by key rather than source string (as this was causing redundant work). Portable Object: Cleaned up a lot of redundant code, changed things to use FLocKey, and simplified a lot of string manipulation to use algorithms instead (which proved to be faster). Asset Gathering: Optimized the way garbage collection runs while gathering from assets so that we avoid purging assets that we still need to gather from (or are still active dependencies). This also sorts the assets so that we can try and evict dependencies from memory as soon as possible (in much the same way that the cooker does). Automation: The gather commandlet can now take multiple configs to process. This is used by automation to avoid starting the editor several times (which can save a significant amount of start-up overhead). [CL 4052378 by Lauren Ridge in Main branch]
2018-05-04 14:14:10 -04:00
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor [at] 4327887) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3813004 by Matt.Kuhlenschmidt Fix dpi scale being wrong when there is a mix of high dpi and low dpi monitors and the editor opens the window on the low dpi monitor Change 3946515 by Michael.Trepka Reverted CL 3813004. We need to save editor's root window size and position in DPI-independent units, as that's what the loading code expects. Change 4052825 by Brandon.Schaefer Add back -funwind-tables for arm This was removed an only tested on x86 which worked just fine. Arm reqiures this for backtrace #jira none Change 4055318 by Brandon.Schaefer Remove extra mallocs when crash handling Still need to look into gmalloc calls, such as using FStrings during Ensure/Crash handling [at]Arciel.Rekman #jira UE-58538 Change 4055623 by Brandon.Schaefer Replace std::endl with "\n" As std::endl is "\n" << std::flush. On windows dump_syms was taking 33 seconds to fflush with std::endl on a 1.2GB file. No longer with "\n". [at]Josh.Engebretson Change 4057102 by Jamie.Dale Added missing API export Change 4057384 by Rex.Hill Fix ReversePolygonFacing crash Change 4067426 by Matt.Kuhlenschmidt PR #4667: Source control history: remove empty spacing in the right of the detail panel (Contributed by SRombauts) Change 4067587 by Matt.Kuhlenschmidt PR #4311: PlacementModeTools shapes searchable and thumbnail (Contributed by projectgheist) Change 4068480 by Cody.Albert Fix display name for Display UI Extension Points Change 4070876 by Brandon.Schaefer Avoid printing when in a signal handler. Put that off until the end #jira UE-36663 [at]Arciel.Rekman, [at]Anthony.Bills Change 4071980 by Brandon.Schaefer Cache files that are invalid or the wrong case sensitivity #jira UE-58250 [at]Arciel.Rekman Change 4079967 by Matt.Kuhlenschmidt Added scale parameter to Canvas::DrawText #jira UE-59023 Change 4080228 by Alexis.Matte Fix the PerPlatformPropertiesWidget to be readable when there is many platform #jira UE-57556 Change 4081171 by Matt.Kuhlenschmidt PR #4272: Fix typo. (Contributed by Damianno19) Change 4081601 by Matt.Kuhlenschmidt GitHub 4077 : Hide SDetailView Filterbox when no actor selected Change 4090114 by Matt.Kuhlenschmidt Fixed touch events simulated through mouse not respecting high dpi #jira UE-59477 Change 4091999 by Matt.Kuhlenschmidt Fixed insert/delete/duplicate children calling PostEditChange on the existing child node not the array Change 4093187 by Arciel.Rekman Do not save window position if running with -nullrhi (UE-52498). - This also fixes a crash on exiting automation tests. #jira UE-52498 Change 4096404 by Richard.TalbotWatkin Resaved test assets to update to latest UStaticMesh serialization format. Change 4096445 by Richard.TalbotWatkin New serialization layout for UMeshDescription. - Only the bare minimum is serialized: any internal values which can be inferred from others in the Mesh Description are omitted. - Triangles are no longer serialized: a triangulation step is performed per polygon when serialized. - Attribute arrays of simple types are now serialized with BulkSerialize for speed; only FName requires element-by-element serialization. Change 4112843 by Brandon.Schaefer Rebuilt replacing std::endl with '\n' avoiding a std::flush *pre* write Was taking 30 seconds to std::flush on a 1.2 GB file #jira none Change 4113422 by Brandon.Schaefer If we are using the native bundled toolchain set LC_ALL=C to avoid locale issues #jira UE-59416 Change 4113849 by Cody.Albert Fix support for toolbar extensions in the UMG editor Change 4118758 by Richard.TalbotWatkin - Refactor to put UStaticMesh Mesh Descriptions in a separate object which is not loaded by default, but which can be requested when needed. This needs to be kept in sync with the number of SourceModel LODs. - Various refactors to import/building. - Changed UMeshDescription to FMeshDescription, and made its preferred semantics pass-by-reference rather than by pointer. - Deprecated UMeshDescription. Change 4119883 by Rex.Hill Cleanup blueprint callable categories Landscape Editor -> Landscape|Editor Landscape Runtime -> Landscape|Runtime Cloth -> Clothing Simulation Cinematics -> Cinematic Utility -> Utilities Change 4119898 by Rex.Hill Cleanup blueprint callable categories x|Magic Leap -> Magic Leap|x Apple ARKit * -> Apple ARKit|* Change 4119972 by Brandon.Schaefer Dont add colors if we are not outputing to a terminal #jira UE-58173 Change 4119994 by Brandon.Schaefer Only check once if we are outputing to a terminal #jira UE-58173 Change 4122654 by Alexis.Matte Fix re import assignment of sections #jira UE-59611 Change 4123536 by Alexis.Matte Add to the fbx importer the possibility to use different sample rate when importing an animation. #jira UE-59444 Change 4124702 by Brandon.Schaefer Fix duplicated struct/class from slightly different submit into main coming back into dev-editor #jira UE-60163 Change 4133449 by Mike.Erwin glTF importer work Foundations of work for Skeletal Mesh import; right now we just support Static Mesh. - node hierarchy - joint IDs & skinning weights - matrix & quaternion values #jira none Change 4133749 by Matt.Kuhlenschmidt PR #4771: Fix access violation for ImportAsset commandlet fbx reimport. (Contributed by UristMcRainmaker) Change 4133758 by Matt.Kuhlenschmidt PR #4675: Properly set TextScale for OnScreenDebugMessages (Contributed by projectgheist) Change 4134543 by Alexis.Matte Update the staticmesh LOD model max deviation when generating a LOD #jira UE-60353 Change 4134559 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - Editor scripting utilities #jira UE-60666 Change 4134560 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - SpeedTreeImporter #jira UE-60667 Change 4135335 by Alexis.Matte Deprecate FRawMesh - GLTF importer #jira UE-60670 Change 4135857 by Alexis.Matte Fix CIS build warning #jira none Change 4137249 by Matt.Kuhlenschmidt Fix tiny fonts from appearing in slow task dialogs Change 4137280 by Matt.Kuhlenschmidt Fix specifying relative paths for the auto-import commandlet not working Change 4137283 by Matt.Kuhlenschmidt PR #4305: Light map index was unintialized (Contributed by DSDambuster) Change 4137290 by Matt.Kuhlenschmidt PR #4382: Prevent error log due to non-existing plugin directory (Contributed by projectgheist) Change 4147032 by Alexis.Matte Deprecate FRawMesh, replace by MeshDescription - ABC Importer #jira UE-60702 Change 4147978 by Matt.Kuhlenschmidt Fix one of the CIS fails Change 4154874 by Matt.Kuhlenschmidt Fix hidden asset properties in struct details panels. We consider all object properties with "allowedclasses" metadata to be asset properties since they only show an asset picker. Change 4167303 by Matt.Kuhlenschmidt Work around for sync to content browser from details panels not working for interface properties Change 4167388 by Matt.Kuhlenschmidt Make sure when converting relative path filenames in automated import that we convert them relative to the project directory. Change 4171891 by Matt.Kuhlenschmidt Fix preview mesh actor becoming stuck to the cursor when the editor or viewport loses focus #jira UE-61246 Change 4175503 by Cody.Albert Updated variable details panels to not display unusable metadata options for UMG widget references #jira UE-55078 Change 4175736 by Cody.Albert PR #4663: UE-20103: Slate widgets retain their category name v2 (Contributed by projectgheist) Change 4178937 by Rex.Hill Fix crash opening level after removing as sublevel jira: UE-61305 Change 4181097 by Matt.Kuhlenschmidt Fix Linux/Mac CIS Change 4184333 by Alexis.Matte Fix the material ID assignation when re-importing static mesh #jira none Change 4199682 by Arciel.Rekman Linux: enable XGE during cross-builds to see whether the build issues persist. - Licensees are asking for this and XGE folks are eager to help investigating the crashes, if any. Change 4200944 by Cody.Albert Updated VR Mode button to become inactive during SIE (instead of disappearing altogether) #jira UE-50220 Change 4204817 by Alexis.Matte Enable or disable the morph target weight slider depending of the project settings. #jira UE-61671 Change 4204821 by Alexis.Matte Optimize import time for morph targets #jira UE-61670 Change 4207394 by Cody.Albert PR #3299: UMG Slider Additions (Contributed by Dzuelu) Change 4208299 by Brandon.Schaefer Fix warning/error with logical operators #jira none Change 4210660 by Cody.Albert PR #3458: UE-43728: Always show scrollbar when necessary (Contributed by projectgheist) #jira UE-43727, UE-43278 Change 4215684 by Brandon.Schaefer Linux: Implement minimized function for LinuxWindow #jira UE-56023 Change 4217350 by Brandon.Schaefer Linux: Clean up IsMaximized #jira none Change 4217489 by Brandon.Schaefer Linux: Make popup menus BORDERLESS. Slate will give the menu events This appears to fix a lot of our grabs causing compiz to do something issue. #jira UE-59237, UE-54085, UE-51407, UE-50018, UE-53915 Change 4225018 by Cody.Albert UMG Hierarchy now remembers expansion state when being destroyed and recreated (due to closing widget or switching to Graph view) #jira UE-61836 Change 4225088 by Cody.Albert Added hover style for color picker slider Change 4226081 by Richard.TalbotWatkin New attribute array API. Fixed some flaws in the original API, deprecated various methods, and introduced some new features. - Now attribute arrays are accessed via TAttributesRef or TAttributesView (and corresponding const versions). These value types hold references to attribute arrays, and individual elements can be accessed by their element ID and attribute index. Using a value type is safer than the previous method which required assignment to a const-ref (and not doing so would take a temporary copy of the attribute array). - The attribute set has been totally flattened, so all attributes of different types are added to the same container. This greatly improves compile times, prevents attributes from being created with the same name but different types, and permits the view feature. - The class hierarchy has changed to have generic base classes where possible with no particular ElementID type. This reduces the code footprint by no longer generating nearly identical copies of templated methods. - A TAttributesView allows the user to access an attribute array by the type of their choosing, regardless of its actual type. For example, the Normal attribute may be registered with type FPackedVector, but accessed as if it was an FVector. This allows us to move away from very strong typing, and instead transparently store attributes of a more efficient size, while the user is not affected. - A transient attribute flag has been added, to denote that a particular attribute should not be saved. Change 4226083 by Richard.TalbotWatkin Reinstated original mesh editor materials. Change 4226102 by Richard.TalbotWatkin Fixed some deprecation warnings, and a mistake in MeshAttributeArray.h. Change 4226118 by Richard.TalbotWatkin Fix build errors: - Added missing file - Corrected the last fix. Change 4226121 by Richard.TalbotWatkin Bumped static mesh mesh data GUID. Change 4226231 by Richard.TalbotWatkin Removed some test code which got checked in by mistake. Change 4226232 by Richard.TalbotWatkin Fixed typo which caused build errors. Change 4226234 by Richard.TalbotWatkin Fixed a typo in MeshDescriptionTests. Change 4226237 by Richard.TalbotWatkin Removed over-cautious deprecation warnings. Once GetAttributes() is changed to GetAttributesRef(), element access will still work with array syntax. Change 4226625 by Richard.TalbotWatkin Added missing asset. Change 4227365 by Matt.Kuhlenschmidt Fix brush actors not showing the correct icon in scene outliner. - Actors can now supply their own icon if needed #jira UE-61948 Change 4229632 by Alexis.Matte Make the namespace an import option #jira UE-62099 #jira UE-62067 Change 4229637 by Alexis.Matte Fix fbx importer staticmesh the light map index, the index was check before the build. #jira UE-62064 Change 4232793 by Chris.Gagnon Added include to fix non unity builds. #jira UE-62138 Change 4234206 by Brandon.Schaefer Linux: Allow windows that want to be resizable to be resizeable Github PR #3578 thanks hhyyrylainen #jira UE-45847 Change 4234322 by Brandon.Schaefer Continue after starting UnrealVersionSelector to avoid blocking a chain command #jira UE-61530 Change 4234446 by Chris.Gagnon Properly handled FPackageName::TryConvertFilenameToLongPackageName() failing in Cache Thumbnail. #jira UE-61990 Change 4235057 by Brandon.Schaefer Linux: Write to stderr when we fail to find expected to find sym file #jira none Change 4235121 by Brandon.Schaefer Linux: Mark the static bool as soon as we enter the scope #jira none Change 4235399 by Brandon.Schaefer Linux: Check we are not x86 otherwise add unwind tables Copying the change that went over into 4.20.1 here #jira none Change 4240539 by Jamie.Dale Made DataTableUtils::GetX functions take a const data pointer Change 4240646 by Chris.Gagnon Fix for delayed destruction of UWidgets when they are manually removed from a panel as part of tear down. Inspired by the pull request, however I put in a more generic fix. PR #4904: Fix late release of Slate resources managed by UMG slot widgets (Contributed by cmp-) Change 4242975 by Yuriy.ODonnell Moved duplicated code from MeshUtilities and MeshDescriptionOperations (FLayoutUV, FAllocator2D, FOverlappingCorners, etc.) into a new single module MeshUtilitiesCommon. Add a generic opaque mesh view interface FLayoutUV::IMeshView to abstract mesh data access and allow FLayoutUV to be used with any mesh type in any module. Replaced few instances of using an old version of overlapping corners data structure (multi-map) with new specialized FOverlappingCorners container. Change 4243112 by Yuriy.ODonnell Use new attribute array API for accessing FMeshDescription data. Change 4243131 by Brandon.Schaefer Cast our new resize w/h to int before checking if we are already that size #jira UE-52291 Change 4243172 by Brandon.Schaefer Ceil not trunk for this compare #jira none Change 4243271 by Brandon.Schaefer Change address to be more portable MS compiler does not place a '0x' on %p formating. Linux/Mac append a '0x' to the address #jira UE-62325 Change 4243276 by Richard.TalbotWatkin Fixed deprecated MeshDescription calls (merged with Yuriy's changes). Change 4244067 by Lauren.Ridge Preventing crash on floating text if asset container does not exist. VR Editor floating text is now not placeable or blueprintable. #jira UE-62139 Change 4244547 by Lauren.Ridge Changes to more accurately represent android behavior in PIE and UMG #jira UE-62301 Change 4244830 by Alexis.Matte Fix animation Range import, prevent changing the option when validating the anim range. #jira UE-62055 Change 4250565 by Yuriy.ODonnell Removed GeometryCache dependency on MeshUtilitiesCommon in non-editor configs. Change 4254733 by Matt.Kuhlenschmidt Slate Fast Path - Changed FSlateWindowElementList GetWindow to be thread safe. For fast path, this is accessed on multiple threads so it needs to be safe GetWindow is deprecated and GetPaintWindow should be used instead Edigrate from source CL 4254611 Change 4257092 by Chris.Gagnon Improved UMG rename validation to respect the errors from the blueprint validator. This fixes at least the case where it miss reported the issue when the name was greater than the length limit in blueprints. #jira UE-62417 Change 4257124 by Chris.Gagnon PR #4924: UE-62113 Fix Other filters toggling all assets to show up (Contributed by mamoniem) #jira UE-62457 Change 4258696 by Chris.Gagnon Removed Tab Spawner for Color Curve Editor is your not editing the color curve. #jira none Change 4258937 by Chris.Gagnon Simplifed the code in the case of a null CurveOwner. #jira UE-62443 Change 4259162 by Richard.TalbotWatkin Fixed crash when entering mesh editor mode after having loaded a new level. Change 4259909 by Chris.Gagnon Added better check output to try and learn more about a crash in the wild. Added some better const saftey while in there. #jira UE-60696 Change 4259995 by Chris.Gagnon Fix for possible crash if the mesh has invalid materials. Also fixed the fact the FindMaterialIndicesUsingTexture() didn't work as advertised at all. Seems like you'd attemp to paint all materials even when trying to only paint the ones using a particular texture. #jira UE-62488 Change 4261012 by Michael.Dupuis #jira UE-48899: Make sure the RootComponent is valid before trying to use it. Change 4261361 by Michael.Dupuis #jira UE-48899: Fixed the warning about scale Change 4261926 by Michael.Dupuis #jira UE-48899: Only check the root component validity as it's possible that the component is not registered when this get called. Change 4262163 by Richard.TalbotWatkin Fixed uninitialized member. #jira UE-62493 #jira UE-62506 Change 4262549 by Brandon.Schaefer Linux: Update the Slate application what the window size will most likely be As X11 takes a frame to send an Event that a window has had its size changed. This causes things such as the slate renderer to think the window size is different then it actually it. This causes streching of tooltips #jira UE-62555 Change 4262581 by Brandon.Schaefer Linux: Use Show so we preserve our bIsVisible bool and avoid sending SDL_ShowWindow twice (ie. if its already shown) #jira none Change 4262906 by Chris.Gagnon PR #4915: [UMG] Bind UWidgetAnimation from C++ to blueprint created animation (Contributed by TheCodez) Change 4262965 by Chris.Gagnon PR #4932: Fix to generate cleaner C++ files when using "New C++ Class" (Contributed by TheCodez) Change 4263177 by Chris.Gagnon PR #4935: Prevent crash when clicking use selected game mode multiple times (Contributed by projectgheist) Change 4264723 by Christina.TempelaarL Fixed SceneCaptureComponent so ShowOnlyActors property is writeable in blueprints. #jira UE-62547 Change 4266029 by Michael.Dupuis #jira none: Guarded against the scene being null Change 4266356 by Richard.TalbotWatkin Changed FMeshDescription to a struct from a class. Added log errors when loading UMeshDescription objects (now deprecated), in preparation to resave any which remain. Once all serialized UMeshDescriptions are wiped out (they only exist internally), FMeshDescription will become a USTRUCT. Change 4266621 by Matt.Kuhlenschmidt Fix UE4 icon to be the correct one Change 4266635 by Chris.Gagnon Added Message Log output for invalid software cursor as opposed to ensure/log. #jira UE-62554 Change 4268136 by Matt.Kuhlenschmidt Fix outline colors not updating when changing on the fly #jira UE-42116 Change 4269184 by Chris.Gagnon Fix for possible nullptr dereference. #jira none Change 4269902 by Brandon.Schaefer Slate dialog modal window was not settings its parent window #jira UE-62608 Change 4272083 by Chris.Gagnon Fix for case where the the property noded arn't rebuilt in time and custom property ui can be using stale data. #jira UE-62499 Change 4272869 by Michael.Trepka Make sure ShooterGame sets correct input modes/mouse capture in menus and in game to avoid problems with keyboard not working in menus after alt-tab #jira UE-61017 Change 4275155 by Michael.Dupuis #jira UE-62526: Update lightmap/shadow UV mapping after lighting build on HISMC. ISM will get also updated due to the Edit() that will reapply the values on CreateSceneProxy Change 4275298 by Lauren.Ridge Fixed string parsing when looking at parent cvar values #jira UE-62301 Change 4275391 by Lauren.Ridge Fix for resolutions increasing when swapping landscape/portrait Change 4275606 by Lauren.Ridge Moving all asset container access to PostActorCreated to avoid VR editor assets in cooks #jira UE-57797 Change 4275807 by Lauren.Ridge Duplicating color themes now dupllicates the color labels as well #jira UE-60697 Change 4275989 by Lauren.Ridge When selecting a node while the details panel is behind a different panel in the same dock tab, the details panel is brought forward #jira UETOOL-1325 Change 4276146 by Lauren.Ridge Fix for new texture sample nodes not taking the selected texture from the content browser as the starting value. #jira UETOOL-1322 Change 4276412 by Lauren.Ridge Assets that can be dragged into the material graph now indicate that with a checkmark #jira UE-56024 Change 4279549 by Lauren.Ridge Fixed recursion of calls through SetDesignerFlags to avoid double-recursion with many nested panels #jira none Change 4279894 by Lauren.Ridge Adding check for RootWidget existing Change 4279969 by Michael.Trepka Updated FDesktopPlatformMac::FileDialogShared() to handle a case where no extensions were specified in FileTypes string #jira UE-62421 Change 4280317 by Lauren.Ridge Adding if WITH_EDITOR Change 4280716 by Chris.Gagnon PR #4979: UE-62795: Deprecate bAutoWrapText in TextBlock (Contributed by projectgheist) Slightly modified, the base syncronize sets the autowrap value. Change 4280847 by Lauren.Ridge Single property setting changes will now also call OnModified delegate for their section #jira UE-58276 Change 4280850 by Chris.Gagnon Added early out and log if focus is attempted to be set when the window is suppost to be be disabled due to a modal window being up. #jira UE-62742 Change 4280931 by Brandon.Schaefer Linux: Use MallocCrash when hitting out of memory issues in BinnedAllocFromOS #jira FORT-108267 Change 4281460 by Lauren.Ridge Clearing focus on a variable once it is committed. Fixes assert on undo #jira UE-61872 Change 4283706 by tim.gautier QAGame: Adding HISM test map / assets Change 4283980 by Michael.Trepka Unshelved from pending changelist '4238012': Xcode project generator improvements - Per-project precompiled header that wraps UnrealEd.h with #ifdef __cplusplus to allow Xcode to compile the pch in ObjC mode. Later we could replace UnrealEd.h with some other header file for non-editor targets - Moved commands that disable compile warnings from MacToolChain's GetCompileArguments_Global to ApplePlatformCompilerPreSetup.h. Thanks to this we can have all the Xcode recommended warnings enabled in the project, but still allow Clang to index our code without reporting warnings - Few more minor changes to fix Xcode's project validation and indexing warnings Also, unify compile warning flags across all Apple platforms. #jira UE-47965, UE-44327 Change 4284062 by Michael.Trepka Copy of CL 4222794 from 4.20 Fixed a crash at exit in Mac editor caused by an attempt to use MetalProfiler after deleting it #jira none Change 4284266 by Brandon.Schaefer Linux: Fix deadlock in a file cache which could be locked in a crash handler #jira UE-62808 Change 4284469 by Lauren.Ridge Fix for material parameter node crashing Change 4284541 by Lauren.Ridge Blueprints inheriting from UWidget will now show up in the palette view even if they are not loaded. #jira UE-59164 Change 4284542 by Michael.Trepka Copy of CL 4222797 Fixed a problem with FMacPlatformMisc::NormalizePath allocating an autorelease pool during crash handling, which resulted in the OS killing the process before we spawn CrashReportClient. Now this function is identical to Linux version. #jira UE-61779 Change 4285288 by Cody.Albert Fixed crash when changing "Show Coalesced" setting in profiler Change 4285483 by Chris.Gagnon PR #4936: Duplicate widget functionality for UMG editor (Contributed by projectgheist) Fixed up some variable names. #jira UE-62528 Change 4287219 by Brandon.Schaefer dump_syms: Replace inline file/line with their callsite over the inline location Fix <name omitted> appearing as the names for the function Disable CFI generation for Windows (Linux theres a command line). Speeds up symbol generation #jira FORT-670 Change 4287247 by Brandon.Schaefer BreakpadSymbolEncoder: If the file doesnt have a newline at EOF handle that as a seperate case #jira none Change 4287259 by Brandon.Schaefer dump_syms: Build on centos7 #jira none Change 4287269 by Brandon.Schaefer Linux: Disable generating CFI info when running dump_syms #jira none Change 4287326 by Brandon.Schaefer dump_syms: Update to disabling the CFI generation version #jira none Change 4287902 by Brandon.Schaefer TestPAL: Add cases for testing inline callstacks #jira UEENGQA-21414 Change 4288365 by Lauren.Ridge PR #4422: Set default material parameter name (Contributed by projectgheist) Change 4292002 by Brandon.Schaefer Linux: If our default settings are empty help fill in the proper name #jira UE-62910 Change 4292496 by Lauren.Ridge Now all renamable nodes do name verification also Change 4292532 by Lauren.Ridge PR #4989: Add icons to folder context menu favorites (Contributed by projectgheist) Change 4293043 by tim.gautier QAGame: Added a panner to ML_Albedo Change 4295326 by Richard.TalbotWatkin - Updated MeshDescription attribute calls to fix deprecation warnings. - Removed TMeshAttributeArraySet::AddArray because the functionality was already available as part of SetNumIndices. - Renamed TMeshAttributeArraySet::InsertArray, RemoveArray to InsertIndex, RemoveIndex for naming convention consistency (these methods deal with attribute indices, not with arrays). Added support for them in other attribute classes, and made them virtual so they can be called as part of an AttributesView. - Removed redundant code in FUSDStaticMeshImportState::AddPolygons, when determining the number of UVs in the mesh description. Change 4295795 by Richard.TalbotWatkin Corrected MAX_MESH_TEXTURE_COORDS_MD references. Change 4297308 by Cody.Albert Fixed bug with InputPreProcessorsHelper::Add not correctly adding input processors Change 4297799 by Brandon.Schaefer Linux: Dont assume DISPlAY=:0 #jira UE-63050 Change 4298150 by Brandon.Schaefer dump_syms: This is rebuilding dump_sym changes from CL 4287219 for Mac Replace inline file/line with their callsite over the inline location Fix <name omitted> appearing as the names for the function Disable CFI generation for Windows (Linux theres a command line). Speeds up symbol generation Source code changes for dump_syms was changed at CL 4287219 #jira none Change 4298369 by Brandon.Schaefer dump_syms: Rebuild for Linux/Windows to fix a possible crash when missing debug_ranges in the debug section Source changed in CL 4298150 #jira none Change 4301952 by Lauren.Ridge Fixing input labels on material function inputs #jira UE-63077 Change 4302388 by Brandon.Schaefer Linux: If we have a 0 LineNumber lets try to use to the previous Record. Still an issue with non-virtual thunks reporting line number zero but it seems even windows skips these frames. GDB reports a different callsite that doesnt seem super related (possibly?) Nothing to do with thunking though. #jira UE-62930 Change 4304835 by Alexis.Matte Add imported framerate info to anime sequence #jira UE-51302 Change 4307480 by Brandon.Schaefer SDL2: Update to newer version hg-12121:4358e537000a Fixed github PR #4844 as well (thanks tomix1024) #jira UE-62783 UE-61369 Change 4307481 by Brandon.Schaefer SDL2: Rebuild with the newer version hg-12121:4358e537000a Fixed github PR #4844 as well (thanks tomix1024) #jira UE-62783 UE-61369 Change 4308264 by Brandon.Schaefer Linux: Make both DLLIMPORT the same value #jira UE-61174 Change 4308640 by Matt.Kuhlenschmidt Added a "report bug" menu entry to the help menu #jira UE-63182 Change 4309508 by Brandon.Schaefer nvTextureTools: Rebuild on Linux using our libc++ and not libstdc++ Move to the proper runtime depend location #jira UE-54892 UE-61705 Change 4309554 by Brandon.Schaefer SDL2: Add last missing folder #jira none Change 4309955 by Chris.Gagnon PR #5017: UE-63105: Modify SGraphActionMenu::OnKeyDown to use a different branc. (Contributed by projectgheist) Change 4311008 by Brandon.Schaefer nvTextureTools: Actually remove libstdc++ from Linux build #jira UE-54892 Change 4312195 by Alexis.Matte - Fix the set range feature to always use the file sample rate so the range match what the user see in the DCC - Also add some fbx file information to the import dialog #jira UE-62504 Change 4315347 by Brandon.Schaefer Linux: Disable XGE builds as it appears to be lower casing folders when the build platform is Windows #jira UE-63296 Change 4318704 by Lauren.Ridge Fix for crash on opening map built data #jira UE-63301 Change 4319999 by Lauren.Ridge Fix for crash in vr mode #jira UE-63376 Change 4320144 by Chris.Gagnon Fix for smoke content that set the hovered size different to the normal size on the UMG slider handle. #jira UE-63367 Change 4327887 by Michael.Trepka Disable nonportable-include-path warning in iOS toolchain to allow incorrect case in paths to headers passed using -include #jira UE-63408 Change 4217622 by Brandon.Schaefer Linux: Pass a command line argument to crash reporter to show or skip a user agreement popup #jira none Change 4312048 by Brandon.Schaefer Linux: Dont disable ICU by default on Servers #jira UE-59113 Change 4320173 by Chris.Gagnon Fix for startup movie streamer on xbox not finishing. #ROBOMERGE-OWNER: jason.bestimt #ROBOMERGE-SOURCE: CL 4329255 in //UE4/Main/... #ROBOMERGE-BOT: DEVVR (Main -> Dev-VR) [CL 4329265 by chris gagnon in Dev-VR branch]
2018-08-29 18:37:17 -04:00
return Out;
Copying //UE4/Dev-Editor to //UE4/Dev-Main (Source: //UE4/Dev-Editor @ 4048875) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3808185 by Cody.Albert Added missing calls to FEditorViewportClient::AddReferencedObjects in overrides Change 3809824 by Michael.Trepka Improved the way we generate groups in Xcode project's source code navigator. They are now sorted alphabetically and have correct paths so Xcode no longer displays them in red. Also, added __INTELLISENSE__ to preprocessor definitions for indexing to improve indexing without game header files generated. Change 3810089 by Jamie.Dale Fixed PO files failing to import translations containing only whitespace Change 3811281 by Matt.Kuhlenschmidt PR #4331: Toggle SIE shortcut only in PIE (Contributed by projectgheist) Change 3813031 by Matt.Kuhlenschmidt Fix undocked tabs not dropping at users mouse location #jira UE-53427 Change 3813361 by Brandon.Schaefer Print what SDL video driver we are using Change 3818430 by Matt.Kuhlenschmidt PR #4365: Incorrect font name and forgotten undef (Contributed by projectgheist) Change 3818432 by Matt.Kuhlenschmidt PR #4366: Asset Color Strip updates correct on drag and drop (Contributed by projectgheist) Change 3818436 by Matt.Kuhlenschmidt PR #4367: Improved logging (Contributed by projectgheist) Change 3819886 by Matt.Kuhlenschmidt Add a way to optionally disable the warning about referenced actors being moved to other levels. Useful for bulk actor moves via script Change 3819888 by Matt.Kuhlenschmidt Avoid crashing when a window size becomes too large to render. Instead just ensure and clamp to the maximum allowed size. Avoids crashes where the screen dimensions are saved with super large numbers for unknown reasons Change 3821773 by Brandon.Schaefer Fix crash when importing to level #jira UE-31573 Change 3821892 by Jamie.Dale Improved the localized asset cooking so that it only cooks L10N variants if their source asset is cooked #jira UE-53010 Change 3823714 by Christina.TempelaarL #jira UE-52179 added support for grayscale PSD files Change 3826805 by Christina.TempelaarL #jira UE-49636 SceneCaptureComponent2D hidden actor and show only actors disabled in blueprints #jira UE-53445 SceneCaptureComponent2D hidden actors always disabled in details layout Change 3828444 by Anthony.Bills Add LXC container script for building third party libraries. The intention is that this should become the only way to rebuild the third party libraries that require system dependencies not included in the cross-compile toolchain and also to rebuild the toolchains. Other third party libraries without any system dependencies could be rebuilt via the cross-compile toolchains/UBT. This script has been tested running on CentOS 7 and Ubuntu 17.10. Buy default the x86 and x86_64 builds will be built against a CentOS 6 container (and targeting glibc 1.12) and the aarch64 and armhf builds will use an Ubuntu Ubuntu Trusty (14.04) but this is not yet complete. Change 3828754 by Brandon.Schaefer Linux: Fix gamepad thumbstick clicks not registering (github #4209 thanks J??rn M??ller) #jira UE-45722 #review-3828733 Arciel.Rekman Change 3830414 by Brandon.Schaefer Remove circular referencing to a parent window. Move to use AddSP vs AddRaw as well to be safe manually remove ourselves from the selection event delegate list due to Linux pending deletion of windows. Looks like this should fix UE-28322 as well which I've removed the work around placed in for that. #jira UE-53918 #review @michael.trepka, @matt.kuhlenschmidt, @arciel.rekman Change 3830916 by Brandon.Schaefer More verbose message about missing VK extensions (from Marcin Undak) #review-3830710 marcin.undak, arciel.rekman Change 3831339 by Brandon.Schaefer Default to as-needed for debug mode #jira none #review-3830658 Arciel.Rekman Change 3833102 by Jamie.Dale Re-added warning for duplicate package localization IDs when gathering asset localization Change 3834600 by Jamie.Dale Optimized asset registry filter intersection Change 3838024 by Brandon.Schaefer Remove tracking of CLion/CMake build files (from github #4346 thanks reapazor!) #jira UE-53551 #review-3835803 arciel.rekman Change 3839969 by Michael.Dupuis #jira UE-52289: When OnRegister is called on the component make sure our PerInstanceRenderData is up to date Prevent a possible crash if ClearInstanceSelection was called on a component with no PerInstanceRenderData existing Change 3840049 by Michael.Dupuis #jira UE-52975: Was always performing the equivalent of an Add, so now we use the Transform during the duplicate Change 3840071 by Matt.Kuhlenschmidt - Combine some shader params for slate in order to reduce overhead setting uniform buffers - Added better stats for slate draw call rendering - cleaned up huge lambda in Slate rendering main function so we can read the main slate rendering function again Change 3840291 by Michael.Dupuis #jira UE-53053: Was having a mismatch between the remove reorder and the actual remove Change 3840840 by Michael.Dupuis #jira UE-53944: Make sure the LOD generated is in the valid range to prevent the crash Change 3842072 by Michael.Dupuis #jira UE-50299: Include NumSubsection in calculation of component quad factor Change 3842487 by Christina.TempelaarL #jira UE-50573 HighResShot has wrong res in immersive mode Change 3845702 by Matt.Kuhlenschmidt PR #4381: DefaultASTCQualityBySpeed too high max value. (Contributed by kallehamalainen) Change 3845706 by Matt.Kuhlenschmidt PR #4388: Only restore window if minimized (Contributed by projectgheist) Change 3845993 by Christina.TempelaarL #jira UE-41558 crash when selecting PostProcessingVolumes in separate levels Change 3856395 by Brandon.Schaefer No longer using ALAudio on Linux #jira UE-53717 Change 3858324 by Michael.Trepka Preserve command line arguments in Xcode project when regenerating it Change 3858365 by Michael.Dupuis #jira UE-52049: There was a case where adding and removing multiple time would lead to reordering the instances and this would cause the regeneration of the random stream for all the reorded instances. Change 3858492 by Michael.Trepka Updated dependencies for Mac dSYM files so that only cross-referenced modules have their dSYMs recreated on subsequent builds instead of all modules. Change 3859470 by Michael.Trepka CIS fix. Make sure a scheme file exists before trying to read it when generating Xcode project. Change 3859900 by Joe.Conley Fix for "Check Out Assets" window not properly receiving focus. Change 3865218 by Michael.Dupuis #jira UE-45784: Exposed the possibility to edit LDMaxDrawDistance Change 3866957 by Michael.Dupuis #jira UE-42509: Added BodyInstance to ULandscapeSplineSegment and ULandscapeSplineControlPoint Deprecated bEnabledCollision and migrate data as it's replaced by BodyInstance Change 3867220 by Cody.Albert Fixed Project Launcher scrollbar to properly stay anchored at the bottom of the scroll area. Change 3869117 by Michael.Dupuis #jira UE-42509:Fixed compile error when not having editor data Change 3872478 by Arciel.Rekman Linux: disable PIE if compiler enables it by default. Change 3874786 by Michael.Dupuis #jira UE-46925: Remove the guessing functionality when importing a heightmap, and instead propose to the user valid size that can be used for the import through a combo button. Improved usability of the UI by disabling size field when no file was specified Change 3875859 by Jamie.Dale Implemented our own canonization for culture codes Change 3877604 by Cody.Albert We now validate actor names passed to SetActorLabel to ensure None isn't passed in, which can corrupt levels Change 3877777 by Nick.Shin PhysX build fix - this came from CL: 3809757 #jira UE-54924 Cannot rebuild Apex/PhysX/NvCloth .emscripten missing Change 3881693 by Alexis.Matte Fix local path search to not search in memory only #jira UE-55018 Change 3882512 by Michael.Dupuis #jira none : Fixed screen size calculation to take aspect ratio into account correctly Change 3886926 by Arciel.Rekman Linux: fixed checking clang settings during the cross-build (UE-55132). #jira UE-55132 Change 3887080 by Anthony.Bills Updated SDL2 build script. - Now allows compiling inside a CentOS 6 or Ubuntu 12.04 container with wayland support when using the ContainerBuildThirdParty.sh. - Added multiple build arch support to the BuildThirdParty script and pass this down to the SDL2 build script. Change 3887260 by Arciel.Rekman Linux: fix leaking process handles in the cross-toolchain. Change 3889072 by Brandon.Schaefer Fix RPath workaround, to better handle both cases #jira UE-55150 #review-3888119 @Arciel.Rekman, @Ben.Marsh Change 3892546 by Alexis.Matte Remove fbx exporter welded vertices options #jira UE-51575 Change 3893516 by Michael.Dupuis Remove static mesh instancing async buffer filling, as with all the changes made, it's no longer necessary, the cost of loading very large buffer is negligable Rebuild the occlusion tree when using foliage.DensityScale with something other than 1.0 Change 3894365 by Brandon.Schaefer Pass FileReference over a raw string to the LinkEnvironment #jira none #review-3894241 @Ben.Marsh, @Arciel.Rekman Change 3895251 by Brandon.Schaefer Use X11 pointer barriers to bound the cursor to a region over warping the pointers. Patch from Cengiz #jira UE-25615 #jira UE-30714 #review-3894886 @Arciel.Rekman Change 3897541 by Michael.Dupuis #jira UE-53787: Added guard if for some reason the material is null we should not try to draw using this material Change 3904143 by Rex.Hill #jira UE-55366: Fix crash when overwriting existing level during level save as #jira UE-42426: Map '_BuiltData' can now be deleted when selected at same time as map - Map '_BuiltData' package is now garbage collected when switching maps in the editor Change 3906373 by Brandon.Schaefer Fix splash image. Use alias format for big/little endian machines. #jira none Change 3906711 by Rex.Hill #jira UE-42426: BuiltData now deleted with maps Change 3907221 by Cody.Albert Add support for relative asset source paths in content plugins Change 3911670 by Alexis.Matte Fix assetimportdata creation owner #jira UE-55567 Change 3912382 by Anthony.Bills Linux: Add binaries for GoogleTest and add to BuildThirdParty script. Change 3914634 by Cody.Albert Added missing include that could cause compile errors if IWYU was disabled. Change 3916227 by Cody.Albert Fixing some cases where we check #ifdef WITH_EDITOR instead of #if WITH_EDITOR Change 3917245 by Michael.Dupuis #jira UE-35097: Fixed crash when creating a new landscape with 2x2 subsection and material containing grass spawning Change 3918331 by Anthony.Bills Linux: Bundled Mono - Explicilty pick libc.so.6 as libc.so is a linker script and store the config file directly. Change 3920191 by Rex.Hill #jira UE-44197 Fix saving sub-level level causing MapBuildData to be deleted Improved MapBuildData rename, move, duplicate, copy Change 3920333 by Matt.Kuhlenschmidt Render target clear color property now settable in editor #jira UE-55347 Change 3926094 by Michael.Dupuis #jira UE-51502: Added some min/max values to foliage and grass settings to prevent overflow/crash #coderevew jack.porter Change 3926243 by Michael.Dupuis #jira UE-54669: cleaned up invalid/duplicate shader and moved some shaders to appropriate list Change 3926760 by Jamie.Dale Added support for TTC/OTC fonts These can be used via a sub-face index on FFontData, which can be set via a new combo in the font editor. You can also see the cached list of sub-faces within a font file from the UFontFace asset. Change 3927793 by Anthony.Bills Mono: Remove SharpZipLib and references from bundled Mono. #review-3887212 @ben.marsh, @michael.trepka Change 3928029 by Anthony.Bills Linux: Add support for UnrealVersionSelector. - Supports using UVS to launch without a project file. This will then launch the selected engine's project wizard. - Linux UVS uses Slate for the version selection and error log dialogs. - Mime-types and desktop file support added to DesktopPlatformLinux to allow associating with UVS as per the Windows binary and git builds. - Icons added for Linux. #review-3882197 @arciel.rekman, @brandon.schaefer Change 3931293 by Alexis.Matte Add generic Levenshtein edit distance to core algo. This algorithm will help suggesting name matching when users have to resolve material name conflict when re-import fbx meshes. Add also plenty of automation tests for it. #jira none Change 3931436 by Arciel.Rekman Stop RHI thread before shutting down RHI. - Prevents crashes for some drivers that create TLS objects with destructors; those destructors will get called after the thread exited, but the library will already be unloaded on RHI shutdown. Change 3934287 by Alexis.Matte Fix crash when re-importing skeletal mesh. Skinned component render data resource is now release when re-importing. #jira none Change 3937585 by Lauren.Ridge Added labels to the colors stored in the theme bar. Change 3937738 by Alexis.Matte Make sure content browser do not show a preview asset created when we cancel an export animation preview #jira UE-49743 Change 3941345 by Michael.Dupuis #jira UE-26959: Prevent reusing multiple type the same grass type into the same material grass output node Change 3941453 by Michael.Dupuis #jira UE-47492: Added a guard to validate LayerIndex Change 3942065 by Jamie.Dale Fixed crash trying to use FSlateApplication when it wasn't available (eg, in a commandlet) Change 3942573 by Alexis.Matte Fix static analysis Change 3942623 by Michael.Dupuis #jira 0 Cast to ulong as TaskIndex * NumStripes could exceed an int limit and add an assert if the wraparound is negative Change 3942993 by Matt.Kuhlenschmidt PR #4547: Verify the return value of FT_New_Memory_Face (Contributed by jorgenpt) Change 3942998 by Matt.Kuhlenschmidt PR #4554: Cleanup log printing (Contributed by projectgheist) Change 3943003 by Matt.Kuhlenschmidt PR #4534: Prevent Fatal log when alt tabbing during a level save (Contributed by projectgheist) Change 3943011 by Matt.Kuhlenschmidt PR #4518: edit (Contributed by pdlogingithub) Change 3943027 by Matt.Kuhlenschmidt PR #4524: Notifications always render on the screen with the main viewport (Contributed by projectgheist) Change 3943074 by Matt.Kuhlenschmidt PR #4484: Add group actor to folder (Contributed by ggsharkmob) Change 3943079 by Matt.Kuhlenschmidt PR #4431: Git Plugin: replace usage of the 2 cli args "--work-tree" and "--git-dir" by "-C" (Contributed by SRombauts) Change 3943092 by Matt.Kuhlenschmidt PR #4434: Git plugin: configure the default remote URL 'origin' (Contributed by SRombauts) Change 3943132 by Matt.Kuhlenschmidt PR #4247: Add File picker to Git Path setting on GitSourceControl (Contributed by shiena) Change 3943141 by Matt.Kuhlenschmidt PR #4303: Fix ULevelExporterT3D so that it works in a commandlet (Contributed by DSDambuster) Change 3943349 by Jamie.Dale Cleaned up PR #4547 Made the assert non-fatal to avoid it being able to take down the editor if you load up a bad font. Fixed some code that was deleted during the merge. Change 3943976 by Michael.Trepka Copy of CL 3940687 Fixed long link times when building for Mac in Debug by passing -no_deduplicate flag to the linker, which is what Xcode does in Debug configs. #jira none Change 3944882 by Matt.Kuhlenschmidt Fix a few regressions with scene viewport activation locking can capturing the cursor in editor #jira UE-56080, UE-56081 Change 3947339 by Michael.Dupuis #jira UE-55664: Fixed undo/redo buffer handling so we remove from the beginning of the buffer during undo buffer where buffer is at max memory and from the end during redo operation. Fixed cancel also to re add removed transaction at the end or the start depending if we're doing a redo or undo operation Fixed the Undo History UI to listen to an event when the undo buffer changed instead of checking every frame, as when the buffer was full, no changes would occur, thus no UI update. Change 3948179 by Jamie.Dale Fixed monochromatic font rendering - All non-8bpp images are now converted to 8bpp images for processing in Slate. - We convert the gray color of any images not using 256 grays (eg, monochromatic images that use 2 grays). - Fixed a case where the temporary bitmap wasn't being deleted. - Fixed a case where the bitmap could be used after it was deleted. - Added a CVar (Slate.EnableFontAntiAliasing) to control whether you want anti-aliased (256 grayscale) rendering (default), or monochromatic (2 grayscale) rendering. Change 3949922 by Alexis.Matte Ensure fbx node name are not empty when loading a fbx file. I use the same naming convention as Maya #jira UE-56079 Change 3950202 by Rex.Hill Fix crash during editor asset automation tests. Now skips showing modal progress window when opening asset editor window. ActiveTopLevelWindow is not set when modal windows are open. #jira UE-56112 Change 3950484 by Michael.Dupuis #jira UE-52176: delete the Cluster tree when the builder is no longer needed Change 3954628 by Michael.Dupuis Bring back 4.19/4.19.1 Landscape changes Change 3957037 by Michael.Dupuis #jira UE-53343: Add foliage instances back when changing component size Changed the formulation for the Clip/Expand behavior to make it more explicit on what will happen Added SlowTask stuff to manage big landscape change Change 3959020 by Rex.Hill Rename/move file MallocLeakDetection.h Change 3960325 by Michael.Dupuis Fixed static analysis Change 3961416 by Michael.Dupuis #jira UE-46100: Exposed UseDynamicInstanceBuffer on Foliage type, so user can decide if they want to update them dynamically #jira UE-55092: Fixed the warning to appear when having resource array as empty but VB as set up Added data conssitency that when using Dynamic buffer, Keep CPU Access should also be true, even if implicitly it's already the case, now it's explicit Change 3962372 by Michael.Trepka Copy of CL 3884121 Fix for SProgressBar rendering incorreclty on Mac #jira UE-56241 Change 3964931 by Anthony.Bills Linux: Add cross-compiled binary of UVS Shipping. Change 3966719 by Matt.Kuhlenschmidt Fix parameters out of order here #jira UE-56399 Change 3966724 by Matt.Kuhlenschmidt PR #4585: Export symbols for the FDragTool (Contributed by Begounet) Change 3966734 by Matt.Kuhlenschmidt PR #4596: fix the slider issue of the HighResolutionScreenshot window (Contributed by mamoniem) Change 3966739 by Matt.Kuhlenschmidt Removed duplicated code #jira UE-56369 Change 3966744 by Matt.Kuhlenschmidt PR #4602: Fixes check for existing extensions when generating "All Extensions". (Contributed by PhilBax) Change 3966758 by Matt.Kuhlenschmidt PR #4604: Fixed an issue where the Modules and DebugTools tabs would be unrecognized after startup if docked in the level editor (Contributed by tstaples) Change 3966780 by Matt.Kuhlenschmidt Fix crash accessing graph node title widgets when objects have become stale. #jira UE-56442 Change 3966884 by Alexis.Matte Fix speedtree uninitialized values #jira none Change 3967568 by Alexis.Matte Do not override the screensize when importing a skeletal mesh, let the value set by the AddLodInfo function #jira UE-56493 Change 3968333 by Brandon.Schaefer Fix order of operation #jira UE-56400 Change 3969070 by Anthony.Bills Linux: Make sure to set the UE_ENGINE_DIRECTORY #jira UE-56503 #review-3966609 @arciel.rekman, @brandon.schaefer Change 3971431 by Michael.Dupuis #jira UE-56515: Fixed an issue where ForcedLOD > MaxLOD and make sure that LastLOD will at least contain current streamed in LOD. #jira UE-56517: When using ParallelInitView 1 there was a memory leak related to a reallocate that happen with the TArray of FMemstack Pass correctly LODDistanceFactor instead of View.LODScale as we do not want StaticMeshScale to affect us. Change 3971467 by Matt.Kuhlenschmidt Fixed crash deleting a texture with texture painting on it #jira UE-56994 Change 3971557 by Matt.Kuhlenschmidt Fix temporary exporter objects being potentially GC'd and causing crashes during export #jira UE-56981 Change 3971713 by Cody.Albert PR #4597: [FPS Template] Small null pointer check fix and cleanup (Contributed by TheCodez) Change 3971846 by Michael.Dupuis #jira UE-56517: Properly "round" the count so we have the right amount of memory reserved #jira UE-56515: Still had a edge case left, so when using forced lod i simply make sure the value is in valid range, and allocate all the required data for this range Change 3973035 by Nick.Atamas Line and Spline rendering changes: * Lines/Splines now use 1 UV channel to anti-alias (this channel can be used for texturing) * Anti-aliasing filter now adjusted based on resolution * Modified Line/Spline topology to accomodate new UV requirements * Disabled vertex snapping for anti-aliased lines/splines; previously vertexes were snapped, but vertex positions did not affect line rendering (behavior effectively unchanged) * Splines now adaptively subdivided to avoid certain edge-cases Change 3973345 by Nick.Atamas - Number tweaks to maintain previously perceived wire thickness in various editors. Change 3977764 by Rex.Hill MallocTBB no longer debug fills bytes in development configuration Change 3978713 by Arciel.Rekman UVS: Fix stale dependency. Change 3980520 by Matt.Kuhlenschmidt Fix typo #jira UE-57059 Change 3980557 by Matt.Kuhlenschmidt Fixed negative pie window sizes causing crashes #jira UE-57100 Change 3980565 by Matt.Kuhlenschmidt PR #4628: Fixed revert action, now correctly uses CanRevert() condition (Contributed by Kryofenix) Change 3980568 by Matt.Kuhlenschmidt PR #4626: UE-57111: Handle CaptureRegion for HighResShot in PIE (Contributed by projectgheist) Change 3980580 by Matt.Kuhlenschmidt PR #4567: [Editor UI] Pick Parent Class dialog: set keyboard focus and handle Escape & Enter (Contributed by SRombauts) Change 3980581 by Matt.Kuhlenschmidt PR #4565: [Editor UI] Add C++ Class dialog: set keyboard focus and handle Escape & Enter (Contributed by SRombauts) Change 3981341 by Jamie.Dale Re-added GIsEditor condition around package namespace access #jira UE-55816 Change 3981808 by Ryan.Brucks Added LandscapeProxy functions to push RenderTarget data to Heightmaps and Weightmaps Change 3983344 by Jack.Porter #include fixes for CL 3981808 #jira 0 Change 3983391 by Jack.Porter One for #include fix for CL 3981808 #jira 0 Change 3983562 by Michael.Dupuis #jira UE-53787: Make sure the material array is valid before trying to generate static mesh batch element #jira UE-56451: Instead of asserting, simply skip this element as it had invalid custom data anyway, so we can't render it Change 3983600 by Matt.Kuhlenschmidt PR #4289: Pragma Once/Include guard cleanup (Contributed by projectgheist) Change 3983637 by Matt.Kuhlenschmidt PR #4408: Add a template pregeneration hook (Contributed by mhutch) Change 3984392 by Michael.Dupuis #jira UE-56314: Correctly apply LODBias on calculated LOD Fixed some Landscape popping that could occur when we were forcing a LOD that didn't match the component screen size Change 3984950 by Rex.Hill Optimized texture import speed 2-3x depending on number of cpu cores and image size Change 3985033 by Rex.Hill File drag and drop is more quick to respond when editor is in background #jira UE-57192 Change 3986218 by Jack.Porter Missing template parameter fix for CL 3981808 #jira 0 Change 3986376 by Michael.Dupuis #jira UE-56453: Do not use the CreateDynamicMaterialInstance as it will change the parenting of the actor used material, instead simply use the function to generate the MID and parent it correctly. Change 3989391 by Matt.Kuhlenschmidt Fix constant FName lookup in level editor when checking various states of level editor tabs Change 3990182 by Rex.Hill Optimize editor startup time: GetCurrentProjectModules Change 3990365 by Alexis.Matte Fix crash with spline mesh when the attach SM get a new imported LOD #jira UE-57119 Change 3991151 by Rex.Hill VR Editor module now waits to load images until VR mode activated in editor. Saves 0.4 seconds of editor startup time. Change 3991164 by Rex.Hill Optimize editor startup time: FindModulePaths() - Invalidates cache when search paths added - Use cache during wildcard searches containing * and ? Change 3995366 by Anthony.Bills Update BuildCrossToolchain script to allow a Linux host targeting multiple Linux architectures (including the hosts arch). Added a patch to support a gcc 4.8.5 based toolchain on windows (potentially useful for users crosscompiling using GCC and libstdc++ and targeting CentOS 7). #review-3848487 @arciel.rekman, @brandon.schaefer Change 3996109 by Jamie.Dale Reworked BP error messages to be more localization friendly #jira UETOOL-1356 Change 3996123 by Michael.Dupuis #jira UE-57427: Update random color on load of the component #jira UE-56272: Change 3996279 by Merritt.Cely Removed hardware survey from editor #jira an-2243 #tests launched the editor Change 3996626 by Alexis.Matte Fix crash when SkeletalMesh tangent buffer is empty after the build and we serialize the tangent array. #jira UE-57227 Change 3996663 by Max.Chen Sequencer: Fix fbx animation export - rotation and scale channels were flipped. #jira UE-57509 #jira UE-57512 #jira UE-57514 Change 4000331 by Brandon.Schaefer Add a GFNameTableForDebuggerVisualizers_MT back only for Unix under the Core module #review-3999426 @Arciel.Rekman #jira UE-55298 Change 4000450 by Matt.Kuhlenschmidt Another guard against a factory being destroyed during import #jira UE-57674 Change 4000459 by Matt.Kuhlenschmidt Added check for valid game viewport to see if this is the problem in UE-57677 #jira UE-57677 Change 4000493 by Matt.Kuhlenschmidt Remove stale GC'd components when refreshing paint mode to prevent crashes #jira UE-52618 Change 4000683 by Jamie.Dale Fixed target being incorrect when added via the Localization Dashboard #jira UE-57588 Change 4000738 by Alexis.Matte Add a section settings to ignore the section when reducing #jira UE-52580 Change 4000920 by Alexis.Matte PR #4219: Fix for SColorGradingPicker preventing PIE (Contributed by projectgheist) author projectgheist projectgheist@gmail.com Change 4001432 by Alexis.Matte Add a fbx re-import resolve material windows, user can now help resolving the material in case the importer fail to found a match. Change 4001447 by Jamie.Dale Fixed property table not working with multi-line editable text Change 4001449 by Jamie.Dale PR #4531: Localization multiline fix (Contributed by Lallapallooza) Change 4001557 by Alexis.Matte Fix a check in fbx scene importer, in case the user import a fbx LOD group with no geometry under it #jira UE-57676 Change 4002539 by Alexis.Matte Make the fbx importer global transform options persist in the config file #jira UE-50897 Change 4002562 by Anthony.Bills Linux: Enable UVS registering for git builds only and remove old Mono and pre-UVS script code. Change 4003241 by Alexis.Matte Fix the staticmesh import socket logic, it was duplicating socket when re-importing #jira UE-53635 Change 4003368 by Michael.Dupuis #jira UE-57276: #jira UE-56239: #jira UE-54547: Make sure we can't go above MaxLOD even for texture streaming Change 4003534 by Alexis.Matte Fix re-import mesh name match #jira UE-56485 Change 4005069 by Michael.Dupuis #jira UE-57594: Add a guard to prevent crash if we have an invalid resource for the heightmap texture (happen when component is deleted, for example) Change 4005468 by Lauren.Ridge Widgets should not be removed from parent when they are pending GC #jira UE-52260 Change 4006075 by Michael.Dupuis Fixed foliage density scaling to be applied even in editor, except in Foliage edit mode. Change 4006332 by Arciel.Rekman UBT: Adding support for bundled toolchains on Linux. - Authored by Anthony Bills, with modifications. Change 4007528 by Matt.Kuhlenschmidt PR #4665: Source control History Window: enlarge column Description (Contributed by SRombauts) Change 4007531 by Matt.Kuhlenschmidt PR #4656: UE-57200: Ignore reference to actor if same actor (Contributed by projectgheist) Change 4007548 by Matt.Kuhlenschmidt PR #4664: Set Password on EditableText (Contributed by projectgheist) Change 4007730 by Brandon.Schaefer Add a new way to symbolicate symbols for a crash at runtime Two new tools are used for this. 1) dump_syms Will generate a symbol file, which is to large to read from at runtime 2) BreakpadSymbolEncoder Takes the dump_syms file and encodes it in such a way we can do a binary search at runtime to find a Program Counter to a symbol we are looking for #review @Arciel.Rekman, @Anthony.Bills #jira UETOOL-1206 Change 4008429 by Lauren.Ridge Fixing undo bug when deleting user widgets from the widget tree #jira UE-56394 Change 4008581 by Cody.Albert Reinitialize needs to set the audio and caption tracks in addition to the video track or the currently selected track will be lost Change 4009605 by Lauren.Ridge Added Recently Opened assets filter under Other Filters in the Content Browser Change 4009797 by Anthony.Bills Linux: Update MultiArchRoot path to not cache. Move in tree toolchain location to match UBT convention and make sure the MultiArchRoot is checked before the system. Change 4010266 by Michael.Trepka Copy of CL 4010052 Moved some key event handling calls to the main thread on Mac to satisfy new macOS requirements #jira UE-54623 Change 4010838 by Arciel.Rekman Linux: limit allowed clang versions to 3.8-6.0. Change 4012160 by Matt.Kuhlenschmidt Changed the messagiing on the crash reporter dialog to reflect new bug submission process #jira UE-56475 Change 4013432 by Lauren.Ridge Fix for non-assets attempting to add to the Content Browser's recent filter #jira none Change 4016353 by Cody.Albert Improved copy/paste behavior for UMG editor: -Pasting in the designer while a canvas is selected will place the new widget under the cursor -Pasting multiple times while a canvas panel is selected in the hierarchy view will cascade the widgets starting at 0,0 -Pasting while something that isn't a panel is selected is now allowed, and will cascade the pasted widgets off the position of the selected widget (as siblings) -Newly pasted widgets will now be selected automatically -Pasting multiple widgets at once will try and maintain their relative positions if they're being pasted into a canvas panel Change 4017274 by Matt.Kuhlenschmidt Added some guards against invalid property handle access #jira UE-58026 Change 4017295 by Matt.Kuhlenschmidt Fix trying to apply delta to a mix of scene components and non scene components. Its acceptable to not have scene components in the selected component list #jira UE-57980 Change 4022021 by Rex.Hill Fix for audio desync and video fast-forwarding behavior. There long delay (500ms+) until samples start arriving unless we use RequestedTimeCurrent. After delay occurs samples begin arriving at accelerated speed until caught up to playback time leading to visual and audio problems. #jira UE-54592 Change 4023608 by Brandon.Schaefer Downscale memory if we dont have enough #jira UE-58073 #review-4023609 @Arciel.Rekman Change 4025618 by Michael.Dupuis #jira UE-58036: Apply world position offset correctly Change 4025661 by Michael.Dupuis #jira UE-57681: Added guard to prevent possible crash if either we have an invalid material or the material parent is invalid Change 4025675 by Michael.Dupuis #jira UE-52919: if no actor was found in the level skip moving the instances Change 4026336 by Brandon.Schaefer Manually generate *.sym files for Physx3 This should be done in the BuildPhysx file Change 4026627 by Rex.Hill Fix memory leak fix when playing video and main thread blocks #jira UE-57873 Change 4029635 by Yannick.Lange Fix VRMode loading assets only when VRMode starts. #jira UE-57797 Change 4030288 by Jamie.Dale Null FreeType face on load error to prevent potential crashes Change 4030782 by Rex.Hill Fix save BuildData after changing reflection capture in a new level #jira UE-57949 Change 4033560 by Michael.Dupuis #jira UE-57710: Added some guard to prevent crash/assert Change 4034244 by Michael.Trepka Copy of CL 4034116 Fixed arrow keys handling on Mac Change 4034708 by Lauren.Ridge PR #4699: UE-8508: Update config file to keep folder color in sync (Contributed by projectgheist) #jira UE-58251 Change 4034746 by Lauren.Ridge PR #4701: Add option to close tabs to the right of the active tab (Contributed by jesseyeh) #jira UE-58277 Change 4034873 by Lauren.Ridge Fix for not being able to enter simulate more than once in a row. #jira UE-58261 Change 4034922 by Lauren.Ridge PR #4387: Commands mapped in incorrect location (Contributed by projectgheist) #jira UE-53752 Change 4035484 by Lauren.Ridge Tentative fix for crash on pasting comment. All other accesses to UMaterialExpressionComment check its validity first #jira UE-57979 Change 4037111 by Brandon.Schaefer Try to use absolute path from dladdr if we can to find the sym files #jira UE-57858 #review-4013964 @Arciel.Rekman Change 4037366 by Brandon.Schaefer Dont check the command line before its inited #review-4037183 @Arciel.Rekman #jira UE-57947 Change 4037418 by Alexis.Matte Remove the checkSlow when adding polygon Change 4037745 by Brandon.Schaefer Use as much info as we can during ensure Just as fast as the old way but with more information #review-4037495 @Arciel.Rekman #jira UE-47770 Change 4037816 by Rex.Hill Import mesh optimization, BuildVertexBuffer Change 4037957 by Arciel.Rekman UBT: make it easier to try XGE on Linux. Change 4038401 by Lauren.Ridge Reordering is now correctly handled by undo. Reordering and then undoing will no longer cause a "ghost" widget to also be part of the tree. #jira UE-58206 Change 4039612 by Anthony.Bills Unix: Check for null StdOut and ReturnCode parameters, otherwise the code may dereference a null variable when the process fails to create. Change 4039754 by Alexis.Matte Remove the Render meshdescription, no need to carry this temporary data in the staticmesh Change 4039806 by Anthony.Bills Linux: UVS fixes - Update to use new Unix base platform. - Use bin/bash instead of usr/bin/bash (may need revisiting later). - Recompile Shipping version with changes. - Update Setup.sh to run from correct CWD (due to current limitations in the relative directory handling). Change 4039883 by Lauren.Ridge PR #4576: Save editor config to file first time a fav folder is added in the co. (Contributed by projectgheist) #jira UE-56249 Change 4040117 by Lauren.Ridge Replacing widgets should now also clear out references to the widget #jira UE-57045 Change 4040790 by Lauren.Ridge Tentative fix for Project Launcher crash when platform info not found #jira UE-58371 Change 4042136 by Arciel.Rekman UBT: refactor of LinuxToolChain to make it leaner and more configurable. - Made it possible to override SDK passed to the toolchain. - Simplified the code by using the same executable names on Windows and Linux (as .exe is optional), except where File.Exists() is needed (also remove a few) - Some minor renames to make it clear that SystemSDK means system compiler (which otherwise may be unclear) - Made changes to accomodate the new debug format. Change 4042930 by Brandon.Schaefer GCoreObjectArrayForDebugVisualizers was changed to FChunkedFixedUObjectArray reflect that in the Unix part Change 4043539 by Brandon.Schaefer Fix callsite address being used at times for the Program Counter Fix only reporting the actual callstack and not the crash handling callstacks #review-4041370 @Arciel.Rekman #jira UE-58477 Change 4043674 by Arciel.Rekman Added Linux ARM64 (AArch64) lib for MikkTSpace. - Now required for standalone games due to EditableMesh runtime plugin. Change 4043677 by Arciel.Rekman Linux: updated ARM64 (AArch64) version of SDL2. Change 4043690 by Arciel.Rekman Linux: allow compiling VulkanRHI for AArch64 (ARM64). Change 4045467 by Brandon.Schaefer Add Anthony Bills SetupToolchain.sh script Used to download the latest toolchain Change 4045940 by Michael.Trepka Return empty list instead of null from Mac GetDebugInfoExtensions() in UBT #jira UE-58470 Change 4046542 by Alexis.Matte Fix skeletal re-import material assignation #jira UE-58551 Change 4048262 by Brandon.Schaefer Rebuild SDL with pulse audio libs #jira UE-58577 Change 3887093 by Anthony.Bills Add bundled mono binary for Linux. - Unify some of the script structure across Mac and Linux. - This currently uses the same mono C# assemblies as Mac to keep the additional source size down. - If the Mac mono version is updated, the Linux version will also need to be updated to match the same mono git revision. - The system version of mono can still be used by setting the UE_USE_SYSTEM_MONO env var to 1. Change 4003226 by Michael.Dupuis Refactored StaticMeshInstancing to now use a command buffer to communicate with the GPU to prevent concurent access issues. It's mostly used in Editor or if runtime changes occur, otherwise the data is built and send to the GPU directly without keeping CPU copy. Changed how the density scaling was applied to be more optimal Removed UseDynamicInstanceBuffer as the concept is now irrelevant Change 3833097 by Jamie.Dale Localization Pipeline Optimization Manifest/Archives: Added FLocKey to keep an immutable string and its hash. This is used in several places within manifests and archives to minimize string hashing. FLocTextHelper also now take these in its API. This also fixes some places where manifests were being iterated by key rather than source string (as this was causing redundant work). Portable Object: Cleaned up a lot of redundant code, changed things to use FLocKey, and simplified a lot of string manipulation to use algorithms instead (which proved to be faster). Asset Gathering: Optimized the way garbage collection runs while gathering from assets so that we avoid purging assets that we still need to gather from (or are still active dependencies). This also sorts the assets so that we can try and evict dependencies from memory as soon as possible (in much the same way that the cooker does). Automation: The gather commandlet can now take multiple configs to process. This is used by automation to avoid starting the editor several times (which can save a significant amount of start-up overhead). [CL 4052378 by Lauren Ridge in Main branch]
2018-05-04 14:14:10 -04:00
}
std::vector<std::string> SplitLineIntoNEntries(const std::string& Line, size_t n)
{
std::vector<std::string> Out;
size_t Current = 0;
for (size_t i = 0; i < n; i++)
{
size_t End = Line.find(" ", Current);
Out.push_back(Line.substr(Current, End - Current));
Current = End + 1;
}
Out.push_back(Line.substr(Current));
if (Out.size() != n + 1)
{
std::cerr << "Failed to split the string by an expected amount\n";
return {};
}
return Out;
}
bool BeginsWith(const std::string& String, const std::string& With)
{
return String.compare(0, With.size(), With) == 0;
}
// For the symbol file only expect lower case letters for hex
constexpr bool IsHex(char c)
{
return (c >= '0' && c <= '9') || (c >= 'a' && c <= 'z');
}
bool BeginsWithHex(const std::string& String)
{
for (size_t i = 0; i < String.size(); i++)
{
if (i > 0 && String[i] == ' ')
{
break;
}
else if (!IsHex(String[i]))
{
return false;
}
}
return true;
}
/* Used to keep track of the actual sizes of FUNCs so we can generate
* Records to fill in the gap between FUNCs as this would be a major issue.
* PUBLIC symbols are assumed to have a size extending to the next symbol so
* these dont require any dummy Records to fill in the gaps
*/
struct SymbolChunk
{
uint64_t Address;
uint32_t Size;
bool bPublic;
friend bool operator<(const SymbolChunk& A, const SymbolChunk& B)
{
return A.Address < B.Address;
}
};
/* Keeps track of the Filename as well as a relative offset in bytes
* from the start of a contigous chunk of memory to its current location
*/
struct FileWithOffset
{
std::string Name;
uint32_t RelativeOffset;
};
/* Keeps track of the Symbol name as well as a relative offset in bytes
* from the start of a contigous chunk of memory to its current location
*/
struct SymbolWithOffset
{
std::string Name;
uint32_t RelativeOffset;
};
// PUBLIC address parameter_size name
struct PublicRecord
{
uint64_t Address;
std::string ParameterSize;
std::string Name;
};
// https://github.com/google/breakpad/blob/master/docs/symbol_files.md
//
// Prefix : Info : Number of spaces
// ------------------------------------------------------------------
// MODULE : operatingsystem architecture id name : 4
// FILE : number name : 2
// FUNC m : address size parameter_size name : 5
// FUNC : address size parameter_size name : 4
// address : size line filenum : 3
// PUBLIC m : address parameter_size name : 4
// PUBLIC : address parameter_size name : 3
// STACK : : 0 // Ignore
// INFO : : 0 // Ignore
/* We use these to split up an expected LINE into its assumed line. Gets around needing a
* lexer/parser where we can just assume the number of spaces and from there what is what
*/
const size_t ExpectedFileSpaces = 2;
const size_t ExpectedFuncSpaces = 4;
const size_t ExpectedLineSpaces = 3;
const size_t ExpectedPublicSpaces = 3;
bool ParseSymbolFile(const std::string& SymbolFile, std::vector<Record>& out_Records, std::vector<FileWithOffset>& out_FileRecords, std::vector<SymbolWithOffset>& out_SymbolNames)
{
std::unordered_map<uint64_t, uint64_t> FuncRecords;
std::vector<PublicRecord> PublicRecords;
std::vector<SymbolChunk> SymbolChunks;
uint32_t RelativeFileOffset = 0;
uint32_t RelativeSymbolNameOffset = 0;
int LineCount = 0;
int IgnoreCount = 0;
int ActualLineCount = 0;
bool bFirstLineRecordFromFunc = false;
std::vector<std::string> SplitLines = SplitFilePerLine(ReadInFile(SymbolFile));
if (SplitLines.empty())
{
std::cerr << "Failed to read file: '" << SymbolFile << "'" << '\n';
return false;
}
for (auto const& Line : SplitLines)
{
// address size line filenum
if (BeginsWithHex(Line))
{
Record Out;
char const* RawLine = Line.c_str();
char* End;
Out.Address = std::strtoull(RawLine, &End, 16);
// Need to skip the size entry
End = strchr(End + 1, ' ');
Out.LineNumber = std::strtoul(End, &End, 10);
// Store the actual index into the contiguous memory, which we will convert into a RelativeOffset at the end when we have the totals
Out.FileRelativeOffset = std::strtoul(End, nullptr, 10);
/* An example of what a FUNC + LINE records would look like:
* FUNC
* LINE RECORD LineNumber FileNumber
* LINE RECORD LineNumber FileNumber
* ....
* LINE RECORD LineNumber FileNumber
*
* Compress simply ignores a LINE RECORD *if* the previous LINE RECORD has the same LineNumber and FileNumber
* This will give us a larger Chunk size for this entry but for our use case its not required.
*/
if (bFirstLineRecordFromFunc)
{
// Same as the FileAbsoluteOffset but for the Symbol name. Need to covert at the end when all the memory we are going to write is in the structure
Out.SymbolRelativeOffset = static_cast<uint32_t>(out_SymbolNames.size() - 1);
out_Records.emplace_back(Out);
bFirstLineRecordFromFunc = false;
ActualLineCount++; // TODO Remove just for numbers
}
else
{
Record LastRecord = out_Records.back();
if (LastRecord.LineNumber != Out.LineNumber || LastRecord.FileRelativeOffset != Out.FileRelativeOffset)
{
// Same as the FileAbsoluteOffset but for the Symbol name. Need to covert at the end when all the memory we are going to write is in the structure
Out.SymbolRelativeOffset = static_cast<uint32_t>(out_SymbolNames.size() - 1);
out_Records.emplace_back(Out);
ActualLineCount++; // TODO Remove just for numbers
}
}
LineCount++;
}
// FUNC address size parameter_size name
else if (BeginsWith(Line, "FUNC"))
{
size_t FuncSpaces = ExpectedFuncSpaces;
size_t FirstValue = 1;
if (BeginsWith(Line, "FUNC m"))
{
FuncSpaces++;
FirstValue++;
}
std::vector<std::string> FuncSplit = SplitLineIntoNEntries(Line, FuncSpaces);
if (!FuncSplit.empty())
{
uint64_t Address = std::strtoull(FuncSplit[FirstValue].c_str(), 0, 16);
uint32_t Size = std::strtoul(FuncSplit[FirstValue + 1].c_str(), 0, 16);
FuncRecords[Address] = Address;
out_SymbolNames.push_back({FuncSplit[FirstValue + 3] + "\n", RelativeSymbolNameOffset});
RelativeSymbolNameOffset += static_cast<uint32_t>(out_SymbolNames.back().Name.size()) * sizeof(char);
SymbolChunks.push_back({Address, Size, false});
bFirstLineRecordFromFunc = true;
}
else
{
std::cerr << "ERROR: Failed to split a FUNC line:\n " << Line << '\n';
}
}
// PUBLIC address parameter_size name
else if (BeginsWith(Line, "PUBLIC"))
{
size_t PublicSpaces = ExpectedPublicSpaces;
size_t FirstValue = 1;
if (BeginsWith(Line, "PUBLIC m"))
{
PublicSpaces++;
FirstValue++;
}
std::vector<std::string> PublicSplit = SplitLineIntoNEntries(Line, PublicSpaces);
if (!PublicSplit.empty())
{
PublicRecords.push_back({
std::strtoull(PublicSplit[FirstValue].c_str(), 0, 16),
PublicSplit[FirstValue + 1],
PublicSplit[FirstValue + 2]
});
}
else
{
std::cerr << "ERROR: Failed to split a PUBLIC line:\n " << Line << '\n';
}
}
// FILE number name
else if (BeginsWith(Line, "FILE"))
{
std::vector<std::string> FileSplit = SplitLineIntoNEntries(Line, ExpectedFileSpaces);
if (!FileSplit.empty())
{
// Add a newline as we'll need to use that when reading later
std::string Filename = FileSplit[2] + "\n";
// Maintain one style of pathing
std::replace(std::begin(Filename), std::end(Filename), '\\', '/');
out_FileRecords.push_back({Filename, RelativeFileOffset});
RelativeFileOffset += static_cast<uint32_t>(out_FileRecords.back().Name.size()) * sizeof(char);
}
else
{
std::cerr << "ERROR: Failed to split a FILE line:\n " << Line << '\n';
}
}
else if (BeginsWith(Line, "STACK") ||
BeginsWith(Line, "INFO") ||
BeginsWith(Line, "MODULE"))
{
// Ignore
IgnoreCount++;
}
else
{
std::cerr << "ERROR: Unepxected line: " << Line << '\n';
return false;
}
}
// Only add Records for PUBLIC symbols that are not already captured by a FUNC entry
int TotalPublicKept = 0;
for (auto const& PRecord : PublicRecords)
{
if (FuncRecords.find(PRecord.Address) == FuncRecords.end())
{
Record Out;
Out.Address = PRecord.Address;
Out.FileRelativeOffset = static_cast<uint32_t>(-1);
Out.LineNumber = static_cast<uint32_t>(-1);
out_SymbolNames.push_back({PRecord.Name + "\n", RelativeSymbolNameOffset});
RelativeSymbolNameOffset += static_cast<uint32_t>(out_SymbolNames.back().Name.size()) * sizeof(char);
// We just pushed a new symbol on the list, use that as the index when we look up offsets later
Out.SymbolRelativeOffset = static_cast<uint32_t>(out_SymbolNames.size() - 1);
out_Records.emplace_back(Out);
// Add all the PUBLIC symbols we need to account for so we dont add dummy Records in their locations
SymbolChunks.push_back({Out.Address, 0, true});
TotalPublicKept++;
}
}
// We have put all the FUNC and PUBLIC (non duplicates), need to sort them before generating the dummy entries
std::sort(SymbolChunks.begin(), SymbolChunks.end());
// Dummy symbol name
out_SymbolNames.push_back({"?????????????\n", RelativeSymbolNameOffset});
RelativeSymbolNameOffset += static_cast<uint32_t>(out_SymbolNames.back().Name.size()) * sizeof(char);
int ChunksAdded = 0;
for (size_t i = 0; i < SymbolChunks.size() - 1; i++)
{
// We assume all public symbols extend to the next symbol
if (!SymbolChunks[i].bPublic)
{
uint64_t Address = SymbolChunks[i].Address;
uint64_t NextAddress = SymbolChunks[i + 1].Address;
uint32_t Size = SymbolChunks[i].Size;
if (Address + Size != NextAddress)
{
// Add a dummy symbol that fills in the Hole between symbols so we can assume NextAddress - Address == Size
out_Records.push_back({
Address + Size,
static_cast<uint32_t>(-1),
static_cast<uint32_t>(-1),
static_cast<uint32_t>(out_SymbolNames.size() - 1)
});
ChunksAdded++;
}
}
}
// Add a final dummy record for the last entry. This way you can get the size of the last entry (which is just assumed to be 4 bytes as it'll
// be a public function with no defined size).
out_Records.push_back({
out_Records.back().Address + 0x4,
static_cast<uint32_t>(-1),
static_cast<uint32_t>(-1),
static_cast<uint32_t>(out_SymbolNames.size() - 1)
});
#if VERBOSE_DEBUG
std::cout << "TotalLines: " << LineCount << " Actual Lines Added: " << ActualLineCount << " Percent compressed: " << 100 - (ActualLineCount / (float)LineCount * 100) << "%" << '\n';
std::cout << "TotalPublic: " << PublicRecords.size() << " Actual Public Added: " << TotalPublicKept << " Percent removed: " << 100 - (TotalPublicKept / (float)PublicRecords.size() * 100) << "%" << '\n';
std::cout << std::dec << "File: " << out_FileRecords.size() << "\t" << (out_FileRecords.size() / (float)SplitLines.size()) * 100 << '\n'
<< "Func: " << FuncRecords.size() << "\t" << (FuncRecords.size() / (float)SplitLines.size()) * 100 << '\n'
<< "Public: " << PublicRecords.size() << "\t" << (PublicRecords.size() / (float)SplitLines.size()) * 100 << '\n'
<< "Ignore: " << IgnoreCount << "\t" << (IgnoreCount / (float)SplitLines.size()) * 100 << '\n'
<< "Line: " << LineCount << "\t" << (LineCount / (float)SplitLines.size()) * 100 << '\n'
<< "Total: " << SplitLines.size() << '\n';
std::cout << "Total Record: " << out_Records.size() << "\n"
<< " TotalLines: " << ActualLineCount << "\n"
<< " TotalPublic: " << TotalPublicKept << "\n"
<< " EmptyChunks: " << ChunksAdded << "\n";
#endif
return true;
}
void EncodeSymbolFile(const std::string& SymbolFile, const std::string& OutputFile)
{
std::vector<Record> Records;
std::vector<FileWithOffset> FileRecords;
std::vector<SymbolWithOffset> SymbolNames;
std::string Filename;
if (!ParseSymbolFile(SymbolFile, Records, FileRecords, SymbolNames))
{
std::cerr << "Failed to parse '" << SymbolFile << "'" << '\n';
return;
}
if (SymbolFile.empty() || OutputFile.empty())
{
std::cerr << "ERROR: Symbol file or Output file is empty '" << SymbolFile << "' '" << OutputFile << "'" << '\n';
return;
}
std::sort(Records.begin(), Records.end());
uint64_t RecordsSize = Records.size() * sizeof(Record);
uint64_t FilesBytesSize = 0;
for (size_t i = 0; i < FileRecords.size(); i++)
{
FilesBytesSize += FileRecords[i].Name.size() * sizeof(char);
}
uint64_t SymbolBytesSize = 0;
for (size_t i = 0; i < SymbolNames.size(); i++)
{
SymbolBytesSize += SymbolNames[i].Name.size() * sizeof(char);
}
if (FilesBytesSize + SymbolBytesSize > std::numeric_limits<uint32_t>::max())
{
std::cerr << "ERROR: String section larger then the uint32_t::max() cannot encode the offsets" << '\n';
return;
}
if (Records.size() > std::numeric_limits<uint32_t>::max())
{
std::cerr << "ERROR: Record count greater then uint32_t::max() cannot encode the record count" << '\n';
return;
}
// Replace all the stored index with relative offsets from the start of the strings section in the output file
for (auto& R : Records)
{
if (R.FileRelativeOffset < FileRecords.size())
{
R.FileRelativeOffset = FileRecords[R.FileRelativeOffset].RelativeOffset;
}
else if (R.FileRelativeOffset != (uint32_t)-1)
{
std::cerr << "Error FileRelativeOffset larger then expected range, got: " << R.FileRelativeOffset << " Expect less then: " << FileRecords.size() << '\n';
}
if (R.SymbolRelativeOffset != static_cast<uint32_t>(-1))
{
R.SymbolRelativeOffset = SymbolNames[R.SymbolRelativeOffset].RelativeOffset + static_cast<uint32_t>(FilesBytesSize);
}
}
// If we require larger then 4GB files... we'll need to reconsider this
RecordsHeader Header{static_cast<uint32_t>(Records.size())};
std::ofstream os(OutputFile, std::ios::binary);
if (os.is_open())
{
os.write((char*)&Header, sizeof(RecordsHeader));
os.write((char*)Records.data(), RecordsSize);
for (size_t i = 0; i < FileRecords.size(); i++)
{
os.write((char*)&FileRecords[i].Name[0], FileRecords[i].Name.size() * sizeof(char));
}
for (size_t i = 0; i < SymbolNames.size(); i++)
{
os.write((char*)&SymbolNames[i].Name[0], SymbolNames[i].Name.size() * sizeof(char));
}
os.close();
#if VERBOSE_DEBUG
std::cout << " OutputFile: " << OutputFile << '\n';
std::cout << " RecordsSize : 0x" << std::hex << RecordsSize << '\n';
std::cout << " RecordOut Offset: 0x" << std::hex << RecordsSize + sizeof(RecordsHeader) << '\n';
std::cout << " Record + Files Offset: 0x" << RecordsSize + FilesBytesSize << std::dec << '\n';
#endif
}
else
{
std::cerr << "ERROR: Failed to open file for writing: " << OutputFile << '\n';
}
}
}
int main(int argc, char* argv[])
{
if (argc > 2)
{
std::string SymbolFile(argv[1]);
std::string OutputFile(argv[2]);
#if VERBOSE_DEBUG
std::cout << "Attempting to read Symbol file: '" << SymbolFile << "'" << '\n';
#endif
EncodeSymbolFile(SymbolFile, OutputFile);
}
else
{
std::cerr << "Usage: " << argv[0] << " <path/to/symbol/file> <path/to/output/file>" << '\n';
}
}