<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/zlib/tests, branch php-7.4.0beta4</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/'/>
<entry>
<title>Report errors from stream read and write operations</title>
<updated>2019-07-22T15:17:28+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-07-18T13:25:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=d59aac58b3e7da7ad01a194fe9840d89725ea229'/>
<id>d59aac58b3e7da7ad01a194fe9840d89725ea229</id>
<content type='text'>
The php_stream_read() and php_stream_write() functions now return
an ssize_t value, with negative results indicating failure. Functions
like fread() and fwrite() will return false in that case.

As a special case, EWOULDBLOCK and EAGAIN on non-blocking streams
should not be regarded as error conditions, and be reported as
successful zero-length reads/writes instead. The handling of EINTR
remains unclear and is internally inconsistent (e.g. some code-paths
will automatically retry on EINTR, while some won't).

I'm landing this now to make sure the stream wrapper ops API changes
make it into 7.4 -- however, if the user-facing changes turn out to
be problematic we have the option of clamping negative returns to
zero in php_stream_read() and php_stream_write() to restore the
old behavior in a relatively non-intrusive manner.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The php_stream_read() and php_stream_write() functions now return
an ssize_t value, with negative results indicating failure. Functions
like fread() and fwrite() will return false in that case.

As a special case, EWOULDBLOCK and EAGAIN on non-blocking streams
should not be regarded as error conditions, and be reported as
successful zero-length reads/writes instead. The handling of EINTR
remains unclear and is internally inconsistent (e.g. some code-paths
will automatically retry on EINTR, while some won't).

I'm landing this now to make sure the stream wrapper ops API changes
make it into 7.4 -- however, if the user-facing changes turn out to
be problematic we have the option of clamping negative returns to
zero in php_stream_read() and php_stream_write() to restore the
old behavior in a relatively non-intrusive manner.
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate alternative array access syntax</title>
<updated>2019-07-19T08:06:10+00:00</updated>
<author>
<name>rjhdby</name>
<email>andrewgrom@rambler.ru</email>
</author>
<published>2019-03-13T10:51:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=d574df63dc375f5fc9202ce5afde23f866b6450a'/>
<id>d574df63dc375f5fc9202ce5afde23f866b6450a</id>
<content type='text'>
RFC: https://wiki.php.net/rfc/deprecate_curly_braces_array_access
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RFC: https://wiki.php.net/rfc/deprecate_curly_braces_array_access
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unnecessary uses of restore_include_path() in tests</title>
<updated>2019-07-12T10:54:26+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-07-12T10:17:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=9345c191db71a5d0125218b60d333b3ef293df27'/>
<id>9345c191db71a5d0125218b60d333b3ef293df27</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix mac tests on azure</title>
<updated>2019-06-14T10:55:00+00:00</updated>
<author>
<name>Joe Watkins</name>
<email>krakjoe@php.net</email>
</author>
<published>2019-06-13T09:28:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=f16b012116d6c015632741a3caada5b30ef8a699'/>
<id>f16b012116d6c015632741a3caada5b30ef8a699</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use *.data for fixture files</title>
<updated>2019-05-17T01:59:23+00:00</updated>
<author>
<name>Peter Kokot</name>
<email>peterkokot@gmail.com</email>
</author>
<published>2019-05-17T01:59:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=bd1bd38a3579a6507551a2cfa34713cdc92cf081'/>
<id>bd1bd38a3579a6507551a2cfa34713cdc92cf081</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix file name clash in zlib tests</title>
<updated>2019-04-26T13:05:42+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-04-26T13:05:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=2371c65a283c441efdb5a9b35b40b9b1b9410233'/>
<id>2371c65a283c441efdb5a9b35b40b9b1b9410233</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make zlib include_path tests more robust</title>
<updated>2019-04-10T11:39:17+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-04-10T11:39:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=397ee767fd87f240683fead2a768179624ee25f0'/>
<id>397ee767fd87f240683fead2a768179624ee25f0</id>
<content type='text'>
One file is placed inside the script directory, we need to make
sure it has a unique name as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
One file is placed inside the script directory, we need to make
sure it has a unique name as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace dirname(__FILE__) by __DIR__ in tests</title>
<updated>2019-03-15T21:55:30+00:00</updated>
<author>
<name>Fabien Villepinte</name>
<email>fabien.villepinte@gmail.com</email>
</author>
<published>2019-03-15T21:55:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=26dfce7f36d1c6f737ac241df1315a1b42b932c7'/>
<id>26dfce7f36d1c6f737ac241df1315a1b42b932c7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove more zpp error tests</title>
<updated>2019-03-05T10:02:31+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-03-05T09:39:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=94d509363d996d3ab8b5441f5b0668c0f22799e6'/>
<id>94d509363d996d3ab8b5441f5b0668c0f22799e6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix directory collisions in zlib tests</title>
<updated>2019-02-22T10:25:52+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-02-22T10:11:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=1c9fe3042560b63b35daefbe57306c4164a672af'/>
<id>1c9fe3042560b63b35daefbe57306c4164a672af</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
