YoshiRulz
56bba49c3b
Long-promised ApiHawk refactor
...
In the C# API, methods have been renamed, changed to properties, or made to
return interfaces instead of classes. Some parameters have different defaults.
Very little of the implementation has changed.
Lua API hasn't changed at all, but Comm/Input/SaveState libs are now in
Client.Common (and Comm now delegates to IComm).
2020-02-02 19:38:31 +10:00
YoshiRulz
2c74b1a693
Properly fix assembly loading issue, retarget BizHawk.Common again
...
temp fix was 9ffef2531
2020-01-29 00:23:10 +10:00
YoshiRulz
215de3c0c0
Make Roslyn Analyzers opt-in at compile-time ( resolves #1813 )
...
They are still run by the IDE at design-time. To opt-in, set the MSBuild
property MachineRunAnalyzersDuringBuild. From the command-line, you can do this
by adding `/p:MachineRunAnalyzersDuringBuild=true`.
2020-01-26 10:34:07 +10:00
adelikat
9ffef2531d
put BizHawk.Common back to framework for now, fixes Enum properties used in the PropertyGrid throwing exceptions about not being able to find System.ComponentModel
2020-01-25 15:37:27 -06:00
YoshiRulz
6f3f01125c
Enable SA1504 and fix noncompliance
...
"All accessors should be single-line or multi-line"
i.e. no block form on one line
2020-01-25 14:56:56 +10:00
YoshiRulz
bfde89b9f3
Enable SA1139 and fix noncompliance
...
"Use literal suffix notation instead of casting"
2020-01-25 07:55:48 +10:00
YoshiRulz
4ed402fc59
Cleanup some more files
2020-01-24 09:37:15 +10:00
YoshiRulz
3ae58fd9d6
Use SolutionDir to make relative paths absolute
...
No need for warning of relative paths in filename anymore
2020-01-24 04:59:27 +10:00
YoshiRulz
3537c516fb
Configure StyleCop (not running) and revert using-inside-namespace
2020-01-24 04:40:46 +10:00
YoshiRulz
751ef54f4f
Fix typo in ToFloatBuffer
2020-01-23 15:54:26 +10:00
YoshiRulz
abba7fbb78
Cleanup Ranges and SimpleTime
2020-01-23 15:53:19 +10:00
YoshiRulz
ff2efca658
Cleanup Util
2020-01-23 14:54:34 +10:00
YoshiRulz
8de0355228
Prepare for nullability annotation in BizHawk.Common
...
attributes: https://docs.microsoft.com/en-us/dotnet/csharp/nullable-attributes
2020-01-23 14:54:29 +10:00
YoshiRulz
97cb9b47f1
Retarget BizHawk.Common to .NET Standard 2.0
2020-01-23 14:54:26 +10:00
YoshiRulz
c7801b8ce2
Move BizHawk.Common.BizInvoke namespace to separate project
2020-01-23 14:54:23 +10:00
YoshiRulz
5a3f4ab1b3
Use File.Copy in InstanceDll instead of manipulating streams
2020-01-23 14:54:13 +10:00
YoshiRulz
7e727fc77c
Move CRC32, remove unused project dependencies
2020-01-22 05:49:18 +10:00
YoshiRulz
b1ef7bcbbb
Retarget .NET Framework from 4.6.1 to 4.8
2020-01-21 04:42:09 +10:00
YoshiRulz
e435fb807b
Migrate to "new csproj", remove unnecessary tags/info, and dedupe
...
Didn't want to mess with resource generation so the execuable projects didn't
get migrated, just cleaned up
2020-01-19 01:43:39 +10:00
YoshiRulz
1c3e823ea2
Allow immutable=>immutable range copy
2020-01-17 06:33:43 +10:00
YoshiRulz
4a5ece2076
Use ranges in MemoryBlock*
2020-01-03 23:35:07 +10:00
YoshiRulz
d71b7af31c
Change exceptions in ranges
2020-01-03 21:52:59 +10:00
YoshiRulz
dbe82f6d86
Implement "fancy math", scrap RangeImpl, fix typos, and cleanup
2020-01-03 06:03:49 +10:00
YoshiRulz
e7d0fb8299
Refactor/genericise MutableIntRange, add immmutables, add more methods
...
call now and I'll throw in not one but two float equality extensions for free
2020-01-03 03:32:51 +10:00
YoshiRulz
19705b78fd
Improve exception docs in BizHawk.Common
2020-01-02 21:51:14 +10:00
adelikat
0082de7c0a
cleanup Quantizer.cs
2019-12-31 10:24:57 -06:00
adelikat
bdd0d56a70
delete the console log window, always show LogWindow instead
2019-12-29 14:39:44 -06:00
YoshiRulz
264b27475e
Fix default referring to non-nullable type
2019-12-23 04:12:02 +10:00
YoshiRulz
7cd29c0f54
Finish moving Win32 imports to BizHawk.Common, organise, and cleanup
2019-12-21 18:33:11 +10:00
YoshiRulz
580aa2eaf9
Refactoring and cleanup of dynamic lib loading
...
Also fixed error reporting in WindowsLLManager, and fixed bug in
MednaDisc.CheckLibrary
2019-12-21 18:22:58 +10:00
YoshiRulz
7ea8fb185a
Congregate, organise, and cleanup some Win32 imports and their usages
2019-12-21 18:21:51 +10:00
adelikat
04798f0e40
oops
2019-12-06 20:29:46 -06:00
adelikat
dcc853af6d
remove a few more unused string methods
2019-12-06 18:16:49 -06:00
adelikat
049e3d12fc
BizHawk.Common house cleaning - remove a bunch of unused code, use some higher language level features in some places
2019-12-06 18:12:57 -06:00
adelikat
2b00a98ab1
Remove unused Sprintf.cs
2019-12-06 17:48:46 -06:00
adelikat
fef746dffa
properly dispose of IDisposables in core savestate code, and a few other places
2019-12-06 17:33:17 -06:00
James Groom
fcc0bc19a4
Change build config to support the Core build system (for #1415 )
...
squashed PR #1702
2019-12-03 16:58:33 +00:00
adelikat
c854ea90b9
remove some obsolete BufferExtensions, and unused ones
2019-11-16 16:55:28 -06:00
YoshiRulz
8c059aa43c
Replace helper methods with readonly bool IsUnixHost and cleanup
2019-11-04 14:30:05 +10:00
J.D. Purcell
fec63fb66a
Spaces -> tabs, fix mixed newlines.
2019-11-03 20:58:36 -05:00
adelikat
e4e10646bf
Merge branch 'master' into MoreUnixMonoCompatWork
...
# Conflicts:
# BizHawk.Client.EmuHawk/Program.cs
# BizHawk.Common/BizInvoke/MemoryBlock.cs
2019-11-03 16:09:22 -06:00
adelikat
942d9fc75e
Simplify OS checks with some helpful methods
2019-11-03 16:04:42 -06:00
adelikat
b9ade1a555
Merge branch 'master' into MoreUnixMonoCompatWork
2019-11-03 12:55:53 -06:00
YoshiRulz
94935bc45e
Fix #1714
...
why is RedirectStandardInput=true,UseShellExecute=false not the default
2019-11-03 23:11:29 +10:00
adelikat
6c7653e158
Merge branch 'master' into MoreUnixMonoCompatWork
...
This doesn't compile because of Input.cs, didn't know what to do. Also search for Merge TODO for some commenting things that probably need to be deleted
# Conflicts:
# BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj
# BizHawk.Client.EmuHawk/CustomControls/InputRoll.Drawing.cs
# BizHawk.Client.EmuHawk/CustomControls/InputRoll/InputRoll.cs
# BizHawk.Client.EmuHawk/Program.cs
# BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs
# BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs
# BizHawk.Client.EmuHawk/tools/ToolHelpers.cs
# BizHawk.Client.EmuHawk/tools/ToolManager.cs
# BizHawk.Client.EmuHawk/tools/TraceLogger.Designer.cs
# BizHawk.Client.EmuHawk/tools/TraceLogger.cs
# BizHawk.Client.EmuHawk/tools/Watch/RamSearch.Designer.cs
# BizHawk.Client.EmuHawk/tools/Watch/RamSearch.cs
# BizHawk.Common/BizInvoke/DynamicLibraryImportResolver.cs
2019-10-31 17:01:19 -05:00
YoshiRulz
f8379d9fd4
Bump ReSharper analysis to C# 8.0
2019-10-31 03:30:00 +10:00
J.D. Purcell
69edada441
Set LangVersion to 8.0. Requires Visual Studio 2019 with 16.3+ update installed.
2019-10-27 12:14:19 -04:00
adelikat
924618ee8f
Set resharper language level to 7, add some emulator lingo to the resharper dictionary
2019-10-27 10:54:29 -05:00
YoshiRulz
a4a11ef859
Refactor search paths
2019-10-25 21:30:43 +10:00
YoshiRulz
92721a816a
Add /usr/lib/bizhawk to the search path
2019-10-25 21:28:03 +10:00