multistockfish_chess 0.5.1
multistockfish_chess: ^0.5.1 copied to clipboard
Stockfish C++ library for chess and chess 960.
0.5.1 #
- Fix
Failed to lookup symbol 'stockfish_init'on iOS in archived (Release/TestFlight/ App Store) builds. Under Swift Package Manager the library is linked statically into the app binary, and Xcode's archive step strips that binary with its default "All Symbols" style, which removed the plugin's exports from the symbol table and the exports trie. The entry points are now weak definitions, whichstrippreserves.
0.5.0 #
- Refuse to run a second engine while one is still alive, instead of racing it over the engine's process-global state.
- Reuse the communication pipes across restarts instead of allocating a new pair each time, which leaked two file descriptors per start.
- Never block in
stdin_write: the input pipe is non-blocking, so a write to an engine that has stopped reading now reports a failure instead of hanging the calling thread. - Discard anything left in either pipe by a previous run.
- Report failures through
last_error(), and the engine's lifecycle position throughphase(),phase_step()andphase_elapsed_ms(), so an engine that will not start or will not quit can say where it is stuck. - Report an error instead of running when
dup2fails, when the engine throws, or when the output pipe reaches end of file (which previously spun the reader).
0.4.0 #
- Migrate to Swift Package Manager.
0.3.0 #
- Update Stockfish to version 18.
0.2.1 #
- Fix Pod target configuration.
0.2.0 #
- Use last Stockfish as well on armv7 devices.
- Do not embed NNUE files in the app bundle.
0.1.0 #
Initial version.