Commit Graph

26 Commits

Author SHA1 Message Date
Dmitry Rekman
5b887fb484 Linux: more changes for the editor.
From PR #140,  contributed by sbc100 and #ue4linux community.

[CL 2096299 by Dmitry Rekman in Main branch]
2014-06-05 17:11:45 -04:00
Dmitry Rekman
1e474ff80c Linux: Do not init a static variable so it can moved to BSS.
Minor savings of about 16K binary size.

[CL 2088824 by Dmitry Rekman in Main branch]
2014-05-29 17:48:14 -04:00
Dmitry Rekman
1ba40ff607 Randomize crash handler directory.
Makes it even more collision-resistant - crash report server can have reports from multiple machines and just pid is not enough.
(Part of TTP #309293).

[CL 2088800 by Dmitry Rekman in Main branch]
2014-05-29 17:47:10 -04:00
Dmitry Rekman
a39a0987c0 Linux: fix Delete key (TTP #334760).
- Also minor formatting changes to make code more in line with our coding style.

[CL 2085039 by Dmitry Rekman in Main branch]
2014-05-29 17:01:06 -04:00
Dmitry Rekman
79cd1f51af Allow starting CrashReportClient from a case-sensitive fs.
We used to lowercase everything, and some current builds still do this. Thus try lowercased path first, then switch to a proper one (assuming case-sensitive deployment).
Needed for TTP #309293.

[CL 2084998 by Dmitry Rekman in Main branch]
2014-05-29 17:00:41 -04:00
Dmitry Rekman
7fb588dbde Linux: making QA-ClickHUD work.
- This change makes QA-ClickHUD map work (resolving 4.2 TTP #331994) while also not breaking SlateViewer and (hopefully) external efforts to make editor work. Needs to be reconsidered and redone properly, probably will not work with QA-ClickHUD via PIE (when we get to this).
- Also make DSExt more informative about its errors and more X11 specific ;/ Also to be redone after 4.2 TTPs are gone.

[CL 2083726 by Dmitry Rekman in Main branch]
2014-05-29 16:55:24 -04:00
Dmitry Rekman
ac9403b69b TPS: Made libdsext more resilient to various problems.
Takes care of some errors reported by valgrind and hopefully will make it easier to diagnose other problems like TTP #331994.

[CL 2081269 by Dmitry Rekman in Main branch]
2014-05-21 18:38:10 -04:00
Dmitry Rekman
82f1cad671 Linux: fix mouse look in games.
Integrating MichaelL's fix (somewhat changed) which avoids grabbing the mouse if cursor is hidden.

#codereview Michael.Liebenow

[CL 2072381 by Dmitry Rekman in Main branch]
2014-05-13 20:54:18 -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
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
629588b581 Better conversion of SDL keys to ASCII chars.
- Still awful, but at least handles all the (US keyboard) combinations and fixes TTP #334756.

[CL 2069024 by Dmitry Rekman in Main branch]
2014-05-09 23:35:14 -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
40d517d7a5 Fix ShaderCompiler hang in rare cases when a SCW PID gets reused by another process
#codereview daniel.wright,daniel.lamb,dmitry.rekman,michael.trepka

[CL 2066090 by Marcus Wassmer in Main branch]
2014-05-07 17:16:29 -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
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
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
ae0458b16e Engine source (Main branch up to CL 2027380) 2014-03-16 04:24:33 -04:00
TimSweeney
3a75fe0114 Engine source (Main branch up to CL 2027006) 2014-03-15 01:14:25 -04:00