Commit Graph

116 Commits

Author SHA1 Message Date
Ben Marsh
3b30d23ec5 Move GEngineVersion into FEngineVersion::Current(), and GCompatibleWithEngineVersion to FEngineVersion::CompatibleWith().
#platformnotify Josh.Adams

[CL 2655102 by Ben Marsh in Main branch]
2015-08-13 15:44:02 -04:00
yaakuro
1c630d59b1 Add CodeLite support (on Linux) - UE-18561, UE-18564.
- Includes PR #1378 and #1379 (both contributed by yaakuro)
  * Adds CodeLite project generator to UBT (can be invoked on all platforms).
  * Adds CodeLite source accessor plugin (whitelisted for Linux only).
  * Desktop platform/game project generation switched to use .workspace on Linux.
- Minor cleanup (do not recompile UAT and its modules when generating Linux projects).

#codereview Josh.Adams, Robert.Manuszewski, Mike.Fricker

[CL 2621060 by Dmitry Rekman in Main branch]
2015-07-14 18:17:55 -04:00
Jamie Dale
74f6f01977 Improved the folder blacklist in GameProjectUtils::DuplicateProjectForUpgrade
UE-18319 - Collections reset when the engine upgrades project

GameProjectUtils::DuplicateProjectForUpgrade used to wholesale skip the Saved directory, which meant that copying your project could appear to lose your local collections, as well as any saved user-settings.

This change allows it to copy the parts of the Saved directory that we know aren't transient. The RelativeDirectoriesToSkip array may need updating as new Saved content is added in order to keep the copy as fast as possible.

#codereview Ben.Marsh

[CL 2618570 by Jamie Dale in Main branch]
2015-07-13 14:23:34 -04:00
bruce nesbit
df30071d7e Revised feature pack code.
Additional files can now be specified in feature pack manifest.
Feature packs can now be parsed/installed feature pack without the need for a .upack file
Removed feature packs for shared template resources
Moved shared template resource manifests into a FeaturePack folder and revised so they will work sans .upack
Removed shared feature packs from list of .upacks rocket builds.

[CL 2617901 by bruce nesbit in Main branch]
2015-07-13 05:47:36 -04:00
bruce nesbit
0f732bf4b2 Added automation test for project creation.
Added support for which shared resource to edit

[CL 2603798 by bruce nesbit in Main branch]
2015-06-29 08:27:10 -04:00
bruce nesbit
38aa22334c Fixed another Feature Pack detail enum
[CL 2595212 by bruce nesbit in Main branch]
2015-06-22 07:35:02 -04:00
bruce nesbit
7631ed93b1 Code to support shared template resources
[CL 2589767 by bruce nesbit in Main branch]
2015-06-17 03:25:33 -04:00
Matthew Griffin
d2515308d8 Ensure that dependencies on removed plugins are removed from the saved .uproject file
Removed Saving from the Project Manager's SetPluginEnabled function, setting a dirty flag instead, as it won't be able to check source control
Added a new function to save the current project from the Project Manager and clear the dirty flag on success

[CL 2588323 by Matthew Griffin in Main branch]
2015-06-16 04:27:48 -04:00
Terence.Burns
e3c21116cb [INTEGRATE] Change 2567143 by Terence.Burns@SmallChanges on 2015/05/27 15:04:49
Added 'Minimum OS Version' as a build condition of content projects for windows.

	Fixed a small issue in GameProjectUtils that meant the Default(Engine) configs were not being checked against the project correctly.

	UE-15605

	#lockdown Josh.Adams

#platformnotify Josh.Adams

[CL 2575452 by Matthew Griffin in Main branch]
2015-06-03 08:40:17 -04:00
Ben Marsh
cc719d7a21 Always enable installed plugins by default, but update your project file with references to them on startup (so other users opening the project will be able to find it on the marketplace).
[CL 2566860 by Ben Marsh in Main branch]
2015-05-27 12:56:05 -04:00
Peter Sauerbrei
b420e93161 enable plugin linking in the binary release
UE-16129

[CL 2564999 by Peter Sauerbrei in Main branch]
2015-05-26 11:22:09 -04:00
Jamie Dale
3ba0384688 Improved the localization support of the class wizard dialogs
UE-14158 - Description of Parent Object Class

Fixed some issues where getting a localized string for a class tooltip would fail, and updated the class wizard to use FText so it can display localized descriptions.

[CL 2554964 by Jamie Dale in Main branch]
2015-05-18 10:09:05 -04:00
Peter Sauerbrei
bb94b1f74b don't allow Tappy Chicken to be considered a code based project in binary release
UE-13689
#ios

[CL 2550080 by Peter Sauerbrei in Main branch]
2015-05-13 21:31:18 -04:00
Peter Sauerbrei
8c24604021 fix for flipped logic when checking settings are different from default
UE-15280

[CL 2545794 by Peter Sauerbrei in Main branch]
2015-05-11 14:45:20 -04:00
Peter Sauerbrei
ae371ac807 fixed issue with not being able to tell if a content-based project needs to be built as code within the editor
UE-11636

[CL 2533916 by Peter Sauerbrei in Main branch]
2015-05-01 14:00:34 -04:00
salamanderrake
27ccfbd723 PR #806: KDevelop Project Generation (UE-9427).
- Contributed by salamanderrake.
- Cosmetic differences from the PR.
- Also removed filtering out Windows/Mac/etc directories when generating a qmake project since it makes code navigation worse.

[CL 2532165 by Dmitry Rekman in Main branch]
2015-04-30 13:15:34 -04:00
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
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
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
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
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
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