Commit Graph

15 Commits

Author SHA1 Message Date
Ben Marsh
dbe3107712 [INTEGRATE] Change 2462411 by Ben.Marsh@Ben.Marsh_T3245_Main on 2015/02/26 12:58:06
Remove menu button for API reference if the CHM file doesn't exist.

[CL 2462416 by Ben Marsh in Main branch]
2015-02-26 12:59:13 -05:00
Ben Marsh
012e6f1e73 [INTEGRATE] Change 2418971 by Mike.Fricker@MFRICKER_G3686_Alpha on 2015/01/26 14:21:35
EngineMinimal.h no longer includes SlateCore.h or SlateBasics.h
	- This nearly halves the time it takes to recompile small game projects! (~14s -> ~8s)
	- This shrinks the PCH size for EngineMinimal by 161 MB on Windows (420 MB -> 259 MB, Development Editor Win64)
	- Note that Engine.h and EnginePrivate.h still include SlateCore.h and SlateBasics.h (not a clear detriment)
	- IMPORTANT: We need to verify all example games that use this still compile, and add release notes for user games that forgot to include Slate directly
	- This is all part of UE-7203

	#codereview james.golding,nick.atamas

[CL 2419751 by Ben Marsh in Main branch]
2015-01-26 20:24:15 -05:00
Ben Marsh
64f047bb77 [INTEGRATE] Change 2414097 by Mike.Fricker@MFRICKER_G3686_Alpha on 2015/01/21 13:43:14
New look and feel for Slate tool-tips
	- Tool-tips are now black on white so they stand out from the rest of the editor
	- Increased tool-tip font size by one point; increased the amount of padding
	- Only regular text-only tool-tips and documentation tool-tips are affected.  We may update the various customized tool-tips later on.

[CL 2419520 by Ben Marsh in Main branch]
2015-01-26 18:59:35 -05:00
Ben Marsh
b8b67b3ad3 [INTEGRATE] Change 2411673 by Chris.Gagnon@chris.gagnon_T4696 on 2015/01/19 19:20:57
SCS Editor now shows a root actor that you can select and see properties.
	Draging and dropping components to the graph from SCS editor creates Getters.
	Add components drop down has more common entries and better naming for some.

[CL 2419383 by Ben Marsh in Main branch]
2015-01-26 18:13:04 -05:00
Jeff Farris
3672452617 Added information to documentation links URLs to be able to gather stats about where users are coming from when they view documentation.
[CL 2406128 by Jeff Farris in Main branch]
2015-01-14 13:15:22 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Joe Conley
5198266199 Translation Editor: Initial work for a "Translation picker." In current state when enabled, hover over FText in the editor and it will show you the information about that text and any tooltips. Shows Key, Namespace, Source, Translation and Table Name. Works for many strings, some still fail to be looked up in the Localization tables, will continue investigating.
[CL 2336834 by Joe Conley in Main branch]
2014-10-22 00:21:55 -04:00
Thomas Sarkanen
fa824aad40 Added more hyperlink types for tutorials
Added asset, code, tutorial and UDN hyperlinks. Tweaked UI to use combo box instead of the large amount of radio buttons it was using before.
Made sure importer & content use correct text styles.
Defaulted to rich text for content.

[CL 2284444 by Thomas Sarkanen in Main branch]
2014-09-04 09:59:45 -04:00
Thomas Sarkanen
b7361dffe8 Tutorials 2.0: Adding new tutorial wizard and rich text support
Tutorials can now be created using the right-click asset menu->Misc->Tutorial Blueprint.
Importer allows you to pick a UDN file, which will then be converted into a new Tutorial Asset.

Adapted UDN parser to also output rich text format for the purposes of this importer. This may be deprecated at some point soon, once existing tutorials have been imported.

Rich text editor added to tutorial details customization. Features; font, color, size & hyperlinks for now.
Rich text display also added to content widgets.

Added option to optionally show the widget highlight if only the bubble widget is required.

#codereview Bruce.Nesbit

[CL 2256027 by Thomas Sarkanen in Main branch]
2014-08-14 07:02:50 -04:00
Saul Abreu
1d025fcd8f Added CulturePointer.h, which typedefs ThreadSAfe TSharedRef and TSharePtr for FCulture. These should be used instead of the manual template instantiations for consistency.
[CL 2255218 by Saul Abreu in Main branch]
2014-08-13 17:14:52 -04:00
Ben Cosh
196cf342b5 Added a new documentation node to the blueprints to display udn documentation excerpts in the grapheditor.
#TTP 312311 - ROCKET: TASK: Add a "Documentation Node"
#Branch UE4
#Proj  BlueprintGraph, EdGraph, Kismet, KismetCompiler, GraphEditor, Documentation, EditorStyle

#Change Updated UEdGraphSchema to include an interface call to retrieve an FEdGraphSchemaAction to create documentation nodes. At this point only the K2 interfaces implement this.
#Change Updated UEdGraphSchema_K2 to include a call to retrieve an FEdGraphSchemaAction to create documentation nodes. This is used to add the actions to the blueprint palette and context menus.
#Add Added FEdGraphSchemaAction_K2AddDocumentation in EdGraphSchema_K2_Actions.h/cpp to implement the calls in UEdGraphSchema to create documenation nodes from palette and context menus.
#Change Modified FK2ActionMenuBuilder to provide a static call to create a documentation action in the same style as the comment. Additionally added calls to FK2ActionMenuBuilder::GetPaletteActions and FK2ActionMenuBuilder::GetContextAllowedNodeTypes to call this to add entries in the palette and context menus.
#Add Added a new Brush GraphEditor.Documentation_16x, for the context menu icon in SlateEditorStyle.cpp.
#Change Modified GetPaletteItemIcon in SBlueprintPalette.cpp to return the new icon for the DocumentationNode

#Change Modified FKismetCompilerContext::IsNodePure to include the Documentaton node in the drop through ensure test to prevent asserts on compling if a documentation node is present.

#Change Added an entry for Documentation node in FNodeFactory::CreateNodeWidget.

#Change Modified IDocumentationPage interface to provide the ability to provide a TextWrapAt Attribute so this can be set before creating excerpt content if desired.
#Change Modified the UDNParser to control text wrap at values in the created widgets using a float Attribute WrapAt, Added a set call in the DocumentationPage and made the default behaviour mimic the code it replaced.

#Add Added the class UEdGraphNode_Documentation implemented in EdGraphNode_Documentation.h and UEdGraph.cpp, this is the UObject implementation for the documentation nodes.
#Add Added the class SGraphNodeDocumentation as the GraphPanel implementation of the EdGraphNode_Documentation.
#Change Moved the resizable code from SGraphNodeComment into a SGraphNodeResizable and changed SGraphNodeComment and SGraphNodeDocumentation inherit from it to avoid duplicating code.

#Change Added a documentation specific details customisation so the excerpts can be displayed as combo button.
#Change Added FBlueprintDocumentationDetails into BlueprintDetailsCustomization.h/cpp to handle the user interaction with the documentation node in the BP Editor.

ReviewedBy Chris.Wood, Mike.Beach

[CL 2247425 by Ben Cosh in Main branch]
2014-08-07 15:33:55 -04:00
Marc Audy
494f22bb33 Add the ability to link to object class documentation throughout the UI
[CL 2226010 by Marc Audy in Main branch]
2014-07-21 17:31:27 -04:00
Michael Schoell
0b51921eab Find-in-Blueprints will now find a variety of new, useful bits of data in Blueprints (both for find-in-all and finding in current). Searches can now be done in the current culture and source culture.
Find-in-Blueprints now uses the same search data for both Find-in-all-Blueprints and Find-in-Blueprint. That searchdata is no longer stored in the asset registry, it is stored in the DDC and is managed by a new class. Searching is multithreaded to reduce overhead on the main thread during long searches in large projects.

virtual UEdGraphNode::AddSearchMetaDataInfo which sets base find-in-blueprints metadata and can be overriden with more detailed search data.
#change UEdGraphPin::GetDefaultAsString will return the text value as string if set

Added FBlueprintEditorUtils::GetEntryAndResultNode, moving most of the functionality from FBlueprintGraphActionDetails::SetEntryAndResultNodes to the new function
Added FBlueprintEditorUtils::GetGraphDescription to get graph descriptions from their metadata
Added FBlueprintEditorUtils::GetNodeByGUID to find nodes using their Guid

Blueprints now cache their search metadata on compile, this is a CPU intensive process and can no longer occur every time the Asset Registry queries for the Blueprint's tags

#change Fixed an issue with finding a pin type's icon (UK2Node_Variable::GetVarIconFromPinType) where we would search for a class we already had available.

Added an overridable function to UEdGraphNode to collect Blueprint search metadata.

#change FJsonObjectConverter::UPropertyToJsonValue is now available outside of the .cpp

#change Rewrote how Find-in-Blueprints works both for local and global searches, now uses Json to resolve a variety of format issues and also to make it much more extensible.

#ttp 290376 - K2: Ability to search (find in blueprints) important pin values
#ttp 298599 - ROCKET: TASK: K2: Search results should indicate where the instance is located in the results page (construction script, event graph, custom graph)
#ttp 304819 - Blueprints: Editor: L10N: "Find in Blueprint" needs to work with other languages
#ttp 308572 - UE4: ANIM: K2: Searching doesn't work for anim nodes right now
#ttp 316678 - UE4: BLUEPRINTS: SHADOW: Default values are not searchable
#ttp 318180 - UE4: K2: Cannot search for spawnactor using find in blueprints
#ttp 320141 - UE4: K2: Find in blueprints does not find functions declared in another blueprint (if the function isn't called in that BP)

[CL 2110494 by Michael Schoell in Main branch]
2014-06-19 11:32:47 -04:00
Justin Sargent
87a5b11d5b Editor: Documentation: Updated the documentation code to allow proper fallback behavior for cultures missing documentation.
[CL 2038747 by Justin Sargent in Main branch]
2014-04-23 16:43:22 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00