Commit Graph

16 Commits

Author SHA1 Message Date
alyosha-tas b9094545db update 7zip file location 2019-01-04 18:03:34 -06:00
James Groom 42764f0019 Add preliminary Unix compatibility (using Mono; resolves #1384) (#1380)
* Move PlatformSpecificLinkedLibs and implementations to common and rename
* Specify file ext. at LoadPlatformSpecific call site
* Move Client.Common.Global.RunningOnUnix to PlatformLinkedLibSingleton
* Inline var Resolver
* Use PlatformLinkedLibManager internally
* Move plugin load check to LinkedLibManager, use LinkedLibManager
* Interpolate
* Return exit code from dlclose/FreeLibrary
* Skip all calls to externs in BlipBufDll when using mono
* Use PlatformLinkedLibManager in SevenZipLibraryManager
* Add expected return value to workaround (from testing on Win32)
* Remove ".dll" from DllImport attr, remove temporary workaround, see desc.
The library can be built by changing the output file name in
`.../blip_buf/Makefile` to `libblip_buf.so`, and running `make`. It will be
loaded if placed in the `.../output` folder.
* Remove unused code, add TODO (this class is req. for Waterbox.PeWrapper)
The TODO is to [rewrite with
C#](https://docs.microsoft.com/en-us/dotnet/standard/io/memory-mapped-files)
instead of importing from `kernel32.dll`.
* Update OpenTK again but better (for #1384)
* Add Mono run script
* Add libblip_buf.so (temporary)
Temporary because it should be a separate package which BizHawk depends on.
* Add distro detection, add "already running" and "unknown distro" messages
* Gray-out Lua Console on Unix
* Extract superclass from EmuLuaLibrary, add shell implementation for Unix
* Specify libdl version, Fedora doesn't have the versionless symlink
* Remove empty `ToolStripMenuItem`, null `Text` caused crash on Unix
* Transform OpenTK keyboard input into a `List<KeyEvent>` and read that
Also fixes crash on rebind
* Remove debug `using ...;`
2019-01-04 01:50:55 +03:00
nattthebear ebe789eed2 heh 2017-05-10 07:45:23 -04:00
zeromus 0341d24bc8 I think more stuff needed thread locking for more time in 7z library manager 2015-06-30 19:43:59 -05:00
adelikat 4b321847a4 ugh, just disable all warnings in ArchiveUpdateCallback.cs 2014-12-04 00:02:01 +00:00
adelikat 471b73eb0b disable an annoying warning in 7z code, since we don't really maintain it, I won't fix it, just hide it 2014-12-03 23:57:26 +00:00
zeromus 4eeb48db13 block the use of the input stream length property by unmanaged 7z code. I think it was only using it for progress reporting. 2014-10-12 02:49:02 +00:00
zeromus 0303871ac5 sevenzipsharp - remove broken code which was requiring input streams to be seekable so that it could get their length so that it could produce a percent-based progress report 2014-10-11 21:26:39 +00:00
adelikat 7eb7071c1d Make warnings go away 2014-07-22 23:18:44 +00:00
zeromus 5f4ca3fe62 apply sevenzipsharp r84075 (17-jun-2013) which contained fixes including locks for the static library initialization that was striking us in the multi-threaded movie scanning code 2014-07-22 07:47:21 +00:00
adelikat f3bb7421ed detangle and move some savestate code to client.common 2013-11-01 20:53:47 +00:00
adelikat 46a888e6d4 Remove some 7z Test files that are now no longer needed 2013-10-25 12:52:53 +00:00
adelikat 3008020a4b fix 7z loading 2013-10-25 03:04:27 +00:00
zeromus 6616a75cfb etc 2013-10-25 00:59:34 +00:00
zeromus 249ddea268 revert to pre-refactor state. its a WIP, dont judge 2013-10-25 00:34:01 +00:00
adelikat f1089e214c Move 7z stuff and HawkFile to client.common 2013-10-24 23:04:29 +00:00