Commit Graph

150 Commits

Author SHA1 Message Date
Matthew Lewis
f182ef8a3b #codereview Dmitry.Rekman
[CL 2683582 by Matthew Lewis in Main branch]
2015-09-08 15:48:37 -04:00
Dmitry Rekman
19e1f9e3c6 TLS: harden slot allocation code to enforce assumptions (Windows, Linux).
#platformnotify Josh.Adams
#codereview Steve.Robb

[CL 2673568 by Dmitry Rekman in Main branch]
2015-08-29 00:47:05 -04:00
Dmitry Rekman
86f38be8ad Linux: added prefetch implementations.
[CL 2673562 by Dmitry Rekman in Main branch]
2015-08-29 00:25:22 -04:00
Dmitry Rekman
dcef1319ed Linux: benchmark clocks.
- Makes perf problems on VMs more evident.

(Merging CL 2665576 from FN to main).

[CL 2665644 by Dmitry Rekman in Main branch]
2015-08-24 01:35:49 -04:00
ExpiredPopsicle
c00fed44fd Linux: use correct window coordinates when processing event queue.
- PR #1466: [GNU/Linux] Fixed a mouse input bug in the graph editor when using SDL events. (Contributed by ExpiredPopsicle)

[CL 2658762 by Dmitry Rekman in Main branch]
2015-08-17 22:02:50 -04:00
Dmitry Rekman
929c104752 Linux: fix ARM builds (UE-19887).
[CL 2653003 by Dmitry Rekman in Main branch]
2015-08-12 13:01:37 -04:00
Dmitry Rekman
e2314bbb8b Linux: added missing FPlatformProcess::UserName() implementation.
(Merging CL 2651396 from FN to main).

[CL 2651542 by Dmitry Rekman in Main branch]
2015-08-11 14:54:30 -04:00
Dmitry Rekman
1c367662a5 Fix Linux running out of file handles over time (UE-16483).
- Child processes inherited open handles; added CLOEXEC to both file operations and sockets.

[CL 2647541 by Dmitry Rekman in Main branch]
2015-08-07 01:34:59 -04:00
Josh Markiewicz
779cb6e04b #UE4 - moved all http header files into header module
- headers in core and implementations in http were working but only coincidentally
- no way to export any of the platforms if needed because CORE_API was correct for generic platform but would have link errors because all platforms were in HTTP_API
- fixed up platform http calls to reference http module
#platformnotify josh.adams
#codereview sam.zamani, david.nikdel, dmitry.rekman

[CL 2646887 by Josh Markiewicz in Main branch]
2015-08-06 15:52:48 -04:00
Dmitry Rekman
8a368ffe43 Linux: added missing misc platform function (GetSystemErrorMessage).
[CL 2642585 by Dmitry Rekman in Main branch]
2015-08-03 17:53:44 -04:00
Dmitry Rekman
56ae1b1dcb Linux: more logging to catch a mysterious bug (UE-18812).
- Some buildfarm-built binaries exhibit strange behavior that cannot be reliably reproduced; adding more logs and exec commands.
- Also some minor clean up.

[CL 2641130 by Dmitry Rekman in Main branch]
2015-07-31 18:22:06 -04:00
Dmitry Rekman
945645d358 Linux: revert the TLS hack now that UE-11541 is fixed.
- We should only use local-dynamic model (when compiling shared objects) now.

[CL 2635917 by Dmitry Rekman in Main branch]
2015-07-28 15:57:42 -04:00
Andrew Brown
854aa50f53 [INTEGRATE] merge ue4 <-ue4-launcheDev cl 2635304
[CL 2635310 by Andrew Brown in Main branch]
2015-07-28 09:22:54 -04:00
Jamie Dale
cfc4051acf Added functions to access low-level file stat data as a single file-system request
You can now use GetStatData to get all of the stat data for a file (its timestamps, size, read-only state, and type (file or directory)) in a single file-system request. Depending on the platform, this can be much more efficient than making multiple requests.

This change also adds alternate directory iteration functions (IterateDirectoryStat and IterateDirectoryStatRecursive) for when you need the stat data along with the files/directories on disk. For platforms that provide this stat data as part of the low-level directory iteration (such as Windows), this can yield much better performance than making two separate file-system requests. Platforms that do not provide this information as part of the directory iteration will just perform a stat request while iterating.

#platformnotify Josh.Adams

[CL 2634161 by Jamie Dale in Main branch]
2015-07-27 13:52:55 -04:00
Dmitry Rekman
2a4d80f047 Linux: ungrab all input before breaking into the debugger.
[CL 2633401 by Dmitry Rekman in Main branch]
2015-07-26 00:10:59 -04:00
Jaroslaw Surowiec
21e0dba59f Crash reporter improvements (OR-4990/Automatically copy full dumps to Network Share)
#platformnotify Josh.Adams

[CL 2628786 by Jaroslaw Surowiec in Main branch]
2015-07-22 07:33:02 -04:00
Dmitry Rekman
f455b7c9ec Linux: several keyboard input improvements.
- No longer assumes a US-QWERTY layout (uses SDL equivalent of Windows VK_ values, not raw keyboard scancodes)
- Fixes various keys not working for odd reasons (we lost bits downcasting from uint32 to uint16, causing key values to change or overlap other keys).

(Fixes UE-11582 and UE-14143 and probably others.)

Misc:
- Reverted to using WarpMouseInWindow due to reports that Global is not always reliable.
- Added a workaround for relative mouse movement being wrong in some cases.

#platformnotify Josh.Adams
#codereview Ryan.Gordon, Josh.Adams, Marc.Audy

[CL 2625112 by Dmitry Rekman in Main branch]
2015-07-17 18:52:48 -04:00
Dmitry Rekman
46dbd16e9f Linux: added a platform survey (WIP).
[CL 2622406 by Dmitry Rekman in Main branch]
2015-07-15 16:50:48 -04:00
yaakuro
d18804db7c Linux: UI improvements.
- PR #1375 contributed by yaakuro.
  * Fixes for issues with some popups not appearing under certain circumstances.
  * May fix some Gnome issues (related to lack of user timestamps).
  * Relative mouse movement is calculated as an offset from the same window, preventing jumps when moving between windows.
  * Instead of setting focus to a possibly unmapped window, grab keyboard input on mapping notification.
  * Activation decoupled from focus.
  * Workaround with catching Escape key to dismiss windows removed.
  * One more Slate window property exposed to native layer, added comments for the window definition properties.

- SDL libs rebuilt for x86-64 and ARMv6l.

#codereview Nick.Atamas, Ryan.Gordon
#platformnotify Josh.Adams

[CL 2619341 by Dmitry Rekman in Main branch]
2015-07-13 21:37:43 -04:00
yaakuro
a7312da223 Linux: use SDL_WarpMouseGlobal() instead of manual workaround (UE-18105).
- PR #1345 contributed by yaakuro.
- Also gets rid of misused SDL_SetWindowGrab().

[CL 2617191 by Dmitry Rekman in Main branch]
2015-07-10 16:23:03 -04:00
ExpiredPopsicle
729757344a Linux: update cursor position cache on mouse move event (UE-18424).
- PR #1369 contributed by ExpiredPopsicle.
- The code previously queried global cursor position which could differ from one sent with the event if framerate was low.

[CL 2616937 by Dmitry Rekman in Main branch]
2015-07-10 13:56:21 -04:00
Max Preussner
d0e92fb912 Added named pipe writing (GitHub PR# 1300)
https://jira.ol.epicgames.net/browse/UE-17489

This still needs an implementation for iOS and Android, if supported.

#platformnotify Josh.Adams

[CL 2612843 by Max Preussner in Main branch]
2015-07-07 16:27:52 -04:00
chipgw
53c681a77f PR #1122: Linux controller fixes (UE-15024).
- Contributed by chipgw,  with changes.
- Axis events aren't sent immediately as they are received anymore (which could happen multiple times per frame), but are instead collected and sent once.

[CL 2611454 by Dmitry Rekman in Main branch]
2015-07-06 15:28:09 -04:00
Mikolaj Sieluzycki
2a7706ad91 Pass bIsEnsureParameter properly to PromptForRemoteDebugging.
#platformnotify Josh.Adams

[CL 2610207 by Mikolaj Sieluzycki in Main branch]
2015-07-03 04:32:11 -04:00
Keli Hlodversson
8d353a5b02 [INTEGRATE] Merging CL#2604183 using UE4-To-UE4-LauncherDev:
Allow using the native mouse cursor handle from CEF.
JIRA: OPP-3734
rb: Justin.Sargent
#platformnotify Josh.Adams

[CL 2605865 by Keli Hlodversson in Main branch]
2015-06-30 11:54:52 -04:00