今日は不要コードの削除、テストの並列実行対策、テストの単純化、ビルドシステムのリファクタリング、parent:: の検証をコンパイル時に行う修正のリバート、opcache のバグ修正、一部テストの Windows 対応、Travis ビルドのオプション修正があった!
2019-03-04
petk: [ci skip] Remove oniguruma and libzip leftovers
- https://github.com/php/php-src/commit/cb77d9c3cc1deb36cd18c661ae37e7a6c712449b
- [7.4~]
- バンドルされなくなった鬼車、libzip の名残を削除
nikic: Use separate directories for win32 dir tests
- https://github.com/php/php-src/commit/15711a4db0805999ee1e372b96f909b3db1a0b1e
- [7.4~]
- win32 のディレクトリ操作系のテストで、別々の一時ディレクトリを作るよう修正
- 並列実行対策
nikic: Use separate output files in x2gd tests
- https://github.com/php/php-src/commit/e27ba75e0f2929cc2ecbbb45761eec60fd9abffb
- [7.4~]
- ext/gd で、ホニャララ2gd() のテストで別々の一時ファイルを作るよう修正
- 並列実行対策
nikic: Don't generate script for proc_open_pipes tests
- https://github.com/php/php-src/commit/6be93b29ebc54ffcfd3ed689885c7040609a38aa
- [7.4~]
- proc_open() のテストで、sleep() するだけのスクリプトを生成するスクリプトが謎にあったが、実行時に生成する意味なくね?と、生成後のスクリプトを直接リポジトリに入れて使うよう修正
petk: Remove mkinstalldirs, install-sh and missing
- https://github.com/php/php-src/commit/1c32d751c7cb2abf26b1589f26c80558597e489b
- [7.4~]
- ビルドシステムで、不要に空ファイルを生成していた mkinstalldirs、install-sh、missing に関する記述を削除
- Automake 用のファイルだったが、今現在使われていない
petk: Replace PHP_TM_GMTOFF with AC_CHECK_MEMBERS
- https://github.com/php/php-src/commit/a8c3e22d231a9993c253d446ce23425662ac1645
- [7.4~]
- ビルドシステムで、PHP_TM_GMTOFF を autoconf の AC_CHECK_MEMBERS で置き換え
nikic: Revert "Detect invalid uses of parent:: during compilation"
- https://github.com/php/php-src/commit/deb44d405eb27a6654ad9a57c1e5f641218b22a4
- [7.4~]
- 先日の修正をリバート
- Mockery が親の有無によらず
parent::
を使っていて、少なくとも 7.4 で BC 崩すほどじゃないや、となったらしい
petk: Move Makefile.global and Makefile.gcov to build directory
- https://github.com/php/php-src/commit/2957651c5c2a003e96318fc9217764b91266723a
- [7.4~]
- Makefile.global と Makefile.gcov を build/ 下へ移動
nikic: Fixed bug #77691
- https://github.com/php/php-src/commit/3f00c9367d080bfa6153d6c7673f3ca4fad73c31
- [7.2~]
- ext/opcache で、関数呼び出し時の引数指定において配列への代入を行うと、渡される引数が代入された値でなく代入された配列となる問題の修正
- あ、正しくはそうなるんだこれという感じもありつつ、添え字指定してる場合を考えるとですよねみたいな
weltling: Fix test portability
- https://github.com/php/php-src/commit/040196972c7a757200c2e1aa88f360322c38ffde
- [7.2~]
- テストの移植性向上
- やってるの weltling の人だし、たぶん Windows 対応なんだけど、ディレクトリセパレータっぽい %e ってここだと何の奴だ、と思ったら run-tests.php の奴か
- このへん str_replace() で自前置き換えなんだなー
Fabien Villepinte: Replace --with-gd by --enable-gd for Travis
- https://github.com/php/php-src/commit/972a65c882b09e92708020ea278d133bbcb0d98a
- [7.4~]
- Travis で --with-gd を --enable-gd で置き換え