Commit Graph

269 Commits

Author SHA1 Message Date
Steve Robb
f402464961 Fix for FToken stack corruption when NAME_SIZE is changed.
#codereview robert.manuszewski

[CL 2670879 by Steve Robb in Main branch]
2015-08-27 10:22:25 -04:00
Gareth Martin
125ac6132f Fix generated _getUObject() function not having "override" when it should
[CL 2664253 by Gareth Martin in Main branch]
2015-08-21 07:27:28 -04:00
Maciej Mroz
108bd4f93a ModuleRelativePath Metadata is properly generated for structures
#codereview Steve.Robb

[CL 2662589 by Maciej Mroz in Main branch]
2015-08-20 09:50:59 -04:00
Robert Manuszewski
43728870d0 When cooking saving package will now skip creating exports and imports that are editor-only (are instances of an editor class).
[CL 2662441 by Robert Manuszewski in Main branch]
2015-08-20 06:52:43 -04:00
Maciej Mroz
94212b39e7 UEBP-40 C++ code generation (WIP):
- improved CustomThunk support
- MakeArray fix

[CL 2659156 by Maciej Mroz in Main branch]
2015-08-18 08:22:17 -04:00
Mikolaj Sieluzycki
8a4a6cd7fe Fix multiline comment issues when parsing */// in UHT.
[CL 2658966 by Mikolaj Sieluzycki in Main branch]
2015-08-18 04:09:32 -04:00
Mikolaj Sieluzycki
f68e6e073e Fix multiline comments parsing in UHT, where end of comment was treated as start of one, e.g. /*/ Comment /*/
[CL 2657671 by Mikolaj Sieluzycki in Main branch]
2015-08-17 07:52:26 -04:00
MrMormon
9e4eadaf35 PR #1460: Fixed LogCompile typo: Tabify time was was... (Contributed by MrMormon)
[CL 2654482 by Robert Manuszewski in Main branch]
2015-08-13 09:24:50 -04:00
Steve Robb
7d32c57c73 Support for regular C++ int types in casts.
#codereview robert.manuszewski

[CL 2646554 by Steve Robb in Main branch]
2015-08-06 12:09:44 -04:00
Mikolaj Sieluzycki
a53cf2e072 Make UEnums store values as uint8 instead of int8.
#codereview Robert.Manuszewski

[CL 2643276 by Mikolaj Sieluzycki in Main branch]
2015-08-04 08:20:16 -04:00
Maciej Mroz
ae93f71eb4 CodeGenerator sets CppType in Enum
UByteProperty::GetCPPType returns proper type

#codereview Steve.Robb

[CL 2641863 by Maciej Mroz in Main branch]
2015-08-03 09:58:36 -04:00
Maciej Mroz
08af6cf6b5 UEBP-40 C++ code generation (WIP):
- Native Access Specifiers
- FEmitDefaultValueHelper fix/improvements

#codereview Robert.Manuszewski, Nick.Whiting

[CL 2640098 by Maciej Mroz in Main branch]
2015-07-31 06:27:05 -04:00
Mikolaj Sieluzycki
6979137b8a Allow UHT to parse 'int', 'signed int' and 'unsigned int' types.
[CL 2636566 by Mikolaj Sieluzycki in Main branch]
2015-07-29 03:49:56 -04:00
Steve Robb
f74c17b324 Cope with explicit when looking for user constructors.
#codereview robert.manuszewski

[CL 2636012 by Steve Robb in Main branch]
2015-07-28 16:46:57 -04:00
Steve Robb
d1605aa96b FindMatchingClosingParenthesis moved to UnrealString.h, return value fixed (was off-by-one) and checked upper bound of StartSearch.
UnrealHeaderTool now supports casts and brackets when recognizing UENUMs as array bounds.

#codereview robert.manuszewski,leigh.swift,lee.clark

[CL 2635565 by Steve Robb in Main branch]
2015-07-28 13:08:12 -04:00
Maciej Mroz
c73e6aef8c UEBP-40 C++ code generation (WIP):
- interface is called with "::Execute_"
- interface functions are BlueprintNativeEvents
- CppFromBpEvent metadata added, to force FUNC_Event
- BlueprintNativeEvent support
- BlueprintImplementableEvent support

[CL 2635382 by Maciej Mroz in Main branch]
2015-07-28 10:40:16 -04:00
Richard Hinckley
5b7adab09e Added "//~" and "/*~" support to Unreal header parsing, so that comments can be ignored instead of being made into tooltips, mirroring the recent Doxygen filter feature. Also added support to keep @note blocks visible in UFUNCTIONS.
[CL 2630494 by Richard Hinckley in Main branch]
2015-07-23 09:27:43 -04:00
Martin Mittring
fcffaa7884 better %f seconds printout
[CL 2624557 by Martin Mittring in Main branch]
2015-07-17 13:48:35 -04:00
Jaroslaw Palczynski
98611dbff9 UHT: Added class range validation in exporting code to prevent crashes when they occur during bad parsing.
#codereview Robert.Manuszewski

[CL 2622001 by Jaroslaw Palczynski in Main branch]
2015-07-15 13:24:05 -04:00
Steve Robb
4e1172d62b Prevent UHT crash when looking up parent types during code generation.
#codereview robert.manuszewski

[CL 2619876 by Steve Robb in Main branch]
2015-07-14 06:27:34 -04:00
Steve Robb
07eaa7faf4 Bad UENUM specifiers now throw an error.
#codereview robert.manuszewski

[CL 2617559 by Steve Robb in Main branch]
2015-07-11 04:43:05 -04:00
Mikolaj Sieluzycki
993cdb271f Make UHT parse TSubclassOf<USomeClass>& parameters to RPC without compilation error.
[CL 2616553 by Mikolaj Sieluzycki in Main branch]
2015-07-10 08:56:36 -04:00
Michael Noland
93f5f7871f Blueprints: Added support for expressing a per-parameter DisplayName using the markup UPARAM(DisplayName="Something neat") before the parameter declaration
This allows renaming parameters without using a K2ParamRedirect, and to use names that are not legal C++ identifiers

UFUNCTION(BlueprintPure, ...)
static void DoSomethingAwesome(UPARAM(DisplayName="Awesome Param") float BoringParam);

#codereview nick.whiting

[CL 2614169 by Michael Noland in Main branch]
2015-07-08 17:03:53 -04:00
Mikolaj Sieluzycki
446dc2f2d5 Fix issues with comment parsing in UHT.
[CL 2605847 by Mikolaj Sieluzycki in Main branch]
2015-06-30 11:45:05 -04:00
Steve Robb
978799d68b Subobject error removed.
#codereview robert.manuszewski

[CL 2598990 by Steve Robb in Main branch]
2015-06-24 11:29:52 -04:00