Commit Graph

118 Commits

Author SHA1 Message Date
johan berg
eacfa9384b Fix socket keep alive in UTS for Mac/Linux
On Windows keepalive options were set on the recording socket,  in order to detect if a tracing process suddenly closes it's connection (it's killed or crashes).  These options were missing from Mac and Linux configurations.

#rb martin.ridgers
#jira UE-188178

[CL 26343479 by johan berg in ue5-main branch]
2023-06-30 10:03:17 -04:00
johan berg
08abcb6315 Add version query endpoint in UTS
#rb martin.ridgers

[CL 26341823 by johan berg in ue5-main branch]
2023-06-30 08:08:25 -04:00
johan berg
e635d1a9b7 Update language in status message
#rb martin.ridgers

[CL 26341723 by johan berg in ue5-main branch]
2023-06-30 07:59:03 -04:00
Johan Berg
ca1a2c06fd Change directory watcher on MacOs in UnrealTraceServer
Use dispatch queues and updated watch logic.

#rb martin.ridgers
#preflight none

[CL 25639159 by Johan Berg in ue5-main branch]
2023-05-26 05:04:29 -04:00
Johan Berg
a7ff2f2d0e New UTS version
* Parse Session guid and trace guid from metadata if available for live sessions
* Add api to fetch a session based on above guid.

#rb none
#preflight none

[CL 25505216 by Johan Berg in ue5-main branch]
2023-05-17 08:34:03 -04:00
Johan Berg
b73cb79e53 Implement getting session info using trace guid.
#jira UE-178144
#rb martin.ridgers
#preflight 645117e41c2846595cac18ec

[CL 25301376 by Johan Berg in ue5-main branch]
2023-05-02 10:26:21 -04:00
Johan Berg
95dbf28d18 Parse Guids from string representation
#rb martin.ridgers
#preflight 6451179f6538e45f75400e00

[CL 25301184 by Johan Berg in ue5-main branch]
2023-05-02 10:12:58 -04:00
Johan Berg
24987edb0e Parse session and trace guids
#rb martin.ridgers
#preflight none

[CL 25178520 by Johan Berg in ue5-main branch]
2023-04-25 08:24:54 -04:00
Johan Berg
6582ca2c5b Use entire path for id
Use entire path to calculate the id. Just using the stem hides files that happens to be present in multiple mounts.

#rb none
#preflight 6446e79ec632d1e89b5b6aef

[CL 25171227 by Johan Berg in ue5-main branch]
2023-04-24 17:01:47 -04:00
Johan Berg
a4209fc28b Fix directory watcher on Linux/Mac
* Missed call to parent refresh
* Using incorrect platform define

#rb none
#preflight 6446891bf030f684d5d2f344

[CL 25163899 by Johan Berg in ue5-main branch]
2023-04-24 10:02:27 -04:00
Johan Berg
c7806c06a6 Disable system tray on non-windows platforms
#rb none
#preflight 6440eed473470c177cdf2126

[CL 25123301 by Johan Berg in ue5-main branch]
2023-04-20 04:08:48 -04:00
Johan Berg
939e64eb4f Implement store settings creation for Linux
#rb none
#preflight 6440eea9f61b80bcf79f606e

[CL 25123290 by Johan Berg in ue5-main branch]
2023-04-20 04:05:54 -04:00
Johan Berg
5e7affb683 Fix directory variable
#rb none
#preflight 6440ee54a9720904a6fa3641

[CL 25123268 by Johan Berg in ue5-main branch]
2023-04-20 04:00:10 -04:00
Johan Berg
d095183f84 Remove StartsWith which is not present in C++17
#rb none
#preflight 6440ee16b91c130758ec1ae2

[CL 25123259 by Johan Berg in ue5-main branch]
2023-04-20 03:56:16 -04:00
Johan Berg
650e6e0718 New UTS version
* Fixed issues with non-ascii folder names.
* Do not crash if folder is deleted by user.
* Do not recreate folders that has been deleted.

#rb none
#preflight 643d44c7a35280ed4fcecdb5

[CL 25067122 by Johan Berg in ue5-main branch]
2023-04-17 09:28:09 -04:00
Johan Berg
1098d4e700 Fixes related to watch folders.
* Avoid crashing if user deletes a mounted directory while running
* Avoid recreating watch folders when starting server. Don't create mounts for non-existing watch folders.

#rb none
#preflight 643d42268e01968448c58422

[CL 25066886 by Johan Berg in ue5-main branch]
2023-04-17 09:03:52 -04:00
Johan Berg
7779ccc4ea Set locale for std methods.
Testing has reported that non-ascii characters in folder names creates folders with garbage names. This sets the global locale for all std types which help to parse stored folder names.

#jira
#preflight 643d41f8211b661dc4e5d4e7

[CL 25066859 by Johan Berg in ue5-main branch]
2023-04-17 09:01:39 -04:00
Johan Berg
2e032f35f0 New version of UnrealTraceServer
* Support for setting trace store directory
* Support for adding watch folders

#rb none
#preflight 64368a7d1f33a0b34a0e4497

[CL 25004715 by Johan Berg in ue5-main branch]
2023-04-12 06:56:52 -04:00
Johan Berg
980bcc0a61 Remove "001" folder when setting new store directories.
#rb martin.ridgers
#preflight 642d1f8c89339023eb6490c2

[CL 24924443 by Johan Berg in ue5-main branch]
2023-04-05 03:19:25 -04:00
Johan Berg
60cf581d25 Fixes to settings implementation
* Check for uniqeness when adding watch directories.
* Close file handle after done reading

#rb none
#preflight 642c8725ce01db47ac52c695

[CL 24917597 by Johan Berg in ue5-main branch]
2023-04-04 16:37:07 -04:00
Johan Berg
c4b5d4d459 Persistent setting for Unreal Trace Server
* Adds persistent settings for Unreal Trace Server, stored in user settings directory.
* End point for modying configuration. Endpoint is only accessible from the local machine.
* Functionality to detect changes, update components and relay to clients using settings serial number.

#rb martin.ridgers
#preflight 6422eae2c42c7fd1cbe73169

[CL 24818006 by Johan Berg in ue5-main branch]
2023-03-28 09:47:42 -04:00
Johan Berg
74713dc89c Add settings type.
#preflight 6422e88ea86ae7cbcca3ac52

[CL 24817652 by Johan Berg in ue5-main branch]
2023-03-28 09:22:57 -04:00
Johan Berg
e254d31b41 Add functionality to determine if a connection is local.
#rb martin.ridgers
#preflight 6422e391803cb466e84af644

[CL 24817491 by Johan Berg in ue5-main branch]
2023-03-28 09:10:47 -04:00
Johan Berg
9bcb8acdb4 Expose some std functionality in aliases
#rb martin.ridgers
#preflight 6422e3235e52099fe3ce3f1d

[CL 24817420 by Johan Berg in ue5-main branch]
2023-03-28 09:06:21 -04:00
Martin Ridgers
f514d7caaf Ditch support for old clients. As they use a different port they'd never connect anyway.
#rnx
#preflight none
(git:95ccf02 - Martin Ridgers - 2022-11-23 15:33:42 +0100)

[CL 23610472 by Martin Ridgers in ue5-main branch]
2023-01-09 05:07:45 -05:00