Commit Graph

41 Commits

Author SHA1 Message Date
Dmitry Rekman
e9f8e5798a Linux window changes from PR #306.
[CL 2251775 by Dmitry Rekman in Main branch]
2014-08-11 15:30:21 -04:00
Dmitry Rekman
7fb45d090a Support more output devices on Linux.
- Partially based on PR #306 submission, corrected for cross-compiling.
- Each platform is now able to set up output devices for logging according to its own needs.

#codereview Josh.Adams, Michael.Trepka

[CL 2249193 by Dmitry Rekman in Main branch]
2014-08-08 21:42:14 -04:00
Dmitry Rekman
688aa9ba71 A bunch of Linux changes.
- Mostly from PR #306, but sanitized/reworked.
- LinuxApplication now defers processing events (should make it differ less from Windows).
- Process spawning changes in #306 partially left out until explained by amigo/#ue4linux folks.

#codereview Josh.Adams

[CL 2245193 by Dmitry Rekman in Main branch]
2014-08-06 01:28:45 -04:00
Dmitry Rekman
dc267402f7 Linux: misc/minor changes from PR #306.
- Linux splash (changed to match our coding style better).  WARNING: currently cannot be cross-compiled.
- Platform (SDL) message box.
- Other minor additions elsewhere.

#codereview Josh.Adams

[CL 2243860 by Dmitry Rekman in Main branch]
2014-08-04 23:47:23 -04:00
Justin Sargent
2796cf45c6 Addec AreCapsLocked() to the modifier state keys for the generic application api.
#codereview Nick.Atamas

[CL 2239791 by Justin Sargent in Main branch]
2014-08-01 09:32:39 -04:00
Dmitry Rekman
c24b35fb29 Linux: make module manager actually load modules.
- part of GitHub pull request #242, with changes
- new platform define for conditionally using cpuid, other platforms may want to follow suit
- better detection of debugger, IsDebuggerPresent() is on again.

#codereview Josh.Adams, Michael.Trepka, Bob.Tellez

[CL 2229133 by Dmitry Rekman in Main branch]
2014-07-23 19:02:03 -04:00
Michael Trepka
b7edc6a347 Fixed compile error in LinuxApplication caused by CL #2225709
[CL 2225781 by Michael Trepka in Main branch]
2014-07-21 14:25:47 -04:00
Mike Fricker
72a34e4ee9 Compile Times: Fixed Core module needing two separate PCH headers in monolithic compiles
- Changed Core module to use Core.h (removed CorePrivate.h)
- CorePrivate.h only included Core.h, so their PCHs were identical other than name
- Does not affect modular builds, as we need different defines for DLLExport/DLLImport for private and public PCH headers

[CL 2221011 by Mike Fricker in Main branch]
2014-07-16 13:44:46 -04:00
Dmitry Rekman
1c1fe2c69c Fix BlankProgram build.
[CL 2177192 by Dmitry Rekman in Main branch]
2014-07-08 21:34:12 -04:00
Dmitry Rekman
f3c593e2e7 Switch to SDL2 from icculus' SDL-gui-backend branch.
- SDL2 sources as of revision 8809:4bb098814ec4.
- Dependencies on dsext removed.
- SDL2 will be linked dynamically if the target is modular.
- Slate will refuse to start if unable to get GL funcs.

#codereview Josh.Adams

[CL 2125422 by Dmitry Rekman in Main branch]
2014-07-02 16:24:40 -04:00
Josh Markiewicz
b37f250b75 #Fort weekly dev->main using approved smoketest CL#2118999
UE4-Fortnite-CL-2118999
CL# 2118999
MCP CL# 2117450
Linux Dedicated Server
Backend: Testing

  "app" : "fortnite",
  "moduleName" : "Fortnite-PublicService",
  "branch" : "TRUNK",
  "build" : "217",
  "cln" : "2117450",
  "version" : "UNKNOWN"

[CL 2123380 by Josh Markiewicz in Main branch]
2014-07-01 11:28:39 -04:00
Dmitry Rekman
a8a3b2e2fe Support from reading binary streams from pipes.
External contribution by SRombauts (Sebastien.Rombauts), PR 203 (with changes): https://github.com/EpicGames/UnrealEngine/pull/203

#codereview Josh.Adams, Michael.Trepka, Mark.Satterthwaite

[CL 2123296 by Dmitry Rekman in Main branch]
2014-07-01 10:18:20 -04:00
Ben Marsh
8ffc82bbd0 Add concept of an 'API version' for modules, which is used for determining compatibility of DLLs. By default, the API version is the current changelist number, but can be set to previous changelists when making hotfixes. The API version number is stored in a special resource section for DLLs on Windows, and in the current-version field for dylibs on Mac.
In contrast to the previous system, this does not require special-casing for Rocket builds and will work correctly for nightlies and other out-of-band releases. It also removes the requirement for games to adhere to a strict format of version string on Windows for the editor to be able to load them, since the new data is injected indepdendently of the default resource by UBT.

#codereview Robert.Manuszewski, Michael.Trepka

[CL 2111949 by Ben Marsh in Main branch]
2014-06-20 13:02:34 -04:00
Jaroslaw Palczynski
3a35a8dd0e Deprecate and remove checkAtCompileTime.
#ttp 337754
#codereview Robert.Manuszewski

[CL 2106862 by Jaroslaw Palczynski in Main branch]
2014-06-16 08:04:54 -04:00
Jaroslaw Palczynski
ebce413232 UE4 Refactoring. Changed OVERRIDE and FINAL macros to keywords override and final.
[CL 2104397 by Jaroslaw Palczynski in Main branch]
2014-06-13 06:14:46 -04:00
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