github jhaizhou-ops/d2r-mobile v1.0.3

latest releases: v2.3.5, v2.3.4, v2.3.3...
one month ago

A newer shell is available: v1.0.18. The shell and the repository must be from the same version; with the current main please use v1.0.18.

已有更新的壳:v1.0.18。壳和仓库必须是同一版,配合现在的 main 请用 v1.0.18。

English

A new shell for the current main. If you use the no-Xcode route, replace your shell with the one on this page and update the repository to this version. This round changes the rewriter's output generation (r40 → r41), and the packaging tool checks that the shell and the repository agree on it, so an older shell is refused with the current main.

If you build with Xcode you do not need the shell; pull main, run ./setup.sh again (it re-does the program rewrite for r41) and rebuild.

What is new since v1.0.2

  • Rewriter fix (r41): in rewritten compare-and-swap sequences, a successful write could be handled as a failed compare, so one operation could be done twice or a lock-free list popped more than once. The exit order of those sequences is corrected, and the equivalence check now forces both directions of the branches involved, so this class of mistake cannot pass unnoticed again.
  • ./setup.sh and the packaging tool find the .NET runtime of a Homebrew install by themselves (#19).

Everything listed under v1.0.2 is included.

Assets

  • D2RMobile-shell.ipa: the shell (for both iPhone and iPad). Its checksum is in SHA256SUMS.txt. Use it with the source of this version.

How this release was checked

Built from the public tree in an empty working directory, in a normal Terminal environment (UTF-8 locale, no DOTNET_ROOT set); packaged once with exactly what you get — this shell, this tree, another empty working directory — and an install package was written; then, on the same fresh tree, the host build, the three unit-test suites and the Mac smoke run. All on a Mac.


中文

配合现在的 main 的新一版壳。**走「不用 Xcode」那条路的朋友,请把壳换成本页这一份,并把仓库更新到这一版。**这一轮改写器的产物换了代(r40 → r41),做包工具会核对壳和仓库的产物代号是否一致,所以旧壳配现在的 main 会被工具拒绝。

用 Xcode 构建的不需要壳:拉取 main,重新运行一次 ./setup.sh(它会按 r41 重做程序改写),再重新构建即可。

相比 v1.0.2 的变化

  • 改写器修正(r41):在改写后的「比较并交换」序列里,写成功有可能被当成比较失败处理,导致一次操作做两遍、或无锁链表被多弹一次。这些序列的出口次序已改对;等价验证现在会把相关分支的两个方向都强制走一遍,这一类错误以后不会再悄悄通过。
  • ./setup.sh 与做包工具能自己找到 Homebrew 装的 .NET 运行时(#19)。

v1.0.2 里列的内容全部包含。

附件

  • D2RMobile-shell.ipa:壳(同时面向 iPhone 与 iPad),校验值见 SHA256SUMS.txt。请与这一版的源码一起用。

这一版是怎么验的

在空的工作目录里、按普通终端的环境(UTF-8 区域、不设 DOTNET_ROOT)从公开的代码出壳;用你拿到的那一套——这份壳、这份代码、另一个空的工作目录——原样做一次包,写出了安装包;随后在同一棵全新的代码上跑了宿主构建、三套单测和 Mac 冒烟。以上都在 Mac 上完成。

Don't miss a new d2r-mobile release

NewReleases is sending notifications on new releases.