Commit Graph

209 Commits

Author SHA1 Message Date
Ben Marsh
92a18a2298 Don't clobber the DefaultGame.ini file when adding feature packs to a project; it wipes out the project ID.
[CL 2527344 by Ben Marsh in Main branch]
2015-04-27 15:47:43 -04:00
Ben Marsh
e36b0c7a60 Use the output log dialog to show UBT output if a build fails, rather than trying to cram it into a normal message box.
[CL 2527309 by Ben Marsh in Main branch]
2015-04-27 15:33:53 -04:00
Ben Marsh
139f0713fd Missing header.
[CL 2524569 by Ben Marsh in Main branch]
2015-04-24 13:00:10 -04:00
karolz
bef607854c Added a plugin creator wizard
Note: This plugin is currently disabled by default.

When enabled:
- It can be summoned from the main frame File menu as "Add Plugin...", and includes three templates currently:
- Blank: Creates a minimal plugin with no functionality
- Basic: Creates a plugin that adds a button to the main frame toolbar
- Advanced: Creates a standalone tab window, summoned via a button on the main frame toolbar

PR #865: Plugin creator 4.7 (Contributed by karolz)

[CL 2521691 by Michael Noland in Main branch]
2015-04-22 16:30:31 -04:00
Ben Marsh
e545a45a8b Fix empty projects not having a ProjectID set by default.
[CL 2521253 by Ben Marsh in Main branch]
2015-04-22 12:28:12 -04:00
Matt Kuhlenschmidt
47e4787703 Fix orange cancel buttons in the new class and new project wizard dialogs
[CL 2517975 by Matt Kuhlenschmidt in Main branch]
2015-04-20 14:25:22 -04:00
Andrew Rodham
8ff0d8b98b Added config migration path for newer versions of the engine.
Newly installed versions of the engine will now attempt to copy the project-agnostic config settings from a previous engine installation. This happens by way of a versioned manifest that copies old versions when the manifest does not exist, or is a different version. This code path is benign for non-installed versions of the engine (or FPaths::ShouldSaveToUserDir() is false).

EditorGameAgnosticSettings and EditorUserSettings ini paths have been renamed to EditorSettings and EditorPerProjectUserSettings respectively to better convey their purpose. In general, most settings should be saved in EditorSettings (project-agnostic) so that they apply regardless of which project is open. We have some way to go migrating existing settings for this to be the case, however.

Some previously per-project configuration files are now project-agnostic (such as Editor.ini, EditorKeyBindings.ini, and EditorLayout.ini)

GEditor->Access...Settings and GEditor->Get...Settings have been removed in favor of direct access of the CDO through GetMutableDefault<> and GetDefault<> respectively. Global config ini filenames that are not set up are now neither loaded nor saved on build machines, to handle the problem of indeterminate state more generically.

This addresses UETOOL-270 (Most editor preferences should be project-agnostic)

[CL 2517558 by Andrew Rodham in Main branch]
2015-04-20 10:12:55 -04:00
Michael Noland
cf0d853808 Editor: Switched SNewClassDialog to use colorized buttons
[CL 2516711 by Michael Noland in Main branch]
2015-04-17 23:22:28 -04:00
Jamie Dale
7c1f59d338 Improved the error message when adding a new class fails due to a compile error
The fact that the error message said "failed to add class" despite the class itself being added was causing confusion.

In the case where adding a new class fails to hot-reload (probably due a compiler error) we now state that the class itself has been added, but that you'll need to recompile the module before it will appear in the editor, and offer an easy way to open the output log to see more detailed compiler output. We also automatically close the class wizard so that you're not left looking at an error message saying that "the class name is already in use".

[CL 2515833 by Jamie Dale in Main branch]
2015-04-17 10:02:43 -04:00
Richard TalbotWatkin
0eac4346bf Added code to abort opening a project if the project's PackageFileUE4Version is higher than the current engine's.
#jira UE-8407 - Trying to open project from Newer version to older version of the Editor
#reviewedby Ben.Marsh

[CL 2515634 by Richard TalbotWatkin in Main branch]
2015-04-17 06:35:39 -04:00
Adric Worley
e578e2d7cd Separate automated system tests from project-specific tests
[CL 2514485 by Adric Worley in Main branch]
2015-04-16 12:40:47 -04:00
Ben Marsh
6e09ea7b38 Hide the 'Convert in-place' and 'Skip conversion' buttons in the project conversion dialog by default. Hit 'More Options...' to summon them.
[CL 2514375 by Ben Marsh in Main branch]
2015-04-16 11:50:06 -04:00
Mikolaj Sieluzycki
a96989f147 Add includes to files to remove the need of including Engine.h.
[CL 2508000 by Mikolaj Sieluzycki in Main branch]
2015-04-10 03:30:54 -04:00
Ben Marsh
3059283e21 Add a better dialog for whenever we need to output the log from an external process, and use it to display errors when GenerateProjectFiles fails.
[CL 2506838 by Ben Marsh in Main branch]
2015-04-09 11:11:48 -04:00
Matthew Griffin
b43002d41a Replaced use of IsRocket for checking whether to open an IDE with IsEngineInstalled, which gives clearer reasoning for this.
[CL 2506837 by Matthew Griffin in Main branch]
2015-04-09 11:11:28 -04:00
Ben Marsh
d4273da009 Remove Windows resource files from generated game projects. Users can create resource files themselves if they need platform specific resources; we already provide a platform agnostic way of customizing the icon through the project settings, and any version strings would be better implemented in a similar platform-agnostic way. The current resources are full of Epic copyright and version information, can't be upgraded, and can't be opened with the Visual Studio resource editor.
[CL 2481827 by Ben Marsh in Main branch]
2015-03-17 13:42:32 -04:00
Jaroslaw Palczynski
6c305898e0 UE-8578: Slate Widget fails to compile once added to a new project
Slate Widget was failing, because of missing Slate dependencies. Testing introduced a couple of problems which all was fixed by this CL:
1. I introduced AdditionalDependencies in .uproject file and change "Add Code To Project..." procedure to fill this array if needed. UBT reads this field and builds the project with required modules. Needed for Slate classes.
2. Changed UHT to #include missing headers in generated.h files if it was missing an include for it's super class. It was causing problems if we were trying to add a subclass of BrushShape -- BrushShape.h didn't have #include "Brush.h" and UBrushShape was inheriting from UBrush.
3. Above problems also occured for Slate classes, but not all of them was UCLASSes, so I had to fixed that manually.
4. "Add Code To Project..." functionality was not invalidating UBT makefiles, which lead to omitting new source files during hot-reloading (even thought it was reporting a success). This change also should improve a bit performance, cause right now there is no "gathering" step -- there is only invalidate step which is a lot quicker.
5. Fixed "Selected Class Source" link to source class in Slate Widget and Slate Widget Style class.

#codereview Robert.Manuszewski

[CL 2481488 by Jaroslaw Palczynski in Main branch]
2015-03-17 09:34:18 -04:00
Jaroslaw Palczynski
f23f29257b Back out changelist 2481333
Rob asked me to back out GENERATED_*_BODY -> GENERATED_BODY change for now until the "_Validate and _Implementation auto-generation" discussion is over.

#codereview Robert.Manuszewski

[CL 2481343 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:38:32 -04:00
Jaroslaw Palczynski
fa31560e2d Enabled UHT to digest GENERATED_BODY instead of GENERATED_UCLASS_BODY, GENERATED_USTRUCT_BODY, GENERATED_UINTERFACE_BODY or GENERATED_IINTERFACE_BODY, changed every occurence to the new syntax and fixed every warning that have fallen out of this change.
#codereview Robert.Manuszewski

[CL 2481333 by Jaroslaw Palczynski in Main branch]
2015-03-17 05:19:11 -04:00
Jason Hoffman
53cc33c3b8 fix for UE-10324 Unable to toggle between Public and Private class when using Add Code to Project
[CL 2476785 by Jason Hoffman in Main branch]
2015-03-12 10:06:48 -04:00
Jamie Dale
9116cbe4f7 New class workflow improvements
We now sync the Content Browser view after adding a new class, and also open the BP editor when adding a new BP class.

[CL 2475251 by Jamie Dale in Main branch]
2015-03-11 11:54:24 -04:00
Jamie Dale
689b6c0909 We now offer to show the Output Log when adding a new C++ fails in the editor
[CL 2472880 by Jamie Dale in Main branch]
2015-03-09 15:38:57 -04:00
Richard Hinckley
de99efeeb8 [UE-11407] Fixing default map names for blank projects in Main to match 4.7.
[CL 2471309 by Richard Hinckley in Main branch]
2015-03-06 11:59:18 -05:00
Gil Gribb
35cf42566a UE4 - merge GDC branch, code @2465640 to main
[CL 2468685 by Gil Gribb in Main branch]
2015-03-04 08:31:40 -05:00
bruce nesbit
64c9836745 Fixed map path for starter content
[CL 2467436 by bruce nesbit in Main branch]
2015-03-03 05:13:05 -05:00