Compare commits

..

10 Commits

Author SHA1 Message Date
Mike Nolan 49921e034b Update Timelapse 2024-01-09 23:25:03 -06:00
Mike Nolan f14c6a6eb4 Update Timelapse 2024-01-09 23:22:56 -06:00
Mike Nolan c34cfa58e3 Update Timelapse 2024-01-09 23:20:28 -06:00
Mike Nolan c4621d2c9b Update Timelapse 2024-01-09 23:16:56 -06:00
Mike Nolan 668007e67e Update Timelapse 2024-01-09 23:13:18 -06:00
Mike Nolan 79d8fb8ae2 Update Timelapse 2024-01-09 23:07:57 -06:00
Mike Nolan 3bc738befa Update Timelapse 2024-01-09 23:07:34 -06:00
Mike Nolan 83fbbef8b4 Hopefully fix memory leak 2024-01-10 04:32:08 +00:00
Mike Nolan 90adb11b6a Fix CSharp and FSharp templates 2023-02-09 18:46:06 -06:00
Mike Nolan 93796b06fb C# to CSharp and F# to FSharp 2023-02-09 18:35:31 -06:00
14 changed files with 158 additions and 5 deletions

2
.gitignore vendored
View File

@ -138,3 +138,5 @@ Timelapse.Linux/Timelapse*.AppImage
Timelapse.Linux/Timelapse*.tar.gz
Timelapse.BuildWindows/Output
Timelapse.BuildWindows/*.nsi
Temp
publish

13
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,13 @@
stages:
- build
build:
image: mcr.microsoft.com/dotnet/sdk:6.0
stage: build
only:
- master
artifacts:
paths:
- publish
script:
bash build.sh

View File

@ -6,9 +6,9 @@
<PackageId>Tesses.TimelapseExtension</PackageId>
<Authors>Mike Nolan</Authors>
<Company>Tesses</Company>
<Version>1.0.2</Version>
<AssemblyVersion>1.0.2</AssemblyVersion>
<FileVersion>1.0.2</FileVersion>
<Version>1.0.3</Version>
<AssemblyVersion>1.0.3</AssemblyVersion>
<FileVersion>1.0.3</FileVersion>
<Description>Extension templates for TimelapseNow</Description>
<PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>

View File

@ -0,0 +1,30 @@
{
"$schema": "http://json.schemastore.org/template",
"sourceName": "TimelapseExtension0001",
"defaultName": "TimelapseExtension",
"author": "Tesses",
"classifications": [ "Common", "Library","Desktop" ],
"identity": "Timelapse.ExtensionLibrary.CSharp",
"name": "Timelapse templates: Extension",
"shortName": "timelapseext",
"tags": {
"language": "C#",
"type": "project"
},
"description": "Extension for TimelapseNow",
"symbols": {
"Framework": {
"type": "parameter",
"description": "The target framework for the project.",
"datatype": "choice",
"choices": [
{
"choice": "net6.0",
"description": "Target net6.0"
}
],
"replaces": "net6.0",
"defaultValue": "net6.0"
}
}
}

View File

@ -0,0 +1,10 @@
using TimelapseApi;
using System;
namespace TimelapseExtension0001
{
public class TimelapseExtension0001 : TimelapseExtension
{
public override string Name => "TimelapseExtension0001";
public override Guid Id => Guid.Parse("{1cb8b576-e2e8-44d5-a8e1-e25a47eb0564}"); //https://duckduckgo.com/?q=guid&t=ffab&ia=answer
}
}

View File

@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Tesses.TimelapseApi" Version="1.0.1" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,6 @@
{
"name": "TimelapseExtension0001",
"author": "YourNameOrCompanyName",
"version": "1.0.0",
"description": "Some Description"
}

View File

@ -0,0 +1,30 @@
{
"$schema": "http://json.schemastore.org/template",
"sourceName": "TimelapseExtension0001",
"defaultName": "TimelapseExtension",
"author": "Tesses",
"classifications": [ "Common", "Library","Desktop" ],
"identity": "Timelapse.ExtensionLibrary.FSharp",
"name": "Timelapse templates: Extension",
"shortName": "timelapseext",
"tags": {
"language": "F#",
"type": "project"
},
"description": "Extension for TimelapseNow",
"symbols": {
"Framework": {
"type": "parameter",
"description": "The target framework for the project.",
"datatype": "choice",
"choices": [
{
"choice": "net6.0",
"description": "Target net6.0"
}
],
"replaces": "net6.0",
"defaultValue": "net6.0"
}
}
}

View File

@ -0,0 +1,8 @@
namespace TimelapseExtension0001
open TimelapseApi
open System
type TimelapseExtension0001() =
inherit TimelapseExtension()
override this.Name = "TimelapseExtension0001"
override this.Id = Guid.Parse("")

View File

@ -0,0 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<RootNamespace>TimelapseExtension0001</RootNamespace>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<Compile Include="Extension.fs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Tesses.TimelapseApi" Version="1.0.1" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,6 @@
{
"name": "TimelapseExtension0001",
"author": "YourNameOrCompanyName",
"version": "1.0.0",
"description": "Some Description"
}

View File

@ -4,7 +4,7 @@
"defaultName": "TimelapseExtension",
"author": "Tesses",
"classifications": [ "Common", "Library","Desktop" ],
"identity": "Timelapse.ExtensionLibrary",
"identity": "Timelapse.ExtensionLibrary.VBNET",
"name": "Timelapse templates: Extension",
"shortName": "timelapseext",
"tags": {

View File

@ -34,6 +34,10 @@ public class PictureBox : Panel
public void SetImage(Image<Rgb24> image)
{
lockObj.Lock(()=>{
if(img != null)
{
img.Dispose();
}
img=image;
if(img !=null)
{

13
build.sh Normal file
View File

@ -0,0 +1,13 @@
mkdir Temp
mkdir publish
cd Temp
wget -O tib https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage
chmod 755 tib
apt update
apt install -y file binutils coreutils desktop-file-utils fakeroot fuse libgdk-pixbuf2.0-dev patchelf python3-pip python3-setuptools squashfs-tools strace util-linux zsync
./tib --appimage-extract
export PATH=$PATH:$PWD/squashfs-root/usr/bin
cd ../Timelapse.Linux
make
mv *.tar.gz ../publish/
mv *.AppImage ../publish/