Commit Graph

735 Commits

Author SHA1 Message Date
Thomas Sarkanen
93bca8b59d Fixed Mac CIS build
[CL 2302354 by Thomas Sarkanen in Main branch]
2014-09-18 08:11:47 -04:00
Thomas Sarkanen
304d700746 Added/edited extra tutorial contexts & added analytics
Tutorial contexts for IOS/Android/Whatever are now hooked up (console setup ones are still missing).

Analytics added for tutorial usage in various places.

Added ability to reset tutorial state with -ResetTutorials command-line flag.

Cleaned up some unused code (still a lot more to come here!).

[CL 2302314 by Thomas Sarkanen in Main branch]
2014-09-18 08:10:29 -04:00
Robert Manuszewski
96071afb2d Hot-reload: performing hot-reload when there's been no code changes will no longer result in producing new DLLs.
#ttp 345522: HotReload: Should not try to link DLLs when target is up to date

#change Added code to handle up-to-date state of modules in hot-reload code.
#change Added ECompilationResult::UpToDate and ECompilationResult::Canceled, ECompilationResult::Failed()
#change UBT: added -canskiplink command line param and support for skipping link actions when there was nothing to compile
#change extended the duration of re-compile notifications (TTP# 346604 NUXF-246 Hot compile fail message fades)
#change Added 'Compile Canceled' notification (instead of 'Compile Failed')

[CL 2302307 by Robert Manuszewski in Main branch]
2014-09-18 08:10:17 -04:00
Michael Noland
7dde40c236 Editor: Some small improvements to project settings dialog
- Change checkout notice for settings ini files to go green when they are editable
- Reworded messages to include the actual ini file name
- Hid 'reset to default' and 'set as default' options when editing a default ini file, since they make no sense in this context and were always disabled
#codereview max.preussner

[CL 2301866 by Michael Noland in Main branch]
2014-09-17 19:13:07 -04:00
Ben Marsh
ae5e700449 Use WinXP compatible functions for DesktopPlatform functionality. TTP 345688 seems to indicate failure to compile CrashReportClient due to using RegGetValue.
[CL 2301206 by Ben Marsh in Main branch]
2014-09-17 13:01:52 -04:00
Chris Gagnon
d24261675a Created a Launcher specific style for the filter box to be accissible in UFE.
#codereview matt.kuhlenschmidt

[CL 2301117 by Chris Gagnon in Main branch]
2014-09-17 11:56:24 -04:00
Jamie Dale
758c2aa488 Fixed build error in FCDOWriter
FName no longer has GetIndex, it has GetComparisonIndex and GetDisplayIndex instead.

#codereview Robert.Manuszewski

[CL 2300766 by Jamie Dale in Main branch]
2014-09-17 06:20:17 -04:00
Jamie Dale
b1076751ff Made FName case-preserving by storing case-variant strings in its string table
This is controlled by the macro "WITH_CASE_PRESERVING_NAME", which is currently just set to "WITH_EDITORONLY_DATA" so that it works in editor builds (and UHT).

Added an extra NAME_INDEX entry to FName to store a second string table index for a case-variant string. The previous Index value (now called ComparisonIndex) is still used for comparison purposes (as FNames are still case-insensitive).

The Init process for an FName now works like this:
 1) It will find or add a string table entry for the given string (not matching case) - this entry index is stored in ComparisonIndex.
 2) It will then compare the string table entry string against the given string (matching case) to see if it also needs to add a case-variant entry for the FName.
 3) If it does, it finds or adds a second string table entry (matching case) for the string - this entry index is stored in DisplayIndex.

Hard-coded FNames (those listed in UnrealNames.h) do not support case-variants (due to existing network replication rules for hard-coded FNames), so they skip steps 2 and 3.

I added FMinimalName, which is the same size as FName was previously. This shouldn't really be used (and as such, is deliberately awkward to make/use) as it loses the case-preserving behaviour of FName, however it was required for some things (like stats) that had a hard-coded upper limit on FName size.

I added FScriptName, which always contains the extra display index (even when WITH_CASE_PRESERVING_NAME is disabled). This is used by Blueprint bytecode, as the types used by Blueprint bytecode must be a consistent size between all build configurations.

Other changes:

 - Fixed up any places that were passing an Index into the FName constructor which was supposed to take an EName.
     - Some places were doing this to make the number unique when replicating an object, but this was losing the case-variant information, so I had to fix them.
     - FName will now assert if the EName constructor is used with an value outside the range of hard-coded FNames.

 - Ensured that assets, actors, and blueprint components could all be renamed in a way that only changed their case, and that these changes were correctly persisted.

 - Added FLinkerNamePairKeyFuncs and TLinkerNameMapKeyFuncs for use with TSet and TMap.
     - These allow ULinkerSave and ULinkerLoad to correctly write out case-variants for FNames, and also fixes an issue where the linker would erroneously write out duplicate string table entries for FNames which had a different number (causing package bloat).

 - Bumped VER_MIN_SCRIPTVM_UE4 so that all Blueprint bytecode is recompiled using FScriptName.

ReviewedBy Robert.Manuszewski, Gil.Gribb

[CL 2300730 by Jamie Dale in Main branch]
2014-09-17 05:24:55 -04:00
Robert Manuszewski
0de4660aee Hot-reload: all CDOs will now get re-constructed after hot-reload. If a CDO has changed, the class will be re-instanced.
#change Moved hot-reload-only code from FBlueprintCompileReinstancer to FHotReloadClassReinstancer
#change It's not possible to derive classes from FBlueprintCompileReinstancer
#change Added code to handle re-creating CDOs after hot-reload even if the class hasn't changed.

[CL 2300696 by Robert Manuszewski in Main branch]
2014-09-17 04:34:40 -04:00
Lina Halper
4ab9d16440 Remove unnecessary file include
[CL 2300394 by Lina Halper in Main branch]
2014-09-16 20:12:55 -04:00
Lina Halper
17860d4d88 Reverting wrong change and fixing compile error
[CL 2300392 by Lina Halper in Main branch]
2014-09-16 20:12:44 -04:00
Saul Abreu
6be6f02783 Fixed locales/cultures that don't have base language localization data being omitted from region & language drop downs. Not absolutely perfect - could probably use a bigger refactor.
[CL 2300344 by Saul Abreu in Main branch]
2014-09-16 19:22:47 -04:00
Lina Halper
47067096f6 - Fixed the window to function again without being modal
- Fixed issue with when non-existing node convert between

[CL 2300181 by Lina Halper in Main branch]
2014-09-16 17:47:16 -04:00
Ori Cohen
2ad63f2fcb Expose tutorials to super search
[CL 2300060 by Ori Cohen in Main branch]
2014-09-16 16:46:55 -04:00
Justin Sargent
770f2b045d When compiling without the editor don't assume the TargetName is UE4Editor.
[CL 2300030 by Justin Sargent in Main branch]
2014-09-16 16:22:14 -04:00
Marc Audy
07043e64e0 Convert uses of FActorIterator to TActorIterator where appropriate
[CL 2300029 by Marc Audy in Main branch]
2014-09-16 16:22:01 -04:00
Max Preussner
5c881d5dca clang fixes
[CL 2300022 by Max Preussner in Main branch]
2014-09-16 16:21:49 -04:00
Olaf Piesche
081c5e1d85 New Niagara effect class, factory, asset type actions and surrounding infrastructure plus a skeleton editor; bit of cleanup and removal of unnecessary opcodes from the VM. Moved particle data into its own class for separate and easier buffer management.
[CL 2300011 by Olaf Piesche in Main branch]
2014-09-16 16:11:48 -04:00
Max Preussner
6abfab399d MessageLog: Message token layout tweak
[CL 2300000 by Max Preussner in Main branch]
2014-09-16 16:01:46 -04:00
Justin Sargent
c9ffbfd8a6 Added WITH_ENGINE defines around HotReload code specifically dependent on engine types, so programs not dependent on engine can use the HotReload module.
[CL 2299919 by Justin Sargent in Main branch]
2014-09-16 15:06:34 -04:00
Max Preussner
c30cfaee72 fixed tools build
#CodeReview: lina.halper

[CL 2299890 by Max Preussner in Main branch]
2014-09-16 15:01:50 -04:00
Max Preussner
385b3b3fba clang fix
#CodeReview: dmitry.rekman

[CL 2299877 by Max Preussner in Main branch]
2014-09-16 14:56:27 -04:00
Max Preussner
db2344f40e fixed assignment order
[CL 2299793 by Max Preussner in Main branch]
2014-09-16 14:21:27 -04:00
Max Preussner
9c7bd00423 MessageLog: Handling log category deslection properly
[CL 2299786 by Max Preussner in Main branch]
2014-09-16 14:11:15 -04:00
Max Preussner
bb6a7de1d7 MessageLog: Message log burst upgrades
- Redesigned the layout of the message log viewer
- Added 'Action' message token type for actionable items
- Started to remove message token delegates in favor of Action tokens
- NULL to nullptr

[CL 2299749 by Max Preussner in Main branch]
2014-09-16 13:46:20 -04:00