Commit Graph

8285 Commits

Author SHA1 Message Date
foobar
3e23ab6893 Made the fribidi-config search a bit better. 2002-10-12 01:14:42 +00:00
Tal Peer
814373e8b7 Use var_dump instaed of plain echo 2002-10-11 20:20:52 +00:00
Moriyoshi Koizumi
f5b53c17ab Improved the test cases so that they will be skipped rather than failed, if libiconv is not used. 2002-10-11 18:07:47 +00:00
Markus Fischer
f43e4cc93d - Document were the first test came from. 2002-10-11 18:06:15 +00:00
Moriyoshi Koizumi
764df05768 *** empty log message *** 2002-10-11 17:48:39 +00:00
Moriyoshi Koizumi
adbdd71dc8 Fixed possible compile-time failure 2002-10-11 17:01:34 +00:00
foobar
e7b49d64a6 Renamed and fixed constant 2002-10-11 15:50:37 +00:00
foobar
12c713cf7f - Removed ext/icap (ext/mcal is the one to be used) 2002-10-11 15:30:44 +00:00
foobar
0654763cc6 ws fix 2002-10-11 15:25:36 +00:00
Ilia Alshanetsky
8c6088839b Added test for explode() function. 2002-10-11 15:19:57 +00:00
Ilia Alshanetsky
b7917def13 Fixed bug #19865 2002-10-11 14:48:25 +00:00
Christian Stocker
0e384b473b text and comment nodes do not have children... test was wrong, implementation
is right :)
2002-10-11 14:02:59 +00:00
Christian Stocker
820e5b766a node->attributes returns null, if there are no attributes. 2002-10-11 14:00:12 +00:00
Derick Rethans
e06550f853 - Fix problem with var_export when objects with numeric indexes were
exported. We now skip those, as there is no way to export valid code for
  it.
2002-10-11 13:49:20 +00:00
foobar
edc755aa54 fix typo. 2002-10-11 13:43:24 +00:00
Derick Rethans
5a6243a4b5 - Change constant name 2002-10-11 13:09:48 +00:00
Sander Roobol
524c9ef26a Fixed problems with the new nl2br() and beautified the code a little.
Closes #19858.
2002-10-11 12:42:01 +00:00
Derick Rethans
4da5ec8965 - Add case for bug 19858 2002-10-11 11:03:36 +00:00
Derick Rethans
bbf6b5fee4 - Skip if an external lib gd is used (which always has this crash-bug) 2002-10-11 10:08:42 +00:00
Derick Rethans
7713b4097d - Add indetified for bundled GD 2002-10-11 09:49:38 +00:00
Derick Rethans
03b3478754 - Style polizei :) 2002-10-11 08:15:05 +00:00
Moriyoshi Koizumi
d2f99493a0 Reformatted.
# Still bad?
2002-10-11 08:01:18 +00:00
Moriyoshi Koizumi
1a867685a0 Added ICONV_IMPL and ICONV_VERSION constants.
@- Added ICONV_IMPL and ICONV_VERSION constants to iconv extension to
@  indicate which iconv implementation is used. (Moriyoshi)
2002-10-11 07:50:47 +00:00
Moriyoshi Koizumi
fe79eaf08f Added set_time_limit(); We should stop it in some time. See the comment in the script for detail. 2002-10-11 07:38:18 +00:00
Sebastian Bergmann
fcf35e7b4c Fix ZTS build. 2002-10-11 04:44:14 +00:00
Ilia Alshanetsky
287b7f9bcb Switched from localeconv to localeconv_r, which is apparently thread-safe. 2002-10-11 03:19:38 +00:00
Sterling Hughes
f61889e72d revert patch 2002-10-10 19:24:45 +00:00
Melvyn Sopacua
641f346cf6 Another small test for iconv transliteration, from GNU libiconv testkit 2002-10-10 19:06:00 +00:00
Andrey Hristov
cd282dad98 ws fixes 2002-10-10 18:41:24 +00:00
Moriyoshi Koizumi
9520422501 Fixed the encoding 2002-10-10 17:16:46 +00:00
Moriyoshi Koizumi
7b3fb01072 Updated the test cases so that they use mb_regex_set_options.
Added a test for mb_regex_set_options.
2002-10-10 17:05:04 +00:00
Moriyoshi Koizumi
2f88f504c1 Fixed mb_regex_set_options() 2002-10-10 17:00:36 +00:00
Moriyoshi Koizumi
70742ae9b6 --disable-mbregex had no effect 2002-10-10 16:57:52 +00:00
Melvyn Sopacua
e4e53bb4b3 It used to be 003 2002-10-10 16:49:33 +00:00
Ilia Alshanetsky
bc14a6f133 This patch fixes handling of floats on locales where decimal point is not a
'.'. Problem is best demonstrated by bug #17079.
2002-10-10 16:29:35 +00:00
Melvyn Sopacua
d49b576243 Fix platform dependencies, setlocale output, bug #19836 2002-10-10 15:27:11 +00:00
Ilia Alshanetsky
67c081afd6 Fixed a few more memory leaks. 2002-10-10 14:46:18 +00:00
foobar
1b5ee53dd7 - Fix the text alignment to be about same in any browser.
# Please test this, it's now same in NS 4.78 (linux), IE 5.5 and
# Mozilla 1.2a (win32). (I don't have any other browsers installed now)
2002-10-10 04:28:15 +00:00
foobar
d448bd7840 Be consistent with other extensions. 2002-10-10 04:26:03 +00:00
foobar
9029b356b2 - Cleaned up some code and used the proper macros for ZTS stuff.
- Fixed a memleak.
- Fixed a bug in pfpro_process() when response contains only 2 entries.
  (random garbage added in the end of the value + key sometimes wrong)

# Sorry for including the ws fixes..I got carried away when fixing that bug
2002-10-10 02:23:24 +00:00
foobar
7c7905468b - Fixed the payflowpro version check and cleaned up this a bit. 2002-10-10 00:24:26 +00:00
foobar
1345c76162 Revert previous change, it did not fix anything. 2002-10-09 23:18:47 +00:00
Melvyn Sopacua
418908f994 Test for standard transliteration.
Original check-translit from GNU libiconv-1.8
2002-10-09 23:16:39 +00:00
James Cox
fbd4b1733d overrule <center> 2002-10-09 22:32:01 +00:00
Derick Rethans
c10b169670 - Use a more descriptive filename 2002-10-09 20:30:30 +00:00
Jan Lehnardt
d888b62eb2 - remove ext/cybercash
- http://www.verisign.com/support/cyberCash/dnsChangeNotification.html

 - The migration of CyberCash merchants to the VeriSign Payflow service is
 - scheduled for completion in mid-February. At that time we will begin the
 - shutdown of the CyberCash payment gateway and all related systems. This
 - final shutdown process requires us to change DNS for the VeriSign Payflow
 - service. The DNS change is scheduled at approximately 6PM ET on February 28,
 -  2002.
@- removed ext/cybercash (jan)
2002-10-09 20:20:18 +00:00
Moriyoshi Koizumi
cfcfd094e9 Renamed the test case files in order to avoid confusion 2002-10-09 20:19:13 +00:00
Jan Lehnardt
1df2d5eecb - let's talk about leftovers..... 2002-10-09 19:36:54 +00:00
Jan Lehnardt
e797cdb421 - fix alignment 2002-10-09 19:27:16 +00:00
Jan Lehnardt
a3fea96a7a - note aspell 2002-10-09 19:25:17 +00:00
Jan Lehnardt
4aed2f2308 - R.I.P. ext/ccvs.
@- removed ext/ccvs (jan)
2002-10-09 19:15:31 +00:00
Jan Lehnardt
31b0867fe6 - R.I.P. ext aspell
@- removed ext/aspell (jan)
#configure note follows
2002-10-09 19:12:32 +00:00
Jan Lehnardt
6b3234f3d4 - fix build on FreeBSD, verified by thies. 2002-10-09 18:59:15 +00:00
Sterling Hughes
2c4aa71d32 clean these functions up using zend_parse_parameters and nuke the use of
HASH_OF() which is inappropriate in these cases...
2002-10-09 18:29:45 +00:00
Sterling Hughes
521a9bdadc small cleanups... 2002-10-09 17:15:56 +00:00
Colin Viebrock
46a96d9363 no charsets, only basic entity escaping 2002-10-09 14:39:39 +00:00
Derick Rethans
6b3820a510 - Skip when GD is not available 2002-10-09 13:54:21 +00:00
Andrey Hristov
868ae8b6e0 ws fixes. 2002-10-09 13:50:06 +00:00
Derick Rethans
f6f58fc300 - Added test case for bug #19266 2002-10-09 13:48:28 +00:00
Zak Greant
70e49320f1 Removed spurious code. Thanks Derick 2002-10-09 13:46:18 +00:00
Ilia Alshanetsky
a75eb9c4dd Optimizations to various php string functions substr_count(), strrev(),
nl2br(), php_addslashes() and php_memnstr().
2002-10-09 13:37:02 +00:00
Ilia Alshanetsky
40d1127568 Fixed memory leaks. 2002-10-09 13:29:10 +00:00
Zak Greant
6a590082ca Minor tweak - using memcpy(), instead of strcpy() for static strings. Gives better performance. Thanks Zeev. 2002-10-09 13:05:42 +00:00
Rui Hirokawa
382a92cc5a added @ to suppress a notice. 2002-10-09 12:54:52 +00:00
Zak Greant
0ecf32f750 Possible fix for bug #19529 (thanks Rasmus, Arjen and Monty)
Major changes to _restore_connection_defaults
 - added code block to finds and releases the active mysql result (if any)
 - this should prevent the 'Commands out of sync' error that would be
   raised when a query is made when unfreed results exist

Minor changes to _restore_connection_defaults
 - replaced calls to mysql_real_query with mysql_query
   - we probably should not be using mysql_real_query without checking to
     see if we have a version that supports the function.
   - given that we control the query strings here and do not need to
     worry about binary safety, I am using mysql_query instead
   - see the bug report for further discussion
2002-10-09 12:33:40 +00:00
Andrey Hristov
0e5ff737f4 Test case for str_shuffle(). 2002-10-09 10:53:27 +00:00
Andrey Hristov
16a82f2b47 Returning to the old behavior of str_shuffle() a bit. Now the passed string is
left unmodified and the shuffled string is returned.
2002-10-09 10:33:22 +00:00
Markus Fischer
121d4d1ef0 - Fix protos (resource instead of int for stream_id, fix some return protos,
consistent usage of options instead of flags).
- Make imap_ping,imap_setquota and imap_setacl  return a real (bool) now.
2002-10-09 09:20:46 +00:00
Zak Greant
dbf1d82afa Set default value for mysql.connect_timeout to -1. This setting matches the setting in php.ini-dist and ensures that the default behavior is to leave connect_timeout alone. 2002-10-09 07:34:48 +00:00
Ilia Alshanetsky
7d19c1b9e5 Added nl2br() test 2002-10-08 23:46:02 +00:00
Ilia Alshanetsky
8c77e13e92 Added test for strrev() function. 2002-10-08 21:51:59 +00:00
Andrei Zmievski
3b60494829 Tokenizer has been stable for some time now. 2002-10-08 20:12:55 +00:00
Ilia Alshanetsky
e672ce4ccc Fixed bug #19280 2002-10-08 20:07:52 +00:00
Colin Viebrock
080c7a789e don't define fonts ... use the browser defaults 2002-10-08 19:42:23 +00:00
Derick Rethans
4a54968c71 - hardcode default rewriting tags 2002-10-08 18:30:38 +00:00
Moriyoshi Koizumi
579a1c3ab1 ZTS fixes 2002-10-08 17:20:10 +00:00
Melvyn Sopacua
03777770c0 Fix config bug reported by Jan Lehnart.
Keep it simple, and the size of a pointer is always known, duh.
2002-10-08 16:20:20 +00:00
Moriyoshi Koizumi
e9444610eb Removed table generating code. The return values of isalnum() may vary by the locale setting. 2002-10-08 15:15:50 +00:00
Ilia Alshanetsky
8f4276b61d Fixed memory leak. 2002-10-08 14:57:06 +00:00
Tal Peer
be7da25930 Enhanced test to also check charsets CP1255 and ISO-8859-8 2002-10-08 14:08:17 +00:00
Derick Rethans
2af2e62850 - Add the source file too 2002-10-08 10:01:34 +00:00
Derick Rethans
f0c1345cb6 - Add blowfish compatibility test 2002-10-08 10:00:52 +00:00
Andrey Hristov
0ad8b4aa10 Now str_shuffle() has the randomization characteristics of shuffle().
str_shuffle() won't return anymore the randomized string and thus will be
consistent with shuffle(). Since this function is new to 4.3.0 no BC
problems.
#Thanks to Adam Trachtenberg for providing good example to check the
#permuations distribution.
2002-10-08 09:52:59 +00:00
Derick Rethans
2005705272 - Skip if the function is not available (in case pcre was not compiled in). 2002-10-08 09:46:31 +00:00
Tal Peer
6d80a07ba0 Added test to check if charsets constants are defined 2002-10-08 08:17:03 +00:00
Derick Rethans
bde85234d6 - Please do not use notices for debug information 2002-10-08 08:01:06 +00:00
Derick Rethans
5a84ae6489 - Use error_reporting E_ALL 2002-10-08 07:55:02 +00:00
Sebastian Bergmann
af8230e28c Fix ZTS build. 2002-10-08 05:08:39 +00:00
Rasmus Lerdorf
0179bd7657 Get rid of redundant loop 2002-10-08 00:16:55 +00:00
Rasmus Lerdorf
69677a7a67 FreeBSD ming port sticks ming.h in /usr/local/include/ming/ming.h and
we weren't finding it there.
2002-10-08 00:15:10 +00:00
Rasmus Lerdorf
5acdd41d6e Make zlib-dir actually mean something during the check 2002-10-07 22:27:50 +00:00
Dan Kalowsky
164188d122 Fix for bug #19798 (submitted by mclap@simpage.mv.ru) 2002-10-07 21:58:56 +00:00
Rasmus Lerdorf
74286bd28d Argh! Revert. I'm on drugs. Was linking in a newer libz when I checked
this.
2002-10-07 21:13:46 +00:00
Ilia Alshanetsky
d6775c5c3f Added tests for strstr(), strpos() and substr_count() functions. 2002-10-07 21:07:42 +00:00
Rasmus Lerdorf
a6b780f94e Oops, should still define that. Didn't think I needed it as nothing in
ext/zlib checks it, but it is checked elsewhere.
2002-10-07 20:59:59 +00:00
Rasmus Lerdorf
6446f7158b This restriction is no longer true after the streams changes. 2002-10-07 20:55:41 +00:00
Moriyoshi Koizumi
8f1fb5768b Fixed typo. 2002-10-07 20:12:48 +00:00
Tal Peer
0ae2166fbe Initial commit of fribidi_log2vis test 2002-10-07 19:35:30 +00:00
Moriyoshi Koizumi
a0f61c9c51 Added test cases for mbregex 2002-10-07 18:02:05 +00:00
Moriyoshi Koizumi
2e1d931c66 Lots of clean-up for upcoming mbstring merging event.
Added mb_regex_set_options().
The Options parameters of various mbregex functions are now deprecated.
@- Added mb_regex_set_options(). The Options parameters of
@  various mbregex functions are now deprecated. (Moriyoshi).
2002-10-07 17:59:49 +00:00
Andrei Zmievski
6863d70ef3 Use a copy of locale instead of the original. Fixes bug #19482. 2002-10-07 17:16:23 +00:00
David Viner
0803ebfa3e adding test of xslt_set_object
--dviner
2002-10-07 16:59:08 +00:00
Moriyoshi Koizumi
931e25297b fixed mb_split (the value of third parameter treated wrongly) 2002-10-07 16:46:42 +00:00
Rasmus Lerdorf
ef9b51bcb0 readdir() was returning NULL instead of FALSE when used on an invalid
directory handle.  If someone forgot to check (as someone here did) that
the opendir() succeeded, and then followed the documented usage by checking
readdir()!==FALSE things would go awry.  The ZEND_FETCH_RESOURCE macro
explicitly does a RETURN_NULL on failure which is not what we want in this
case, so work around it.  No need to change it for the OO case since the
object is not created if the opendir fails.
2002-10-07 16:46:38 +00:00
Moriyoshi Koizumi
9b849892ea MFH 2002-10-07 16:15:36 +00:00
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