YoshiRulz
83098604fa
Set `MONO_THREADS_SUSPEND=preemptive`
...
see #4117
2025-01-23 05:32:54 +10:00
YoshiRulz
ced4db461d
Nix expr: Regen NuGet lockfile
...
fixes 7f3bf7022
2025-01-17 04:55:59 +10:00
YoshiRulz
cbacebcee4
Bump PolySharp
2025-01-17 01:30:12 +10:00
YoshiRulz
58de1a0486
Nix expr: Update for 2.10
2025-01-10 00:56:13 +10:00
YoshiRulz
3021ba78d5
Nix expr: Fix checksum (`fetchpatch` strips some info before hashing)
...
fixes f5af95c432
2025-01-10 00:38:18 +10:00
YoshiRulz
c50a4f4e6a
Nix expr: Use `lib.getExe`
2024-12-31 16:51:06 +10:00
YoshiRulz
9b72b2292e
Nix expr: Regen NuGet lockfile
2024-12-23 21:54:36 +10:00
YoshiRulz
48f5125c84
Improve `BIZHAWKBUILD_RUN_ONLY_GAMEDB_INIT`
2024-12-17 01:03:41 +10:00
YoshiRulz
2b900b6e50
Nix expr: Fix DiscoHawk launch script assuming EmuHawk has ran before
2024-11-23 23:43:06 +10:00
YoshiRulz
af6c4d9815
Nix expr: Regen NuGet lockfile
...
fixes 83c0ea81f
2024-11-08 06:35:57 +10:00
YoshiRulz
e3cfcdaeb9
Nix expr: Fix `emuhawk-*-bin` eval error
...
fixes 760a5b528
2024-09-28 12:51:27 +10:00
YoshiRulz
760a5b5285
Nix expr: Set `$GTK_PATH` to mute warning
2024-09-22 03:19:25 +10:00
YoshiRulz
9a2c163461
Nix expr: Add `gtk2-x11` (`libgtk-x11-2.0.so.0`) to `buildInputs`
2024-09-22 03:19:06 +10:00
YoshiRulz
8bfe963bbb
Nix expr: Extract function
2024-09-22 02:04:18 +10:00
YoshiRulz
b8b7fabd3a
Nix expr: Regen NuGet lockfile
2024-09-08 23:18:03 +10:00
YoshiRulz
d908d77186
Replace implementation of `ArgParser` using `System.CommandLine`
2024-09-08 19:48:11 +10:00
YoshiRulz
4fc3d9bd40
Update Meziantou.Analyzer and enable new rule MA0160
...
"Use ContainsKey instead of TryGetValue"
I checked the source and MA0159 "Use 'Order' instead of 'OrderBy'" looks
for the LINQ method in the BCL specifically, not by signature, so we
can't replace our bespoke `OrderBySelfAnalyzer` :(
2024-09-02 22:34:11 +10:00
YoshiRulz
3d37901677
Nix expr: Regen NuGet lockfile
...
fixes c882fe4ea5
2024-08-26 04:10:28 +10:00
YoshiRulz
5ee53db53b
Nix expr: Expose Mono's profiler
2024-08-17 18:17:00 +10:00
YoshiRulz
07508a91f2
Nix expr: Remove TODO which has been resolved
2024-08-17 18:11:11 +10:00
YoshiRulz
19bf70a9c9
Nix expr: Regen NuGet lockfile
2024-08-09 11:36:56 +10:00
YoshiRulz
7a8b9b13ff
Nix expr: Add `hawkSourceInfo.mainAppFilename`
2024-07-29 22:26:22 +10:00
YoshiRulz
8e3486a50a
Nix expr: Expose `populateHawkSourceInfo`
...
fixes 8055cd134
(I forgot to update the automagic docs when adding `-A IDEs.kate`)
2024-07-29 21:04:26 +10:00
YoshiRulz
92f762b0c0
Nix expr: Refactor how `custombuild.txt` is set declaratively
2024-07-29 21:01:45 +10:00
YoshiRulz
22e5e035d2
Remove a couple references to deprecated `--mono-no-redirect` flag
2024-07-26 15:52:59 +10:00
YoshiRulz
53fcb93d0e
Nix expr: Regen NuGet lockfile
...
fixes c6101a190
2024-07-09 00:12:27 +10:00
YoshiRulz
dbc6acc8fb
Nix expr: Document nix-shell for dev and Kate
2024-07-05 22:33:34 +10:00
YoshiRulz
4d1e852d2d
Bump Roslyn and testing deps
2024-07-02 05:59:31 +10:00
YoshiRulz
a329d076f0
Improve dev-facing error message in Git hook install script
2024-06-21 23:54:47 +10:00
YoshiRulz
62c1c11698
Have Git hook shim skip execution when checking out old commits
2024-06-21 22:56:12 +10:00
YoshiRulz
afd496a185
Make Git hooks print message when PowerShell not found
2024-06-21 22:54:15 +10:00
YoshiRulz
f3ae45b7bd
Fix Git hooks failing when `pwsh` and `dotnet` are missing from `PATH`
...
forgot `set -e` applies to subshells
2024-06-21 22:50:50 +10:00
YoshiRulz
4e659d810b
Use Git hook name without file extension for messages
2024-06-09 22:29:54 +10:00
YoshiRulz
65219d03e6
Fix Git hook installation flagging matching script as mismatch
...
fixes 124a1ea50
2024-06-09 22:29:54 +10:00
YoshiRulz
2b05071493
Revert "Add some prints to Git hook installation script for GitHub Actions"
...
This reverts commit 8e6351e88c
.
2024-06-09 22:20:58 +10:00
YoshiRulz
8e6351e88c
Add some prints to Git hook installation script for GitHub Actions
2024-06-09 22:20:43 +10:00
YoshiRulz
e19c8fe5f5
Fix Git hook detecting global PowerShell but trying to use dotnet tool
...
fixes c5f6dcd4e
2024-06-09 21:42:16 +10:00
YoshiRulz
c5f6dcd4e8
Make PowerShell strictly optional for Git hooks
...
...and remove auto-`dotnet tool restore`. If you don't have PowerShell
on `$PATH`/`%PATH%`, Git hooks will simply not be ran.
I still intend to migrate the rest of `/Dist` to PowerShell. Undecided
on unmanaged cores and wbox.
2024-06-09 12:51:32 +10:00
YoshiRulz
1d46919f6a
Enable custom scripts to run on Git hooks
2024-06-09 12:48:11 +10:00
YoshiRulz
124a1ea509
Simplify Git hook installation
2024-06-09 12:48:06 +10:00
YoshiRulz
e424e716f8
Drop Batch impl. of Git hook (shim) as it's apparently not used
...
see ffa5bb9b7
this should now work in Git BASH as well
and it wasn't all for nothing, at least now I have reference for a
polyglot if the need arises
2024-06-09 12:16:38 +10:00
YoshiRulz
ffa5bb9b74
Use a polyglot BASH/Batch script as a shim for the Git commit hook
2024-06-08 14:28:38 +10:00
YoshiRulz
5d80e2657b
Nix expr: Regen NuGet lockfile
2024-06-07 22:32:03 +10:00
YoshiRulz
f58b4640c5
Have local dotnet tools restored with NuGet packages
...
reverts 8f7e61339
2024-06-07 22:03:16 +10:00
YoshiRulz
84e337b05c
Fix `install_git_hooks.ps1` failing when target file doesn't exist
...
fixes 5c3171171
of course I covered every case but the obvious one
2024-06-07 15:54:39 +10:00
YoshiRulz
8f7e613398
Ensure local dotnet tools are restored on Linux and for CI
...
Windows users can do it manually if VS doesn't, at least until #3013
2024-06-07 15:46:46 +10:00
YoshiRulz
5c31711710
Automatically install client-side Git hooks
...
This is how npm-style RCE hacks happen by the way. You should all be
vetting `dotnet-tools.json` and all MSBuild and PowerShell scripts.
2024-06-07 15:39:44 +10:00
YoshiRulz
15be0d625c
Nix expr: Set `mainProgram` for installables
2024-06-05 15:15:58 +10:00
YoshiRulz
6cb07dd53e
Nix expr: Override `<DebugType/>`
...
not functional, just so I don't forget
2024-06-03 09:32:49 +10:00
YoshiRulz
f5af95c432
Nix expr: Harden checksums
2024-06-02 11:48:32 +10:00