Commit Graph

11978 Commits

Author SHA1 Message Date
Ilia Alshanetsky
17b9b2dc85 Added uuencode() & uudecode() functions. 2003-10-27 05:35:41 +00:00
Rob Richards
a807b34427 cannot import nodes without document 2003-10-27 01:12:53 +00:00
Christian Stocker
eb2104d17c remove unneeded variables 2003-10-27 00:03:28 +00:00
Christian Stocker
e5bd8fdd0d - Make distinction in error-reporting between Warnings and Errors from libxml2
- Use internal error_handlers during html-parsing as well
2003-10-27 00:01:39 +00:00
Christian Stocker
70f75fff89 fix test (validation returns a warning, if xml is not valid) 2003-10-26 19:35:08 +00:00
Christian Stocker
4e5d4006fd - added interop between DOM and SimpleXML example
- added xpath example
2003-10-26 19:15:52 +00:00
Christian Stocker
1e46a26f0f fix example for saving to file 2003-10-26 18:56:03 +00:00
Rob Richards
5191cd3e99 add interop with dom - simplexml_import_dom
change write behavior on elements to change actual contents
change clone method to clone node and not document
fix a few libxml mem leaks
2003-10-26 16:00:58 +00:00
Rob Richards
09c09f4279 use common structures from php_libxml.h 2003-10-26 15:57:31 +00:00
Rob Richards
207dc90924 add interop with simplexml - dom_import_simplexml
fix cloneNode with elements
2003-10-26 15:57:02 +00:00
Rob Richards
d29fb55bbb common functions for interoperability 2003-10-26 15:53:20 +00:00
Marcus Boerger
7e90647611 Add attribute test 2003-10-26 13:27:26 +00:00
Marcus Boerger
14911a136f Fix memory corruption 2003-10-26 13:27:03 +00:00
Marcus Boerger
c7995af071 Add foreach test 2003-10-26 13:18:59 +00:00
Marcus Boerger
6131454cca Add iterator to make foreach work 2003-10-26 13:11:56 +00:00
Marcus Boerger
869ce07c96 And get the last thing working 2003-10-26 01:17:51 +00:00
Marcus Boerger
ad172161e0 Add test 2003-10-26 01:04:25 +00:00
Marcus Boerger
2318a83e81 Fix tests 2003-10-26 01:03:21 +00:00
Sebastian Bergmann
b2f860ce6d Patch by Steph to sanitize ssize_t typedef on Windows. 2003-10-26 00:42:42 +00:00
Marcus Boerger
0d95b23a51 Fix casting (the question is when & what should be freed here). 2003-10-26 00:39:48 +00:00
Marcus Boerger
2befd022b1 Fix test 2003-10-26 00:35:56 +00:00
Marcus Boerger
37f6618c64 Allow static methods being called from sqlite sql. Notice by Stphane Mariel 2003-10-25 23:17:15 +00:00
Marcus Boerger
07d94c2410 Fix test 4 with the help of Rob 2003-10-25 23:06:23 +00:00
Marcus Boerger
46251fa3f8 Show if Schemas are supported 2003-10-25 21:28:01 +00:00
Marcus Boerger
873bcefa52 Fix memleaks 2003-10-25 21:08:33 +00:00
Marcus Boerger
0197d5b916 More testing 2003-10-25 21:07:37 +00:00
Marcus Boerger
0a68fb0222 Fix warning 2003-10-25 20:28:39 +00:00
Marcus Boerger
168f2ac787 Fix test 2003-10-25 20:27:48 +00:00
Marcus Boerger
f67510a0d8 Add some testing 2003-10-25 20:00:04 +00:00
Marcus Boerger
da8ce17f7a This forces a better error message for non working clone calls. 2003-10-25 19:28:31 +00:00
Marcus Boerger
fe3db4c7e9 You shall not clone reflection_xx instances 2003-10-25 19:06:35 +00:00
Marcus Boerger
ee0f709e4b - Fixed bug #25581 (getimagesize () return incorrect values on bitmap
(os2) files)
2003-10-25 14:06:29 +00:00
Rui Hirokawa
c4b163de88 encoding detection shouldn't be performed if mbstring.http_input is set to auto or any valid encoding. 2003-10-25 10:29:07 +00:00
Adam Dickmeiss
dca01635d5 For YAZ, RSHUTDOWN closes persistent connections that have been idle
more than yaz.keepalive seconds. Default value for config yaz.keepalive
is 120 seconds. The shutdown prevents many sockets in CLOSE_WAIT state.
2003-10-24 19:32:09 +00:00
Marcus Boerger
eabcb173b1 Revert accidential commit 2003-10-24 18:44:40 +00:00
Marcus Boerger
071eaf8576 Zend/ZEND_CHANGES 2003-10-24 18:24:28 +00:00
Marko Karppinen
074ca45399 Workaround for bug #25955
Generalized a Darwin check in dns.c to a check for inet_pton() (kalowsky)
2003-10-24 17:09:36 +00:00
Ilia Alshanetsky
4d349926ff Fixed some test names.
Removed extraneous \r from a number of tests.
2003-10-24 03:31:57 +00:00
Marcus Boerger
a3d6fb043d Update tests 2003-10-23 07:14:50 +00:00
Marcus Boerger
000e01e5d3 Update 2003-10-23 07:09:04 +00:00
Rui Hirokawa
0ce637835a name/value in multipart/form-date will be converted into internal encoding when mbstring.encoding_translation is On. 2003-10-22 14:14:05 +00:00
Ilia Alshanetsky
980c3b2b4c Fixed compile warnings. 2003-10-22 02:38:47 +00:00
Moriyoshi Koizumi
48fbe0af2a Add a test case for getElementsByTagName() / getElementsByTagNameNS() 2003-10-21 02:43:24 +00:00
Moriyoshi Koizumi
bde1fe4d81 Missing '&' in the result of get_html_translation_table() 2003-10-21 01:46:54 +00:00
Rob Richards
44164170f3 implement namespace nodes
fix getElementsByTagName
fixes to attribute namespaces
remove safemode stuff as its handled in streams
2003-10-20 15:50:34 +00:00
Moriyoshi Koizumi
5dac05638f Fix typo 2003-10-20 15:45:01 +00:00
Moriyoshi Koizumi
3929cf22d8 Fix compiler warnings 2003-10-20 15:41:53 +00:00
Moriyoshi Koizumi
569309765c Fix compiler warnings 2003-10-20 15:33:40 +00:00
Ilia Alshanetsky
30cc4dc8c9 Fixed bug #25918 (Possible crash in mime_content_type()). 2003-10-20 14:36:51 +00:00
Ilia Alshanetsky
21fceae7d6 Fixed bug #25923 (mail() modifies the to & subject arguments). 2003-10-20 14:22:01 +00:00
Shane Caraveo
c55f987230 fix the stat check in stream open
addref to the stream context
2003-10-20 03:11:45 +00:00
Ilia Alshanetsky
26f7af25ba Fixed bug #25895 (Incorrect detection of safe_mode limited ini options) 2003-10-20 01:59:35 +00:00
Rob Richards
56ce4a84e7 add generic default error handling rather than the default stderr 2003-10-19 23:34:39 +00:00
Rob Richards
33004a01ee unescape filepath which libxml excapes 2003-10-19 23:25:48 +00:00
Shane Caraveo
052f9378b2 add global init/shutdown functions for libxml. this is required as
shutdown is not safe to call multiple times, and to make streams work
correctly some init stuff has to happen in a specific order
2003-10-19 23:17:56 +00:00
Shane Caraveo
399095e7a5 Add libxml extension for common code that is needed to be shared between
various xml extensions.  currently the only implemented support is the
addition of the streams support for libxml.  One new function,
libxml_set_streams_context, which allows a streams context to bet set
prior to loading or writing documents.  This works transparently with any
extension that uses libxml.  All ini settings that effect streams will
also now effect the loading and writing of xml documents.

TODO: linux support, not sure if config.m4 will work right.
2003-10-19 21:48:46 +00:00
Shane Caraveo
e5103d764a make file uri's work with streams 2003-10-19 20:04:33 +00:00
Shane Caraveo
4505a611ba make parse_url work correctly for file uri's on windows, such as
file:///c:/somepath/somefile.txt
2003-10-19 20:00:51 +00:00
Marcus Boerger
b0b82541e8 Fix class/iterator relationship & handling 2003-10-18 18:43:31 +00:00
Wez Furlong
0577d9310b bah. does it really make any difference where rewind lives in the struct!? 2003-10-18 15:56:16 +00:00
Wez Furlong
398f032203 fix cruft from previous incarnation of the iterators 2003-10-17 21:03:01 +00:00
Wez Furlong
d8d1ca3f3b add com iterator support 2003-10-17 20:52:18 +00:00
Marcus Boerger
641a55a4dd Show if a class/object is iterateable 2003-10-17 17:51:01 +00:00
Marcus Boerger
9fbaa7aca5 - Make use of engine iterators 2003-10-17 17:21:56 +00:00
Marcus Boerger
08d1c991cf The sqlite classes need to be final 2003-10-17 08:17:09 +00:00
Marcus Boerger
43a948379a Fix showing final/abstract for classes 2003-10-17 08:15:48 +00:00
Marcus Boerger
4943cae926 pre/hasprev have nothing to do with iteration 2003-10-17 08:01:49 +00:00
Ilia Alshanetsky
4c4d5a02b9 Fixed formatting issues (patch by: Joe Orton) 2003-10-17 02:21:27 +00:00
Ilia Alshanetsky
1459361c3e Do not strip trailing spaces. 2003-10-16 04:24:07 +00:00
Ilia Alshanetsky
fff7c6098b Fixed bug #25777 (Do not rtrim() of text fields fetched from mssql) 2003-10-15 03:31:29 +00:00
Wez Furlong
54d1769653 MFB Fix for #25825 2003-10-15 00:18:53 +00:00
George Schlossnagle
54a31f5a88 fix for dereferncing null pointer (mfladischer@gmx.net) 2003-10-15 00:15:23 +00:00
Uwe Steinmann
84d156ae15 - limit writing of field data to field len + 1
This fixed many memory overrun errors which appeared
	in several scripts when writing a record.
2003-10-14 07:49:34 +00:00
Wez Furlong
c35810c203 unintialized variable.
Patch by Joe Orton
2003-10-13 11:46:36 +00:00
Wez Furlong
42ae98d7a2 Fix unintialized variable.
Patch by Joe Orton.
2003-10-13 11:43:14 +00:00
Derick Rethans
c3b21fc55c - Email address change 2003-10-13 09:33:00 +00:00
Ilia Alshanetsky
a9b20a6abf Fixed bug #25800 (parse_url() could not parse urls with empty port). 2003-10-13 04:27:23 +00:00
Ilia Alshanetsky
3158ff714e Remove sendmail patch check. 2003-10-13 04:15:09 +00:00
Wez Furlong
f27387c68c Fix possible segfault (this one came up when a method could not be found).
Add a couple of headers used by another file that is not yet ready to
commit.
2003-10-13 01:29:39 +00:00
Vlad Krupin
db0a175bcb rolling back fix for 23463. The "fix" broke more than it fixed (see bug 25558) 2003-10-12 01:07:59 +00:00
Andrey Hristov
638b940307 New array functions for doing intersection of arrays that are complementary
to array_*diff* family of functions. Namely array_uintersect(), array_uintersect_assoc(),
array_intersect_uassoc() and array_uintersect_uassoc(). Test case is also included.
#docs and news entry later.
2003-10-09 08:10:39 +00:00
Shane Caraveo
31b7b3a2b2 add the valid xml test 2003-10-09 05:47:38 +00:00
Shane Caraveo
d0cf1ec40d add a DTD example 2003-10-09 05:46:03 +00:00
Wez Furlong
e087da60dc And this EOF flag... 2003-10-08 11:23:47 +00:00
foobar
e85a4cdbd2 - Fixed bug #25780 (ext/session: invalid session.cookie_lifetime causes crash in win32). 2003-10-08 10:22:51 +00:00
Wez Furlong
628afb40b6 Implement stream_get_contents, which is somewhat akin to file_get_contents,
except that it works on an already opened stream.
2003-10-08 10:07:25 +00:00
Moriyoshi Koizumi
ed40a56c6c Oops.. 2003-10-08 01:51:32 +00:00
Moriyoshi Koizumi
f4595d18af Better fix for bug #25758 2003-10-08 01:49:31 +00:00
Ilia Alshanetsky
6f8b8ade45 Fixed bug #25758 (var_export does not escape ' & \ inside array keys) 2003-10-08 01:16:44 +00:00
Wez Furlong
18bfcc8897 A much better fix for moniker based COM object creation.
We now support binding monikers to remote machines.
However, MSDN docs indicate that this isn't yet implemented
as of Win2000.
2003-10-07 18:50:07 +00:00
Zeev Suraski
2cc9511cc7 Fix cast callbacks 2003-10-07 15:47:25 +00:00
Corne' Cornelius
5eb3a1dfdd - Fixed bug #18534 (ifx_close() leaves open session)
- (ifx_do_close) Added
2003-10-07 09:29:58 +00:00
Ilia Alshanetsky
90100e5c90 Cleaned up previous patch. 2003-10-07 00:36:31 +00:00
foobar
47484ce5d3 - Fixed bug #25764 (ldap_get_option() crashes when called with unbinded ldap link) 2003-10-06 23:33:00 +00:00
Rob Richards
6c9bbe70bf some namespace fixes
fix compiler warning
2003-10-06 21:28:01 +00:00
Wez Furlong
a1b5c341a2 potential fix for #25759, although it will need further review. 2003-10-06 15:10:38 +00:00
Moriyoshi Koizumi
506136f9c6 Forgot about this one 2003-10-06 01:04:49 +00:00
Moriyoshi Koizumi
503d74aa29 Fixed bug #25756 (SimpleXML's validate_schema_file() broken) 2003-10-06 01:02:28 +00:00
Shane Caraveo
e12aafca6b fix crash building nodeName 2003-10-05 21:53:08 +00:00
Shane Caraveo
4fbf5a0733 fix crash accessing tagName without namespace 2003-10-05 21:49:47 +00:00
Shane Caraveo
87bd7d57c6 Add schema and relaxNG validation support
domdocument->schemaValidate(string filename)
domdocument->schemaValidateSource(string xml)
domdocument->relaxNGValidate(string filename)
domdocument->relaxNGValidateSource(string xml)

also fix domelement->setAttributeNS
2003-10-05 20:45:27 +00:00
Ilia Alshanetsky
31a3c87159 Fixed clobbering of the source array, when merging complex
multi-dimensional arrays. Bug reported by Lukas Smith.
2003-10-05 19:37:02 +00:00
Shane Caraveo
a05dbd3a28 remove a debug printf 2003-10-05 16:37:50 +00:00
Moriyoshi Koizumi
2c95c42404 Fix the macro to prevent it from falling over in a mess 2003-10-05 13:59:15 +00:00
Moriyoshi Koizumi
30d64ecc3e Fix test to make sure it can find the external xml file relatively to
the script file.
2003-10-05 13:53:16 +00:00
Rob Richards
8f489130bf fix segfault if xpath expression string is invalid 2003-10-05 13:14:21 +00:00
Rob Richards
c21e78ddf2 implement isDefaultNameSpace and baseURI
nodeName and tagName return qualified names
fix removeAttributeNode - takes domAttr as parameter
better uri and file handling for document load method
fix possible segfault when document is freed
set get_property_ptr_ptr handler to NULL
2003-10-05 11:52:22 +00:00
Zeev Suraski
c6c240a455 Sync with new API 2003-10-05 08:08:49 +00:00
Moriyoshi Koizumi
80edbeba2f Change fgetcsv() so that the second parameter is also optional. 2003-10-04 21:06:29 +00:00
Moriyoshi Koizumi
10961114ad Fix autoconf(2.13) build 2003-10-04 12:23:11 +00:00
Sergey Kartashoff
069e311c60 - Updated README for mnogosearch extension 2003-10-04 08:27:37 +00:00
Moriyoshi Koizumi
921e5b47c5 Fix fgetcsv() to correctly support international characters
# note: mblen() is not a mbstring function, but is part of the ANSI standard
# which is even supported by Microsoft's libc.
2003-10-04 02:51:19 +00:00
foobar
96e0010f13 - Fixed bug #25752 (ext/ncurses: ncurses.h instead of curses.h with BSD). 2003-10-04 01:04:31 +00:00
foobar
708dee922c ws 2003-10-04 00:43:06 +00:00
Moriyoshi Koizumi
4859431fc1 Fixed bug #24766 (strange result array from unpack()) 2003-10-03 22:41:43 +00:00
Ilia Alshanetsky
df11d7079c More ZTS stuff. 2003-10-03 18:05:42 +00:00
Moriyoshi Koizumi
7e9a54990c Add regression test for bug #25745 2003-10-03 16:59:44 +00:00
Moriyoshi Koizumi
0d2b8c68df Bug #25745 (ctype functions don't deal with non-ascii characters properly) 2003-10-03 15:50:01 +00:00
Ilia Alshanetsky
afc48dc8f2 Fixed bug #25744 (make ZTS build of ext/sybase compile) 2003-10-03 13:03:40 +00:00
foobar
f3f9f8db7f - Added test for bug #24766
# This bug is caused by the HANDLE_NUMERIC() change in ZE2 vs ZE1
2003-10-03 05:47:07 +00:00
foobar
db50cd251e Aligned configure help texts. 2003-10-03 05:24:33 +00:00
Moriyoshi Koizumi
5fee3a3ce1 Alignment fix 2003-10-03 01:13:44 +00:00
Ilia Alshanetsky
763b39cc1d Fixed compile warnings. 2003-10-03 01:07:35 +00:00
Moriyoshi Koizumi
76ae064883 Add a test case for bug #25708 2003-10-02 22:50:28 +00:00
Moriyoshi Koizumi
75bb36ed09 Fixed bug #25708 (extract($GLOBALS, EXTR_REFS) mangles $GLOBALS) 2003-10-02 22:20:48 +00:00
Moriyoshi Koizumi
d7398813c3 A temporary voodoo hack to avoid memory leaks.
# Stuff of this kind must be removed if any neater way is out there.
2003-10-02 19:45:05 +00:00
Moriyoshi Koizumi
6745000c37 Fix for the fix for #25707 2003-10-02 19:23:00 +00:00
Moriyoshi Koizumi
04bcd89277 Add support for hexadecimal-style numeric entities (&#x..;) 2003-10-02 19:07:59 +00:00
Moriyoshi Koizumi
edd18bae09 Drop multibyte character support in html_entity_decode().
# This has never worked as expected.
2003-10-02 19:06:44 +00:00
Frank M. Kromann
20315a3c5d FrontBase uses ws2_win32 lib now 2003-10-02 18:49:30 +00:00
Frank M. Kromann
7c5bd1e180 Fixing type cast 2003-10-02 18:49:18 +00:00
foobar
d0422ea0bc fix skipif for these tests 2003-10-02 14:55:49 +00:00
Moriyoshi Koizumi
a5422685fb Remove leftovers 2003-10-02 11:02:54 +00:00
Moriyoshi Koizumi
daf7528d90 Alignment fix 2003-10-02 10:47:12 +00:00
Moriyoshi Koizumi
f2b36ec52b Fix php_regex_encoding() so it can handle two additional encoding names
mbfilter supports by default.
2003-10-02 07:49:14 +00:00
Moriyoshi Koizumi
647408978e Fixed bug #25707 (html_entity_decode over-decodes <) 2003-10-02 06:57:21 +00:00
foobar
dc080a5db6 - Always look into /usr/local before /usr
- Added breaks to make sure the preferred value is used.
2003-10-01 02:53:23 +00:00
Ilia Alshanetsky
526a3d9ce2 Always prefer user specified paths over the default /usr /usr/local.
This may fix compilation problems with on systems with multiple copies of
the same library.
2003-09-30 22:36:43 +00:00
Andrey Hristov
26aba89a43 Move the test to new file. 2003-09-30 15:22:33 +00:00
Andrey Hristov
a11645dda8 fix 2003-09-30 15:06:05 +00:00
Andrey Hristov
40088d0bbc smash a segmentation fault 2003-09-30 15:00:36 +00:00
Andrey Hristov
02827c46be Memory leak fixed (no need of MFH since this is code specific to PHP5) 2003-09-30 12:43:58 +00:00
Stanislav Malyshev
e21669502b MF4: allow realpath() for win32 non-ZTS 2003-09-30 09:52:11 +00:00
Moriyoshi Koizumi
77726c734e Add regression test for bug #25666 2003-09-30 01:31:06 +00:00
Moriyoshi Koizumi
5d3b5cd1c2 Fixed bug #25669 (eregi() with non-ascii characters) 2003-09-30 00:26:03 +00:00
Rob Richards
b437ac77bc add property_get_ptr handler
fix possible segfault in xpath
add wide character support for characterdata
2003-09-29 11:43:26 +00:00
Rob Richards
5fa23c593b fix for bug #25666 (XML namespaces broken in PHP5) 2003-09-29 11:35:39 +00:00
Moriyoshi Koizumi
103b3c6626 Simplification. 2003-09-29 02:23:40 +00:00
foobar
06616ccdce Bundled GD has this function 2003-09-27 20:53:50 +00:00
Sara Golemon
2acca5d015 Test for Bug 25671 2003-09-27 18:48:48 +00:00
Sara Golemon
ef7905a188 Bug Fix#25671 Corruption in subarrays in subject when using str_replace 2003-09-26 17:57:13 +00:00
Moriyoshi Koizumi
07a021f477 Add test cases for the regex probles 2003-09-26 17:44:06 +00:00
Moriyoshi Koizumi
83609e0874 Repatch fixes for the problem that was reported at php-dev@php.gr.jp (#884) 2003-09-26 17:43:39 +00:00
Moriyoshi Koizumi
7e4a886971 Forgot to commit this one. 2003-09-26 17:41:52 +00:00
Moriyoshi Koizumi
91bf8e5dc9 Explicitly specify mbstring.language. 2003-09-26 14:42:37 +00:00
Moriyoshi Koizumi
b82679412c Fix some incompatibilities with the pre-libmbfl behaviour regarding encoding detection. 2003-09-26 14:42:14 +00:00
Moriyoshi Koizumi
96cdea35c1 Specify full path to cat for mb_send_mail() tests 2003-09-26 11:08:54 +00:00
Ard Biesheuvel
c40234b47e Let client library pick its own transaction param defaults 2003-09-26 10:06:22 +00:00
Hartmut Holzgraefe
fbc1386eac stupid typo fix 2003-09-26 10:02:06 +00:00
foobar
3462761d2b typo 2003-09-26 09:56:24 +00:00
foobar
ef1c2d59a4 Test case for bug #25665 2003-09-26 09:55:56 +00:00
Hartmut Holzgraefe
075e66cc08 signed/unsigned compiler warning fixes 2003-09-26 08:09:56 +00:00
Hartmut Holzgraefe
0a46866d8f silenced a compiler warning 2003-09-26 07:51:52 +00:00
Hartmut Holzgraefe
3735d2f8bd error message was missing an argument 2003-09-26 07:50:02 +00:00
Hartmut Holzgraefe
ee922e3085 compiler warning fixes, one of them a potential crash bug 2003-09-26 07:47:01 +00:00
Ilia Alshanetsky
6966350013 Fixed typo. 2003-09-26 00:40:32 +00:00
foobar
72de75c99a This is only needed for Windows. 2003-09-25 14:53:41 +00:00
Georg Richter
340d891b3e mysqli_prepare_result -> mysqli_get_metadata 2003-09-25 11:19:58 +00:00
Georg Richter
49823c5edb mysql_prepare_result -> mysqli_get_metadata
This function was renamed in libmysql (changeset 1.607 by monty)
2003-09-25 11:19:25 +00:00
John Coggeshall
bca08dabb4 Fixed a --enable-maintainer-zts glitch where TSRMLS_DC was being used
unnecessarily.
2003-09-25 09:32:55 +00:00
Ilia Alshanetsky
569bd005d2 Fixed bug #25070 (Don't forget to unlock session files on win32 before
closing them).

Regions should be locked only briefly and should be unlocked before
closing a file or exiting the program. On Win32 locked files that are
closed without being explicitly unlocked will be unlocked only when "system
resources become avaliable".
2003-09-24 23:39:14 +00:00
Rob Richards
f9640d5fad fix preserveWhiteSpace on document load 2003-09-24 12:56:37 +00:00
Wez Furlong
f7d32e30b0 Fix 2003-09-24 10:35:20 +00:00
Ilia Alshanetsky
ff4d200772 Specify full path for cat utility used by the test. 2003-09-24 02:27:43 +00:00
foobar
258d5838bb - Fixed bug #24402 (Compile failure with gettext 0.12.x) 2003-09-24 02:07:04 +00:00
Ard Biesheuvel
50911d0904 Always return long from ibase_gen_id() on IB < 6 2003-09-23 23:08:59 +00:00
foobar
afdc20a094 ws fix 2003-09-23 22:17:40 +00:00
Ard Biesheuvel
f48f725348 Added ibase_gen_id()
# Lightweight shortcut to SELECT GEN_ID() ... function
2003-09-23 20:58:14 +00:00
Moriyoshi Koizumi
1ee441613d Remove useless mutex code due to the switch to oniguruma. 2003-09-23 20:11:05 +00:00
foobar
08effa1b04 Fixed typo. 2003-09-23 19:29:34 +00:00
Ilia Alshanetsky
b9823393ea Fixed bug #25636 (SNMP Session not closed on success).
Patch by: nesslage[at]mwsc[dot]edu
2003-09-23 18:26:02 +00:00
Andrey Hristov
a7ac568486 New test cases for the new 4 functions :
- array_udiff()
- array_udiff_assoc()
- array_diff_uassoc()
- array_udiff_uassoc()
2003-09-23 17:40:34 +00:00
Andrey Hristov
3579f212df 4 new functions :
array_udiff()
array_udiff_assoc()
array_diff_uassoc()
array_udiff_uassoc()
They work like array_diff() or array_diff_assoc() but callback function(s)
can be used to perform the comparisons. For example array_udiff_uassoc()
expects 2 callbacks are last 2 parameters one is used to compare the values
of the entries in the arrays the second to compare the keys.
Class methods are also valid callbacks. Even when the data that should be
used in the comparison is private or protected then a static method of a
class should be used (this behaviour can be seen in the regression test -
007.phpt).
2003-09-23 17:37:29 +00:00
Wez Furlong
fce7b92891 MFB 25614 "fix" 2003-09-23 16:05:52 +00:00
Moriyoshi Koizumi
aa36f5bbdb Oops 2003-09-23 13:23:30 +00:00
Moriyoshi Koizumi
a89d00bb6c Remove unused variable 2003-09-23 13:21:01 +00:00
foobar
30c3155d12 add as binary.. 2003-09-23 10:06:19 +00:00
foobar
4d02a9379c remove corrupt file 2003-09-23 10:05:48 +00:00
foobar
9fea9fec53 Added simple test for gettext 2003-09-23 10:00:23 +00:00
foobar
a299e943f8 - Fixed bug #25604 (HAVE_SNMP_PARSE_OID undefined with phpize build) 2003-09-23 08:15:49 +00:00
Rui Hirokawa
ce66e1eb8d fixed wrong string length in mbregex. 2003-09-23 02:47:06 +00:00
Rui Hirokawa
b6b761ca84 revert a patch. 2003-09-23 02:43:49 +00:00
Rui Hirokawa
25bb0d16a9 fixed win32-build and update e-mail address in mbstring. 2003-09-23 02:43:04 +00:00
Ilia Alshanetsky
4aaa2becbe String format stuff. 2003-09-22 23:27:51 +00:00
Andrey Hristov
63d7df3e2f improve the fix for #25494. If more then one bad parameter is passed
an warning for all will be emitted.
2003-09-22 23:19:17 +00:00
Rob Richards
cb4db32030 set consistent pathing for libxml
set document url when loaded from memory to set base href
2003-09-22 19:11:35 +00:00
Rob Richards
bd2511af40 set base href for copied, imported doc
set environment for imported stylesheet
add optional clone parameter for data to transform
2003-09-22 19:07:52 +00:00
Rob Richards
8569ee1c1e move hash.h for libxml 2.6 compatibility 2003-09-22 19:04:49 +00:00
John Coggeshall
8cd08f7e9d Forgot package.xml 2003-09-22 18:45:46 +00:00
John Coggeshall
d8eeb8e286 Updated test cases and examples and cleaned up the new OO code so it will
be easier to maintain.
2003-09-22 18:40:38 +00:00
John Coggeshall
6b567f80c7 Completely re-wrote the ZE2 OO stuff to do it the proper way. It is not
considerably more stable, cleaner, and looks as if it works well :) This
probably is going to break any scripts which used it before, but oh well.
2003-09-22 17:06:45 +00:00
Hartmut Holzgraefe
55d9ec0f6f proto thiko fix 2003-09-22 06:54:29 +00:00
Ilia Alshanetsky
e2caa6eaf9 String formatting stuff. 2003-09-22 04:18:24 +00:00
John Coggeshall
a7b75e2054 Complete refactoring of the OO support in tidy. Although currently
incomplete, it is a good start.
2003-09-22 00:12:54 +00:00
Ilia Alshanetsky
5927b50869 Fix ZTS build. 2003-09-21 20:24:39 +00:00
Ilia Alshanetsky
d14df17390 Added a note & fix for a memory leak in libtidy.
This will be removed once the libtidy developers release a patched version
of their library (or we start bundling the patched version).
2003-09-21 20:21:39 +00:00
Marcus Boerger
36655400cb - return correct hash constants
- check for 'memory' in sqlite_factory() too (noticed by John Coggeshal)
2003-09-21 19:36:40 +00:00
Ilia Alshanetsky
4f6874b3ff Added tidy_repair_string() & tidy_repair_file() that allow for quick repair
of files & strings.
Modified tidy_parse_file() to accept include_path parameter.
Fixed a few bugs that may have allowed configurations directives loaded via
a file to carry over across requests.
2003-09-21 19:22:19 +00:00
Wez Furlong
ad93053ec4 Merge remaining code from 4.3 to fix #22238 in HEAD. 2003-09-21 18:02:08 +00:00
Uwe Steinmann
eea84f787b - fixed typo in error message 2003-09-21 13:17:20 +00:00
Sascha Schumann
394d3b82b0 Alias session_commit to session_write_close, a more intuitive name
for the functionality.
2003-09-21 11:53:12 +00:00
Ilia Alshanetsky
4cd101abed Tidy Hijacked! Read all about it ;)
* No more tidy resources, it's now persistent and internal. This helps speed
  quite a bit, since the tidy resource only needs to be initialized once.
* Replace common code with macros.
* Added necessary safe_mode & open_basedir checks when working with files.
* Added ini option to allow loading of config file on startup.
* Show current configuration in phpinfo();
* Coding Style Cleanup
* Added tidy_get_config(), returns an associated array with all configuration
  values.
* Added tidy_reset_config(), it restores tidy configuration to default values.
* Fixed a possible crash inside tidy_setopt().
* Added myself to the credits.

More changes to follow.
2003-09-20 19:45:32 +00:00
Sascha Schumann
36ac7a5bb0 MFB Avoid zero-length keys which result in a spinning process 2003-09-20 16:10:49 +00:00
Marcus Boerger
0266efb8b5 Add public array Reflection_Class::getDefaultProperties() 2003-09-20 14:22:48 +00:00
Marcus Boerger
6433226749 Explicit cwqasting is now necessary 2003-09-20 12:51:20 +00:00
Ilia Alshanetsky
0917a7f62f Fixed bug #25583 (Incorrect handling of paths starting with / on win32
inside glob() function).
2003-09-20 02:51:20 +00:00
Ilia Alshanetsky
ace85c9015 MFB: Add myself to credits 2003-09-19 12:24:51 +00:00
Sara Golemon
0a3bc21c5c Manageability 2003-09-18 17:51:55 +00:00
Sara Golemon
c553af47e0 Add ftp_alloc() for servers which require client to predeclare filesize to be sent. 2003-09-18 17:36:08 +00:00
Marcus Boerger
cd021cfb3a Go with studlyCaps 2003-09-18 16:26:29 +00:00
Marcus Boerger
5b3bb16530 Go with studlyCaps 2003-09-18 12:09:55 +00:00
Marcus Boerger
f8a376fe8e Change tostring() into __toString() to match method name used in casting. 2003-09-18 11:55:57 +00:00
Ilia Alshanetsky
a7f2ec3cdb Fixed compile warnings. HAVE_ defines cannot work without the header that
defines them.
2003-09-17 05:42:57 +00:00
Ard Biesheuvel
0cce471b0a Link to fbclient.dll if available
Add client lib name to dll version info
2003-09-17 01:25:08 +00:00
Ard Biesheuvel
b9a208d821 Use isc_get_version() for client lib info if available 2003-09-16 20:28:27 +00:00
Hartmut Holzgraefe
92b237f4c3 proto fix 2003-09-16 19:45:22 +00:00
Marcus Boerger
d2088841a4 - Make it clear whether it is an interface or a class
- Fix static properties
2003-09-16 19:31:45 +00:00
Ard Biesheuvel
be16d129c5 Check for Firebird libfbclient.so first 2003-09-16 19:25:11 +00:00
Ilia Alshanetsky
b871ebd8dc Fixed bug #25106 (Added more stringent checks on bzopen() mode).
In some cases bz2 may fail to open the file, but stream wrappers will still
create an empty file, remove this file.
Change virtual_filepath to virtual_filepath_ex, which allows BZ2_bzfopen()
to work without having to resort to stream wrappers.
2003-09-15 23:49:32 +00:00
Rob Richards
7c33d55961 validate encoding against valid handlers 2003-09-15 12:29:52 +00:00
Hartmut Holzgraefe
3988db4af1 proto descriptions 2003-09-15 09:25:18 +00:00
Moriyoshi Koizumi
676755da54 FREETYPE_PATCH is not always defined.
# will likely fix Sebastian's build :)
2003-09-15 07:27:18 +00:00
Ilia Alshanetsky
67a070c151 Fixed bug #25530 (checkdate incorrectly handles floats) 2003-09-15 00:07:51 +00:00
John Coggeshall
ce38ec2b25 Moved things around and added some #ifdefs so that the extension can be used
in PHP 4 (without the ZE2 tree parsing).
2003-09-14 00:45:51 +00:00
Sara Golemon
94ff3d5e7d Fix Bug #25525 ldap_explode_dn crashes when passed invalid params. 2003-09-13 17:31:07 +00:00
Marcus Boerger
2a68d3c19e Make use of dedicated macro 2003-09-13 10:31:06 +00:00
Ard Biesheuvel
95b0fc58f7 Pointer size fix 2003-09-12 21:02:43 +00:00
Marcus Boerger
7fac56c593 - Change email
- Fix warnings
2003-09-12 13:31:23 +00:00
foobar
df8809650c - Fixed bug #25504 (pcre_match_all() crashes when passed only 2 parameters) 2003-09-12 01:31:54 +00:00
foobar
c77c0269ea - Fixed bug #25483 (ext/informix: bogus -469 error from ifx_query()) 2003-09-11 23:49:26 +00:00
Ard Biesheuvel
7ff3a3e4a3 Add client library info to phpinfo() function
Small inter-op fix for IB6
2003-09-11 23:08:48 +00:00
Jay Smith
6c6fd76bac Fixed bug #25494 (array_merge allowing "false" as argument (silent when
non-array is passed))
# 4.3 throws E_NOTICEs, 5 errors out on non-array args as per Ilia's
# suggestion.
2003-09-11 17:40:18 +00:00
foobar
554cee42af - Fixed bug #25463 (ext/cpdf: compile failure with bundled GD) 2003-09-11 15:25:45 +00:00
Ard Biesheuvel
c5b69dcb14 Changed unsigned ISC_LONG to ISC_LONG
# Build fix for FB 1.5
2003-09-11 08:50:30 +00:00
Ilia Alshanetsky
f3f3b772b2 Cleanup r1.76 patch 2003-09-11 04:46:10 +00:00
Hartmut Holzgraefe
1c30f5bcf0 check for FDFErcNoValue was in the wrong execution path,
should always be treated as 'no error' (should finally fix #22803)
2003-09-11 00:47:32 +00:00
Ilia Alshanetsky
dfe3f32ec6 Cleanup previous patch. 2003-09-10 01:07:01 +00:00
Ilia Alshanetsky
29e829fdcf Fixed bug #14049 (realpath() w/ZTS returns invalid results for non-existent
paths)
2003-09-10 00:22:10 +00:00
Melvyn Sopacua
50947cb155 MFB: Fix US/Eastern vs. America/New_York style tzset implementations. 2003-09-09 21:56:33 +00:00
Sara Golemon
4e6672eadd Fix Bug #25294 LIST/NLST can cause segfault because ftp->data not cleaned properly 2003-09-09 21:12:49 +00:00