22ac0e4aad
Update dependency SixLabors.ImageSharp to 3.1.7
2025-03-07 00:02:18 +00:00
436cf3bde4
Update dependency GirCore.Adw-1 to 0.6.3 ( #9 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [GirCore.Adw-1](https://github.com/gircore/gir.core ) | nuget | minor | `0.5.0` -> `0.6.3` |
---
### Release Notes
<details>
<summary>gircore/gir.core (GirCore.Adw-1)</summary>
### [`v0.6.3`](https://github.com/gircore/gir.core/releases/tag/0.6.3 )
[Compare Source](https://github.com/gircore/gir.core/compare/0.6.2...0.6.3 )
This is a follow up release to [0.6.2](https://github.com/gircore/gir.core/releases/tag/0.6.2 ). This release adds some missing bits to GObject-2.0.Integration, adds `IDisposable` support on interfaces and fixes a bug in several `async` methods.
#### Noteworthy
- GObject-2.0.Integration: Subclassing now supports global namespaces ([#​1188](https://github.com/gircore/gir.core/issues/1188 ))
- GObject-2.0.Integration: Generates a `partial Initialize()` method to allow custom initialization of an object no matter if it is created by dotnet or C code. ([#​1189](https://github.com/gircore/gir.core/issues/1189 )). See the [Gridview-Sample](41992a3092/src/Samples/Gtk-4.0/GridView/StringListGridViewWindow.cs (L10)
) to see how to use the new method.
- Several GTK `async` methods now support a nullable parent window ([#​1199](https://github.com/gircore/gir.core/issues/1199 ))
- Interfaces implement `IDisposable` ([#​1203](https://github.com/gircore/gir.core/issues/1203 ))
#### What's Changed
- GObject.Object: Make "Dispose" method virtual again by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1182
- Fix code format by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1186
- GObject-2.0.Integration: Support global namespace by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1188
- Remove UTF8 BOM by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1197
- Allow NULL parent window in async dialog functions by [@​CommonGuy](https://github.com/CommonGuy ) in https://github.com/gircore/gir.core/pull/1199
- GObject-2.0.Integration: Improve subclass initialization by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1189
- Interfaces should implement IDisposable by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1203
#### New Contributors
- [@​CommonGuy](https://github.com/CommonGuy ) made their first contribution in https://github.com/gircore/gir.core/pull/1199
**Full Changelog**: https://github.com/gircore/gir.core/compare/0.6.2...0.6.3
### [`v0.6.2`](https://github.com/gircore/gir.core/releases/tag/0.6.2 )
This is a follow up release to [preview.1](https://github.com/gircore/gir.core/releases/tag/0.6.0-preview.1 ). Please be aware that this release includes several breaking changes.
The release 0.6.0 / 0.6.1 were skipped as there were problems with the publishing of the nugets:
- For 0.6.0 the new `GObject-2.0.Integration` package had an empty symbol package which resulted in an upload error.
- For 0.6.1 there were nuget packages created for the tutorial projects which were missing nuget informations thus resulting in an upload error.
The partially uploaded packages got unlisted. This is the reason why this release has the version number 0.6.2.
#### Noteworthy
##### Since 0.6.0-preview.1
- Support for .NET 9.0 added. Support for .NET 6.0 and .NET 7.0 got removed.
- Rework of the `GObject.Object` instantiation process. Those changes remove the reflection code for object instantiation and subclassing. This brings NativeAOT support a lot closer.
- Internal: Support individual SafeHandles for classes allowing to report native memory consumption. This improves the garbage collection behavior of the dotnet runtime as classes like `Gdk.Pixbuf` tend to reference large portions of native memory.
##### 0.6.0-preview.1
- Update to GNOME 47 which includes GTK 4.16 and libadwaita 1.6.
- The dummy implementation of `INotifyPropertyChanged` on `GObject.Object` was removed.
- Propertydefinitions have a new `Notify` / `Unnotify`method which simplifies registration for property specific notifications. For details see the [FAQ](https://github.com/gircore/gir.core/blob/main/docs/docs/faq.md#property-changed-notifications ).
- The size of the C `long` datatype on windows is now always 32 bit. On unix it corresponds to 64 / 32 bit depending on the system architecture. In earlier releases it was always 64 bit which was only correct for 64 bit unix systems.
- The size of C `gsize` is now equivalent to `nint`. In earlier releases it was equal to `long` which was wrong on 32 bit based systems.
- Fixed implementation of the memory pressure feature of records. In earlier releases memory pressure was only removed if `Dispose` was called. Now memory pressure is released automatically for records. The feature is not yet implemented for classes and will be part the full 0.6.0 release.
- First steps to publish the GirCore generator as a `dotnet tool`.
#### Breaking changes
##### Changed public APIs
- Obsolete interface `GLib.IHandle` got removed
- Obsolete interface `GObject.IObject` got removed
- `GObject.Object` new primary constructor requires a `ObjectHandle`. `protected` constructors using `ConstructArgument[]` or `IntPtr` got removed.
- `GObject.Object` method `protected virtual void Initialize()` got removed. To execute instance initialization either use a custom constructor or custom `ObjectHandle`.
- `GdkPixbuf.PixbufLoader.FromBytes` got removed as it was a purely cosmetic helper function which is not available as native code. The following code shows the corresponding code to recreate the original behavior:
```CSharp
using var bytes = Bytes.New(data);
var pixbufLoader = PixbufLoader.New();
pixbufLoader.WriteBytes(bytes);
pixbufLoader.Close();
var pixbuf = pixbufLoader.GetPixbuf() ?? throw new Exception("No pixbuf loaded");
```
##### Subclass changes
To implement reflection free instantiation and subclassing the data which the reflection based code retrieved during runtime must be available during compile time to register the class with the GObject typesystem. This is done automatically for all classes which are part of the GirCore nuget packages. If custom classes inherit from some `GObject.Object` this code must be written otherwise the new class is not properly registered with the GObject typesystem.
The boiler plate code needed to properly register a class can be completly avoided if the new nuget package [GObject-2.0.Integration](https://www.nuget.org/packages/GirCore.GObject-2.0.Integration/ ) is used. This package provides a source generator which generates the needed code if the `SubclassAttribute` is set on the custom GObject subclass. Please see the following sample and refer to the [FAQ](https://github.com/gircore/gir.core/blob/main/docs/docs/faq.md#how-to-create-subclasses-of-a-gobject-based-class ):
```csharp
[Subclass<GObject.Object>]
public partial class Data
{
public string? MyString { get; set; }
public Data(string myString) : this()
{
MyString = myString;
}
}
```
#### What's Changed
- Remove INotifyPropertyChanged by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1061
- Property: Add Notify / Unnotify methods by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1062
- Improve long handling for structs by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1065
- Remove duplicate semicolon in return statements by [@​adamreeve](https://github.com/adamreeve ) in https://github.com/gircore/gir.core/pull/1068
- Map "gssize" to native integers by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1069
- Improve long handling 2 by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1067
- Add nullable annotation to nullable string array parameters in internal methods by [@​adamreeve](https://github.com/adamreeve ) in https://github.com/gircore/gir.core/pull/1079
- Disable rendering code for repositories only required via includes by [@​adamreeve](https://github.com/adamreeve ) in https://github.com/gircore/gir.core/pull/1086
- documenting System.DllNotFoundException troubleshooting by [@​lamg](https://github.com/lamg ) in https://github.com/gircore/gir.core/pull/1085
- Improve struct freeing by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1072
- Improve logging by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1093
- Support loading repositories from files embedded as resources in GirTool by [@​adamreeve](https://github.com/adamreeve ) in https://github.com/gircore/gir.core/pull/1091
- Readme: Update status by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1096
- Generator: Support opaque typed records with copy / free annotations by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1088
- Support copy annotation typed records by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1103
- Add new modifier to class methods that hide base class methods by [@​adamreeve](https://github.com/adamreeve ) in https://github.com/gircore/gir.core/pull/1097
- Add DBus sample to read desktop appearance color scheme by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1110
- Foreign typed records: Implement IDisposable by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1112
- Foreign typed records: Require to implement a handle release manually by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1113
- Opaque typed records: Support adding memory pressure by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1114
- ImageSurface: Support memory pressure by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1115
- GObject.Type: Mark struct as readonly and make it a record by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1117
- Improve alias support by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1119
- GObject.Type: Add IsFundamental method by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1123
- Differentiate between Long and CLong by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1126
- Object: Fix ToggleNotify called after callback is disposed by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1128
- Update gir files by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1132
- Refactor GdkPixbuf-2.0.Tests by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1133
- Update macos runner to version 14 by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1134
- Initial hello world tutorials by [@​anthonyirwin82](https://github.com/anthonyirwin82 ) in https://github.com/gircore/gir.core/pull/1139
- Box Layout Tutorial by [@​anthonyirwin82](https://github.com/anthonyirwin82 ) in https://github.com/gircore/gir.core/pull/1143
- Move ChooseAsync method to correct class by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1150
- Support class based safe handles by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1118
- Tutorial: Use project reference instead of package reference by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1152
- Class: Add public constructor which support ConstructArguments by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1164
- Class: Add primary constructor by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1165
- Add GObject-2.0.Integration.csproj by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1158
- Update dependencies by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1173
- GObject-2.0.Integration: Disable snupk generation by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1176
- Do not publish tutorial projects by [@​badcel](https://github.com/badcel ) in https://github.com/gircore/gir.core/pull/1179
#### New Contributors
- [@​adamreeve](https://github.com/adamreeve ) made their first contribution in https://github.com/gircore/gir.core/pull/1068
- [@​lamg](https://github.com/lamg ) made their first contribution in https://github.com/gircore/gir.core/pull/1085
- [@​anthonyirwin82](https://github.com/anthonyirwin82 ) made their first contribution in https://github.com/gircore/gir.core/pull/1139
**Full Changelog**: https://github.com/gircore/gir.core/compare/0.5.0...0.6.2
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMzMuNCIsInVwZGF0ZWRJblZlciI6IjM5LjEzMy40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Reviewed-on: https://git.cantorgymnasium.de/gcg/photomator/pulls/9
Co-authored-by: Renovate Bot <renovate-bot@git.cantorgymnasium.de>
Co-committed-by: Renovate Bot <renovate-bot@git.cantorgymnasium.de>
2025-03-02 11:15:36 +01:00
bdc94b093d
Update dependency SixLabors.ImageSharp to 3.1.6 ( #8 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [SixLabors.ImageSharp](https://github.com/SixLabors/ImageSharp ) | nuget | patch | `3.1.5` -> `3.1.6` |
---
### Release Notes
<details>
<summary>SixLabors/ImageSharp (SixLabors.ImageSharp)</summary>
### [`v3.1.6`](https://github.com/SixLabors/ImageSharp/releases/tag/v3.1.6 )
#### What's Changed
- Mono AOT decoder workaround for slow jpeg decoding. by [@​JimBobSquarePants](https://github.com/JimBobSquarePants ) in https://github.com/SixLabors/ImageSharp/pull/2762
- V3 - Correctly handle transform spaces when building transform matrices. by [@​JimBobSquarePants](https://github.com/JimBobSquarePants ) in https://github.com/SixLabors/ImageSharp/pull/2791
- Backport : V3 Fix [#​2779](https://github.com/SixLabors/ImageSharp/issues/2779 ) buffer overrun by [@​JimBobSquarePants](https://github.com/JimBobSquarePants ) in https://github.com/SixLabors/ImageSharp/pull/2824
- Backport - v3 WEBP : Use Correct Width With AlphaDecoder by [@​JimBobSquarePants](https://github.com/JimBobSquarePants ) in https://github.com/SixLabors/ImageSharp/pull/2827
- Rewrite ChunkedMemoryStream by [@​JimBobSquarePants](https://github.com/JimBobSquarePants ) in https://github.com/SixLabors/ImageSharp/pull/2828
**Full Changelog**: https://github.com/SixLabors/ImageSharp/compare/v3.1.5...v3.1.6
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjAuMSIsInVwZGF0ZWRJblZlciI6IjM5LjMwLjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
Reviewed-on: https://git.cantorgymnasium.de/gcg/photomator/pulls/8
Co-authored-by: Renovate Bot <renovate-bot@git.cantorgymnasium.de>
Co-committed-by: Renovate Bot <renovate-bot@git.cantorgymnasium.de>
2024-12-28 16:20:17 +01:00
66a92e6838
Update dependency GitInfo to v3.5.0 ( #7 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [GitInfo](https://clarius.org/GitInfo ) ([source](https://github.com/devlooped/GitInfo )) | nuget | minor | `3.3.5` -> `3.5.0` |
---
### Release Notes
<details>
<summary>devlooped/GitInfo (GitInfo)</summary>
### [`v3.5.0`](https://github.com/devlooped/GitInfo/blob/HEAD/changelog.md#v350-2024-11-02 )
[Full Changelog](https://github.com/devlooped/GitInfo/compare/v3.3.5...v3.5.0 )
✨ Implemented enhancements:
- Question: Why we use git log with format to get the Current commit? [#​355](https://github.com/devlooped/GitInfo/issues/355 )
- SetGitExe doesn't recognize VS Git locations [#​324](https://github.com/devlooped/GitInfo/issues/324 )
- Projects don't rebuild after committing [#​322](https://github.com/devlooped/GitInfo/issues/322 )
- New tag without version drop semver to zeros [#​319](https://github.com/devlooped/GitInfo/issues/319 )
- Add vswhere fallback to locate git provided by VS [#​372](https://github.com/devlooped/GitInfo/pull/372 ) ([@​kzu](https://github.com/kzu ))
- Simplify IsDirty with newer typed constants in ThisAssembly [#​368](https://github.com/devlooped/GitInfo/pull/368 ) ([@​kzu](https://github.com/kzu ))
- Allow opting-out of GitBranch default in CI [#​366](https://github.com/devlooped/GitInfo/pull/366 ) ([@​kzu](https://github.com/kzu ))
- Set default GitBranch from CI env variables [#​365](https://github.com/devlooped/GitInfo/pull/365 ) ([@​kzu](https://github.com/kzu ))
- Using simpler git command to get current commit [#​356](https://github.com/devlooped/GitInfo/pull/356 ) ([@​kzu](https://github.com/kzu ))
🔨 Other:
- Using GitInfo with Ncrunch [#​345](https://github.com/devlooped/GitInfo/issues/345 )
🔀 Merged:
- Adopt SL v2 via ThisAssembly.Constants and document in readme(s) [#​370](https://github.com/devlooped/GitInfo/pull/370 ) ([@​kzu](https://github.com/kzu ))
- \+Mᐁ includes [#​367](https://github.com/devlooped/GitInfo/pull/367 ) ([@​devlooped-bot](https://github.com/devlooped-bot ))
- \+Mᐁ includes [#​357](https://github.com/devlooped/GitInfo/pull/357 ) ([@​devlooped-bot](https://github.com/devlooped-bot ))
- Clean code [#​352](https://github.com/devlooped/GitInfo/pull/352 ) ([@​gitfool](https://github.com/gitfool ))
- Remove redundant depends on targets [#​346](https://github.com/devlooped/GitInfo/pull/346 ) ([@​gitfool](https://github.com/gitfool ))
- Fix fast up-to-date-check [#​343](https://github.com/devlooped/GitInfo/pull/343 ) ([@​gitfool](https://github.com/gitfool ))
- Disable rogue command echo [#​342](https://github.com/devlooped/GitInfo/pull/342 ) ([@​gitfool](https://github.com/gitfool ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjAuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Reviewed-on: https://git.cantorgymnasium.de/gcg/photomator/pulls/7
Co-authored-by: Renovate Bot <renovate-bot@git.cantorgymnasium.de>
Co-committed-by: Renovate Bot <renovate-bot@git.cantorgymnasium.de>
2024-11-03 07:54:06 +01:00
088637ff5d
fix Linux build
2024-09-15 15:18:12 +02:00
23dc2d75e0
add Windows build readme
2024-09-15 15:03:19 +02:00
2a7a7b01cf
Configure Renovate ( #1 )
...
Welcome to [Renovate](https://github.com/renovatebot/renovate )! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.
🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged.
---
### Detected Package Files
* `go.mod` (gomod)
### What to Expect
With your current configuration, Renovate will create 2 Pull Requests:
<details>
<summary>Update module fyne.io/fyne/v2 to v2.4.5</summary>
- Schedule: ["at any time"]
- Branch name: `renovate/fyne.io-fyne-v2-2.x`
- Merge into: `main`
- Upgrade [fyne.io/fyne/v2](https://github.com/fyne-io/fyne ) to `v2.4.5`
</details>
<details>
<summary>Update module golang.org/x/image to v0.17.0</summary>
- Schedule: ["at any time"]
- Branch name: `renovate/golang.org-x-image-0.x`
- Merge into: `main`
- Upgrade golang.org/x/image to `v0.17.0`
</details>
---
❓ Got questions? Check out Renovate's [Docs](https://docs.renovatebot.com/ ), particularly the Getting Started section.
If you need any further assistance then you can also [request help here](https://github.com/renovatebot/renovate/discussions ).
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate ).
<!--renovate-config-hash:94693a990c975907e7f13da3309b9d56ba02b3983519b41786edf5cf031e457c-->
Reviewed-on: #1
Co-authored-by: Renovate Bot <renovate-bot@git.cantorgymnasium.de>
Co-committed-by: Renovate Bot <renovate-bot@git.cantorgymnasium.de>
v0.0.1
2024-09-15 14:44:15 +02:00
a299ec043b
Various fixes for Windows version
...
- new installer based on InnoSetup
- add MIT license
- produce WinExe output
- other small fixes
2024-09-15 14:38:59 +02:00
a115f37c95
add windows build support
2024-09-14 23:22:12 +02:00
4bd93fa87e
fixes and optimizations
2024-09-14 17:49:20 +02:00
5f1c8d8a55
Initial .NET version
2024-09-08 22:37:06 +02:00
7ee6a69f37
Add README.md
2024-09-08 14:10:32 +02:00
a44a010de8
Add .gitignore
2024-09-08 14:08:30 +02:00