Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7ba2d69214 | ||
|
|
e8671d8f0a
|
||
|
|
8065b091df
|
||
|
|
238a68763e
|
||
|
|
1a6ed965a5
|
||
|
|
c227fcf673 |
No files matched your search
@@ -135,6 +135,6 @@ body:
|
||||
attributes:
|
||||
label: IDE / Build Environment
|
||||
description: If you built from source, which IDE and .NET SDK version? (optional)
|
||||
placeholder: "JetBrains Rider 2026.2 / .NET SDK 10.0.401"
|
||||
placeholder: "JetBrains Rider 2026.2 / .NET SDK 10.0.403"
|
||||
validations:
|
||||
required: false
|
||||
@@ -107,6 +107,6 @@ body:
|
||||
attributes:
|
||||
label: IDE / Build Environment
|
||||
description: If relevant, your IDE and .NET SDK version (optional).
|
||||
placeholder: "JetBrains Rider 2026.2 / .NET SDK 10.0.401"
|
||||
placeholder: "JetBrains Rider 2026.2 / .NET SDK 10.0.403"
|
||||
validations:
|
||||
required: false
|
||||
@@ -56,7 +56,7 @@ jobs:
|
||||
global-json-file: global.json
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0
|
||||
uses: github/codeql-action/init@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
build-mode: ${{ matrix.build-mode }}
|
||||
@@ -67,6 +67,6 @@ jobs:
|
||||
run: dotnet build AutoClick.slnx -c Release -p:UseSharedCompilation=false
|
||||
|
||||
- name: Analyze
|
||||
uses: github/codeql-action/analyze@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0
|
||||
uses: github/codeql-action/analyze@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
|
||||
with:
|
||||
category: /language:${{ matrix.language }}
|
||||
@@ -35,7 +35,7 @@ jobs:
|
||||
persist-credentials: false
|
||||
|
||||
- name: markdownlint
|
||||
uses: DavidAnson/markdownlint-cli2-action@21c1be1b93ad9ed58fa840aacc3f279cde2a72ff # v24.2.0
|
||||
uses: DavidAnson/markdownlint-cli2-action@696eb3f2509270d7b882d2aa68347bc676e7af34 # v25.0.0
|
||||
with:
|
||||
globs: '**/*.md'
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ jobs:
|
||||
publish_results: true
|
||||
|
||||
- name: Upload to code scanning
|
||||
uses: github/codeql-action/upload-sarif@6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee # v4.39.0
|
||||
uses: github/codeql-action/upload-sarif@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
|
||||
with:
|
||||
sarif_file: results.sarif
|
||||
category: scorecard
|
||||
@@ -59,9 +59,9 @@ jobs:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Run zizmor
|
||||
uses: zizmorcore/zizmor-action@85b2b9fb8e3325e7a23d7d0a9d7ba5ae0f999e3e # v0.7.1
|
||||
uses: zizmorcore/zizmor-action@53290badfa369cb0bf7ad16342cb62c2fa47ac7b # v0.8.0
|
||||
with:
|
||||
version: 1.31.0
|
||||
version: 1.31.1
|
||||
# Fail the job on findings instead of uploading them to code scanning.
|
||||
advanced-security: false
|
||||
persona: regular
|
||||
+14
-1
@@ -8,6 +8,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.0.3] - 2026-10-26
|
||||
|
||||
Security update of the bundled .NET runtime. Settings, profiles and sessions are unchanged.
|
||||
|
||||
### Security
|
||||
|
||||
- AutoClick now ships with the .NET 10.0.14 runtime, an out-of-band security update from Microsoft. It fixes an out-of-bounds write in the Brotli decoder (CVE-2026-111497) and completes the October fix for a memory corruption in socket operations (CVE-2026-70197).
|
||||
|
||||
### Changed
|
||||
|
||||
- Dependencies: Microsoft.Extensions.Hosting 10.0.14 and Microsoft.Windows.CsWin32 0.3.367 (the Win32 interop code generator).
|
||||
|
||||
## [2.0.2] - 2026-10-22
|
||||
|
||||
Security hardening from a static analysis review (SonarQube Cloud). Settings, profiles and sessions are unchanged.
|
||||
@@ -366,7 +378,8 @@ Platform bridge release: no feature or data-format changes, so it is safe to upd
|
||||
- `ManualResetEventSlim` for pause/resume, `CancellationToken` for stop
|
||||
- `DispatcherTimer` for UI refresh and process monitoring
|
||||
|
||||
[Unreleased]: https://github.com/poli0981/autoclick/compare/v2.0.2...HEAD
|
||||
[Unreleased]: https://github.com/poli0981/autoclick/compare/v2.0.3...HEAD
|
||||
[2.0.3]: https://github.com/poli0981/autoclick/compare/v2.0.2...v2.0.3
|
||||
[2.0.2]: https://github.com/poli0981/autoclick/compare/v2.0.1...v2.0.2
|
||||
[2.0.1]: https://github.com/poli0981/autoclick/compare/v2.0.0...v2.0.1
|
||||
[2.0.0]: https://github.com/poli0981/autoclick/compare/v1.3.4...v2.0.0
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<!-- Single source of truth for the product version (release tags must match it). -->
|
||||
<PropertyGroup>
|
||||
<Version>2.0.2</Version>
|
||||
<Version>2.0.3</Version>
|
||||
<AssemblyVersion>$(Version).0</AssemblyVersion>
|
||||
<FileVersion>$(Version).0</FileVersion>
|
||||
<InformationalVersion>$(Version)</InformationalVersion>
|
||||
|
||||
@@ -12,9 +12,9 @@
|
||||
<PackageVersion Include="LiveChartsCore" Version="2.0.5" />
|
||||
<PackageVersion Include="LiveChartsCore.SkiaSharpView" Version="2.0.5" />
|
||||
<PackageVersion Include="LiveChartsCore.SkiaSharpView.WPF" Version="2.0.5" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="10.0.13" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.13" />
|
||||
<PackageVersion Include="Microsoft.Windows.CsWin32" Version="0.3.363" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="10.0.14" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.14" />
|
||||
<PackageVersion Include="Microsoft.Windows.CsWin32" Version="0.3.367" />
|
||||
<PackageVersion Include="Serilog" Version="4.4.0" />
|
||||
<PackageVersion Include="Serilog.Extensions.Hosting" Version="10.0.0" />
|
||||
<PackageVersion Include="Serilog.Sinks.Async" Version="2.1.0" />
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"sdk": {
|
||||
"version": "10.0.402",
|
||||
"version": "10.0.403",
|
||||
"rollForward": "latestFeature"
|
||||
},
|
||||
"test": {
|
||||
|
||||
@@ -23,6 +23,13 @@ public class WindowAndSystemTests
|
||||
Assert.Equal(ElevationState.Unknown, new ElevationService().GetRelativeElevation(int.MaxValue - 1));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Elevation_CurrentProcess_MatchesTheRuntime()
|
||||
{
|
||||
// Opens the token of the GetCurrentProcess pseudo-handle (-1) through CsWin32's SafeHandle overloads.
|
||||
Assert.Equal(Environment.IsPrivilegedProcess, new ElevationService().IsCurrentProcessElevated);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Inspector_InvalidHandle_IsGone()
|
||||
{
|
||||
@@ -78,6 +85,41 @@ public class WindowAndSystemTests
|
||||
});
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void WinEventWatcher_LocationChange_ReportsMovesUntilDisposed()
|
||||
{
|
||||
StaThread.Run(() =>
|
||||
{
|
||||
var window = CreateWindow(Colors.Black);
|
||||
try
|
||||
{
|
||||
var handle = new WindowInteropHelper(window).Handle;
|
||||
var moved = new TaskCompletionSource();
|
||||
var moves = 0;
|
||||
using (WinEventWatcher.LocationChange(handle, Environment.ProcessId, () =>
|
||||
{
|
||||
moves++;
|
||||
moved.TrySetResult();
|
||||
}))
|
||||
{
|
||||
window.Left += 30;
|
||||
StaThread.PumpUntil(moved.Task, TimeSpan.FromSeconds(5));
|
||||
Assert.True(moved.Task.IsCompleted, "No location change event arrived.");
|
||||
}
|
||||
|
||||
// Disposing the watcher unhooks it: later moves are not reported.
|
||||
var reported = moves;
|
||||
window.Left += 30;
|
||||
StaThread.PumpFor(TimeSpan.FromMilliseconds(300));
|
||||
Assert.Equal(reported, moves);
|
||||
}
|
||||
finally
|
||||
{
|
||||
window.Close();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Hotkeys_RegisterReportsConflictsAndReservedKeys()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user