Skip to content

oppai 2.0.0-b118

Compare
Choose a tag to compare
@Francesco149 Francesco149 released this 11 Nov 18:03

this is a major release. it has semi-breaking changes. if you depend on oppai's api make sure your code still works before blindly upgrading

UPDATE: linux binaries have been re-uploaded because of incorrect linking of liboppai.so, please redownload

  • [style] refactor everything to a more compact coding style
  • [style] remove all static functions/variables just to avoid clutter
  • [style] typedef all structs to structname_t (backwards comatible, can still use old struct names)
  • [refactor] rewrote the memory management entirely to make code more readable. now strings are allocated using a memory arena and everything else is simple resizable arrays. this performs about the same as the memstack but results in less, more readable code
  • [bug] fix crash on taiko converts when per-node sound types don't match the expected count (#39, #31)
  • [style] make the cli and the test suite compatible with valgrind for more in-depth testing
  • [packaging] added flags to strip dead code and minimize executable size on linux and macOS
  • [feature] added a shared library build (#36)
  • [refactor] add error checking to windows build scripts
  • [refactor] remove usage of double entirely in favor of float
  • [refactor] binary module outputs floats instead of doubles and the ignored deprecated value is gone
  • [test] fixed broken test suite download (rip hnng.moe)
  • [packaging] remove windows docker container as builds are done on appveyor now

linux binaries are manually uploaded shortly after the windows release and statically linked against musl libc

windows binaries should not require the c runtime

x64 and x86_64 mean 64-bit i586 and x86 mean 32-bit

the binary packages include the source code inside the src directory