repo stringlengths 5 53 | pr_number int32 1 321k | task_type stringclasses 2
values | issue_text stringlengths 0 81.2k | pr_title stringlengths 1 319 | pr_body stringlengths 0 105k | base_sha stringlengths 40 40 | head_sha stringlengths 40 40 | gold_diff stringlengths 0 202M | changed_files listlengths 0 100 | review_threads listlengths 0 100 | test_patch stringlengths 0 23.4M | merged bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Devolutions/UniGetUI | 4,871 | issue_to_patch | Fix update-list loading messages, transparent tray menu, and search box text clipping | Fixes three small UI bugs in UniGetUI, one reported in #4867 and two found alongside it.
### Don't flash "Hooray! No updates were found" during reload ... | acf111ddfe7849a45484b794ebb686cae6391d0d | e8f597b55169ca317ef0c2ea29f1e2a194ecc99d | diff --git a/src/UniGetUI.Avalonia/Assets/Styles/Styles.WindowsMica.axaml b/src/UniGetUI.Avalonia/Assets/Styles/Styles.WindowsMica.axaml
index 6d44525f10..bce364e4f6 100644
--- a/src/UniGetUI.Avalonia/Assets/Styles/Styles.WindowsMica.axaml
+++ b/src/UniGetUI.Avalonia/Assets/Styles/Styles.WindowsMica.axaml
@@ -25,7 +25,... | [
"src/UniGetUI.Avalonia/Assets/Styles/Styles.WindowsMica.axaml",
"src/UniGetUI.Avalonia/Infrastructure/MicaWindowHelper.cs",
"src/UniGetUI.Avalonia/ViewModels/SoftwarePages/PackagesPageViewModel.cs",
"src/UniGetUI.Avalonia/Views/MainWindow.axaml",
"src/UniGetUI.PackageEngine.PackageLoader/AbstractPackageLoad... | [] | true | ||
Devolutions/UniGetUI | 4,869 | issue_to_patch | Avalonia: Fix main window not draggable by touch | This pull request enhances the window dragging experience for touch and pen users on Windows by implementing a custom, manual drag behavior for the title bar. This change addresses platform-specific limitations and ensures consistent behavior across pointer types. #4866
**Title Bar Dragging Improvements:**
* Add... | 2187aa453603369ecc558377142bda8d9e5f467b | 2f5480a4ef0599c5253bd4b87e8e745ce0e402e8 | diff --git a/src/UniGetUI.Avalonia/Views/MainWindow.axaml b/src/UniGetUI.Avalonia/Views/MainWindow.axaml
index fa60f3d35..43ae103f1 100644
--- a/src/UniGetUI.Avalonia/Views/MainWindow.axaml
+++ b/src/UniGetUI.Avalonia/Views/MainWindow.axaml
@@ -312,10 +312,14 @@
<!-- Drag area — sits behind everything so... | [
"src/UniGetUI.Avalonia/Views/MainWindow.axaml",
"src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs"
] | [
{
"comment": "Manual drag uses a fixed `_titleBarDragOrigin` and then increments `Position` by `(int)(delta * RenderScaling)`. Because of truncation to `int`, small deltas are dropped and the window can end up lagging behind the pointer (jitter/drift), especially at fractional scaling factors. Updating the orig... | true | ||
Devolutions/UniGetUI | 4,869 | comment_to_fix | Avalonia: Fix main window not draggable by touch | Manual drag uses a fixed `_titleBarDragOrigin` and then increments `Position` by `(int)(delta * RenderScaling)`. Because of truncation to `int`, small deltas are dropped and the window can end up lagging behind the pointer (jitter/drift), especially at fractional scaling factors. Updating the origin each move (and roun... | 2187aa453603369ecc558377142bda8d9e5f467b | 2f5480a4ef0599c5253bd4b87e8e745ce0e402e8 | diff --git a/src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs b/src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs
index 7703d417d..8d3216da5 100644
--- a/src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs
+++ b/src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs
@@ -828,9 +828,20 @@ public struct MONITORINFO
private void Cl... | [
"src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs"
] | [
{
"comment": "Manual drag uses a fixed `_titleBarDragOrigin` and then increments `Position` by `(int)(delta * RenderScaling)`. Because of truncation to `int`, small deltas are dropped and the window can end up lagging behind the pointer (jitter/drift), especially at fractional scaling factors. Updating the orig... | true | ||
Devolutions/UniGetUI | 4,869 | comment_to_fix | Avalonia: Fix main window not draggable by touch | Manual drag is disabled when the window is maximized (`WindowState == Maximized`). This means touch/pen users can’t perform the common Windows gesture of dragging the title bar down to restore and move the window (mouse keeps this behavior via `BeginMoveDrag`). Consider restoring to `Normal` on first move/press and the... | 2187aa453603369ecc558377142bda8d9e5f467b | 2f5480a4ef0599c5253bd4b87e8e745ce0e402e8 | diff --git a/src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs b/src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs
index 7703d417d..8d3216da5 100644
--- a/src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs
+++ b/src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs
@@ -828,9 +828,20 @@ public struct MONITORINFO
private void Cl... | [
"src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs"
] | [
{
"comment": "Manual drag is disabled when the window is maximized (`WindowState == Maximized`). This means touch/pen users can’t perform the common Windows gesture of dragging the title bar down to restore and move the window (mouse keeps this behavior via `BeginMoveDrag`). Consider restoring to `Normal` on fi... | true | ||
Devolutions/UniGetUI | 4,868 | issue_to_patch | Prevent crashes from partial in-place updates | This pull request introduces a mechanism to prevent application launches during in-progress updates, ensuring that UniGetUI does not start while its binaries are being replaced. It adds a file-based update-in-progress marker, logic to create and remove the marker during installation, and guards in both the Avalonia and... | 4a572348c32844fc136f33f05fd68437f34ee7c4 | 50e7e2ccea304ab48c601b0101ad15c5ef26d3ad | diff --git a/UniGetUI.iss b/UniGetUI.iss
index cb2f65ddc2..d49d3f3289 100644
--- a/UniGetUI.iss
+++ b/UniGetUI.iss
@@ -29,7 +29,10 @@ DefaultDirName="{autopf64}\UniGetUI"
DisableProgramGroupPage=yes
DisableDirPage=no
DirExistsWarning=no
-CloseApplications=no
+; Force-close any process holding files we overwrite ... | [
"UniGetUI.iss",
"src/UniGetUI.Avalonia/Program.cs",
"src/UniGetUI.Core.Data.Tests/UpdateInProgressGuardTests.cs",
"src/UniGetUI.Core.Data/InternalsVisibleTo.cs",
"src/UniGetUI.Core.Data/UpdateInProgressGuard.cs",
"src/UniGetUI/EntryPoint.cs"
] | [
{
"comment": "FreshnessWindow is only 10 minutes, but the installer writes the marker once at the beginning and does not refresh its timestamp during the file-copy window. If an update takes longer than 10 minutes (slow disk/AV scanning/large payload), MarkerIsFresh will treat the marker as stale, delete it, an... | true | ||
Devolutions/UniGetUI | 4,868 | comment_to_fix | Prevent crashes from partial in-place updates | FreshnessWindow is only 10 minutes, but the installer writes the marker once at the beginning and does not refresh its timestamp during the file-copy window. If an update takes longer than 10 minutes (slow disk/AV scanning/large payload), MarkerIsFresh will treat the marker as stale, delete it, and allow the app to lau... | 4a572348c32844fc136f33f05fd68437f34ee7c4 | 50e7e2ccea304ab48c601b0101ad15c5ef26d3ad | diff --git a/src/UniGetUI.Core.Data/UpdateInProgressGuard.cs b/src/UniGetUI.Core.Data/UpdateInProgressGuard.cs
new file mode 100644
index 0000000000..af85fa4bea
--- /dev/null
+++ b/src/UniGetUI.Core.Data/UpdateInProgressGuard.cs
@@ -0,0 +1,76 @@
+using System.Diagnostics;
+
+namespace UniGetUI.Core.Data
+{
+ // Bloc... | [
"src/UniGetUI.Core.Data/UpdateInProgressGuard.cs"
] | [
{
"comment": "FreshnessWindow is only 10 minutes, but the installer writes the marker once at the beginning and does not refresh its timestamp during the file-copy window. If an update takes longer than 10 minutes (slow disk/AV scanning/large payload), MarkerIsFresh will treat the marker as stale, delete it, an... | true | ||
Devolutions/UniGetUI | 4,868 | comment_to_fix | Prevent crashes from partial in-place updates | This test hard-codes a marker age of 15 minutes to make it "stale". If the production FreshnessWindow is adjusted upward to avoid false negatives during slow installs, this test will start failing even though behavior is still correct. Set the marker timestamp to an age that is safely beyond the expected staleness wind... | 4a572348c32844fc136f33f05fd68437f34ee7c4 | 50e7e2ccea304ab48c601b0101ad15c5ef26d3ad | diff --git a/src/UniGetUI.Core.Data.Tests/UpdateInProgressGuardTests.cs b/src/UniGetUI.Core.Data.Tests/UpdateInProgressGuardTests.cs
new file mode 100644
index 0000000000..966e9a6f73
--- /dev/null
+++ b/src/UniGetUI.Core.Data.Tests/UpdateInProgressGuardTests.cs
@@ -0,0 +1,89 @@
+namespace UniGetUI.Core.Data.Tests
+{
+ ... | [
"src/UniGetUI.Core.Data.Tests/UpdateInProgressGuardTests.cs"
] | [
{
"comment": "This test hard-codes a marker age of 15 minutes to make it \"stale\". If the production FreshnessWindow is adjusted upward to avoid false negatives during slow installs, this test will start failing even though behavior is still correct. Set the marker timestamp to an age that is safely beyond the... | true | ||
Devolutions/UniGetUI | 4,864 | issue_to_patch | Fix notification functionality in Avalonia | ### Summary
System (toast) notifications never appeared in the Avalonia app, while they work in the WinUI build. This wires the Windows App SDK into the Ava... | 2cb5f11f757fc335773c657b0e023d0cee62f61f | 37d82a5e0fae42cdddf243d92e47b054c634e801 | diff --git a/src/UniGetUI.Avalonia/Infrastructure/WindowsAppNotificationBridge.cs b/src/UniGetUI.Avalonia/Infrastructure/WindowsAppNotificationBridge.cs
index 8b6a76f71..425fa4e25 100644
--- a/src/UniGetUI.Avalonia/Infrastructure/WindowsAppNotificationBridge.cs
+++ b/src/UniGetUI.Avalonia/Infrastructure/WindowsAppNotif... | [
"src/UniGetUI.Avalonia/Infrastructure/WindowsAppNotificationBridge.cs",
"src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj"
] | [] | true | ||
Devolutions/UniGetUI | 4,813 | issue_to_patch | Replace icons and resize splash screen logo | ## Summary
- Swap the legacy gray-square + blue-arrow icon for the new layered cyan-blue logo across the app, system tray, installer, and marketing assets.
### In-app branding (WinUI... | e52971757d5199560e293e9208463c04e8b7dbb3 | 9a92e5686853dcb678c9dd3232f913d5bc95907e | diff --git a/InstallerExtras/installer-banner.png b/InstallerExtras/installer-banner.png
index 30f4d36782..0180abea3b 100644
Binary files a/InstallerExtras/installer-banner.png and b/InstallerExtras/installer-banner.png differ
diff --git a/InstallerExtras/unigetui-256.png b/InstallerExtras/unigetui-256.png
index 627ec1... | [
"InstallerExtras/installer-banner.png",
"InstallerExtras/unigetui-256.png",
"media/Icon sizes/1024.png",
"media/Icon sizes/128.png",
"media/Icon sizes/16.png",
"media/Icon sizes/2048.png",
"media/Icon sizes/256.png",
"media/Icon sizes/32.png",
"media/Icon sizes/4096.png",
"media/Icon sizes/512.png... | [] | true | ||
Devolutions/UniGetUI | 4,860 | issue_to_patch | Refine avalonia UI | Refine the Avalonia UI: native Windows 11 styling, animations, and polish Brings the Avalonia build of UniGetUI closer to the look and feel of the original WinUI app, plus a number of UI fixes and platform-specific touch-ups. Most of the work is Windows-only and cleanly isolated so macOS and Linux are unaffected.
##... | 2f884ca86dbc60438c59352906bb27b2d127b826 | 701ea3660ca5cd1b76989c18e0194d6ae5a38c90 | diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml
index 2522f1ef6d..775b1201c1 100644
--- a/.github/workflows/build-release.yml
+++ b/.github/workflows/build-release.yml
@@ -405,6 +405,17 @@ jobs:
sed "s|@VERSION@|${VERSION}|g" \
scripts/macos/Info.plist \
... | [
".github/workflows/build-release.yml",
"scripts/macos/AppIcon.icon/Assets/devolutions-unigetui-icon.svg",
"scripts/macos/AppIcon.icon/icon.json",
"scripts/macos/Info.plist",
"scripts/macos/UniGetUI.icns",
"src/UniGetUI.Avalonia/App.axaml.cs",
"src/UniGetUI.Avalonia/Assets/Styles/Styles.Common.axaml",
... | [] | true | ||
Devolutions/UniGetUI | 4,484 | issue_to_patch | [BUG] Log in/Account section is broken
### Please confirm these before moving forward
- [x] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
- [x] I have tested that this issue has not been fixed in the latest [(beta or stable) release](https://github.com/Devolutions/UniGet... | Fix GitHub cloud backup OAuth configuration | - [x] **I have read the [contributing guidelines](https://github.com/Devolutions/UniGetUI/blob/main/CONTRIBUTING.md#coding), and I agree with the [Code of Conduct](https://github.com/Devolutions/UniGetUI/blob/main/CODE_OF_CONDUCT.md)**.
- [x] **Have you checked that there aren't other open [pull requests](https://gith... | 4cafbcb23c7aca92e04bb3ba61f8fe911c4053a8 | 1ea2c0e9596c944e17d903e5f600d5c399b15693 | diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml
index 76d3ef87f8..07c447d05e 100644
--- a/.github/workflows/build-release.yml
+++ b/.github/workflows/build-release.yml
@@ -89,6 +89,8 @@ jobs:
permissions:
contents: read
env:
+ UNIGETUI_GITHUB_CLIENT_ID: ${{ s... | [
".github/workflows/build-release.yml",
"src/UniGetUI/Pages/DialogPages/DialogHelper_Generic.cs",
"src/UniGetUI/Pages/SettingsPages/GeneralPages/Backup.xaml.cs",
"src/UniGetUI/Services/GitHubAuthService.cs",
"src/UniGetUI/Services/UserAvatar.cs",
"src/UniGetUI/Services/generate-secrets.ps1"
] | [] | true | |
Devolutions/UniGetUI | 4,863 | issue_to_patch | bump pinget to 0.8.2 | This pull request updates dependency versions for Devolutions Pinget packages across several project files to ensure the use of the latest bug fixes and improvements.
Dependency updates:
* Upgraded `Devolutions.Pinget.Cli.Rust` from version `0.8.1` to `0.8.2` in `UniGetUI.Avalonia.csproj` and `UniGetUI.csproj` to... | c1a784f29623abe22b14c8075b600b9fae8a603b | d4074708a939c728a004373c4c8e41fdc0b57319 | diff --git a/src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj b/src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj
index cc624b9cd..0f1bc2b08 100644
--- a/src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj
+++ b/src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj
@@ -121,7 +121,7 @@
<PackageReference Include="Octokit" Versio... | [
"src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj",
"src/UniGetUI.PackageEngine.Managers.WinGet/UniGetUI.PackageEngine.Managers.WinGet.csproj",
"src/UniGetUI/UniGetUI.csproj"
] | [] | true | ||
Devolutions/UniGetUI | 4,862 | issue_to_patch | Add Option to download package manifests along with the installers | Adds an opt-in setting so that, when downloading a WinGet package's installer, UniGetUI also saves the package's YAML manifest next to it — matching what native winget download produces. This gives users maintaining offline/reproducible software repositories a self-contained snapshot (installer + metadata) instead of j... | 891caa2a81d22cbef42f7fd43d0aadcaba28a433 | 712d98a06b519361d2e643be0f08f78c98f73969 | diff --git a/src/UniGetUI.Avalonia/Infrastructure/AvaloniaPackageOperationHelper.cs b/src/UniGetUI.Avalonia/Infrastructure/AvaloniaPackageOperationHelper.cs
index 29d7a8331c..ff2167a7ff 100644
--- a/src/UniGetUI.Avalonia/Infrastructure/AvaloniaPackageOperationHelper.cs
+++ b/src/UniGetUI.Avalonia/Infrastructure/Avaloni... | [
"src/UniGetUI.Avalonia/Infrastructure/AvaloniaPackageOperationHelper.cs",
"src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj",
"src/UniGetUI.Avalonia/Views/Pages/SettingsPages/PackageManagerPage.axaml.cs",
"src/UniGetUI.Core.Settings/SettingsEngine_Names.cs",
"src/UniGetUI.PackageEngine.Managers.WinGet/Interna... | [] | true | ||
Devolutions/UniGetUI | 4,848 | issue_to_patch | Minor translation update (filipino) | Added translated string:
"Use the legacy system tray icon":
<!-- Provide a general summary of your changes in the title above -->
- [ ] **I have read the [contributing guidelines](https://github.com/Devolutions/UniGetUI/blob/main/CONTRIBUTING.md#coding), and I agree with the [Code of Conduct](https://github.com/... | 13748cb0a3cfbbee33475fe2e2370b6634c1bcbc | 11993b98f86e839b6889fd0e20173d489b24976d | diff --git a/src/Languages/lang_fil.json b/src/Languages/lang_fil.json
index f5dda1871..391d8cfb3 100644
--- a/src/Languages/lang_fil.json
+++ b/src/Languages/lang_fil.json
@@ -472,6 +472,7 @@
"Restart UniGetUI to apply this change": "I-restart ang UniGetUI upang ilapat ang pagbabagong ito",
"The classic UI is di... | [
"src/Languages/lang_fil.json"
] | [] | true | ||
Devolutions/UniGetUI | 4,847 | issue_to_patch | Update Devolutions branding assets | remove white border of the icons | 5aa512c388d0ef0726adfdd2be86deafa3ae2951 | e575f10569d7eaf9754d219493f8a39b6be368db | diff --git a/media/Icon sizes/1024.png b/media/Icon sizes/1024.png
index 2435c6f8fc..7c7b3b7367 100644
Binary files a/media/Icon sizes/1024.png and b/media/Icon sizes/1024.png differ
diff --git a/media/Icon sizes/128.png b/media/Icon sizes/128.png
index e37aff9428..9a25fc3e5b 100644
Binary files a/media/Icon sizes/128.... | [
"media/Icon sizes/1024.png",
"media/Icon sizes/128.png",
"media/Icon sizes/16.png",
"media/Icon sizes/2048.png",
"media/Icon sizes/256.png",
"media/Icon sizes/32.png",
"media/Icon sizes/4096.png",
"media/Icon sizes/512.png",
"media/Icon sizes/64.png",
"media/Icon sizes/8.png",
"media/assets/devo... | [] | true | ||
Devolutions/UniGetUI | 4,846 | issue_to_patch | Update splash screen svg and translation | This pull request updates the splash screen in both Avalonia and WinUI versions of the app.
**Splash screen and tagline layout improvements:**
* Refactored the splash screen layout in `SplashWindow.axaml` to use a `Grid` with precise column and row ratios, ensuring the tagline sits directly below the wordmark, a... | 1f3d48f2868d5c2036faafa9c70405179c22e8f8 | 38318baed6cd03381c750054cc8c2b6d1dc3ad2c | diff --git a/src/UniGetUI.Avalonia/Views/SplashWindow.axaml b/src/UniGetUI.Avalonia/Views/SplashWindow.axaml
index 067b760a6..43b050227 100644
--- a/src/UniGetUI.Avalonia/Views/SplashWindow.axaml
+++ b/src/UniGetUI.Avalonia/Views/SplashWindow.axaml
@@ -14,11 +14,30 @@
BorderBrush="{DynamicResource AppBorde... | [
"src/UniGetUI.Avalonia/Views/SplashWindow.axaml",
"src/UniGetUI.Avalonia/Views/SplashWindow.axaml.cs",
"src/UniGetUI/Assets/SplashScreen.png",
"src/UniGetUI/Assets/SplashScreen.svg",
"src/UniGetUI/Assets/SplashScreen.theme-dark.png",
"src/UniGetUI/Assets/SplashScreen.theme-dark.svg",
"src/UniGetUI/MainW... | [] | true | ||
Devolutions/UniGetUI | 4,843 | issue_to_patch | add option to keep the legacy system tray icon | This pull request adds support for using a legacy (pre-2026) system tray icon in UniGetUI. It introduces a new user setting to toggle between the legacy and redesigned tray icons, updates the UI to allow users to select this option, and ensures the application loads the correct icon based on the setting. The necessary ... | b18c31ff9350cb6a89e27f2ffd19d5aac4a69080 | f1526f4f94c55b85a32c03c66ca376a3804f6785 | diff --git a/src/Languages/lang_en.json b/src/Languages/lang_en.json
index 35823ddbfa..55c4fb5b69 100644
--- a/src/Languages/lang_en.json
+++ b/src/Languages/lang_en.json
@@ -472,6 +472,7 @@
"Restart UniGetUI to apply this change": "Restart UniGetUI to apply this change",
"The classic UI is disabled for beta test... | [
"src/Languages/lang_en.json",
"src/UniGetUI.Avalonia/Infrastructure/TrayService.cs",
"src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj",
"src/UniGetUI.Avalonia/ViewModels/Pages/SettingsPages/Interface_PViewModel.cs",
"src/UniGetUI.Avalonia/Views/Pages/SettingsPages/Interface_P.axaml",
"src/UniGetUI.Core.Set... | [] | true | ||
Devolutions/UniGetUI | 4,834 | issue_to_patch | Fill Avalonia executable properties | This pull request makes a minor update to the project file by including a shared assembly info file for compilation. This helps ensure that shared assembly metadata is available to the project.
* Added `..\SharedAssemblyInfo.cs` to the list of compiled files in `UniGetUI.Avalonia.csproj`, linking it as `SharedAssemb... | 76930eb532b577d5164e944ab1185f1ce9d210c7 | 11f4dc0879202fb1a7f0969118f297c0242a4d2f | diff --git a/src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj b/src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj
index 1f6da35cc..d6ced76b7 100644
--- a/src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj
+++ b/src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj
@@ -111,6 +111,7 @@
</ItemGroup>
<ItemGroup>
+ <Compil... | [
"src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj"
] | [] | true | ||
Devolutions/UniGetUI | 4,831 | issue_to_patch | Fix update banner display issue for successful updates | This pull request improves the reliability and correctness of the update logging and orphaned update detection logic in both `UniGetUI` and `UniGetUI.Avalonia`. The changes ensure that update log files are written atomically to prevent corruption, enhance version comparison logic to handle version strings with trailing... | 60a3df9f38290ce1f426a53a85e7b42890eb4b1e | af38b171516ca9e4978f774a8fb7251dd20eb016 | diff --git a/src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs b/src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs
index 7743957f9e..a0aa17a3a9 100644
--- a/src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs
+++ b/src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs
@@ -134,18 +134,1... | [
"src/UniGetUI.Avalonia/Infrastructure/AvaloniaAutoUpdater.cs",
"src/UniGetUI/AutoUpdater.Helpers.cs",
"src/UniGetUI/AutoUpdater.cs"
] | [] | true | ||
Devolutions/UniGetUI | 4,828 | issue_to_patch | Avalonia: add splash screen + fix package card / search bar visual issues | ## Summary
... | 6a436821ae8193d4f5bcae373ce394bb6ef31862 | 2eb369dcb54bf3f4b3b09fc0a9142592d36b52bd | diff --git a/src/UniGetUI.Avalonia/App.axaml.cs b/src/UniGetUI.Avalonia/App.axaml.cs
index 6abd79e4ee..67ec82f6f1 100644
--- a/src/UniGetUI.Avalonia/App.axaml.cs
+++ b/src/UniGetUI.Avalonia/App.axaml.cs
@@ -54,42 +54,78 @@ public override void OnFrameworkInitializationCompleted()
if (ApplicationLifetime is I... | [
"src/UniGetUI.Avalonia/App.axaml.cs",
"src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj",
"src/UniGetUI.Avalonia/Views/MainWindow.axaml",
"src/UniGetUI.Avalonia/Views/SoftwarePages/AbstractPackagesPage.axaml",
"src/UniGetUI.Avalonia/Views/SplashWindow.axaml",
"src/UniGetUI.Avalonia/Views/SplashWindow.axaml.... | [] | true | ||
Devolutions/UniGetUI | 4,830 | issue_to_patch | Avalonia: Fix transparent strip on right/bottom edges of Avalonia window | This pull request improves the window styling and native integration for the main window on Windows, focusing on more consistent and modern border handling and fixing layout issues when changing window styles. The most important changes are grouped below.
**Window Styling and Layout Consistency:**
* Updated the `... | 6a436821ae8193d4f5bcae373ce394bb6ef31862 | 2346ea754d907b1d947093891c3717201060d7d3 | diff --git a/src/UniGetUI.Avalonia/Assets/Styles/Styles.Common.axaml b/src/UniGetUI.Avalonia/Assets/Styles/Styles.Common.axaml
index 65ab004ad1..807dbea918 100644
--- a/src/UniGetUI.Avalonia/Assets/Styles/Styles.Common.axaml
+++ b/src/UniGetUI.Avalonia/Assets/Styles/Styles.Common.axaml
@@ -134,15 +134,14 @@
<Sty... | [
"src/UniGetUI.Avalonia/Assets/Styles/Styles.Common.axaml",
"src/UniGetUI.Avalonia/Views/MainWindow.axaml.cs"
] | [] | true | ||
Devolutions/UniGetUI | 4,829 | issue_to_patch | fix update of Portable packages | This pull request updates several dependencies to newer versions and improves how custom install locations are handled for portable packages during updates operations with WinGet. The most significant functional change ensures that portable packages are updated from their actual install location, preventing accidental ... | 6a436821ae8193d4f5bcae373ce394bb6ef31862 | 0f9f36a4b2f34e0afb624838f12f0d52af51c878 | diff --git a/src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj b/src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj
index 2514a337f6..4fbb784012 100644
--- a/src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj
+++ b/src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj
@@ -94,7 +94,7 @@
<PackageReference Include="Octokit" Versio... | [
"src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj",
"src/UniGetUI.PackageEngine.Managers.WinGet/Helpers/WinGetPkgOperationHelper.cs",
"src/UniGetUI.PackageEngine.Managers.WinGet/UniGetUI.PackageEngine.Managers.WinGet.csproj",
"src/UniGetUI/UniGetUI.csproj"
] | [] | true | ||
Devolutions/UniGetUI | 4,824 | issue_to_patch | [BUG] PowerShell 7 modules not listed in the available updates
### Please confirm these before moving forward
- [x] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
- [x] I have tested that this issue has not been fixed in the latest [(beta or stable) release](https://githu... | Fix PowerShell 7 updates list silently dropping all modules | ## Problem
PowerShell 7 modules never show up on the Updates page for users with large module sets. When the user searches an installed module, UniGetUI incorrectly reports both PS5 and PS7 versions as up-to-date even when a newer version exists on PowerShellGallery.
The PS7 `ListUpdates` task fails completely wi... | b1faac0370bfa0491cf65ff16446ae88b328cf56 | 0810886bc68af77e7ca5eca0454298a562eaf627 | diff --git a/src/UniGetUI.PackageEngine.Managers.PowerShell7/InternalsVisibleTo.cs b/src/UniGetUI.PackageEngine.Managers.PowerShell7/InternalsVisibleTo.cs
new file mode 100644
index 0000000000..eeb63dad19
--- /dev/null
+++ b/src/UniGetUI.PackageEngine.Managers.PowerShell7/InternalsVisibleTo.cs
@@ -0,0 +1,3 @@
+using Sy... | [
"src/UniGetUI.PackageEngine.Managers.PowerShell7/InternalsVisibleTo.cs",
"src/UniGetUI.PackageEngine.Managers.PowerShell7/PowerShell7.cs",
"src/UniGetUI.PackageEngine.Tests/PowerShell7ManagerTests.cs",
"src/UniGetUI.PackageEngine.Tests/UniGetUI.PackageEngine.Tests.csproj"
] | [] | true | |
Devolutions/UniGetUI | 4,816 | issue_to_patch | Rework package details view | This pull request significantly refactors the `PackageDetailsViewModel` and its associated view to improve separation of concerns, data binding, and UI flexibility. The main changes include switching from text-based to strongly-typed properties for URLs, cleaning up screenshot navigation logic, and moving rich text con... | f243ad7ce4ec3d9dc966695c15400098ff1f552d | a83a9b8babc365246ad3c07a03deaf3aad65e237 | diff --git a/src/UniGetUI.Avalonia/ViewModels/DialogPages/PackageDetailsViewModel.cs b/src/UniGetUI.Avalonia/ViewModels/DialogPages/PackageDetailsViewModel.cs
index ae5a914a4a..24ca94c93b 100644
--- a/src/UniGetUI.Avalonia/ViewModels/DialogPages/PackageDetailsViewModel.cs
+++ b/src/UniGetUI.Avalonia/ViewModels/DialogPa... | [
"src/UniGetUI.Avalonia/ViewModels/DialogPages/PackageDetailsViewModel.cs",
"src/UniGetUI.Avalonia/Views/DialogPages/PackageDetailsWindow.axaml",
"src/UniGetUI.Avalonia/Views/DialogPages/PackageDetailsWindow.axaml.cs"
] | [] | true | ||
Devolutions/UniGetUI | 4,815 | issue_to_patch | Update UniGetUI Pinget consumer for Pinget 0.6.0 JSON contract | ## Summary
- update the UniGetUI Pinget consumer to the new Pinget JSON contract
- switch the Pinget source fallback parsing to the PascalCase source export shape
- update Pinget-related UniGetUI tests accordingly
- relax \global.json\ SDK roll-forward policy to \latestFeature\
## Blocking dependency
This PR should no... | f243ad7ce4ec3d9dc966695c15400098ff1f552d | def849f0f08ee68e3e2b74690089fd8e5c75dd1c | diff --git a/global.json b/global.json
index c358071f08..abe5820849 100644
--- a/global.json
+++ b/global.json
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "10.0.103",
- "rollForward": "latestPatch"
+ "rollForward": "latestFeature"
}
}
diff --git a/src/UniGetUI.Avalonia/UniGetUI.Avalonia.csp... | [
"global.json",
"src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj",
"src/UniGetUI.Avalonia/ViewModels/MainWindowViewModel.cs",
"src/UniGetUI.Avalonia/Views/Controls/InfoBar.axaml.cs",
"src/UniGetUI.PackageEngine.Managers.WinGet/ClientHelpers/PingetCliHelper.cs",
"src/UniGetUI.PackageEngine.Managers.WinGet/Cl... | [] | true | ||
Devolutions/UniGetUI | 4,814 | issue_to_patch | Add missing translations for context menu | Summary
- Fix untranslated text in the package-list right-click contex... | c08cf876090d11351a86cd8b5f191ce7d49d51b2 | 8a5a28713ada38ca46dd65face650030d99f8eab | diff --git a/src/Languages/lang_af.json b/src/Languages/lang_af.json
index 06dadde745..28bf9a7751 100644
--- a/src/Languages/lang_af.json
+++ b/src/Languages/lang_af.json
@@ -80,6 +80,7 @@
"Do you really want to uninstall the following {0} packages?": "Wil u die volgende {0} pakkette regtig deïnstalleer?",
"No": ... | [
"src/Languages/lang_af.json",
"src/Languages/lang_ar.json",
"src/Languages/lang_be.json",
"src/Languages/lang_bg.json",
"src/Languages/lang_bn.json",
"src/Languages/lang_ca.json",
"src/Languages/lang_cs.json",
"src/Languages/lang_da.json",
"src/Languages/lang_de.json",
"src/Languages/lang_el.json"... | [] | true | ||
Devolutions/UniGetUI | 4,811 | issue_to_patch | change linux manager support | This pull request updates the metadata for several Linux package manager integrations by marking that they do not support reporting package release dates. This change ensures that the application does not incorrectly assume that release date information is available from these backends.
Package manager metadata upda... | 365f9e8e86f8fd166d107fe68c43ce2f65980c61 | f19ff0f9495fb41422d1bfec831dd553171930bb | diff --git a/src/UniGetUI.PackageEngine.Managers.Apt/Apt.cs b/src/UniGetUI.PackageEngine.Managers.Apt/Apt.cs
index e4f756c87b..59a1d4687f 100644
--- a/src/UniGetUI.PackageEngine.Managers.Apt/Apt.cs
+++ b/src/UniGetUI.PackageEngine.Managers.Apt/Apt.cs
@@ -26,7 +26,7 @@ public Apt()
SupportsCustomSources = f... | [
"src/UniGetUI.PackageEngine.Managers.Apt/Apt.cs",
"src/UniGetUI.PackageEngine.Managers.Dnf/Dnf.cs",
"src/UniGetUI.PackageEngine.Managers.Flatpak/Flatpak.cs",
"src/UniGetUI.PackageEngine.Managers.Pacman/Pacman.cs",
"src/UniGetUI.PackageEngine.Managers.Snap/Snap.cs"
] | [] | true | ||
Devolutions/UniGetUI | 4,809 | issue_to_patch | support of minimum age directly in managers | This pull request enhances how package managers' support for package release dates is represented and displayed in the application. Instead of a simple yes/no, the new implementation introduces a three-level enum (`No`, `Partial`, `Yes`) to reflect whether release date information is fully, partially, or not at all ava... | e290d9117173c1bed5ed83cd9fe36840a841c4e7 | 23191dafd4cf012339f95de031e010ffb85d2722 | diff --git a/src/Languages/lang_en.json b/src/Languages/lang_en.json
index 3cfc3babf2..35823ddbfa 100644
--- a/src/Languages/lang_en.json
+++ b/src/Languages/lang_en.json
@@ -80,6 +80,7 @@
"Do you really want to uninstall the following {0} packages?": "Do you really want to uninstall the following {0} packages?",
... | [
"src/Languages/lang_en.json",
"src/UniGetUI.Avalonia/ViewModels/Pages/SettingsPages/UpdatesViewModel.cs",
"src/UniGetUI.Avalonia/Views/Pages/SettingsPages/PackageManagerPage.axaml.cs",
"src/UniGetUI.PackageEngine.Enums/ManagerCapabilities.cs",
"src/UniGetUI.PackageEngine.Managers.Apt/Apt.cs",
"src/UniGetU... | [
{
"comment": "New translation keys (\"Partial\" and the new \"{pm} only provides release dates…\" sentence) were added only to lang_en.json. Other locale files currently don’t contain these keys, so non-English users will see the English key text instead of a translated string. Please add these keys to the othe... | true | ||
Devolutions/UniGetUI | 4,809 | comment_to_fix | support of minimum age directly in managers | New translation keys ("Partial" and the new "{pm} only provides release dates…" sentence) were added only to lang_en.json. Other locale files currently don’t contain these keys, so non-English users will see the English key text instead of a translated string. Please add these keys to the other lang_*.json files (even ... | e290d9117173c1bed5ed83cd9fe36840a841c4e7 | 23191dafd4cf012339f95de031e010ffb85d2722 | diff --git a/src/Languages/lang_en.json b/src/Languages/lang_en.json
index 3cfc3babf2..35823ddbfa 100644
--- a/src/Languages/lang_en.json
+++ b/src/Languages/lang_en.json
@@ -80,6 +80,7 @@
"Do you really want to uninstall the following {0} packages?": "Do you really want to uninstall the following {0} packages?",
... | [
"src/Languages/lang_en.json"
] | [
{
"comment": "New translation keys (\"Partial\" and the new \"{pm} only provides release dates…\" sentence) were added only to lang_en.json. Other locale files currently don’t contain these keys, so non-English users will see the English key text instead of a translated string. Please add these keys to the othe... | true | ||
Devolutions/UniGetUI | 4,809 | comment_to_fix | support of minimum age directly in managers | This new translation key was added only in lang_en.json; other locale files currently don’t include it, which will cause the UI to fall back to displaying the English key text for non-English locales. Please add the key to the other lang_*.json files (or update the translation sync process) so translations remain consi... | e290d9117173c1bed5ed83cd9fe36840a841c4e7 | 23191dafd4cf012339f95de031e010ffb85d2722 | diff --git a/src/Languages/lang_en.json b/src/Languages/lang_en.json
index 3cfc3babf2..35823ddbfa 100644
--- a/src/Languages/lang_en.json
+++ b/src/Languages/lang_en.json
@@ -80,6 +80,7 @@
"Do you really want to uninstall the following {0} packages?": "Do you really want to uninstall the following {0} packages?",
... | [
"src/Languages/lang_en.json"
] | [
{
"comment": "This new translation key was added only in lang_en.json; other locale files currently don’t include it, which will cause the UI to fall back to displaying the English key text for non-English locales. Please add the key to the other lang_*.json files (or update the translation sync process) so tra... | true | ||
Devolutions/UniGetUI | 4,810 | issue_to_patch | Fix race condition in PEInterface build and improve icon loading | ### Summary
Two unrelated-but-small fixes to the Avalonia build & UI that surfaced during day-to-day work on UniGetUI.Avalonia.slnx:
1. CS0006 race when building UniGetUI.PackageEngine.PEInterfa... | e290d9117173c1bed5ed83cd9fe36840a841c4e7 | e35963e24de248bc2e119a12f19c69795818ec62 | diff --git a/src/UniGetUI.Avalonia/Models/PackageCollections.cs b/src/UniGetUI.Avalonia/Models/PackageCollections.cs
index 125c993427..597d48a8fa 100644
--- a/src/UniGetUI.Avalonia/Models/PackageCollections.cs
+++ b/src/UniGetUI.Avalonia/Models/PackageCollections.cs
@@ -201,6 +201,13 @@ private async Task LoadIconAsync... | [
"src/UniGetUI.Avalonia/Models/PackageCollections.cs",
"src/UniGetUI.PackageEngine.PackageEngine/UniGetUI.PackageEngine.PEInterface.csproj"
] | [] | true | ||
DiffSharp/DiffSharp | 443 | issue_to_patch | updating to latest TorchSharp | I increasingly like overload resolution error message :) | 1bfe5b68cd240870815760eb4f6c489f5698923a | 89262229482df55a76db1685269c962b824bde20 | diff --git a/DEVGUIDE.md b/DEVGUIDE.md
index 0eb8bfa2..5c9abd4a 100644
--- a/DEVGUIDE.md
+++ b/DEVGUIDE.md
@@ -78,15 +78,12 @@ By default in-branch testing is only done on CPU. To enable on GPU/CUDA you mus
1. Make sure you have a device eligible for CUDA 11.1 and all device drivers installed (e.g. install the appr... | [
"DEVGUIDE.md",
"Directory.Build.props",
"src/DiffSharp.Backends.Torch/Torch.RawTensor.fs",
"src/DiffSharp.Core/Op.BMM.fs",
"src/DiffSharp.Core/Op.Outer.fs",
"tests/DiffSharp.Tests/TestDiffSharp.fs",
"tests/DiffSharp.Tests/TestDistributions.fs",
"tests/DiffSharp.Tests/TestOp.BMM.fs",
"tests/DiffSharp... | [] | diff --git a/tests/DiffSharp.Tests/TestDiffSharp.fs b/tests/DiffSharp.Tests/TestDiffSharp.fs
index a9b3ef3d..136f3dea 100644
--- a/tests/DiffSharp.Tests/TestDiffSharp.fs
+++ b/tests/DiffSharp.Tests/TestDiffSharp.fs
@@ -127,6 +127,7 @@ type TestDiffSharp () =
[<Test>]
member this.TestSeed () =
for com... | true | |
DiffSharp/DiffSharp | 444 | issue_to_patch | minor notes related to using this repository on macos-arm64 | Just in case people try the repository on macos-arm64, there are few instructions, and a postmortem of a failing test added in the readmes. | 29af24ad69a96aace8a49420996861b2a3ca0fa9 | 7c46a639734ef77eae01ce6ac46096afb0da2dbf | diff --git a/DEVGUIDE.md b/DEVGUIDE.md
index 2673a498..0eb8bfa2 100644
--- a/DEVGUIDE.md
+++ b/DEVGUIDE.md
@@ -102,3 +102,21 @@ To run benchmarks:
To filter etc., see `--help`
+## TorchSharp backend on macos arm64
+
+In order to use TorchSharp backend on macOs arm64 platform:
+
+* you need to build TorchSharp from... | [
"DEVGUIDE.md",
"README.md"
] | [] | true | ||
DiffSharp/DiffSharp | 446 | issue_to_patch | fix formatting for latest F# | The latest preview version of F# appears to emit more offside indentatios warnings - all of them reasonable
This adds some extra indentation to fix this. | 29af24ad69a96aace8a49420996861b2a3ca0fa9 | 58b47b86a32a232f032ea561666b0d3c50d8428b | [
"tests/DiffSharp.Tests/TestDerivatives.Conv.fs",
"tests/DiffSharp.Tests/TestDerivatives.fs"
] | [] | diff --git a/tests/DiffSharp.Tests/TestDerivatives.Conv.fs b/tests/DiffSharp.Tests/TestDerivatives.Conv.fs
index 3e1752dc..461f39c5 100644
--- a/tests/DiffSharp.Tests/TestDerivatives.Conv.fs
+++ b/tests/DiffSharp.Tests/TestDerivatives.Conv.fs
@@ -557,269 +557,269 @@ type TestDerivativesConv () =
member _.TestDeriv... | true | ||
DiffSharp/DiffSharp | 445 | issue_to_patch | Error in example on frontpage | Correcting dsharp namespace is undefined error in the example on https://diffsharp.github.io/index.html | 29af24ad69a96aace8a49420996861b2a3ca0fa9 | d50ad318815c43ab95e1b8073a7582e111bb5d94 | diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 00000000..ed14453a
Binary files /dev/null and b/.DS_Store differ
diff --git a/docs/index.fsx b/docs/index.fsx
index 913c7577..6bc87a8c 100644
--- a/docs/index.fsx
+++ b/docs/index.fsx
@@ -131,6 +131,7 @@ dsharp.diff (fun x -> x * dsharp.diff (fun y -> x * y)... | [
".DS_Store",
"docs/index.fsx"
] | [] | true | ||
DiffSharp/DiffSharp | 434 | issue_to_patch | Rounding always returns NaNs
Applying `dsharp.round` on a tensor always returns NaNs when diffsharp 1.0.7 is used with Pytorch 1.11 + Torchsharp 0.96.8. If current branch rather than nuget, it instead fails with a `Method not found exception` for `round`. | update TorchSharp version to 0.96.8 | Update to current torchsharp (fixes #433) | 2422b28e38e3b3a33aa0acde8ba01ace13c9ae3b | 98b964e050a8089368e6c1717d0701c52c4f3fd3 | diff --git a/Directory.Build.props b/Directory.Build.props
index 333bcd48..45bcd17c 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -2,7 +2,7 @@
<PropertyGroup>
- <TorchSharpVersion>0.96.5</TorchSharpVersion>
+ <TorchSharpVersion>0.96.8</TorchSharpVersion>
<FSharpCoreVersion>6.0.3</F... | [
"Directory.Build.props"
] | [] | true | |
DiffSharp/DiffSharp | 429 | issue_to_patch | Update torchsharp to 0.96.5 | 2f3bd523c0c08195c5a2d8cf1fdc55088cc69a3c | cbded778a042aa4976c652054a37a29eed84b6f5 | diff --git a/Directory.Build.props b/Directory.Build.props
index 0a622f3e..333bcd48 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -2,7 +2,7 @@
<PropertyGroup>
- <TorchSharpVersion>0.96.0</TorchSharpVersion>
+ <TorchSharpVersion>0.96.5</TorchSharpVersion>
<FSharpCoreVersion>6.0.3</F... | [
"Directory.Build.props",
"examples/classifier.fsx",
"examples/differentiable_programming.fsx",
"examples/gan.fsx",
"examples/rnn.fsx",
"examples/vae.fsx",
"examples/vae_cnn.fsx"
] | [] | true | |||
DiffSharp/DiffSharp | 425 | issue_to_patch | Fix load and save of models with buffers | This is to introduce tests and then fix the problem with loading and saving the state of models with buffers, as reported in #421 and #422 | f1fb160e1a120673aff5249975cbfb244e4a2490 | 8081094f06d8f6110c97c82ff213babccb4f3acf | diff --git a/examples/rnn.fsx b/examples/rnn.fsx
index ba3e2328..c7973121 100755
--- a/examples/rnn.fsx
+++ b/examples/rnn.fsx
@@ -34,30 +34,32 @@ let corpus = System.IO.File.ReadAllText("./shakespeare.txt")
let seqLen = 32
let batchSize = 16
+let hiddenSize = 128
+let numLayers = 2
let dataset = TextDataset(cor... | [
"examples/rnn.fsx",
"examples/vae.fsx",
"examples/vae_cnn.fsx",
"src/DiffSharp.Backends.Reference/Reference.RawTensor.fs",
"src/DiffSharp.Core/DiffSharp.fs",
"src/DiffSharp.Core/Model.BatchNorm.fs",
"src/DiffSharp.Core/Model.Recurrent.fs",
"src/DiffSharp.Core/Model.fs",
"src/DiffSharp.Core/RawTensor... | [] | diff --git a/tests/DiffSharp.Tests/DiffSharp.Tests.fsproj b/tests/DiffSharp.Tests/DiffSharp.Tests.fsproj
index 812e42a7..d9bd0059 100644
--- a/tests/DiffSharp.Tests/DiffSharp.Tests.fsproj
+++ b/tests/DiffSharp.Tests/DiffSharp.Tests.fsproj
@@ -35,6 +35,14 @@
<Compile Include="TestExtensions.fs" />
<Compile Inc... | true | |
DiffSharp/DiffSharp | 419 | issue_to_patch | add bias/weight properties To Linear, Conv models |
These are already present for BatchNorm* so seems to make sense to add them? | b4c4e474a537aaabd67f8ea9745dbcad2d030595 | 8992cb8e21dae9dc4e194b56c9acc8af57e1a160 | diff --git a/src/DiffSharp.Core/Model.Conv.fs b/src/DiffSharp.Core/Model.Conv.fs
index 5468d533..43a0ea68 100644
--- a/src/DiffSharp.Core/Model.Conv.fs
+++ b/src/DiffSharp.Core/Model.Conv.fs
@@ -10,54 +10,82 @@ open DiffSharp
/// <summary>A model that applies a 1D convolution over an input signal composed of several i... | [
"src/DiffSharp.Core/Model.Conv.fs",
"src/DiffSharp.Core/Model.ConvTranspose.fs",
"src/DiffSharp.Core/Model.Linear.fs",
"src/DiffSharp.Core/Model.VAE.fs",
"tests/DiffSharp.Tests/TestModel.fs"
] | [] | diff --git a/tests/DiffSharp.Tests/TestModel.fs b/tests/DiffSharp.Tests/TestModel.fs
index cadb770d..d46a811d 100644
--- a/tests/DiffSharp.Tests/TestModel.fs
+++ b/tests/DiffSharp.Tests/TestModel.fs
@@ -169,6 +169,10 @@ type TestModel () =
>> fc2.forward,
models=[fc1; ... | true | |
DiffSharp/DiffSharp | 418 | issue_to_patch | Model wrappers for functions | Addresses #397 | 5ddcc99d49f467b2f9d21d6eaf0515cdb78e2e41 | bd124eeee1db5e83c81c25a3f3ced16a16c5e9e6 | diff --git a/docs/quickstart.fsx b/docs/quickstart.fsx
index d8d68653..b4284f8f 100644
--- a/docs/quickstart.fsx
+++ b/docs/quickstart.fsx
@@ -127,7 +127,7 @@ type Generator(nz: int) =
let fc2 = Linear(256, 512)
let fc3 = Linear(512, 1024)
let fc4 = Linear(1024, 28*28)
- do base.addModel([fc1; fc2; fc... | [
"docs/quickstart.fsx",
"src/DiffSharp.Core/Model.BatchNorm.fs",
"src/DiffSharp.Core/Model.Conv.fs",
"src/DiffSharp.Core/Model.ConvTranspose.fs",
"src/DiffSharp.Core/Model.Linear.fs",
"src/DiffSharp.Core/Model.Recurrent.fs",
"src/DiffSharp.Core/Model.Sequential.fs",
"src/DiffSharp.Core/Model.VAE.fs",
... | [
{
"comment": "Should that `obj` be `ModelBase`? ",
"path": "src/DiffSharp.Core/Model.fs",
"hunk": "@@ -491,12 +491,21 @@ type ModelBase() =\n \n \n /// <summary>Represents a model, primarily a collection of named parameters and sub-models and a function governed by them.</summary>\n-[<AbstractClass>]\n-... | diff --git a/tests/DiffSharp.Tests/TestModel.fs b/tests/DiffSharp.Tests/TestModel.fs
index 479e6da6..cadb770d 100644
--- a/tests/DiffSharp.Tests/TestModel.fs
+++ b/tests/DiffSharp.Tests/TestModel.fs
@@ -14,9 +14,9 @@ open DiffSharp.Optim
type ModelStyle1a() =
inherit Model()
- let fc1 = Linear(10, 16)
- ... | true | |
DiffSharp/DiffSharp | 420 | issue_to_patch | Covariance and Correlation | This PR adds covariance and correlation to `Tensor.fs`, `DiffSharp.fs`, and `DiffSharp.Compose.fs`. I am suggesting these additions because I would like to use covariance when using DiffSharp for linear algebra and because PyTorch added them last year.
I followed the code in the PyTorch PRs that added them ([torch.c... | d8302545643664630fc7e577d623a3d1b1e4753c | 15c364696a189472b714479b6e874214a3911113 | diff --git a/src/DiffSharp.Core/DiffSharp.Compose.fs b/src/DiffSharp.Core/DiffSharp.Compose.fs
index cd9d4c7c..56ebfc6d 100644
--- a/src/DiffSharp.Core/DiffSharp.Compose.fs
+++ b/src/DiffSharp.Core/DiffSharp.Compose.fs
@@ -152,10 +152,16 @@ type dsharp with
static member mean(dim:int, ?keepDim:bool) = fun (a:Tenso... | [
"src/DiffSharp.Core/DiffSharp.Compose.fs",
"src/DiffSharp.Core/DiffSharp.fs",
"src/DiffSharp.Core/Model.BatchNorm.fs",
"src/DiffSharp.Core/Tensor.fs",
"tests/DiffSharp.Tests/TestDerivatives.fs",
"tests/DiffSharp.Tests/TestDiffSharp.fs",
"tests/DiffSharp.Tests/TestDistributions.fs",
"tests/DiffSharp.Te... | [] | diff --git a/tests/DiffSharp.Tests/TestDerivatives.fs b/tests/DiffSharp.Tests/TestDerivatives.fs
index a400522f..e2c19bb2 100644
--- a/tests/DiffSharp.Tests/TestDerivatives.fs
+++ b/tests/DiffSharp.Tests/TestDerivatives.fs
@@ -1921,7 +1921,7 @@ type TestDerivatives () =
member _.TestDerivativeVariance () =
... | true | |
DiffSharp/DiffSharp | 423 | issue_to_patch | Notes for package versioning | e154e33e7dd4a71205147424f2d00f236f83a411 | c8674e7126d90843540a388ca5ba93856a3b35c0 | diff --git a/Directory.Build.props b/Directory.Build.props
index 4393f9ec..0a622f3e 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -50,18 +50,12 @@
<PackageVersion Condition="'$(GITHUB_ACTIONS)' != 'true'">$(Version)-local-$([System.DateTime]::Now.ToString(`yyMMdd`))</PackageVersion>
<!--... | [
"Directory.Build.props"
] | [] | true | |||
DiffSharp/DiffSharp | 395 | issue_to_patch | Update to dotnet 6 and F# 6 | This updates dotnet to 6.0. It also adds some useful notes to Directory.Build.props regarding package versioning.
This change broke tar.gz extraction code (used for CIFAR datasets) due to a breaking change in stream behavior in dotnet 6, documented here: https://docs.microsoft.com/en-us/dotnet/core/compatibility/cor... | 4ab0e66c5b02e1c1c6956f2710ec9f1897fce6f0 | b9003733247126fd0a973ebce658731c2aad0144 | diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json
index d1c9930e9..23b4ab85b 100644
--- a/.config/dotnet-tools.json
+++ b/.config/dotnet-tools.json
@@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"fsdocs-tool": {
- "version": "14.0.1",
+ "version": "15.0.0",
"commands": [
... | [
".config/dotnet-tools.json",
".github/workflows/build-test-docs-publish.yml",
".github/workflows/pull-request-debug.yml",
".github/workflows/pull-request-release.yml",
"Directory.Build.props",
"Dockerfile",
"bundles/DiffSharp-cpu/DiffSharp-cpu.fsproj",
"bundles/DiffSharp-cuda-linux/DiffSharp-cuda-linu... | [] | diff --git a/tests/DiffSharp.Backends.TestDuplicate/DiffSharp.Backends.TestDuplicate.fsproj b/tests/DiffSharp.Backends.TestDuplicate/DiffSharp.Backends.TestDuplicate.fsproj
index adf53758f..f977a139a 100644
--- a/tests/DiffSharp.Backends.TestDuplicate/DiffSharp.Backends.TestDuplicate.fsproj
+++ b/tests/DiffSharp.Backen... | true | |
DiffSharp/DiffSharp | 417 | issue_to_patch | Improve model to string | Fixes model strings.
Example:
```fsharp
let nz = 128
let generator =
dsharp.view([-1;nz])
--> Linear(nz, 256)
--> dsharp.leakyRelu(0.2)
--> Linear(256, 512)
--> dsharp.leakyRelu(0.2)
--> Linear(512, 1024)
--> dsharp.leakyRelu(0.2)
--> Linear(1024, 28*28)
--> dsharp.t... | a8ddfe24d3c6c60cfebe6b62b1a17741b27f486d | 34a86a95c49bb03f4fab5feb58b61de574ddc278 | diff --git a/src/DiffSharp.Core/Model.fs b/src/DiffSharp.Core/Model.fs
index 85f66059..4a065e7a 100644
--- a/src/DiffSharp.Core/Model.fs
+++ b/src/DiffSharp.Core/Model.fs
@@ -459,16 +459,14 @@ type ModelBase() =
m.save(fileName, noDiff=false)
ModelBase.load(fileName)
- override _.ToString() =
+ ... | [
"src/DiffSharp.Core/Model.fs"
] | [] | true | ||
DiffSharp/DiffSharp | 416 | issue_to_patch | Fix "combine duplicates" in unweighted empiricals | Fixes a bug noticed in #394, adds device, backend, dtype arguments for empirical (when empirical needs to create tensors), add a test case. | 6d492471b70a70a806351abd9cdd4c7583efc661 | 3edbce68d3724685c2d3af0a34fb6a490eb5eecb | diff --git a/src/DiffSharp.Core/Distributions.fs b/src/DiffSharp.Core/Distributions.fs
index 769857cd..4cec4f3f 100644
--- a/src/DiffSharp.Core/Distributions.fs
+++ b/src/DiffSharp.Core/Distributions.fs
@@ -225,7 +225,7 @@ type Categorical(?probs:Tensor, ?logits:Tensor) =
/// <summary>Represents an Empirical distr... | [
"src/DiffSharp.Core/Distributions.fs",
"tests/DiffSharp.Tests/TestDistributions.fs"
] | [] | diff --git a/tests/DiffSharp.Tests/TestDistributions.fs b/tests/DiffSharp.Tests/TestDistributions.fs
index a49dd9ad..b83cd491 100644
--- a/tests/DiffSharp.Tests/TestDistributions.fs
+++ b/tests/DiffSharp.Tests/TestDistributions.fs
@@ -369,6 +369,23 @@ type TestDistributions () =
Assert.CheckEqual(distUnwei... | true | |
DiffSharp/DiffSharp | 415 | issue_to_patch | Determinant | This implements determinant and batched determinant | dd49c854d2227a30988536e5470073aebc31701f | 158973666936a5d1cbbbe62e3266066147b0d663 | diff --git a/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs b/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs
index 885d9bf3..ccfdbc12 100644
--- a/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs
+++ b/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs
@@ -718,6 +718,29 @@ module internal ... | [
"src/DiffSharp.Backends.Reference/Reference.RawTensor.fs",
"src/DiffSharp.Backends.Torch/Torch.RawTensor.fs",
"src/DiffSharp.Core/DiffSharp.Core.fsproj",
"src/DiffSharp.Core/Op.Det.fs",
"src/DiffSharp.Core/RawTensor.fs",
"src/DiffSharp.Core/Shape.fs",
"tests/DiffSharp.Tests/DiffSharp.Tests.fsproj",
"t... | [] | diff --git a/tests/DiffSharp.Tests/DiffSharp.Tests.fsproj b/tests/DiffSharp.Tests/DiffSharp.Tests.fsproj
index 5b064361..48c39722 100644
--- a/tests/DiffSharp.Tests/DiffSharp.Tests.fsproj
+++ b/tests/DiffSharp.Tests/DiffSharp.Tests.fsproj
@@ -39,6 +39,7 @@
<Compile Include="TestOp.AvgPool.fs" />
<Compile Incl... | true | |
DiffSharp/DiffSharp | 414 | issue_to_patch | Add dsharp.argmax | 2ba66fe3c3bddc206e421eddf17b6070f2c8ca80 | 443a0bec5ba0418e3aaf6cf68044f848450db331 | diff --git a/src/DiffSharp.Core/DiffSharp.fs b/src/DiffSharp.Core/DiffSharp.fs
index bbb8cd9a..8e1c9b4d 100644
--- a/src/DiffSharp.Core/DiffSharp.fs
+++ b/src/DiffSharp.Core/DiffSharp.fs
@@ -542,10 +542,22 @@ type dsharp =
/// <param name="input">The input tensor.</param>
static member argmax(input:Tensor) = ... | [
"src/DiffSharp.Core/DiffSharp.fs",
"tests/DiffSharp.Tests/TestTensor.fs"
] | [] | diff --git a/tests/DiffSharp.Tests/TestTensor.fs b/tests/DiffSharp.Tests/TestTensor.fs
index 990c4f5e..5776e30c 100644
--- a/tests/DiffSharp.Tests/TestTensor.fs
+++ b/tests/DiffSharp.Tests/TestTensor.fs
@@ -4359,7 +4359,7 @@ type TestTensor () =
let t1Argmax = t1.argmax(0)
let t1ArgmaxCorrect ... | true | ||
DiffSharp/DiffSharp | 358 | issue_to_patch | Documentation 4 | 1bb2702dfcce39389b26c144186a3f1772891798 | d82939e6b505724647756b9b66c531e6baf1540a | diff --git a/Directory.Build.props b/Directory.Build.props
index 39035309..fde74d2d 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -33,10 +33,11 @@
</PropertyGroup>
<PropertyGroup>
- <Version>1.0.6</Version>
+ <Version>1.0.7</Version>
<Authors>Atılım Güneş Baydin, Don Syme, Barak A... | [
"Directory.Build.props",
"docs/index.fsx",
"docs/install.fsx",
"docs/tensors.fsx"
] | [] | true | |||
DiffSharp/DiffSharp | 413 | issue_to_patch | Fix interactive plaintext printer, update colab hack to dotnet 6 | 1c0ee58aa69d3ccc4cef7ff61e0c06edfbfde1f6 | 3bb1071f5ddf690bb303e9822885d386388e5a5e | diff --git a/README.md b/README.md
index e82b0434..ecb4665c 100644
--- a/README.md
+++ b/README.md
@@ -36,7 +36,7 @@ To use locally in Jupyter, first install Jupyter and then:
When using .NET Interactive it is best to completely turn off automatic HTML displays of outputs:
- Formatter.SetPreferredMimeTypeFor(ty... | [
"README.md",
"docs/extensions.fsx",
"docs/index.fsx",
"docs/install.fsx",
"docs/quickstart.fsx",
"docs/tensors.fsx"
] | [] | true | |||
DiffSharp/DiffSharp | 412 | issue_to_patch | Doc generation updates; restrict to dotnet 5 for now | Updating to dotnet 6 and fsharp 6 in https://github.com/DiffSharp/DiffSharp/pull/395 is blocked for the time being by fsdocs not running in dotnet 6.
This is restricting the build and doc generation to dotnet 5 with a global.json for the time being. | c924df8b53623bcd9b8a981944e24a3a8af76ea3 | 65a3be62e188b4df37ff4b0bd2610f24118c3a5e | diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json
index f3d56c3d..d1c9930e 100644
--- a/.config/dotnet-tools.json
+++ b/.config/dotnet-tools.json
@@ -2,8 +2,8 @@
"version": 1,
"isRoot": true,
"tools": {
- "fsharp.formatting.commandtool": {
- "version": "11.4.1",
+ "fsdocs-tool": {
+... | [
".config/dotnet-tools.json",
".github/workflows/build-test-docs-publish.yml",
".github/workflows/pull-request-debug.yml",
".github/workflows/pull-request-release.yml",
"Directory.Build.props",
"docs/install.fsx",
"docs/quickstart.fsx",
"global.json",
"src/DiffSharp.Core/Util.fs"
] | [] | true | ||
DiffSharp/DiffSharp | 411 | issue_to_patch | include a DiffSharp-cuda bundle |
Similar to https://github.com/dotnet/TorchSharp/issues/512
I'm coming across situations where I'd like a DiffSharp-cuda package that references both DiffSharp-cuda-linux and DiffSharp-cuda-windows, in particular when writing cross-plaftform examples and scripts that require CUDA.
We should just add this, even i... | 014480f875fb290759be288c9ec4519b3cc51d63 | 91cee14b32b53f11da8fae326691b8bc415eeddf | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index a937cf52..32d7e51e 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -121,3 +121,23 @@ jobs:
run: dotnet pack --configuration Release --verbosity normal bundles/DiffSharp-cuda-linux
- name: Publi... | [
".github/workflows/publish.yml",
"bundles/DiffSharp-cuda/DiffSharp-cuda.fsproj",
"bundles/DiffSharp-cuda/Empty.fs"
] | [] | true | ||
DiffSharp/DiffSharp | 409 | issue_to_patch | missing file from https://github.com/DiffSharp/DiffSharp/pull/407 | c7df833ac924bf686259a7add430963a16ce3976 | ec4a99f764729c9da6bfa08b109d5f3b78752fa4 | diff --git a/Directory.Build.props b/Directory.Build.props
index fb92b532..3f638ef7 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -33,7 +33,7 @@
</PropertyGroup>
<PropertyGroup>
- <Version>1.0.5</Version>
+ <Version>1.0.6</Version>
<Authors>Atılım Güneş Baydin, Don Syme, Barak ... | [
"Directory.Build.props",
"src/DiffSharp.Backends.Torch/DiffSharp.Backends.Torch.fsproj"
] | [] | true | |||
DiffSharp/DiffSharp | 407 | issue_to_patch | primitives to allow lifting from operations from TorchSharp tensors to DiffSharp tensors | These primitives allow us to lift primal operations implemented in TorchSharp up to DiffSharp when we can assume the user is using the Torch backend
@pkese you may be intereted in this
The point is to allow the user to program freely with TorchSharp operations to generate primal tensors.
We use the name `prim... | c4b3197180f420ad6415e785d79fad2c7651289b | 8b52768df5ba7097b4c190042f564cd07f728608 | diff --git a/Directory.Build.props b/Directory.Build.props
index ce2c1e9c..fb92b532 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -33,7 +33,7 @@
</PropertyGroup>
<PropertyGroup>
- <Version>1.0.4</Version>
+ <Version>1.0.5</Version>
<Authors>Atılım Güneş Baydin, Don Syme, Barak ... | [
"Directory.Build.props",
"src/DiffSharp.Backends.Torch/DiffSharp.Torch.fs",
"src/DiffSharp.Backends.Torch/Torch.RawTensor.fs",
"src/DiffSharp.Core/Tensor.fs"
] | [] | true | ||
DiffSharp/DiffSharp | 406 | issue_to_patch | update script files | These changes should have been in https://github.com/DiffSharp/DiffSharp/pull/405
| b66ef9601797a5d0382796b30ec17b739dfa67e3 | 39858a0789ae51e764d8ee1d8aa01f25c60c2e0f | diff --git a/examples/classifier.fsx b/examples/classifier.fsx
index e27d120f..d39cf974 100755
--- a/examples/classifier.fsx
+++ b/examples/classifier.fsx
@@ -7,9 +7,9 @@
// Libtorch binaries
// Option A: you can use a platform-specific nuget package
-#r "nuget: TorchSharp-cpu, 0.93.5"
-// #r "nuget: TorchSharp-cud... | [
"examples/classifier.fsx",
"examples/differentiable_programming.fsx",
"examples/gan.fsx",
"examples/rnn.fsx",
"examples/vae.fsx",
"examples/vae_cnn.fsx"
] | [] | true | ||
DiffSharp/DiffSharp | 405 | issue_to_patch | Update to TorchSharp 0.96.0 (take 2) | Does the update again, given that the issue I saw was with https://github.com/dotnet/fsharp/issues/12708 | 6aaa816e4a3525ec4f1e634a8b73ffd38dbcd69d | c709017d037bb1b44ca5c7947a4b9151cbdd6902 | diff --git a/Directory.Build.props b/Directory.Build.props
index 05d2ec5c..ce2c1e9c 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -2,7 +2,7 @@
<PropertyGroup>
- <TorchSharpVersion>0.93.5</TorchSharpVersion>
+ <TorchSharpVersion>0.96.0</TorchSharpVersion>
<FSharpCoreVersion>5.0.2</F... | [
"Directory.Build.props"
] | [] | true | ||
DiffSharp/DiffSharp | 404 | issue_to_patch | revert update to TorchSharp 0.96.0 |
The update to TorchSharp 0.96.0 has some kind of error when doing F# Interactive scripting, see #403
I'll revert the update and work out what's going on step by step | f50d111f22c3799a8467661a161ac924784899f1 | 373d33db5f4047e3da105f796bf199a360c557dc | diff --git a/Directory.Build.props b/Directory.Build.props
index dcd08386..05d2ec5c 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -2,7 +2,7 @@
<PropertyGroup>
- <TorchSharpVersion>0.96.0</TorchSharpVersion>
+ <TorchSharpVersion>0.93.5</TorchSharpVersion>
<FSharpCoreVersion>5.0.2</F... | [
"Directory.Build.props"
] | [] | true | ||
DiffSharp/DiffSharp | 401 | issue_to_patch | Update to TorchSharp 0.96 | a618c439f037fe9bd6e0fd0c83ff2b63a2abe6f2 | 3049cae0bebe4159050ef4b8f93073a0e6536d4d | diff --git a/Directory.Build.props b/Directory.Build.props
index 5053e186..dcd08386 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -2,7 +2,7 @@
<PropertyGroup>
- <TorchSharpVersion>0.93.5</TorchSharpVersion>
+ <TorchSharpVersion>0.96.0</TorchSharpVersion>
<FSharpCoreVersion>5.0.2</F... | [
"Directory.Build.props",
"src/DiffSharp.Core/Backend.fs",
"src/DiffSharp.Core/Util.fs"
] | [] | true | |||
DiffSharp/DiffSharp | 400 | issue_to_patch | Introduce scatter, improve reverse mode of gather, simplify nllLoss | ef8184b0e24e3ba4d617bf3fc7438f7ca82f00e7 | e8e6c04034b40b9aeadcb437cc551424d8797db5 | diff --git a/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs b/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs
index 4f4e40f6..885d9bf3 100644
--- a/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs
+++ b/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs
@@ -312,6 +312,23 @@ type RawTensorCP... | [
"src/DiffSharp.Backends.Reference/Reference.RawTensor.fs",
"src/DiffSharp.Backends.Torch/Torch.RawTensor.fs",
"src/DiffSharp.Core/DiffSharp.Compose.fs",
"src/DiffSharp.Core/DiffSharp.fs",
"src/DiffSharp.Core/RawTensor.fs",
"src/DiffSharp.Core/Shape.fs",
"src/DiffSharp.Core/Tensor.fs",
"tests/DiffSharp... | [] | diff --git a/tests/DiffSharp.Tests/TestDerivatives.fs b/tests/DiffSharp.Tests/TestDerivatives.fs
index f8ff5132..02f82070 100644
--- a/tests/DiffSharp.Tests/TestDerivatives.fs
+++ b/tests/DiffSharp.Tests/TestDerivatives.fs
@@ -1394,50 +1394,131 @@ type TestDerivatives () =
let revx = combo.tensor([1,2,3,4,... | true | ||
DiffSharp/DiffSharp | 396 | issue_to_patch | Fix typo caused by find and replace "Run -> forward" | 5a80ff16aab64021dbab8280dee7b95b311940e6 | 00966d4bc2a0987e425ececd0ea6e5b86d1a26b1 | diff --git a/examples/vae.fsx b/examples/vae.fsx
index 43996966..8fa68fdf 100755
--- a/examples/vae.fsx
+++ b/examples/vae.fsx
@@ -11,7 +11,7 @@
// #r "nuget: TorchSharp-cuda-linux, 0.93.5"
// #r "nuget: TorchSharp-cuda-windows, 0.93.5"
// Option B: you can use a local libtorch installation
-// System.forwardtime.In... | [
"examples/vae.fsx"
] | [] | true | |||
DiffSharp/DiffSharp | 388 | issue_to_patch | Differentiable programs | This is a minor change in naming and it introduces a `DiffProg<'In, 'Out>` type representing a differentiable program, making it more natural to think about and design general [differentiable programming](https://en.wikipedia.org/wiki/Differentiable_programming) code.
The `Model` and `Model<'In, 'Out>` types are al... | 40db76265cd59cc14701daee7b4ea68ec0d0ca9a | df42259f022b1915612b35e80f49dd4a40c63667 | diff --git a/examples/classifier.fsx b/examples/classifier.fsx
index 3edb5f22..e27d120f 100755
--- a/examples/classifier.fsx
+++ b/examples/classifier.fsx
@@ -7,10 +7,11 @@
// Libtorch binaries
// Option A: you can use a platform-specific nuget package
-// #r "nuget: libtorch-cuda-11.1-win-x64, 1.8.0.7"
-// #r "nug... | [
"examples/classifier.fsx",
"examples/differentiable_programming.fsx",
"examples/gan.fsx",
"examples/rnn.fsx",
"examples/vae.fsx",
"examples/vae_cnn.fsx",
"src/DiffSharp.Core/DiffSharp.fs",
"src/DiffSharp.Core/Model.Dropout.fs",
"src/DiffSharp.Core/Model.VAE.fs",
"src/DiffSharp.Core/Model.fs",
"s... | [
{
"comment": "Why not get rid of `Model<'In, 'Out>`?",
"path": "src/DiffSharp.Core/Model.fs",
"hunk": "@@ -3,528 +3,22 @@\n //\n // BSD 2-Clause License. See LICENSE in root of repository.\n \n-namespace rec DiffSharp.Model\n+namespace DiffSharp.Model\n \n open DiffSharp\n-open DiffSharp.Util\n-open Sys... | diff --git a/tests/DiffSharp.Tests/TestModel.fs b/tests/DiffSharp.Tests/TestModel.fs
index c003efdd..a21f5376 100644
--- a/tests/DiffSharp.Tests/TestModel.fs
+++ b/tests/DiffSharp.Tests/TestModel.fs
@@ -91,6 +91,66 @@ type TestModel () =
let d3flat = d3.flatten()
Assert.CheckEqual(d1flatCorrect, d3fla... | true | |
DiffSharp/DiffSharp | 391 | issue_to_patch | Fix mistake in extensions tests |
Hopefully this stays green :) | 40db76265cd59cc14701daee7b4ea68ec0d0ca9a | f7844c62ec301f973573aa7b021818bc6c4744c9 | [
"tests/DiffSharp.Tests/TestExtensions.fs"
] | [] | diff --git a/tests/DiffSharp.Tests/TestExtensions.fs b/tests/DiffSharp.Tests/TestExtensions.fs
index a6ebca7b..04643416 100644
--- a/tests/DiffSharp.Tests/TestExtensions.fs
+++ b/tests/DiffSharp.Tests/TestExtensions.fs
@@ -99,7 +99,7 @@ module TestExtensions =
let revx1 = x.reverseDiff()
let r... | true | ||
DiffSharp/DiffSharp | 390 | issue_to_patch | make releases automagically | 40db76265cd59cc14701daee7b4ea68ec0d0ca9a | 1b3328f23e39a6e4c2bd52bc77d90ba116dfc2bf | diff --git a/Directory.Build.props b/Directory.Build.props
index 4d879064..5053e186 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -33,7 +33,7 @@
</PropertyGroup>
<PropertyGroup>
- <Version>1.0.0</Version>
+ <Version>1.0.1</Version>
<Authors>Atılım Güneş Baydin, Don Syme, Barak ... | [
"Directory.Build.props"
] | [] | true | |||
DiffSharp/DiffSharp | 389 | issue_to_patch | Fix error in printing of empty tensors | This is fixing the printing of empty tensors (tensors with no data and shape [0]), which was giving an error. | 6642c2afde5f841a37e7a689c8447bd35579a6a0 | 03a38d5f32ca8d4f0fd288ccd01572208409041d | diff --git a/src/DiffSharp.Core/RawTensor.fs b/src/DiffSharp.Core/RawTensor.fs
index 26f97069..6fde2bd7 100644
--- a/src/DiffSharp.Core/RawTensor.fs
+++ b/src/DiffSharp.Core/RawTensor.fs
@@ -622,6 +622,8 @@ type RawTensor() =
member t.Print(?postfix: string) =
// TODO: this code is not ideal and can be re... | [
"src/DiffSharp.Core/RawTensor.fs",
"tests/DiffSharp.Tests/TestTensor.fs"
] | [] | diff --git a/tests/DiffSharp.Tests/TestTensor.fs b/tests/DiffSharp.Tests/TestTensor.fs
index 1be84519..6317eecb 100644
--- a/tests/DiffSharp.Tests/TestTensor.fs
+++ b/tests/DiffSharp.Tests/TestTensor.fs
@@ -1159,11 +1159,13 @@ type TestTensor () =
[<Test>]
member _.TestTensorToString () =
for combo i... | true | |
DiffSharp/DiffSharp | 385 | issue_to_patch | Move "sum with dim" to backend, faster sum and variance | This reimplements `.sum(dim)` (not [this](https://en.wikipedia.org/wiki/Dim_sum)) in the backend which should significantly speed up some commonly used ops including the mean, softmax etc.
Previous implementation was a placeholder that was doing a for loop over the dimension and accumulating tensor slices (unnecess... | a72afa5e615e743c56b9ec85238df4f1fea0458c | 1eb0c89843ab97c16ed8133556bfd85abed76c22 | diff --git a/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs b/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs
index 07b7d1ba..4f4e40f6 100644
--- a/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs
+++ b/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs
@@ -236,10 +236,6 @@ type RawTensorCP... | [
"src/DiffSharp.Backends.Reference/Reference.RawTensor.fs",
"src/DiffSharp.Backends.Torch/Torch.RawTensor.fs",
"src/DiffSharp.Core/RawTensor.fs",
"src/DiffSharp.Core/Tensor.fs",
"tests/DiffSharp.Tests/TestDerivatives.fs",
"tests/DiffSharp.Tests/TestTensor.fs"
] | [] | diff --git a/tests/DiffSharp.Tests/TestDerivatives.fs b/tests/DiffSharp.Tests/TestDerivatives.fs
index 95409907..f8ff5132 100644
--- a/tests/DiffSharp.Tests/TestDerivatives.fs
+++ b/tests/DiffSharp.Tests/TestDerivatives.fs
@@ -1460,17 +1460,343 @@ type TestDerivatives () =
Assert.CheckEqual(revzCorrect, re... | true | |
DiffSharp/DiffSharp | 384 | issue_to_patch | Improve tensor printing | Addressing tensor printing issues #335 #259 | c355082e7cf0a93a45af850258f963c5ce534c0a | b39fa358389d71aa4831c0e224766349cdbd170d | diff --git a/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs b/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs
index 5ba8a9ba..07b7d1ba 100644
--- a/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs
+++ b/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs
@@ -64,6 +64,9 @@ type RawTensorCPU<'... | [
"src/DiffSharp.Backends.Reference/Reference.RawTensor.fs",
"src/DiffSharp.Backends.Torch/Torch.RawTensor.fs",
"src/DiffSharp.Core/Device.fs",
"src/DiffSharp.Core/DiffSharp.Core.fsproj",
"src/DiffSharp.Core/DiffSharp.fs",
"src/DiffSharp.Core/Model.fs",
"src/DiffSharp.Core/Printer.fs",
"src/DiffSharp.Co... | [] | diff --git a/tests/DiffSharp.Tests/TestTensor.fs b/tests/DiffSharp.Tests/TestTensor.fs
index e838156e..c142f1ec 100644
--- a/tests/DiffSharp.Tests/TestTensor.fs
+++ b/tests/DiffSharp.Tests/TestTensor.fs
@@ -1211,12 +1211,12 @@ type TestTensor () =
let t0Bool = dsharp.tensor([ 0.; 1. ], dtype=Dtype.Bool)
... | true | |
DiffSharp/DiffSharp | 383 | issue_to_patch | Upgrade TorchSharp to 0.93.5 | Updating TorchSharp to 0.93.5 that incorporates https://github.com/dotnet/TorchSharp/pull/354 and https://github.com/dotnet/TorchSharp/pull/387 among other things.
@dsyme I removed `LibTorchNugetVersion` from `Directory.Build.props` and everywhere else. We now rely only on the locked in TorchSharp version to also ta... | 0afca2682640441182201f5bf908e5e9d75acc66 | 239b2f5740c59c06ad3ad9b411278366efb9041f | diff --git a/Directory.Build.props b/Directory.Build.props
index 37ecea485..4d879064e 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -2,8 +2,7 @@
<PropertyGroup>
- <LibTorchNugetVersion>1.9.0.10</LibTorchNugetVersion>
- <TorchSharpVersion>0.91.52719</TorchSharpVersion>
+ <TorchSharpVe... | [
"Directory.Build.props",
"bundles/DiffSharp-cpu/DiffSharp-cpu.fsproj",
"bundles/DiffSharp-cuda-linux/DiffSharp-cuda-linux.fsproj",
"bundles/DiffSharp-cuda-windows/DiffSharp-cuda-windows.fsproj",
"src/DiffSharp.Backends.Reference/DiffSharp.Backends.Reference.fsproj",
"src/DiffSharp.Backends.Torch/DiffSharp... | [] | diff --git a/tests/DiffSharp.Benchmarks/BasicTensorOpsPerf.fs b/tests/DiffSharp.Benchmarks/BasicTensorOpsPerf.fs
index c1120486f..8a9ca46b9 100644
--- a/tests/DiffSharp.Benchmarks/BasicTensorOpsPerf.fs
+++ b/tests/DiffSharp.Benchmarks/BasicTensorOpsPerf.fs
@@ -126,10 +126,10 @@ type BasicTensorOps() =
for _ in... | true | |
DiffSharp/DiffSharp | 381 | issue_to_patch | Model improvements | This introduces several improvements in the NN model code. The main changes are the following:
* Introduce separate code to add and handle parameters (holding tensors that are optimized by gradient descent), buffers (holding tensors that are not optimized by gradient descent, such as he running-mean or momentum in b... | c52ee8d1562bdd901d67730cd499c83a531a8fa0 | 3072789fdfd577fe64071e1e35f8e4c280f757ec | diff --git a/examples/rnn.fsx b/examples/rnn.fsx
index efa365fd..3a882039 100755
--- a/examples/rnn.fsx
+++ b/examples/rnn.fsx
@@ -48,7 +48,7 @@ print languageModel
let modelFileName = "rnn_language_model.params"
if File.Exists(modelFileName) then
printfn "Resuming training from existing model params found: %A"... | [
"examples/rnn.fsx",
"examples/vae.fsx",
"src/DiffSharp.Core/DiffSharp.Core.fsproj",
"src/DiffSharp.Core/Extensions.fs",
"src/DiffSharp.Core/Model.BatchNorm.fs",
"src/DiffSharp.Core/Model.Conv.fs",
"src/DiffSharp.Core/Model.ConvTranspose.fs",
"src/DiffSharp.Core/Model.Dropout.fs",
"src/DiffSharp.Core... | [] | diff --git a/tests/DiffSharp.Tests/TestDerivatives.Conv.fs b/tests/DiffSharp.Tests/TestDerivatives.Conv.fs
index 31ed8f52..3e1752dc 100644
--- a/tests/DiffSharp.Tests/TestDerivatives.Conv.fs
+++ b/tests/DiffSharp.Tests/TestDerivatives.Conv.fs
@@ -463,7 +463,7 @@ type TestDerivativesConv () =
... | true | |
DiffSharp/DiffSharp | 378 | issue_to_patch | Improve device/backend usage | This is to implement fixes and improvements for various issues about device usage and libtorch, including #304 #303 #271 | 850af46811d14e3a13087b31fa68abaef0c31d98 | 84a001491f6be5dc3988c4f45c49dd7f998e568c | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index bf86ac06..a937cf52 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -82,8 +82,8 @@ jobs:
- name: Publish NuGets
run: dotnet nuget push "bin/packages/*.nupkg" -s https://api.nuget.org/v3/index.js... | [
".github/workflows/publish.yml",
"docs/index.fsx",
"docs/install.fsx",
"src/DiffSharp.Backends.Reference/Reference.RawTensor.fs",
"src/DiffSharp.Backends.Torch/Torch.RawTensor.fs",
"src/DiffSharp.Core/DiffSharp.fs",
"src/DiffSharp.Core/RawTensor.fs",
"tests/DiffSharp.Benchmarks/BasicTensorOpsPerf.fs",... | [] | diff --git a/tests/DiffSharp.Benchmarks/BasicTensorOpsPerf.fs b/tests/DiffSharp.Benchmarks/BasicTensorOpsPerf.fs
index 0d1d38c1..c1120486 100644
--- a/tests/DiffSharp.Benchmarks/BasicTensorOpsPerf.fs
+++ b/tests/DiffSharp.Benchmarks/BasicTensorOpsPerf.fs
@@ -94,7 +94,7 @@ type BasicTensorOps() =
| null ->
... | true | |
DiffSharp/DiffSharp | 377 | issue_to_patch | Improve gpu usage, device api, convolutional and generic vae, unsqueezeAs, unflatten | These are improvements mainly guided by #204 | 7686c024eaa22589dfc6f71527b0dd254195caa8 | 691db78cf8b4a573463cc3853548d095b473bff8 | diff --git a/examples/classifier-pytorch-style.fsx b/examples/classifier-pytorch-style.fsx
deleted file mode 100755
index 71dc23685..000000000
--- a/examples/classifier-pytorch-style.fsx
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/usr/bin/env -S dotnet fsi
-
-#I "../tests/DiffSharp.Tests/bin/Debug/net5.0"
-#r "DiffSharp.Core.dl... | [
"examples/classifier-pytorch-style.fsx",
"examples/classifier.fsx",
"examples/gan-pytorch-style.fsx",
"examples/gan.fsx",
"examples/play.fsx",
"examples/rnn.fsx",
"examples/vae.fsx",
"examples/vae_cnn.fsx",
"src/DiffSharp.Core/Data.fs",
"src/DiffSharp.Core/DiffSharp.Compose.fs",
"src/DiffSharp.C... | [] | diff --git a/tests/DiffSharp.Tests/TestModel.fs b/tests/DiffSharp.Tests/TestModel.fs
index 36f935a89..72821dd79 100644
--- a/tests/DiffSharp.Tests/TestModel.fs
+++ b/tests/DiffSharp.Tests/TestModel.fs
@@ -258,14 +258,13 @@ type TestModel () =
for combo1 in Combos.FloatingPointExcept16s do
use _hol... | true | |
DiffSharp/DiffSharp | 376 | issue_to_patch | Change "Windows" to "Linux" | Change "Windows" to "Linux" in `DiffSharp-cuda-linux` description. | 7686c024eaa22589dfc6f71527b0dd254195caa8 | 7509997d79867f447c662caedd7ffabe999c3c84 | diff --git a/README.md b/README.md
index 45a54a15..e82b0434 100644
--- a/README.md
+++ b/README.md
@@ -53,7 +53,7 @@ Now reference an appropriate nuget package from https://nuget.org:
* [`DiffSharp-cpu`](https://www.nuget.org/packages/DiffSharp-cpu) - This includes the Torch backend using CPU only.
-* [`DiffSharp-... | [
"README.md"
] | [] | true | ||
DiffSharp/DiffSharp | 374 | issue_to_patch | min/max fails for unsigned byte tensors
This formula for min/max fails for unsigned byte tensors:
> member a.max(b:Tensor) = ((a + b) + Tensor.Abs(b - a)) / 2
> member a.min(b:Tensor) = ((a + b) - Tensor.Abs(a - b)) / 2
It is possible we should just build this in as a primitive in any case (since LibTorch exp... | Improve elementwise min/max | Addresses #28. Also limits differentiation to floating point types only. | 2bae4257529a6c4b1abae6ea870de6c079504836 | a41b34c5cb81838ee1912abfbad90da861dc63cc | diff --git a/src/DiffSharp.Core/Tensor.fs b/src/DiffSharp.Core/Tensor.fs
index 2af3d306..05b6457a 100644
--- a/src/DiffSharp.Core/Tensor.fs
+++ b/src/DiffSharp.Core/Tensor.fs
@@ -234,6 +234,7 @@ type Tensor =
/// The current global nesting level is used for nested differentiation.
/// </remarks>
membe... | [
"src/DiffSharp.Core/Tensor.fs",
"tests/DiffSharp.Tests/TestDerivatives.Nested.fs",
"tests/DiffSharp.Tests/TestDerivatives.fs",
"tests/DiffSharp.Tests/TestTensor.fs"
] | [] | diff --git a/tests/DiffSharp.Tests/TestDerivatives.Nested.fs b/tests/DiffSharp.Tests/TestDerivatives.Nested.fs
index 4a74cdd8..ee38b62e 100644
--- a/tests/DiffSharp.Tests/TestDerivatives.Nested.fs
+++ b/tests/DiffSharp.Tests/TestDerivatives.Nested.fs
@@ -21,10 +21,10 @@ type TestDerivativesNested () =
// Siski... | true |
DiffSharp/DiffSharp | 373 | issue_to_patch | div operator v. floor_div in TorchLib 1.7.0
Upgrading to TorchLib 1.7.0 indicates a change in PyTorch,
Previously `/` on integer tensors was integer division (floor_div). Now it promotes to float32
```python
>>> (torch.tensor([1],dtype=torch.int8) / torch.tensor([1],dtype=torch.int8)).dtype
torch.float32
... | Implement "true division" promoting integers to floating point | Addresses #239 and introduces behavior consistent with PyTorch > 1.7.
In PyTorch this is called "true division": https://pytorch.org/docs/stable/generated/torch.div.html
The behavior is ultimately due to: https://www.python.org/dev/peps/pep-0238/ | cc79e6f65a27f773d83c85c1b6fdc0ce66af559b | 4f90eab73b60b1771c35cc7ce4fba7e31d4d6315 | diff --git a/src/DiffSharp.Backends.Torch/Torch.RawTensor.fs b/src/DiffSharp.Backends.Torch/Torch.RawTensor.fs
index ae4ad45e..baac4a18 100644
--- a/src/DiffSharp.Backends.Torch/Torch.RawTensor.fs
+++ b/src/DiffSharp.Backends.Torch/Torch.RawTensor.fs
@@ -32,17 +32,20 @@ module internal Utils =
| Dtype.Float32 ... | [
"src/DiffSharp.Backends.Torch/Torch.RawTensor.fs",
"src/DiffSharp.Core/DiffSharp.fs",
"src/DiffSharp.Core/Dtype.fs",
"src/DiffSharp.Core/Scalar.fs",
"src/DiffSharp.Core/Tensor.fs",
"tests/DiffSharp.Tests/TestDiffSharp.fs",
"tests/DiffSharp.Tests/TestTensor.fs"
] | [] | diff --git a/tests/DiffSharp.Tests/TestDiffSharp.fs b/tests/DiffSharp.Tests/TestDiffSharp.fs
index 86f77c1e..f4117203 100644
--- a/tests/DiffSharp.Tests/TestDiffSharp.fs
+++ b/tests/DiffSharp.Tests/TestDiffSharp.fs
@@ -124,7 +124,7 @@ type TestDiffSharp () =
[<Test>]
member this.TestSeed () =
- for c... | true |
DiffSharp/DiffSharp | 372 | issue_to_patch | Bug with creating tensors from byte data
This relates to https://github.com/dotnet/fsharp/issues/10202 which is about a quirk in dotnet runtime affecting matching arrays by type.
Currently this causes a bug in DiffSharp behavior when constructing tensors from byte arrays. E.g.,
```fsharp
let data = [|10uy; 25uy... | attempt to fix 203 | Possible fix for #203 | daf8ca2a94869e1646a6253536eb587463969ae2 | 4466becefd248fc665499edc99dc10e75096c331 | diff --git a/src/DiffSharp.Core/Data.fs b/src/DiffSharp.Core/Data.fs
index 5e49df7a..1fd0ba12 100644
--- a/src/DiffSharp.Core/Data.fs
+++ b/src/DiffSharp.Core/Data.fs
@@ -107,7 +107,7 @@ type TextDataset(text:string, seqLength, ?chars) =
override d.length = sequences.Length
override d.item(i) =
let d... | [
"src/DiffSharp.Core/Data.fs",
"src/DiffSharp.Core/DiffSharp.Compose.fs",
"src/DiffSharp.Core/RawTensor.fs",
"src/DiffSharp.Core/Tensor.fs",
"src/DiffSharp.Core/Util.fs",
"tests/DiffSharp.Tests/TestData.fs",
"tests/DiffSharp.Tests/TestDerivatives.fs",
"tests/DiffSharp.Tests/TestDiffSharp.fs",
"tests/... | [] | diff --git a/tests/DiffSharp.Tests/TestData.fs b/tests/DiffSharp.Tests/TestData.fs
index f32f1b78..ec13390f 100644
--- a/tests/DiffSharp.Tests/TestData.fs
+++ b/tests/DiffSharp.Tests/TestData.fs
@@ -147,8 +147,8 @@ type TestData () =
[<Test>]
member _.TestDatasetSlice () =
- let x = dsharp.tensor([[1... | true |
DiffSharp/DiffSharp | 371 | issue_to_patch | Improve tensor creation with jagged data (5d, 6d)
The code currently supports tensor creation from jagged data (e.g., `dsharp.tensor(data)`) up to and including 4d. We need to support 5d and 6d by generalizing the code in Util.fs, e.g.,
https://github.com/DiffSharp/DiffSharp/blob/2689a246f903f81598e4a56c7cf5b7d26ea... | Support for 5d and 6d arrays | This is implementing tensor creation from and conversion to 5d and 6d arrays to address #148.
If I'm not missing something F# currently doesn't support types `[,,,,]<'T>` (5d) and `[,,,,,]<'T>` (6d) so these cases are handled using the `System.Array` type instead. | be2104cce6fd2091a73127bf237fdf28d227f45a | 3ae3d2231195e3a7b6064e7a4266bf145b89eaa4 | diff --git a/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs b/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs
index a6338f34..62cdae04 100644
--- a/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs
+++ b/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs
@@ -130,6 +130,8 @@ type RawTensorCPU... | [
"src/DiffSharp.Backends.Reference/Reference.RawTensor.fs",
"src/DiffSharp.Backends.Torch/Torch.RawTensor.fs",
"src/DiffSharp.Core/Extensions.fs",
"src/DiffSharp.Core/Tensor.fs",
"src/DiffSharp.Core/Util.fs",
"tests/DiffSharp.Tests/TestTensor.fs"
] | [] | diff --git a/tests/DiffSharp.Tests/TestTensor.fs b/tests/DiffSharp.Tests/TestTensor.fs
index ed56aef4..cc39028c 100644
--- a/tests/DiffSharp.Tests/TestTensor.fs
+++ b/tests/DiffSharp.Tests/TestTensor.fs
@@ -55,6 +55,22 @@ type TestTensor () =
Assert.CheckEqual(t4DimCorrect, t4.dim)
Assert.CheckEqual(c... | true |
DiffSharp/DiffSharp | 369 | issue_to_patch | Vector norm | Implementing vector and matrix norm as needed in #93 | 812f1cf03410257e5687553c4633bab64dfab03e | 399761329dce93364c2ea29e470939432bac2d47 | diff --git a/src/DiffSharp.Core/DiffSharp.Core.fsproj b/src/DiffSharp.Core/DiffSharp.Core.fsproj
index b8592cda..dd88150c 100644
--- a/src/DiffSharp.Core/DiffSharp.Core.fsproj
+++ b/src/DiffSharp.Core/DiffSharp.Core.fsproj
@@ -32,6 +32,7 @@
<Compile Include="Op.AvgPool.fs" />
<Compile Include="Op.BMM.fs" />
... | [
"src/DiffSharp.Core/DiffSharp.Core.fsproj",
"src/DiffSharp.Core/DiffSharp.fs",
"src/DiffSharp.Core/Op.Norm.fs",
"src/DiffSharp.Core/Tensor.fs",
"tests/DiffSharp.Tests/DiffSharp.Tests.fsproj",
"tests/DiffSharp.Tests/TestOp.Norm.fs",
"tests/DiffSharp.Tests/TestTensor.fs"
] | [] | diff --git a/tests/DiffSharp.Tests/DiffSharp.Tests.fsproj b/tests/DiffSharp.Tests/DiffSharp.Tests.fsproj
index 4c621051..dccfa248 100644
--- a/tests/DiffSharp.Tests/DiffSharp.Tests.fsproj
+++ b/tests/DiffSharp.Tests/DiffSharp.Tests.fsproj
@@ -14,7 +14,7 @@
</PackageReference>
<PackageReference Include="nunit"... | true | |
DiffSharp/DiffSharp | 368 | issue_to_patch | Update torchsharp to 0.91.52719 | This is updating TorchSharp to 0.91.52719 which has lots of breaking changes due to mass renamings: https://github.com/xamarin/TorchSharp/pull/302
This is needed going forward with latest TorchSharp, needed for example for `torch.linalg.matrix_norm` and `torch.linalg.vector_norm` needed for DiffSharp 1.0. | bc870e5bfa98134f1349450594e3a13160c42dc8 | 97e3f54761a7c41f800fa5429df2d4b9d741d673 | diff --git a/Directory.Build.props b/Directory.Build.props
index a93558589..37ecea485 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -3,7 +3,7 @@
<PropertyGroup>
<LibTorchNugetVersion>1.9.0.10</LibTorchNugetVersion>
- <TorchSharpVersion>0.91.52681</TorchSharpVersion>
+ <TorchSharpVers... | [
"Directory.Build.props",
"src/DiffSharp.Backends.Torch/Torch.RawTensor.fs",
"tests/DiffSharp.Benchmarks/BasicTensorOpsPerf.fs",
"tests/DiffSharp.Tests/TestDiffSharp.fs"
] | [
{
"comment": "We can update this to use tensor slicing now https://github.com/xamarin/TorchSharp/blob/master/src/TorchSharp/Tensor/Tensor.cs#L1065\r\n\r\nFor setting slices: https://github.com/xamarin/TorchSharp/blob/master/src/TorchSharp/Tensor/Tensor.cs#L1095\r\n",
"path": "src/DiffSharp.Backends.Torch/To... | diff --git a/tests/DiffSharp.Benchmarks/BasicTensorOpsPerf.fs b/tests/DiffSharp.Benchmarks/BasicTensorOpsPerf.fs
index c97dad2af..0d1d38c10 100644
--- a/tests/DiffSharp.Benchmarks/BasicTensorOpsPerf.fs
+++ b/tests/DiffSharp.Benchmarks/BasicTensorOpsPerf.fs
@@ -16,7 +16,6 @@ open System.IO
open System.Threading
open D... | true | |
DiffSharp/DiffSharp | 357 | issue_to_patch | Fix numerical precision of the variance(dim) calculation | The prior naive variance(dim) algorithm had issues with numerical precision. See https://github.com/DiffSharp/DiffSharp/issues/336
This uses Welford's online algorithm and includes tests to catch numerical precision issues. I also added a test case to catch precision issues when the algorithm is rewritten (the preci... | 64d540bdfafcc2baaff029885dc4ee9056a07fc0 | 40971078408df35e01d3b7ab392ca874d9bdc760 | diff --git a/src/DiffSharp.Core/Tensor.fs b/src/DiffSharp.Core/Tensor.fs
index ebfbb5d1..8efe2d9a 100644
--- a/src/DiffSharp.Core/Tensor.fs
+++ b/src/DiffSharp.Core/Tensor.fs
@@ -1417,18 +1417,20 @@ type Tensor =
let sBounds = Array2D.init a.dim 3 (fun i j -> if j=0 then 0 elif j=1 then a.shape.[i]-1 else 0)
... | [
"src/DiffSharp.Core/Tensor.fs",
"tests/DiffSharp.Tests/TestTensor.fs"
] | [] | diff --git a/tests/DiffSharp.Tests/TestTensor.fs b/tests/DiffSharp.Tests/TestTensor.fs
index 966403ad..b2bfc51a 100644
--- a/tests/DiffSharp.Tests/TestTensor.fs
+++ b/tests/DiffSharp.Tests/TestTensor.fs
@@ -2609,6 +2609,13 @@ type TestTensor () =
Assert.CheckEqual(tVarianceBiased1.dtype, combo.dtype)
... | true | |
DiffSharp/DiffSharp | 367 | issue_to_patch | split missing dim
I just spotted that this code
| TensorF(ap,ad,at) -> Array.map2 (fun p d -> TensorF(p,d,at)) (ap.split(sizes)) (ad.split(sizes, dim=dim))
should be
| TensorF(ap,ad,at) -> Array.map2 (fun p d -> TensorF(p,d,at)) (ap.split(sizes, dim=dim)) (ad.split(sizes, dim=dim))
Adding t... | Fix bug in split forward derivative | Fixes #265 and checks with a test case. | cc98ffecb75c2845315e554ae583a7ec865a9d5a | 6682a3361263ef41191042026d86d92cd56b1c43 | diff --git a/src/DiffSharp.Core/Tensor.fs b/src/DiffSharp.Core/Tensor.fs
index 62cf60f8..03ae6b83 100644
--- a/src/DiffSharp.Core/Tensor.fs
+++ b/src/DiffSharp.Core/Tensor.fs
@@ -966,7 +966,7 @@ type Tensor =
let sizes = sizes |> Seq.toArray
match a with
| TensorC(ap) -> ap.SplitT(sizes, di... | [
"src/DiffSharp.Core/Tensor.fs",
"tests/DiffSharp.Tests/TestDerivatives.fs"
] | [] | diff --git a/tests/DiffSharp.Tests/TestDerivatives.fs b/tests/DiffSharp.Tests/TestDerivatives.fs
index 10e2d604..dd7f9909 100644
--- a/tests/DiffSharp.Tests/TestDerivatives.fs
+++ b/tests/DiffSharp.Tests/TestDerivatives.fs
@@ -2415,6 +2415,39 @@ type TestDerivatives () =
Assert.True(revzc.allclose(revzcCor... | true |
DiffSharp/DiffSharp | 364 | issue_to_patch | Matrix inverse, solve, outer product | Work in progress for matrix inverse #93 | 22f2e3776cfe41804bcec98e722a38111e8fd33f | 2bef23303add8cdb91f5bcd23f6cd4f88e17b42e | diff --git a/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs b/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs
index 2cfe473a..a6338f34 100644
--- a/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs
+++ b/src/DiffSharp.Backends.Reference/Reference.RawTensor.fs
@@ -21,7 +21,7 @@ module internal Uti... | [
"src/DiffSharp.Backends.Reference/Reference.RawTensor.fs",
"src/DiffSharp.Backends.Torch/Torch.RawTensor.fs",
"src/DiffSharp.Core/DiffSharp.Core.fsproj",
"src/DiffSharp.Core/Op.BMM.fs",
"src/DiffSharp.Core/Op.Inv.fs",
"src/DiffSharp.Core/Op.Outer.fs",
"src/DiffSharp.Core/Op.Solve.fs",
"src/DiffSharp.C... | [] | diff --git a/tests/DiffSharp.Tests/DiffSharp.Tests.fsproj b/tests/DiffSharp.Tests/DiffSharp.Tests.fsproj
index d392e88e..4c621051 100644
--- a/tests/DiffSharp.Tests/DiffSharp.Tests.fsproj
+++ b/tests/DiffSharp.Tests/DiffSharp.Tests.fsproj
@@ -38,6 +38,9 @@
<Compile Include="TestOptim.fs" />
<Compile Include="... | true | |
DiffSharp/DiffSharp | 366 | issue_to_patch | Unsqueeze negative dim | This fixes a minor issue with `unsqueeze` regarding the support of negative dimensions. | 0774108787252783c13ebcff389a800828410cce | f58b1954632f628d7c65abaad85e512aa1409639 | diff --git a/src/DiffSharp.Core/Shape.fs b/src/DiffSharp.Core/Shape.fs
index 252abd83..350c52c7 100644
--- a/src/DiffSharp.Core/Shape.fs
+++ b/src/DiffSharp.Core/Shape.fs
@@ -619,10 +619,16 @@ module rec Shape =
/// Completes the given shape dimension with respect to a concrete dimension.
let completeDim (d... | [
"src/DiffSharp.Core/Shape.fs",
"src/DiffSharp.Core/Tensor.fs",
"tests/DiffSharp.Tests/TestTensor.fs"
] | [] | diff --git a/tests/DiffSharp.Tests/TestTensor.fs b/tests/DiffSharp.Tests/TestTensor.fs
index 0a9f9513..24cac104 100644
--- a/tests/DiffSharp.Tests/TestTensor.fs
+++ b/tests/DiffSharp.Tests/TestTensor.fs
@@ -3663,6 +3663,27 @@ type TestTensor () =
Assert.True(t1Unsqueeze.allclose(t1UnsqueezeCorrect, 0.01))
... | true | |
DiffSharp/DiffSharp | 361 | issue_to_patch | Little spell correction | A little change 🙂 | e263fa470e28a9323411d745213016683283b45d | 150a5fd5435714472f42b6376aa67dd3e8eea863 | diff --git a/README.md b/README.md
index 9b55a7c6..45a54a15 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,7 @@ To use locally in [Visual Studio Code](https://code.visualstudio.com/):
- Install [.NET Interactive Notebooks for VS Code](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.dotnet-int... | [
"README.md"
] | [] | true | ||
DioxusLabs/dioxus | 5,622 | issue_to_patch | Fix hotpatching wasm with new v0 symbol mangling in beta linux builds | `name_is_bindgen_symbol` only detects some v0 symbols in a way that is breaking the beta linux hotpatch test in ci | 2de87c989a99b5e6ea21b71c9342ca05d2c46cad | c8245e25f82e436740fbd565549591e3930f2502 | diff --git a/packages/cli/src/build/patch.rs b/packages/cli/src/build/patch.rs
index c002b88edc..27a74821e7 100644
--- a/packages/cli/src/build/patch.rs
+++ b/packages/cli/src/build/patch.rs
@@ -707,7 +707,7 @@ pub fn create_wasm_jump_table(patch: &Path, cache: &HotpatchModuleCache) -> Resu
continue;
... | [
"packages/cli/src/build/patch.rs"
] | [] | true | ||
DioxusLabs/dioxus | 5,613 | issue_to_patch | fix(router): preserve query and hash segments on child routes | Disclosure: Fix and test case were written with assistance from Claude Code (Opus 4.8).
Example application demonstrating the issue. Enter `/search?query=hello&word_count=1` into the address bar and see that the input box and counter box don't have the values from query segment. The address bar updates if you then ... | 4bb573cb13370c2fadae26440f8bcad60a3f9e9d | 23319eab8ffc367272c074ec2fc8308551119c09 | diff --git a/packages/router-macro/src/lib.rs b/packages/router-macro/src/lib.rs
index 7b252dad49..15b5a617d0 100644
--- a/packages/router-macro/src/lib.rs
+++ b/packages/router-macro/src/lib.rs
@@ -527,17 +527,17 @@ impl RouteEnum {
fn from_str(s: &str) -> ::std::result::Result<Self, Self::Err> {
... | [
"packages/router-macro/src/lib.rs",
"packages/router-macro/src/route_tree.rs",
"packages/router/tests/parsing.rs"
] | [] | diff --git a/packages/router/tests/parsing.rs b/packages/router/tests/parsing.rs
index 7825d8fcd3..92d63e6482 100644
--- a/packages/router/tests/parsing.rs
+++ b/packages/router/tests/parsing.rs
@@ -162,3 +162,62 @@ fn optional_query_segments_parse() {
route_without_query_and_other
);
}
+
+#[test]
+fn ch... | true | |
DioxusLabs/dioxus | 5,611 | issue_to_patch | Support for paste for the web backend.
## Specific Demand
There is currently an `onpaste` handler. Unfortunately, the event itself appears to have no payload. It would be great to get a reference to the underlying `DataTransfer` or to a wrapper. | feat: expose pasted data on clipboard events | Closes #1737
Tracking issue: #5092
Expose pasted data on `paste` (and `copy`/`cut`) events.
`ClipboardData` now exposes the event's `DataTransfer` via `data_transfer()` and pasted files via `files()`, reusing the same wrapper as drag-and-drop.
## Why
`onpaste` fired but `ClipboardData` carried no payload —... | d4c756f150ff2c0e249981a73eb6e4ac01bc9e01 | 55033052ba4c2f8f23ffa8e83887034bcbbf48f6 | diff --git a/examples/09-reference/all_events.rs b/examples/09-reference/all_events.rs
index b09b2526f5..3f83e202cc 100644
--- a/examples/09-reference/all_events.rs
+++ b/examples/09-reference/all_events.rs
@@ -82,6 +82,15 @@ fn app() -> Element {
onbeforeinput: move |event| log_event(event.dat... | [
"examples/09-reference/all_events.rs",
"packages/desktop/headless_tests/events.rs",
"packages/html/src/data_transfer.rs",
"packages/html/src/events/clipboard.rs",
"packages/html/src/events/drag.rs",
"packages/html/src/events/form.rs",
"packages/html/src/file_data.rs",
"packages/interpreter/src/js/hash... | [] | true | |
DioxusLabs/dioxus | 5,509 | issue_to_patch | dioxus-autofmt: formatting is not idempotent — oscillates between two states
## Problem
`dioxus-autofmt` 0.7.6 (used by `dx fmt` and custom tooling via `try_fmt_file`/`apply_formats`) is not idempotent — running the formatter twice on the same file can produce different output, causing it to oscillate between two sta... | fix(autofmt): formatting idempotency for long if/else attrs, empty bodies, and split_line_attributes | Five fixes for non-idempotent formatting where running the formatter
twice produces different output:
1. **Long if/else attribute values inlined unconditionally.**
`write_attribute_if_chain` always wrote `if cond { val } else { val }`
on one line. For long values (e.g. Tailwind classes) this exceeds 80
chars,... | 4b1b60a487b682f62305342c29ece0553d0da8d8 | f33d628c9d6a731db908262c3376c40f4cdd9d2f | diff --git a/packages/autofmt/src/lib.rs b/packages/autofmt/src/lib.rs
index 7a4307433e..695b9f8bd7 100644
--- a/packages/autofmt/src/lib.rs
+++ b/packages/autofmt/src/lib.rs
@@ -113,7 +113,6 @@ pub fn try_fmt_file(
let span = item.delimiter.span().join();
let mut formatted = writer.out.buf.split_of... | [
"packages/autofmt/src/lib.rs",
"packages/autofmt/src/writer.rs",
"packages/autofmt/tests/samples.rs",
"packages/autofmt/tests/samples/empty_braces_match_arm.rsx",
"packages/autofmt/tests/samples/empty_braces_oneliner.rsx",
"packages/autofmt/tests/samples/empty_component_body.rsx",
"packages/autofmt/test... | [] | diff --git a/packages/autofmt/tests/samples.rs b/packages/autofmt/tests/samples.rs
index d38cfef931..65d10760e9 100644
--- a/packages/autofmt/tests/samples.rs
+++ b/packages/autofmt/tests/samples.rs
@@ -74,6 +74,9 @@ twoway `glifo` api. At the same time, this was published as a non-breaking change in `glifo... | 7afcd4ed834d865d4bc1f3433ad53fa6b22be4ce | 73d5bc9ff371ac54ece838b4cae1476731045b5e | diff --git a/Cargo.lock b/Cargo.lock
index 106b8a9bda..fe1585f2f5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -416,9 +416,9 @@ dependencies = [
[[package]]
name = "anyrender_vello_cpu"
-version = "0.12.1"
+version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "379caa953b95... | [
"Cargo.lock",
"Cargo.toml"
] | [] | true | ||
DioxusLabs/dioxus | 5,581 | issue_to_patch | beforeinput event missing
https://developer.mozilla.org/en-US/docs/Web/API/Element/beforeinput_event
I tried to use it in a contenteditable div but it's also missing for input elements:
```rust
rsx! {
input {
onbeforeinput: move |event| { // <- failed to resolve: could not find `onbeforeinput... | Implement support for beforeinput event | Adds an `onbeforeinput` event handler that fires before an editable element is about to be modified. Unlike `oninput`, the event is cancellable: handlers can call `event.prevent_default()` to block the user agent from applying the change. Exposes `input_type`, `data`, `is_composing`, and the pre-change `value`.
## W... | aefeb8c864b6237a3ac425ac2a16125f86d14462 | c89ce98790e9d6a143ac625ee1c8c0f2d770a706 | diff --git a/examples/09-reference/all_events.rs b/examples/09-reference/all_events.rs
index 7867e2ead3..b09b2526f5 100644
--- a/examples/09-reference/all_events.rs
+++ b/examples/09-reference/all_events.rs
@@ -72,6 +72,16 @@ fn app() -> Element {
onselectionchange: move |event: Event<Selection... | [
"examples/09-reference/all_events.rs",
"packages/core-types/src/bubbles.rs",
"packages/desktop/headless_tests/events.rs",
"packages/desktop/src/events.rs",
"packages/html/src/events/before_input.rs",
"packages/html/src/events/generated.rs",
"packages/html/src/events/mod.rs",
"packages/html/src/transit... | [
{
"comment": "We could expose this as an enum with an Unknown(String) variant for future browser events to make the known variants easier to match on",
"path": "packages/html/src/events/before_input.rs",
"hunk": "@@ -0,0 +1,269 @@\n+use dioxus_core::Event;\n+use std::fmt::Debug;\n+\n+pub type BeforeInpu... | true | |
DioxusLabs/dioxus | 5,581 | comment_to_fix | Implement support for beforeinput event | We could expose this as an enum with an Unknown(String) variant for future browser events to make the known variants easier to match on | aefeb8c864b6237a3ac425ac2a16125f86d14462 | c89ce98790e9d6a143ac625ee1c8c0f2d770a706 | diff --git a/packages/html/src/events/before_input.rs b/packages/html/src/events/before_input.rs
new file mode 100644
index 0000000000..b072de7334
--- /dev/null
+++ b/packages/html/src/events/before_input.rs
@@ -0,0 +1,426 @@
+use dioxus_core::Event;
+use std::fmt::{self, Debug, Display};
+
+pub type BeforeInputEvent =... | [
"packages/html/src/events/before_input.rs"
] | [
{
"comment": "We could expose this as an enum with an Unknown(String) variant for future browser events to make the known variants easier to match on",
"path": "packages/html/src/events/before_input.rs",
"hunk": "@@ -0,0 +1,269 @@\n+use dioxus_core::Event;\n+use std::fmt::Debug;\n+\n+pub type BeforeInpu... | true | ||
DioxusLabs/dioxus | 5,581 | comment_to_fix | Implement support for beforeinput event | this logic seems very similar to the `value` for `InputEvent`, could we share the logic? | aefeb8c864b6237a3ac425ac2a16125f86d14462 | c89ce98790e9d6a143ac625ee1c8c0f2d770a706 | diff --git a/packages/web/src/events/before_input.rs b/packages/web/src/events/before_input.rs
new file mode 100644
index 0000000000..953a2dd8d2
--- /dev/null
+++ b/packages/web/src/events/before_input.rs
@@ -0,0 +1,46 @@
+use dioxus_html::{HasBeforeInputData, InputType};
+use web_sys::{Element, InputEvent};
+
+use sup... | [
"packages/web/src/events/before_input.rs"
] | [
{
"comment": "this logic seems very similar to the `value` for `InputEvent`, could we share the logic?",
"path": "packages/web/src/events/before_input.rs",
"hunk": "@@ -0,0 +1,74 @@\n+use dioxus_html::HasBeforeInputData;\n+use wasm_bindgen::JsCast;\n+use web_sys::{Element, InputEvent};\n+\n+use super::W... | true | ||
DioxusLabs/dioxus | 5,607 | issue_to_patch | ReadStore::from requires that the underlying Lens is Writeable
**Problem**
When you have a ReadStore and use a lensing function to access one of its fields, that resulting store cannot be converted into another ReadStore.
Aka. you cannot map a ReadStore to a ReadStore
**Steps To Reproduce**
```rust
#[deriv... | fix: ReadStore from MappedMutSignal requires Lens: Readable | Fixes #5603
Please note that I am not well versed in the dioxus codebase.
Changing the bound on the `From` impl seems to work and compile for my use case, but I do not know if there are any deeper implications of changing that bound.
Also the body of the impl contains `value.selector.map_writer` - should this s... | c64415c08f7cef3c26cb8d3ab33985a258476a44 | 15ca499c262742c4c0fe6dda0af810adb7a975f5 | diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index c2ce001bc3..c03f369463 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -11,7 +11,7 @@ on:
- main
pull_request:
- types: [opened, synchronize, reopened, ready_for_review]
+ types: [opened, synchronize... | [
".github/workflows/main.yml",
"packages/stores/src/store.rs"
] | [] | true | |
DioxusLabs/dioxus | 5,595 | issue_to_patch | dioxus-fullstack: bare .unwrap() on res.bytes().await crashes app on network errors
## Description
In `dioxus-fullstack/src/magic.rs` line 267, there's a bare `.unwrap()` on reading the HTTP response body:
```rust
let bytes = res.bytes().await.unwrap();
```
This is inside the `RequestDecodeResult` impl for `&&Serve... | fix: propagate response body read errors | ## Summary
Closes #5585.
This replaces the bare `unwrap()` while reading the fullstack client response body with normal `RequestError` propagation. `ClientResponse::bytes()` already returns `Result<Bytes, RequestError>`, and this decoder already returns an outer `Result<_, RequestError>`, so `?` routes body-read fail... | f3a9137041877199c94db17148986ece6dc1b4c0 | d223df6157e4225c9d9d346e6ced446063d93e78 | diff --git a/packages/fullstack/src/magic.rs b/packages/fullstack/src/magic.rs
index 58a366bbed..1477218d1e 100644
--- a/packages/fullstack/src/magic.rs
+++ b/packages/fullstack/src/magic.rs
@@ -264,7 +264,7 @@ mod decode_ok {
Ok(res) => {
let status = res.status();
- ... | [
"packages/fullstack/src/magic.rs"
] | [] | true | |
DioxusLabs/dioxus | 5,593 | issue_to_patch | Pin rhai_codegen | rhai_codegen is a transitive dependency of cargo generate which broke in a minor version causing `cargo install --git https://github.com/DioxusLabs/dioxus dioxus-cli` to break without `--locked` | aefeb8c864b6237a3ac425ac2a16125f86d14462 | 88897a5f2829eb549f74745888d4ba3e832c2ad3 | diff --git a/Cargo.lock b/Cargo.lock
index d8c6d4a839..106b8a9bda 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3300,6 +3300,7 @@ dependencies = [
"rayon",
"regex",
"reqwest 0.12.28",
+ "rhai_codegen",
"rpm",
"rustls",
"schemars",
diff --git a/packages/cli/Cargo.toml b/packages/cli/Cargo.toml
index 4ae5109aa... | [
"Cargo.lock",
"packages/cli/Cargo.toml"
] | [] | true | ||
DioxusLabs/dioxus | 5,576 | issue_to_patch | remove v0.7 asset fallback | This removes the v0.7 asset fallback and moves everything over to the newer modern system that allows adding attributes between patch releases using the newer const-serialize architecture.
Since the 0.7 cli handles both formats, few users should see issues. The only issue will be trying to run <0.7.2 apps with the 0... | bdb0e50e1c52ed1541886bdb9a63ffd69c265569 | e55e10dc28fa2c5ba643276fb0a2ca18dfd59330 | diff --git a/Cargo.lock b/Cargo.lock
index c96ce6beff..d8c6d4a839 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2285,37 +2285,15 @@ dependencies = [
"tiny-keccak",
]
-[[package]]
-name = "const-serialize"
-version = "0.7.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ad7154afa56de... | [
"Cargo.lock",
"Cargo.toml",
"notes/architecture/08-ASSETS.md",
"packages/cli/Cargo.toml",
"packages/cli/src/build/assets.rs",
"packages/const-serialize/Cargo.toml",
"packages/const-serialize/src/str.rs",
"packages/manganis/manganis-07/Cargo.toml",
"packages/manganis/manganis-07/src/asset.rs",
"pac... | [] | true | ||
DioxusLabs/dioxus | 5,575 | issue_to_patch | git2 v0.21.0 breaks CLI installation
**Problem**
Trying to install dioxus-cli via `cargo install` currently fails during `auth-git2` compilation with
```
Compiling auth-git2 v0.5.6
error[E0599]: no function or associated item named `credential_helper` found for struct `Cred` in the current scope
--> /Users/max/.c... | fix: release pins on git2 to fix non --locked cli installs | fixes https://github.com/DioxusLabs/dioxus/issues/5572
unfortunately the fix will currently only be out in 0.8 unless we backport | 9ad3e98103d3f8df3df7afe808b5bd5a83645cf4 | ae5602c0813ace9cd4fef5204fe46e0081b27a17 | diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 16ed3e2688..c2ce001bc3 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -25,16 +25,20 @@ env:
CARGO_INCREMENTAL: 0 # todo(jon): cargo-cache wipes incremental artifacts, but we eventually want to cache them
# CARG... | [
".github/workflows/main.yml",
".github/workflows/promote.yml",
".github/workflows/publish.yml",
"Cargo.lock",
"Cargo.toml",
"flake.lock",
"flake.nix",
"packages/cli/Cargo.toml",
"packages/cli/src/cli/component.rs",
"packages/cli/src/main.rs",
"packages/desktop/Cargo.toml"
] | [] | true | |
DioxusLabs/dioxus | 5,570 | issue_to_patch | Implement support for selection events | The select event currently expose no event data. This PR adds selection data from the associated input/textarea element if it is associated with one
This makes it possible to implement components like https://github.com/DioxusLabs/dioxus-components/pull/255 in dioxus without eval
| 65b47a6921a22db56b1e7a00e65fbd2e398047ef | 6d7f55a90d80799f10e33de6f78915cd2d323bb0 | diff --git a/examples/09-reference/all_events.rs b/examples/09-reference/all_events.rs
index 814a04884c..7867e2ead3 100644
--- a/examples/09-reference/all_events.rs
+++ b/examples/09-reference/all_events.rs
@@ -51,6 +51,28 @@ fn app() -> Element {
}
div {
style: "padding: 50px... | [
"examples/09-reference/all_events.rs",
"packages/html/src/events/selection.rs",
"packages/interpreter/src/js/hash.txt",
"packages/interpreter/src/js/native.js",
"packages/interpreter/src/ts/serialize.ts",
"packages/web/Cargo.toml",
"packages/web/src/events/selection.rs"
] | [] | true | ||
DioxusLabs/dioxus | 5,544 | issue_to_patch | Bump wry dependency to 0.54 (webkit2gtk-sys =2.0.2)
I have a Cargo workspace with a Tauri 2.x app. When I tried adding a Dioxus desktop app to the same workspace, it failed to resolve dependencies:
```
error: failed to select a version for `webkit2gtk`.
... required by package `wry v0.53.5`
... which satisfie... | chore: bump wry from 0.53.5 to 0.54.4 | Bumps wry from 0.53.5 to 0.54.4, aligning the `webkit2gtk-sys` pin with `=2.0.2`. This allows Dioxus desktop and Tauri 2.x apps to coexist in the same Cargo workspace.
The only Linux-relevant change between wry 0.53.5 and 0.54.0 is the webkit2gtk-sys pin moving from =2.0.1 to =2.0.2. The workspace compiles cleanly wit... | 65b47a6921a22db56b1e7a00e65fbd2e398047ef | fd90a8a77a3e446bb382f982e5f1a175b143e32b | diff --git a/Cargo.lock b/Cargo.lock
index a5f4696474..dd9804d002 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -37,14 +37,24 @@ dependencies = [
"hashbrown 0.16.1",
]
+[[package]]
+name = "accesskit_consumer"
+version = "0.36.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "25e0d7e2... | [
"Cargo.lock",
"Cargo.toml",
"packages/cli/Cargo.toml",
"packages/cli/assets/android/gen/app/build.gradle.kts.hbs",
"packages/cli/assets/android/gen/app/src/main/AndroidManifest.xml.hbs",
"packages/const-serialize/README.md",
"packages/desktop/Cargo.toml",
"packages/desktop/src/mobile.rs"
] | [] | true | |
DioxusLabs/dioxus | 5,563 | issue_to_patch | Sync Dioxus Native (Blitz 0.3.0-alpha.4) | c77315b7072ce2b69824c808f1e6eb6bb24cf698 | 96d708d3875d4b52564f2272d4df9876301426a7 | diff --git a/Cargo.lock b/Cargo.lock
index e7ce86f6ff..a5f4696474 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -361,9 +361,9 @@ checksum = "d301b3b94cb4b2f23d7917810addbbaff90738e0ca2be692bd027e70d7e0330c"
[[package]]
name = "anyrender"
-version = "0.8.0"
+version = "0.10.0"
source = "registry+https://github.com/ru... | [
"Cargo.lock",
"Cargo.toml",
"examples/07-fullstack/auth/Cargo.toml",
"examples/08-apis/wgpu_child_window.rs",
"examples/10-integrations/native-headless/src/main.rs",
"examples/10-integrations/wgpu-texture/Cargo.toml",
"examples/10-integrations/wgpu-texture/src/demo_renderer.rs",
"examples/10-integrati... | [] | true | |||
DioxusLabs/dioxus | 5,559 | issue_to_patch | fix: include missing attributes in html source tag | ## Description
The html source element takes more attributes than currently defined as per the [linked docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/source). I have just included the missing attributes in the element definition.
## Testing
I have tested this against my current live pro... | 57f4ca52972d37a1096e80d7cc6d4ef192efbcde | 58ddc3207c8709ad864f3f1dc59c582552e9bd52 | diff --git a/packages/html/src/elements.rs b/packages/html/src/elements.rs
index 5f7ca12b88..c6eac6e641 100644
--- a/packages/html/src/elements.rs
+++ b/packages/html/src/elements.rs
@@ -1214,6 +1214,11 @@ builder_constructors! {
source None {
src: Uri DEFAULT,
r#type: Mime "type",
+ srcse... | [
"packages/html/src/elements.rs"
] | [] | true | ||
DioxusLabs/dioxus | 5,558 | issue_to_patch | esbuild.rs `install_from_npm` does not respect `NPM_CONFIG_REGISTRY`
**Problem**
Currently `esbuild` is always pulled from `https://registry.npmjs.org`. Which leads to errors if `https://registry.npmjs.org` is blocked by a company policy.
**Steps To Reproduce**
Steps to reproduce the behavior:
- Block access to `h... | Fix respect `NPM_CONFIG_REGISTRY` while downloading `esbuild` | Fixes #5557 | 2100f7c64a02d02ebb7fc3e375b86e24977b792a | ae2c8079a152a26936fc1c5953c3e704fddd74cd | diff --git a/packages/cli/src/esbuild.rs b/packages/cli/src/esbuild.rs
index 996bd41286..78083ad5e5 100644
--- a/packages/cli/src/esbuild.rs
+++ b/packages/cli/src/esbuild.rs
@@ -59,9 +59,11 @@ impl Esbuild {
let platform = Self::npm_platform_package()
.ok_or_else(|| anyhow!("No esbuild binary ava... | [
"packages/cli/src/esbuild.rs"
] | [] | true | |
DioxusLabs/dioxus | 5,556 | issue_to_patch | hotpatching with dioxus-code is broken - env import remains after linking
# Hotpatch builds emit a wasm `env` import that breaks the browser loader
## Summary
When `dx serve` runs with hotpatching enabled (the default), the wasm-bindgen
JS glue contains a top-level `import * as import4 from "env"`. The browser
throw... | fix wasm hotpatching with c deps | fixes https://github.com/DioxusLabs/dioxus/issues/5555
---
This occurred because we pass no-gc-sections to wasm-ld and some code that remained in uses C imports that aren't actually referenced by arborium. | 2100f7c64a02d02ebb7fc3e375b86e24977b792a | e2eb587e0f00024c2d71d21266f3d49d8af01f6f | diff --git a/packages/cli/src/build/patch.rs b/packages/cli/src/build/patch.rs
index 2f7c9a5690..c002b88edc 100644
--- a/packages/cli/src/build/patch.rs
+++ b/packages/cli/src/build/patch.rs
@@ -211,7 +211,7 @@ impl HotpatchModuleCache {
return Err(PatchError::MissingSymbols);
}
... | [
"packages/cli/src/build/patch.rs"
] | [] | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.