Commit Graph

79 Commits

Author SHA1 Message Date
Gil Gribb
c8c3d793ea UE4 - remove rhimethods.h and all of the macro stuff relating to that
[CL 2524145 by Gil Gribb in Main branch]
2015-04-24 07:50:10 -04:00
Chris Babcock
b89194ada7 Allow volume buttons to be handled by game or system on Android
Adds 2 BP nodes (SetVolumeButtonsHandledBySystem and GetVolumeButtonsHandledBySystem)
#ue4
#android
#codereview Josh.Adams,Marc.Audy

[CL 2521773 by Chris Babcock in Main branch]
2015-04-22 17:01:01 -04:00
Marc Audy
4815482be4 Add a PRAGMA_DISABLE_SHADOW_WARNING to easily wrap third party code that needs shadow variables disabled
Move PRAGMA_POP out of deprecation section and in to general usability

[CL 2510496 by Marc Audy in Main branch]
2015-04-13 13:31:04 -04:00
Chris Babcock
d824480191 Android: make -Wparentheses-equality non-fatal.
- Constructs like if (foo=1) will still break the build, but if ((foo == 1)) will not (won't be suppressed completely, but will produce a visible warning).

#ue4
#android
#codereview Josh.Adams

[CL 2501761 by Chris Babcock in Main branch]
2015-04-03 18:06:14 -04:00
Chris Babcock
2e3ef723cd PR #967: Added support for Android menu and volume keys (Contributed by gatools)
#ue4
#android
#codereview Robert.Jones

[CL 2493857 by Chris Babcock in Main branch]
2015-03-27 11:06:40 -04:00
Jaroslaw Palczynski
b0bc8bbc87 Added EMIT_CUSTOM_WARNING_AT_LINE macro to emit warnings at given line rather than on macro location.
[CL 2490438 by Jaroslaw Palczynski in Main branch]
2015-03-25 07:44:58 -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
Josh Adams
a98d6d5f5c - Changed Android ES31+AEP support from a TargetPlatform to a checkbox that works with any Android TP
- Moved HighQualityLightmap support check to IOSTargetPlatform so it can check project settings for Metal support
- Fixed some issues running on an x86_64 device
- Cleaned up some unused functions in TargetPlatform
#codereview niklas.smedberg

[CL 2478853 by Josh Adams in Main branch]
2015-03-13 14:05:13 -04:00
Niklas Smedberg
059c72a160 Removed unused code
[CL 2475850 by Niklas Smedberg in Main branch]
2015-03-11 18:09:19 -04:00
Niklas Smedberg
ca14047362 Android ASTC for ES2
[CL 2475760 by Niklas Smedberg in Main branch]
2015-03-11 17:28:22 -04:00
Mikolaj Sieluzycki
01acd9263c Log debug message before assertion macros.
#codereview Steve.Robb

[CL 2475034 by Mikolaj Sieluzycki in Main branch]
2015-03-11 09:07:48 -04:00
Mikolaj Sieluzycki
d7a081e634 Disable deprecation warnings in code generated by UHT.
[CL 2473643 by Mikolaj Sieluzycki in Main branch]
2015-03-10 08:24:59 -04:00
Mikolaj Sieluzycki
b0af833b85 CIS fix.
[CL 2425621 by Mikolaj Sieluzycki in Main branch]
2015-01-30 08:56:47 -05:00
Mikolaj Sieluzycki
4b1f513db4 Emit warning if GetLifetimeReplicatedProps and functions with _Implementation and _Validate suffixes aren't declared.
#codereview Robert.Manuszewski

[CL 2385673 by Mikolaj Sieluzycki in Main branch]
2014-12-11 11:49:41 -05:00
Rene Rivera
7151751135 [UEPLAT-207] Support Message Boxes on Android.
#codereview josh.adams, chris.babcock

[CL 2384151 by Rene Rivera in Main branch]
2014-12-10 15:28:56 -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
Rene Rivera
8a8d83c447 [UE-6046] JNI errors when using ART runtime. Fixed various errors with JNI calls and references.. Moved build OS version to GameActivity to work around ART limitation. Fix FAndroidApplication::ClassLoader being a local ref instead of a global ref. Added exception check to FindJavaClass to find class lookup errors early. Fixed various local vs. global refs in FJavaClassObject.
#codereview Josh.Adams, Chris.Babcock

[CL 2374995 by Rene Rivera in Main branch]
2014-12-03 14:34:22 -05:00
Marcus Wassmer
db992adc28 Deprecate IForceFeedbackSystem, add IInputInterface.
Add PS4 LightBar support.
#codereview marc.audy,josh.adams

[CL 2373907 by Marcus Wassmer in Main branch]
2014-12-02 13:48:37 -05:00
Steve Robb
e480904935 Pragma enable/disable deprecation macros moved into Platform.
Deprecation unified across all platforms in *CompilerPreSetup.h headers.

#codereview robert.manuszewski,marcus.wassmer

[CL 2373781 by Steve Robb in Main branch]
2014-12-02 11:22:29 -05:00
Rene Rivera
6f123d0222 Some missing files for the Android movie playback.
[CL 2366750 by Rene Rivera in Main branch]
2014-11-20 15:36:14 -05:00
Rene Rivera
ffde9aa6b7 [UE-4398] Implement Android Media plugin, for API 14 an onwards, and packaging changes to support it. Changes include:
Fixed JavaVM so it is automatically detached from a thread when thread exits (stops VM crash on thread exit ever happening)
Move JavaVM access into the application code.
Add utility Java call-in class to make it easier to use Java objects from C++ side.
Implement GetSystemErrorMessage to aid in debugging.
Expose some internal Android EGL data for use in plugins (i.e. the movie plugin).
Add access to Java AssetManager object.
Change Android OBBs from plain PAKs to uncompressed ZIPs of the staged content to allow both multiple PAKs and to allow non-PAK content. In particular this allow movies to be in the OBB as they need to be directly accessed.

#codereview Josh.Adams, Chris.Babcock

[CL 2362008 by Rene Rivera in Main branch]
2014-11-17 11:31:49 -05:00
Josh Adams
6ca46f77c0 - Upgraded to support API 21 (Android 5.0, Lollipop)
- Lots of Android iteration speedups:
   - When compiling from UBT (Visual Studio) perform incremental APK generation - it doesn't wipe the Intermadiate/APK directory between runs
   - Don't update project settings every run:
      - Looks at the project.properties for both game and google play services to make sure they are built with current SDK API version, if not, fixup project.properties, etc
   - Even with a non-incremental build (from Editor/UAT), keep the pre-dexed libraries (currently GooglePlayServices [GPS] only) for HUGE speedup
   - We can't just pre-dex GPS and check-in, that's not going to be safe with different java/SDK versions.
   - Removed the project.properties and proguard-project.txt from p4, as they will be generated if needed. A game can pre-supply those if needed, but we will still check API version and update if required
#codereview chris.babcock,ryan.gerleve,michael.noland

[CL 2341079 by Josh Adams in Main branch]
2014-10-27 13:07:43 -04:00
Steve Robb
d662588246 Applied changes from CL# 2331703 to all Clang platforms.
#codereview robert.manuszewski,dmitry.rekman

[CL 2340999 by Steve Robb in Main branch]
2014-10-27 07:59:21 -04:00
Steve Robb
95ac7b67db New/delete nothrow overrides, needed for newer Clangs.
Note: the changes here are only for Mac - it is likely that similar changes will be needed for other Clang platforms when they get upgraded.

#codereview dmitry.rekman,michael.trepka,mark.satterthwaite,robert.manuszewski

[CL 2331703 by Steve Robb in Main branch]
2014-10-16 11:23:02 -04:00