Commit Graph

152 Commits

Author SHA1 Message Date
Dmitry Rekman
e7b9679132 Linux: packaging fixes (UE-12940).
- Fix for build receipt (related: UE-13763).
- Handling root:/ etc paths which are sometimes passed to the lower level without expansion.

#codereview Terence.Burns

[CL 2527976 by Dmitry Rekman in Main branch]
2015-04-27 23:21:08 -04:00
Dmitry Rekman
84402a9039 Linux: game window shouldn't be resizeable (UE-8612).
[CL 2524616 by Dmitry Rekman in Main branch]
2015-04-24 13:30:50 -04:00
Dmitry Rekman
1463495292 Fix for a shadowing issue in Linux splash.
#lockdown Zachary.EdgertonJones

[CL 2521964 by Dmitry Rekman in Main branch]
2015-04-22 18:10:30 -04:00
Dmitry Rekman
db2e9276af Linux: fix shadowing issues.
[CL 2521624 by Dmitry Rekman in Main branch]
2015-04-22 16:02:53 -04:00
Ryan Gordon
ae8a7a3ce7 Correctly report available desktop work area on Linux (UEPLAT-693).
#codereview Dmitry.Rekman

[CL 2520495 by Ryan Gordon in Main branch]
2015-04-21 21:03:46 -04:00
Dmitry Rekman
038d4fb66d Sync up local SDL2 branch with Ryan's (icculus) external SDL-gui-backend.
- Most relevant changes from Epic's branch have been cleaned up and merged upstream, although a recent change is still left as an Epic extension.
- UEPLAT-381 Prevent strange behavior on X11 when SDL2 was incorrectly built without XRandR support
- UEPLAT-693 Extend SDL to report desktop work areas
- UEPLAT-698 Upstream SDL extension for tooltip and popup windows
- UEPLAT-699 Upstream SDL extension for setting window transparency
- UEPLAT-700 Upstream SDL extension for drag-and-drop
- UEPLAT-701 Update UE4 SDL's fork to the latest SDL trunk
- UEPLAT-703 Upstream SDL extension for getting client area size
- x86_64 and ARM libs updated (built with -O2 instead of -O3).

#codereview Ryan.Gordon, Josh.Adams, Andy.Bayle

[CL 2520371 by Dmitry Rekman in Main branch]
2015-04-21 19:45:55 -04:00
Dmitry Rekman
3f8a115d5c Linux: do not filter out events that don't need a window (UE-10036).
[CL 2511037 by Dmitry Rekman in Main branch]
2015-04-13 19:37:02 -04:00
Mike Fricker
114458bf0f Clang warning fixes: Fixed missing 'override' specifiers
- Also removed some unreferenced functions that adding 'override' revealed

PR #1002 -- Thank you, Omar007!

[CL 2498415 by Mike Fricker in Main branch]
2015-04-01 07:20:55 -04:00
Dmitry Rekman
f9637004a9 Fixes for issues uncovered by a non-unity build.
[CL 2492986 by Dmitry Rekman in Main branch]
2015-03-26 20:11:41 -04:00
Dmitry Rekman
981c1ac387 Adding 'override' qualifiers on fix-as-you-go basis.
[CL 2489423 by Dmitry Rekman in Main branch]
2015-03-24 11:59:00 -04:00
Dmitry Rekman
1d23cab99f Linux: add Set/GetEnvironmentVar in platform layer.
- PR #960 contributed by 3dluvr.

[CL 2487834 by Dmitry Rekman in Main branch]
2015-03-23 10:59:37 -04:00
Dmitry Rekman
979e811ae7 Linux: drag-and-drop support.
- PR #942 contributed by yaakuro, with changes.
- SDL libs updated for x86_64 (glibc 2.12.1) and ARM (glibc 2.13).

https://github.com/EpicGames/UnrealEngine/pull/942

[CL 2487267 by Dmitry Rekman in Main branch]
2015-03-21 22:41:16 -04:00
Dmitry Rekman
14fc5d62e4 Linux: Fix the crash when trying to map an empty filename.
- Noticed and contributed by codetackler (PR #939).

[CL 2484386 by Dmitry Rekman in Main branch]
2015-03-19 09:37:02 -04:00
Dmitry Rekman
c6dcbc58a8 Linux: reduce communication with display server.
- cache border sizes until the next time the window is shown.
- cache cursor position until the next mouse move or position change.

As of this commit, xtrace shows only OpenGL context changes when we aren't moving the mouse.

[CL 2482505 by Dmitry Rekman in Main branch]
2015-03-17 21:12:36 -04:00
Dmitry Rekman
8cdc00dbc5 Linux: handle Windows-style paths (e.g. from assets) gracefully.
- PR #933 contributed by amigo (3dluvr).
- Fixes a crash (assertion failure) on right clicking over some assets in the browser.

[CL 2482000 by Dmitry Rekman in Main branch]
2015-03-17 15:16:04 -04:00
Dmitry Rekman
d53b521524 Linux: fix cache when calculating the work area.
- Previous code was broken as it was caching the result regardless of the actual rectangle being passed.
- Now we cache the display info itself, not the result.
- Maybe we should use maximum overlap instead of top, left (doesn't seem to be important though).

[CL 2481662 by Dmitry Rekman in Main branch]
2015-03-17 11:45:52 -04:00
Dmitry Rekman
7a367ae37f Make OpenRead() aware about intended sharing mode of the file.
- Currently essential on Windows only; other platforms may make use of this when managing file handles.

#codereview Eric.Newman, Robert.Manuszewski, Josh.Adams, Michael.Trepka, Chris.Babcock, Marcus.Wassmer, Peter.Sauerbrei

[CL 2480709 by Dmitry Rekman in Main branch]
2015-03-16 17:14:06 -04:00
Dmitry Rekman
73522746d7 Linux: fix encoding of error string.
- Reported by both yaakuro and x414e54.

[CL 2479694 by Dmitry Rekman in Main branch]
2015-03-15 13:36:08 -04:00
Dmitry Rekman
50493b8421 Linux: Cache display area to reduce chattiness.
- Still polling, just at a lower rate. What we need is a callback on screen config changes.

[CL 2479690 by Dmitry Rekman in Main branch]
2015-03-15 13:15:22 -04:00
Dmitry Rekman
fe117aab3f Better fix for red-blue swap in Linux splash (UE-6012).
[CL 2478812 by Dmitry Rekman in Main branch]
2015-03-13 13:45:02 -04:00
Dmitry Rekman
1093d37661 Fix red-blue swap in Linux splash.
[CL 2478736 by Dmitry Rekman in Main branch]
2015-03-13 13:13:49 -04:00
Dmitry Rekman
e86138d4ca Refactored FProcHandle API in platform abstraction layer.
- Deprecated FProcHandle::Close() in favor of existing FPlatformProcess::CloseProc() (symmetric to FPlatformProcess::CreateProc()).
- Linux: made FProcHandle instances safe to pass by value.
- Linux: added support for "fire and forget" children, which will not leave zombies (at the expense of extra threads and a leaked thread handle).
- Extended TestPAL with tests for most of the above functionality.

#codereview Michael.Trepka, Josh.Adams, Robert.Manuszewski, Jaroslaw.Surowiec

[CL 2476050 by Dmitry Rekman in Main branch]
2015-03-11 20:10:19 -04:00
Dmitry Rekman
9684e68db8 Fix for dragging objects in the viewport.
- PR #889 contributed by yaakuro.

https://github.com/EpicGames/UnrealEngine/pull/889

[CL 2474819 by Dmitry Rekman in Main branch]
2015-03-11 01:47:58 -04:00
Dmitry Rekman
7d3dc2c65d Revert focus after destruction of popup windows.
- A commit from PR #852 by yaakuro that I missed.
- Also minor cosmetic code changes.

[CL 2473379 by Dmitry Rekman in Main branch]
2015-03-10 01:12:48 -04:00
Dmitry Rekman
079420d37c Linux: Make open menus behave more like on Windows.
- PR #852 contributed by yaakuro.

https://github.com/EpicGames/UnrealEngine/pull/852

[CL 2473361 by Dmitry Rekman in Main branch]
2015-03-10 00:22:49 -04:00