Commit Graph

22 Commits

Author SHA1 Message Date
Nick Penwarden
fd75ebbb83 AllowsFramerateSmoothing is now a platform proprty. Enabled for all platforms except XB1 and PS4
[CL 2076052 by Nick Penwarden in Main branch]
2014-05-16 17:24:12 -04:00
Dmitry Rekman
f1aa1ee21b Linux: Fix incorrect error message for missing #define.
[CL 2073578 by Dmitry Rekman in Main branch]
2014-05-14 19:01:30 -04:00
Dmitry Rekman
544007b48b Linux: mimic Windows behavior regarding OnKeyChar() events.
Particularly, do not trigger this for arrow keys, since they do not generate WM_CHAR on Windows.
Otherwise console will be broken in subtle ways (TTP #331984).

#codereview Michael.Liebenow

[CL 2072376 by Dmitry Rekman in Main branch]
2014-05-13 20:44:15 -04:00
Jaroslaw Palczynski
724ea452a5 Refactoring thread affinity settings.
There was a bug in setting affinity of a thread that assumed affinity from lookup table with key being a thread name. When names was appended with consecutive numbers (e.g. "RenderingThread 1") the mechanism failed. Refactored this to use special static consts describing affinity override'able by different platforms for different affinity types + possibility of setting affinity per thread.
#codereview Jaroslaw.Surowiec

[CL 2070197 by Jaroslaw Palczynski in Main branch]
2014-05-12 08:40:54 -04:00
Dmitry Rekman
7b70307ded Linux: TPS building improvements by #UE4Linux folks.
- Patches to HACD, hlslcc,mcpp and nvtess (licenses updated where appropriate).
- Support for Linux target platform in a bunch of TPS modules.
- Automate update of dependencies to an extent.
- Misc. changes (accomodate perforce and git flows, minor code bug when dealing with TPS etc).

#codereview Mike.Fricker, Ben.Marsh

[CL 2069938 by Dmitry Rekman in Main branch]
2014-05-12 08:37:47 -04:00
Dmitry Rekman
5a828ac684 Linux mouse support improvements from Darkside.
- Result of pair debugging of NickA and MichaelL.
- Introduces some really scary platform-specific #ifdef's in SWindow I am not happy about...  Reportedly going to be accounted for in Slate refactor and will cease to be platform-specific.
- Old junk nuked.

#codereview Josh.Adams, Michael.Liebenow, Nick.Atamas, Michael.Trepka

[CL 2067399 by Dmitry Rekman in Main branch]
2014-05-08 16:37:57 -04:00
Dmitry Rekman
e3105eda19 Merging the bulk of Darkside changes.
- New target platforms (LinuxNoEditor for client+server, LinuxClient for client, Linux for editor, LinuxServer for dedicated server - mirroring other platforms).
- Preliminary support for gcc in the toolchain (and some safe fixes in code).
- No more lowercasing when accessing files on Linux, tread carefully.
- Changes needed for native compilation and other minor improvements.

#codereview Josh.Adams, Michael.Liebenow, Steve.Robbs

[CL 2067133 by Dmitry Rekman in Main branch]
2014-05-08 13:01:46 -04:00
Marcus Wassmer
3b7a3b4052 Fix Linux compile.
[CL 2066093 by Marcus Wassmer in Main branch]
2014-05-07 17:16:40 -04:00
Mikolaj Sieluzycki
45c031d576 #ttp 331438 UE4: PlatformMath refactor
#proj core
#branch UE4
#summary Rename Trunc, Round, Floor, Ceil to TruncToInt, RoundToInt, FloorToInt, CeilToInt. Added *ToFloat versions. Repeated for FGenericPlatformMath and all derived classes for all platforms wherever applicable. Corrected comment in Fractional and added Frac() which does HLSL-style fractional (x - floor(x)). Checked for compilation on all projects (with cooking levels wherever applicable). Didn't change Fractional to Frac, this will be done in second commit.
#codereview robert.manuszewski

[CL 2064306 by Mikolaj Sieluzycki in Main branch]
2014-05-06 06:26:25 -04:00
Dmitry Rekman
d198677e3b Added ability to daemonize (detach from user session/terminal) to platform abstraction layer.
[CL 2055555 by Dmitry Rekman in Main branch]
2014-04-24 11:53:23 -04:00
Dmitry Rekman
7a2714ad2a Linux should support quit to the OS (fixes TTP #331986).
[CL 2053401 by Dmitry Rekman in Main branch]
2014-04-23 20:08:04 -04:00
Dmitry Rekman
c74c09a1de Expose whether we're building with Steam through WITH_STEAMWORKS define and compile SteamController conditionally (TTP #332911).
#codereview Mike.Fricker, Ben.Marsh, Leslie.Nivison

[CL 2049973 by Dmitry Rekman in Main branch]
2014-04-23 19:36:38 -04:00
Bob Tellez
96c40b8974 Merging UE4-Fortnite -> Main using CL#2047477
[CL 2049479 by Bob Tellez in Main branch]
2014-04-23 19:29:53 -04:00
Dmitry Rekman
3396f38af7 Added stub implementation for LaunchURL on Linux to alleviate TTP #331907.
[CL 2048152 by Dmitry Rekman in Main branch]
2014-04-23 19:14:49 -04:00
Dmitry Rekman
e893805696 Removing Linux-specific CopyDirectoryTree() and replacing with generic one written by Rama.
Details: https://github.com/EpicGames/UnrealEngine/pull/27

[CL 2045046 by Dmitry Rekman in Main branch]
2014-04-23 18:37:56 -04:00
Dmitry Rekman
eff3c70acb Making IPv6 socket code RFC 2553-compliant (and thus not Windows-specific). Enabling Linux to support BSD v6 sockets too.
#codereview Ryan.Gerleve, Sam.Zamani, Josh.Markiewicz

[CL 2042078 by Dmitry Rekman in Main branch]
2014-04-23 17:59:20 -04:00
Dmitry Rekman
14b42a57e6 Adding guards for Steam Controller support. Should be refactored and made a platform property.
[CL 2041089 by Dmitry Rekman in Main branch]
2014-04-23 17:48:32 -04:00
Bob Tellez
6c651a1378 UE4: Added !UE_SERVER to usage of SteamController in core code to finish the change in CL#2040814
#codereview Dmitry.Rekman,Josh.Adams

[CL 2040836 by Bob Tellez in Main branch]
2014-04-23 17:46:07 -04:00
Ben Zeigler
6b09bff59d #UE4 Fix it so Linux builds only link in SteamController if they're building with Engine, as SteamController depends on engine. Fixes linux crash report client
#codereview dmitry.rekman

[CL 2038242 by Ben Zeigler in Main branch]
2014-04-23 16:35:49 -04:00
UnrealBot
db494a6e69 Engine source (Main branch up to CL 2037954) 2014-04-02 18:09:23 -04:00
TimSweeney
3a75fe0114 Engine source (Main branch up to CL 2027006) 2014-03-15 01:14:25 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00