Commit Graph

3887 Commits

Author SHA1 Message Date
Jesse Plamondon-Willard 2e918823ba
Merge pull request #870 from atravita-mods/arraypooling
Use array pooling and various optimizations to reduce allocations
2022-10-08 18:03:14 -04:00
Jesse Plamondon-Willard 2e0bc5ddfe
tweak new code 2022-10-08 17:45:50 -04:00
Jesse Plamondon-Willard 40d5cd7c05
use try..finally to make sure rented arrays are returned 2022-10-08 17:42:32 -04:00
atravita-mods 48d0f70ffd
fix indexing math again. 2022-10-08 13:27:08 -04:00
atravita-mods 798a56bd2e
Avoid copying memory for contingous buffers. 2022-10-08 13:27:07 -04:00
atravita-mods 496c438be2
fix indexing again, because apparently I'm bad at math now? 2022-10-08 13:27:07 -04:00
atravita-mods a3b8546ec8
cleanup and comments 2022-10-08 13:27:07 -04:00
atravita-mods 09fd12ddfe
use startindex/endindex since I've already calculated those... 2022-10-08 13:27:07 -04:00
atravita-mods c1d5d19e43
Skip transparent rows at the start and end when doing a patch overlay. 2022-10-08 13:27:06 -04:00
atravita-mods ce63efa2f4
Avoid making copy if the source image is just taller than the sourceArea. 2022-10-08 13:27:06 -04:00
atravita-mods ff523c619a
fix fast-track array copying 2022-10-08 13:27:06 -04:00
atravita-mods d29c01b815
Partially revert "Favor record structs when there are four or fewer elements."
This reverts commit f5d49515c4eddfb415903a89d70654cf9b6de299.
2022-10-08 13:27:06 -04:00
atravita-mods 627100509c
hide throwhelper from stack trace in dotnet 6 2022-10-08 13:27:06 -04:00
atravita-mods 0a2a1a08de
Favor record structs when there are four or fewer elements. 2022-10-08 13:27:05 -04:00
atravita-mods 581763c363
Skip math if above is fully opaque. 2022-10-08 13:27:05 -04:00
atravita-mods 4a1055e573
arraypool in the modcontentmanager, a bit of fussing 2022-10-08 13:27:05 -04:00
atravita-mods 78643710ce
Use array pools in editing images. 2022-10-08 13:27:05 -04:00
atravita-mods 7c90385d8d
Pre-calculate the strings for log levels. 2022-10-08 13:27:04 -04:00
Jesse Plamondon-Willard a7f03abe25
change square brackets to round ones in manifest name 2022-10-08 13:16:38 -04:00
Jesse Plamondon-Willard 5a0d337fcf
update FluentHttpClient 2022-10-07 00:21:09 -04:00
Jesse Plamondon-Willard 2c25426578
fix issues with BundleExtraAssemblies 2022-10-07 00:16:00 -04:00
Jesse Plamondon-Willard c0e31d17a6
fix handling of GitHub prerelease versions marked as non-prerelease 2022-09-28 23:21:12 -04:00
Jesse Plamondon-Willard e7d29a2f7d
Merge branch 'develop' into stable 2022-08-31 17:16:17 -04:00
Jesse Plamondon-Willard 41e95642f0
prepare for release 2022-08-31 17:15:58 -04:00
Jesse Plamondon-Willard 5af87fc3be
remove compatibility section in the new app manifest
This apparently leads to NoSuitableGraphicsDeviceException errors when launching SMAPI for some players.
2022-08-31 17:08:30 -04:00
Jesse Plamondon-Willard e0838a28c0
Merge branch 'develop' into stable 2022-08-29 18:25:45 -04:00
Jesse Plamondon-Willard 8b6c732d71
prepare for release 2022-08-29 18:18:21 -04:00
Jesse Plamondon-Willard 47a68fbb7b
deprecate PyTK compatibility mode 2022-08-29 18:17:53 -04:00
Jesse Plamondon-Willard 2bb8e8353b
update compatibility workaround for the recent PyTK update 2022-08-29 18:00:41 -04:00
Jesse Plamondon-Willard c2f474bf88
distinguish empty/XNB folders from invalid manifest for error-tracking 2022-08-24 17:49:17 -04:00
Jesse Plamondon-Willard 1d5017f119
fix broken mods with no ID listed as duplicate 2022-08-24 17:49:12 -04:00
Jesse Plamondon-Willard a1bc96d365
Merge branch 'develop' into stable 2022-08-20 17:01:59 -04:00
Jesse Plamondon-Willard f3a79219e8
prepare for release 2022-08-20 17:01:07 -04:00
Jesse Plamondon-Willard f780d140f0
fix early mod load errors incorrectly suppressed 2022-08-20 16:36:15 -04:00
Jesse Plamondon-Willard 263130bafc
fix deprecation notices split into two messages unnecessarily 2022-08-20 16:15:29 -04:00
Jesse Plamondon-Willard b2103bbfa6
update schema for Content Patcher 1.28.0 2022-08-18 22:39:37 -04:00
Jesse Plamondon-Willard c51a593e93
fix log parser error if a mod logged a null character 2022-08-16 22:03:22 -04:00
Jesse Plamondon-Willard f23cd450a0
clarify docs 2022-08-16 22:03:22 -04:00
Jesse Plamondon-Willard 5ab87efaa0
log error if mod files are detected directly under Mods folder 2022-08-16 22:03:21 -04:00
Jesse Plamondon-Willard 4d9384b828
switch SMAPI to portable PDB format 2022-08-14 19:17:21 -04:00
Jesse Plamondon-Willard d813c4e2c8
fix log parsing for invalid content packs (#860) 2022-08-08 22:27:07 -04:00
Jesse Plamondon-Willard e376386d25
set error code on exit (#868) 2022-08-08 21:43:46 -04:00
Jesse Plamondon-Willard 352fa4759e
fix error when a mod is both duplicated and missing the DLL 2022-08-08 19:54:07 -04:00
Jesse Plamondon-Willard 1749a82947
update release notes 2022-08-08 19:50:29 -04:00
Jesse Plamondon-Willard f3ff334c08
Merge pull request #869 from atravita-mods/patch-1
Add error message for invalid PNG
2022-08-08 19:46:30 -04:00
Jesse Plamondon-Willard e7b93e2ec2
Merge pull request #867 from lanturnalis/develop
Add condition to DebugType to allow for overriding
2022-08-08 19:46:01 -04:00
Jesse Plamondon-Willard 08eafe7d89
tweak new error text 2022-08-08 19:42:40 -04:00
Jesse Plamondon-Willard 8c58bdae6f
remove DebugType build property
The 'portable' format is preferred in newer .NET versions, but it's set by default now so we don't need to override it anymore.
2022-08-08 19:32:58 -04:00
atravita-mods 7a3b0e180f
Adds an error message for an invaild png 2022-08-05 17:21:53 -04:00
Jesse Plamondon-Willard ab34b6142d
undo $@ to $* change per discussion 2022-07-28 21:47:21 -04:00