Commit Graph

30 Commits

Author SHA1 Message Date
Michael Trepka
9b3937d1a7 Fixed a few compile errors (mostly non-unity)
[CL 2108328 by Michael Trepka in Main branch]
2014-06-17 14:06:07 -04:00
Richard TalbotWatkin
cae2251bba Changed all instances of notifications with a "Show Log" hyperlink to be more precise about which log they will open.
#ttp 338544 - EDITOR: Update Notifications "Show Log" to "Show Output Log"
#branch UE4
#change Changed hyperlink text to be more specific in individual instances of FNotificationInfo objects.
#reviewedby Chris.Wood

[CL 2108221 by Richard TalbotWatkin in Main branch]
2014-06-17 12:05:50 -04:00
Jaroslaw Palczynski
ebce413232 UE4 Refactoring. Changed OVERRIDE and FINAL macros to keywords override and final.
[CL 2104397 by Jaroslaw Palczynski in Main branch]
2014-06-13 06:14:46 -04:00
Max Preussner
3aece47882 Docs: Removed file comments and added missing code documentation
Please note that file comments had no purpose in nearly all cases and just added visual clutter. The two files that had meaningful file comments had their comments moved into the corresponding classes. There are still hundreds of file comments left in other files that will be removed over time.

Also cleaned up some random stuff along the way:
- relative paths to public headers within the same module are no longer necessary (automatically discovered by UBT now)
- header guards are deprecated, use #pragma once instead (all compilers support it now)
- space between multiple template brackets is no longer required (all compilers support >> now)
- NULL to nullptr, OVERRIDE to override
- spelling errors, whitespace, line breaks

[CL 2104067 by Max Preussner in Main branch]
2014-06-12 23:22:18 -04:00
Jamie Dale
0cfe5f0651 Added PlatformInfo to DesktopPlatform and improved the editors Supported Platform UI
TTP# 337136 - SETTINGS: Target Platform settings polish
TTP# 337652 - EDITOR: Limit Project supported Android icons down to 1
TTP# 337650 - EDITOR: There is only 1 icon for Apple for Project Supported Platforms

DesktopPlatform now contains a static array of FPlatformInfo. This can be used to query UE4 about its available platforms, even when they're not available as a target platform.

FPlatformInfo contains the information required by the editor (such as a localized display name and icon), as well as whether a platform is a variation ("flavor") of another, and if so, whether the flavor affects the build output (eg, Win32 or Win64), or the cook output (eg, Android_XYZ). This lets the editor build up nested menus for the "Package Project" and "Cook Project" options, rather than just showing everything as a flat list.

ReviewedBy Thomas.Sarkanen, Max.Preussner

[CL 2095796 by Jamie Dale in Main branch]
2014-06-05 12:13:44 -04:00
Michael Trepka
e0b50589d2 Removed Mac MainMenu.xib, the app and window menus are now generated dynamically.
[CL 2088627 by Michael Trepka in Main branch]
2014-05-29 17:46:24 -04:00
Jamie Dale
3ea331525b UAT now uses the game INI files to add additional directories to cook and stage.
TTP# 335070 - Add GUI based way to specify additional non-asset files or paths to package

CookCommandlet now uses the project settings to work out which additional directories it should cook (this removes the need for the editor to pass this information to that UAT via the command line). I've left the COOKDIR option in the UAT/CookCommandlet as, while non of our projects seem to be using it, I'm not comfortable removing it in case any scripts are using it.

CopyBuildToStagingDirectory also uses these project settings to work out which additional directories it should stage when producing the staging manifest (these are split into UFS and non-UFS directories). This allows users to define additional directories in the editor (or directly in the settings file) which will always be staged regardless of how UAT is invoked.

All of these paths are specified in the settings file as relative to the project Content directory, and the editor will enforce this fact when using the directory picker.

Also mirrored the meta-data interface from UField on IPropertyHandle. This takes care of accessing the meta-data from the correct property, even when you're accessing an element inside an array (MattK approved!).

ReviewedBy Thomas.Sarkanen, Robert.Manuszewski, Max.Preussner

[CL 2088172 by Jamie Dale in Main branch]
2014-05-29 17:38:00 -04:00
Jamie Dale
c730fdef83 Added support for choosing which platforms your project will target
TTP# 332489 - TOOLS FEATURE: Editor: Allow user to designate which platforms a project is designed for; warn user when deploying to platforms that will result in a bad time

There is now a "Target Platforms" tab in the project settings which allows you to choose which platforms your project will target. This information is stored inside the .uproject file.

If you try and launch, cook, or package for a project that isn't on the supported list, then you'll see a suppressible warning notifying you that the project may not run as expected. This is also conveyed to you via a warning icon next to platforms which aren't set as a target.

Additionally the target platform icons are shown in the tooltip on the "Open Project" dialog, as well as in the tab area of the level editor.

ReviewedBy Thomas.Sarkanen, Max.Preussner

[CL 2088161 by Jamie Dale in Main branch]
2014-05-29 17:37:19 -04:00
Terence Burns
6d75245560 Enabling the user to specify which build platform they desire, particularly for windows. Win32 and Win64
#CodeReview Peter.Sauerbrei

[CL 2080194 by Terence Burns in Main branch]
2014-05-21 06:39:47 -04:00
Max Preussner
c9d85971be Editor: refactored FLayoutService to be INI file agnostic; moved Editor layout from EditorUserSettings.ini to EditorLayout.ini
I also added code to retain backwards compatibility. Existing settings from EditorUserSettings.ini will be migrated to EditorLayout.ini

#CodeReview: nick.atamas, matt.kuhlenschmidt

[CL 2074798 by Max Preussner in Main branch]
2014-05-15 17:34:02 -04:00
Daniel Lamb
ebd6c8303d Changes for packing OBB into APK file.
- Added functionality to GameActivity to query for the asset manager and the mode we are using for OBB data
- Added UI element to toggle OBB packing into APK in the project packaging config panel
- Added code to add a command line switch to turn on packing during building
- Changed build system so that it will write out a JavaBuildConfig file so we know at runtime where to find the data
- Change the build system to copy and rename the OBB so that it is in the APK's asset directory uncompressed
- Added IFileHandle implementation to handle reading from an Asset based OBB and changed the OBB locating code so deal with looking for the OBB in the APK
Submitted on behalf of Robert Jones.
#codereview Daniel.Lamb,Robert.Jones

[CL 2071675 by Daniel Lamb in Main branch]
2014-05-13 11:40:41 -04:00
Dmitry Rekman
4a2e260c9c More changes to accomodate new Linux platforms.
Old "Linux" target platform is now called "LinuxNoEditor", so this needs to be patched up in places where target platform name was assumed to match platform name.

#codereview Josh.Adams, Peter.Sauerbrei, Michael.Trepka, Ben.Marsh

[CL 2068323 by Dmitry Rekman in Main branch]
2014-05-09 12:42:42 -04:00
Peter Sauerbrei
b05cc90119 Add messaging for when a user attempts to launch or package a iOS project with code on PC
#ue4
#ios

[CL 2066115 by Peter Sauerbrei in Main branch]
2014-05-07 17:26:46 -04:00
Max Preussner
dde6e568e1 Slate: Reorganized private Slate files; proper pre-compiled header for all files.
Notes:
- LandscapeEditor pulls in private MultiBox include files; temporarily made those public

[CL 2057183 by Max Preussner in Main branch]
2014-04-26 20:23:08 -04:00
Max Preussner
b63129a60c Slate: Refactored core Slate implementation into SlateCore module in preparation for UMG.
Other Updates:
- The WidgetReflector is now in its own module as well. It will be converted to a plug-in later.
- The Public API of both Slate and SlateCore has largely been reorganized for better discoverabilty. More cleanup work is needed.
- Added a lot of missing API documentation and fixed existing ones. More and better documentation is needed.
- Removed dead code, fixed a couple things I stubled upon, and conformed to coding guidelines (NULL vs nullptr, line breaks, etc.)

Upgrade Notes:
- The Slate Remote Server is currently disabled - will be re-enabled shortly!
- If your module previously had a module dependency to 'Slate', it now also needs a PrivateModuleDependency to 'SlateCore' in its Build.cs file.
- If your module exposes in any of its Public header files types that are now declared in SlateCore, it needs a PublicModuleDependency to 'SlateCore'
- The ToolTip property type on SWidget has changed from SToolTip to IToolTip; change local variables to TSharedPtr<IToolTip> instead of TSharedPtr<SToolTip> where needed
- IToolTip is not a widget. If you need access to the actual widget that represents the tool tip, use IToolTip::AsWidget(); If you need access to the tool tip's content, use IToolTip::GetContentWidget()

Troubleshooting:
- After syncing to this changelist you may have to clean your /Engine/Intermediate/Build/ directory and rebuild your entire project
- If in your project you are getting linker errors for unresolved types that are now declared in SlateCore, you may be missing a dependency to 'SlateCore'
- If in the Engine code you are getting linker errors for unresolved types that are now declared in SlateCore, you may need to rebuild the entire Engine

[CL 2057118 by Max Preussner in Main branch]
2014-04-26 15:07:24 -04:00
Thomas Sarkanen
e4e3e2613e #summary Fixed crash on shutdown on Mac
#ttp 330039 	EDITOR: Platform-agnostic editor code depends on Windows-only VSAccessor headers
#detail 	Make sure we dont access modules that are not loaded in ShutdownModule().

[CL 2053203 by Thomas Sarkanen in Main branch]
2014-04-23 20:04:39 -04:00
Joe Conley
f831791083 Translation Editor:
- Remove Duplicated entry in the Directories to Search array

[CL 2051257 by Joe Conley in Main branch]
2014-04-23 19:51:39 -04:00
Joe Conley
a3aa916688 Translation Editor:
- Added the Launcher localization folder to the list of folders searched for content to be translated
- Also added the localization paths from .ini files exposed through FPaths to this list as well
- Now you can add projects to the Translation Editor through an .ini file like this:

[Internationalization]
+LocalizationPaths=../../../Engine/Content/Localization/Engine

[CL 2049125 by Joe Conley in Main branch]
2014-04-23 19:26:07 -04:00
Jaroslaw Palczynski
37b8626c43 #ttp 331741 - UE4: CORE: TaskGraph: Move GetTaskName functionality into GetStatId
#proj UE4
#branch UE4
#summary The interface of FGenericTask is now changed. Removed GetTaskName() and changed GetStatId() to non-static and const.
#codereview Robert.Manuszewski
#codereview Jaroslaw.Surowiec

[CL 2048817 by Jaroslaw Palczynski in Main branch]
2014-04-23 19:22:09 -04:00
Thomas Sarkanen
2e3d1f5aae #summary Source code access is now done via plugins
#ttp 330039 	EDITOR: Platform-agnostic editor code depends on Windows-only VSAccessor headers
#detail 	Source code access is now extensible via plugins, so any new editors can be easily added.
#add 	Added SourceCodeAccess module that routes access via plugins.
#change 	Moved much of the old VSAccessor code into a new VisualStudioSourceCodeAccess plugin.
#add 	Added a counterpart XCode plugin & migrated the code from FSourceCodeNavigation (Applescript etc.) into there.
#remove 	Removed applescript for XCode access (it is now done via code).
#remove 	Removed source code access functionality from platform layer.
#add 	Added details customization for source code access settings, so users can choose their own accessor.
#remove 	Removed dependencies on VSAccessor.
#change 	Changed API in SWidget to not require building a string to be parsed, instead this acesses and forwards filenames & line numbers.
#extra 	Tested on Mac by Mark S.
reviewed by 	Andrew.Brown

[CL 2048697 by Thomas Sarkanen in Main branch]
2014-04-23 19:19:51 -04:00
Max Preussner
a6a4aaf123 fixed up incorrect/obsolete module dependencies in various Editor modules
[CL 2048469 by Max Preussner in Main branch]
2014-04-23 19:18:58 -04:00
Max Preussner
b5bf6dc2c3 fixed line spacing
[CL 2047886 by Max Preussner in Main branch]
2014-04-23 19:10:58 -04:00
Jaroslaw Palczynski
063df8cb16 #ttp 331356 - 'Recompile' editor button should tell user to quit and compile if hot reload is not possible.
#proj UE4
#branch UE4
#summary Changed UBT and UHT exit codes to inform about compilation result. The editor is reading exit code of UBT process and changes output message informing if this is a failure due to header changes.
#codereview Robert.Manuszewski

[CL 2044928 by Jaroslaw Palczynski in Main branch]
2014-04-23 18:36:17 -04:00
Terence Burns
7e05a87f8d #Fix Updated the Package Project configuration to use a valid config name.
[CL 2044916 by Terence Burns in Main branch]
2014-04-23 18:35:32 -04:00
Saul Abreu
bcb92e4dbf #summary Internationalization now operates as a singleton with non-static initialization. Should no longer have issues with initializing before file server when applicable. Resolved related previous double initialization issue. API-breaking change for calls to most FInternationalization methods.
#ttp 331776 - L10N: ICU: Executable size for engine and programs has regressed dramatically (ICU)

[CL 2044493 by Saul Abreu in Main branch]
2014-04-23 18:30:01 -04:00