Commit Graph

95 Commits

Author SHA1 Message Date
sebastian nordgren
d5fc3247fe File History no longer hangs forever.
Timelapse now passes in the -l flag to set the line we're interested in.

OutputString is now called as OutputStringThreadSafe, as recommended by documentation.

#review-22858322 @paul.chipchase
#fyi andrew.firth
#preflight 63738087ee4d25f90a1f150d

[CL 23134198 by sebastian nordgren in ue5-main branch]
2022-11-15 07:17:28 -05:00
joe pribele
6c9a016275 [UnrealVS] changed TestAdapater to report durations
refactored projects to share files avoiding having to duplicate changes between VS2019 and VS022
added menu to improved discoverability of features
added option to use P4V diff instead of VS diff
#preflight 635c17593c0af539fd57079d

[CL 22833331 by joe pribele in ue5-main branch]
2022-10-28 14:15:27 -04:00
joe pribele
9fa3968b3d [UnrealVS] added missing copyrights
#preflight 635315c63a547c3da394fd82

[CL 22702676 by joe pribele in ue5-main branch]
2022-10-21 18:02:38 -04:00
joe pribele
675aef9606 [UnrealVS] added missing copyrights
updated version number and instructions
#preflight 63530b143a547c3da392273f

[CL 22701882 by joe pribele in ue5-main branch]
2022-10-21 17:41:55 -04:00
joe pribele
f09fd5cd01 [UnrealVS] added Unreal.TestAdapter to run low level tests in the text explorer
added atomfeed.xml allow for auto updates. see README for details

#rb devin.doucette
#preflight 6352f5979e14ee3c79af71ec

[CL 22698349 by joe pribele in ue5-main branch]
2022-10-21 15:45:00 -04:00
Ben Marsh
4b635c0301 UnrealVS: Fix race condition when performing async checkout.
Initial execution of background task occurs on thread that creates it, which currently holds checkout lock. That can complete before the caller assigns value to CheckoutTask.

#preflight none

[CL 22374509 by Ben Marsh in ue5-main branch]
2022-10-06 09:00:07 -04:00
henrik karlsson
de7d40b0cb [UnrealVs]
* Added copyright comment at top of .cs file

#rb none
#preflight none

[CL 22326223 by henrik karlsson in ue5-main branch]
2022-10-03 23:53:16 -04:00
henrik karlsson
31cca4ae18 [UnrealVS version 1.77]
* FileBrowser - Added FileBrowser tool window that can be opened with "UnrealVs.FileBrowser". Press F1 to read help/features.
* UnrealVsPackage - Added events to for when projects are loaded/unloaded
* UnrealVsPackage - Added events to for when changing debugger mode
* UnrealVsPackage - Added parameter "last tick" to Tick in order to be able to close things before ticker stops
* UnrealVsPackage - Added code to include folder name to UE5 in main window and solution title. Optionally disabled in options
* Utils - Added code to set solution title and also prevent visual studio from setting solution title back to original value
* CompileSingleFile - Added command for compiling module that file is in (this file should probably be renamed to CompileSingleFileOrModule.cs)

#rb joe.kirchoff
#jira none
#preflight none

#ushell-cherrypick of 21140603 by henrik.karlsson

[CL 22320613 by henrik karlsson in ue5-main branch]
2022-10-03 19:54:16 -04:00
Ben Marsh
9bb606d05b UnrealVS: Save queue of files to be asynchronously checked out into a text file in the solution directory, and retry commands that don't succeed.
Also fix unrecognized options in launchSettings.json being cleared when using the command line editor.

#preflight none

[CL 22301342 by Ben Marsh in ue5-main branch]
2022-10-03 09:36:59 -04:00
Joe Kirchoff
80b96ace17 UnrealVS: Don't allow regenerating projects if the batch file isn't found
#jira UE-158305
#rb trivial
#rnx
#preflight skipped

[CL 21153839 by Joe Kirchoff in ue5-main branch]
2022-07-18 18:21:17 -04:00
Joe Kirchoff
607315e434 UnrealVS: Fix writing to output pane on incorrect thread
#jira UE-144828
#rnx
#rb none
#preflight skipped

[CL 20567751 by Joe Kirchoff in ue5-main branch]
2022-06-08 19:24:13 -04:00
sebastian nordgren
4497b3b0b8 Added commands to open File History, Revision Graph and Timelapse views from the UnrealVS.P4 menu.
Don't abort p4 checkout if the file is writable if the command is executed manually.

#review-18454959 @andy.firth
#preflight 61e58138006b17a6865a0327

[CL 18632973 by sebastian nordgren in ue5-main branch]
2022-01-17 09:59:30 -05:00
Ben Marsh
5e93bf83a0 UnrealVS: Publish recent changes to fix crash on startup.
[CL 17268667 by Ben Marsh in ue5-main branch]
2021-08-23 12:29:58 -04:00
andrew firth
5b7946ca6a [UnrealVS] - convert reconcile over to using local paths, add up* to the paths + small code review feedback
#review-17131056 @Ben.Marsh
#rb Ben.Marsh
(no new version of the VSIX)

[CL 17186244 by andrew firth in ue5-main branch]
2021-08-16 23:28:45 -04:00
andrew firth
401b9801a3 [UnrealVS] - enable warnings as errors
#review-17163679 @ben.marsh
#rb ben.marsh

[CL 17186213 by andrew firth in ue5-main branch]
2021-08-16 23:24:10 -04:00
Ben Marsh
82d79d8289 UnrealVS: Fix remaining thread safety issues highlighted by static analysis.
* P4Commands now invokes a callback on UI thread for any UI operations
* StdOut and StdErr are now both returned when executing child processes to avoid contention on member variable
* Added locks around manipulating child process list.
* Fixed some issues where paths containing spaces were not quoted correctly
* Fixed detection of working directory where P4CONFIG is set to something other than p4config.txt.

[CL 17095905 by Ben Marsh in ue5-main branch]
2021-08-07 15:48:22 -04:00
andrew firth
593972e94b [UnrealVS] - add p4FastReconcile
#review-17080114 @brandon.dawnson
#rb brandon.dawnson ben.marsh

[CL 17092844 by andrew firth in ue5-main branch]
2021-08-06 23:11:30 -04:00
Ben Marsh
0f44b8b446 UnrealVS: Fix thread safety warnings when building.
Mainly done by naively adding ThreadUtils.ThrowIfNotOnUIThread() in places where warnings occur and code looks likely to be on UI thread, then tested a few basic operations in the experimental instance. Remaining warnings look more problematic to solve; I will test these more closely and fix them in a future change.

[CL 17091658 by Ben Marsh in ue5-main branch]
2021-08-06 20:29:50 -04:00
Ben Marsh
fcd594e875 UnrealVS: Fix exception on startup due to missing configuration in launch settings.
[CL 17091060 by Ben Marsh in ue5-main branch]
2021-08-06 19:50:46 -04:00
Ben Marsh
120dd67343 UnrealVS: Fix compile errors due to ReleaseNotes.txt not existing in separate UnrealVS.2019 and UnrealVS.2022 directories.
#fyi Andrew.Firth

[CL 17089649 by Ben Marsh in ue5-main branch]
2021-08-06 18:36:50 -04:00
andrew firth
44707451e9 [UnrealVS] - fixes and cleanup
- add option to allow async checkout
- resolved problems that caused with many commands running at once
- fix issue with P4V command waiting for exit
- resolve issue where Checkout on Edit was not honoring the user option
- add ReleaseNotes to the plugin
- add UpdateInstructions for future engineers

#rb none
#fyi luke.thatcher brandon.dawson

[CL 16877172 by andrew firth in ue5-main branch]
2021-07-16 23:44:50 -04:00
andrew firth
cd92a4de9f [UnrealVS] - put CompileSingleFile back into the stub menu allowing UnrealVS.CompileSingleFile and add all other commands into the same stub allowing simple commandline/binding mechnisms
#rb none
#fyi joe.kirchoff

[CL 16831006 by andrew firth in ue5-main branch]
2021-07-12 16:26:23 -04:00
Joe Kirchoff
d01f5847b4 UnrealVS: Set minimum 2019 version to 16.9 and downgrade referenced nuget packages to match.
Updating nuget packages past the VS version prevents the extension from loading correctly.

#rb none
#rbx

[CL 16829063 by Joe Kirchoff in ue5-main branch]
2021-07-12 14:53:03 -04:00
joe kirchoff
ea08c968f4 [Backout] - CL16826799
#fyi Joe.Kirchoff
Original CL Desc
-----------------------------------------------------------------
UnrealVS: Force nuget references in the .vsix

https://github.com/NuGet/Home/issues/5899

#rb none
#rbx

[CL 16826910 by joe kirchoff in ue5-main branch]
2021-07-12 12:51:28 -04:00
Joe Kirchoff
c1d9d668a5 UnrealVS: Force nuget references in the .vsix
https://github.com/NuGet/Home/issues/5899

#rb none
#rbx

[CL 16826799 by Joe Kirchoff in ue5-main branch]
2021-07-12 12:39:17 -04:00