Commit Graph

8080 Commits

Author SHA1 Message Date
Stefan Esser
a8191a66c1 never smash the stack... 2002-10-07 16:11:30 +00:00
Stefan Esser
5619a3d0a5 fixing possible off by one in error case 2002-10-07 16:05:28 +00:00
foobar
eb67b2476b Fix obvious error.. 2002-10-07 11:08:11 +00:00
Jan Lehnardt
94daa9c26a - fix typo and improve error message 2002-10-07 10:09:07 +00:00
Sascha Schumann
8ca10fb5e8 Call ob_flush to force the buffer contents to go through the rewriter. 2002-10-07 10:07:27 +00:00
Marc Boeren
cee4219e49 Tests will be skipped if a tester does not explicitly specify the
test-database setup in dbx_test.p.
2002-10-07 09:27:02 +00:00
Sascha Schumann
2dde6fb594 Print out warning only, if a variable was actually migrated 2002-10-07 02:37:50 +00:00
Melvyn Sopacua
2628482ee9 (xslt tests) Add test for memory leaks, caused by inapproreate use of
the struct. Memory leak is caused by at least 2 errors on
             handle.
2002-10-06 23:58:51 +00:00
Sebastian Bergmann
d7f9e8526f Silence warning. 2002-10-06 21:47:54 +00:00
Sander Roobol
00a2715eda We're testing stripCslashes() here :) 2002-10-06 19:26:56 +00:00
Sander Roobol
3e222bcbf1 Some more weird tests on Derick's request :) 2002-10-06 19:17:04 +00:00
Sander Roobol
9edfd75a5c Some string tests 2002-10-06 19:12:22 +00:00
Derick Rethans
bd48e0cfe9 - Add new tests for: array_change_key_case, array_chunk and
array_count_values.
2002-10-06 18:42:03 +00:00
Sander Roobol
004d3d3a30 Fix another leak in implode() 2002-10-06 18:39:03 +00:00
Rasmus Lerdorf
76ee49e5b4 Fix for bug 19781 2002-10-06 17:47:50 +00:00
Ilia Alshanetsky
6b5575a101 Code cleanup. Thanks Andi. 2002-10-06 17:17:38 +00:00
Rasmus Lerdorf
f32d63a3b3 Add php_ini_scanned_files() so "make test" can tell you when you have
additional .ini files that are scanned.
2002-10-06 17:04:10 +00:00
Sander Roobol
af14a8e75f You can't detect NULL nicely - false is better and more PHPish. 2002-10-06 17:00:33 +00:00
Rasmus Lerdorf
d940131774 Fix build 2002-10-06 16:37:33 +00:00
Sander Roobol
533fda4121 Fixed getopt() - made it actually work 2002-10-06 16:33:14 +00:00
Melvyn Sopacua
8e1da7dbda MFB 2002-10-06 16:32:24 +00:00
Ilia Alshanetsky
12f47fe85a Added expected data to parse_url() test 2002-10-06 16:15:06 +00:00
Ilia Alshanetsky
1bbb55ec11 Added a much faster parse_url() implementation. This also fixes a number
of bugs in the old parse_url() implementation.
2002-10-06 16:14:42 +00:00
Melvyn Sopacua
a22ab3f8e3 missed this, needed by 007.phpt 2002-10-06 15:51:33 +00:00
Moriyoshi Koizumi
a1b3f8382d added support for aliases of the encodings. 2002-10-06 15:31:52 +00:00
Zeev Suraski
df55f35798 Revert the implicit_flush mess.
Do not revert it again under any circumstances!

Yasuo/anybody else - if there are issues with implicit_flush, please inform
me and I will fix them.
2002-10-06 12:02:53 +00:00
Sander Roobol
68cd067670 Fixed segfault and memory leak in the new implementation of implode() 2002-10-06 11:28:11 +00:00
Sander Roobol
8cf14a42f5 Add testcases for implode() and str_repeat() 2002-10-06 11:26:49 +00:00
Sebastian Bergmann
6ca22a1740 HAVE_MBSTRING awareness. 2002-10-06 09:36:26 +00:00
Sebastian Bergmann
df472058e2 HAVE_MBREGEX awareness. 2002-10-06 09:29:54 +00:00
Zeev Suraski
de36720e0e Begin the cleanup - remove ob_flush_all() 2002-10-06 09:06:24 +00:00
Rasmus Lerdorf
b832af75f0 WS fix - although the entire libgd directory is horrendously formatted.
However, since we are forking existing code, fixing it would make it much
harder to merge any Boutell patches (if they ever come out with any).
2002-10-06 08:39:05 +00:00
Rasmus Lerdorf
731943287f Oops 2002-10-06 08:35:22 +00:00
Rasmus Lerdorf
409620351f Ok, perhaps it's too late at night, but I see absolutely no reason for
this chunk of code here.  Why is it writing a palette.map file to disk
in the middle of this function?  Looks like leftover debug code, and this
particular code seems to be crashing on OSX as per bug #19704.
2002-10-06 07:19:07 +00:00
Rasmus Lerdorf
26b69a7d93 Fix for bug #19700 - code by Wez 2002-10-06 06:47:53 +00:00
Moriyoshi Koizumi
0601d1fc41 made messages more consistent 2002-10-06 06:37:47 +00:00
Moriyoshi Koizumi
55b591365f Warnings for empty regular expressions 2002-10-06 06:21:34 +00:00
Rasmus Lerdorf
72d90fc41c As discussed a while ago, decoding GIF images is not considered a Unisys
LZW patent violation so we can distribute read-only GIF support with
our bundled GD2.  The patent also expires in 2003, which is quickly
approaching, so we can roll in write support soon unless things change.
2002-10-06 06:03:17 +00:00
Frank M. Kromann
797a0dc33c Adding missing include path's to non TS projects 2002-10-06 02:14:22 +00:00
Frank M. Kromann
0d23670b30 Fixing comment allowing the module to compile again 2002-10-06 02:10:19 +00:00
Derick Rethans
b007bd0696 - Add parse_url() tests (expect will follow later)url_t.phpt 2002-10-05 20:28:35 +00:00
Melvyn Sopacua
9bb526c283 (xslt tests) Add test for new backend API (005.phpt), new function
(006.phpt) and a crash test (007.phpt)
             006.phpt also tests handling of public entities, which is in
             essence new to the extension, since there was no way to turn
             it on.
# These new functions and backend will be added shortly.
# TODO: test for xslt_set_object
2002-10-05 19:44:26 +00:00
Melvyn Sopacua
b83d7bbf8a (xslt tests) Test for reference to a non-existing scheme handler. 2002-10-05 16:11:46 +00:00
Melvyn Sopacua
1fbef62ae9 (xslt: error_print) Fixes a leak when multiple error messages are issued
during a transformation.
# It's probably better to wrap this in an internal function, since it's
# easily forgotten.
2002-10-05 14:04:19 +00:00
Wez Furlong
9d5bab5a0d EOF related fixes. 2002-10-05 10:59:35 +00:00
Wez Furlong
93f9eea77d Revert. The problem lies elsewhere. 2002-10-05 10:58:55 +00:00
Wez Furlong
ae36c08b54 Fix Win32 build as PHP_CONFIG_FILE_SCAN_DIR is not #defined. 2002-10-05 10:55:54 +00:00
Wez Furlong
077fe52d8b This seems to resolve the issues with fgets.
I've moved EOF detection into the streams layer; a stream reader
implementation should set stream->eof when it detects EOF.
Fixed test for user streams - it still fails but that is due to an output
buffering bug.
2002-10-05 10:35:13 +00:00
Markus Fischer
945ccfa76a - Remove superfluous E_WARNING if mysql_connect() fails; there's already
an E_WARNING a few lines above.
2002-10-05 00:54:31 +00:00
David Viner
4f98cc5a55 adding the xslt_set_object function (as per discussion on php-dev and
the newly created sab-php@gingerall.cz)
--dviner
2002-10-04 23:06:10 +00:00