-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from Luthetus/dev
Dev
- Loading branch information
Showing
42 changed files
with
310 additions
and
493 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
2023-09 | Luthetus.Ide | Notes | ||
|
||
--- | ||
|
||
## 2023-09-02 | ||
|
||
### .NET sln | ||
.NET sln needs to be an immutable type | ||
which is accessed through a `DotNetSolutionKey`. | ||
|
||
All modifications to a .NET sln need be done via the `DotNetSolutionReducer`. | ||
|
||
One can view the current state of a `DotNetSolution` by looking up into the `DotNetSolutionCollection` using a `DotNetSolutionKey`. | ||
|
||
### Background Tasks | ||
The current implementation of IBackgroundTaskQueue for the WASM host is incorrect. | ||
|
||
I realized that each enqueue'd task was being invoked immediately, even if a prior task was still running. | ||
|
||
This logic needs to be fixed, I think I've seen some oddities going on in the WASM app, and this might explain a few of them. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
Source/Host/Luthetus.Ide.Photino/ServiceCollectionExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using Luthetus.Common.RazorLib.BackgroundTaskCase.Usage; | ||
using Luthetus.Ide.ClassLib.HostedServiceCase.FileSystem; | ||
using Luthetus.Ide.ClassLib.HostedServiceCase.Terminal; | ||
using Luthetus.TextEditor.RazorLib.HostedServiceCase.CompilerServiceCase; | ||
using Luthetus.TextEditor.RazorLib.HostedServiceCase.TextEditorCase; | ||
using Microsoft.Extensions.DependencyInjection; | ||
|
||
namespace Luthetus.TextEditor.RazorLib; | ||
|
||
public static class ServiceCollectionExtensions | ||
{ | ||
public static IServiceCollection AddLuthetusIdePhotino( | ||
this IServiceCollection services) | ||
{ | ||
// The code: | ||
// builder.Services.AddHostedService<QueuedHostedService>(); | ||
// | ||
// is not working for the Photino Blazor app. | ||
// So manual starting of the service is done. | ||
return services | ||
.AddSingleton<LuthetusCommonBackgroundTaskServiceWorker>() | ||
.AddSingleton<LuthetusTextEditorTextEditorBackgroundTaskServiceWorker>() | ||
.AddSingleton<LuthetusTextEditorCompilerServiceBackgroundTaskServiceWorker>() | ||
.AddSingleton<LuthetusIdeFileSystemBackgroundTaskServiceWorker>() | ||
.AddSingleton<LuthetusIdeTerminalBackgroundTaskServiceWorker>(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 0 additions & 52 deletions
52
...Lib/Luthetus.Ide.ClassLib/HostedServiceCase/FileSystem/FileSystemBackgroundTaskMonitor.cs
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
....Ide.ClassLib/HostedServiceCase/FileSystem/FileSystemBackgroundTaskQueueSingleThreaded.cs
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
.../Lib/Luthetus.Ide.ClassLib/HostedServiceCase/FileSystem/IFileSystemBackgroundTaskQueue.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
Source/Lib/Luthetus.Ide.ClassLib/HostedServiceCase/Terminal/ITerminalBackgroundTaskQueue.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.