Commit Graph

147 Commits

Author SHA1 Message Date
YoshiRulz 41ad4ff6e9
Fix copying of SDL2 lib to `/Assets` when building w/ debug symbols 2025-04-07 10:07:15 +10:00
YoshiRulz 8cfb0599e5
Enable SA1413 except in Cores and satellite .NET projects
"Use trailing comma in multi-line initializers"
2025-03-29 07:18:53 +10:00
YoshiRulz ba12785fe2
Add trailing commas to object initialisers and `with` expressions 2025-03-29 07:18:53 +10:00
YoshiRulz a8e7c3d031
Add trailing commas to `switch` expressions 2025-03-29 07:18:49 +10:00
YoshiRulz ca0ddeffef
Improve highlight locations of some BizHawk.Analyzer diagnostics 2025-03-20 07:35:47 +10:00
YoshiRulz df11522190
Minor refactor to `HawkSourceAnalyzer` (for BHI1110)
will rebuild in later commit
2025-03-20 07:35:27 +10:00
YoshiRulz d8ee7f5f61
Refactor `DefineCheckedOpAnalyzer`
will rebuild in later commit
2025-03-20 07:35:23 +10:00
YoshiRulz a93da782e0
Simplify some `ReportAt` calls in BizHawk.Analyzer
will rebuild in later commit
2025-03-20 07:35:09 +10:00
CasualPokePlayer 38f8e3a9b4 Add Void Linux liblua naming method
Yes, it's actually named liblua5.4.so.5.4
2025-03-15 01:53:12 -07:00
CasualPokePlayer 05722664e0 Throw Lua errors on lua cothread they were done on (instead of the main cothread)
Fixes #4252
2025-03-01 22:29:55 -08:00
YoshiRulz 938ac8c7ff
Fix code style warnings in NLua
see 69b923ad5
2025-02-24 10:44:10 +10:00
YoshiRulz 69b923ad55
Make all Analyzers except StyleCop run all the time
see #1813, 4a2627337
2025-02-24 05:39:16 +10:00
YoshiRulz 8d71c8a505
Add Analyzer for suggesting adding `checked` operators 2025-02-22 17:07:35 +10:00
YoshiRulz 9a388c6693
Extract helpers for `Diagnostic.Create` in Analyzers
will rebuild in later commit
2025-02-22 16:22:23 +10:00
YoshiRulz 6eef3668a7
Unify `BizHawk.Analyzer` failures into a dedicated diagnostic rule
will rebuild in later commit
2025-02-22 16:22:03 +10:00
YoshiRulz 03bf156a91
Clean up registration in `BizHawk.Analyzer`
will rebuild in later commit
2025-02-22 14:55:41 +10:00
YoshiRulz 57921a9206
Clean up a few misc. spots in `BizHawk.Analyzer`
will rebuild in later commit
2025-02-22 14:31:55 +10:00
YoshiRulz 507b30a1dc
Use global imports in Analyzer projects 2025-02-22 11:15:18 +10:00
YoshiRulz de1a7b1e30
Use `SpecialType` where possible in BizHawk.Analyzer 2025-01-31 17:52:49 +10:00
YoshiRulz af32948756
Add Analyzer to warn about LINQ calls on string receivers 2025-01-31 14:49:40 +10:00
Morilli 9caef88e3f enable stripping for a bunch of self-built dlls 2024-11-11 04:47:33 +01:00
YoshiRulz a3901f66e5
Add Analyzer to require `class`/`struct` keyword on records
fixes eef190d33, e8c957a7a, and c68dd703d
2024-10-19 04:53:35 +10:00
Morilli f26fe45ea9 fix path separators 2024-10-15 16:54:09 +02:00
Asnivor 6a907cdfe3 [FlooohZ80] Remove LICENSE.txt (this now lives in the submodule) 2024-10-15 14:59:19 +01:00
Asnivor e7e2b8f801 [FlooohZ80] use z80.h in submodule 2024-10-15 14:57:25 +01:00
Asnivor aec82f32a9 Add Floooh chips repo as submodule 2024-10-15 14:56:13 +01:00
CasualPokePlayer e1820081ee Update rcheevos to v11.6.0 2024-10-10 21:35:28 -07:00
CasualPokePlayer bcf7f981f4 Rebuild Floooh for Linux 2024-10-07 01:12:35 -07:00
CasualPokePlayer 187674338b simplify floooh z80 usage 2024-10-07 01:09:17 -07:00
Asnivor 682dd761c3 FlooohZ80 - revert any changes to source header 2024-10-07 06:32:48 +01:00
CasualPokePlayer ce2a6da71f Build FlooohZ80 on Linux 2024-10-06 15:19:33 -07:00
Asnivor c644ed19ef [CPCHawk] Trying a new z80 implementation 2024-10-06 22:01:09 +01:00
YoshiRulz 5f23ee44b6
Fix BHI1007 errors in NLua
"Don't use target-typed new for throw expressions"
doesn't include rebuilt assembly because it should be identical IL
modulo timestamps
one of these was `Exception` and got stripped, one was checked-in as
implicitly-typed
see 5fd840e14 and 29c15adbb
2024-10-04 23:52:12 +10:00
YoshiRulz 97a8e9011e
Add Analyzer to warn about decimal<=>float/double casts
fixes c882fe4ea and 32a66a955
2024-09-17 03:02:09 +10:00
YoshiRulz 6dbee180e9
Fix typo in `TernaryInferredTypeMismatchAnalyzer`
fixes fa361ce06
2024-09-17 00:53:41 +10:00
YoshiRulz 21cdc86e8c
Enable MEN018 and fix noncompliance (except in Cores)
"Use Digit Separators" in integer literals
2024-09-15 23:19:07 +10:00
YoshiRulz fa361ce06c
Add Analyzer for finding errors with ternaries in interpolated strings
why is this not part of the SDK
2024-09-14 02:44:08 +10:00
YoshiRulz 3a3f567dad
Fix copy-pasted method name 2024-09-14 02:44:08 +10:00
CasualPokePlayer 40237d476a Update SDL submodule
includes https://github.com/libsdl-org/SDL/pull/10645 (waiting on merge)
2024-09-04 12:18:28 -07:00
YoshiRulz c09f195148
Fix bug in `HawkSourceAnalyzer` 2024-07-12 23:27:29 +10:00
YoshiRulz 5fd840e145
Add Analyzer (currently disabled) for target-typed `new` with `throw` 2024-07-09 00:12:46 +10:00
YoshiRulz 2a5d4b903c
Add Analyzer to disallow `^= true` 2024-07-08 10:39:06 +10:00
YoshiRulz 5e5f5772c6
Enable Analyzer rules re: blank doc comments and fix noncompliance 2024-07-08 01:37:22 +10:00
YoshiRulz 2ffb897b11
Add analyzer (currently disabled) to enforce a newline policy for `=>` 2024-07-07 15:32:31 +10:00
YoshiRulz 479f151bbb
Fix code style warnings in satellite .NET projects 2024-07-07 12:54:11 +10:00
YoshiRulz da7331632d
Enable MA0136 (protects against accidental CRLFs) 2024-07-04 07:23:24 +10:00
YoshiRulz 57b5e77712
Add unit tests for first-party Analyzers 2024-07-02 05:59:31 +10:00
YoshiRulz 867b560a1d
Fix BHI3300 being raised twice for offending accessors 2024-07-02 05:59:31 +10:00
YoshiRulz 3490b544b4
Have About dialog copy full Git commit hash to clipboard
and use full hash in GitHub web app URI
2024-06-20 04:01:58 +10:00
CasualPokePlayer 6e5de797d2 Build rust projects with x86_64-win7-windows-msvc target 2024-06-17 19:41:52 -07:00