Skip to content

Releases: pine-vm/pine

v2023-10-21

21 Oct 21:39
Compare
Choose a tag to compare
Simplify kernel functions unifying integer and logical negation

Unify the negation of integer and boolean values in a common kernel function.

v2023-09-25

26 Sep 17:24
Compare
Choose a tag to compare
Apply patches recommended from upstream projects

v2023-09-12

13 Sep 05:17
Compare
Choose a tag to compare
Improve readability in the program code with C# 12

Use some features of C# 12 to clean up program code and improve readability:

+ Use aliases for common instances of generic types to reduce visual clutter.
+ Use the new 'collection literals' feature to simplify the coding of sequences.

v2023-08-19

19 Aug 17:12
Compare
Choose a tag to compare
Fix Docker image build

v2023-08-05

06 Aug 19:44
Compare
Choose a tag to compare
Support learning about time spent when processing app events

v2023-07-13

13 Jul 18:54
Compare
Choose a tag to compare
Cover more math functions of the Elm core module 'Basics'

+ Add steps in the automated tests to cover the functions min, max, abs, modBy, remainderBy, negate, abs, clamp.
+ Add declarations for said functions to the 'Basics' module and add the to the list of default imports.

native-tools-2023-06-30

30 Jun 21:04
Compare
Choose a tag to compare
Begin native tools CLI as example program for native volatile process

This project builds an executable file for each supported OS that we can use with the planned new (native) volatile process model.

v2023-06-18

18 Jun 13:27
Compare
Choose a tag to compare
Fix bug causing sporadic failures to handle admin HTTP requests

Fix awaiting the processing of the HTTP request before returning control to the ASP.net framework.
This bug affected 'deploy' requests more often than others, probably because of the larger payload HTTP request body size in these cases.
In the previous version, logs from docker had shown related runtime exceptions like the following:
----
fail: ElmTime.Platform.WebService.StartupAdminInterface[0]
      Unobserved task exception in sender System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[System.Threading.Tasks.VoidTaskResult,ElmTime.Platform.WebService.StartupAdminInterface+<>c__DisplayClass34_3+<<Configure>b__20>d]
      System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Cannot access a disposed object.
      Object name: 'HttpRequestStream'.)
       ---> System.ObjectDisposedException: Cannot access a disposed object.
      Object name: 'HttpRequestStream'.
         at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpRequestPipeReader.<ValidateState>g__ThrowObjectDisposedException|14_0()
         at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpRequestStream.ReadAsyncInternal(Memory`1 destination, CancellationToken cancellationToken)
         at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
         at Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken)
         at Microsoft.AspNetCore.WebUtilities.FileBufferingReadStream.<>c__DisplayClass46_0.<<CopyToAsync>g__CopyToAsyncImpl|0>d.MoveNext()
      --- End of stack trace from previous location ---
         at ElmTime.Platform.WebService.Asp.CopyRequestBody(HttpRequest httpRequest) in /app/elm-time/Platform/WebService/Asp.cs:line 104
         at ElmTime.Platform.WebService.StartupAdminInterface.<>c__DisplayClass34_3.<<Configure>g__deployElmApp|13>d.MoveNext() in /app/elm-time/Platform/WebService/StartupAdminInterface.cs:line 337
      --- End of stack trace from previous location ---
         at ElmTime.Platform.WebService.StartupAdminInterface.<>c__DisplayClass34_3.<<Configure>b__20>d.MoveNext() in /app/elm-time/Platform/WebService/StartupAdminInterface.cs:line 548
         --- End of inner exception stack trace ---

v2023-06-14

14 Jun 13:04
Compare
Choose a tag to compare
Apply recommended patches

v2023-05-25

25 May 15:30
Compare
Choose a tag to compare
Remove dependency on default .NET extraction process on program startup

Complete refactoring the integration of native dependencies to move the remaining ones that triggered the default .NET extraction process on program startup.

In earlier versions, on MacOS environments, we observed crashes with error messages like the following:

```
Failure processing application bundle. Failed to determine location for extracting embedded files. DOTNET_BUNDLE_EXTRACT_BASE_DIR is not set, and a read-write cache directory couldn't be created.
```

The changes in this commit complete the refactoring around native dependencies to avoid these crashes.

+ Adapt consumers of LibGit2Sharp to invoke the setup of native dependencies if necessary.
+ Refactor moving common functionality around the setup of native dependencies in a shared module.
+ Adapt the build automation to disable the extraction and adapt the collection of files for releases to avoid noise in the downloads for users.
+ Expand the testing automation to adapt to the recent observations of problems with integrating native dependencies: Add the `self-test` command on the command-line interface to run tests for functionality that depends on native dependencies, such as libgit2 and ClearScript.V8. Expand the automated checks to integrate these new tests with the same builds published with releases (single-file!).