Commit Graph

127 Commits

Author SHA1 Message Date
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
fd2ada1f0a Update readme to reflect dynamic ports used
#rb none
#prefligh none

[CL 25368267 by Johan Berg in ue5-main branch]
2023-05-08 04:15:48 -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
bc2b79aa83 Change build system to use xmake on all platforms
In order to unify the build systems on all platforms add makefiles for xmake and deprecate nmake/gmake files. This allows us to use the same configuration files on all platforms and easily add support for using musl on Linux. Updated readme file to reflect the new system.

#rb martin.ridgers
#preflight 644137ef73470c177c0a75bf

[CL 25125978 by Johan Berg in ue5-main branch]
2023-04-20 09:18:04 -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
22870689e1 Update UTS solution files with debug settings
#rb none
#preflight 6426c541c463fac9c867c9ba

[CL 24869413 by Johan Berg in ue5-main branch]
2023-03-31 07:41:48 -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
Johan Berg
d219722bfc Ignore intermediate files
#rb none
#preflight 6422dcdda86ae7cbcca02ef5

[CL 24817232 by Johan Berg in ue5-main branch]
2023-03-28 08:45:39 -04:00