<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/standard/tests/strings, branch dev</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/'/>
<entry>
<title>Fixed stripslashes when magic_quotes_sybase is enabled, and add a test for</title>
<updated>2002-06-18T11:51:06+00:00</updated>
<author>
<name>Sander Roobol</name>
<email>sander@php.net</email>
</author>
<published>2002-06-18T11:51:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=ace4a23dfcf7a812b25d03638971b330c486d2a2'/>
<id>ace4a23dfcf7a812b25d03638971b330c486d2a2</id>
<content type='text'>
add- and stripslashes().
# this time without cvs messing up and aborting, hopefully :)

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
add- and stripslashes().
# this time without cvs messing up and aborting, hopefully :)

</pre>
</div>
</content>
</entry>
<entry>
<title>Fix stripslashes when magic_quotes_sybase is enabled, and add a test for</title>
<updated>2002-06-18T11:42:21+00:00</updated>
<author>
<name>Sander Roobol</name>
<email>sander@php.net</email>
</author>
<published>2002-06-18T11:42:21+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=07975157ebb957894cb4f5ea5969a4effb0bb1c7'/>
<id>07975157ebb957894cb4f5ea5969a4effb0bb1c7</id>
<content type='text'>
add- and stripslashes().

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
add- and stripslashes().

</pre>
</div>
</content>
</entry>
<entry>
<title>Fix calculation of output buffer size in wordwrap(). (Thanks to Wez.)</title>
<updated>2002-03-18T02:00:57+00:00</updated>
<author>
<name>jim winstead</name>
<email>jimw@php.net</email>
</author>
<published>2002-03-18T02:00:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=349936c93e83ab79d917473ee491a4c7be7f7db2'/>
<id>349936c93e83ab79d917473ee491a4c7be7f7db2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- Fix tests to work with CLI</title>
<updated>2002-03-05T09:00:56+00:00</updated>
<author>
<name>Derick Rethans</name>
<email>derick@php.net</email>
</author>
<published>2002-03-05T09:00:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=39225a22b8dacd35f793127d58dc7992ecfc9bb1'/>
<id>39225a22b8dacd35f793127d58dc7992ecfc9bb1</id>
<content type='text'>
#- Not totally done, but this makes it a lot better

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
#- Not totally done, but this makes it a lot better

</pre>
</div>
</content>
</entry>
<entry>
<title>More tweaking of wordwrap() with the cut parameter set. It was being a</title>
<updated>2002-01-05T23:49:58+00:00</updated>
<author>
<name>jim winstead</name>
<email>jimw@php.net</email>
</author>
<published>2002-01-05T23:49:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=4fb4c6d4b39d2e9357d6050286087b40d116193c'/>
<id>4fb4c6d4b39d2e9357d6050286087b40d116193c</id>
<content type='text'>
little too aggressive and cutting words without breaking at spaces
first. (A couple of tests were incorrect.)

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
little too aggressive and cutting words without breaking at spaces
first. (A couple of tests were incorrect.)

</pre>
</div>
</content>
</entry>
<entry>
<title>New memcpy()-based wordwrap() implementation. The simple case</title>
<updated>2002-01-05T20:46:43+00:00</updated>
<author>
<name>jim winstead</name>
<email>jimw@php.net</email>
</author>
<published>2002-01-05T20:46:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=ca15b22212d3ea30c931e4cb7f4e1be869ed36fc'/>
<id>ca15b22212d3ea30c931e4cb7f4e1be869ed36fc</id>
<content type='text'>
(single-character break, no forced break) appears to be about 60%
faster, and there's simply no comparison for non-simple cases with
non-trivial amounts of text. The old algorithm was O(n^2) (with an
unfortunately large constant factor) because of the use of strncat(),
the new one is O(n). Added some more tests, too.
@ - Made wordwrap() significantly faster. (Jim)
# test case: $t = join('',file('ChangeLog')); $w = wordwrap($t,10,"\n",1);
# new code completes in less than a second. i'm still waiting for the
# old code to finish.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(single-character break, no forced break) appears to be about 60%
faster, and there's simply no comparison for non-simple cases with
non-trivial amounts of text. The old algorithm was O(n^2) (with an
unfortunately large constant factor) because of the use of strncat(),
the new one is O(n). Added some more tests, too.
@ - Made wordwrap() significantly faster. (Jim)
# test case: $t = join('',file('ChangeLog')); $w = wordwrap($t,10,"\n",1);
# new code completes in less than a second. i'm still waiting for the
# old code to finish.

</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed segfault in wordwrap() when wrapping to zero width and using</title>
<updated>2002-01-04T19:48:08+00:00</updated>
<author>
<name>jim winstead</name>
<email>jimw@php.net</email>
</author>
<published>2002-01-04T19:48:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=f68b7c5f3ebdde46f4da5db40189bcd36caba033'/>
<id>f68b7c5f3ebdde46f4da5db40189bcd36caba033</id>
<content type='text'>
multi-character break or trying to force cut (bug #12768, now fails
and issues a warning because forcing a zero-width cut doesn't make
sense). Also converted to new paramater-passing API and avoid making
an extra copy of the return values.
# also added tests.
@- Fixed segfault in wordwrap() when wrapping to zero width and using
@  multi-character break or trying to force cut (bug #12768). (Jim)

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
multi-character break or trying to force cut (bug #12768, now fails
and issues a warning because forcing a zero-width cut doesn't make
sense). Also converted to new paramater-passing API and avoid making
an extra copy of the return values.
# also added tests.
@- Fixed segfault in wordwrap() when wrapping to zero width and using
@  multi-character break or trying to force cut (bug #12768). (Jim)

</pre>
</div>
</content>
</entry>
<entry>
<title>fix strtr() when called with two parameters. this has been broken for some time!</title>
<updated>2001-09-13T10:48:41+00:00</updated>
<author>
<name>Thies C. Arntzen</name>
<email>thies@php.net</email>
</author>
<published>2001-09-13T10:48:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=e929389eeb2821fa18083bce6e62580697de5983'/>
<id>e929389eeb2821fa18083bce6e62580697de5983</id>
<content type='text'>
guys, when "optimizing" functions you _shoudl_ write a testcase for the
working function and make _sure_ that it works afterwards!

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
guys, when "optimizing" functions you _shoudl_ write a testcase for the
working function and make _sure_ that it works afterwards!

</pre>
</div>
</content>
</entry>
<entry>
<title>Didn't commit the correct trim.phpt, it now passes</title>
<updated>2001-08-05T19:06:34+00:00</updated>
<author>
<name>Jeroen van Wolffelaar</name>
<email>jeroen@php.net</email>
</author>
<published>2001-08-05T19:06:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=71a6c03bef4153a9a036b07523014351e20fe490'/>
<id>71a6c03bef4153a9a036b07523014351e20fe490</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>More tests</title>
<updated>2001-08-05T18:38:48+00:00</updated>
<author>
<name>Jeroen van Wolffelaar</name>
<email>jeroen@php.net</email>
</author>
<published>2001-08-05T18:38:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=860be31caee9fd58a31cb14fbd3f67ec9c76d344'/>
<id>860be31caee9fd58a31cb14fbd3f67ec9c76d344</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
