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
YoshiRulz
b5ff65f2cb
Add Analyzer to enforce spaces in `[]`
2024-05-30 15:51:20 +10:00
YoshiRulz
a1256782fc
Bump `<LangVersion/>` for satellite .NET projects
2024-05-30 10:44:55 +10:00
YoshiRulz
ea15126fe1
Minor refactors to first-party Analyzers and Source Generators
2024-05-30 09:22:18 +10:00
YoshiRulz
b8c600783a
Apply `<GenerateDocumentationFile/>` to satellite .NET projects
2024-05-30 09:22:17 +10:00
YoshiRulz
431b4f67e8
Fix most remaining warnings in satellite .NET projects
2024-05-30 09:22:11 +10:00
CasualPokePlayer
476ac94d80
Add GPU acceleration for most of ApiHawk's GuiApi (gui.* lua APIs), refactor ApiHawk surfaces
2024-05-24 13:26:58 -07:00
YoshiRulz
4f3e4e3642
Check in a companion app to help with the testrom updates
2024-05-15 10:47:38 +10:00
CasualPokePlayer
00befd0d09
Update and rebuild SDL2
2024-05-14 13:32:07 -07:00
Morilli
04535c747a
Bump libusb to 1.0.27
...
fixes a potentially long initialization time when some faulty devices exist
2024-05-14 22:20:27 +02:00
James Groom
1c33e2bad8
Actually fix indentation in project files
2024-05-10 18:38:26 +10:00
CasualPokePlayer
17774a14f7
make sure to enable lto for release chd-rs
2024-05-02 23:10:47 -07:00
CasualPokePlayer
e2de1dedf2
build chd-rs with max_perf
...
mainly doing this as the pure rust zstd backend doesn't accept discohawk produced chd files, although they are completely valid by reference zstd implemetation standards, max_perf uses the reference zstd here
2024-05-02 23:10:46 -07:00
CasualPokePlayer
64dc72cea5
linux chd-rs build, also delete libchdr folder
2024-05-02 22:23:31 -07:00
CasualPokePlayer
6cab4a4f99
Switch libchdr to chd-rs
2024-05-02 22:14:56 -07:00
CasualPokePlayer
21b6bd331b
Add CHD CD support
2024-04-29 22:21:47 -07:00
CasualPokePlayer
06ceec6390
Fixup nyma flatbuffer comms, update flatbuffer
2024-04-27 02:52:14 -07:00
Morilli
fd36a37f17
Fix BizHawk.Analyzer potentially throwing
...
Co-Authored-By: James Groom <13409956+YoshiRulz@users.noreply.github.com>
2024-04-20 17:01:59 +02:00
Morilli
17cf58c964
update analyzer packages
2024-04-20 17:01:42 +02:00
James Groom
dc0eb63221
Minor refactors to other MSBuild files
2024-04-04 00:19:20 +00:00
Morilli
b10f8969ac
Don't allocate extra buffers in lua [Push|To]String
2024-03-19 12:19:56 +01:00
YoshiRulz
d31047ffc3
Use NuGet central package management
2024-02-14 16:24:31 +00:00
CasualPokePlayer
e576d1862c
update rcheevos for linux
2024-01-16 20:03:58 -08:00
CasualPokePlayer
d03d076fa7
several rcheevo updates, mostly for 3DS stuff
2024-01-16 20:00:45 -08:00
James Groom
1e5d11bf84
Increase verbosity of `dotnet build` in CI
2023-12-22 03:20:19 +00:00
CasualPokePlayer
cc0b6c0d99
update rcheevos to latest release, change a ton of ints to uints (what's actually used often)
...
todo: trim out unneeded defs and do c# 10 cleanups
2023-12-09 02:25:40 -08:00
CasualPokePlayer
1441bf98ba
pull in some windows specific SDL2 fixes
...
see https://github.com/libsdl-org/SDL/issues/8617
2023-11-28 13:26:37 -08:00
CasualPokePlayer
20defc890b
build newer SDL2 on linux (Debian 10), also pull in some linux specific build fixes
2023-11-25 17:49:49 -08:00
CasualPokePlayer
f40e68e903
add in cmake scripts for building SDL2
...
this gives us a great level of control over how we build SDL2, omitting parts we don't want, and including parts we do want, like libusb support!
windows sdl2 normally doesn't support libusb, but with some magic it can be built and linked in fairly easily, giving windows sdl2 libusb support.
libusb support in sdl2 means official GC adapter support! (resolves #1879 )
linux build will be done in a later commit
2023-11-24 22:33:19 -08:00
James Groom
a605443590
Mute code style warnings in iso-parser
2023-11-24 05:28:41 +00:00
CasualPokePlayer
1909950742
Rebuild most of the .so's on Debian 10
...
Also fix up libbizhash so it builds on clang
Slight fixes to sameboy and msxhawk makefiles
Fix rcheevo submodule commit (no actual changes, just make it point to a commit upstream actually has)
SDL2 .so not yet rebuilt, need to consider how to do that
citra seems to need at least Debian 11 to build
libe_sqlite3.so seemed to have already been built with Debian 10 so not bothering touching that
libwaterboxhost.so is Rust / targets glibc 2.28 anyways, nothing needs to be done there
2023-11-22 00:50:47 -08:00
CasualPokePlayer
33a512235a
Fix NRE for lua cothreads
...
fixes ba24907d9c
2023-11-17 19:46:59 -08:00
CasualPokePlayer
ba24907d9c
Improve NLua lua library loading, using C# function pointers. It now no longer depends on BizHawk.BizInvoke/BizHawk.Common. It might be faster too
...
Add in liblua-* variant for Linux lua library names (resolves #3678 )
Remove some more unused NLua code
Make LuaState internal, we don't need to see it (NLua.Lua API slightly changed to accommodate this, tests could be broken due to this?)
Make various other NLua classes internal, we don't need to see them
Check against lua library loading failing, provide a non-fatal message box if it has failed instead of crashing on some exception.
Remove UnixSearchPaths (unneeded with LD_LIBRARY_PATH being set) and unused IImportResolvers
2023-11-17 19:03:03 -08:00
CasualPokePlayer
cef72bef4b
try to fix crashes under Mono when calling a cached function with the wrong arguments
2023-11-16 09:08:20 -08:00
CasualPokePlayer
fba66c3d28
re-enable analyzer for NLua
2023-11-16 03:15:44 -08:00
CasualPokePlayer
582446651f
fix all the analyser warnings in NLua
2023-11-16 03:14:47 -08:00
James Groom
b961aa2ec5
Allow NLua to be built again
2023-11-16 15:46:03 +10:00
Morilli
7d4b21f9c7
Fix some analyzer warnings
...
also improve globalconfig readability
2023-11-03 11:56:23 +01:00
CasualPokePlayer
7e5efea4bc
fix symlinks in BizHawk.SrcGen.SettingsUtil
2023-11-03 02:33:45 -07:00
James Groom
dae3fe3803
Fix import placement in Analyzers
...
fixes 362269c98
, presumably, and f2a479410
2023-10-26 23:03:14 +10:00
CasualPokePlayer
00e0a5fb2a
fix default value arrays source generation
...
this change doesn't actually do anything since we don't even have arrays in default values
2023-10-25 22:55:46 -07:00
CasualPokePlayer
f2a4794105
Use source generation for SettingsUtil.SetDefaultValues
2023-10-25 22:52:06 -07:00
Morilli
71e08e27b9
bump AnalysisModePerformance to Recommended
...
fixes CA1841
silence CA1805 and CA1822 because of sheer amount of violations
reduce severity of CA1838 because I don't wanna fix it lol
2023-08-14 14:18:45 -07:00
Morilli
8e557b0b9d
bump AnalysisModeGlobalization to Recommended
...
fixes CA1304, CA1309, CA1310, CA1311
temporarily silences CA1305
reduce severity of CA2101
2023-08-14 14:18:45 -07:00
Morilli
8a46af0b25
Fix lua project with analyzer change
2023-05-24 18:44:21 +02:00
YoshiRulz
4a752f66b7
Add Analyzer to require checking or discarding `TryGetValue`
...
I'm pretty sure all the existing instances were intended to use `default(T)` if
the key isn't present, except maybe the cheatcode converters but I don't care to
rewrite those at the moment
2023-05-05 06:27:15 +10:00